diff --git a/.github/workflows/update-upstream-provider.yml b/.github/workflows/update-upstream-provider.yml index 1841e0f7c..946176627 100644 --- a/.github/workflows/update-upstream-provider.yml +++ b/.github/workflows/update-upstream-provider.yml @@ -62,7 +62,7 @@ jobs: with: python-version: ${{matrix.pythonversion}} - name: Get upstream provider sha - run: echo "UPSTREAM_PROVIDER_SHA=$(curl https://api.github.com/repos/${{ + run: echo "UPSTREAM_PROVIDER_SHA=$(curl -L https://api.github.com/repos/${{ env.UPSTREAM_PROVIDER_ORG }}/${{ env.UPSTREAM_PROVIDER_REPO }}/git/ref/tags/v${{ github.event.inputs.version }} | jq .object.sha -r)" >> $GITHUB_ENV diff --git a/Makefile b/Makefile index 2ac369731..7c521ee45 100644 --- a/Makefile +++ b/Makefile @@ -32,14 +32,14 @@ only_build: build build_dotnet: DOTNET_VERSION := $(shell pulumictl get version --language dotnet) build_dotnet: pulumictl get version --language dotnet - $(WORKING_DIR)/bin/$(TFGEN) dotnet --overlays provider/overlays/dotnet --out sdk/dotnet/ + $(WORKING_DIR)/bin/$(TFGEN) dotnet --out sdk/dotnet/ cd sdk/dotnet/ && \ echo "module fake_dotnet_module // Exclude this directory from Go tools\n\ngo 1.17" > go.mod && \ echo "$(DOTNET_VERSION)" >version.txt && \ dotnet build /p:Version=$(DOTNET_VERSION) build_go: - $(WORKING_DIR)/bin/$(TFGEN) go --overlays provider/overlays/go --out sdk/go/ + $(WORKING_DIR)/bin/$(TFGEN) go --out sdk/go/ cd sdk && go list `grep -e "^module" go.mod | cut -d ' ' -f 2`/go/... | xargs go build build_java: PACKAGE_VERSION := $(shell pulumictl get version --language generic) @@ -51,7 +51,7 @@ build_java: bin/pulumi-java-gen build_nodejs: VERSION := $(shell pulumictl get version --language javascript) build_nodejs: - $(WORKING_DIR)/bin/$(TFGEN) nodejs --overlays provider/overlays/nodejs --out sdk/nodejs/ + $(WORKING_DIR)/bin/$(TFGEN) nodejs --out sdk/nodejs/ cd sdk/nodejs/ && \ echo "module fake_nodejs_module // Exclude this directory from Go tools\n\ngo 1.17" > go.mod && \ yarn install && \ @@ -61,7 +61,7 @@ build_nodejs: build_python: PYPI_VERSION := $(shell pulumictl get version --language python) build_python: - $(WORKING_DIR)/bin/$(TFGEN) python --overlays provider/overlays/python --out sdk/python/ + $(WORKING_DIR)/bin/$(TFGEN) python --out sdk/python/ cd sdk/python/ && \ echo "module fake_python_module // Exclude this directory from Go tools\n\ngo 1.17" > go.mod && \ cp ../../README.md . && \ diff --git a/provider/cmd/pulumi-resource-rancher2/schema.json b/provider/cmd/pulumi-resource-rancher2/schema.json index 9d4f27150..24df0028e 100644 --- a/provider/cmd/pulumi-resource-rancher2/schema.json +++ b/provider/cmd/pulumi-resource-rancher2/schema.json @@ -12,11 +12,51 @@ "meta": { "moduleFormat": "(.*)(?:/[^/]*)" }, + "language": { + "csharp": { + "compatibility": "tfbridge20", + "namespaces": { + "index": "index", + "rancher2": "Rancher2" + }, + "packageReferences": { + "Pulumi": "3.*" + } + }, + "go": { + "generateExtraInputTypes": true, + "generateResourceContainerTypes": true, + "importBasePath": "github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2" + }, + "nodejs": { + "compatibility": "tfbridge20", + "dependencies": { + "@pulumi/pulumi": "^3.0.0" + }, + "devDependencies": { + "@types/mime": "^2.0.0", + "@types/node": "^10.0.0" + }, + "disableUnionOutputTypes": true, + "packageDescription": "A Pulumi package for creating and managing rancher2 resources.", + "packageName": "", + "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/rancher/terraform-provider-rancher2)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-rancher2` repo](https://github.com/pulumi/pulumi-rancher2/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-rancher2` repo](https://github.com/rancher/terraform-provider-rancher2/issues).", + "typescriptVersion": "" + }, + "python": { + "compatibility": "tfbridge20", + "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/rancher/terraform-provider-rancher2)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-rancher2` repo](https://github.com/pulumi/pulumi-rancher2/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-rancher2` repo](https://github.com/rancher/terraform-provider-rancher2/issues).", + "requires": { + "pulumi": "\u003e=3.0.0,\u003c4.0.0" + } + } + }, "config": { "variables": { "accessKey": { "type": "string", - "description": "API Key used to authenticate with the rancher server\n" + "description": "API Key used to authenticate with the rancher server\n", + "secret": true }, "apiUrl": { "type": "string", @@ -53,7 +93,8 @@ }, "secretKey": { "type": "string", - "description": "API secret used to authenticate with the rancher server\n" + "description": "API secret used to authenticate with the rancher server\n", + "secret": true }, "timeout": { "type": "string", @@ -61,7 +102,8 @@ }, "tokenKey": { "type": "string", - "description": "API token used to authenticate with the rancher server\n" + "description": "API token used to authenticate with the rancher server\n", + "secret": true } }, "defaults": [ @@ -79,7 +121,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "defaultRegion": { "type": "string", @@ -97,7 +140,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -115,7 +159,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientSecret": { "type": "string", @@ -124,7 +169,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "environment": { "type": "string", @@ -142,7 +188,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "tenantId": { "type": "string", @@ -181,7 +228,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -198,7 +246,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -233,7 +282,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -251,7 +301,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -268,7 +319,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -285,7 +337,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "defaultBucket": { "type": "string", @@ -312,7 +365,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "defaultFolder": { "type": "string", @@ -348,7 +402,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -366,7 +421,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "username": { "type": "string", @@ -439,7 +495,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "aadTenantId": { "type": "string", @@ -448,7 +505,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "addClientAppId": { "type": "string", @@ -457,7 +515,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "addServerAppId": { "type": "string", @@ -466,7 +525,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "adminUsername": { "type": "string", @@ -547,7 +607,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientSecret": { "type": "string", @@ -556,7 +617,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "count": { "type": "integer", @@ -876,7 +938,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "httpApplicationRouting": { "type": "boolean", @@ -1833,7 +1896,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "windowsNodeCommand": { "type": "string", @@ -1964,7 +2028,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "ami": { "type": "string", @@ -2071,204 +2136,206 @@ "python": { "mapCase": false } - } - }, - "securityGroups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of security groups to use for the cluster (list)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "serviceRole": { - "type": "string", - "description": "The AWS service role to use (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "sessionToken": { - "type": "string", - "description": "A session token to use with the client key and secret if applicable (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "subnets": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The EKS node group subnets (list string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "userData": { - "type": "string", - "description": "The EKS node group user data (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "virtualNetwork": { - "type": "string", - "description": "The name of the virtual network to use. If it's not specified Rancher will create a new VPC (string)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "accessKey", - "kubernetesVersion", - "secretKey" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "accessKey", - "kubernetesVersion", - "secretKey", - "userData" - ] - } - } - }, - "rancher2:index/ClusterEksConfigV2:ClusterEksConfigV2": { - "properties": { - "cloudCredentialId": { - "type": "string", - "description": "The EKS cloud_credential id (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "imported": { - "type": "boolean", - "description": "Is GKE cluster imported? Default: `false` (bool)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "kmsKey": { - "type": "string", - "description": "The AWS kms key to use (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "kubernetesVersion": { - "type": "string", - "description": "The Kubernetes version that will be used for your master *and* OKE worker nodes (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "loggingTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The AWS cloudwatch logging types. `audit`, `api`, `scheduler`, `controllerManager` and `authenticator` values are allowed (list)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "name": { - "type": "string", - "description": "Name of cluster registration token (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "nodeGroups": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterEksConfigV2NodeGroup:ClusterEksConfigV2NodeGroup" - }, - "description": "The EKS cluster name to import. Required to create a new cluster (list)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "privateAccess": { - "type": "boolean", - "description": "The EKS cluster has private access (bool)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "publicAccess": { - "type": "boolean", - "description": "The EKS cluster has public access (bool)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "publicAccessSources": { - "type": "array", - "items": { - "type": "string" }, - "description": "The EKS cluster public access sources (map)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "region": { - "type": "string", - "description": "The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "secretsEncryption": { - "type": "boolean", - "description": "Enable EKS cluster secret encryption (bool)\n", - "language": { - "python": { - "mapCase": false - } - } + "secret": true + }, + "securityGroups": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of security groups to use for the cluster (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "serviceRole": { + "type": "string", + "description": "The AWS service role to use (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "sessionToken": { + "type": "string", + "description": "A session token to use with the client key and secret if applicable (string)\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "subnets": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The EKS node group subnets (list string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "userData": { + "type": "string", + "description": "The EKS node group user data (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "virtualNetwork": { + "type": "string", + "description": "The name of the virtual network to use. If it's not specified Rancher will create a new VPC (string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "accessKey", + "kubernetesVersion", + "secretKey" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "accessKey", + "kubernetesVersion", + "secretKey", + "userData" + ] + } + } + }, + "rancher2:index/ClusterEksConfigV2:ClusterEksConfigV2": { + "properties": { + "cloudCredentialId": { + "type": "string", + "description": "The EKS cloud_credential id (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "imported": { + "type": "boolean", + "description": "Is GKE cluster imported? Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "kmsKey": { + "type": "string", + "description": "The AWS kms key to use (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "kubernetesVersion": { + "type": "string", + "description": "The Kubernetes version that will be used for your master *and* OKE worker nodes (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "loggingTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The AWS cloudwatch logging types. `audit`, `api`, `scheduler`, `controllerManager` and `authenticator` values are allowed (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "name": { + "type": "string", + "description": "Name of cluster registration token (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "nodeGroups": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterEksConfigV2NodeGroup:ClusterEksConfigV2NodeGroup" + }, + "description": "The EKS cluster name to import. Required to create a new cluster (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "privateAccess": { + "type": "boolean", + "description": "The EKS cluster has private access (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "publicAccess": { + "type": "boolean", + "description": "The EKS cluster has public access (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "publicAccessSources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The EKS cluster public access sources (map)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "region": { + "type": "string", + "description": "The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "secretsEncryption": { + "type": "boolean", + "description": "Enable EKS cluster secret encryption (bool)\n", + "language": { + "python": { + "mapCase": false + } + } }, "securityGroups": { "type": "array", @@ -2594,7 +2661,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "description": { "type": "string", @@ -3148,7 +3216,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "description": { "type": "string", @@ -3157,7 +3226,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "enableKubernetesAlpha": { "type": "boolean", @@ -3166,7 +3236,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "googleCredentialSecret": { "type": "string", @@ -3175,7 +3246,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "imported": { "type": "boolean", @@ -3184,7 +3256,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "ipAllocationPolicy": { "$ref": "#/types/rancher2:index/ClusterGkeConfigV2IpAllocationPolicy:ClusterGkeConfigV2IpAllocationPolicy", @@ -3193,7 +3266,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "kubernetesVersion": { "type": "string", @@ -3253,7 +3327,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "monitoringService": { "type": "string", @@ -3271,7 +3346,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "network": { "type": "string", @@ -3280,7 +3356,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "networkPolicyEnabled": { "type": "boolean", @@ -3310,7 +3387,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "projectId": { "type": "string", @@ -3319,7 +3397,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "region": { "type": "string", @@ -3328,7 +3407,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "subnetwork": { "type": "string", @@ -3337,7 +3417,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "zone": { "type": "string", @@ -3346,7 +3427,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true } }, "type": "object", @@ -3589,7 +3671,8 @@ "python": { "mapCase": false } - } + }, + "willReplaceOnChanges": true }, "initialNodeCount": { "type": "integer", @@ -3997,7 +4080,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientCert": { "type": "string", @@ -4006,7 +4090,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKey": { "type": "string", @@ -4015,7 +4100,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "content": { "type": "string", @@ -4041,7 +4127,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "authUsername": { "type": "string", @@ -4050,7 +4137,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "certificate": { "type": "string", @@ -4059,7 +4147,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientCert": { "type": "string", @@ -4068,7 +4157,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKey": { "type": "string", @@ -4077,7 +4167,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKeyPass": { "type": "string", @@ -4086,7 +4177,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "dateFormat": { "type": "string", @@ -4156,7 +4248,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "compress": { "type": "boolean", @@ -4221,7 +4314,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "sharedKey": { "type": "string", @@ -4230,7 +4324,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "standby": { "type": "boolean", @@ -4248,7 +4343,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "weight": { "type": "integer", @@ -4286,7 +4382,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientCert": { "type": "string", @@ -4295,7 +4392,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKey": { "type": "string", @@ -4304,7 +4402,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "topic": { "type": "string", @@ -4339,7 +4438,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientCert": { "type": "string", @@ -4348,7 +4448,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKey": { "type": "string", @@ -4357,7 +4458,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKeyPass": { "type": "string", @@ -4366,7 +4468,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "endpoint": { "type": "string", @@ -4411,7 +4514,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -4438,7 +4542,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientCert": { "type": "string", @@ -4447,7 +4552,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKey": { "type": "string", @@ -4456,7 +4562,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "enableTls": { "type": "boolean", @@ -4519,7 +4626,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -4616,7 +4724,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "kubernetesVersion": { "type": "string", @@ -4715,7 +4824,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "privateKeyPassphrase": { "type": "string", @@ -4724,7 +4834,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "quantityOfNodeSubnets": { "type": "integer", @@ -5257,7 +5368,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "sshKeyPath": { "type": "string", @@ -5585,7 +5697,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "aadClientCertPath": { "type": "string", @@ -5603,7 +5716,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "aadClientSecret": { "type": "string", @@ -5612,7 +5726,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "cloud": { "type": "string", @@ -5783,7 +5898,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "tenantId": { "type": "string", @@ -5792,7 +5908,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "useInstanceMetadata": { "type": "boolean", @@ -6014,7 +6131,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "domainName": { "type": "string", @@ -6032,7 +6150,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "region": { "type": "string", @@ -6050,7 +6169,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "tenantName": { "type": "string", @@ -6068,7 +6188,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "username": { "type": "string", @@ -6077,7 +6198,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -6389,7 +6511,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "port": { "type": "string", @@ -6416,7 +6539,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -6481,7 +6605,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "port": { "type": "string", @@ -6508,7 +6633,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -7305,6 +7431,15 @@ }, "rancher2:index/ClusterRkeConfigNetwork:ClusterRkeConfigNetwork": { "properties": { + "aciNetworkProvider": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigNetworkAciNetworkProvider:ClusterRkeConfigNetworkAciNetworkProvider", + "description": "ACI provider config for RKE network (list maxitems:63)\n", + "language": { + "python": { + "mapCase": false + } + } + }, "calicoNetworkProvider": { "$ref": "#/types/rancher2:index/ClusterRkeConfigNetworkCalicoNetworkProvider:ClusterRkeConfigNetworkCalicoNetworkProvider", "description": "Calico provider config for RKE network (list maxitems:1)\n", @@ -7394,861 +7529,716 @@ } } }, - "rancher2:index/ClusterRkeConfigNetworkCalicoNetworkProvider:ClusterRkeConfigNetworkCalicoNetworkProvider": { + "rancher2:index/ClusterRkeConfigNetworkAciNetworkProvider:ClusterRkeConfigNetworkAciNetworkProvider": { "properties": { - "cloudProvider": { + "aep": { "type": "string", - "description": "RKE options for Calico network provider (string)\n", + "description": "Attachable entity profile (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "cloudProvider" - ] - } - } - }, - "rancher2:index/ClusterRkeConfigNetworkCanalNetworkProvider:ClusterRkeConfigNetworkCanalNetworkProvider": { - "properties": { - "iface": { - "type": "string", - "description": "Iface config Flannel network provider (string)\n", + }, + "apicHosts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of APIC hosts to connect for APIC API (list)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "iface" - ] - } - } - }, - "rancher2:index/ClusterRkeConfigNetworkFlannelNetworkProvider:ClusterRkeConfigNetworkFlannelNetworkProvider": { - "properties": { - "iface": { + }, + "apicRefreshTickerAdjust": { "type": "string", - "description": "Iface config Flannel network provider (string)\n", + "description": "APIC refresh ticker adjust amount (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "iface" - ] - } - } - }, - "rancher2:index/ClusterRkeConfigNetworkToleration:ClusterRkeConfigNetworkToleration": { - "properties": { - "effect": { + }, + "apicRefreshTime": { "type": "string", - "description": "The GKE taint effect (string)\n", + "description": "APIC refresh time in seconds (string)\n", "language": { "python": { "mapCase": false } } }, - "key": { + "apicSubscriptionDelay": { "type": "string", - "description": "The GKE taint key (string)\n", + "description": "APIC subscription delay amount (string)\n", "language": { "python": { "mapCase": false } } }, - "operator": { + "apicUserCrt": { "type": "string", - "description": "The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string)\n", + "description": "APIC user certificate (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "seconds": { - "type": "integer", - "description": "The toleration seconds (int)\n", + "apicUserKey": { + "type": "string", + "description": "APIC user key (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "value": { + "apicUserName": { "type": "string", - "description": "The GKE taint value (string)\n", + "description": "APIC user name (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "key" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "key", - "seconds" - ] - } - } - }, - "rancher2:index/ClusterRkeConfigNetworkWeaveNetworkProvider:ClusterRkeConfigNetworkWeaveNetworkProvider": { - "properties": { - "password": { + }, + "capic": { "type": "string", - "description": "Registry password (string)\n", + "description": "cAPIC cloud (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "password" - ] - }, - "rancher2:index/ClusterRkeConfigNode:ClusterRkeConfigNode": { - "properties": { - "address": { + }, + "controllerLogLevel": { "type": "string", - "description": "Address ip for node (string)\n", + "description": "Log level for ACI controller (string)\n", "language": { "python": { "mapCase": false } } }, - "dockerSocket": { + "disablePeriodicSnatGlobalInfoSync": { "type": "string", - "description": "Docker socket for node (string)\n", + "description": "Whether to disable periodic SNAT global info sync (string)\n", "language": { "python": { "mapCase": false } } }, - "hostnameOverride": { + "disableWaitForNetwork": { "type": "string", - "description": "Hostname override for node (string)\n", + "description": "Whether to disable waiting for network (string)\n", "language": { "python": { "mapCase": false } } }, - "internalAddress": { + "dropLogEnable": { "type": "string", - "description": "Internal ip for node (string)\n", + "description": "Whether to enable drop log (string)\n", "language": { "python": { "mapCase": false } } }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Labels for cluster registration token object (map)\n", + "durationWaitForNetwork": { + "type": "string", + "description": "The duration to wait for network (string)\n", "language": { "python": { "mapCase": false } } }, - "nodeId": { + "enableEndpointSlice": { "type": "string", - "description": "Id for the node (string)\n", + "description": "Whether to enable endpoint slices (string)\n", "language": { "python": { "mapCase": false } } }, - "port": { + "encapType": { "type": "string", - "description": "Port for node. Default `22` (string)\n", + "description": "Encap type: vxlan or vlan (string)\n", "language": { "python": { "mapCase": false } } }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list)\n", + "epRegistry": { + "type": "string", + "description": "EP registry (string)\n", "language": { "python": { "mapCase": false } } }, - "sshAgentAuth": { - "type": "boolean", - "description": "Use ssh agent auth. Default `false` (bool)\n", + "externDynamic": { + "type": "string", + "description": "Subnet to use for dynamic external IPs (string)\n", "language": { "python": { "mapCase": false } } }, - "sshKey": { + "externStatic": { "type": "string", - "description": "Node SSH private key (string)\n", + "description": "Subnet to use for static external IPs (string)\n", "language": { "python": { "mapCase": false } } }, - "sshKeyPath": { + "gbpPodSubnet": { "type": "string", - "description": "Node SSH private key path (string)\n", + "description": "GBH pod subnet (string)\n", "language": { "python": { "mapCase": false } } }, - "user": { + "hostAgentLogLevel": { "type": "string", - "description": "Registry user (string)\n", + "description": "Log level for ACI host agent (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "address", - "roles", - "user" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "address", - "dockerSocket", - "roles", - "sshKey", - "sshKeyPath", - "user" - ] - } - } - }, - "rancher2:index/ClusterRkeConfigPrivateRegistry:ClusterRkeConfigPrivateRegistry": { - "properties": { - "ecrCredentialPlugin": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigPrivateRegistryEcrCredentialPlugin:ClusterRkeConfigPrivateRegistryEcrCredentialPlugin", - "description": "ECR credential plugin config (list maxitems:1)\n", + }, + "imagePullPolicy": { + "type": "string", + "description": "Image pull policy (string)\n", "language": { "python": { "mapCase": false } } }, - "isDefault": { - "type": "boolean", - "description": "Set as default registry. Default `false` (bool)\n", + "imagePullSecret": { + "type": "string", + "description": "Image pull policy (string)\n", "language": { "python": { "mapCase": false } } }, - "password": { + "infraVlan": { "type": "string", - "description": "Registry password (string)\n", + "description": "The VLAN used by ACI infra (string)\n", "language": { "python": { "mapCase": false } } }, - "url": { + "installIstio": { "type": "string", - "description": "Registry URL (string)\n", + "description": "Whether to install Istio (string)\n", "language": { "python": { "mapCase": false } } }, - "user": { + "istioProfile": { "type": "string", - "description": "Registry user (string)\n", + "description": "Istio profile name (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "url" - ] - }, - "rancher2:index/ClusterRkeConfigPrivateRegistryEcrCredentialPlugin:ClusterRkeConfigPrivateRegistryEcrCredentialPlugin": { - "properties": { - "awsAccessKeyId": { - "type": "string", - "description": "AWS access key ID (string)\n", + }, + "kafkaBrokers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Kafka broker hosts (list)\n", "language": { "python": { "mapCase": false } } }, - "awsSecretAccessKey": { + "kafkaClientCrt": { "type": "string", - "description": "AWS secret access key (string)\n", + "description": "Kafka client certificate (string)\n", "language": { "python": { "mapCase": false } } }, - "awsSessionToken": { + "kafkaClientKey": { "type": "string", - "description": "AWS session token (string)\n", + "description": "Kafka client key (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterRkeConfigServices:ClusterRkeConfigServices": { - "properties": { - "etcd": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesEtcd:ClusterRkeConfigServicesEtcd", - "description": "Etcd options for RKE services (list maxitems:1)\n", + }, + "kubeApiVlan": { + "type": "string", + "description": "The VLAN used by the physdom for nodes (string)\n", "language": { "python": { "mapCase": false } } }, - "kubeApi": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeApi:ClusterRkeConfigServicesKubeApi", - "description": "Kube API options for RKE services (list maxitems:1)\n", + "l3out": { + "type": "string", + "description": "L3out (string)\n", "language": { "python": { "mapCase": false } } }, - "kubeController": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeController:ClusterRkeConfigServicesKubeController", - "description": "Kube Controller options for RKE services (list maxitems:1)\n", + "l3outExternalNetworks": { + "type": "array", + "items": { + "type": "string" + }, + "description": "L3out external networks (list)\n", "language": { "python": { "mapCase": false } } }, - "kubelet": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubelet:ClusterRkeConfigServicesKubelet", - "description": "Kubelet options for RKE services (list maxitems:1)\n", + "maxNodesSvcGraph": { + "type": "string", + "description": "Max nodes in service graph (string)\n", "language": { "python": { "mapCase": false } } }, - "kubeproxy": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeproxy:ClusterRkeConfigServicesKubeproxy", - "description": "Kubeproxy options for RKE services (list maxitems:1)\n", + "mcastRangeEnd": { + "type": "string", + "description": "End of mcast range (string)\n", "language": { "python": { "mapCase": false } } }, - "scheduler": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesScheduler:ClusterRkeConfigServicesScheduler", - "description": "Scheduler options for RKE services (list maxitems:1)\n", + "mcastRangeStart": { + "type": "string", + "description": "Start of mcast range (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "etcd", - "kubeApi", - "kubeController", - "kubelet", - "kubeproxy", - "scheduler" - ] - } - } - }, - "rancher2:index/ClusterRkeConfigServicesEtcd:ClusterRkeConfigServicesEtcd": { - "properties": { - "backupConfig": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesEtcdBackupConfig:ClusterRkeConfigServicesEtcdBackupConfig", - "description": "Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1)\n", + }, + "mtuHeadRoom": { + "type": "string", + "description": "MTU head room amount (string)\n", "language": { "python": { "mapCase": false } } }, - "caCert": { + "multusDisable": { "type": "string", - "description": "TLS CA certificate for etcd service (string)\n", + "description": "Whether to disable Multus (string)\n", "language": { "python": { "mapCase": false } } }, - "cert": { + "noPriorityClass": { "type": "string", - "description": "TLS certificate for etcd service (string)\n", + "description": "Whether to use priority class (string)\n", "language": { "python": { "mapCase": false } } }, - "creation": { + "nodePodIfEnable": { "type": "string", - "description": "Creation option for etcd service (string)\n", + "description": "Whether to enable node pod interface (string)\n", "language": { "python": { "mapCase": false } } }, - "externalUrls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "External urls for etcd service (list)\n", + "nodeSubnet": { + "type": "string", + "description": "Subnet to use for nodes (string)\n", "language": { "python": { "mapCase": false } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Extra arguments for scheduler service (map)\n", + "nodeSvcSubnet": { + "type": "string", + "description": "Subnet to use for service graph (string)\n", "language": { "python": { "mapCase": false } } }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Extra binds for scheduler service (list)\n", + "opflexClientSsl": { + "type": "string", + "description": "Whether to use client SSL for Opflex (string)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Extra environment for scheduler service (list)\n", + "opflexDeviceDeleteTimeout": { + "type": "string", + "description": "Opflex device delete timeout (string)\n", "language": { "python": { "mapCase": false } } }, - "gid": { - "type": "integer", - "description": "Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int)\n", + "opflexLogLevel": { + "type": "string", + "description": "Log level for ACI opflex (string)\n", "language": { "python": { "mapCase": false } } }, - "image": { + "opflexMode": { "type": "string", - "description": "Docker image for scheduler service (string)\n", + "description": "Opflex mode (string)\n", "language": { "python": { "mapCase": false } } }, - "key": { + "opflexServerPort": { "type": "string", - "description": "The GKE taint key (string)\n", + "description": "Opflex server port (string)\n", "language": { "python": { "mapCase": false } } }, - "path": { + "overlayVrfName": { "type": "string", - "description": "(Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string)\n", + "description": "Overlay VRF name (string)\n", "language": { "python": { "mapCase": false } } }, - "retention": { + "ovsMemoryLimit": { "type": "string", - "description": "Retention for etcd backup. Default `6` (int)\n", + "description": "OVS memory limit (string)\n", "language": { "python": { "mapCase": false } } }, - "snapshot": { - "type": "boolean", - "description": "Snapshot option for etcd service (bool)\n", + "pbrTrackingNonSnat": { + "type": "string", + "description": "Policy-based routing tracking non snat (string)\n", "language": { "python": { "mapCase": false } } }, - "uid": { - "type": "integer", - "description": "Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int)\n", + "podSubnetChunkSize": { + "type": "string", + "description": "Pod subnet chunk size (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "backupConfig", - "caCert", - "cert", - "creation", - "extraArgs", - "image", - "key", - "path", - "retention", - "snapshot" - ] - } - } - }, - "rancher2:index/ClusterRkeConfigServicesEtcdBackupConfig:ClusterRkeConfigServicesEtcdBackupConfig": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Enable scheduled cluster scan. Default: `false` (bool)\n", + }, + "runGbpContainer": { + "type": "string", + "description": "Whether to run GBP container (string)\n", "language": { "python": { "mapCase": false } } }, - "intervalHours": { - "type": "integer", - "description": "Interval hours for etcd backup. Default `12` (int)\n", + "runOpflexServerContainer": { + "type": "string", + "description": "Whether to run Opflex server container (string)\n", "language": { "python": { "mapCase": false } } }, - "retention": { - "type": "integer", - "description": "Retention for etcd backup. Default `6` (int)\n", + "serviceMonitorInterval": { + "type": "string", + "description": "Service monitor interval (string)\n", "language": { "python": { "mapCase": false } } }, - "s3BackupConfig": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig:ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig", - "description": "S3 config options for etcd backup (list maxitems:1)\n", + "serviceVlan": { + "type": "string", + "description": "The VLAN used by LoadBalancer services (string)\n", "language": { "python": { "mapCase": false } } }, - "safeTimestamp": { - "type": "boolean", - "description": "Safe timestamp for etcd backup. Default: `false` (bool)\n", + "snatContractScope": { + "type": "string", + "description": "Snat contract scope (string)\n", "language": { "python": { "mapCase": false } } }, - "timeout": { - "type": "integer", - "description": "RKE node drain timeout. Default: `60` (int)\n", + "snatNamespace": { + "type": "string", + "description": "Snat namespace (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "timeout" - ] - } - } - }, - "rancher2:index/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig:ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig": { - "properties": { - "accessKey": { + }, + "snatPortRangeEnd": { "type": "string", - "description": "The AWS Client ID to use (string)\n", + "description": "End of snat port range (string)\n", "language": { "python": { "mapCase": false } } }, - "bucketName": { + "snatPortRangeStart": { "type": "string", - "description": "Bucket name for S3 service (string)\n", + "description": "End of snat port range (string)\n", "language": { "python": { "mapCase": false } } }, - "customCa": { + "snatPortsPerNode": { "type": "string", - "description": "Base64 encoded custom CA for S3 service. Use filebase64(\u003cFILE\u003e) for encoding file. Available from Rancher v2.2.5 (string)\n", + "description": "Snat ports per node (string)\n", "language": { "python": { "mapCase": false } } }, - "endpoint": { + "sriovEnable": { "type": "string", - "description": "Endpoint for S3 service (string)\n", + "description": "Whether to enable SR-IOV (string)\n", "language": { "python": { "mapCase": false } } }, - "folder": { + "subnetDomainName": { "type": "string", - "description": "Folder for S3 service. Available from Rancher v2.2.7 (string)\n", + "description": "Subnet domain name (string)\n", "language": { "python": { "mapCase": false } } }, - "region": { + "systemId": { "type": "string", - "description": "The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string)\n", + "description": "ACI system ID (string)\n", "language": { "python": { "mapCase": false } } }, - "secretKey": { + "tenant": { "type": "string", - "description": "The AWS Client Secret associated with the Client ID (string)\n", + "description": "ACI tenant (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "bucketName", - "endpoint" - ] - }, - "rancher2:index/ClusterRkeConfigServicesKubeApi:ClusterRkeConfigServicesKubeApi": { - "properties": { - "admissionConfiguration": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Admission configuration (map)\n", + }, + "token": { + "type": "string", + "description": "Token for cluster registration token object (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "alwaysPullImages": { - "type": "boolean", - "description": "Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool)\n", + "useAciAnywhereCrd": { + "type": "string", + "description": "Whether to use ACI anywhere CRD (string)\n", "language": { "python": { "mapCase": false } } }, - "auditLog": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeApiAuditLog:ClusterRkeConfigServicesKubeApiAuditLog", - "description": "K8s audit log configuration. (list maxitems: 1)\n", + "useAciCniPriorityClass": { + "type": "string", + "description": "Whether to use ACI CNI priority class (string)\n", "language": { "python": { "mapCase": false } } }, - "eventRateLimit": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeApiEventRateLimit:ClusterRkeConfigServicesKubeApiEventRateLimit", - "description": "K8s event rate limit configuration. (list maxitems: 1)\n", + "useClusterRole": { + "type": "string", + "description": "Whether to use cluster role (string)\n", "language": { "python": { "mapCase": false } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Extra arguments for scheduler service (map)\n", + "useHostNetnsVolume": { + "type": "string", + "description": "Whether to use host netns volume (string)\n", "language": { "python": { "mapCase": false } } }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Extra binds for scheduler service (list)\n", + "useOpflexServerVolume": { + "type": "string", + "description": "Whether use Opflex server volume (string)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Extra environment for scheduler service (list)\n", + "usePrivilegedContainer": { + "type": "string", + "description": "Whether ACI containers should run as privileged (string)\n", "language": { "python": { "mapCase": false } } }, - "image": { + "vmmController": { "type": "string", - "description": "Docker image for scheduler service (string)\n", + "description": "VMM controller configuration (string)\n", "language": { "python": { "mapCase": false } } }, - "podSecurityPolicy": { - "type": "boolean", - "description": "Pod Security Policy option for kube API service. Default `false` (bool)\n", + "vmmDomain": { + "type": "string", + "description": "VMM domain configuration (string)\n", "language": { "python": { "mapCase": false } } }, - "secretsEncryptionConfig": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig:ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig", - "description": "[Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1)\n", + "vrfName": { + "type": "string", + "description": "VRF name (string)\n", "language": { "python": { "mapCase": false } } }, - "serviceClusterIpRange": { + "vrfTenant": { "type": "string", - "description": "Service Cluster ip Range option for kube controller service (string)\n", + "description": "VRF tenant (string)\n", "language": { "python": { "mapCase": false } } - }, - "serviceNodePortRange": { - "type": "string", - "description": "Service Node Port Range option for kube API service (string)\n", + } + }, + "type": "object", + "required": [ + "aep", + "apicHosts", + "apicUserCrt", + "apicUserKey", + "apicUserName", + "encapType", + "externDynamic", + "externStatic", + "kubeApiVlan", + "l3out", + "l3outExternalNetworks", + "mcastRangeEnd", + "mcastRangeStart", + "nodeSubnet", + "nodeSvcSubnet", + "serviceVlan", + "systemId", + "token", + "vrfName", + "vrfTenant" + ] + }, + "rancher2:index/ClusterRkeConfigNetworkCalicoNetworkProvider:ClusterRkeConfigNetworkCalicoNetworkProvider": { + "properties": { + "cloudProvider": { + "type": "string", + "description": "RKE options for Calico network provider (string)\n", "language": { "python": { "mapCase": false @@ -8260,28 +8250,37 @@ "language": { "nodejs": { "requiredOutputs": [ - "extraArgs", - "image", - "serviceClusterIpRange", - "serviceNodePortRange" + "cloudProvider" ] } } }, - "rancher2:index/ClusterRkeConfigServicesKubeApiAuditLog:ClusterRkeConfigServicesKubeApiAuditLog": { + "rancher2:index/ClusterRkeConfigNetworkCanalNetworkProvider:ClusterRkeConfigNetworkCanalNetworkProvider": { "properties": { - "configuration": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeApiAuditLogConfiguration:ClusterRkeConfigServicesKubeApiAuditLogConfiguration", - "description": "Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration\"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex:\n", + "iface": { + "type": "string", + "description": "Iface config Flannel network provider (string)\n", "language": { "python": { "mapCase": false } } - }, - "enabled": { - "type": "boolean", - "description": "Enable scheduled cluster scan. Default: `false` (bool)\n", + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "iface" + ] + } + } + }, + "rancher2:index/ClusterRkeConfigNetworkFlannelNetworkProvider:ClusterRkeConfigNetworkFlannelNetworkProvider": { + "properties": { + "iface": { + "type": "string", + "description": "Iface config Flannel network provider (string)\n", "language": { "python": { "mapCase": false @@ -8293,61 +8292,52 @@ "language": { "nodejs": { "requiredOutputs": [ - "configuration" + "iface" ] } } }, - "rancher2:index/ClusterRkeConfigServicesKubeApiAuditLogConfiguration:ClusterRkeConfigServicesKubeApiAuditLogConfiguration": { + "rancher2:index/ClusterRkeConfigNetworkToleration:ClusterRkeConfigNetworkToleration": { "properties": { - "format": { + "effect": { "type": "string", - "description": "Audit log format. Default: 'json' (string)\n", + "description": "The GKE taint effect (string)\n", "language": { "python": { "mapCase": false } } }, - "maxAge": { - "type": "integer", - "description": "Audit log max age. Default: `30` (int)\n", + "key": { + "type": "string", + "description": "The GKE taint key (string)\n", "language": { "python": { "mapCase": false } } }, - "maxBackup": { - "type": "integer", - "description": "Audit log max backup. Default: `10` (int)\n", + "operator": { + "type": "string", + "description": "The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string)\n", "language": { "python": { "mapCase": false } } }, - "maxSize": { + "seconds": { "type": "integer", - "description": "The EKS node group maximum size. Default `2` (int)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "path": { - "type": "string", - "description": "(Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string)\n", + "description": "The toleration seconds (int)\n", "language": { "python": { "mapCase": false } } }, - "policy": { + "value": { "type": "string", - "description": "Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\\nrules:\"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex:\n", + "description": "The GKE taint value (string)\n", "language": { "python": { "mapCase": false @@ -8356,28 +8346,23 @@ } }, "type": "object", + "required": [ + "key" + ], "language": { "nodejs": { "requiredOutputs": [ - "policy" + "key", + "seconds" ] } } }, - "rancher2:index/ClusterRkeConfigServicesKubeApiEventRateLimit:ClusterRkeConfigServicesKubeApiEventRateLimit": { + "rancher2:index/ClusterRkeConfigNetworkWeaveNetworkProvider:ClusterRkeConfigNetworkWeaveNetworkProvider": { "properties": { - "configuration": { + "password": { "type": "string", - "description": "Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration\"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex:\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "enabled": { - "type": "boolean", - "description": "Enable scheduled cluster scan. Default: `false` (bool)\n", + "description": "Registry password (string)\n", "language": { "python": { "mapCase": false @@ -8386,201 +8371,287 @@ } }, "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "configuration" - ] - } - } + "required": [ + "password" + ] }, - "rancher2:index/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig:ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig": { + "rancher2:index/ClusterRkeConfigNode:ClusterRkeConfigNode": { "properties": { - "customConfig": { + "address": { "type": "string", - "description": "Secrets encryption yaml encoded custom configuration. `\"apiVersion\"` and `\"kind\":\"EncryptionConfiguration\"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex:\n", + "description": "Address ip for node (string)\n", "language": { "python": { "mapCase": false } } }, - "enabled": { - "type": "boolean", - "description": "Enable scheduled cluster scan. Default: `false` (bool)\n", + "dockerSocket": { + "type": "string", + "description": "Docker socket for node (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterRkeConfigServicesKubeController:ClusterRkeConfigServicesKubeController": { - "properties": { - "clusterCidr": { + }, + "hostnameOverride": { "type": "string", - "description": "Cluster CIDR option for kube controller service (string)\n", + "description": "Hostname override for node (string)\n", "language": { "python": { "mapCase": false } } }, - "extraArgs": { + "internalAddress": { + "type": "string", + "description": "Internal ip for node (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "labels": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "Extra arguments for scheduler service (map)\n", + "description": "Labels for cluster registration token object (map)\n", "language": { "python": { "mapCase": false } } }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Extra binds for scheduler service (list)\n", + "nodeId": { + "type": "string", + "description": "Id for the node (string)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { + "port": { + "type": "string", + "description": "Port for node. Default `22` (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "roles": { "type": "array", "items": { "type": "string" }, - "description": "Extra environment for scheduler service (list)\n", + "description": "Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list)\n", "language": { "python": { "mapCase": false } } }, - "image": { - "type": "string", - "description": "Docker image for scheduler service (string)\n", + "sshAgentAuth": { + "type": "boolean", + "description": "Use ssh agent auth. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "serviceClusterIpRange": { + "sshKey": { "type": "string", - "description": "Service Cluster ip Range option for kube controller service (string)\n", + "description": "Node SSH private key (string)\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "sshKeyPath": { + "type": "string", + "description": "Node SSH private key path (string)\n", "language": { "python": { "mapCase": false } } + }, + "user": { + "type": "string", + "description": "Registry user (string)\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true } }, "type": "object", + "required": [ + "address", + "roles", + "user" + ], "language": { "nodejs": { "requiredOutputs": [ - "clusterCidr", - "extraArgs", - "image", - "serviceClusterIpRange" + "address", + "dockerSocket", + "roles", + "sshKey", + "sshKeyPath", + "user" ] } } }, - "rancher2:index/ClusterRkeConfigServicesKubelet:ClusterRkeConfigServicesKubelet": { + "rancher2:index/ClusterRkeConfigPrivateRegistry:ClusterRkeConfigPrivateRegistry": { "properties": { - "clusterDnsServer": { - "type": "string", - "description": "Cluster DNS Server option for kubelet service (string)\n", + "ecrCredentialPlugin": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigPrivateRegistryEcrCredentialPlugin:ClusterRkeConfigPrivateRegistryEcrCredentialPlugin", + "description": "ECR credential plugin config (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "clusterDomain": { - "type": "string", - "description": "Cluster Domain option for kubelet service (string)\n", + "isDefault": { + "type": "boolean", + "description": "Set as default registry. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" + "password": { + "type": "string", + "description": "Registry password (string)\n", + "language": { + "python": { + "mapCase": false + } }, - "description": "Extra arguments for scheduler service (map)\n", + "secret": true + }, + "url": { + "type": "string", + "description": "Registry URL (string)\n", "language": { "python": { "mapCase": false } } }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" + "user": { + "type": "string", + "description": "Registry user (string)\n", + "language": { + "python": { + "mapCase": false + } }, - "description": "Extra binds for scheduler service (list)\n", + "secret": true + } + }, + "type": "object", + "required": [ + "url" + ] + }, + "rancher2:index/ClusterRkeConfigPrivateRegistryEcrCredentialPlugin:ClusterRkeConfigPrivateRegistryEcrCredentialPlugin": { + "properties": { + "awsAccessKeyId": { + "type": "string", + "description": "AWS access key ID (string)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" + "awsSecretAccessKey": { + "type": "string", + "description": "AWS secret access key (string)\n", + "language": { + "python": { + "mapCase": false + } }, - "description": "Extra environment for scheduler service (list)\n", + "secret": true + }, + "awsSessionToken": { + "type": "string", + "description": "AWS session token (string)\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object" + }, + "rancher2:index/ClusterRkeConfigServices:ClusterRkeConfigServices": { + "properties": { + "etcd": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesEtcd:ClusterRkeConfigServicesEtcd", + "description": "Etcd options for RKE services (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "failSwapOn": { - "type": "boolean", - "description": "Enable or disable failing when swap on is not supported (bool)\n", + "kubeApi": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeApi:ClusterRkeConfigServicesKubeApi", + "description": "Kube API options for RKE services (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "generateServingCertificate": { - "type": "boolean", - "description": "[Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool)\n", + "kubeController": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeController:ClusterRkeConfigServicesKubeController", + "description": "Kube Controller options for RKE services (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "image": { - "type": "string", - "description": "Docker image for scheduler service (string)\n", + "kubelet": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubelet:ClusterRkeConfigServicesKubelet", + "description": "Kubelet options for RKE services (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "infraContainerImage": { - "type": "string", - "description": "Infra container image for kubelet service (string)\n", + "kubeproxy": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeproxy:ClusterRkeConfigServicesKubeproxy", + "description": "Kubeproxy options for RKE services (list maxitems:1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "scheduler": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesScheduler:ClusterRkeConfigServicesScheduler", + "description": "Scheduler options for RKE services (list maxitems:1)\n", "language": { "python": { "mapCase": false @@ -8592,76 +8663,67 @@ "language": { "nodejs": { "requiredOutputs": [ - "clusterDnsServer", - "clusterDomain", - "extraArgs", - "failSwapOn", - "image", - "infraContainerImage" + "etcd", + "kubeApi", + "kubeController", + "kubelet", + "kubeproxy", + "scheduler" ] } } }, - "rancher2:index/ClusterRkeConfigServicesKubeproxy:ClusterRkeConfigServicesKubeproxy": { + "rancher2:index/ClusterRkeConfigServicesEtcd:ClusterRkeConfigServicesEtcd": { "properties": { - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Extra arguments for scheduler service (map)\n", + "backupConfig": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesEtcdBackupConfig:ClusterRkeConfigServicesEtcdBackupConfig", + "description": "Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Extra binds for scheduler service (list)\n", + "caCert": { + "type": "string", + "description": "TLS CA certificate for etcd service (string)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" + "cert": { + "type": "string", + "description": "TLS certificate for etcd service (string)\n", + "language": { + "python": { + "mapCase": false + } }, - "description": "Extra environment for scheduler service (list)\n", + "secret": true + }, + "creation": { + "type": "string", + "description": "Creation option for etcd service (string)\n", "language": { "python": { "mapCase": false } } }, - "image": { - "type": "string", - "description": "Docker image for scheduler service (string)\n", + "externalUrls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "External urls for etcd service (list)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "extraArgs", - "image" - ] - } - } - }, - "rancher2:index/ClusterRkeConfigServicesScheduler:ClusterRkeConfigServicesScheduler": { - "properties": { + }, "extraArgs": { "type": "object", "additionalProperties": { @@ -8698,6 +8760,15 @@ } } }, + "gid": { + "type": "integer", + "description": "Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int)\n", + "language": { + "python": { + "mapCase": false + } + } + }, "image": { "type": "string", "description": "Docker image for scheduler service (string)\n", @@ -8706,50 +8777,47 @@ "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "extraArgs", - "image" - ] - } - } - }, - "rancher2:index/ClusterRkeConfigUpgradeStrategy:ClusterRkeConfigUpgradeStrategy": { - "properties": { - "drain": { - "type": "boolean", - "description": "RKE drain nodes. Default: `false` (bool)\n", + }, + "key": { + "type": "string", + "description": "The GKE taint key (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "drainInput": { - "$ref": "#/types/rancher2:index/ClusterRkeConfigUpgradeStrategyDrainInput:ClusterRkeConfigUpgradeStrategyDrainInput", - "description": "RKE drain node input (list Maxitems: 1)\n", + "path": { + "type": "string", + "description": "(Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string)\n", "language": { "python": { "mapCase": false } } }, - "maxUnavailableControlplane": { + "retention": { "type": "string", - "description": "RKE max unavailable controlplane nodes. Default: `1` (string)\n", + "description": "Retention for etcd backup. Default `6` (int)\n", "language": { "python": { "mapCase": false } } }, - "maxUnavailableWorker": { - "type": "string", - "description": "RKE max unavailable worker nodes. Default: `10%` (string)\n", + "snapshot": { + "type": "boolean", + "description": "Snapshot option for etcd service (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "uid": { + "type": "integer", + "description": "Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int)\n", "language": { "python": { "mapCase": false @@ -8761,43 +8829,61 @@ "language": { "nodejs": { "requiredOutputs": [ - "drainInput" + "backupConfig", + "caCert", + "cert", + "creation", + "extraArgs", + "image", + "key", + "path", + "retention", + "snapshot" ] } } }, - "rancher2:index/ClusterRkeConfigUpgradeStrategyDrainInput:ClusterRkeConfigUpgradeStrategyDrainInput": { + "rancher2:index/ClusterRkeConfigServicesEtcdBackupConfig:ClusterRkeConfigServicesEtcdBackupConfig": { "properties": { - "deleteLocalData": { + "enabled": { "type": "boolean", - "description": "Delete RKE node local data. Default: `false` (bool)\n", + "description": "Enable scheduled cluster scan. Default: `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "force": { - "type": "boolean", - "description": "Force RKE node drain. Default: `false` (bool)\n", + "intervalHours": { + "type": "integer", + "description": "Interval hours for etcd backup. Default `12` (int)\n", "language": { "python": { "mapCase": false } } }, - "gracePeriod": { + "retention": { "type": "integer", - "description": "RKE node drain grace period. Default: `-1` (int)\n", + "description": "Retention for etcd backup. Default `6` (int)\n", "language": { "python": { "mapCase": false } } }, - "ignoreDaemonSets": { + "s3BackupConfig": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig:ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig", + "description": "S3 config options for etcd backup (list maxitems:1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "safeTimestamp": { "type": "boolean", - "description": "Ignore RKE daemon sets. Default: `true` (bool)\n", + "description": "Safe timestamp for etcd backup. Default: `false` (bool)\n", "language": { "python": { "mapCase": false @@ -8814,49 +8900,205 @@ } } }, - "type": "object" + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "timeout" + ] + } + } }, - "rancher2:index/ClusterScheduledClusterScan:ClusterScheduledClusterScan": { + "rancher2:index/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig:ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig": { "properties": { - "enabled": { - "type": "boolean", - "description": "Enable scheduled cluster scan. Default: `false` (bool)\n", + "accessKey": { + "type": "string", + "description": "The AWS Client ID to use (string)\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "bucketName": { + "type": "string", + "description": "Bucket name for S3 service (string)\n", "language": { "python": { "mapCase": false } } }, - "scanConfig": { - "$ref": "#/types/rancher2:index/ClusterScheduledClusterScanScanConfig:ClusterScheduledClusterScanScanConfig", - "description": "Cluster scan config (List maxitems:1)\n", + "customCa": { + "type": "string", + "description": "Base64 encoded custom CA for S3 service. Use filebase64(\u003cFILE\u003e) for encoding file. Available from Rancher v2.2.5 (string)\n", "language": { "python": { "mapCase": false } } }, - "scheduleConfig": { - "$ref": "#/types/rancher2:index/ClusterScheduledClusterScanScheduleConfig:ClusterScheduledClusterScanScheduleConfig", - "description": "Cluster scan schedule config (list maxitems:1)\n", + "endpoint": { + "type": "string", + "description": "Endpoint for S3 service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "folder": { + "type": "string", + "description": "Folder for S3 service. Available from Rancher v2.2.7 (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "region": { + "type": "string", + "description": "The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string)\n", "language": { "python": { "mapCase": false } } + }, + "secretKey": { + "type": "string", + "description": "The AWS Client Secret associated with the Client ID (string)\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true } }, "type": "object", "required": [ - "scanConfig", - "scheduleConfig" + "bucketName", + "endpoint" ] }, - "rancher2:index/ClusterScheduledClusterScanScanConfig:ClusterScheduledClusterScanScanConfig": { + "rancher2:index/ClusterRkeConfigServicesKubeApi:ClusterRkeConfigServicesKubeApi": { "properties": { - "cisScanConfig": { - "$ref": "#/types/rancher2:index/ClusterScheduledClusterScanScanConfigCisScanConfig:ClusterScheduledClusterScanScanConfigCisScanConfig", - "description": "Cluster Cis Scan config (List maxitems:1)\n", + "admissionConfiguration": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Admission configuration (map)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "alwaysPullImages": { + "type": "boolean", + "description": "Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "auditLog": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeApiAuditLog:ClusterRkeConfigServicesKubeApiAuditLog", + "description": "K8s audit log configuration. (list maxitems: 1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "eventRateLimit": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeApiEventRateLimit:ClusterRkeConfigServicesKubeApiEventRateLimit", + "description": "K8s event rate limit configuration. (list maxitems: 1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Extra arguments for scheduler service (map)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra binds for scheduler service (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra environment for scheduler service (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "image": { + "type": "string", + "description": "Docker image for scheduler service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "podSecurityPolicy": { + "type": "boolean", + "description": "Pod Security Policy option for kube API service. Default `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "secretsEncryptionConfig": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig:ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig", + "description": "[Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "serviceClusterIpRange": { + "type": "string", + "description": "Service Cluster ip Range option for kube controller service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "serviceNodePortRange": { + "type": "string", + "description": "Service Node Port Range option for kube API service (string)\n", "language": { "python": { "mapCase": false @@ -8868,55 +9110,3373 @@ "language": { "nodejs": { "requiredOutputs": [ - "cisScanConfig" + "extraArgs", + "image", + "serviceClusterIpRange", + "serviceNodePortRange" ] } } }, - "rancher2:index/ClusterScheduledClusterScanScanConfigCisScanConfig:ClusterScheduledClusterScanScanConfigCisScanConfig": { + "rancher2:index/ClusterRkeConfigServicesKubeApiAuditLog:ClusterRkeConfigServicesKubeApiAuditLog": { "properties": { - "debugMaster": { + "configuration": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigServicesKubeApiAuditLogConfiguration:ClusterRkeConfigServicesKubeApiAuditLogConfiguration", + "description": "Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration\"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex:\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "enabled": { "type": "boolean", - "description": "Debug master. Default: `false` (bool)\n", + "description": "Enable scheduled cluster scan. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "configuration" + ] + } + } + }, + "rancher2:index/ClusterRkeConfigServicesKubeApiAuditLogConfiguration:ClusterRkeConfigServicesKubeApiAuditLogConfiguration": { + "properties": { + "format": { + "type": "string", + "description": "Audit log format. Default: 'json' (string)\n", "language": { "python": { "mapCase": false } } }, - "debugWorker": { + "maxAge": { + "type": "integer", + "description": "Audit log max age. Default: `30` (int)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "maxBackup": { + "type": "integer", + "description": "Audit log max backup. Default: `10` (int)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "maxSize": { + "type": "integer", + "description": "The EKS node group maximum size. Default `2` (int)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "path": { + "type": "string", + "description": "(Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "policy": { + "type": "string", + "description": "Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\\nrules:\"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex:\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "policy" + ] + } + } + }, + "rancher2:index/ClusterRkeConfigServicesKubeApiEventRateLimit:ClusterRkeConfigServicesKubeApiEventRateLimit": { + "properties": { + "configuration": { + "type": "string", + "description": "Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration\"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex:\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "enabled": { "type": "boolean", - "description": "Debug worker. Default: `false` (bool)\n", + "description": "Enable scheduled cluster scan. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "configuration" + ] + } + } + }, + "rancher2:index/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig:ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig": { + "properties": { + "customConfig": { + "type": "string", + "description": "Secrets encryption yaml encoded custom configuration. `\"apiVersion\"` and `\"kind\":\"EncryptionConfiguration\"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex:\n", "language": { "python": { "mapCase": false } } }, - "overrideBenchmarkVersion": { + "enabled": { + "type": "boolean", + "description": "Enable scheduled cluster scan. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterRkeConfigServicesKubeController:ClusterRkeConfigServicesKubeController": { + "properties": { + "clusterCidr": { "type": "string", - "description": "Override benchmark version (string)\n", + "description": "Cluster CIDR option for kube controller service (string)\n", "language": { "python": { "mapCase": false } } }, - "overrideSkips": { + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Extra arguments for scheduler service (map)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraBinds": { "type": "array", "items": { "type": "string" }, - "description": "Override skip (string)\n", + "description": "Extra binds for scheduler service (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra environment for scheduler service (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "image": { + "type": "string", + "description": "Docker image for scheduler service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "serviceClusterIpRange": { + "type": "string", + "description": "Service Cluster ip Range option for kube controller service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "clusterCidr", + "extraArgs", + "image", + "serviceClusterIpRange" + ] + } + } + }, + "rancher2:index/ClusterRkeConfigServicesKubelet:ClusterRkeConfigServicesKubelet": { + "properties": { + "clusterDnsServer": { + "type": "string", + "description": "Cluster DNS Server option for kubelet service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "clusterDomain": { + "type": "string", + "description": "Cluster Domain option for kubelet service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Extra arguments for scheduler service (map)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra binds for scheduler service (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra environment for scheduler service (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "failSwapOn": { + "type": "boolean", + "description": "Enable or disable failing when swap on is not supported (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "generateServingCertificate": { + "type": "boolean", + "description": "[Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "image": { + "type": "string", + "description": "Docker image for scheduler service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "infraContainerImage": { + "type": "string", + "description": "Infra container image for kubelet service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "clusterDnsServer", + "clusterDomain", + "extraArgs", + "failSwapOn", + "image", + "infraContainerImage" + ] + } + } + }, + "rancher2:index/ClusterRkeConfigServicesKubeproxy:ClusterRkeConfigServicesKubeproxy": { + "properties": { + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Extra arguments for scheduler service (map)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra binds for scheduler service (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra environment for scheduler service (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "image": { + "type": "string", + "description": "Docker image for scheduler service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "extraArgs", + "image" + ] + } + } + }, + "rancher2:index/ClusterRkeConfigServicesScheduler:ClusterRkeConfigServicesScheduler": { + "properties": { + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Extra arguments for scheduler service (map)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra binds for scheduler service (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra environment for scheduler service (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "image": { + "type": "string", + "description": "Docker image for scheduler service (string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "extraArgs", + "image" + ] + } + } + }, + "rancher2:index/ClusterRkeConfigUpgradeStrategy:ClusterRkeConfigUpgradeStrategy": { + "properties": { + "drain": { + "type": "boolean", + "description": "RKE drain nodes. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "drainInput": { + "$ref": "#/types/rancher2:index/ClusterRkeConfigUpgradeStrategyDrainInput:ClusterRkeConfigUpgradeStrategyDrainInput", + "description": "RKE drain node input (list Maxitems: 1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "maxUnavailableControlplane": { + "type": "string", + "description": "RKE max unavailable controlplane nodes. Default: `1` (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "maxUnavailableWorker": { + "type": "string", + "description": "RKE max unavailable worker nodes. Default: `10%` (string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "drainInput" + ] + } + } + }, + "rancher2:index/ClusterRkeConfigUpgradeStrategyDrainInput:ClusterRkeConfigUpgradeStrategyDrainInput": { + "properties": { + "deleteLocalData": { + "type": "boolean", + "description": "Delete RKE node local data. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "force": { + "type": "boolean", + "description": "Force RKE node drain. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "gracePeriod": { + "type": "integer", + "description": "RKE node drain grace period. Default: `-1` (int)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "ignoreDaemonSets": { + "type": "boolean", + "description": "Ignore RKE daemon sets. Default: `true` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "timeout": { + "type": "integer", + "description": "RKE node drain timeout. Default: `60` (int)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterScheduledClusterScan:ClusterScheduledClusterScan": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Enable scheduled cluster scan. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "scanConfig": { + "$ref": "#/types/rancher2:index/ClusterScheduledClusterScanScanConfig:ClusterScheduledClusterScanScanConfig", + "description": "Cluster scan config (List maxitems:1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "scheduleConfig": { + "$ref": "#/types/rancher2:index/ClusterScheduledClusterScanScheduleConfig:ClusterScheduledClusterScanScheduleConfig", + "description": "Cluster scan schedule config (list maxitems:1)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "scanConfig", + "scheduleConfig" + ] + }, + "rancher2:index/ClusterScheduledClusterScanScanConfig:ClusterScheduledClusterScanScanConfig": { + "properties": { + "cisScanConfig": { + "$ref": "#/types/rancher2:index/ClusterScheduledClusterScanScanConfigCisScanConfig:ClusterScheduledClusterScanScanConfigCisScanConfig", + "description": "Cluster Cis Scan config (List maxitems:1)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "cisScanConfig" + ] + } + } + }, + "rancher2:index/ClusterScheduledClusterScanScanConfigCisScanConfig:ClusterScheduledClusterScanScanConfigCisScanConfig": { + "properties": { + "debugMaster": { + "type": "boolean", + "description": "Debug master. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "debugWorker": { + "type": "boolean", + "description": "Debug worker. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "overrideBenchmarkVersion": { + "type": "string", + "description": "Override benchmark version (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "overrideSkips": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Override skip (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "profile": { + "type": "string", + "description": "Cis scan profile. Allowed values: `\"permissive\" (default) || \"hardened\"` (string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterScheduledClusterScanScheduleConfig:ClusterScheduledClusterScanScheduleConfig": { + "properties": { + "cronSchedule": { + "type": "string", + "description": "Crontab schedule. It should contains 5 fields `\"\u003cmin\u003e \u003chour\u003e \u003cmonth_day\u003e \u003cmonth\u003e \u003cweek_day\u003e\"` (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "retention": { + "type": "integer", + "description": "Retention for etcd backup. Default `6` (int)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "cronSchedule" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "cronSchedule", + "retention" + ] + } + } + }, + "rancher2:index/ClusterSyncNode:ClusterSyncNode": { + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Annotations of the node (map).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "capacity": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "The total resources of a node (map).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "clusterId": { + "type": "string", + "description": "The Cluster ID of the node (string).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "externalIpAddress": { + "type": "string", + "description": "The external IP address of the node (string).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "hostname": { + "type": "string", + "description": "The hostname of the node (string).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "id": { + "type": "string", + "description": "The ID of the node (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "ipAddress": { + "type": "string", + "description": "The private IP address of the node (string).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Labels of the node (map).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "name": { + "type": "string", + "description": "The name of the node (string).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "nodePoolId": { + "type": "string", + "description": "The Node Pool ID of the node (string).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "nodeTemplateId": { + "type": "string", + "description": "The Node Template ID of the node (string).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "providerId": { + "type": "string", + "description": "The Provider ID of the node (string).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "requestedHostname": { + "type": "string", + "description": "The requested hostname (string).\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "roles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Roles of the node. `controlplane`, `etcd` and `worker`. (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "sshUser": { + "type": "string", + "description": "The user to connect to the node (string).\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "systemInfo": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name.\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "annotations", + "capacity", + "clusterId", + "externalIpAddress", + "hostname", + "id", + "ipAddress", + "labels", + "name", + "nodePoolId", + "nodeTemplateId", + "providerId", + "requestedHostname", + "roles", + "sshUser", + "systemInfo" + ] + } + } + }, + "rancher2:index/ClusterTemplateMember:ClusterTemplateMember": { + "properties": { + "accessType": { + "type": "string", + "description": "Member access type. Valid values: `[\"read-only\" | \"owner\"]` (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "groupPrincipalId": { + "type": "string", + "description": "Member group principal id (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "userPrincipalId": { + "type": "string", + "description": "Member user principal id (string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevision:ClusterTemplateTemplateRevision": { + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Annotations for the cluster template revision (map)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "clusterConfig": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfig:ClusterTemplateTemplateRevisionClusterConfig", + "description": "Cluster configuration (list maxitem: 1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "clusterTemplateId": { + "type": "string", + "description": "Cluster template ID (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "default": { + "type": "boolean", + "description": "Default variable value (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "enabled": { + "type": "boolean", + "description": "Enable cluster template revision. Default `true` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "id": { + "type": "string", + "description": "The cluster template revision ID (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Labels for the cluster template revision (map)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "name": { + "type": "string", + "description": "The cluster template revision name (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "questions": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionQuestion:ClusterTemplateTemplateRevisionQuestion" + }, + "description": "Cluster template questions (list)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "clusterConfig", + "name" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "annotations", + "clusterConfig", + "clusterTemplateId", + "id", + "labels", + "name" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfig:ClusterTemplateTemplateRevisionClusterConfig": { + "properties": { + "clusterAuthEndpoint": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint:ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint", + "description": "Local cluster auth endpoint (list maxitems: 1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "defaultClusterRoleForProjectMembers": { + "type": "string", + "description": "Default cluster role for project members (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "defaultPodSecurityPolicyTemplateId": { + "type": "string", + "description": "Default pod security policy template ID (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "desiredAgentImage": { + "type": "string", + "description": "Desired agent image (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "desiredAuthImage": { + "type": "string", + "description": "Desired auth image (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "dockerRootDir": { + "type": "string", + "description": "Desired auth image (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "enableClusterAlerting": { + "type": "boolean", + "description": "Enable built-in cluster alerting. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "enableClusterMonitoring": { + "type": "boolean", + "description": "Enable built-in cluster monitoring. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "enableNetworkPolicy": { + "type": "boolean", + "description": "Enable project network isolation. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "rkeConfig": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfig", + "description": "Rancher Kubernetes Engine Config (list maxitems: 1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "scheduledClusterScan": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan", + "description": "Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "windowsPreferedCluster": { + "type": "boolean", + "description": "Windows prefered cluster. Default: `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "rkeConfig" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "clusterAuthEndpoint", + "defaultClusterRoleForProjectMembers", + "defaultPodSecurityPolicyTemplateId", + "desiredAgentImage", + "desiredAuthImage", + "dockerRootDir", + "rkeConfig" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint:ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint": { + "properties": { + "caCerts": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "enabled": { + "type": "boolean", + "description": "Enable cluster template revision. Default `true` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "fqdn": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfig": { + "properties": { + "addonJobTimeout": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "addons": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "addonsIncludes": { + "type": "array", + "items": { + "type": "string" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "authentication": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication:ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication", + "language": { + "python": { + "mapCase": false + } + } + }, + "authorization": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization:ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization", + "language": { + "python": { + "mapCase": false + } + } + }, + "bastionHost": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost:ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloudProvider": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider", + "language": { + "python": { + "mapCase": false + } + } + }, + "dns": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns", + "language": { + "python": { + "mapCase": false + } + } + }, + "enableCriDockerd": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "ignoreDockerVersion": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "ingress": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress", + "language": { + "python": { + "mapCase": false + } + } + }, + "kubernetesVersion": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "monitoring": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring", + "language": { + "python": { + "mapCase": false + } + } + }, + "network": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork", + "language": { + "python": { + "mapCase": false + } + } + }, + "nodes": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "prefixPath": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "privateRegistries": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry:ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "services": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices", + "language": { + "python": { + "mapCase": false + } + } + }, + "sshAgentAuth": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "sshCertPath": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "sshKeyPath": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "upgradeStrategy": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy", + "language": { + "python": { + "mapCase": false + } + } + }, + "winPrefixPath": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "addonJobTimeout", + "authentication", + "authorization", + "bastionHost", + "cloudProvider", + "dns", + "ingress", + "kubernetesVersion", + "monitoring", + "network", + "prefixPath", + "services", + "sshCertPath", + "sshKeyPath", + "upgradeStrategy", + "winPrefixPath" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication:ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication": { + "properties": { + "sans": { + "type": "array", + "items": { + "type": "string" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "strategy": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "sans", + "strategy" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization:ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization": { + "properties": { + "mode": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "options" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost:ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost": { + "properties": { + "address": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "port": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "sshAgentAuth": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "sshKey": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "sshKeyPath": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "user": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "address", + "user" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "address", + "sshKey", + "sshKeyPath", + "user" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider": { + "properties": { + "awsCloudProvider": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider", + "language": { + "python": { + "mapCase": false + } + } + }, + "azureCloudProvider": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider", + "language": { + "python": { + "mapCase": false + } + } + }, + "customCloudProvider": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "name": { + "type": "string", + "description": "The cluster template revision name (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "openstackCloudProvider": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider", + "language": { + "python": { + "mapCase": false + } + } + }, + "vsphereCloudProvider": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "customCloudProvider" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider": { + "properties": { + "global": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal", + "language": { + "python": { + "mapCase": false + } + } + }, + "serviceOverrides": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride" + }, + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "global" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal": { + "properties": { + "disableSecurityGroupIngress": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "disableStrictZoneCheck": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "elbSecurityGroup": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "kubernetesClusterId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "kubernetesClusterTag": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "roleArn": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "routeTableId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "subnetId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "vpc": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "zone": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "elbSecurityGroup", + "kubernetesClusterId", + "kubernetesClusterTag", + "roleArn", + "routeTableId", + "subnetId", + "vpc", + "zone" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride": { + "properties": { + "region": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "service": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "signingMethod": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "signingName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "signingRegion": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "url": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "service" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "region", + "service", + "signingMethod", + "signingName", + "signingRegion", + "url" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider": { + "properties": { + "aadClientCertPassword": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "aadClientCertPath": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "aadClientId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "aadClientSecret": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "cloud": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloudProviderBackoff": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloudProviderBackoffDuration": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloudProviderBackoffExponent": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloudProviderBackoffJitter": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloudProviderBackoffRetries": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloudProviderRateLimit": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloudProviderRateLimitBucket": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloudProviderRateLimitQps": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "loadBalancerSku": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "location": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "maximumLoadBalancerRuleCount": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "primaryAvailabilitySetName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "primaryScaleSetName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "resourceGroup": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "routeTableName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "securityGroupName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "subnetName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "subscriptionId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "tenantId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "useInstanceMetadata": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "useManagedIdentityExtension": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "vmType": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "vnetName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "vnetResourceGroup": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "aadClientId", + "aadClientSecret", + "subscriptionId", + "tenantId" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "aadClientCertPassword", + "aadClientCertPath", + "aadClientId", + "aadClientSecret", + "cloud", + "cloudProviderBackoff", + "cloudProviderBackoffDuration", + "cloudProviderBackoffExponent", + "cloudProviderBackoffJitter", + "cloudProviderBackoffRetries", + "cloudProviderRateLimit", + "cloudProviderRateLimitBucket", + "cloudProviderRateLimitQps", + "location", + "maximumLoadBalancerRuleCount", + "primaryAvailabilitySetName", + "primaryScaleSetName", + "resourceGroup", + "routeTableName", + "securityGroupName", + "subnetName", + "subscriptionId", + "tenantId", + "useInstanceMetadata", + "useManagedIdentityExtension", + "vmType", + "vnetName", + "vnetResourceGroup" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider": { + "properties": { + "blockStorage": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage", + "language": { + "python": { + "mapCase": false + } + } + }, + "global": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal", + "language": { + "python": { + "mapCase": false + } + } + }, + "loadBalancer": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer", + "language": { + "python": { + "mapCase": false + } + } + }, + "metadata": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata", + "language": { + "python": { + "mapCase": false + } + } + }, + "route": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "global" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "blockStorage", + "global", + "loadBalancer", + "metadata", + "route" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage": { + "properties": { + "bsVersion": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "ignoreVolumeAz": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "trustDevicePath": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "bsVersion", + "ignoreVolumeAz", + "trustDevicePath" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal": { + "properties": { + "authUrl": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "caFile": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "domainId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "domainName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "password": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "region": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "tenantId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "tenantName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "trustId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "username": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object", + "required": [ + "authUrl", + "password", + "username" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "authUrl", + "caFile", + "domainId", + "domainName", + "password", + "region", + "tenantId", + "tenantName", + "trustId", + "username" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer": { + "properties": { + "createMonitor": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "floatingNetworkId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "lbMethod": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "lbProvider": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "lbVersion": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "manageSecurityGroups": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "monitorDelay": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "monitorMaxRetries": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "monitorTimeout": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "subnetId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "useOctavia": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "createMonitor", + "floatingNetworkId", + "lbMethod", + "lbProvider", + "lbVersion", + "manageSecurityGroups", + "subnetId", + "useOctavia" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata": { + "properties": { + "requestTimeout": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "searchOrder": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "requestTimeout", + "searchOrder" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute": { + "properties": { + "routerId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "routerId" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider": { + "properties": { + "disk": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk", + "language": { + "python": { + "mapCase": false + } + } + }, + "global": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal", + "language": { + "python": { + "mapCase": false + } + } + }, + "network": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork", + "language": { + "python": { + "mapCase": false + } + } + }, + "virtualCenters": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "workspace": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "virtualCenters", + "workspace" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "disk", + "global", + "network", + "virtualCenters", + "workspace" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk": { + "properties": { + "scsiControllerType": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "scsiControllerType" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal": { + "properties": { + "datacenters": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "insecureFlag": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "password": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "port": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "soapRoundtripCount": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "user": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "datacenters", + "insecureFlag", + "password", + "port", + "soapRoundtripCount", + "user" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork": { + "properties": { + "publicNetwork": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "publicNetwork" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter": { + "properties": { + "datacenters": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "name": { + "type": "string", + "description": "The cluster template revision name (string)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "password": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "port": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "soapRoundtripCount": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "user": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object", + "required": [ + "datacenters", + "name", + "password", + "user" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "datacenters", + "name", + "password", + "port", + "soapRoundtripCount", + "user" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace": { + "properties": { + "datacenter": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "defaultDatastore": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "folder": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "resourcepoolPath": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "server": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "datacenter", + "folder", + "server" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "datacenter", + "defaultDatastore", + "folder", + "resourcepoolPath", + "server" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns": { + "properties": { + "linearAutoscalerParams": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams", + "language": { + "python": { + "mapCase": false + } + } + }, + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "nodelocal": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal", + "language": { + "python": { + "mapCase": false + } + } + }, + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "provider": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "reverseCidrs": { + "type": "array", + "items": { + "type": "string" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "updateStrategy": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy", + "language": { + "python": { + "mapCase": false + } + } + }, + "upstreamNameservers": { + "type": "array", + "items": { + "type": "string" + }, + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "nodeSelector", + "options", + "reverseCidrs", + "upstreamNameservers" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams": { + "properties": { + "coresPerReplica": { + "type": "number", + "language": { + "python": { + "mapCase": false + } + } + }, + "max": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "min": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "nodesPerReplica": { + "type": "number", + "language": { + "python": { + "mapCase": false + } + } + }, + "preventSinglePointFailure": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal": { + "properties": { + "ipAddress": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration": { + "properties": { + "effect": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "key": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "operator": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "seconds": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "value": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "key" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "key", + "seconds" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy": { + "properties": { + "rollingUpdate": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate", + "language": { + "python": { + "mapCase": false + } + } + }, + "strategy": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate": { + "properties": { + "maxSurge": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "maxUnavailable": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress": { + "properties": { + "defaultBackend": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "dnsPolicy": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "httpPort": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "httpsPort": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "networkMode": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "provider": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "updateStrategy": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "dnsPolicy", + "extraArgs", + "httpPort", + "httpsPort", + "networkMode", + "nodeSelector", + "options", + "provider" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration": { + "properties": { + "effect": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "key": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "operator": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "seconds": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "value": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "key" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "key", + "seconds" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy": { + "properties": { + "rollingUpdate": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate", + "language": { + "python": { + "mapCase": false + } + } + }, + "strategy": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate": { + "properties": { + "maxUnavailable": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring": { + "properties": { + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "provider": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "replicas": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "updateStrategy": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "options", + "provider", + "replicas" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration": { + "properties": { + "effect": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "key": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "operator": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "seconds": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "value": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "key" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "key", + "seconds" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy": { + "properties": { + "rollingUpdate": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate", "language": { "python": { "mapCase": false } } }, - "profile": { + "strategy": { "type": "string", - "description": "Cis scan profile. Allowed values: `\"permissive\" (default) || \"hardened\"` (string)\n", "language": { "python": { "mapCase": false @@ -8926,20 +12486,18 @@ }, "type": "object" }, - "rancher2:index/ClusterScheduledClusterScanScheduleConfig:ClusterScheduledClusterScanScheduleConfig": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate": { "properties": { - "cronSchedule": { - "type": "string", - "description": "Crontab schedule. It should contains 5 fields `\"\u003cmin\u003e \u003chour\u003e \u003cmonth_day\u003e \u003cmonth\u003e \u003cweek_day\u003e\"` (string)\n", + "maxSurge": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "retention": { + "maxUnavailable": { "type": "integer", - "description": "Retention for etcd backup. Default `6` (int)\n", "language": { "python": { "mapCase": false @@ -8947,518 +12505,393 @@ } } }, - "type": "object", - "required": [ - "cronSchedule" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "cronSchedule", - "retention" - ] - } - } + "type": "object" }, - "rancher2:index/ClusterSyncNode:ClusterSyncNode": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork": { "properties": { - "annotations": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Annotations of the node (map).\n", + "aciNetworkProvider": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider", "language": { "python": { "mapCase": false } } }, - "capacity": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "The total resources of a node (map).\n", + "calicoNetworkProvider": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider", "language": { "python": { "mapCase": false } } }, - "clusterId": { - "type": "string", - "description": "The Cluster ID of the node (string).\n", + "canalNetworkProvider": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider", "language": { "python": { "mapCase": false } } }, - "externalIpAddress": { - "type": "string", - "description": "The external IP address of the node (string).\n", + "flannelNetworkProvider": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider", "language": { "python": { "mapCase": false } } }, - "hostname": { - "type": "string", - "description": "The hostname of the node (string).\n", + "mtu": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "id": { - "type": "string", - "description": "The ID of the node (string)\n", + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "ipAddress": { + "plugin": { "type": "string", - "description": "The private IP address of the node (string).\n", "language": { "python": { "mapCase": false } } }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration" }, - "description": "Labels of the node (map).\n", "language": { "python": { "mapCase": false } } }, - "name": { - "type": "string", - "description": "The name of the node (string).\n", + "weaveNetworkProvider": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider", "language": { "python": { "mapCase": false } } - }, - "nodePoolId": { + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "options", + "plugin" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider": { + "properties": { + "aep": { "type": "string", - "description": "The Node Pool ID of the node (string).\n", "language": { "python": { "mapCase": false } } }, - "nodeTemplateId": { - "type": "string", - "description": "The Node Template ID of the node (string).\n", + "apicHosts": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "providerId": { + "apicRefreshTickerAdjust": { "type": "string", - "description": "The Provider ID of the node (string).\n", "language": { "python": { "mapCase": false } } }, - "requestedHostname": { + "apicRefreshTime": { "type": "string", - "description": "The requested hostname (string).\n", "language": { "python": { "mapCase": false } } }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Roles of the node. `controlplane`, `etcd` and `worker`. (list)\n", + "apicSubscriptionDelay": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "apicUserCrt": { "type": "string", - "description": "The user to connect to the node (string).\n", "language": { "python": { "mapCase": false } - } - }, - "systemInfo": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" }, - "description": "General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name.\n", + "secret": true + }, + "apicUserKey": { + "type": "string", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "annotations", - "capacity", - "clusterId", - "externalIpAddress", - "hostname", - "id", - "ipAddress", - "labels", - "name", - "nodePoolId", - "nodeTemplateId", - "providerId", - "requestedHostname", - "roles", - "sshUser", - "systemInfo" - ] - } - } - }, - "rancher2:index/ClusterTemplateMember:ClusterTemplateMember": { - "properties": { - "accessType": { + }, + "secret": true + }, + "apicUserName": { "type": "string", - "description": "Member access type. Valid values: `[\"read-only\" | \"owner\"]` (string)\n", "language": { "python": { "mapCase": false } } }, - "groupPrincipalId": { + "capic": { "type": "string", - "description": "Member group principal id (string)\n", "language": { "python": { "mapCase": false } } }, - "userPrincipalId": { + "controllerLogLevel": { "type": "string", - "description": "Member user principal id (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterTemplateTemplateRevision:ClusterTemplateTemplateRevision": { - "properties": { - "annotations": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Annotations for the cluster template revision (map)\n", + }, + "disablePeriodicSnatGlobalInfoSync": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "clusterConfig": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfig:ClusterTemplateTemplateRevisionClusterConfig", - "description": "Cluster configuration (list maxitem: 1)\n", + "disableWaitForNetwork": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "clusterTemplateId": { + "dropLogEnable": { "type": "string", - "description": "Cluster template ID (string)\n", "language": { "python": { "mapCase": false } } }, - "default": { - "type": "boolean", - "description": "Default variable value (string)\n", + "durationWaitForNetwork": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "enabled": { - "type": "boolean", - "description": "Enable cluster template revision. Default `true` (bool)\n", + "enableEndpointSlice": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "id": { + "encapType": { "type": "string", - "description": "The cluster template revision ID (string)\n", "language": { "python": { "mapCase": false } } }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Labels for the cluster template revision (map)\n", + "epRegistry": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "name": { + "externDynamic": { "type": "string", - "description": "The cluster template revision name (string)\n", "language": { "python": { "mapCase": false } } }, - "questions": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionQuestion:ClusterTemplateTemplateRevisionQuestion" - }, - "description": "Cluster template questions (list)\n", + "externStatic": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "clusterConfig", - "name" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "annotations", - "clusterConfig", - "clusterTemplateId", - "id", - "labels", - "name" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfig:ClusterTemplateTemplateRevisionClusterConfig": { - "properties": { - "clusterAuthEndpoint": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint:ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint", - "description": "Local cluster auth endpoint (list maxitems: 1)\n", + }, + "gbpPodSubnet": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "defaultClusterRoleForProjectMembers": { + "hostAgentLogLevel": { "type": "string", - "description": "Default cluster role for project members (string)\n", "language": { "python": { "mapCase": false } } }, - "defaultPodSecurityPolicyTemplateId": { + "imagePullPolicy": { "type": "string", - "description": "Default pod security policy template ID (string)\n", "language": { "python": { "mapCase": false } } }, - "desiredAgentImage": { + "imagePullSecret": { "type": "string", - "description": "Desired agent image (string)\n", "language": { "python": { "mapCase": false } } }, - "desiredAuthImage": { + "infraVlan": { "type": "string", - "description": "Desired auth image (string)\n", "language": { "python": { "mapCase": false } } }, - "dockerRootDir": { + "installIstio": { "type": "string", - "description": "Desired auth image (string)\n", "language": { "python": { "mapCase": false } } }, - "enableClusterAlerting": { - "type": "boolean", - "description": "Enable built-in cluster alerting. Default: `false` (bool)\n", + "istioProfile": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "enableClusterMonitoring": { - "type": "boolean", - "description": "Enable built-in cluster monitoring. Default: `false` (bool)\n", + "kafkaBrokers": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "enableNetworkPolicy": { - "type": "boolean", - "description": "Enable project network isolation. Default: `false` (bool)\n", + "kafkaClientCrt": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "rkeConfig": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfig", - "description": "Rancher Kubernetes Engine Config (list maxitems: 1)\n", + "kafkaClientKey": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "scheduledClusterScan": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan", - "description": "Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1)\n", + "kubeApiVlan": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "windowsPreferedCluster": { - "type": "boolean", - "description": "Windows prefered cluster. Default: `false` (bool)\n", + "l3out": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "rkeConfig" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "clusterAuthEndpoint", - "defaultClusterRoleForProjectMembers", - "defaultPodSecurityPolicyTemplateId", - "desiredAgentImage", - "desiredAuthImage", - "dockerRootDir", - "rkeConfig" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint:ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint": { - "properties": { - "caCerts": { - "type": "string", + }, + "l3outExternalNetworks": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "enabled": { - "type": "boolean", - "description": "Enable cluster template revision. Default `true` (bool)\n", + "maxNodesSvcGraph": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "fqdn": { + "mcastRangeEnd": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfig": { - "properties": { - "addonJobTimeout": { - "type": "integer", + }, + "mcastRangeStart": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "addons": { + "mtuHeadRoom": { "type": "string", "language": { "python": { @@ -9466,82 +12899,79 @@ } } }, - "addonsIncludes": { - "type": "array", - "items": { - "type": "string" - }, + "multusDisable": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "authentication": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication:ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication", + "noPriorityClass": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "authorization": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization:ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization", + "nodePodIfEnable": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "bastionHost": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost:ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost", + "nodeSubnet": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProvider": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider", + "nodeSvcSubnet": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "dns": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns", + "opflexClientSsl": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "enableCriDockerd": { - "type": "boolean", + "opflexDeviceDeleteTimeout": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "ignoreDockerVersion": { - "type": "boolean", + "opflexLogLevel": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "ingress": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress", + "opflexMode": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "kubernetesVersion": { + "opflexServerPort": { "type": "string", "language": { "python": { @@ -9549,34 +12979,31 @@ } } }, - "monitoring": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring", + "overlayVrfName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "network": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork", + "ovsMemoryLimit": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "nodes": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode" - }, + "pbrTrackingNonSnat": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "prefixPath": { + "podSubnetChunkSize": { "type": "string", "language": { "python": { @@ -9584,34 +13011,31 @@ } } }, - "privateRegistries": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry:ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry" - }, + "runGbpContainer": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "services": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices", + "runOpflexServerContainer": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "sshAgentAuth": { - "type": "boolean", + "serviceMonitorInterval": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "sshCertPath": { + "serviceVlan": { "type": "string", "language": { "python": { @@ -9619,7 +13043,7 @@ } } }, - "sshKeyPath": { + "snatContractScope": { "type": "string", "language": { "python": { @@ -9627,82 +13051,39 @@ } } }, - "upgradeStrategy": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy", + "snatNamespace": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "winPrefixPath": { + "snatPortRangeEnd": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "addonJobTimeout", - "authentication", - "authorization", - "bastionHost", - "cloudProvider", - "dns", - "ingress", - "kubernetesVersion", - "monitoring", - "network", - "prefixPath", - "services", - "sshCertPath", - "sshKeyPath", - "upgradeStrategy", - "winPrefixPath" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication:ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication": { - "properties": { - "sans": { - "type": "array", - "items": { - "type": "string" - }, + }, + "snatPortRangeStart": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "strategy": { + "snatPortsPerNode": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "sans", - "strategy" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization:ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization": { - "properties": { - "mode": { + }, + "sriovEnable": { "type": "string", "language": { "python": { @@ -9710,30 +13091,15 @@ } } }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "subnetDomainName": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "options" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost:ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost": { - "properties": { - "address": { + }, + "systemId": { "type": "string", "language": { "python": { @@ -9741,7 +13107,7 @@ } } }, - "port": { + "tenant": { "type": "string", "language": { "python": { @@ -9749,15 +13115,16 @@ } } }, - "sshAgentAuth": { - "type": "boolean", + "token": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "sshKey": { + "useAciAnywhereCrd": { "type": "string", "language": { "python": { @@ -9765,7 +13132,7 @@ } } }, - "sshKeyPath": { + "useAciCniPriorityClass": { "type": "string", "language": { "python": { @@ -9773,50 +13140,31 @@ } } }, - "user": { + "useClusterRole": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "address", - "user" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "address", - "sshKey", - "sshKeyPath", - "user" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider": { - "properties": { - "awsCloudProvider": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider", + }, + "useHostNetnsVolume": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "azureCloudProvider": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider", + "useOpflexServerVolume": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "customCloudProvider": { + "usePrivilegedContainer": { "type": "string", "language": { "python": { @@ -9824,25 +13172,67 @@ } } }, - "name": { + "vmmController": { "type": "string", - "description": "The cluster template revision name (string)\n", "language": { "python": { "mapCase": false } } }, - "openstackCloudProvider": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider", + "vmmDomain": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "vsphereCloudProvider": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider", + "vrfName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "vrfTenant": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "aep", + "apicHosts", + "apicUserCrt", + "apicUserKey", + "apicUserName", + "encapType", + "externDynamic", + "externStatic", + "kubeApiVlan", + "l3out", + "l3outExternalNetworks", + "mcastRangeEnd", + "mcastRangeStart", + "nodeSubnet", + "nodeSvcSubnet", + "serviceVlan", + "systemId", + "token", + "vrfName", + "vrfTenant" + ] + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider": { + "properties": { + "cloudProvider": { + "type": "string", "language": { "python": { "mapCase": false @@ -9854,26 +13244,35 @@ "language": { "nodejs": { "requiredOutputs": [ - "customCloudProvider" + "cloudProvider" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider": { "properties": { - "global": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal", + "iface": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "serviceOverrides": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride" - }, + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "iface" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider": { + "properties": { + "iface": { + "type": "string", "language": { "python": { "mapCase": false @@ -9885,30 +13284,30 @@ "language": { "nodejs": { "requiredOutputs": [ - "global" + "iface" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration": { "properties": { - "disableSecurityGroupIngress": { - "type": "boolean", + "effect": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "disableStrictZoneCheck": { - "type": "boolean", + "key": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "elbSecurityGroup": { + "operator": { "type": "string", "language": { "python": { @@ -9916,31 +13315,55 @@ } } }, - "kubernetesClusterId": { - "type": "string", + "seconds": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "kubernetesClusterTag": { + "value": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "roleArn": { + } + }, + "type": "object", + "required": [ + "key" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "key", + "seconds" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider": { + "properties": { + "password": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "routeTableId": { + } + }, + "type": "object", + "required": [ + "password" + ] + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode": { + "properties": { + "address": { "type": "string", "language": { "python": { @@ -9948,7 +13371,7 @@ } } }, - "subnetId": { + "dockerSocket": { "type": "string", "language": { "python": { @@ -9956,7 +13379,7 @@ } } }, - "vpc": { + "hostnameOverride": { "type": "string", "language": { "python": { @@ -9964,42 +13387,27 @@ } } }, - "zone": { + "internalAddress": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "elbSecurityGroup", - "kubernetesClusterId", - "kubernetesClusterTag", - "roleArn", - "routeTableId", - "subnetId", - "vpc", - "zone" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride": { - "properties": { - "region": { - "type": "string", + }, + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Labels for the cluster template revision (map)\n", "language": { "python": { "mapCase": false } } }, - "service": { + "nodeId": { "type": "string", "language": { "python": { @@ -10007,7 +13415,7 @@ } } }, - "signingMethod": { + "port": { "type": "string", "language": { "python": { @@ -10015,75 +13423,99 @@ } } }, - "signingName": { - "type": "string", + "roles": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "signingRegion": { - "type": "string", + "sshAgentAuth": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "url": { + "sshKey": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "sshKeyPath": { "type": "string", "language": { "python": { "mapCase": false } } + }, + "user": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true } }, "type": "object", "required": [ - "service" + "address", + "roles", + "user" ], "language": { "nodejs": { "requiredOutputs": [ - "region", - "service", - "signingMethod", - "signingName", - "signingRegion", - "url" + "address", + "dockerSocket", + "roles", + "sshKey", + "sshKeyPath", + "user" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry:ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry": { "properties": { - "aadClientCertPassword": { - "type": "string", + "ecrCredentialPlugin": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin:ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin", "language": { "python": { "mapCase": false } } }, - "aadClientCertPath": { - "type": "string", + "isDefault": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "aadClientId": { + "password": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "aadClientSecret": { + "url": { "type": "string", "language": { "python": { @@ -10091,111 +13523,145 @@ } } }, - "cloud": { + "user": { "type": "string", "language": { "python": { "mapCase": false } - } - }, - "cloudProviderBackoff": { - "type": "boolean", + }, + "secret": true + } + }, + "type": "object", + "required": [ + "url" + ] + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin:ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin": { + "properties": { + "awsAccessKeyId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderBackoffDuration": { - "type": "integer", + "awsSecretAccessKey": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "cloudProviderBackoffExponent": { - "type": "integer", + "awsSessionToken": { + "type": "string", "language": { "python": { "mapCase": false } - } - }, - "cloudProviderBackoffJitter": { - "type": "integer", + }, + "secret": true + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices": { + "properties": { + "etcd": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd", "language": { "python": { "mapCase": false } } }, - "cloudProviderBackoffRetries": { - "type": "integer", + "kubeApi": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi", "language": { "python": { "mapCase": false } } }, - "cloudProviderRateLimit": { - "type": "boolean", + "kubeController": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController", "language": { "python": { "mapCase": false } } }, - "cloudProviderRateLimitBucket": { - "type": "integer", + "kubelet": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet", "language": { "python": { "mapCase": false } } }, - "cloudProviderRateLimitQps": { - "type": "integer", + "kubeproxy": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy", "language": { "python": { "mapCase": false } } }, - "loadBalancerSku": { - "type": "string", + "scheduler": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler", "language": { "python": { "mapCase": false } } - }, - "location": { - "type": "string", + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "etcd", + "kubeApi", + "kubeController", + "kubelet", + "kubeproxy", + "scheduler" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd": { + "properties": { + "backupConfig": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig", "language": { "python": { "mapCase": false } } }, - "maximumLoadBalancerRuleCount": { - "type": "integer", + "caCert": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "primaryAvailabilitySetName": { + "cert": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "primaryScaleSetName": { + "creation": { "type": "string", "language": { "python": { @@ -10203,47 +13669,59 @@ } } }, - "resourceGroup": { - "type": "string", + "externalUrls": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "routeTableName": { - "type": "string", + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "securityGroupName": { - "type": "string", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "subnetName": { - "type": "string", + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "subscriptionId": { - "type": "string", + "gid": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "tenantId": { + "image": { "type": "string", "language": { "python": { @@ -10251,23 +13729,24 @@ } } }, - "useInstanceMetadata": { - "type": "boolean", + "key": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "useManagedIdentityExtension": { - "type": "boolean", + "path": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "vmType": { + "retention": { "type": "string", "language": { "python": { @@ -10275,16 +13754,16 @@ } } }, - "vnetName": { - "type": "string", + "snapshot": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "vnetResourceGroup": { - "type": "string", + "uid": { + "type": "integer", "language": { "python": { "mapCase": false @@ -10293,117 +13772,59 @@ } }, "type": "object", - "required": [ - "aadClientId", - "aadClientSecret", - "subscriptionId", - "tenantId" - ], "language": { "nodejs": { "requiredOutputs": [ - "aadClientCertPassword", - "aadClientCertPath", - "aadClientId", - "aadClientSecret", - "cloud", - "cloudProviderBackoff", - "cloudProviderBackoffDuration", - "cloudProviderBackoffExponent", - "cloudProviderBackoffJitter", - "cloudProviderBackoffRetries", - "cloudProviderRateLimit", - "cloudProviderRateLimitBucket", - "cloudProviderRateLimitQps", - "location", - "maximumLoadBalancerRuleCount", - "primaryAvailabilitySetName", - "primaryScaleSetName", - "resourceGroup", - "routeTableName", - "securityGroupName", - "subnetName", - "subscriptionId", - "tenantId", - "useInstanceMetadata", - "useManagedIdentityExtension", - "vmType", - "vnetName", - "vnetResourceGroup" + "backupConfig", + "caCert", + "cert", + "creation", + "extraArgs", + "image", + "key", + "path", + "retention", + "snapshot" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig": { "properties": { - "blockStorage": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage", - "language": { - "python": { - "mapCase": false - } - } - }, - "global": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal", + "enabled": { + "type": "boolean", + "description": "Enable cluster template revision. Default `true` (bool)\n", "language": { "python": { "mapCase": false } } }, - "loadBalancer": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer", + "intervalHours": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "metadata": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata", + "retention": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "route": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "global" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "blockStorage", - "global", - "loadBalancer", - "metadata", - "route" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage": { - "properties": { - "bsVersion": { - "type": "string", + "s3BackupConfig": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig", "language": { "python": { "mapCase": false } } }, - "ignoreVolumeAz": { + "safeTimestamp": { "type": "boolean", "language": { "python": { @@ -10411,8 +13832,8 @@ } } }, - "trustDevicePath": { - "type": "boolean", + "timeout": { + "type": "integer", "language": { "python": { "mapCase": false @@ -10424,48 +13845,23 @@ "language": { "nodejs": { "requiredOutputs": [ - "bsVersion", - "ignoreVolumeAz", - "trustDevicePath" + "timeout" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig": { "properties": { - "authUrl": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "caFile": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "domainId": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "domainName": { + "accessKey": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "password": { + "bucketName": { "type": "string", "language": { "python": { @@ -10473,7 +13869,7 @@ } } }, - "region": { + "customCa": { "type": "string", "language": { "python": { @@ -10481,7 +13877,7 @@ } } }, - "tenantId": { + "endpoint": { "type": "string", "language": { "python": { @@ -10489,7 +13885,7 @@ } } }, - "tenantName": { + "folder": { "type": "string", "language": { "python": { @@ -10497,7 +13893,7 @@ } } }, - "trustId": { + "region": { "type": "string", "language": { "python": { @@ -10505,41 +13901,36 @@ } } }, - "username": { + "secretKey": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", "required": [ - "authUrl", - "password", - "username" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "authUrl", - "caFile", - "domainId", - "domainName", - "password", - "region", - "tenantId", - "tenantName", - "trustId", - "username" - ] - } - } + "bucketName", + "endpoint" + ] }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi": { "properties": { - "createMonitor": { + "admissionConfiguration": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "alwaysPullImages": { "type": "boolean", "language": { "python": { @@ -10547,47 +13938,56 @@ } } }, - "floatingNetworkId": { - "type": "string", + "auditLog": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog", "language": { "python": { "mapCase": false } } }, - "lbMethod": { - "type": "string", + "eventRateLimit": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit", "language": { "python": { "mapCase": false } } }, - "lbProvider": { - "type": "string", + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "lbVersion": { - "type": "string", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "manageSecurityGroups": { - "type": "boolean", + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "monitorDelay": { + "image": { "type": "string", "language": { "python": { @@ -10595,23 +13995,23 @@ } } }, - "monitorMaxRetries": { - "type": "integer", + "podSecurityPolicy": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "monitorTimeout": { - "type": "string", + "secretsEncryptionConfig": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig", "language": { "python": { "mapCase": false } } }, - "subnetId": { + "serviceClusterIpRange": { "type": "string", "language": { "python": { @@ -10619,8 +14019,8 @@ } } }, - "useOctavia": { - "type": "boolean", + "serviceNodePortRange": { + "type": "string", "language": { "python": { "mapCase": false @@ -10632,30 +14032,27 @@ "language": { "nodejs": { "requiredOutputs": [ - "createMonitor", - "floatingNetworkId", - "lbMethod", - "lbProvider", - "lbVersion", - "manageSecurityGroups", - "subnetId", - "useOctavia" + "extraArgs", + "image", + "serviceClusterIpRange", + "serviceNodePortRange" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog": { "properties": { - "requestTimeout": { - "type": "integer", + "configuration": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration", "language": { "python": { "mapCase": false } } }, - "searchOrder": { - "type": "string", + "enabled": { + "type": "boolean", + "description": "Enable cluster template revision. Default `true` (bool)\n", "language": { "python": { "mapCase": false @@ -10667,71 +14064,55 @@ "language": { "nodejs": { "requiredOutputs": [ - "requestTimeout", - "searchOrder" + "configuration" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration": { "properties": { - "routerId": { + "format": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "routerId" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider": { - "properties": { - "disk": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk", + }, + "maxAge": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "global": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal", + "maxBackup": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "network": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork", + "maxSize": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "virtualCenters": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter" - }, + "path": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "workspace": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace", + "policy": { + "type": "string", "language": { "python": { "mapCase": false @@ -10740,45 +14121,46 @@ } }, "type": "object", - "required": [ - "virtualCenters", - "workspace" - ], "language": { "nodejs": { "requiredOutputs": [ - "disk", - "global", - "network", - "virtualCenters", - "workspace" + "policy" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit": { "properties": { - "scsiControllerType": { + "configuration": { "type": "string", "language": { "python": { "mapCase": false } } + }, + "enabled": { + "type": "boolean", + "description": "Enable cluster template revision. Default `true` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } } }, "type": "object", "language": { "nodejs": { "requiredOutputs": [ - "scsiControllerType" + "configuration" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig": { "properties": { - "datacenters": { + "customConfig": { "type": "string", "language": { "python": { @@ -10786,15 +14168,21 @@ } } }, - "insecureFlag": { + "enabled": { "type": "boolean", + "description": "Enable cluster template revision. Default `true` (bool)\n", "language": { "python": { "mapCase": false } } - }, - "password": { + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController": { + "properties": { + "clusterCidr": { "type": "string", "language": { "python": { @@ -10802,48 +14190,48 @@ } } }, - "port": { - "type": "string", + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "soapRoundtripCount": { - "type": "integer", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "user": { + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "image": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "datacenters", - "insecureFlag", - "password", - "port", - "soapRoundtripCount", - "user" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork": { - "properties": { - "publicNetwork": { + }, + "serviceClusterIpRange": { "type": "string", "language": { "python": { @@ -10856,14 +14244,17 @@ "language": { "nodejs": { "requiredOutputs": [ - "publicNetwork" + "clusterCidr", + "extraArgs", + "image", + "serviceClusterIpRange" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet": { "properties": { - "datacenters": { + "clusterDnsServer": { "type": "string", "language": { "python": { @@ -10871,40 +14262,72 @@ } } }, - "name": { + "clusterDomain": { "type": "string", - "description": "The cluster template revision name (string)\n", "language": { "python": { "mapCase": false } } }, - "password": { - "type": "string", + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "port": { - "type": "string", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "soapRoundtripCount": { - "type": "integer", + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "user": { + "failSwapOn": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "generateServingCertificate": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "image": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "infraContainerImage": { "type": "string", "language": { "python": { @@ -10914,60 +14337,55 @@ } }, "type": "object", - "required": [ - "datacenters", - "name", - "password", - "user" - ], "language": { "nodejs": { "requiredOutputs": [ - "datacenters", - "name", - "password", - "port", - "soapRoundtripCount", - "user" + "clusterDnsServer", + "clusterDomain", + "extraArgs", + "failSwapOn", + "image", + "infraContainerImage" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace:ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy": { "properties": { - "datacenter": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "defaultDatastore": { - "type": "string", + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "folder": { - "type": "string", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "resourcepoolPath": { - "type": "string", + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "server": { + "image": { "type": "string", "language": { "python": { @@ -10977,34 +14395,18 @@ } }, "type": "object", - "required": [ - "datacenter", - "folder", - "server" - ], "language": { "nodejs": { "requiredOutputs": [ - "datacenter", - "defaultDatastore", - "folder", - "resourcepoolPath", - "server" + "extraArgs", + "image" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler": { "properties": { - "linearAutoscalerParams": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams", - "language": { - "python": { - "mapCase": false - } - } - }, - "nodeSelector": { + "extraArgs": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" @@ -11015,18 +14417,21 @@ } } }, - "nodelocal": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" + "extraEnvs": { + "type": "array", + "items": { + "type": "string" }, "language": { "python": { @@ -11034,49 +14439,53 @@ } } }, - "provider": { + "image": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "reverseCidrs": { - "type": "array", - "items": { - "type": "string" - }, + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "extraArgs", + "image" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy": { + "properties": { + "drain": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration" - }, + "drainInput": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput:ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput", "language": { "python": { "mapCase": false } } }, - "updateStrategy": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy", + "maxUnavailableControlplane": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "upstreamNameservers": { - "type": "array", - "items": { - "type": "string" - }, + "maxUnavailableWorker": { + "type": "string", "language": { "python": { "mapCase": false @@ -11088,33 +14497,30 @@ "language": { "nodejs": { "requiredOutputs": [ - "nodeSelector", - "options", - "reverseCidrs", - "upstreamNameservers" + "drainInput" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput:ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput": { "properties": { - "coresPerReplica": { - "type": "number", + "deleteLocalData": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "max": { - "type": "integer", + "force": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "min": { + "gracePeriod": { "type": "integer", "language": { "python": { @@ -11122,16 +14528,16 @@ } } }, - "nodesPerReplica": { - "type": "number", + "ignoreDaemonSets": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "preventSinglePointFailure": { - "type": "boolean", + "timeout": { + "type": "integer", "language": { "python": { "mapCase": false @@ -11141,33 +14547,79 @@ }, "type": "object" }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal": { + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Enable cluster template revision. Default `true` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "scanConfig": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig", + "language": { + "python": { + "mapCase": false + } + } + }, + "scheduleConfig": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "scanConfig", + "scheduleConfig" + ] + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig": { + "properties": { + "cisScanConfig": { + "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "cisScanConfig" + ] + } + } + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig": { "properties": { - "ipAddress": { - "type": "string", + "debugMaster": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "nodeSelector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "debugWorker": { + "type": "boolean", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration": { - "properties": { - "effect": { + }, + "overrideBenchmarkVersion": { "type": "string", "language": { "python": { @@ -11175,32 +14627,40 @@ } } }, - "key": { - "type": "string", + "overrideSkips": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "operator": { + "profile": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "seconds": { - "type": "integer", + } + }, + "type": "object" + }, + "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig": { + "properties": { + "cronSchedule": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "value": { - "type": "string", + "retention": { + "type": "integer", "language": { "python": { "mapCase": false @@ -11210,50 +14670,49 @@ }, "type": "object", "required": [ - "key" + "cronSchedule" ], "language": { "nodejs": { "requiredOutputs": [ - "key", - "seconds" + "cronSchedule", + "retention" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy": { + "rancher2:index/ClusterTemplateTemplateRevisionQuestion:ClusterTemplateTemplateRevisionQuestion": { "properties": { - "rollingUpdate": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate", + "default": { + "type": "string", + "description": "Default variable value (string)\n", "language": { "python": { "mapCase": false } } }, - "strategy": { - "type": "string", + "required": { + "type": "boolean", + "description": "Required variable. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate": { - "properties": { - "maxSurge": { - "type": "integer", + }, + "type": { + "type": "string", + "description": "Variable type. `boolean`, `int` and `string` are allowed. Default `string` (string)\n", "language": { "python": { "mapCase": false } } }, - "maxUnavailable": { - "type": "integer", + "variable": { + "type": "string", + "description": "Variable name (string)\n", "language": { "python": { "mapCase": false @@ -11261,163 +14720,159 @@ } } }, - "type": "object" + "type": "object", + "required": [ + "default", + "variable" + ] }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress": { + "rancher2:index/ClusterV2AgentEnvVar:ClusterV2AgentEnvVar": { "properties": { - "defaultBackend": { - "type": "boolean", + "name": { + "type": "string", + "description": "Name of cluster registration token (string)\n", "language": { "python": { "mapCase": false } } }, - "dnsPolicy": { + "value": { "type": "string", + "description": "The taint value (string)\n", "language": { "python": { "mapCase": false } } - }, - "extraArgs": { + } + }, + "type": "object", + "required": [ + "name", + "value" + ] + }, + "rancher2:index/ClusterV2ClusterRegistrationToken:ClusterV2ClusterRegistrationToken": { + "properties": { + "annotations": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, + "description": "Annotations for cluster registration token object (map)\n", "language": { "python": { "mapCase": false } } }, - "httpPort": { - "type": "integer", + "clusterId": { + "type": "string", + "description": "Cluster ID (string)\n", "language": { "python": { "mapCase": false } } }, - "httpsPort": { - "type": "integer", + "command": { + "type": "string", + "description": "Command to execute in a imported k8s cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "networkMode": { + "id": { "type": "string", + "description": "(Computed) The ID of the resource (string)\n", "language": { "python": { "mapCase": false } } }, - "nodeSelector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "insecureCommand": { + "type": "string", + "description": "Insecure command to execute in a imported k8s cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "insecureNodeCommand": { + "type": "string", + "description": "Insecure node command to execute in a imported k8s cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "provider": { + "insecureWindowsNodeCommand": { "type": "string", + "description": "Insecure windows command to execute in a imported k8s cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration" + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" }, + "description": "Labels for cluster registration token object (map)\n", "language": { "python": { "mapCase": false } } }, - "updateStrategy": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "dnsPolicy", - "extraArgs", - "httpPort", - "httpsPort", - "networkMode", - "nodeSelector", - "options", - "provider" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration": { - "properties": { - "effect": { + "manifestUrl": { "type": "string", + "description": "K8s manifest url to execute with `kubectl` to import an existing k8s cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "key": { + "name": { "type": "string", + "description": "Name of cluster registration token (string)\n", "language": { "python": { "mapCase": false } } }, - "operator": { + "nodeCommand": { "type": "string", + "description": "Node command to execute in linux nodes for custom k8s cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "seconds": { - "type": "integer", + "token": { + "type": "string", + "description": "Token for cluster registration token object (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "value": { + "windowsNodeCommand": { "type": "string", + "description": "Node command to execute in windows nodes for custom k8s cluster (string)\n", "language": { "python": { "mapCase": false @@ -11426,43 +14881,49 @@ } }, "type": "object", - "required": [ - "key" - ], "language": { "nodejs": { "requiredOutputs": [ - "key", - "seconds" + "annotations", + "clusterId", + "command", + "id", + "insecureCommand", + "insecureNodeCommand", + "insecureWindowsNodeCommand", + "labels", + "manifestUrl", + "name", + "nodeCommand", + "token", + "windowsNodeCommand" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy": { + "rancher2:index/ClusterV2LocalAuthEndpoint:ClusterV2LocalAuthEndpoint": { "properties": { - "rollingUpdate": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate", + "caCerts": { + "type": "string", + "description": "CA certs for the authorized cluster endpoint (string)\n", "language": { "python": { "mapCase": false } } }, - "strategy": { - "type": "string", + "enabled": { + "type": "boolean", + "description": "Drain options enabled? Default `true` (bool)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate": { - "properties": { - "maxUnavailable": { - "type": "integer", + }, + "fqdn": { + "type": "string", + "description": "FQDN for the authorized cluster endpoint (string)\n", "language": { "python": { "mapCase": false @@ -11472,113 +14933,117 @@ }, "type": "object" }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring": { + "rancher2:index/ClusterV2RkeConfig:ClusterV2RkeConfig": { "properties": { - "nodeSelector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "additionalManifest": { + "type": "string", + "description": "Cluster V2 additional manifest (string)\n", "language": { "python": { "mapCase": false } } }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "chartValues": { + "type": "string", + "description": "Cluster V2 chart values. Must be in YAML format (string)\n", "language": { "python": { "mapCase": false } } }, - "provider": { - "type": "string", + "etcd": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigEtcd:ClusterV2RkeConfigEtcd", + "description": "Cluster V2 etcd (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "replicas": { - "type": "integer", + "etcdSnapshotCreate": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigEtcdSnapshotCreate:ClusterV2RkeConfigEtcdSnapshotCreate", + "description": "Cluster V2 etcd snapshot create (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration" - }, + "etcdSnapshotRestore": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigEtcdSnapshotRestore:ClusterV2RkeConfigEtcdSnapshotRestore", + "description": "Cluster V2 etcd snapshot restore (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "updateStrategy": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy", + "localAuthEndpoint": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigLocalAuthEndpoint:ClusterV2RkeConfigLocalAuthEndpoint", + "description": "Use rancher2_cluster_v2.local_auth_endpoint instead\n", + "deprecationMessage": "Use rancher2_cluster_v2.local_auth_endpoint instead", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "options", - "provider", - "replicas" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration": { - "properties": { - "effect": { + }, + "machineGlobalConfig": { "type": "string", + "description": "Cluster V2 machine global config. Must be in YAML format (string)\n", "language": { "python": { "mapCase": false } } }, - "key": { - "type": "string", + "machinePools": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachinePool:ClusterV2RkeConfigMachinePool" + }, + "description": "Cluster V2 machine pools (list)\n", "language": { "python": { "mapCase": false } } }, - "operator": { - "type": "string", + "machineSelectorConfigs": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachineSelectorConfig:ClusterV2RkeConfigMachineSelectorConfig" + }, + "description": "Cluster V2 machine selector config (list)\n", "language": { "python": { "mapCase": false } } }, - "seconds": { - "type": "integer", + "registries": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigRegistries:ClusterV2RkeConfigRegistries", + "description": "Cluster V2 docker registries (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "value": { - "type": "string", + "rotateCertificates": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigRotateCertificates:ClusterV2RkeConfigRotateCertificates", + "description": "Cluster V2 certificate rotation (list maxitems:1)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "upgradeStrategy": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigUpgradeStrategy:ClusterV2RkeConfigUpgradeStrategy", + "description": "Cluster V2 upgrade strategy (list maxitems:1)\n", "language": { "python": { "mapCase": false @@ -11587,51 +15052,48 @@ } }, "type": "object", - "required": [ - "key" - ], "language": { "nodejs": { "requiredOutputs": [ - "key", - "seconds" + "etcd", + "machinePools", + "machineSelectorConfigs" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy": { + "rancher2:index/ClusterV2RkeConfigEtcd:ClusterV2RkeConfigEtcd": { "properties": { - "rollingUpdate": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate", + "disableSnapshots": { + "type": "boolean", + "description": "Disable ETCD snapshots. Default: `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "strategy": { - "type": "string", + "s3Config": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigEtcdS3Config:ClusterV2RkeConfigEtcdS3Config", + "description": "Creation option for etcd service (list maxitems:1)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate:ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate": { - "properties": { - "maxSurge": { + }, + "snapshotRetention": { "type": "integer", + "description": "ETCD snapshot retention (int)\n", "language": { "python": { "mapCase": false } } }, - "maxUnavailable": { - "type": "integer", + "snapshotScheduleCron": { + "type": "string", + "description": "ETCD snapshot schedule cron (e.g `\\\"0 */5 * * *\\\"`) (string)\n", "language": { "python": { "mapCase": false @@ -11641,93 +15103,65 @@ }, "type": "object" }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork": { + "rancher2:index/ClusterV2RkeConfigEtcdS3Config:ClusterV2RkeConfigEtcdS3Config": { "properties": { - "calicoNetworkProvider": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider", - "language": { - "python": { - "mapCase": false - } - } - }, - "canalNetworkProvider": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider", + "bucket": { + "type": "string", + "description": "Bucket name for S3 service (string)\n", "language": { "python": { "mapCase": false } } }, - "flannelNetworkProvider": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider", + "cloudCredentialName": { + "type": "string", + "description": "ETCD snapshot S3 cloud credential name (string)\n", "language": { "python": { "mapCase": false } } }, - "mtu": { - "type": "integer", + "endpoint": { + "type": "string", + "description": "ETCD snapshot S3 endpoint (string)\n", "language": { "python": { "mapCase": false } } }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "endpointCa": { + "type": "string", + "description": "ETCD snapshot S3 endpoint CA (string)\n", "language": { "python": { "mapCase": false } } }, - "plugin": { + "folder": { "type": "string", + "description": "ETCD snapshot S3 folder (string)\n", "language": { "python": { "mapCase": false } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration" - }, + "region": { + "type": "string", + "description": "ETCD snapshot S3 region (string)\n", "language": { "python": { "mapCase": false } } }, - "weaveNetworkProvider": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "options", - "plugin" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider": { - "properties": { - "cloudProvider": { - "type": "string", + "skipSslVerify": { + "type": "boolean", + "description": "Disable ETCD skip ssl verify. Default: `false` (bool)\n", "language": { "python": { "mapCase": false @@ -11736,18 +15170,16 @@ } }, "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "cloudProvider" - ] - } - } + "required": [ + "bucket", + "endpoint" + ] }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider": { + "rancher2:index/ClusterV2RkeConfigEtcdSnapshotCreate:ClusterV2RkeConfigEtcdSnapshotCreate": { "properties": { - "iface": { - "type": "string", + "generation": { + "type": "integer", + "description": "ETCD snapshot desired generation (int)\n", "language": { "python": { "mapCase": false @@ -11756,70 +15188,69 @@ } }, "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "iface" - ] - } - } + "required": [ + "generation" + ] }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider": { + "rancher2:index/ClusterV2RkeConfigEtcdSnapshotRestore:ClusterV2RkeConfigEtcdSnapshotRestore": { "properties": { - "iface": { - "type": "string", + "generation": { + "type": "integer", + "description": "ETCD snapshot desired generation (int)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "iface" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration": { - "properties": { - "effect": { + }, + "name": { "type": "string", + "description": "Name of cluster registration token (string)\n", "language": { "python": { "mapCase": false } } }, - "key": { + "restoreRkeConfig": { "type": "string", + "description": "ETCD restore RKE config (set to none, all, or kubernetesVersion) (string)\n", "language": { "python": { "mapCase": false } } - }, - "operator": { + } + }, + "type": "object", + "required": [ + "generation", + "name" + ] + }, + "rancher2:index/ClusterV2RkeConfigLocalAuthEndpoint:ClusterV2RkeConfigLocalAuthEndpoint": { + "properties": { + "caCerts": { "type": "string", + "description": "CA certs for the authorized cluster endpoint (string)\n", "language": { "python": { "mapCase": false } } }, - "seconds": { - "type": "integer", + "enabled": { + "type": "boolean", + "description": "Drain options enabled? Default `true` (bool)\n", "language": { "python": { "mapCase": false } } }, - "value": { + "fqdn": { "type": "string", + "description": "FQDN for the authorized cluster endpoint (string)\n", "language": { "python": { "mapCase": false @@ -11827,63 +15258,52 @@ } } }, - "type": "object", - "required": [ - "key" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "key", - "seconds" - ] - } - } + "type": "object" }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider": { + "rancher2:index/ClusterV2RkeConfigMachinePool:ClusterV2RkeConfigMachinePool": { "properties": { - "password": { - "type": "string", + "annotations": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Annotations for cluster registration token object (map)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "password" - ] - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode:ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode": { - "properties": { - "address": { + }, + "cloudCredentialSecretName": { "type": "string", + "description": "Cluster V2 cloud credential secret name (string)\n", "language": { "python": { "mapCase": false } } }, - "dockerSocket": { - "type": "string", + "controlPlaneRole": { + "type": "boolean", + "description": "Machine pool control plane role? (bool)\n", "language": { "python": { "mapCase": false } } }, - "hostnameOverride": { - "type": "string", + "drainBeforeDelete": { + "type": "boolean", + "description": "Machine Pool Drain Before Delete? (bool)\n", "language": { "python": { "mapCase": false } } }, - "internalAddress": { - "type": "string", + "etcdRole": { + "type": "boolean", + "description": "Machine pool etcd role? (bool)\n", "language": { "python": { "mapCase": false @@ -11895,128 +15315,130 @@ "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "Labels for the cluster template revision (map)\n", + "description": "Labels for cluster registration token object (map)\n", "language": { "python": { "mapCase": false } } }, - "nodeId": { - "type": "string", + "machineConfig": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachinePoolMachineConfig:ClusterV2RkeConfigMachinePoolMachineConfig", + "description": "Machine pool node config (list)\n", "language": { "python": { "mapCase": false } } }, - "port": { + "machineLabels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Labels for Machine pool nodes (map)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "maxUnhealthy": { "type": "string", + "description": "Max unhealthy nodes for automated replacement to be allowed (string)\n", "language": { "python": { "mapCase": false } } }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, + "name": { + "type": "string", + "description": "Name of cluster registration token (string)\n", "language": { "python": { "mapCase": false } } }, - "sshAgentAuth": { - "type": "boolean", + "nodeDrainTimeout": { + "type": "integer", + "description": "Seconds a machine has to drain before deletion (int)\n", "language": { "python": { "mapCase": false } } }, - "sshKey": { - "type": "string", + "nodeStartupTimeoutSeconds": { + "type": "integer", + "description": "Seconds a new node has to become active before it is replaced (int)\n", "language": { "python": { "mapCase": false } } }, - "sshKeyPath": { - "type": "string", + "paused": { + "type": "boolean", + "description": "Machine pool paused? (bool)\n", "language": { "python": { "mapCase": false } } }, - "user": { - "type": "string", + "quantity": { + "type": "integer", + "description": "Machine pool quantity (int)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "address", - "roles", - "user" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "address", - "dockerSocket", - "roles", - "sshKey", - "sshKeyPath", - "user" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry:ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry": { - "properties": { - "ecrCredentialPlugin": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin:ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin", + }, + "rollingUpdate": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachinePoolRollingUpdate:ClusterV2RkeConfigMachinePoolRollingUpdate", + "description": "Machine pool rolling update (List maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "isDefault": { - "type": "boolean", + "taints": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachinePoolTaint:ClusterV2RkeConfigMachinePoolTaint" + }, + "description": "Machine pool taints (list)\n", "language": { "python": { "mapCase": false } } }, - "password": { - "type": "string", + "unhealthyNodeTimeoutSeconds": { + "type": "integer", + "description": "Seconds an unhealthy node has to become active before it is replaced (int)\n", "language": { "python": { "mapCase": false } } }, - "url": { + "unhealthyRange": { "type": "string", + "description": "Range of unhealthy nodes for automated replacement to be allowed (string)\n", "language": { "python": { "mapCase": false } } }, - "user": { - "type": "string", + "workerRole": { + "type": "boolean", + "description": "Machine pool worker role? (bool)\n", "language": { "python": { "mapCase": false @@ -12026,29 +15448,64 @@ }, "type": "object", "required": [ - "url" - ] + "cloudCredentialSecretName", + "machineConfig", + "name" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "annotations", + "cloudCredentialSecretName", + "labels", + "machineConfig", + "machineLabels", + "name" + ] + } + } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin:ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin": { + "rancher2:index/ClusterV2RkeConfigMachinePoolMachineConfig:ClusterV2RkeConfigMachinePoolMachineConfig": { "properties": { - "awsAccessKeyId": { + "kind": { "type": "string", + "description": "Machine config kind (string)\n", "language": { "python": { "mapCase": false } } }, - "awsSecretAccessKey": { + "name": { + "type": "string", + "description": "Name of cluster registration token (string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "kind", + "name" + ] + }, + "rancher2:index/ClusterV2RkeConfigMachinePoolRollingUpdate:ClusterV2RkeConfigMachinePoolRollingUpdate": { + "properties": { + "maxSurge": { "type": "string", + "description": "Rolling update max surge (string)\n", "language": { "python": { "mapCase": false } } }, - "awsSessionToken": { + "maxUnavailable": { "type": "string", + "description": "Rolling update max unavailable (string)\n", "language": { "python": { "mapCase": false @@ -12058,50 +15515,59 @@ }, "type": "object" }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices": { + "rancher2:index/ClusterV2RkeConfigMachinePoolTaint:ClusterV2RkeConfigMachinePoolTaint": { "properties": { - "etcd": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd", - "language": { - "python": { - "mapCase": false - } - } - }, - "kubeApi": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi", + "effect": { + "type": "string", + "description": "The taint effect. Default: `\\\"NoExecute\\\"` (string)\n", "language": { "python": { "mapCase": false } } }, - "kubeController": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController", + "key": { + "type": "string", + "description": "Machine selector label match expressions key (string)\n", "language": { "python": { "mapCase": false } } }, - "kubelet": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet", + "value": { + "type": "string", + "description": "The taint value (string)\n", "language": { "python": { "mapCase": false } } - }, - "kubeproxy": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy", + } + }, + "type": "object", + "required": [ + "key", + "value" + ] + }, + "rancher2:index/ClusterV2RkeConfigMachineSelectorConfig:ClusterV2RkeConfigMachineSelectorConfig": { + "properties": { + "config": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Machine selector config (map)\n", "language": { "python": { "mapCase": false } } }, - "scheduler": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler", + "machineLabelSelector": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector:ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector", + "description": "Machine selector label (list maxitems:1)\n", "language": { "python": { "mapCase": false @@ -12109,148 +15575,142 @@ } } }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "etcd", - "kubeApi", - "kubeController", - "kubelet", - "kubeproxy", - "scheduler" - ] - } - } + "type": "object" }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd": { + "rancher2:index/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector:ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector": { "properties": { - "backupConfig": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig", + "matchExpressions": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression:ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression" + }, + "description": "Machine selector label match expressions (list)\n", "language": { "python": { "mapCase": false } } }, - "caCert": { - "type": "string", + "matchLabels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Machine selector label match labels (map)\n", "language": { "python": { "mapCase": false } } - }, - "cert": { + } + }, + "type": "object" + }, + "rancher2:index/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression:ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression": { + "properties": { + "key": { "type": "string", + "description": "Machine selector label match expressions key (string)\n", "language": { "python": { "mapCase": false } } }, - "creation": { + "operator": { "type": "string", + "description": "Machine selector label match expressions operator (string)\n", "language": { "python": { "mapCase": false } } }, - "externalUrls": { + "values": { "type": "array", "items": { "type": "string" }, + "description": "Machine selector label match expressions values (List string)\n", "language": { "python": { "mapCase": false } } - }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } - } - }, - "extraBinds": { + } + }, + "type": "object" + }, + "rancher2:index/ClusterV2RkeConfigRegistries:ClusterV2RkeConfigRegistries": { + "properties": { + "configs": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigRegistriesConfig:ClusterV2RkeConfigRegistriesConfig" }, + "description": "Cluster V2 docker registries config (list)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { + "mirrors": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigRegistriesMirror:ClusterV2RkeConfigRegistriesMirror" }, + "description": "Cluster V2 docker registries mirror (list)\n", "language": { "python": { "mapCase": false } } - }, - "gid": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } - }, - "image": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "key": { + } + }, + "type": "object" + }, + "rancher2:index/ClusterV2RkeConfigRegistriesConfig:ClusterV2RkeConfigRegistriesConfig": { + "properties": { + "authConfigSecretName": { "type": "string", + "description": "Registry auth config secret name (string)\n", "language": { "python": { "mapCase": false } } }, - "path": { + "caBundle": { "type": "string", + "description": "Registry CA bundle (string)\n", "language": { "python": { "mapCase": false } } }, - "retention": { + "hostname": { "type": "string", + "description": "Registry hostname (string)\n", "language": { "python": { "mapCase": false } } }, - "snapshot": { + "insecure": { "type": "boolean", + "description": "Registry insecure connectivity (bool)\n", "language": { "python": { "mapCase": false } } }, - "uid": { - "type": "integer", + "tlsSecretName": { + "type": "string", + "description": "Registry TLS secret name. TLS is a pair of Cert/Key (string)\n", "language": { "python": { "mapCase": false @@ -12259,68 +15719,68 @@ } }, "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "backupConfig", - "caCert", - "cert", - "creation", - "extraArgs", - "image", - "key", - "path", - "retention", - "snapshot" - ] - } - } + "required": [ + "hostname" + ] }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig": { + "rancher2:index/ClusterV2RkeConfigRegistriesMirror:ClusterV2RkeConfigRegistriesMirror": { "properties": { - "enabled": { - "type": "boolean", - "description": "Enable cluster template revision. Default `true` (bool)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "intervalHours": { - "type": "integer", + "endpoints": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Registry mirror endpoints (List)\n", "language": { "python": { "mapCase": false } } }, - "retention": { - "type": "integer", + "hostname": { + "type": "string", + "description": "Registry hostname (string)\n", "language": { "python": { "mapCase": false } } }, - "s3BackupConfig": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig", + "rewrites": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Registry mirror rewrites (map)\n", "language": { "python": { "mapCase": false } } - }, - "safeTimestamp": { - "type": "boolean", + } + }, + "type": "object", + "required": [ + "hostname" + ] + }, + "rancher2:index/ClusterV2RkeConfigRotateCertificates:ClusterV2RkeConfigRotateCertificates": { + "properties": { + "generation": { + "type": "integer", + "description": "ETCD snapshot desired generation (int)\n", "language": { "python": { "mapCase": false } } }, - "timeout": { - "type": "integer", + "services": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Service certificates to rotate with this generation (string)\n", "language": { "python": { "mapCase": false @@ -12329,215 +15789,223 @@ } }, "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "timeout" - ] - } - } + "required": [ + "generation" + ] }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig": { + "rancher2:index/ClusterV2RkeConfigUpgradeStrategy:ClusterV2RkeConfigUpgradeStrategy": { "properties": { - "accessKey": { + "controlPlaneConcurrency": { "type": "string", + "description": "How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string)\n", "language": { "python": { "mapCase": false } } }, - "bucketName": { - "type": "string", + "controlPlaneDrainOptions": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions:ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions", + "description": "Controlplane nodes drain options (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "customCa": { + "workerConcurrency": { "type": "string", + "description": "How many worker nodes should be upgrade at time. Percentages are also accepted (string)\n", "language": { "python": { "mapCase": false } } }, - "endpoint": { - "type": "string", + "workerDrainOptions": { + "$ref": "#/types/rancher2:index/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions:ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions", + "description": "Worker nodes drain options (list maxitems:1)\n", "language": { "python": { "mapCase": false } } - }, - "folder": { - "type": "string", + } + }, + "type": "object" + }, + "rancher2:index/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions:ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions": { + "properties": { + "deleteEmptyDirData": { + "type": "boolean", + "description": "Drain options delete empty dir data. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "region": { - "type": "string", + "disableEviction": { + "type": "boolean", + "description": "Drain options disable eviction. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "secretKey": { - "type": "string", + "enabled": { + "type": "boolean", + "description": "Drain options enabled? Default `true` (bool)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "bucketName", - "endpoint" - ] - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi": { - "properties": { - "admissionConfiguration": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + }, + "force": { + "type": "boolean", + "description": "Drain options force. Default `false` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "gracePeriod": { + "type": "integer", + "description": "Drain options grace period (int)\n", "language": { "python": { "mapCase": false } } }, - "alwaysPullImages": { + "ignoreDaemonSets": { "type": "boolean", + "description": "Drain options ignore daemon sets. Default `true` (bool)\n", "language": { "python": { "mapCase": false } } }, - "auditLog": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog", + "ignoreErrors": { + "type": "boolean", + "description": "Drain options ignore errors. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "eventRateLimit": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit", + "skipWaitForDeleteTimeoutSeconds": { + "type": "integer", + "description": "Drain options skip wait for delete timeout seconds (int)\n", "language": { "python": { "mapCase": false } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "timeout": { + "type": "integer", + "description": "Drain options timeout (int)\n", "language": { "python": { "mapCase": false } } - }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "gracePeriod", + "skipWaitForDeleteTimeoutSeconds", + "timeout" + ] + } + } + }, + "rancher2:index/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions:ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions": { + "properties": { + "deleteEmptyDirData": { + "type": "boolean", + "description": "Drain options delete empty dir data. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" - }, + "disableEviction": { + "type": "boolean", + "description": "Drain options disable eviction. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "image": { - "type": "string", + "enabled": { + "type": "boolean", + "description": "Drain options enabled? Default `true` (bool)\n", "language": { "python": { "mapCase": false } } }, - "podSecurityPolicy": { + "force": { "type": "boolean", + "description": "Drain options force. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "secretsEncryptionConfig": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig", + "gracePeriod": { + "type": "integer", + "description": "Drain options grace period (int)\n", "language": { "python": { "mapCase": false } } }, - "serviceClusterIpRange": { - "type": "string", + "ignoreDaemonSets": { + "type": "boolean", + "description": "Drain options ignore daemon sets. Default `true` (bool)\n", "language": { "python": { "mapCase": false } } }, - "serviceNodePortRange": { - "type": "string", + "ignoreErrors": { + "type": "boolean", + "description": "Drain options ignore errors. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "extraArgs", - "image", - "serviceClusterIpRange", - "serviceNodePortRange" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog": { - "properties": { - "configuration": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration", + }, + "skipWaitForDeleteTimeoutSeconds": { + "type": "integer", + "description": "Drain options skip wait for delete timeout seconds (int)\n", "language": { "python": { "mapCase": false } } }, - "enabled": { - "type": "boolean", - "description": "Enable cluster template revision. Default `true` (bool)\n", + "timeout": { + "type": "integer", + "description": "Drain options timeout (int)\n", "language": { "python": { "mapCase": false @@ -12549,55 +16017,61 @@ "language": { "nodejs": { "requiredOutputs": [ - "configuration" + "gracePeriod", + "skipWaitForDeleteTimeoutSeconds", + "timeout" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration": { + "rancher2:index/EtcdBackupBackupConfig:EtcdBackupBackupConfig": { "properties": { - "format": { - "type": "string", + "enabled": { + "type": "boolean", + "description": "Enable etcd backup (bool)\n", "language": { "python": { "mapCase": false } } }, - "maxAge": { + "intervalHours": { "type": "integer", + "description": "Interval hours for etcd backup. Default `12` (int)\n", "language": { "python": { "mapCase": false } } }, - "maxBackup": { + "retention": { "type": "integer", + "description": "Retention for etcd backup. Default `6` (int)\n", "language": { "python": { "mapCase": false } } }, - "maxSize": { - "type": "integer", + "s3BackupConfig": { + "$ref": "#/types/rancher2:index/EtcdBackupBackupConfigS3BackupConfig:EtcdBackupBackupConfigS3BackupConfig", + "description": "S3 config options for etcd backup. Valid for `imported` and `rke` clusters. (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "path": { - "type": "string", + "safeTimestamp": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "policy": { - "type": "string", + "timeout": { + "type": "integer", "language": { "python": { "mapCase": false @@ -12609,115 +16083,99 @@ "language": { "nodejs": { "requiredOutputs": [ - "policy" + "timeout" ] } } }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit": { + "rancher2:index/EtcdBackupBackupConfigS3BackupConfig:EtcdBackupBackupConfigS3BackupConfig": { "properties": { - "configuration": { + "accessKey": { "type": "string", + "description": "Access key for S3 service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enabled": { - "type": "boolean", - "description": "Enable cluster template revision. Default `true` (bool)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "configuration" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig": { - "properties": { - "customConfig": { + "bucketName": { "type": "string", + "description": "Bucket name for S3 service (string)\n", "language": { "python": { "mapCase": false } } }, - "enabled": { - "type": "boolean", - "description": "Enable cluster template revision. Default `true` (bool)\n", + "customCa": { + "type": "string", + "description": "Base64 encoded custom CA for S3 service. Use filebase64(\u003cFILE\u003e) for encoding file. Available from Rancher v2.2.5 (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController": { - "properties": { - "clusterCidr": { + }, + "endpoint": { "type": "string", + "description": "Endpoint for S3 service (string)\n", "language": { "python": { "mapCase": false } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "folder": { + "type": "string", + "description": "Folder for S3 service. Available from Rancher v2.2.7 (string)\n", "language": { "python": { "mapCase": false } } }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, + "region": { + "type": "string", + "description": "Region for S3 service (string)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" - }, + "secretKey": { + "type": "string", + "description": "Secret key for S3 service (string)\n", "language": { "python": { "mapCase": false } - } - }, - "image": { + }, + "secret": true + } + }, + "type": "object", + "required": [ + "bucketName", + "endpoint" + ] + }, + "rancher2:index/GlobalDnsProviderAlidnsConfig:GlobalDnsProviderAlidnsConfig": { + "properties": { + "accessKey": { "type": "string", + "description": "The AWS Access key (string)\n", "language": { "python": { "mapCase": false } } }, - "serviceClusterIpRange": { + "secretKey": { "type": "string", + "description": "The AWS Secret key (string)\n", "language": { "python": { "mapCase": false @@ -12726,94 +16184,97 @@ } }, "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "clusterCidr", - "extraArgs", - "image", - "serviceClusterIpRange" - ] - } - } + "required": [ + "accessKey", + "secretKey" + ] }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet": { + "rancher2:index/GlobalDnsProviderCloudflareConfig:GlobalDnsProviderCloudflareConfig": { "properties": { - "clusterDnsServer": { + "apiEmail": { "type": "string", + "description": "The CloudFlare API Email (string)\n", "language": { "python": { "mapCase": false } } }, - "clusterDomain": { + "apiKey": { "type": "string", + "description": "The CloudFlare API Key (string)\n", "language": { "python": { "mapCase": false } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "proxySetting": { + "type": "boolean", + "description": "CloudFlare Proxy Setting. Default: `false` (bool)\n", "language": { "python": { "mapCase": false } } - }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, + } + }, + "type": "object", + "required": [ + "apiEmail", + "apiKey" + ] + }, + "rancher2:index/GlobalDnsProviderRoute53Config:GlobalDnsProviderRoute53Config": { + "properties": { + "accessKey": { + "type": "string", + "description": "The AWS Access key (string)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" - }, + "credentialsPath": { + "type": "string", + "description": "The AWS credentials path. Default: `\"/.aws\"` (string)\n", "language": { "python": { "mapCase": false } } }, - "failSwapOn": { - "type": "boolean", + "region": { + "type": "string", + "description": "The AWS Region. Default: `\"us-west-2\"` (string)\n", "language": { "python": { "mapCase": false } } }, - "generateServingCertificate": { - "type": "boolean", + "roleArn": { + "type": "string", + "description": "The AWS Role ARN (string)\n", "language": { "python": { "mapCase": false } } }, - "image": { + "secretKey": { "type": "string", + "description": "The AWS Secret key (string)\n", "language": { "python": { "mapCase": false } } }, - "infraContainerImage": { + "zoneType": { "type": "string", + "description": "The Route53 zone type `public, private`. Default: `\"public\"` (string)\n", "language": { "python": { "mapCase": false @@ -12822,110 +16283,67 @@ } }, "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "clusterDnsServer", - "clusterDomain", - "extraArgs", - "failSwapOn", - "image", - "infraContainerImage" - ] - } - } + "required": [ + "accessKey", + "secretKey" + ] }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy": { + "rancher2:index/GlobalRoleRule:GlobalRoleRule": { "properties": { - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } - } - }, - "extraBinds": { + "apiGroups": { "type": "array", "items": { "type": "string" }, + "description": "Policy rule api groups (list)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { + "nonResourceUrls": { "type": "array", "items": { "type": "string" }, + "description": "Policy rule non resource urls (list)\n", "language": { "python": { "mapCase": false } } }, - "image": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "extraArgs", - "image" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler:ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler": { - "properties": { - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" + "resourceNames": { + "type": "array", + "items": { + "type": "string" }, + "description": "Policy rule resource names (list)\n", "language": { "python": { "mapCase": false } } }, - "extraBinds": { + "resources": { "type": "array", "items": { "type": "string" }, + "description": "Policy rule resources (list)\n", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { + "verbs": { "type": "array", "items": { "type": "string" }, - "language": { - "python": { - "mapCase": false - } - } - }, - "image": { - "type": "string", + "description": "Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list)\n", "language": { "python": { "mapCase": false @@ -12933,430 +16351,327 @@ } } }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "extraArgs", - "image" - ] - } - } + "type": "object" }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy:ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy": { + "rancher2:index/MachineConfigV2Amazonec2Config:MachineConfigV2Amazonec2Config": { "properties": { - "drain": { - "type": "boolean", + "accessKey": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "drainInput": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput:ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput", + "ami": { + "type": "string", + "description": "AWS machine image (string)\n", "language": { "python": { "mapCase": false } } }, - "maxUnavailableControlplane": { + "blockDurationMinutes": { "type": "string", + "description": "AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string)\n", "language": { "python": { "mapCase": false } } }, - "maxUnavailableWorker": { + "deviceName": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "drainInput" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput:ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput": { - "properties": { - "deleteLocalData": { - "type": "boolean", + "description": "AWS root device name. Default `/dev/sda1` (string)\n", "language": { "python": { "mapCase": false } } }, - "force": { + "encryptEbsVolume": { "type": "boolean", + "description": "Encrypt EBS volume. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "gracePeriod": { - "type": "integer", + "endpoint": { + "type": "string", + "description": "Optional endpoint URL (hostname only or fully qualified URI) (string)\n", "language": { "python": { "mapCase": false } } }, - "ignoreDaemonSets": { - "type": "boolean", + "httpEndpoint": { + "type": "string", + "description": "Enables or disables the HTTP metadata endpoint on your instances (string)\n", "language": { "python": { "mapCase": false } } }, - "timeout": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Enable cluster template revision. Default `true` (bool)\n", + "httpTokens": { + "type": "string", + "description": "The state of token usage for your instance metadata requests (string)\n", "language": { "python": { "mapCase": false } } }, - "scanConfig": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig", + "iamInstanceProfile": { + "type": "string", + "description": "AWS IAM Instance Profile (string)\n", "language": { "python": { "mapCase": false } } }, - "scheduleConfig": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "scanConfig", - "scheduleConfig" - ] - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig": { - "properties": { - "cisScanConfig": { - "$ref": "#/types/rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "cisScanConfig" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig": { - "properties": { - "debugMaster": { + "insecureTransport": { "type": "boolean", + "description": "Disable SSL when sending requests (bool)\n", "language": { "python": { "mapCase": false } } }, - "debugWorker": { - "type": "boolean", + "instanceType": { + "type": "string", + "description": "Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string)\n", "language": { "python": { "mapCase": false } } }, - "overrideBenchmarkVersion": { + "keypairName": { "type": "string", + "description": "OpenStack keypair to use to SSH to the instance (string)\n", "language": { "python": { "mapCase": false } } }, - "overrideSkips": { - "type": "array", - "items": { - "type": "string" - }, + "kmsKey": { + "type": "string", + "description": "Custom KMS key ID using the AWS Managed CMK (string)\n", "language": { "python": { "mapCase": false } } }, - "profile": { - "type": "string", + "monitoring": { + "type": "boolean", + "description": "Enable monitoring for droplet. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig:ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig": { - "properties": { - "cronSchedule": { - "type": "string", + }, + "openPorts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Make the specified port number accessible from the Internet. (list)\n", "language": { "python": { "mapCase": false } } }, - "retention": { - "type": "integer", + "privateAddressOnly": { + "type": "boolean", + "description": "Only use a private IP address. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "cronSchedule" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "cronSchedule", - "retention" - ] - } - } - }, - "rancher2:index/ClusterTemplateTemplateRevisionQuestion:ClusterTemplateTemplateRevisionQuestion": { - "properties": { - "default": { + }, + "region": { "type": "string", - "description": "Default variable value (string)\n", + "description": "OpenStack region name (string)\n", "language": { "python": { "mapCase": false } } }, - "required": { + "requestSpotInstance": { "type": "boolean", - "description": "Required variable. Default `false` (bool)\n", + "description": "Set this flag to request spot instance. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "type": { + "retries": { "type": "string", - "description": "Variable type. `boolean`, `int` and `string` are allowed. Default `string` (string)\n", + "description": "Set retry count for recoverable failures (use -1 to disable). Default `5` (string)\n", "language": { "python": { "mapCase": false } } }, - "variable": { + "rootSize": { "type": "string", - "description": "Variable name (string)\n", + "description": "AWS root disk size (in GB). Default `16` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "default", - "variable" - ] - }, - "rancher2:index/ClusterV2AgentEnvVar:ClusterV2AgentEnvVar": { - "properties": { - "name": { + }, + "secretKey": { "type": "string", - "description": "Name of cluster registration token (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "value": { - "type": "string", - "description": "The taint value (string)\n", + "securityGroupReadonly": { + "type": "boolean", + "description": "Skip adding default rules to security groups (bool)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "name", - "value" - ] - }, - "rancher2:index/ClusterV2ClusterRegistrationToken:ClusterV2ClusterRegistrationToken": { - "properties": { - "annotations": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" + }, + "securityGroups": { + "type": "array", + "items": { + "type": "string" }, - "description": "Annotations for cluster registration token object (map)\n", + "description": "AWS VPC security group. (list)\n", "language": { "python": { "mapCase": false } } }, - "clusterId": { + "sessionToken": { "type": "string", - "description": "Cluster ID (string)\n", + "description": "AWS Session Token (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "command": { + "spotPrice": { "type": "string", - "description": "Command to execute in a imported k8s cluster (string)\n", + "description": "AWS spot instance bid price (in dollar). Default `0.50` (string)\n", "language": { "python": { "mapCase": false } } }, - "id": { + "sshKeyContents": { "type": "string", - "description": "(Computed) The ID of the resource (string)\n", + "description": "SSH private key contents (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "insecureCommand": { + "sshUser": { "type": "string", - "description": "Insecure command to execute in a imported k8s cluster (string)\n", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", "language": { "python": { "mapCase": false } } }, - "insecureNodeCommand": { + "subnetId": { "type": "string", - "description": "Insecure node command to execute in a imported k8s cluster (string)\n", + "description": "AWS VPC subnet id (string)\n", "language": { "python": { "mapCase": false } } }, - "insecureWindowsNodeCommand": { + "tags": { "type": "string", - "description": "Insecure windows command to execute in a imported k8s cluster (string)\n", + "description": "vSphere tags id e.g. `urn:xxx` (list)\n", "language": { "python": { "mapCase": false } } }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Labels for cluster registration token object (map)\n", + "useEbsOptimizedInstance": { + "type": "boolean", + "description": "Create an EBS optimized instance. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "manifestUrl": { - "type": "string", - "description": "K8s manifest url to execute with `kubectl` to import an existing k8s cluster (string)\n", + "usePrivateAddress": { + "type": "boolean", + "description": "Force the usage of private IP address. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "name": { + "userdata": { "type": "string", - "description": "Name of cluster registration token (string)\n", + "description": "Path to file with cloud-init user-data (string)\n", "language": { "python": { "mapCase": false } } }, - "nodeCommand": { + "volumeType": { "type": "string", - "description": "Node command to execute in linux nodes for custom k8s cluster (string)\n", + "description": "OpenStack volume type. Required when `boot_from_volume` is `true` and openstack cloud does not have a default volume type (string)\n", "language": { "python": { "mapCase": false } } }, - "token": { + "vpcId": { "type": "string", - "description": "Token for cluster registration token object (string)\n", + "description": "AWS VPC id. (string)\n", "language": { "python": { "mapCase": false } } }, - "windowsNodeCommand": { + "zone": { "type": "string", - "description": "Node command to execute in windows nodes for custom k8s cluster (string)\n", + "description": "AWS zone for instance (i.e. a,b,c,d,e) (string)\n", "language": { "python": { "mapCase": false @@ -13365,340 +16680,279 @@ } }, "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "annotations", - "clusterId", - "command", - "id", - "insecureCommand", - "insecureNodeCommand", - "insecureWindowsNodeCommand", - "labels", - "manifestUrl", - "name", - "nodeCommand", - "token", - "windowsNodeCommand" - ] - } - } + "required": [ + "ami", + "region", + "securityGroups", + "subnetId", + "vpcId", + "zone" + ] }, - "rancher2:index/ClusterV2LocalAuthEndpoint:ClusterV2LocalAuthEndpoint": { + "rancher2:index/MachineConfigV2AzureConfig:MachineConfigV2AzureConfig": { "properties": { - "caCerts": { + "availabilitySet": { "type": "string", - "description": "CA certs for the authorized cluster endpoint (string)\n", + "description": "Azure Availability Set to place the virtual machine into. Default `docker-machine` (string)\n", "language": { "python": { "mapCase": false } } }, - "enabled": { - "type": "boolean", - "description": "Drain options enabled? Default `true` (bool)\n", + "clientId": { + "type": "string", + "description": "Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "fqdn": { + "clientSecret": { "type": "string", - "description": "FQDN for the authorized cluster endpoint (string)\n", + "description": "Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object" - }, - "rancher2:index/ClusterV2RkeConfig:ClusterV2RkeConfig": { - "properties": { - "additionalManifest": { + }, + "secret": true + }, + "customData": { "type": "string", - "description": "Cluster V2 additional manifest (string)\n", + "description": "Path to file with custom-data (string)\n", "language": { "python": { "mapCase": false } } }, - "chartValues": { + "diskSize": { "type": "string", - "description": "Cluster V2 chart values. Must be in YAML format (string)\n", + "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", "language": { "python": { "mapCase": false } } }, - "etcd": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigEtcd:ClusterV2RkeConfigEtcd", - "description": "Cluster V2 etcd (list maxitems:1)\n", + "dns": { + "type": "string", + "description": "A unique DNS label for the public IP adddress (string)\n", "language": { "python": { "mapCase": false } } }, - "etcdSnapshotCreate": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigEtcdSnapshotCreate:ClusterV2RkeConfigEtcdSnapshotCreate", - "description": "Cluster V2 etcd snapshot create (list maxitems:1)\n", + "dockerPort": { + "type": "string", + "description": "Docker Port. Default `2376` (string)\n", "language": { "python": { "mapCase": false } } }, - "etcdSnapshotRestore": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigEtcdSnapshotRestore:ClusterV2RkeConfigEtcdSnapshotRestore", - "description": "Cluster V2 etcd snapshot restore (list maxitems:1)\n", + "environment": { + "type": "string", + "description": "Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string)\n", "language": { "python": { "mapCase": false } } }, - "localAuthEndpoint": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigLocalAuthEndpoint:ClusterV2RkeConfigLocalAuthEndpoint", - "description": "Use rancher2_cluster_v2.local_auth_endpoint instead\n", - "deprecationMessage": "Use rancher2_cluster_v2.local_auth_endpoint instead", + "faultDomainCount": { + "type": "string", + "description": "Fault domain count to use for availability set. Default `3` (string)\n", "language": { "python": { "mapCase": false } } }, - "machineGlobalConfig": { + "image": { "type": "string", - "description": "Cluster V2 machine global config. Must be in YAML format (string)\n", + "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", "language": { "python": { "mapCase": false } } }, - "machinePools": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachinePool:ClusterV2RkeConfigMachinePool" - }, - "description": "Cluster V2 machine pools (list)\n", + "location": { + "type": "string", + "description": "Azure region to create the virtual machine. Default `westus` (string)\n", "language": { "python": { "mapCase": false } } }, - "machineSelectorConfigs": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachineSelectorConfig:ClusterV2RkeConfigMachineSelectorConfig" - }, - "description": "Cluster V2 machine selector config (list)\n", + "managedDisks": { + "type": "boolean", + "description": "Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "registries": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigRegistries:ClusterV2RkeConfigRegistries", - "description": "Cluster V2 docker registries (list maxitems:1)\n", + "noPublicIp": { + "type": "boolean", + "description": "Do not create a public IP address for the machine. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "rotateCertificates": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigRotateCertificates:ClusterV2RkeConfigRotateCertificates", - "description": "Cluster V2 certificate rotation (list maxitems:1)\n", + "nsg": { + "type": "string", + "description": "Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string)\n", "language": { "python": { "mapCase": false } } }, - "upgradeStrategy": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigUpgradeStrategy:ClusterV2RkeConfigUpgradeStrategy", - "description": "Cluster V2 upgrade strategy (list maxitems:1)\n", + "openPorts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Make the specified port number accessible from the Internet. (list)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "etcd", - "machinePools", - "machineSelectorConfigs" - ] - } - } - }, - "rancher2:index/ClusterV2RkeConfigEtcd:ClusterV2RkeConfigEtcd": { - "properties": { - "disableSnapshots": { + }, + "privateAddressOnly": { "type": "boolean", - "description": "Disable ETCD snapshots. Default: `false` (bool)\n", + "description": "Only use a private IP address. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "s3Config": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigEtcdS3Config:ClusterV2RkeConfigEtcdS3Config", - "description": "Creation option for etcd service (list maxitems:1)\n", + "privateIpAddress": { + "type": "string", + "description": "Specify a static private IP address for the machine. (string)\n", "language": { "python": { "mapCase": false } } }, - "snapshotRetention": { - "type": "integer", - "description": "ETCD snapshot retention (int)\n", + "resourceGroup": { + "type": "string", + "description": "Azure Resource Group name (will be created if missing). Default `docker-machine` (string)\n", "language": { "python": { "mapCase": false } } }, - "snapshotScheduleCron": { + "size": { "type": "string", - "description": "ETCD snapshot schedule cron (e.g `\\\"0 */5 * * *\\\"`) (string)\n", + "description": "Digital Ocean size. Default `s-1vcpu-1gb` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterV2RkeConfigEtcdS3Config:ClusterV2RkeConfigEtcdS3Config": { - "properties": { - "bucket": { + }, + "sshUser": { "type": "string", - "description": "Bucket name for S3 service (string)\n", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", "language": { "python": { "mapCase": false } } }, - "cloudCredentialName": { - "type": "string", - "description": "ETCD snapshot S3 cloud credential name (string)\n", + "staticPublicIp": { + "type": "boolean", + "description": "Assign a static public IP address to the machine. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "endpoint": { + "storageType": { "type": "string", - "description": "ETCD snapshot S3 endpoint (string)\n", + "description": "Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string)\n", "language": { "python": { "mapCase": false } } }, - "endpointCa": { + "subnet": { "type": "string", - "description": "ETCD snapshot S3 endpoint CA (string)\n", + "description": "Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string)\n", "language": { "python": { "mapCase": false } } }, - "folder": { + "subnetPrefix": { "type": "string", - "description": "ETCD snapshot S3 folder (string)\n", + "description": "Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string)\n", "language": { "python": { "mapCase": false } } }, - "region": { + "subscriptionId": { "type": "string", - "description": "ETCD snapshot S3 region (string)\n", + "description": "Azure Subscription ID (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "skipSslVerify": { - "type": "boolean", - "description": "Disable ETCD skip ssl verify. Default: `false` (bool)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "bucket", - "endpoint" - ] - }, - "rancher2:index/ClusterV2RkeConfigEtcdSnapshotCreate:ClusterV2RkeConfigEtcdSnapshotCreate": { - "properties": { - "generation": { - "type": "integer", - "description": "ETCD snapshot desired generation (int)\n", + "tenantId": { + "type": "string", + "description": "OpenStack tenant id. Conflicts with `tenant_name` (string)\n", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object", - "required": [ - "generation" - ] - }, - "rancher2:index/ClusterV2RkeConfigEtcdSnapshotRestore:ClusterV2RkeConfigEtcdSnapshotRestore": { - "properties": { - "generation": { - "type": "integer", - "description": "ETCD snapshot desired generation (int)\n", + }, + "secret": true + }, + "updateDomainCount": { + "type": "string", + "description": "Update domain count to use for availability set. Default `5` (string)\n", "language": { "python": { "mapCase": false } } }, - "name": { - "type": "string", - "description": "Name of cluster registration token (string)\n", + "usePrivateIp": { + "type": "boolean", + "description": "Use private IP address of the machine to connect. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "restoreRkeConfig": { + "vnet": { "type": "string", - "description": "ETCD restore RKE config (set to none, all, or kubernetesVersion) (string)\n", + "description": "Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string)\n", "language": { "python": { "mapCase": false @@ -13706,309 +16960,247 @@ } } }, - "type": "object", - "required": [ - "generation", - "name" - ] + "type": "object" }, - "rancher2:index/ClusterV2RkeConfigLocalAuthEndpoint:ClusterV2RkeConfigLocalAuthEndpoint": { + "rancher2:index/MachineConfigV2DigitaloceanConfig:MachineConfigV2DigitaloceanConfig": { "properties": { - "caCerts": { + "accessToken": { "type": "string", - "description": "CA certs for the authorized cluster endpoint (string)\n", + "description": "Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enabled": { + "backups": { "type": "boolean", - "description": "Drain options enabled? Default `true` (bool)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "fqdn": { - "type": "string", - "description": "FQDN for the authorized cluster endpoint (string)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/ClusterV2RkeConfigMachinePool:ClusterV2RkeConfigMachinePool": { - "properties": { - "annotations": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Annotations for cluster registration token object (map)\n", + "description": "Enable backups for droplet. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "cloudCredentialSecretName": { + "image": { "type": "string", - "description": "Cluster V2 cloud credential secret name (string)\n", + "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", "language": { "python": { "mapCase": false } } }, - "controlPlaneRole": { + "ipv6": { "type": "boolean", - "description": "Machine pool control plane role? (bool)\n", + "description": "Enable ipv6 for droplet. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "drainBeforeDelete": { + "monitoring": { "type": "boolean", - "description": "Machine Pool Drain Before Delete? (bool)\n", + "description": "Enable monitoring for droplet. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "etcdRole": { + "privateNetworking": { "type": "boolean", - "description": "Machine pool etcd role? (bool)\n", + "description": "Enable private networking for droplet. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Labels for cluster registration token object (map)\n", + "region": { + "type": "string", + "description": "OpenStack region name (string)\n", "language": { "python": { "mapCase": false } } }, - "machineConfig": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachinePoolMachineConfig:ClusterV2RkeConfigMachinePoolMachineConfig", - "description": "Machine pool node config (list)\n", + "size": { + "type": "string", + "description": "Digital Ocean size. Default `s-1vcpu-1gb` (string)\n", "language": { "python": { "mapCase": false } } }, - "maxUnhealthy": { + "sshKeyContents": { "type": "string", - "description": "Max unhealthy nodes for automated replacement to be allowed (string)\n", + "description": "SSH private key contents (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "name": { + "sshKeyFingerprint": { "type": "string", - "description": "Name of cluster registration token (string)\n", + "description": "SSH key fingerprint (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "nodeDrainTimeout": { - "type": "integer", - "description": "Seconds a machine has to drain before deletion (int)\n", + "sshPort": { + "type": "string", + "description": "If using a non-B2D image you can specify the ssh port. Default `22` (string)\n", "language": { "python": { "mapCase": false } } }, - "nodeStartupTimeoutSeconds": { - "type": "integer", - "description": "Seconds a new node has to become active before it is replaced (int)\n", + "sshUser": { + "type": "string", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", "language": { "python": { "mapCase": false } } }, - "paused": { - "type": "boolean", - "description": "Machine pool paused? (bool)\n", + "tags": { + "type": "string", + "description": "vSphere tags id e.g. `urn:xxx` (list)\n", "language": { "python": { "mapCase": false } } }, - "quantity": { - "type": "integer", - "description": "Machine pool quantity (int)\n", + "userdata": { + "type": "string", + "description": "Path to file with cloud-init user-data (string)\n", "language": { "python": { "mapCase": false } } - }, - "rollingUpdate": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachinePoolRollingUpdate:ClusterV2RkeConfigMachinePoolRollingUpdate", - "description": "Machine pool rolling update (List maxitems:1)\n", + } + }, + "type": "object" + }, + "rancher2:index/MachineConfigV2HarvesterConfig:MachineConfigV2HarvesterConfig": { + "properties": { + "cpuCount": { + "type": "string", + "description": "vSphere CPU number for docker VM. Default `2` (string)\n", "language": { "python": { "mapCase": false } } }, - "taints": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachinePoolTaint:ClusterV2RkeConfigMachinePoolTaint" - }, - "description": "Machine pool taints (list)\n", + "diskBus": { + "type": "string", + "description": "Disk bus, Default `virtio` (string)\n", "language": { "python": { "mapCase": false } } }, - "unhealthyNodeTimeoutSeconds": { - "type": "integer", - "description": "Seconds an unhealthy node has to become active before it is replaced (int)\n", + "diskSize": { + "type": "string", + "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", "language": { "python": { "mapCase": false } } }, - "unhealthyRange": { + "imageName": { "type": "string", - "description": "Range of unhealthy nodes for automated replacement to be allowed (string)\n", + "description": "OpenStack image name to use for the instance. Conflicts with `image_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "workerRole": { - "type": "boolean", - "description": "Machine pool worker role? (bool)\n", + "memorySize": { + "type": "string", + "description": "vSphere size of memory for docker VM (in MB). Default `2048` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "cloudCredentialSecretName", - "machineConfig", - "name" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "annotations", - "cloudCredentialSecretName", - "labels", - "machineConfig", - "name" - ] - } - } - }, - "rancher2:index/ClusterV2RkeConfigMachinePoolMachineConfig:ClusterV2RkeConfigMachinePoolMachineConfig": { - "properties": { - "kind": { + }, + "networkData": { "type": "string", - "description": "Machine config kind (string)\n", + "description": "NetworkData content of cloud-init, base64 is supported (string)\n", "language": { "python": { "mapCase": false } } }, - "name": { + "networkModel": { "type": "string", - "description": "Name of cluster registration token (string)\n", + "description": "Network model, Default `virtio` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "kind", - "name" - ] - }, - "rancher2:index/ClusterV2RkeConfigMachinePoolRollingUpdate:ClusterV2RkeConfigMachinePoolRollingUpdate": { - "properties": { - "maxSurge": { + }, + "networkName": { "type": "string", - "description": "Rolling update max surge (string)\n", + "description": "Network name e.g. `harvester-public/vlan1` (string)\n", "language": { "python": { "mapCase": false } } }, - "maxUnavailable": { + "sshPassword": { "type": "string", - "description": "Rolling update max unavailable (string)\n", + "description": "If using a non-B2D image you can specify the ssh password. Default `tcuser` (string)\n", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object" - }, - "rancher2:index/ClusterV2RkeConfigMachinePoolTaint:ClusterV2RkeConfigMachinePoolTaint": { - "properties": { - "effect": { + }, + "secret": true + }, + "sshUser": { "type": "string", - "description": "The taint effect. Default: `\\\"NoExecute\\\"` (string)\n", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", "language": { "python": { "mapCase": false } } }, - "key": { + "userData": { "type": "string", - "description": "Machine selector label match expressions key (string)\n", + "description": "UserData content of cloud-init, base64 is supported (string)\n", "language": { "python": { "mapCase": false } } }, - "value": { + "vmNamespace": { "type": "string", - "description": "The taint value (string)\n", + "description": "Virtual machine namespace e.g. `default` (string)\n", "language": { "python": { "mapCase": false @@ -14018,211 +17210,154 @@ }, "type": "object", "required": [ - "key", - "value" + "imageName", + "networkName", + "sshUser", + "vmNamespace" ] }, - "rancher2:index/ClusterV2RkeConfigMachineSelectorConfig:ClusterV2RkeConfigMachineSelectorConfig": { + "rancher2:index/MachineConfigV2LinodeConfig:MachineConfigV2LinodeConfig": { "properties": { - "config": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Machine selector config (map)\n", + "authorizedUsers": { + "type": "string", + "description": "Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string)\n", "language": { "python": { "mapCase": false } } }, - "machineLabelSelector": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector:ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector", - "description": "Machine selector label (list maxitems:1)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector:ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector": { - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression:ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression" - }, - "description": "Machine selector label match expressions (list)\n", + "createPrivateIp": { + "type": "boolean", + "description": "Create private IP for the instance. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "matchLabels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Machine selector label match labels (map)\n", + "dockerPort": { + "type": "string", + "description": "Docker Port. Default `2376` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression:ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression": { - "properties": { - "key": { + }, + "image": { "type": "string", - "description": "Machine selector label match expressions key (string)\n", + "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", "language": { "python": { "mapCase": false } } }, - "operator": { + "instanceType": { "type": "string", - "description": "Machine selector label match expressions operator (string)\n", + "description": "Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string)\n", "language": { "python": { "mapCase": false } } }, - "values": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Machine selector label match expressions values (List string)\n", + "label": { + "type": "string", + "description": "Linode Instance Label. (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterV2RkeConfigRegistries:ClusterV2RkeConfigRegistries": { - "properties": { - "configs": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigRegistriesConfig:ClusterV2RkeConfigRegistriesConfig" - }, - "description": "Cluster V2 docker registries config (list)\n", + }, + "region": { + "type": "string", + "description": "OpenStack region name (string)\n", "language": { "python": { "mapCase": false } } }, - "mirrors": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigRegistriesMirror:ClusterV2RkeConfigRegistriesMirror" - }, - "description": "Cluster V2 docker registries mirror (list)\n", + "rootPass": { + "type": "string", + "description": "Root Password (string)\n", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object" - }, - "rancher2:index/ClusterV2RkeConfigRegistriesConfig:ClusterV2RkeConfigRegistriesConfig": { - "properties": { - "authConfigSecretName": { + }, + "secret": true + }, + "sshPort": { "type": "string", - "description": "Registry auth config secret name (string)\n", + "description": "If using a non-B2D image you can specify the ssh port. Default `22` (string)\n", "language": { "python": { "mapCase": false } } }, - "caBundle": { + "sshUser": { "type": "string", - "description": "Registry CA bundle (string)\n", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", "language": { "python": { "mapCase": false } } }, - "hostname": { + "stackscript": { "type": "string", - "description": "Registry hostname (string)\n", + "description": "Specifies the Linode StackScript to use to create the instance. (string)\n", "language": { "python": { "mapCase": false } } }, - "insecure": { - "type": "boolean", - "description": "Registry insecure connectivity (bool)\n", + "stackscriptData": { + "type": "string", + "description": "A JSON string specifying data for the selected StackScript. (string)\n", "language": { "python": { "mapCase": false } } }, - "tlsSecretName": { + "swapSize": { "type": "string", - "description": "Registry TLS secret name. TLS is a pair of Cert/Key (string)\n", + "description": "Linode Instance Swap Size (MB). Default `512` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "hostname" - ] - }, - "rancher2:index/ClusterV2RkeConfigRegistriesMirror:ClusterV2RkeConfigRegistriesMirror": { - "properties": { - "endpoints": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Registry mirror endpoints (List)\n", + }, + "tags": { + "type": "string", + "description": "vSphere tags id e.g. `urn:xxx` (list)\n", "language": { "python": { "mapCase": false } } }, - "hostname": { + "token": { "type": "string", - "description": "Registry hostname (string)\n", + "description": "Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } - }, - "rewrites": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" }, - "description": "Registry mirror rewrites (map)\n", + "secret": true + }, + "uaPrefix": { + "type": "string", + "description": "Prefix the User-Agent in Linode API calls with some 'product/version' (string)\n", "language": { "python": { "mapCase": false @@ -14230,457 +17365,385 @@ } } }, - "type": "object", - "required": [ - "hostname" - ] + "type": "object" }, - "rancher2:index/ClusterV2RkeConfigRotateCertificates:ClusterV2RkeConfigRotateCertificates": { + "rancher2:index/MachineConfigV2OpenstackConfig:MachineConfigV2OpenstackConfig": { "properties": { - "generation": { - "type": "integer", - "description": "ETCD snapshot desired generation (int)\n", + "activeTimeout": { + "type": "string", + "description": "OpenStack active timeout Default `200` (string)\n", "language": { "python": { "mapCase": false } } }, - "services": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Service certificates to rotate with this generation (string)\n", + "applicationCredentialId": { + "type": "string", + "description": "OpenStack application credential id. Conflicts with `application_credential_name` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "generation" - ] - }, - "rancher2:index/ClusterV2RkeConfigUpgradeStrategy:ClusterV2RkeConfigUpgradeStrategy": { - "properties": { - "controlPlaneConcurrency": { + }, + "applicationCredentialName": { "type": "string", - "description": "How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string)\n", + "description": "OpenStack application credential name. Conflicts with `application_credential_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "controlPlaneDrainOptions": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions:ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions", - "description": "Controlplane nodes drain options (list maxitems:1)\n", + "applicationCredentialSecret": { + "type": "string", + "description": "OpenStack application credential secret (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "workerConcurrency": { + "authUrl": { "type": "string", - "description": "How many worker nodes should be upgrade at time. Percentages are also accepted (string)\n", + "description": "OpenStack authentication URL (string)\n", "language": { "python": { "mapCase": false } } }, - "workerDrainOptions": { - "$ref": "#/types/rancher2:index/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions:ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions", - "description": "Worker nodes drain options (list maxitems:1)\n", + "availabilityZone": { + "type": "string", + "description": "OpenStack availability zone (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions:ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions": { - "properties": { - "deleteEmptyDirData": { + }, + "bootFromVolume": { "type": "boolean", - "description": "Drain options delete empty dir data. Default `false` (bool)\n", + "description": "Enable booting from volume. Default is `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "disableEviction": { - "type": "boolean", - "description": "Drain options disable eviction. Default `false` (bool)\n", + "cacert": { + "type": "string", + "description": "CA certificate bundle to verify against (string)\n", "language": { "python": { "mapCase": false } } }, - "enabled": { + "configDrive": { "type": "boolean", - "description": "Drain options enabled? Default `true` (bool)\n", + "description": "Enables the OpenStack config drive for the instance. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "force": { - "type": "boolean", - "description": "Drain options force. Default `false` (bool)\n", + "domainId": { + "type": "string", + "description": "OpenStack domain ID. Identity v3 only. Conflicts with `domain_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "gracePeriod": { - "type": "integer", - "description": "Drain options grace period (int)\n", + "domainName": { + "type": "string", + "description": "OpenStack domain name. Identity v3 only. Conflicts with `domain_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "ignoreDaemonSets": { - "type": "boolean", - "description": "Drain options ignore daemon sets. Default `true` (bool)\n", + "endpointType": { + "type": "string", + "description": "OpenStack endpoint type. adminURL, internalURL or publicURL (string)\n", "language": { "python": { "mapCase": false } } }, - "ignoreErrors": { - "type": "boolean", - "description": "Drain options ignore errors. Default `false` (bool)\n", + "flavorId": { + "type": "string", + "description": "OpenStack flavor id to use for the instance. Conflicts with `flavor_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "skipWaitForDeleteTimeoutSeconds": { - "type": "integer", - "description": "Drain options skip wait for delete timeout seconds (int)\n", + "flavorName": { + "type": "string", + "description": "OpenStack flavor name to use for the instance. Conflicts with `flavor_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "timeout": { - "type": "integer", - "description": "Drain options timeout (int)\n", + "floatingIpPool": { + "type": "string", + "description": "OpenStack floating IP pool to get an IP from to assign to the instance (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "gracePeriod", - "skipWaitForDeleteTimeoutSeconds", - "timeout" - ] - } - } - }, - "rancher2:index/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions:ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions": { - "properties": { - "deleteEmptyDirData": { - "type": "boolean", - "description": "Drain options delete empty dir data. Default `false` (bool)\n", + }, + "imageId": { + "type": "string", + "description": "OpenStack image id to use for the instance. Conflicts with `image_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "disableEviction": { - "type": "boolean", - "description": "Drain options disable eviction. Default `false` (bool)\n", + "imageName": { + "type": "string", + "description": "OpenStack image name to use for the instance. Conflicts with `image_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "enabled": { + "insecure": { "type": "boolean", - "description": "Drain options enabled? Default `true` (bool)\n", + "description": "Disable TLS credential checking. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "force": { - "type": "boolean", - "description": "Drain options force. Default `false` (bool)\n", + "ipVersion": { + "type": "string", + "description": "OpenStack version of IP address assigned for the machine Default `4` (string)\n", "language": { "python": { "mapCase": false } } }, - "gracePeriod": { - "type": "integer", - "description": "Drain options grace period (int)\n", + "keypairName": { + "type": "string", + "description": "OpenStack keypair to use to SSH to the instance (string)\n", "language": { "python": { "mapCase": false } } }, - "ignoreDaemonSets": { - "type": "boolean", - "description": "Drain options ignore daemon sets. Default `true` (bool)\n", + "netId": { + "type": "string", + "description": "OpenStack network id the machine will be connected on. Conflicts with `net_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "ignoreErrors": { - "type": "boolean", - "description": "Drain options ignore errors. Default `false` (bool)\n", + "netName": { + "type": "string", + "description": "OpenStack network name the machine will be connected on. Conflicts with `net_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "skipWaitForDeleteTimeoutSeconds": { - "type": "integer", - "description": "Drain options skip wait for delete timeout seconds (int)\n", + "novaNetwork": { + "type": "boolean", + "description": "Use the nova networking services instead of neutron (string)\n", "language": { "python": { "mapCase": false } } }, - "timeout": { - "type": "integer", - "description": "Drain options timeout (int)\n", + "password": { + "type": "string", + "description": "OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "gracePeriod", - "skipWaitForDeleteTimeoutSeconds", - "timeout" - ] - } - } - }, - "rancher2:index/EtcdBackupBackupConfig:EtcdBackupBackupConfig": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Enable etcd backup (bool)\n", + }, + "secret": true + }, + "privateKeyFile": { + "type": "string", + "description": "Private key content to use for SSH (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "intervalHours": { - "type": "integer", - "description": "Interval hours for etcd backup. Default `12` (int)\n", + "region": { + "type": "string", + "description": "OpenStack region name (string)\n", "language": { "python": { "mapCase": false } } }, - "retention": { - "type": "integer", - "description": "Retention for etcd backup. Default `6` (int)\n", + "secGroups": { + "type": "string", + "description": "OpenStack comma separated security groups for the machine (string)\n", "language": { "python": { "mapCase": false } } }, - "s3BackupConfig": { - "$ref": "#/types/rancher2:index/EtcdBackupBackupConfigS3BackupConfig:EtcdBackupBackupConfigS3BackupConfig", - "description": "S3 config options for etcd backup. Valid for `imported` and `rke` clusters. (list maxitems:1)\n", + "sshPort": { + "type": "string", + "description": "If using a non-B2D image you can specify the ssh port. Default `22` (string)\n", "language": { "python": { "mapCase": false } } }, - "safeTimestamp": { - "type": "boolean", + "sshUser": { + "type": "string", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", "language": { "python": { "mapCase": false } } }, - "timeout": { - "type": "integer", + "tenantDomainId": { + "type": "string", + "description": "OpenStack tenant domain id. Conflicts with `tenant_domain_name` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "timeout" - ] - } - } - }, - "rancher2:index/EtcdBackupBackupConfigS3BackupConfig:EtcdBackupBackupConfigS3BackupConfig": { - "properties": { - "accessKey": { + }, + "tenantDomainName": { "type": "string", - "description": "Access key for S3 service (string)\n", + "description": "OpenStack tenant domain name. Conflicts with `tenant_domain_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "bucketName": { + "tenantId": { "type": "string", - "description": "Bucket name for S3 service (string)\n", + "description": "OpenStack tenant id. Conflicts with `tenant_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "customCa": { + "tenantName": { "type": "string", - "description": "Base64 encoded custom CA for S3 service. Use filebase64(\u003cFILE\u003e) for encoding file. Available from Rancher v2.2.5 (string)\n", + "description": "OpenStack tenant name. Conflicts with `tenant_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "endpoint": { + "userDataFile": { "type": "string", - "description": "Endpoint for S3 service (string)\n", + "description": "File containing an openstack userdata script (string)\n", "language": { "python": { "mapCase": false } } }, - "folder": { + "userDomainId": { "type": "string", - "description": "Folder for S3 service. Available from Rancher v2.2.7 (string)\n", + "description": "OpenStack user domain id. Conflicts with `user_domain_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "region": { + "userDomainName": { "type": "string", - "description": "Region for S3 service (string)\n", + "description": "OpenStack user domain name. Conflicts with `user_domain_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "secretKey": { + "username": { "type": "string", - "description": "Secret key for S3 service (string)\n", + "description": "OpenStack username (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "bucketName", - "endpoint" - ] - }, - "rancher2:index/GlobalDnsProviderAlidnsConfig:GlobalDnsProviderAlidnsConfig": { - "properties": { - "accessKey": { + }, + "volumeDevicePath": { "type": "string", - "description": "The AWS Access key (string)\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", "language": { "python": { "mapCase": false } } }, - "secretKey": { + "volumeId": { "type": "string", - "description": "The AWS Secret key (string)\n", + "description": "OpenStack volume id of existing volume. Applicable only when `boot_from_volume` is `true` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "accessKey", - "secretKey" - ] - }, - "rancher2:index/GlobalDnsProviderCloudflareConfig:GlobalDnsProviderCloudflareConfig": { - "properties": { - "apiEmail": { + }, + "volumeName": { "type": "string", - "description": "The CloudFlare API Email (string)\n", + "description": "OpenStack volume name of existing volume. Applicable only when `boot_from_volume` is `true` (string)\n", "language": { "python": { "mapCase": false } } }, - "apiKey": { + "volumeSize": { "type": "string", - "description": "The CloudFlare API Key (string)\n", + "description": "OpenStack volume size (GiB). Required when `boot_from_volume` is `true` (string)\n", "language": { "python": { "mapCase": false } } }, - "proxySetting": { - "type": "boolean", - "description": "CloudFlare Proxy Setting. Default: `false` (bool)\n", + "volumeType": { + "type": "string", + "description": "OpenStack volume type. Required when `boot_from_volume` is `true` and openstack cloud does not have a default volume type (string)\n", "language": { "python": { "mapCase": false @@ -14690,453 +17753,470 @@ }, "type": "object", "required": [ - "apiEmail", - "apiKey" + "authUrl", + "availabilityZone", + "region" ] }, - "rancher2:index/GlobalDnsProviderRoute53Config:GlobalDnsProviderRoute53Config": { + "rancher2:index/MachineConfigV2VsphereConfig:MachineConfigV2VsphereConfig": { "properties": { - "accessKey": { + "boot2dockerUrl": { "type": "string", - "description": "The AWS Access key (string)\n", + "description": "vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string)\n", "language": { "python": { "mapCase": false } } }, - "credentialsPath": { - "type": "string", - "description": "The AWS credentials path. Default: `\"/.aws\"` (string)\n", + "cfgparams": { + "type": "array", + "items": { + "type": "string" + }, + "description": "vSphere vm configuration parameters (used for guestinfo) (list)\n", "language": { "python": { "mapCase": false } } }, - "region": { + "cloneFrom": { "type": "string", - "description": "The AWS Region. Default: `\"us-west-2\"` (string)\n", + "description": "If you choose creation type vm (clone vm) a name of what vm you want to clone is required (string)\n", "language": { "python": { "mapCase": false } } }, - "roleArn": { + "cloudConfig": { "type": "string", - "description": "The AWS Role ARN (string)\n", + "description": "Filepath to a cloud-config yaml file to put into the ISO user-data (string)\n", "language": { "python": { "mapCase": false } } }, - "secretKey": { + "cloudinit": { "type": "string", - "description": "The AWS Secret key (string)\n", + "description": "vSphere cloud-init file or url to set in the guestinfo (string)\n", "language": { "python": { "mapCase": false } } }, - "zoneType": { + "contentLibrary": { "type": "string", - "description": "The Route53 zone type `public, private`. Default: `\"public\"` (string)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "accessKey", - "secretKey" - ] - }, - "rancher2:index/GlobalRoleRule:GlobalRoleRule": { - "properties": { - "apiGroups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule api groups (list)\n", + "description": "If you choose to clone from a content library template specify the name of the library (string)\n", "language": { "python": { "mapCase": false } } }, - "nonResourceUrls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule non resource urls (list)\n", + "cpuCount": { + "type": "string", + "description": "vSphere CPU number for docker VM. Default `2` (string)\n", "language": { "python": { "mapCase": false } } }, - "resourceNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule resource names (list)\n", + "creationType": { + "type": "string", + "description": "Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy` (string)\n", "language": { "python": { "mapCase": false } } }, - "resources": { + "customAttributes": { "type": "array", "items": { "type": "string" }, - "description": "Policy rule resources (list)\n", + "description": "vSphere custom attributes, format key/value e.g. `200=my custom value` (List)\n", "language": { "python": { "mapCase": false } } }, - "verbs": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/MachineConfigV2Amazonec2Config:MachineConfigV2Amazonec2Config": { - "properties": { - "accessKey": { + "datacenter": { "type": "string", + "description": "vSphere datacenter for docker VM (string)\n", "language": { "python": { "mapCase": false } } }, - "ami": { + "datastore": { "type": "string", - "description": "AWS machine image (string)\n", + "description": "vSphere datastore for docker VM (string)\n", "language": { "python": { "mapCase": false } } }, - "blockDurationMinutes": { + "datastoreCluster": { "type": "string", - "description": "AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string)\n", + "description": "vSphere datastore cluster for virtual machine (string)\n", "language": { "python": { "mapCase": false } } }, - "deviceName": { + "diskSize": { "type": "string", - "description": "AWS root device name. Default `/dev/sda1` (string)\n", + "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", "language": { "python": { "mapCase": false } } }, - "encryptEbsVolume": { - "type": "boolean", - "description": "Encrypt EBS volume. Default `false` (bool)\n", + "folder": { + "type": "string", + "description": "vSphere folder for the docker VM. This folder must already exist in the datacenter (string)\n", "language": { "python": { "mapCase": false } } }, - "endpoint": { + "hostsystem": { "type": "string", - "description": "Optional endpoint URL (hostname only or fully qualified URI) (string)\n", + "description": "vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string)\n", "language": { "python": { "mapCase": false } } }, - "httpEndpoint": { + "memorySize": { "type": "string", - "description": "Enables or disables the HTTP metadata endpoint on your instances (string)\n", + "description": "vSphere size of memory for docker VM (in MB). Default `2048` (string)\n", "language": { "python": { "mapCase": false } } }, - "httpTokens": { - "type": "string", - "description": "The state of token usage for your instance metadata requests (string)\n", + "networks": { + "type": "array", + "items": { + "type": "string" + }, + "description": "vSphere network where the docker VM will be attached (list)\n", "language": { "python": { "mapCase": false } } }, - "iamInstanceProfile": { + "password": { "type": "string", - "description": "AWS IAM Instance Profile (string)\n", + "description": "OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "insecureTransport": { - "type": "boolean", - "description": "Disable SSL when sending requests (bool)\n", + "pool": { + "type": "string", + "description": "vSphere resource pool for docker VM (string)\n", "language": { "python": { "mapCase": false } } }, - "instanceType": { + "sshPassword": { "type": "string", - "description": "Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string)\n", + "description": "If using a non-B2D image you can specify the ssh password. Default `tcuser` (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "keypairName": { + "sshPort": { "type": "string", - "description": "OpenStack keypair to use to SSH to the instance (string)\n", + "description": "If using a non-B2D image you can specify the ssh port. Default `22` (string)\n", "language": { "python": { "mapCase": false } } }, - "kmsKey": { + "sshUser": { "type": "string", - "description": "Custom KMS key ID using the AWS Managed CMK (string)\n", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", "language": { "python": { "mapCase": false } } }, - "monitoring": { - "type": "boolean", - "description": "Enable monitoring for droplet. Default `false` (bool)\n", + "sshUserGroup": { + "type": "string", + "description": "If using a non-B2D image the uploaded keys will need chown'ed. Default `staff` (string)\n", "language": { "python": { "mapCase": false } } }, - "openPorts": { + "tags": { "type": "array", "items": { "type": "string" }, - "description": "Make the specified port number accessible from the Internet. (list)\n", + "description": "vSphere tags id e.g. `urn:xxx` (list)\n", "language": { "python": { "mapCase": false } } }, - "privateAddressOnly": { - "type": "boolean", - "description": "Only use a private IP address. Default `false` (bool)\n", + "username": { + "type": "string", + "description": "OpenStack username (string)\n", "language": { "python": { "mapCase": false } } }, - "region": { + "vappIpAllocationPolicy": { "type": "string", - "description": "OpenStack region name (string)\n", + "description": "vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string)\n", "language": { "python": { "mapCase": false } } }, - "requestSpotInstance": { - "type": "boolean", - "description": "Set this flag to request spot instance. Default `false` (bool)\n", + "vappIpProtocol": { + "type": "string", + "description": "vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string)\n", "language": { "python": { "mapCase": false } } }, - "retries": { - "type": "string", - "description": "Set retry count for recoverable failures (use -1 to disable). Default `5` (string)\n", + "vappProperties": { + "type": "array", + "items": { + "type": "string" + }, + "description": "vSphere vApp properties (list)\n", "language": { "python": { "mapCase": false } } }, - "rootSize": { + "vappTransport": { "type": "string", - "description": "AWS root disk size (in GB). Default `16` (string)\n", + "description": "vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string)\n", "language": { "python": { "mapCase": false } } }, - "secretKey": { + "vcenter": { "type": "string", + "description": "vSphere IP/hostname for vCenter (string)\n", "language": { "python": { "mapCase": false } } }, - "securityGroupReadonly": { - "type": "boolean", - "description": "Skip adding default rules to security groups (bool)\n", + "vcenterPort": { + "type": "string", + "description": "vSphere Port for vCenter Default `443` (string)\n", "language": { "python": { "mapCase": false } } - }, - "securityGroups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "AWS VPC security group. (list)\n", + } + }, + "type": "object" + }, + "rancher2:index/MultiClusterAppAnswer:MultiClusterAppAnswer": { + "properties": { + "clusterId": { + "type": "string", + "description": "Cluster ID for answer (string)\n", "language": { "python": { "mapCase": false } } }, - "sessionToken": { + "projectId": { "type": "string", - "description": "AWS Session Token (string)\n", + "description": "Project ID for target (string)\n", "language": { "python": { "mapCase": false } } }, - "spotPrice": { - "type": "string", - "description": "AWS spot instance bid price (in dollar). Default `0.50` (string)\n", + "values": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Key/values for answer (map)\n", "language": { "python": { "mapCase": false } } - }, - "sshKeyContents": { + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "clusterId", + "projectId", + "values" + ] + } + } + }, + "rancher2:index/MultiClusterAppMember:MultiClusterAppMember": { + "properties": { + "accessType": { "type": "string", - "description": "SSH private key contents (string)\n", + "description": "Member access type. Valid values: `[\"member\" | \"owner\" | \"read-only\"]` (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "groupPrincipalId": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", + "description": "Member group principal id (string)\n", "language": { "python": { "mapCase": false } } }, - "subnetId": { + "userPrincipalId": { "type": "string", - "description": "AWS VPC subnet id (string)\n", + "description": "Member user principal id (string)\n", "language": { "python": { "mapCase": false } } - }, - "tags": { + } + }, + "type": "object" + }, + "rancher2:index/MultiClusterAppTarget:MultiClusterAppTarget": { + "properties": { + "appId": { "type": "string", - "description": "vSphere tags id e.g. `urn:xxx` (list)\n", + "description": "App ID for target (string)\n", "language": { "python": { "mapCase": false } } }, - "useEbsOptimizedInstance": { - "type": "boolean", - "description": "Create an EBS optimized instance. Default `false` (bool)\n", + "healthState": { + "type": "string", + "description": "App health state for target (string)\n", "language": { "python": { "mapCase": false } } }, - "usePrivateAddress": { - "type": "boolean", - "description": "Force the usage of private IP address. Default `false` (bool)\n", + "projectId": { + "type": "string", + "description": "Project ID for target (string)\n", "language": { "python": { "mapCase": false } } }, - "userdata": { + "state": { "type": "string", - "description": "Path to file with cloud-init user-data (string)\n", + "description": "App state for target (string)\n", "language": { "python": { "mapCase": false } } - }, - "volumeType": { - "type": "string", - "description": "OpenStack volume type. Required when `boot_from_volume` is `true` and openstack cloud does not have a default volume type (string)\n", + } + }, + "type": "object", + "required": [ + "projectId" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "appId", + "healthState", + "projectId", + "state" + ] + } + } + }, + "rancher2:index/MultiClusterAppUpgradeStrategy:MultiClusterAppUpgradeStrategy": { + "properties": { + "rollingUpdate": { + "$ref": "#/types/rancher2:index/MultiClusterAppUpgradeStrategyRollingUpdate:MultiClusterAppUpgradeStrategyRollingUpdate", + "description": "Upgrade strategy rolling update (list MaxItems:1)\n", "language": { "python": { "mapCase": false } } - }, - "vpcId": { - "type": "string", - "description": "AWS VPC id. (string)\n", + } + }, + "type": "object" + }, + "rancher2:index/MultiClusterAppUpgradeStrategyRollingUpdate:MultiClusterAppUpgradeStrategyRollingUpdate": { + "properties": { + "batchSize": { + "type": "integer", + "description": "Rolling update batch size. Default `1` (int)\n", "language": { "python": { "mapCase": false } } }, - "zone": { - "type": "string", - "description": "AWS zone for instance (i.e. a,b,c,d,e) (string)\n", + "interval": { + "type": "integer", + "description": "Rolling update interval. Default `1` (int)\n", "language": { "python": { "mapCase": false @@ -15144,1049 +18224,1078 @@ } } }, - "type": "object", - "required": [ - "ami", - "region", - "securityGroups", - "subnetId", - "vpcId", - "zone" - ] + "type": "object" }, - "rancher2:index/MachineConfigV2AzureConfig:MachineConfigV2AzureConfig": { + "rancher2:index/NamespaceContainerResourceLimit:NamespaceContainerResourceLimit": { "properties": { - "availabilitySet": { + "limitsCpu": { "type": "string", - "description": "Azure Availability Set to place the virtual machine into. Default `docker-machine` (string)\n", + "description": "Limit for limits cpu in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "clientId": { + "limitsMemory": { "type": "string", - "description": "Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Limit for limits memory in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "clientSecret": { + "requestsCpu": { "type": "string", - "description": "Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Limit for requests cpu in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "customData": { + "requestsMemory": { "type": "string", - "description": "Path to file with custom-data (string)\n", + "description": "Limit for requests memory in namespace (string)\n", "language": { "python": { "mapCase": false } } - }, - "diskSize": { - "type": "string", - "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", + } + }, + "type": "object" + }, + "rancher2:index/NamespaceResourceQuota:NamespaceResourceQuota": { + "properties": { + "limit": { + "$ref": "#/types/rancher2:index/NamespaceResourceQuotaLimit:NamespaceResourceQuotaLimit", + "description": "Resource quota limit for namespace (list maxitems:1)\n", "language": { "python": { "mapCase": false } } - }, - "dns": { + } + }, + "type": "object", + "required": [ + "limit" + ] + }, + "rancher2:index/NamespaceResourceQuotaLimit:NamespaceResourceQuotaLimit": { + "properties": { + "configMaps": { "type": "string", - "description": "A unique DNS label for the public IP adddress (string)\n", + "description": "Limit for config maps in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "dockerPort": { + "limitsCpu": { "type": "string", - "description": "Docker Port. Default `2376` (string)\n", + "description": "Limit for limits cpu in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "environment": { + "limitsMemory": { "type": "string", - "description": "Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string)\n", + "description": "Limit for limits memory in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "faultDomainCount": { + "persistentVolumeClaims": { "type": "string", - "description": "Fault domain count to use for availability set. Default `3` (string)\n", + "description": "Limit for persistent volume claims in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "image": { + "pods": { "type": "string", - "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", + "description": "Limit for pods in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "location": { + "replicationControllers": { "type": "string", - "description": "Azure region to create the virtual machine. Default `westus` (string)\n", + "description": "Limit for replication controllers in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "managedDisks": { - "type": "boolean", - "description": "Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool)\n", + "requestsCpu": { + "type": "string", + "description": "Limit for requests cpu in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "noPublicIp": { - "type": "boolean", - "description": "Do not create a public IP address for the machine. Default `false` (bool)\n", + "requestsMemory": { + "type": "string", + "description": "Limit for requests memory in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "nsg": { + "requestsStorage": { "type": "string", - "description": "Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string)\n", + "description": "Limit for requests storage in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "openPorts": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Make the specified port number accessible from the Internet. (list)\n", + "secrets": { + "type": "string", + "description": "Limit for secrets in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "privateIpAddress": { + "services": { "type": "string", - "description": "Specify a static private IP address for the machine. (string)\n", "language": { "python": { "mapCase": false } } }, - "resourceGroup": { + "servicesLoadBalancers": { "type": "string", - "description": "Azure Resource Group name (will be created if missing). Default `docker-machine` (string)\n", + "description": "Limit for services load balancers in namespace (string)\n", "language": { "python": { "mapCase": false } } }, - "size": { + "servicesNodePorts": { "type": "string", - "description": "Digital Ocean size. Default `s-1vcpu-1gb` (string)\n", + "description": "Limit for services node ports in namespace (string)\n", "language": { "python": { "mapCase": false } } - }, - "sshUser": { + } + }, + "type": "object" + }, + "rancher2:index/NodePoolNodeTaint:NodePoolNodeTaint": { + "properties": { + "effect": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", + "description": "Taint effect. Supported values : `\"NoExecute\" | \"NoSchedule\" | \"PreferNoSchedule\"` (string)\n", "language": { "python": { "mapCase": false } } }, - "staticPublicIp": { - "type": "boolean", - "description": "Assign a static public IP address to the machine. Default `false` (bool)\n", + "key": { + "type": "string", + "description": "Taint key (string)\n", "language": { "python": { "mapCase": false } } }, - "storageType": { + "timeAdded": { "type": "string", - "description": "Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string)\n", + "description": "Taint time added (string)\n", "language": { "python": { "mapCase": false } } }, - "subnet": { + "value": { "type": "string", - "description": "Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string)\n", + "description": "Taint value (string)\n", "language": { "python": { "mapCase": false } } - }, - "subnetPrefix": { + } + }, + "type": "object", + "required": [ + "key", + "value" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "key", + "timeAdded", + "value" + ] + } + } + }, + "rancher2:index/NodeTemplateAmazonec2Config:NodeTemplateAmazonec2Config": { + "properties": { + "accessKey": { "type": "string", - "description": "Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string)\n", + "description": "Outscale Access Key (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "subscriptionId": { + "ami": { "type": "string", - "description": "Azure Subscription ID (string)\n", + "description": "AWS machine image (string)\n", "language": { "python": { "mapCase": false } } }, - "tenantId": { + "blockDurationMinutes": { "type": "string", - "description": "OpenStack tenant id. Conflicts with `tenant_name` (string)\n", + "description": "AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string)\n", "language": { "python": { "mapCase": false } } }, - "updateDomainCount": { + "deviceName": { "type": "string", - "description": "Update domain count to use for availability set. Default `5` (string)\n", + "description": "AWS root device name. Default `/dev/sda1` (string)\n", "language": { "python": { "mapCase": false } } }, - "usePrivateIp": { + "encryptEbsVolume": { "type": "boolean", - "description": "Use private IP address of the machine to connect. Default `false` (bool)\n", + "description": "Encrypt EBS volume. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "vnet": { - "type": "string", - "description": "Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/MachineConfigV2DigitaloceanConfig:MachineConfigV2DigitaloceanConfig": { - "properties": { - "accessToken": { + "endpoint": { "type": "string", - "description": "Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Optional endpoint URL (hostname only or fully qualified URI) (string)\n", "language": { "python": { "mapCase": false } } }, - "backups": { - "type": "boolean", - "description": "Enable backups for droplet. Default `false` (bool)\n", + "httpEndpoint": { + "type": "string", + "description": "Enables or disables the HTTP metadata endpoint on your instances (string)\n", "language": { "python": { "mapCase": false } } }, - "image": { + "httpTokens": { "type": "string", - "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", + "description": "The state of token usage for your instance metadata requests (string)\n", "language": { "python": { "mapCase": false } } }, - "ipv6": { - "type": "boolean", - "description": "Enable ipv6 for droplet. Default `false` (bool)\n", + "iamInstanceProfile": { + "type": "string", + "description": "AWS IAM Instance Profile (string)\n", "language": { "python": { "mapCase": false } } }, - "monitoring": { + "insecureTransport": { "type": "boolean", - "description": "Enable monitoring for droplet. Default `false` (bool)\n", + "description": "Disable SSL when sending requests (bool)\n", "language": { "python": { "mapCase": false } } }, - "privateNetworking": { - "type": "boolean", - "description": "Enable private networking for droplet. Default `false` (bool)\n", + "instanceType": { + "type": "string", + "description": "Outscale VM type. Default `tinav2.c1r2p3` (string)\n", "language": { "python": { "mapCase": false } } }, - "region": { + "keypairName": { "type": "string", - "description": "OpenStack region name (string)\n", + "description": "OpenStack keypair to use to SSH to the instance (string)\n", "language": { "python": { "mapCase": false } } }, - "size": { + "kmsKey": { "type": "string", - "description": "Digital Ocean size. Default `s-1vcpu-1gb` (string)\n", + "description": "Custom KMS key ID using the AWS Managed CMK (string)\n", "language": { "python": { "mapCase": false } } }, - "sshKeyContents": { - "type": "string", - "description": "SSH private key contents (string)\n", + "monitoring": { + "type": "boolean", + "description": "Enable monitoring for droplet. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "sshKeyFingerprint": { - "type": "string", - "description": "SSH key fingerprint (string)\n", + "openPorts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Make the specified port number accessible from the Internet. (list)\n", "language": { "python": { "mapCase": false } } }, - "sshPort": { - "type": "string", - "description": "If using a non-B2D image you can specify the ssh port. Default `22` (string)\n", + "privateAddressOnly": { + "type": "boolean", + "description": "Only use a private IP address. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "region": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", + "description": "AWS region. Default `eu-west-2` (string)\n", "language": { "python": { "mapCase": false } } }, - "tags": { - "type": "string", - "description": "vSphere tags id e.g. `urn:xxx` (list)\n", + "requestSpotInstance": { + "type": "boolean", + "description": "Set this flag to request spot instance. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "userdata": { + "retries": { "type": "string", - "description": "Path to file with cloud-init user-data (string)\n", + "description": "Set retry count for recoverable failures (use -1 to disable). Default `5` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/MachineConfigV2HarvesterConfig:MachineConfigV2HarvesterConfig": { - "properties": { - "cpuCount": { + }, + "rootSize": { "type": "string", - "description": "vSphere CPU number for docker VM. Default `2` (string)\n", + "description": "AWS root disk size (in GB). Default `16` (string)\n", "language": { "python": { "mapCase": false } } }, - "diskBus": { + "secretKey": { "type": "string", - "description": "Disk bus, Default `virtio` (string)\n", + "description": "Outscale Secret Key (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "diskSize": { - "type": "string", - "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", + "securityGroupReadonly": { + "type": "boolean", + "description": "Skip adding default rules to security groups (bool)\n", "language": { "python": { "mapCase": false } } }, - "imageName": { - "type": "string", - "description": "OpenStack image name to use for the instance. Conflicts with `image_id` (string)\n", + "securityGroups": { + "type": "array", + "items": { + "type": "string" + }, + "description": "AWS VPC security group. (list)\n", "language": { "python": { "mapCase": false } } }, - "memorySize": { + "sessionToken": { "type": "string", - "description": "vSphere size of memory for docker VM (in MB). Default `2048` (string)\n", + "description": "AWS Session Token (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "networkData": { + "spotPrice": { "type": "string", - "description": "NetworkData content of cloud-init, base64 is supported (string)\n", + "description": "AWS spot instance bid price (in dollar). Default `0.50` (string)\n", "language": { "python": { "mapCase": false } } }, - "networkModel": { + "sshKeypath": { "type": "string", - "description": "Network model, Default `virtio` (string)\n", "language": { "python": { "mapCase": false } } }, - "networkName": { + "sshUser": { "type": "string", - "description": "Network name e.g. `harvester-public/vlan1` (string)\n", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "sshPassword": { + "subnetId": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh password. Default `tcuser` (string)\n", + "description": "AWS VPC subnet id (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "tags": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", + "description": "vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list)\n", "language": { "python": { "mapCase": false } } }, - "userData": { - "type": "string", - "description": "UserData content of cloud-init, base64 is supported (string)\n", + "useEbsOptimizedInstance": { + "type": "boolean", + "description": "Create an EBS optimized instance. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "vmNamespace": { - "type": "string", - "description": "Virtual machine namespace e.g. `default` (string)\n", + "usePrivateAddress": { + "type": "boolean", + "description": "Force the usage of private IP address. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "imageName", - "networkName", - "sshUser", - "vmNamespace" - ] - }, - "rancher2:index/MachineConfigV2LinodeConfig:MachineConfigV2LinodeConfig": { - "properties": { - "authorizedUsers": { + }, + "userdata": { "type": "string", - "description": "Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string)\n", + "description": "Path to file with cloud-init user-data (string)\n", "language": { "python": { "mapCase": false } } }, - "createPrivateIp": { - "type": "boolean", - "description": "Create private IP for the instance. Default `false` (bool)\n", + "volumeType": { + "type": "string", + "description": "OpenStack volume type. Required when `boot_from_volume` is `true` and openstack cloud does not have a default volume type (string)\n", "language": { "python": { "mapCase": false } } }, - "dockerPort": { + "vpcId": { "type": "string", - "description": "Docker Port. Default `2376` (string)\n", + "description": "AWS VPC id. (string)\n", "language": { "python": { "mapCase": false } } }, - "image": { + "zone": { "type": "string", - "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", + "description": "AWS zone for instance (i.e. a,b,c,d,e) (string)\n", "language": { "python": { "mapCase": false } } - }, - "instanceType": { + } + }, + "type": "object", + "required": [ + "ami", + "region", + "securityGroups", + "subnetId", + "vpcId", + "zone" + ] + }, + "rancher2:index/NodeTemplateAzureConfig:NodeTemplateAzureConfig": { + "properties": { + "availabilitySet": { "type": "string", - "description": "Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string)\n", + "description": "Azure Availability Set to place the virtual machine into. Default `docker-machine` (string)\n", "language": { "python": { "mapCase": false } } }, - "label": { + "clientId": { "type": "string", - "description": "Linode Instance Label. (string)\n", + "description": "Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "region": { + "clientSecret": { "type": "string", - "description": "OpenStack region name (string)\n", + "description": "Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "rootPass": { + "customData": { "type": "string", - "description": "Root Password (string)\n", + "description": "Path to file with custom-data (string)\n", "language": { "python": { "mapCase": false } } }, - "sshPort": { + "diskSize": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh port. Default `22` (string)\n", + "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "dns": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", + "description": "A unique DNS label for the public IP adddress (string)\n", "language": { "python": { "mapCase": false } } }, - "stackscript": { + "dockerPort": { "type": "string", - "description": "Specifies the Linode StackScript to use to create the instance. (string)\n", + "description": "Docker Port. Default `2376` (string)\n", "language": { "python": { "mapCase": false } } }, - "stackscriptData": { + "environment": { "type": "string", - "description": "A JSON string specifying data for the selected StackScript. (string)\n", + "description": "Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string)\n", "language": { "python": { "mapCase": false } } }, - "swapSize": { + "faultDomainCount": { "type": "string", - "description": "Linode Instance Swap Size (MB). Default `512` (string)\n", + "description": "Fault domain count to use for availability set. Default `3` (string)\n", "language": { "python": { "mapCase": false } } }, - "tags": { + "image": { "type": "string", - "description": "vSphere tags id e.g. `urn:xxx` (list)\n", + "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", "language": { "python": { "mapCase": false } } }, - "token": { + "location": { "type": "string", - "description": "Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Azure region to create the virtual machine. Default `westus` (string)\n", "language": { "python": { "mapCase": false } } }, - "uaPrefix": { - "type": "string", - "description": "Prefix the User-Agent in Linode API calls with some 'product/version' (string)\n", + "managedDisks": { + "type": "boolean", + "description": "Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/MachineConfigV2OpenstackConfig:MachineConfigV2OpenstackConfig": { - "properties": { - "activeTimeout": { - "type": "string", - "description": "OpenStack active timeout Default `200` (string)\n", + }, + "noPublicIp": { + "type": "boolean", + "description": "Do not create a public IP address for the machine. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "applicationCredentialId": { + "nsg": { "type": "string", - "description": "OpenStack application credential id. Conflicts with `application_credential_name` (string)\n", + "description": "Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string)\n", "language": { "python": { "mapCase": false } } }, - "applicationCredentialName": { - "type": "string", - "description": "OpenStack application credential name. Conflicts with `application_credential_id` (string)\n", + "openPorts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Make the specified port number accessible from the Internet. (list)\n", "language": { "python": { "mapCase": false } } }, - "applicationCredentialSecret": { + "plan": { "type": "string", - "description": "OpenStack application credential secret (string)\n", + "description": "Azure marketplace purchase plan for Azure Virtual Machine. Format is `\u003cpublisher\u003e:\u003cproduct\u003e:\u003cplan\u003e`. Just for Rancher v2.6.3 and above. (string)\n", "language": { "python": { "mapCase": false } } }, - "authUrl": { + "privateIpAddress": { "type": "string", - "description": "OpenStack authentication URL (string)\n", + "description": "Specify a static private IP address for the machine. (string)\n", "language": { "python": { "mapCase": false } } }, - "availabilityZone": { + "resourceGroup": { "type": "string", - "description": "OpenStack availability zone (string)\n", + "description": "Azure Resource Group name (will be created if missing). Default `docker-machine` (string)\n", "language": { "python": { "mapCase": false } } }, - "bootFromVolume": { - "type": "boolean", - "description": "Enable booting from volume. Default is `false` (bool)\n", + "size": { + "type": "string", + "description": "Digital Ocean size. Default `s-1vcpu-1gb` (string)\n", "language": { "python": { "mapCase": false } } }, - "cacert": { + "sshUser": { "type": "string", - "description": "CA certificate bundle to verify against (string)\n", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "configDrive": { + "staticPublicIp": { "type": "boolean", - "description": "Enables the OpenStack config drive for the instance. Default `false` (bool)\n", + "description": "Assign a static public IP address to the machine. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "domainId": { + "storageType": { "type": "string", - "description": "OpenStack domain ID. Identity v3 only. Conflicts with `domain_name` (string)\n", + "description": "Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string)\n", "language": { "python": { "mapCase": false } } }, - "domainName": { + "subnet": { "type": "string", - "description": "OpenStack domain name. Identity v3 only. Conflicts with `domain_id` (string)\n", + "description": "Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string)\n", "language": { "python": { "mapCase": false } } }, - "endpointType": { + "subnetPrefix": { "type": "string", - "description": "OpenStack endpoint type. adminURL, internalURL or publicURL (string)\n", + "description": "Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string)\n", "language": { "python": { "mapCase": false } } }, - "flavorId": { + "subscriptionId": { "type": "string", - "description": "OpenStack flavor id to use for the instance. Conflicts with `flavor_name` (string)\n", + "description": "Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "flavorName": { + "updateDomainCount": { "type": "string", - "description": "OpenStack flavor name to use for the instance. Conflicts with `flavor_id` (string)\n", + "description": "Update domain count to use for availability set. Default `5` (string)\n", "language": { "python": { "mapCase": false } } }, - "floatingIpPool": { - "type": "string", - "description": "OpenStack floating IP pool to get an IP from to assign to the instance (string)\n", + "usePrivateIp": { + "type": "boolean", + "description": "Use private IP address of the machine to connect. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "imageId": { + "vnet": { "type": "string", - "description": "OpenStack image id to use for the instance. Conflicts with `image_name` (string)\n", + "description": "Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string)\n", "language": { "python": { "mapCase": false } } - }, - "imageName": { + } + }, + "type": "object" + }, + "rancher2:index/NodeTemplateDigitaloceanConfig:NodeTemplateDigitaloceanConfig": { + "properties": { + "accessToken": { "type": "string", - "description": "OpenStack image name to use for the instance. Conflicts with `image_id` (string)\n", + "description": "Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "insecure": { + "backups": { "type": "boolean", - "description": "Disable TLS credential checking. Default `false` (bool)\n", + "description": "Enable backups for droplet. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "ipVersion": { + "image": { "type": "string", - "description": "OpenStack version of IP address assigned for the machine Default `4` (string)\n", + "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", "language": { "python": { "mapCase": false } } }, - "keypairName": { - "type": "string", - "description": "OpenStack keypair to use to SSH to the instance (string)\n", + "ipv6": { + "type": "boolean", + "description": "Enable ipv6 for droplet. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "netId": { - "type": "string", - "description": "OpenStack network id the machine will be connected on. Conflicts with `net_name` (string)\n", + "monitoring": { + "type": "boolean", + "description": "Enable monitoring for droplet. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "netName": { - "type": "string", - "description": "OpenStack network name the machine will be connected on. Conflicts with `net_id` (string)\n", + "privateNetworking": { + "type": "boolean", + "description": "Enable private networking for droplet. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "novaNetwork": { - "type": "boolean", - "description": "Use the nova networking services instead of neutron (string)\n", + "region": { + "type": "string", + "description": "AWS region. Default `eu-west-2` (string)\n", "language": { "python": { "mapCase": false } } }, - "password": { + "size": { "type": "string", - "description": "OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Digital Ocean size. Default `s-1vcpu-1gb` (string)\n", "language": { "python": { "mapCase": false } } }, - "privateKeyFile": { + "sshKeyFingerprint": { "type": "string", - "description": "Private key content to use for SSH (string)\n", + "description": "SSH key fingerprint (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "region": { + "sshKeyPath": { "type": "string", - "description": "OpenStack region name (string)\n", + "description": "SSH private key path (string)\n", "language": { "python": { "mapCase": false } } }, - "secGroups": { + "sshPort": { "type": "string", - "description": "OpenStack comma separated security groups for the machine (string)\n", + "description": "If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "sshPort": { + "sshUser": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh port. Default `22` (string)\n", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "tags": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", + "description": "vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list)\n", "language": { "python": { "mapCase": false } } }, - "tenantDomainId": { + "userdata": { "type": "string", - "description": "OpenStack tenant domain id. Conflicts with `tenant_domain_name` (string)\n", + "description": "Path to file with cloud-init user-data (string)\n", "language": { "python": { "mapCase": false } } - }, - "tenantDomainName": { + } + }, + "type": "object" + }, + "rancher2:index/NodeTemplateHarvesterConfig:NodeTemplateHarvesterConfig": { + "properties": { + "cpuCount": { "type": "string", - "description": "OpenStack tenant domain name. Conflicts with `tenant_domain_id` (string)\n", + "description": "vSphere CPU number for docker VM. Default `2` (string)\n", "language": { "python": { "mapCase": false } } }, - "tenantId": { + "diskBus": { "type": "string", - "description": "OpenStack tenant id. Conflicts with `tenant_name` (string)\n", + "description": "Disk bus, Default `virtio` (string)\n", "language": { "python": { "mapCase": false } } }, - "tenantName": { + "diskSize": { "type": "string", - "description": "OpenStack tenant name. Conflicts with `tenant_id` (string)\n", + "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", "language": { "python": { "mapCase": false } } }, - "userDataFile": { + "imageName": { "type": "string", - "description": "File containing an openstack userdata script (string)\n", + "description": "OpenStack image name to use for the instance. Conflicts with `image_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "userDomainId": { + "memorySize": { "type": "string", - "description": "OpenStack user domain id. Conflicts with `user_domain_name` (string)\n", + "description": "vSphere size of memory for docker VM (in MB). Default `2048` (string)\n", "language": { "python": { "mapCase": false } } }, - "userDomainName": { + "networkData": { "type": "string", - "description": "OpenStack user domain name. Conflicts with `user_domain_id` (string)\n", + "description": "NetworkData content of cloud-init, base64 is supported (string)\n", "language": { "python": { "mapCase": false } } }, - "username": { + "networkModel": { "type": "string", - "description": "OpenStack username (string)\n", + "description": "Network model, Default `virtio` (string)\n", "language": { "python": { "mapCase": false } } }, - "volumeDevicePath": { + "networkName": { "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": "Opennebula network to connect the machine to. Conflicts with `network_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "volumeId": { + "sshPassword": { "type": "string", - "description": "OpenStack volume id of existing volume. Applicable only when `boot_from_volume` is `true` (string)\n", + "description": "If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "volumeName": { + "sshUser": { "type": "string", - "description": "OpenStack volume name of existing volume. Applicable only when `boot_from_volume` is `true` (string)\n", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "volumeSize": { + "userData": { "type": "string", - "description": "OpenStack volume size (GiB). Required when `boot_from_volume` is `true` (string)\n", + "description": "UserData content of cloud-init, base64 is supported (string)\n", "language": { "python": { "mapCase": false } } }, - "volumeType": { + "vmNamespace": { "type": "string", - "description": "OpenStack volume type. Required when `boot_from_volume` is `true` and openstack cloud does not have a default volume type (string)\n", + "description": "Virtual machine namespace e.g. `default` (string)\n", "language": { "python": { "mapCase": false @@ -16196,223 +19305,219 @@ }, "type": "object", "required": [ - "authUrl", - "availabilityZone", - "region" + "imageName", + "networkName", + "sshUser", + "vmNamespace" ] }, - "rancher2:index/MachineConfigV2VsphereConfig:MachineConfigV2VsphereConfig": { + "rancher2:index/NodeTemplateHetznerConfig:NodeTemplateHetznerConfig": { "properties": { - "boot2dockerUrl": { + "apiToken": { "type": "string", - "description": "vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string)\n", + "description": "Hetzner Cloud project API token (string)\n", "language": { "python": { "mapCase": false } - } - }, - "cfgparams": { - "type": "array", - "items": { - "type": "string" }, - "description": "vSphere vm configuration parameters (used for guestinfo) (list)\n", - "language": { - "python": { - "mapCase": false - } - } + "secret": true }, - "cloneFrom": { + "image": { "type": "string", - "description": "If you choose creation type vm (clone vm) a name of what vm you want to clone is required (string)\n", + "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", "language": { "python": { "mapCase": false } } }, - "cloudConfig": { + "networks": { "type": "string", - "description": "Filepath to a cloud-config yaml file to put into the ISO user-data (string)\n", + "description": "Comma-separated list of network IDs or names which should be attached to the server private network interface (string)\n", "language": { "python": { "mapCase": false } } }, - "cloudinit": { - "type": "string", - "description": "vSphere cloud-init file or url to set in the guestinfo (string)\n", + "serverLabels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Map of the labels which will be assigned to the server. This argument is only available on [Hetzner Docker Node Driver:v3.6.0](https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/tag/3.6.0) and above (map)\n", "language": { "python": { "mapCase": false } } }, - "contentLibrary": { + "serverLocation": { "type": "string", - "description": "If you choose to clone from a content library template specify the name of the library (string)\n", + "description": "Hetzner Cloud datacenter. Default `nbg1` (string)\n", "language": { "python": { "mapCase": false } } }, - "cpuCount": { + "serverType": { "type": "string", - "description": "vSphere CPU number for docker VM. Default `2` (string)\n", + "description": "Hetzner Cloud server type. Default `cx11` (string)\n", "language": { "python": { "mapCase": false } } }, - "creationType": { - "type": "string", - "description": "Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy` (string)\n", + "usePrivateNetwork": { + "type": "boolean", + "description": "Use private network. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "customAttributes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "vSphere custom attributes, format key/value e.g. `200=my custom value` (List)\n", + "userdata": { + "type": "string", + "description": "Path to file with cloud-init user-data (string)\n", "language": { "python": { "mapCase": false } } }, - "datacenter": { + "volumes": { "type": "string", - "description": "vSphere datacenter for docker VM (string)\n", + "description": "Comma-separated list of volume IDs or names which should be attached to the server (string)\n", "language": { "python": { "mapCase": false } } - }, - "datastore": { + } + }, + "type": "object", + "required": [ + "apiToken" + ] + }, + "rancher2:index/NodeTemplateLinodeConfig:NodeTemplateLinodeConfig": { + "properties": { + "authorizedUsers": { "type": "string", - "description": "vSphere datastore for docker VM (string)\n", + "description": "Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string)\n", "language": { "python": { "mapCase": false } } }, - "datastoreCluster": { - "type": "string", - "description": "vSphere datastore cluster for virtual machine (string)\n", + "createPrivateIp": { + "type": "boolean", + "description": "Create private IP for the instance. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "diskSize": { + "dockerPort": { "type": "string", - "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", + "description": "Docker Port. Default `2376` (string)\n", "language": { "python": { "mapCase": false } } }, - "folder": { + "image": { "type": "string", - "description": "vSphere folder for the docker VM. This folder must already exist in the datacenter (string)\n", + "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", "language": { "python": { "mapCase": false } } }, - "hostsystem": { + "instanceType": { "type": "string", - "description": "vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string)\n", + "description": "Outscale VM type. Default `tinav2.c1r2p3` (string)\n", "language": { "python": { "mapCase": false } } }, - "memorySize": { + "label": { "type": "string", - "description": "vSphere size of memory for docker VM (in MB). Default `2048` (string)\n", + "description": "Linode Instance Label. (string)\n", "language": { "python": { "mapCase": false } } }, - "networks": { - "type": "array", - "items": { - "type": "string" - }, - "description": "vSphere network where the docker VM will be attached (list)\n", + "region": { + "type": "string", + "description": "AWS region. Default `eu-west-2` (string)\n", "language": { "python": { "mapCase": false } } }, - "password": { + "rootPass": { "type": "string", - "description": "OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Root Password (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "pool": { + "sshPort": { "type": "string", - "description": "vSphere resource pool for docker VM (string)\n", + "description": "If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "sshPassword": { + "sshUser": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh password. Default `tcuser` (string)\n", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "sshPort": { + "stackscript": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh port. Default `22` (string)\n", + "description": "Specifies the Linode StackScript to use to create the instance. (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "stackscriptData": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. (string)\n", + "description": "A JSON string specifying data for the selected StackScript. (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUserGroup": { + "swapSize": { "type": "string", - "description": "If using a non-B2D image the uploaded keys will need chown'ed. Default `staff` (string)\n", + "description": "Linode Instance Swap Size (MB). Default `512` (string)\n", "language": { "python": { "mapCase": false @@ -16420,299 +19525,258 @@ } }, "tags": { - "type": "array", - "items": { - "type": "string" - }, - "description": "vSphere tags id e.g. `urn:xxx` (list)\n", + "type": "string", + "description": "vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list)\n", "language": { "python": { "mapCase": false } } }, - "username": { + "token": { "type": "string", - "description": "OpenStack username (string)\n", + "description": "Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "vappIpAllocationPolicy": { + "uaPrefix": { "type": "string", - "description": "vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string)\n", + "description": "Prefix the User-Agent in Linode API calls with some 'product/version' (string)\n", "language": { "python": { "mapCase": false } } - }, - "vappIpProtocol": { + } + }, + "type": "object" + }, + "rancher2:index/NodeTemplateNodeTaint:NodeTemplateNodeTaint": { + "properties": { + "effect": { "type": "string", - "description": "vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string)\n", + "description": "Taint effect. Supported values : `\"NoExecute\" | \"NoSchedule\" | \"PreferNoSchedule\"` (string)\n", "language": { "python": { "mapCase": false } } }, - "vappProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "vSphere vApp properties (list)\n", + "key": { + "type": "string", + "description": "Taint key (string)\n", "language": { "python": { "mapCase": false } } }, - "vappTransport": { + "timeAdded": { "type": "string", - "description": "vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string)\n", + "description": "Taint time added (string)\n", "language": { "python": { "mapCase": false } } }, - "vcenter": { + "value": { "type": "string", - "description": "vSphere IP/hostname for vCenter (string)\n", + "description": "Taint value (string)\n", "language": { "python": { "mapCase": false } } - }, - "vcenterPort": { + } + }, + "type": "object", + "required": [ + "key", + "value" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "key", + "timeAdded", + "value" + ] + } + } + }, + "rancher2:index/NodeTemplateOpennebulaConfig:NodeTemplateOpennebulaConfig": { + "properties": { + "b2dSize": { "type": "string", - "description": "vSphere Port for vCenter Default `443` (string)\n", + "description": "Size of the Volatile disk in MB - only for b2d (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/MultiClusterAppAnswer:MultiClusterAppAnswer": { - "properties": { - "clusterId": { + }, + "cpu": { "type": "string", - "description": "Cluster ID for answer (string)\n", + "description": "CPU value for the VM (string)\n", "language": { "python": { "mapCase": false } } }, - "projectId": { + "devPrefix": { "type": "string", - "description": "Project ID for target (string)\n", + "description": "Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string)\n", "language": { "python": { "mapCase": false } } }, - "values": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Key/values for answer (map)\n", + "disableVnc": { + "type": "boolean", + "description": "VNC is enabled by default. Disable it with this flag (bool)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "clusterId", - "projectId", - "values" - ] - } - } - }, - "rancher2:index/MultiClusterAppMember:MultiClusterAppMember": { - "properties": { - "accessType": { + }, + "diskResize": { "type": "string", - "description": "Member access type. Valid values: `[\"member\" | \"owner\" | \"read-only\"]` (string)\n", + "description": "Size of the disk for the VM in MB (string)\n", "language": { "python": { "mapCase": false } } }, - "groupPrincipalId": { + "imageId": { "type": "string", - "description": "Member group principal id (string)\n", + "description": "OpenStack image id to use for the instance. Conflicts with `image_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "userPrincipalId": { + "imageName": { "type": "string", - "description": "Member user principal id (string)\n", + "description": "OpenStack image name to use for the instance. Conflicts with `image_id` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/MultiClusterAppTarget:MultiClusterAppTarget": { - "properties": { - "appId": { + }, + "imageOwner": { "type": "string", - "description": "App ID for target (string)\n", + "description": "Owner of the image to use as the VM OS (string)\n", "language": { "python": { "mapCase": false } } }, - "healthState": { + "memory": { "type": "string", - "description": "App health state for target (string)\n", + "description": "Size of the memory for the VM in MB (string)\n", "language": { "python": { "mapCase": false } } }, - "projectId": { + "networkId": { "type": "string", - "description": "Project ID for target (string)\n", + "description": "Opennebula network ID to connect the machine to. Conflicts with `network_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "state": { + "networkName": { "type": "string", - "description": "App state for target (string)\n", + "description": "Opennebula network to connect the machine to. Conflicts with `network_id` (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "projectId" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "appId", - "healthState", - "projectId", - "state" - ] - } - } - }, - "rancher2:index/MultiClusterAppUpgradeStrategy:MultiClusterAppUpgradeStrategy": { - "properties": { - "rollingUpdate": { - "$ref": "#/types/rancher2:index/MultiClusterAppUpgradeStrategyRollingUpdate:MultiClusterAppUpgradeStrategyRollingUpdate", - "description": "Upgrade strategy rolling update (list MaxItems:1)\n", + }, + "networkOwner": { + "type": "string", + "description": "Opennebula user ID of the Network to connect the machine to (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/MultiClusterAppUpgradeStrategyRollingUpdate:MultiClusterAppUpgradeStrategyRollingUpdate": { - "properties": { - "batchSize": { - "type": "integer", - "description": "Rolling update batch size. Default `1` (int)\n", + }, + "password": { + "type": "string", + "description": "vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "interval": { - "type": "integer", - "description": "Rolling update interval. Default `1` (int)\n", + "sshUser": { + "type": "string", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/NamespaceContainerResourceLimit:NamespaceContainerResourceLimit": { - "properties": { - "limitsCpu": { + }, + "templateId": { "type": "string", - "description": "Limit for limits cpu in namespace (string)\n", + "description": "Opennebula template ID to use. Conflicts with `template_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "limitsMemory": { + "templateName": { "type": "string", - "description": "Limit for limits memory in namespace (string)\n", + "description": "Name of the Opennbula template to use. Conflicts with `template_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "requestsCpu": { + "user": { "type": "string", - "description": "Limit for requests cpu in namespace (string)\n", + "description": "Set the user for the XML-RPC API authentication (string)\n", "language": { "python": { "mapCase": false } } }, - "requestsMemory": { + "vcpu": { "type": "string", - "description": "Limit for requests memory in namespace (string)\n", + "description": "VCPUs for the VM (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/NamespaceResourceQuota:NamespaceResourceQuota": { - "properties": { - "limit": { - "$ref": "#/types/rancher2:index/NamespaceResourceQuotaLimit:NamespaceResourceQuotaLimit", - "description": "Resource quota limit for namespace (list maxitems:1)\n", + }, + "xmlRpcUrl": { + "type": "string", + "description": "Set the url for the Opennebula XML-RPC API (string)\n", "language": { "python": { "mapCase": false @@ -16722,483 +19786,472 @@ }, "type": "object", "required": [ - "limit" + "password", + "user", + "xmlRpcUrl" ] }, - "rancher2:index/NamespaceResourceQuotaLimit:NamespaceResourceQuotaLimit": { + "rancher2:index/NodeTemplateOpenstackConfig:NodeTemplateOpenstackConfig": { "properties": { - "configMaps": { - "type": "string", - "description": "Limit for config maps in namespace (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "limitsCpu": { + "activeTimeout": { "type": "string", - "description": "Limit for limits cpu in namespace (string)\n", + "description": "OpenStack active timeout Default `200` (string)\n", "language": { "python": { "mapCase": false } } }, - "limitsMemory": { + "applicationCredentialId": { "type": "string", - "description": "Limit for limits memory in namespace (string)\n", + "description": "OpenStack application credential id. Conflicts with `application_credential_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "persistentVolumeClaims": { + "applicationCredentialName": { "type": "string", - "description": "Limit for persistent volume claims in namespace (string)\n", + "description": "OpenStack application credential name. Conflicts with `application_credential_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "pods": { + "applicationCredentialSecret": { "type": "string", - "description": "Limit for pods in namespace (string)\n", + "description": "OpenStack application credential secret (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "replicationControllers": { + "authUrl": { "type": "string", - "description": "Limit for replication controllers in namespace (string)\n", + "description": "OpenStack authentication URL (string)\n", "language": { "python": { "mapCase": false } } }, - "requestsCpu": { + "availabilityZone": { "type": "string", - "description": "Limit for requests cpu in namespace (string)\n", + "description": "OpenStack availability zone (string)\n", "language": { "python": { "mapCase": false } } }, - "requestsMemory": { - "type": "string", - "description": "Limit for requests memory in namespace (string)\n", + "bootFromVolume": { + "type": "boolean", + "description": "Enable booting from volume. Default is `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "requestsStorage": { + "cacert": { "type": "string", - "description": "Limit for requests storage in namespace (string)\n", + "description": "CA certificate bundle to verify against (string)\n", "language": { "python": { "mapCase": false } } }, - "secrets": { - "type": "string", - "description": "Limit for secrets in namespace (string)\n", + "configDrive": { + "type": "boolean", + "description": "Enables the OpenStack config drive for the instance. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "services": { + "domainId": { "type": "string", + "description": "OpenStack domain ID. Identity v3 only. Conflicts with `domain_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "servicesLoadBalancers": { + "domainName": { "type": "string", - "description": "Limit for services load balancers in namespace (string)\n", + "description": "OpenStack domain name. Identity v3 only. Conflicts with `domain_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "servicesNodePorts": { - "type": "string", - "description": "Limit for services node ports in namespace (string)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/NodePoolNodeTaint:NodePoolNodeTaint": { - "properties": { - "effect": { + "endpointType": { "type": "string", - "description": "Taint effect. Supported values : `\"NoExecute\" | \"NoSchedule\" | \"PreferNoSchedule\"` (string)\n", + "description": "OpenStack endpoint type. adminURL, internalURL or publicURL (string)\n", "language": { "python": { "mapCase": false } } }, - "key": { + "flavorId": { "type": "string", - "description": "Taint key (string)\n", + "description": "OpenStack flavor id to use for the instance. Conflicts with `flavor_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "timeAdded": { + "flavorName": { "type": "string", - "description": "Taint time added (string)\n", + "description": "OpenStack flavor name to use for the instance. Conflicts with `flavor_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "value": { + "floatingIpPool": { "type": "string", - "description": "Taint value (string)\n", + "description": "OpenStack floating IP pool to get an IP from to assign to the instance (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "key", - "value" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "key", - "timeAdded", - "value" - ] - } - } - }, - "rancher2:index/NodeTemplateAmazonec2Config:NodeTemplateAmazonec2Config": { - "properties": { - "accessKey": { + }, + "imageId": { "type": "string", - "description": "AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "OpenStack image id to use for the instance. Conflicts with `image_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "ami": { + "imageName": { "type": "string", - "description": "AWS machine image (string)\n", + "description": "OpenStack image name to use for the instance. Conflicts with `image_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "blockDurationMinutes": { - "type": "string", - "description": "AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string)\n", + "insecure": { + "type": "boolean", + "description": "Disable TLS credential checking. Default `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "deviceName": { + "ipVersion": { "type": "string", - "description": "AWS root device name. Default `/dev/sda1` (string)\n", + "description": "OpenStack version of IP address assigned for the machine Default `4` (string)\n", "language": { "python": { "mapCase": false } } }, - "encryptEbsVolume": { - "type": "boolean", - "description": "Encrypt EBS volume. Default `false` (bool)\n", + "keypairName": { + "type": "string", + "description": "OpenStack keypair to use to SSH to the instance (string)\n", "language": { "python": { "mapCase": false } } }, - "endpoint": { + "netId": { "type": "string", - "description": "Optional endpoint URL (hostname only or fully qualified URI) (string)\n", + "description": "OpenStack network id the machine will be connected on. Conflicts with `net_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "iamInstanceProfile": { + "netName": { "type": "string", - "description": "AWS IAM Instance Profile (string)\n", + "description": "OpenStack network name the machine will be connected on. Conflicts with `net_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "insecureTransport": { + "novaNetwork": { "type": "boolean", - "description": "Disable SSL when sending requests (bool)\n", + "description": "Use the nova networking services instead of neutron (string)\n", "language": { "python": { "mapCase": false } } }, - "instanceType": { + "password": { "type": "string", - "description": "Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string)\n", + "description": "vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "keypairName": { + "privateKeyFile": { "type": "string", - "description": "OpenStack keypair to use to SSH to the instance (string)\n", + "description": "Private key content to use for SSH (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "kmsKey": { + "region": { "type": "string", - "description": "Custom KMS key ID using the AWS Managed CMK (string)\n", + "description": "AWS region. Default `eu-west-2` (string)\n", "language": { "python": { "mapCase": false } } }, - "monitoring": { - "type": "boolean", - "description": "Enable monitoring for droplet. Default `false` (bool)\n", + "secGroups": { + "type": "string", + "description": "OpenStack comma separated security groups for the machine (string)\n", "language": { "python": { "mapCase": false } } }, - "openPorts": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Make the specified port number accessible from the Internet. (list)\n", + "sshPort": { + "type": "string", + "description": "If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "privateAddressOnly": { - "type": "boolean", - "description": "Only use a private IP address. Default `false` (bool)\n", + "sshUser": { + "type": "string", + "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "region": { + "tenantId": { "type": "string", - "description": "OpenStack region name (string)\n", + "description": "OpenStack tenant id. Conflicts with `tenant_name` (string)\n", "language": { "python": { "mapCase": false } } }, - "requestSpotInstance": { - "type": "boolean", - "description": "Set this flag to request spot instance. Default `false` (bool)\n", + "tenantName": { + "type": "string", + "description": "OpenStack tenant name. Conflicts with `tenant_id` (string)\n", "language": { "python": { "mapCase": false } } }, - "retries": { + "userDataFile": { "type": "string", - "description": "Set retry count for recoverable failures (use -1 to disable). Default `5` (string)\n", + "description": "File containing an openstack userdata script (string)\n", "language": { "python": { "mapCase": false } } }, - "rootSize": { + "username": { "type": "string", - "description": "AWS root disk size (in GB). Default `16` (string)\n", + "description": "vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } } }, - "secretKey": { + "volumeDevicePath": { "type": "string", - "description": "AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string)\n", "language": { "python": { "mapCase": false } } }, - "securityGroupReadonly": { - "type": "boolean", - "description": "Skip adding default rules to security groups (bool)\n", + "volumeId": { + "type": "string", + "description": "OpenStack volume id of existing volume. Applicable only when `boot_from_volume` is `true` (string)\n", "language": { "python": { "mapCase": false } } }, - "securityGroups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "AWS VPC security group. (list)\n", + "volumeName": { + "type": "string", + "description": "OpenStack volume name of existing volume. Applicable only when `boot_from_volume` is `true` (string)\n", "language": { "python": { "mapCase": false } } }, - "sessionToken": { + "volumeSize": { "type": "string", - "description": "AWS Session Token (string)\n", + "description": "OpenStack volume size (GiB). Required when `boot_from_volume` is `true` (string)\n", "language": { "python": { "mapCase": false } } }, - "spotPrice": { + "volumeType": { "type": "string", - "description": "AWS spot instance bid price (in dollar). Default `0.50` (string)\n", + "description": "OpenStack volume type. Required when `boot_from_volume` is `true` and openstack cloud does not have a default volume type (string)\n", "language": { "python": { "mapCase": false } } - }, - "sshKeypath": { + } + }, + "type": "object", + "required": [ + "authUrl", + "availabilityZone", + "region" + ] + }, + "rancher2:index/NodeTemplateOutscaleConfig:NodeTemplateOutscaleConfig": { + "properties": { + "accessKey": { "type": "string", - "description": "SSH Key for Instance (string)\n", + "description": "Outscale Access Key (string)\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "extraTagsAlls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra tags for all created resources (e.g. key1=value1,key2=value2) (list)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { - "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", + "extraTagsInstances": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Extra tags only for instances (e.g. key1=value1,key2=value2) (list)\n", "language": { "python": { "mapCase": false } } }, - "subnetId": { + "instanceType": { "type": "string", - "description": "AWS VPC subnet id (string)\n", + "description": "Outscale VM type. Default `tinav2.c1r2p3` (string)\n", "language": { "python": { "mapCase": false } } }, - "tags": { + "region": { "type": "string", - "description": "vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list)\n", + "description": "AWS region. Default `eu-west-2` (string)\n", "language": { "python": { "mapCase": false } } }, - "useEbsOptimizedInstance": { - "type": "boolean", - "description": "Create an EBS optimized instance. Default `false` (bool)\n", + "rootDiskIops": { + "type": "integer", + "description": "Iops for io1 Root Disk. From 1 to 13000.\n", "language": { "python": { "mapCase": false } } }, - "usePrivateAddress": { - "type": "boolean", - "description": "Force the usage of private IP address. Default `false` (bool)\n", + "rootDiskSize": { + "type": "integer", + "description": "Size of the Root Disk (in GB). From 1 to 14901.\n", "language": { "python": { "mapCase": false } } }, - "userdata": { + "rootDiskType": { "type": "string", - "description": "Path to file with cloud-init user-data (string)\n", + "description": "Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'.\n", "language": { "python": { "mapCase": false } } }, - "volumeType": { + "secretKey": { "type": "string", - "description": "OpenStack volume type. Required when `boot_from_volume` is `true` and openstack cloud does not have a default volume type (string)\n", + "description": "Outscale Secret Key (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "vpcId": { - "type": "string", - "description": "AWS VPC id. (string)\n", + "securityGroupIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Ids of user defined Security Groups to add to the machine. (list)\n", "language": { "python": { "mapCase": false } } }, - "zone": { + "sourceOmi": { "type": "string", - "description": "AWS zone for instance (i.e. a,b,c,d,e) (string)\n", + "description": "Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string)\n", "language": { "python": { "mapCase": false @@ -17208,184 +20261,206 @@ }, "type": "object", "required": [ - "ami", - "region", - "securityGroups", - "subnetId", - "vpcId", - "zone" + "accessKey", + "secretKey" ] }, - "rancher2:index/NodeTemplateAzureConfig:NodeTemplateAzureConfig": { + "rancher2:index/NodeTemplateVsphereConfig:NodeTemplateVsphereConfig": { "properties": { - "availabilitySet": { + "boot2dockerUrl": { "type": "string", - "description": "Azure Availability Set to place the virtual machine into. Default `docker-machine` (string)\n", + "description": "vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string)\n", "language": { "python": { "mapCase": false } } }, - "clientId": { + "cfgparams": { + "type": "array", + "items": { + "type": "string" + }, + "description": "vSphere vm configuration parameters (used for guestinfo) (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloneFrom": { "type": "string", - "description": "Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "If you choose creation type vm (clone vm) a name of what vm you want to clone is required. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "clientSecret": { + "cloudConfig": { "type": "string", - "description": "Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Cloud Config YAML content to inject as user-data. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "customData": { + "cloudinit": { "type": "string", - "description": "Path to file with custom-data (string)\n", + "description": "vSphere cloud-init file or url to set in the guestinfo (string)\n", "language": { "python": { "mapCase": false } } }, - "diskSize": { + "contentLibrary": { "type": "string", - "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", + "description": "If you choose to clone from a content library template specify the name of the library. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "dns": { + "cpuCount": { "type": "string", - "description": "A unique DNS label for the public IP adddress (string)\n", + "description": "vSphere CPU number for docker VM. Default `2` (string)\n", "language": { "python": { "mapCase": false } } }, - "dockerPort": { + "creationType": { "type": "string", - "description": "Docker Port. Default `2376` (string)\n", + "description": "Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "environment": { + "customAttributes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "vSphere custom attributes, format key/value e.g. `200=my custom value`. From Rancher v2.3.3 (List)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "datacenter": { "type": "string", - "description": "Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string)\n", + "description": "vSphere datacenter for docker VM (string)\n", "language": { "python": { "mapCase": false } } }, - "faultDomainCount": { + "datastore": { "type": "string", - "description": "Fault domain count to use for availability set. Default `3` (string)\n", + "description": "vSphere datastore for docker VM (string)\n", "language": { "python": { "mapCase": false } } }, - "image": { + "datastoreCluster": { "type": "string", - "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", + "description": "vSphere datastore cluster for virtual machine. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "location": { + "diskSize": { "type": "string", - "description": "Azure region to create the virtual machine. Default `westus` (string)\n", + "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", "language": { "python": { "mapCase": false } } }, - "managedDisks": { - "type": "boolean", - "description": "Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool)\n", + "folder": { + "type": "string", + "description": "vSphere folder for the docker VM. This folder must already exist in the datacenter (string)\n", "language": { "python": { "mapCase": false } } }, - "noPublicIp": { - "type": "boolean", - "description": "Do not create a public IP address for the machine. Default `false` (bool)\n", + "hostsystem": { + "type": "string", + "description": "vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string)\n", "language": { "python": { "mapCase": false } } }, - "nsg": { + "memorySize": { "type": "string", - "description": "Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string)\n", + "description": "vSphere size of memory for docker VM (in MB). Default `2048` (string)\n", "language": { "python": { "mapCase": false } } }, - "openPorts": { + "networks": { "type": "array", "items": { "type": "string" }, - "description": "Make the specified port number accessible from the Internet. (list)\n", + "description": "vSphere network where the docker VM will be attached (list)\n", "language": { "python": { "mapCase": false } } }, - "plan": { + "password": { "type": "string", - "description": "Azure marketplace purchase plan for Azure Virtual Machine. Format is `\u003cpublisher\u003e:\u003cproduct\u003e:\u003cplan\u003e`. Just for Rancher v2.6.3 and above. (string)\n", + "description": "vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "privateIpAddress": { + "pool": { "type": "string", - "description": "Specify a static private IP address for the machine. (string)\n", + "description": "vSphere resource pool for docker VM (string)\n", "language": { "python": { "mapCase": false } } }, - "resourceGroup": { + "sshPassword": { "type": "string", - "description": "Azure Resource Group name (will be created if missing). Default `docker-machine` (string)\n", + "description": "If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "size": { + "sshPort": { "type": "string", - "description": "Digital Ocean size. Default `s-1vcpu-1gb` (string)\n", + "description": "If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false @@ -17401,72 +20476,87 @@ } } }, - "staticPublicIp": { - "type": "boolean", - "description": "Assign a static public IP address to the machine. Default `false` (bool)\n", + "sshUserGroup": { + "type": "string", + "description": "If using a non-B2D image the uploaded keys will need chown'ed. Default `staff`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } }, - "storageType": { - "type": "string", - "description": "Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string)\n", + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list)\n", "language": { "python": { "mapCase": false } } }, - "subnet": { + "username": { "type": "string", - "description": "Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string)\n", + "description": "vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } } }, - "subnetPrefix": { + "vappIpAllocationPolicy": { "type": "string", - "description": "Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string)\n", + "description": "vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string)\n", "language": { "python": { "mapCase": false } } }, - "subscriptionId": { + "vappIpProtocol": { "type": "string", - "description": "Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string)\n", "language": { "python": { "mapCase": false } } }, - "updateDomainCount": { + "vappProperties": { + "type": "array", + "items": { + "type": "string" + }, + "description": "vSphere vApp properties (list)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "vappTransport": { "type": "string", - "description": "Update domain count to use for availability set. Default `5` (string)\n", + "description": "vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string)\n", "language": { "python": { "mapCase": false } } }, - "usePrivateIp": { - "type": "boolean", - "description": "Use private IP address of the machine to connect. Default `false` (bool)\n", + "vcenter": { + "type": "string", + "description": "vSphere IP/hostname for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", "language": { "python": { "mapCase": false } } }, - "vnet": { + "vcenterPort": { "type": "string", - "description": "Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string)\n", + "description": "vSphere Port for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x. Default `443` (string)\n", "language": { "python": { "mapCase": false @@ -17476,128 +20566,190 @@ }, "type": "object" }, - "rancher2:index/NodeTemplateDigitaloceanConfig:NodeTemplateDigitaloceanConfig": { + "rancher2:index/NotifierDingtalkConfig:NotifierDingtalkConfig": { "properties": { - "accessToken": { + "proxyUrl": { "type": "string", - "description": "Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Wechat proxy url (string)\n", "language": { "python": { "mapCase": false } } }, - "backups": { - "type": "boolean", - "description": "Enable backups for droplet. Default `false` (bool)\n", + "secret": { + "type": "string", + "description": "Wechat agent ID (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "image": { + "url": { "type": "string", - "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", + "description": "Webhook url (string)\n", "language": { "python": { "mapCase": false } } - }, - "ipv6": { - "type": "boolean", - "description": "Enable ipv6 for droplet. Default `false` (bool)\n", + } + }, + "type": "object", + "required": [ + "url" + ] + }, + "rancher2:index/NotifierMsteamsConfig:NotifierMsteamsConfig": { + "properties": { + "proxyUrl": { + "type": "string", + "description": "Wechat proxy url (string)\n", "language": { "python": { "mapCase": false } } }, - "monitoring": { - "type": "boolean", - "description": "Enable monitoring for droplet. Default `false` (bool)\n", + "url": { + "type": "string", + "description": "Webhook url (string)\n", "language": { "python": { "mapCase": false } } - }, - "privateNetworking": { - "type": "boolean", - "description": "Enable private networking for droplet. Default `false` (bool)\n", + } + }, + "type": "object", + "required": [ + "url" + ] + }, + "rancher2:index/NotifierPagerdutyConfig:NotifierPagerdutyConfig": { + "properties": { + "proxyUrl": { + "type": "string", + "description": "Wechat proxy url (string)\n", "language": { "python": { "mapCase": false } } }, - "region": { + "serviceKey": { "type": "string", - "description": "OpenStack region name (string)\n", + "description": "Pagerduty service key (string)\n", "language": { "python": { "mapCase": false } } - }, - "size": { + } + }, + "type": "object", + "required": [ + "serviceKey" + ] + }, + "rancher2:index/NotifierSlackConfig:NotifierSlackConfig": { + "properties": { + "defaultRecipient": { "type": "string", - "description": "Digital Ocean size. Default `s-1vcpu-1gb` (string)\n", + "description": "Wechat default recipient (string)\n", "language": { "python": { "mapCase": false } } }, - "sshKeyFingerprint": { + "proxyUrl": { "type": "string", - "description": "SSH key fingerprint (string)\n", + "description": "Wechat proxy url (string)\n", "language": { "python": { "mapCase": false } } }, - "sshKeyPath": { + "url": { "type": "string", - "description": "SSH private key path (string)\n", + "description": "Webhook url (string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "defaultRecipient", + "url" + ] + }, + "rancher2:index/NotifierSmtpConfig:NotifierSmtpConfig": { + "properties": { + "defaultRecipient": { + "type": "string", + "description": "Wechat default recipient (string)\n", "language": { "python": { "mapCase": false } } }, - "sshPort": { + "host": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string)\n", + "description": "SMTP host (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "password": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", + "description": "SMTP password (string)\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "port": { + "type": "integer", + "description": "SMTP port (int)\n", "language": { "python": { "mapCase": false } } }, - "tags": { + "sender": { "type": "string", - "description": "vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list)\n", + "description": "SMTP sender (string)\n", "language": { "python": { "mapCase": false } } }, - "userdata": { + "tls": { + "type": "boolean", + "description": "SMTP tls. Default `true` (bool)\n", + "language": { + "python": { + "mapCase": false + } + } + }, + "username": { "type": "string", - "description": "Path to file with cloud-init user-data (string)\n", + "description": "SMTP username (string)\n", "language": { "python": { "mapCase": false @@ -17605,112 +20757,153 @@ } } }, - "type": "object" + "type": "object", + "required": [ + "defaultRecipient", + "host", + "port", + "sender" + ] }, - "rancher2:index/NodeTemplateHarvesterConfig:NodeTemplateHarvesterConfig": { + "rancher2:index/NotifierWebhookConfig:NotifierWebhookConfig": { "properties": { - "cpuCount": { + "proxyUrl": { "type": "string", - "description": "vSphere CPU number for docker VM. Default `2` (string)\n", + "description": "Wechat proxy url (string)\n", "language": { "python": { "mapCase": false } } }, - "diskBus": { + "url": { "type": "string", - "description": "Disk bus, Default `virtio` (string)\n", + "description": "Webhook url (string)\n", "language": { "python": { "mapCase": false } } - }, - "diskSize": { + } + }, + "type": "object", + "required": [ + "url" + ] + }, + "rancher2:index/NotifierWechatConfig:NotifierWechatConfig": { + "properties": { + "agent": { "type": "string", - "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", + "description": "Wechat agent ID (string)\n", "language": { "python": { "mapCase": false } } }, - "imageName": { + "corp": { "type": "string", - "description": "OpenStack image name to use for the instance. Conflicts with `image_id` (string)\n", + "description": "Wechat corporation ID (string)\n", "language": { "python": { "mapCase": false } } }, - "memorySize": { + "defaultRecipient": { "type": "string", - "description": "vSphere size of memory for docker VM (in MB). Default `2048` (string)\n", + "description": "Wechat default recipient (string)\n", "language": { "python": { "mapCase": false } } }, - "networkData": { + "proxyUrl": { "type": "string", - "description": "NetworkData content of cloud-init, base64 is supported (string)\n", + "description": "Wechat proxy url (string)\n", "language": { "python": { "mapCase": false } } }, - "networkModel": { + "recipientType": { "type": "string", - "description": "Network model, Default `virtio` (string)\n", + "description": "Wechat recipient type. Allowed values: `party` | `tag` | `user` (string)\n", "language": { "python": { "mapCase": false } } }, - "networkName": { + "secret": { "type": "string", - "description": "Opennebula network to connect the machine to. Conflicts with `network_id` (string)\n", + "description": "Wechat agent ID (string)\n", "language": { "python": { "mapCase": false } - } - }, - "sshPassword": { + }, + "secret": true + } + }, + "type": "object", + "required": [ + "agent", + "corp", + "defaultRecipient", + "secret" + ] + }, + "rancher2:index/PodSecurityPolicyTemplateAllowedCsiDriver:PodSecurityPolicyTemplateAllowedCsiDriver": { + "properties": { + "name": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string)\n", + "description": "The name of the PodSecurityPolicyTemplate (string)\n", "language": { "python": { "mapCase": false } } - }, - "sshUser": { + } + }, + "type": "object", + "required": [ + "name" + ] + }, + "rancher2:index/PodSecurityPolicyTemplateAllowedFlexVolume:PodSecurityPolicyTemplateAllowedFlexVolume": { + "properties": { + "driver": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", "language": { "python": { "mapCase": false } } - }, - "userData": { + } + }, + "type": "object", + "required": [ + "driver" + ] + }, + "rancher2:index/PodSecurityPolicyTemplateAllowedHostPath:PodSecurityPolicyTemplateAllowedHostPath": { + "properties": { + "pathPrefix": { "type": "string", - "description": "UserData content of cloud-init, base64 is supported (string)\n", + "description": "(string)\n", "language": { "python": { "mapCase": false } } }, - "vmNamespace": { - "type": "string", - "description": "Virtual machine namespace e.g. `default` (string)\n", + "readOnly": { + "type": "boolean", + "description": "(string)\n", "language": { "python": { "mapCase": false @@ -17720,92 +20913,139 @@ }, "type": "object", "required": [ - "imageName", - "networkName", - "sshUser", - "vmNamespace" + "pathPrefix" ] }, - "rancher2:index/NodeTemplateHetznerConfig:NodeTemplateHetznerConfig": { + "rancher2:index/PodSecurityPolicyTemplateFsGroup:PodSecurityPolicyTemplateFsGroup": { "properties": { - "apiToken": { - "type": "string", - "description": "Hetzner Cloud project API token (string)\n", + "ranges": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/PodSecurityPolicyTemplateFsGroupRange:PodSecurityPolicyTemplateFsGroupRange" + }, + "description": "(list)\n", "language": { "python": { "mapCase": false } } }, - "image": { + "rule": { "type": "string", - "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", + "description": "(string)\n", "language": { "python": { "mapCase": false } } - }, - "networks": { - "type": "string", - "description": "Comma-separated list of network IDs or names which should be attached to the server private network interface (string)\n", + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "ranges" + ] + } + } + }, + "rancher2:index/PodSecurityPolicyTemplateFsGroupRange:PodSecurityPolicyTemplateFsGroupRange": { + "properties": { + "max": { + "type": "integer", + "description": "(int)\n", "language": { "python": { "mapCase": false } } }, - "serverLabels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Map of the labels which will be assigned to the server. This argument is only available on [Hetzner Docker Node Driver:v3.6.0](https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/tag/3.6.0) and above (map)\n", + "min": { + "type": "integer", + "description": "(int)\n", "language": { "python": { "mapCase": false } } - }, - "serverLocation": { - "type": "string", - "description": "Hetzner Cloud datacenter. Default `nbg1` (string)\n", + } + }, + "type": "object", + "required": [ + "max", + "min" + ] + }, + "rancher2:index/PodSecurityPolicyTemplateHostPort:PodSecurityPolicyTemplateHostPort": { + "properties": { + "max": { + "type": "integer", + "description": "(int)\n", "language": { "python": { "mapCase": false } } }, - "serverType": { - "type": "string", - "description": "Hetzner Cloud server type. Default `cx11` (string)\n", + "min": { + "type": "integer", + "description": "(int)\n", "language": { "python": { "mapCase": false } } - }, - "usePrivateNetwork": { - "type": "boolean", - "description": "Use private network. Default `false` (bool)\n", + } + }, + "type": "object", + "required": [ + "max", + "min" + ] + }, + "rancher2:index/PodSecurityPolicyTemplateRunAsGroup:PodSecurityPolicyTemplateRunAsGroup": { + "properties": { + "ranges": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/PodSecurityPolicyTemplateRunAsGroupRange:PodSecurityPolicyTemplateRunAsGroupRange" + }, + "description": "(list)\n", "language": { "python": { "mapCase": false } } }, - "userdata": { + "rule": { "type": "string", - "description": "Path to file with cloud-init user-data (string)\n", + "description": "(string)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "rule" + ] + }, + "rancher2:index/PodSecurityPolicyTemplateRunAsGroupRange:PodSecurityPolicyTemplateRunAsGroupRange": { + "properties": { + "max": { + "type": "integer", + "description": "(int)\n", "language": { "python": { "mapCase": false } } }, - "volumes": { - "type": "string", - "description": "Comma-separated list of volume IDs or names which should be attached to the server (string)\n", + "min": { + "type": "integer", + "description": "(int)\n", "language": { "python": { "mapCase": false @@ -17815,149 +21055,209 @@ }, "type": "object", "required": [ - "apiToken" + "max", + "min" ] }, - "rancher2:index/NodeTemplateLinodeConfig:NodeTemplateLinodeConfig": { + "rancher2:index/PodSecurityPolicyTemplateRunAsUser:PodSecurityPolicyTemplateRunAsUser": { "properties": { - "authorizedUsers": { - "type": "string", - "description": "Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string)\n", + "ranges": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/PodSecurityPolicyTemplateRunAsUserRange:PodSecurityPolicyTemplateRunAsUserRange" + }, + "description": "(list)\n", "language": { "python": { "mapCase": false } } }, - "createPrivateIp": { - "type": "boolean", - "description": "Create private IP for the instance. Default `false` (bool)\n", + "rule": { + "type": "string", + "description": "(string)\n", "language": { "python": { "mapCase": false } } - }, - "dockerPort": { - "type": "string", - "description": "Docker Port. Default `2376` (string)\n", + } + }, + "type": "object", + "required": [ + "rule" + ] + }, + "rancher2:index/PodSecurityPolicyTemplateRunAsUserRange:PodSecurityPolicyTemplateRunAsUserRange": { + "properties": { + "max": { + "type": "integer", + "description": "(int)\n", "language": { "python": { "mapCase": false } } }, - "image": { - "type": "string", - "description": "Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string)\n", + "min": { + "type": "integer", + "description": "(int)\n", "language": { "python": { "mapCase": false } } - }, - "instanceType": { - "type": "string", - "description": "Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string)\n", + } + }, + "type": "object", + "required": [ + "max", + "min" + ] + }, + "rancher2:index/PodSecurityPolicyTemplateRuntimeClass:PodSecurityPolicyTemplateRuntimeClass": { + "properties": { + "allowedRuntimeClassNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(list)\n", "language": { "python": { "mapCase": false } } }, - "label": { + "defaultRuntimeClassName": { "type": "string", - "description": "Linode Instance Label. (string)\n", + "description": "(string)\n", "language": { "python": { "mapCase": false } } - }, - "region": { + } + }, + "type": "object", + "required": [ + "allowedRuntimeClassNames" + ] + }, + "rancher2:index/PodSecurityPolicyTemplateSeLinux:PodSecurityPolicyTemplateSeLinux": { + "properties": { + "rule": { "type": "string", - "description": "OpenStack region name (string)\n", + "description": "(string)\n", "language": { "python": { "mapCase": false } } }, - "rootPass": { - "type": "string", - "description": "Root Password (string)\n", + "seLinuxOption": { + "$ref": "#/types/rancher2:index/PodSecurityPolicyTemplateSeLinuxSeLinuxOption:PodSecurityPolicyTemplateSeLinuxSeLinuxOption", + "description": "(list maxitems:1)\n", "language": { "python": { "mapCase": false } } - }, - "sshPort": { + } + }, + "type": "object", + "required": [ + "rule" + ] + }, + "rancher2:index/PodSecurityPolicyTemplateSeLinuxSeLinuxOption:PodSecurityPolicyTemplateSeLinuxSeLinuxOption": { + "properties": { + "level": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string)\n", + "description": "(string)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "role": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", + "description": "(string)\n", "language": { "python": { "mapCase": false } } }, - "stackscript": { + "type": { "type": "string", - "description": "Specifies the Linode StackScript to use to create the instance. (string)\n", + "description": "(string)\n", "language": { "python": { "mapCase": false } } }, - "stackscriptData": { + "user": { "type": "string", - "description": "A JSON string specifying data for the selected StackScript. (string)\n", + "description": "(string)\n", "language": { "python": { "mapCase": false } } - }, - "swapSize": { - "type": "string", - "description": "Linode Instance Swap Size (MB). Default `512` (string)\n", + } + }, + "type": "object" + }, + "rancher2:index/PodSecurityPolicyTemplateSupplementalGroup:PodSecurityPolicyTemplateSupplementalGroup": { + "properties": { + "ranges": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/PodSecurityPolicyTemplateSupplementalGroupRange:PodSecurityPolicyTemplateSupplementalGroupRange" + }, + "description": "(list)\n", "language": { "python": { "mapCase": false } } }, - "tags": { + "rule": { "type": "string", - "description": "vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list)\n", + "description": "(string)\n", "language": { "python": { "mapCase": false } } - }, - "token": { - "type": "string", - "description": "Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "ranges" + ] + } + } + }, + "rancher2:index/PodSecurityPolicyTemplateSupplementalGroupRange:PodSecurityPolicyTemplateSupplementalGroupRange": { + "properties": { + "max": { + "type": "integer", + "description": "(int)\n", "language": { "python": { "mapCase": false } } }, - "uaPrefix": { - "type": "string", - "description": "Prefix the User-Agent in Linode API calls with some 'product/version' (string)\n", + "min": { + "type": "integer", + "description": "(int)\n", "language": { "python": { "mapCase": false @@ -17965,40 +21265,43 @@ } } }, - "type": "object" + "type": "object", + "required": [ + "max", + "min" + ] }, - "rancher2:index/NodeTemplateNodeTaint:NodeTemplateNodeTaint": { + "rancher2:index/ProjectAlertGroupRecipient:ProjectAlertGroupRecipient": { "properties": { - "effect": { - "type": "string", - "description": "Taint effect. Supported values : `\"NoExecute\" | \"NoSchedule\" | \"PreferNoSchedule\"` (string)\n", + "defaultRecipient": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "key": { + "notifierId": { "type": "string", - "description": "Taint key (string)\n", + "description": "Recipient notifier ID (string)\n", "language": { "python": { "mapCase": false } } }, - "timeAdded": { + "notifierType": { "type": "string", - "description": "Taint time added (string)\n", + "description": "Recipient notifier ID. Supported values : `\"pagerduty\" | \"slack\" | \"email\" | \"webhook\" | \"wechat\"` (string)\n", "language": { "python": { "mapCase": false } } }, - "value": { + "recipient": { "type": "string", - "description": "Taint value (string)\n", + "description": "Recipient (string)\n", "language": { "python": { "mapCase": false @@ -18008,186 +21311,228 @@ }, "type": "object", "required": [ - "key", - "value" + "notifierId" ], "language": { "nodejs": { "requiredOutputs": [ - "key", - "timeAdded", - "value" + "notifierId", + "notifierType", + "recipient" ] } } }, - "rancher2:index/NodeTemplateOpennebulaConfig:NodeTemplateOpennebulaConfig": { + "rancher2:index/ProjectAlertRuleMetricRule:ProjectAlertRuleMetricRule": { "properties": { - "b2dSize": { + "comparison": { "type": "string", - "description": "Size of the Volatile disk in MB - only for b2d (string)\n", + "description": "Metric rule comparison. Supported values : `\"equal\" | \"greater-or-equal\" | \"greater-than\" | \"less-or-equal\" | \"less-than\" | \"not-equal\" | \"has-value\"`. Default: `equal` (string)\n", "language": { "python": { "mapCase": false } } }, - "cpu": { + "description": { "type": "string", - "description": "CPU value for the VM (string)\n", + "description": "Metric rule description (string)\n", "language": { "python": { "mapCase": false } } }, - "devPrefix": { + "duration": { "type": "string", - "description": "Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string)\n", + "description": "Metric rule duration (string)\n", "language": { "python": { "mapCase": false } } }, - "disableVnc": { - "type": "boolean", - "description": "VNC is enabled by default. Disable it with this flag (bool)\n", + "expression": { + "type": "string", + "description": "Metric rule expression (string)\n", "language": { "python": { "mapCase": false } } }, - "diskResize": { - "type": "string", - "description": "Size of the disk for the VM in MB (string)\n", + "thresholdValue": { + "type": "number", + "description": "Metric rule threshold value (float64)\n", "language": { "python": { "mapCase": false } } - }, - "imageId": { + } + }, + "type": "object", + "required": [ + "duration", + "expression", + "thresholdValue" + ] + }, + "rancher2:index/ProjectAlertRulePodRule:ProjectAlertRulePodRule": { + "properties": { + "condition": { "type": "string", - "description": "OpenStack image id to use for the instance. Conflicts with `image_name` (string)\n", + "description": "Pod rule condition. Supported values : `\"notrunning\" | \"notscheduled\" | \"restarts\"`. Default: `notrunning` (string)\n", "language": { "python": { "mapCase": false } } }, - "imageName": { + "podId": { "type": "string", - "description": "OpenStack image name to use for the instance. Conflicts with `image_id` (string)\n", + "description": "Pod ID (string)\n", "language": { "python": { "mapCase": false } } }, - "imageOwner": { - "type": "string", - "description": "Owner of the image to use as the VM OS (string)\n", + "restartIntervalSeconds": { + "type": "integer", + "description": "Pod rule restart interval seconds. Default: `300` (int)\n", "language": { "python": { "mapCase": false } } }, - "memory": { - "type": "string", - "description": "Size of the memory for the VM in MB (string)\n", + "restartTimes": { + "type": "integer", + "description": "Pod rule restart times. Default: `3` (int)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "podId" + ] + }, + "rancher2:index/ProjectAlertRuleWorkloadRule:ProjectAlertRuleWorkloadRule": { + "properties": { + "availablePercentage": { + "type": "integer", + "description": "Workload rule available percentage. Default: `70` (int)\n", "language": { "python": { "mapCase": false } } }, - "networkId": { - "type": "string", - "description": "Opennebula network ID to connect the machine to. Conflicts with `network_name` (string)\n", + "selector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Workload rule selector (map)\n", "language": { "python": { "mapCase": false } } }, - "networkName": { + "workloadId": { "type": "string", - "description": "Opennebula network to connect the machine to. Conflicts with `network_id` (string)\n", + "description": "Workload ID (string)\n", "language": { "python": { "mapCase": false } } - }, - "networkOwner": { + } + }, + "type": "object" + }, + "rancher2:index/ProjectContainerResourceLimit:ProjectContainerResourceLimit": { + "properties": { + "limitsCpu": { "type": "string", - "description": "Opennebula user ID of the Network to connect the machine to (string)\n", + "description": "Limit for limits cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "password": { + "limitsMemory": { "type": "string", - "description": "vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Limit for limits memory in project (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "requestsCpu": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", + "description": "Limit for requests cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "templateId": { + "requestsMemory": { "type": "string", - "description": "Opennebula template ID to use. Conflicts with `template_name` (string)\n", + "description": "Limit for requests memory in project (string)\n", "language": { "python": { "mapCase": false } } - }, - "templateName": { + } + }, + "type": "object" + }, + "rancher2:index/ProjectLoggingCustomTargetConfig:ProjectLoggingCustomTargetConfig": { + "properties": { + "certificate": { "type": "string", - "description": "Name of the Opennbula template to use. Conflicts with `template_id` (string)\n", + "description": "SSL certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "user": { + "clientCert": { "type": "string", - "description": "Set the user for the XML-RPC API authentication (string)\n", + "description": "SSL client certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "vcpu": { + "clientKey": { "type": "string", - "description": "VCPUs for the VM (string)\n", + "description": "SSL client key for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "xmlRpcUrl": { + "content": { "type": "string", - "description": "Set the url for the Opennebula XML-RPC API (string)\n", + "description": "Custom target config content (string)\n", "language": { "python": { "mapCase": false @@ -18197,737 +21542,820 @@ }, "type": "object", "required": [ - "password", - "user", - "xmlRpcUrl" + "content" ] }, - "rancher2:index/NodeTemplateOpenstackConfig:NodeTemplateOpenstackConfig": { + "rancher2:index/ProjectLoggingElasticsearchConfig:ProjectLoggingElasticsearchConfig": { "properties": { - "activeTimeout": { + "authPassword": { "type": "string", - "description": "OpenStack active timeout Default `200` (string)\n", + "description": "User password for the elascticsearch service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "applicationCredentialId": { + "authUsername": { "type": "string", - "description": "OpenStack application credential id. Conflicts with `application_credential_name` (string)\n", + "description": "Username for the elascticsearch service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "applicationCredentialName": { + "certificate": { "type": "string", - "description": "OpenStack application credential name. Conflicts with `application_credential_id` (string)\n", + "description": "SSL certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "applicationCredentialSecret": { + "clientCert": { "type": "string", - "description": "OpenStack application credential secret (string)\n", + "description": "SSL client certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "authUrl": { + "clientKey": { "type": "string", - "description": "OpenStack authentication URL (string)\n", + "description": "SSL client key for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "availabilityZone": { + "clientKeyPass": { "type": "string", - "description": "OpenStack availability zone (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "bootFromVolume": { - "type": "boolean", - "description": "Enable booting from volume. Default is `false` (bool)\n", + "description": "SSL client key password for the splunk service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "cacert": { + "dateFormat": { "type": "string", - "description": "CA certificate bundle to verify against (string)\n", + "description": "Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string)\n", "language": { "python": { "mapCase": false } } }, - "configDrive": { - "type": "boolean", - "description": "Enables the OpenStack config drive for the instance. Default `false` (bool)\n", + "endpoint": { + "type": "string", + "description": "Endpoint of the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "domainId": { + "indexPrefix": { "type": "string", - "description": "OpenStack domain ID. Identity v3 only. Conflicts with `domain_name` (string)\n", + "description": "Index prefix for the elascticsearch logs. Default: `local` (string)\n", "language": { "python": { "mapCase": false } } }, - "domainName": { - "type": "string", - "description": "OpenStack domain name. Identity v3 only. Conflicts with `domain_id` (string)\n", + "sslVerify": { + "type": "boolean", + "description": "SSL verify for the syslog service (bool)\n", "language": { "python": { "mapCase": false } } }, - "endpointType": { + "sslVersion": { "type": "string", - "description": "OpenStack endpoint type. adminURL, internalURL or publicURL (string)\n", + "description": "SSL version for the elascticsearch service (string)\n", "language": { "python": { "mapCase": false } } - }, - "flavorId": { + } + }, + "type": "object", + "required": [ + "endpoint" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "endpoint", + "sslVerify" + ] + } + } + }, + "rancher2:index/ProjectLoggingFluentdConfig:ProjectLoggingFluentdConfig": { + "properties": { + "certificate": { "type": "string", - "description": "OpenStack flavor id to use for the instance. Conflicts with `flavor_name` (string)\n", + "description": "SSL certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "flavorName": { - "type": "string", - "description": "OpenStack flavor name to use for the instance. Conflicts with `flavor_id` (string)\n", + "compress": { + "type": "boolean", + "description": "Compress data for the fluentd service (bool)\n", "language": { "python": { "mapCase": false } } }, - "floatingIpPool": { - "type": "string", - "description": "OpenStack floating IP pool to get an IP from to assign to the instance (string)\n", + "enableTls": { + "type": "boolean", + "description": "Enable TLS for the fluentd service (bool)\n", "language": { "python": { "mapCase": false } } }, - "imageId": { - "type": "string", - "description": "OpenStack image id to use for the instance. Conflicts with `image_name` (string)\n", + "fluentServers": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ProjectLoggingFluentdConfigFluentServer:ProjectLoggingFluentdConfigFluentServer" + }, + "description": "Servers for the fluentd service (list)\n", "language": { "python": { "mapCase": false } } - }, - "imageName": { + } + }, + "type": "object", + "required": [ + "fluentServers" + ] + }, + "rancher2:index/ProjectLoggingFluentdConfigFluentServer:ProjectLoggingFluentdConfigFluentServer": { + "properties": { + "endpoint": { "type": "string", - "description": "OpenStack image name to use for the instance. Conflicts with `image_id` (string)\n", + "description": "Endpoint of the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "insecure": { - "type": "boolean", - "description": "Disable TLS credential checking. Default `false` (bool)\n", + "hostname": { + "type": "string", + "description": "Hostname of the fluentd service (string)\n", "language": { "python": { "mapCase": false } } }, - "ipVersion": { + "password": { "type": "string", - "description": "OpenStack version of IP address assigned for the machine Default `4` (string)\n", + "description": "User password of the fluentd service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "keypairName": { + "sharedKey": { "type": "string", - "description": "OpenStack keypair to use to SSH to the instance (string)\n", + "description": "Shared key of the fluentd service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "netId": { - "type": "string", - "description": "OpenStack network id the machine will be connected on. Conflicts with `net_name` (string)\n", + "standby": { + "type": "boolean", + "description": "Standby server of the fluentd service (bool)\n", "language": { "python": { "mapCase": false } } }, - "netName": { + "username": { "type": "string", - "description": "OpenStack network name the machine will be connected on. Conflicts with `net_id` (string)\n", + "description": "Username of the fluentd service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "novaNetwork": { - "type": "boolean", - "description": "Use the nova networking services instead of neutron (string)\n", + "weight": { + "type": "integer", + "description": "Weight of the fluentd server (int)\n", "language": { "python": { "mapCase": false } } - }, - "password": { - "type": "string", - "description": "vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + } + }, + "type": "object", + "required": [ + "endpoint" + ] + }, + "rancher2:index/ProjectLoggingKafkaConfig:ProjectLoggingKafkaConfig": { + "properties": { + "brokerEndpoints": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Kafka endpoints for kafka service. Conflicts with `zookeeper_endpoint` (list)\n", "language": { "python": { "mapCase": false } } }, - "privateKeyFile": { + "certificate": { "type": "string", - "description": "Private key content to use for SSH (string)\n", + "description": "SSL certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "region": { + "clientCert": { "type": "string", - "description": "OpenStack region name (string)\n", + "description": "SSL client certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "secGroups": { + "clientKey": { "type": "string", - "description": "OpenStack comma separated security groups for the machine (string)\n", + "description": "SSL client key for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "sshPort": { + "topic": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string)\n", + "description": "Topic to publish on the kafka service (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "zookeeperEndpoint": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", + "description": "Zookeeper endpoint for kafka service. Conflicts with `broker_endpoints` (string)\n", "language": { "python": { "mapCase": false } } - }, - "tenantId": { + } + }, + "type": "object", + "required": [ + "topic" + ] + }, + "rancher2:index/ProjectLoggingSplunkConfig:ProjectLoggingSplunkConfig": { + "properties": { + "certificate": { "type": "string", - "description": "OpenStack tenant id. Conflicts with `tenant_name` (string)\n", + "description": "SSL certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "tenantName": { + "clientCert": { "type": "string", - "description": "OpenStack tenant name. Conflicts with `tenant_id` (string)\n", + "description": "SSL client certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "userDataFile": { + "clientKey": { "type": "string", - "description": "File containing an openstack userdata script (string)\n", + "description": "SSL client key for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "username": { + "clientKeyPass": { "type": "string", - "description": "vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "SSL client key password for the splunk service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "volumeDevicePath": { + "endpoint": { "type": "string", - "description": "OpenStack volume device path (attaching). Applicable only when `boot_from_volume` is `true`. Omit for auto `/dev/vdb`. (string)\n", + "description": "Endpoint of the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "volumeId": { + "index": { "type": "string", - "description": "OpenStack volume id of existing volume. Applicable only when `boot_from_volume` is `true` (string)\n", + "description": "Index prefix for the splunk logs (string)\n", "language": { "python": { "mapCase": false } } }, - "volumeName": { + "source": { "type": "string", - "description": "OpenStack volume name of existing volume. Applicable only when `boot_from_volume` is `true` (string)\n", + "description": "Date format for the splunk logs (string)\n", "language": { "python": { "mapCase": false } } }, - "volumeSize": { - "type": "string", - "description": "OpenStack volume size (GiB). Required when `boot_from_volume` is `true` (string)\n", + "sslVerify": { + "type": "boolean", + "description": "SSL verify for the syslog service (bool)\n", "language": { "python": { "mapCase": false } } }, - "volumeType": { + "token": { "type": "string", - "description": "OpenStack volume type. Required when `boot_from_volume` is `true` and openstack cloud does not have a default volume type (string)\n", + "description": "Token for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", "required": [ - "authUrl", - "availabilityZone", - "region" - ] + "endpoint", + "token" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "endpoint", + "sslVerify", + "token" + ] + } + } }, - "rancher2:index/NodeTemplateVsphereConfig:NodeTemplateVsphereConfig": { + "rancher2:index/ProjectLoggingSyslogConfig:ProjectLoggingSyslogConfig": { "properties": { - "boot2dockerUrl": { + "certificate": { "type": "string", - "description": "vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string)\n", + "description": "SSL certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } - }, - "cfgparams": { - "type": "array", - "items": { - "type": "string" }, - "description": "vSphere vm configuration parameters (used for guestinfo) (list)\n", + "secret": true + }, + "clientCert": { + "type": "string", + "description": "SSL client certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "cloneFrom": { + "clientKey": { "type": "string", - "description": "If you choose creation type vm (clone vm) a name of what vm you want to clone is required. From Rancher v2.3.3 (string)\n", + "description": "SSL client key for the syslog service (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "cloudConfig": { - "type": "string", - "description": "Cloud Config YAML content to inject as user-data. From Rancher v2.3.3 (string)\n", + "enableTls": { + "type": "boolean", + "description": "Enable TLS for the fluentd service (bool)\n", "language": { "python": { "mapCase": false } } }, - "cloudinit": { + "endpoint": { "type": "string", - "description": "vSphere cloud-init file or url to set in the guestinfo (string)\n", + "description": "Endpoint of the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "contentLibrary": { + "program": { "type": "string", - "description": "If you choose to clone from a content library template specify the name of the library. From Rancher v2.3.3 (string)\n", + "description": "Program for the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "cpuCount": { + "protocol": { "type": "string", - "description": "vSphere CPU number for docker VM. Default `2` (string)\n", + "description": "Protocol for the syslog service. `tcp` and `udp` are supported. Default: `udp` (string)\n", "language": { "python": { "mapCase": false } } }, - "creationType": { + "severity": { "type": "string", - "description": "Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy`. From Rancher v2.3.3 (string)\n", + "description": "Date format for the syslog logs. `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info` and `debug` are supported. Default: `notice` (string)\n", "language": { "python": { "mapCase": false } } }, - "customAttributes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "vSphere custom attributes, format key/value e.g. `200=my custom value`. From Rancher v2.3.3 (List)\n", + "sslVerify": { + "type": "boolean", + "description": "SSL verify for the syslog service (bool)\n", "language": { "python": { "mapCase": false } } }, - "datacenter": { + "token": { "type": "string", - "description": "vSphere datacenter for docker VM (string)\n", + "description": "Token for the syslog service (string)\n", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object", + "required": [ + "endpoint" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "endpoint", + "sslVerify" + ] + } + } + }, + "rancher2:index/ProjectProjectMonitoringInput:ProjectProjectMonitoringInput": { + "properties": { + "answers": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Key/value answers for monitor input (map)\n", "language": { "python": { "mapCase": false } } }, - "datastore": { + "version": { "type": "string", - "description": "vSphere datastore for docker VM (string)\n", + "description": "rancher-monitoring chart version (string)\n", "language": { "python": { "mapCase": false } } - }, - "datastoreCluster": { - "type": "string", - "description": "vSphere datastore cluster for virtual machine. From Rancher v2.3.3 (string)\n", + } + }, + "type": "object" + }, + "rancher2:index/ProjectResourceQuota:ProjectResourceQuota": { + "properties": { + "namespaceDefaultLimit": { + "$ref": "#/types/rancher2:index/ProjectResourceQuotaNamespaceDefaultLimit:ProjectResourceQuotaNamespaceDefaultLimit", + "description": "Default resource quota limit for namespaces in project (list maxitems:1)\n", "language": { "python": { "mapCase": false } } }, - "diskSize": { - "type": "string", - "description": "vSphere size of disk for docker VM (in MB). Default `20480` (string)\n", + "projectLimit": { + "$ref": "#/types/rancher2:index/ProjectResourceQuotaProjectLimit:ProjectResourceQuotaProjectLimit", + "description": "Resource quota limit for project (list maxitems:1)\n", "language": { "python": { "mapCase": false } } - }, - "folder": { + } + }, + "type": "object", + "required": [ + "namespaceDefaultLimit", + "projectLimit" + ] + }, + "rancher2:index/ProjectResourceQuotaNamespaceDefaultLimit:ProjectResourceQuotaNamespaceDefaultLimit": { + "properties": { + "configMaps": { "type": "string", - "description": "vSphere folder for the docker VM. This folder must already exist in the datacenter (string)\n", + "description": "Limit for config maps in project (string)\n", "language": { "python": { "mapCase": false } } }, - "hostsystem": { + "limitsCpu": { "type": "string", - "description": "vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string)\n", + "description": "Limit for limits cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "memorySize": { + "limitsMemory": { "type": "string", - "description": "vSphere size of memory for docker VM (in MB). Default `2048` (string)\n", + "description": "Limit for limits memory in project (string)\n", "language": { "python": { "mapCase": false } } }, - "networks": { - "type": "array", - "items": { - "type": "string" - }, - "description": "vSphere network where the docker VM will be attached (list)\n", + "persistentVolumeClaims": { + "type": "string", + "description": "Limit for persistent volume claims in project (string)\n", "language": { "python": { "mapCase": false } } }, - "password": { + "pods": { "type": "string", - "description": "vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Limit for pods in project (string)\n", "language": { "python": { "mapCase": false } } }, - "pool": { + "replicationControllers": { "type": "string", - "description": "vSphere resource pool for docker VM (string)\n", + "description": "Limit for replication controllers in project (string)\n", "language": { "python": { "mapCase": false } } }, - "sshPassword": { + "requestsCpu": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string)\n", + "description": "Limit for requests cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "sshPort": { + "requestsMemory": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string)\n", + "description": "Limit for requests memory in project (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUser": { + "requestsStorage": { "type": "string", - "description": "If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string)\n", + "description": "Limit for requests storage in project (string)\n", "language": { "python": { "mapCase": false } } }, - "sshUserGroup": { + "secrets": { "type": "string", - "description": "If using a non-B2D image the uploaded keys will need chown'ed. Default `staff`. From Rancher v2.3.3 (string)\n", + "description": "Limit for secrets in project (string)\n", "language": { "python": { "mapCase": false } } }, - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "description": "vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list)\n", + "services": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "servicesLoadBalancers": { + "type": "string", + "description": "Limit for services load balancers in project (string)\n", "language": { "python": { "mapCase": false } } }, - "username": { + "servicesNodePorts": { "type": "string", - "description": "vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Limit for services node ports in project (string)\n", "language": { "python": { "mapCase": false } } - }, - "vappIpAllocationPolicy": { + } + }, + "type": "object" + }, + "rancher2:index/ProjectResourceQuotaProjectLimit:ProjectResourceQuotaProjectLimit": { + "properties": { + "configMaps": { "type": "string", - "description": "vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string)\n", + "description": "Limit for config maps in project (string)\n", "language": { "python": { "mapCase": false } } }, - "vappIpProtocol": { + "limitsCpu": { "type": "string", - "description": "vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string)\n", + "description": "Limit for limits cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "vappProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "vSphere vApp properties (list)\n", + "limitsMemory": { + "type": "string", + "description": "Limit for limits memory in project (string)\n", "language": { "python": { "mapCase": false } } }, - "vappTransport": { + "persistentVolumeClaims": { "type": "string", - "description": "vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string)\n", + "description": "Limit for persistent volume claims in project (string)\n", "language": { "python": { "mapCase": false } } }, - "vcenter": { + "pods": { "type": "string", - "description": "vSphere IP/hostname for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string)\n", + "description": "Limit for pods in project (string)\n", "language": { "python": { "mapCase": false } } }, - "vcenterPort": { + "replicationControllers": { "type": "string", - "description": "vSphere Port for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x. Default `443` (string)\n", + "description": "Limit for replication controllers in project (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/NotifierDingtalkConfig:NotifierDingtalkConfig": { - "properties": { - "proxyUrl": { + }, + "requestsCpu": { "type": "string", - "description": "Wechat proxy url (string)\n", + "description": "Limit for requests cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "secret": { + "requestsMemory": { "type": "string", - "description": "Wechat agent ID (string)\n", + "description": "Limit for requests memory in project (string)\n", "language": { "python": { "mapCase": false } } }, - "url": { + "requestsStorage": { "type": "string", - "description": "Webhook url (string)\n", + "description": "Limit for requests storage in project (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "url" - ] - }, - "rancher2:index/NotifierMsteamsConfig:NotifierMsteamsConfig": { - "properties": { - "proxyUrl": { + }, + "secrets": { "type": "string", - "description": "Wechat proxy url (string)\n", + "description": "Limit for secrets in project (string)\n", "language": { "python": { "mapCase": false } } }, - "url": { + "services": { "type": "string", - "description": "Webhook url (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "url" - ] - }, - "rancher2:index/NotifierPagerdutyConfig:NotifierPagerdutyConfig": { - "properties": { - "proxyUrl": { + }, + "servicesLoadBalancers": { "type": "string", - "description": "Wechat proxy url (string)\n", + "description": "Limit for services load balancers in project (string)\n", "language": { "python": { "mapCase": false } } }, - "serviceKey": { + "servicesNodePorts": { "type": "string", - "description": "Pagerduty service key (string)\n", + "description": "Limit for services node ports in project (string)\n", "language": { "python": { "mapCase": false @@ -18935,34 +22363,32 @@ } } }, - "type": "object", - "required": [ - "serviceKey" - ] + "type": "object" }, - "rancher2:index/NotifierSlackConfig:NotifierSlackConfig": { + "rancher2:index/RegistryRegistry:RegistryRegistry": { "properties": { - "defaultRecipient": { + "address": { "type": "string", - "description": "Wechat default recipient (string)\n", + "description": "Address for registry.\n", "language": { "python": { "mapCase": false } } }, - "proxyUrl": { + "password": { "type": "string", - "description": "Wechat proxy url (string)\n", + "description": "Password for the registry (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "url": { + "username": { "type": "string", - "description": "Webhook url (string)\n", + "description": "Username for the registry (string)\n", "language": { "python": { "mapCase": false @@ -18972,98 +22398,130 @@ }, "type": "object", "required": [ - "defaultRecipient", - "url" + "address" ] }, - "rancher2:index/NotifierSmtpConfig:NotifierSmtpConfig": { + "rancher2:index/RoleTempalteRule:RoleTempalteRule": { "properties": { - "defaultRecipient": { - "type": "string", - "description": "Wechat default recipient (string)\n", + "apiGroups": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Policy rule api groups (list)\n", "language": { "python": { "mapCase": false } } }, - "host": { - "type": "string", - "description": "SMTP host (string)\n", + "nonResourceUrls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Policy rule non resource urls (list)\n", "language": { "python": { "mapCase": false } } }, - "password": { - "type": "string", - "description": "SMTP password (string)\n", + "resourceNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Policy rule resource names (list)\n", "language": { "python": { "mapCase": false } } }, - "port": { - "type": "integer", - "description": "SMTP port (int)\n", + "resources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Policy rule resources (list)\n", "language": { "python": { "mapCase": false } } }, - "sender": { - "type": "string", - "description": "SMTP sender (string)\n", + "verbs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list)\n", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/RoleTemplateRule:RoleTemplateRule": { + "properties": { + "apiGroups": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Policy rule api groups (list)\n", "language": { "python": { "mapCase": false } } }, - "tls": { - "type": "boolean", - "description": "SMTP tls. Default `true` (bool)\n", + "nonResourceUrls": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Policy rule non resource urls (list)\n", "language": { "python": { "mapCase": false } } }, - "username": { - "type": "string", - "description": "SMTP username (string)\n", + "resourceNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Policy rule resource names (list)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "defaultRecipient", - "host", - "port", - "sender" - ] - }, - "rancher2:index/NotifierWebhookConfig:NotifierWebhookConfig": { - "properties": { - "proxyUrl": { - "type": "string", - "description": "Wechat proxy url (string)\n", + }, + "resources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Policy rule resources (list)\n", "language": { "python": { "mapCase": false } } }, - "url": { - "type": "string", - "description": "Webhook url (string)\n", + "verbs": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list)\n", "language": { "python": { "mapCase": false @@ -19071,521 +22529,329 @@ } } }, - "type": "object", - "required": [ - "url" - ] + "type": "object" }, - "rancher2:index/NotifierWechatConfig:NotifierWechatConfig": { + "rancher2:index/getClusterAksConfig:getClusterAksConfig": { "properties": { - "agent": { + "aadServerAppSecret": { "type": "string", - "description": "Wechat agent ID (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "corp": { + "aadTenantId": { "type": "string", - "description": "Wechat corporation ID (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "defaultRecipient": { + "addClientAppId": { "type": "string", - "description": "Wechat default recipient (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "proxyUrl": { + "addServerAppId": { "type": "string", - "description": "Wechat proxy url (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "recipientType": { + "adminUsername": { "type": "string", - "description": "Wechat recipient type. Allowed values: `party` | `tag` | `user` (string)\n", "language": { "python": { "mapCase": false } } }, - "secret": { + "agentDnsPrefix": { "type": "string", - "description": "Wechat agent ID (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "agent", - "corp", - "defaultRecipient", - "secret" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateAllowedCsiDriver:PodSecurityPolicyTemplateAllowedCsiDriver": { - "properties": { - "name": { - "type": "string", - "description": "The name of the PodSecurityPolicyTemplate (string)\n", + }, + "agentOsDiskSize": { + "type": "integer", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "name" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateAllowedFlexVolume:PodSecurityPolicyTemplateAllowedFlexVolume": { - "properties": { - "driver": { + }, + "agentPoolName": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "driver" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateAllowedHostPath:PodSecurityPolicyTemplateAllowedHostPath": { - "properties": { - "pathPrefix": { + }, + "agentStorageProfile": { "type": "string", - "description": "(string)\n", "language": { "python": { "mapCase": false } } }, - "readOnly": { - "type": "boolean", - "description": "(string)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "pathPrefix" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateFsGroup:PodSecurityPolicyTemplateFsGroup": { - "properties": { - "ranges": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/PodSecurityPolicyTemplateFsGroupRange:PodSecurityPolicyTemplateFsGroupRange" - }, - "description": "(list)\n", + "agentVmSize": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "rule": { + "authBaseUrl": { "type": "string", - "description": "(string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "ranges" - ] - } - } - }, - "rancher2:index/PodSecurityPolicyTemplateFsGroupRange:PodSecurityPolicyTemplateFsGroupRange": { - "properties": { - "max": { - "type": "integer", - "description": "(int)\n", + }, + "baseUrl": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "min": { - "type": "integer", - "description": "(int)\n", + "clientId": { + "type": "string", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object", - "required": [ - "max", - "min" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateHostPort:PodSecurityPolicyTemplateHostPort": { - "properties": { - "max": { - "type": "integer", - "description": "(int)\n", + }, + "secret": true + }, + "clientSecret": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "min": { + "count": { "type": "integer", - "description": "(int)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "max", - "min" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateRunAsGroup:PodSecurityPolicyTemplateRunAsGroup": { - "properties": { - "ranges": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/PodSecurityPolicyTemplateRunAsGroupRange:PodSecurityPolicyTemplateRunAsGroupRange" - }, - "description": "(list)\n", + }, + "dnsServiceIp": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "rule": { + "dockerBridgeCidr": { "type": "string", - "description": "(string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "rule" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateRunAsGroupRange:PodSecurityPolicyTemplateRunAsGroupRange": { - "properties": { - "max": { - "type": "integer", - "description": "(int)\n", + }, + "enableHttpApplicationRouting": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "min": { - "type": "integer", - "description": "(int)\n", + "enableMonitoring": { + "type": "boolean", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "max", - "min" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateRunAsUser:PodSecurityPolicyTemplateRunAsUser": { - "properties": { - "ranges": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/PodSecurityPolicyTemplateRunAsUserRange:PodSecurityPolicyTemplateRunAsUserRange" - }, - "description": "(list)\n", + }, + "kubernetesVersion": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "rule": { + "loadBalancerSku": { "type": "string", - "description": "(string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "rule" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateRunAsUserRange:PodSecurityPolicyTemplateRunAsUserRange": { - "properties": { - "max": { - "type": "integer", - "description": "(int)\n", + }, + "location": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "min": { - "type": "integer", - "description": "(int)\n", + "logAnalyticsWorkspace": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "max", - "min" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateRuntimeClass:PodSecurityPolicyTemplateRuntimeClass": { - "properties": { - "allowedRuntimeClassNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(list)\n", + }, + "logAnalyticsWorkspaceResourceGroup": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "defaultRuntimeClassName": { + "masterDnsPrefix": { "type": "string", - "description": "(string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "allowedRuntimeClassNames" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateSeLinux:PodSecurityPolicyTemplateSeLinux": { - "properties": { - "rule": { - "type": "string", - "description": "(string)\n", + }, + "maxPods": { + "type": "integer", "language": { "python": { "mapCase": false } } - }, - "seLinuxOption": { - "$ref": "#/types/rancher2:index/PodSecurityPolicyTemplateSeLinuxSeLinuxOption:PodSecurityPolicyTemplateSeLinuxSeLinuxOption", - "description": "(list maxitems:1)\n", + }, + "networkPlugin": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "rule" - ] - }, - "rancher2:index/PodSecurityPolicyTemplateSeLinuxSeLinuxOption:PodSecurityPolicyTemplateSeLinuxSeLinuxOption": { - "properties": { - "level": { + }, + "networkPolicy": { "type": "string", - "description": "(string)\n", "language": { "python": { "mapCase": false } } }, - "role": { + "podCidr": { "type": "string", - "description": "(string)\n", "language": { "python": { "mapCase": false } } }, - "type": { + "resourceGroup": { "type": "string", - "description": "(string)\n", "language": { "python": { "mapCase": false } } }, - "user": { + "serviceCidr": { "type": "string", - "description": "(string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/PodSecurityPolicyTemplateSupplementalGroup:PodSecurityPolicyTemplateSupplementalGroup": { - "properties": { - "ranges": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/PodSecurityPolicyTemplateSupplementalGroupRange:PodSecurityPolicyTemplateSupplementalGroupRange" - }, - "description": "(list)\n", + }, + "sshPublicKeyContents": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "rule": { + "subnet": { "type": "string", - "description": "(string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "ranges" - ] - } - } - }, - "rancher2:index/PodSecurityPolicyTemplateSupplementalGroupRange:PodSecurityPolicyTemplateSupplementalGroupRange": { - "properties": { - "max": { - "type": "integer", - "description": "(int)\n", + }, + "subscriptionId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "min": { - "type": "integer", - "description": "(int)\n", + "tag": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "deprecationMessage": "Use tags argument instead as []string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "max", - "min" - ] - }, - "rancher2:index/ProjectAlertGroupRecipient:ProjectAlertGroupRecipient": { - "properties": { - "defaultRecipient": { - "type": "boolean", + }, + "tags": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "notifierId": { + "tenantId": { "type": "string", - "description": "Recipient notifier ID (string)\n", "language": { "python": { "mapCase": false } } }, - "notifierType": { + "virtualNetwork": { "type": "string", - "description": "Recipient notifier ID. Supported values : `\"pagerduty\" | \"slack\" | \"email\" | \"webhook\" | \"wechat\"` (string)\n", "language": { "python": { "mapCase": false } } }, - "recipient": { + "virtualNetworkResourceGroup": { "type": "string", - "description": "Recipient (string)\n", "language": { "python": { "mapCase": false @@ -19595,332 +22861,266 @@ }, "type": "object", "required": [ - "notifierId" + "agentDnsPrefix", + "clientId", + "clientSecret", + "kubernetesVersion", + "loadBalancerSku", + "masterDnsPrefix", + "resourceGroup", + "sshPublicKeyContents", + "subnet", + "subscriptionId", + "tag", + "tags", + "tenantId", + "virtualNetwork", + "virtualNetworkResourceGroup" ], "language": { "nodejs": { - "requiredOutputs": [ - "notifierId", - "notifierType", - "recipient" - ] + "requiredInputs": [] } } }, - "rancher2:index/ProjectAlertRuleMetricRule:ProjectAlertRuleMetricRule": { + "rancher2:index/getClusterAksConfigV2:getClusterAksConfigV2": { "properties": { - "comparison": { + "authBaseUrl": { "type": "string", - "description": "Metric rule comparison. Supported values : `\"equal\" | \"greater-or-equal\" | \"greater-than\" | \"less-or-equal\" | \"less-than\" | \"not-equal\" | \"has-value\"`. Default: `equal` (string)\n", "language": { "python": { "mapCase": false } } }, - "description": { - "type": "string", - "description": "Metric rule description (string)\n", + "authorizedIpRanges": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "duration": { + "baseUrl": { "type": "string", - "description": "Metric rule duration (string)\n", "language": { "python": { "mapCase": false } } }, - "expression": { + "cloudCredentialId": { "type": "string", - "description": "Metric rule expression (string)\n", "language": { "python": { "mapCase": false } } }, - "thresholdValue": { - "type": "number", - "description": "Metric rule threshold value (float64)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "duration", - "expression", - "thresholdValue" - ] - }, - "rancher2:index/ProjectAlertRulePodRule:ProjectAlertRulePodRule": { - "properties": { - "condition": { + "dnsPrefix": { "type": "string", - "description": "Pod rule condition. Supported values : `\"notrunning\" | \"notscheduled\" | \"restarts\"`. Default: `notrunning` (string)\n", "language": { "python": { "mapCase": false } } }, - "podId": { - "type": "string", - "description": "Pod ID (string)\n", + "httpApplicationRouting": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "restartIntervalSeconds": { - "type": "integer", - "description": "Pod rule restart interval seconds. Default: `300` (int)\n", + "imported": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "restartTimes": { - "type": "integer", - "description": "Pod rule restart times. Default: `3` (int)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "podId" - ] - }, - "rancher2:index/ProjectAlertRuleWorkloadRule:ProjectAlertRuleWorkloadRule": { - "properties": { - "availablePercentage": { - "type": "integer", - "description": "Workload rule available percentage. Default: `70` (int)\n", + "kubernetesVersion": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "selector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Workload rule selector (map)\n", + "linuxAdminUsername": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "workloadId": { + "linuxSshPublicKey": { "type": "string", - "description": "Workload ID (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ProjectContainerResourceLimit:ProjectContainerResourceLimit": { - "properties": { - "limitsCpu": { + }, + "loadBalancerSku": { "type": "string", - "description": "Limit for limits cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "limitsMemory": { + "logAnalyticsWorkspaceGroup": { "type": "string", - "description": "Limit for limits memory in project (string)\n", "language": { "python": { "mapCase": false } } }, - "requestsCpu": { + "logAnalyticsWorkspaceName": { "type": "string", - "description": "Limit for requests cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "requestsMemory": { - "type": "string", - "description": "Limit for requests memory in project (string)\n", + "monitoring": { + "type": "boolean", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/ProjectLoggingCustomTargetConfig:ProjectLoggingCustomTargetConfig": { - "properties": { - "certificate": { + }, + "name": { "type": "string", - "description": "SSL certificate for the syslog service (string)\n", + "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "clientCert": { + "networkDnsServiceIp": { "type": "string", - "description": "SSL client certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "clientKey": { + "networkDockerBridgeCidr": { "type": "string", - "description": "SSL client key for the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "content": { + "networkPlugin": { "type": "string", - "description": "Custom target config content (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "content" - ] - }, - "rancher2:index/ProjectLoggingElasticsearchConfig:ProjectLoggingElasticsearchConfig": { - "properties": { - "authPassword": { + }, + "networkPodCidr": { "type": "string", - "description": "User password for the elascticsearch service (string)\n", "language": { "python": { "mapCase": false } } }, - "authUsername": { + "networkPolicy": { "type": "string", - "description": "Username for the elascticsearch service (string)\n", "language": { "python": { "mapCase": false } } }, - "certificate": { + "networkServiceCidr": { "type": "string", - "description": "SSL certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "clientCert": { - "type": "string", - "description": "SSL client certificate for the syslog service (string)\n", + "nodePools": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterAksConfigV2NodePool:getClusterAksConfigV2NodePool" + }, "language": { "python": { "mapCase": false } } }, - "clientKey": { - "type": "string", - "description": "SSL client key for the syslog service (string)\n", + "privateCluster": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "clientKeyPass": { + "resourceGroup": { "type": "string", - "description": "SSL client key password for the splunk service (string)\n", "language": { "python": { "mapCase": false } } }, - "dateFormat": { + "resourceLocation": { "type": "string", - "description": "Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string)\n", "language": { "python": { "mapCase": false } } }, - "endpoint": { + "subnet": { "type": "string", - "description": "Endpoint of the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "indexPrefix": { - "type": "string", - "description": "Index prefix for the elascticsearch logs. Default: `local` (string)\n", + "tags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "sslVerify": { - "type": "boolean", - "description": "SSL verify for the syslog service (bool)\n", + "virtualNetwork": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "sslVersion": { + "virtualNetworkResourceGroup": { "type": "string", - "description": "SSL version for the elascticsearch service (string)\n", "language": { "python": { "mapCase": false @@ -19930,188 +23130,184 @@ }, "type": "object", "required": [ - "endpoint" + "cloudCredentialId", + "httpApplicationRouting", + "linuxAdminUsername", + "linuxSshPublicKey", + "loadBalancerSku", + "logAnalyticsWorkspaceGroup", + "logAnalyticsWorkspaceName", + "monitoring", + "name", + "networkDnsServiceIp", + "networkDockerBridgeCidr", + "networkPodCidr", + "networkPolicy", + "networkServiceCidr", + "privateCluster", + "resourceGroup", + "resourceLocation", + "subnet", + "tags", + "virtualNetwork", + "virtualNetworkResourceGroup" ], "language": { "nodejs": { - "requiredOutputs": [ - "endpoint", - "sslVerify" - ] + "requiredInputs": [] } } }, - "rancher2:index/ProjectLoggingFluentdConfig:ProjectLoggingFluentdConfig": { + "rancher2:index/getClusterAksConfigV2NodePool:getClusterAksConfigV2NodePool": { "properties": { - "certificate": { - "type": "string", - "description": "SSL certificate for the syslog service (string)\n", + "availabilityZones": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "compress": { - "type": "boolean", - "description": "Compress data for the fluentd service (bool)\n", + "count": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "enableTls": { + "enableAutoScaling": { "type": "boolean", - "description": "Enable TLS for the fluentd service (bool)\n", "language": { "python": { "mapCase": false } } }, - "fluentServers": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ProjectLoggingFluentdConfigFluentServer:ProjectLoggingFluentdConfigFluentServer" - }, - "description": "Servers for the fluentd service (list)\n", + "maxCount": { + "type": "integer", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "fluentServers" - ] - }, - "rancher2:index/ProjectLoggingFluentdConfigFluentServer:ProjectLoggingFluentdConfigFluentServer": { - "properties": { - "endpoint": { - "type": "string", - "description": "Endpoint of the syslog service (string)\n", + }, + "maxPods": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "hostname": { - "type": "string", - "description": "Hostname of the fluentd service (string)\n", + "minCount": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "password": { + "mode": { "type": "string", - "description": "User password of the fluentd service (string)\n", "language": { "python": { "mapCase": false } } }, - "sharedKey": { + "name": { "type": "string", - "description": "Shared key of the fluentd service (string)\n", + "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "standby": { - "type": "boolean", - "description": "Standby server of the fluentd service (bool)\n", + "orchestratorVersion": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "username": { - "type": "string", - "description": "Username of the fluentd service (string)\n", + "osDiskSizeGb": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "weight": { - "type": "integer", - "description": "Weight of the fluentd server (int)\n", + "osDiskType": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "endpoint" - ] - }, - "rancher2:index/ProjectLoggingKafkaConfig:ProjectLoggingKafkaConfig": { - "properties": { - "brokerEndpoints": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Kafka endpoints for kafka service. Conflicts with `zookeeper_endpoint` (list)\n", + }, + "osType": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "certificate": { + "vmSize": { "type": "string", - "description": "SSL certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } } - }, - "clientCert": { - "type": "string", - "description": "SSL client certificate for the syslog service (string)\n", + } + }, + "type": "object", + "required": [ + "name", + "vmSize" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterAlertGroupRecipient:getClusterAlertGroupRecipient": { + "properties": { + "defaultRecipient": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "clientKey": { + "notifierId": { "type": "string", - "description": "SSL client key for the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "topic": { + "notifierType": { "type": "string", - "description": "Topic to publish on the kafka service (string)\n", "language": { "python": { "mapCase": false } } }, - "zookeeperEndpoint": { + "recipient": { "type": "string", - "description": "Zookeeper endpoint for kafka service. Conflicts with `broker_endpoints` (string)\n", "language": { "python": { "mapCase": false @@ -20121,86 +23317,81 @@ }, "type": "object", "required": [ - "topic" - ] + "notifierId", + "notifierType", + "recipient" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "rancher2:index/ProjectLoggingSplunkConfig:ProjectLoggingSplunkConfig": { + "rancher2:index/getClusterAlterRuleEventRule:getClusterAlterRuleEventRule": { "properties": { - "certificate": { - "type": "string", - "description": "SSL certificate for the syslog service (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "clientCert": { - "type": "string", - "description": "SSL client certificate for the syslog service (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "clientKey": { + "eventType": { "type": "string", - "description": "SSL client key for the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "clientKeyPass": { + "resourceKind": { "type": "string", - "description": "SSL client key password for the splunk service (string)\n", "language": { "python": { "mapCase": false } } - }, - "endpoint": { + } + }, + "type": "object", + "required": [ + "resourceKind" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterAlterRuleMetricRule:getClusterAlterRuleMetricRule": { + "properties": { + "comparison": { "type": "string", - "description": "Endpoint of the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "index": { + "description": { "type": "string", - "description": "Index prefix for the splunk logs (string)\n", "language": { "python": { "mapCase": false } } }, - "source": { + "duration": { "type": "string", - "description": "Date format for the splunk logs (string)\n", "language": { "python": { "mapCase": false } } }, - "sslVerify": { - "type": "boolean", - "description": "SSL verify for the syslog service (bool)\n", + "expression": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "token": { - "type": "string", - "description": "Token for the syslog service (string)\n", + "thresholdValue": { + "type": "number", "language": { "python": { "mapCase": false @@ -20210,105 +23401,97 @@ }, "type": "object", "required": [ - "endpoint", - "token" + "duration", + "expression", + "thresholdValue" ], "language": { "nodejs": { - "requiredOutputs": [ - "endpoint", - "sslVerify", - "token" - ] + "requiredInputs": [] } } }, - "rancher2:index/ProjectLoggingSyslogConfig:ProjectLoggingSyslogConfig": { + "rancher2:index/getClusterAlterRuleNodeRule:getClusterAlterRuleNodeRule": { "properties": { - "certificate": { - "type": "string", - "description": "SSL certificate for the syslog service (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "clientCert": { + "condition": { "type": "string", - "description": "SSL client certificate for the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "clientKey": { - "type": "string", - "description": "SSL client key for the syslog service (string)\n", + "cpuThreshold": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "enableTls": { - "type": "boolean", - "description": "Enable TLS for the fluentd service (bool)\n", + "memThreshold": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "endpoint": { + "nodeId": { "type": "string", - "description": "Endpoint of the syslog service (string)\n", "language": { "python": { "mapCase": false } } }, - "program": { - "type": "string", - "description": "Program for the syslog service (string)\n", + "selector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } - }, - "protocol": { + } + }, + "type": "object" + }, + "rancher2:index/getClusterAlterRuleSystemServiceRule:getClusterAlterRuleSystemServiceRule": { + "properties": { + "condition": { "type": "string", - "description": "Protocol for the syslog service. `tcp` and `udp` are supported. Default: `udp` (string)\n", "language": { "python": { "mapCase": false } } - }, - "severity": { + } + }, + "type": "object" + }, + "rancher2:index/getClusterClusterAuthEndpoint:getClusterClusterAuthEndpoint": { + "properties": { + "caCerts": { "type": "string", - "description": "Date format for the syslog logs. `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info` and `debug` are supported. Default: `notice` (string)\n", "language": { "python": { "mapCase": false } } }, - "sslVerify": { + "enabled": { "type": "boolean", - "description": "SSL verify for the syslog service (bool)\n", "language": { "python": { "mapCase": false } } }, - "token": { + "fqdn": { "type": "string", - "description": "Token for the syslog service (string)\n", "language": { "python": { "mapCase": false @@ -20316,27 +23499,15 @@ } } }, - "type": "object", - "required": [ - "endpoint" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "endpoint", - "sslVerify" - ] - } - } + "type": "object" }, - "rancher2:index/ProjectProjectMonitoringInput:ProjectProjectMonitoringInput": { + "rancher2:index/getClusterClusterMonitoringInput:getClusterClusterMonitoringInput": { "properties": { "answers": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "Key/value answers for monitor input (map)\n", "language": { "python": { "mapCase": false @@ -20345,7 +23516,6 @@ }, "version": { "type": "string", - "description": "rancher-monitoring chart version (string)\n", "language": { "python": { "mapCase": false @@ -20355,126 +23525,99 @@ }, "type": "object" }, - "rancher2:index/ProjectResourceQuota:ProjectResourceQuota": { - "properties": { - "namespaceDefaultLimit": { - "$ref": "#/types/rancher2:index/ProjectResourceQuotaNamespaceDefaultLimit:ProjectResourceQuotaNamespaceDefaultLimit", - "description": "Default resource quota limit for namespaces in project (list maxitems:1)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "projectLimit": { - "$ref": "#/types/rancher2:index/ProjectResourceQuotaProjectLimit:ProjectResourceQuotaProjectLimit", - "description": "Resource quota limit for project (list maxitems:1)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "namespaceDefaultLimit", - "projectLimit" - ] - }, - "rancher2:index/ProjectResourceQuotaNamespaceDefaultLimit:ProjectResourceQuotaNamespaceDefaultLimit": { + "rancher2:index/getClusterClusterRegistrationToken:getClusterClusterRegistrationToken": { "properties": { - "configMaps": { - "type": "string", - "description": "Limit for config maps in project (string)\n", + "annotations": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Computed) Annotations for Node Pool object (map)\n", "language": { "python": { "mapCase": false } } }, - "limitsCpu": { + "clusterId": { "type": "string", - "description": "Limit for limits cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "limitsMemory": { + "command": { "type": "string", - "description": "Limit for limits memory in project (string)\n", "language": { "python": { "mapCase": false } } }, - "persistentVolumeClaims": { + "id": { "type": "string", - "description": "Limit for persistent volume claims in project (string)\n", + "description": "(Computed) The ID of the resource (string)\n", "language": { "python": { "mapCase": false } } }, - "pods": { + "insecureCommand": { "type": "string", - "description": "Limit for pods in project (string)\n", "language": { "python": { "mapCase": false } } }, - "replicationControllers": { + "insecureNodeCommand": { "type": "string", - "description": "Limit for replication controllers in project (string)\n", "language": { "python": { "mapCase": false } } }, - "requestsCpu": { + "insecureWindowsNodeCommand": { "type": "string", - "description": "Limit for requests cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "requestsMemory": { - "type": "string", - "description": "Limit for requests memory in project (string)\n", + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Computed) Labels for Node Pool object (map)\n", "language": { "python": { "mapCase": false } } }, - "requestsStorage": { + "manifestUrl": { "type": "string", - "description": "Limit for requests storage in project (string)\n", "language": { "python": { "mapCase": false } } }, - "secrets": { + "name": { "type": "string", - "description": "Limit for secrets in project (string)\n", + "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "services": { + "nodeCommand": { "type": "string", "language": { "python": { @@ -20482,18 +23625,17 @@ } } }, - "servicesLoadBalancers": { + "token": { "type": "string", - "description": "Limit for services load balancers in project (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "servicesNodePorts": { + "windowsNodeCommand": { "type": "string", - "description": "Limit for services node ports in project (string)\n", "language": { "python": { "mapCase": false @@ -20501,285 +23643,273 @@ } } }, - "type": "object" + "type": "object", + "required": [ + "annotations", + "clusterId", + "command", + "id", + "insecureCommand", + "insecureNodeCommand", + "insecureWindowsNodeCommand", + "labels", + "manifestUrl", + "name", + "nodeCommand", + "token", + "windowsNodeCommand" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "rancher2:index/ProjectResourceQuotaProjectLimit:ProjectResourceQuotaProjectLimit": { + "rancher2:index/getClusterClusterTemplateAnswers:getClusterClusterTemplateAnswers": { "properties": { - "configMaps": { + "clusterId": { "type": "string", - "description": "Limit for config maps in project (string)\n", "language": { "python": { "mapCase": false } } }, - "limitsCpu": { + "projectId": { "type": "string", - "description": "Limit for limits cpu in project (string)\n", "language": { "python": { "mapCase": false } } }, - "limitsMemory": { - "type": "string", - "description": "Limit for limits memory in project (string)\n", + "values": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } - }, - "persistentVolumeClaims": { + } + }, + "type": "object", + "required": [ + "clusterId", + "projectId", + "values" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterClusterTemplateQuestion:getClusterClusterTemplateQuestion": { + "properties": { + "default": { "type": "string", - "description": "Limit for persistent volume claims in project (string)\n", "language": { "python": { "mapCase": false } } }, - "pods": { - "type": "string", - "description": "Limit for pods in project (string)\n", + "required": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "replicationControllers": { + "type": { "type": "string", - "description": "Limit for replication controllers in project (string)\n", "language": { "python": { "mapCase": false } } }, - "requestsCpu": { + "variable": { "type": "string", - "description": "Limit for requests cpu in project (string)\n", "language": { "python": { "mapCase": false } } - }, - "requestsMemory": { + } + }, + "type": "object", + "required": [ + "default", + "variable" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterEksConfig:getClusterEksConfig": { + "properties": { + "accessKey": { "type": "string", - "description": "Limit for requests memory in project (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "requestsStorage": { + "ami": { "type": "string", - "description": "Limit for requests storage in project (string)\n", "language": { "python": { "mapCase": false } } }, - "secrets": { - "type": "string", - "description": "Limit for secrets in project (string)\n", + "associateWorkerNodePublicIp": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "services": { - "type": "string", + "desiredNodes": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "servicesLoadBalancers": { - "type": "string", - "description": "Limit for services load balancers in project (string)\n", + "ebsEncryption": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "servicesNodePorts": { + "instanceType": { "type": "string", - "description": "Limit for services node ports in project (string)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/RegistryRegistry:RegistryRegistry": { - "properties": { - "address": { + }, + "keyPairName": { "type": "string", - "description": "Address for registry.\n", "language": { "python": { "mapCase": false } } }, - "password": { + "kubernetesVersion": { "type": "string", - "description": "Password for the registry (string)\n", "language": { "python": { "mapCase": false } } }, - "username": { - "type": "string", - "description": "Username for the registry (string)\n", + "maximumNodes": { + "type": "integer", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "address" - ] - }, - "rancher2:index/RoleTempalteRule:RoleTempalteRule": { - "properties": { - "apiGroups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule api groups (list)\n", + }, + "minimumNodes": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "nonResourceUrls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule non resource urls (list)\n", + "nodeVolumeSize": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "resourceNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule resource names (list)\n", + "region": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule resources (list)\n", + "secretKey": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "verbs": { + "securityGroups": { "type": "array", "items": { "type": "string" }, - "description": "Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list)\n", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/RoleTemplateRule:RoleTemplateRule": { - "properties": { - "apiGroups": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule api groups (list)\n", + }, + "serviceRole": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "nonResourceUrls": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule non resource urls (list)\n", + "sessionToken": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "resourceNames": { + "subnets": { "type": "array", "items": { "type": "string" }, - "description": "Policy rule resource names (list)\n", "language": { "python": { "mapCase": false } } }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule resources (list)\n", + "userData": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "verbs": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list)\n", + "virtualNetwork": { + "type": "string", "language": { "python": { "mapCase": false @@ -20787,11 +23917,22 @@ } } }, - "type": "object" + "type": "object", + "required": [ + "accessKey", + "kubernetesVersion", + "secretKey", + "userData" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "rancher2:index/getClusterAksConfig:getClusterAksConfig": { + "rancher2:index/getClusterEksConfigV2:getClusterEksConfigV2": { "properties": { - "aadServerAppSecret": { + "cloudCredentialId": { "type": "string", "language": { "python": { @@ -20799,15 +23940,15 @@ } } }, - "aadTenantId": { - "type": "string", + "imported": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "addClientAppId": { + "kmsKey": { "type": "string", "language": { "python": { @@ -20815,7 +23956,7 @@ } } }, - "addServerAppId": { + "kubernetesVersion": { "type": "string", "language": { "python": { @@ -20823,55 +23964,65 @@ } } }, - "adminUsername": { - "type": "string", + "loggingTypes": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "agentDnsPrefix": { + "name": { "type": "string", + "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "agentOsDiskSize": { - "type": "integer", + "nodeGroups": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterEksConfigV2NodeGroup:getClusterEksConfigV2NodeGroup" + }, "language": { "python": { "mapCase": false } } }, - "agentPoolName": { - "type": "string", + "privateAccess": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "agentStorageProfile": { - "type": "string", + "publicAccess": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "agentVmSize": { - "type": "string", + "publicAccessSources": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "authBaseUrl": { + "region": { "type": "string", "language": { "python": { @@ -20879,23 +24030,26 @@ } } }, - "baseUrl": { - "type": "string", + "secretsEncryption": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "clientId": { - "type": "string", + "securityGroups": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "clientSecret": { + "serviceRole": { "type": "string", "language": { "python": { @@ -20903,39 +24057,73 @@ } } }, - "count": { - "type": "integer", + "subnets": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "dnsServiceIp": { - "type": "string", + "tags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "cloudCredentialId", + "kubernetesVersion", + "name", + "nodeGroups", + "privateAccess", + "publicAccess", + "publicAccessSources", + "secretsEncryption" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterEksConfigV2NodeGroup:getClusterEksConfigV2NodeGroup": { + "properties": { + "desiredSize": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "dockerBridgeCidr": { - "type": "string", + "diskSize": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "enableHttpApplicationRouting": { - "type": "boolean", + "ec2SshKey": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "enableMonitoring": { + "gpu": { "type": "boolean", "language": { "python": { @@ -20943,15 +24131,7 @@ } } }, - "kubernetesVersion": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "loadBalancerSku": { + "imageId": { "type": "string", "language": { "python": { @@ -20959,7 +24139,7 @@ } } }, - "location": { + "instanceType": { "type": "string", "language": { "python": { @@ -20967,31 +24147,38 @@ } } }, - "logAnalyticsWorkspace": { - "type": "string", + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Computed) Labels for Node Pool object (map)\n", "language": { "python": { "mapCase": false } } }, - "logAnalyticsWorkspaceResourceGroup": { - "type": "string", + "launchTemplates": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterEksConfigV2NodeGroupLaunchTemplate:getClusterEksConfigV2NodeGroupLaunchTemplate" + }, "language": { "python": { "mapCase": false } } }, - "masterDnsPrefix": { - "type": "string", + "maxSize": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "maxPods": { + "minSize": { "type": "integer", "language": { "python": { @@ -20999,55 +24186,68 @@ } } }, - "networkPlugin": { + "name": { "type": "string", + "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "networkPolicy": { - "type": "string", + "requestSpotInstances": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "podCidr": { - "type": "string", + "resourceTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "resourceGroup": { - "type": "string", + "spotInstanceTypes": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "serviceCidr": { - "type": "string", + "subnets": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "sshPublicKeyContents": { - "type": "string", + "tags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "subnet": { + "userData": { "type": "string", "language": { "python": { @@ -21055,55 +24255,50 @@ } } }, - "subscriptionId": { + "version": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "tag": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "deprecationMessage": "Use tags argument instead as []string", - "language": { - "python": { - "mapCase": false - } - } - }, - "tags": { - "type": "array", - "items": { - "type": "string" - }, - "language": { - "python": { - "mapCase": false - } - } - }, - "tenantId": { + } + }, + "type": "object", + "required": [ + "name", + "subnets", + "userData", + "version" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterEksConfigV2NodeGroupLaunchTemplate:getClusterEksConfigV2NodeGroupLaunchTemplate": { + "properties": { + "id": { "type": "string", + "description": "(Computed) The ID of the resource (string)\n", "language": { "python": { "mapCase": false } } }, - "virtualNetwork": { + "name": { "type": "string", + "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "virtualNetworkResourceGroup": { - "type": "string", + "version": { + "type": "integer", "language": { "python": { "mapCase": false @@ -21113,21 +24308,8 @@ }, "type": "object", "required": [ - "agentDnsPrefix", - "clientId", - "clientSecret", - "kubernetesVersion", - "loadBalancerSku", - "masterDnsPrefix", - "resourceGroup", - "sshPublicKeyContents", - "subnet", - "subscriptionId", - "tag", - "tags", - "tenantId", - "virtualNetwork", - "virtualNetworkResourceGroup" + "id", + "name" ], "language": { "nodejs": { @@ -21135,9 +24317,9 @@ } } }, - "rancher2:index/getClusterAksConfigV2:getClusterAksConfigV2": { + "rancher2:index/getClusterGkeConfig:getClusterGkeConfig": { "properties": { - "authBaseUrl": { + "clusterIpv4Cidr": { "type": "string", "language": { "python": { @@ -21145,34 +24327,33 @@ } } }, - "authorizedIpRanges": { - "type": "array", - "items": { - "type": "string" - }, + "credential": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "baseUrl": { + "description": { "type": "string", + "description": "(Computed) The description for Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "cloudCredentialId": { - "type": "string", + "diskSizeGb": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "dnsPrefix": { + "diskType": { "type": "string", "language": { "python": { @@ -21180,7 +24361,7 @@ } } }, - "httpApplicationRouting": { + "enableAlphaFeature": { "type": "boolean", "language": { "python": { @@ -21188,7 +24369,7 @@ } } }, - "imported": { + "enableAutoRepair": { "type": "boolean", "language": { "python": { @@ -21196,55 +24377,55 @@ } } }, - "kubernetesVersion": { - "type": "string", + "enableAutoUpgrade": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "linuxAdminUsername": { - "type": "string", + "enableHorizontalPodAutoscaling": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "linuxSshPublicKey": { - "type": "string", + "enableHttpLoadBalancing": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "loadBalancerSku": { - "type": "string", + "enableKubernetesDashboard": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "logAnalyticsWorkspaceGroup": { - "type": "string", + "enableLegacyAbac": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "logAnalyticsWorkspaceName": { - "type": "string", + "enableMasterAuthorizedNetwork": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "monitoring": { + "enableNetworkPolicyConfig": { "type": "boolean", "language": { "python": { @@ -21252,48 +24433,47 @@ } } }, - "name": { - "type": "string", - "description": "The name of the Cluster (string)\n", + "enableNodepoolAutoscaling": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "networkDnsServiceIp": { - "type": "string", + "enablePrivateEndpoint": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "networkDockerBridgeCidr": { - "type": "string", + "enablePrivateNodes": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "networkPlugin": { - "type": "string", + "enableStackdriverLogging": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "networkPodCidr": { - "type": "string", + "enableStackdriverMonitoring": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "networkPolicy": { + "imageType": { "type": "string", "language": { "python": { @@ -21301,7 +24481,7 @@ } } }, - "networkServiceCidr": { + "ipPolicyClusterIpv4CidrBlock": { "type": "string", "language": { "python": { @@ -21309,18 +24489,15 @@ } } }, - "nodePools": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterAksConfigV2NodePool:getClusterAksConfigV2NodePool" - }, + "ipPolicyClusterSecondaryRangeName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "privateCluster": { + "ipPolicyCreateSubnetwork": { "type": "boolean", "language": { "python": { @@ -21328,7 +24505,7 @@ } } }, - "resourceGroup": { + "ipPolicyNodeIpv4CidrBlock": { "type": "string", "language": { "python": { @@ -21336,7 +24513,7 @@ } } }, - "resourceLocation": { + "ipPolicyServicesIpv4CidrBlock": { "type": "string", "language": { "python": { @@ -21344,7 +24521,7 @@ } } }, - "subnet": { + "ipPolicyServicesSecondaryRangeName": { "type": "string", "language": { "python": { @@ -21352,78 +24529,43 @@ } } }, - "tags": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "ipPolicySubnetworkName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "virtualNetwork": { - "type": "string", + "issueClientCertificate": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "virtualNetworkResourceGroup": { - "type": "string", + "kubernetesDashboard": { + "type": "boolean", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "cloudCredentialId", - "httpApplicationRouting", - "linuxAdminUsername", - "linuxSshPublicKey", - "loadBalancerSku", - "logAnalyticsWorkspaceGroup", - "logAnalyticsWorkspaceName", - "monitoring", - "name", - "networkDnsServiceIp", - "networkDockerBridgeCidr", - "networkPodCidr", - "networkPolicy", - "networkServiceCidr", - "privateCluster", - "resourceGroup", - "resourceLocation", - "subnet", - "tags", - "virtualNetwork", - "virtualNetworkResourceGroup" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterAksConfigV2NodePool:getClusterAksConfigV2NodePool": { - "properties": { - "availabilityZones": { - "type": "array", - "items": { - "type": "string" + }, + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" }, + "description": "(Computed) Labels for Node Pool object (map)\n", "language": { "python": { "mapCase": false } } }, - "count": { + "localSsdCount": { "type": "integer", "language": { "python": { @@ -21431,39 +24573,45 @@ } } }, - "enableAutoScaling": { - "type": "boolean", + "locations": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "maxCount": { - "type": "integer", + "machineType": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "maxPods": { - "type": "integer", + "maintenanceWindow": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "minCount": { - "type": "integer", + "masterAuthorizedNetworkCidrBlocks": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "mode": { + "masterIpv4CidrBlock": { "type": "string", "language": { "python": { @@ -21471,24 +24619,23 @@ } } }, - "name": { + "masterVersion": { "type": "string", - "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "orchestratorVersion": { - "type": "string", + "maxNodeCount": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "osDiskSizeGb": { + "minNodeCount": { "type": "integer", "language": { "python": { @@ -21496,7 +24643,7 @@ } } }, - "osDiskType": { + "network": { "type": "string", "language": { "python": { @@ -21504,84 +24651,58 @@ } } }, - "osType": { - "type": "string", + "nodeCount": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "vmSize": { + "nodePool": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "name", - "vmSize" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterAlertGroupRecipient:getClusterAlertGroupRecipient": { - "properties": { - "defaultRecipient": { - "type": "boolean", + }, + "nodeVersion": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "notifierId": { - "type": "string", + "oauthScopes": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "notifierType": { - "type": "string", + "preemptible": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "recipient": { + "projectId": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "notifierId", - "notifierType", - "recipient" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterAlterRuleEventRule:getClusterAlterRuleEventRule": { - "properties": { - "eventType": { + }, + "region": { "type": "string", "language": { "python": { @@ -21589,28 +24710,18 @@ } } }, - "resourceKind": { - "type": "string", + "resourceLabels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "resourceKind" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterAlterRuleMetricRule:getClusterAlterRuleMetricRule": { - "properties": { - "comparison": { + }, + "serviceAccount": { "type": "string", "language": { "python": { @@ -21618,7 +24729,7 @@ } } }, - "description": { + "subNetwork": { "type": "string", "language": { "python": { @@ -21626,24 +24737,27 @@ } } }, - "duration": { - "type": "string", + "taints": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "expression": { - "type": "string", + "useIpAliases": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "thresholdValue": { - "type": "number", + "zone": { + "type": "string", "language": { "python": { "mapCase": false @@ -21653,9 +24767,30 @@ }, "type": "object", "required": [ - "duration", - "expression", - "thresholdValue" + "clusterIpv4Cidr", + "credential", + "diskType", + "imageType", + "ipPolicyClusterIpv4CidrBlock", + "ipPolicyClusterSecondaryRangeName", + "ipPolicyNodeIpv4CidrBlock", + "ipPolicyServicesIpv4CidrBlock", + "ipPolicyServicesSecondaryRangeName", + "ipPolicySubnetworkName", + "labels", + "locations", + "machineType", + "maintenanceWindow", + "masterIpv4CidrBlock", + "masterVersion", + "network", + "nodePool", + "nodeVersion", + "oauthScopes", + "projectId", + "resourceLabels", + "serviceAccount", + "subNetwork" ], "language": { "nodejs": { @@ -21663,135 +24798,106 @@ } } }, - "rancher2:index/getClusterAlterRuleNodeRule:getClusterAlterRuleNodeRule": { + "rancher2:index/getClusterGkeConfigV2:getClusterGkeConfigV2": { "properties": { - "condition": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "cpuThreshold": { - "type": "integer", + "clusterAddons": { + "$ref": "#/types/rancher2:index/getClusterGkeConfigV2ClusterAddons:getClusterGkeConfigV2ClusterAddons", "language": { "python": { "mapCase": false } } }, - "memThreshold": { - "type": "integer", + "clusterIpv4CidrBlock": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "nodeId": { + "description": { "type": "string", + "description": "(Computed) The description for Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "selector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "enableKubernetesAlpha": { + "type": "boolean", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterAlterRuleSystemServiceRule:getClusterAlterRuleSystemServiceRule": { - "properties": { - "condition": { + }, + "googleCredentialSecret": { "type": "string", "language": { "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/getClusterClusterAuthEndpoint:getClusterClusterAuthEndpoint": { - "properties": { - "caCerts": { - "type": "string", + "mapCase": false + } + }, + "secret": true + }, + "imported": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "enabled": { - "type": "boolean", + "ipAllocationPolicy": { + "$ref": "#/types/rancher2:index/getClusterGkeConfigV2IpAllocationPolicy:getClusterGkeConfigV2IpAllocationPolicy", "language": { "python": { "mapCase": false } } }, - "fqdn": { + "kubernetesVersion": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterClusterMonitoringInput:getClusterClusterMonitoringInput": { - "properties": { - "answers": { + }, + "labels": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, + "description": "(Computed) Labels for Node Pool object (map)\n", "language": { "python": { "mapCase": false } } }, - "version": { - "type": "string", + "locations": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterClusterRegistrationToken:getClusterClusterRegistrationToken": { - "properties": { - "annotations": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "(Computed) Annotations for Node Pool object (map)\n", + }, + "loggingService": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "clusterId": { + "maintenanceWindow": { "type": "string", "language": { "python": { @@ -21799,32 +24905,32 @@ } } }, - "command": { - "type": "string", + "masterAuthorizedNetworksConfig": { + "$ref": "#/types/rancher2:index/getClusterGkeConfigV2MasterAuthorizedNetworksConfig:getClusterGkeConfigV2MasterAuthorizedNetworksConfig", "language": { "python": { "mapCase": false } } }, - "id": { + "monitoringService": { "type": "string", - "description": "(Computed) The ID of the resource (string)\n", "language": { "python": { "mapCase": false } } }, - "insecureCommand": { + "name": { "type": "string", + "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "insecureNodeCommand": { + "network": { "type": "string", "language": { "python": { @@ -21832,44 +24938,42 @@ } } }, - "insecureWindowsNodeCommand": { - "type": "string", + "networkPolicyEnabled": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" + "nodePools": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterGkeConfigV2NodePool:getClusterGkeConfigV2NodePool" }, - "description": "(Computed) Labels for Node Pool object (map)\n", "language": { "python": { "mapCase": false } } }, - "manifestUrl": { - "type": "string", + "privateClusterConfig": { + "$ref": "#/types/rancher2:index/getClusterGkeConfigV2PrivateClusterConfig:getClusterGkeConfigV2PrivateClusterConfig", "language": { "python": { "mapCase": false } } }, - "name": { + "projectId": { "type": "string", - "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "nodeCommand": { + "region": { "type": "string", "language": { "python": { @@ -21877,7 +24981,7 @@ } } }, - "token": { + "subnetwork": { "type": "string", "language": { "python": { @@ -21885,7 +24989,7 @@ } } }, - "windowsNodeCommand": { + "zone": { "type": "string", "language": { "python": { @@ -21896,19 +25000,28 @@ }, "type": "object", "required": [ - "annotations", - "clusterId", - "command", - "id", - "insecureCommand", - "insecureNodeCommand", - "insecureWindowsNodeCommand", + "clusterAddons", + "clusterIpv4CidrBlock", + "description", + "enableKubernetesAlpha", + "googleCredentialSecret", + "ipAllocationPolicy", + "kubernetesVersion", "labels", - "manifestUrl", + "locations", + "loggingService", + "maintenanceWindow", + "masterAuthorizedNetworksConfig", + "monitoringService", "name", - "nodeCommand", - "token", - "windowsNodeCommand" + "network", + "networkPolicyEnabled", + "nodePools", + "privateClusterConfig", + "projectId", + "region", + "subnetwork", + "zone" ], "language": { "nodejs": { @@ -21916,29 +25029,26 @@ } } }, - "rancher2:index/getClusterClusterTemplateAnswers:getClusterClusterTemplateAnswers": { + "rancher2:index/getClusterGkeConfigV2ClusterAddons:getClusterGkeConfigV2ClusterAddons": { "properties": { - "clusterId": { - "type": "string", + "horizontalPodAutoscaling": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "projectId": { - "type": "string", + "httpLoadBalancing": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "values": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "networkPolicyConfig": { + "type": "boolean", "language": { "python": { "mapCase": false @@ -21948,9 +25058,9 @@ }, "type": "object", "required": [ - "clusterId", - "projectId", - "values" + "horizontalPodAutoscaling", + "httpLoadBalancing", + "networkPolicyConfig" ], "language": { "nodejs": { @@ -21958,9 +25068,9 @@ } } }, - "rancher2:index/getClusterClusterTemplateQuestion:getClusterClusterTemplateQuestion": { + "rancher2:index/getClusterGkeConfigV2IpAllocationPolicy:getClusterGkeConfigV2IpAllocationPolicy": { "properties": { - "default": { + "clusterIpv4CidrBlock": { "type": "string", "language": { "python": { @@ -21968,7 +25078,15 @@ } } }, - "required": { + "clusterSecondaryRangeName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "createSubnetwork": { "type": "boolean", "language": { "python": { @@ -21976,7 +25094,7 @@ } } }, - "type": { + "nodeIpv4CidrBlock": { "type": "string", "language": { "python": { @@ -21984,19 +25102,49 @@ } } }, - "variable": { + "servicesIpv4CidrBlock": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "servicesSecondaryRangeName": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "subnetworkName": { "type": "string", "language": { "python": { "mapCase": false } } + }, + "useIpAliases": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } } }, "type": "object", "required": [ - "default", - "variable" + "clusterIpv4CidrBlock", + "clusterSecondaryRangeName", + "createSubnetwork", + "nodeIpv4CidrBlock", + "servicesIpv4CidrBlock", + "servicesSecondaryRangeName", + "subnetworkName", + "useIpAliases" ], "language": { "nodejs": { @@ -22004,9 +25152,41 @@ } } }, - "rancher2:index/getClusterEksConfig:getClusterEksConfig": { + "rancher2:index/getClusterGkeConfigV2MasterAuthorizedNetworksConfig:getClusterGkeConfigV2MasterAuthorizedNetworksConfig": { "properties": { - "accessKey": { + "cidrBlocks": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock:getClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "enabled": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "cidrBlocks" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock:getClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock": { + "properties": { + "cidrBlock": { "type": "string", "language": { "python": { @@ -22014,23 +25194,44 @@ } } }, - "ami": { + "displayName": { "type": "string", "language": { "python": { "mapCase": false } } + } + }, + "type": "object", + "required": [ + "cidrBlock" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterGkeConfigV2NodePool:getClusterGkeConfigV2NodePool": { + "properties": { + "autoscaling": { + "$ref": "#/types/rancher2:index/getClusterGkeConfigV2NodePoolAutoscaling:getClusterGkeConfigV2NodePoolAutoscaling", + "language": { + "python": { + "mapCase": false + } + } }, - "associateWorkerNodePublicIp": { - "type": "boolean", + "config": { + "$ref": "#/types/rancher2:index/getClusterGkeConfigV2NodePoolConfig:getClusterGkeConfigV2NodePoolConfig", "language": { "python": { "mapCase": false } } }, - "desiredNodes": { + "initialNodeCount": { "type": "integer", "language": { "python": { @@ -22038,39 +25239,67 @@ } } }, - "ebsEncryption": { - "type": "boolean", + "management": { + "$ref": "#/types/rancher2:index/getClusterGkeConfigV2NodePoolManagement:getClusterGkeConfigV2NodePoolManagement", "language": { "python": { "mapCase": false } } }, - "instanceType": { - "type": "string", + "maxPodsConstraint": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "keyPairName": { + "name": { "type": "string", + "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "kubernetesVersion": { + "version": { "type": "string", "language": { "python": { "mapCase": false } } + } + }, + "type": "object", + "required": [ + "autoscaling", + "config", + "initialNodeCount", + "management", + "maxPodsConstraint", + "name", + "version" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterGkeConfigV2NodePoolAutoscaling:getClusterGkeConfigV2NodePoolAutoscaling": { + "properties": { + "enabled": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } }, - "maximumNodes": { + "maxNodeCount": { "type": "integer", "language": { "python": { @@ -22078,15 +25307,29 @@ } } }, - "minimumNodes": { + "minNodeCount": { "type": "integer", "language": { "python": { "mapCase": false } } - }, - "nodeVolumeSize": { + } + }, + "type": "object", + "required": [ + "maxNodeCount", + "minNodeCount" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterGkeConfigV2NodePoolConfig:getClusterGkeConfigV2NodePoolConfig": { + "properties": { + "diskSizeGb": { "type": "integer", "language": { "python": { @@ -22094,7 +25337,7 @@ } } }, - "region": { + "diskType": { "type": "string", "language": { "python": { @@ -22102,7 +25345,7 @@ } } }, - "secretKey": { + "imageType": { "type": "string", "language": { "python": { @@ -22110,26 +25353,27 @@ } } }, - "securityGroups": { - "type": "array", - "items": { - "type": "string" + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" }, + "description": "(Computed) Labels for Node Pool object (map)\n", "language": { "python": { "mapCase": false } } }, - "serviceRole": { - "type": "string", + "localSsdCount": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "sessionToken": { + "machineType": { "type": "string", "language": { "python": { @@ -22137,7 +25381,7 @@ } } }, - "subnets": { + "oauthScopes": { "type": "array", "items": { "type": "string" @@ -22148,16 +25392,30 @@ } } }, - "userData": { - "type": "string", + "preemptible": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "virtualNetwork": { - "type": "string", + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "taints": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterGkeConfigV2NodePoolConfigTaint:getClusterGkeConfigV2NodePoolConfigTaint" + }, "language": { "python": { "mapCase": false @@ -22167,10 +25425,9 @@ }, "type": "object", "required": [ - "accessKey", - "kubernetesVersion", - "secretKey", - "userData" + "labels", + "oauthScopes", + "tags" ], "language": { "nodejs": { @@ -22178,9 +25435,9 @@ } } }, - "rancher2:index/getClusterEksConfigV2:getClusterEksConfigV2": { + "rancher2:index/getClusterGkeConfigV2NodePoolConfigTaint:getClusterGkeConfigV2NodePoolConfigTaint": { "properties": { - "cloudCredentialId": { + "effect": { "type": "string", "language": { "python": { @@ -22188,70 +25445,135 @@ } } }, - "imported": { - "type": "boolean", + "key": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "kmsKey": { + "value": { "type": "string", "language": { "python": { "mapCase": false } } + } + }, + "type": "object", + "required": [ + "effect", + "key", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterGkeConfigV2NodePoolManagement:getClusterGkeConfigV2NodePoolManagement": { + "properties": { + "autoRepair": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } }, - "kubernetesVersion": { - "type": "string", + "autoUpgrade": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "autoRepair", + "autoUpgrade" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterGkeConfigV2PrivateClusterConfig:getClusterGkeConfigV2PrivateClusterConfig": { + "properties": { + "enablePrivateEndpoint": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "loggingTypes": { - "type": "array", - "items": { - "type": "string" - }, + "enablePrivateNodes": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "name": { + "masterIpv4CidrBlock": { "type": "string", - "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } - }, - "nodeGroups": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterEksConfigV2NodeGroup:getClusterEksConfigV2NodeGroup" - }, + } + }, + "type": "object", + "required": [ + "masterIpv4CidrBlock" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterK3sConfig:getClusterK3sConfig": { + "properties": { + "upgradeStrategy": { + "$ref": "#/types/rancher2:index/getClusterK3sConfigUpgradeStrategy:getClusterK3sConfigUpgradeStrategy", "language": { "python": { "mapCase": false } } }, - "privateAccess": { - "type": "boolean", + "version": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "publicAccess": { + } + }, + "type": "object", + "required": [ + "upgradeStrategy", + "version" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterK3sConfigUpgradeStrategy:getClusterK3sConfigUpgradeStrategy": { + "properties": { + "drainServerNodes": { "type": "boolean", "language": { "python": { @@ -22259,68 +25581,64 @@ } } }, - "publicAccessSources": { - "type": "array", - "items": { - "type": "string" - }, + "drainWorkerNodes": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "region": { - "type": "string", + "serverConcurrency": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "secretsEncryption": { - "type": "boolean", + "workerConcurrency": { + "type": "integer", "language": { "python": { "mapCase": false } } - }, - "securityGroups": { - "type": "array", - "items": { - "type": "string" - }, + } + }, + "type": "object" + }, + "rancher2:index/getClusterLoggingCustomTargetConfig:getClusterLoggingCustomTargetConfig": { + "properties": { + "certificate": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "serviceRole": { + "clientCert": { "type": "string", "language": { "python": { "mapCase": false } - } - }, - "subnets": { - "type": "array", - "items": { - "type": "string" }, + "secret": true + }, + "clientKey": { + "type": "string", "language": { "python": { "mapCase": false } - } - }, - "tags": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" }, + "secret": true + }, + "content": { + "type": "string", "language": { "python": { "mapCase": false @@ -22330,14 +25648,7 @@ }, "type": "object", "required": [ - "cloudCredentialId", - "kubernetesVersion", - "name", - "nodeGroups", - "privateAccess", - "publicAccess", - "publicAccessSources", - "secretsEncryption" + "content" ], "language": { "nodejs": { @@ -22345,105 +25656,126 @@ } } }, - "rancher2:index/getClusterEksConfigV2NodeGroup:getClusterEksConfigV2NodeGroup": { + "rancher2:index/getClusterLoggingElasticsearchConfig:getClusterLoggingElasticsearchConfig": { "properties": { - "desiredSize": { - "type": "integer", + "authPassword": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "diskSize": { - "type": "integer", + "authUsername": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "ec2SshKey": { + "certificate": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "gpu": { - "type": "boolean", + "clientCert": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "imageId": { + "clientKey": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "instanceType": { + "clientKeyPass": { "type": "string", "language": { "python": { "mapCase": false } - } - }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" }, - "description": "(Computed) Labels for Node Pool object (map)\n", + "secret": true + }, + "dateFormat": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "launchTemplates": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterEksConfigV2NodeGroupLaunchTemplate:getClusterEksConfigV2NodeGroupLaunchTemplate" - }, + "endpoint": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "maxSize": { - "type": "integer", + "indexPrefix": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "minSize": { - "type": "integer", + "sslVerify": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "name": { + "sslVersion": { "type": "string", - "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } + } + }, + "type": "object", + "required": [ + "endpoint", + "sslVerify" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterLoggingFluentdConfig:getClusterLoggingFluentdConfig": { + "properties": { + "certificate": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true }, - "requestSpotInstances": { + "compress": { "type": "boolean", "language": { "python": { @@ -22451,101 +25783,90 @@ } } }, - "resourceTags": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "enableTls": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "spotInstanceTypes": { + "fluentServers": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/rancher2:index/getClusterLoggingFluentdConfigFluentServer:getClusterLoggingFluentdConfigFluentServer" }, "language": { "python": { "mapCase": false } } - }, - "subnets": { - "type": "array", - "items": { - "type": "string" - }, + } + }, + "type": "object", + "required": [ + "fluentServers" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterLoggingFluentdConfigFluentServer:getClusterLoggingFluentdConfigFluentServer": { + "properties": { + "endpoint": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "tags": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "hostname": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "userData": { + "password": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "version": { + "sharedKey": { "type": "string", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object", - "required": [ - "name", - "subnets", - "userData", - "version" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterEksConfigV2NodeGroupLaunchTemplate:getClusterEksConfigV2NodeGroupLaunchTemplate": { - "properties": { - "id": { - "type": "string", - "description": "(Computed) The ID of the resource (string)\n", + }, + "secret": true + }, + "standby": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "name": { + "username": { "type": "string", - "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "version": { + "weight": { "type": "integer", "language": { "python": { @@ -22556,8 +25877,7 @@ }, "type": "object", "required": [ - "id", - "name" + "endpoint" ], "language": { "nodejs": { @@ -22565,42 +25885,47 @@ } } }, - "rancher2:index/getClusterGkeConfig:getClusterGkeConfig": { + "rancher2:index/getClusterLoggingKafkaConfig:getClusterLoggingKafkaConfig": { "properties": { - "clusterIpv4Cidr": { - "type": "string", + "brokerEndpoints": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "credential": { + "certificate": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "description": { + "clientCert": { "type": "string", - "description": "(Computed) The description for Cluster (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "diskSizeGb": { - "type": "integer", + "clientKey": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "diskType": { + "topic": { "type": "string", "language": { "python": { @@ -22608,71 +25933,88 @@ } } }, - "enableAlphaFeature": { - "type": "boolean", + "zookeeperEndpoint": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "enableAutoRepair": { - "type": "boolean", + } + }, + "type": "object", + "required": [ + "topic" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterLoggingSplunkConfig:getClusterLoggingSplunkConfig": { + "properties": { + "certificate": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enableAutoUpgrade": { - "type": "boolean", + "clientCert": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enableHorizontalPodAutoscaling": { - "type": "boolean", + "clientKey": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enableHttpLoadBalancing": { - "type": "boolean", + "clientKeyPass": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enableKubernetesDashboard": { - "type": "boolean", + "endpoint": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "enableLegacyAbac": { - "type": "boolean", + "index": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "enableMasterAuthorizedNetwork": { - "type": "boolean", + "source": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "enableNetworkPolicyConfig": { + "sslVerify": { "type": "boolean", "language": { "python": { @@ -22680,39 +26022,58 @@ } } }, - "enableNodepoolAutoscaling": { - "type": "boolean", + "token": { + "type": "string", "language": { "python": { "mapCase": false } - } - }, - "enablePrivateEndpoint": { - "type": "boolean", + }, + "secret": true + } + }, + "type": "object", + "required": [ + "endpoint", + "sslVerify", + "token" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterLoggingSyslogConfig:getClusterLoggingSyslogConfig": { + "properties": { + "certificate": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enablePrivateNodes": { - "type": "boolean", + "clientCert": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enableStackdriverLogging": { - "type": "boolean", + "clientKey": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enableStackdriverMonitoring": { + "enableTls": { "type": "boolean", "language": { "python": { @@ -22720,7 +26081,7 @@ } } }, - "imageType": { + "endpoint": { "type": "string", "language": { "python": { @@ -22728,7 +26089,7 @@ } } }, - "ipPolicyClusterIpv4CidrBlock": { + "program": { "type": "string", "language": { "python": { @@ -22736,7 +26097,7 @@ } } }, - "ipPolicyClusterSecondaryRangeName": { + "protocol": { "type": "string", "language": { "python": { @@ -22744,15 +26105,7 @@ } } }, - "ipPolicyCreateSubnetwork": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "ipPolicyNodeIpv4CidrBlock": { + "severity": { "type": "string", "language": { "python": { @@ -22760,23 +26113,38 @@ } } }, - "ipPolicyServicesIpv4CidrBlock": { - "type": "string", + "sslVerify": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "ipPolicyServicesSecondaryRangeName": { + "token": { "type": "string", "language": { "python": { "mapCase": false } - } - }, - "ipPolicySubnetworkName": { + }, + "secret": true + } + }, + "type": "object", + "required": [ + "endpoint", + "sslVerify" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterOkeConfig:getClusterOkeConfig": { + "properties": { + "compartmentId": { "type": "string", "language": { "python": { @@ -22784,62 +26152,48 @@ } } }, - "issueClientCertificate": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "kubernetesDashboard": { - "type": "boolean", + "customBootVolumeSize": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "(Computed) Labels for Node Pool object (map)\n", + "description": { + "type": "string", + "description": "(Computed) The description for Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "localSsdCount": { - "type": "integer", + "enableKubernetesDashboard": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "locations": { - "type": "array", - "items": { - "type": "string" - }, + "enablePrivateControlPlane": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "machineType": { - "type": "string", + "enablePrivateNodes": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "maintenanceWindow": { + "fingerprint": { "type": "string", "language": { "python": { @@ -22847,26 +26201,24 @@ } } }, - "masterAuthorizedNetworkCidrBlocks": { - "type": "array", - "items": { - "type": "string" - }, + "flexOcpus": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "masterIpv4CidrBlock": { + "kmsKeyId": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "masterVersion": { + "kubernetesVersion": { "type": "string", "language": { "python": { @@ -22874,7 +26226,7 @@ } } }, - "maxNodeCount": { + "limitNodeCount": { "type": "integer", "language": { "python": { @@ -22882,15 +26234,15 @@ } } }, - "minNodeCount": { - "type": "integer", + "loadBalancerSubnetName1": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "network": { + "loadBalancerSubnetName2": { "type": "string", "language": { "python": { @@ -22898,15 +26250,15 @@ } } }, - "nodeCount": { - "type": "integer", + "nodeImage": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "nodePool": { + "nodePoolDnsDomainName": { "type": "string", "language": { "python": { @@ -22914,7 +26266,7 @@ } } }, - "nodeVersion": { + "nodePoolSubnetName": { "type": "string", "language": { "python": { @@ -22922,26 +26274,23 @@ } } }, - "oauthScopes": { - "type": "array", - "items": { - "type": "string" - }, + "nodePublicKeyContents": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "preemptible": { - "type": "boolean", + "nodeShape": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "projectId": { + "podCidr": { "type": "string", "language": { "python": { @@ -22949,113 +26298,73 @@ } } }, - "region": { + "privateKeyContents": { "type": "string", "language": { "python": { "mapCase": false } - } - }, - "resourceLabels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" }, + "secret": true + }, + "privateKeyPassphrase": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "serviceAccount": { - "type": "string", + "quantityOfNodeSubnets": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "subNetwork": { - "type": "string", + "quantityPerSubnet": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "taints": { - "type": "array", - "items": { - "type": "string" - }, + "region": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "useIpAliases": { - "type": "boolean", + "serviceCidr": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "zone": { + "serviceDnsDomainName": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "clusterIpv4Cidr", - "credential", - "diskType", - "imageType", - "ipPolicyClusterIpv4CidrBlock", - "ipPolicyClusterSecondaryRangeName", - "ipPolicyNodeIpv4CidrBlock", - "ipPolicyServicesIpv4CidrBlock", - "ipPolicyServicesSecondaryRangeName", - "ipPolicySubnetworkName", - "labels", - "locations", - "machineType", - "maintenanceWindow", - "masterIpv4CidrBlock", - "masterVersion", - "network", - "nodePool", - "nodeVersion", - "oauthScopes", - "projectId", - "resourceLabels", - "serviceAccount", - "subNetwork" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterGkeConfigV2:getClusterGkeConfigV2": { - "properties": { - "clusterAddons": { - "$ref": "#/types/rancher2:index/getClusterGkeConfigV2ClusterAddons:getClusterGkeConfigV2ClusterAddons", + }, + "skipVcnDelete": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "clusterIpv4CidrBlock": { + "tenancyId": { "type": "string", "language": { "python": { @@ -23063,24 +26372,23 @@ } } }, - "description": { + "userOcid": { "type": "string", - "description": "(Computed) The description for Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "enableKubernetesAlpha": { - "type": "boolean", + "vcnCompartmentId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "googleCredentialSecret": { + "vcnName": { "type": "string", "language": { "python": { @@ -23088,78 +26396,111 @@ } } }, - "imported": { - "type": "boolean", + "workerNodeIngressCidr": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "ipAllocationPolicy": { - "$ref": "#/types/rancher2:index/getClusterGkeConfigV2IpAllocationPolicy:getClusterGkeConfigV2IpAllocationPolicy", + } + }, + "type": "object", + "required": [ + "compartmentId", + "fingerprint", + "kubernetesVersion", + "nodeImage", + "nodeShape", + "privateKeyContents", + "region", + "tenancyId", + "userOcid" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRke2Config:getClusterRke2Config": { + "properties": { + "upgradeStrategy": { + "$ref": "#/types/rancher2:index/getClusterRke2ConfigUpgradeStrategy:getClusterRke2ConfigUpgradeStrategy", "language": { "python": { "mapCase": false } } }, - "kubernetesVersion": { + "version": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "(Computed) Labels for Node Pool object (map)\n", + } + }, + "type": "object", + "required": [ + "upgradeStrategy", + "version" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRke2ConfigUpgradeStrategy:getClusterRke2ConfigUpgradeStrategy": { + "properties": { + "drainServerNodes": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "locations": { - "type": "array", - "items": { - "type": "string" - }, + "drainWorkerNodes": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "loggingService": { - "type": "string", + "serverConcurrency": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "maintenanceWindow": { - "type": "string", + "workerConcurrency": { + "type": "integer", "language": { "python": { "mapCase": false } } - }, - "masterAuthorizedNetworksConfig": { - "$ref": "#/types/rancher2:index/getClusterGkeConfigV2MasterAuthorizedNetworksConfig:getClusterGkeConfigV2MasterAuthorizedNetworksConfig", + } + }, + "type": "object" + }, + "rancher2:index/getClusterRkeConfig:getClusterRkeConfig": { + "properties": { + "addonJobTimeout": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "monitoringService": { + "addons": { "type": "string", "language": { "python": { @@ -23167,156 +26508,117 @@ } } }, - "name": { - "type": "string", - "description": "The name of the Cluster (string)\n", + "addonsIncludes": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "network": { - "type": "string", + "authentication": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigAuthentication:getClusterRkeConfigAuthentication", "language": { "python": { "mapCase": false } } }, - "networkPolicyEnabled": { - "type": "boolean", + "authorization": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigAuthorization:getClusterRkeConfigAuthorization", "language": { "python": { "mapCase": false } } }, - "nodePools": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterGkeConfigV2NodePool:getClusterGkeConfigV2NodePool" - }, + "bastionHost": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigBastionHost:getClusterRkeConfigBastionHost", "language": { "python": { "mapCase": false } } }, - "privateClusterConfig": { - "$ref": "#/types/rancher2:index/getClusterGkeConfigV2PrivateClusterConfig:getClusterGkeConfigV2PrivateClusterConfig", + "cloudProvider": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProvider:getClusterRkeConfigCloudProvider", "language": { "python": { "mapCase": false } } }, - "projectId": { - "type": "string", + "dns": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigDns:getClusterRkeConfigDns", "language": { "python": { "mapCase": false } } }, - "region": { - "type": "string", + "enableCriDockerd": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "subnetwork": { - "type": "string", + "ignoreDockerVersion": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "zone": { + "ingress": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigIngress:getClusterRkeConfigIngress", + "language": { + "python": { + "mapCase": false + } + } + }, + "kubernetesVersion": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "clusterAddons", - "clusterIpv4CidrBlock", - "description", - "enableKubernetesAlpha", - "googleCredentialSecret", - "ipAllocationPolicy", - "kubernetesVersion", - "labels", - "locations", - "loggingService", - "maintenanceWindow", - "masterAuthorizedNetworksConfig", - "monitoringService", - "name", - "network", - "networkPolicyEnabled", - "nodePools", - "privateClusterConfig", - "projectId", - "region", - "subnetwork", - "zone" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterGkeConfigV2ClusterAddons:getClusterGkeConfigV2ClusterAddons": { - "properties": { - "horizontalPodAutoscaling": { - "type": "boolean", + }, + "monitoring": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigMonitoring:getClusterRkeConfigMonitoring", "language": { "python": { "mapCase": false } } }, - "httpLoadBalancing": { - "type": "boolean", + "network": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigNetwork:getClusterRkeConfigNetwork", "language": { "python": { "mapCase": false } } }, - "networkPolicyConfig": { - "type": "boolean", + "nodes": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigNode:getClusterRkeConfigNode" + }, "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "horizontalPodAutoscaling", - "httpLoadBalancing", - "networkPolicyConfig" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterGkeConfigV2IpAllocationPolicy:getClusterGkeConfigV2IpAllocationPolicy": { - "properties": { - "clusterIpv4CidrBlock": { + }, + "prefixPath": { "type": "string", "language": { "python": { @@ -23324,31 +26626,34 @@ } } }, - "clusterSecondaryRangeName": { - "type": "string", + "privateRegistries": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigPrivateRegistry:getClusterRkeConfigPrivateRegistry" + }, "language": { "python": { "mapCase": false } } }, - "createSubnetwork": { - "type": "boolean", + "services": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServices:getClusterRkeConfigServices", "language": { "python": { "mapCase": false } } }, - "nodeIpv4CidrBlock": { - "type": "string", + "sshAgentAuth": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "servicesIpv4CidrBlock": { + "sshCertPath": { "type": "string", "language": { "python": { @@ -23356,7 +26661,7 @@ } } }, - "servicesSecondaryRangeName": { + "sshKeyPath": { "type": "string", "language": { "python": { @@ -23364,16 +26669,16 @@ } } }, - "subnetworkName": { - "type": "string", + "upgradeStrategy": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigUpgradeStrategy:getClusterRkeConfigUpgradeStrategy", "language": { "python": { "mapCase": false } } }, - "useIpAliases": { - "type": "boolean", + "winPrefixPath": { + "type": "string", "language": { "python": { "mapCase": false @@ -23383,14 +26688,22 @@ }, "type": "object", "required": [ - "clusterIpv4CidrBlock", - "clusterSecondaryRangeName", - "createSubnetwork", - "nodeIpv4CidrBlock", - "servicesIpv4CidrBlock", - "servicesSecondaryRangeName", - "subnetworkName", - "useIpAliases" + "addonJobTimeout", + "authentication", + "authorization", + "bastionHost", + "cloudProvider", + "dns", + "ingress", + "kubernetesVersion", + "monitoring", + "network", + "prefixPath", + "services", + "sshCertPath", + "sshKeyPath", + "upgradeStrategy", + "winPrefixPath" ], "language": { "nodejs": { @@ -23398,12 +26711,12 @@ } } }, - "rancher2:index/getClusterGkeConfigV2MasterAuthorizedNetworksConfig:getClusterGkeConfigV2MasterAuthorizedNetworksConfig": { + "rancher2:index/getClusterRkeConfigAuthentication:getClusterRkeConfigAuthentication": { "properties": { - "cidrBlocks": { + "sans": { "type": "array", "items": { - "$ref": "#/types/rancher2:index/getClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock:getClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock" + "type": "string" }, "language": { "python": { @@ -23411,8 +26724,8 @@ } } }, - "enabled": { - "type": "boolean", + "strategy": { + "type": "string", "language": { "python": { "mapCase": false @@ -23422,7 +26735,8 @@ }, "type": "object", "required": [ - "cidrBlocks" + "sans", + "strategy" ], "language": { "nodejs": { @@ -23430,9 +26744,9 @@ } } }, - "rancher2:index/getClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock:getClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock": { + "rancher2:index/getClusterRkeConfigAuthorization:getClusterRkeConfigAuthorization": { "properties": { - "cidrBlock": { + "mode": { "type": "string", "language": { "python": { @@ -23440,8 +26754,11 @@ } } }, - "displayName": { - "type": "string", + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false @@ -23451,7 +26768,7 @@ }, "type": "object", "required": [ - "cidrBlock" + "options" ], "language": { "nodejs": { @@ -23459,42 +26776,91 @@ } } }, - "rancher2:index/getClusterGkeConfigV2NodePool:getClusterGkeConfigV2NodePool": { + "rancher2:index/getClusterRkeConfigBastionHost:getClusterRkeConfigBastionHost": { "properties": { - "autoscaling": { - "$ref": "#/types/rancher2:index/getClusterGkeConfigV2NodePoolAutoscaling:getClusterGkeConfigV2NodePoolAutoscaling", + "address": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "config": { - "$ref": "#/types/rancher2:index/getClusterGkeConfigV2NodePoolConfig:getClusterGkeConfigV2NodePoolConfig", + "port": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "initialNodeCount": { - "type": "integer", + "sshAgentAuth": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "management": { - "$ref": "#/types/rancher2:index/getClusterGkeConfigV2NodePoolManagement:getClusterGkeConfigV2NodePoolManagement", + "sshKey": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "sshKeyPath": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "maxPodsConstraint": { - "type": "integer", + "user": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "address", + "sshKey", + "sshKeyPath", + "user" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigCloudProvider:getClusterRkeConfigCloudProvider": { + "properties": { + "awsCloudProvider": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProvider:getClusterRkeConfigCloudProviderAwsCloudProvider", + "language": { + "python": { + "mapCase": false + } + } + }, + "azureCloudProvider": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderAzureCloudProvider:getClusterRkeConfigCloudProviderAzureCloudProvider", + "language": { + "python": { + "mapCase": false + } + } + }, + "customCloudProvider": { + "type": "string", "language": { "python": { "mapCase": false @@ -23510,8 +26876,16 @@ } } }, - "version": { - "type": "string", + "openstackCloudProvider": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProvider:getClusterRkeConfigCloudProviderOpenstackCloudProvider", + "language": { + "python": { + "mapCase": false + } + } + }, + "vsphereCloudProvider": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProvider:getClusterRkeConfigCloudProviderVsphereCloudProvider", "language": { "python": { "mapCase": false @@ -23521,13 +26895,7 @@ }, "type": "object", "required": [ - "autoscaling", - "config", - "initialNodeCount", - "management", - "maxPodsConstraint", - "name", - "version" + "customCloudProvider" ], "language": { "nodejs": { @@ -23535,26 +26903,21 @@ } } }, - "rancher2:index/getClusterGkeConfigV2NodePoolAutoscaling:getClusterGkeConfigV2NodePoolAutoscaling": { + "rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProvider:getClusterRkeConfigCloudProviderAwsCloudProvider": { "properties": { - "enabled": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "maxNodeCount": { - "type": "integer", + "global": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProviderGlobal:getClusterRkeConfigCloudProviderAwsCloudProviderGlobal", "language": { "python": { "mapCase": false } } }, - "minNodeCount": { - "type": "integer", + "serviceOverrides": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride:getClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride" + }, "language": { "python": { "mapCase": false @@ -23564,8 +26927,7 @@ }, "type": "object", "required": [ - "maxNodeCount", - "minNodeCount" + "global" ], "language": { "nodejs": { @@ -23573,25 +26935,25 @@ } } }, - "rancher2:index/getClusterGkeConfigV2NodePoolConfig:getClusterGkeConfigV2NodePoolConfig": { + "rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProviderGlobal:getClusterRkeConfigCloudProviderAwsCloudProviderGlobal": { "properties": { - "diskSizeGb": { - "type": "integer", + "disableSecurityGroupIngress": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "diskType": { - "type": "string", + "disableStrictZoneCheck": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "imageType": { + "elbSecurityGroup": { "type": "string", "language": { "python": { @@ -23599,27 +26961,23 @@ } } }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "(Computed) Labels for Node Pool object (map)\n", + "kubernetesClusterId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "localSsdCount": { - "type": "integer", + "kubernetesClusterTag": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "machineType": { + "roleArn": { "type": "string", "language": { "python": { @@ -23627,41 +26985,32 @@ } } }, - "oauthScopes": { - "type": "array", - "items": { - "type": "string" - }, + "routeTableId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "preemptible": { - "type": "boolean", + "subnetId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "tags": { - "type": "array", - "items": { - "type": "string" - }, + "vpc": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "taints": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterGkeConfigV2NodePoolConfigTaint:getClusterGkeConfigV2NodePoolConfigTaint" - }, + "zone": { + "type": "string", "language": { "python": { "mapCase": false @@ -23671,9 +27020,14 @@ }, "type": "object", "required": [ - "labels", - "oauthScopes", - "tags" + "elbSecurityGroup", + "kubernetesClusterId", + "kubernetesClusterTag", + "roleArn", + "routeTableId", + "subnetId", + "vpc", + "zone" ], "language": { "nodejs": { @@ -23681,9 +27035,9 @@ } } }, - "rancher2:index/getClusterGkeConfigV2NodePoolConfigTaint:getClusterGkeConfigV2NodePoolConfigTaint": { + "rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride:getClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride": { "properties": { - "effect": { + "region": { "type": "string", "language": { "python": { @@ -23691,7 +27045,7 @@ } } }, - "key": { + "service": { "type": "string", "language": { "python": { @@ -23699,39 +27053,32 @@ } } }, - "value": { + "signingMethod": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "effect", - "key", - "value" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterGkeConfigV2NodePoolManagement:getClusterGkeConfigV2NodePoolManagement": { - "properties": { - "autoRepair": { - "type": "boolean", + }, + "signingName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "autoUpgrade": { - "type": "boolean", + "signingRegion": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "url": { + "type": "string", "language": { "python": { "mapCase": false @@ -23741,8 +27088,12 @@ }, "type": "object", "required": [ - "autoRepair", - "autoUpgrade" + "region", + "service", + "signingMethod", + "signingName", + "signingRegion", + "url" ], "language": { "nodejs": { @@ -23750,17 +27101,52 @@ } } }, - "rancher2:index/getClusterGkeConfigV2PrivateClusterConfig:getClusterGkeConfigV2PrivateClusterConfig": { + "rancher2:index/getClusterRkeConfigCloudProviderAzureCloudProvider:getClusterRkeConfigCloudProviderAzureCloudProvider": { "properties": { - "enablePrivateEndpoint": { - "type": "boolean", + "aadClientCertPassword": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "aadClientCertPath": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "enablePrivateNodes": { + "aadClientId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "aadClientSecret": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "cloud": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "cloudProviderBackoff": { "type": "boolean", "language": { "python": { @@ -23768,66 +27154,39 @@ } } }, - "masterIpv4CidrBlock": { - "type": "string", + "cloudProviderBackoffDuration": { + "type": "integer", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "masterIpv4CidrBlock" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterK3sConfig:getClusterK3sConfig": { - "properties": { - "upgradeStrategy": { - "$ref": "#/types/rancher2:index/getClusterK3sConfigUpgradeStrategy:getClusterK3sConfigUpgradeStrategy", + }, + "cloudProviderBackoffExponent": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "version": { - "type": "string", + "cloudProviderBackoffJitter": { + "type": "integer", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "upgradeStrategy", - "version" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterK3sConfigUpgradeStrategy:getClusterK3sConfigUpgradeStrategy": { - "properties": { - "drainServerNodes": { - "type": "boolean", + }, + "cloudProviderBackoffRetries": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "drainWorkerNodes": { + "cloudProviderRateLimit": { "type": "boolean", "language": { "python": { @@ -23835,7 +27194,7 @@ } } }, - "serverConcurrency": { + "cloudProviderRateLimitBucket": { "type": "integer", "language": { "python": { @@ -23843,20 +27202,15 @@ } } }, - "workerConcurrency": { + "cloudProviderRateLimitQps": { "type": "integer", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterLoggingCustomTargetConfig:getClusterLoggingCustomTargetConfig": { - "properties": { - "certificate": { + }, + "loadBalancerSku": { "type": "string", "language": { "python": { @@ -23864,7 +27218,7 @@ } } }, - "clientCert": { + "location": { "type": "string", "language": { "python": { @@ -23872,36 +27226,23 @@ } } }, - "clientKey": { - "type": "string", + "maximumLoadBalancerRuleCount": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "content": { + "primaryAvailabilitySetName": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "content" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterLoggingElasticsearchConfig:getClusterLoggingElasticsearchConfig": { - "properties": { - "authPassword": { + }, + "primaryScaleSetName": { "type": "string", "language": { "python": { @@ -23909,7 +27250,7 @@ } } }, - "authUsername": { + "resourceGroup": { "type": "string", "language": { "python": { @@ -23917,7 +27258,7 @@ } } }, - "certificate": { + "routeTableName": { "type": "string", "language": { "python": { @@ -23925,7 +27266,7 @@ } } }, - "clientCert": { + "securityGroupName": { "type": "string", "language": { "python": { @@ -23933,7 +27274,7 @@ } } }, - "clientKey": { + "subnetName": { "type": "string", "language": { "python": { @@ -23941,31 +27282,41 @@ } } }, - "clientKeyPass": { + "subscriptionId": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "dateFormat": { + "tenantId": { "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "useInstanceMetadata": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "endpoint": { - "type": "string", + "useManagedIdentityExtension": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "indexPrefix": { + "vmType": { "type": "string", "language": { "python": { @@ -23973,15 +27324,15 @@ } } }, - "sslVerify": { - "type": "boolean", + "vnetName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "sslVersion": { + "vnetResourceGroup": { "type": "string", "language": { "python": { @@ -23992,8 +27343,34 @@ }, "type": "object", "required": [ - "endpoint", - "sslVerify" + "aadClientCertPassword", + "aadClientCertPath", + "aadClientId", + "aadClientSecret", + "cloud", + "cloudProviderBackoff", + "cloudProviderBackoffDuration", + "cloudProviderBackoffExponent", + "cloudProviderBackoffJitter", + "cloudProviderBackoffRetries", + "cloudProviderRateLimit", + "cloudProviderRateLimitBucket", + "cloudProviderRateLimitQps", + "location", + "maximumLoadBalancerRuleCount", + "primaryAvailabilitySetName", + "primaryScaleSetName", + "resourceGroup", + "routeTableName", + "securityGroupName", + "subnetName", + "subscriptionId", + "tenantId", + "useInstanceMetadata", + "useManagedIdentityExtension", + "vmType", + "vnetName", + "vnetResourceGroup" ], "language": { "nodejs": { @@ -24001,37 +27378,42 @@ } } }, - "rancher2:index/getClusterLoggingFluentdConfig:getClusterLoggingFluentdConfig": { + "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProvider:getClusterRkeConfigCloudProviderOpenstackCloudProvider": { "properties": { - "certificate": { - "type": "string", + "blockStorage": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage", "language": { "python": { "mapCase": false } } }, - "compress": { - "type": "boolean", + "global": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal:getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal", "language": { "python": { "mapCase": false } } }, - "enableTls": { - "type": "boolean", + "loadBalancer": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer", "language": { "python": { "mapCase": false } } }, - "fluentServers": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterLoggingFluentdConfigFluentServer:getClusterLoggingFluentdConfigFluentServer" - }, + "metadata": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata:getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata", + "language": { + "python": { + "mapCase": false + } + } + }, + "route": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderRoute:getClusterRkeConfigCloudProviderOpenstackCloudProviderRoute", "language": { "python": { "mapCase": false @@ -24041,7 +27423,11 @@ }, "type": "object", "required": [ - "fluentServers" + "blockStorage", + "global", + "loadBalancer", + "metadata", + "route" ], "language": { "nodejs": { @@ -24049,9 +27435,9 @@ } } }, - "rancher2:index/getClusterLoggingFluentdConfigFluentServer:getClusterLoggingFluentdConfigFluentServer": { + "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage": { "properties": { - "endpoint": { + "bsVersion": { "type": "string", "language": { "python": { @@ -24059,23 +27445,38 @@ } } }, - "hostname": { - "type": "string", + "ignoreVolumeAz": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "password": { - "type": "string", + "trustDevicePath": { + "type": "boolean", "language": { "python": { "mapCase": false } } - }, - "sharedKey": { + } + }, + "type": "object", + "required": [ + "bsVersion", + "ignoreVolumeAz", + "trustDevicePath" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal:getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal": { + "properties": { + "authUrl": { "type": "string", "language": { "python": { @@ -24083,55 +27484,41 @@ } } }, - "standby": { - "type": "boolean", + "caFile": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "username": { + "domainId": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "weight": { - "type": "integer", + "domainName": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "endpoint" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterLoggingKafkaConfig:getClusterLoggingKafkaConfig": { - "properties": { - "brokerEndpoints": { - "type": "array", - "items": { - "type": "string" - }, + }, + "password": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "certificate": { + "region": { "type": "string", "language": { "python": { @@ -24139,15 +27526,16 @@ } } }, - "clientCert": { + "tenantId": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "clientKey": { + "tenantName": { "type": "string", "language": { "python": { @@ -24155,26 +27543,37 @@ } } }, - "topic": { + "trustId": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "zookeeperEndpoint": { + "username": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", "required": [ - "topic" + "authUrl", + "caFile", + "domainId", + "domainName", + "password", + "region", + "tenantId", + "tenantName", + "trustId", + "username" ], "language": { "nodejs": { @@ -24182,9 +27581,17 @@ } } }, - "rancher2:index/getClusterLoggingSplunkConfig:getClusterLoggingSplunkConfig": { + "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer": { "properties": { - "certificate": { + "createMonitor": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "floatingNetworkId": { "type": "string", "language": { "python": { @@ -24192,7 +27599,7 @@ } } }, - "clientCert": { + "lbMethod": { "type": "string", "language": { "python": { @@ -24200,7 +27607,7 @@ } } }, - "clientKey": { + "lbProvider": { "type": "string", "language": { "python": { @@ -24208,7 +27615,7 @@ } } }, - "clientKeyPass": { + "lbVersion": { "type": "string", "language": { "python": { @@ -24216,7 +27623,15 @@ } } }, - "endpoint": { + "manageSecurityGroups": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "monitorDelay": { "type": "string", "language": { "python": { @@ -24224,7 +27639,15 @@ } } }, - "index": { + "monitorMaxRetries": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + }, + "monitorTimeout": { "type": "string", "language": { "python": { @@ -24232,7 +27655,7 @@ } } }, - "source": { + "subnetId": { "type": "string", "language": { "python": { @@ -24240,15 +27663,43 @@ } } }, - "sslVerify": { + "useOctavia": { "type": "boolean", "language": { "python": { "mapCase": false } } + } + }, + "type": "object", + "required": [ + "createMonitor", + "floatingNetworkId", + "lbMethod", + "lbProvider", + "lbVersion", + "manageSecurityGroups", + "subnetId", + "useOctavia" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata:getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata": { + "properties": { + "requestTimeout": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } }, - "token": { + "searchOrder": { "type": "string", "language": { "python": { @@ -24259,9 +27710,8 @@ }, "type": "object", "required": [ - "endpoint", - "sslVerify", - "token" + "requestTimeout", + "searchOrder" ], "language": { "nodejs": { @@ -24269,49 +27719,111 @@ } } }, - "rancher2:index/getClusterLoggingSyslogConfig:getClusterLoggingSyslogConfig": { + "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderRoute:getClusterRkeConfigCloudProviderOpenstackCloudProviderRoute": { "properties": { - "certificate": { + "routerId": { "type": "string", "language": { "python": { "mapCase": false } } + } + }, + "type": "object", + "required": [ + "routerId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProvider:getClusterRkeConfigCloudProviderVsphereCloudProvider": { + "properties": { + "disk": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderDisk:getClusterRkeConfigCloudProviderVsphereCloudProviderDisk", + "language": { + "python": { + "mapCase": false + } + } }, - "clientCert": { - "type": "string", + "global": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderGlobal:getClusterRkeConfigCloudProviderVsphereCloudProviderGlobal", "language": { "python": { "mapCase": false } } }, - "clientKey": { - "type": "string", + "network": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderNetwork:getClusterRkeConfigCloudProviderVsphereCloudProviderNetwork", "language": { "python": { "mapCase": false } } }, - "enableTls": { - "type": "boolean", + "virtualCenters": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:getClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter" + }, "language": { "python": { "mapCase": false } } }, - "endpoint": { + "workspace": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace:getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object", + "required": [ + "disk", + "global", + "network", + "virtualCenters", + "workspace" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderDisk:getClusterRkeConfigCloudProviderVsphereCloudProviderDisk": { + "properties": { + "scsiControllerType": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "program": { + } + }, + "type": "object", + "required": [ + "scsiControllerType" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderGlobal:getClusterRkeConfigCloudProviderVsphereCloudProviderGlobal": { + "properties": { + "datacenters": { "type": "string", "language": { "python": { @@ -24319,15 +27831,24 @@ } } }, - "protocol": { - "type": "string", + "insecureFlag": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "severity": { + "password": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "port": { "type": "string", "language": { "python": { @@ -24335,15 +27856,42 @@ } } }, - "sslVerify": { - "type": "boolean", + "soapRoundtripCount": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "token": { + "user": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + } + }, + "type": "object", + "required": [ + "datacenters", + "insecureFlag", + "password", + "port", + "soapRoundtripCount", + "user" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderNetwork:getClusterRkeConfigCloudProviderVsphereCloudProviderNetwork": { + "properties": { + "publicNetwork": { "type": "string", "language": { "python": { @@ -24354,8 +27902,7 @@ }, "type": "object", "required": [ - "endpoint", - "sslVerify" + "publicNetwork" ], "language": { "nodejs": { @@ -24363,9 +27910,9 @@ } } }, - "rancher2:index/getClusterOkeConfig:getClusterOkeConfig": { + "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:getClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter": { "properties": { - "compartmentId": { + "datacenters": { "type": "string", "language": { "python": { @@ -24373,48 +27920,68 @@ } } }, - "customBootVolumeSize": { - "type": "integer", + "name": { + "type": "string", + "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "description": { + "password": { "type": "string", - "description": "(Computed) The description for Cluster (string)\n", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enableKubernetesDashboard": { - "type": "boolean", + "port": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "enablePrivateControlPlane": { - "type": "boolean", + "soapRoundtripCount": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "enablePrivateNodes": { - "type": "boolean", + "user": { + "type": "string", "language": { "python": { "mapCase": false } - } - }, - "fingerprint": { + }, + "secret": true + } + }, + "type": "object", + "required": [ + "datacenters", + "name", + "password", + "port", + "soapRoundtripCount", + "user" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace:getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace": { + "properties": { + "datacenter": { "type": "string", "language": { "python": { @@ -24422,15 +27989,15 @@ } } }, - "flexOcpus": { - "type": "integer", + "defaultDatastore": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "kmsKeyId": { + "folder": { "type": "string", "language": { "python": { @@ -24438,7 +28005,7 @@ } } }, - "kubernetesVersion": { + "resourcepoolPath": { "type": "string", "language": { "python": { @@ -24446,47 +28013,70 @@ } } }, - "limitNodeCount": { - "type": "integer", + "server": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "loadBalancerSubnetName1": { - "type": "string", + } + }, + "type": "object", + "required": [ + "datacenter", + "defaultDatastore", + "folder", + "resourcepoolPath", + "server" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigDns:getClusterRkeConfigDns": { + "properties": { + "linearAutoscalerParams": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigDnsLinearAutoscalerParams:getClusterRkeConfigDnsLinearAutoscalerParams", "language": { "python": { "mapCase": false } } }, - "loadBalancerSubnetName2": { - "type": "string", + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "nodeImage": { - "type": "string", + "nodelocal": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigDnsNodelocal:getClusterRkeConfigDnsNodelocal", "language": { "python": { "mapCase": false } } }, - "nodePoolDnsDomainName": { - "type": "string", + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "nodePoolSubnetName": { + "provider": { "type": "string", "language": { "python": { @@ -24494,47 +28084,72 @@ } } }, - "nodePublicKeyContents": { - "type": "string", + "reverseCidrs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "nodeShape": { - "type": "string", + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigDnsToleration:getClusterRkeConfigDnsToleration" + }, "language": { "python": { "mapCase": false } } }, - "podCidr": { - "type": "string", + "updateStrategy": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigDnsUpdateStrategy:getClusterRkeConfigDnsUpdateStrategy", "language": { "python": { "mapCase": false } } }, - "privateKeyContents": { - "type": "string", + "upstreamNameservers": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } - }, - "privateKeyPassphrase": { - "type": "string", + } + }, + "type": "object", + "required": [ + "nodeSelector", + "options", + "reverseCidrs", + "upstreamNameservers" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigDnsLinearAutoscalerParams:getClusterRkeConfigDnsLinearAutoscalerParams": { + "properties": { + "coresPerReplica": { + "type": "number", "language": { "python": { "mapCase": false } } }, - "quantityOfNodeSubnets": { + "max": { "type": "integer", "language": { "python": { @@ -24542,7 +28157,7 @@ } } }, - "quantityPerSubnet": { + "min": { "type": "integer", "language": { "python": { @@ -24550,23 +28165,28 @@ } } }, - "region": { - "type": "string", + "nodesPerReplica": { + "type": "number", "language": { "python": { "mapCase": false } } }, - "serviceCidr": { - "type": "string", + "preventSinglePointFailure": { + "type": "boolean", "language": { "python": { "mapCase": false } } - }, - "serviceDnsDomainName": { + } + }, + "type": "object" + }, + "rancher2:index/getClusterRkeConfigDnsNodelocal:getClusterRkeConfigDnsNodelocal": { + "properties": { + "ipAddress": { "type": "string", "language": { "python": { @@ -24574,15 +28194,23 @@ } } }, - "skipVcnDelete": { - "type": "boolean", + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } - }, - "tenancyId": { + } + }, + "type": "object" + }, + "rancher2:index/getClusterRkeConfigDnsToleration:getClusterRkeConfigDnsToleration": { + "properties": { + "effect": { "type": "string", "language": { "python": { @@ -24590,7 +28218,7 @@ } } }, - "userOcid": { + "key": { "type": "string", "language": { "python": { @@ -24598,7 +28226,7 @@ } } }, - "vcnCompartmentId": { + "operator": { "type": "string", "language": { "python": { @@ -24606,15 +28234,15 @@ } } }, - "vcnName": { - "type": "string", + "seconds": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "workerNodeIngressCidr": { + "value": { "type": "string", "language": { "python": { @@ -24625,15 +28253,8 @@ }, "type": "object", "required": [ - "compartmentId", - "fingerprint", - "kubernetesVersion", - "nodeImage", - "nodeShape", - "privateKeyContents", - "region", - "tenancyId", - "userOcid" + "key", + "seconds" ], "language": { "nodejs": { @@ -24641,17 +28262,17 @@ } } }, - "rancher2:index/getClusterRke2Config:getClusterRke2Config": { + "rancher2:index/getClusterRkeConfigDnsUpdateStrategy:getClusterRkeConfigDnsUpdateStrategy": { "properties": { - "upgradeStrategy": { - "$ref": "#/types/rancher2:index/getClusterRke2ConfigUpgradeStrategy:getClusterRke2ConfigUpgradeStrategy", + "rollingUpdate": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigDnsUpdateStrategyRollingUpdate:getClusterRkeConfigDnsUpdateStrategyRollingUpdate", "language": { "python": { "mapCase": false } } }, - "version": { + "strategy": { "type": "string", "language": { "python": { @@ -24660,36 +28281,11 @@ } } }, - "type": "object", - "required": [ - "upgradeStrategy", - "version" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "type": "object" }, - "rancher2:index/getClusterRke2ConfigUpgradeStrategy:getClusterRke2ConfigUpgradeStrategy": { + "rancher2:index/getClusterRkeConfigDnsUpdateStrategyRollingUpdate:getClusterRkeConfigDnsUpdateStrategyRollingUpdate": { "properties": { - "drainServerNodes": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "drainWorkerNodes": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "serverConcurrency": { + "maxSurge": { "type": "integer", "language": { "python": { @@ -24697,7 +28293,7 @@ } } }, - "workerConcurrency": { + "maxUnavailable": { "type": "integer", "language": { "python": { @@ -24708,17 +28304,17 @@ }, "type": "object" }, - "rancher2:index/getClusterRkeConfig:getClusterRkeConfig": { + "rancher2:index/getClusterRkeConfigIngress:getClusterRkeConfigIngress": { "properties": { - "addonJobTimeout": { - "type": "integer", + "defaultBackend": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "addons": { + "dnsPolicy": { "type": "string", "language": { "python": { @@ -24726,10 +28322,10 @@ } } }, - "addonsIncludes": { - "type": "array", - "items": { - "type": "string" + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" }, "language": { "python": { @@ -24737,71 +28333,23 @@ } } }, - "authentication": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigAuthentication:getClusterRkeConfigAuthentication", - "language": { - "python": { - "mapCase": false - } - } - }, - "authorization": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigAuthorization:getClusterRkeConfigAuthorization", - "language": { - "python": { - "mapCase": false - } - } - }, - "bastionHost": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigBastionHost:getClusterRkeConfigBastionHost", - "language": { - "python": { - "mapCase": false - } - } - }, - "cloudProvider": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProvider:getClusterRkeConfigCloudProvider", - "language": { - "python": { - "mapCase": false - } - } - }, - "dns": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigDns:getClusterRkeConfigDns", - "language": { - "python": { - "mapCase": false - } - } - }, - "enableCriDockerd": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "ignoreDockerVersion": { - "type": "boolean", + "httpPort": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "ingress": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigIngress:getClusterRkeConfigIngress", + "httpsPort": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "kubernetesVersion": { + "networkMode": { "type": "string", "language": { "python": { @@ -24809,26 +28357,21 @@ } } }, - "monitoring": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigMonitoring:getClusterRkeConfigMonitoring", - "language": { - "python": { - "mapCase": false - } - } - }, - "network": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigNetwork:getClusterRkeConfigNetwork", + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "nodes": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigNode:getClusterRkeConfigNode" + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" }, "language": { "python": { @@ -24836,7 +28379,7 @@ } } }, - "prefixPath": { + "provider": { "type": "string", "language": { "python": { @@ -24844,10 +28387,10 @@ } } }, - "privateRegistries": { + "tolerations": { "type": "array", "items": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigPrivateRegistry:getClusterRkeConfigPrivateRegistry" + "$ref": "#/types/rancher2:index/getClusterRkeConfigIngressToleration:getClusterRkeConfigIngressToleration" }, "language": { "python": { @@ -24855,23 +28398,43 @@ } } }, - "services": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServices:getClusterRkeConfigServices", + "updateStrategy": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigIngressUpdateStrategy:getClusterRkeConfigIngressUpdateStrategy", "language": { "python": { "mapCase": false } } - }, - "sshAgentAuth": { - "type": "boolean", + } + }, + "type": "object", + "required": [ + "dnsPolicy", + "extraArgs", + "httpPort", + "httpsPort", + "networkMode", + "nodeSelector", + "options", + "provider" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigIngressToleration:getClusterRkeConfigIngressToleration": { + "properties": { + "effect": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "sshCertPath": { + "key": { "type": "string", "language": { "python": { @@ -24879,7 +28442,7 @@ } } }, - "sshKeyPath": { + "operator": { "type": "string", "language": { "python": { @@ -24887,15 +28450,15 @@ } } }, - "upgradeStrategy": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigUpgradeStrategy:getClusterRkeConfigUpgradeStrategy", + "seconds": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "winPrefixPath": { + "value": { "type": "string", "language": { "python": { @@ -24906,22 +28469,8 @@ }, "type": "object", "required": [ - "addonJobTimeout", - "authentication", - "authorization", - "bastionHost", - "cloudProvider", - "dns", - "ingress", - "kubernetesVersion", - "monitoring", - "network", - "prefixPath", - "services", - "sshCertPath", - "sshKeyPath", - "upgradeStrategy", - "winPrefixPath" + "key", + "seconds" ], "language": { "nodejs": { @@ -24929,13 +28478,10 @@ } } }, - "rancher2:index/getClusterRkeConfigAuthentication:getClusterRkeConfigAuthentication": { + "rancher2:index/getClusterRkeConfigIngressUpdateStrategy:getClusterRkeConfigIngressUpdateStrategy": { "properties": { - "sans": { - "type": "array", - "items": { - "type": "string" - }, + "rollingUpdate": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigIngressUpdateStrategyRollingUpdate:getClusterRkeConfigIngressUpdateStrategyRollingUpdate", "language": { "python": { "mapCase": false @@ -24951,32 +28497,12 @@ } } }, - "type": "object", - "required": [ - "sans", - "strategy" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "type": "object" }, - "rancher2:index/getClusterRkeConfigAuthorization:getClusterRkeConfigAuthorization": { + "rancher2:index/getClusterRkeConfigIngressUpdateStrategyRollingUpdate:getClusterRkeConfigIngressUpdateStrategyRollingUpdate": { "properties": { - "mode": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "maxUnavailable": { + "type": "integer", "language": { "python": { "mapCase": false @@ -24984,60 +28510,61 @@ } } }, - "type": "object", - "required": [ - "options" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "type": "object" }, - "rancher2:index/getClusterRkeConfigBastionHost:getClusterRkeConfigBastionHost": { + "rancher2:index/getClusterRkeConfigMonitoring:getClusterRkeConfigMonitoring": { "properties": { - "address": { - "type": "string", + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "port": { - "type": "string", + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "sshAgentAuth": { - "type": "boolean", + "provider": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "sshKey": { - "type": "string", + "replicas": { + "type": "integer", "language": { "python": { "mapCase": false } } - }, - "sshKeyPath": { - "type": "string", + }, + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigMonitoringToleration:getClusterRkeConfigMonitoringToleration" + }, "language": { "python": { "mapCase": false } } }, - "user": { - "type": "string", + "updateStrategy": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigMonitoringUpdateStrategy:getClusterRkeConfigMonitoringUpdateStrategy", "language": { "python": { "mapCase": false @@ -25047,10 +28574,9 @@ }, "type": "object", "required": [ - "address", - "sshKey", - "sshKeyPath", - "user" + "options", + "provider", + "replicas" ], "language": { "nodejs": { @@ -25058,25 +28584,17 @@ } } }, - "rancher2:index/getClusterRkeConfigCloudProvider:getClusterRkeConfigCloudProvider": { + "rancher2:index/getClusterRkeConfigMonitoringToleration:getClusterRkeConfigMonitoringToleration": { "properties": { - "awsCloudProvider": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProvider:getClusterRkeConfigCloudProviderAwsCloudProvider", - "language": { - "python": { - "mapCase": false - } - } - }, - "azureCloudProvider": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderAzureCloudProvider:getClusterRkeConfigCloudProviderAzureCloudProvider", + "effect": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "customCloudProvider": { + "key": { "type": "string", "language": { "python": { @@ -25084,25 +28602,24 @@ } } }, - "name": { + "operator": { "type": "string", - "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "openstackCloudProvider": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProvider:getClusterRkeConfigCloudProviderOpenstackCloudProvider", + "seconds": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "vsphereCloudProvider": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProvider:getClusterRkeConfigCloudProviderVsphereCloudProvider", + "value": { + "type": "string", "language": { "python": { "mapCase": false @@ -25112,7 +28629,8 @@ }, "type": "object", "required": [ - "customCloudProvider" + "key", + "seconds" ], "language": { "nodejs": { @@ -25120,21 +28638,18 @@ } } }, - "rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProvider:getClusterRkeConfigCloudProviderAwsCloudProvider": { + "rancher2:index/getClusterRkeConfigMonitoringUpdateStrategy:getClusterRkeConfigMonitoringUpdateStrategy": { "properties": { - "global": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProviderGlobal:getClusterRkeConfigCloudProviderAwsCloudProviderGlobal", + "rollingUpdate": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigMonitoringUpdateStrategyRollingUpdate:getClusterRkeConfigMonitoringUpdateStrategyRollingUpdate", "language": { "python": { "mapCase": false } } }, - "serviceOverrides": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride:getClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride" - }, + "strategy": { + "type": "string", "language": { "python": { "mapCase": false @@ -25142,75 +28657,83 @@ } } }, - "type": "object", - "required": [ - "global" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "type": "object" }, - "rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProviderGlobal:getClusterRkeConfigCloudProviderAwsCloudProviderGlobal": { + "rancher2:index/getClusterRkeConfigMonitoringUpdateStrategyRollingUpdate:getClusterRkeConfigMonitoringUpdateStrategyRollingUpdate": { "properties": { - "disableSecurityGroupIngress": { - "type": "boolean", + "maxSurge": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "disableStrictZoneCheck": { - "type": "boolean", + "maxUnavailable": { + "type": "integer", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/getClusterRkeConfigNetwork:getClusterRkeConfigNetwork": { + "properties": { + "aciNetworkProvider": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkAciNetworkProvider:getClusterRkeConfigNetworkAciNetworkProvider", "language": { "python": { "mapCase": false } } }, - "elbSecurityGroup": { - "type": "string", + "calicoNetworkProvider": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkCalicoNetworkProvider:getClusterRkeConfigNetworkCalicoNetworkProvider", "language": { "python": { "mapCase": false } } }, - "kubernetesClusterId": { - "type": "string", + "canalNetworkProvider": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkCanalNetworkProvider:getClusterRkeConfigNetworkCanalNetworkProvider", "language": { "python": { "mapCase": false } } }, - "kubernetesClusterTag": { - "type": "string", + "flannelNetworkProvider": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkFlannelNetworkProvider:getClusterRkeConfigNetworkFlannelNetworkProvider", "language": { "python": { "mapCase": false } } }, - "roleArn": { - "type": "string", + "mtu": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "routeTableId": { - "type": "string", + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "subnetId": { + "plugin": { "type": "string", "language": { "python": { @@ -25218,16 +28741,19 @@ } } }, - "vpc": { - "type": "string", + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkToleration:getClusterRkeConfigNetworkToleration" + }, "language": { "python": { "mapCase": false } } }, - "zone": { - "type": "string", + "weaveNetworkProvider": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkWeaveNetworkProvider:getClusterRkeConfigNetworkWeaveNetworkProvider", "language": { "python": { "mapCase": false @@ -25237,14 +28763,8 @@ }, "type": "object", "required": [ - "elbSecurityGroup", - "kubernetesClusterId", - "kubernetesClusterTag", - "roleArn", - "routeTableId", - "subnetId", - "vpc", - "zone" + "options", + "plugin" ], "language": { "nodejs": { @@ -25252,9 +28772,9 @@ } } }, - "rancher2:index/getClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride:getClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride": { + "rancher2:index/getClusterRkeConfigNetworkAciNetworkProvider:getClusterRkeConfigNetworkAciNetworkProvider": { "properties": { - "region": { + "aep": { "type": "string", "language": { "python": { @@ -25262,15 +28782,18 @@ } } }, - "service": { - "type": "string", + "apicHosts": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "signingMethod": { + "apicRefreshTickerAdjust": { "type": "string", "language": { "python": { @@ -25278,7 +28801,7 @@ } } }, - "signingName": { + "apicRefreshTime": { "type": "string", "language": { "python": { @@ -25286,7 +28809,7 @@ } } }, - "signingRegion": { + "apicSubscriptionDelay": { "type": "string", "language": { "python": { @@ -25294,41 +28817,25 @@ } } }, - "url": { + "apicUserCrt": { "type": "string", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object", - "required": [ - "region", - "service", - "signingMethod", - "signingName", - "signingRegion", - "url" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigCloudProviderAzureCloudProvider:getClusterRkeConfigCloudProviderAzureCloudProvider": { - "properties": { - "aadClientCertPassword": { + }, + "secret": true + }, + "apicUserKey": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "aadClientCertPath": { + "apicUserName": { "type": "string", "language": { "python": { @@ -25336,7 +28843,7 @@ } } }, - "aadClientId": { + "capic": { "type": "string", "language": { "python": { @@ -25344,7 +28851,7 @@ } } }, - "aadClientSecret": { + "controllerLogLevel": { "type": "string", "language": { "python": { @@ -25352,7 +28859,7 @@ } } }, - "cloud": { + "disablePeriodicSnatGlobalInfoSync": { "type": "string", "language": { "python": { @@ -25360,71 +28867,71 @@ } } }, - "cloudProviderBackoff": { - "type": "boolean", + "disableWaitForNetwork": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderBackoffDuration": { - "type": "integer", + "dropLogEnable": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderBackoffExponent": { - "type": "integer", + "durationWaitForNetwork": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderBackoffJitter": { - "type": "integer", + "enableEndpointSlice": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderBackoffRetries": { - "type": "integer", + "encapType": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderRateLimit": { - "type": "boolean", + "epRegistry": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderRateLimitBucket": { - "type": "integer", + "externDynamic": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderRateLimitQps": { - "type": "integer", + "externStatic": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "loadBalancerSku": { + "gbpPodSubnet": { "type": "string", "language": { "python": { @@ -25432,7 +28939,7 @@ } } }, - "location": { + "hostAgentLogLevel": { "type": "string", "language": { "python": { @@ -25440,15 +28947,15 @@ } } }, - "maximumLoadBalancerRuleCount": { - "type": "integer", + "imagePullPolicy": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "primaryAvailabilitySetName": { + "imagePullSecret": { "type": "string", "language": { "python": { @@ -25456,7 +28963,7 @@ } } }, - "primaryScaleSetName": { + "infraVlan": { "type": "string", "language": { "python": { @@ -25464,7 +28971,7 @@ } } }, - "resourceGroup": { + "installIstio": { "type": "string", "language": { "python": { @@ -25472,7 +28979,7 @@ } } }, - "routeTableName": { + "istioProfile": { "type": "string", "language": { "python": { @@ -25480,15 +28987,18 @@ } } }, - "securityGroupName": { - "type": "string", + "kafkaBrokers": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "subnetName": { + "kafkaClientCrt": { "type": "string", "language": { "python": { @@ -25496,7 +29006,7 @@ } } }, - "subscriptionId": { + "kafkaClientKey": { "type": "string", "language": { "python": { @@ -25504,7 +29014,7 @@ } } }, - "tenantId": { + "kubeApiVlan": { "type": "string", "language": { "python": { @@ -25512,23 +29022,26 @@ } } }, - "useInstanceMetadata": { - "type": "boolean", + "l3out": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "useManagedIdentityExtension": { - "type": "boolean", + "l3outExternalNetworks": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "vmType": { + "maxNodesSvcGraph": { "type": "string", "language": { "python": { @@ -25536,7 +29049,7 @@ } } }, - "vnetName": { + "mcastRangeEnd": { "type": "string", "language": { "python": { @@ -25544,112 +29057,39 @@ } } }, - "vnetResourceGroup": { + "mcastRangeStart": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "aadClientCertPassword", - "aadClientCertPath", - "aadClientId", - "aadClientSecret", - "cloud", - "cloudProviderBackoff", - "cloudProviderBackoffDuration", - "cloudProviderBackoffExponent", - "cloudProviderBackoffJitter", - "cloudProviderBackoffRetries", - "cloudProviderRateLimit", - "cloudProviderRateLimitBucket", - "cloudProviderRateLimitQps", - "location", - "maximumLoadBalancerRuleCount", - "primaryAvailabilitySetName", - "primaryScaleSetName", - "resourceGroup", - "routeTableName", - "securityGroupName", - "subnetName", - "subscriptionId", - "tenantId", - "useInstanceMetadata", - "useManagedIdentityExtension", - "vmType", - "vnetName", - "vnetResourceGroup" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProvider:getClusterRkeConfigCloudProviderOpenstackCloudProvider": { - "properties": { - "blockStorage": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage", - "language": { - "python": { - "mapCase": false - } - } }, - "global": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal:getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal", + "mtuHeadRoom": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "loadBalancer": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer", + "multusDisable": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "metadata": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata:getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata", + "noPriorityClass": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "route": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderRoute:getClusterRkeConfigCloudProviderOpenstackCloudProviderRoute", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "blockStorage", - "global", - "loadBalancer", - "metadata", - "route" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage": { - "properties": { - "bsVersion": { + "nodePodIfEnable": { "type": "string", "language": { "python": { @@ -25657,38 +29097,15 @@ } } }, - "ignoreVolumeAz": { - "type": "boolean", + "nodeSubnet": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "trustDevicePath": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "bsVersion", - "ignoreVolumeAz", - "trustDevicePath" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal:getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal": { - "properties": { - "authUrl": { + "nodeSvcSubnet": { "type": "string", "language": { "python": { @@ -25696,7 +29113,7 @@ } } }, - "caFile": { + "opflexClientSsl": { "type": "string", "language": { "python": { @@ -25704,7 +29121,7 @@ } } }, - "domainId": { + "opflexDeviceDeleteTimeout": { "type": "string", "language": { "python": { @@ -25712,7 +29129,7 @@ } } }, - "domainName": { + "opflexLogLevel": { "type": "string", "language": { "python": { @@ -25720,7 +29137,7 @@ } } }, - "password": { + "opflexMode": { "type": "string", "language": { "python": { @@ -25728,7 +29145,7 @@ } } }, - "region": { + "opflexServerPort": { "type": "string", "language": { "python": { @@ -25736,7 +29153,7 @@ } } }, - "tenantId": { + "overlayVrfName": { "type": "string", "language": { "python": { @@ -25744,7 +29161,7 @@ } } }, - "tenantName": { + "ovsMemoryLimit": { "type": "string", "language": { "python": { @@ -25752,7 +29169,7 @@ } } }, - "trustId": { + "pbrTrackingNonSnat": { "type": "string", "language": { "python": { @@ -25760,45 +29177,15 @@ } } }, - "username": { + "podSubnetChunkSize": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "authUrl", - "caFile", - "domainId", - "domainName", - "password", - "region", - "tenantId", - "tenantName", - "trustId", - "username" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer": { - "properties": { - "createMonitor": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } }, - "floatingNetworkId": { + "runGbpContainer": { "type": "string", "language": { "python": { @@ -25806,7 +29193,7 @@ } } }, - "lbMethod": { + "runOpflexServerContainer": { "type": "string", "language": { "python": { @@ -25814,7 +29201,7 @@ } } }, - "lbProvider": { + "serviceMonitorInterval": { "type": "string", "language": { "python": { @@ -25822,7 +29209,7 @@ } } }, - "lbVersion": { + "serviceVlan": { "type": "string", "language": { "python": { @@ -25830,15 +29217,15 @@ } } }, - "manageSecurityGroups": { - "type": "boolean", + "snatContractScope": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "monitorDelay": { + "snatNamespace": { "type": "string", "language": { "python": { @@ -25846,15 +29233,15 @@ } } }, - "monitorMaxRetries": { - "type": "integer", + "snatPortRangeEnd": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "monitorTimeout": { + "snatPortRangeStart": { "type": "string", "language": { "python": { @@ -25862,7 +29249,7 @@ } } }, - "subnetId": { + "snatPortsPerNode": { "type": "string", "language": { "python": { @@ -25870,167 +29257,88 @@ } } }, - "useOctavia": { - "type": "boolean", + "sriovEnable": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "createMonitor", - "floatingNetworkId", - "lbMethod", - "lbProvider", - "lbVersion", - "manageSecurityGroups", - "subnetId", - "useOctavia" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata:getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata": { - "properties": { - "requestTimeout": { - "type": "integer", + }, + "subnetDomainName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "searchOrder": { + "systemId": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "requestTimeout", - "searchOrder" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigCloudProviderOpenstackCloudProviderRoute:getClusterRkeConfigCloudProviderOpenstackCloudProviderRoute": { - "properties": { - "routerId": { + }, + "tenant": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "routerId" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProvider:getClusterRkeConfigCloudProviderVsphereCloudProvider": { - "properties": { - "disk": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderDisk:getClusterRkeConfigCloudProviderVsphereCloudProviderDisk", + }, + "token": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "global": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderGlobal:getClusterRkeConfigCloudProviderVsphereCloudProviderGlobal", + "useAciAnywhereCrd": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "network": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderNetwork:getClusterRkeConfigCloudProviderVsphereCloudProviderNetwork", + "useAciCniPriorityClass": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "virtualCenters": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:getClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter" - }, + "useClusterRole": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "workspace": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace:getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace", + "useHostNetnsVolume": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "disk", - "global", - "network", - "virtualCenters", - "workspace" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderDisk:getClusterRkeConfigCloudProviderVsphereCloudProviderDisk": { - "properties": { - "scsiControllerType": { + }, + "useOpflexServerVolume": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "scsiControllerType" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderGlobal:getClusterRkeConfigCloudProviderVsphereCloudProviderGlobal": { - "properties": { - "datacenters": { + }, + "usePrivilegedContainer": { "type": "string", "language": { "python": { @@ -26038,15 +29346,15 @@ } } }, - "insecureFlag": { - "type": "boolean", + "vmmController": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "password": { + "vmmDomain": { "type": "string", "language": { "python": { @@ -26054,7 +29362,7 @@ } } }, - "port": { + "vrfName": { "type": "string", "language": { "python": { @@ -26062,15 +29370,47 @@ } } }, - "soapRoundtripCount": { - "type": "integer", + "vrfTenant": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "user": { + } + }, + "type": "object", + "required": [ + "aep", + "apicHosts", + "apicUserCrt", + "apicUserKey", + "apicUserName", + "encapType", + "externDynamic", + "externStatic", + "kubeApiVlan", + "l3out", + "l3outExternalNetworks", + "mcastRangeEnd", + "mcastRangeStart", + "nodeSubnet", + "nodeSvcSubnet", + "serviceVlan", + "systemId", + "token", + "vrfName", + "vrfTenant" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigNetworkCalicoNetworkProvider:getClusterRkeConfigNetworkCalicoNetworkProvider": { + "properties": { + "cloudProvider": { "type": "string", "language": { "python": { @@ -26081,12 +29421,7 @@ }, "type": "object", "required": [ - "datacenters", - "insecureFlag", - "password", - "port", - "soapRoundtripCount", - "user" + "cloudProvider" ], "language": { "nodejs": { @@ -26094,9 +29429,9 @@ } } }, - "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderNetwork:getClusterRkeConfigCloudProviderVsphereCloudProviderNetwork": { + "rancher2:index/getClusterRkeConfigNetworkCanalNetworkProvider:getClusterRkeConfigNetworkCanalNetworkProvider": { "properties": { - "publicNetwork": { + "iface": { "type": "string", "language": { "python": { @@ -26107,7 +29442,7 @@ }, "type": "object", "required": [ - "publicNetwork" + "iface" ], "language": { "nodejs": { @@ -26115,26 +29450,38 @@ } } }, - "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:getClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter": { + "rancher2:index/getClusterRkeConfigNetworkFlannelNetworkProvider:getClusterRkeConfigNetworkFlannelNetworkProvider": { "properties": { - "datacenters": { + "iface": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "name": { + } + }, + "type": "object", + "required": [ + "iface" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigNetworkToleration:getClusterRkeConfigNetworkToleration": { + "properties": { + "effect": { "type": "string", - "description": "The name of the Cluster (string)\n", "language": { "python": { "mapCase": false } } }, - "password": { + "key": { "type": "string", "language": { "python": { @@ -26142,7 +29489,7 @@ } } }, - "port": { + "operator": { "type": "string", "language": { "python": { @@ -26150,7 +29497,7 @@ } } }, - "soapRoundtripCount": { + "seconds": { "type": "integer", "language": { "python": { @@ -26158,7 +29505,7 @@ } } }, - "user": { + "value": { "type": "string", "language": { "python": { @@ -26169,12 +29516,8 @@ }, "type": "object", "required": [ - "datacenters", - "name", - "password", - "port", - "soapRoundtripCount", - "user" + "key", + "seconds" ], "language": { "nodejs": { @@ -26182,17 +29525,30 @@ } } }, - "rancher2:index/getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace:getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace": { + "rancher2:index/getClusterRkeConfigNetworkWeaveNetworkProvider:getClusterRkeConfigNetworkWeaveNetworkProvider": { "properties": { - "datacenter": { + "password": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "defaultDatastore": { + } + }, + "type": "object", + "required": [ + "password" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigNode:getClusterRkeConfigNode": { + "properties": { + "address": { "type": "string", "language": { "python": { @@ -26200,7 +29556,7 @@ } } }, - "folder": { + "dockerSocket": { "type": "string", "language": { "python": { @@ -26208,7 +29564,7 @@ } } }, - "resourcepoolPath": { + "hostnameOverride": { "type": "string", "language": { "python": { @@ -26216,70 +29572,35 @@ } } }, - "server": { + "internalAddress": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "datacenter", - "defaultDatastore", - "folder", - "resourcepoolPath", - "server" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigDns:getClusterRkeConfigDns": { - "properties": { - "linearAutoscalerParams": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigDnsLinearAutoscalerParams:getClusterRkeConfigDnsLinearAutoscalerParams", - "language": { - "python": { - "mapCase": false - } - } }, - "nodeSelector": { + "labels": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, + "description": "(Computed) Labels for Node Pool object (map)\n", "language": { "python": { "mapCase": false } } }, - "nodelocal": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigDnsNodelocal:getClusterRkeConfigDnsNodelocal", - "language": { - "python": { - "mapCase": false - } - } - }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "nodeId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "provider": { + "port": { "type": "string", "language": { "python": { @@ -26287,7 +29608,7 @@ } } }, - "reverseCidrs": { + "roles": { "type": "array", "items": { "type": "string" @@ -26298,43 +29619,49 @@ } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigDnsToleration:getClusterRkeConfigDnsToleration" - }, + "sshAgentAuth": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "updateStrategy": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigDnsUpdateStrategy:getClusterRkeConfigDnsUpdateStrategy", + "sshKey": { + "type": "string", "language": { "python": { "mapCase": false } - } - }, - "upstreamNameservers": { - "type": "array", - "items": { - "type": "string" }, + "secret": true + }, + "sshKeyPath": { + "type": "string", "language": { "python": { "mapCase": false } } + }, + "user": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true } }, "type": "object", "required": [ - "nodeSelector", - "options", - "reverseCidrs", - "upstreamNameservers" + "address", + "dockerSocket", + "roles", + "sshKey", + "sshKeyPath", + "user" ], "language": { "nodejs": { @@ -26342,54 +29669,64 @@ } } }, - "rancher2:index/getClusterRkeConfigDnsLinearAutoscalerParams:getClusterRkeConfigDnsLinearAutoscalerParams": { + "rancher2:index/getClusterRkeConfigPrivateRegistry:getClusterRkeConfigPrivateRegistry": { "properties": { - "coresPerReplica": { - "type": "number", + "ecrCredentialPlugin": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigPrivateRegistryEcrCredentialPlugin:getClusterRkeConfigPrivateRegistryEcrCredentialPlugin", "language": { "python": { "mapCase": false } } }, - "max": { - "type": "integer", + "isDefault": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "min": { - "type": "integer", + "password": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "nodesPerReplica": { - "type": "number", + "url": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "preventSinglePointFailure": { - "type": "boolean", + "user": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true } }, - "type": "object" + "type": "object", + "required": [ + "url" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "rancher2:index/getClusterRkeConfigDnsNodelocal:getClusterRkeConfigDnsNodelocal": { + "rancher2:index/getClusterRkeConfigPrivateRegistryEcrCredentialPlugin:getClusterRkeConfigPrivateRegistryEcrCredentialPlugin": { "properties": { - "ipAddress": { + "awsAccessKeyId": { "type": "string", "language": { "python": { @@ -26397,56 +29734,71 @@ } } }, - "nodeSelector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" + "awsSecretAccessKey": { + "type": "string", + "language": { + "python": { + "mapCase": false + } }, + "secret": true + }, + "awsSessionToken": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object" }, - "rancher2:index/getClusterRkeConfigDnsToleration:getClusterRkeConfigDnsToleration": { + "rancher2:index/getClusterRkeConfigServices:getClusterRkeConfigServices": { "properties": { - "effect": { - "type": "string", + "etcd": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesEtcd:getClusterRkeConfigServicesEtcd", "language": { "python": { "mapCase": false } } }, - "key": { - "type": "string", + "kubeApi": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeApi:getClusterRkeConfigServicesKubeApi", "language": { "python": { "mapCase": false } } }, - "operator": { - "type": "string", + "kubeController": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeController:getClusterRkeConfigServicesKubeController", "language": { "python": { "mapCase": false } } }, - "seconds": { - "type": "integer", + "kubelet": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubelet:getClusterRkeConfigServicesKubelet", "language": { "python": { "mapCase": false } } }, - "value": { - "type": "string", + "kubeproxy": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeproxy:getClusterRkeConfigServicesKubeproxy", + "language": { + "python": { + "mapCase": false + } + } + }, + "scheduler": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesScheduler:getClusterRkeConfigServicesScheduler", "language": { "python": { "mapCase": false @@ -26456,8 +29808,12 @@ }, "type": "object", "required": [ - "key", - "seconds" + "etcd", + "kubeApi", + "kubeController", + "kubelet", + "kubeproxy", + "scheduler" ], "language": { "nodejs": { @@ -26465,94 +29821,35 @@ } } }, - "rancher2:index/getClusterRkeConfigDnsUpdateStrategy:getClusterRkeConfigDnsUpdateStrategy": { + "rancher2:index/getClusterRkeConfigServicesEtcd:getClusterRkeConfigServicesEtcd": { "properties": { - "rollingUpdate": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigDnsUpdateStrategyRollingUpdate:getClusterRkeConfigDnsUpdateStrategyRollingUpdate", + "backupConfig": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesEtcdBackupConfig:getClusterRkeConfigServicesEtcdBackupConfig", "language": { "python": { "mapCase": false } } }, - "strategy": { + "caCert": { "type": "string", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/getClusterRkeConfigDnsUpdateStrategyRollingUpdate:getClusterRkeConfigDnsUpdateStrategyRollingUpdate": { - "properties": { - "maxSurge": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } - }, - "maxUnavailable": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/getClusterRkeConfigIngress:getClusterRkeConfigIngress": { - "properties": { - "defaultBackend": { - "type": "boolean", + "description": "(Computed) K8s cluster ca cert (string)\n", "language": { "python": { "mapCase": false } } }, - "dnsPolicy": { + "cert": { "type": "string", "language": { "python": { "mapCase": false } - } - }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" }, - "language": { - "python": { - "mapCase": false - } - } - }, - "httpPort": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } - }, - "httpsPort": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } + "secret": true }, - "networkMode": { + "creation": { "type": "string", "language": { "python": { @@ -26560,10 +29857,10 @@ } } }, - "nodeSelector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" + "externalUrls": { + "type": "array", + "items": { + "type": "string" }, "language": { "python": { @@ -26571,7 +29868,7 @@ } } }, - "options": { + "extraArgs": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" @@ -26582,18 +29879,21 @@ } } }, - "provider": { - "type": "string", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "tolerations": { + "extraEnvs": { "type": "array", "items": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigIngressToleration:getClusterRkeConfigIngressToleration" + "type": "string" }, "language": { "python": { @@ -26601,35 +29901,15 @@ } } }, - "updateStrategy": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigIngressUpdateStrategy:getClusterRkeConfigIngressUpdateStrategy", + "gid": { + "type": "integer", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "dnsPolicy", - "extraArgs", - "httpPort", - "httpsPort", - "networkMode", - "nodeSelector", - "options", - "provider" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigIngressToleration:getClusterRkeConfigIngressToleration": { - "properties": { - "effect": { + }, + "image": { "type": "string", "language": { "python": { @@ -26638,6 +29918,15 @@ } }, "key": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "path": { "type": "string", "language": { "python": { @@ -26645,7 +29934,7 @@ } } }, - "operator": { + "retention": { "type": "string", "language": { "python": { @@ -26653,16 +29942,16 @@ } } }, - "seconds": { - "type": "integer", + "snapshot": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "value": { - "type": "string", + "uid": { + "type": "integer", "language": { "python": { "mapCase": false @@ -26672,8 +29961,16 @@ }, "type": "object", "required": [ + "backupConfig", + "caCert", + "cert", + "creation", + "extraArgs", + "image", "key", - "seconds" + "path", + "retention", + "snapshot" ], "language": { "nodejs": { @@ -26681,93 +29978,50 @@ } } }, - "rancher2:index/getClusterRkeConfigIngressUpdateStrategy:getClusterRkeConfigIngressUpdateStrategy": { + "rancher2:index/getClusterRkeConfigServicesEtcdBackupConfig:getClusterRkeConfigServicesEtcdBackupConfig": { "properties": { - "rollingUpdate": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigIngressUpdateStrategyRollingUpdate:getClusterRkeConfigIngressUpdateStrategyRollingUpdate", + "enabled": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "strategy": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/getClusterRkeConfigIngressUpdateStrategyRollingUpdate:getClusterRkeConfigIngressUpdateStrategyRollingUpdate": { - "properties": { - "maxUnavailable": { + "intervalHours": { "type": "integer", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterRkeConfigMonitoring:getClusterRkeConfigMonitoring": { - "properties": { - "nodeSelector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } - } - }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } - } }, - "provider": { - "type": "string", + "retention": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "replicas": { - "type": "integer", + "s3BackupConfig": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig:getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig", "language": { "python": { "mapCase": false } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigMonitoringToleration:getClusterRkeConfigMonitoringToleration" - }, + "safeTimestamp": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "updateStrategy": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigMonitoringUpdateStrategy:getClusterRkeConfigMonitoringUpdateStrategy", + "timeout": { + "type": "integer", "language": { "python": { "mapCase": false @@ -26777,9 +30031,7 @@ }, "type": "object", "required": [ - "options", - "provider", - "replicas" + "timeout" ], "language": { "nodejs": { @@ -26787,9 +30039,18 @@ } } }, - "rancher2:index/getClusterRkeConfigMonitoringToleration:getClusterRkeConfigMonitoringToleration": { + "rancher2:index/getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig:getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig": { "properties": { - "effect": { + "accessKey": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "bucketName": { "type": "string", "language": { "python": { @@ -26797,7 +30058,7 @@ } } }, - "key": { + "customCa": { "type": "string", "language": { "python": { @@ -26805,7 +30066,7 @@ } } }, - "operator": { + "endpoint": { "type": "string", "language": { "python": { @@ -26813,27 +30074,36 @@ } } }, - "seconds": { - "type": "integer", + "folder": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "value": { + "region": { "type": "string", "language": { "python": { "mapCase": false } } + }, + "secretKey": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true } }, "type": "object", "required": [ - "key", - "seconds" + "bucketName", + "endpoint" ], "language": { "nodejs": { @@ -26841,114 +30111,110 @@ } } }, - "rancher2:index/getClusterRkeConfigMonitoringUpdateStrategy:getClusterRkeConfigMonitoringUpdateStrategy": { + "rancher2:index/getClusterRkeConfigServicesKubeApi:getClusterRkeConfigServicesKubeApi": { "properties": { - "rollingUpdate": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigMonitoringUpdateStrategyRollingUpdate:getClusterRkeConfigMonitoringUpdateStrategyRollingUpdate", + "admissionConfiguration": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "strategy": { - "type": "string", + "alwaysPullImages": { + "type": "boolean", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterRkeConfigMonitoringUpdateStrategyRollingUpdate:getClusterRkeConfigMonitoringUpdateStrategyRollingUpdate": { - "properties": { - "maxSurge": { - "type": "integer", + }, + "auditLog": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeApiAuditLog:getClusterRkeConfigServicesKubeApiAuditLog", "language": { "python": { "mapCase": false } } }, - "maxUnavailable": { - "type": "integer", + "eventRateLimit": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeApiEventRateLimit:getClusterRkeConfigServicesKubeApiEventRateLimit", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterRkeConfigNetwork:getClusterRkeConfigNetwork": { - "properties": { - "calicoNetworkProvider": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkCalicoNetworkProvider:getClusterRkeConfigNetworkCalicoNetworkProvider", + }, + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "canalNetworkProvider": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkCanalNetworkProvider:getClusterRkeConfigNetworkCanalNetworkProvider", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "flannelNetworkProvider": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkFlannelNetworkProvider:getClusterRkeConfigNetworkFlannelNetworkProvider", + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "mtu": { - "type": "integer", + "image": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "podSecurityPolicy": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "plugin": { - "type": "string", + "secretsEncryptionConfig": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeApiSecretsEncryptionConfig:getClusterRkeConfigServicesKubeApiSecretsEncryptionConfig", "language": { "python": { "mapCase": false } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkToleration:getClusterRkeConfigNetworkToleration" - }, + "serviceClusterIpRange": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "weaveNetworkProvider": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigNetworkWeaveNetworkProvider:getClusterRkeConfigNetworkWeaveNetworkProvider", + "serviceNodePortRange": { + "type": "string", "language": { "python": { "mapCase": false @@ -26958,8 +30224,10 @@ }, "type": "object", "required": [ - "options", - "plugin" + "extraArgs", + "image", + "serviceClusterIpRange", + "serviceNodePortRange" ], "language": { "nodejs": { @@ -26967,31 +30235,18 @@ } } }, - "rancher2:index/getClusterRkeConfigNetworkCalicoNetworkProvider:getClusterRkeConfigNetworkCalicoNetworkProvider": { + "rancher2:index/getClusterRkeConfigServicesKubeApiAuditLog:getClusterRkeConfigServicesKubeApiAuditLog": { "properties": { - "cloudProvider": { - "type": "string", + "configuration": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeApiAuditLogConfiguration:getClusterRkeConfigServicesKubeApiAuditLogConfiguration", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "cloudProvider" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigNetworkCanalNetworkProvider:getClusterRkeConfigNetworkCanalNetworkProvider": { - "properties": { - "iface": { - "type": "string", + }, + "enabled": { + "type": "boolean", "language": { "python": { "mapCase": false @@ -27001,7 +30256,7 @@ }, "type": "object", "required": [ - "iface" + "configuration" ], "language": { "nodejs": { @@ -27009,62 +30264,49 @@ } } }, - "rancher2:index/getClusterRkeConfigNetworkFlannelNetworkProvider:getClusterRkeConfigNetworkFlannelNetworkProvider": { + "rancher2:index/getClusterRkeConfigServicesKubeApiAuditLogConfiguration:getClusterRkeConfigServicesKubeApiAuditLogConfiguration": { "properties": { - "iface": { + "format": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "iface" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigNetworkToleration:getClusterRkeConfigNetworkToleration": { - "properties": { - "effect": { - "type": "string", + }, + "maxAge": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "key": { - "type": "string", + "maxBackup": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "operator": { - "type": "string", + "maxSize": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "seconds": { - "type": "integer", + "path": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "value": { + "policy": { "type": "string", "language": { "python": { @@ -27075,8 +30317,7 @@ }, "type": "object", "required": [ - "key", - "seconds" + "policy" ], "language": { "nodejs": { @@ -27084,20 +30325,28 @@ } } }, - "rancher2:index/getClusterRkeConfigNetworkWeaveNetworkProvider:getClusterRkeConfigNetworkWeaveNetworkProvider": { + "rancher2:index/getClusterRkeConfigServicesKubeApiEventRateLimit:getClusterRkeConfigServicesKubeApiEventRateLimit": { "properties": { - "password": { + "configuration": { "type": "string", "language": { "python": { "mapCase": false } } + }, + "enabled": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } } }, "type": "object", "required": [ - "password" + "configuration" ], "language": { "nodejs": { @@ -27105,9 +30354,9 @@ } } }, - "rancher2:index/getClusterRkeConfigNode:getClusterRkeConfigNode": { + "rancher2:index/getClusterRkeConfigServicesKubeApiSecretsEncryptionConfig:getClusterRkeConfigServicesKubeApiSecretsEncryptionConfig": { "properties": { - "address": { + "customConfig": { "type": "string", "language": { "python": { @@ -27115,15 +30364,28 @@ } } }, - "dockerSocket": { - "type": "string", + "enabled": { + "type": "boolean", "language": { "python": { "mapCase": false } } - }, - "hostnameOverride": { + } + }, + "type": "object", + "required": [ + "customConfig" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigServicesKubeController:getClusterRkeConfigServicesKubeController": { + "properties": { + "clusterCidr": { "type": "string", "language": { "python": { @@ -27131,35 +30393,40 @@ } } }, - "internalAddress": { - "type": "string", + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" + "extraBinds": { + "type": "array", + "items": { + "type": "string" }, - "description": "(Computed) Labels for Node Pool object (map)\n", "language": { "python": { "mapCase": false } } }, - "nodeId": { - "type": "string", + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "port": { + "image": { "type": "string", "language": { "python": { @@ -27167,26 +30434,39 @@ } } }, - "roles": { - "type": "array", - "items": { - "type": "string" - }, + "serviceClusterIpRange": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "sshAgentAuth": { - "type": "boolean", + } + }, + "type": "object", + "required": [ + "clusterCidr", + "extraArgs", + "image", + "serviceClusterIpRange" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigServicesKubelet:getClusterRkeConfigServicesKubelet": { + "properties": { + "clusterDnsServer": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "sshKey": { + "clusterDomain": { "type": "string", "language": { "python": { @@ -27194,49 +30474,40 @@ } } }, - "sshKeyPath": { - "type": "string", + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "user": { - "type": "string", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "address", - "dockerSocket", - "roles", - "sshKey", - "sshKeyPath", - "user" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigPrivateRegistry:getClusterRkeConfigPrivateRegistry": { - "properties": { - "ecrCredentialPlugin": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigPrivateRegistryEcrCredentialPlugin:getClusterRkeConfigPrivateRegistryEcrCredentialPlugin", + }, + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "isDefault": { + "failSwapOn": { "type": "boolean", "language": { "python": { @@ -27244,15 +30515,15 @@ } } }, - "password": { - "type": "string", + "generateServingCertificate": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "url": { + "image": { "type": "string", "language": { "python": { @@ -27260,7 +30531,7 @@ } } }, - "user": { + "infraContainerImage": { "type": "string", "language": { "python": { @@ -27271,7 +30542,12 @@ }, "type": "object", "required": [ - "url" + "clusterDnsServer", + "clusterDomain", + "extraArgs", + "failSwapOn", + "image", + "infraContainerImage" ], "language": { "nodejs": { @@ -27279,79 +30555,98 @@ } } }, - "rancher2:index/getClusterRkeConfigPrivateRegistryEcrCredentialPlugin:getClusterRkeConfigPrivateRegistryEcrCredentialPlugin": { + "rancher2:index/getClusterRkeConfigServicesKubeproxy:getClusterRkeConfigServicesKubeproxy": { "properties": { - "awsAccessKeyId": { - "type": "string", + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "awsSecretAccessKey": { - "type": "string", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "awsSessionToken": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/getClusterRkeConfigServices:getClusterRkeConfigServices": { - "properties": { - "etcd": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesEtcd:getClusterRkeConfigServicesEtcd", + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "kubeApi": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeApi:getClusterRkeConfigServicesKubeApi", + "image": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "kubeController": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeController:getClusterRkeConfigServicesKubeController", + } + }, + "type": "object", + "required": [ + "extraArgs", + "image" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigServicesScheduler:getClusterRkeConfigServicesScheduler": { + "properties": { + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "kubelet": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubelet:getClusterRkeConfigServicesKubelet", + "extraBinds": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "kubeproxy": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeproxy:getClusterRkeConfigServicesKubeproxy", + "extraEnvs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "scheduler": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesScheduler:getClusterRkeConfigServicesScheduler", + "image": { + "type": "string", "language": { "python": { "mapCase": false @@ -27361,12 +30656,8 @@ }, "type": "object", "required": [ - "etcd", - "kubeApi", - "kubeController", - "kubelet", - "kubeproxy", - "scheduler" + "extraArgs", + "image" ], "language": { "nodejs": { @@ -27374,26 +30665,25 @@ } } }, - "rancher2:index/getClusterRkeConfigServicesEtcd:getClusterRkeConfigServicesEtcd": { + "rancher2:index/getClusterRkeConfigUpgradeStrategy:getClusterRkeConfigUpgradeStrategy": { "properties": { - "backupConfig": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesEtcdBackupConfig:getClusterRkeConfigServicesEtcdBackupConfig", + "drain": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "caCert": { - "type": "string", - "description": "(Computed) K8s cluster ca cert (string)\n", + "drainInput": { + "$ref": "#/types/rancher2:index/getClusterRkeConfigUpgradeStrategyDrainInput:getClusterRkeConfigUpgradeStrategyDrainInput", "language": { "python": { "mapCase": false } } }, - "cert": { + "maxUnavailableControlplane": { "type": "string", "language": { "python": { @@ -27401,108 +30691,136 @@ } } }, - "creation": { + "maxUnavailableWorker": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "externalUrls": { - "type": "array", - "items": { - "type": "string" - }, + } + }, + "type": "object", + "required": [ + "drainInput" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterRkeConfigUpgradeStrategyDrainInput:getClusterRkeConfigUpgradeStrategyDrainInput": { + "properties": { + "deleteLocalData": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "force": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, + "gracePeriod": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" - }, + "ignoreDaemonSets": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "gid": { + "timeout": { "type": "integer", "language": { "python": { "mapCase": false } } - }, - "image": { - "type": "string", + } + }, + "type": "object" + }, + "rancher2:index/getClusterScanScanConfig:getClusterScanScanConfig": { + "properties": { + "cisScanConfig": { + "$ref": "#/types/rancher2:index/getClusterScanScanConfigCisScanConfig:getClusterScanScanConfigCisScanConfig", + "description": "Cluster Cis Scan config (List maxitems:1)\n", "language": { "python": { "mapCase": false } } - }, - "key": { - "type": "string", + } + }, + "type": "object", + "required": [ + "cisScanConfig" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterScanScanConfigCisScanConfig:getClusterScanScanConfigCisScanConfig": { + "properties": { + "debugMaster": { + "type": "boolean", + "description": "Debug master. Default: `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "path": { - "type": "string", + "debugWorker": { + "type": "boolean", + "description": "Debug worker. Default: `false` (bool)\n", "language": { "python": { "mapCase": false } } }, - "retention": { + "overrideBenchmarkVersion": { "type": "string", + "description": "Override benchmark version (string)\n", "language": { "python": { "mapCase": false } } }, - "snapshot": { - "type": "boolean", + "overrideSkips": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Override skip (string)\n", "language": { "python": { "mapCase": false } } }, - "uid": { - "type": "integer", + "profile": { + "type": "string", + "description": "Cis scan profile. Allowed values: `\"permissive\" (default) || \"hardened\"` (string)\n", "language": { "python": { "mapCase": false @@ -27510,26 +30828,9 @@ } } }, - "type": "object", - "required": [ - "backupConfig", - "caCert", - "cert", - "creation", - "extraArgs", - "image", - "key", - "path", - "retention", - "snapshot" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "type": "object" }, - "rancher2:index/getClusterRkeConfigServicesEtcdBackupConfig:getClusterRkeConfigServicesEtcdBackupConfig": { + "rancher2:index/getClusterScheduledClusterScan:getClusterScheduledClusterScan": { "properties": { "enabled": { "type": "boolean", @@ -27539,40 +30840,38 @@ } } }, - "intervalHours": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } - }, - "retention": { - "type": "integer", - "language": { - "python": { - "mapCase": false - } - } - }, - "s3BackupConfig": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig:getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig", + "scanConfig": { + "$ref": "#/types/rancher2:index/getClusterScheduledClusterScanScanConfig:getClusterScheduledClusterScanScanConfig", "language": { "python": { "mapCase": false } } }, - "safeTimestamp": { - "type": "boolean", + "scheduleConfig": { + "$ref": "#/types/rancher2:index/getClusterScheduledClusterScanScheduleConfig:getClusterScheduledClusterScanScheduleConfig", "language": { "python": { "mapCase": false } } - }, - "timeout": { - "type": "integer", + } + }, + "type": "object", + "required": [ + "scanConfig", + "scheduleConfig" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterScheduledClusterScanScanConfig:getClusterScheduledClusterScanScanConfig": { + "properties": { + "cisScanConfig": { + "$ref": "#/types/rancher2:index/getClusterScheduledClusterScanScanConfigCisScanConfig:getClusterScheduledClusterScanScanConfigCisScanConfig", "language": { "python": { "mapCase": false @@ -27582,7 +30881,7 @@ }, "type": "object", "required": [ - "timeout" + "cisScanConfig" ], "language": { "nodejs": { @@ -27590,25 +30889,25 @@ } } }, - "rancher2:index/getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig:getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig": { + "rancher2:index/getClusterScheduledClusterScanScanConfigCisScanConfig:getClusterScheduledClusterScanScanConfigCisScanConfig": { "properties": { - "accessKey": { - "type": "string", + "debugMaster": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "bucketName": { - "type": "string", + "debugWorker": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "customCa": { + "overrideBenchmarkVersion": { "type": "string", "language": { "python": { @@ -27616,23 +30915,31 @@ } } }, - "endpoint": { - "type": "string", + "overrideSkips": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "folder": { + "profile": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "region": { + } + }, + "type": "object" + }, + "rancher2:index/getClusterScheduledClusterScanScheduleConfig:getClusterScheduledClusterScanScheduleConfig": { + "properties": { + "cronSchedule": { "type": "string", "language": { "python": { @@ -27640,8 +30947,8 @@ } } }, - "secretKey": { - "type": "string", + "retention": { + "type": "integer", "language": { "python": { "mapCase": false @@ -27651,8 +30958,8 @@ }, "type": "object", "required": [ - "bucketName", - "endpoint" + "cronSchedule", + "retention" ], "language": { "nodejs": { @@ -27660,110 +30967,116 @@ } } }, - "rancher2:index/getClusterRkeConfigServicesKubeApi:getClusterRkeConfigServicesKubeApi": { + "rancher2:index/getClusterTemplateMember:getClusterTemplateMember": { "properties": { - "admissionConfiguration": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "accessType": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "alwaysPullImages": { - "type": "boolean", + "groupPrincipalId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "auditLog": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeApiAuditLog:getClusterRkeConfigServicesKubeApiAuditLog", + "userPrincipalId": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "eventRateLimit": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeApiEventRateLimit:getClusterRkeConfigServicesKubeApiEventRateLimit", + } + }, + "type": "object" + }, + "rancher2:index/getClusterTemplateTemplateRevision:getClusterTemplateTemplateRevision": { + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Computed) Annotations for the cluster template (map)\n", "language": { "python": { "mapCase": false } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "clusterConfig": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfig:getClusterTemplateTemplateRevisionClusterConfig", "language": { "python": { "mapCase": false } } }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, + "clusterTemplateId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" - }, + "default": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "image": { - "type": "string", + "enabled": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "podSecurityPolicy": { - "type": "boolean", + "id": { + "type": "string", + "description": "(Computed) The ID of the resource (string)\n", "language": { "python": { "mapCase": false } } }, - "secretsEncryptionConfig": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeApiSecretsEncryptionConfig:getClusterRkeConfigServicesKubeApiSecretsEncryptionConfig", + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Computed) Labels for the cluster template (map)\n", "language": { "python": { "mapCase": false } } }, - "serviceClusterIpRange": { + "name": { "type": "string", + "description": "The cluster template name (string)\n", "language": { "python": { "mapCase": false } } }, - "serviceNodePortRange": { - "type": "string", + "questions": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionQuestion:getClusterTemplateTemplateRevisionQuestion" + }, "language": { "python": { "mapCase": false @@ -27773,10 +31086,12 @@ }, "type": "object", "required": [ - "extraArgs", - "image", - "serviceClusterIpRange", - "serviceNodePortRange" + "annotations", + "clusterConfig", + "clusterTemplateId", + "id", + "labels", + "name" ], "language": { "nodejs": { @@ -27784,38 +31099,25 @@ } } }, - "rancher2:index/getClusterRkeConfigServicesKubeApiAuditLog:getClusterRkeConfigServicesKubeApiAuditLog": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfig:getClusterTemplateTemplateRevisionClusterConfig": { "properties": { - "configuration": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigServicesKubeApiAuditLogConfiguration:getClusterRkeConfigServicesKubeApiAuditLogConfiguration", + "clusterAuthEndpoint": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint:getClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint", "language": { "python": { "mapCase": false } } }, - "enabled": { - "type": "boolean", + "defaultClusterRoleForProjectMembers": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "configuration" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigServicesKubeApiAuditLogConfiguration:getClusterRkeConfigServicesKubeApiAuditLogConfiguration": { - "properties": { - "format": { + }, + "defaultPodSecurityPolicyTemplateId": { "type": "string", "language": { "python": { @@ -27823,68 +31125,71 @@ } } }, - "maxAge": { - "type": "integer", + "desiredAgentImage": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "maxBackup": { - "type": "integer", + "desiredAuthImage": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "maxSize": { - "type": "integer", + "dockerRootDir": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "path": { - "type": "string", + "enableClusterAlerting": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "policy": { - "type": "string", + "enableClusterMonitoring": { + "type": "boolean", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "policy" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigServicesKubeApiEventRateLimit:getClusterRkeConfigServicesKubeApiEventRateLimit": { - "properties": { - "configuration": { - "type": "string", + }, + "enableNetworkPolicy": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "enabled": { + "rkeConfig": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfig:getClusterTemplateTemplateRevisionClusterConfigRkeConfig", + "language": { + "python": { + "mapCase": false + } + } + }, + "scheduledClusterScan": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan:getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan", + "language": { + "python": { + "mapCase": false + } + } + }, + "windowsPreferedCluster": { "type": "boolean", "language": { "python": { @@ -27895,7 +31200,13 @@ }, "type": "object", "required": [ - "configuration" + "clusterAuthEndpoint", + "defaultClusterRoleForProjectMembers", + "defaultPodSecurityPolicyTemplateId", + "desiredAgentImage", + "desiredAuthImage", + "dockerRootDir", + "rkeConfig" ], "language": { "nodejs": { @@ -27903,9 +31214,9 @@ } } }, - "rancher2:index/getClusterRkeConfigServicesKubeApiSecretsEncryptionConfig:getClusterRkeConfigServicesKubeApiSecretsEncryptionConfig": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint:getClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint": { "properties": { - "customConfig": { + "caCerts": { "type": "string", "language": { "python": { @@ -27920,40 +31231,37 @@ "mapCase": false } } + }, + "fqdn": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } } }, - "type": "object", - "required": [ - "customConfig" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "type": "object" }, - "rancher2:index/getClusterRkeConfigServicesKubeController:getClusterRkeConfigServicesKubeController": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfig:getClusterTemplateTemplateRevisionClusterConfigRkeConfig": { "properties": { - "clusterCidr": { - "type": "string", + "addonJobTimeout": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "addons": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "extraBinds": { + "addonsIncludes": { "type": "array", "items": { "type": "string" @@ -27964,58 +31272,71 @@ } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" - }, + "authentication": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication:getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication", "language": { "python": { "mapCase": false } } }, - "image": { - "type": "string", + "authorization": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization:getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization", "language": { "python": { "mapCase": false } } }, - "serviceClusterIpRange": { - "type": "string", + "bastionHost": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost:getClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "clusterCidr", - "extraArgs", - "image", - "serviceClusterIpRange" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigServicesKubelet:getClusterRkeConfigServicesKubelet": { - "properties": { - "clusterDnsServer": { - "type": "string", + }, + "cloudProvider": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider", "language": { "python": { "mapCase": false } } }, - "clusterDomain": { + "dns": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDns:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDns", + "language": { + "python": { + "mapCase": false + } + } + }, + "enableCriDockerd": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "ignoreDockerVersion": { + "type": "boolean", + "language": { + "python": { + "mapCase": false + } + } + }, + "ingress": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress", + "language": { + "python": { + "mapCase": false + } + } + }, + "kubernetesVersion": { "type": "string", "language": { "python": { @@ -28023,32 +31344,26 @@ } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "monitoring": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring", "language": { "python": { "mapCase": false } } }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, + "network": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { + "nodes": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNode:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNode" }, "language": { "python": { @@ -28056,90 +31371,66 @@ } } }, - "failSwapOn": { - "type": "boolean", + "prefixPath": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "generateServingCertificate": { - "type": "boolean", + "privateRegistries": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry:getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry" + }, "language": { "python": { "mapCase": false } } }, - "image": { - "type": "string", + "services": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigServices:getClusterTemplateTemplateRevisionClusterConfigRkeConfigServices", "language": { "python": { "mapCase": false } } }, - "infraContainerImage": { - "type": "string", + "sshAgentAuth": { + "type": "boolean", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "clusterDnsServer", - "clusterDomain", - "extraArgs", - "failSwapOn", - "image", - "infraContainerImage" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterRkeConfigServicesKubeproxy:getClusterRkeConfigServicesKubeproxy": { - "properties": { - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + }, + "sshCertPath": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, + "sshKeyPath": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "extraEnvs": { - "type": "array", - "items": { - "type": "string" - }, + "upgradeStrategy": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy", "language": { "python": { "mapCase": false } } }, - "image": { + "winPrefixPath": { "type": "string", "language": { "python": { @@ -28150,8 +31441,22 @@ }, "type": "object", "required": [ - "extraArgs", - "image" + "addonJobTimeout", + "authentication", + "authorization", + "bastionHost", + "cloudProvider", + "dns", + "ingress", + "kubernetesVersion", + "monitoring", + "network", + "prefixPath", + "services", + "sshCertPath", + "sshKeyPath", + "upgradeStrategy", + "winPrefixPath" ], "language": { "nodejs": { @@ -28159,31 +31464,9 @@ } } }, - "rancher2:index/getClusterRkeConfigServicesScheduler:getClusterRkeConfigServicesScheduler": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication:getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication": { "properties": { - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "language": { - "python": { - "mapCase": false - } - } - }, - "extraBinds": { - "type": "array", - "items": { - "type": "string" - }, - "language": { - "python": { - "mapCase": false - } - } - }, - "extraEnvs": { + "sans": { "type": "array", "items": { "type": "string" @@ -28194,7 +31477,7 @@ } } }, - "image": { + "strategy": { "type": "string", "language": { "python": { @@ -28205,8 +31488,8 @@ }, "type": "object", "required": [ - "extraArgs", - "image" + "sans", + "strategy" ], "language": { "nodejs": { @@ -28214,25 +31497,9 @@ } } }, - "rancher2:index/getClusterRkeConfigUpgradeStrategy:getClusterRkeConfigUpgradeStrategy": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization:getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization": { "properties": { - "drain": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "drainInput": { - "$ref": "#/types/rancher2:index/getClusterRkeConfigUpgradeStrategyDrainInput:getClusterRkeConfigUpgradeStrategyDrainInput", - "language": { - "python": { - "mapCase": false - } - } - }, - "maxUnavailableControlplane": { + "mode": { "type": "string", "language": { "python": { @@ -28240,8 +31507,11 @@ } } }, - "maxUnavailableWorker": { - "type": "string", + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false @@ -28251,7 +31521,7 @@ }, "type": "object", "required": [ - "drainInput" + "options" ], "language": { "nodejs": { @@ -28259,56 +31529,51 @@ } } }, - "rancher2:index/getClusterRkeConfigUpgradeStrategyDrainInput:getClusterRkeConfigUpgradeStrategyDrainInput": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost:getClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost": { "properties": { - "deleteLocalData": { - "type": "boolean", + "address": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "force": { - "type": "boolean", + "port": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "gracePeriod": { - "type": "integer", + "sshAgentAuth": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "ignoreDaemonSets": { - "type": "boolean", + "sshKey": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "timeout": { - "type": "integer", + "sshKeyPath": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterScanScanConfig:getClusterScanScanConfig": { - "properties": { - "cisScanConfig": { - "$ref": "#/types/rancher2:index/getClusterScanScanConfigCisScanConfig:getClusterScanScanConfigCisScanConfig", - "description": "Cluster Cis Scan config (List maxitems:1)\n", + }, + "user": { + "type": "string", "language": { "python": { "mapCase": false @@ -28318,7 +31583,10 @@ }, "type": "object", "required": [ - "cisScanConfig" + "address", + "sshKey", + "sshKeyPath", + "user" ], "language": { "nodejs": { @@ -28326,79 +31594,51 @@ } } }, - "rancher2:index/getClusterScanScanConfigCisScanConfig:getClusterScanScanConfigCisScanConfig": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider": { "properties": { - "debugMaster": { - "type": "boolean", - "description": "Debug master. Default: `false` (bool)\n", + "awsCloudProvider": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider", "language": { "python": { "mapCase": false } } }, - "debugWorker": { - "type": "boolean", - "description": "Debug worker. Default: `false` (bool)\n", + "azureCloudProvider": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider", "language": { "python": { "mapCase": false } } }, - "overrideBenchmarkVersion": { + "customCloudProvider": { "type": "string", - "description": "Override benchmark version (string)\n", - "language": { - "python": { - "mapCase": false - } - } - }, - "overrideSkips": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Override skip (string)\n", "language": { "python": { "mapCase": false } } }, - "profile": { + "name": { "type": "string", - "description": "Cis scan profile. Allowed values: `\"permissive\" (default) || \"hardened\"` (string)\n", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object" - }, - "rancher2:index/getClusterScheduledClusterScan:getClusterScheduledClusterScan": { - "properties": { - "enabled": { - "type": "boolean", + "description": "The cluster template name (string)\n", "language": { "python": { "mapCase": false } } }, - "scanConfig": { - "$ref": "#/types/rancher2:index/getClusterScheduledClusterScanScanConfig:getClusterScheduledClusterScanScanConfig", + "openstackCloudProvider": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider", "language": { "python": { "mapCase": false } } }, - "scheduleConfig": { - "$ref": "#/types/rancher2:index/getClusterScheduledClusterScanScheduleConfig:getClusterScheduledClusterScanScheduleConfig", + "vsphereCloudProvider": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider", "language": { "python": { "mapCase": false @@ -28408,8 +31648,7 @@ }, "type": "object", "required": [ - "scanConfig", - "scheduleConfig" + "customCloudProvider" ], "language": { "nodejs": { @@ -28417,10 +31656,21 @@ } } }, - "rancher2:index/getClusterScheduledClusterScanScanConfig:getClusterScheduledClusterScanScanConfig": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider": { "properties": { - "cisScanConfig": { - "$ref": "#/types/rancher2:index/getClusterScheduledClusterScanScanConfigCisScanConfig:getClusterScheduledClusterScanScanConfigCisScanConfig", + "global": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal", + "language": { + "python": { + "mapCase": false + } + } + }, + "serviceOverrides": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride" + }, "language": { "python": { "mapCase": false @@ -28430,7 +31680,7 @@ }, "type": "object", "required": [ - "cisScanConfig" + "global" ], "language": { "nodejs": { @@ -28438,9 +31688,9 @@ } } }, - "rancher2:index/getClusterScheduledClusterScanScanConfigCisScanConfig:getClusterScheduledClusterScanScanConfigCisScanConfig": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal": { "properties": { - "debugMaster": { + "disableSecurityGroupIngress": { "type": "boolean", "language": { "python": { @@ -28448,7 +31698,7 @@ } } }, - "debugWorker": { + "disableStrictZoneCheck": { "type": "boolean", "language": { "python": { @@ -28456,7 +31706,7 @@ } } }, - "overrideBenchmarkVersion": { + "elbSecurityGroup": { "type": "string", "language": { "python": { @@ -28464,31 +31714,23 @@ } } }, - "overrideSkips": { - "type": "array", - "items": { - "type": "string" - }, + "kubernetesClusterId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "profile": { + "kubernetesClusterTag": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterScheduledClusterScanScheduleConfig:getClusterScheduledClusterScanScheduleConfig": { - "properties": { - "cronSchedule": { + }, + "roleArn": { "type": "string", "language": { "python": { @@ -28496,8 +31738,32 @@ } } }, - "retention": { - "type": "integer", + "routeTableId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "subnetId": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "vpc": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + }, + "zone": { + "type": "string", "language": { "python": { "mapCase": false @@ -28507,8 +31773,14 @@ }, "type": "object", "required": [ - "cronSchedule", - "retention" + "elbSecurityGroup", + "kubernetesClusterId", + "kubernetesClusterTag", + "roleArn", + "routeTableId", + "subnetId", + "vpc", + "zone" ], "language": { "nodejs": { @@ -28516,9 +31788,9 @@ } } }, - "rancher2:index/getClusterTemplateMember:getClusterTemplateMember": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride": { "properties": { - "accessType": { + "region": { "type": "string", "language": { "python": { @@ -28526,7 +31798,7 @@ } } }, - "groupPrincipalId": { + "service": { "type": "string", "language": { "python": { @@ -28534,238 +31806,204 @@ } } }, - "userPrincipalId": { + "signingMethod": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterTemplateTemplateRevision:getClusterTemplateTemplateRevision": { - "properties": { - "annotations": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "(Computed) Annotations for the cluster template (map)\n", + }, + "signingName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "clusterConfig": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfig:getClusterTemplateTemplateRevisionClusterConfig", + "signingRegion": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "clusterTemplateId": { + "url": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "default": { - "type": "boolean", + } + }, + "type": "object", + "required": [ + "region", + "service", + "signingMethod", + "signingName", + "signingRegion", + "url" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider": { + "properties": { + "aadClientCertPassword": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "enabled": { - "type": "boolean", + "aadClientCertPath": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "id": { + "aadClientId": { "type": "string", - "description": "(Computed) The ID of the resource (string)\n", "language": { "python": { "mapCase": false } - } - }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" }, - "description": "(Computed) Labels for the cluster template (map)\n", + "secret": true + }, + "aadClientSecret": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "name": { + "cloud": { "type": "string", - "description": "The cluster template name (string)\n", "language": { "python": { "mapCase": false } } }, - "questions": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionQuestion:getClusterTemplateTemplateRevisionQuestion" - }, + "cloudProviderBackoff": { + "type": "boolean", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "annotations", - "clusterConfig", - "clusterTemplateId", - "id", - "labels", - "name" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfig:getClusterTemplateTemplateRevisionClusterConfig": { - "properties": { - "clusterAuthEndpoint": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint:getClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint", + }, + "cloudProviderBackoffDuration": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "defaultClusterRoleForProjectMembers": { - "type": "string", + "cloudProviderBackoffExponent": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "defaultPodSecurityPolicyTemplateId": { - "type": "string", + "cloudProviderBackoffJitter": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "desiredAgentImage": { - "type": "string", + "cloudProviderBackoffRetries": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "desiredAuthImage": { - "type": "string", + "cloudProviderRateLimit": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "dockerRootDir": { - "type": "string", + "cloudProviderRateLimitBucket": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "enableClusterAlerting": { - "type": "boolean", + "cloudProviderRateLimitQps": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "enableClusterMonitoring": { - "type": "boolean", + "loadBalancerSku": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "enableNetworkPolicy": { - "type": "boolean", + "location": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "rkeConfig": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfig:getClusterTemplateTemplateRevisionClusterConfigRkeConfig", + "maximumLoadBalancerRuleCount": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "scheduledClusterScan": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan:getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan", + "primaryAvailabilitySetName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "windowsPreferedCluster": { - "type": "boolean", + "primaryScaleSetName": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "clusterAuthEndpoint", - "defaultClusterRoleForProjectMembers", - "defaultPodSecurityPolicyTemplateId", - "desiredAgentImage", - "desiredAuthImage", - "dockerRootDir", - "rkeConfig" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint:getClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint": { - "properties": { - "caCerts": { + }, + "resourceGroup": { "type": "string", "language": { "python": { @@ -28773,189 +32011,250 @@ } } }, - "enabled": { - "type": "boolean", + "routeTableName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "fqdn": { + "securityGroupName": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfig:getClusterTemplateTemplateRevisionClusterConfigRkeConfig": { - "properties": { - "addonJobTimeout": { - "type": "integer", + }, + "subnetName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "addons": { + "subscriptionId": { "type": "string", "language": { "python": { "mapCase": false } - } - }, - "addonsIncludes": { - "type": "array", - "items": { - "type": "string" }, + "secret": true + }, + "tenantId": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "authentication": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication:getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication", + "useInstanceMetadata": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "authorization": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization:getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization", + "useManagedIdentityExtension": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "bastionHost": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost:getClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost", + "vmType": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProvider": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider", + "vnetName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "dns": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDns:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDns", + "vnetResourceGroup": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "enableCriDockerd": { - "type": "boolean", + } + }, + "type": "object", + "required": [ + "aadClientCertPassword", + "aadClientCertPath", + "aadClientId", + "aadClientSecret", + "cloud", + "cloudProviderBackoff", + "cloudProviderBackoffDuration", + "cloudProviderBackoffExponent", + "cloudProviderBackoffJitter", + "cloudProviderBackoffRetries", + "cloudProviderRateLimit", + "cloudProviderRateLimitBucket", + "cloudProviderRateLimitQps", + "location", + "maximumLoadBalancerRuleCount", + "primaryAvailabilitySetName", + "primaryScaleSetName", + "resourceGroup", + "routeTableName", + "securityGroupName", + "subnetName", + "subscriptionId", + "tenantId", + "useInstanceMetadata", + "useManagedIdentityExtension", + "vmType", + "vnetName", + "vnetResourceGroup" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider": { + "properties": { + "blockStorage": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage", "language": { "python": { "mapCase": false } } }, - "ignoreDockerVersion": { - "type": "boolean", + "global": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal", "language": { "python": { "mapCase": false } } }, - "ingress": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress", + "loadBalancer": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer", "language": { "python": { "mapCase": false } } }, - "kubernetesVersion": { - "type": "string", + "metadata": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata", "language": { "python": { "mapCase": false } } }, - "monitoring": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring", + "route": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute", "language": { "python": { "mapCase": false } } - }, - "network": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork", + } + }, + "type": "object", + "required": [ + "blockStorage", + "global", + "loadBalancer", + "metadata", + "route" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage": { + "properties": { + "bsVersion": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "nodes": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNode:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNode" - }, + "ignoreVolumeAz": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "prefixPath": { - "type": "string", + "trustDevicePath": { + "type": "boolean", "language": { "python": { "mapCase": false } } - }, - "privateRegistries": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry:getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry" - }, + } + }, + "type": "object", + "required": [ + "bsVersion", + "ignoreVolumeAz", + "trustDevicePath" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal": { + "properties": { + "authUrl": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "services": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigServices:getClusterTemplateTemplateRevisionClusterConfigRkeConfigServices", + "caFile": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "sshAgentAuth": { - "type": "boolean", + "domainId": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "sshCertPath": { + "domainName": { "type": "string", "language": { "python": { @@ -28963,114 +32262,71 @@ } } }, - "sshKeyPath": { + "password": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "upgradeStrategy": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy", + "region": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "winPrefixPath": { + "tenantId": { "type": "string", "language": { "python": { "mapCase": false } - } - } - }, - "type": "object", - "required": [ - "addonJobTimeout", - "authentication", - "authorization", - "bastionHost", - "cloudProvider", - "dns", - "ingress", - "kubernetesVersion", - "monitoring", - "network", - "prefixPath", - "services", - "sshCertPath", - "sshKeyPath", - "upgradeStrategy", - "winPrefixPath" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication:getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication": { - "properties": { - "sans": { - "type": "array", - "items": { - "type": "string" }, - "language": { - "python": { - "mapCase": false - } - } + "secret": true }, - "strategy": { + "tenantName": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "sans", - "strategy" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization:getClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization": { - "properties": { - "mode": { + }, + "trustId": { "type": "string", "language": { "python": { "mapCase": false } - } - }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" }, + "secret": true + }, + "username": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", "required": [ - "options" + "authUrl", + "caFile", + "domainId", + "domainName", + "password", + "region", + "tenantId", + "tenantName", + "trustId", + "username" ], "language": { "nodejs": { @@ -29078,17 +32334,17 @@ } } }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost:getClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer": { "properties": { - "address": { - "type": "string", + "createMonitor": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "port": { + "floatingNetworkId": { "type": "string", "language": { "python": { @@ -29096,15 +32352,7 @@ } } }, - "sshAgentAuth": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "sshKey": { + "lbMethod": { "type": "string", "language": { "python": { @@ -29112,7 +32360,7 @@ } } }, - "sshKeyPath": { + "lbProvider": { "type": "string", "language": { "python": { @@ -29120,73 +32368,56 @@ } } }, - "user": { + "lbVersion": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "address", - "sshKey", - "sshKeyPath", - "user" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider": { - "properties": { - "awsCloudProvider": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider", + }, + "manageSecurityGroups": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "azureCloudProvider": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider", + "monitorDelay": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "customCloudProvider": { - "type": "string", + "monitorMaxRetries": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "name": { + "monitorTimeout": { "type": "string", - "description": "The cluster template name (string)\n", "language": { "python": { "mapCase": false } } }, - "openstackCloudProvider": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider", + "subnetId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "vsphereCloudProvider": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider", + "useOctavia": { + "type": "boolean", "language": { "python": { "mapCase": false @@ -29196,7 +32427,14 @@ }, "type": "object", "required": [ - "customCloudProvider" + "createMonitor", + "floatingNetworkId", + "lbMethod", + "lbProvider", + "lbVersion", + "manageSecurityGroups", + "subnetId", + "useOctavia" ], "language": { "nodejs": { @@ -29204,21 +32442,18 @@ } } }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata": { "properties": { - "global": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal", + "requestTimeout": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "serviceOverrides": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride" - }, + "searchOrder": { + "type": "string", "language": { "python": { "mapCase": false @@ -29228,7 +32463,8 @@ }, "type": "object", "required": [ - "global" + "requestTimeout", + "searchOrder" ], "language": { "nodejs": { @@ -29236,81 +32472,90 @@ } } }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute": { "properties": { - "disableSecurityGroupIngress": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "disableStrictZoneCheck": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "elbSecurityGroup": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "kubernetesClusterId": { + "routerId": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "kubernetesClusterTag": { - "type": "string", + } + }, + "type": "object", + "required": [ + "routerId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider": { + "properties": { + "disk": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk", "language": { "python": { "mapCase": false } } }, - "roleArn": { - "type": "string", + "global": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal", "language": { "python": { "mapCase": false } } }, - "routeTableId": { - "type": "string", + "network": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork", "language": { "python": { "mapCase": false } } }, - "subnetId": { - "type": "string", + "virtualCenters": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter" + }, "language": { "python": { "mapCase": false } } }, - "vpc": { - "type": "string", + "workspace": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace", "language": { "python": { "mapCase": false } } - }, - "zone": { + } + }, + "type": "object", + "required": [ + "disk", + "global", + "network", + "virtualCenters", + "workspace" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk": { + "properties": { + "scsiControllerType": { "type": "string", "language": { "python": { @@ -29321,14 +32566,7 @@ }, "type": "object", "required": [ - "elbSecurityGroup", - "kubernetesClusterId", - "kubernetesClusterTag", - "roleArn", - "routeTableId", - "subnetId", - "vpc", - "zone" + "scsiControllerType" ], "language": { "nodejs": { @@ -29336,9 +32574,9 @@ } } }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal": { "properties": { - "region": { + "datacenters": { "type": "string", "language": { "python": { @@ -29346,23 +32584,24 @@ } } }, - "service": { - "type": "string", + "insecureFlag": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "signingMethod": { + "password": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "signingName": { + "port": { "type": "string", "language": { "python": { @@ -29370,31 +32609,32 @@ } } }, - "signingRegion": { - "type": "string", + "soapRoundtripCount": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "url": { + "user": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", "required": [ - "region", - "service", - "signingMethod", - "signingName", - "signingRegion", - "url" + "datacenters", + "insecureFlag", + "password", + "port", + "soapRoundtripCount", + "user" ], "language": { "nodejs": { @@ -29402,17 +32642,30 @@ } } }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork": { "properties": { - "aadClientCertPassword": { + "publicNetwork": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "aadClientCertPath": { + } + }, + "type": "object", + "required": [ + "publicNetwork" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter": { + "properties": { + "datacenters": { "type": "string", "language": { "python": { @@ -29420,23 +32673,25 @@ } } }, - "aadClientId": { + "name": { "type": "string", + "description": "The cluster template name (string)\n", "language": { "python": { "mapCase": false } } }, - "aadClientSecret": { + "password": { "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "cloud": { + "port": { "type": "string", "language": { "python": { @@ -29444,15 +32699,7 @@ } } }, - "cloudProviderBackoff": { - "type": "boolean", - "language": { - "python": { - "mapCase": false - } - } - }, - "cloudProviderBackoffDuration": { + "soapRoundtripCount": { "type": "integer", "language": { "python": { @@ -29460,87 +32707,129 @@ } } }, - "cloudProviderBackoffExponent": { - "type": "integer", + "user": { + "type": "string", "language": { "python": { "mapCase": false } - } - }, - "cloudProviderBackoffJitter": { - "type": "integer", + }, + "secret": true + } + }, + "type": "object", + "required": [ + "datacenters", + "name", + "password", + "port", + "soapRoundtripCount", + "user" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace": { + "properties": { + "datacenter": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderBackoffRetries": { - "type": "integer", + "defaultDatastore": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderRateLimit": { - "type": "boolean", + "folder": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderRateLimitBucket": { - "type": "integer", + "resourcepoolPath": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "cloudProviderRateLimitQps": { - "type": "integer", + "server": { + "type": "string", "language": { "python": { "mapCase": false } } - }, - "loadBalancerSku": { - "type": "string", + } + }, + "type": "object", + "required": [ + "datacenter", + "defaultDatastore", + "folder", + "resourcepoolPath", + "server" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDns:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDns": { + "properties": { + "linearAutoscalerParams": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams", "language": { "python": { "mapCase": false } } }, - "location": { - "type": "string", + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "maximumLoadBalancerRuleCount": { - "type": "integer", + "nodelocal": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal", "language": { "python": { "mapCase": false } } }, - "primaryAvailabilitySetName": { - "type": "string", + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "primaryScaleSetName": { + "provider": { "type": "string", "language": { "python": { @@ -29548,79 +32837,109 @@ } } }, - "resourceGroup": { - "type": "string", + "reverseCidrs": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "routeTableName": { - "type": "string", + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration" + }, "language": { "python": { "mapCase": false } } }, - "securityGroupName": { - "type": "string", + "updateStrategy": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy", "language": { "python": { "mapCase": false } } }, - "subnetName": { - "type": "string", + "upstreamNameservers": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } - }, - "subscriptionId": { - "type": "string", + } + }, + "type": "object", + "required": [ + "nodeSelector", + "options", + "reverseCidrs", + "upstreamNameservers" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams": { + "properties": { + "coresPerReplica": { + "type": "number", "language": { "python": { "mapCase": false } } }, - "tenantId": { - "type": "string", + "max": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "useInstanceMetadata": { - "type": "boolean", + "min": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "useManagedIdentityExtension": { - "type": "boolean", + "nodesPerReplica": { + "type": "number", "language": { "python": { "mapCase": false } } }, - "vmType": { - "type": "string", + "preventSinglePointFailure": { + "type": "boolean", "language": { "python": { "mapCase": false } } - }, - "vnetName": { + } + }, + "type": "object" + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal": { + "properties": { + "ipAddress": { "type": "string", "language": { "python": { @@ -29628,8 +32947,11 @@ } } }, - "vnetResourceGroup": { - "type": "string", + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false @@ -29637,79 +32959,44 @@ } } }, - "type": "object", - "required": [ - "aadClientCertPassword", - "aadClientCertPath", - "aadClientId", - "aadClientSecret", - "cloud", - "cloudProviderBackoff", - "cloudProviderBackoffDuration", - "cloudProviderBackoffExponent", - "cloudProviderBackoffJitter", - "cloudProviderBackoffRetries", - "cloudProviderRateLimit", - "cloudProviderRateLimitBucket", - "cloudProviderRateLimitQps", - "location", - "maximumLoadBalancerRuleCount", - "primaryAvailabilitySetName", - "primaryScaleSetName", - "resourceGroup", - "routeTableName", - "securityGroupName", - "subnetName", - "subscriptionId", - "tenantId", - "useInstanceMetadata", - "useManagedIdentityExtension", - "vmType", - "vnetName", - "vnetResourceGroup" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "type": "object" }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration": { "properties": { - "blockStorage": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage", + "effect": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "global": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal", + "key": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "loadBalancer": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer", + "operator": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "metadata": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata", + "seconds": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "route": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute", + "value": { + "type": "string", "language": { "python": { "mapCase": false @@ -29719,11 +33006,8 @@ }, "type": "object", "required": [ - "blockStorage", - "global", - "loadBalancer", - "metadata", - "route" + "key", + "seconds" ], "language": { "nodejs": { @@ -29731,26 +33015,39 @@ } } }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy": { "properties": { - "bsVersion": { - "type": "string", + "rollingUpdate": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate", "language": { "python": { "mapCase": false } } }, - "ignoreVolumeAz": { - "type": "boolean", + "strategy": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + } + } + }, + "type": "object" + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate": { + "properties": { + "maxSurge": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "trustDevicePath": { - "type": "boolean", + "maxUnavailable": { + "type": "integer", "language": { "python": { "mapCase": false @@ -29758,29 +33055,19 @@ } } }, - "type": "object", - "required": [ - "bsVersion", - "ignoreVolumeAz", - "trustDevicePath" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "type": "object" }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress": { "properties": { - "authUrl": { - "type": "string", + "defaultBackend": { + "type": "boolean", "language": { "python": { "mapCase": false } } }, - "caFile": { + "dnsPolicy": { "type": "string", "language": { "python": { @@ -29788,31 +33075,34 @@ } } }, - "domainId": { - "type": "string", + "extraArgs": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "domainName": { - "type": "string", + "httpPort": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "password": { - "type": "string", + "httpsPort": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "region": { + "networkMode": { "type": "string", "language": { "python": { @@ -29820,23 +33110,29 @@ } } }, - "tenantId": { - "type": "string", + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "tenantName": { - "type": "string", + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "trustId": { + "provider": { "type": "string", "language": { "python": { @@ -29844,8 +33140,19 @@ } } }, - "username": { - "type": "string", + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "updateStrategy": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy", "language": { "python": { "mapCase": false @@ -29855,16 +33162,14 @@ }, "type": "object", "required": [ - "authUrl", - "caFile", - "domainId", - "domainName", - "password", - "region", - "tenantId", - "tenantName", - "trustId", - "username" + "dnsPolicy", + "extraArgs", + "httpPort", + "httpsPort", + "networkMode", + "nodeSelector", + "options", + "provider" ], "language": { "nodejs": { @@ -29872,17 +33177,17 @@ } } }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration": { "properties": { - "createMonitor": { - "type": "boolean", + "effect": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "floatingNetworkId": { + "key": { "type": "string", "language": { "python": { @@ -29890,7 +33195,7 @@ } } }, - "lbMethod": { + "operator": { "type": "string", "language": { "python": { @@ -29898,91 +33203,101 @@ } } }, - "lbProvider": { - "type": "string", + "seconds": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "lbVersion": { + "value": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "manageSecurityGroups": { - "type": "boolean", + } + }, + "type": "object", + "required": [ + "key", + "seconds" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy": { + "properties": { + "rollingUpdate": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate", "language": { "python": { "mapCase": false } } }, - "monitorDelay": { + "strategy": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "monitorMaxRetries": { + } + }, + "type": "object" + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate": { + "properties": { + "maxUnavailable": { "type": "integer", "language": { "python": { "mapCase": false } } - }, - "monitorTimeout": { - "type": "string", + } + }, + "type": "object" + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring": { + "properties": { + "nodeSelector": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "subnetId": { - "type": "string", + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, "language": { "python": { "mapCase": false } } }, - "useOctavia": { - "type": "boolean", + "provider": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "createMonitor", - "floatingNetworkId", - "lbMethod", - "lbProvider", - "lbVersion", - "manageSecurityGroups", - "subnetId", - "useOctavia" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata": { - "properties": { - "requestTimeout": { + }, + "replicas": { "type": "integer", "language": { "python": { @@ -29990,30 +33305,19 @@ } } }, - "searchOrder": { - "type": "string", + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration" + }, "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "requestTimeout", - "searchOrder" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute": { - "properties": { - "routerId": { - "type": "string", + }, + "updateStrategy": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy", "language": { "python": { "mapCase": false @@ -30023,7 +33327,9 @@ }, "type": "object", "required": [ - "routerId" + "options", + "provider", + "replicas" ], "language": { "nodejs": { @@ -30031,69 +33337,41 @@ } } }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration": { "properties": { - "disk": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk", + "effect": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "global": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal", + "key": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "network": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork", + "operator": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "virtualCenters": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter" - }, + "seconds": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "workspace": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace", - "language": { - "python": { - "mapCase": false - } - } - } - }, - "type": "object", - "required": [ - "disk", - "global", - "network", - "virtualCenters", - "workspace" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk": { - "properties": { - "scsiControllerType": { + "value": { "type": "string", "language": { "python": { @@ -30104,7 +33382,8 @@ }, "type": "object", "required": [ - "scsiControllerType" + "key", + "seconds" ], "language": { "nodejs": { @@ -30112,121 +33391,102 @@ } } }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy": { "properties": { - "datacenters": { - "type": "string", - "language": { - "python": { - "mapCase": false - } - } - }, - "insecureFlag": { - "type": "boolean", + "rollingUpdate": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate", "language": { "python": { "mapCase": false } } }, - "password": { + "strategy": { "type": "string", "language": { "python": { "mapCase": false } } - }, - "port": { - "type": "string", + } + }, + "type": "object" + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate": { + "properties": { + "maxSurge": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "soapRoundtripCount": { + "maxUnavailable": { "type": "integer", "language": { "python": { "mapCase": false } } - }, - "user": { - "type": "string", + } + }, + "type": "object" + }, + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork": { + "properties": { + "aciNetworkProvider": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "datacenters", - "insecureFlag", - "password", - "port", - "soapRoundtripCount", - "user" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork": { - "properties": { - "publicNetwork": { - "type": "string", + }, + "calicoNetworkProvider": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "publicNetwork" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter": { - "properties": { - "datacenters": { - "type": "string", + }, + "canalNetworkProvider": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider", "language": { "python": { "mapCase": false } } }, - "name": { - "type": "string", - "description": "The cluster template name (string)\n", + "flannelNetworkProvider": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider", "language": { "python": { "mapCase": false } } }, - "password": { - "type": "string", + "mtu": { + "type": "integer", "language": { "python": { "mapCase": false } } }, - "port": { + "options": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + }, + "plugin": { "type": "string", "language": { "python": { @@ -30234,16 +33494,19 @@ } } }, - "soapRoundtripCount": { - "type": "integer", + "tolerations": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration" + }, "language": { "python": { "mapCase": false } } }, - "user": { - "type": "string", + "weaveNetworkProvider": { + "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider", "language": { "python": { "mapCase": false @@ -30253,12 +33516,8 @@ }, "type": "object", "required": [ - "datacenters", - "name", - "password", - "port", - "soapRoundtripCount", - "user" + "options", + "plugin" ], "language": { "nodejs": { @@ -30266,9 +33525,9 @@ } } }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace:getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace": { + "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider": { "properties": { - "datacenter": { + "aep": { "type": "string", "language": { "python": { @@ -30276,15 +33535,18 @@ } } }, - "defaultDatastore": { - "type": "string", + "apicHosts": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "folder": { + "apicRefreshTickerAdjust": { "type": "string", "language": { "python": { @@ -30292,7 +33554,7 @@ } } }, - "resourcepoolPath": { + "apicRefreshTime": { "type": "string", "language": { "python": { @@ -30300,70 +33562,57 @@ } } }, - "server": { + "apicSubscriptionDelay": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "datacenter", - "defaultDatastore", - "folder", - "resourcepoolPath", - "server" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDns:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDns": { - "properties": { - "linearAutoscalerParams": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams", + }, + "apicUserCrt": { + "type": "string", "language": { "python": { "mapCase": false } - } + }, + "secret": true }, - "nodeSelector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" + "apicUserKey": { + "type": "string", + "language": { + "python": { + "mapCase": false + } }, + "secret": true + }, + "apicUserName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "nodelocal": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal", + "capic": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "controllerLogLevel": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "provider": { + "disablePeriodicSnatGlobalInfoSync": { "type": "string", "language": { "python": { @@ -30371,109 +33620,79 @@ } } }, - "reverseCidrs": { - "type": "array", - "items": { - "type": "string" - }, + "disableWaitForNetwork": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration" - }, + "dropLogEnable": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "updateStrategy": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy", + "durationWaitForNetwork": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "upstreamNameservers": { - "type": "array", - "items": { - "type": "string" - }, + "enableEndpointSlice": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "nodeSelector", - "options", - "reverseCidrs", - "upstreamNameservers" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams": { - "properties": { - "coresPerReplica": { - "type": "number", + }, + "encapType": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "max": { - "type": "integer", + "epRegistry": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "min": { - "type": "integer", + "externDynamic": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "nodesPerReplica": { - "type": "number", + "externStatic": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "preventSinglePointFailure": { - "type": "boolean", + "gbpPodSubnet": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal": { - "properties": { - "ipAddress": { + }, + "hostAgentLogLevel": { "type": "string", "language": { "python": { @@ -30481,23 +33700,15 @@ } } }, - "nodeSelector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "imagePullPolicy": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration": { - "properties": { - "effect": { + }, + "imagePullSecret": { "type": "string", "language": { "python": { @@ -30505,7 +33716,7 @@ } } }, - "key": { + "infraVlan": { "type": "string", "language": { "python": { @@ -30513,7 +33724,7 @@ } } }, - "operator": { + "installIstio": { "type": "string", "language": { "python": { @@ -30521,87 +33732,69 @@ } } }, - "seconds": { - "type": "integer", + "istioProfile": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "value": { - "type": "string", + "kafkaBrokers": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "key", - "seconds" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy": { - "properties": { - "rollingUpdate": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate", + }, + "kafkaClientCrt": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "strategy": { + "kafkaClientKey": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate": { - "properties": { - "maxSurge": { - "type": "integer", + }, + "kubeApiVlan": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "maxUnavailable": { - "type": "integer", + "l3out": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress": { - "properties": { - "defaultBackend": { - "type": "boolean", + }, + "l3outExternalNetworks": { + "type": "array", + "items": { + "type": "string" + }, "language": { "python": { "mapCase": false } } }, - "dnsPolicy": { + "maxNodesSvcGraph": { "type": "string", "language": { "python": { @@ -30609,34 +33802,31 @@ } } }, - "extraArgs": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "mcastRangeEnd": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "httpPort": { - "type": "integer", + "mcastRangeStart": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "httpsPort": { - "type": "integer", + "mtuHeadRoom": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "networkMode": { + "multusDisable": { "type": "string", "language": { "python": { @@ -30644,29 +33834,23 @@ } } }, - "nodeSelector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "noPriorityClass": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "nodePodIfEnable": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "provider": { + "nodeSubnet": { "type": "string", "language": { "python": { @@ -30674,46 +33858,23 @@ } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration" - }, + "nodeSvcSubnet": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "updateStrategy": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy", + "opflexClientSsl": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "dnsPolicy", - "extraArgs", - "httpPort", - "httpsPort", - "networkMode", - "nodeSelector", - "options", - "provider" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration": { - "properties": { - "effect": { + }, + "opflexDeviceDeleteTimeout": { "type": "string", "language": { "python": { @@ -30721,7 +33882,7 @@ } } }, - "key": { + "opflexLogLevel": { "type": "string", "language": { "python": { @@ -30729,7 +33890,7 @@ } } }, - "operator": { + "opflexMode": { "type": "string", "language": { "python": { @@ -30737,93 +33898,63 @@ } } }, - "seconds": { - "type": "integer", + "opflexServerPort": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "value": { + "overlayVrfName": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "key", - "seconds" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy": { - "properties": { - "rollingUpdate": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate", + }, + "ovsMemoryLimit": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "strategy": { + "pbrTrackingNonSnat": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate": { - "properties": { - "maxUnavailable": { - "type": "integer", + }, + "podSubnetChunkSize": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring": { - "properties": { - "nodeSelector": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + }, + "runGbpContainer": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "runOpflexServerContainer": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "provider": { + "serviceMonitorInterval": { "type": "string", "language": { "python": { @@ -30831,49 +33962,31 @@ } } }, - "replicas": { - "type": "integer", + "serviceVlan": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration" - }, + "snatContractScope": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "updateStrategy": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy", + "snatNamespace": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "options", - "provider", - "replicas" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration": { - "properties": { - "effect": { + }, + "snatPortRangeEnd": { "type": "string", "language": { "python": { @@ -30881,7 +33994,7 @@ } } }, - "key": { + "snatPortRangeStart": { "type": "string", "language": { "python": { @@ -30889,7 +34002,7 @@ } } }, - "operator": { + "snatPortsPerNode": { "type": "string", "language": { "python": { @@ -30897,122 +34010,104 @@ } } }, - "seconds": { - "type": "integer", + "sriovEnable": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "value": { + "subnetDomainName": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object", - "required": [ - "key", - "seconds" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy": { - "properties": { - "rollingUpdate": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate", + }, + "systemId": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "strategy": { + "tenant": { "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate:getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate": { - "properties": { - "maxSurge": { - "type": "integer", + }, + "token": { + "type": "string", + "language": { + "python": { + "mapCase": false + } + }, + "secret": true + }, + "useAciAnywhereCrd": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "maxUnavailable": { - "type": "integer", + "useAciCniPriorityClass": { + "type": "string", "language": { "python": { "mapCase": false } } - } - }, - "type": "object" - }, - "rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork": { - "properties": { - "calicoNetworkProvider": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider", + }, + "useClusterRole": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "canalNetworkProvider": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider", + "useHostNetnsVolume": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "flannelNetworkProvider": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider", + "useOpflexServerVolume": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "mtu": { - "type": "integer", + "usePrivilegedContainer": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "options": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, + "vmmController": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "plugin": { + "vmmDomain": { "type": "string", "language": { "python": { @@ -31020,19 +34115,16 @@ } } }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration" - }, + "vrfName": { + "type": "string", "language": { "python": { "mapCase": false } } }, - "weaveNetworkProvider": { - "$ref": "#/types/rancher2:index/getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider:getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider", + "vrfTenant": { + "type": "string", "language": { "python": { "mapCase": false @@ -31042,8 +34134,26 @@ }, "type": "object", "required": [ - "options", - "plugin" + "aep", + "apicHosts", + "apicUserCrt", + "apicUserKey", + "apicUserName", + "encapType", + "externDynamic", + "externStatic", + "kubeApiVlan", + "l3out", + "l3outExternalNetworks", + "mcastRangeEnd", + "mcastRangeStart", + "nodeSubnet", + "nodeSvcSubnet", + "serviceVlan", + "systemId", + "token", + "vrfName", + "vrfTenant" ], "language": { "nodejs": { @@ -31276,7 +34386,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "sshKeyPath": { "type": "string", @@ -31292,7 +34403,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -31334,7 +34446,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "url": { "type": "string", @@ -31350,7 +34463,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -31379,7 +34493,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "awsSessionToken": { "type": "string", @@ -31387,7 +34502,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object" @@ -31482,7 +34598,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "creation": { "type": "string", @@ -31558,7 +34675,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "path": { "type": "string", @@ -31681,7 +34799,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "bucketName": { "type": "string", @@ -31729,7 +34848,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -32705,7 +35825,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "windowsNodeCommand": { "type": "string", @@ -33117,6 +36238,17 @@ } } }, + "machineLabels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "language": { + "python": { + "mapCase": false + } + } + }, "maxUnhealthy": { "type": "string", "language": { @@ -33216,6 +36348,7 @@ "cloudCredentialSecretName", "labels", "machineConfig", + "machineLabels", "name" ], "language": { @@ -33832,7 +36965,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "bucketName": { "type": "string", @@ -33880,7 +37014,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -34514,7 +37649,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "url": { "type": "string", @@ -34645,7 +37781,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "port": { "type": "integer", @@ -34770,7 +37907,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -35398,7 +38536,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientCert": { "type": "string", @@ -35406,7 +38545,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKey": { "type": "string", @@ -35414,7 +38554,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "content": { "type": "string", @@ -35443,7 +38584,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "authUsername": { "type": "string", @@ -35451,7 +38593,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "certificate": { "type": "string", @@ -35459,7 +38602,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientCert": { "type": "string", @@ -35467,7 +38611,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKey": { "type": "string", @@ -35475,7 +38620,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKeyPass": { "type": "string", @@ -35483,7 +38629,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "dateFormat": { "type": "string", @@ -35545,7 +38692,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "compress": { "type": "boolean", @@ -35609,7 +38757,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "sharedKey": { "type": "string", @@ -35617,7 +38766,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "standby": { "type": "boolean", @@ -35633,7 +38783,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "weight": { "type": "integer", @@ -35673,7 +38824,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientCert": { "type": "string", @@ -35681,7 +38833,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKey": { "type": "string", @@ -35689,7 +38842,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "topic": { "type": "string", @@ -35726,7 +38880,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientCert": { "type": "string", @@ -35734,7 +38889,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKey": { "type": "string", @@ -35742,7 +38898,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKeyPass": { "type": "string", @@ -35750,7 +38907,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "endpoint": { "type": "string", @@ -35790,7 +38948,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -35813,7 +38972,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientCert": { "type": "string", @@ -35821,7 +38981,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "clientKey": { "type": "string", @@ -35829,7 +38990,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "enableTls": { "type": "boolean", @@ -35885,7 +39047,8 @@ "python": { "mapCase": false } - } + }, + "secret": true } }, "type": "object", @@ -36163,7 +39326,8 @@ "python": { "mapCase": false } - } + }, + "secret": true }, "username": { "type": "string", @@ -36310,7 +39474,8 @@ "properties": { "accessKey": { "type": "string", - "description": "API Key used to authenticate with the rancher server\n" + "description": "API Key used to authenticate with the rancher server\n", + "secret": true }, "apiUrl": { "type": "string", @@ -36335,7 +39500,8 @@ }, "secretKey": { "type": "string", - "description": "API secret used to authenticate with the rancher server\n" + "description": "API secret used to authenticate with the rancher server\n", + "secret": true }, "timeout": { "type": "string", @@ -36343,7 +39509,8 @@ }, "tokenKey": { "type": "string", - "description": "API token used to authenticate with the rancher server\n" + "description": "API token used to authenticate with the rancher server\n", + "secret": true } }, "required": [ @@ -36352,7 +39519,8 @@ "inputProperties": { "accessKey": { "type": "string", - "description": "API Key used to authenticate with the rancher server\n" + "description": "API Key used to authenticate with the rancher server\n", + "secret": true }, "apiUrl": { "type": "string", @@ -36389,7 +39557,8 @@ }, "secretKey": { "type": "string", - "description": "API secret used to authenticate with the rancher server\n" + "description": "API secret used to authenticate with the rancher server\n", + "secret": true }, "timeout": { "type": "string", @@ -36397,7 +39566,8 @@ }, "tokenKey": { "type": "string", - "description": "API token used to authenticate with the rancher server\n" + "description": "API token used to authenticate with the rancher server\n", + "secret": true } }, "requiredInputs": [ @@ -36428,7 +39598,8 @@ }, "certificate": { "type": "string", - "description": "CA certificate for TLS if selfsigned (string)\n" + "description": "CA certificate for TLS if selfsigned (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -36502,11 +39673,13 @@ }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access ActiveDirectory service (string)\n" + "description": "Service account password for access ActiveDirectory service (string)\n", + "secret": true }, "serviceAccountUsername": { "type": "string", - "description": "Service account DN for access ActiveDirectory service (string)\n" + "description": "Service account DN for access ActiveDirectory service (string)\n", + "secret": true }, "startTls": { "type": "boolean", @@ -36514,7 +39687,8 @@ }, "testPassword": { "type": "string", - "description": "Password for test access to ActiveDirectory service (string)\n" + "description": "Password for test access to ActiveDirectory service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -36611,7 +39785,8 @@ }, "certificate": { "type": "string", - "description": "CA certificate for TLS if selfsigned (string)\n" + "description": "CA certificate for TLS if selfsigned (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -36681,11 +39856,13 @@ }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access ActiveDirectory service (string)\n" + "description": "Service account password for access ActiveDirectory service (string)\n", + "secret": true }, "serviceAccountUsername": { "type": "string", - "description": "Service account DN for access ActiveDirectory service (string)\n" + "description": "Service account DN for access ActiveDirectory service (string)\n", + "secret": true }, "startTls": { "type": "boolean", @@ -36693,7 +39870,8 @@ }, "testPassword": { "type": "string", - "description": "Password for test access to ActiveDirectory service (string)\n" + "description": "Password for test access to ActiveDirectory service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -36767,7 +39945,8 @@ }, "certificate": { "type": "string", - "description": "CA certificate for TLS if selfsigned (string)\n" + "description": "CA certificate for TLS if selfsigned (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -36841,11 +40020,13 @@ }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access ActiveDirectory service (string)\n" + "description": "Service account password for access ActiveDirectory service (string)\n", + "secret": true }, "serviceAccountUsername": { "type": "string", - "description": "Service account DN for access ActiveDirectory service (string)\n" + "description": "Service account DN for access ActiveDirectory service (string)\n", + "secret": true }, "startTls": { "type": "boolean", @@ -36853,7 +40034,8 @@ }, "testPassword": { "type": "string", - "description": "Password for test access to ActiveDirectory service (string)\n" + "description": "Password for test access to ActiveDirectory service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -36905,7 +40087,7 @@ "deprecationMessage": "rancher2.ActiveDirectory has been deprecated in favor of rancher2.AuthConfigActiveDirectory" }, "rancher2:index/app:App": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 App\nconst foo = new rancher2.App(\"foo\", {\n answers: {\n foo: \"bar\",\n \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": true,\n ingress_host: \"test.xip.io\",\n },\n catalogName: \"\u003ccatalog_name\u003e\",\n description: \"Foo app\",\n projectId: \"\u003cproject_id\u003e\",\n targetNamespace: \"\u003cnamespace_name\u003e\",\n templateName: \"\u003ctemplate_name\u003e\",\n templateVersion: \"\u003ctemplate_version\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 App\nfoo = rancher2.App(\"foo\",\n answers={\n \"foo\": \"bar\",\n \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": True,\n \"ingress_host\": \"test.xip.io\",\n },\n catalog_name=\"\u003ccatalog_name\u003e\",\n description=\"Foo app\",\n project_id=\"\u003cproject_id\u003e\",\n target_namespace=\"\u003cnamespace_name\u003e\",\n template_name=\"\u003ctemplate_name\u003e\",\n template_version=\"\u003ctemplate_version\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 App\n var foo = new Rancher2.App(\"foo\", new Rancher2.AppArgs\n {\n Answers = \n {\n { \"foo\", \"bar\" },\n { \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\", true },\n { \"ingress_host\", \"test.xip.io\" },\n },\n CatalogName = \"\u003ccatalog_name\u003e\",\n Description = \"Foo app\",\n ProjectId = \"\u003cproject_id\u003e\",\n TargetNamespace = \"\u003cnamespace_name\u003e\",\n TemplateName = \"\u003ctemplate_name\u003e\",\n TemplateVersion = \"\u003ctemplate_version\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewApp(ctx, \"foo\", \u0026rancher2.AppArgs{\n\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\"foo\": pulumi.Any(\"bar\"),\n\t\t\t\t\"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": pulumi.Any(true),\n\t\t\t\t\"ingress_host\": pulumi.Any(\"test.xip.io\"),\n\t\t\t},\n\t\t\tCatalogName: pulumi.String(\"\u003ccatalog_name\u003e\"),\n\t\t\tDescription: pulumi.String(\"Foo app\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tTargetNamespace: pulumi.String(\"\u003cnamespace_name\u003e\"),\n\t\t\tTemplateName: pulumi.String(\"\u003ctemplate_name\u003e\"),\n\t\t\tTemplateVersion: pulumi.String(\"\u003ctemplate_version\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 App in a new namespace\nconst fooNamespace = new rancher2.Namespace(\"fooNamespace\", {\n description: \"Foo namespace\",\n projectId: \"\u003cproject_id\u003e\",\n resourceQuota: {\n limit: {\n limitsCpu: \"100m\",\n limitsMemory: \"100Mi\",\n requestsStorage: \"1Gi\",\n },\n },\n});\nconst fooApp = new rancher2.App(\"fooApp\", {\n catalogName: \"\u003ccatalog_name\u003e\",\n description: \"Foo app\",\n projectId: \"\u003cproject_id\u003e\",\n templateName: \"\u003ctemplate_name\u003e\",\n templateVersion: \"\u003ctemplate_version\u003e\",\n targetNamespace: fooNamespace.id,\n answers: {\n ingress_host: \"test.xip.io\",\n foo: \"bar\",\n \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": true,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 App in a new namespace\nfoo_namespace = rancher2.Namespace(\"fooNamespace\",\n description=\"Foo namespace\",\n project_id=\"\u003cproject_id\u003e\",\n resource_quota=rancher2.NamespaceResourceQuotaArgs(\n limit=rancher2.NamespaceResourceQuotaLimitArgs(\n limits_cpu=\"100m\",\n limits_memory=\"100Mi\",\n requests_storage=\"1Gi\",\n ),\n ))\nfoo_app = rancher2.App(\"fooApp\",\n catalog_name=\"\u003ccatalog_name\u003e\",\n description=\"Foo app\",\n project_id=\"\u003cproject_id\u003e\",\n template_name=\"\u003ctemplate_name\u003e\",\n template_version=\"\u003ctemplate_version\u003e\",\n target_namespace=foo_namespace.id,\n answers={\n \"ingress_host\": \"test.xip.io\",\n \"foo\": \"bar\",\n \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": True,\n })\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 App in a new namespace\n var fooNamespace = new Rancher2.Namespace(\"fooNamespace\", new Rancher2.NamespaceArgs\n {\n Description = \"Foo namespace\",\n ProjectId = \"\u003cproject_id\u003e\",\n ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs\n {\n Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs\n {\n LimitsCpu = \"100m\",\n LimitsMemory = \"100Mi\",\n RequestsStorage = \"1Gi\",\n },\n },\n });\n var fooApp = new Rancher2.App(\"fooApp\", new Rancher2.AppArgs\n {\n CatalogName = \"\u003ccatalog_name\u003e\",\n Description = \"Foo app\",\n ProjectId = \"\u003cproject_id\u003e\",\n TemplateName = \"\u003ctemplate_name\u003e\",\n TemplateVersion = \"\u003ctemplate_version\u003e\",\n TargetNamespace = fooNamespace.Id,\n Answers = \n {\n { \"ingress_host\", \"test.xip.io\" },\n { \"foo\", \"bar\" },\n { \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\", true },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooNamespace, err := rancher2.NewNamespace(ctx, \"fooNamespace\", \u0026rancher2.NamespaceArgs{\n\t\t\tDescription: pulumi.String(\"Foo namespace\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tResourceQuota: \u0026NamespaceResourceQuotaArgs{\n\t\t\t\tLimit: \u0026NamespaceResourceQuotaLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"100m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"100Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewApp(ctx, \"fooApp\", \u0026rancher2.AppArgs{\n\t\t\tCatalogName: pulumi.String(\"\u003ccatalog_name\u003e\"),\n\t\t\tDescription: pulumi.String(\"Foo app\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tTemplateName: pulumi.String(\"\u003ctemplate_name\u003e\"),\n\t\t\tTemplateVersion: pulumi.String(\"\u003ctemplate_version\u003e\"),\n\t\t\tTargetNamespace: fooNamespace.ID(),\n\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\"ingress_host\": pulumi.Any(\"test.xip.io\"),\n\t\t\t\t\"foo\": pulumi.Any(\"bar\"),\n\t\t\t\t\"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": pulumi.Any(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nApps can be imported using the app ID in the format `\u003cproject_id\u003e:\u003capp_name\u003e`\n\n```sh\n $ pulumi import rancher2:index/app:App foo \u0026lt;PROJECT_ID_ID\u0026gt;:\u0026lt;APP_NAME\u0026gt;\n```\n\n ", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 App\nconst foo = new rancher2.App(\"foo\", {\n answers: {\n foo: \"bar\",\n \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": true,\n ingress_host: \"test.xip.io\",\n },\n catalogName: \"\u003ccatalog_name\u003e\",\n description: \"Foo app\",\n projectId: \"\u003cproject_id\u003e\",\n targetNamespace: \"\u003cnamespace_name\u003e\",\n templateName: \"\u003ctemplate_name\u003e\",\n templateVersion: \"\u003ctemplate_version\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 App\nfoo = rancher2.App(\"foo\",\n answers={\n \"foo\": \"bar\",\n \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": True,\n \"ingress_host\": \"test.xip.io\",\n },\n catalog_name=\"\u003ccatalog_name\u003e\",\n description=\"Foo app\",\n project_id=\"\u003cproject_id\u003e\",\n target_namespace=\"\u003cnamespace_name\u003e\",\n template_name=\"\u003ctemplate_name\u003e\",\n template_version=\"\u003ctemplate_version\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 App\n var foo = new Rancher2.App(\"foo\", new()\n {\n Answers = \n {\n { \"foo\", \"bar\" },\n { \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\", true },\n { \"ingress_host\", \"test.xip.io\" },\n },\n CatalogName = \"\u003ccatalog_name\u003e\",\n Description = \"Foo app\",\n ProjectId = \"\u003cproject_id\u003e\",\n TargetNamespace = \"\u003cnamespace_name\u003e\",\n TemplateName = \"\u003ctemplate_name\u003e\",\n TemplateVersion = \"\u003ctemplate_version\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewApp(ctx, \"foo\", \u0026rancher2.AppArgs{\n\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\"foo\": pulumi.Any(\"bar\"),\n\t\t\t\t\"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": pulumi.Any(true),\n\t\t\t\t\"ingress_host\": pulumi.Any(\"test.xip.io\"),\n\t\t\t},\n\t\t\tCatalogName: pulumi.String(\"\u003ccatalog_name\u003e\"),\n\t\t\tDescription: pulumi.String(\"Foo app\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tTargetNamespace: pulumi.String(\"\u003cnamespace_name\u003e\"),\n\t\t\tTemplateName: pulumi.String(\"\u003ctemplate_name\u003e\"),\n\t\t\tTemplateVersion: pulumi.String(\"\u003ctemplate_version\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.App;\nimport com.pulumi.rancher2.AppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new App(\"foo\", AppArgs.builder() \n .answers(Map.ofEntries(\n Map.entry(\"foo\", \"bar\"),\n Map.entry(\"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\", true),\n Map.entry(\"ingress_host\", \"test.xip.io\")\n ))\n .catalogName(\"\u003ccatalog_name\u003e\")\n .description(\"Foo app\")\n .projectId(\"\u003cproject_id\u003e\")\n .targetNamespace(\"\u003cnamespace_name\u003e\")\n .templateName(\"\u003ctemplate_name\u003e\")\n .templateVersion(\"\u003ctemplate_version\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 App\n foo:\n type: rancher2:App\n properties:\n answers:\n foo: bar\n ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect: true\n ingress_host: test.xip.io\n catalogName: \u003ccatalog_name\u003e\n description: Foo app\n projectId: \u003cproject_id\u003e\n targetNamespace: \u003cnamespace_name\u003e\n templateName: \u003ctemplate_name\u003e\n templateVersion: \u003ctemplate_version\u003e\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 App in a new namespace\nconst fooNamespace = new rancher2.Namespace(\"fooNamespace\", {\n description: \"Foo namespace\",\n projectId: \"\u003cproject_id\u003e\",\n resourceQuota: {\n limit: {\n limitsCpu: \"100m\",\n limitsMemory: \"100Mi\",\n requestsStorage: \"1Gi\",\n },\n },\n});\nconst fooApp = new rancher2.App(\"fooApp\", {\n catalogName: \"\u003ccatalog_name\u003e\",\n description: \"Foo app\",\n projectId: \"\u003cproject_id\u003e\",\n templateName: \"\u003ctemplate_name\u003e\",\n templateVersion: \"\u003ctemplate_version\u003e\",\n targetNamespace: fooNamespace.id,\n answers: {\n ingress_host: \"test.xip.io\",\n foo: \"bar\",\n \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": true,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 App in a new namespace\nfoo_namespace = rancher2.Namespace(\"fooNamespace\",\n description=\"Foo namespace\",\n project_id=\"\u003cproject_id\u003e\",\n resource_quota=rancher2.NamespaceResourceQuotaArgs(\n limit=rancher2.NamespaceResourceQuotaLimitArgs(\n limits_cpu=\"100m\",\n limits_memory=\"100Mi\",\n requests_storage=\"1Gi\",\n ),\n ))\nfoo_app = rancher2.App(\"fooApp\",\n catalog_name=\"\u003ccatalog_name\u003e\",\n description=\"Foo app\",\n project_id=\"\u003cproject_id\u003e\",\n template_name=\"\u003ctemplate_name\u003e\",\n template_version=\"\u003ctemplate_version\u003e\",\n target_namespace=foo_namespace.id,\n answers={\n \"ingress_host\": \"test.xip.io\",\n \"foo\": \"bar\",\n \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": True,\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 App in a new namespace\n var fooNamespace = new Rancher2.Namespace(\"fooNamespace\", new()\n {\n Description = \"Foo namespace\",\n ProjectId = \"\u003cproject_id\u003e\",\n ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs\n {\n Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs\n {\n LimitsCpu = \"100m\",\n LimitsMemory = \"100Mi\",\n RequestsStorage = \"1Gi\",\n },\n },\n });\n\n var fooApp = new Rancher2.App(\"fooApp\", new()\n {\n CatalogName = \"\u003ccatalog_name\u003e\",\n Description = \"Foo app\",\n ProjectId = \"\u003cproject_id\u003e\",\n TemplateName = \"\u003ctemplate_name\u003e\",\n TemplateVersion = \"\u003ctemplate_version\u003e\",\n TargetNamespace = fooNamespace.Id,\n Answers = \n {\n { \"ingress_host\", \"test.xip.io\" },\n { \"foo\", \"bar\" },\n { \"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\", true },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooNamespace, err := rancher2.NewNamespace(ctx, \"fooNamespace\", \u0026rancher2.NamespaceArgs{\n\t\t\tDescription: pulumi.String(\"Foo namespace\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tResourceQuota: \u0026NamespaceResourceQuotaArgs{\n\t\t\t\tLimit: \u0026NamespaceResourceQuotaLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"100m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"100Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewApp(ctx, \"fooApp\", \u0026rancher2.AppArgs{\n\t\t\tCatalogName: pulumi.String(\"\u003ccatalog_name\u003e\"),\n\t\t\tDescription: pulumi.String(\"Foo app\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tTemplateName: pulumi.String(\"\u003ctemplate_name\u003e\"),\n\t\t\tTemplateVersion: pulumi.String(\"\u003ctemplate_version\u003e\"),\n\t\t\tTargetNamespace: fooNamespace.ID(),\n\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\"ingress_host\": pulumi.Any(\"test.xip.io\"),\n\t\t\t\t\"foo\": pulumi.Any(\"bar\"),\n\t\t\t\t\"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\": pulumi.Any(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Namespace;\nimport com.pulumi.rancher2.NamespaceArgs;\nimport com.pulumi.rancher2.inputs.NamespaceResourceQuotaArgs;\nimport com.pulumi.rancher2.inputs.NamespaceResourceQuotaLimitArgs;\nimport com.pulumi.rancher2.App;\nimport com.pulumi.rancher2.AppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooNamespace = new Namespace(\"fooNamespace\", NamespaceArgs.builder() \n .description(\"Foo namespace\")\n .projectId(\"\u003cproject_id\u003e\")\n .resourceQuota(NamespaceResourceQuotaArgs.builder()\n .limit(NamespaceResourceQuotaLimitArgs.builder()\n .limitsCpu(\"100m\")\n .limitsMemory(\"100Mi\")\n .requestsStorage(\"1Gi\")\n .build())\n .build())\n .build());\n\n var fooApp = new App(\"fooApp\", AppArgs.builder() \n .catalogName(\"\u003ccatalog_name\u003e\")\n .description(\"Foo app\")\n .projectId(\"\u003cproject_id\u003e\")\n .templateName(\"\u003ctemplate_name\u003e\")\n .templateVersion(\"\u003ctemplate_version\u003e\")\n .targetNamespace(fooNamespace.id())\n .answers(Map.ofEntries(\n Map.entry(\"ingress_host\", \"test.xip.io\"),\n Map.entry(\"foo\", \"bar\"),\n Map.entry(\"ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect\", true)\n ))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 App in a new namespace\n fooNamespace:\n type: rancher2:Namespace\n properties:\n description: Foo namespace\n projectId: \u003cproject_id\u003e\n resourceQuota:\n limit:\n limitsCpu: 100m\n limitsMemory: 100Mi\n requestsStorage: 1Gi\n fooApp:\n type: rancher2:App\n properties:\n catalogName: \u003ccatalog_name\u003e\n description: Foo app\n projectId: \u003cproject_id\u003e\n templateName: \u003ctemplate_name\u003e\n templateVersion: \u003ctemplate_version\u003e\n targetNamespace: ${fooNamespace.id}\n answers:\n ingress_host: test.xip.io\n foo: bar\n ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nApps can be imported using the app ID in the format `\u003cproject_id\u003e:\u003capp_name\u003e`\n\n```sh\n $ pulumi import rancher2:index/app:App foo \u0026lt;PROJECT_ID_ID\u0026gt;:\u0026lt;APP_NAME\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -37026,11 +40208,13 @@ }, "name": { "type": "string", - "description": "The name of the app (string)\n" + "description": "The name of the app (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "The project id where the app will be installed (string)\n" + "description": "The project id where the app will be installed (string)\n", + "willReplaceOnChanges": true }, "revisionId": { "type": "string", @@ -37038,7 +40222,8 @@ }, "targetNamespace": { "type": "string", - "description": "The namespace id where the app will be installed (string)\n" + "description": "The namespace id where the app will be installed (string)\n", + "willReplaceOnChanges": true }, "templateName": { "type": "string", @@ -37105,11 +40290,13 @@ }, "name": { "type": "string", - "description": "The name of the app (string)\n" + "description": "The name of the app (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "The project id where the app will be installed (string)\n" + "description": "The project id where the app will be installed (string)\n", + "willReplaceOnChanges": true }, "revisionId": { "type": "string", @@ -37117,7 +40304,8 @@ }, "targetNamespace": { "type": "string", - "description": "The namespace id where the app will be installed (string)\n" + "description": "The namespace id where the app will be installed (string)\n", + "willReplaceOnChanges": true }, "templateName": { "type": "string", @@ -37140,7 +40328,7 @@ } }, "rancher2:index/appV2:AppV2": { - "description": "Provides a Rancher App v2 resource. This can be used to manage helm charts for Rancher v2 environments and retrieve their information. App v2 resource is available at Rancher v2.5.x and above.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\nimport * from \"fs\";\n\n// Create a new Rancher2 App V2 using\nconst foo = new rancher2.AppV2(\"foo\", {\n clusterId: \"\u003cCLUSTER_ID\u003e\",\n namespace: \"cattle-monitoring-system\",\n repoName: \"rancher-charts\",\n chartName: \"rancher-monitoring\",\n chartVersion: \"9.4.200\",\n values: fs.readFileSync(\"values.yaml\"),\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 App V2 using\nfoo = rancher2.AppV2(\"foo\",\n cluster_id=\"\u003cCLUSTER_ID\u003e\",\n namespace=\"cattle-monitoring-system\",\n repo_name=\"rancher-charts\",\n chart_name=\"rancher-monitoring\",\n chart_version=\"9.4.200\",\n values=(lambda path: open(path).read())(\"values.yaml\"))\n```\n```csharp\nusing System.IO;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new Rancher2 App V2 using\n var foo = new Rancher2.AppV2(\"foo\", new Rancher2.AppV2Args\n {\n ClusterId = \"\u003cCLUSTER_ID\u003e\",\n Namespace = \"cattle-monitoring-system\",\n RepoName = \"rancher-charts\",\n ChartName = \"rancher-monitoring\",\n ChartVersion = \"9.4.200\",\n Values = File.ReadAllText(\"values.yaml\"),\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"io/ioutil\"\n\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := ioutil.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAppV2(ctx, \"foo\", \u0026rancher2.AppV2Args{\n\t\t\tClusterId: pulumi.String(\"\u003cCLUSTER_ID\u003e\"),\n\t\t\tNamespace: pulumi.String(\"cattle-monitoring-system\"),\n\t\t\tRepoName: pulumi.String(\"rancher-charts\"),\n\t\t\tChartName: pulumi.String(\"rancher-monitoring\"),\n\t\t\tChartVersion: pulumi.String(\"9.4.200\"),\n\t\t\tValues: readFileOrPanic(\"values.yaml\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nV2 apps can be imported using the Rancher cluster ID and App V2 name, which is composed of `\u003cnamespace\u003e/\u003capplication_name\u003e`.\n\n```sh\n $ pulumi import rancher2:index/appV2:AppV2 foo \u0026lt;CLUSTER_ID\u0026gt;.\u0026lt;APP_V2_NAME\u0026gt;\n```\n\n ", + "description": "Provides a Rancher App v2 resource. This can be used to manage helm charts for Rancher v2 environments and retrieve their information. App v2 resource is available at Rancher v2.5.x and above.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fs from \"fs\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 App V2 using\nconst foo = new rancher2.AppV2(\"foo\", {\n clusterId: \"\u003cCLUSTER_ID\u003e\",\n namespace: \"cattle-monitoring-system\",\n repoName: \"rancher-charts\",\n chartName: \"rancher-monitoring\",\n chartVersion: \"9.4.200\",\n values: fs.readFileSync(\"values.yaml\"),\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 App V2 using\nfoo = rancher2.AppV2(\"foo\",\n cluster_id=\"\u003cCLUSTER_ID\u003e\",\n namespace=\"cattle-monitoring-system\",\n repo_name=\"rancher-charts\",\n chart_name=\"rancher-monitoring\",\n chart_version=\"9.4.200\",\n values=(lambda path: open(path).read())(\"values.yaml\"))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Rancher2 App V2 using\n var foo = new Rancher2.AppV2(\"foo\", new()\n {\n ClusterId = \"\u003cCLUSTER_ID\u003e\",\n Namespace = \"cattle-monitoring-system\",\n RepoName = \"rancher-charts\",\n ChartName = \"rancher-monitoring\",\n ChartVersion = \"9.4.200\",\n Values = File.ReadAllText(\"values.yaml\"),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"io/ioutil\"\n\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := ioutil.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAppV2(ctx, \"foo\", \u0026rancher2.AppV2Args{\n\t\t\tClusterId: pulumi.String(\"\u003cCLUSTER_ID\u003e\"),\n\t\t\tNamespace: pulumi.String(\"cattle-monitoring-system\"),\n\t\t\tRepoName: pulumi.String(\"rancher-charts\"),\n\t\t\tChartName: pulumi.String(\"rancher-monitoring\"),\n\t\t\tChartVersion: pulumi.String(\"9.4.200\"),\n\t\t\tValues: readFileOrPanic(\"values.yaml\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.AppV2;\nimport com.pulumi.rancher2.AppV2Args;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new AppV2(\"foo\", AppV2Args.builder() \n .clusterId(\"\u003cCLUSTER_ID\u003e\")\n .namespace(\"cattle-monitoring-system\")\n .repoName(\"rancher-charts\")\n .chartName(\"rancher-monitoring\")\n .chartVersion(\"9.4.200\")\n .values(Files.readString(Paths.get(\"values.yaml\")))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 App V2 using\n foo:\n type: rancher2:AppV2\n properties:\n clusterId: \u003cCLUSTER_ID\u003e\n namespace: cattle-monitoring-system\n repoName: rancher-charts\n chartName: rancher-monitoring\n chartVersion: 9.4.200\n values:\n fn::readFile: values.yaml\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nV2 apps can be imported using the Rancher cluster ID and App V2 name, which is composed of `\u003cnamespace\u003e/\u003capplication_name\u003e`.\n\n```sh\n $ pulumi import rancher2:index/appV2:AppV2 foo \u0026lt;CLUSTER_ID\u0026gt;.\u0026lt;APP_V2_NAME\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -37251,7 +40439,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the app (string)\n" + "description": "The cluster id of the app (string)\n", + "willReplaceOnChanges": true }, "disableHooks": { "type": "boolean", @@ -37274,11 +40463,13 @@ }, "name": { "type": "string", - "description": "The name of the app v2 (string)\n" + "description": "The name of the app v2 (string)\n", + "willReplaceOnChanges": true }, "namespace": { "type": "string", - "description": "The namespace of the app v2 (string)\n" + "description": "The namespace of the app v2 (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", @@ -37327,7 +40518,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the app (string)\n" + "description": "The cluster id of the app (string)\n", + "willReplaceOnChanges": true }, "clusterName": { "type": "string", @@ -37354,11 +40546,13 @@ }, "name": { "type": "string", - "description": "The name of the app v2 (string)\n" + "description": "The name of the app v2 (string)\n", + "willReplaceOnChanges": true }, "namespace": { "type": "string", - "description": "The namespace of the app v2 (string)\n" + "description": "The namespace of the app v2 (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", @@ -37407,7 +40601,8 @@ }, "certificate": { "type": "string", - "description": "CA certificate for TLS if selfsigned (string)\n" + "description": "CA certificate for TLS if selfsigned (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -37481,11 +40676,13 @@ }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access ActiveDirectory service (string)\n" + "description": "Service account password for access ActiveDirectory service (string)\n", + "secret": true }, "serviceAccountUsername": { "type": "string", - "description": "Service account DN for access ActiveDirectory service (string)\n" + "description": "Service account DN for access ActiveDirectory service (string)\n", + "secret": true }, "startTls": { "type": "boolean", @@ -37493,7 +40690,8 @@ }, "testPassword": { "type": "string", - "description": "Password for test access to ActiveDirectory service (string)\n" + "description": "Password for test access to ActiveDirectory service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -37590,7 +40788,8 @@ }, "certificate": { "type": "string", - "description": "CA certificate for TLS if selfsigned (string)\n" + "description": "CA certificate for TLS if selfsigned (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -37660,11 +40859,13 @@ }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access ActiveDirectory service (string)\n" + "description": "Service account password for access ActiveDirectory service (string)\n", + "secret": true }, "serviceAccountUsername": { "type": "string", - "description": "Service account DN for access ActiveDirectory service (string)\n" + "description": "Service account DN for access ActiveDirectory service (string)\n", + "secret": true }, "startTls": { "type": "boolean", @@ -37672,7 +40873,8 @@ }, "testPassword": { "type": "string", - "description": "Password for test access to ActiveDirectory service (string)\n" + "description": "Password for test access to ActiveDirectory service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -37746,7 +40948,8 @@ }, "certificate": { "type": "string", - "description": "CA certificate for TLS if selfsigned (string)\n" + "description": "CA certificate for TLS if selfsigned (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -37820,11 +41023,13 @@ }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access ActiveDirectory service (string)\n" + "description": "Service account password for access ActiveDirectory service (string)\n", + "secret": true }, "serviceAccountUsername": { "type": "string", - "description": "Service account DN for access ActiveDirectory service (string)\n" + "description": "Service account DN for access ActiveDirectory service (string)\n", + "secret": true }, "startTls": { "type": "boolean", @@ -37832,7 +41037,8 @@ }, "testPassword": { "type": "string", - "description": "Password for test access to ActiveDirectory service (string)\n" + "description": "Password for test access to ActiveDirectory service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -37888,7 +41094,7 @@ ] }, "rancher2:index/authConfigAdfs:AuthConfigAdfs": { - "description": "Provides a Rancher v2 Auth Config ADFS resource. This can be used to configure and enable Auth Config ADFS for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time. \n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config ADFS\nconst adfs = new rancher2.AuthConfigAdfs(\"adfs\", {\n displayNameField: \"\u003cDISPLAY_NAME_FIELD\u003e\",\n groupsField: \"\u003cGROUPS_FIELD\u003e\",\n idpMetadataContent: \"\u003cIDP_METADATA_CONTENT\u003e\",\n rancherApiHost: \"https://\u003cRANCHER_API_HOST\u003e\",\n spCert: \"\u003cSP_CERT\u003e\",\n spKey: \"\u003cSP_KEY\u003e\",\n uidField: \"\u003cUID_FIELD\u003e\",\n userNameField: \"\u003cUSER_NAME_FIELD\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config ADFS\nadfs = rancher2.AuthConfigAdfs(\"adfs\",\n display_name_field=\"\u003cDISPLAY_NAME_FIELD\u003e\",\n groups_field=\"\u003cGROUPS_FIELD\u003e\",\n idp_metadata_content=\"\u003cIDP_METADATA_CONTENT\u003e\",\n rancher_api_host=\"https://\u003cRANCHER_API_HOST\u003e\",\n sp_cert=\"\u003cSP_CERT\u003e\",\n sp_key=\"\u003cSP_KEY\u003e\",\n uid_field=\"\u003cUID_FIELD\u003e\",\n user_name_field=\"\u003cUSER_NAME_FIELD\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Auth Config ADFS\n var adfs = new Rancher2.AuthConfigAdfs(\"adfs\", new Rancher2.AuthConfigAdfsArgs\n {\n DisplayNameField = \"\u003cDISPLAY_NAME_FIELD\u003e\",\n GroupsField = \"\u003cGROUPS_FIELD\u003e\",\n IdpMetadataContent = \"\u003cIDP_METADATA_CONTENT\u003e\",\n RancherApiHost = \"https://\u003cRANCHER_API_HOST\u003e\",\n SpCert = \"\u003cSP_CERT\u003e\",\n SpKey = \"\u003cSP_KEY\u003e\",\n UidField = \"\u003cUID_FIELD\u003e\",\n UserNameField = \"\u003cUSER_NAME_FIELD\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigAdfs(ctx, \"adfs\", \u0026rancher2.AuthConfigAdfsArgs{\n\t\t\tDisplayNameField: pulumi.String(\"\u003cDISPLAY_NAME_FIELD\u003e\"),\n\t\t\tGroupsField: pulumi.String(\"\u003cGROUPS_FIELD\u003e\"),\n\t\t\tIdpMetadataContent: pulumi.String(\"\u003cIDP_METADATA_CONTENT\u003e\"),\n\t\t\tRancherApiHost: pulumi.String(\"https://\u003cRANCHER_API_HOST\u003e\"),\n\t\t\tSpCert: pulumi.String(\"\u003cSP_CERT\u003e\"),\n\t\t\tSpKey: pulumi.String(\"\u003cSP_KEY\u003e\"),\n\t\t\tUidField: pulumi.String(\"\u003cUID_FIELD\u003e\"),\n\t\t\tUserNameField: pulumi.String(\"\u003cUSER_NAME_FIELD\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a Rancher v2 Auth Config ADFS resource. This can be used to configure and enable Auth Config ADFS for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time. \n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config ADFS\nconst adfs = new rancher2.AuthConfigAdfs(\"adfs\", {\n displayNameField: \"\u003cDISPLAY_NAME_FIELD\u003e\",\n groupsField: \"\u003cGROUPS_FIELD\u003e\",\n idpMetadataContent: \"\u003cIDP_METADATA_CONTENT\u003e\",\n rancherApiHost: \"https://\u003cRANCHER_API_HOST\u003e\",\n spCert: \"\u003cSP_CERT\u003e\",\n spKey: \"\u003cSP_KEY\u003e\",\n uidField: \"\u003cUID_FIELD\u003e\",\n userNameField: \"\u003cUSER_NAME_FIELD\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config ADFS\nadfs = rancher2.AuthConfigAdfs(\"adfs\",\n display_name_field=\"\u003cDISPLAY_NAME_FIELD\u003e\",\n groups_field=\"\u003cGROUPS_FIELD\u003e\",\n idp_metadata_content=\"\u003cIDP_METADATA_CONTENT\u003e\",\n rancher_api_host=\"https://\u003cRANCHER_API_HOST\u003e\",\n sp_cert=\"\u003cSP_CERT\u003e\",\n sp_key=\"\u003cSP_KEY\u003e\",\n uid_field=\"\u003cUID_FIELD\u003e\",\n user_name_field=\"\u003cUSER_NAME_FIELD\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Auth Config ADFS\n var adfs = new Rancher2.AuthConfigAdfs(\"adfs\", new()\n {\n DisplayNameField = \"\u003cDISPLAY_NAME_FIELD\u003e\",\n GroupsField = \"\u003cGROUPS_FIELD\u003e\",\n IdpMetadataContent = \"\u003cIDP_METADATA_CONTENT\u003e\",\n RancherApiHost = \"https://\u003cRANCHER_API_HOST\u003e\",\n SpCert = \"\u003cSP_CERT\u003e\",\n SpKey = \"\u003cSP_KEY\u003e\",\n UidField = \"\u003cUID_FIELD\u003e\",\n UserNameField = \"\u003cUSER_NAME_FIELD\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigAdfs(ctx, \"adfs\", \u0026rancher2.AuthConfigAdfsArgs{\n\t\t\tDisplayNameField: pulumi.String(\"\u003cDISPLAY_NAME_FIELD\u003e\"),\n\t\t\tGroupsField: pulumi.String(\"\u003cGROUPS_FIELD\u003e\"),\n\t\t\tIdpMetadataContent: pulumi.String(\"\u003cIDP_METADATA_CONTENT\u003e\"),\n\t\t\tRancherApiHost: pulumi.String(\"https://\u003cRANCHER_API_HOST\u003e\"),\n\t\t\tSpCert: pulumi.String(\"\u003cSP_CERT\u003e\"),\n\t\t\tSpKey: pulumi.String(\"\u003cSP_KEY\u003e\"),\n\t\t\tUidField: pulumi.String(\"\u003cUID_FIELD\u003e\"),\n\t\t\tUserNameField: pulumi.String(\"\u003cUSER_NAME_FIELD\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.AuthConfigAdfs;\nimport com.pulumi.rancher2.AuthConfigAdfsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var adfs = new AuthConfigAdfs(\"adfs\", AuthConfigAdfsArgs.builder() \n .displayNameField(\"\u003cDISPLAY_NAME_FIELD\u003e\")\n .groupsField(\"\u003cGROUPS_FIELD\u003e\")\n .idpMetadataContent(\"\u003cIDP_METADATA_CONTENT\u003e\")\n .rancherApiHost(\"https://\u003cRANCHER_API_HOST\u003e\")\n .spCert(\"\u003cSP_CERT\u003e\")\n .spKey(\"\u003cSP_KEY\u003e\")\n .uidField(\"\u003cUID_FIELD\u003e\")\n .userNameField(\"\u003cUSER_NAME_FIELD\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Auth Config ADFS\n adfs:\n type: rancher2:AuthConfigAdfs\n properties:\n displayNameField: \u003cDISPLAY_NAME_FIELD\u003e\n groupsField: \u003cGROUPS_FIELD\u003e\n idpMetadataContent: \u003cIDP_METADATA_CONTENT\u003e\n rancherApiHost: https://\u003cRANCHER_API_HOST\u003e\n spCert: \u003cSP_CERT\u003e\n spKey: \u003cSP_KEY\u003e\n uidField: \u003cUID_FIELD\u003e\n userNameField: \u003cUSER_NAME_FIELD\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "accessMode": { "type": "string", @@ -37922,7 +41128,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "ADFS IDP metadata content (string)\n" + "description": "ADFS IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -37941,11 +41148,13 @@ }, "spCert": { "type": "string", - "description": "ADFS SP cert (string)\n" + "description": "ADFS SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "ADFS SP key (string)\n" + "description": "ADFS SP key (string)\n", + "secret": true }, "type": { "type": "string", @@ -38007,7 +41216,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "ADFS IDP metadata content (string)\n" + "description": "ADFS IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -38022,11 +41232,13 @@ }, "spCert": { "type": "string", - "description": "ADFS SP cert (string)\n" + "description": "ADFS SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "ADFS SP key (string)\n" + "description": "ADFS SP key (string)\n", + "secret": true }, "uidField": { "type": "string", @@ -38082,7 +41294,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "ADFS IDP metadata content (string)\n" + "description": "ADFS IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -38101,11 +41314,13 @@ }, "spCert": { "type": "string", - "description": "ADFS SP cert (string)\n" + "description": "ADFS SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "ADFS SP key (string)\n" + "description": "ADFS SP key (string)\n", + "secret": true }, "type": { "type": "string", @@ -38124,7 +41339,7 @@ } }, "rancher2:index/authConfigAzureAd:AuthConfigAzureAd": { - "description": "Provides a Rancher v2 Auth Config AzureAD resource. This can be used to configure and enable Auth Config AzureAD for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config AzureAD\nconst azuread = new rancher2.AuthConfigAzureAd(\"azuread\", {\n applicationId: \"\u003cAZUREAD_APP_ID\u003e\",\n applicationSecret: \"\u003cAZUREAD_APP_SECRET\u003e\",\n authEndpoint: \"\u003cAZUREAD_AUTH_ENDPOINT\u003e\",\n graphEndpoint: \"\u003cAZUREAD_GRAPH_ENDPOINT\u003e\",\n rancherUrl: \"\u003cRANCHER_URL\u003e\",\n tenantId: \"\u003cAZUREAD_TENANT_ID\u003e\",\n tokenEndpoint: \"\u003cAZUREAD_TOKEN_ENDPOINT\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config AzureAD\nazuread = rancher2.AuthConfigAzureAd(\"azuread\",\n application_id=\"\u003cAZUREAD_APP_ID\u003e\",\n application_secret=\"\u003cAZUREAD_APP_SECRET\u003e\",\n auth_endpoint=\"\u003cAZUREAD_AUTH_ENDPOINT\u003e\",\n graph_endpoint=\"\u003cAZUREAD_GRAPH_ENDPOINT\u003e\",\n rancher_url=\"\u003cRANCHER_URL\u003e\",\n tenant_id=\"\u003cAZUREAD_TENANT_ID\u003e\",\n token_endpoint=\"\u003cAZUREAD_TOKEN_ENDPOINT\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Auth Config AzureAD\n var azuread = new Rancher2.AuthConfigAzureAd(\"azuread\", new Rancher2.AuthConfigAzureAdArgs\n {\n ApplicationId = \"\u003cAZUREAD_APP_ID\u003e\",\n ApplicationSecret = \"\u003cAZUREAD_APP_SECRET\u003e\",\n AuthEndpoint = \"\u003cAZUREAD_AUTH_ENDPOINT\u003e\",\n GraphEndpoint = \"\u003cAZUREAD_GRAPH_ENDPOINT\u003e\",\n RancherUrl = \"\u003cRANCHER_URL\u003e\",\n TenantId = \"\u003cAZUREAD_TENANT_ID\u003e\",\n TokenEndpoint = \"\u003cAZUREAD_TOKEN_ENDPOINT\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigAzureAd(ctx, \"azuread\", \u0026rancher2.AuthConfigAzureAdArgs{\n\t\t\tApplicationId: pulumi.String(\"\u003cAZUREAD_APP_ID\u003e\"),\n\t\t\tApplicationSecret: pulumi.String(\"\u003cAZUREAD_APP_SECRET\u003e\"),\n\t\t\tAuthEndpoint: pulumi.String(\"\u003cAZUREAD_AUTH_ENDPOINT\u003e\"),\n\t\t\tGraphEndpoint: pulumi.String(\"\u003cAZUREAD_GRAPH_ENDPOINT\u003e\"),\n\t\t\tRancherUrl: pulumi.String(\"\u003cRANCHER_URL\u003e\"),\n\t\t\tTenantId: pulumi.String(\"\u003cAZUREAD_TENANT_ID\u003e\"),\n\t\t\tTokenEndpoint: pulumi.String(\"\u003cAZUREAD_TOKEN_ENDPOINT\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config AzureAD\nconst azuread = new rancher2.AuthConfigAzureAd(\"azuread\", {\n applicationId: \"\u003cAZUREAD_APP_ID\u003e\",\n applicationSecret: \"\u003cAZUREAD_APP_SECRET\u003e\",\n authEndpoint: \"\u003cAZUREAD_AUTH_ENDPOINT\u003e\",\n graphEndpoint: \"\u003cAZUREAD_GRAPH_ENDPOINT\u003e\",\n rancherUrl: \"\u003cRANCHER_URL\u003e\",\n tenantId: \"\u003cAZUREAD_TENANT_ID\u003e\",\n tokenEndpoint: \"\u003cAZUREAD_TOKEN_ENDPOINT\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config AzureAD\nazuread = rancher2.AuthConfigAzureAd(\"azuread\",\n application_id=\"\u003cAZUREAD_APP_ID\u003e\",\n application_secret=\"\u003cAZUREAD_APP_SECRET\u003e\",\n auth_endpoint=\"\u003cAZUREAD_AUTH_ENDPOINT\u003e\",\n graph_endpoint=\"\u003cAZUREAD_GRAPH_ENDPOINT\u003e\",\n rancher_url=\"\u003cRANCHER_URL\u003e\",\n tenant_id=\"\u003cAZUREAD_TENANT_ID\u003e\",\n token_endpoint=\"\u003cAZUREAD_TOKEN_ENDPOINT\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Auth Config AzureAD\n var azuread = new Rancher2.AuthConfigAzureAd(\"azuread\", new()\n {\n ApplicationId = \"\u003cAZUREAD_APP_ID\u003e\",\n ApplicationSecret = \"\u003cAZUREAD_APP_SECRET\u003e\",\n AuthEndpoint = \"\u003cAZUREAD_AUTH_ENDPOINT\u003e\",\n GraphEndpoint = \"\u003cAZUREAD_GRAPH_ENDPOINT\u003e\",\n RancherUrl = \"\u003cRANCHER_URL\u003e\",\n TenantId = \"\u003cAZUREAD_TENANT_ID\u003e\",\n TokenEndpoint = \"\u003cAZUREAD_TOKEN_ENDPOINT\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigAzureAd(ctx, \"azuread\", \u0026rancher2.AuthConfigAzureAdArgs{\n\t\t\tApplicationId: pulumi.String(\"\u003cAZUREAD_APP_ID\u003e\"),\n\t\t\tApplicationSecret: pulumi.String(\"\u003cAZUREAD_APP_SECRET\u003e\"),\n\t\t\tAuthEndpoint: pulumi.String(\"\u003cAZUREAD_AUTH_ENDPOINT\u003e\"),\n\t\t\tGraphEndpoint: pulumi.String(\"\u003cAZUREAD_GRAPH_ENDPOINT\u003e\"),\n\t\t\tRancherUrl: pulumi.String(\"\u003cRANCHER_URL\u003e\"),\n\t\t\tTenantId: pulumi.String(\"\u003cAZUREAD_TENANT_ID\u003e\"),\n\t\t\tTokenEndpoint: pulumi.String(\"\u003cAZUREAD_TOKEN_ENDPOINT\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.AuthConfigAzureAd;\nimport com.pulumi.rancher2.AuthConfigAzureAdArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var azuread = new AuthConfigAzureAd(\"azuread\", AuthConfigAzureAdArgs.builder() \n .applicationId(\"\u003cAZUREAD_APP_ID\u003e\")\n .applicationSecret(\"\u003cAZUREAD_APP_SECRET\u003e\")\n .authEndpoint(\"\u003cAZUREAD_AUTH_ENDPOINT\u003e\")\n .graphEndpoint(\"\u003cAZUREAD_GRAPH_ENDPOINT\u003e\")\n .rancherUrl(\"\u003cRANCHER_URL\u003e\")\n .tenantId(\"\u003cAZUREAD_TENANT_ID\u003e\")\n .tokenEndpoint(\"\u003cAZUREAD_TOKEN_ENDPOINT\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Auth Config AzureAD\n azuread:\n type: rancher2:AuthConfigAzureAd\n properties:\n applicationId: \u003cAZUREAD_APP_ID\u003e\n applicationSecret: \u003cAZUREAD_APP_SECRET\u003e\n authEndpoint: \u003cAZUREAD_AUTH_ENDPOINT\u003e\n graphEndpoint: \u003cAZUREAD_GRAPH_ENDPOINT\u003e\n rancherUrl: \u003cRANCHER_URL\u003e\n tenantId: \u003cAZUREAD_TENANT_ID\u003e\n tokenEndpoint: \u003cAZUREAD_TOKEN_ENDPOINT\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "accessMode": { "type": "string", @@ -38146,11 +41361,13 @@ }, "applicationId": { "type": "string", - "description": "AzureAD auth application ID (string)\n" + "description": "AzureAD auth application ID (string)\n", + "secret": true }, "applicationSecret": { "type": "string", - "description": "AzureAD auth application secret (string)\n" + "description": "AzureAD auth application secret (string)\n", + "secret": true }, "authEndpoint": { "type": "string", @@ -38230,11 +41447,13 @@ }, "applicationId": { "type": "string", - "description": "AzureAD auth application ID (string)\n" + "description": "AzureAD auth application ID (string)\n", + "secret": true }, "applicationSecret": { "type": "string", - "description": "AzureAD auth application secret (string)\n" + "description": "AzureAD auth application secret (string)\n", + "secret": true }, "authEndpoint": { "type": "string", @@ -38304,11 +41523,13 @@ }, "applicationId": { "type": "string", - "description": "AzureAD auth application ID (string)\n" + "description": "AzureAD auth application ID (string)\n", + "secret": true }, "applicationSecret": { "type": "string", - "description": "AzureAD auth application secret (string)\n" + "description": "AzureAD auth application secret (string)\n", + "secret": true }, "authEndpoint": { "type": "string", @@ -38380,7 +41601,8 @@ }, "certificate": { "type": "string", - "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n" + "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -38446,15 +41668,18 @@ }, "serviceAccountDistinguishedName": { "type": "string", - "description": "Service account DN for access FreeIpa service (string)\n" + "description": "Service account DN for access FreeIpa service (string)\n", + "secret": true }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access FreeIpa service (string)\n" + "description": "Service account password for access FreeIpa service (string)\n", + "secret": true }, "testPassword": { "type": "string", - "description": "Password for test access to FreeIpa service (string)\n" + "description": "Password for test access to FreeIpa service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -38550,7 +41775,8 @@ }, "certificate": { "type": "string", - "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n" + "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -38612,15 +41838,18 @@ }, "serviceAccountDistinguishedName": { "type": "string", - "description": "Service account DN for access FreeIpa service (string)\n" + "description": "Service account DN for access FreeIpa service (string)\n", + "secret": true }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access FreeIpa service (string)\n" + "description": "Service account password for access FreeIpa service (string)\n", + "secret": true }, "testPassword": { "type": "string", - "description": "Password for test access to FreeIpa service (string)\n" + "description": "Password for test access to FreeIpa service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -38694,7 +41923,8 @@ }, "certificate": { "type": "string", - "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n" + "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -38760,15 +41990,18 @@ }, "serviceAccountDistinguishedName": { "type": "string", - "description": "Service account DN for access FreeIpa service (string)\n" + "description": "Service account DN for access FreeIpa service (string)\n", + "secret": true }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access FreeIpa service (string)\n" + "description": "Service account password for access FreeIpa service (string)\n", + "secret": true }, "testPassword": { "type": "string", - "description": "Password for test access to FreeIpa service (string)\n" + "description": "Password for test access to FreeIpa service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -38819,7 +42052,7 @@ } }, "rancher2:index/authConfigGithub:AuthConfigGithub": { - "description": "Provides a Rancher v2 Auth Config Github resource. This can be used to configure and enable Auth Config Github for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time. \n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config Github\nconst github = new rancher2.AuthConfigGithub(\"github\", {\n clientId: \"\u003cGITHUB_CLIENT_ID\u003e\",\n clientSecret: \"\u003cGITHUB_CLIENT_SECRET\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config Github\ngithub = rancher2.AuthConfigGithub(\"github\",\n client_id=\"\u003cGITHUB_CLIENT_ID\u003e\",\n client_secret=\"\u003cGITHUB_CLIENT_SECRET\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Auth Config Github\n var github = new Rancher2.AuthConfigGithub(\"github\", new Rancher2.AuthConfigGithubArgs\n {\n ClientId = \"\u003cGITHUB_CLIENT_ID\u003e\",\n ClientSecret = \"\u003cGITHUB_CLIENT_SECRET\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigGithub(ctx, \"github\", \u0026rancher2.AuthConfigGithubArgs{\n\t\t\tClientId: pulumi.String(\"\u003cGITHUB_CLIENT_ID\u003e\"),\n\t\t\tClientSecret: pulumi.String(\"\u003cGITHUB_CLIENT_SECRET\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a Rancher v2 Auth Config Github resource. This can be used to configure and enable Auth Config Github for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time. \n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config Github\nconst github = new rancher2.AuthConfigGithub(\"github\", {\n clientId: \"\u003cGITHUB_CLIENT_ID\u003e\",\n clientSecret: \"\u003cGITHUB_CLIENT_SECRET\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config Github\ngithub = rancher2.AuthConfigGithub(\"github\",\n client_id=\"\u003cGITHUB_CLIENT_ID\u003e\",\n client_secret=\"\u003cGITHUB_CLIENT_SECRET\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Auth Config Github\n var github = new Rancher2.AuthConfigGithub(\"github\", new()\n {\n ClientId = \"\u003cGITHUB_CLIENT_ID\u003e\",\n ClientSecret = \"\u003cGITHUB_CLIENT_SECRET\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigGithub(ctx, \"github\", \u0026rancher2.AuthConfigGithubArgs{\n\t\t\tClientId: pulumi.String(\"\u003cGITHUB_CLIENT_ID\u003e\"),\n\t\t\tClientSecret: pulumi.String(\"\u003cGITHUB_CLIENT_SECRET\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.AuthConfigGithub;\nimport com.pulumi.rancher2.AuthConfigGithubArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var github = new AuthConfigGithub(\"github\", AuthConfigGithubArgs.builder() \n .clientId(\"\u003cGITHUB_CLIENT_ID\u003e\")\n .clientSecret(\"\u003cGITHUB_CLIENT_SECRET\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Auth Config Github\n github:\n type: rancher2:AuthConfigGithub\n properties:\n clientId: \u003cGITHUB_CLIENT_ID\u003e\n clientSecret: \u003cGITHUB_CLIENT_SECRET\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "accessMode": { "type": "string", @@ -38841,11 +42074,13 @@ }, "clientId": { "type": "string", - "description": "Github auth Client ID (string)\n" + "description": "Github auth Client ID (string)\n", + "secret": true }, "clientSecret": { "type": "string", - "description": "Github auth Client secret (string)\n" + "description": "Github auth Client secret (string)\n", + "secret": true }, "enabled": { "type": "boolean", @@ -38904,11 +42139,13 @@ }, "clientId": { "type": "string", - "description": "Github auth Client ID (string)\n" + "description": "Github auth Client ID (string)\n", + "secret": true }, "clientSecret": { "type": "string", - "description": "Github auth Client secret (string)\n" + "description": "Github auth Client secret (string)\n", + "secret": true }, "enabled": { "type": "boolean", @@ -38957,11 +42194,13 @@ }, "clientId": { "type": "string", - "description": "Github auth Client ID (string)\n" + "description": "Github auth Client ID (string)\n", + "secret": true }, "clientSecret": { "type": "string", - "description": "Github auth Client secret (string)\n" + "description": "Github auth Client secret (string)\n", + "secret": true }, "enabled": { "type": "boolean", @@ -38995,7 +42234,7 @@ } }, "rancher2:index/authConfigKeycloak:AuthConfigKeycloak": { - "description": "Provides a Rancher v2 Auth Config KeyCloak resource. This can be used to configure and enable Auth Config KeyCloak for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config KeyCloak\nconst keycloak = new rancher2.AuthConfigKeycloak(\"keycloak\", {\n displayNameField: \"\u003cDISPLAY_NAME_FIELD\u003e\",\n groupsField: \"\u003cGROUPS_FIELD\u003e\",\n idpMetadataContent: \"\u003cIDP_METADATA_CONTENT\u003e\",\n rancherApiHost: \"https://\u003cRANCHER_API_HOST\u003e\",\n spCert: \"\u003cSP_CERT\u003e\",\n spKey: \"\u003cSP_KEY\u003e\",\n uidField: \"\u003cUID_FIELD\u003e\",\n userNameField: \"\u003cUSER_NAME_FIELD\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config KeyCloak\nkeycloak = rancher2.AuthConfigKeycloak(\"keycloak\",\n display_name_field=\"\u003cDISPLAY_NAME_FIELD\u003e\",\n groups_field=\"\u003cGROUPS_FIELD\u003e\",\n idp_metadata_content=\"\u003cIDP_METADATA_CONTENT\u003e\",\n rancher_api_host=\"https://\u003cRANCHER_API_HOST\u003e\",\n sp_cert=\"\u003cSP_CERT\u003e\",\n sp_key=\"\u003cSP_KEY\u003e\",\n uid_field=\"\u003cUID_FIELD\u003e\",\n user_name_field=\"\u003cUSER_NAME_FIELD\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Auth Config KeyCloak\n var keycloak = new Rancher2.AuthConfigKeycloak(\"keycloak\", new Rancher2.AuthConfigKeycloakArgs\n {\n DisplayNameField = \"\u003cDISPLAY_NAME_FIELD\u003e\",\n GroupsField = \"\u003cGROUPS_FIELD\u003e\",\n IdpMetadataContent = \"\u003cIDP_METADATA_CONTENT\u003e\",\n RancherApiHost = \"https://\u003cRANCHER_API_HOST\u003e\",\n SpCert = \"\u003cSP_CERT\u003e\",\n SpKey = \"\u003cSP_KEY\u003e\",\n UidField = \"\u003cUID_FIELD\u003e\",\n UserNameField = \"\u003cUSER_NAME_FIELD\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigKeycloak(ctx, \"keycloak\", \u0026rancher2.AuthConfigKeycloakArgs{\n\t\t\tDisplayNameField: pulumi.String(\"\u003cDISPLAY_NAME_FIELD\u003e\"),\n\t\t\tGroupsField: pulumi.String(\"\u003cGROUPS_FIELD\u003e\"),\n\t\t\tIdpMetadataContent: pulumi.String(\"\u003cIDP_METADATA_CONTENT\u003e\"),\n\t\t\tRancherApiHost: pulumi.String(\"https://\u003cRANCHER_API_HOST\u003e\"),\n\t\t\tSpCert: pulumi.String(\"\u003cSP_CERT\u003e\"),\n\t\t\tSpKey: pulumi.String(\"\u003cSP_KEY\u003e\"),\n\t\t\tUidField: pulumi.String(\"\u003cUID_FIELD\u003e\"),\n\t\t\tUserNameField: pulumi.String(\"\u003cUSER_NAME_FIELD\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a Rancher v2 Auth Config KeyCloak resource. This can be used to configure and enable Auth Config KeyCloak for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config KeyCloak\nconst keycloak = new rancher2.AuthConfigKeycloak(\"keycloak\", {\n displayNameField: \"\u003cDISPLAY_NAME_FIELD\u003e\",\n groupsField: \"\u003cGROUPS_FIELD\u003e\",\n idpMetadataContent: \"\u003cIDP_METADATA_CONTENT\u003e\",\n rancherApiHost: \"https://\u003cRANCHER_API_HOST\u003e\",\n spCert: \"\u003cSP_CERT\u003e\",\n spKey: \"\u003cSP_KEY\u003e\",\n uidField: \"\u003cUID_FIELD\u003e\",\n userNameField: \"\u003cUSER_NAME_FIELD\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config KeyCloak\nkeycloak = rancher2.AuthConfigKeycloak(\"keycloak\",\n display_name_field=\"\u003cDISPLAY_NAME_FIELD\u003e\",\n groups_field=\"\u003cGROUPS_FIELD\u003e\",\n idp_metadata_content=\"\u003cIDP_METADATA_CONTENT\u003e\",\n rancher_api_host=\"https://\u003cRANCHER_API_HOST\u003e\",\n sp_cert=\"\u003cSP_CERT\u003e\",\n sp_key=\"\u003cSP_KEY\u003e\",\n uid_field=\"\u003cUID_FIELD\u003e\",\n user_name_field=\"\u003cUSER_NAME_FIELD\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Auth Config KeyCloak\n var keycloak = new Rancher2.AuthConfigKeycloak(\"keycloak\", new()\n {\n DisplayNameField = \"\u003cDISPLAY_NAME_FIELD\u003e\",\n GroupsField = \"\u003cGROUPS_FIELD\u003e\",\n IdpMetadataContent = \"\u003cIDP_METADATA_CONTENT\u003e\",\n RancherApiHost = \"https://\u003cRANCHER_API_HOST\u003e\",\n SpCert = \"\u003cSP_CERT\u003e\",\n SpKey = \"\u003cSP_KEY\u003e\",\n UidField = \"\u003cUID_FIELD\u003e\",\n UserNameField = \"\u003cUSER_NAME_FIELD\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigKeycloak(ctx, \"keycloak\", \u0026rancher2.AuthConfigKeycloakArgs{\n\t\t\tDisplayNameField: pulumi.String(\"\u003cDISPLAY_NAME_FIELD\u003e\"),\n\t\t\tGroupsField: pulumi.String(\"\u003cGROUPS_FIELD\u003e\"),\n\t\t\tIdpMetadataContent: pulumi.String(\"\u003cIDP_METADATA_CONTENT\u003e\"),\n\t\t\tRancherApiHost: pulumi.String(\"https://\u003cRANCHER_API_HOST\u003e\"),\n\t\t\tSpCert: pulumi.String(\"\u003cSP_CERT\u003e\"),\n\t\t\tSpKey: pulumi.String(\"\u003cSP_KEY\u003e\"),\n\t\t\tUidField: pulumi.String(\"\u003cUID_FIELD\u003e\"),\n\t\t\tUserNameField: pulumi.String(\"\u003cUSER_NAME_FIELD\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.AuthConfigKeycloak;\nimport com.pulumi.rancher2.AuthConfigKeycloakArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var keycloak = new AuthConfigKeycloak(\"keycloak\", AuthConfigKeycloakArgs.builder() \n .displayNameField(\"\u003cDISPLAY_NAME_FIELD\u003e\")\n .groupsField(\"\u003cGROUPS_FIELD\u003e\")\n .idpMetadataContent(\"\u003cIDP_METADATA_CONTENT\u003e\")\n .rancherApiHost(\"https://\u003cRANCHER_API_HOST\u003e\")\n .spCert(\"\u003cSP_CERT\u003e\")\n .spKey(\"\u003cSP_KEY\u003e\")\n .uidField(\"\u003cUID_FIELD\u003e\")\n .userNameField(\"\u003cUSER_NAME_FIELD\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Auth Config KeyCloak\n keycloak:\n type: rancher2:AuthConfigKeycloak\n properties:\n displayNameField: \u003cDISPLAY_NAME_FIELD\u003e\n groupsField: \u003cGROUPS_FIELD\u003e\n idpMetadataContent: \u003cIDP_METADATA_CONTENT\u003e\n rancherApiHost: https://\u003cRANCHER_API_HOST\u003e\n spCert: \u003cSP_CERT\u003e\n spKey: \u003cSP_KEY\u003e\n uidField: \u003cUID_FIELD\u003e\n userNameField: \u003cUSER_NAME_FIELD\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "accessMode": { "type": "string", @@ -39033,7 +42272,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "KeyCloak IDP metadata content (string)\n" + "description": "KeyCloak IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -39052,11 +42292,13 @@ }, "spCert": { "type": "string", - "description": "KeyCloak SP cert (string)\n" + "description": "KeyCloak SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "KeyCloak SP key (string)\n" + "description": "KeyCloak SP key (string)\n", + "secret": true }, "type": { "type": "string", @@ -39123,7 +42365,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "KeyCloak IDP metadata content (string)\n" + "description": "KeyCloak IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -39138,11 +42381,13 @@ }, "spCert": { "type": "string", - "description": "KeyCloak SP cert (string)\n" + "description": "KeyCloak SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "KeyCloak SP key (string)\n" + "description": "KeyCloak SP key (string)\n", + "secret": true }, "uidField": { "type": "string", @@ -39202,7 +42447,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "KeyCloak IDP metadata content (string)\n" + "description": "KeyCloak IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -39221,11 +42467,13 @@ }, "spCert": { "type": "string", - "description": "KeyCloak SP cert (string)\n" + "description": "KeyCloak SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "KeyCloak SP key (string)\n" + "description": "KeyCloak SP key (string)\n", + "secret": true }, "type": { "type": "string", @@ -39244,7 +42492,7 @@ } }, "rancher2:index/authConfigOkta:AuthConfigOkta": { - "description": "Provides a Rancher v2 Auth Config OKTA resource. This can be used to configure and enable Auth Config OKTA for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config OKTA\nconst okta = new rancher2.AuthConfigOkta(\"okta\", {\n displayNameField: \"\u003cDISPLAY_NAME_FIELD\u003e\",\n groupsField: \"\u003cGROUPS_FIELD\u003e\",\n idpMetadataContent: \"\u003cIDP_METADATA_CONTENT\u003e\",\n rancherApiHost: \"https://\u003cRANCHER_API_HOST\u003e\",\n spCert: \"\u003cSP_CERT\u003e\",\n spKey: \"\u003cSP_KEY\u003e\",\n uidField: \"\u003cUID_FIELD\u003e\",\n userNameField: \"\u003cUSER_NAME_FIELD\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config OKTA\nokta = rancher2.AuthConfigOkta(\"okta\",\n display_name_field=\"\u003cDISPLAY_NAME_FIELD\u003e\",\n groups_field=\"\u003cGROUPS_FIELD\u003e\",\n idp_metadata_content=\"\u003cIDP_METADATA_CONTENT\u003e\",\n rancher_api_host=\"https://\u003cRANCHER_API_HOST\u003e\",\n sp_cert=\"\u003cSP_CERT\u003e\",\n sp_key=\"\u003cSP_KEY\u003e\",\n uid_field=\"\u003cUID_FIELD\u003e\",\n user_name_field=\"\u003cUSER_NAME_FIELD\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Auth Config OKTA\n var okta = new Rancher2.AuthConfigOkta(\"okta\", new Rancher2.AuthConfigOktaArgs\n {\n DisplayNameField = \"\u003cDISPLAY_NAME_FIELD\u003e\",\n GroupsField = \"\u003cGROUPS_FIELD\u003e\",\n IdpMetadataContent = \"\u003cIDP_METADATA_CONTENT\u003e\",\n RancherApiHost = \"https://\u003cRANCHER_API_HOST\u003e\",\n SpCert = \"\u003cSP_CERT\u003e\",\n SpKey = \"\u003cSP_KEY\u003e\",\n UidField = \"\u003cUID_FIELD\u003e\",\n UserNameField = \"\u003cUSER_NAME_FIELD\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigOkta(ctx, \"okta\", \u0026rancher2.AuthConfigOktaArgs{\n\t\t\tDisplayNameField: pulumi.String(\"\u003cDISPLAY_NAME_FIELD\u003e\"),\n\t\t\tGroupsField: pulumi.String(\"\u003cGROUPS_FIELD\u003e\"),\n\t\t\tIdpMetadataContent: pulumi.String(\"\u003cIDP_METADATA_CONTENT\u003e\"),\n\t\t\tRancherApiHost: pulumi.String(\"https://\u003cRANCHER_API_HOST\u003e\"),\n\t\t\tSpCert: pulumi.String(\"\u003cSP_CERT\u003e\"),\n\t\t\tSpKey: pulumi.String(\"\u003cSP_KEY\u003e\"),\n\t\t\tUidField: pulumi.String(\"\u003cUID_FIELD\u003e\"),\n\t\t\tUserNameField: pulumi.String(\"\u003cUSER_NAME_FIELD\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a Rancher v2 Auth Config OKTA resource. This can be used to configure and enable Auth Config OKTA for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config OKTA\nconst okta = new rancher2.AuthConfigOkta(\"okta\", {\n displayNameField: \"\u003cDISPLAY_NAME_FIELD\u003e\",\n groupsField: \"\u003cGROUPS_FIELD\u003e\",\n idpMetadataContent: \"\u003cIDP_METADATA_CONTENT\u003e\",\n rancherApiHost: \"https://\u003cRANCHER_API_HOST\u003e\",\n spCert: \"\u003cSP_CERT\u003e\",\n spKey: \"\u003cSP_KEY\u003e\",\n uidField: \"\u003cUID_FIELD\u003e\",\n userNameField: \"\u003cUSER_NAME_FIELD\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config OKTA\nokta = rancher2.AuthConfigOkta(\"okta\",\n display_name_field=\"\u003cDISPLAY_NAME_FIELD\u003e\",\n groups_field=\"\u003cGROUPS_FIELD\u003e\",\n idp_metadata_content=\"\u003cIDP_METADATA_CONTENT\u003e\",\n rancher_api_host=\"https://\u003cRANCHER_API_HOST\u003e\",\n sp_cert=\"\u003cSP_CERT\u003e\",\n sp_key=\"\u003cSP_KEY\u003e\",\n uid_field=\"\u003cUID_FIELD\u003e\",\n user_name_field=\"\u003cUSER_NAME_FIELD\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Auth Config OKTA\n var okta = new Rancher2.AuthConfigOkta(\"okta\", new()\n {\n DisplayNameField = \"\u003cDISPLAY_NAME_FIELD\u003e\",\n GroupsField = \"\u003cGROUPS_FIELD\u003e\",\n IdpMetadataContent = \"\u003cIDP_METADATA_CONTENT\u003e\",\n RancherApiHost = \"https://\u003cRANCHER_API_HOST\u003e\",\n SpCert = \"\u003cSP_CERT\u003e\",\n SpKey = \"\u003cSP_KEY\u003e\",\n UidField = \"\u003cUID_FIELD\u003e\",\n UserNameField = \"\u003cUSER_NAME_FIELD\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigOkta(ctx, \"okta\", \u0026rancher2.AuthConfigOktaArgs{\n\t\t\tDisplayNameField: pulumi.String(\"\u003cDISPLAY_NAME_FIELD\u003e\"),\n\t\t\tGroupsField: pulumi.String(\"\u003cGROUPS_FIELD\u003e\"),\n\t\t\tIdpMetadataContent: pulumi.String(\"\u003cIDP_METADATA_CONTENT\u003e\"),\n\t\t\tRancherApiHost: pulumi.String(\"https://\u003cRANCHER_API_HOST\u003e\"),\n\t\t\tSpCert: pulumi.String(\"\u003cSP_CERT\u003e\"),\n\t\t\tSpKey: pulumi.String(\"\u003cSP_KEY\u003e\"),\n\t\t\tUidField: pulumi.String(\"\u003cUID_FIELD\u003e\"),\n\t\t\tUserNameField: pulumi.String(\"\u003cUSER_NAME_FIELD\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.AuthConfigOkta;\nimport com.pulumi.rancher2.AuthConfigOktaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var okta = new AuthConfigOkta(\"okta\", AuthConfigOktaArgs.builder() \n .displayNameField(\"\u003cDISPLAY_NAME_FIELD\u003e\")\n .groupsField(\"\u003cGROUPS_FIELD\u003e\")\n .idpMetadataContent(\"\u003cIDP_METADATA_CONTENT\u003e\")\n .rancherApiHost(\"https://\u003cRANCHER_API_HOST\u003e\")\n .spCert(\"\u003cSP_CERT\u003e\")\n .spKey(\"\u003cSP_KEY\u003e\")\n .uidField(\"\u003cUID_FIELD\u003e\")\n .userNameField(\"\u003cUSER_NAME_FIELD\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Auth Config OKTA\n okta:\n type: rancher2:AuthConfigOkta\n properties:\n displayNameField: \u003cDISPLAY_NAME_FIELD\u003e\n groupsField: \u003cGROUPS_FIELD\u003e\n idpMetadataContent: \u003cIDP_METADATA_CONTENT\u003e\n rancherApiHost: https://\u003cRANCHER_API_HOST\u003e\n spCert: \u003cSP_CERT\u003e\n spKey: \u003cSP_KEY\u003e\n uidField: \u003cUID_FIELD\u003e\n userNameField: \u003cUSER_NAME_FIELD\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "accessMode": { "type": "string", @@ -39278,7 +42526,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "OKTA IDP metadata content (string)\n" + "description": "OKTA IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -39297,11 +42546,13 @@ }, "spCert": { "type": "string", - "description": "OKTA SP cert (string)\n" + "description": "OKTA SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "OKTA SP key (string)\n" + "description": "OKTA SP key (string)\n", + "secret": true }, "type": { "type": "string", @@ -39363,7 +42614,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "OKTA IDP metadata content (string)\n" + "description": "OKTA IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -39378,11 +42630,13 @@ }, "spCert": { "type": "string", - "description": "OKTA SP cert (string)\n" + "description": "OKTA SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "OKTA SP key (string)\n" + "description": "OKTA SP key (string)\n", + "secret": true }, "uidField": { "type": "string", @@ -39438,7 +42692,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "OKTA IDP metadata content (string)\n" + "description": "OKTA IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -39457,11 +42712,13 @@ }, "spCert": { "type": "string", - "description": "OKTA SP cert (string)\n" + "description": "OKTA SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "OKTA SP key (string)\n" + "description": "OKTA SP key (string)\n", + "secret": true }, "type": { "type": "string", @@ -39502,7 +42759,8 @@ }, "certificate": { "type": "string", - "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n" + "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -39568,15 +42826,18 @@ }, "serviceAccountDistinguishedName": { "type": "string", - "description": "Service account DN for access OpenLdap service (string)\n" + "description": "Service account DN for access OpenLdap service (string)\n", + "secret": true }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access OpenLdap service (string)\n" + "description": "Service account password for access OpenLdap service (string)\n", + "secret": true }, "testPassword": { "type": "string", - "description": "Password for test access to OpenLdap service (string)\n" + "description": "Password for test access to OpenLdap service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -39672,7 +42933,8 @@ }, "certificate": { "type": "string", - "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n" + "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -39734,15 +42996,18 @@ }, "serviceAccountDistinguishedName": { "type": "string", - "description": "Service account DN for access OpenLdap service (string)\n" + "description": "Service account DN for access OpenLdap service (string)\n", + "secret": true }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access OpenLdap service (string)\n" + "description": "Service account password for access OpenLdap service (string)\n", + "secret": true }, "testPassword": { "type": "string", - "description": "Password for test access to OpenLdap service (string)\n" + "description": "Password for test access to OpenLdap service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -39816,7 +43081,8 @@ }, "certificate": { "type": "string", - "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n" + "description": "Base64 encoded CA certificate for TLS if self-signed. Use filebase64(\u003cFILE\u003e) for encoding file (string)\n", + "secret": true }, "connectionTimeout": { "type": "integer", @@ -39882,15 +43148,18 @@ }, "serviceAccountDistinguishedName": { "type": "string", - "description": "Service account DN for access OpenLdap service (string)\n" + "description": "Service account DN for access OpenLdap service (string)\n", + "secret": true }, "serviceAccountPassword": { "type": "string", - "description": "Service account password for access OpenLdap service (string)\n" + "description": "Service account password for access OpenLdap service (string)\n", + "secret": true }, "testPassword": { "type": "string", - "description": "Password for test access to OpenLdap service (string)\n" + "description": "Password for test access to OpenLdap service (string)\n", + "secret": true }, "testUsername": { "type": "string", @@ -39941,7 +43210,7 @@ } }, "rancher2:index/authConfigPing:AuthConfigPing": { - "description": "Provides a Rancher v2 Auth Config Ping resource. This can be used to configure and enable Auth Config Ping for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config Ping\nconst ping = new rancher2.AuthConfigPing(\"ping\", {\n displayNameField: \"\u003cDISPLAY_NAME_FIELD\u003e\",\n groupsField: \"\u003cGROUPS_FIELD\u003e\",\n idpMetadataContent: \"\u003cIDP_METADATA_CONTENT\u003e\",\n rancherApiHost: \"https://\u003cRANCHER_API_HOST\u003e\",\n spCert: \"\u003cSP_CERT\u003e\",\n spKey: \"\u003cSP_KEY\u003e\",\n uidField: \"\u003cUID_FIELD\u003e\",\n userNameField: \"\u003cUSER_NAME_FIELD\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config Ping\nping = rancher2.AuthConfigPing(\"ping\",\n display_name_field=\"\u003cDISPLAY_NAME_FIELD\u003e\",\n groups_field=\"\u003cGROUPS_FIELD\u003e\",\n idp_metadata_content=\"\u003cIDP_METADATA_CONTENT\u003e\",\n rancher_api_host=\"https://\u003cRANCHER_API_HOST\u003e\",\n sp_cert=\"\u003cSP_CERT\u003e\",\n sp_key=\"\u003cSP_KEY\u003e\",\n uid_field=\"\u003cUID_FIELD\u003e\",\n user_name_field=\"\u003cUSER_NAME_FIELD\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Auth Config Ping\n var ping = new Rancher2.AuthConfigPing(\"ping\", new Rancher2.AuthConfigPingArgs\n {\n DisplayNameField = \"\u003cDISPLAY_NAME_FIELD\u003e\",\n GroupsField = \"\u003cGROUPS_FIELD\u003e\",\n IdpMetadataContent = \"\u003cIDP_METADATA_CONTENT\u003e\",\n RancherApiHost = \"https://\u003cRANCHER_API_HOST\u003e\",\n SpCert = \"\u003cSP_CERT\u003e\",\n SpKey = \"\u003cSP_KEY\u003e\",\n UidField = \"\u003cUID_FIELD\u003e\",\n UserNameField = \"\u003cUSER_NAME_FIELD\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigPing(ctx, \"ping\", \u0026rancher2.AuthConfigPingArgs{\n\t\t\tDisplayNameField: pulumi.String(\"\u003cDISPLAY_NAME_FIELD\u003e\"),\n\t\t\tGroupsField: pulumi.String(\"\u003cGROUPS_FIELD\u003e\"),\n\t\t\tIdpMetadataContent: pulumi.String(\"\u003cIDP_METADATA_CONTENT\u003e\"),\n\t\t\tRancherApiHost: pulumi.String(\"https://\u003cRANCHER_API_HOST\u003e\"),\n\t\t\tSpCert: pulumi.String(\"\u003cSP_CERT\u003e\"),\n\t\t\tSpKey: pulumi.String(\"\u003cSP_KEY\u003e\"),\n\t\t\tUidField: pulumi.String(\"\u003cUID_FIELD\u003e\"),\n\t\t\tUserNameField: pulumi.String(\"\u003cUSER_NAME_FIELD\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a Rancher v2 Auth Config Ping resource. This can be used to configure and enable Auth Config Ping for Rancher v2 RKE clusters and retrieve their information.\n\nIn addition to the built-in local auth, only one external auth config provider can be enabled at a time.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Auth Config Ping\nconst ping = new rancher2.AuthConfigPing(\"ping\", {\n displayNameField: \"\u003cDISPLAY_NAME_FIELD\u003e\",\n groupsField: \"\u003cGROUPS_FIELD\u003e\",\n idpMetadataContent: \"\u003cIDP_METADATA_CONTENT\u003e\",\n rancherApiHost: \"https://\u003cRANCHER_API_HOST\u003e\",\n spCert: \"\u003cSP_CERT\u003e\",\n spKey: \"\u003cSP_KEY\u003e\",\n uidField: \"\u003cUID_FIELD\u003e\",\n userNameField: \"\u003cUSER_NAME_FIELD\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Auth Config Ping\nping = rancher2.AuthConfigPing(\"ping\",\n display_name_field=\"\u003cDISPLAY_NAME_FIELD\u003e\",\n groups_field=\"\u003cGROUPS_FIELD\u003e\",\n idp_metadata_content=\"\u003cIDP_METADATA_CONTENT\u003e\",\n rancher_api_host=\"https://\u003cRANCHER_API_HOST\u003e\",\n sp_cert=\"\u003cSP_CERT\u003e\",\n sp_key=\"\u003cSP_KEY\u003e\",\n uid_field=\"\u003cUID_FIELD\u003e\",\n user_name_field=\"\u003cUSER_NAME_FIELD\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Auth Config Ping\n var ping = new Rancher2.AuthConfigPing(\"ping\", new()\n {\n DisplayNameField = \"\u003cDISPLAY_NAME_FIELD\u003e\",\n GroupsField = \"\u003cGROUPS_FIELD\u003e\",\n IdpMetadataContent = \"\u003cIDP_METADATA_CONTENT\u003e\",\n RancherApiHost = \"https://\u003cRANCHER_API_HOST\u003e\",\n SpCert = \"\u003cSP_CERT\u003e\",\n SpKey = \"\u003cSP_KEY\u003e\",\n UidField = \"\u003cUID_FIELD\u003e\",\n UserNameField = \"\u003cUSER_NAME_FIELD\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewAuthConfigPing(ctx, \"ping\", \u0026rancher2.AuthConfigPingArgs{\n\t\t\tDisplayNameField: pulumi.String(\"\u003cDISPLAY_NAME_FIELD\u003e\"),\n\t\t\tGroupsField: pulumi.String(\"\u003cGROUPS_FIELD\u003e\"),\n\t\t\tIdpMetadataContent: pulumi.String(\"\u003cIDP_METADATA_CONTENT\u003e\"),\n\t\t\tRancherApiHost: pulumi.String(\"https://\u003cRANCHER_API_HOST\u003e\"),\n\t\t\tSpCert: pulumi.String(\"\u003cSP_CERT\u003e\"),\n\t\t\tSpKey: pulumi.String(\"\u003cSP_KEY\u003e\"),\n\t\t\tUidField: pulumi.String(\"\u003cUID_FIELD\u003e\"),\n\t\t\tUserNameField: pulumi.String(\"\u003cUSER_NAME_FIELD\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.AuthConfigPing;\nimport com.pulumi.rancher2.AuthConfigPingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var ping = new AuthConfigPing(\"ping\", AuthConfigPingArgs.builder() \n .displayNameField(\"\u003cDISPLAY_NAME_FIELD\u003e\")\n .groupsField(\"\u003cGROUPS_FIELD\u003e\")\n .idpMetadataContent(\"\u003cIDP_METADATA_CONTENT\u003e\")\n .rancherApiHost(\"https://\u003cRANCHER_API_HOST\u003e\")\n .spCert(\"\u003cSP_CERT\u003e\")\n .spKey(\"\u003cSP_KEY\u003e\")\n .uidField(\"\u003cUID_FIELD\u003e\")\n .userNameField(\"\u003cUSER_NAME_FIELD\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Auth Config Ping\n ping:\n type: rancher2:AuthConfigPing\n properties:\n displayNameField: \u003cDISPLAY_NAME_FIELD\u003e\n groupsField: \u003cGROUPS_FIELD\u003e\n idpMetadataContent: \u003cIDP_METADATA_CONTENT\u003e\n rancherApiHost: https://\u003cRANCHER_API_HOST\u003e\n spCert: \u003cSP_CERT\u003e\n spKey: \u003cSP_KEY\u003e\n uidField: \u003cUID_FIELD\u003e\n userNameField: \u003cUSER_NAME_FIELD\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "accessMode": { "type": "string", @@ -39975,7 +43244,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "Ping IDP metadata content (string)\n" + "description": "Ping IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -39994,11 +43264,13 @@ }, "spCert": { "type": "string", - "description": "Ping SP cert (string)\n" + "description": "Ping SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "Ping SP key (string)\n" + "description": "Ping SP key (string)\n", + "secret": true }, "type": { "type": "string", @@ -40060,7 +43332,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "Ping IDP metadata content (string)\n" + "description": "Ping IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -40075,11 +43348,13 @@ }, "spCert": { "type": "string", - "description": "Ping SP cert (string)\n" + "description": "Ping SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "Ping SP key (string)\n" + "description": "Ping SP key (string)\n", + "secret": true }, "uidField": { "type": "string", @@ -40135,7 +43410,8 @@ }, "idpMetadataContent": { "type": "string", - "description": "Ping IDP metadata content (string)\n" + "description": "Ping IDP metadata content (string)\n", + "secret": true }, "labels": { "type": "object", @@ -40154,11 +43430,13 @@ }, "spCert": { "type": "string", - "description": "Ping SP cert (string)\n" + "description": "Ping SP cert (string)\n", + "secret": true }, "spKey": { "type": "string", - "description": "Ping SP key (string)\n" + "description": "Ping SP key (string)\n", + "secret": true }, "type": { "type": "string", @@ -40177,19 +43455,22 @@ } }, "rancher2:index/bootstrap:Bootstrap": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2_bootstrap\nconst admin = new rancher2.Bootstrap(\"admin\", {\n password: \"blahblah\",\n telemetry: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2_bootstrap\nadmin = rancher2.Bootstrap(\"admin\",\n password=\"blahblah\",\n telemetry=True)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2_bootstrap\n var admin = new Rancher2.Bootstrap(\"admin\", new Rancher2.BootstrapArgs\n {\n Password = \"blahblah\",\n Telemetry = true,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewBootstrap(ctx, \"admin\", \u0026rancher2.BootstrapArgs{\n\t\t\tPassword: pulumi.String(\"blahblah\"),\n\t\t\tTelemetry: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2_bootstrap for Rancher v2.6.0 and above\nconst admin = new rancher2.Bootstrap(\"admin\", {\n initialPassword: \"\u003cINSTALL_PASSWORD\u003e\",\n password: \"blahblah\",\n telemetry: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2_bootstrap for Rancher v2.6.0 and above\nadmin = rancher2.Bootstrap(\"admin\",\n initial_password=\"\u003cINSTALL_PASSWORD\u003e\",\n password=\"blahblah\",\n telemetry=True)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2_bootstrap for Rancher v2.6.0 and above\n var admin = new Rancher2.Bootstrap(\"admin\", new Rancher2.BootstrapArgs\n {\n InitialPassword = \"\u003cINSTALL_PASSWORD\u003e\",\n Password = \"blahblah\",\n Telemetry = true,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewBootstrap(ctx, \"admin\", \u0026rancher2.BootstrapArgs{\n\t\t\tInitialPassword: pulumi.String(\"\u003cINSTALL_PASSWORD\u003e\"),\n\t\t\tPassword: pulumi.String(\"blahblah\"),\n\t\t\tTelemetry: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Provider bootstrap config with alias\nconst bootstrap = new rancher2.Provider(\"bootstrap\", {\n apiUrl: \"https://rancher.my-domain.com\",\n bootstrap: true,\n});\n// Create a new rancher2_bootstrap using bootstrap provider config\nconst admin = new rancher2.Bootstrap(\"admin\", {\n password: \"blahblah\",\n telemetry: true,\n}, { provider: bootstrap });\n```\n```python\nimport pulumi\nimport pulumi_pulumi as pulumi\nimport pulumi_rancher2 as rancher2\n\n# Provider bootstrap config with alias\nbootstrap = pulumi.providers.Rancher2(\"bootstrap\",\n api_url=\"https://rancher.my-domain.com\",\n bootstrap=True)\n# Create a new rancher2_bootstrap using bootstrap provider config\nadmin = rancher2.Bootstrap(\"admin\",\n password=\"blahblah\",\n telemetry=True,\n opts=pulumi.ResourceOptions(provider=\"rancher2.bootstrap\"))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Provider bootstrap config with alias\n var bootstrap = new Rancher2.Provider(\"bootstrap\", new Rancher2.ProviderArgs\n {\n ApiUrl = \"https://rancher.my-domain.com\",\n Bootstrap = true,\n });\n // Create a new rancher2_bootstrap using bootstrap provider config\n var admin = new Rancher2.Bootstrap(\"admin\", new Rancher2.BootstrapArgs\n {\n Password = \"blahblah\",\n Telemetry = true,\n }, new CustomResourceOptions\n {\n Provider = \"rancher2.bootstrap\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2/providers\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := providers.Newrancher2(ctx, \"bootstrap\", \u0026providers.rancher2Args{\n\t\t\tApiUrl: \"https://rancher.my-domain.com\",\n\t\t\tBootstrap: true,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewBootstrap(ctx, \"admin\", \u0026rancher2.BootstrapArgs{\n\t\t\tPassword: pulumi.String(\"blahblah\"),\n\t\t\tTelemetry: pulumi.Bool(true),\n\t\t}, pulumi.Provider(\"rancher2.bootstrap\"))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2_bootstrap\nconst admin = new rancher2.Bootstrap(\"admin\", {\n password: \"blahblah\",\n telemetry: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2_bootstrap\nadmin = rancher2.Bootstrap(\"admin\",\n password=\"blahblah\",\n telemetry=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2_bootstrap\n var admin = new Rancher2.Bootstrap(\"admin\", new()\n {\n Password = \"blahblah\",\n Telemetry = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewBootstrap(ctx, \"admin\", \u0026rancher2.BootstrapArgs{\n\t\t\tPassword: pulumi.String(\"blahblah\"),\n\t\t\tTelemetry: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Bootstrap;\nimport com.pulumi.rancher2.BootstrapArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var admin = new Bootstrap(\"admin\", BootstrapArgs.builder() \n .password(\"blahblah\")\n .telemetry(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2_bootstrap\n admin:\n type: rancher2:Bootstrap\n properties:\n password: blahblah\n telemetry: true\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2_bootstrap for Rancher v2.6.0 and above\nconst admin = new rancher2.Bootstrap(\"admin\", {\n initialPassword: \"\u003cINSTALL_PASSWORD\u003e\",\n password: \"blahblah\",\n telemetry: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2_bootstrap for Rancher v2.6.0 and above\nadmin = rancher2.Bootstrap(\"admin\",\n initial_password=\"\u003cINSTALL_PASSWORD\u003e\",\n password=\"blahblah\",\n telemetry=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2_bootstrap for Rancher v2.6.0 and above\n var admin = new Rancher2.Bootstrap(\"admin\", new()\n {\n InitialPassword = \"\u003cINSTALL_PASSWORD\u003e\",\n Password = \"blahblah\",\n Telemetry = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewBootstrap(ctx, \"admin\", \u0026rancher2.BootstrapArgs{\n\t\t\tInitialPassword: pulumi.String(\"\u003cINSTALL_PASSWORD\u003e\"),\n\t\t\tPassword: pulumi.String(\"blahblah\"),\n\t\t\tTelemetry: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Bootstrap;\nimport com.pulumi.rancher2.BootstrapArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var admin = new Bootstrap(\"admin\", BootstrapArgs.builder() \n .initialPassword(\"\u003cINSTALL_PASSWORD\u003e\")\n .password(\"blahblah\")\n .telemetry(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2_bootstrap for Rancher v2.6.0 and above\n admin:\n type: rancher2:Bootstrap\n properties:\n initialPassword: \u003cINSTALL_PASSWORD\u003e\n password: blahblah\n telemetry: true\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Provider bootstrap config with alias\nconst bootstrap = new rancher2.Provider(\"bootstrap\", {\n apiUrl: \"https://rancher.my-domain.com\",\n bootstrap: true,\n});\n// Create a new rancher2_bootstrap using bootstrap provider config\nconst admin = new rancher2.Bootstrap(\"admin\", {\n password: \"blahblah\",\n telemetry: true,\n}, { provider: bootstrap });\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Provider bootstrap config with alias\nbootstrap = rancher2.Provider(\"bootstrap\",\n api_url=\"https://rancher.my-domain.com\",\n bootstrap=True)\n# Create a new rancher2_bootstrap using bootstrap provider config\nadmin = rancher2.Bootstrap(\"admin\",\n password=\"blahblah\",\n telemetry=True,\n opts=pulumi.ResourceOptions(provider=\"rancher2.bootstrap\"))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Provider bootstrap config with alias\n var bootstrap = new Rancher2.Provider(\"bootstrap\", new()\n {\n ApiUrl = \"https://rancher.my-domain.com\",\n Bootstrap = true,\n });\n\n // Create a new rancher2_bootstrap using bootstrap provider config\n var admin = new Rancher2.Bootstrap(\"admin\", new()\n {\n Password = \"blahblah\",\n Telemetry = true,\n }, new CustomResourceOptions\n {\n Provider = \"rancher2.bootstrap\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProvider(ctx, \"bootstrap\", \u0026rancher2.ProviderArgs{\n\t\t\tApiUrl: pulumi.String(\"https://rancher.my-domain.com\"),\n\t\t\tBootstrap: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewBootstrap(ctx, \"admin\", \u0026rancher2.BootstrapArgs{\n\t\t\tPassword: pulumi.String(\"blahblah\"),\n\t\t\tTelemetry: pulumi.Bool(true),\n\t\t}, pulumi.Provider(\"rancher2.bootstrap\"))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Provider;\nimport com.pulumi.rancher2.ProviderArgs;\nimport com.pulumi.rancher2.Bootstrap;\nimport com.pulumi.rancher2.BootstrapArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var bootstrap = new Provider(\"bootstrap\", ProviderArgs.builder() \n .apiUrl(\"https://rancher.my-domain.com\")\n .bootstrap(true)\n .build());\n\n var admin = new Bootstrap(\"admin\", BootstrapArgs.builder() \n .password(\"blahblah\")\n .telemetry(true)\n .build(), CustomResourceOptions.builder()\n .provider(\"rancher2.bootstrap\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Provider bootstrap config with alias\n bootstrap:\n type: pulumi:providers:rancher2\n properties:\n apiUrl: https://rancher.my-domain.com\n bootstrap: true\n # Create a new rancher2_bootstrap using bootstrap provider config\n admin:\n type: rancher2:Bootstrap\n properties:\n password: blahblah\n telemetry: true\n options:\n provider: rancher2.bootstrap\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "currentPassword": { "type": "string", - "description": "(Computed/Sensitive) Current password for Admin user (string)\n" + "description": "(Computed/Sensitive) Current password for Admin user (string)\n", + "secret": true }, "initialPassword": { "type": "string", - "description": "Initial password for Admin user. Default: `admin` (string)\n" + "description": "Initial password for Admin user. Default: `admin` (string)\n", + "secret": true }, "password": { "type": "string", - "description": "Password for Admin user or random generated if empty (string)\n" + "description": "Password for Admin user or random generated if empty (string)\n", + "secret": true }, "telemetry": { "type": "boolean", @@ -40197,7 +43478,8 @@ }, "tempToken": { "type": "string", - "description": "(Computed) Generated API temporary token as helper. Should be empty (string)\n" + "description": "(Computed) Generated API temporary token as helper. Should be empty (string)\n", + "secret": true }, "tempTokenId": { "type": "string", @@ -40205,7 +43487,8 @@ }, "token": { "type": "string", - "description": "(Computed) Generated API token for Admin User (string)\n" + "description": "(Computed) Generated API token for Admin User (string)\n", + "secret": true }, "tokenId": { "type": "string", @@ -40245,11 +43528,13 @@ "inputProperties": { "initialPassword": { "type": "string", - "description": "Initial password for Admin user. Default: `admin` (string)\n" + "description": "Initial password for Admin user. Default: `admin` (string)\n", + "secret": true }, "password": { "type": "string", - "description": "Password for Admin user or random generated if empty (string)\n" + "description": "Password for Admin user or random generated if empty (string)\n", + "secret": true }, "telemetry": { "type": "boolean", @@ -40273,15 +43558,18 @@ "properties": { "currentPassword": { "type": "string", - "description": "(Computed/Sensitive) Current password for Admin user (string)\n" + "description": "(Computed/Sensitive) Current password for Admin user (string)\n", + "secret": true }, "initialPassword": { "type": "string", - "description": "Initial password for Admin user. Default: `admin` (string)\n" + "description": "Initial password for Admin user. Default: `admin` (string)\n", + "secret": true }, "password": { "type": "string", - "description": "Password for Admin user or random generated if empty (string)\n" + "description": "Password for Admin user or random generated if empty (string)\n", + "secret": true }, "telemetry": { "type": "boolean", @@ -40289,7 +43577,8 @@ }, "tempToken": { "type": "string", - "description": "(Computed) Generated API temporary token as helper. Should be empty (string)\n" + "description": "(Computed) Generated API temporary token as helper. Should be empty (string)\n", + "secret": true }, "tempTokenId": { "type": "string", @@ -40297,7 +43586,8 @@ }, "token": { "type": "string", - "description": "(Computed) Generated API token for Admin User (string)\n" + "description": "(Computed) Generated API token for Admin User (string)\n", + "secret": true }, "tokenId": { "type": "string", @@ -40328,7 +43618,7 @@ } }, "rancher2:index/catalog:Catalog": { - "description": "Provides a Rancher v2 Catalog resource. This can be used to create cluster, global and/or project catalogs for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Global Catalog\nconst foo_global = new rancher2.Catalog(\"foo-global\", {\n url: \"https://\u003cCATALOG_URL\u003e\",\n});\n// Create a new Rancher2 Cluster Catalog\nconst foo_cluster = new rancher2.Catalog(\"foo-cluster\", {\n scope: \"cluster\",\n url: \"https://\u003cCATALOG_URL\u003e\",\n});\n// Create a new Rancher2 Project Catalog\nconst foo_project = new rancher2.Catalog(\"foo-project\", {\n scope: \"project\",\n url: \"https://\u003cCATALOG_URL\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Global Catalog\nfoo_global = rancher2.Catalog(\"foo-global\", url=\"https://\u003cCATALOG_URL\u003e\")\n# Create a new Rancher2 Cluster Catalog\nfoo_cluster = rancher2.Catalog(\"foo-cluster\",\n scope=\"cluster\",\n url=\"https://\u003cCATALOG_URL\u003e\")\n# Create a new Rancher2 Project Catalog\nfoo_project = rancher2.Catalog(\"foo-project\",\n scope=\"project\",\n url=\"https://\u003cCATALOG_URL\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new Rancher2 Global Catalog\n var foo_global = new Rancher2.Catalog(\"foo-global\", new Rancher2.CatalogArgs\n {\n Url = \"https://\u003cCATALOG_URL\u003e\",\n });\n // Create a new Rancher2 Cluster Catalog\n var foo_cluster = new Rancher2.Catalog(\"foo-cluster\", new Rancher2.CatalogArgs\n {\n Scope = \"cluster\",\n Url = \"https://\u003cCATALOG_URL\u003e\",\n });\n // Create a new Rancher2 Project Catalog\n var foo_project = new Rancher2.Catalog(\"foo-project\", new Rancher2.CatalogArgs\n {\n Scope = \"project\",\n Url = \"https://\u003cCATALOG_URL\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCatalog(ctx, \"foo-global\", \u0026rancher2.CatalogArgs{\n\t\t\tUrl: pulumi.String(\"https://\u003cCATALOG_URL\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCatalog(ctx, \"foo-cluster\", \u0026rancher2.CatalogArgs{\n\t\t\tScope: pulumi.String(\"cluster\"),\n\t\t\tUrl: pulumi.String(\"https://\u003cCATALOG_URL\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCatalog(ctx, \"foo-project\", \u0026rancher2.CatalogArgs{\n\t\t\tScope: pulumi.String(\"project\"),\n\t\t\tUrl: pulumi.String(\"https://\u003cCATALOG_URL\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCatalogs can be imported using the Rancher Catalog ID and its scope.\n\n```sh\n $ pulumi import rancher2:index/catalog:Catalog foo \u0026lt;SCOPE\u0026gt;.\u0026lt;CATALOG_ID_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Catalog resource. This can be used to create cluster, global and/or project catalogs for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Global Catalog\nconst foo_global = new rancher2.Catalog(\"foo-global\", {\n url: \"https://\u003cCATALOG_URL\u003e\",\n});\n// Create a new Rancher2 Cluster Catalog\nconst foo_cluster = new rancher2.Catalog(\"foo-cluster\", {\n scope: \"cluster\",\n url: \"https://\u003cCATALOG_URL\u003e\",\n});\n// Create a new Rancher2 Project Catalog\nconst foo_project = new rancher2.Catalog(\"foo-project\", {\n scope: \"project\",\n url: \"https://\u003cCATALOG_URL\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Global Catalog\nfoo_global = rancher2.Catalog(\"foo-global\", url=\"https://\u003cCATALOG_URL\u003e\")\n# Create a new Rancher2 Cluster Catalog\nfoo_cluster = rancher2.Catalog(\"foo-cluster\",\n scope=\"cluster\",\n url=\"https://\u003cCATALOG_URL\u003e\")\n# Create a new Rancher2 Project Catalog\nfoo_project = rancher2.Catalog(\"foo-project\",\n scope=\"project\",\n url=\"https://\u003cCATALOG_URL\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Rancher2 Global Catalog\n var foo_global = new Rancher2.Catalog(\"foo-global\", new()\n {\n Url = \"https://\u003cCATALOG_URL\u003e\",\n });\n\n // Create a new Rancher2 Cluster Catalog\n var foo_cluster = new Rancher2.Catalog(\"foo-cluster\", new()\n {\n Scope = \"cluster\",\n Url = \"https://\u003cCATALOG_URL\u003e\",\n });\n\n // Create a new Rancher2 Project Catalog\n var foo_project = new Rancher2.Catalog(\"foo-project\", new()\n {\n Scope = \"project\",\n Url = \"https://\u003cCATALOG_URL\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCatalog(ctx, \"foo-global\", \u0026rancher2.CatalogArgs{\n\t\t\tUrl: pulumi.String(\"https://\u003cCATALOG_URL\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCatalog(ctx, \"foo-cluster\", \u0026rancher2.CatalogArgs{\n\t\t\tScope: pulumi.String(\"cluster\"),\n\t\t\tUrl: pulumi.String(\"https://\u003cCATALOG_URL\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCatalog(ctx, \"foo-project\", \u0026rancher2.CatalogArgs{\n\t\t\tScope: pulumi.String(\"project\"),\n\t\t\tUrl: pulumi.String(\"https://\u003cCATALOG_URL\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Catalog;\nimport com.pulumi.rancher2.CatalogArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo_global = new Catalog(\"foo-global\", CatalogArgs.builder() \n .url(\"https://\u003cCATALOG_URL\u003e\")\n .build());\n\n var foo_cluster = new Catalog(\"foo-cluster\", CatalogArgs.builder() \n .scope(\"cluster\")\n .url(\"https://\u003cCATALOG_URL\u003e\")\n .build());\n\n var foo_project = new Catalog(\"foo-project\", CatalogArgs.builder() \n .scope(\"project\")\n .url(\"https://\u003cCATALOG_URL\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 Global Catalog\n foo-global:\n type: rancher2:Catalog\n properties:\n url: https://\u003cCATALOG_URL\u003e\n # Create a new Rancher2 Cluster Catalog\n foo-cluster:\n type: rancher2:Catalog\n properties:\n scope: cluster\n url: https://\u003cCATALOG_URL\u003e\n # Create a new Rancher2 Project Catalog\n foo-project:\n type: rancher2:Catalog\n properties:\n scope: project\n url: https://\u003cCATALOG_URL\u003e\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCatalogs can be imported using the Rancher Catalog ID and its scope.\n\n```sh\n $ pulumi import rancher2:index/catalog:Catalog foo \u0026lt;SCOPE\u0026gt;.\u0026lt;CATALOG_ID_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -40366,7 +43656,8 @@ }, "password": { "type": "string", - "description": "The password to access the catalog if needed (string)\n" + "description": "The password to access the catalog if needed (string)\n", + "secret": true }, "projectId": { "type": "string", @@ -40386,7 +43677,8 @@ }, "username": { "type": "string", - "description": "The username to access the catalog if needed (string)\n" + "description": "The username to access the catalog if needed (string)\n", + "secret": true }, "version": { "type": "string", @@ -40414,7 +43706,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the catalog. Mandatory if `scope = cluster` (string)\n" + "description": "The cluster id of the catalog. Mandatory if `scope = cluster` (string)\n", + "willReplaceOnChanges": true }, "description": { "type": "string", @@ -40433,15 +43726,18 @@ }, "name": { "type": "string", - "description": "The name of the catalog (string)\n" + "description": "The name of the catalog (string)\n", + "willReplaceOnChanges": true }, "password": { "type": "string", - "description": "The password to access the catalog if needed (string)\n" + "description": "The password to access the catalog if needed (string)\n", + "secret": true }, "projectId": { "type": "string", - "description": "The project id of the catalog. Mandatory if `scope = project` (string)\n" + "description": "The project id of the catalog. Mandatory if `scope = project` (string)\n", + "willReplaceOnChanges": true }, "refresh": { "type": "boolean", @@ -40457,11 +43753,13 @@ }, "username": { "type": "string", - "description": "The username to access the catalog if needed (string)\n" + "description": "The username to access the catalog if needed (string)\n", + "secret": true }, "version": { "type": "string", - "description": "Helm version for the catalog. Available options: `helm_v2` and `helm_v3` (string)\n" + "description": "Helm version for the catalog. Available options: `helm_v2` and `helm_v3` (string)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -40483,7 +43781,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the catalog. Mandatory if `scope = cluster` (string)\n" + "description": "The cluster id of the catalog. Mandatory if `scope = cluster` (string)\n", + "willReplaceOnChanges": true }, "description": { "type": "string", @@ -40502,15 +43801,18 @@ }, "name": { "type": "string", - "description": "The name of the catalog (string)\n" + "description": "The name of the catalog (string)\n", + "willReplaceOnChanges": true }, "password": { "type": "string", - "description": "The password to access the catalog if needed (string)\n" + "description": "The password to access the catalog if needed (string)\n", + "secret": true }, "projectId": { "type": "string", - "description": "The project id of the catalog. Mandatory if `scope = project` (string)\n" + "description": "The project id of the catalog. Mandatory if `scope = project` (string)\n", + "willReplaceOnChanges": true }, "refresh": { "type": "boolean", @@ -40526,11 +43828,13 @@ }, "username": { "type": "string", - "description": "The username to access the catalog if needed (string)\n" + "description": "The username to access the catalog if needed (string)\n", + "secret": true }, "version": { "type": "string", - "description": "Helm version for the catalog. Available options: `helm_v2` and `helm_v3` (string)\n" + "description": "Helm version for the catalog. Available options: `helm_v2` and `helm_v3` (string)\n", + "willReplaceOnChanges": true } }, "type": "object" @@ -40628,7 +43932,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the catalog V2 (string)\n" + "description": "The cluster id of the catalog V2 (string)\n", + "willReplaceOnChanges": true }, "enabled": { "type": "boolean", @@ -40697,7 +44002,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the catalog V2 (string)\n" + "description": "The cluster id of the catalog V2 (string)\n", + "willReplaceOnChanges": true }, "enabled": { "type": "boolean", @@ -40774,7 +44080,8 @@ }, "key": { "type": "string", - "description": "Base64 encoded private key (string)\n" + "description": "Base64 encoded private key (string)\n", + "secret": true }, "labels": { "type": "object", @@ -40822,7 +44129,8 @@ }, "key": { "type": "string", - "description": "Base64 encoded private key (string)\n" + "description": "Base64 encoded private key (string)\n", + "secret": true }, "labels": { "type": "object", @@ -40833,15 +44141,18 @@ }, "name": { "type": "string", - "description": "The name of the certificate (string)\n" + "description": "The name of the certificate (string)\n", + "willReplaceOnChanges": true }, "namespaceId": { "type": "string", - "description": "The namespace id where the namespaced certificate should be created (string)\n" + "description": "The namespace id where the namespaced certificate should be created (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "The project id where the certificate should be created (string)\n" + "description": "The project id where the certificate should be created (string)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -40869,7 +44180,8 @@ }, "key": { "type": "string", - "description": "Base64 encoded private key (string)\n" + "description": "Base64 encoded private key (string)\n", + "secret": true }, "labels": { "type": "object", @@ -40880,22 +44192,25 @@ }, "name": { "type": "string", - "description": "The name of the certificate (string)\n" + "description": "The name of the certificate (string)\n", + "willReplaceOnChanges": true }, "namespaceId": { "type": "string", - "description": "The namespace id where the namespaced certificate should be created (string)\n" + "description": "The namespace id where the namespaced certificate should be created (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "The project id where the certificate should be created (string)\n" + "description": "The project id where the certificate should be created (string)\n", + "willReplaceOnChanges": true } }, "type": "object" } }, "rancher2:index/cloudCredential:CloudCredential": { - "description": "Provides a Rancher v2 Cloud Credential resource. This can be used to create Cloud Credential for Rancher v2.2.x and retrieve their information.\n\namazonec2, azure, digitalocean, harvester, linode, openstack and vsphere credentials config are supported for Cloud Credential.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Cloud Credential\nconst foo = new rancher2.CloudCredential(\"foo\", {\n amazonec2CredentialConfig: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n },\n description: \"foo test\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Cloud Credential\nfoo = rancher2.CloudCredential(\"foo\",\n amazonec2_credential_config=rancher2.CloudCredentialAmazonec2CredentialConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ),\n description=\"foo test\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Cloud Credential\n var foo = new Rancher2.CloudCredential(\"foo\", new Rancher2.CloudCredentialArgs\n {\n Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n },\n Description = \"foo test\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCloudCredential(ctx, \"foo\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tAmazonec2CredentialConfig: \u0026CloudCredentialAmazonec2CredentialConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo-harvesterClusterV2 = rancher2.getClusterV2({\n name: \"foo-harvester\",\n});\n// Create a new Cloud Credential for an imported Harvester cluster\nconst foo_harvesterCloudCredential = new rancher2.CloudCredential(\"foo-harvesterCloudCredential\", {harvesterCredentialConfig: {\n clusterId: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.clusterV1Id),\n clusterType: \"imported\",\n kubeconfigContent: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.kubeConfig),\n}});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_harvester_cluster_v2 = rancher2.get_cluster_v2(name=\"foo-harvester\")\n# Create a new Cloud Credential for an imported Harvester cluster\nfoo_harvester_cloud_credential = rancher2.CloudCredential(\"foo-harvesterCloudCredential\", harvester_credential_config=rancher2.CloudCredentialHarvesterCredentialConfigArgs(\n cluster_id=foo_harvester_cluster_v2.cluster_v1_id,\n cluster_type=\"imported\",\n kubeconfig_content=foo_harvester_cluster_v2.kube_config,\n))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo_harvesterClusterV2 = Output.Create(Rancher2.GetClusterV2.InvokeAsync(new Rancher2.GetClusterV2Args\n {\n Name = \"foo-harvester\",\n }));\n // Create a new Cloud Credential for an imported Harvester cluster\n var foo_harvesterCloudCredential = new Rancher2.CloudCredential(\"foo-harvesterCloudCredential\", new Rancher2.CloudCredentialArgs\n {\n HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs\n {\n ClusterId = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.ClusterV1Id),\n ClusterType = \"imported\",\n KubeconfigContent = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.KubeConfig),\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoo_harvesterClusterV2, err := rancher2.LookupClusterV2(ctx, \u0026GetClusterV2Args{\n\t\t\tName: \"foo-harvester\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCloudCredential(ctx, \"foo-harvesterCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tHarvesterCredentialConfig: \u0026CloudCredentialHarvesterCredentialConfigArgs{\n\t\t\t\tClusterId: pulumi.String(foo_harvesterClusterV2.ClusterV1Id),\n\t\t\t\tClusterType: pulumi.String(\"imported\"),\n\t\t\t\tKubeconfigContent: pulumi.String(foo_harvesterClusterV2.KubeConfig),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCloud Credential can be imported using the Cloud Credential ID and the Driver name. bash\n\n```sh\n $ pulumi import rancher2:index/cloudCredential:CloudCredential foo \u0026lt;CLOUD_CREDENTIAL_ID\u0026gt;.\u0026lt;DRIVER\u0026gt;\n```\n\n The following drivers are supported* amazonec2 * azure * digitalocean * googlekubernetesengine * linode * openstack * s3 * vmwarevsphere ", + "description": "Provides a Rancher v2 Cloud Credential resource. This can be used to create Cloud Credential for Rancher v2.2.x and retrieve their information.\n\namazonec2, azure, digitalocean, harvester, linode, openstack and vsphere credentials config are supported for Cloud Credential.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Cloud Credential\nconst foo = new rancher2.CloudCredential(\"foo\", {\n amazonec2CredentialConfig: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n },\n description: \"foo test\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Cloud Credential\nfoo = rancher2.CloudCredential(\"foo\",\n amazonec2_credential_config=rancher2.CloudCredentialAmazonec2CredentialConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ),\n description=\"foo test\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Cloud Credential\n var foo = new Rancher2.CloudCredential(\"foo\", new()\n {\n Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n },\n Description = \"foo test\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCloudCredential(ctx, \"foo\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tAmazonec2CredentialConfig: \u0026CloudCredentialAmazonec2CredentialConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.CloudCredential;\nimport com.pulumi.rancher2.CloudCredentialArgs;\nimport com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new CloudCredential(\"foo\", CloudCredentialArgs.builder() \n .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()\n .accessKey(\"\u003cAWS_ACCESS_KEY\u003e\")\n .secretKey(\"\u003cAWS_SECRET_KEY\u003e\")\n .build())\n .description(\"foo test\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Cloud Credential\n foo:\n type: rancher2:CloudCredential\n properties:\n amazonec2CredentialConfig:\n accessKey: \u003cAWS_ACCESS_KEY\u003e\n secretKey: \u003cAWS_SECRET_KEY\u003e\n description: foo test\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo-harvesterClusterV2 = rancher2.getClusterV2({\n name: \"foo-harvester\",\n});\n// Create a new Cloud Credential for an imported Harvester cluster\nconst foo_harvesterCloudCredential = new rancher2.CloudCredential(\"foo-harvesterCloudCredential\", {harvesterCredentialConfig: {\n clusterId: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.clusterV1Id),\n clusterType: \"imported\",\n kubeconfigContent: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.kubeConfig),\n}});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_harvester_cluster_v2 = rancher2.get_cluster_v2(name=\"foo-harvester\")\n# Create a new Cloud Credential for an imported Harvester cluster\nfoo_harvester_cloud_credential = rancher2.CloudCredential(\"foo-harvesterCloudCredential\", harvester_credential_config=rancher2.CloudCredentialHarvesterCredentialConfigArgs(\n cluster_id=foo_harvester_cluster_v2.cluster_v1_id,\n cluster_type=\"imported\",\n kubeconfig_content=foo_harvester_cluster_v2.kube_config,\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo_harvesterClusterV2 = Rancher2.GetClusterV2.Invoke(new()\n {\n Name = \"foo-harvester\",\n });\n\n // Create a new Cloud Credential for an imported Harvester cluster\n var foo_harvesterCloudCredential = new Rancher2.CloudCredential(\"foo-harvesterCloudCredential\", new()\n {\n HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs\n {\n ClusterId = foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result).Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result.ClusterV1Id)),\n ClusterType = \"imported\",\n KubeconfigContent = foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result).Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result.KubeConfig)),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoo_harvesterClusterV2, err := rancher2.LookupClusterV2(ctx, \u0026GetClusterV2Args{\n\t\t\tName: \"foo-harvester\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCloudCredential(ctx, \"foo-harvesterCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tHarvesterCredentialConfig: \u0026CloudCredentialHarvesterCredentialConfigArgs{\n\t\t\t\tClusterId: pulumi.String(foo_harvesterClusterV2.ClusterV1Id),\n\t\t\t\tClusterType: pulumi.String(\"imported\"),\n\t\t\t\tKubeconfigContent: pulumi.String(foo_harvesterClusterV2.KubeConfig),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterV2Args;\nimport com.pulumi.rancher2.CloudCredential;\nimport com.pulumi.rancher2.CloudCredentialArgs;\nimport com.pulumi.rancher2.inputs.CloudCredentialHarvesterCredentialConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo-harvesterClusterV2 = Rancher2Functions.getClusterV2(GetClusterV2Args.builder()\n .name(\"foo-harvester\")\n .build());\n\n var foo_harvesterCloudCredential = new CloudCredential(\"foo-harvesterCloudCredential\", CloudCredentialArgs.builder() \n .harvesterCredentialConfig(CloudCredentialHarvesterCredentialConfigArgs.builder()\n .clusterId(foo_harvesterClusterV2.clusterV1Id())\n .clusterType(\"imported\")\n .kubeconfigContent(foo_harvesterClusterV2.kubeConfig())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Cloud Credential for an imported Harvester cluster\n foo-harvesterCloudCredential:\n type: rancher2:CloudCredential\n properties:\n harvesterCredentialConfig:\n clusterId: ${[\"foo-harvesterClusterV2\"].clusterV1Id}\n clusterType: imported\n kubeconfigContent: ${[\"foo-harvesterClusterV2\"].kubeConfig}\nvariables:\n foo-harvesterClusterV2:\n fn::invoke:\n Function: rancher2:getClusterV2\n Arguments:\n name: foo-harvester\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCloud Credential can be imported using the Cloud Credential ID and the Driver name. bash\n\n```sh\n $ pulumi import rancher2:index/cloudCredential:CloudCredential foo \u0026lt;CLOUD_CREDENTIAL_ID\u0026gt;.\u0026lt;DRIVER\u0026gt;\n```\n\n The following drivers are supported* amazonec2 * azure * digitalocean * googlekubernetesengine * linode * openstack * s3 * vmwarevsphere ", "properties": { "amazonec2CredentialConfig": { "$ref": "#/types/rancher2:index/CloudCredentialAmazonec2CredentialConfig:CloudCredentialAmazonec2CredentialConfig", @@ -41096,7 +44411,7 @@ } }, "rancher2:index/cluster:Cluster": { - "description": "Provides a Rancher v2 Cluster resource. This can be used to create Clusters for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n\n**Note optional/computed arguments** If any `optional/computed` argument of this resource is defined by the user, removing it from tf file will NOT reset its value. To reset it, let its definition at tf file as empty/false object. Ex: `enable_cluster_monitoring = false`, `cloud_provider {}`, `name = \"\"`\n{{% example %}}\n### Creating Rancher v2 RKE cluster enabling and customizing monitoring\n\n**Note** Cluster monitoring version `0.2.0` or above, can't be enabled until cluster is fully deployed as [`kubeVersion`](https://github.com/rancher/system-charts/blob/52be656700468904b9bf15c3f39cd7112e1f8c9b/charts/rancher-monitoring/v0.2.0/Chart.yaml#L12) requirement has been introduced to helm chart \n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 RKE Cluster\nconst foo_custom = new rancher2.Cluster(\"foo-custom\", {\n clusterMonitoringInput: {\n answers: {\n \"exporter-kubelets.https\": true,\n \"exporter-node.enabled\": true,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": false,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n version: \"0.1.0\",\n },\n description: \"Foo rancher2 custom cluster\",\n enableClusterMonitoring: true,\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 RKE Cluster\nfoo_custom = rancher2.Cluster(\"foo-custom\",\n cluster_monitoring_input=rancher2.ClusterClusterMonitoringInputArgs(\n answers={\n \"exporter-kubelets.https\": True,\n \"exporter-node.enabled\": True,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": False,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n version=\"0.1.0\",\n ),\n description=\"Foo rancher2 custom cluster\",\n enable_cluster_monitoring=True,\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 RKE Cluster\n var foo_custom = new Rancher2.Cluster(\"foo-custom\", new Rancher2.ClusterArgs\n {\n ClusterMonitoringInput = new Rancher2.Inputs.ClusterClusterMonitoringInputArgs\n {\n Answers = \n {\n { \"exporter-kubelets.https\", true },\n { \"exporter-node.enabled\", true },\n { \"exporter-node.ports.metrics.port\", 9796 },\n { \"exporter-node.resources.limits.cpu\", \"200m\" },\n { \"exporter-node.resources.limits.memory\", \"200Mi\" },\n { \"grafana.persistence.enabled\", false },\n { \"grafana.persistence.size\", \"10Gi\" },\n { \"grafana.persistence.storageClass\", \"default\" },\n { \"operator.resources.limits.memory\", \"500Mi\" },\n { \"prometheus.persistence.enabled\", \"false\" },\n { \"prometheus.persistence.size\", \"50Gi\" },\n { \"prometheus.persistence.storageClass\", \"default\" },\n { \"prometheus.persistent.useReleaseName\", \"true\" },\n { \"prometheus.resources.core.limits.cpu\", \"1000m\" },\n { \"prometheus.resources.core.limits.memory\", \"1500Mi\" },\n { \"prometheus.resources.core.requests.cpu\", \"750m\" },\n { \"prometheus.resources.core.requests.memory\", \"750Mi\" },\n { \"prometheus.retention\", \"12h\" },\n },\n Version = \"0.1.0\",\n },\n Description = \"Foo rancher2 custom cluster\",\n EnableClusterMonitoring = true,\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo-custom\", \u0026rancher2.ClusterArgs{\n\t\t\tClusterMonitoringInput: \u0026ClusterClusterMonitoringInputArgs{\n\t\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\t\"exporter-kubelets.https\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.enabled\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.ports.metrics.port\": pulumi.Any(9796),\n\t\t\t\t\t\"exporter-node.resources.limits.cpu\": pulumi.Any(\"200m\"),\n\t\t\t\t\t\"exporter-node.resources.limits.memory\": pulumi.Any(\"200Mi\"),\n\t\t\t\t\t\"grafana.persistence.enabled\": pulumi.Any(false),\n\t\t\t\t\t\"grafana.persistence.size\": pulumi.Any(\"10Gi\"),\n\t\t\t\t\t\"grafana.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"operator.resources.limits.memory\": pulumi.Any(\"500Mi\"),\n\t\t\t\t\t\"prometheus.persistence.enabled\": pulumi.Any(\"false\"),\n\t\t\t\t\t\"prometheus.persistence.size\": pulumi.Any(\"50Gi\"),\n\t\t\t\t\t\"prometheus.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"prometheus.persistent.useReleaseName\": pulumi.Any(\"true\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.memory\": pulumi.Any(\"1500Mi\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.cpu\": pulumi.Any(\"750m\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.memory\": pulumi.Any(\"750Mi\"),\n\t\t\t\t\t\"prometheus.retention\": pulumi.Any(\"12h\"),\n\t\t\t\t},\n\t\t\t\tVersion: pulumi.String(\"0.1.0\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Foo rancher2 custom cluster\"),\n\t\t\tEnableClusterMonitoring: pulumi.Bool(true),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Creating Rancher v2 RKE cluster enabling/customizing monitoring and istio\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 RKE Cluster\nconst foo_customCluster = new rancher2.Cluster(\"foo-customCluster\", {\n description: \"Foo rancher2 custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n },\n enableClusterMonitoring: true,\n clusterMonitoringInput: {\n answers: {\n \"exporter-kubelets.https\": true,\n \"exporter-node.enabled\": true,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": false,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n version: \"0.1.0\",\n },\n});\n// Create a new rancher2 Cluster Sync for foo-custom cluster\nconst foo_customClusterSync = new rancher2.ClusterSync(\"foo-customClusterSync\", {\n clusterId: foo_customCluster.id,\n waitMonitoring: foo_customCluster.enableClusterMonitoring,\n});\n// Create a new rancher2 Namespace\nconst foo_istio = new rancher2.Namespace(\"foo-istio\", {\n projectId: foo_customClusterSync.systemProjectId,\n description: \"istio namespace\",\n});\n// Create a new rancher2 App deploying istio (should wait until monitoring is up and running)\nconst istio = new rancher2.App(\"istio\", {\n catalogName: \"system-library\",\n description: \"Terraform app acceptance test\",\n projectId: foo_istio.projectId,\n templateName: \"rancher-istio\",\n templateVersion: \"0.1.1\",\n targetNamespace: foo_istio.id,\n answers: {\n \"certmanager.enabled\": false,\n enableCRDs: true,\n \"galley.enabled\": true,\n \"gateways.enabled\": false,\n \"gateways.istio-ingressgateway.resources.limits.cpu\": \"2000m\",\n \"gateways.istio-ingressgateway.resources.limits.memory\": \"1024Mi\",\n \"gateways.istio-ingressgateway.resources.requests.cpu\": \"100m\",\n \"gateways.istio-ingressgateway.resources.requests.memory\": \"128Mi\",\n \"gateways.istio-ingressgateway.type\": \"NodePort\",\n \"global.monitoring.type\": \"cluster-monitoring\",\n \"global.rancher.clusterId\": foo_customClusterSync.clusterId,\n \"istio_cni.enabled\": \"false\",\n \"istiocoredns.enabled\": \"false\",\n \"kiali.enabled\": \"true\",\n \"mixer.enabled\": \"true\",\n \"mixer.policy.enabled\": \"true\",\n \"mixer.policy.resources.limits.cpu\": \"4800m\",\n \"mixer.policy.resources.limits.memory\": \"4096Mi\",\n \"mixer.policy.resources.requests.cpu\": \"1000m\",\n \"mixer.policy.resources.requests.memory\": \"1024Mi\",\n \"mixer.telemetry.resources.limits.cpu\": \"4800m\",\n \"mixer.telemetry.resources.limits.memory\": \"4096Mi\",\n \"mixer.telemetry.resources.requests.cpu\": \"1000m\",\n \"mixer.telemetry.resources.requests.memory\": \"1024Mi\",\n \"mtls.enabled\": false,\n \"nodeagent.enabled\": false,\n \"pilot.enabled\": true,\n \"pilot.resources.limits.cpu\": \"1000m\",\n \"pilot.resources.limits.memory\": \"4096Mi\",\n \"pilot.resources.requests.cpu\": \"500m\",\n \"pilot.resources.requests.memory\": \"2048Mi\",\n \"pilot.traceSampling\": \"1\",\n \"security.enabled\": true,\n \"sidecarInjectorWebhook.enabled\": true,\n \"tracing.enabled\": true,\n \"tracing.jaeger.resources.limits.cpu\": \"500m\",\n \"tracing.jaeger.resources.limits.memory\": \"1024Mi\",\n \"tracing.jaeger.resources.requests.cpu\": \"100m\",\n \"tracing.jaeger.resources.requests.memory\": \"100Mi\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 RKE Cluster\nfoo_custom_cluster = rancher2.Cluster(\"foo-customCluster\",\n description=\"Foo rancher2 custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n ),\n enable_cluster_monitoring=True,\n cluster_monitoring_input=rancher2.ClusterClusterMonitoringInputArgs(\n answers={\n \"exporter-kubelets.https\": True,\n \"exporter-node.enabled\": True,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": False,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n version=\"0.1.0\",\n ))\n# Create a new rancher2 Cluster Sync for foo-custom cluster\nfoo_custom_cluster_sync = rancher2.ClusterSync(\"foo-customClusterSync\",\n cluster_id=foo_custom_cluster.id,\n wait_monitoring=foo_custom_cluster.enable_cluster_monitoring)\n# Create a new rancher2 Namespace\nfoo_istio = rancher2.Namespace(\"foo-istio\",\n project_id=foo_custom_cluster_sync.system_project_id,\n description=\"istio namespace\")\n# Create a new rancher2 App deploying istio (should wait until monitoring is up and running)\nistio = rancher2.App(\"istio\",\n catalog_name=\"system-library\",\n description=\"Terraform app acceptance test\",\n project_id=foo_istio.project_id,\n template_name=\"rancher-istio\",\n template_version=\"0.1.1\",\n target_namespace=foo_istio.id,\n answers={\n \"certmanager.enabled\": False,\n \"enableCRDs\": True,\n \"galley.enabled\": True,\n \"gateways.enabled\": False,\n \"gateways.istio-ingressgateway.resources.limits.cpu\": \"2000m\",\n \"gateways.istio-ingressgateway.resources.limits.memory\": \"1024Mi\",\n \"gateways.istio-ingressgateway.resources.requests.cpu\": \"100m\",\n \"gateways.istio-ingressgateway.resources.requests.memory\": \"128Mi\",\n \"gateways.istio-ingressgateway.type\": \"NodePort\",\n \"global.monitoring.type\": \"cluster-monitoring\",\n \"global.rancher.clusterId\": foo_custom_cluster_sync.cluster_id,\n \"istio_cni.enabled\": \"false\",\n \"istiocoredns.enabled\": \"false\",\n \"kiali.enabled\": \"true\",\n \"mixer.enabled\": \"true\",\n \"mixer.policy.enabled\": \"true\",\n \"mixer.policy.resources.limits.cpu\": \"4800m\",\n \"mixer.policy.resources.limits.memory\": \"4096Mi\",\n \"mixer.policy.resources.requests.cpu\": \"1000m\",\n \"mixer.policy.resources.requests.memory\": \"1024Mi\",\n \"mixer.telemetry.resources.limits.cpu\": \"4800m\",\n \"mixer.telemetry.resources.limits.memory\": \"4096Mi\",\n \"mixer.telemetry.resources.requests.cpu\": \"1000m\",\n \"mixer.telemetry.resources.requests.memory\": \"1024Mi\",\n \"mtls.enabled\": False,\n \"nodeagent.enabled\": False,\n \"pilot.enabled\": True,\n \"pilot.resources.limits.cpu\": \"1000m\",\n \"pilot.resources.limits.memory\": \"4096Mi\",\n \"pilot.resources.requests.cpu\": \"500m\",\n \"pilot.resources.requests.memory\": \"2048Mi\",\n \"pilot.traceSampling\": \"1\",\n \"security.enabled\": True,\n \"sidecarInjectorWebhook.enabled\": True,\n \"tracing.enabled\": True,\n \"tracing.jaeger.resources.limits.cpu\": \"500m\",\n \"tracing.jaeger.resources.limits.memory\": \"1024Mi\",\n \"tracing.jaeger.resources.requests.cpu\": \"100m\",\n \"tracing.jaeger.resources.requests.memory\": \"100Mi\",\n })\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 RKE Cluster\n var foo_customCluster = new Rancher2.Cluster(\"foo-customCluster\", new Rancher2.ClusterArgs\n {\n Description = \"Foo rancher2 custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n },\n EnableClusterMonitoring = true,\n ClusterMonitoringInput = new Rancher2.Inputs.ClusterClusterMonitoringInputArgs\n {\n Answers = \n {\n { \"exporter-kubelets.https\", true },\n { \"exporter-node.enabled\", true },\n { \"exporter-node.ports.metrics.port\", 9796 },\n { \"exporter-node.resources.limits.cpu\", \"200m\" },\n { \"exporter-node.resources.limits.memory\", \"200Mi\" },\n { \"grafana.persistence.enabled\", false },\n { \"grafana.persistence.size\", \"10Gi\" },\n { \"grafana.persistence.storageClass\", \"default\" },\n { \"operator.resources.limits.memory\", \"500Mi\" },\n { \"prometheus.persistence.enabled\", \"false\" },\n { \"prometheus.persistence.size\", \"50Gi\" },\n { \"prometheus.persistence.storageClass\", \"default\" },\n { \"prometheus.persistent.useReleaseName\", \"true\" },\n { \"prometheus.resources.core.limits.cpu\", \"1000m\" },\n { \"prometheus.resources.core.limits.memory\", \"1500Mi\" },\n { \"prometheus.resources.core.requests.cpu\", \"750m\" },\n { \"prometheus.resources.core.requests.memory\", \"750Mi\" },\n { \"prometheus.retention\", \"12h\" },\n },\n Version = \"0.1.0\",\n },\n });\n // Create a new rancher2 Cluster Sync for foo-custom cluster\n var foo_customClusterSync = new Rancher2.ClusterSync(\"foo-customClusterSync\", new Rancher2.ClusterSyncArgs\n {\n ClusterId = foo_customCluster.Id,\n WaitMonitoring = foo_customCluster.EnableClusterMonitoring,\n });\n // Create a new rancher2 Namespace\n var foo_istio = new Rancher2.Namespace(\"foo-istio\", new Rancher2.NamespaceArgs\n {\n ProjectId = foo_customClusterSync.SystemProjectId,\n Description = \"istio namespace\",\n });\n // Create a new rancher2 App deploying istio (should wait until monitoring is up and running)\n var istio = new Rancher2.App(\"istio\", new Rancher2.AppArgs\n {\n CatalogName = \"system-library\",\n Description = \"Terraform app acceptance test\",\n ProjectId = foo_istio.ProjectId,\n TemplateName = \"rancher-istio\",\n TemplateVersion = \"0.1.1\",\n TargetNamespace = foo_istio.Id,\n Answers = \n {\n { \"certmanager.enabled\", false },\n { \"enableCRDs\", true },\n { \"galley.enabled\", true },\n { \"gateways.enabled\", false },\n { \"gateways.istio-ingressgateway.resources.limits.cpu\", \"2000m\" },\n { \"gateways.istio-ingressgateway.resources.limits.memory\", \"1024Mi\" },\n { \"gateways.istio-ingressgateway.resources.requests.cpu\", \"100m\" },\n { \"gateways.istio-ingressgateway.resources.requests.memory\", \"128Mi\" },\n { \"gateways.istio-ingressgateway.type\", \"NodePort\" },\n { \"global.monitoring.type\", \"cluster-monitoring\" },\n { \"global.rancher.clusterId\", foo_customClusterSync.ClusterId },\n { \"istio_cni.enabled\", \"false\" },\n { \"istiocoredns.enabled\", \"false\" },\n { \"kiali.enabled\", \"true\" },\n { \"mixer.enabled\", \"true\" },\n { \"mixer.policy.enabled\", \"true\" },\n { \"mixer.policy.resources.limits.cpu\", \"4800m\" },\n { \"mixer.policy.resources.limits.memory\", \"4096Mi\" },\n { \"mixer.policy.resources.requests.cpu\", \"1000m\" },\n { \"mixer.policy.resources.requests.memory\", \"1024Mi\" },\n { \"mixer.telemetry.resources.limits.cpu\", \"4800m\" },\n { \"mixer.telemetry.resources.limits.memory\", \"4096Mi\" },\n { \"mixer.telemetry.resources.requests.cpu\", \"1000m\" },\n { \"mixer.telemetry.resources.requests.memory\", \"1024Mi\" },\n { \"mtls.enabled\", false },\n { \"nodeagent.enabled\", false },\n { \"pilot.enabled\", true },\n { \"pilot.resources.limits.cpu\", \"1000m\" },\n { \"pilot.resources.limits.memory\", \"4096Mi\" },\n { \"pilot.resources.requests.cpu\", \"500m\" },\n { \"pilot.resources.requests.memory\", \"2048Mi\" },\n { \"pilot.traceSampling\", \"1\" },\n { \"security.enabled\", true },\n { \"sidecarInjectorWebhook.enabled\", true },\n { \"tracing.enabled\", true },\n { \"tracing.jaeger.resources.limits.cpu\", \"500m\" },\n { \"tracing.jaeger.resources.limits.memory\", \"1024Mi\" },\n { \"tracing.jaeger.resources.requests.cpu\", \"100m\" },\n { \"tracing.jaeger.resources.requests.memory\", \"100Mi\" },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo-customCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Foo rancher2 custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tEnableClusterMonitoring: pulumi.Bool(true),\n\t\t\tClusterMonitoringInput: \u0026ClusterClusterMonitoringInputArgs{\n\t\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\t\"exporter-kubelets.https\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.enabled\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.ports.metrics.port\": pulumi.Any(9796),\n\t\t\t\t\t\"exporter-node.resources.limits.cpu\": pulumi.Any(\"200m\"),\n\t\t\t\t\t\"exporter-node.resources.limits.memory\": pulumi.Any(\"200Mi\"),\n\t\t\t\t\t\"grafana.persistence.enabled\": pulumi.Any(false),\n\t\t\t\t\t\"grafana.persistence.size\": pulumi.Any(\"10Gi\"),\n\t\t\t\t\t\"grafana.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"operator.resources.limits.memory\": pulumi.Any(\"500Mi\"),\n\t\t\t\t\t\"prometheus.persistence.enabled\": pulumi.Any(\"false\"),\n\t\t\t\t\t\"prometheus.persistence.size\": pulumi.Any(\"50Gi\"),\n\t\t\t\t\t\"prometheus.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"prometheus.persistent.useReleaseName\": pulumi.Any(\"true\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.memory\": pulumi.Any(\"1500Mi\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.cpu\": pulumi.Any(\"750m\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.memory\": pulumi.Any(\"750Mi\"),\n\t\t\t\t\t\"prometheus.retention\": pulumi.Any(\"12h\"),\n\t\t\t\t},\n\t\t\t\tVersion: pulumi.String(\"0.1.0\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewClusterSync(ctx, \"foo-customClusterSync\", \u0026rancher2.ClusterSyncArgs{\n\t\t\tClusterId: foo_customCluster.ID(),\n\t\t\tWaitMonitoring: foo_customCluster.EnableClusterMonitoring,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNamespace(ctx, \"foo-istio\", \u0026rancher2.NamespaceArgs{\n\t\t\tProjectId: foo_customClusterSync.SystemProjectId,\n\t\t\tDescription: pulumi.String(\"istio namespace\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewApp(ctx, \"istio\", \u0026rancher2.AppArgs{\n\t\t\tCatalogName: pulumi.String(\"system-library\"),\n\t\t\tDescription: pulumi.String(\"Terraform app acceptance test\"),\n\t\t\tProjectId: foo_istio.ProjectId,\n\t\t\tTemplateName: pulumi.String(\"rancher-istio\"),\n\t\t\tTemplateVersion: pulumi.String(\"0.1.1\"),\n\t\t\tTargetNamespace: foo_istio.ID(),\n\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\"certmanager.enabled\": pulumi.Any(false),\n\t\t\t\t\"enableCRDs\": pulumi.Any(true),\n\t\t\t\t\"galley.enabled\": pulumi.Any(true),\n\t\t\t\t\"gateways.enabled\": pulumi.Any(false),\n\t\t\t\t\"gateways.istio-ingressgateway.resources.limits.cpu\": pulumi.Any(\"2000m\"),\n\t\t\t\t\"gateways.istio-ingressgateway.resources.limits.memory\": pulumi.Any(\"1024Mi\"),\n\t\t\t\t\"gateways.istio-ingressgateway.resources.requests.cpu\": pulumi.Any(\"100m\"),\n\t\t\t\t\"gateways.istio-ingressgateway.resources.requests.memory\": pulumi.Any(\"128Mi\"),\n\t\t\t\t\"gateways.istio-ingressgateway.type\": pulumi.Any(\"NodePort\"),\n\t\t\t\t\"global.monitoring.type\": pulumi.Any(\"cluster-monitoring\"),\n\t\t\t\t\"global.rancher.clusterId\": foo_customClusterSync.ClusterId,\n\t\t\t\t\"istio_cni.enabled\": pulumi.Any(\"false\"),\n\t\t\t\t\"istiocoredns.enabled\": pulumi.Any(\"false\"),\n\t\t\t\t\"kiali.enabled\": pulumi.Any(\"true\"),\n\t\t\t\t\"mixer.enabled\": pulumi.Any(\"true\"),\n\t\t\t\t\"mixer.policy.enabled\": pulumi.Any(\"true\"),\n\t\t\t\t\"mixer.policy.resources.limits.cpu\": pulumi.Any(\"4800m\"),\n\t\t\t\t\"mixer.policy.resources.limits.memory\": pulumi.Any(\"4096Mi\"),\n\t\t\t\t\"mixer.policy.resources.requests.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\"mixer.policy.resources.requests.memory\": pulumi.Any(\"1024Mi\"),\n\t\t\t\t\"mixer.telemetry.resources.limits.cpu\": pulumi.Any(\"4800m\"),\n\t\t\t\t\"mixer.telemetry.resources.limits.memory\": pulumi.Any(\"4096Mi\"),\n\t\t\t\t\"mixer.telemetry.resources.requests.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\"mixer.telemetry.resources.requests.memory\": pulumi.Any(\"1024Mi\"),\n\t\t\t\t\"mtls.enabled\": pulumi.Any(false),\n\t\t\t\t\"nodeagent.enabled\": pulumi.Any(false),\n\t\t\t\t\"pilot.enabled\": pulumi.Any(true),\n\t\t\t\t\"pilot.resources.limits.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\"pilot.resources.limits.memory\": pulumi.Any(\"4096Mi\"),\n\t\t\t\t\"pilot.resources.requests.cpu\": pulumi.Any(\"500m\"),\n\t\t\t\t\"pilot.resources.requests.memory\": pulumi.Any(\"2048Mi\"),\n\t\t\t\t\"pilot.traceSampling\": pulumi.Any(\"1\"),\n\t\t\t\t\"security.enabled\": pulumi.Any(true),\n\t\t\t\t\"sidecarInjectorWebhook.enabled\": pulumi.Any(true),\n\t\t\t\t\"tracing.enabled\": pulumi.Any(true),\n\t\t\t\t\"tracing.jaeger.resources.limits.cpu\": pulumi.Any(\"500m\"),\n\t\t\t\t\"tracing.jaeger.resources.limits.memory\": pulumi.Any(\"1024Mi\"),\n\t\t\t\t\"tracing.jaeger.resources.requests.cpu\": pulumi.Any(\"100m\"),\n\t\t\t\t\"tracing.jaeger.resources.requests.memory\": pulumi.Any(\"100Mi\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Creating Rancher v2 RKE cluster assigning a node pool (overlapped planes)\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 RKE Cluster\nconst foo_custom = new rancher2.Cluster(\"foo-custom\", {\n description: \"Foo rancher2 custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n },\n});\n// Create a new rancher2 Node Template\nconst fooNodeTemplate = new rancher2.NodeTemplate(\"fooNodeTemplate\", {\n description: \"foo test\",\n amazonec2Config: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n ami: \"\u003cAMI_ID\u003e\",\n region: \"\u003cREGION\u003e\",\n securityGroups: [\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnetId: \"\u003cSUBNET_ID\u003e\",\n vpcId: \"\u003cVPC_ID\u003e\",\n zone: \"\u003cZONE\u003e\",\n },\n});\n// Create a new rancher2 Node Pool\nconst fooNodePool = new rancher2.NodePool(\"fooNodePool\", {\n clusterId: foo_custom.id,\n hostnamePrefix: \"foo-cluster-0\",\n nodeTemplateId: fooNodeTemplate.id,\n quantity: 3,\n controlPlane: true,\n etcd: true,\n worker: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 RKE Cluster\nfoo_custom = rancher2.Cluster(\"foo-custom\",\n description=\"Foo rancher2 custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n ))\n# Create a new rancher2 Node Template\nfoo_node_template = rancher2.NodeTemplate(\"fooNodeTemplate\",\n description=\"foo test\",\n amazonec2_config=rancher2.NodeTemplateAmazonec2ConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ami=\"\u003cAMI_ID\u003e\",\n region=\"\u003cREGION\u003e\",\n security_groups=[\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnet_id=\"\u003cSUBNET_ID\u003e\",\n vpc_id=\"\u003cVPC_ID\u003e\",\n zone=\"\u003cZONE\u003e\",\n ))\n# Create a new rancher2 Node Pool\nfoo_node_pool = rancher2.NodePool(\"fooNodePool\",\n cluster_id=foo_custom.id,\n hostname_prefix=\"foo-cluster-0\",\n node_template_id=foo_node_template.id,\n quantity=3,\n control_plane=True,\n etcd=True,\n worker=True)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 RKE Cluster\n var foo_custom = new Rancher2.Cluster(\"foo-custom\", new Rancher2.ClusterArgs\n {\n Description = \"Foo rancher2 custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n },\n });\n // Create a new rancher2 Node Template\n var fooNodeTemplate = new Rancher2.NodeTemplate(\"fooNodeTemplate\", new Rancher2.NodeTemplateArgs\n {\n Description = \"foo test\",\n Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n Ami = \"\u003cAMI_ID\u003e\",\n Region = \"\u003cREGION\u003e\",\n SecurityGroups = \n {\n \"\u003cAWS_SECURITY_GROUP\u003e\",\n },\n SubnetId = \"\u003cSUBNET_ID\u003e\",\n VpcId = \"\u003cVPC_ID\u003e\",\n Zone = \"\u003cZONE\u003e\",\n },\n });\n // Create a new rancher2 Node Pool\n var fooNodePool = new Rancher2.NodePool(\"fooNodePool\", new Rancher2.NodePoolArgs\n {\n ClusterId = foo_custom.Id,\n HostnamePrefix = \"foo-cluster-0\",\n NodeTemplateId = fooNodeTemplate.Id,\n Quantity = 3,\n ControlPlane = true,\n Etcd = true,\n Worker = true,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo-custom\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Foo rancher2 custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooNodeTemplate, err := rancher2.NewNodeTemplate(ctx, \"fooNodeTemplate\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2Config: \u0026NodeTemplateAmazonec2ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t\tAmi: pulumi.String(\"\u003cAMI_ID\u003e\"),\n\t\t\t\tRegion: pulumi.String(\"\u003cREGION\u003e\"),\n\t\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"\u003cAWS_SECURITY_GROUP\u003e\"),\n\t\t\t\t},\n\t\t\t\tSubnetId: pulumi.String(\"\u003cSUBNET_ID\u003e\"),\n\t\t\t\tVpcId: pulumi.String(\"\u003cVPC_ID\u003e\"),\n\t\t\t\tZone: pulumi.String(\"\u003cZONE\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNodePool(ctx, \"fooNodePool\", \u0026rancher2.NodePoolArgs{\n\t\t\tClusterId: foo_custom.ID(),\n\t\t\tHostnamePrefix: pulumi.String(\"foo-cluster-0\"),\n\t\t\tNodeTemplateId: fooNodeTemplate.ID(),\n\t\t\tQuantity: pulumi.Int(3),\n\t\t\tControlPlane: pulumi.Bool(true),\n\t\t\tEtcd: pulumi.Bool(true),\n\t\t\tWorker: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Creating Rancher v2 RKE cluster from template. For Rancher v2.3.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 cluster template\nconst fooClusterTemplate = new rancher2.ClusterTemplate(\"fooClusterTemplate\", {\n members: [{\n accessType: \"owner\",\n userPrincipalId: \"local://user-XXXXX\",\n }],\n templateRevisions: [{\n name: \"V1\",\n clusterConfig: {\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n },\n },\n },\n \"default\": true,\n }],\n description: \"Test cluster template v2\",\n});\n// Create a new rancher2 RKE Cluster from template\nconst fooCluster = new rancher2.Cluster(\"fooCluster\", {\n clusterTemplateId: fooClusterTemplate.id,\n clusterTemplateRevisionId: fooClusterTemplate.templateRevisions.apply(templateRevisions =\u003e templateRevisions[0].id),\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 cluster template\nfoo_cluster_template = rancher2.ClusterTemplate(\"fooClusterTemplate\",\n members=[rancher2.ClusterTemplateMemberArgs(\n access_type=\"owner\",\n user_principal_id=\"local://user-XXXXX\",\n )],\n template_revisions=[rancher2.ClusterTemplateTemplateRevisionArgs(\n name=\"V1\",\n cluster_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigArgs(\n rke_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs(\n network=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs(\n etcd=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n ),\n ),\n ),\n default=True,\n )],\n description=\"Test cluster template v2\")\n# Create a new rancher2 RKE Cluster from template\nfoo_cluster = rancher2.Cluster(\"fooCluster\",\n cluster_template_id=foo_cluster_template.id,\n cluster_template_revision_id=foo_cluster_template.template_revisions[0].id)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 cluster template\n var fooClusterTemplate = new Rancher2.ClusterTemplate(\"fooClusterTemplate\", new Rancher2.ClusterTemplateArgs\n {\n Members = \n {\n new Rancher2.Inputs.ClusterTemplateMemberArgs\n {\n AccessType = \"owner\",\n UserPrincipalId = \"local://user-XXXXX\",\n },\n },\n TemplateRevisions = \n {\n new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs\n {\n Name = \"V1\",\n ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs\n {\n RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n },\n },\n },\n Default = true,\n },\n },\n Description = \"Test cluster template v2\",\n });\n // Create a new rancher2 RKE Cluster from template\n var fooCluster = new Rancher2.Cluster(\"fooCluster\", new Rancher2.ClusterArgs\n {\n ClusterTemplateId = fooClusterTemplate.Id,\n ClusterTemplateRevisionId = fooClusterTemplate.TemplateRevisions.Apply(templateRevisions =\u003e templateRevisions[0].Id),\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooClusterTemplate, err := rancher2.NewClusterTemplate(ctx, \"fooClusterTemplate\", \u0026rancher2.ClusterTemplateArgs{\n\t\t\tMembers: ClusterTemplateMemberArray{\n\t\t\t\t\u0026ClusterTemplateMemberArgs{\n\t\t\t\t\tAccessType: pulumi.String(\"owner\"),\n\t\t\t\t\tUserPrincipalId: pulumi.String(\"local://user-XXXXX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateRevisions: ClusterTemplateTemplateRevisionArray{\n\t\t\t\t\u0026ClusterTemplateTemplateRevisionArgs{\n\t\t\t\t\tName: pulumi.String(\"V1\"),\n\t\t\t\t\tClusterConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigArgs{\n\t\t\t\t\t\tRkeConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{\n\t\t\t\t\t\t\tNetwork: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{\n\t\t\t\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tServices: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{\n\t\t\t\t\t\t\t\tEtcd: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDefault: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Test cluster template v2\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCluster(ctx, \"fooCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tClusterTemplateId: fooClusterTemplate.ID(),\n\t\t\tClusterTemplateRevisionId: fooClusterTemplate.TemplateRevisions.ApplyT(func(templateRevisions []ClusterTemplateTemplateRevision) (string, error) {\n\t\t\t\treturn templateRevisions[0].Id, nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Creating Rancher v2 RKE cluster with upgrade strategy. For Rancher v2.4.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = new rancher2.Cluster(\"foo\", {\n description: \"Terraform custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n kubeApi: {\n auditLog: {\n configuration: {\n format: \"json\",\n maxAge: 5,\n maxBackup: 5,\n maxSize: 100,\n path: \"-\",\n policy: `apiVersion: audit.k8s.io/v1\nkind: Policy\nmetadata:\n creationTimestamp: null\nomitStages:\n- RequestReceived\nrules:\n- level: RequestResponse\n resources:\n - resources:\n - pods\n`,\n },\n enabled: true,\n },\n },\n },\n upgradeStrategy: {\n drain: true,\n maxUnavailableWorker: \"20%\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.Cluster(\"foo\",\n description=\"Terraform custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterRkeConfigServicesArgs(\n etcd=rancher2.ClusterRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n kube_api=rancher2.ClusterRkeConfigServicesKubeApiArgs(\n audit_log=rancher2.ClusterRkeConfigServicesKubeApiAuditLogArgs(\n configuration=rancher2.ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs(\n format=\"json\",\n max_age=5,\n max_backup=5,\n max_size=100,\n path=\"-\",\n policy=\"\"\"apiVersion: audit.k8s.io/v1\nkind: Policy\nmetadata:\n creationTimestamp: null\nomitStages:\n- RequestReceived\nrules:\n- level: RequestResponse\n resources:\n - resources:\n - pods\n\n\"\"\",\n ),\n enabled=True,\n ),\n ),\n ),\n upgrade_strategy=rancher2.ClusterRkeConfigUpgradeStrategyArgs(\n drain=True,\n max_unavailable_worker=\"20%\",\n ),\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = new Rancher2.Cluster(\"foo\", new Rancher2.ClusterArgs\n {\n Description = \"Terraform custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n KubeApi = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiArgs\n {\n AuditLog = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiAuditLogArgs\n {\n Configuration = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs\n {\n Format = \"json\",\n MaxAge = 5,\n MaxBackup = 5,\n MaxSize = 100,\n Path = \"-\",\n Policy = @\"apiVersion: audit.k8s.io/v1\nkind: Policy\nmetadata:\n creationTimestamp: null\nomitStages:\n- RequestReceived\nrules:\n- level: RequestResponse\n resources:\n - resources:\n - pods\n\n\",\n },\n Enabled = true,\n },\n },\n },\n UpgradeStrategy = new Rancher2.Inputs.ClusterRkeConfigUpgradeStrategyArgs\n {\n Drain = true,\n MaxUnavailableWorker = \"20%\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t\tServices: \u0026ClusterRkeConfigServicesArgs{\n\t\t\t\t\tEtcd: \u0026ClusterRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t},\n\t\t\t\t\tKubeApi: \u0026ClusterRkeConfigServicesKubeApiArgs{\n\t\t\t\t\t\tAuditLog: \u0026ClusterRkeConfigServicesKubeApiAuditLogArgs{\n\t\t\t\t\t\t\tConfiguration: \u0026ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs{\n\t\t\t\t\t\t\t\tFormat: pulumi.String(\"json\"),\n\t\t\t\t\t\t\t\tMaxAge: pulumi.Int(5),\n\t\t\t\t\t\t\t\tMaxBackup: pulumi.Int(5),\n\t\t\t\t\t\t\t\tMaxSize: pulumi.Int(100),\n\t\t\t\t\t\t\t\tPath: pulumi.String(\"-\"),\n\t\t\t\t\t\t\t\tPolicy: pulumi.String(fmt.Sprintf(\"%v%v%v%v%v%v%v%v%v%v%v%v\", \"apiVersion: audit.k8s.io/v1\\n\", \"kind: Policy\\n\", \"metadata:\\n\", \" creationTimestamp: null\\n\", \"omitStages:\\n\", \"- RequestReceived\\n\", \"rules:\\n\", \"- level: RequestResponse\\n\", \" resources:\\n\", \" - resources:\\n\", \" - pods\\n\", \"\\n\")),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tUpgradeStrategy: \u0026ClusterRkeConfigUpgradeStrategyArgs{\n\t\t\t\t\tDrain: pulumi.Bool(true),\n\t\t\t\t\tMaxUnavailableWorker: pulumi.String(fmt.Sprintf(\"%v%v\", \"20\", \"%\")),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Creating Rancher v2 RKE cluster with scheduled cluster scan. For Rancher v2.4.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = new rancher2.Cluster(\"foo\", {\n description: \"Terraform custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n },\n },\n scheduledClusterScan: {\n enabled: true,\n scanConfig: {\n cisScanConfig: {\n debugMaster: true,\n debugWorker: true,\n },\n },\n scheduleConfig: {\n cronSchedule: \"30 * * * *\",\n retention: 5,\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.Cluster(\"foo\",\n description=\"Terraform custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterRkeConfigServicesArgs(\n etcd=rancher2.ClusterRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n ),\n ),\n scheduled_cluster_scan=rancher2.ClusterScheduledClusterScanArgs(\n enabled=True,\n scan_config=rancher2.ClusterScheduledClusterScanScanConfigArgs(\n cis_scan_config=rancher2.ClusterScheduledClusterScanScanConfigCisScanConfigArgs(\n debug_master=True,\n debug_worker=True,\n ),\n ),\n schedule_config=rancher2.ClusterScheduledClusterScanScheduleConfigArgs(\n cron_schedule=\"30 * * * *\",\n retention=5,\n ),\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = new Rancher2.Cluster(\"foo\", new Rancher2.ClusterArgs\n {\n Description = \"Terraform custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n },\n },\n ScheduledClusterScan = new Rancher2.Inputs.ClusterScheduledClusterScanArgs\n {\n Enabled = true,\n ScanConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScanConfigArgs\n {\n CisScanConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScanConfigCisScanConfigArgs\n {\n DebugMaster = true,\n DebugWorker = true,\n },\n },\n ScheduleConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScheduleConfigArgs\n {\n CronSchedule = \"30 * * * *\",\n Retention = 5,\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t\tServices: \u0026ClusterRkeConfigServicesArgs{\n\t\t\t\t\tEtcd: \u0026ClusterRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tScheduledClusterScan: \u0026ClusterScheduledClusterScanArgs{\n\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\tScanConfig: \u0026ClusterScheduledClusterScanScanConfigArgs{\n\t\t\t\t\tCisScanConfig: \u0026ClusterScheduledClusterScanScanConfigCisScanConfigArgs{\n\t\t\t\t\t\tDebugMaster: pulumi.Bool(true),\n\t\t\t\t\t\tDebugWorker: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tScheduleConfig: \u0026ClusterScheduledClusterScanScheduleConfigArgs{\n\t\t\t\t\tCronSchedule: pulumi.String(\"30 * * * *\"),\n\t\t\t\t\tRetention: pulumi.Int(5),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Importing EKS cluster to Rancher v2, using `eks_config_v2`. For Rancher v2.5.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst fooCloudCredential = new rancher2.CloudCredential(\"fooCloudCredential\", {\n description: \"foo test\",\n amazonec2CredentialConfig: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n },\n});\nconst fooCluster = new rancher2.Cluster(\"fooCluster\", {\n description: \"Terraform EKS cluster\",\n eksConfigV2: {\n cloudCredentialId: fooCloudCredential.id,\n name: \"\u003cCLUSTER_NAME\u003e\",\n region: \"\u003cEKS_REGION\u003e\",\n imported: true,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_cloud_credential = rancher2.CloudCredential(\"fooCloudCredential\",\n description=\"foo test\",\n amazonec2_credential_config=rancher2.CloudCredentialAmazonec2CredentialConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ))\nfoo_cluster = rancher2.Cluster(\"fooCluster\",\n description=\"Terraform EKS cluster\",\n eks_config_v2=rancher2.ClusterEksConfigV2Args(\n cloud_credential_id=foo_cloud_credential.id,\n name=\"\u003cCLUSTER_NAME\u003e\",\n region=\"\u003cEKS_REGION\u003e\",\n imported=True,\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var fooCloudCredential = new Rancher2.CloudCredential(\"fooCloudCredential\", new Rancher2.CloudCredentialArgs\n {\n Description = \"foo test\",\n Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n },\n });\n var fooCluster = new Rancher2.Cluster(\"fooCluster\", new Rancher2.ClusterArgs\n {\n Description = \"Terraform EKS cluster\",\n EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args\n {\n CloudCredentialId = fooCloudCredential.Id,\n Name = \"\u003cCLUSTER_NAME\u003e\",\n Region = \"\u003cEKS_REGION\u003e\",\n Imported = true,\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCloudCredential, err := rancher2.NewCloudCredential(ctx, \"fooCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2CredentialConfig: \u0026CloudCredentialAmazonec2CredentialConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCluster(ctx, \"fooCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform EKS cluster\"),\n\t\t\tEksConfigV2: \u0026ClusterEksConfigV2Args{\n\t\t\t\tCloudCredentialId: fooCloudCredential.ID(),\n\t\t\t\tName: pulumi.String(\"\u003cCLUSTER_NAME\u003e\"),\n\t\t\t\tRegion: pulumi.String(\"\u003cEKS_REGION\u003e\"),\n\t\t\t\tImported: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Creating EKS cluster from Rancher v2, using `eks_config_v2`. For Rancher v2.5.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst fooCloudCredential = new rancher2.CloudCredential(\"fooCloudCredential\", {\n description: \"foo test\",\n amazonec2CredentialConfig: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n },\n});\nconst fooCluster = new rancher2.Cluster(\"fooCluster\", {\n description: \"Terraform EKS cluster\",\n eksConfigV2: {\n cloudCredentialId: fooCloudCredential.id,\n region: \"\u003cEKS_REGION\u003e\",\n kubernetesVersion: \"1.17\",\n loggingTypes: [\n \"audit\",\n \"api\",\n ],\n nodeGroups: [\n {\n name: \"node_group1\",\n instanceType: \"t3.medium\",\n desiredSize: 3,\n maxSize: 5,\n },\n {\n name: \"node_group2\",\n instanceType: \"m5.xlarge\",\n desiredSize: 2,\n maxSize: 3,\n },\n ],\n privateAccess: true,\n publicAccess: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_cloud_credential = rancher2.CloudCredential(\"fooCloudCredential\",\n description=\"foo test\",\n amazonec2_credential_config=rancher2.CloudCredentialAmazonec2CredentialConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ))\nfoo_cluster = rancher2.Cluster(\"fooCluster\",\n description=\"Terraform EKS cluster\",\n eks_config_v2=rancher2.ClusterEksConfigV2Args(\n cloud_credential_id=foo_cloud_credential.id,\n region=\"\u003cEKS_REGION\u003e\",\n kubernetes_version=\"1.17\",\n logging_types=[\n \"audit\",\n \"api\",\n ],\n node_groups=[\n rancher2.ClusterEksConfigV2NodeGroupArgs(\n name=\"node_group1\",\n instance_type=\"t3.medium\",\n desired_size=3,\n max_size=5,\n ),\n rancher2.ClusterEksConfigV2NodeGroupArgs(\n name=\"node_group2\",\n instance_type=\"m5.xlarge\",\n desired_size=2,\n max_size=3,\n ),\n ],\n private_access=True,\n public_access=False,\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var fooCloudCredential = new Rancher2.CloudCredential(\"fooCloudCredential\", new Rancher2.CloudCredentialArgs\n {\n Description = \"foo test\",\n Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n },\n });\n var fooCluster = new Rancher2.Cluster(\"fooCluster\", new Rancher2.ClusterArgs\n {\n Description = \"Terraform EKS cluster\",\n EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args\n {\n CloudCredentialId = fooCloudCredential.Id,\n Region = \"\u003cEKS_REGION\u003e\",\n KubernetesVersion = \"1.17\",\n LoggingTypes = \n {\n \"audit\",\n \"api\",\n },\n NodeGroups = \n {\n new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs\n {\n Name = \"node_group1\",\n InstanceType = \"t3.medium\",\n DesiredSize = 3,\n MaxSize = 5,\n },\n new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs\n {\n Name = \"node_group2\",\n InstanceType = \"m5.xlarge\",\n DesiredSize = 2,\n MaxSize = 3,\n },\n },\n PrivateAccess = true,\n PublicAccess = false,\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCloudCredential, err := rancher2.NewCloudCredential(ctx, \"fooCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2CredentialConfig: \u0026CloudCredentialAmazonec2CredentialConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCluster(ctx, \"fooCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform EKS cluster\"),\n\t\t\tEksConfigV2: \u0026ClusterEksConfigV2Args{\n\t\t\t\tCloudCredentialId: fooCloudCredential.ID(),\n\t\t\t\tRegion: pulumi.String(\"\u003cEKS_REGION\u003e\"),\n\t\t\t\tKubernetesVersion: pulumi.String(\"1.17\"),\n\t\t\t\tLoggingTypes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"audit\"),\n\t\t\t\t\tpulumi.String(\"api\"),\n\t\t\t\t},\n\t\t\t\tNodeGroups: ClusterEksConfigV2NodeGroupArray{\n\t\t\t\t\t\u0026ClusterEksConfigV2NodeGroupArgs{\n\t\t\t\t\t\tName: pulumi.String(\"node_group1\"),\n\t\t\t\t\t\tInstanceType: pulumi.String(\"t3.medium\"),\n\t\t\t\t\t\tDesiredSize: pulumi.Int(3),\n\t\t\t\t\t\tMaxSize: pulumi.Int(5),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026ClusterEksConfigV2NodeGroupArgs{\n\t\t\t\t\t\tName: pulumi.String(\"node_group2\"),\n\t\t\t\t\t\tInstanceType: pulumi.String(\"m5.xlarge\"),\n\t\t\t\t\t\tDesiredSize: pulumi.Int(2),\n\t\t\t\t\t\tMaxSize: pulumi.Int(3),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tPrivateAccess: pulumi.Bool(true),\n\t\t\t\tPublicAccess: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Creating EKS cluster from Rancher v2, using `eks_config_v2` and launch template. For Rancher v2.5.6 or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst fooCloudCredential = new rancher2.CloudCredential(\"fooCloudCredential\", {\n description: \"foo test\",\n amazonec2CredentialConfig: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n },\n});\nconst fooCluster = new rancher2.Cluster(\"fooCluster\", {\n description: \"Terraform EKS cluster\",\n eksConfigV2: {\n cloudCredentialId: fooCloudCredential.id,\n region: \"\u003cEKS_REGION\u003e\",\n kubernetesVersion: \"1.17\",\n loggingTypes: [\n \"audit\",\n \"api\",\n ],\n nodeGroups: [{\n desiredSize: 3,\n maxSize: 5,\n name: \"node_group1\",\n launchTemplates: [{\n id: \"\u003cEC2_LAUNCH_TEMPLATE_ID\u003e\",\n version: 1,\n }],\n }],\n privateAccess: true,\n publicAccess: true,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_cloud_credential = rancher2.CloudCredential(\"fooCloudCredential\",\n description=\"foo test\",\n amazonec2_credential_config=rancher2.CloudCredentialAmazonec2CredentialConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ))\nfoo_cluster = rancher2.Cluster(\"fooCluster\",\n description=\"Terraform EKS cluster\",\n eks_config_v2=rancher2.ClusterEksConfigV2Args(\n cloud_credential_id=foo_cloud_credential.id,\n region=\"\u003cEKS_REGION\u003e\",\n kubernetes_version=\"1.17\",\n logging_types=[\n \"audit\",\n \"api\",\n ],\n node_groups=[rancher2.ClusterEksConfigV2NodeGroupArgs(\n desired_size=3,\n max_size=5,\n name=\"node_group1\",\n launch_templates=[rancher2.ClusterEksConfigV2NodeGroupLaunchTemplateArgs(\n id=\"\u003cEC2_LAUNCH_TEMPLATE_ID\u003e\",\n version=1,\n )],\n )],\n private_access=True,\n public_access=True,\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var fooCloudCredential = new Rancher2.CloudCredential(\"fooCloudCredential\", new Rancher2.CloudCredentialArgs\n {\n Description = \"foo test\",\n Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n },\n });\n var fooCluster = new Rancher2.Cluster(\"fooCluster\", new Rancher2.ClusterArgs\n {\n Description = \"Terraform EKS cluster\",\n EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args\n {\n CloudCredentialId = fooCloudCredential.Id,\n Region = \"\u003cEKS_REGION\u003e\",\n KubernetesVersion = \"1.17\",\n LoggingTypes = \n {\n \"audit\",\n \"api\",\n },\n NodeGroups = \n {\n new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs\n {\n DesiredSize = 3,\n MaxSize = 5,\n Name = \"node_group1\",\n LaunchTemplates = \n {\n new Rancher2.Inputs.ClusterEksConfigV2NodeGroupLaunchTemplateArgs\n {\n Id = \"\u003cEC2_LAUNCH_TEMPLATE_ID\u003e\",\n Version = 1,\n },\n },\n },\n },\n PrivateAccess = true,\n PublicAccess = true,\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCloudCredential, err := rancher2.NewCloudCredential(ctx, \"fooCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2CredentialConfig: \u0026CloudCredentialAmazonec2CredentialConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCluster(ctx, \"fooCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform EKS cluster\"),\n\t\t\tEksConfigV2: \u0026ClusterEksConfigV2Args{\n\t\t\t\tCloudCredentialId: fooCloudCredential.ID(),\n\t\t\t\tRegion: pulumi.String(\"\u003cEKS_REGION\u003e\"),\n\t\t\t\tKubernetesVersion: pulumi.String(\"1.17\"),\n\t\t\t\tLoggingTypes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"audit\"),\n\t\t\t\t\tpulumi.String(\"api\"),\n\t\t\t\t},\n\t\t\t\tNodeGroups: ClusterEksConfigV2NodeGroupArray{\n\t\t\t\t\t\u0026ClusterEksConfigV2NodeGroupArgs{\n\t\t\t\t\t\tDesiredSize: pulumi.Int(3),\n\t\t\t\t\t\tMaxSize: pulumi.Int(5),\n\t\t\t\t\t\tName: pulumi.String(\"node_group1\"),\n\t\t\t\t\t\tLaunchTemplates: ClusterEksConfigV2NodeGroupLaunchTemplateArray{\n\t\t\t\t\t\t\t\u0026ClusterEksConfigV2NodeGroupLaunchTemplateArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"\u003cEC2_LAUNCH_TEMPLATE_ID\u003e\"),\n\t\t\t\t\t\t\t\tVersion: pulumi.Int(1),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tPrivateAccess: pulumi.Bool(true),\n\t\t\t\tPublicAccess: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Creating AKS cluster from Rancher v2, using `aks_config_v2`. For Rancher v2.6.0 or above (Tech preview)\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo_aks = new rancher2.CloudCredential(\"foo-aks\", {azureCredentialConfig: {\n clientId: \"\u003cCLIENT_ID\u003e\",\n clientSecret: \"\u003cCLIENT_SECRET\u003e\",\n subscriptionId: \"\u003cSUBSCRIPTION_ID\u003e\",\n}});\nconst foo = new rancher2.Cluster(\"foo\", {\n description: \"Terraform AKS cluster\",\n aksConfigV2: {\n cloudCredentialId: foo_aks.id,\n resourceGroup: \"\u003cRESOURCE_GROUP\u003e\",\n resourceLocation: \"\u003cRESOURCE_LOCATION\u003e\",\n dnsPrefix: \"\u003cDNS_PREFIX\u003e\",\n kubernetesVersion: \"1.21.2\",\n networkPlugin: \"\u003cNETWORK_PLUGIN\u003e\",\n nodePools: [{\n availabilityZones: [\n \"1\",\n \"2\",\n \"3\",\n ],\n name: \"\u003cNODEPOOL_NAME\u003e\",\n count: 1,\n orchestratorVersion: \"1.21.2\",\n osDiskSizeGb: 128,\n vmSize: \"Standard_DS2_v2\",\n }],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_aks = rancher2.CloudCredential(\"foo-aks\", azure_credential_config=rancher2.CloudCredentialAzureCredentialConfigArgs(\n client_id=\"\u003cCLIENT_ID\u003e\",\n client_secret=\"\u003cCLIENT_SECRET\u003e\",\n subscription_id=\"\u003cSUBSCRIPTION_ID\u003e\",\n))\nfoo = rancher2.Cluster(\"foo\",\n description=\"Terraform AKS cluster\",\n aks_config_v2=rancher2.ClusterAksConfigV2Args(\n cloud_credential_id=foo_aks.id,\n resource_group=\"\u003cRESOURCE_GROUP\u003e\",\n resource_location=\"\u003cRESOURCE_LOCATION\u003e\",\n dns_prefix=\"\u003cDNS_PREFIX\u003e\",\n kubernetes_version=\"1.21.2\",\n network_plugin=\"\u003cNETWORK_PLUGIN\u003e\",\n node_pools=[rancher2.ClusterAksConfigV2NodePoolArgs(\n availability_zones=[\n \"1\",\n \"2\",\n \"3\",\n ],\n name=\"\u003cNODEPOOL_NAME\u003e\",\n count=1,\n orchestrator_version=\"1.21.2\",\n os_disk_size_gb=128,\n vm_size=\"Standard_DS2_v2\",\n )],\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo_aks = new Rancher2.CloudCredential(\"foo-aks\", new Rancher2.CloudCredentialArgs\n {\n AzureCredentialConfig = new Rancher2.Inputs.CloudCredentialAzureCredentialConfigArgs\n {\n ClientId = \"\u003cCLIENT_ID\u003e\",\n ClientSecret = \"\u003cCLIENT_SECRET\u003e\",\n SubscriptionId = \"\u003cSUBSCRIPTION_ID\u003e\",\n },\n });\n var foo = new Rancher2.Cluster(\"foo\", new Rancher2.ClusterArgs\n {\n Description = \"Terraform AKS cluster\",\n AksConfigV2 = new Rancher2.Inputs.ClusterAksConfigV2Args\n {\n CloudCredentialId = foo_aks.Id,\n ResourceGroup = \"\u003cRESOURCE_GROUP\u003e\",\n ResourceLocation = \"\u003cRESOURCE_LOCATION\u003e\",\n DnsPrefix = \"\u003cDNS_PREFIX\u003e\",\n KubernetesVersion = \"1.21.2\",\n NetworkPlugin = \"\u003cNETWORK_PLUGIN\u003e\",\n NodePools = \n {\n new Rancher2.Inputs.ClusterAksConfigV2NodePoolArgs\n {\n AvailabilityZones = \n {\n \"1\",\n \"2\",\n \"3\",\n },\n Name = \"\u003cNODEPOOL_NAME\u003e\",\n Count = 1,\n OrchestratorVersion = \"1.21.2\",\n OsDiskSizeGb = 128,\n VmSize = \"Standard_DS2_v2\",\n },\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCloudCredential(ctx, \"foo-aks\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tAzureCredentialConfig: \u0026CloudCredentialAzureCredentialConfigArgs{\n\t\t\t\tClientId: pulumi.String(\"\u003cCLIENT_ID\u003e\"),\n\t\t\t\tClientSecret: pulumi.String(\"\u003cCLIENT_SECRET\u003e\"),\n\t\t\t\tSubscriptionId: pulumi.String(\"\u003cSUBSCRIPTION_ID\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCluster(ctx, \"foo\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform AKS cluster\"),\n\t\t\tAksConfigV2: \u0026ClusterAksConfigV2Args{\n\t\t\t\tCloudCredentialId: foo_aks.ID(),\n\t\t\t\tResourceGroup: pulumi.String(\"\u003cRESOURCE_GROUP\u003e\"),\n\t\t\t\tResourceLocation: pulumi.String(\"\u003cRESOURCE_LOCATION\u003e\"),\n\t\t\t\tDnsPrefix: pulumi.String(\"\u003cDNS_PREFIX\u003e\"),\n\t\t\t\tKubernetesVersion: pulumi.String(\"1.21.2\"),\n\t\t\t\tNetworkPlugin: pulumi.String(\"\u003cNETWORK_PLUGIN\u003e\"),\n\t\t\t\tNodePools: ClusterAksConfigV2NodePoolArray{\n\t\t\t\t\t\u0026ClusterAksConfigV2NodePoolArgs{\n\t\t\t\t\t\tAvailabilityZones: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"1\"),\n\t\t\t\t\t\t\tpulumi.String(\"2\"),\n\t\t\t\t\t\t\tpulumi.String(\"3\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"\u003cNODEPOOL_NAME\u003e\"),\n\t\t\t\t\t\tCount: pulumi.Int(1),\n\t\t\t\t\t\tOrchestratorVersion: pulumi.String(\"1.21.2\"),\n\t\t\t\t\t\tOsDiskSizeGb: pulumi.Int(128),\n\t\t\t\t\t\tVmSize: pulumi.String(\"Standard_DS2_v2\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nClusters can be imported using the Rancher Cluster ID\n\n```sh\n $ pulumi import rancher2:index/cluster:Cluster foo \u0026lt;CLUSTER_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Cluster resource. This can be used to create Clusters for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n\n**Note optional/computed arguments** If any `optional/computed` argument of this resource is defined by the user, removing it from tf file will NOT reset its value. To reset it, let its definition at tf file as empty/false object. Ex: `enable_cluster_monitoring = false`, `cloud_provider {}`, `name = \"\"`\n{{% example %}}\n### Creating Rancher v2 RKE cluster enabling and customizing monitoring\n\n**Note** Cluster monitoring version `0.2.0` or above, can't be enabled until cluster is fully deployed as [`kubeVersion`](https://github.com/rancher/system-charts/blob/52be656700468904b9bf15c3f39cd7112e1f8c9b/charts/rancher-monitoring/v0.2.0/Chart.yaml#L12) requirement has been introduced to helm chart \n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 RKE Cluster\nconst foo_custom = new rancher2.Cluster(\"foo-custom\", {\n clusterMonitoringInput: {\n answers: {\n \"exporter-kubelets.https\": true,\n \"exporter-node.enabled\": true,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": false,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n version: \"0.1.0\",\n },\n description: \"Foo rancher2 custom cluster\",\n enableClusterMonitoring: true,\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 RKE Cluster\nfoo_custom = rancher2.Cluster(\"foo-custom\",\n cluster_monitoring_input=rancher2.ClusterClusterMonitoringInputArgs(\n answers={\n \"exporter-kubelets.https\": True,\n \"exporter-node.enabled\": True,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": False,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n version=\"0.1.0\",\n ),\n description=\"Foo rancher2 custom cluster\",\n enable_cluster_monitoring=True,\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 RKE Cluster\n var foo_custom = new Rancher2.Cluster(\"foo-custom\", new()\n {\n ClusterMonitoringInput = new Rancher2.Inputs.ClusterClusterMonitoringInputArgs\n {\n Answers = \n {\n { \"exporter-kubelets.https\", true },\n { \"exporter-node.enabled\", true },\n { \"exporter-node.ports.metrics.port\", 9796 },\n { \"exporter-node.resources.limits.cpu\", \"200m\" },\n { \"exporter-node.resources.limits.memory\", \"200Mi\" },\n { \"grafana.persistence.enabled\", false },\n { \"grafana.persistence.size\", \"10Gi\" },\n { \"grafana.persistence.storageClass\", \"default\" },\n { \"operator.resources.limits.memory\", \"500Mi\" },\n { \"prometheus.persistence.enabled\", \"false\" },\n { \"prometheus.persistence.size\", \"50Gi\" },\n { \"prometheus.persistence.storageClass\", \"default\" },\n { \"prometheus.persistent.useReleaseName\", \"true\" },\n { \"prometheus.resources.core.limits.cpu\", \"1000m\" },\n { \"prometheus.resources.core.limits.memory\", \"1500Mi\" },\n { \"prometheus.resources.core.requests.cpu\", \"750m\" },\n { \"prometheus.resources.core.requests.memory\", \"750Mi\" },\n { \"prometheus.retention\", \"12h\" },\n },\n Version = \"0.1.0\",\n },\n Description = \"Foo rancher2 custom cluster\",\n EnableClusterMonitoring = true,\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo-custom\", \u0026rancher2.ClusterArgs{\n\t\t\tClusterMonitoringInput: \u0026ClusterClusterMonitoringInputArgs{\n\t\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\t\"exporter-kubelets.https\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.enabled\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.ports.metrics.port\": pulumi.Any(9796),\n\t\t\t\t\t\"exporter-node.resources.limits.cpu\": pulumi.Any(\"200m\"),\n\t\t\t\t\t\"exporter-node.resources.limits.memory\": pulumi.Any(\"200Mi\"),\n\t\t\t\t\t\"grafana.persistence.enabled\": pulumi.Any(false),\n\t\t\t\t\t\"grafana.persistence.size\": pulumi.Any(\"10Gi\"),\n\t\t\t\t\t\"grafana.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"operator.resources.limits.memory\": pulumi.Any(\"500Mi\"),\n\t\t\t\t\t\"prometheus.persistence.enabled\": pulumi.Any(\"false\"),\n\t\t\t\t\t\"prometheus.persistence.size\": pulumi.Any(\"50Gi\"),\n\t\t\t\t\t\"prometheus.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"prometheus.persistent.useReleaseName\": pulumi.Any(\"true\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.memory\": pulumi.Any(\"1500Mi\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.cpu\": pulumi.Any(\"750m\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.memory\": pulumi.Any(\"750Mi\"),\n\t\t\t\t\t\"prometheus.retention\": pulumi.Any(\"12h\"),\n\t\t\t\t},\n\t\t\t\tVersion: pulumi.String(\"0.1.0\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Foo rancher2 custom cluster\"),\n\t\t\tEnableClusterMonitoring: pulumi.Bool(true),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterClusterMonitoringInputArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo_custom = new Cluster(\"foo-custom\", ClusterArgs.builder() \n .clusterMonitoringInput(ClusterClusterMonitoringInputArgs.builder()\n .answers(Map.ofEntries(\n Map.entry(\"exporter-kubelets.https\", true),\n Map.entry(\"exporter-node.enabled\", true),\n Map.entry(\"exporter-node.ports.metrics.port\", 9796),\n Map.entry(\"exporter-node.resources.limits.cpu\", \"200m\"),\n Map.entry(\"exporter-node.resources.limits.memory\", \"200Mi\"),\n Map.entry(\"grafana.persistence.enabled\", false),\n Map.entry(\"grafana.persistence.size\", \"10Gi\"),\n Map.entry(\"grafana.persistence.storageClass\", \"default\"),\n Map.entry(\"operator.resources.limits.memory\", \"500Mi\"),\n Map.entry(\"prometheus.persistence.enabled\", \"false\"),\n Map.entry(\"prometheus.persistence.size\", \"50Gi\"),\n Map.entry(\"prometheus.persistence.storageClass\", \"default\"),\n Map.entry(\"prometheus.persistent.useReleaseName\", \"true\"),\n Map.entry(\"prometheus.resources.core.limits.cpu\", \"1000m\"),\n Map.entry(\"prometheus.resources.core.limits.memory\", \"1500Mi\"),\n Map.entry(\"prometheus.resources.core.requests.cpu\", \"750m\"),\n Map.entry(\"prometheus.resources.core.requests.memory\", \"750Mi\"),\n Map.entry(\"prometheus.retention\", \"12h\")\n ))\n .version(\"0.1.0\")\n .build())\n .description(\"Foo rancher2 custom cluster\")\n .enableClusterMonitoring(true)\n .rkeConfig(ClusterRkeConfigArgs.builder()\n .network(ClusterRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 RKE Cluster\n foo-custom:\n type: rancher2:Cluster\n properties:\n clusterMonitoringInput:\n answers:\n exporter-kubelets.https: true\n exporter-node.enabled: true\n exporter-node.ports.metrics.port: 9796\n exporter-node.resources.limits.cpu: 200m\n exporter-node.resources.limits.memory: 200Mi\n grafana.persistence.enabled: false\n grafana.persistence.size: 10Gi\n grafana.persistence.storageClass: default\n operator.resources.limits.memory: 500Mi\n prometheus.persistence.enabled: 'false'\n prometheus.persistence.size: 50Gi\n prometheus.persistence.storageClass: default\n prometheus.persistent.useReleaseName: 'true'\n prometheus.resources.core.limits.cpu: 1000m\n prometheus.resources.core.limits.memory: 1500Mi\n prometheus.resources.core.requests.cpu: 750m\n prometheus.resources.core.requests.memory: 750Mi\n prometheus.retention: 12h\n version: 0.1.0\n description: Foo rancher2 custom cluster\n enableClusterMonitoring: true\n rkeConfig:\n network:\n plugin: canal\n```\n{{% /example %}}\n{{% example %}}\n### Creating Rancher v2 RKE cluster enabling/customizing monitoring and istio\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 RKE Cluster\nconst foo_customCluster = new rancher2.Cluster(\"foo-customCluster\", {\n description: \"Foo rancher2 custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n },\n enableClusterMonitoring: true,\n clusterMonitoringInput: {\n answers: {\n \"exporter-kubelets.https\": true,\n \"exporter-node.enabled\": true,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": false,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n version: \"0.1.0\",\n },\n});\n// Create a new rancher2 Cluster Sync for foo-custom cluster\nconst foo_customClusterSync = new rancher2.ClusterSync(\"foo-customClusterSync\", {\n clusterId: foo_customCluster.id,\n waitMonitoring: foo_customCluster.enableClusterMonitoring,\n});\n// Create a new rancher2 Namespace\nconst foo_istio = new rancher2.Namespace(\"foo-istio\", {\n projectId: foo_customClusterSync.systemProjectId,\n description: \"istio namespace\",\n});\n// Create a new rancher2 App deploying istio (should wait until monitoring is up and running)\nconst istio = new rancher2.App(\"istio\", {\n catalogName: \"system-library\",\n description: \"Terraform app acceptance test\",\n projectId: foo_istio.projectId,\n templateName: \"rancher-istio\",\n templateVersion: \"0.1.1\",\n targetNamespace: foo_istio.id,\n answers: {\n \"certmanager.enabled\": false,\n enableCRDs: true,\n \"galley.enabled\": true,\n \"gateways.enabled\": false,\n \"gateways.istio-ingressgateway.resources.limits.cpu\": \"2000m\",\n \"gateways.istio-ingressgateway.resources.limits.memory\": \"1024Mi\",\n \"gateways.istio-ingressgateway.resources.requests.cpu\": \"100m\",\n \"gateways.istio-ingressgateway.resources.requests.memory\": \"128Mi\",\n \"gateways.istio-ingressgateway.type\": \"NodePort\",\n \"global.monitoring.type\": \"cluster-monitoring\",\n \"global.rancher.clusterId\": foo_customClusterSync.clusterId,\n \"istio_cni.enabled\": \"false\",\n \"istiocoredns.enabled\": \"false\",\n \"kiali.enabled\": \"true\",\n \"mixer.enabled\": \"true\",\n \"mixer.policy.enabled\": \"true\",\n \"mixer.policy.resources.limits.cpu\": \"4800m\",\n \"mixer.policy.resources.limits.memory\": \"4096Mi\",\n \"mixer.policy.resources.requests.cpu\": \"1000m\",\n \"mixer.policy.resources.requests.memory\": \"1024Mi\",\n \"mixer.telemetry.resources.limits.cpu\": \"4800m\",\n \"mixer.telemetry.resources.limits.memory\": \"4096Mi\",\n \"mixer.telemetry.resources.requests.cpu\": \"1000m\",\n \"mixer.telemetry.resources.requests.memory\": \"1024Mi\",\n \"mtls.enabled\": false,\n \"nodeagent.enabled\": false,\n \"pilot.enabled\": true,\n \"pilot.resources.limits.cpu\": \"1000m\",\n \"pilot.resources.limits.memory\": \"4096Mi\",\n \"pilot.resources.requests.cpu\": \"500m\",\n \"pilot.resources.requests.memory\": \"2048Mi\",\n \"pilot.traceSampling\": \"1\",\n \"security.enabled\": true,\n \"sidecarInjectorWebhook.enabled\": true,\n \"tracing.enabled\": true,\n \"tracing.jaeger.resources.limits.cpu\": \"500m\",\n \"tracing.jaeger.resources.limits.memory\": \"1024Mi\",\n \"tracing.jaeger.resources.requests.cpu\": \"100m\",\n \"tracing.jaeger.resources.requests.memory\": \"100Mi\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 RKE Cluster\nfoo_custom_cluster = rancher2.Cluster(\"foo-customCluster\",\n description=\"Foo rancher2 custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n ),\n enable_cluster_monitoring=True,\n cluster_monitoring_input=rancher2.ClusterClusterMonitoringInputArgs(\n answers={\n \"exporter-kubelets.https\": True,\n \"exporter-node.enabled\": True,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": False,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n version=\"0.1.0\",\n ))\n# Create a new rancher2 Cluster Sync for foo-custom cluster\nfoo_custom_cluster_sync = rancher2.ClusterSync(\"foo-customClusterSync\",\n cluster_id=foo_custom_cluster.id,\n wait_monitoring=foo_custom_cluster.enable_cluster_monitoring)\n# Create a new rancher2 Namespace\nfoo_istio = rancher2.Namespace(\"foo-istio\",\n project_id=foo_custom_cluster_sync.system_project_id,\n description=\"istio namespace\")\n# Create a new rancher2 App deploying istio (should wait until monitoring is up and running)\nistio = rancher2.App(\"istio\",\n catalog_name=\"system-library\",\n description=\"Terraform app acceptance test\",\n project_id=foo_istio.project_id,\n template_name=\"rancher-istio\",\n template_version=\"0.1.1\",\n target_namespace=foo_istio.id,\n answers={\n \"certmanager.enabled\": False,\n \"enableCRDs\": True,\n \"galley.enabled\": True,\n \"gateways.enabled\": False,\n \"gateways.istio-ingressgateway.resources.limits.cpu\": \"2000m\",\n \"gateways.istio-ingressgateway.resources.limits.memory\": \"1024Mi\",\n \"gateways.istio-ingressgateway.resources.requests.cpu\": \"100m\",\n \"gateways.istio-ingressgateway.resources.requests.memory\": \"128Mi\",\n \"gateways.istio-ingressgateway.type\": \"NodePort\",\n \"global.monitoring.type\": \"cluster-monitoring\",\n \"global.rancher.clusterId\": foo_custom_cluster_sync.cluster_id,\n \"istio_cni.enabled\": \"false\",\n \"istiocoredns.enabled\": \"false\",\n \"kiali.enabled\": \"true\",\n \"mixer.enabled\": \"true\",\n \"mixer.policy.enabled\": \"true\",\n \"mixer.policy.resources.limits.cpu\": \"4800m\",\n \"mixer.policy.resources.limits.memory\": \"4096Mi\",\n \"mixer.policy.resources.requests.cpu\": \"1000m\",\n \"mixer.policy.resources.requests.memory\": \"1024Mi\",\n \"mixer.telemetry.resources.limits.cpu\": \"4800m\",\n \"mixer.telemetry.resources.limits.memory\": \"4096Mi\",\n \"mixer.telemetry.resources.requests.cpu\": \"1000m\",\n \"mixer.telemetry.resources.requests.memory\": \"1024Mi\",\n \"mtls.enabled\": False,\n \"nodeagent.enabled\": False,\n \"pilot.enabled\": True,\n \"pilot.resources.limits.cpu\": \"1000m\",\n \"pilot.resources.limits.memory\": \"4096Mi\",\n \"pilot.resources.requests.cpu\": \"500m\",\n \"pilot.resources.requests.memory\": \"2048Mi\",\n \"pilot.traceSampling\": \"1\",\n \"security.enabled\": True,\n \"sidecarInjectorWebhook.enabled\": True,\n \"tracing.enabled\": True,\n \"tracing.jaeger.resources.limits.cpu\": \"500m\",\n \"tracing.jaeger.resources.limits.memory\": \"1024Mi\",\n \"tracing.jaeger.resources.requests.cpu\": \"100m\",\n \"tracing.jaeger.resources.requests.memory\": \"100Mi\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 RKE Cluster\n var foo_customCluster = new Rancher2.Cluster(\"foo-customCluster\", new()\n {\n Description = \"Foo rancher2 custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n },\n EnableClusterMonitoring = true,\n ClusterMonitoringInput = new Rancher2.Inputs.ClusterClusterMonitoringInputArgs\n {\n Answers = \n {\n { \"exporter-kubelets.https\", true },\n { \"exporter-node.enabled\", true },\n { \"exporter-node.ports.metrics.port\", 9796 },\n { \"exporter-node.resources.limits.cpu\", \"200m\" },\n { \"exporter-node.resources.limits.memory\", \"200Mi\" },\n { \"grafana.persistence.enabled\", false },\n { \"grafana.persistence.size\", \"10Gi\" },\n { \"grafana.persistence.storageClass\", \"default\" },\n { \"operator.resources.limits.memory\", \"500Mi\" },\n { \"prometheus.persistence.enabled\", \"false\" },\n { \"prometheus.persistence.size\", \"50Gi\" },\n { \"prometheus.persistence.storageClass\", \"default\" },\n { \"prometheus.persistent.useReleaseName\", \"true\" },\n { \"prometheus.resources.core.limits.cpu\", \"1000m\" },\n { \"prometheus.resources.core.limits.memory\", \"1500Mi\" },\n { \"prometheus.resources.core.requests.cpu\", \"750m\" },\n { \"prometheus.resources.core.requests.memory\", \"750Mi\" },\n { \"prometheus.retention\", \"12h\" },\n },\n Version = \"0.1.0\",\n },\n });\n\n // Create a new rancher2 Cluster Sync for foo-custom cluster\n var foo_customClusterSync = new Rancher2.ClusterSync(\"foo-customClusterSync\", new()\n {\n ClusterId = foo_customCluster.Id,\n WaitMonitoring = foo_customCluster.EnableClusterMonitoring,\n });\n\n // Create a new rancher2 Namespace\n var foo_istio = new Rancher2.Namespace(\"foo-istio\", new()\n {\n ProjectId = foo_customClusterSync.SystemProjectId,\n Description = \"istio namespace\",\n });\n\n // Create a new rancher2 App deploying istio (should wait until monitoring is up and running)\n var istio = new Rancher2.App(\"istio\", new()\n {\n CatalogName = \"system-library\",\n Description = \"Terraform app acceptance test\",\n ProjectId = foo_istio.ProjectId,\n TemplateName = \"rancher-istio\",\n TemplateVersion = \"0.1.1\",\n TargetNamespace = foo_istio.Id,\n Answers = \n {\n { \"certmanager.enabled\", false },\n { \"enableCRDs\", true },\n { \"galley.enabled\", true },\n { \"gateways.enabled\", false },\n { \"gateways.istio-ingressgateway.resources.limits.cpu\", \"2000m\" },\n { \"gateways.istio-ingressgateway.resources.limits.memory\", \"1024Mi\" },\n { \"gateways.istio-ingressgateway.resources.requests.cpu\", \"100m\" },\n { \"gateways.istio-ingressgateway.resources.requests.memory\", \"128Mi\" },\n { \"gateways.istio-ingressgateway.type\", \"NodePort\" },\n { \"global.monitoring.type\", \"cluster-monitoring\" },\n { \"global.rancher.clusterId\", foo_customClusterSync.ClusterId },\n { \"istio_cni.enabled\", \"false\" },\n { \"istiocoredns.enabled\", \"false\" },\n { \"kiali.enabled\", \"true\" },\n { \"mixer.enabled\", \"true\" },\n { \"mixer.policy.enabled\", \"true\" },\n { \"mixer.policy.resources.limits.cpu\", \"4800m\" },\n { \"mixer.policy.resources.limits.memory\", \"4096Mi\" },\n { \"mixer.policy.resources.requests.cpu\", \"1000m\" },\n { \"mixer.policy.resources.requests.memory\", \"1024Mi\" },\n { \"mixer.telemetry.resources.limits.cpu\", \"4800m\" },\n { \"mixer.telemetry.resources.limits.memory\", \"4096Mi\" },\n { \"mixer.telemetry.resources.requests.cpu\", \"1000m\" },\n { \"mixer.telemetry.resources.requests.memory\", \"1024Mi\" },\n { \"mtls.enabled\", false },\n { \"nodeagent.enabled\", false },\n { \"pilot.enabled\", true },\n { \"pilot.resources.limits.cpu\", \"1000m\" },\n { \"pilot.resources.limits.memory\", \"4096Mi\" },\n { \"pilot.resources.requests.cpu\", \"500m\" },\n { \"pilot.resources.requests.memory\", \"2048Mi\" },\n { \"pilot.traceSampling\", \"1\" },\n { \"security.enabled\", true },\n { \"sidecarInjectorWebhook.enabled\", true },\n { \"tracing.enabled\", true },\n { \"tracing.jaeger.resources.limits.cpu\", \"500m\" },\n { \"tracing.jaeger.resources.limits.memory\", \"1024Mi\" },\n { \"tracing.jaeger.resources.requests.cpu\", \"100m\" },\n { \"tracing.jaeger.resources.requests.memory\", \"100Mi\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo-customCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Foo rancher2 custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tEnableClusterMonitoring: pulumi.Bool(true),\n\t\t\tClusterMonitoringInput: \u0026ClusterClusterMonitoringInputArgs{\n\t\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\t\"exporter-kubelets.https\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.enabled\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.ports.metrics.port\": pulumi.Any(9796),\n\t\t\t\t\t\"exporter-node.resources.limits.cpu\": pulumi.Any(\"200m\"),\n\t\t\t\t\t\"exporter-node.resources.limits.memory\": pulumi.Any(\"200Mi\"),\n\t\t\t\t\t\"grafana.persistence.enabled\": pulumi.Any(false),\n\t\t\t\t\t\"grafana.persistence.size\": pulumi.Any(\"10Gi\"),\n\t\t\t\t\t\"grafana.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"operator.resources.limits.memory\": pulumi.Any(\"500Mi\"),\n\t\t\t\t\t\"prometheus.persistence.enabled\": pulumi.Any(\"false\"),\n\t\t\t\t\t\"prometheus.persistence.size\": pulumi.Any(\"50Gi\"),\n\t\t\t\t\t\"prometheus.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"prometheus.persistent.useReleaseName\": pulumi.Any(\"true\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.memory\": pulumi.Any(\"1500Mi\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.cpu\": pulumi.Any(\"750m\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.memory\": pulumi.Any(\"750Mi\"),\n\t\t\t\t\t\"prometheus.retention\": pulumi.Any(\"12h\"),\n\t\t\t\t},\n\t\t\t\tVersion: pulumi.String(\"0.1.0\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewClusterSync(ctx, \"foo-customClusterSync\", \u0026rancher2.ClusterSyncArgs{\n\t\t\tClusterId: foo_customCluster.ID(),\n\t\t\tWaitMonitoring: foo_customCluster.EnableClusterMonitoring,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNamespace(ctx, \"foo-istio\", \u0026rancher2.NamespaceArgs{\n\t\t\tProjectId: foo_customClusterSync.SystemProjectId,\n\t\t\tDescription: pulumi.String(\"istio namespace\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewApp(ctx, \"istio\", \u0026rancher2.AppArgs{\n\t\t\tCatalogName: pulumi.String(\"system-library\"),\n\t\t\tDescription: pulumi.String(\"Terraform app acceptance test\"),\n\t\t\tProjectId: foo_istio.ProjectId,\n\t\t\tTemplateName: pulumi.String(\"rancher-istio\"),\n\t\t\tTemplateVersion: pulumi.String(\"0.1.1\"),\n\t\t\tTargetNamespace: foo_istio.ID(),\n\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\"certmanager.enabled\": pulumi.Any(false),\n\t\t\t\t\"enableCRDs\": pulumi.Any(true),\n\t\t\t\t\"galley.enabled\": pulumi.Any(true),\n\t\t\t\t\"gateways.enabled\": pulumi.Any(false),\n\t\t\t\t\"gateways.istio-ingressgateway.resources.limits.cpu\": pulumi.Any(\"2000m\"),\n\t\t\t\t\"gateways.istio-ingressgateway.resources.limits.memory\": pulumi.Any(\"1024Mi\"),\n\t\t\t\t\"gateways.istio-ingressgateway.resources.requests.cpu\": pulumi.Any(\"100m\"),\n\t\t\t\t\"gateways.istio-ingressgateway.resources.requests.memory\": pulumi.Any(\"128Mi\"),\n\t\t\t\t\"gateways.istio-ingressgateway.type\": pulumi.Any(\"NodePort\"),\n\t\t\t\t\"global.monitoring.type\": pulumi.Any(\"cluster-monitoring\"),\n\t\t\t\t\"global.rancher.clusterId\": foo_customClusterSync.ClusterId,\n\t\t\t\t\"istio_cni.enabled\": pulumi.Any(\"false\"),\n\t\t\t\t\"istiocoredns.enabled\": pulumi.Any(\"false\"),\n\t\t\t\t\"kiali.enabled\": pulumi.Any(\"true\"),\n\t\t\t\t\"mixer.enabled\": pulumi.Any(\"true\"),\n\t\t\t\t\"mixer.policy.enabled\": pulumi.Any(\"true\"),\n\t\t\t\t\"mixer.policy.resources.limits.cpu\": pulumi.Any(\"4800m\"),\n\t\t\t\t\"mixer.policy.resources.limits.memory\": pulumi.Any(\"4096Mi\"),\n\t\t\t\t\"mixer.policy.resources.requests.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\"mixer.policy.resources.requests.memory\": pulumi.Any(\"1024Mi\"),\n\t\t\t\t\"mixer.telemetry.resources.limits.cpu\": pulumi.Any(\"4800m\"),\n\t\t\t\t\"mixer.telemetry.resources.limits.memory\": pulumi.Any(\"4096Mi\"),\n\t\t\t\t\"mixer.telemetry.resources.requests.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\"mixer.telemetry.resources.requests.memory\": pulumi.Any(\"1024Mi\"),\n\t\t\t\t\"mtls.enabled\": pulumi.Any(false),\n\t\t\t\t\"nodeagent.enabled\": pulumi.Any(false),\n\t\t\t\t\"pilot.enabled\": pulumi.Any(true),\n\t\t\t\t\"pilot.resources.limits.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\"pilot.resources.limits.memory\": pulumi.Any(\"4096Mi\"),\n\t\t\t\t\"pilot.resources.requests.cpu\": pulumi.Any(\"500m\"),\n\t\t\t\t\"pilot.resources.requests.memory\": pulumi.Any(\"2048Mi\"),\n\t\t\t\t\"pilot.traceSampling\": pulumi.Any(\"1\"),\n\t\t\t\t\"security.enabled\": pulumi.Any(true),\n\t\t\t\t\"sidecarInjectorWebhook.enabled\": pulumi.Any(true),\n\t\t\t\t\"tracing.enabled\": pulumi.Any(true),\n\t\t\t\t\"tracing.jaeger.resources.limits.cpu\": pulumi.Any(\"500m\"),\n\t\t\t\t\"tracing.jaeger.resources.limits.memory\": pulumi.Any(\"1024Mi\"),\n\t\t\t\t\"tracing.jaeger.resources.requests.cpu\": pulumi.Any(\"100m\"),\n\t\t\t\t\"tracing.jaeger.resources.requests.memory\": pulumi.Any(\"100Mi\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.inputs.ClusterClusterMonitoringInputArgs;\nimport com.pulumi.rancher2.ClusterSync;\nimport com.pulumi.rancher2.ClusterSyncArgs;\nimport com.pulumi.rancher2.Namespace;\nimport com.pulumi.rancher2.NamespaceArgs;\nimport com.pulumi.rancher2.App;\nimport com.pulumi.rancher2.AppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo_customCluster = new Cluster(\"foo-customCluster\", ClusterArgs.builder() \n .description(\"Foo rancher2 custom cluster\")\n .rkeConfig(ClusterRkeConfigArgs.builder()\n .network(ClusterRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .build())\n .enableClusterMonitoring(true)\n .clusterMonitoringInput(ClusterClusterMonitoringInputArgs.builder()\n .answers(Map.ofEntries(\n Map.entry(\"exporter-kubelets.https\", true),\n Map.entry(\"exporter-node.enabled\", true),\n Map.entry(\"exporter-node.ports.metrics.port\", 9796),\n Map.entry(\"exporter-node.resources.limits.cpu\", \"200m\"),\n Map.entry(\"exporter-node.resources.limits.memory\", \"200Mi\"),\n Map.entry(\"grafana.persistence.enabled\", false),\n Map.entry(\"grafana.persistence.size\", \"10Gi\"),\n Map.entry(\"grafana.persistence.storageClass\", \"default\"),\n Map.entry(\"operator.resources.limits.memory\", \"500Mi\"),\n Map.entry(\"prometheus.persistence.enabled\", \"false\"),\n Map.entry(\"prometheus.persistence.size\", \"50Gi\"),\n Map.entry(\"prometheus.persistence.storageClass\", \"default\"),\n Map.entry(\"prometheus.persistent.useReleaseName\", \"true\"),\n Map.entry(\"prometheus.resources.core.limits.cpu\", \"1000m\"),\n Map.entry(\"prometheus.resources.core.limits.memory\", \"1500Mi\"),\n Map.entry(\"prometheus.resources.core.requests.cpu\", \"750m\"),\n Map.entry(\"prometheus.resources.core.requests.memory\", \"750Mi\"),\n Map.entry(\"prometheus.retention\", \"12h\")\n ))\n .version(\"0.1.0\")\n .build())\n .build());\n\n var foo_customClusterSync = new ClusterSync(\"foo-customClusterSync\", ClusterSyncArgs.builder() \n .clusterId(foo_customCluster.id())\n .waitMonitoring(foo_customCluster.enableClusterMonitoring())\n .build());\n\n var foo_istio = new Namespace(\"foo-istio\", NamespaceArgs.builder() \n .projectId(foo_customClusterSync.systemProjectId())\n .description(\"istio namespace\")\n .build());\n\n var istio = new App(\"istio\", AppArgs.builder() \n .catalogName(\"system-library\")\n .description(\"Terraform app acceptance test\")\n .projectId(foo_istio.projectId())\n .templateName(\"rancher-istio\")\n .templateVersion(\"0.1.1\")\n .targetNamespace(foo_istio.id())\n .answers(Map.ofEntries(\n Map.entry(\"certmanager.enabled\", false),\n Map.entry(\"enableCRDs\", true),\n Map.entry(\"galley.enabled\", true),\n Map.entry(\"gateways.enabled\", false),\n Map.entry(\"gateways.istio-ingressgateway.resources.limits.cpu\", \"2000m\"),\n Map.entry(\"gateways.istio-ingressgateway.resources.limits.memory\", \"1024Mi\"),\n Map.entry(\"gateways.istio-ingressgateway.resources.requests.cpu\", \"100m\"),\n Map.entry(\"gateways.istio-ingressgateway.resources.requests.memory\", \"128Mi\"),\n Map.entry(\"gateways.istio-ingressgateway.type\", \"NodePort\"),\n Map.entry(\"global.monitoring.type\", \"cluster-monitoring\"),\n Map.entry(\"global.rancher.clusterId\", foo_customClusterSync.clusterId()),\n Map.entry(\"istio_cni.enabled\", \"false\"),\n Map.entry(\"istiocoredns.enabled\", \"false\"),\n Map.entry(\"kiali.enabled\", \"true\"),\n Map.entry(\"mixer.enabled\", \"true\"),\n Map.entry(\"mixer.policy.enabled\", \"true\"),\n Map.entry(\"mixer.policy.resources.limits.cpu\", \"4800m\"),\n Map.entry(\"mixer.policy.resources.limits.memory\", \"4096Mi\"),\n Map.entry(\"mixer.policy.resources.requests.cpu\", \"1000m\"),\n Map.entry(\"mixer.policy.resources.requests.memory\", \"1024Mi\"),\n Map.entry(\"mixer.telemetry.resources.limits.cpu\", \"4800m\"),\n Map.entry(\"mixer.telemetry.resources.limits.memory\", \"4096Mi\"),\n Map.entry(\"mixer.telemetry.resources.requests.cpu\", \"1000m\"),\n Map.entry(\"mixer.telemetry.resources.requests.memory\", \"1024Mi\"),\n Map.entry(\"mtls.enabled\", false),\n Map.entry(\"nodeagent.enabled\", false),\n Map.entry(\"pilot.enabled\", true),\n Map.entry(\"pilot.resources.limits.cpu\", \"1000m\"),\n Map.entry(\"pilot.resources.limits.memory\", \"4096Mi\"),\n Map.entry(\"pilot.resources.requests.cpu\", \"500m\"),\n Map.entry(\"pilot.resources.requests.memory\", \"2048Mi\"),\n Map.entry(\"pilot.traceSampling\", \"1\"),\n Map.entry(\"security.enabled\", true),\n Map.entry(\"sidecarInjectorWebhook.enabled\", true),\n Map.entry(\"tracing.enabled\", true),\n Map.entry(\"tracing.jaeger.resources.limits.cpu\", \"500m\"),\n Map.entry(\"tracing.jaeger.resources.limits.memory\", \"1024Mi\"),\n Map.entry(\"tracing.jaeger.resources.requests.cpu\", \"100m\"),\n Map.entry(\"tracing.jaeger.resources.requests.memory\", \"100Mi\")\n ))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 RKE Cluster\n foo-customCluster:\n type: rancher2:Cluster\n properties:\n description: Foo rancher2 custom cluster\n rkeConfig:\n network:\n plugin: canal\n enableClusterMonitoring: true\n clusterMonitoringInput:\n answers:\n exporter-kubelets.https: true\n exporter-node.enabled: true\n exporter-node.ports.metrics.port: 9796\n exporter-node.resources.limits.cpu: 200m\n exporter-node.resources.limits.memory: 200Mi\n grafana.persistence.enabled: false\n grafana.persistence.size: 10Gi\n grafana.persistence.storageClass: default\n operator.resources.limits.memory: 500Mi\n prometheus.persistence.enabled: 'false'\n prometheus.persistence.size: 50Gi\n prometheus.persistence.storageClass: default\n prometheus.persistent.useReleaseName: 'true'\n prometheus.resources.core.limits.cpu: 1000m\n prometheus.resources.core.limits.memory: 1500Mi\n prometheus.resources.core.requests.cpu: 750m\n prometheus.resources.core.requests.memory: 750Mi\n prometheus.retention: 12h\n version: 0.1.0\n # Create a new rancher2 Cluster Sync for foo-custom cluster\n foo-customClusterSync:\n type: rancher2:ClusterSync\n properties:\n clusterId: ${[\"foo-customCluster\"].id}\n waitMonitoring: ${[\"foo-customCluster\"].enableClusterMonitoring}\n # Create a new rancher2 Namespace\n foo-istio:\n type: rancher2:Namespace\n properties:\n projectId: ${[\"foo-customClusterSync\"].systemProjectId}\n description: istio namespace\n # Create a new rancher2 App deploying istio (should wait until monitoring is up and running)\n istio:\n type: rancher2:App\n properties:\n catalogName: system-library\n description: Terraform app acceptance test\n projectId: ${[\"foo-istio\"].projectId}\n templateName: rancher-istio\n templateVersion: 0.1.1\n targetNamespace: ${[\"foo-istio\"].id}\n answers:\n certmanager.enabled: false\n enableCRDs: true\n galley.enabled: true\n gateways.enabled: false\n gateways.istio-ingressgateway.resources.limits.cpu: 2000m\n gateways.istio-ingressgateway.resources.limits.memory: 1024Mi\n gateways.istio-ingressgateway.resources.requests.cpu: 100m\n gateways.istio-ingressgateway.resources.requests.memory: 128Mi\n gateways.istio-ingressgateway.type: NodePort\n global.monitoring.type: cluster-monitoring\n global.rancher.clusterId: ${[\"foo-customClusterSync\"].clusterId}\n istio_cni.enabled: 'false'\n istiocoredns.enabled: 'false'\n kiali.enabled: 'true'\n mixer.enabled: 'true'\n mixer.policy.enabled: 'true'\n mixer.policy.resources.limits.cpu: 4800m\n mixer.policy.resources.limits.memory: 4096Mi\n mixer.policy.resources.requests.cpu: 1000m\n mixer.policy.resources.requests.memory: 1024Mi\n mixer.telemetry.resources.limits.cpu: 4800m\n mixer.telemetry.resources.limits.memory: 4096Mi\n mixer.telemetry.resources.requests.cpu: 1000m\n mixer.telemetry.resources.requests.memory: 1024Mi\n mtls.enabled: false\n nodeagent.enabled: false\n pilot.enabled: true\n pilot.resources.limits.cpu: 1000m\n pilot.resources.limits.memory: 4096Mi\n pilot.resources.requests.cpu: 500m\n pilot.resources.requests.memory: 2048Mi\n pilot.traceSampling: '1'\n security.enabled: true\n sidecarInjectorWebhook.enabled: true\n tracing.enabled: true\n tracing.jaeger.resources.limits.cpu: 500m\n tracing.jaeger.resources.limits.memory: 1024Mi\n tracing.jaeger.resources.requests.cpu: 100m\n tracing.jaeger.resources.requests.memory: 100Mi\n```\n{{% /example %}}\n{{% example %}}\n### Creating Rancher v2 RKE cluster assigning a node pool (overlapped planes)\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 RKE Cluster\nconst foo_custom = new rancher2.Cluster(\"foo-custom\", {\n description: \"Foo rancher2 custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n },\n});\n// Create a new rancher2 Node Template\nconst fooNodeTemplate = new rancher2.NodeTemplate(\"fooNodeTemplate\", {\n description: \"foo test\",\n amazonec2Config: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n ami: \"\u003cAMI_ID\u003e\",\n region: \"\u003cREGION\u003e\",\n securityGroups: [\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnetId: \"\u003cSUBNET_ID\u003e\",\n vpcId: \"\u003cVPC_ID\u003e\",\n zone: \"\u003cZONE\u003e\",\n },\n});\n// Create a new rancher2 Node Pool\nconst fooNodePool = new rancher2.NodePool(\"fooNodePool\", {\n clusterId: foo_custom.id,\n hostnamePrefix: \"foo-cluster-0\",\n nodeTemplateId: fooNodeTemplate.id,\n quantity: 3,\n controlPlane: true,\n etcd: true,\n worker: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 RKE Cluster\nfoo_custom = rancher2.Cluster(\"foo-custom\",\n description=\"Foo rancher2 custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n ))\n# Create a new rancher2 Node Template\nfoo_node_template = rancher2.NodeTemplate(\"fooNodeTemplate\",\n description=\"foo test\",\n amazonec2_config=rancher2.NodeTemplateAmazonec2ConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ami=\"\u003cAMI_ID\u003e\",\n region=\"\u003cREGION\u003e\",\n security_groups=[\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnet_id=\"\u003cSUBNET_ID\u003e\",\n vpc_id=\"\u003cVPC_ID\u003e\",\n zone=\"\u003cZONE\u003e\",\n ))\n# Create a new rancher2 Node Pool\nfoo_node_pool = rancher2.NodePool(\"fooNodePool\",\n cluster_id=foo_custom.id,\n hostname_prefix=\"foo-cluster-0\",\n node_template_id=foo_node_template.id,\n quantity=3,\n control_plane=True,\n etcd=True,\n worker=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 RKE Cluster\n var foo_custom = new Rancher2.Cluster(\"foo-custom\", new()\n {\n Description = \"Foo rancher2 custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n },\n });\n\n // Create a new rancher2 Node Template\n var fooNodeTemplate = new Rancher2.NodeTemplate(\"fooNodeTemplate\", new()\n {\n Description = \"foo test\",\n Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n Ami = \"\u003cAMI_ID\u003e\",\n Region = \"\u003cREGION\u003e\",\n SecurityGroups = new[]\n {\n \"\u003cAWS_SECURITY_GROUP\u003e\",\n },\n SubnetId = \"\u003cSUBNET_ID\u003e\",\n VpcId = \"\u003cVPC_ID\u003e\",\n Zone = \"\u003cZONE\u003e\",\n },\n });\n\n // Create a new rancher2 Node Pool\n var fooNodePool = new Rancher2.NodePool(\"fooNodePool\", new()\n {\n ClusterId = foo_custom.Id,\n HostnamePrefix = \"foo-cluster-0\",\n NodeTemplateId = fooNodeTemplate.Id,\n Quantity = 3,\n ControlPlane = true,\n Etcd = true,\n Worker = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo-custom\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Foo rancher2 custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooNodeTemplate, err := rancher2.NewNodeTemplate(ctx, \"fooNodeTemplate\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2Config: \u0026NodeTemplateAmazonec2ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t\tAmi: pulumi.String(\"\u003cAMI_ID\u003e\"),\n\t\t\t\tRegion: pulumi.String(\"\u003cREGION\u003e\"),\n\t\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"\u003cAWS_SECURITY_GROUP\u003e\"),\n\t\t\t\t},\n\t\t\t\tSubnetId: pulumi.String(\"\u003cSUBNET_ID\u003e\"),\n\t\t\t\tVpcId: pulumi.String(\"\u003cVPC_ID\u003e\"),\n\t\t\t\tZone: pulumi.String(\"\u003cZONE\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNodePool(ctx, \"fooNodePool\", \u0026rancher2.NodePoolArgs{\n\t\t\tClusterId: foo_custom.ID(),\n\t\t\tHostnamePrefix: pulumi.String(\"foo-cluster-0\"),\n\t\t\tNodeTemplateId: fooNodeTemplate.ID(),\n\t\t\tQuantity: pulumi.Int(3),\n\t\t\tControlPlane: pulumi.Bool(true),\n\t\t\tEtcd: pulumi.Bool(true),\n\t\t\tWorker: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.NodeTemplate;\nimport com.pulumi.rancher2.NodeTemplateArgs;\nimport com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs;\nimport com.pulumi.rancher2.NodePool;\nimport com.pulumi.rancher2.NodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo_custom = new Cluster(\"foo-custom\", ClusterArgs.builder() \n .description(\"Foo rancher2 custom cluster\")\n .rkeConfig(ClusterRkeConfigArgs.builder()\n .network(ClusterRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .build())\n .build());\n\n var fooNodeTemplate = new NodeTemplate(\"fooNodeTemplate\", NodeTemplateArgs.builder() \n .description(\"foo test\")\n .amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder()\n .accessKey(\"\u003cAWS_ACCESS_KEY\u003e\")\n .secretKey(\"\u003cAWS_SECRET_KEY\u003e\")\n .ami(\"\u003cAMI_ID\u003e\")\n .region(\"\u003cREGION\u003e\")\n .securityGroups(\"\u003cAWS_SECURITY_GROUP\u003e\")\n .subnetId(\"\u003cSUBNET_ID\u003e\")\n .vpcId(\"\u003cVPC_ID\u003e\")\n .zone(\"\u003cZONE\u003e\")\n .build())\n .build());\n\n var fooNodePool = new NodePool(\"fooNodePool\", NodePoolArgs.builder() \n .clusterId(foo_custom.id())\n .hostnamePrefix(\"foo-cluster-0\")\n .nodeTemplateId(fooNodeTemplate.id())\n .quantity(3)\n .controlPlane(true)\n .etcd(true)\n .worker(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 RKE Cluster\n foo-custom:\n type: rancher2:Cluster\n properties:\n description: Foo rancher2 custom cluster\n rkeConfig:\n network:\n plugin: canal\n # Create a new rancher2 Node Template\n fooNodeTemplate:\n type: rancher2:NodeTemplate\n properties:\n description: foo test\n amazonec2Config:\n accessKey: \u003cAWS_ACCESS_KEY\u003e\n secretKey: \u003cAWS_SECRET_KEY\u003e\n ami: \u003cAMI_ID\u003e\n region: \u003cREGION\u003e\n securityGroups:\n - \u003cAWS_SECURITY_GROUP\u003e\n subnetId: \u003cSUBNET_ID\u003e\n vpcId: \u003cVPC_ID\u003e\n zone: \u003cZONE\u003e\n # Create a new rancher2 Node Pool\n fooNodePool:\n type: rancher2:NodePool\n properties:\n clusterId: ${[\"foo-custom\"].id}\n hostnamePrefix: foo-cluster-0\n nodeTemplateId: ${fooNodeTemplate.id}\n quantity: 3\n controlPlane: true\n etcd: true\n worker: true\n```\n{{% /example %}}\n{{% example %}}\n### Creating Rancher v2 RKE cluster from template. For Rancher v2.3.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 cluster template\nconst fooClusterTemplate = new rancher2.ClusterTemplate(\"fooClusterTemplate\", {\n members: [{\n accessType: \"owner\",\n userPrincipalId: \"local://user-XXXXX\",\n }],\n templateRevisions: [{\n name: \"V1\",\n clusterConfig: {\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n },\n },\n },\n \"default\": true,\n }],\n description: \"Test cluster template v2\",\n});\n// Create a new rancher2 RKE Cluster from template\nconst fooCluster = new rancher2.Cluster(\"fooCluster\", {\n clusterTemplateId: fooClusterTemplate.id,\n clusterTemplateRevisionId: fooClusterTemplate.templateRevisions.apply(templateRevisions =\u003e templateRevisions[0].id),\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 cluster template\nfoo_cluster_template = rancher2.ClusterTemplate(\"fooClusterTemplate\",\n members=[rancher2.ClusterTemplateMemberArgs(\n access_type=\"owner\",\n user_principal_id=\"local://user-XXXXX\",\n )],\n template_revisions=[rancher2.ClusterTemplateTemplateRevisionArgs(\n name=\"V1\",\n cluster_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigArgs(\n rke_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs(\n network=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs(\n etcd=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n ),\n ),\n ),\n default=True,\n )],\n description=\"Test cluster template v2\")\n# Create a new rancher2 RKE Cluster from template\nfoo_cluster = rancher2.Cluster(\"fooCluster\",\n cluster_template_id=foo_cluster_template.id,\n cluster_template_revision_id=foo_cluster_template.template_revisions[0].id)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 cluster template\n var fooClusterTemplate = new Rancher2.ClusterTemplate(\"fooClusterTemplate\", new()\n {\n Members = new[]\n {\n new Rancher2.Inputs.ClusterTemplateMemberArgs\n {\n AccessType = \"owner\",\n UserPrincipalId = \"local://user-XXXXX\",\n },\n },\n TemplateRevisions = new[]\n {\n new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs\n {\n Name = \"V1\",\n ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs\n {\n RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n },\n },\n },\n Default = true,\n },\n },\n Description = \"Test cluster template v2\",\n });\n\n // Create a new rancher2 RKE Cluster from template\n var fooCluster = new Rancher2.Cluster(\"fooCluster\", new()\n {\n ClusterTemplateId = fooClusterTemplate.Id,\n ClusterTemplateRevisionId = fooClusterTemplate.TemplateRevisions.Apply(templateRevisions =\u003e templateRevisions[0].Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooClusterTemplate, err := rancher2.NewClusterTemplate(ctx, \"fooClusterTemplate\", \u0026rancher2.ClusterTemplateArgs{\n\t\t\tMembers: ClusterTemplateMemberArray{\n\t\t\t\t\u0026ClusterTemplateMemberArgs{\n\t\t\t\t\tAccessType: pulumi.String(\"owner\"),\n\t\t\t\t\tUserPrincipalId: pulumi.String(\"local://user-XXXXX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateRevisions: ClusterTemplateTemplateRevisionArray{\n\t\t\t\t\u0026ClusterTemplateTemplateRevisionArgs{\n\t\t\t\t\tName: pulumi.String(\"V1\"),\n\t\t\t\t\tClusterConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigArgs{\n\t\t\t\t\t\tRkeConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{\n\t\t\t\t\t\t\tNetwork: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{\n\t\t\t\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tServices: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{\n\t\t\t\t\t\t\t\tEtcd: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDefault: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Test cluster template v2\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCluster(ctx, \"fooCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tClusterTemplateId: fooClusterTemplate.ID(),\n\t\t\tClusterTemplateRevisionId: fooClusterTemplate.TemplateRevisions.ApplyT(func(templateRevisions []ClusterTemplateTemplateRevision) (string, error) {\n\t\t\t\treturn templateRevisions[0].Id, nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterTemplate;\nimport com.pulumi.rancher2.ClusterTemplateArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateMemberArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooClusterTemplate = new ClusterTemplate(\"fooClusterTemplate\", ClusterTemplateArgs.builder() \n .members(ClusterTemplateMemberArgs.builder()\n .accessType(\"owner\")\n .userPrincipalId(\"local://user-XXXXX\")\n .build())\n .templateRevisions(ClusterTemplateTemplateRevisionArgs.builder()\n .name(\"V1\")\n .clusterConfig(ClusterTemplateTemplateRevisionClusterConfigArgs.builder()\n .rkeConfig(ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.builder()\n .network(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .services(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.builder()\n .etcd(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.builder()\n .creation(\"6h\")\n .retention(\"24h\")\n .build())\n .build())\n .build())\n .build())\n .default_(true)\n .build())\n .description(\"Test cluster template v2\")\n .build());\n\n var fooCluster = new Cluster(\"fooCluster\", ClusterArgs.builder() \n .clusterTemplateId(fooClusterTemplate.id())\n .clusterTemplateRevisionId(fooClusterTemplate.templateRevisions().applyValue(templateRevisions -\u003e templateRevisions[0].id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 cluster template\n fooClusterTemplate:\n type: rancher2:ClusterTemplate\n properties:\n members:\n - accessType: owner\n userPrincipalId: local://user-XXXXX\n templateRevisions:\n - name: V1\n clusterConfig:\n rkeConfig:\n network:\n plugin: canal\n services:\n etcd:\n creation: 6h\n retention: 24h\n default: true\n description: Test cluster template v2\n # Create a new rancher2 RKE Cluster from template\n fooCluster:\n type: rancher2:Cluster\n properties:\n clusterTemplateId: ${fooClusterTemplate.id}\n clusterTemplateRevisionId: ${fooClusterTemplate.templateRevisions[0].id}\n```\n{{% /example %}}\n{{% example %}}\n### Creating Rancher v2 RKE cluster with upgrade strategy. For Rancher v2.4.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = new rancher2.Cluster(\"foo\", {\n description: \"Terraform custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n kubeApi: {\n auditLog: {\n configuration: {\n format: \"json\",\n maxAge: 5,\n maxBackup: 5,\n maxSize: 100,\n path: \"-\",\n policy: `apiVersion: audit.k8s.io/v1\nkind: Policy\nmetadata:\n creationTimestamp: null\nomitStages:\n- RequestReceived\nrules:\n- level: RequestResponse\n resources:\n - resources:\n - pods\n`,\n },\n enabled: true,\n },\n },\n },\n upgradeStrategy: {\n drain: true,\n maxUnavailableWorker: \"20%\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.Cluster(\"foo\",\n description=\"Terraform custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterRkeConfigServicesArgs(\n etcd=rancher2.ClusterRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n kube_api=rancher2.ClusterRkeConfigServicesKubeApiArgs(\n audit_log=rancher2.ClusterRkeConfigServicesKubeApiAuditLogArgs(\n configuration=rancher2.ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs(\n format=\"json\",\n max_age=5,\n max_backup=5,\n max_size=100,\n path=\"-\",\n policy=\"\"\"apiVersion: audit.k8s.io/v1\nkind: Policy\nmetadata:\n creationTimestamp: null\nomitStages:\n- RequestReceived\nrules:\n- level: RequestResponse\n resources:\n - resources:\n - pods\n\n\"\"\",\n ),\n enabled=True,\n ),\n ),\n ),\n upgrade_strategy=rancher2.ClusterRkeConfigUpgradeStrategyArgs(\n drain=True,\n max_unavailable_worker=\"20%\",\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = new Rancher2.Cluster(\"foo\", new()\n {\n Description = \"Terraform custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n KubeApi = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiArgs\n {\n AuditLog = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiAuditLogArgs\n {\n Configuration = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs\n {\n Format = \"json\",\n MaxAge = 5,\n MaxBackup = 5,\n MaxSize = 100,\n Path = \"-\",\n Policy = @\"apiVersion: audit.k8s.io/v1\nkind: Policy\nmetadata:\n creationTimestamp: null\nomitStages:\n- RequestReceived\nrules:\n- level: RequestResponse\n resources:\n - resources:\n - pods\n\n\",\n },\n Enabled = true,\n },\n },\n },\n UpgradeStrategy = new Rancher2.Inputs.ClusterRkeConfigUpgradeStrategyArgs\n {\n Drain = true,\n MaxUnavailableWorker = \"20%\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t\tServices: \u0026ClusterRkeConfigServicesArgs{\n\t\t\t\t\tEtcd: \u0026ClusterRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t},\n\t\t\t\t\tKubeApi: \u0026ClusterRkeConfigServicesKubeApiArgs{\n\t\t\t\t\t\tAuditLog: \u0026ClusterRkeConfigServicesKubeApiAuditLogArgs{\n\t\t\t\t\t\t\tConfiguration: \u0026ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs{\n\t\t\t\t\t\t\t\tFormat: pulumi.String(\"json\"),\n\t\t\t\t\t\t\t\tMaxAge: pulumi.Int(5),\n\t\t\t\t\t\t\t\tMaxBackup: pulumi.Int(5),\n\t\t\t\t\t\t\t\tMaxSize: pulumi.Int(100),\n\t\t\t\t\t\t\t\tPath: pulumi.String(\"-\"),\n\t\t\t\t\t\t\t\tPolicy: pulumi.String(fmt.Sprintf(`apiVersion: audit.k8s.io/v1\nkind: Policy\nmetadata:\n creationTimestamp: null\nomitStages:\n- RequestReceived\nrules:\n- level: RequestResponse\n resources:\n - resources:\n - pods\n\n`)),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tUpgradeStrategy: \u0026ClusterRkeConfigUpgradeStrategyArgs{\n\t\t\t\t\tDrain: pulumi.Bool(true),\n\t\t\t\t\tMaxUnavailableWorker: pulumi.String(fmt.Sprintf(\"20%v\", \"%\")),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigServicesArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigServicesEtcdArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigServicesKubeApiArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigServicesKubeApiAuditLogArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigUpgradeStrategyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Cluster(\"foo\", ClusterArgs.builder() \n .description(\"Terraform custom cluster\")\n .rkeConfig(ClusterRkeConfigArgs.builder()\n .network(ClusterRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .services(ClusterRkeConfigServicesArgs.builder()\n .etcd(ClusterRkeConfigServicesEtcdArgs.builder()\n .creation(\"6h\")\n .retention(\"24h\")\n .build())\n .kubeApi(ClusterRkeConfigServicesKubeApiArgs.builder()\n .auditLog(ClusterRkeConfigServicesKubeApiAuditLogArgs.builder()\n .configuration(ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs.builder()\n .format(\"json\")\n .maxAge(5)\n .maxBackup(5)\n .maxSize(100)\n .path(\"-\")\n .policy(\"\"\"\napiVersion: audit.k8s.io/v1\nkind: Policy\nmetadata:\n creationTimestamp: null\nomitStages:\n- RequestReceived\nrules:\n- level: RequestResponse\n resources:\n - resources:\n - pods\n\n \"\"\")\n .build())\n .enabled(true)\n .build())\n .build())\n .build())\n .upgradeStrategy(ClusterRkeConfigUpgradeStrategyArgs.builder()\n .drain(true)\n .maxUnavailableWorker(\"20%\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo:\n type: rancher2:Cluster\n properties:\n description: Terraform custom cluster\n rkeConfig:\n network:\n plugin: canal\n services:\n etcd:\n creation: 6h\n retention: 24h\n kubeApi:\n auditLog:\n configuration:\n format: json\n maxAge: 5\n maxBackup: 5\n maxSize: 100\n path: '-'\n policy: |+\n apiVersion: audit.k8s.io/v1\n kind: Policy\n metadata:\n creationTimestamp: null\n omitStages:\n - RequestReceived\n rules:\n - level: RequestResponse\n resources:\n - resources:\n - pods\n\n enabled: true\n upgradeStrategy:\n drain: true\n maxUnavailableWorker: 20%\n```\n{{% /example %}}\n{{% example %}}\n### Creating Rancher v2 RKE cluster with scheduled cluster scan. For Rancher v2.4.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = new rancher2.Cluster(\"foo\", {\n description: \"Terraform custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n },\n },\n scheduledClusterScan: {\n enabled: true,\n scanConfig: {\n cisScanConfig: {\n debugMaster: true,\n debugWorker: true,\n },\n },\n scheduleConfig: {\n cronSchedule: \"30 * * * *\",\n retention: 5,\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.Cluster(\"foo\",\n description=\"Terraform custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterRkeConfigServicesArgs(\n etcd=rancher2.ClusterRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n ),\n ),\n scheduled_cluster_scan=rancher2.ClusterScheduledClusterScanArgs(\n enabled=True,\n scan_config=rancher2.ClusterScheduledClusterScanScanConfigArgs(\n cis_scan_config=rancher2.ClusterScheduledClusterScanScanConfigCisScanConfigArgs(\n debug_master=True,\n debug_worker=True,\n ),\n ),\n schedule_config=rancher2.ClusterScheduledClusterScanScheduleConfigArgs(\n cron_schedule=\"30 * * * *\",\n retention=5,\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = new Rancher2.Cluster(\"foo\", new()\n {\n Description = \"Terraform custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n },\n },\n ScheduledClusterScan = new Rancher2.Inputs.ClusterScheduledClusterScanArgs\n {\n Enabled = true,\n ScanConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScanConfigArgs\n {\n CisScanConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScanConfigCisScanConfigArgs\n {\n DebugMaster = true,\n DebugWorker = true,\n },\n },\n ScheduleConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScheduleConfigArgs\n {\n CronSchedule = \"30 * * * *\",\n Retention = 5,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t\tServices: \u0026ClusterRkeConfigServicesArgs{\n\t\t\t\t\tEtcd: \u0026ClusterRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tScheduledClusterScan: \u0026ClusterScheduledClusterScanArgs{\n\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\tScanConfig: \u0026ClusterScheduledClusterScanScanConfigArgs{\n\t\t\t\t\tCisScanConfig: \u0026ClusterScheduledClusterScanScanConfigCisScanConfigArgs{\n\t\t\t\t\t\tDebugMaster: pulumi.Bool(true),\n\t\t\t\t\t\tDebugWorker: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tScheduleConfig: \u0026ClusterScheduledClusterScanScheduleConfigArgs{\n\t\t\t\t\tCronSchedule: pulumi.String(\"30 * * * *\"),\n\t\t\t\t\tRetention: pulumi.Int(5),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigServicesArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigServicesEtcdArgs;\nimport com.pulumi.rancher2.inputs.ClusterScheduledClusterScanArgs;\nimport com.pulumi.rancher2.inputs.ClusterScheduledClusterScanScanConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterScheduledClusterScanScanConfigCisScanConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterScheduledClusterScanScheduleConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Cluster(\"foo\", ClusterArgs.builder() \n .description(\"Terraform custom cluster\")\n .rkeConfig(ClusterRkeConfigArgs.builder()\n .network(ClusterRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .services(ClusterRkeConfigServicesArgs.builder()\n .etcd(ClusterRkeConfigServicesEtcdArgs.builder()\n .creation(\"6h\")\n .retention(\"24h\")\n .build())\n .build())\n .build())\n .scheduledClusterScan(ClusterScheduledClusterScanArgs.builder()\n .enabled(true)\n .scanConfig(ClusterScheduledClusterScanScanConfigArgs.builder()\n .cisScanConfig(ClusterScheduledClusterScanScanConfigCisScanConfigArgs.builder()\n .debugMaster(true)\n .debugWorker(true)\n .build())\n .build())\n .scheduleConfig(ClusterScheduledClusterScanScheduleConfigArgs.builder()\n .cronSchedule(\"30 * * * *\")\n .retention(5)\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo:\n type: rancher2:Cluster\n properties:\n description: Terraform custom cluster\n rkeConfig:\n network:\n plugin: canal\n services:\n etcd:\n creation: 6h\n retention: 24h\n scheduledClusterScan:\n enabled: true\n scanConfig:\n cisScanConfig:\n debugMaster: true\n debugWorker: true\n scheduleConfig:\n cronSchedule: 30 * * * *\n retention: 5\n```\n{{% /example %}}\n{{% example %}}\n### Importing EKS cluster to Rancher v2, using `eks_config_v2`. For Rancher v2.5.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst fooCloudCredential = new rancher2.CloudCredential(\"fooCloudCredential\", {\n description: \"foo test\",\n amazonec2CredentialConfig: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n },\n});\nconst fooCluster = new rancher2.Cluster(\"fooCluster\", {\n description: \"Terraform EKS cluster\",\n eksConfigV2: {\n cloudCredentialId: fooCloudCredential.id,\n name: \"\u003cCLUSTER_NAME\u003e\",\n region: \"\u003cEKS_REGION\u003e\",\n imported: true,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_cloud_credential = rancher2.CloudCredential(\"fooCloudCredential\",\n description=\"foo test\",\n amazonec2_credential_config=rancher2.CloudCredentialAmazonec2CredentialConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ))\nfoo_cluster = rancher2.Cluster(\"fooCluster\",\n description=\"Terraform EKS cluster\",\n eks_config_v2=rancher2.ClusterEksConfigV2Args(\n cloud_credential_id=foo_cloud_credential.id,\n name=\"\u003cCLUSTER_NAME\u003e\",\n region=\"\u003cEKS_REGION\u003e\",\n imported=True,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCloudCredential = new Rancher2.CloudCredential(\"fooCloudCredential\", new()\n {\n Description = \"foo test\",\n Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n },\n });\n\n var fooCluster = new Rancher2.Cluster(\"fooCluster\", new()\n {\n Description = \"Terraform EKS cluster\",\n EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args\n {\n CloudCredentialId = fooCloudCredential.Id,\n Name = \"\u003cCLUSTER_NAME\u003e\",\n Region = \"\u003cEKS_REGION\u003e\",\n Imported = true,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCloudCredential, err := rancher2.NewCloudCredential(ctx, \"fooCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2CredentialConfig: \u0026CloudCredentialAmazonec2CredentialConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCluster(ctx, \"fooCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform EKS cluster\"),\n\t\t\tEksConfigV2: \u0026ClusterEksConfigV2Args{\n\t\t\t\tCloudCredentialId: fooCloudCredential.ID(),\n\t\t\t\tName: pulumi.String(\"\u003cCLUSTER_NAME\u003e\"),\n\t\t\t\tRegion: pulumi.String(\"\u003cEKS_REGION\u003e\"),\n\t\t\t\tImported: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.CloudCredential;\nimport com.pulumi.rancher2.CloudCredentialArgs;\nimport com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterEksConfigV2Args;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCloudCredential = new CloudCredential(\"fooCloudCredential\", CloudCredentialArgs.builder() \n .description(\"foo test\")\n .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()\n .accessKey(\"\u003cAWS_ACCESS_KEY\u003e\")\n .secretKey(\"\u003cAWS_SECRET_KEY\u003e\")\n .build())\n .build());\n\n var fooCluster = new Cluster(\"fooCluster\", ClusterArgs.builder() \n .description(\"Terraform EKS cluster\")\n .eksConfigV2(ClusterEksConfigV2Args.builder()\n .cloudCredentialId(fooCloudCredential.id())\n .name(\"\u003cCLUSTER_NAME\u003e\")\n .region(\"\u003cEKS_REGION\u003e\")\n .imported(true)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCloudCredential:\n type: rancher2:CloudCredential\n properties:\n description: foo test\n amazonec2CredentialConfig:\n accessKey: \u003cAWS_ACCESS_KEY\u003e\n secretKey: \u003cAWS_SECRET_KEY\u003e\n fooCluster:\n type: rancher2:Cluster\n properties:\n description: Terraform EKS cluster\n eksConfigV2:\n cloudCredentialId: ${fooCloudCredential.id}\n name: \u003cCLUSTER_NAME\u003e\n region: \u003cEKS_REGION\u003e\n imported: true\n```\n{{% /example %}}\n{{% example %}}\n### Creating EKS cluster from Rancher v2, using `eks_config_v2`. For Rancher v2.5.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst fooCloudCredential = new rancher2.CloudCredential(\"fooCloudCredential\", {\n description: \"foo test\",\n amazonec2CredentialConfig: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n },\n});\nconst fooCluster = new rancher2.Cluster(\"fooCluster\", {\n description: \"Terraform EKS cluster\",\n eksConfigV2: {\n cloudCredentialId: fooCloudCredential.id,\n region: \"\u003cEKS_REGION\u003e\",\n kubernetesVersion: \"1.17\",\n loggingTypes: [\n \"audit\",\n \"api\",\n ],\n nodeGroups: [\n {\n name: \"node_group1\",\n instanceType: \"t3.medium\",\n desiredSize: 3,\n maxSize: 5,\n },\n {\n name: \"node_group2\",\n instanceType: \"m5.xlarge\",\n desiredSize: 2,\n maxSize: 3,\n },\n ],\n privateAccess: true,\n publicAccess: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_cloud_credential = rancher2.CloudCredential(\"fooCloudCredential\",\n description=\"foo test\",\n amazonec2_credential_config=rancher2.CloudCredentialAmazonec2CredentialConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ))\nfoo_cluster = rancher2.Cluster(\"fooCluster\",\n description=\"Terraform EKS cluster\",\n eks_config_v2=rancher2.ClusterEksConfigV2Args(\n cloud_credential_id=foo_cloud_credential.id,\n region=\"\u003cEKS_REGION\u003e\",\n kubernetes_version=\"1.17\",\n logging_types=[\n \"audit\",\n \"api\",\n ],\n node_groups=[\n rancher2.ClusterEksConfigV2NodeGroupArgs(\n name=\"node_group1\",\n instance_type=\"t3.medium\",\n desired_size=3,\n max_size=5,\n ),\n rancher2.ClusterEksConfigV2NodeGroupArgs(\n name=\"node_group2\",\n instance_type=\"m5.xlarge\",\n desired_size=2,\n max_size=3,\n ),\n ],\n private_access=True,\n public_access=False,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCloudCredential = new Rancher2.CloudCredential(\"fooCloudCredential\", new()\n {\n Description = \"foo test\",\n Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n },\n });\n\n var fooCluster = new Rancher2.Cluster(\"fooCluster\", new()\n {\n Description = \"Terraform EKS cluster\",\n EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args\n {\n CloudCredentialId = fooCloudCredential.Id,\n Region = \"\u003cEKS_REGION\u003e\",\n KubernetesVersion = \"1.17\",\n LoggingTypes = new[]\n {\n \"audit\",\n \"api\",\n },\n NodeGroups = new[]\n {\n new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs\n {\n Name = \"node_group1\",\n InstanceType = \"t3.medium\",\n DesiredSize = 3,\n MaxSize = 5,\n },\n new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs\n {\n Name = \"node_group2\",\n InstanceType = \"m5.xlarge\",\n DesiredSize = 2,\n MaxSize = 3,\n },\n },\n PrivateAccess = true,\n PublicAccess = false,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCloudCredential, err := rancher2.NewCloudCredential(ctx, \"fooCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2CredentialConfig: \u0026CloudCredentialAmazonec2CredentialConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCluster(ctx, \"fooCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform EKS cluster\"),\n\t\t\tEksConfigV2: \u0026ClusterEksConfigV2Args{\n\t\t\t\tCloudCredentialId: fooCloudCredential.ID(),\n\t\t\t\tRegion: pulumi.String(\"\u003cEKS_REGION\u003e\"),\n\t\t\t\tKubernetesVersion: pulumi.String(\"1.17\"),\n\t\t\t\tLoggingTypes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"audit\"),\n\t\t\t\t\tpulumi.String(\"api\"),\n\t\t\t\t},\n\t\t\t\tNodeGroups: ClusterEksConfigV2NodeGroupArray{\n\t\t\t\t\t\u0026ClusterEksConfigV2NodeGroupArgs{\n\t\t\t\t\t\tName: pulumi.String(\"node_group1\"),\n\t\t\t\t\t\tInstanceType: pulumi.String(\"t3.medium\"),\n\t\t\t\t\t\tDesiredSize: pulumi.Int(3),\n\t\t\t\t\t\tMaxSize: pulumi.Int(5),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026ClusterEksConfigV2NodeGroupArgs{\n\t\t\t\t\t\tName: pulumi.String(\"node_group2\"),\n\t\t\t\t\t\tInstanceType: pulumi.String(\"m5.xlarge\"),\n\t\t\t\t\t\tDesiredSize: pulumi.Int(2),\n\t\t\t\t\t\tMaxSize: pulumi.Int(3),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tPrivateAccess: pulumi.Bool(true),\n\t\t\t\tPublicAccess: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.CloudCredential;\nimport com.pulumi.rancher2.CloudCredentialArgs;\nimport com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterEksConfigV2Args;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCloudCredential = new CloudCredential(\"fooCloudCredential\", CloudCredentialArgs.builder() \n .description(\"foo test\")\n .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()\n .accessKey(\"\u003cAWS_ACCESS_KEY\u003e\")\n .secretKey(\"\u003cAWS_SECRET_KEY\u003e\")\n .build())\n .build());\n\n var fooCluster = new Cluster(\"fooCluster\", ClusterArgs.builder() \n .description(\"Terraform EKS cluster\")\n .eksConfigV2(ClusterEksConfigV2Args.builder()\n .cloudCredentialId(fooCloudCredential.id())\n .region(\"\u003cEKS_REGION\u003e\")\n .kubernetesVersion(\"1.17\")\n .loggingTypes( \n \"audit\",\n \"api\")\n .nodeGroups( \n ClusterEksConfigV2NodeGroupArgs.builder()\n .name(\"node_group1\")\n .instanceType(\"t3.medium\")\n .desiredSize(3)\n .maxSize(5)\n .build(),\n ClusterEksConfigV2NodeGroupArgs.builder()\n .name(\"node_group2\")\n .instanceType(\"m5.xlarge\")\n .desiredSize(2)\n .maxSize(3)\n .build())\n .privateAccess(true)\n .publicAccess(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCloudCredential:\n type: rancher2:CloudCredential\n properties:\n description: foo test\n amazonec2CredentialConfig:\n accessKey: \u003cAWS_ACCESS_KEY\u003e\n secretKey: \u003cAWS_SECRET_KEY\u003e\n fooCluster:\n type: rancher2:Cluster\n properties:\n description: Terraform EKS cluster\n eksConfigV2:\n cloudCredentialId: ${fooCloudCredential.id}\n region: \u003cEKS_REGION\u003e\n kubernetesVersion: '1.17'\n loggingTypes:\n - audit\n - api\n nodeGroups:\n - name: node_group1\n instanceType: t3.medium\n desiredSize: 3\n maxSize: 5\n - name: node_group2\n instanceType: m5.xlarge\n desiredSize: 2\n maxSize: 3\n privateAccess: true\n publicAccess: false\n```\n{{% /example %}}\n{{% example %}}\n### Creating EKS cluster from Rancher v2, using `eks_config_v2` and launch template. For Rancher v2.5.6 or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst fooCloudCredential = new rancher2.CloudCredential(\"fooCloudCredential\", {\n description: \"foo test\",\n amazonec2CredentialConfig: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n },\n});\nconst fooCluster = new rancher2.Cluster(\"fooCluster\", {\n description: \"Terraform EKS cluster\",\n eksConfigV2: {\n cloudCredentialId: fooCloudCredential.id,\n region: \"\u003cEKS_REGION\u003e\",\n kubernetesVersion: \"1.17\",\n loggingTypes: [\n \"audit\",\n \"api\",\n ],\n nodeGroups: [{\n desiredSize: 3,\n maxSize: 5,\n name: \"node_group1\",\n launchTemplates: [{\n id: \"\u003cEC2_LAUNCH_TEMPLATE_ID\u003e\",\n version: 1,\n }],\n }],\n privateAccess: true,\n publicAccess: true,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_cloud_credential = rancher2.CloudCredential(\"fooCloudCredential\",\n description=\"foo test\",\n amazonec2_credential_config=rancher2.CloudCredentialAmazonec2CredentialConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ))\nfoo_cluster = rancher2.Cluster(\"fooCluster\",\n description=\"Terraform EKS cluster\",\n eks_config_v2=rancher2.ClusterEksConfigV2Args(\n cloud_credential_id=foo_cloud_credential.id,\n region=\"\u003cEKS_REGION\u003e\",\n kubernetes_version=\"1.17\",\n logging_types=[\n \"audit\",\n \"api\",\n ],\n node_groups=[rancher2.ClusterEksConfigV2NodeGroupArgs(\n desired_size=3,\n max_size=5,\n name=\"node_group1\",\n launch_templates=[rancher2.ClusterEksConfigV2NodeGroupLaunchTemplateArgs(\n id=\"\u003cEC2_LAUNCH_TEMPLATE_ID\u003e\",\n version=1,\n )],\n )],\n private_access=True,\n public_access=True,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var fooCloudCredential = new Rancher2.CloudCredential(\"fooCloudCredential\", new()\n {\n Description = \"foo test\",\n Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n },\n });\n\n var fooCluster = new Rancher2.Cluster(\"fooCluster\", new()\n {\n Description = \"Terraform EKS cluster\",\n EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args\n {\n CloudCredentialId = fooCloudCredential.Id,\n Region = \"\u003cEKS_REGION\u003e\",\n KubernetesVersion = \"1.17\",\n LoggingTypes = new[]\n {\n \"audit\",\n \"api\",\n },\n NodeGroups = new[]\n {\n new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs\n {\n DesiredSize = 3,\n MaxSize = 5,\n Name = \"node_group1\",\n LaunchTemplates = new[]\n {\n new Rancher2.Inputs.ClusterEksConfigV2NodeGroupLaunchTemplateArgs\n {\n Id = \"\u003cEC2_LAUNCH_TEMPLATE_ID\u003e\",\n Version = 1,\n },\n },\n },\n },\n PrivateAccess = true,\n PublicAccess = true,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCloudCredential, err := rancher2.NewCloudCredential(ctx, \"fooCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2CredentialConfig: \u0026CloudCredentialAmazonec2CredentialConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCluster(ctx, \"fooCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform EKS cluster\"),\n\t\t\tEksConfigV2: \u0026ClusterEksConfigV2Args{\n\t\t\t\tCloudCredentialId: fooCloudCredential.ID(),\n\t\t\t\tRegion: pulumi.String(\"\u003cEKS_REGION\u003e\"),\n\t\t\t\tKubernetesVersion: pulumi.String(\"1.17\"),\n\t\t\t\tLoggingTypes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"audit\"),\n\t\t\t\t\tpulumi.String(\"api\"),\n\t\t\t\t},\n\t\t\t\tNodeGroups: ClusterEksConfigV2NodeGroupArray{\n\t\t\t\t\t\u0026ClusterEksConfigV2NodeGroupArgs{\n\t\t\t\t\t\tDesiredSize: pulumi.Int(3),\n\t\t\t\t\t\tMaxSize: pulumi.Int(5),\n\t\t\t\t\t\tName: pulumi.String(\"node_group1\"),\n\t\t\t\t\t\tLaunchTemplates: ClusterEksConfigV2NodeGroupLaunchTemplateArray{\n\t\t\t\t\t\t\t\u0026ClusterEksConfigV2NodeGroupLaunchTemplateArgs{\n\t\t\t\t\t\t\t\tId: pulumi.String(\"\u003cEC2_LAUNCH_TEMPLATE_ID\u003e\"),\n\t\t\t\t\t\t\t\tVersion: pulumi.Int(1),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tPrivateAccess: pulumi.Bool(true),\n\t\t\t\tPublicAccess: pulumi.Bool(true),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.CloudCredential;\nimport com.pulumi.rancher2.CloudCredentialArgs;\nimport com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterEksConfigV2Args;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCloudCredential = new CloudCredential(\"fooCloudCredential\", CloudCredentialArgs.builder() \n .description(\"foo test\")\n .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()\n .accessKey(\"\u003cAWS_ACCESS_KEY\u003e\")\n .secretKey(\"\u003cAWS_SECRET_KEY\u003e\")\n .build())\n .build());\n\n var fooCluster = new Cluster(\"fooCluster\", ClusterArgs.builder() \n .description(\"Terraform EKS cluster\")\n .eksConfigV2(ClusterEksConfigV2Args.builder()\n .cloudCredentialId(fooCloudCredential.id())\n .region(\"\u003cEKS_REGION\u003e\")\n .kubernetesVersion(\"1.17\")\n .loggingTypes( \n \"audit\",\n \"api\")\n .nodeGroups(ClusterEksConfigV2NodeGroupArgs.builder()\n .desiredSize(3)\n .maxSize(5)\n .name(\"node_group1\")\n .launchTemplates(ClusterEksConfigV2NodeGroupLaunchTemplateArgs.builder()\n .id(\"\u003cEC2_LAUNCH_TEMPLATE_ID\u003e\")\n .version(1)\n .build())\n .build())\n .privateAccess(true)\n .publicAccess(true)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n fooCloudCredential:\n type: rancher2:CloudCredential\n properties:\n description: foo test\n amazonec2CredentialConfig:\n accessKey: \u003cAWS_ACCESS_KEY\u003e\n secretKey: \u003cAWS_SECRET_KEY\u003e\n fooCluster:\n type: rancher2:Cluster\n properties:\n description: Terraform EKS cluster\n eksConfigV2:\n cloudCredentialId: ${fooCloudCredential.id}\n region: \u003cEKS_REGION\u003e\n kubernetesVersion: '1.17'\n loggingTypes:\n - audit\n - api\n nodeGroups:\n - desiredSize: 3\n maxSize: 5\n name: node_group1\n launchTemplates:\n - id: \u003cEC2_LAUNCH_TEMPLATE_ID\u003e\n version: 1\n privateAccess: true\n publicAccess: true\n```\n{{% /example %}}\n{{% example %}}\n### Creating AKS cluster from Rancher v2, using `aks_config_v2`. For Rancher v2.6.0 or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo_aks = new rancher2.CloudCredential(\"foo-aks\", {azureCredentialConfig: {\n clientId: \"\u003cCLIENT_ID\u003e\",\n clientSecret: \"\u003cCLIENT_SECRET\u003e\",\n subscriptionId: \"\u003cSUBSCRIPTION_ID\u003e\",\n}});\nconst foo = new rancher2.Cluster(\"foo\", {\n description: \"Terraform AKS cluster\",\n aksConfigV2: {\n cloudCredentialId: foo_aks.id,\n resourceGroup: \"\u003cRESOURCE_GROUP\u003e\",\n resourceLocation: \"\u003cRESOURCE_LOCATION\u003e\",\n dnsPrefix: \"\u003cDNS_PREFIX\u003e\",\n kubernetesVersion: \"1.21.2\",\n networkPlugin: \"\u003cNETWORK_PLUGIN\u003e\",\n nodePools: [{\n availabilityZones: [\n \"1\",\n \"2\",\n \"3\",\n ],\n name: \"\u003cNODEPOOL_NAME\u003e\",\n count: 1,\n orchestratorVersion: \"1.21.2\",\n osDiskSizeGb: 128,\n vmSize: \"Standard_DS2_v2\",\n }],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_aks = rancher2.CloudCredential(\"foo-aks\", azure_credential_config=rancher2.CloudCredentialAzureCredentialConfigArgs(\n client_id=\"\u003cCLIENT_ID\u003e\",\n client_secret=\"\u003cCLIENT_SECRET\u003e\",\n subscription_id=\"\u003cSUBSCRIPTION_ID\u003e\",\n))\nfoo = rancher2.Cluster(\"foo\",\n description=\"Terraform AKS cluster\",\n aks_config_v2=rancher2.ClusterAksConfigV2Args(\n cloud_credential_id=foo_aks.id,\n resource_group=\"\u003cRESOURCE_GROUP\u003e\",\n resource_location=\"\u003cRESOURCE_LOCATION\u003e\",\n dns_prefix=\"\u003cDNS_PREFIX\u003e\",\n kubernetes_version=\"1.21.2\",\n network_plugin=\"\u003cNETWORK_PLUGIN\u003e\",\n node_pools=[rancher2.ClusterAksConfigV2NodePoolArgs(\n availability_zones=[\n \"1\",\n \"2\",\n \"3\",\n ],\n name=\"\u003cNODEPOOL_NAME\u003e\",\n count=1,\n orchestrator_version=\"1.21.2\",\n os_disk_size_gb=128,\n vm_size=\"Standard_DS2_v2\",\n )],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo_aks = new Rancher2.CloudCredential(\"foo-aks\", new()\n {\n AzureCredentialConfig = new Rancher2.Inputs.CloudCredentialAzureCredentialConfigArgs\n {\n ClientId = \"\u003cCLIENT_ID\u003e\",\n ClientSecret = \"\u003cCLIENT_SECRET\u003e\",\n SubscriptionId = \"\u003cSUBSCRIPTION_ID\u003e\",\n },\n });\n\n var foo = new Rancher2.Cluster(\"foo\", new()\n {\n Description = \"Terraform AKS cluster\",\n AksConfigV2 = new Rancher2.Inputs.ClusterAksConfigV2Args\n {\n CloudCredentialId = foo_aks.Id,\n ResourceGroup = \"\u003cRESOURCE_GROUP\u003e\",\n ResourceLocation = \"\u003cRESOURCE_LOCATION\u003e\",\n DnsPrefix = \"\u003cDNS_PREFIX\u003e\",\n KubernetesVersion = \"1.21.2\",\n NetworkPlugin = \"\u003cNETWORK_PLUGIN\u003e\",\n NodePools = new[]\n {\n new Rancher2.Inputs.ClusterAksConfigV2NodePoolArgs\n {\n AvailabilityZones = new[]\n {\n \"1\",\n \"2\",\n \"3\",\n },\n Name = \"\u003cNODEPOOL_NAME\u003e\",\n Count = 1,\n OrchestratorVersion = \"1.21.2\",\n OsDiskSizeGb = 128,\n VmSize = \"Standard_DS2_v2\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCloudCredential(ctx, \"foo-aks\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tAzureCredentialConfig: \u0026CloudCredentialAzureCredentialConfigArgs{\n\t\t\t\tClientId: pulumi.String(\"\u003cCLIENT_ID\u003e\"),\n\t\t\t\tClientSecret: pulumi.String(\"\u003cCLIENT_SECRET\u003e\"),\n\t\t\t\tSubscriptionId: pulumi.String(\"\u003cSUBSCRIPTION_ID\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCluster(ctx, \"foo\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Terraform AKS cluster\"),\n\t\t\tAksConfigV2: \u0026ClusterAksConfigV2Args{\n\t\t\t\tCloudCredentialId: foo_aks.ID(),\n\t\t\t\tResourceGroup: pulumi.String(\"\u003cRESOURCE_GROUP\u003e\"),\n\t\t\t\tResourceLocation: pulumi.String(\"\u003cRESOURCE_LOCATION\u003e\"),\n\t\t\t\tDnsPrefix: pulumi.String(\"\u003cDNS_PREFIX\u003e\"),\n\t\t\t\tKubernetesVersion: pulumi.String(\"1.21.2\"),\n\t\t\t\tNetworkPlugin: pulumi.String(\"\u003cNETWORK_PLUGIN\u003e\"),\n\t\t\t\tNodePools: ClusterAksConfigV2NodePoolArray{\n\t\t\t\t\t\u0026ClusterAksConfigV2NodePoolArgs{\n\t\t\t\t\t\tAvailabilityZones: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"1\"),\n\t\t\t\t\t\t\tpulumi.String(\"2\"),\n\t\t\t\t\t\t\tpulumi.String(\"3\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"\u003cNODEPOOL_NAME\u003e\"),\n\t\t\t\t\t\tCount: pulumi.Int(1),\n\t\t\t\t\t\tOrchestratorVersion: pulumi.String(\"1.21.2\"),\n\t\t\t\t\t\tOsDiskSizeGb: pulumi.Int(128),\n\t\t\t\t\t\tVmSize: pulumi.String(\"Standard_DS2_v2\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.CloudCredential;\nimport com.pulumi.rancher2.CloudCredentialArgs;\nimport com.pulumi.rancher2.inputs.CloudCredentialAzureCredentialConfigArgs;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterAksConfigV2Args;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo_aks = new CloudCredential(\"foo-aks\", CloudCredentialArgs.builder() \n .azureCredentialConfig(CloudCredentialAzureCredentialConfigArgs.builder()\n .clientId(\"\u003cCLIENT_ID\u003e\")\n .clientSecret(\"\u003cCLIENT_SECRET\u003e\")\n .subscriptionId(\"\u003cSUBSCRIPTION_ID\u003e\")\n .build())\n .build());\n\n var foo = new Cluster(\"foo\", ClusterArgs.builder() \n .description(\"Terraform AKS cluster\")\n .aksConfigV2(ClusterAksConfigV2Args.builder()\n .cloudCredentialId(foo_aks.id())\n .resourceGroup(\"\u003cRESOURCE_GROUP\u003e\")\n .resourceLocation(\"\u003cRESOURCE_LOCATION\u003e\")\n .dnsPrefix(\"\u003cDNS_PREFIX\u003e\")\n .kubernetesVersion(\"1.21.2\")\n .networkPlugin(\"\u003cNETWORK_PLUGIN\u003e\")\n .nodePools(ClusterAksConfigV2NodePoolArgs.builder()\n .availabilityZones( \n \"1\",\n \"2\",\n \"3\")\n .name(\"\u003cNODEPOOL_NAME\u003e\")\n .count(1)\n .orchestratorVersion(\"1.21.2\")\n .osDiskSizeGb(128)\n .vmSize(\"Standard_DS2_v2\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foo-aks:\n type: rancher2:CloudCredential\n properties:\n azureCredentialConfig:\n clientId: \u003cCLIENT_ID\u003e\n clientSecret: \u003cCLIENT_SECRET\u003e\n subscriptionId: \u003cSUBSCRIPTION_ID\u003e\n foo:\n type: rancher2:Cluster\n properties:\n description: Terraform AKS cluster\n aksConfigV2:\n cloudCredentialId: ${[\"foo-aks\"].id}\n resourceGroup: \u003cRESOURCE_GROUP\u003e\n resourceLocation: \u003cRESOURCE_LOCATION\u003e\n dnsPrefix: \u003cDNS_PREFIX\u003e\n kubernetesVersion: 1.21.2\n networkPlugin: \u003cNETWORK_PLUGIN\u003e\n nodePools:\n - availabilityZones:\n - '1'\n - '2'\n - '3'\n name: \u003cNODEPOOL_NAME\u003e\n count: 1\n orchestratorVersion: 1.21.2\n osDiskSizeGb: 128\n vmSize: Standard_DS2_v2\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nClusters can be imported using the Rancher Cluster ID\n\n```sh\n $ pulumi import rancher2:index/cluster:Cluster foo \u0026lt;CLUSTER_ID\u0026gt;\n```\n\n ", "properties": { "agentEnvVars": { "type": "array", @@ -41122,7 +44437,8 @@ }, "caCert": { "type": "string", - "description": "TLS CA certificate for etcd service (string)\n" + "description": "TLS CA certificate for etcd service (string)\n", + "secret": true }, "clusterAuthEndpoint": { "$ref": "#/types/rancher2:index/ClusterClusterAuthEndpoint:ClusterClusterAuthEndpoint", @@ -41230,182 +44546,8 @@ }, "kubeConfig": { "type": "string", - "description": "(Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has `cluster_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string)\n" - }, - "labels": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Labels for cluster registration token object (map)\n" - }, - "name": { - "type": "string", - "description": "Name of cluster registration token (string)\n" - }, - "okeConfig": { - "$ref": "#/types/rancher2:index/ClusterOkeConfig:ClusterOkeConfig", - "description": "The Oracle OKE configuration for `oke` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `k3s_config` and `rke_config` (list maxitems:1)\n" - }, - "rke2Config": { - "$ref": "#/types/rancher2:index/ClusterRke2Config:ClusterRke2Config", - "description": "The RKE2 configuration for `rke2` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `gke_config`, `oke_config`, `k3s_config` and `rke_config` (list maxitems:1)\n" - }, - "rkeConfig": { - "$ref": "#/types/rancher2:index/ClusterRkeConfig:ClusterRkeConfig", - "description": "The RKE configuration for `rke` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` and `k3s_config` (list maxitems:1)\n" - }, - "scheduledClusterScan": { - "$ref": "#/types/rancher2:index/ClusterScheduledClusterScan:ClusterScheduledClusterScan", - "description": "Cluster scheduled cis scan. For Rancher v2.4.0 or above (List maxitems:1)\n" - }, - "systemProjectId": { - "type": "string", - "description": "(Computed) System project ID for the cluster (string)\n" - }, - "windowsPreferedCluster": { - "type": "boolean", - "description": "Windows preferred cluster. Default: `false` (bool)\n" - } - }, - "required": [ - "annotations", - "caCert", - "clusterAuthEndpoint", - "clusterRegistrationToken", - "clusterTemplateAnswers", - "clusterTemplateQuestions", - "defaultPodSecurityPolicyTemplateId", - "defaultProjectId", - "desiredAgentImage", - "desiredAuthImage", - "dockerRootDir", - "driver", - "eksConfigV2", - "enableClusterAlerting", - "enableClusterIstio", - "enableClusterMonitoring", - "enableNetworkPolicy", - "fleetWorkspaceName", - "istioEnabled", - "k3sConfig", - "kubeConfig", - "labels", - "name", - "rke2Config", - "rkeConfig", - "scheduledClusterScan", - "systemProjectId" - ], - "inputProperties": { - "agentEnvVars": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterAgentEnvVar:ClusterAgentEnvVar" - }, - "description": "Optional Agent Env Vars for Rancher agent. Just for Rancher v2.5.6 and above (list)\n" - }, - "aksConfig": { - "$ref": "#/types/rancher2:index/ClusterAksConfig:ClusterAksConfig", - "description": "The Azure AKS configuration for `aks` Clusters. Conflicts with `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` `k3s_config` and `rke_config` (list maxitems:1)\n" - }, - "aksConfigV2": { - "$ref": "#/types/rancher2:index/ClusterAksConfigV2:ClusterAksConfigV2", - "description": "The Azure AKS v2 configuration for creating/import `aks` Clusters. Conflicts with `aks_config`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` `k3s_config` and `rke_config` (list maxitems:1)\n" - }, - "annotations": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Annotations for cluster registration token object (map)\n" - }, - "clusterAuthEndpoint": { - "$ref": "#/types/rancher2:index/ClusterClusterAuthEndpoint:ClusterClusterAuthEndpoint", - "description": "Enabling the [local cluster authorized endpoint](https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/#local-cluster-auth-endpoint) allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)\n" - }, - "clusterMonitoringInput": { - "$ref": "#/types/rancher2:index/ClusterClusterMonitoringInput:ClusterClusterMonitoringInput", - "description": "Cluster monitoring config. Any parameter defined in [rancher-monitoring charts](https://github.com/rancher/system-charts/tree/dev/charts/rancher-monitoring) could be configured (list maxitems:1)\n" - }, - "clusterTemplateAnswers": { - "$ref": "#/types/rancher2:index/ClusterClusterTemplateAnswers:ClusterClusterTemplateAnswers", - "description": "Cluster template answers. Just for Rancher v2.3.x and above (list maxitems:1)\n" - }, - "clusterTemplateId": { - "type": "string", - "description": "Cluster template ID. Just for Rancher v2.3.x and above (string)\n" - }, - "clusterTemplateQuestions": { - "type": "array", - "items": { - "$ref": "#/types/rancher2:index/ClusterClusterTemplateQuestion:ClusterClusterTemplateQuestion" - }, - "description": "Cluster template questions. Just for Rancher v2.3.x and above (list)\n" - }, - "clusterTemplateRevisionId": { - "type": "string", - "description": "Cluster template revision ID. Just for Rancher v2.3.x and above (string)\n" - }, - "defaultPodSecurityPolicyTemplateId": { - "type": "string", - "description": "[Default pod security policy template id](https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/#pod-security-policy-support) (string)\n" - }, - "description": { - "type": "string", - "description": "An optional description of this cluster (string)\n" - }, - "desiredAgentImage": { - "type": "string", - "description": "Desired agent image. Just for Rancher v2.3.x and above (string)\n" - }, - "desiredAuthImage": { - "type": "string", - "description": "Desired auth image. Just for Rancher v2.3.x and above (string)\n" - }, - "dockerRootDir": { - "type": "string", - "description": "Desired auth image. Just for Rancher v2.3.x and above (string)\n" - }, - "driver": { - "type": "string", - "description": "(Computed) The driver used for the Cluster. `imported`, `azurekubernetesservice`, `amazonelasticcontainerservice`, `googlekubernetesengine` and `rancherKubernetesEngine` are supported (string)\n" - }, - "eksConfig": { - "$ref": "#/types/rancher2:index/ClusterEksConfig:ClusterEksConfig", - "description": "The Amazon EKS configuration for `eks` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` `k3s_config` and `rke_config` (list maxitems:1)\n" - }, - "eksConfigV2": { - "$ref": "#/types/rancher2:index/ClusterEksConfigV2:ClusterEksConfigV2", - "description": "The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aks_config`, `eks_config`, `gke_config`, `gke_config_v2`, `oke_config` `k3s_config` and `rke_config`. For Rancher v2.5.x or above (list maxitems:1)\n" - }, - "enableClusterAlerting": { - "type": "boolean", - "description": "Enable built-in cluster alerting (bool)\n" - }, - "enableClusterMonitoring": { - "type": "boolean", - "description": "Enable built-in cluster monitoring (bool)\n" - }, - "enableNetworkPolicy": { - "type": "boolean", - "description": "Enable project network isolation (bool)\n" - }, - "fleetWorkspaceName": { - "type": "string", - "description": "Fleet workspace name (string)\n" - }, - "gkeConfig": { - "$ref": "#/types/rancher2:index/ClusterGkeConfig:ClusterGkeConfig", - "description": "The Google GKE configuration for `gke` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config_v2`, `oke_config`, `k3s_config` and `rke_config` (list maxitems:1)\n" - }, - "gkeConfigV2": { - "$ref": "#/types/rancher2:index/ClusterGkeConfigV2:ClusterGkeConfigV2", - "description": "The Google GKE V2 configuration for `gke` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config`, `oke_config`, `k3s_config` and `rke_config`. For Rancher v2.5.8 or above (list maxitems:1)\n" - }, - "k3sConfig": { - "$ref": "#/types/rancher2:index/ClusterK3sConfig:ClusterK3sConfig", - "description": "The K3S configuration for `k3s` imported Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` and `rke_config` (list maxitems:1)\n" + "description": "(Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has `cluster_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string)\n", + "secret": true }, "labels": { "type": "object", @@ -41434,11 +44576,187 @@ "$ref": "#/types/rancher2:index/ClusterScheduledClusterScan:ClusterScheduledClusterScan", "description": "Cluster scheduled cis scan. For Rancher v2.4.0 or above (List maxitems:1)\n" }, + "systemProjectId": { + "type": "string", + "description": "(Computed) System project ID for the cluster (string)\n" + }, "windowsPreferedCluster": { "type": "boolean", "description": "Windows preferred cluster. Default: `false` (bool)\n" } }, + "required": [ + "annotations", + "caCert", + "clusterAuthEndpoint", + "clusterRegistrationToken", + "clusterTemplateAnswers", + "clusterTemplateQuestions", + "defaultPodSecurityPolicyTemplateId", + "defaultProjectId", + "desiredAgentImage", + "desiredAuthImage", + "dockerRootDir", + "driver", + "eksConfigV2", + "enableClusterAlerting", + "enableClusterIstio", + "enableClusterMonitoring", + "enableNetworkPolicy", + "fleetWorkspaceName", + "istioEnabled", + "k3sConfig", + "kubeConfig", + "labels", + "name", + "rke2Config", + "rkeConfig", + "scheduledClusterScan", + "systemProjectId" + ], + "inputProperties": { + "agentEnvVars": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterAgentEnvVar:ClusterAgentEnvVar" + }, + "description": "Optional Agent Env Vars for Rancher agent. Just for Rancher v2.5.6 and above (list)\n" + }, + "aksConfig": { + "$ref": "#/types/rancher2:index/ClusterAksConfig:ClusterAksConfig", + "description": "The Azure AKS configuration for `aks` Clusters. Conflicts with `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` `k3s_config` and `rke_config` (list maxitems:1)\n" + }, + "aksConfigV2": { + "$ref": "#/types/rancher2:index/ClusterAksConfigV2:ClusterAksConfigV2", + "description": "The Azure AKS v2 configuration for creating/import `aks` Clusters. Conflicts with `aks_config`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` `k3s_config` and `rke_config` (list maxitems:1)\n" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Annotations for cluster registration token object (map)\n" + }, + "clusterAuthEndpoint": { + "$ref": "#/types/rancher2:index/ClusterClusterAuthEndpoint:ClusterClusterAuthEndpoint", + "description": "Enabling the [local cluster authorized endpoint](https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/#local-cluster-auth-endpoint) allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)\n" + }, + "clusterMonitoringInput": { + "$ref": "#/types/rancher2:index/ClusterClusterMonitoringInput:ClusterClusterMonitoringInput", + "description": "Cluster monitoring config. Any parameter defined in [rancher-monitoring charts](https://github.com/rancher/system-charts/tree/dev/charts/rancher-monitoring) could be configured (list maxitems:1)\n" + }, + "clusterTemplateAnswers": { + "$ref": "#/types/rancher2:index/ClusterClusterTemplateAnswers:ClusterClusterTemplateAnswers", + "description": "Cluster template answers. Just for Rancher v2.3.x and above (list maxitems:1)\n" + }, + "clusterTemplateId": { + "type": "string", + "description": "Cluster template ID. Just for Rancher v2.3.x and above (string)\n" + }, + "clusterTemplateQuestions": { + "type": "array", + "items": { + "$ref": "#/types/rancher2:index/ClusterClusterTemplateQuestion:ClusterClusterTemplateQuestion" + }, + "description": "Cluster template questions. Just for Rancher v2.3.x and above (list)\n" + }, + "clusterTemplateRevisionId": { + "type": "string", + "description": "Cluster template revision ID. Just for Rancher v2.3.x and above (string)\n" + }, + "defaultPodSecurityPolicyTemplateId": { + "type": "string", + "description": "[Default pod security policy template id](https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/#pod-security-policy-support) (string)\n" + }, + "description": { + "type": "string", + "description": "An optional description of this cluster (string)\n" + }, + "desiredAgentImage": { + "type": "string", + "description": "Desired agent image. Just for Rancher v2.3.x and above (string)\n" + }, + "desiredAuthImage": { + "type": "string", + "description": "Desired auth image. Just for Rancher v2.3.x and above (string)\n" + }, + "dockerRootDir": { + "type": "string", + "description": "Desired auth image. Just for Rancher v2.3.x and above (string)\n" + }, + "driver": { + "type": "string", + "description": "(Computed) The driver used for the Cluster. `imported`, `azurekubernetesservice`, `amazonelasticcontainerservice`, `googlekubernetesengine` and `rancherKubernetesEngine` are supported (string)\n" + }, + "eksConfig": { + "$ref": "#/types/rancher2:index/ClusterEksConfig:ClusterEksConfig", + "description": "The Amazon EKS configuration for `eks` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` `k3s_config` and `rke_config` (list maxitems:1)\n" + }, + "eksConfigV2": { + "$ref": "#/types/rancher2:index/ClusterEksConfigV2:ClusterEksConfigV2", + "description": "The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aks_config`, `eks_config`, `gke_config`, `gke_config_v2`, `oke_config` `k3s_config` and `rke_config`. For Rancher v2.5.x or above (list maxitems:1)\n" + }, + "enableClusterAlerting": { + "type": "boolean", + "description": "Enable built-in cluster alerting (bool)\n" + }, + "enableClusterMonitoring": { + "type": "boolean", + "description": "Enable built-in cluster monitoring (bool)\n" + }, + "enableNetworkPolicy": { + "type": "boolean", + "description": "Enable project network isolation (bool)\n" + }, + "fleetWorkspaceName": { + "type": "string", + "description": "Fleet workspace name (string)\n" + }, + "gkeConfig": { + "$ref": "#/types/rancher2:index/ClusterGkeConfig:ClusterGkeConfig", + "description": "The Google GKE configuration for `gke` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config_v2`, `oke_config`, `k3s_config` and `rke_config` (list maxitems:1)\n" + }, + "gkeConfigV2": { + "$ref": "#/types/rancher2:index/ClusterGkeConfigV2:ClusterGkeConfigV2", + "description": "The Google GKE V2 configuration for `gke` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config`, `oke_config`, `k3s_config` and `rke_config`. For Rancher v2.5.8 or above (list maxitems:1)\n" + }, + "k3sConfig": { + "$ref": "#/types/rancher2:index/ClusterK3sConfig:ClusterK3sConfig", + "description": "The K3S configuration for `k3s` imported Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` and `rke_config` (list maxitems:1)\n" + }, + "labels": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Labels for cluster registration token object (map)\n" + }, + "name": { + "type": "string", + "description": "Name of cluster registration token (string)\n" + }, + "okeConfig": { + "$ref": "#/types/rancher2:index/ClusterOkeConfig:ClusterOkeConfig", + "description": "The Oracle OKE configuration for `oke` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `k3s_config` and `rke_config` (list maxitems:1)\n" + }, + "rke2Config": { + "$ref": "#/types/rancher2:index/ClusterRke2Config:ClusterRke2Config", + "description": "The RKE2 configuration for `rke2` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `gke_config`, `oke_config`, `k3s_config` and `rke_config` (list maxitems:1)\n" + }, + "rkeConfig": { + "$ref": "#/types/rancher2:index/ClusterRkeConfig:ClusterRkeConfig", + "description": "The RKE configuration for `rke` Clusters. Conflicts with `aks_config`, `aks_config_v2`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` and `k3s_config` (list maxitems:1)\n" + }, + "scheduledClusterScan": { + "$ref": "#/types/rancher2:index/ClusterScheduledClusterScan:ClusterScheduledClusterScan", + "description": "Cluster scheduled cis scan. For Rancher v2.4.0 or above (List maxitems:1)\n" + }, + "windowsPreferedCluster": { + "type": "boolean", + "description": "Windows preferred cluster. Default: `false` (bool)\n", + "willReplaceOnChanges": true + } + }, "stateInputs": { "description": "Input properties used for looking up and filtering Cluster resources.\n", "properties": { @@ -41466,7 +44784,8 @@ }, "caCert": { "type": "string", - "description": "TLS CA certificate for etcd service (string)\n" + "description": "TLS CA certificate for etcd service (string)\n", + "secret": true }, "clusterAuthEndpoint": { "$ref": "#/types/rancher2:index/ClusterClusterAuthEndpoint:ClusterClusterAuthEndpoint", @@ -41574,7 +44893,8 @@ }, "kubeConfig": { "type": "string", - "description": "(Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has `cluster_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string)\n" + "description": "(Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has `cluster_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string)\n", + "secret": true }, "labels": { "type": "object", @@ -41609,14 +44929,15 @@ }, "windowsPreferedCluster": { "type": "boolean", - "description": "Windows preferred cluster. Default: `false` (bool)\n" + "description": "Windows preferred cluster. Default: `false` (bool)\n", + "willReplaceOnChanges": true } }, "type": "object" } }, "rancher2:index/clusterAlertGroup:ClusterAlertGroup": { - "description": "Provides a Rancher v2 Cluster Alert Group resource. This can be used to create Cluster Alert Group for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Alert Group\nconst foo = new rancher2.ClusterAlertGroup(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform cluster alert group\",\n groupIntervalSeconds: 300,\n repeatIntervalSeconds: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Alert Group\nfoo = rancher2.ClusterAlertGroup(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform cluster alert group\",\n group_interval_seconds=300,\n repeat_interval_seconds=3600)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new Rancher2 Cluster Alert Group\n var foo = new Rancher2.ClusterAlertGroup(\"foo\", new Rancher2.ClusterAlertGroupArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform cluster alert group\",\n GroupIntervalSeconds = 300,\n RepeatIntervalSeconds = 3600,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterAlertGroup(ctx, \"foo\", \u0026rancher2.ClusterAlertGroupArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform cluster alert group\"),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Alert Group can be imported using the Rancher cluster alert group ID\n\n```sh\n $ pulumi import rancher2:index/clusterAlertGroup:ClusterAlertGroup foo \u0026lt;CLUSTER_ALERT_GROUP_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Cluster Alert Group resource. This can be used to create Cluster Alert Group for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Alert Group\nconst foo = new rancher2.ClusterAlertGroup(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform cluster alert group\",\n groupIntervalSeconds: 300,\n repeatIntervalSeconds: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Alert Group\nfoo = rancher2.ClusterAlertGroup(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform cluster alert group\",\n group_interval_seconds=300,\n repeat_interval_seconds=3600)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Rancher2 Cluster Alert Group\n var foo = new Rancher2.ClusterAlertGroup(\"foo\", new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform cluster alert group\",\n GroupIntervalSeconds = 300,\n RepeatIntervalSeconds = 3600,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterAlertGroup(ctx, \"foo\", \u0026rancher2.ClusterAlertGroupArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform cluster alert group\"),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterAlertGroup;\nimport com.pulumi.rancher2.ClusterAlertGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ClusterAlertGroup(\"foo\", ClusterAlertGroupArgs.builder() \n .clusterId(\"\u003ccluster_id\u003e\")\n .description(\"Terraform cluster alert group\")\n .groupIntervalSeconds(300)\n .repeatIntervalSeconds(3600)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 Cluster Alert Group\n foo:\n type: rancher2:ClusterAlertGroup\n properties:\n clusterId: \u003ccluster_id\u003e\n description: Terraform cluster alert group\n groupIntervalSeconds: 300\n repeatIntervalSeconds: 3600\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Alert Group can be imported using the Rancher cluster alert group ID\n\n```sh\n $ pulumi import rancher2:index/clusterAlertGroup:ClusterAlertGroup foo \u0026lt;CLUSTER_ALERT_GROUP_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -41778,7 +45099,7 @@ ] }, "rancher2:index/clusterAlertRule:ClusterAlertRule": { - "description": "Provides a Rancher v2 Cluster Alert Rule resource. This can be used to create Cluster Alert Rule for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Alert Group\nconst fooClusterAlertGroup = new rancher2.ClusterAlertGroup(\"fooClusterAlertGroup\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform cluster alert group\",\n groupIntervalSeconds: 300,\n repeatIntervalSeconds: 3600,\n});\n// Create a new Rancher2 Cluster Alert Rule\nconst fooClusterAlertRule = new rancher2.ClusterAlertRule(\"fooClusterAlertRule\", {\n clusterId: fooClusterAlertGroup.clusterId,\n groupId: fooClusterAlertGroup.id,\n groupIntervalSeconds: 600,\n repeatIntervalSeconds: 6000,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Alert Group\nfoo_cluster_alert_group = rancher2.ClusterAlertGroup(\"fooClusterAlertGroup\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform cluster alert group\",\n group_interval_seconds=300,\n repeat_interval_seconds=3600)\n# Create a new Rancher2 Cluster Alert Rule\nfoo_cluster_alert_rule = rancher2.ClusterAlertRule(\"fooClusterAlertRule\",\n cluster_id=foo_cluster_alert_group.cluster_id,\n group_id=foo_cluster_alert_group.id,\n group_interval_seconds=600,\n repeat_interval_seconds=6000)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new Rancher2 Cluster Alert Group\n var fooClusterAlertGroup = new Rancher2.ClusterAlertGroup(\"fooClusterAlertGroup\", new Rancher2.ClusterAlertGroupArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform cluster alert group\",\n GroupIntervalSeconds = 300,\n RepeatIntervalSeconds = 3600,\n });\n // Create a new Rancher2 Cluster Alert Rule\n var fooClusterAlertRule = new Rancher2.ClusterAlertRule(\"fooClusterAlertRule\", new Rancher2.ClusterAlertRuleArgs\n {\n ClusterId = fooClusterAlertGroup.ClusterId,\n GroupId = fooClusterAlertGroup.Id,\n GroupIntervalSeconds = 600,\n RepeatIntervalSeconds = 6000,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooClusterAlertGroup, err := rancher2.NewClusterAlertGroup(ctx, \"fooClusterAlertGroup\", \u0026rancher2.ClusterAlertGroupArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform cluster alert group\"),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewClusterAlertRule(ctx, \"fooClusterAlertRule\", \u0026rancher2.ClusterAlertRuleArgs{\n\t\t\tClusterId: fooClusterAlertGroup.ClusterId,\n\t\t\tGroupId: fooClusterAlertGroup.ID(),\n\t\t\tGroupIntervalSeconds: pulumi.Int(600),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(6000),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Alert Rule can be imported using the Rancher cluster alert rule ID\n\n```sh\n $ pulumi import rancher2:index/clusterAlertRule:ClusterAlertRule foo \u0026lt;CLUSTER_ALERT_RULE_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Cluster Alert Rule resource. This can be used to create Cluster Alert Rule for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Alert Group\nconst fooClusterAlertGroup = new rancher2.ClusterAlertGroup(\"fooClusterAlertGroup\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform cluster alert group\",\n groupIntervalSeconds: 300,\n repeatIntervalSeconds: 3600,\n});\n// Create a new Rancher2 Cluster Alert Rule\nconst fooClusterAlertRule = new rancher2.ClusterAlertRule(\"fooClusterAlertRule\", {\n clusterId: fooClusterAlertGroup.clusterId,\n groupId: fooClusterAlertGroup.id,\n groupIntervalSeconds: 600,\n repeatIntervalSeconds: 6000,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Alert Group\nfoo_cluster_alert_group = rancher2.ClusterAlertGroup(\"fooClusterAlertGroup\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform cluster alert group\",\n group_interval_seconds=300,\n repeat_interval_seconds=3600)\n# Create a new Rancher2 Cluster Alert Rule\nfoo_cluster_alert_rule = rancher2.ClusterAlertRule(\"fooClusterAlertRule\",\n cluster_id=foo_cluster_alert_group.cluster_id,\n group_id=foo_cluster_alert_group.id,\n group_interval_seconds=600,\n repeat_interval_seconds=6000)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Rancher2 Cluster Alert Group\n var fooClusterAlertGroup = new Rancher2.ClusterAlertGroup(\"fooClusterAlertGroup\", new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform cluster alert group\",\n GroupIntervalSeconds = 300,\n RepeatIntervalSeconds = 3600,\n });\n\n // Create a new Rancher2 Cluster Alert Rule\n var fooClusterAlertRule = new Rancher2.ClusterAlertRule(\"fooClusterAlertRule\", new()\n {\n ClusterId = fooClusterAlertGroup.ClusterId,\n GroupId = fooClusterAlertGroup.Id,\n GroupIntervalSeconds = 600,\n RepeatIntervalSeconds = 6000,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooClusterAlertGroup, err := rancher2.NewClusterAlertGroup(ctx, \"fooClusterAlertGroup\", \u0026rancher2.ClusterAlertGroupArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform cluster alert group\"),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewClusterAlertRule(ctx, \"fooClusterAlertRule\", \u0026rancher2.ClusterAlertRuleArgs{\n\t\t\tClusterId: fooClusterAlertGroup.ClusterId,\n\t\t\tGroupId: fooClusterAlertGroup.ID(),\n\t\t\tGroupIntervalSeconds: pulumi.Int(600),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(6000),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterAlertGroup;\nimport com.pulumi.rancher2.ClusterAlertGroupArgs;\nimport com.pulumi.rancher2.ClusterAlertRule;\nimport com.pulumi.rancher2.ClusterAlertRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooClusterAlertGroup = new ClusterAlertGroup(\"fooClusterAlertGroup\", ClusterAlertGroupArgs.builder() \n .clusterId(\"\u003ccluster_id\u003e\")\n .description(\"Terraform cluster alert group\")\n .groupIntervalSeconds(300)\n .repeatIntervalSeconds(3600)\n .build());\n\n var fooClusterAlertRule = new ClusterAlertRule(\"fooClusterAlertRule\", ClusterAlertRuleArgs.builder() \n .clusterId(fooClusterAlertGroup.clusterId())\n .groupId(fooClusterAlertGroup.id())\n .groupIntervalSeconds(600)\n .repeatIntervalSeconds(6000)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 Cluster Alert Group\n fooClusterAlertGroup:\n type: rancher2:ClusterAlertGroup\n properties:\n clusterId: \u003ccluster_id\u003e\n description: Terraform cluster alert group\n groupIntervalSeconds: 300\n repeatIntervalSeconds: 3600\n # Create a new Rancher2 Cluster Alert Rule\n fooClusterAlertRule:\n type: rancher2:ClusterAlertRule\n properties:\n clusterId: ${fooClusterAlertGroup.clusterId}\n groupId: ${fooClusterAlertGroup.id}\n groupIntervalSeconds: 600\n repeatIntervalSeconds: 6000\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Alert Rule can be imported using the Rancher cluster alert rule ID\n\n```sh\n $ pulumi import rancher2:index/clusterAlertRule:ClusterAlertRule foo \u0026lt;CLUSTER_ALERT_RULE_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -41993,7 +45314,7 @@ ] }, "rancher2:index/clusterAlterGroup:ClusterAlterGroup": { - "description": "Provides a Rancher v2 Cluster Alert Group resource. This can be used to create Cluster Alert Group for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Alert Group\nconst foo = new rancher2.ClusterAlertGroup(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform cluster alert group\",\n groupIntervalSeconds: 300,\n repeatIntervalSeconds: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Alert Group\nfoo = rancher2.ClusterAlertGroup(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform cluster alert group\",\n group_interval_seconds=300,\n repeat_interval_seconds=3600)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new Rancher2 Cluster Alert Group\n var foo = new Rancher2.ClusterAlertGroup(\"foo\", new Rancher2.ClusterAlertGroupArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform cluster alert group\",\n GroupIntervalSeconds = 300,\n RepeatIntervalSeconds = 3600,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterAlertGroup(ctx, \"foo\", \u0026rancher2.ClusterAlertGroupArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform cluster alert group\"),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Alert Group can be imported using the Rancher cluster alert group ID\n\n```sh\n $ pulumi import rancher2:index/clusterAlterGroup:ClusterAlterGroup foo \u0026lt;CLUSTER_ALERT_GROUP_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Cluster Alert Group resource. This can be used to create Cluster Alert Group for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Alert Group\nconst foo = new rancher2.ClusterAlertGroup(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform cluster alert group\",\n groupIntervalSeconds: 300,\n repeatIntervalSeconds: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Alert Group\nfoo = rancher2.ClusterAlertGroup(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform cluster alert group\",\n group_interval_seconds=300,\n repeat_interval_seconds=3600)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Rancher2 Cluster Alert Group\n var foo = new Rancher2.ClusterAlertGroup(\"foo\", new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform cluster alert group\",\n GroupIntervalSeconds = 300,\n RepeatIntervalSeconds = 3600,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterAlertGroup(ctx, \"foo\", \u0026rancher2.ClusterAlertGroupArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform cluster alert group\"),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterAlertGroup;\nimport com.pulumi.rancher2.ClusterAlertGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ClusterAlertGroup(\"foo\", ClusterAlertGroupArgs.builder() \n .clusterId(\"\u003ccluster_id\u003e\")\n .description(\"Terraform cluster alert group\")\n .groupIntervalSeconds(300)\n .repeatIntervalSeconds(3600)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 Cluster Alert Group\n foo:\n type: rancher2:ClusterAlertGroup\n properties:\n clusterId: \u003ccluster_id\u003e\n description: Terraform cluster alert group\n groupIntervalSeconds: 300\n repeatIntervalSeconds: 3600\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Alert Group can be imported using the Rancher cluster alert group ID\n\n```sh\n $ pulumi import rancher2:index/clusterAlterGroup:ClusterAlterGroup foo \u0026lt;CLUSTER_ALERT_GROUP_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -42151,7 +45472,7 @@ "deprecationMessage": "rancher2.ClusterAlterGroup has been deprecated in favor of rancher2.ClusterAlertGroup" }, "rancher2:index/clusterAlterRule:ClusterAlterRule": { - "description": "Provides a Rancher v2 Cluster Alert Group resource. This can be used to create Cluster Alert Group for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Alert Group\nconst foo = new rancher2.ClusterAlertGroup(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform cluster alert group\",\n groupIntervalSeconds: 300,\n repeatIntervalSeconds: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Alert Group\nfoo = rancher2.ClusterAlertGroup(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform cluster alert group\",\n group_interval_seconds=300,\n repeat_interval_seconds=3600)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new Rancher2 Cluster Alert Group\n var foo = new Rancher2.ClusterAlertGroup(\"foo\", new Rancher2.ClusterAlertGroupArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform cluster alert group\",\n GroupIntervalSeconds = 300,\n RepeatIntervalSeconds = 3600,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterAlertGroup(ctx, \"foo\", \u0026rancher2.ClusterAlertGroupArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform cluster alert group\"),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Alert Group can be imported using the Rancher cluster alert group ID\n\n```sh\n $ pulumi import rancher2:index/clusterAlterRule:ClusterAlterRule foo \u0026lt;CLUSTER_ALERT_GROUP_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Cluster Alert Group resource. This can be used to create Cluster Alert Group for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Alert Group\nconst foo = new rancher2.ClusterAlertGroup(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform cluster alert group\",\n groupIntervalSeconds: 300,\n repeatIntervalSeconds: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Alert Group\nfoo = rancher2.ClusterAlertGroup(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform cluster alert group\",\n group_interval_seconds=300,\n repeat_interval_seconds=3600)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Rancher2 Cluster Alert Group\n var foo = new Rancher2.ClusterAlertGroup(\"foo\", new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform cluster alert group\",\n GroupIntervalSeconds = 300,\n RepeatIntervalSeconds = 3600,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterAlertGroup(ctx, \"foo\", \u0026rancher2.ClusterAlertGroupArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform cluster alert group\"),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterAlertGroup;\nimport com.pulumi.rancher2.ClusterAlertGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ClusterAlertGroup(\"foo\", ClusterAlertGroupArgs.builder() \n .clusterId(\"\u003ccluster_id\u003e\")\n .description(\"Terraform cluster alert group\")\n .groupIntervalSeconds(300)\n .repeatIntervalSeconds(3600)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 Cluster Alert Group\n foo:\n type: rancher2:ClusterAlertGroup\n properties:\n clusterId: \u003ccluster_id\u003e\n description: Terraform cluster alert group\n groupIntervalSeconds: 300\n repeatIntervalSeconds: 3600\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Alert Group can be imported using the Rancher cluster alert group ID\n\n```sh\n $ pulumi import rancher2:index/clusterAlterRule:ClusterAlterRule foo \u0026lt;CLUSTER_ALERT_GROUP_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -42362,7 +45683,7 @@ "deprecationMessage": "rancher2.ClusterAlterRule has been deprecated in favor of rancher2.ClusterAlertRule" }, "rancher2:index/clusterDriver:ClusterDriver": { - "description": "Provides a Rancher v2 Cluster Driver resource. This can be used to create Cluster Driver for Rancher v2.2.x Kontainer Engine clusters and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Driver\nconst foo = new rancher2.ClusterDriver(\"foo\", {\n active: true,\n builtin: false,\n checksum: \"0x0\",\n description: \"Foo description\",\n externalId: \"foo_external\",\n uiUrl: \"local://ui\",\n url: \"local://\",\n whitelistDomains: [\"*.foo.com\"],\n});\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Driver can be imported using the Rancher Cluster Driver ID\n\n```sh\n $ pulumi import rancher2:index/clusterDriver:ClusterDriver foo \u0026lt;CLUSTER_DRIVER_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Cluster Driver resource. This can be used to create Cluster Driver for Rancher v2.2.x Kontainer Engine clusters and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Driver\nconst foo = new rancher2.ClusterDriver(\"foo\", {\n active: true,\n builtin: false,\n checksum: \"0x0\",\n description: \"Foo description\",\n externalId: \"foo_external\",\n uiUrl: \"local://ui\",\n url: \"local://\",\n whitelistDomains: [\"*.foo.com\"],\n});\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterDriver;\nimport com.pulumi.rancher2.ClusterDriverArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ClusterDriver(\"foo\", ClusterDriverArgs.builder() \n .active(true)\n .builtin(false)\n .checksum(\"0x0\")\n .description(\"Foo description\")\n .externalId(\"foo_external\")\n .uiUrl(\"local://ui\")\n .url(\"local://\")\n .whitelistDomains(\"*.foo.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 Cluster Driver\n foo:\n type: rancher2:ClusterDriver\n properties:\n active: true\n builtin: false\n checksum: 0x0\n description: Foo description\n externalId: foo_external\n uiUrl: local://ui\n url: local://\n whitelistDomains:\n - '*.foo.com'\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Driver can be imported using the Rancher Cluster Driver ID\n\n```sh\n $ pulumi import rancher2:index/clusterDriver:ClusterDriver foo \u0026lt;CLUSTER_DRIVER_ID\u0026gt;\n```\n\n ", "properties": { "active": { "type": "boolean", @@ -42535,7 +45856,7 @@ } }, "rancher2:index/clusterLogging:ClusterLogging": { - "description": "Provides a Rancher v2 Cluster Logging resource. This can be used to configure Cluster Logging for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Logging\nconst foo = new rancher2.ClusterLogging(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n kind: \"syslog\",\n syslogConfig: {\n endpoint: \"\u003csyslog_endpoint\u003e\",\n protocol: \"udp\",\n severity: \"notice\",\n sslVerify: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Logging\nfoo = rancher2.ClusterLogging(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n kind=\"syslog\",\n syslog_config=rancher2.ClusterLoggingSyslogConfigArgs(\n endpoint=\"\u003csyslog_endpoint\u003e\",\n protocol=\"udp\",\n severity=\"notice\",\n ssl_verify=False,\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new Rancher2 Cluster Logging\n var foo = new Rancher2.ClusterLogging(\"foo\", new Rancher2.ClusterLoggingArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Kind = \"syslog\",\n SyslogConfig = new Rancher2.Inputs.ClusterLoggingSyslogConfigArgs\n {\n Endpoint = \"\u003csyslog_endpoint\u003e\",\n Protocol = \"udp\",\n Severity = \"notice\",\n SslVerify = false,\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterLogging(ctx, \"foo\", \u0026rancher2.ClusterLoggingArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tKind: pulumi.String(\"syslog\"),\n\t\t\tSyslogConfig: \u0026ClusterLoggingSyslogConfigArgs{\n\t\t\t\tEndpoint: pulumi.String(\"\u003csyslog_endpoint\u003e\"),\n\t\t\t\tProtocol: pulumi.String(\"udp\"),\n\t\t\t\tSeverity: pulumi.String(\"notice\"),\n\t\t\t\tSslVerify: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Logging can be imported using the Rancher Cluster Logging ID\n\n```sh\n $ pulumi import rancher2:index/clusterLogging:ClusterLogging foo \u0026lt;CLUSTER_LOGGING_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Cluster Logging resource. This can be used to configure Cluster Logging for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Logging\nconst foo = new rancher2.ClusterLogging(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n kind: \"syslog\",\n syslogConfig: {\n endpoint: \"\u003csyslog_endpoint\u003e\",\n protocol: \"udp\",\n severity: \"notice\",\n sslVerify: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Logging\nfoo = rancher2.ClusterLogging(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n kind=\"syslog\",\n syslog_config=rancher2.ClusterLoggingSyslogConfigArgs(\n endpoint=\"\u003csyslog_endpoint\u003e\",\n protocol=\"udp\",\n severity=\"notice\",\n ssl_verify=False,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Rancher2 Cluster Logging\n var foo = new Rancher2.ClusterLogging(\"foo\", new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Kind = \"syslog\",\n SyslogConfig = new Rancher2.Inputs.ClusterLoggingSyslogConfigArgs\n {\n Endpoint = \"\u003csyslog_endpoint\u003e\",\n Protocol = \"udp\",\n Severity = \"notice\",\n SslVerify = false,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterLogging(ctx, \"foo\", \u0026rancher2.ClusterLoggingArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tKind: pulumi.String(\"syslog\"),\n\t\t\tSyslogConfig: \u0026ClusterLoggingSyslogConfigArgs{\n\t\t\t\tEndpoint: pulumi.String(\"\u003csyslog_endpoint\u003e\"),\n\t\t\t\tProtocol: pulumi.String(\"udp\"),\n\t\t\t\tSeverity: pulumi.String(\"notice\"),\n\t\t\t\tSslVerify: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterLogging;\nimport com.pulumi.rancher2.ClusterLoggingArgs;\nimport com.pulumi.rancher2.inputs.ClusterLoggingSyslogConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ClusterLogging(\"foo\", ClusterLoggingArgs.builder() \n .clusterId(\"\u003ccluster_id\u003e\")\n .kind(\"syslog\")\n .syslogConfig(ClusterLoggingSyslogConfigArgs.builder()\n .endpoint(\"\u003csyslog_endpoint\u003e\")\n .protocol(\"udp\")\n .severity(\"notice\")\n .sslVerify(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 Cluster Logging\n foo:\n type: rancher2:ClusterLogging\n properties:\n clusterId: \u003ccluster_id\u003e\n kind: syslog\n syslogConfig:\n endpoint: \u003csyslog_endpoint\u003e\n protocol: udp\n severity: notice\n sslVerify: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Logging can be imported using the Rancher Cluster Logging ID\n\n```sh\n $ pulumi import rancher2:index/clusterLogging:ClusterLogging foo \u0026lt;CLUSTER_LOGGING_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -42625,7 +45946,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id to configure logging (string)\n" + "description": "The cluster id to configure logging (string)\n", + "willReplaceOnChanges": true }, "customTargetConfig": { "$ref": "#/types/rancher2:index/ClusterLoggingCustomTargetConfig:ClusterLoggingCustomTargetConfig", @@ -42649,7 +45971,8 @@ }, "kind": { "type": "string", - "description": "The kind of the Cluster Logging. `elasticsearch`, `fluentd`, `kafka`, `splunk` and `syslog` are supported (string)\n" + "description": "The kind of the Cluster Logging. `elasticsearch`, `fluentd`, `kafka`, `splunk` and `syslog` are supported (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -42702,7 +46025,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id to configure logging (string)\n" + "description": "The cluster id to configure logging (string)\n", + "willReplaceOnChanges": true }, "customTargetConfig": { "$ref": "#/types/rancher2:index/ClusterLoggingCustomTargetConfig:ClusterLoggingCustomTargetConfig", @@ -42726,7 +46050,8 @@ }, "kind": { "type": "string", - "description": "The kind of the Cluster Logging. `elasticsearch`, `fluentd`, `kafka`, `splunk` and `syslog` are supported (string)\n" + "description": "The kind of the Cluster Logging. `elasticsearch`, `fluentd`, `kafka`, `splunk` and `syslog` are supported (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -42767,7 +46092,7 @@ } }, "rancher2:index/clusterRoleTemplateBinding:ClusterRoleTemplateBinding": { - "description": "Provides a Rancher v2 Cluster Role Template Binding resource. This can be used to create Cluster Role Template Bindings for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Role Template Binding\nconst foo = new rancher2.ClusterRoleTemplateBinding(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n roleTemplateId: \"\u003crole_template_id\u003e\",\n userId: \"\u003cuser_id\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Role Template Binding\nfoo = rancher2.ClusterRoleTemplateBinding(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n role_template_id=\"\u003crole_template_id\u003e\",\n user_id=\"\u003cuser_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new Rancher2 Cluster Role Template Binding\n var foo = new Rancher2.ClusterRoleTemplateBinding(\"foo\", new Rancher2.ClusterRoleTemplateBindingArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n RoleTemplateId = \"\u003crole_template_id\u003e\",\n UserId = \"\u003cuser_id\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterRoleTemplateBinding(ctx, \"foo\", \u0026rancher2.ClusterRoleTemplateBindingArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tRoleTemplateId: pulumi.String(\"\u003crole_template_id\u003e\"),\n\t\t\tUserId: pulumi.String(\"\u003cuser_id\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Role Template Bindings can be imported using the Rancher cluster Role Template Binding ID\n\n```sh\n $ pulumi import rancher2:index/clusterRoleTemplateBinding:ClusterRoleTemplateBinding foo \u0026lt;CLUSTER_ROLE_TEMPLATE_BINDING_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Cluster Role Template Binding resource. This can be used to create Cluster Role Template Bindings for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Cluster Role Template Binding\nconst foo = new rancher2.ClusterRoleTemplateBinding(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n roleTemplateId: \"\u003crole_template_id\u003e\",\n userId: \"\u003cuser_id\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Cluster Role Template Binding\nfoo = rancher2.ClusterRoleTemplateBinding(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n role_template_id=\"\u003crole_template_id\u003e\",\n user_id=\"\u003cuser_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Rancher2 Cluster Role Template Binding\n var foo = new Rancher2.ClusterRoleTemplateBinding(\"foo\", new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n RoleTemplateId = \"\u003crole_template_id\u003e\",\n UserId = \"\u003cuser_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterRoleTemplateBinding(ctx, \"foo\", \u0026rancher2.ClusterRoleTemplateBindingArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tRoleTemplateId: pulumi.String(\"\u003crole_template_id\u003e\"),\n\t\t\tUserId: pulumi.String(\"\u003cuser_id\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterRoleTemplateBinding;\nimport com.pulumi.rancher2.ClusterRoleTemplateBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ClusterRoleTemplateBinding(\"foo\", ClusterRoleTemplateBindingArgs.builder() \n .clusterId(\"\u003ccluster_id\u003e\")\n .roleTemplateId(\"\u003crole_template_id\u003e\")\n .userId(\"\u003cuser_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 Cluster Role Template Binding\n foo:\n type: rancher2:ClusterRoleTemplateBinding\n properties:\n clusterId: \u003ccluster_id\u003e\n roleTemplateId: \u003crole_template_id\u003e\n userId: \u003cuser_id\u003e\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Role Template Bindings can be imported using the Rancher cluster Role Template Binding ID\n\n```sh\n $ pulumi import rancher2:index/clusterRoleTemplateBinding:ClusterRoleTemplateBinding foo \u0026lt;CLUSTER_ROLE_TEMPLATE_BINDING_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -42833,15 +46158,18 @@ }, "clusterId": { "type": "string", - "description": "The cluster id where bind cluster role template binding (string)\n" + "description": "The cluster id where bind cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "groupId": { "type": "string", - "description": "The group ID to assign cluster role template binding (string)\n" + "description": "The group ID to assign cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "groupPrincipalId": { "type": "string", - "description": "The group_principal ID to assign cluster role template binding (string)\n" + "description": "The group_principal ID to assign cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -42852,19 +46180,23 @@ }, "name": { "type": "string", - "description": "The name of the cluster role template binding (string)\n" + "description": "The name of the cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "roleTemplateId": { "type": "string", - "description": "The role template id from create cluster role template binding (string)\n" + "description": "The role template id from create cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "userId": { "type": "string", - "description": "The user ID to assign cluster role template binding (string)\n" + "description": "The user ID to assign cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "userPrincipalId": { "type": "string", - "description": "The user_principal ID to assign cluster role template binding (string)\n" + "description": "The user_principal ID to assign cluster role template binding (string)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -42883,15 +46215,18 @@ }, "clusterId": { "type": "string", - "description": "The cluster id where bind cluster role template binding (string)\n" + "description": "The cluster id where bind cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "groupId": { "type": "string", - "description": "The group ID to assign cluster role template binding (string)\n" + "description": "The group ID to assign cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "groupPrincipalId": { "type": "string", - "description": "The group_principal ID to assign cluster role template binding (string)\n" + "description": "The group_principal ID to assign cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -42902,26 +46237,30 @@ }, "name": { "type": "string", - "description": "The name of the cluster role template binding (string)\n" + "description": "The name of the cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "roleTemplateId": { "type": "string", - "description": "The role template id from create cluster role template binding (string)\n" + "description": "The role template id from create cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "userId": { "type": "string", - "description": "The user ID to assign cluster role template binding (string)\n" + "description": "The user ID to assign cluster role template binding (string)\n", + "willReplaceOnChanges": true }, "userPrincipalId": { "type": "string", - "description": "The user_principal ID to assign cluster role template binding (string)\n" + "description": "The user_principal ID to assign cluster role template binding (string)\n", + "willReplaceOnChanges": true } }, "type": "object" } }, "rancher2:index/clusterSync:ClusterSync": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 rke Cluster \nconst foo_customCluster = new rancher2.Cluster(\"foo-customCluster\", {\n description: \"Foo rancher2 custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n },\n});\n// Create a new rancher2 Node Template\nconst fooNodeTemplate = new rancher2.NodeTemplate(\"fooNodeTemplate\", {\n description: \"foo test\",\n amazonec2Config: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n ami: \"\u003cAMI_ID\u003e\",\n region: \"\u003cREGION\u003e\",\n securityGroups: [\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnetId: \"\u003cSUBNET_ID\u003e\",\n vpcId: \"\u003cVPC_ID\u003e\",\n zone: \"\u003cZONE\u003e\",\n },\n});\n// Create a new rancher2 Node Pool\nconst fooNodePool = new rancher2.NodePool(\"fooNodePool\", {\n clusterId: foo_customCluster.id,\n hostnamePrefix: \"foo-cluster-0\",\n nodeTemplateId: fooNodeTemplate.id,\n quantity: 3,\n controlPlane: true,\n etcd: true,\n worker: true,\n});\n// Create a new rancher2 Cluster Sync\nconst foo_customClusterSync = new rancher2.ClusterSync(\"foo-customClusterSync\", {\n clusterId: foo_customCluster.id,\n nodePoolIds: [fooNodePool.id],\n});\n// Create a new rancher2 Project\nconst fooProject = new rancher2.Project(\"fooProject\", {\n clusterId: foo_customClusterSync.id,\n description: \"Terraform namespace acceptance test\",\n resourceQuota: {\n projectLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"2000Mi\",\n requestsStorage: \"2Gi\",\n },\n namespaceDefaultLimit: {\n limitsCpu: \"500m\",\n limitsMemory: \"500Mi\",\n requestsStorage: \"1Gi\",\n },\n },\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 rke Cluster \nfoo_custom_cluster = rancher2.Cluster(\"foo-customCluster\",\n description=\"Foo rancher2 custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n ))\n# Create a new rancher2 Node Template\nfoo_node_template = rancher2.NodeTemplate(\"fooNodeTemplate\",\n description=\"foo test\",\n amazonec2_config=rancher2.NodeTemplateAmazonec2ConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ami=\"\u003cAMI_ID\u003e\",\n region=\"\u003cREGION\u003e\",\n security_groups=[\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnet_id=\"\u003cSUBNET_ID\u003e\",\n vpc_id=\"\u003cVPC_ID\u003e\",\n zone=\"\u003cZONE\u003e\",\n ))\n# Create a new rancher2 Node Pool\nfoo_node_pool = rancher2.NodePool(\"fooNodePool\",\n cluster_id=foo_custom_cluster.id,\n hostname_prefix=\"foo-cluster-0\",\n node_template_id=foo_node_template.id,\n quantity=3,\n control_plane=True,\n etcd=True,\n worker=True)\n# Create a new rancher2 Cluster Sync\nfoo_custom_cluster_sync = rancher2.ClusterSync(\"foo-customClusterSync\",\n cluster_id=foo_custom_cluster.id,\n node_pool_ids=[foo_node_pool.id])\n# Create a new rancher2 Project\nfoo_project = rancher2.Project(\"fooProject\",\n cluster_id=foo_custom_cluster_sync.id,\n description=\"Terraform namespace acceptance test\",\n resource_quota=rancher2.ProjectResourceQuotaArgs(\n project_limit=rancher2.ProjectResourceQuotaProjectLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"2000Mi\",\n requests_storage=\"2Gi\",\n ),\n namespace_default_limit=rancher2.ProjectResourceQuotaNamespaceDefaultLimitArgs(\n limits_cpu=\"500m\",\n limits_memory=\"500Mi\",\n requests_storage=\"1Gi\",\n ),\n ),\n container_resource_limit=rancher2.ProjectContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 rke Cluster \n var foo_customCluster = new Rancher2.Cluster(\"foo-customCluster\", new Rancher2.ClusterArgs\n {\n Description = \"Foo rancher2 custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n },\n });\n // Create a new rancher2 Node Template\n var fooNodeTemplate = new Rancher2.NodeTemplate(\"fooNodeTemplate\", new Rancher2.NodeTemplateArgs\n {\n Description = \"foo test\",\n Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n Ami = \"\u003cAMI_ID\u003e\",\n Region = \"\u003cREGION\u003e\",\n SecurityGroups = \n {\n \"\u003cAWS_SECURITY_GROUP\u003e\",\n },\n SubnetId = \"\u003cSUBNET_ID\u003e\",\n VpcId = \"\u003cVPC_ID\u003e\",\n Zone = \"\u003cZONE\u003e\",\n },\n });\n // Create a new rancher2 Node Pool\n var fooNodePool = new Rancher2.NodePool(\"fooNodePool\", new Rancher2.NodePoolArgs\n {\n ClusterId = foo_customCluster.Id,\n HostnamePrefix = \"foo-cluster-0\",\n NodeTemplateId = fooNodeTemplate.Id,\n Quantity = 3,\n ControlPlane = true,\n Etcd = true,\n Worker = true,\n });\n // Create a new rancher2 Cluster Sync\n var foo_customClusterSync = new Rancher2.ClusterSync(\"foo-customClusterSync\", new Rancher2.ClusterSyncArgs\n {\n ClusterId = foo_customCluster.Id,\n NodePoolIds = \n {\n fooNodePool.Id,\n },\n });\n // Create a new rancher2 Project\n var fooProject = new Rancher2.Project(\"fooProject\", new Rancher2.ProjectArgs\n {\n ClusterId = foo_customClusterSync.Id,\n Description = \"Terraform namespace acceptance test\",\n ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs\n {\n ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"2000Mi\",\n RequestsStorage = \"2Gi\",\n },\n NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs\n {\n LimitsCpu = \"500m\",\n LimitsMemory = \"500Mi\",\n RequestsStorage = \"1Gi\",\n },\n },\n ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo-customCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Foo rancher2 custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooNodeTemplate, err := rancher2.NewNodeTemplate(ctx, \"fooNodeTemplate\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2Config: \u0026NodeTemplateAmazonec2ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t\tAmi: pulumi.String(\"\u003cAMI_ID\u003e\"),\n\t\t\t\tRegion: pulumi.String(\"\u003cREGION\u003e\"),\n\t\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"\u003cAWS_SECURITY_GROUP\u003e\"),\n\t\t\t\t},\n\t\t\t\tSubnetId: pulumi.String(\"\u003cSUBNET_ID\u003e\"),\n\t\t\t\tVpcId: pulumi.String(\"\u003cVPC_ID\u003e\"),\n\t\t\t\tZone: pulumi.String(\"\u003cZONE\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooNodePool, err := rancher2.NewNodePool(ctx, \"fooNodePool\", \u0026rancher2.NodePoolArgs{\n\t\t\tClusterId: foo_customCluster.ID(),\n\t\t\tHostnamePrefix: pulumi.String(\"foo-cluster-0\"),\n\t\t\tNodeTemplateId: fooNodeTemplate.ID(),\n\t\t\tQuantity: pulumi.Int(3),\n\t\t\tControlPlane: pulumi.Bool(true),\n\t\t\tEtcd: pulumi.Bool(true),\n\t\t\tWorker: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewClusterSync(ctx, \"foo-customClusterSync\", \u0026rancher2.ClusterSyncArgs{\n\t\t\tClusterId: foo_customCluster.ID(),\n\t\t\tNodePoolIds: pulumi.StringArray{\n\t\t\t\tfooNodePool.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewProject(ctx, \"fooProject\", \u0026rancher2.ProjectArgs{\n\t\t\tClusterId: foo_customClusterSync.ID(),\n\t\t\tDescription: pulumi.String(\"Terraform namespace acceptance test\"),\n\t\t\tResourceQuota: \u0026ProjectResourceQuotaArgs{\n\t\t\t\tProjectLimit: \u0026ProjectResourceQuotaProjectLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"2000Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"2Gi\"),\n\t\t\t\t},\n\t\t\t\tNamespaceDefaultLimit: \u0026ProjectResourceQuotaNamespaceDefaultLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"500m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"500Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tContainerResourceLimit: \u0026ProjectContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 rke Cluster \nconst foo_customCluster = new rancher2.Cluster(\"foo-customCluster\", {\n description: \"Foo rancher2 custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n },\n});\n// Create a new rancher2 Node Template\nconst fooNodeTemplate = new rancher2.NodeTemplate(\"fooNodeTemplate\", {\n description: \"foo test\",\n amazonec2Config: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n ami: \"\u003cAMI_ID\u003e\",\n region: \"\u003cREGION\u003e\",\n securityGroups: [\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnetId: \"\u003cSUBNET_ID\u003e\",\n vpcId: \"\u003cVPC_ID\u003e\",\n zone: \"\u003cZONE\u003e\",\n },\n});\n// Create a new rancher2 Node Pool\nconst fooNodePool = new rancher2.NodePool(\"fooNodePool\", {\n clusterId: foo_customCluster.id,\n hostnamePrefix: \"foo-cluster-0\",\n nodeTemplateId: fooNodeTemplate.id,\n quantity: 3,\n controlPlane: true,\n etcd: true,\n worker: true,\n});\n// Create a new rancher2 Cluster Sync\nconst foo_customClusterSync = new rancher2.ClusterSync(\"foo-customClusterSync\", {\n clusterId: foo_customCluster.id,\n nodePoolIds: [fooNodePool.id],\n});\n// Create a new rancher2 Project\nconst fooProject = new rancher2.Project(\"fooProject\", {\n clusterId: foo_customClusterSync.id,\n description: \"Terraform namespace acceptance test\",\n resourceQuota: {\n projectLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"2000Mi\",\n requestsStorage: \"2Gi\",\n },\n namespaceDefaultLimit: {\n limitsCpu: \"500m\",\n limitsMemory: \"500Mi\",\n requestsStorage: \"1Gi\",\n },\n },\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 rke Cluster \nfoo_custom_cluster = rancher2.Cluster(\"foo-customCluster\",\n description=\"Foo rancher2 custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n ))\n# Create a new rancher2 Node Template\nfoo_node_template = rancher2.NodeTemplate(\"fooNodeTemplate\",\n description=\"foo test\",\n amazonec2_config=rancher2.NodeTemplateAmazonec2ConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ami=\"\u003cAMI_ID\u003e\",\n region=\"\u003cREGION\u003e\",\n security_groups=[\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnet_id=\"\u003cSUBNET_ID\u003e\",\n vpc_id=\"\u003cVPC_ID\u003e\",\n zone=\"\u003cZONE\u003e\",\n ))\n# Create a new rancher2 Node Pool\nfoo_node_pool = rancher2.NodePool(\"fooNodePool\",\n cluster_id=foo_custom_cluster.id,\n hostname_prefix=\"foo-cluster-0\",\n node_template_id=foo_node_template.id,\n quantity=3,\n control_plane=True,\n etcd=True,\n worker=True)\n# Create a new rancher2 Cluster Sync\nfoo_custom_cluster_sync = rancher2.ClusterSync(\"foo-customClusterSync\",\n cluster_id=foo_custom_cluster.id,\n node_pool_ids=[foo_node_pool.id])\n# Create a new rancher2 Project\nfoo_project = rancher2.Project(\"fooProject\",\n cluster_id=foo_custom_cluster_sync.id,\n description=\"Terraform namespace acceptance test\",\n resource_quota=rancher2.ProjectResourceQuotaArgs(\n project_limit=rancher2.ProjectResourceQuotaProjectLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"2000Mi\",\n requests_storage=\"2Gi\",\n ),\n namespace_default_limit=rancher2.ProjectResourceQuotaNamespaceDefaultLimitArgs(\n limits_cpu=\"500m\",\n limits_memory=\"500Mi\",\n requests_storage=\"1Gi\",\n ),\n ),\n container_resource_limit=rancher2.ProjectContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 rke Cluster \n var foo_customCluster = new Rancher2.Cluster(\"foo-customCluster\", new()\n {\n Description = \"Foo rancher2 custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n },\n });\n\n // Create a new rancher2 Node Template\n var fooNodeTemplate = new Rancher2.NodeTemplate(\"fooNodeTemplate\", new()\n {\n Description = \"foo test\",\n Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n Ami = \"\u003cAMI_ID\u003e\",\n Region = \"\u003cREGION\u003e\",\n SecurityGroups = new[]\n {\n \"\u003cAWS_SECURITY_GROUP\u003e\",\n },\n SubnetId = \"\u003cSUBNET_ID\u003e\",\n VpcId = \"\u003cVPC_ID\u003e\",\n Zone = \"\u003cZONE\u003e\",\n },\n });\n\n // Create a new rancher2 Node Pool\n var fooNodePool = new Rancher2.NodePool(\"fooNodePool\", new()\n {\n ClusterId = foo_customCluster.Id,\n HostnamePrefix = \"foo-cluster-0\",\n NodeTemplateId = fooNodeTemplate.Id,\n Quantity = 3,\n ControlPlane = true,\n Etcd = true,\n Worker = true,\n });\n\n // Create a new rancher2 Cluster Sync\n var foo_customClusterSync = new Rancher2.ClusterSync(\"foo-customClusterSync\", new()\n {\n ClusterId = foo_customCluster.Id,\n NodePoolIds = new[]\n {\n fooNodePool.Id,\n },\n });\n\n // Create a new rancher2 Project\n var fooProject = new Rancher2.Project(\"fooProject\", new()\n {\n ClusterId = foo_customClusterSync.Id,\n Description = \"Terraform namespace acceptance test\",\n ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs\n {\n ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"2000Mi\",\n RequestsStorage = \"2Gi\",\n },\n NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs\n {\n LimitsCpu = \"500m\",\n LimitsMemory = \"500Mi\",\n RequestsStorage = \"1Gi\",\n },\n },\n ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo-customCluster\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Foo rancher2 custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooNodeTemplate, err := rancher2.NewNodeTemplate(ctx, \"fooNodeTemplate\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2Config: \u0026NodeTemplateAmazonec2ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t\tAmi: pulumi.String(\"\u003cAMI_ID\u003e\"),\n\t\t\t\tRegion: pulumi.String(\"\u003cREGION\u003e\"),\n\t\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"\u003cAWS_SECURITY_GROUP\u003e\"),\n\t\t\t\t},\n\t\t\t\tSubnetId: pulumi.String(\"\u003cSUBNET_ID\u003e\"),\n\t\t\t\tVpcId: pulumi.String(\"\u003cVPC_ID\u003e\"),\n\t\t\t\tZone: pulumi.String(\"\u003cZONE\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooNodePool, err := rancher2.NewNodePool(ctx, \"fooNodePool\", \u0026rancher2.NodePoolArgs{\n\t\t\tClusterId: foo_customCluster.ID(),\n\t\t\tHostnamePrefix: pulumi.String(\"foo-cluster-0\"),\n\t\t\tNodeTemplateId: fooNodeTemplate.ID(),\n\t\t\tQuantity: pulumi.Int(3),\n\t\t\tControlPlane: pulumi.Bool(true),\n\t\t\tEtcd: pulumi.Bool(true),\n\t\t\tWorker: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewClusterSync(ctx, \"foo-customClusterSync\", \u0026rancher2.ClusterSyncArgs{\n\t\t\tClusterId: foo_customCluster.ID(),\n\t\t\tNodePoolIds: pulumi.StringArray{\n\t\t\t\tfooNodePool.ID(),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewProject(ctx, \"fooProject\", \u0026rancher2.ProjectArgs{\n\t\t\tClusterId: foo_customClusterSync.ID(),\n\t\t\tDescription: pulumi.String(\"Terraform namespace acceptance test\"),\n\t\t\tResourceQuota: \u0026ProjectResourceQuotaArgs{\n\t\t\t\tProjectLimit: \u0026ProjectResourceQuotaProjectLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"2000Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"2Gi\"),\n\t\t\t\t},\n\t\t\t\tNamespaceDefaultLimit: \u0026ProjectResourceQuotaNamespaceDefaultLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"500m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"500Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tContainerResourceLimit: \u0026ProjectContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.NodeTemplate;\nimport com.pulumi.rancher2.NodeTemplateArgs;\nimport com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs;\nimport com.pulumi.rancher2.NodePool;\nimport com.pulumi.rancher2.NodePoolArgs;\nimport com.pulumi.rancher2.ClusterSync;\nimport com.pulumi.rancher2.ClusterSyncArgs;\nimport com.pulumi.rancher2.Project;\nimport com.pulumi.rancher2.ProjectArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaProjectLimitArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs;\nimport com.pulumi.rancher2.inputs.ProjectContainerResourceLimitArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo_customCluster = new Cluster(\"foo-customCluster\", ClusterArgs.builder() \n .description(\"Foo rancher2 custom cluster\")\n .rkeConfig(ClusterRkeConfigArgs.builder()\n .network(ClusterRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .build())\n .build());\n\n var fooNodeTemplate = new NodeTemplate(\"fooNodeTemplate\", NodeTemplateArgs.builder() \n .description(\"foo test\")\n .amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder()\n .accessKey(\"\u003cAWS_ACCESS_KEY\u003e\")\n .secretKey(\"\u003cAWS_SECRET_KEY\u003e\")\n .ami(\"\u003cAMI_ID\u003e\")\n .region(\"\u003cREGION\u003e\")\n .securityGroups(\"\u003cAWS_SECURITY_GROUP\u003e\")\n .subnetId(\"\u003cSUBNET_ID\u003e\")\n .vpcId(\"\u003cVPC_ID\u003e\")\n .zone(\"\u003cZONE\u003e\")\n .build())\n .build());\n\n var fooNodePool = new NodePool(\"fooNodePool\", NodePoolArgs.builder() \n .clusterId(foo_customCluster.id())\n .hostnamePrefix(\"foo-cluster-0\")\n .nodeTemplateId(fooNodeTemplate.id())\n .quantity(3)\n .controlPlane(true)\n .etcd(true)\n .worker(true)\n .build());\n\n var foo_customClusterSync = new ClusterSync(\"foo-customClusterSync\", ClusterSyncArgs.builder() \n .clusterId(foo_customCluster.id())\n .nodePoolIds(fooNodePool.id())\n .build());\n\n var fooProject = new Project(\"fooProject\", ProjectArgs.builder() \n .clusterId(foo_customClusterSync.id())\n .description(\"Terraform namespace acceptance test\")\n .resourceQuota(ProjectResourceQuotaArgs.builder()\n .projectLimit(ProjectResourceQuotaProjectLimitArgs.builder()\n .limitsCpu(\"2000m\")\n .limitsMemory(\"2000Mi\")\n .requestsStorage(\"2Gi\")\n .build())\n .namespaceDefaultLimit(ProjectResourceQuotaNamespaceDefaultLimitArgs.builder()\n .limitsCpu(\"500m\")\n .limitsMemory(\"500Mi\")\n .requestsStorage(\"1Gi\")\n .build())\n .build())\n .containerResourceLimit(ProjectContainerResourceLimitArgs.builder()\n .limitsCpu(\"20m\")\n .limitsMemory(\"20Mi\")\n .requestsCpu(\"1m\")\n .requestsMemory(\"1Mi\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 rke Cluster\n foo-customCluster:\n type: rancher2:Cluster\n properties:\n description: Foo rancher2 custom cluster\n rkeConfig:\n network:\n plugin: canal\n # Create a new rancher2 Node Template\n fooNodeTemplate:\n type: rancher2:NodeTemplate\n properties:\n description: foo test\n amazonec2Config:\n accessKey: \u003cAWS_ACCESS_KEY\u003e\n secretKey: \u003cAWS_SECRET_KEY\u003e\n ami: \u003cAMI_ID\u003e\n region: \u003cREGION\u003e\n securityGroups:\n - \u003cAWS_SECURITY_GROUP\u003e\n subnetId: \u003cSUBNET_ID\u003e\n vpcId: \u003cVPC_ID\u003e\n zone: \u003cZONE\u003e\n # Create a new rancher2 Node Pool\n fooNodePool:\n type: rancher2:NodePool\n properties:\n clusterId: ${[\"foo-customCluster\"].id}\n hostnamePrefix: foo-cluster-0\n nodeTemplateId: ${fooNodeTemplate.id}\n quantity: 3\n controlPlane: true\n etcd: true\n worker: true\n # Create a new rancher2 Cluster Sync\n foo-customClusterSync:\n type: rancher2:ClusterSync\n properties:\n clusterId: ${[\"foo-customCluster\"].id}\n nodePoolIds:\n - ${fooNodePool.id}\n # Create a new rancher2 Project\n fooProject:\n type: rancher2:Project\n properties:\n clusterId: ${[\"foo-customClusterSync\"].id}\n description: Terraform namespace acceptance test\n resourceQuota:\n projectLimit:\n limitsCpu: 2000m\n limitsMemory: 2000Mi\n requestsStorage: 2Gi\n namespaceDefaultLimit:\n limitsCpu: 500m\n limitsMemory: 500Mi\n requestsStorage: 1Gi\n containerResourceLimit:\n limitsCpu: 20m\n limitsMemory: 20Mi\n requestsCpu: 1m\n requestsMemory: 1Mi\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "clusterId": { "type": "string", @@ -42933,7 +46272,8 @@ }, "kubeConfig": { "type": "string", - "description": "(Computed/Sensitive) Kube Config generated for the cluster sync (string)\n" + "description": "(Computed/Sensitive) Kube Config generated for the cluster sync (string)\n", + "secret": true }, "nodePoolIds": { "type": "array", @@ -42983,7 +46323,8 @@ "inputProperties": { "clusterId": { "type": "string", - "description": "The Cluster ID of the node (string).\n" + "description": "The Cluster ID of the node (string).\n", + "willReplaceOnChanges": true }, "nodePoolIds": { "type": "array", @@ -43020,7 +46361,8 @@ "properties": { "clusterId": { "type": "string", - "description": "The Cluster ID of the node (string).\n" + "description": "The Cluster ID of the node (string).\n", + "willReplaceOnChanges": true }, "defaultProjectId": { "type": "string", @@ -43028,7 +46370,8 @@ }, "kubeConfig": { "type": "string", - "description": "(Computed/Sensitive) Kube Config generated for the cluster sync (string)\n" + "description": "(Computed/Sensitive) Kube Config generated for the cluster sync (string)\n", + "secret": true }, "nodePoolIds": { "type": "array", @@ -43072,7 +46415,7 @@ } }, "rancher2:index/clusterTemplate:ClusterTemplate": { - "description": "Provides a Rancher v2 Cluster Template resource. This can be used to create Cluster Templates for Rancher v2 RKE clusters and retrieve their information. \n\nCluster Templates are available from Rancher v2.3.x and above.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Cluster Template\nconst foo = new rancher2.ClusterTemplate(\"foo\", {\n description: \"Terraform cluster template foo\",\n members: [{\n accessType: \"owner\",\n userPrincipalId: \"local://user-XXXXX\",\n }],\n templateRevisions: [{\n clusterConfig: {\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n },\n },\n },\n default: true,\n name: \"V1\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Cluster Template\nfoo = rancher2.ClusterTemplate(\"foo\",\n description=\"Terraform cluster template foo\",\n members=[rancher2.ClusterTemplateMemberArgs(\n access_type=\"owner\",\n user_principal_id=\"local://user-XXXXX\",\n )],\n template_revisions=[rancher2.ClusterTemplateTemplateRevisionArgs(\n cluster_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigArgs(\n rke_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs(\n network=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs(\n etcd=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n ),\n ),\n ),\n default=True,\n name=\"V1\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Cluster Template\n var foo = new Rancher2.ClusterTemplate(\"foo\", new Rancher2.ClusterTemplateArgs\n {\n Description = \"Terraform cluster template foo\",\n Members = \n {\n new Rancher2.Inputs.ClusterTemplateMemberArgs\n {\n AccessType = \"owner\",\n UserPrincipalId = \"local://user-XXXXX\",\n },\n },\n TemplateRevisions = \n {\n new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs\n {\n ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs\n {\n RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n },\n },\n },\n Default = true,\n Name = \"V1\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterTemplate(ctx, \"foo\", \u0026rancher2.ClusterTemplateArgs{\n\t\t\tDescription: pulumi.String(\"Terraform cluster template foo\"),\n\t\t\tMembers: ClusterTemplateMemberArray{\n\t\t\t\t\u0026ClusterTemplateMemberArgs{\n\t\t\t\t\tAccessType: pulumi.String(\"owner\"),\n\t\t\t\t\tUserPrincipalId: pulumi.String(\"local://user-XXXXX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateRevisions: ClusterTemplateTemplateRevisionArray{\n\t\t\t\t\u0026ClusterTemplateTemplateRevisionArgs{\n\t\t\t\t\tClusterConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigArgs{\n\t\t\t\t\t\tRkeConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{\n\t\t\t\t\t\t\tNetwork: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{\n\t\t\t\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tServices: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{\n\t\t\t\t\t\t\t\tEtcd: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDefault: pulumi.Bool(true),\n\t\t\t\t\tName: pulumi.String(\"V1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\nCreating Rancher v2 RKE cluster template with upgrade strategy. For Rancher v2.4.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Cluster Template\nconst foo = new rancher2.ClusterTemplate(\"foo\", {\n description: \"Terraform cluster template foo\",\n members: [{\n accessType: \"owner\",\n userPrincipalId: \"local://user-XXXXX\",\n }],\n templateRevisions: [{\n clusterConfig: {\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n },\n upgradeStrategy: {\n drain: true,\n maxUnavailableWorker: \"20%\",\n },\n },\n },\n default: true,\n name: \"V1\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Cluster Template\nfoo = rancher2.ClusterTemplate(\"foo\",\n description=\"Terraform cluster template foo\",\n members=[rancher2.ClusterTemplateMemberArgs(\n access_type=\"owner\",\n user_principal_id=\"local://user-XXXXX\",\n )],\n template_revisions=[rancher2.ClusterTemplateTemplateRevisionArgs(\n cluster_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigArgs(\n rke_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs(\n network=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs(\n etcd=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n ),\n upgrade_strategy=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs(\n drain=True,\n max_unavailable_worker=\"20%\",\n ),\n ),\n ),\n default=True,\n name=\"V1\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Cluster Template\n var foo = new Rancher2.ClusterTemplate(\"foo\", new Rancher2.ClusterTemplateArgs\n {\n Description = \"Terraform cluster template foo\",\n Members = \n {\n new Rancher2.Inputs.ClusterTemplateMemberArgs\n {\n AccessType = \"owner\",\n UserPrincipalId = \"local://user-XXXXX\",\n },\n },\n TemplateRevisions = \n {\n new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs\n {\n ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs\n {\n RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n },\n UpgradeStrategy = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs\n {\n Drain = true,\n MaxUnavailableWorker = \"20%\",\n },\n },\n },\n Default = true,\n Name = \"V1\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterTemplate(ctx, \"foo\", \u0026rancher2.ClusterTemplateArgs{\n\t\t\tDescription: pulumi.String(\"Terraform cluster template foo\"),\n\t\t\tMembers: ClusterTemplateMemberArray{\n\t\t\t\t\u0026ClusterTemplateMemberArgs{\n\t\t\t\t\tAccessType: pulumi.String(\"owner\"),\n\t\t\t\t\tUserPrincipalId: pulumi.String(\"local://user-XXXXX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateRevisions: ClusterTemplateTemplateRevisionArray{\n\t\t\t\t\u0026ClusterTemplateTemplateRevisionArgs{\n\t\t\t\t\tClusterConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigArgs{\n\t\t\t\t\t\tRkeConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{\n\t\t\t\t\t\t\tNetwork: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{\n\t\t\t\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tServices: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{\n\t\t\t\t\t\t\t\tEtcd: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tUpgradeStrategy: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs{\n\t\t\t\t\t\t\t\tDrain: pulumi.Bool(true),\n\t\t\t\t\t\t\t\tMaxUnavailableWorker: pulumi.String(fmt.Sprintf(\"%v%v\", \"20\", \"%\")),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDefault: pulumi.Bool(true),\n\t\t\t\t\tName: pulumi.String(\"V1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\nCreating Rancher v2 RKE cluster template with scheduled cluster scan. For Rancher v2.4.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Cluster Template\nconst foo = new rancher2.ClusterTemplate(\"foo\", {\n description: \"Terraform cluster template foo\",\n members: [{\n accessType: \"owner\",\n userPrincipalId: \"local://user-XXXXX\",\n }],\n templateRevisions: [{\n clusterConfig: {\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n },\n },\n scheduledClusterScan: {\n enabled: true,\n scanConfig: {\n cisScanConfig: {\n debugMaster: true,\n debugWorker: true,\n },\n },\n scheduleConfig: {\n cronSchedule: \"30 * * * *\",\n retention: 5,\n },\n },\n },\n default: true,\n name: \"V1\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Cluster Template\nfoo = rancher2.ClusterTemplate(\"foo\",\n description=\"Terraform cluster template foo\",\n members=[rancher2.ClusterTemplateMemberArgs(\n access_type=\"owner\",\n user_principal_id=\"local://user-XXXXX\",\n )],\n template_revisions=[rancher2.ClusterTemplateTemplateRevisionArgs(\n cluster_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigArgs(\n rke_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs(\n network=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs(\n etcd=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n ),\n ),\n scheduled_cluster_scan=rancher2.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs(\n enabled=True,\n scan_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs(\n cis_scan_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs(\n debug_master=True,\n debug_worker=True,\n ),\n ),\n schedule_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs(\n cron_schedule=\"30 * * * *\",\n retention=5,\n ),\n ),\n ),\n default=True,\n name=\"V1\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Cluster Template\n var foo = new Rancher2.ClusterTemplate(\"foo\", new Rancher2.ClusterTemplateArgs\n {\n Description = \"Terraform cluster template foo\",\n Members = \n {\n new Rancher2.Inputs.ClusterTemplateMemberArgs\n {\n AccessType = \"owner\",\n UserPrincipalId = \"local://user-XXXXX\",\n },\n },\n TemplateRevisions = \n {\n new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs\n {\n ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs\n {\n RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n },\n },\n ScheduledClusterScan = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs\n {\n Enabled = true,\n ScanConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs\n {\n CisScanConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs\n {\n DebugMaster = true,\n DebugWorker = true,\n },\n },\n ScheduleConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs\n {\n CronSchedule = \"30 * * * *\",\n Retention = 5,\n },\n },\n },\n Default = true,\n Name = \"V1\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterTemplate(ctx, \"foo\", \u0026rancher2.ClusterTemplateArgs{\n\t\t\tDescription: pulumi.String(\"Terraform cluster template foo\"),\n\t\t\tMembers: ClusterTemplateMemberArray{\n\t\t\t\t\u0026ClusterTemplateMemberArgs{\n\t\t\t\t\tAccessType: pulumi.String(\"owner\"),\n\t\t\t\t\tUserPrincipalId: pulumi.String(\"local://user-XXXXX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateRevisions: ClusterTemplateTemplateRevisionArray{\n\t\t\t\t\u0026ClusterTemplateTemplateRevisionArgs{\n\t\t\t\t\tClusterConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigArgs{\n\t\t\t\t\t\tRkeConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{\n\t\t\t\t\t\t\tNetwork: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{\n\t\t\t\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tServices: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{\n\t\t\t\t\t\t\t\tEtcd: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tScheduledClusterScan: \u0026ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs{\n\t\t\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\t\t\tScanConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs{\n\t\t\t\t\t\t\t\tCisScanConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs{\n\t\t\t\t\t\t\t\t\tDebugMaster: pulumi.Bool(true),\n\t\t\t\t\t\t\t\t\tDebugWorker: pulumi.Bool(true),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tScheduleConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs{\n\t\t\t\t\t\t\t\tCronSchedule: pulumi.String(\"30 * * * *\"),\n\t\t\t\t\t\t\t\tRetention: pulumi.Int(5),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDefault: pulumi.Bool(true),\n\t\t\t\t\tName: pulumi.String(\"V1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Template can be imported using the rancher Cluster Template ID\n\n```sh\n $ pulumi import rancher2:index/clusterTemplate:ClusterTemplate foo \u0026lt;CLUSTER_TEMPLATE_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Cluster Template resource. This can be used to create Cluster Templates for Rancher v2 RKE clusters and retrieve their information. \n\nCluster Templates are available from Rancher v2.3.x and above.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Cluster Template\nconst foo = new rancher2.ClusterTemplate(\"foo\", {\n description: \"Terraform cluster template foo\",\n members: [{\n accessType: \"owner\",\n userPrincipalId: \"local://user-XXXXX\",\n }],\n templateRevisions: [{\n clusterConfig: {\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n },\n },\n },\n default: true,\n name: \"V1\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Cluster Template\nfoo = rancher2.ClusterTemplate(\"foo\",\n description=\"Terraform cluster template foo\",\n members=[rancher2.ClusterTemplateMemberArgs(\n access_type=\"owner\",\n user_principal_id=\"local://user-XXXXX\",\n )],\n template_revisions=[rancher2.ClusterTemplateTemplateRevisionArgs(\n cluster_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigArgs(\n rke_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs(\n network=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs(\n etcd=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n ),\n ),\n ),\n default=True,\n name=\"V1\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Cluster Template\n var foo = new Rancher2.ClusterTemplate(\"foo\", new()\n {\n Description = \"Terraform cluster template foo\",\n Members = new[]\n {\n new Rancher2.Inputs.ClusterTemplateMemberArgs\n {\n AccessType = \"owner\",\n UserPrincipalId = \"local://user-XXXXX\",\n },\n },\n TemplateRevisions = new[]\n {\n new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs\n {\n ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs\n {\n RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n },\n },\n },\n Default = true,\n Name = \"V1\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterTemplate(ctx, \"foo\", \u0026rancher2.ClusterTemplateArgs{\n\t\t\tDescription: pulumi.String(\"Terraform cluster template foo\"),\n\t\t\tMembers: ClusterTemplateMemberArray{\n\t\t\t\t\u0026ClusterTemplateMemberArgs{\n\t\t\t\t\tAccessType: pulumi.String(\"owner\"),\n\t\t\t\t\tUserPrincipalId: pulumi.String(\"local://user-XXXXX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateRevisions: ClusterTemplateTemplateRevisionArray{\n\t\t\t\t\u0026ClusterTemplateTemplateRevisionArgs{\n\t\t\t\t\tClusterConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigArgs{\n\t\t\t\t\t\tRkeConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{\n\t\t\t\t\t\t\tNetwork: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{\n\t\t\t\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tServices: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{\n\t\t\t\t\t\t\t\tEtcd: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDefault: pulumi.Bool(true),\n\t\t\t\t\tName: pulumi.String(\"V1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterTemplate;\nimport com.pulumi.rancher2.ClusterTemplateArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateMemberArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ClusterTemplate(\"foo\", ClusterTemplateArgs.builder() \n .description(\"Terraform cluster template foo\")\n .members(ClusterTemplateMemberArgs.builder()\n .accessType(\"owner\")\n .userPrincipalId(\"local://user-XXXXX\")\n .build())\n .templateRevisions(ClusterTemplateTemplateRevisionArgs.builder()\n .clusterConfig(ClusterTemplateTemplateRevisionClusterConfigArgs.builder()\n .rkeConfig(ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.builder()\n .network(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .services(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.builder()\n .etcd(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.builder()\n .creation(\"6h\")\n .retention(\"24h\")\n .build())\n .build())\n .build())\n .build())\n .default_(true)\n .name(\"V1\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Cluster Template\n foo:\n type: rancher2:ClusterTemplate\n properties:\n description: Terraform cluster template foo\n members:\n - accessType: owner\n userPrincipalId: local://user-XXXXX\n templateRevisions:\n - clusterConfig:\n rkeConfig:\n network:\n plugin: canal\n services:\n etcd:\n creation: 6h\n retention: 24h\n default: true\n name: V1\n```\n\nCreating Rancher v2 RKE cluster template with upgrade strategy. For Rancher v2.4.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Cluster Template\nconst foo = new rancher2.ClusterTemplate(\"foo\", {\n description: \"Terraform cluster template foo\",\n members: [{\n accessType: \"owner\",\n userPrincipalId: \"local://user-XXXXX\",\n }],\n templateRevisions: [{\n clusterConfig: {\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n },\n upgradeStrategy: {\n drain: true,\n maxUnavailableWorker: \"20%\",\n },\n },\n },\n default: true,\n name: \"V1\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Cluster Template\nfoo = rancher2.ClusterTemplate(\"foo\",\n description=\"Terraform cluster template foo\",\n members=[rancher2.ClusterTemplateMemberArgs(\n access_type=\"owner\",\n user_principal_id=\"local://user-XXXXX\",\n )],\n template_revisions=[rancher2.ClusterTemplateTemplateRevisionArgs(\n cluster_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigArgs(\n rke_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs(\n network=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs(\n etcd=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n ),\n upgrade_strategy=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs(\n drain=True,\n max_unavailable_worker=\"20%\",\n ),\n ),\n ),\n default=True,\n name=\"V1\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Cluster Template\n var foo = new Rancher2.ClusterTemplate(\"foo\", new()\n {\n Description = \"Terraform cluster template foo\",\n Members = new[]\n {\n new Rancher2.Inputs.ClusterTemplateMemberArgs\n {\n AccessType = \"owner\",\n UserPrincipalId = \"local://user-XXXXX\",\n },\n },\n TemplateRevisions = new[]\n {\n new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs\n {\n ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs\n {\n RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n },\n UpgradeStrategy = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs\n {\n Drain = true,\n MaxUnavailableWorker = \"20%\",\n },\n },\n },\n Default = true,\n Name = \"V1\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterTemplate(ctx, \"foo\", \u0026rancher2.ClusterTemplateArgs{\n\t\t\tDescription: pulumi.String(\"Terraform cluster template foo\"),\n\t\t\tMembers: ClusterTemplateMemberArray{\n\t\t\t\t\u0026ClusterTemplateMemberArgs{\n\t\t\t\t\tAccessType: pulumi.String(\"owner\"),\n\t\t\t\t\tUserPrincipalId: pulumi.String(\"local://user-XXXXX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateRevisions: ClusterTemplateTemplateRevisionArray{\n\t\t\t\t\u0026ClusterTemplateTemplateRevisionArgs{\n\t\t\t\t\tClusterConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigArgs{\n\t\t\t\t\t\tRkeConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{\n\t\t\t\t\t\t\tNetwork: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{\n\t\t\t\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tServices: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{\n\t\t\t\t\t\t\t\tEtcd: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tUpgradeStrategy: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs{\n\t\t\t\t\t\t\t\tDrain: pulumi.Bool(true),\n\t\t\t\t\t\t\t\tMaxUnavailableWorker: pulumi.String(fmt.Sprintf(\"20%v\", \"%\")),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDefault: pulumi.Bool(true),\n\t\t\t\t\tName: pulumi.String(\"V1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterTemplate;\nimport com.pulumi.rancher2.ClusterTemplateArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateMemberArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ClusterTemplate(\"foo\", ClusterTemplateArgs.builder() \n .description(\"Terraform cluster template foo\")\n .members(ClusterTemplateMemberArgs.builder()\n .accessType(\"owner\")\n .userPrincipalId(\"local://user-XXXXX\")\n .build())\n .templateRevisions(ClusterTemplateTemplateRevisionArgs.builder()\n .clusterConfig(ClusterTemplateTemplateRevisionClusterConfigArgs.builder()\n .rkeConfig(ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.builder()\n .network(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .services(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.builder()\n .etcd(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.builder()\n .creation(\"6h\")\n .retention(\"24h\")\n .build())\n .build())\n .upgradeStrategy(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs.builder()\n .drain(true)\n .maxUnavailableWorker(\"20%\")\n .build())\n .build())\n .build())\n .default_(true)\n .name(\"V1\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Cluster Template\n foo:\n type: rancher2:ClusterTemplate\n properties:\n description: Terraform cluster template foo\n members:\n - accessType: owner\n userPrincipalId: local://user-XXXXX\n templateRevisions:\n - clusterConfig:\n rkeConfig:\n network:\n plugin: canal\n services:\n etcd:\n creation: 6h\n retention: 24h\n upgradeStrategy:\n drain: true\n maxUnavailableWorker: 20%\n default: true\n name: V1\n```\n\nCreating Rancher v2 RKE cluster template with scheduled cluster scan. For Rancher v2.4.x or above.\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Cluster Template\nconst foo = new rancher2.ClusterTemplate(\"foo\", {\n description: \"Terraform cluster template foo\",\n members: [{\n accessType: \"owner\",\n userPrincipalId: \"local://user-XXXXX\",\n }],\n templateRevisions: [{\n clusterConfig: {\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n services: {\n etcd: {\n creation: \"6h\",\n retention: \"24h\",\n },\n },\n },\n scheduledClusterScan: {\n enabled: true,\n scanConfig: {\n cisScanConfig: {\n debugMaster: true,\n debugWorker: true,\n },\n },\n scheduleConfig: {\n cronSchedule: \"30 * * * *\",\n retention: 5,\n },\n },\n },\n default: true,\n name: \"V1\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Cluster Template\nfoo = rancher2.ClusterTemplate(\"foo\",\n description=\"Terraform cluster template foo\",\n members=[rancher2.ClusterTemplateMemberArgs(\n access_type=\"owner\",\n user_principal_id=\"local://user-XXXXX\",\n )],\n template_revisions=[rancher2.ClusterTemplateTemplateRevisionArgs(\n cluster_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigArgs(\n rke_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs(\n network=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n services=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs(\n etcd=rancher2.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs(\n creation=\"6h\",\n retention=\"24h\",\n ),\n ),\n ),\n scheduled_cluster_scan=rancher2.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs(\n enabled=True,\n scan_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs(\n cis_scan_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs(\n debug_master=True,\n debug_worker=True,\n ),\n ),\n schedule_config=rancher2.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs(\n cron_schedule=\"30 * * * *\",\n retention=5,\n ),\n ),\n ),\n default=True,\n name=\"V1\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Cluster Template\n var foo = new Rancher2.ClusterTemplate(\"foo\", new()\n {\n Description = \"Terraform cluster template foo\",\n Members = new[]\n {\n new Rancher2.Inputs.ClusterTemplateMemberArgs\n {\n AccessType = \"owner\",\n UserPrincipalId = \"local://user-XXXXX\",\n },\n },\n TemplateRevisions = new[]\n {\n new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs\n {\n ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs\n {\n RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs\n {\n Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs\n {\n Creation = \"6h\",\n Retention = \"24h\",\n },\n },\n },\n ScheduledClusterScan = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs\n {\n Enabled = true,\n ScanConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs\n {\n CisScanConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs\n {\n DebugMaster = true,\n DebugWorker = true,\n },\n },\n ScheduleConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs\n {\n CronSchedule = \"30 * * * *\",\n Retention = 5,\n },\n },\n },\n Default = true,\n Name = \"V1\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterTemplate(ctx, \"foo\", \u0026rancher2.ClusterTemplateArgs{\n\t\t\tDescription: pulumi.String(\"Terraform cluster template foo\"),\n\t\t\tMembers: ClusterTemplateMemberArray{\n\t\t\t\t\u0026ClusterTemplateMemberArgs{\n\t\t\t\t\tAccessType: pulumi.String(\"owner\"),\n\t\t\t\t\tUserPrincipalId: pulumi.String(\"local://user-XXXXX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateRevisions: ClusterTemplateTemplateRevisionArray{\n\t\t\t\t\u0026ClusterTemplateTemplateRevisionArgs{\n\t\t\t\t\tClusterConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigArgs{\n\t\t\t\t\t\tRkeConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{\n\t\t\t\t\t\t\tNetwork: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{\n\t\t\t\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tServices: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{\n\t\t\t\t\t\t\t\tEtcd: \u0026ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{\n\t\t\t\t\t\t\t\t\tCreation: pulumi.String(\"6h\"),\n\t\t\t\t\t\t\t\t\tRetention: pulumi.String(\"24h\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tScheduledClusterScan: \u0026ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs{\n\t\t\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\t\t\tScanConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs{\n\t\t\t\t\t\t\t\tCisScanConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs{\n\t\t\t\t\t\t\t\t\tDebugMaster: pulumi.Bool(true),\n\t\t\t\t\t\t\t\t\tDebugWorker: pulumi.Bool(true),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tScheduleConfig: \u0026ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs{\n\t\t\t\t\t\t\t\tCronSchedule: pulumi.String(\"30 * * * *\"),\n\t\t\t\t\t\t\t\tRetention: pulumi.Int(5),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tDefault: pulumi.Bool(true),\n\t\t\t\t\tName: pulumi.String(\"V1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterTemplate;\nimport com.pulumi.rancher2.ClusterTemplateArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateMemberArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ClusterTemplate(\"foo\", ClusterTemplateArgs.builder() \n .description(\"Terraform cluster template foo\")\n .members(ClusterTemplateMemberArgs.builder()\n .accessType(\"owner\")\n .userPrincipalId(\"local://user-XXXXX\")\n .build())\n .templateRevisions(ClusterTemplateTemplateRevisionArgs.builder()\n .clusterConfig(ClusterTemplateTemplateRevisionClusterConfigArgs.builder()\n .rkeConfig(ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.builder()\n .network(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .services(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.builder()\n .etcd(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.builder()\n .creation(\"6h\")\n .retention(\"24h\")\n .build())\n .build())\n .build())\n .scheduledClusterScan(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs.builder()\n .enabled(true)\n .scanConfig(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs.builder()\n .cisScanConfig(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs.builder()\n .debugMaster(true)\n .debugWorker(true)\n .build())\n .build())\n .scheduleConfig(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs.builder()\n .cronSchedule(\"30 * * * *\")\n .retention(5)\n .build())\n .build())\n .build())\n .default_(true)\n .name(\"V1\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Cluster Template\n foo:\n type: rancher2:ClusterTemplate\n properties:\n description: Terraform cluster template foo\n members:\n - accessType: owner\n userPrincipalId: local://user-XXXXX\n templateRevisions:\n - clusterConfig:\n rkeConfig:\n network:\n plugin: canal\n services:\n etcd:\n creation: 6h\n retention: 24h\n scheduledClusterScan:\n enabled: true\n scanConfig:\n cisScanConfig:\n debugMaster: true\n debugWorker: true\n scheduleConfig:\n cronSchedule: 30 * * * *\n retention: 5\n default: true\n name: V1\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCluster Template can be imported using the rancher Cluster Template ID\n\n```sh\n $ pulumi import rancher2:index/clusterTemplate:ClusterTemplate foo \u0026lt;CLUSTER_TEMPLATE_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -43208,7 +46551,7 @@ } }, "rancher2:index/clusterV2:ClusterV2": { - "description": "Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creating Rancher v2 custom cluster v2\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher v2 K3S custom Cluster v2\nconst foo = new rancher2.ClusterV2(\"foo\", {\n defaultClusterRoleForProjectMembers: \"user\",\n enableNetworkPolicy: false,\n fleetNamespace: \"fleet-ns\",\n kubernetesVersion: \"v1.21.4+k3s1\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher v2 K3S custom Cluster v2\nfoo = rancher2.ClusterV2(\"foo\",\n default_cluster_role_for_project_members=\"user\",\n enable_network_policy=False,\n fleet_namespace=\"fleet-ns\",\n kubernetes_version=\"v1.21.4+k3s1\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher v2 K3S custom Cluster v2\n var foo = new Rancher2.ClusterV2(\"foo\", new Rancher2.ClusterV2Args\n {\n DefaultClusterRoleForProjectMembers = \"user\",\n EnableNetworkPolicy = false,\n FleetNamespace = \"fleet-ns\",\n KubernetesVersion = \"v1.21.4+k3s1\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterV2(ctx, \"foo\", \u0026rancher2.ClusterV2Args{\n\t\t\tDefaultClusterRoleForProjectMembers: pulumi.String(\"user\"),\n\t\t\tEnableNetworkPolicy: pulumi.Bool(false),\n\t\t\tFleetNamespace: pulumi.String(\"fleet-ns\"),\n\t\t\tKubernetesVersion: pulumi.String(\"v1.21.4+k3s1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n**Note** Once created, get the node command from `rancher2_cluster_v2.foo.cluster_registration_token`\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nClusters v2 can be imported using the Rancher Cluster v2 ID, that is in the form \u0026lt;FLEET_NAMESPACE\u0026gt;/\u0026lt;CLUSTER_NAME\u0026gt;\n\n```sh\n $ pulumi import rancher2:index/clusterV2:ClusterV2 foo \u0026lt;FLEET_NAMESPACE\u0026gt;/\u0026lt;CLUSTER_NAME\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is available from Rancher v2.6.0 and above.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Creating Rancher v2 custom cluster v2\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher v2 K3S custom Cluster v2\nconst foo = new rancher2.ClusterV2(\"foo\", {\n defaultClusterRoleForProjectMembers: \"user\",\n enableNetworkPolicy: false,\n fleetNamespace: \"fleet-ns\",\n kubernetesVersion: \"v1.21.4+k3s1\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher v2 K3S custom Cluster v2\nfoo = rancher2.ClusterV2(\"foo\",\n default_cluster_role_for_project_members=\"user\",\n enable_network_policy=False,\n fleet_namespace=\"fleet-ns\",\n kubernetes_version=\"v1.21.4+k3s1\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher v2 K3S custom Cluster v2\n var foo = new Rancher2.ClusterV2(\"foo\", new()\n {\n DefaultClusterRoleForProjectMembers = \"user\",\n EnableNetworkPolicy = false,\n FleetNamespace = \"fleet-ns\",\n KubernetesVersion = \"v1.21.4+k3s1\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewClusterV2(ctx, \"foo\", \u0026rancher2.ClusterV2Args{\n\t\t\tDefaultClusterRoleForProjectMembers: pulumi.String(\"user\"),\n\t\t\tEnableNetworkPolicy: pulumi.Bool(false),\n\t\t\tFleetNamespace: pulumi.String(\"fleet-ns\"),\n\t\t\tKubernetesVersion: pulumi.String(\"v1.21.4+k3s1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ClusterV2;\nimport com.pulumi.rancher2.ClusterV2Args;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ClusterV2(\"foo\", ClusterV2Args.builder() \n .defaultClusterRoleForProjectMembers(\"user\")\n .enableNetworkPolicy(false)\n .fleetNamespace(\"fleet-ns\")\n .kubernetesVersion(\"v1.21.4+k3s1\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher v2 K3S custom Cluster v2\n foo:\n type: rancher2:ClusterV2\n properties:\n defaultClusterRoleForProjectMembers: user\n enableNetworkPolicy: false\n fleetNamespace: fleet-ns\n kubernetesVersion: v1.21.4+k3s1\n```\n\n**Note** Once created, get the node command from `rancher2_cluster_v2.foo.cluster_registration_token`\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nClusters v2 can be imported using the Rancher Cluster v2 ID, that is in the form \u0026lt;FLEET_NAMESPACE\u0026gt;/\u0026lt;CLUSTER_NAME\u0026gt;\n\n```sh\n $ pulumi import rancher2:index/clusterV2:ClusterV2 foo \u0026lt;FLEET_NAMESPACE\u0026gt;/\u0026lt;CLUSTER_NAME\u0026gt;\n```\n\n ", "properties": { "agentEnvVars": { "type": "array", @@ -43230,7 +46573,8 @@ }, "clusterRegistrationToken": { "$ref": "#/types/rancher2:index/ClusterV2ClusterRegistrationToken:ClusterV2ClusterRegistrationToken", - "description": "(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)\n" + "description": "(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)\n", + "secret": true }, "clusterV1Id": { "type": "string", @@ -43254,7 +46598,8 @@ }, "kubeConfig": { "type": "string", - "description": "(Computed/Sensitive) Kube Config generated for the cluster v2. Note: When the cluster has `local_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string)\n" + "description": "(Computed/Sensitive) Kube Config generated for the cluster v2. Note: When the cluster has `local_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string)\n", + "secret": true }, "kubernetesVersion": { "type": "string", @@ -43329,7 +46674,8 @@ }, "fleetNamespace": { "type": "string", - "description": "The fleet namespace of the Cluster v2. Default: `\\\"fleet-default\\\"` (string)\n" + "description": "The fleet namespace of the Cluster v2. Default: `\\\"fleet-default\\\"` (string)\n", + "willReplaceOnChanges": true }, "kubernetesVersion": { "type": "string", @@ -43348,7 +46694,8 @@ }, "name": { "type": "string", - "description": "Name of cluster registration token (string)\n" + "description": "Name of cluster registration token (string)\n", + "willReplaceOnChanges": true }, "rkeConfig": { "$ref": "#/types/rancher2:index/ClusterV2RkeConfig:ClusterV2RkeConfig", @@ -43381,7 +46728,8 @@ }, "clusterRegistrationToken": { "$ref": "#/types/rancher2:index/ClusterV2ClusterRegistrationToken:ClusterV2ClusterRegistrationToken", - "description": "(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)\n" + "description": "(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)\n", + "secret": true }, "clusterV1Id": { "type": "string", @@ -43401,11 +46749,13 @@ }, "fleetNamespace": { "type": "string", - "description": "The fleet namespace of the Cluster v2. Default: `\\\"fleet-default\\\"` (string)\n" + "description": "The fleet namespace of the Cluster v2. Default: `\\\"fleet-default\\\"` (string)\n", + "willReplaceOnChanges": true }, "kubeConfig": { "type": "string", - "description": "(Computed/Sensitive) Kube Config generated for the cluster v2. Note: When the cluster has `local_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string)\n" + "description": "(Computed/Sensitive) Kube Config generated for the cluster v2. Note: When the cluster has `local_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string)\n", + "secret": true }, "kubernetesVersion": { "type": "string", @@ -43424,7 +46774,8 @@ }, "name": { "type": "string", - "description": "Name of cluster registration token (string)\n" + "description": "Name of cluster registration token (string)\n", + "willReplaceOnChanges": true }, "resourceVersion": { "type": "string", @@ -43501,7 +46852,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the configMap V2 (string)\n" + "description": "The cluster id of the configMap V2 (string)\n", + "willReplaceOnChanges": true }, "data": { "type": "object", @@ -43523,11 +46875,13 @@ }, "name": { "type": "string", - "description": "The name of the configMap v2 (string)\n" + "description": "The name of the configMap v2 (string)\n", + "willReplaceOnChanges": true }, "namespace": { "type": "string", - "description": "The namespaces of the configMap v2. Default: `default` (string)\n" + "description": "The namespaces of the configMap v2. Default: `default` (string)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -43546,7 +46900,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the configMap V2 (string)\n" + "description": "The cluster id of the configMap V2 (string)\n", + "willReplaceOnChanges": true }, "data": { "type": "object", @@ -43568,11 +46923,13 @@ }, "name": { "type": "string", - "description": "The name of the configMap v2 (string)\n" + "description": "The name of the configMap v2 (string)\n", + "willReplaceOnChanges": true }, "namespace": { "type": "string", - "description": "The namespaces of the configMap v2. Default: `default` (string)\n" + "description": "The namespaces of the configMap v2. Default: `default` (string)\n", + "willReplaceOnChanges": true }, "resourceVersion": { "type": "string", @@ -43583,7 +46940,7 @@ } }, "rancher2:index/etcdBackup:EtcdBackup": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Etcd Backup\nconst foo = new rancher2.EtcdBackup(\"foo\", {\n backupConfig: {\n enabled: true,\n intervalHours: 20,\n retention: 10,\n s3BackupConfig: {\n accessKey: \"access_key\",\n bucketName: \"bucket_name\",\n endpoint: \"endpoint\",\n folder: \"/folder\",\n region: \"region\",\n secretKey: \"secret_key\",\n },\n },\n clusterId: \"\u003cCLUSTER_ID\u003e\",\n filename: \"\u003cFILENAME\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Etcd Backup\nfoo = rancher2.EtcdBackup(\"foo\",\n backup_config=rancher2.EtcdBackupBackupConfigArgs(\n enabled=True,\n interval_hours=20,\n retention=10,\n s3_backup_config=rancher2.EtcdBackupBackupConfigS3BackupConfigArgs(\n access_key=\"access_key\",\n bucket_name=\"bucket_name\",\n endpoint=\"endpoint\",\n folder=\"/folder\",\n region=\"region\",\n secret_key=\"secret_key\",\n ),\n ),\n cluster_id=\"\u003cCLUSTER_ID\u003e\",\n filename=\"\u003cFILENAME\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Etcd Backup\n var foo = new Rancher2.EtcdBackup(\"foo\", new Rancher2.EtcdBackupArgs\n {\n BackupConfig = new Rancher2.Inputs.EtcdBackupBackupConfigArgs\n {\n Enabled = true,\n IntervalHours = 20,\n Retention = 10,\n S3BackupConfig = new Rancher2.Inputs.EtcdBackupBackupConfigS3BackupConfigArgs\n {\n AccessKey = \"access_key\",\n BucketName = \"bucket_name\",\n Endpoint = \"endpoint\",\n Folder = \"/folder\",\n Region = \"region\",\n SecretKey = \"secret_key\",\n },\n },\n ClusterId = \"\u003cCLUSTER_ID\u003e\",\n Filename = \"\u003cFILENAME\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewEtcdBackup(ctx, \"foo\", \u0026rancher2.EtcdBackupArgs{\n\t\t\tBackupConfig: \u0026EtcdBackupBackupConfigArgs{\n\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\tIntervalHours: pulumi.Int(20),\n\t\t\t\tRetention: pulumi.Int(10),\n\t\t\t\tS3BackupConfig: \u0026EtcdBackupBackupConfigS3BackupConfigArgs{\n\t\t\t\t\tAccessKey: pulumi.String(\"access_key\"),\n\t\t\t\t\tBucketName: pulumi.String(\"bucket_name\"),\n\t\t\t\t\tEndpoint: pulumi.String(\"endpoint\"),\n\t\t\t\t\tFolder: pulumi.String(\"/folder\"),\n\t\t\t\t\tRegion: pulumi.String(\"region\"),\n\t\t\t\t\tSecretKey: pulumi.String(\"secret_key\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tClusterId: pulumi.String(\"\u003cCLUSTER_ID\u003e\"),\n\t\t\tFilename: pulumi.String(\"\u003cFILENAME\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nEtcd Backup can be imported using the Rancher etcd backup ID\n\n```sh\n $ pulumi import rancher2:index/etcdBackup:EtcdBackup foo \u0026lt;ETCD_BACKUP_ID\u0026gt;\n```\n\n ", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Etcd Backup\nconst foo = new rancher2.EtcdBackup(\"foo\", {\n backupConfig: {\n enabled: true,\n intervalHours: 20,\n retention: 10,\n s3BackupConfig: {\n accessKey: \"access_key\",\n bucketName: \"bucket_name\",\n endpoint: \"endpoint\",\n folder: \"/folder\",\n region: \"region\",\n secretKey: \"secret_key\",\n },\n },\n clusterId: \"\u003cCLUSTER_ID\u003e\",\n filename: \"\u003cFILENAME\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Etcd Backup\nfoo = rancher2.EtcdBackup(\"foo\",\n backup_config=rancher2.EtcdBackupBackupConfigArgs(\n enabled=True,\n interval_hours=20,\n retention=10,\n s3_backup_config=rancher2.EtcdBackupBackupConfigS3BackupConfigArgs(\n access_key=\"access_key\",\n bucket_name=\"bucket_name\",\n endpoint=\"endpoint\",\n folder=\"/folder\",\n region=\"region\",\n secret_key=\"secret_key\",\n ),\n ),\n cluster_id=\"\u003cCLUSTER_ID\u003e\",\n filename=\"\u003cFILENAME\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Etcd Backup\n var foo = new Rancher2.EtcdBackup(\"foo\", new()\n {\n BackupConfig = new Rancher2.Inputs.EtcdBackupBackupConfigArgs\n {\n Enabled = true,\n IntervalHours = 20,\n Retention = 10,\n S3BackupConfig = new Rancher2.Inputs.EtcdBackupBackupConfigS3BackupConfigArgs\n {\n AccessKey = \"access_key\",\n BucketName = \"bucket_name\",\n Endpoint = \"endpoint\",\n Folder = \"/folder\",\n Region = \"region\",\n SecretKey = \"secret_key\",\n },\n },\n ClusterId = \"\u003cCLUSTER_ID\u003e\",\n Filename = \"\u003cFILENAME\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewEtcdBackup(ctx, \"foo\", \u0026rancher2.EtcdBackupArgs{\n\t\t\tBackupConfig: \u0026EtcdBackupBackupConfigArgs{\n\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\tIntervalHours: pulumi.Int(20),\n\t\t\t\tRetention: pulumi.Int(10),\n\t\t\t\tS3BackupConfig: \u0026EtcdBackupBackupConfigS3BackupConfigArgs{\n\t\t\t\t\tAccessKey: pulumi.String(\"access_key\"),\n\t\t\t\t\tBucketName: pulumi.String(\"bucket_name\"),\n\t\t\t\t\tEndpoint: pulumi.String(\"endpoint\"),\n\t\t\t\t\tFolder: pulumi.String(\"/folder\"),\n\t\t\t\t\tRegion: pulumi.String(\"region\"),\n\t\t\t\t\tSecretKey: pulumi.String(\"secret_key\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tClusterId: pulumi.String(\"\u003cCLUSTER_ID\u003e\"),\n\t\t\tFilename: pulumi.String(\"\u003cFILENAME\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.EtcdBackup;\nimport com.pulumi.rancher2.EtcdBackupArgs;\nimport com.pulumi.rancher2.inputs.EtcdBackupBackupConfigArgs;\nimport com.pulumi.rancher2.inputs.EtcdBackupBackupConfigS3BackupConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new EtcdBackup(\"foo\", EtcdBackupArgs.builder() \n .backupConfig(EtcdBackupBackupConfigArgs.builder()\n .enabled(true)\n .intervalHours(20)\n .retention(10)\n .s3BackupConfig(EtcdBackupBackupConfigS3BackupConfigArgs.builder()\n .accessKey(\"access_key\")\n .bucketName(\"bucket_name\")\n .endpoint(\"endpoint\")\n .folder(\"/folder\")\n .region(\"region\")\n .secretKey(\"secret_key\")\n .build())\n .build())\n .clusterId(\"\u003cCLUSTER_ID\u003e\")\n .filename(\"\u003cFILENAME\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Etcd Backup\n foo:\n type: rancher2:EtcdBackup\n properties:\n backupConfig:\n enabled: true\n intervalHours: 20\n retention: 10\n s3BackupConfig:\n accessKey: access_key\n bucketName: bucket_name\n endpoint: endpoint\n folder: /folder\n region: region\n secretKey: secret_key\n clusterId: \u003cCLUSTER_ID\u003e\n filename: \u003cFILENAME\u003e\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nEtcd Backup can be imported using the Rancher etcd backup ID\n\n```sh\n $ pulumi import rancher2:index/etcdBackup:EtcdBackup foo \u0026lt;ETCD_BACKUP_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -43647,7 +47004,8 @@ }, "clusterId": { "type": "string", - "description": "Cluster ID to config Etcd Backup (string)\n" + "description": "Cluster ID to config Etcd Backup (string)\n", + "willReplaceOnChanges": true }, "filename": { "type": "string", @@ -43666,11 +47024,13 @@ }, "name": { "type": "string", - "description": "The name of the Etcd Backup (string)\n" + "description": "The name of the Etcd Backup (string)\n", + "willReplaceOnChanges": true }, "namespaceId": { "type": "string", - "description": "Description for the Etcd Backup (string)\n" + "description": "Description for the Etcd Backup (string)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -43692,7 +47052,8 @@ }, "clusterId": { "type": "string", - "description": "Cluster ID to config Etcd Backup (string)\n" + "description": "Cluster ID to config Etcd Backup (string)\n", + "willReplaceOnChanges": true }, "filename": { "type": "string", @@ -43711,18 +47072,20 @@ }, "name": { "type": "string", - "description": "The name of the Etcd Backup (string)\n" + "description": "The name of the Etcd Backup (string)\n", + "willReplaceOnChanges": true }, "namespaceId": { "type": "string", - "description": "Description for the Etcd Backup (string)\n" + "description": "Description for the Etcd Backup (string)\n", + "willReplaceOnChanges": true } }, "type": "object" } }, "rancher2:index/feature:Feature": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Feature\nconst fleet = new rancher2.Feature(\"fleet\", {\n value: (\"\u003cVALUE\u003e\" === \"true\"),\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Feature\nfleet = rancher2.Feature(\"fleet\", value=\"\u003cVALUE\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Feature\n var fleet = new Rancher2.Feature(\"fleet\", new Rancher2.FeatureArgs\n {\n Value = \"\u003cVALUE\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewFeature(ctx, \"fleet\", \u0026rancher2.FeatureArgs{\n\t\t\tValue: pulumi.Bool(\"\u003cVALUE\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Feature\nconst fleet = new rancher2.Feature(\"fleet\", {\n value: (\"\u003cVALUE\u003e\" === \"true\"),\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Feature\nfleet = rancher2.Feature(\"fleet\", value=\"\u003cVALUE\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Feature\n var fleet = new Rancher2.Feature(\"fleet\", new()\n {\n Value = \"\u003cVALUE\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewFeature(ctx, \"fleet\", \u0026rancher2.FeatureArgs{\n\t\t\tValue: pulumi.Bool(\"\u003cVALUE\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Feature;\nimport com.pulumi.rancher2.FeatureArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fleet = new Feature(\"fleet\", FeatureArgs.builder() \n .value(\"\u003cVALUE\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Feature\n fleet:\n type: rancher2:Feature\n properties:\n value: \u003cVALUE\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "annotations": { "type": "object", @@ -43769,7 +47132,8 @@ }, "name": { "type": "string", - "description": "The name of the feature (string)\n" + "description": "The name of the feature (string)\n", + "willReplaceOnChanges": true }, "value": { "type": "boolean", @@ -43795,7 +47159,8 @@ }, "name": { "type": "string", - "description": "The name of the feature (string)\n" + "description": "The name of the feature (string)\n", + "willReplaceOnChanges": true }, "value": { "type": "boolean", @@ -43806,7 +47171,7 @@ } }, "rancher2:index/globalDns:GlobalDns": { - "description": "Provides a Rancher V2 Global DNS resource. This can be used to create Global DNS records for Rancher V2.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global DNS Provider\nconst fooGlobalDnsProvider = new rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\", {\n rootDomain: \"example.com\",\n route53Config: {\n accessKey: \"YYYYYYYYYYYYYYYYYYYY\",\n secretKey: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zoneType: \"private\",\n region: \"us-east-1\",\n },\n});\n// Create a new rancher2 Global DNS using project IDs\nconst fooGlobalDns = new rancher2.GlobalDns(\"fooGlobalDns\", {\n fqdn: \"foo.example.com\",\n providerId: fooGlobalDnsProvider.id,\n projectIds: [\n \"project1\",\n \"project2\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global DNS Provider\nfoo_global_dns_provider = rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\",\n root_domain=\"example.com\",\n route53_config=rancher2.GlobalDnsProviderRoute53ConfigArgs(\n access_key=\"YYYYYYYYYYYYYYYYYYYY\",\n secret_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zone_type=\"private\",\n region=\"us-east-1\",\n ))\n# Create a new rancher2 Global DNS using project IDs\nfoo_global_dns = rancher2.GlobalDns(\"fooGlobalDns\",\n fqdn=\"foo.example.com\",\n provider_id=foo_global_dns_provider.id,\n project_ids=[\n \"project1\",\n \"project2\",\n ])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Global DNS Provider\n var fooGlobalDnsProvider = new Rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\", new Rancher2.GlobalDnsProviderArgs\n {\n RootDomain = \"example.com\",\n Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs\n {\n AccessKey = \"YYYYYYYYYYYYYYYYYYYY\",\n SecretKey = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n ZoneType = \"private\",\n Region = \"us-east-1\",\n },\n });\n // Create a new rancher2 Global DNS using project IDs\n var fooGlobalDns = new Rancher2.GlobalDns(\"fooGlobalDns\", new Rancher2.GlobalDnsArgs\n {\n Fqdn = \"foo.example.com\",\n ProviderId = fooGlobalDnsProvider.Id,\n ProjectIds = \n {\n \"project1\",\n \"project2\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooGlobalDnsProvider, err := rancher2.NewGlobalDnsProvider(ctx, \"fooGlobalDnsProvider\", \u0026rancher2.GlobalDnsProviderArgs{\n\t\t\tRootDomain: pulumi.String(\"example.com\"),\n\t\t\tRoute53Config: \u0026GlobalDnsProviderRoute53ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"YYYYYYYYYYYYYYYYYYYY\"),\n\t\t\t\tSecretKey: pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t\tZoneType: pulumi.String(\"private\"),\n\t\t\t\tRegion: pulumi.String(\"us-east-1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewGlobalDns(ctx, \"fooGlobalDns\", \u0026rancher2.GlobalDnsArgs{\n\t\t\tFqdn: pulumi.String(\"foo.example.com\"),\n\t\t\tProviderId: fooGlobalDnsProvider.ID(),\n\t\t\tProjectIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"project1\"),\n\t\t\t\tpulumi.String(\"project2\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global DNS Provider\nconst fooGlobalDnsProvider = new rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\", {\n rootDomain: \"example.com\",\n route53Config: {\n accessKey: \"YYYYYYYYYYYYYYYYYYYY\",\n secretKey: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zoneType: \"private\",\n region: \"us-east-1\",\n },\n});\n// Create a new rancher2 Global DNS using MultiClusterApp ID\nconst fooGlobalDns = new rancher2.GlobalDns(\"fooGlobalDns\", {\n fqdn: \"foo.example.com\",\n providerId: fooGlobalDnsProvider.id,\n multiClusterAppId: \"\u003cMCA_ID\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global DNS Provider\nfoo_global_dns_provider = rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\",\n root_domain=\"example.com\",\n route53_config=rancher2.GlobalDnsProviderRoute53ConfigArgs(\n access_key=\"YYYYYYYYYYYYYYYYYYYY\",\n secret_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zone_type=\"private\",\n region=\"us-east-1\",\n ))\n# Create a new rancher2 Global DNS using MultiClusterApp ID\nfoo_global_dns = rancher2.GlobalDns(\"fooGlobalDns\",\n fqdn=\"foo.example.com\",\n provider_id=foo_global_dns_provider.id,\n multi_cluster_app_id=\"\u003cMCA_ID\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Global DNS Provider\n var fooGlobalDnsProvider = new Rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\", new Rancher2.GlobalDnsProviderArgs\n {\n RootDomain = \"example.com\",\n Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs\n {\n AccessKey = \"YYYYYYYYYYYYYYYYYYYY\",\n SecretKey = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n ZoneType = \"private\",\n Region = \"us-east-1\",\n },\n });\n // Create a new rancher2 Global DNS using MultiClusterApp ID\n var fooGlobalDns = new Rancher2.GlobalDns(\"fooGlobalDns\", new Rancher2.GlobalDnsArgs\n {\n Fqdn = \"foo.example.com\",\n ProviderId = fooGlobalDnsProvider.Id,\n MultiClusterAppId = \"\u003cMCA_ID\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooGlobalDnsProvider, err := rancher2.NewGlobalDnsProvider(ctx, \"fooGlobalDnsProvider\", \u0026rancher2.GlobalDnsProviderArgs{\n\t\t\tRootDomain: pulumi.String(\"example.com\"),\n\t\t\tRoute53Config: \u0026GlobalDnsProviderRoute53ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"YYYYYYYYYYYYYYYYYYYY\"),\n\t\t\t\tSecretKey: pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t\tZoneType: pulumi.String(\"private\"),\n\t\t\t\tRegion: pulumi.String(\"us-east-1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewGlobalDns(ctx, \"fooGlobalDns\", \u0026rancher2.GlobalDnsArgs{\n\t\t\tFqdn: pulumi.String(\"foo.example.com\"),\n\t\t\tProviderId: fooGlobalDnsProvider.ID(),\n\t\t\tMultiClusterAppId: pulumi.String(\"\u003cMCA_ID\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGlobal DNS Entry can be imported using the Rancher Global DNS ID\n\n```sh\n $ pulumi import rancher2:index/globalDns:GlobalDns foo \u003cglobal_dns_id\u003e\n```\n\n ", + "description": "Provides a Rancher V2 Global DNS resource. This can be used to create Global DNS records for Rancher V2.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global DNS Provider\nconst fooGlobalDnsProvider = new rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\", {\n rootDomain: \"example.com\",\n route53Config: {\n accessKey: \"YYYYYYYYYYYYYYYYYYYY\",\n secretKey: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zoneType: \"private\",\n region: \"us-east-1\",\n },\n});\n// Create a new rancher2 Global DNS using project IDs\nconst fooGlobalDns = new rancher2.GlobalDns(\"fooGlobalDns\", {\n fqdn: \"foo.example.com\",\n providerId: fooGlobalDnsProvider.id,\n projectIds: [\n \"project1\",\n \"project2\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global DNS Provider\nfoo_global_dns_provider = rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\",\n root_domain=\"example.com\",\n route53_config=rancher2.GlobalDnsProviderRoute53ConfigArgs(\n access_key=\"YYYYYYYYYYYYYYYYYYYY\",\n secret_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zone_type=\"private\",\n region=\"us-east-1\",\n ))\n# Create a new rancher2 Global DNS using project IDs\nfoo_global_dns = rancher2.GlobalDns(\"fooGlobalDns\",\n fqdn=\"foo.example.com\",\n provider_id=foo_global_dns_provider.id,\n project_ids=[\n \"project1\",\n \"project2\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Global DNS Provider\n var fooGlobalDnsProvider = new Rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\", new()\n {\n RootDomain = \"example.com\",\n Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs\n {\n AccessKey = \"YYYYYYYYYYYYYYYYYYYY\",\n SecretKey = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n ZoneType = \"private\",\n Region = \"us-east-1\",\n },\n });\n\n // Create a new rancher2 Global DNS using project IDs\n var fooGlobalDns = new Rancher2.GlobalDns(\"fooGlobalDns\", new()\n {\n Fqdn = \"foo.example.com\",\n ProviderId = fooGlobalDnsProvider.Id,\n ProjectIds = new[]\n {\n \"project1\",\n \"project2\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooGlobalDnsProvider, err := rancher2.NewGlobalDnsProvider(ctx, \"fooGlobalDnsProvider\", \u0026rancher2.GlobalDnsProviderArgs{\n\t\t\tRootDomain: pulumi.String(\"example.com\"),\n\t\t\tRoute53Config: \u0026GlobalDnsProviderRoute53ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"YYYYYYYYYYYYYYYYYYYY\"),\n\t\t\t\tSecretKey: pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t\tZoneType: pulumi.String(\"private\"),\n\t\t\t\tRegion: pulumi.String(\"us-east-1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewGlobalDns(ctx, \"fooGlobalDns\", \u0026rancher2.GlobalDnsArgs{\n\t\t\tFqdn: pulumi.String(\"foo.example.com\"),\n\t\t\tProviderId: fooGlobalDnsProvider.ID(),\n\t\t\tProjectIds: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"project1\"),\n\t\t\t\tpulumi.String(\"project2\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.GlobalDnsProvider;\nimport com.pulumi.rancher2.GlobalDnsProviderArgs;\nimport com.pulumi.rancher2.inputs.GlobalDnsProviderRoute53ConfigArgs;\nimport com.pulumi.rancher2.GlobalDns;\nimport com.pulumi.rancher2.GlobalDnsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooGlobalDnsProvider = new GlobalDnsProvider(\"fooGlobalDnsProvider\", GlobalDnsProviderArgs.builder() \n .rootDomain(\"example.com\")\n .route53Config(GlobalDnsProviderRoute53ConfigArgs.builder()\n .accessKey(\"YYYYYYYYYYYYYYYYYYYY\")\n .secretKey(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\")\n .zoneType(\"private\")\n .region(\"us-east-1\")\n .build())\n .build());\n\n var fooGlobalDns = new GlobalDns(\"fooGlobalDns\", GlobalDnsArgs.builder() \n .fqdn(\"foo.example.com\")\n .providerId(fooGlobalDnsProvider.id())\n .projectIds( \n \"project1\",\n \"project2\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Global DNS Provider\n fooGlobalDnsProvider:\n type: rancher2:GlobalDnsProvider\n properties:\n rootDomain: example.com\n route53Config:\n accessKey: YYYYYYYYYYYYYYYYYYYY\n secretKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n zoneType: private\n region: us-east-1\n # Create a new rancher2 Global DNS using project IDs\n fooGlobalDns:\n type: rancher2:GlobalDns\n properties:\n fqdn: foo.example.com\n providerId: ${fooGlobalDnsProvider.id}\n projectIds:\n - project1\n - project2\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global DNS Provider\nconst fooGlobalDnsProvider = new rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\", {\n rootDomain: \"example.com\",\n route53Config: {\n accessKey: \"YYYYYYYYYYYYYYYYYYYY\",\n secretKey: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zoneType: \"private\",\n region: \"us-east-1\",\n },\n});\n// Create a new rancher2 Global DNS using MultiClusterApp ID\nconst fooGlobalDns = new rancher2.GlobalDns(\"fooGlobalDns\", {\n fqdn: \"foo.example.com\",\n providerId: fooGlobalDnsProvider.id,\n multiClusterAppId: \"\u003cMCA_ID\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global DNS Provider\nfoo_global_dns_provider = rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\",\n root_domain=\"example.com\",\n route53_config=rancher2.GlobalDnsProviderRoute53ConfigArgs(\n access_key=\"YYYYYYYYYYYYYYYYYYYY\",\n secret_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zone_type=\"private\",\n region=\"us-east-1\",\n ))\n# Create a new rancher2 Global DNS using MultiClusterApp ID\nfoo_global_dns = rancher2.GlobalDns(\"fooGlobalDns\",\n fqdn=\"foo.example.com\",\n provider_id=foo_global_dns_provider.id,\n multi_cluster_app_id=\"\u003cMCA_ID\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Global DNS Provider\n var fooGlobalDnsProvider = new Rancher2.GlobalDnsProvider(\"fooGlobalDnsProvider\", new()\n {\n RootDomain = \"example.com\",\n Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs\n {\n AccessKey = \"YYYYYYYYYYYYYYYYYYYY\",\n SecretKey = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n ZoneType = \"private\",\n Region = \"us-east-1\",\n },\n });\n\n // Create a new rancher2 Global DNS using MultiClusterApp ID\n var fooGlobalDns = new Rancher2.GlobalDns(\"fooGlobalDns\", new()\n {\n Fqdn = \"foo.example.com\",\n ProviderId = fooGlobalDnsProvider.Id,\n MultiClusterAppId = \"\u003cMCA_ID\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooGlobalDnsProvider, err := rancher2.NewGlobalDnsProvider(ctx, \"fooGlobalDnsProvider\", \u0026rancher2.GlobalDnsProviderArgs{\n\t\t\tRootDomain: pulumi.String(\"example.com\"),\n\t\t\tRoute53Config: \u0026GlobalDnsProviderRoute53ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"YYYYYYYYYYYYYYYYYYYY\"),\n\t\t\t\tSecretKey: pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t\tZoneType: pulumi.String(\"private\"),\n\t\t\t\tRegion: pulumi.String(\"us-east-1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewGlobalDns(ctx, \"fooGlobalDns\", \u0026rancher2.GlobalDnsArgs{\n\t\t\tFqdn: pulumi.String(\"foo.example.com\"),\n\t\t\tProviderId: fooGlobalDnsProvider.ID(),\n\t\t\tMultiClusterAppId: pulumi.String(\"\u003cMCA_ID\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.GlobalDnsProvider;\nimport com.pulumi.rancher2.GlobalDnsProviderArgs;\nimport com.pulumi.rancher2.inputs.GlobalDnsProviderRoute53ConfigArgs;\nimport com.pulumi.rancher2.GlobalDns;\nimport com.pulumi.rancher2.GlobalDnsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooGlobalDnsProvider = new GlobalDnsProvider(\"fooGlobalDnsProvider\", GlobalDnsProviderArgs.builder() \n .rootDomain(\"example.com\")\n .route53Config(GlobalDnsProviderRoute53ConfigArgs.builder()\n .accessKey(\"YYYYYYYYYYYYYYYYYYYY\")\n .secretKey(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\")\n .zoneType(\"private\")\n .region(\"us-east-1\")\n .build())\n .build());\n\n var fooGlobalDns = new GlobalDns(\"fooGlobalDns\", GlobalDnsArgs.builder() \n .fqdn(\"foo.example.com\")\n .providerId(fooGlobalDnsProvider.id())\n .multiClusterAppId(\"\u003cMCA_ID\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Global DNS Provider\n fooGlobalDnsProvider:\n type: rancher2:GlobalDnsProvider\n properties:\n rootDomain: example.com\n route53Config:\n accessKey: YYYYYYYYYYYYYYYYYYYY\n secretKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n zoneType: private\n region: us-east-1\n # Create a new rancher2 Global DNS using MultiClusterApp ID\n fooGlobalDns:\n type: rancher2:GlobalDns\n properties:\n fqdn: foo.example.com\n providerId: ${fooGlobalDnsProvider.id}\n multiClusterAppId: \u003cMCA_ID\u003e\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGlobal DNS Entry can be imported using the Rancher Global DNS ID\n\n```sh\n $ pulumi import rancher2:index/globalDns:GlobalDns foo \u003cglobal_dns_id\u003e\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -43882,7 +47247,8 @@ }, "name": { "type": "string", - "description": "The name of the Global DNS (string)\n" + "description": "The name of the Global DNS (string)\n", + "willReplaceOnChanges": true }, "projectIds": { "type": "array", @@ -43931,7 +47297,8 @@ }, "name": { "type": "string", - "description": "The name of the Global DNS (string)\n" + "description": "The name of the Global DNS (string)\n", + "willReplaceOnChanges": true }, "projectIds": { "type": "array", @@ -43953,7 +47320,7 @@ } }, "rancher2:index/globalDnsProvider:GlobalDnsProvider": { - "description": "Provides a Rancher V2 Global DNS Provider resource. This can be used to create Global DNS Providers for Rancher V2. Supported Global DNS Providers: `alidns, cloudflare, route53`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global DNS Provider - alidns\nconst foo = new rancher2.GlobalDnsProvider(\"foo\", {\n alidnsConfig: {\n accessKey: \"YYYYYYYYYYYYYYYYYYYY\",\n secretKey: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n },\n rootDomain: \"example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global DNS Provider - alidns\nfoo = rancher2.GlobalDnsProvider(\"foo\",\n alidns_config=rancher2.GlobalDnsProviderAlidnsConfigArgs(\n access_key=\"YYYYYYYYYYYYYYYYYYYY\",\n secret_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n ),\n root_domain=\"example.com\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Global DNS Provider - alidns\n var foo = new Rancher2.GlobalDnsProvider(\"foo\", new Rancher2.GlobalDnsProviderArgs\n {\n AlidnsConfig = new Rancher2.Inputs.GlobalDnsProviderAlidnsConfigArgs\n {\n AccessKey = \"YYYYYYYYYYYYYYYYYYYY\",\n SecretKey = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n },\n RootDomain = \"example.com\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewGlobalDnsProvider(ctx, \"foo\", \u0026rancher2.GlobalDnsProviderArgs{\n\t\t\tAlidnsConfig: \u0026GlobalDnsProviderAlidnsConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"YYYYYYYYYYYYYYYYYYYY\"),\n\t\t\t\tSecretKey: pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t},\n\t\t\tRootDomain: pulumi.String(\"example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global DNS Provider - cloudflare\nconst foo = new rancher2.GlobalDnsProvider(\"foo\", {\n cloudflareConfig: {\n apiEmail: \"test@test.local\",\n apiKey: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n proxySetting: true,\n },\n rootDomain: \"example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global DNS Provider - cloudflare\nfoo = rancher2.GlobalDnsProvider(\"foo\",\n cloudflare_config=rancher2.GlobalDnsProviderCloudflareConfigArgs(\n api_email=\"test@test.local\",\n api_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n proxy_setting=True,\n ),\n root_domain=\"example.com\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Global DNS Provider - cloudflare\n var foo = new Rancher2.GlobalDnsProvider(\"foo\", new Rancher2.GlobalDnsProviderArgs\n {\n CloudflareConfig = new Rancher2.Inputs.GlobalDnsProviderCloudflareConfigArgs\n {\n ApiEmail = \"test@test.local\",\n ApiKey = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n ProxySetting = true,\n },\n RootDomain = \"example.com\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewGlobalDnsProvider(ctx, \"foo\", \u0026rancher2.GlobalDnsProviderArgs{\n\t\t\tCloudflareConfig: \u0026GlobalDnsProviderCloudflareConfigArgs{\n\t\t\t\tApiEmail: pulumi.String(\"test@test.local\"),\n\t\t\t\tApiKey: pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t\tProxySetting: pulumi.Bool(true),\n\t\t\t},\n\t\t\tRootDomain: pulumi.String(\"example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global DNS Provider - route53\nconst foo = new rancher2.GlobalDnsProvider(\"foo\", {\n rootDomain: \"example.com\",\n route53Config: {\n accessKey: \"YYYYYYYYYYYYYYYYYYYY\",\n region: \"us-east-1\",\n secretKey: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zoneType: \"private\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global DNS Provider - route53\nfoo = rancher2.GlobalDnsProvider(\"foo\",\n root_domain=\"example.com\",\n route53_config=rancher2.GlobalDnsProviderRoute53ConfigArgs(\n access_key=\"YYYYYYYYYYYYYYYYYYYY\",\n region=\"us-east-1\",\n secret_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zone_type=\"private\",\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Global DNS Provider - route53\n var foo = new Rancher2.GlobalDnsProvider(\"foo\", new Rancher2.GlobalDnsProviderArgs\n {\n RootDomain = \"example.com\",\n Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs\n {\n AccessKey = \"YYYYYYYYYYYYYYYYYYYY\",\n Region = \"us-east-1\",\n SecretKey = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n ZoneType = \"private\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewGlobalDnsProvider(ctx, \"foo\", \u0026rancher2.GlobalDnsProviderArgs{\n\t\t\tRootDomain: pulumi.String(\"example.com\"),\n\t\t\tRoute53Config: \u0026GlobalDnsProviderRoute53ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"YYYYYYYYYYYYYYYYYYYY\"),\n\t\t\t\tRegion: pulumi.String(\"us-east-1\"),\n\t\t\t\tSecretKey: pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t\tZoneType: pulumi.String(\"private\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGlobal DNS Providers can be imported using the Rancher Global DNS Provider ID\n\n```sh\n $ pulumi import rancher2:index/globalDnsProvider:GlobalDnsProvider foo \u003cglobal_dns_provider_id\u003e\n```\n\n ", + "description": "Provides a Rancher V2 Global DNS Provider resource. This can be used to create Global DNS Providers for Rancher V2. Supported Global DNS Providers: `alidns, cloudflare, route53`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global DNS Provider - alidns\nconst foo = new rancher2.GlobalDnsProvider(\"foo\", {\n alidnsConfig: {\n accessKey: \"YYYYYYYYYYYYYYYYYYYY\",\n secretKey: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n },\n rootDomain: \"example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global DNS Provider - alidns\nfoo = rancher2.GlobalDnsProvider(\"foo\",\n alidns_config=rancher2.GlobalDnsProviderAlidnsConfigArgs(\n access_key=\"YYYYYYYYYYYYYYYYYYYY\",\n secret_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n ),\n root_domain=\"example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Global DNS Provider - alidns\n var foo = new Rancher2.GlobalDnsProvider(\"foo\", new()\n {\n AlidnsConfig = new Rancher2.Inputs.GlobalDnsProviderAlidnsConfigArgs\n {\n AccessKey = \"YYYYYYYYYYYYYYYYYYYY\",\n SecretKey = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n },\n RootDomain = \"example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewGlobalDnsProvider(ctx, \"foo\", \u0026rancher2.GlobalDnsProviderArgs{\n\t\t\tAlidnsConfig: \u0026GlobalDnsProviderAlidnsConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"YYYYYYYYYYYYYYYYYYYY\"),\n\t\t\t\tSecretKey: pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t},\n\t\t\tRootDomain: pulumi.String(\"example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.GlobalDnsProvider;\nimport com.pulumi.rancher2.GlobalDnsProviderArgs;\nimport com.pulumi.rancher2.inputs.GlobalDnsProviderAlidnsConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new GlobalDnsProvider(\"foo\", GlobalDnsProviderArgs.builder() \n .alidnsConfig(GlobalDnsProviderAlidnsConfigArgs.builder()\n .accessKey(\"YYYYYYYYYYYYYYYYYYYY\")\n .secretKey(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\")\n .build())\n .rootDomain(\"example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Global DNS Provider - alidns\n foo:\n type: rancher2:GlobalDnsProvider\n properties:\n alidnsConfig:\n accessKey: YYYYYYYYYYYYYYYYYYYY\n secretKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n rootDomain: example.com\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global DNS Provider - cloudflare\nconst foo = new rancher2.GlobalDnsProvider(\"foo\", {\n cloudflareConfig: {\n apiEmail: \"test@test.local\",\n apiKey: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n proxySetting: true,\n },\n rootDomain: \"example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global DNS Provider - cloudflare\nfoo = rancher2.GlobalDnsProvider(\"foo\",\n cloudflare_config=rancher2.GlobalDnsProviderCloudflareConfigArgs(\n api_email=\"test@test.local\",\n api_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n proxy_setting=True,\n ),\n root_domain=\"example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Global DNS Provider - cloudflare\n var foo = new Rancher2.GlobalDnsProvider(\"foo\", new()\n {\n CloudflareConfig = new Rancher2.Inputs.GlobalDnsProviderCloudflareConfigArgs\n {\n ApiEmail = \"test@test.local\",\n ApiKey = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n ProxySetting = true,\n },\n RootDomain = \"example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewGlobalDnsProvider(ctx, \"foo\", \u0026rancher2.GlobalDnsProviderArgs{\n\t\t\tCloudflareConfig: \u0026GlobalDnsProviderCloudflareConfigArgs{\n\t\t\t\tApiEmail: pulumi.String(\"test@test.local\"),\n\t\t\t\tApiKey: pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t\tProxySetting: pulumi.Bool(true),\n\t\t\t},\n\t\t\tRootDomain: pulumi.String(\"example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.GlobalDnsProvider;\nimport com.pulumi.rancher2.GlobalDnsProviderArgs;\nimport com.pulumi.rancher2.inputs.GlobalDnsProviderCloudflareConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new GlobalDnsProvider(\"foo\", GlobalDnsProviderArgs.builder() \n .cloudflareConfig(GlobalDnsProviderCloudflareConfigArgs.builder()\n .apiEmail(\"test@test.local\")\n .apiKey(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\")\n .proxySetting(true)\n .build())\n .rootDomain(\"example.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Global DNS Provider - cloudflare\n foo:\n type: rancher2:GlobalDnsProvider\n properties:\n cloudflareConfig:\n apiEmail: test@test.local\n apiKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n proxySetting: true\n rootDomain: example.com\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global DNS Provider - route53\nconst foo = new rancher2.GlobalDnsProvider(\"foo\", {\n rootDomain: \"example.com\",\n route53Config: {\n accessKey: \"YYYYYYYYYYYYYYYYYYYY\",\n region: \"us-east-1\",\n secretKey: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zoneType: \"private\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global DNS Provider - route53\nfoo = rancher2.GlobalDnsProvider(\"foo\",\n root_domain=\"example.com\",\n route53_config=rancher2.GlobalDnsProviderRoute53ConfigArgs(\n access_key=\"YYYYYYYYYYYYYYYYYYYY\",\n region=\"us-east-1\",\n secret_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n zone_type=\"private\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Global DNS Provider - route53\n var foo = new Rancher2.GlobalDnsProvider(\"foo\", new()\n {\n RootDomain = \"example.com\",\n Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs\n {\n AccessKey = \"YYYYYYYYYYYYYYYYYYYY\",\n Region = \"us-east-1\",\n SecretKey = \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n ZoneType = \"private\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewGlobalDnsProvider(ctx, \"foo\", \u0026rancher2.GlobalDnsProviderArgs{\n\t\t\tRootDomain: pulumi.String(\"example.com\"),\n\t\t\tRoute53Config: \u0026GlobalDnsProviderRoute53ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"YYYYYYYYYYYYYYYYYYYY\"),\n\t\t\t\tRegion: pulumi.String(\"us-east-1\"),\n\t\t\t\tSecretKey: pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t\tZoneType: pulumi.String(\"private\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.GlobalDnsProvider;\nimport com.pulumi.rancher2.GlobalDnsProviderArgs;\nimport com.pulumi.rancher2.inputs.GlobalDnsProviderRoute53ConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new GlobalDnsProvider(\"foo\", GlobalDnsProviderArgs.builder() \n .rootDomain(\"example.com\")\n .route53Config(GlobalDnsProviderRoute53ConfigArgs.builder()\n .accessKey(\"YYYYYYYYYYYYYYYYYYYY\")\n .region(\"us-east-1\")\n .secretKey(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\")\n .zoneType(\"private\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Global DNS Provider - route53\n foo:\n type: rancher2:GlobalDnsProvider\n properties:\n rootDomain: example.com\n route53Config:\n accessKey: YYYYYYYYYYYYYYYYYYYY\n region: us-east-1\n secretKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n zoneType: private\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGlobal DNS Providers can be imported using the Rancher Global DNS Provider ID\n\n```sh\n $ pulumi import rancher2:index/globalDnsProvider:GlobalDnsProvider foo \u003cglobal_dns_provider_id\u003e\n```\n\n ", "properties": { "alidnsConfig": { "$ref": "#/types/rancher2:index/GlobalDnsProviderAlidnsConfig:GlobalDnsProviderAlidnsConfig" @@ -44021,7 +47388,8 @@ }, "name": { "type": "string", - "description": "The name of the Global DNS Provider (string)\n" + "description": "The name of the Global DNS Provider (string)\n", + "willReplaceOnChanges": true }, "rootDomain": { "type": "string", @@ -44063,7 +47431,8 @@ }, "name": { "type": "string", - "description": "The name of the Global DNS Provider (string)\n" + "description": "The name of the Global DNS Provider (string)\n", + "willReplaceOnChanges": true }, "rootDomain": { "type": "string", @@ -44077,7 +47446,7 @@ } }, "rancher2:index/globalRole:GlobalRole": { - "description": "Provides a Rancher v2 Global Role resource. This can be used to create Global Role for Rancher v2 and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global Role\nconst foo = new rancher2.GlobalRole(\"foo\", {\n description: \"Terraform global role acceptance test\",\n newUserDefault: true,\n rules: [{\n apiGroups: [\"*\"],\n resources: [\"secrets\"],\n verbs: [\"create\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global Role\nfoo = rancher2.GlobalRole(\"foo\",\n description=\"Terraform global role acceptance test\",\n new_user_default=True,\n rules=[rancher2.GlobalRoleRuleArgs(\n api_groups=[\"*\"],\n resources=[\"secrets\"],\n verbs=[\"create\"],\n )])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Global Role\n var foo = new Rancher2.GlobalRole(\"foo\", new Rancher2.GlobalRoleArgs\n {\n Description = \"Terraform global role acceptance test\",\n NewUserDefault = true,\n Rules = \n {\n new Rancher2.Inputs.GlobalRoleRuleArgs\n {\n ApiGroups = \n {\n \"*\",\n },\n Resources = \n {\n \"secrets\",\n },\n Verbs = \n {\n \"create\",\n },\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewGlobalRole(ctx, \"foo\", \u0026rancher2.GlobalRoleArgs{\n\t\t\tDescription: pulumi.String(\"Terraform global role acceptance test\"),\n\t\t\tNewUserDefault: pulumi.Bool(true),\n\t\t\tRules: GlobalRoleRuleArray{\n\t\t\t\t\u0026GlobalRoleRuleArgs{\n\t\t\t\t\tApiGroups: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tResources: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"secrets\"),\n\t\t\t\t\t},\n\t\t\t\t\tVerbs: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"create\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGlobal Role can be imported using the Rancher Global Role ID\n\n```sh\n $ pulumi import rancher2:index/globalRole:GlobalRole foo \u0026lt;global_role_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Global Role resource. This can be used to create Global Role for Rancher v2 and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global Role\nconst foo = new rancher2.GlobalRole(\"foo\", {\n description: \"Terraform global role acceptance test\",\n newUserDefault: true,\n rules: [{\n apiGroups: [\"*\"],\n resources: [\"secrets\"],\n verbs: [\"create\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global Role\nfoo = rancher2.GlobalRole(\"foo\",\n description=\"Terraform global role acceptance test\",\n new_user_default=True,\n rules=[rancher2.GlobalRoleRuleArgs(\n api_groups=[\"*\"],\n resources=[\"secrets\"],\n verbs=[\"create\"],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Global Role\n var foo = new Rancher2.GlobalRole(\"foo\", new()\n {\n Description = \"Terraform global role acceptance test\",\n NewUserDefault = true,\n Rules = new[]\n {\n new Rancher2.Inputs.GlobalRoleRuleArgs\n {\n ApiGroups = new[]\n {\n \"*\",\n },\n Resources = new[]\n {\n \"secrets\",\n },\n Verbs = new[]\n {\n \"create\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewGlobalRole(ctx, \"foo\", \u0026rancher2.GlobalRoleArgs{\n\t\t\tDescription: pulumi.String(\"Terraform global role acceptance test\"),\n\t\t\tNewUserDefault: pulumi.Bool(true),\n\t\t\tRules: GlobalRoleRuleArray{\n\t\t\t\t\u0026GlobalRoleRuleArgs{\n\t\t\t\t\tApiGroups: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tResources: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"secrets\"),\n\t\t\t\t\t},\n\t\t\t\t\tVerbs: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"create\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.GlobalRole;\nimport com.pulumi.rancher2.GlobalRoleArgs;\nimport com.pulumi.rancher2.inputs.GlobalRoleRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new GlobalRole(\"foo\", GlobalRoleArgs.builder() \n .description(\"Terraform global role acceptance test\")\n .newUserDefault(true)\n .rules(GlobalRoleRuleArgs.builder()\n .apiGroups(\"*\")\n .resources(\"secrets\")\n .verbs(\"create\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Global Role\n foo:\n type: rancher2:GlobalRole\n properties:\n description: Terraform global role acceptance test\n newUserDefault: true\n rules:\n - apiGroups:\n - '*'\n resources:\n - secrets\n verbs:\n - create\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGlobal Role can be imported using the Rancher Global Role ID\n\n```sh\n $ pulumi import rancher2:index/globalRole:GlobalRole foo \u0026lt;global_role_id\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -44205,7 +47574,7 @@ } }, "rancher2:index/globalRoleBinding:GlobalRoleBinding": { - "description": "Provides a Rancher v2 Global Role Binding resource. This can be used to create Global Role Bindings for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global Role Binding using user_id\nconst foo = new rancher2.GlobalRoleBinding(\"foo\", {\n globalRoleId: \"admin\",\n userId: \"user-XXXXX\",\n});\n// Create a new rancher2 Global Role Binding using group_principal_id\nconst foo2 = new rancher2.GlobalRoleBinding(\"foo2\", {\n globalRoleId: \"admin\",\n groupPrincipalId: \"local://g-XXXXX\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global Role Binding using user_id\nfoo = rancher2.GlobalRoleBinding(\"foo\",\n global_role_id=\"admin\",\n user_id=\"user-XXXXX\")\n# Create a new rancher2 Global Role Binding using group_principal_id\nfoo2 = rancher2.GlobalRoleBinding(\"foo2\",\n global_role_id=\"admin\",\n group_principal_id=\"local://g-XXXXX\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Global Role Binding using user_id\n var foo = new Rancher2.GlobalRoleBinding(\"foo\", new Rancher2.GlobalRoleBindingArgs\n {\n GlobalRoleId = \"admin\",\n UserId = \"user-XXXXX\",\n });\n // Create a new rancher2 Global Role Binding using group_principal_id\n var foo2 = new Rancher2.GlobalRoleBinding(\"foo2\", new Rancher2.GlobalRoleBindingArgs\n {\n GlobalRoleId = \"admin\",\n GroupPrincipalId = \"local://g-XXXXX\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewGlobalRoleBinding(ctx, \"foo\", \u0026rancher2.GlobalRoleBindingArgs{\n\t\t\tGlobalRoleId: pulumi.String(\"admin\"),\n\t\t\tUserId: pulumi.String(\"user-XXXXX\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewGlobalRoleBinding(ctx, \"foo2\", \u0026rancher2.GlobalRoleBindingArgs{\n\t\t\tGlobalRoleId: pulumi.String(\"admin\"),\n\t\t\tGroupPrincipalId: pulumi.String(\"local://g-XXXXX\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGlobal Role Bindings can be imported using the Rancher Global Role Binding ID\n\n```sh\n $ pulumi import rancher2:index/globalRoleBinding:GlobalRoleBinding foo \u0026lt;GLOBAL_ROLE_BINDING_ID\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Global Role Binding resource. This can be used to create Global Role Bindings for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Global Role Binding using user_id\nconst foo = new rancher2.GlobalRoleBinding(\"foo\", {\n globalRoleId: \"admin\",\n userId: \"user-XXXXX\",\n});\n// Create a new rancher2 Global Role Binding using group_principal_id\nconst foo2 = new rancher2.GlobalRoleBinding(\"foo2\", {\n globalRoleId: \"admin\",\n groupPrincipalId: \"local://g-XXXXX\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Global Role Binding using user_id\nfoo = rancher2.GlobalRoleBinding(\"foo\",\n global_role_id=\"admin\",\n user_id=\"user-XXXXX\")\n# Create a new rancher2 Global Role Binding using group_principal_id\nfoo2 = rancher2.GlobalRoleBinding(\"foo2\",\n global_role_id=\"admin\",\n group_principal_id=\"local://g-XXXXX\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Global Role Binding using user_id\n var foo = new Rancher2.GlobalRoleBinding(\"foo\", new()\n {\n GlobalRoleId = \"admin\",\n UserId = \"user-XXXXX\",\n });\n\n // Create a new rancher2 Global Role Binding using group_principal_id\n var foo2 = new Rancher2.GlobalRoleBinding(\"foo2\", new()\n {\n GlobalRoleId = \"admin\",\n GroupPrincipalId = \"local://g-XXXXX\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewGlobalRoleBinding(ctx, \"foo\", \u0026rancher2.GlobalRoleBindingArgs{\n\t\t\tGlobalRoleId: pulumi.String(\"admin\"),\n\t\t\tUserId: pulumi.String(\"user-XXXXX\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewGlobalRoleBinding(ctx, \"foo2\", \u0026rancher2.GlobalRoleBindingArgs{\n\t\t\tGlobalRoleId: pulumi.String(\"admin\"),\n\t\t\tGroupPrincipalId: pulumi.String(\"local://g-XXXXX\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.GlobalRoleBinding;\nimport com.pulumi.rancher2.GlobalRoleBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new GlobalRoleBinding(\"foo\", GlobalRoleBindingArgs.builder() \n .globalRoleId(\"admin\")\n .userId(\"user-XXXXX\")\n .build());\n\n var foo2 = new GlobalRoleBinding(\"foo2\", GlobalRoleBindingArgs.builder() \n .globalRoleId(\"admin\")\n .groupPrincipalId(\"local://g-XXXXX\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Global Role Binding using user_id\n foo:\n type: rancher2:GlobalRoleBinding\n properties:\n globalRoleId: admin\n userId: user-XXXXX\n # Create a new rancher2 Global Role Binding using group_principal_id\n foo2:\n type: rancher2:GlobalRoleBinding\n properties:\n globalRoleId: admin\n groupPrincipalId: local://g-XXXXX\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGlobal Role Bindings can be imported using the Rancher Global Role Binding ID\n\n```sh\n $ pulumi import rancher2:index/globalRoleBinding:GlobalRoleBinding foo \u0026lt;GLOBAL_ROLE_BINDING_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -44256,11 +47625,13 @@ }, "globalRoleId": { "type": "string", - "description": "The role id from create global role binding (string)\n" + "description": "The role id from create global role binding (string)\n", + "willReplaceOnChanges": true }, "groupPrincipalId": { "type": "string", - "description": "The group principal ID to assign global role binding (only works with external auth providers that support groups). Rancher v2.4.0 or higher is required (string)\n" + "description": "The group principal ID to assign global role binding (only works with external auth providers that support groups). Rancher v2.4.0 or higher is required (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -44271,11 +47642,13 @@ }, "name": { "type": "string", - "description": "The name of the global role binding (string)\n" + "description": "The name of the global role binding (string)\n", + "willReplaceOnChanges": true }, "userId": { "type": "string", - "description": "The user ID to assign global role binding (string)\n" + "description": "The user ID to assign global role binding (string)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -44293,11 +47666,13 @@ }, "globalRoleId": { "type": "string", - "description": "The role id from create global role binding (string)\n" + "description": "The role id from create global role binding (string)\n", + "willReplaceOnChanges": true }, "groupPrincipalId": { "type": "string", - "description": "The group principal ID to assign global role binding (only works with external auth providers that support groups). Rancher v2.4.0 or higher is required (string)\n" + "description": "The group principal ID to assign global role binding (only works with external auth providers that support groups). Rancher v2.4.0 or higher is required (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -44308,18 +47683,20 @@ }, "name": { "type": "string", - "description": "The name of the global role binding (string)\n" + "description": "The name of the global role binding (string)\n", + "willReplaceOnChanges": true }, "userId": { "type": "string", - "description": "The user ID to assign global role binding (string)\n" + "description": "The user ID to assign global role binding (string)\n", + "willReplaceOnChanges": true } }, "type": "object" } }, "rancher2:index/machineConfigV2:MachineConfigV2": { - "description": "Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above.\n\n`amazonec2`, `azure`, `digitalocean`, `linode`, `openstack`, and `vsphere` cloud providers are supported for machine config V2\n\n**Note** This resource is used by \n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Using the Harvester Node Driver\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo-harvesterClusterV2 = rancher2.getClusterV2({\n name: \"foo-harvester\",\n});\n// Create a new Cloud Credential for an imported Harvester cluster\nconst foo_harvesterCloudCredential = new rancher2.CloudCredential(\"foo-harvesterCloudCredential\", {harvesterCredentialConfig: {\n clusterId: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.clusterV1Id),\n clusterType: \"imported\",\n kubeconfigContent: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.kubeConfig),\n}});\n// Create a new rancher2 machine config v2 using harvester node_driver\nconst foo_harvester_v2 = new rancher2.MachineConfigV2(\"foo-harvester-v2\", {\n generateName: \"foo-harvester-v2\",\n harvesterConfig: {\n vmNamespace: \"default\",\n cpuCount: \"2\",\n memorySize: \"4\",\n diskSize: \"40\",\n networkName: \"harvester-public/vlan1\",\n imageName: \"harvester-public/image-57hzg\",\n sshUser: \"ubuntu\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_harvester_cluster_v2 = rancher2.get_cluster_v2(name=\"foo-harvester\")\n# Create a new Cloud Credential for an imported Harvester cluster\nfoo_harvester_cloud_credential = rancher2.CloudCredential(\"foo-harvesterCloudCredential\", harvester_credential_config=rancher2.CloudCredentialHarvesterCredentialConfigArgs(\n cluster_id=foo_harvester_cluster_v2.cluster_v1_id,\n cluster_type=\"imported\",\n kubeconfig_content=foo_harvester_cluster_v2.kube_config,\n))\n# Create a new rancher2 machine config v2 using harvester node_driver\nfoo_harvester_v2 = rancher2.MachineConfigV2(\"foo-harvester-v2\",\n generate_name=\"foo-harvester-v2\",\n harvester_config=rancher2.MachineConfigV2HarvesterConfigArgs(\n vm_namespace=\"default\",\n cpu_count=\"2\",\n memory_size=\"4\",\n disk_size=\"40\",\n network_name=\"harvester-public/vlan1\",\n image_name=\"harvester-public/image-57hzg\",\n ssh_user=\"ubuntu\",\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo_harvesterClusterV2 = Output.Create(Rancher2.GetClusterV2.InvokeAsync(new Rancher2.GetClusterV2Args\n {\n Name = \"foo-harvester\",\n }));\n // Create a new Cloud Credential for an imported Harvester cluster\n var foo_harvesterCloudCredential = new Rancher2.CloudCredential(\"foo-harvesterCloudCredential\", new Rancher2.CloudCredentialArgs\n {\n HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs\n {\n ClusterId = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.ClusterV1Id),\n ClusterType = \"imported\",\n KubeconfigContent = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.KubeConfig),\n },\n });\n // Create a new rancher2 machine config v2 using harvester node_driver\n var foo_harvester_v2 = new Rancher2.MachineConfigV2(\"foo-harvester-v2\", new Rancher2.MachineConfigV2Args\n {\n GenerateName = \"foo-harvester-v2\",\n HarvesterConfig = new Rancher2.Inputs.MachineConfigV2HarvesterConfigArgs\n {\n VmNamespace = \"default\",\n CpuCount = \"2\",\n MemorySize = \"4\",\n DiskSize = \"40\",\n NetworkName = \"harvester-public/vlan1\",\n ImageName = \"harvester-public/image-57hzg\",\n SshUser = \"ubuntu\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoo_harvesterClusterV2, err := rancher2.LookupClusterV2(ctx, \u0026GetClusterV2Args{\n\t\t\tName: \"foo-harvester\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCloudCredential(ctx, \"foo-harvesterCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tHarvesterCredentialConfig: \u0026CloudCredentialHarvesterCredentialConfigArgs{\n\t\t\t\tClusterId: pulumi.String(foo_harvesterClusterV2.ClusterV1Id),\n\t\t\t\tClusterType: pulumi.String(\"imported\"),\n\t\t\t\tKubeconfigContent: pulumi.String(foo_harvesterClusterV2.KubeConfig),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewMachineConfigV2(ctx, \"foo-harvester-v2\", \u0026rancher2.MachineConfigV2Args{\n\t\t\tGenerateName: pulumi.String(\"foo-harvester-v2\"),\n\t\t\tHarvesterConfig: \u0026MachineConfigV2HarvesterConfigArgs{\n\t\t\t\tVmNamespace: pulumi.String(\"default\"),\n\t\t\t\tCpuCount: pulumi.String(\"2\"),\n\t\t\t\tMemorySize: pulumi.String(\"4\"),\n\t\t\t\tDiskSize: pulumi.String(\"40\"),\n\t\t\t\tNetworkName: pulumi.String(\"harvester-public/vlan1\"),\n\t\t\t\tImageName: pulumi.String(\"harvester-public/image-57hzg\"),\n\t\t\t\tSshUser: pulumi.String(\"ubuntu\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is available from Rancher v2.6.0 and above.\n\n`amazonec2`, `azure`, `digitalocean`, `linode`, `openstack`, and `vsphere` cloud providers are supported for machine config V2\n\n**Note** This resource is used by \n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Using the Harvester Node Driver\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo-harvesterClusterV2 = rancher2.getClusterV2({\n name: \"foo-harvester\",\n});\n// Create a new Cloud Credential for an imported Harvester cluster\nconst foo_harvesterCloudCredential = new rancher2.CloudCredential(\"foo-harvesterCloudCredential\", {harvesterCredentialConfig: {\n clusterId: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.clusterV1Id),\n clusterType: \"imported\",\n kubeconfigContent: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.kubeConfig),\n}});\n// Create a new rancher2 machine config v2 using harvester node_driver\nconst foo_harvester_v2 = new rancher2.MachineConfigV2(\"foo-harvester-v2\", {\n generateName: \"foo-harvester-v2\",\n harvesterConfig: {\n vmNamespace: \"default\",\n cpuCount: \"2\",\n memorySize: \"4\",\n diskSize: \"40\",\n networkName: \"harvester-public/vlan1\",\n imageName: \"harvester-public/image-57hzg\",\n sshUser: \"ubuntu\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_harvester_cluster_v2 = rancher2.get_cluster_v2(name=\"foo-harvester\")\n# Create a new Cloud Credential for an imported Harvester cluster\nfoo_harvester_cloud_credential = rancher2.CloudCredential(\"foo-harvesterCloudCredential\", harvester_credential_config=rancher2.CloudCredentialHarvesterCredentialConfigArgs(\n cluster_id=foo_harvester_cluster_v2.cluster_v1_id,\n cluster_type=\"imported\",\n kubeconfig_content=foo_harvester_cluster_v2.kube_config,\n))\n# Create a new rancher2 machine config v2 using harvester node_driver\nfoo_harvester_v2 = rancher2.MachineConfigV2(\"foo-harvester-v2\",\n generate_name=\"foo-harvester-v2\",\n harvester_config=rancher2.MachineConfigV2HarvesterConfigArgs(\n vm_namespace=\"default\",\n cpu_count=\"2\",\n memory_size=\"4\",\n disk_size=\"40\",\n network_name=\"harvester-public/vlan1\",\n image_name=\"harvester-public/image-57hzg\",\n ssh_user=\"ubuntu\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo_harvesterClusterV2 = Rancher2.GetClusterV2.Invoke(new()\n {\n Name = \"foo-harvester\",\n });\n\n // Create a new Cloud Credential for an imported Harvester cluster\n var foo_harvesterCloudCredential = new Rancher2.CloudCredential(\"foo-harvesterCloudCredential\", new()\n {\n HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs\n {\n ClusterId = foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result).Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result.ClusterV1Id)),\n ClusterType = \"imported\",\n KubeconfigContent = foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result).Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result.KubeConfig)),\n },\n });\n\n // Create a new rancher2 machine config v2 using harvester node_driver\n var foo_harvester_v2 = new Rancher2.MachineConfigV2(\"foo-harvester-v2\", new()\n {\n GenerateName = \"foo-harvester-v2\",\n HarvesterConfig = new Rancher2.Inputs.MachineConfigV2HarvesterConfigArgs\n {\n VmNamespace = \"default\",\n CpuCount = \"2\",\n MemorySize = \"4\",\n DiskSize = \"40\",\n NetworkName = \"harvester-public/vlan1\",\n ImageName = \"harvester-public/image-57hzg\",\n SshUser = \"ubuntu\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoo_harvesterClusterV2, err := rancher2.LookupClusterV2(ctx, \u0026GetClusterV2Args{\n\t\t\tName: \"foo-harvester\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCloudCredential(ctx, \"foo-harvesterCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tHarvesterCredentialConfig: \u0026CloudCredentialHarvesterCredentialConfigArgs{\n\t\t\t\tClusterId: pulumi.String(foo_harvesterClusterV2.ClusterV1Id),\n\t\t\t\tClusterType: pulumi.String(\"imported\"),\n\t\t\t\tKubeconfigContent: pulumi.String(foo_harvesterClusterV2.KubeConfig),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewMachineConfigV2(ctx, \"foo-harvester-v2\", \u0026rancher2.MachineConfigV2Args{\n\t\t\tGenerateName: pulumi.String(\"foo-harvester-v2\"),\n\t\t\tHarvesterConfig: \u0026MachineConfigV2HarvesterConfigArgs{\n\t\t\t\tVmNamespace: pulumi.String(\"default\"),\n\t\t\t\tCpuCount: pulumi.String(\"2\"),\n\t\t\t\tMemorySize: pulumi.String(\"4\"),\n\t\t\t\tDiskSize: pulumi.String(\"40\"),\n\t\t\t\tNetworkName: pulumi.String(\"harvester-public/vlan1\"),\n\t\t\t\tImageName: pulumi.String(\"harvester-public/image-57hzg\"),\n\t\t\t\tSshUser: pulumi.String(\"ubuntu\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterV2Args;\nimport com.pulumi.rancher2.CloudCredential;\nimport com.pulumi.rancher2.CloudCredentialArgs;\nimport com.pulumi.rancher2.inputs.CloudCredentialHarvesterCredentialConfigArgs;\nimport com.pulumi.rancher2.MachineConfigV2;\nimport com.pulumi.rancher2.MachineConfigV2Args;\nimport com.pulumi.rancher2.inputs.MachineConfigV2HarvesterConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo-harvesterClusterV2 = Rancher2Functions.getClusterV2(GetClusterV2Args.builder()\n .name(\"foo-harvester\")\n .build());\n\n var foo_harvesterCloudCredential = new CloudCredential(\"foo-harvesterCloudCredential\", CloudCredentialArgs.builder() \n .harvesterCredentialConfig(CloudCredentialHarvesterCredentialConfigArgs.builder()\n .clusterId(foo_harvesterClusterV2.clusterV1Id())\n .clusterType(\"imported\")\n .kubeconfigContent(foo_harvesterClusterV2.kubeConfig())\n .build())\n .build());\n\n var foo_harvester_v2 = new MachineConfigV2(\"foo-harvester-v2\", MachineConfigV2Args.builder() \n .generateName(\"foo-harvester-v2\")\n .harvesterConfig(MachineConfigV2HarvesterConfigArgs.builder()\n .vmNamespace(\"default\")\n .cpuCount(\"2\")\n .memorySize(\"4\")\n .diskSize(\"40\")\n .networkName(\"harvester-public/vlan1\")\n .imageName(\"harvester-public/image-57hzg\")\n .sshUser(\"ubuntu\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Cloud Credential for an imported Harvester cluster\n foo-harvesterCloudCredential:\n type: rancher2:CloudCredential\n properties:\n harvesterCredentialConfig:\n clusterId: ${[\"foo-harvesterClusterV2\"].clusterV1Id}\n clusterType: imported\n kubeconfigContent: ${[\"foo-harvesterClusterV2\"].kubeConfig}\n # Create a new rancher2 machine config v2 using harvester node_driver\n foo-harvester-v2:\n type: rancher2:MachineConfigV2\n properties:\n generateName: foo-harvester-v2\n harvesterConfig:\n vmNamespace: default\n cpuCount: '2'\n memorySize: '4'\n diskSize: '40'\n networkName: harvester-public/vlan1\n imageName: harvester-public/image-57hzg\n sshUser: ubuntu\nvariables:\n foo-harvesterClusterV2:\n fn::invoke:\n Function: rancher2:getClusterV2\n Arguments:\n name: foo-harvester\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "amazonec2Config": { "$ref": "#/types/rancher2:index/MachineConfigV2Amazonec2Config:MachineConfigV2Amazonec2Config", @@ -44414,11 +47791,13 @@ }, "fleetNamespace": { "type": "string", - "description": "Cluster V2 fleet namespace\n" + "description": "Cluster V2 fleet namespace\n", + "willReplaceOnChanges": true }, "generateName": { "type": "string", - "description": "Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\\"prod-pool1\\\" will generate \\\"nc-prod-pool1-?????\\\" name computed at `name` attribute (string)\n" + "description": "Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\\"prod-pool1\\\" will generate \\\"nc-prod-pool1-?????\\\" name computed at `name` attribute (string)\n", + "willReplaceOnChanges": true }, "harvesterConfig": { "$ref": "#/types/rancher2:index/MachineConfigV2HarvesterConfig:MachineConfigV2HarvesterConfig", @@ -44471,11 +47850,13 @@ }, "fleetNamespace": { "type": "string", - "description": "Cluster V2 fleet namespace\n" + "description": "Cluster V2 fleet namespace\n", + "willReplaceOnChanges": true }, "generateName": { "type": "string", - "description": "Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\\"prod-pool1\\\" will generate \\\"nc-prod-pool1-?????\\\" name computed at `name` attribute (string)\n" + "description": "Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\\"prod-pool1\\\" will generate \\\"nc-prod-pool1-?????\\\" name computed at `name` attribute (string)\n", + "willReplaceOnChanges": true }, "harvesterConfig": { "$ref": "#/types/rancher2:index/MachineConfigV2HarvesterConfig:MachineConfigV2HarvesterConfig", @@ -44517,7 +47898,7 @@ } }, "rancher2:index/multiClusterApp:MultiClusterApp": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Multi Cluster App\nconst foo = new rancher2.MultiClusterApp(\"foo\", {\n answers: [{\n values: {\n ingress_host: \"test.xip.io\",\n },\n }],\n catalogName: \"\u003ccatalog_name\u003e\",\n roles: [\"project-member\"],\n targets: [{\n projectId: \"\u003cproject_id\u003e\",\n }],\n templateName: \"\u003ctemplate_name\u003e\",\n templateVersion: \"\u003ctemplate_version\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Multi Cluster App\nfoo = rancher2.MultiClusterApp(\"foo\",\n answers=[rancher2.MultiClusterAppAnswerArgs(\n values={\n \"ingressHost\": \"test.xip.io\",\n },\n )],\n catalog_name=\"\u003ccatalog_name\u003e\",\n roles=[\"project-member\"],\n targets=[rancher2.MultiClusterAppTargetArgs(\n project_id=\"\u003cproject_id\u003e\",\n )],\n template_name=\"\u003ctemplate_name\u003e\",\n template_version=\"\u003ctemplate_version\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Multi Cluster App\n var foo = new Rancher2.MultiClusterApp(\"foo\", new Rancher2.MultiClusterAppArgs\n {\n Answers = \n {\n new Rancher2.Inputs.MultiClusterAppAnswerArgs\n {\n Values = \n {\n { \"ingressHost\", \"test.xip.io\" },\n },\n },\n },\n CatalogName = \"\u003ccatalog_name\u003e\",\n Roles = \n {\n \"project-member\",\n },\n Targets = \n {\n new Rancher2.Inputs.MultiClusterAppTargetArgs\n {\n ProjectId = \"\u003cproject_id\u003e\",\n },\n },\n TemplateName = \"\u003ctemplate_name\u003e\",\n TemplateVersion = \"\u003ctemplate_version\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewMultiClusterApp(ctx, \"foo\", \u0026rancher2.MultiClusterAppArgs{\n\t\t\tAnswers: MultiClusterAppAnswerArray{\n\t\t\t\t\u0026MultiClusterAppAnswerArgs{\n\t\t\t\t\tValues: pulumi.AnyMap{\n\t\t\t\t\t\t\"ingressHost\": pulumi.Any(\"test.xip.io\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tCatalogName: pulumi.String(\"\u003ccatalog_name\u003e\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"project-member\"),\n\t\t\t},\n\t\t\tTargets: MultiClusterAppTargetArray{\n\t\t\t\t\u0026MultiClusterAppTargetArgs{\n\t\t\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateName: pulumi.String(\"\u003ctemplate_name\u003e\"),\n\t\t\tTemplateVersion: pulumi.String(\"\u003ctemplate_version\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Multi Cluster App overriding answers\nconst foo = new rancher2.MultiClusterApp(\"foo\", {\n answers: [\n {\n values: {\n ingress_host: \"test.xip.io\",\n },\n },\n {\n projectId: \"\u003cproject_id2\u003e\",\n values: {\n ingress_host: \"test2.xip.io\",\n },\n },\n ],\n catalogName: \"\u003ccatalog_name\u003e\",\n roles: [\"project-member\"],\n targets: [\n {\n projectId: \"\u003cproject_id1\u003e\",\n },\n {\n projectId: \"\u003cproject_id2\u003e\",\n },\n ],\n templateName: \"\u003ctemplate_name\u003e\",\n templateVersion: \"\u003ctemplate_version\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Multi Cluster App overriding answers\nfoo = rancher2.MultiClusterApp(\"foo\",\n answers=[\n rancher2.MultiClusterAppAnswerArgs(\n values={\n \"ingressHost\": \"test.xip.io\",\n },\n ),\n rancher2.MultiClusterAppAnswerArgs(\n project_id=\"\u003cproject_id2\u003e\",\n values={\n \"ingressHost\": \"test2.xip.io\",\n },\n ),\n ],\n catalog_name=\"\u003ccatalog_name\u003e\",\n roles=[\"project-member\"],\n targets=[\n rancher2.MultiClusterAppTargetArgs(\n project_id=\"\u003cproject_id1\u003e\",\n ),\n rancher2.MultiClusterAppTargetArgs(\n project_id=\"\u003cproject_id2\u003e\",\n ),\n ],\n template_name=\"\u003ctemplate_name\u003e\",\n template_version=\"\u003ctemplate_version\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Multi Cluster App overriding answers\n var foo = new Rancher2.MultiClusterApp(\"foo\", new Rancher2.MultiClusterAppArgs\n {\n Answers = \n {\n new Rancher2.Inputs.MultiClusterAppAnswerArgs\n {\n Values = \n {\n { \"ingressHost\", \"test.xip.io\" },\n },\n },\n new Rancher2.Inputs.MultiClusterAppAnswerArgs\n {\n ProjectId = \"\u003cproject_id2\u003e\",\n Values = \n {\n { \"ingressHost\", \"test2.xip.io\" },\n },\n },\n },\n CatalogName = \"\u003ccatalog_name\u003e\",\n Roles = \n {\n \"project-member\",\n },\n Targets = \n {\n new Rancher2.Inputs.MultiClusterAppTargetArgs\n {\n ProjectId = \"\u003cproject_id1\u003e\",\n },\n new Rancher2.Inputs.MultiClusterAppTargetArgs\n {\n ProjectId = \"\u003cproject_id2\u003e\",\n },\n },\n TemplateName = \"\u003ctemplate_name\u003e\",\n TemplateVersion = \"\u003ctemplate_version\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewMultiClusterApp(ctx, \"foo\", \u0026rancher2.MultiClusterAppArgs{\n\t\t\tAnswers: MultiClusterAppAnswerArray{\n\t\t\t\t\u0026MultiClusterAppAnswerArgs{\n\t\t\t\t\tValues: pulumi.AnyMap{\n\t\t\t\t\t\t\"ingressHost\": pulumi.Any(\"test.xip.io\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026MultiClusterAppAnswerArgs{\n\t\t\t\t\tProjectId: pulumi.String(\"\u003cproject_id2\u003e\"),\n\t\t\t\t\tValues: pulumi.AnyMap{\n\t\t\t\t\t\t\"ingressHost\": pulumi.Any(\"test2.xip.io\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tCatalogName: pulumi.String(\"\u003ccatalog_name\u003e\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"project-member\"),\n\t\t\t},\n\t\t\tTargets: MultiClusterAppTargetArray{\n\t\t\t\t\u0026MultiClusterAppTargetArgs{\n\t\t\t\t\tProjectId: pulumi.String(\"\u003cproject_id1\u003e\"),\n\t\t\t\t},\n\t\t\t\t\u0026MultiClusterAppTargetArgs{\n\t\t\t\t\tProjectId: pulumi.String(\"\u003cproject_id2\u003e\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateName: pulumi.String(\"\u003ctemplate_name\u003e\"),\n\t\t\tTemplateVersion: pulumi.String(\"\u003ctemplate_version\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nMulti cluster app can be imported using the multi cluster app ID in the format `\u003cmulti_cluster_app_name\u003e`\n\n```sh\n $ pulumi import rancher2:index/multiClusterApp:MultiClusterApp foo \u0026lt;MULTI_CLUSTER_APP_ID\u0026gt;\n```\n\n ", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Multi Cluster App\nconst foo = new rancher2.MultiClusterApp(\"foo\", {\n answers: [{\n values: {\n ingress_host: \"test.xip.io\",\n },\n }],\n catalogName: \"\u003ccatalog_name\u003e\",\n roles: [\"project-member\"],\n targets: [{\n projectId: \"\u003cproject_id\u003e\",\n }],\n templateName: \"\u003ctemplate_name\u003e\",\n templateVersion: \"\u003ctemplate_version\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Multi Cluster App\nfoo = rancher2.MultiClusterApp(\"foo\",\n answers=[rancher2.MultiClusterAppAnswerArgs(\n values={\n \"ingressHost\": \"test.xip.io\",\n },\n )],\n catalog_name=\"\u003ccatalog_name\u003e\",\n roles=[\"project-member\"],\n targets=[rancher2.MultiClusterAppTargetArgs(\n project_id=\"\u003cproject_id\u003e\",\n )],\n template_name=\"\u003ctemplate_name\u003e\",\n template_version=\"\u003ctemplate_version\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Multi Cluster App\n var foo = new Rancher2.MultiClusterApp(\"foo\", new()\n {\n Answers = new[]\n {\n new Rancher2.Inputs.MultiClusterAppAnswerArgs\n {\n Values = \n {\n { \"ingressHost\", \"test.xip.io\" },\n },\n },\n },\n CatalogName = \"\u003ccatalog_name\u003e\",\n Roles = new[]\n {\n \"project-member\",\n },\n Targets = new[]\n {\n new Rancher2.Inputs.MultiClusterAppTargetArgs\n {\n ProjectId = \"\u003cproject_id\u003e\",\n },\n },\n TemplateName = \"\u003ctemplate_name\u003e\",\n TemplateVersion = \"\u003ctemplate_version\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewMultiClusterApp(ctx, \"foo\", \u0026rancher2.MultiClusterAppArgs{\n\t\t\tAnswers: MultiClusterAppAnswerArray{\n\t\t\t\t\u0026MultiClusterAppAnswerArgs{\n\t\t\t\t\tValues: pulumi.AnyMap{\n\t\t\t\t\t\t\"ingressHost\": pulumi.Any(\"test.xip.io\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tCatalogName: pulumi.String(\"\u003ccatalog_name\u003e\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"project-member\"),\n\t\t\t},\n\t\t\tTargets: MultiClusterAppTargetArray{\n\t\t\t\t\u0026MultiClusterAppTargetArgs{\n\t\t\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateName: pulumi.String(\"\u003ctemplate_name\u003e\"),\n\t\t\tTemplateVersion: pulumi.String(\"\u003ctemplate_version\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.MultiClusterApp;\nimport com.pulumi.rancher2.MultiClusterAppArgs;\nimport com.pulumi.rancher2.inputs.MultiClusterAppAnswerArgs;\nimport com.pulumi.rancher2.inputs.MultiClusterAppTargetArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new MultiClusterApp(\"foo\", MultiClusterAppArgs.builder() \n .answers(MultiClusterAppAnswerArgs.builder()\n .values(Map.of(\"ingressHost\", \"test.xip.io\"))\n .build())\n .catalogName(\"\u003ccatalog_name\u003e\")\n .roles(\"project-member\")\n .targets(MultiClusterAppTargetArgs.builder()\n .projectId(\"\u003cproject_id\u003e\")\n .build())\n .templateName(\"\u003ctemplate_name\u003e\")\n .templateVersion(\"\u003ctemplate_version\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Multi Cluster App\n foo:\n type: rancher2:MultiClusterApp\n properties:\n answers:\n - values:\n ingressHost: test.xip.io\n catalogName: \u003ccatalog_name\u003e\n roles:\n - project-member\n targets:\n - projectId: \u003cproject_id\u003e\n templateName: \u003ctemplate_name\u003e\n templateVersion: \u003ctemplate_version\u003e\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Multi Cluster App overriding answers\nconst foo = new rancher2.MultiClusterApp(\"foo\", {\n answers: [\n {\n values: {\n ingress_host: \"test.xip.io\",\n },\n },\n {\n projectId: \"\u003cproject_id2\u003e\",\n values: {\n ingress_host: \"test2.xip.io\",\n },\n },\n ],\n catalogName: \"\u003ccatalog_name\u003e\",\n roles: [\"project-member\"],\n targets: [\n {\n projectId: \"\u003cproject_id1\u003e\",\n },\n {\n projectId: \"\u003cproject_id2\u003e\",\n },\n ],\n templateName: \"\u003ctemplate_name\u003e\",\n templateVersion: \"\u003ctemplate_version\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Multi Cluster App overriding answers\nfoo = rancher2.MultiClusterApp(\"foo\",\n answers=[\n rancher2.MultiClusterAppAnswerArgs(\n values={\n \"ingressHost\": \"test.xip.io\",\n },\n ),\n rancher2.MultiClusterAppAnswerArgs(\n project_id=\"\u003cproject_id2\u003e\",\n values={\n \"ingressHost\": \"test2.xip.io\",\n },\n ),\n ],\n catalog_name=\"\u003ccatalog_name\u003e\",\n roles=[\"project-member\"],\n targets=[\n rancher2.MultiClusterAppTargetArgs(\n project_id=\"\u003cproject_id1\u003e\",\n ),\n rancher2.MultiClusterAppTargetArgs(\n project_id=\"\u003cproject_id2\u003e\",\n ),\n ],\n template_name=\"\u003ctemplate_name\u003e\",\n template_version=\"\u003ctemplate_version\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Multi Cluster App overriding answers\n var foo = new Rancher2.MultiClusterApp(\"foo\", new()\n {\n Answers = new[]\n {\n new Rancher2.Inputs.MultiClusterAppAnswerArgs\n {\n Values = \n {\n { \"ingressHost\", \"test.xip.io\" },\n },\n },\n new Rancher2.Inputs.MultiClusterAppAnswerArgs\n {\n ProjectId = \"\u003cproject_id2\u003e\",\n Values = \n {\n { \"ingressHost\", \"test2.xip.io\" },\n },\n },\n },\n CatalogName = \"\u003ccatalog_name\u003e\",\n Roles = new[]\n {\n \"project-member\",\n },\n Targets = new[]\n {\n new Rancher2.Inputs.MultiClusterAppTargetArgs\n {\n ProjectId = \"\u003cproject_id1\u003e\",\n },\n new Rancher2.Inputs.MultiClusterAppTargetArgs\n {\n ProjectId = \"\u003cproject_id2\u003e\",\n },\n },\n TemplateName = \"\u003ctemplate_name\u003e\",\n TemplateVersion = \"\u003ctemplate_version\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewMultiClusterApp(ctx, \"foo\", \u0026rancher2.MultiClusterAppArgs{\n\t\t\tAnswers: MultiClusterAppAnswerArray{\n\t\t\t\t\u0026MultiClusterAppAnswerArgs{\n\t\t\t\t\tValues: pulumi.AnyMap{\n\t\t\t\t\t\t\"ingressHost\": pulumi.Any(\"test.xip.io\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026MultiClusterAppAnswerArgs{\n\t\t\t\t\tProjectId: pulumi.String(\"\u003cproject_id2\u003e\"),\n\t\t\t\t\tValues: pulumi.AnyMap{\n\t\t\t\t\t\t\"ingressHost\": pulumi.Any(\"test2.xip.io\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tCatalogName: pulumi.String(\"\u003ccatalog_name\u003e\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"project-member\"),\n\t\t\t},\n\t\t\tTargets: MultiClusterAppTargetArray{\n\t\t\t\t\u0026MultiClusterAppTargetArgs{\n\t\t\t\t\tProjectId: pulumi.String(\"\u003cproject_id1\u003e\"),\n\t\t\t\t},\n\t\t\t\t\u0026MultiClusterAppTargetArgs{\n\t\t\t\t\tProjectId: pulumi.String(\"\u003cproject_id2\u003e\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tTemplateName: pulumi.String(\"\u003ctemplate_name\u003e\"),\n\t\t\tTemplateVersion: pulumi.String(\"\u003ctemplate_version\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.MultiClusterApp;\nimport com.pulumi.rancher2.MultiClusterAppArgs;\nimport com.pulumi.rancher2.inputs.MultiClusterAppAnswerArgs;\nimport com.pulumi.rancher2.inputs.MultiClusterAppTargetArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new MultiClusterApp(\"foo\", MultiClusterAppArgs.builder() \n .answers( \n MultiClusterAppAnswerArgs.builder()\n .values(Map.of(\"ingressHost\", \"test.xip.io\"))\n .build(),\n MultiClusterAppAnswerArgs.builder()\n .projectId(\"\u003cproject_id2\u003e\")\n .values(Map.of(\"ingressHost\", \"test2.xip.io\"))\n .build())\n .catalogName(\"\u003ccatalog_name\u003e\")\n .roles(\"project-member\")\n .targets( \n MultiClusterAppTargetArgs.builder()\n .projectId(\"\u003cproject_id1\u003e\")\n .build(),\n MultiClusterAppTargetArgs.builder()\n .projectId(\"\u003cproject_id2\u003e\")\n .build())\n .templateName(\"\u003ctemplate_name\u003e\")\n .templateVersion(\"\u003ctemplate_version\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Multi Cluster App overriding answers\n foo:\n type: rancher2:MultiClusterApp\n properties:\n answers:\n - values:\n ingressHost: test.xip.io\n - projectId: \u003cproject_id2\u003e\n values:\n ingressHost: test2.xip.io\n catalogName: \u003ccatalog_name\u003e\n roles:\n - project-member\n targets:\n - projectId: \u003cproject_id1\u003e\n - projectId: \u003cproject_id2\u003e\n templateName: \u003ctemplate_name\u003e\n templateVersion: \u003ctemplate_version\u003e\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nMulti cluster app can be imported using the multi cluster app ID in the format `\u003cmulti_cluster_app_name\u003e`\n\n```sh\n $ pulumi import rancher2:index/multiClusterApp:MultiClusterApp foo \u0026lt;MULTI_CLUSTER_APP_ID\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -44647,7 +48028,8 @@ }, "name": { "type": "string", - "description": "The multi cluster app name (string)\n" + "description": "The multi cluster app name (string)\n", + "willReplaceOnChanges": true }, "revisionHistoryLimit": { "type": "integer", @@ -44731,7 +48113,8 @@ }, "name": { "type": "string", - "description": "The multi cluster app name (string)\n" + "description": "The multi cluster app name (string)\n", + "willReplaceOnChanges": true }, "revisionHistoryLimit": { "type": "integer", @@ -44780,7 +48163,7 @@ } }, "rancher2:index/namespace:Namespace": { - "description": "Provides a Rancher v2 Namespace resource. This can be used to create namespaces for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Namespace\nconst foo = new rancher2.Namespace(\"foo\", {\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n description: \"foo namespace\",\n projectId: \"\u003cPROJECT_ID\u003e\",\n resourceQuota: {\n limit: {\n limitsCpu: \"100m\",\n limitsMemory: \"100Mi\",\n requestsStorage: \"1Gi\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Namespace\nfoo = rancher2.Namespace(\"foo\",\n container_resource_limit=rancher2.NamespaceContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ),\n description=\"foo namespace\",\n project_id=\"\u003cPROJECT_ID\u003e\",\n resource_quota=rancher2.NamespaceResourceQuotaArgs(\n limit=rancher2.NamespaceResourceQuotaLimitArgs(\n limits_cpu=\"100m\",\n limits_memory=\"100Mi\",\n requests_storage=\"1Gi\",\n ),\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Namespace\n var foo = new Rancher2.Namespace(\"foo\", new Rancher2.NamespaceArgs\n {\n ContainerResourceLimit = new Rancher2.Inputs.NamespaceContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n Description = \"foo namespace\",\n ProjectId = \"\u003cPROJECT_ID\u003e\",\n ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs\n {\n Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs\n {\n LimitsCpu = \"100m\",\n LimitsMemory = \"100Mi\",\n RequestsStorage = \"1Gi\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewNamespace(ctx, \"foo\", \u0026rancher2.NamespaceArgs{\n\t\t\tContainerResourceLimit: \u0026NamespaceContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"foo namespace\"),\n\t\t\tProjectId: pulumi.String(\"\u003cPROJECT_ID\u003e\"),\n\t\t\tResourceQuota: \u0026NamespaceResourceQuotaArgs{\n\t\t\t\tLimit: \u0026NamespaceResourceQuotaLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"100m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"100Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Cluster \nconst foo_custom = new rancher2.Cluster(\"foo-custom\", {\n description: \"Foo rancher2 custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n },\n});\n// Create a new rancher2 Namespace assigned to default cluster project\nconst foo = new rancher2.Namespace(\"foo\", {\n projectId: foo_custom.defaultProjectId,\n description: \"foo namespace\",\n resourceQuota: {\n limit: {\n limitsCpu: \"100m\",\n limitsMemory: \"100Mi\",\n requestsStorage: \"1Gi\",\n },\n },\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Cluster \nfoo_custom = rancher2.Cluster(\"foo-custom\",\n description=\"Foo rancher2 custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n ))\n# Create a new rancher2 Namespace assigned to default cluster project\nfoo = rancher2.Namespace(\"foo\",\n project_id=foo_custom.default_project_id,\n description=\"foo namespace\",\n resource_quota=rancher2.NamespaceResourceQuotaArgs(\n limit=rancher2.NamespaceResourceQuotaLimitArgs(\n limits_cpu=\"100m\",\n limits_memory=\"100Mi\",\n requests_storage=\"1Gi\",\n ),\n ),\n container_resource_limit=rancher2.NamespaceContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Cluster \n var foo_custom = new Rancher2.Cluster(\"foo-custom\", new Rancher2.ClusterArgs\n {\n Description = \"Foo rancher2 custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n },\n });\n // Create a new rancher2 Namespace assigned to default cluster project\n var foo = new Rancher2.Namespace(\"foo\", new Rancher2.NamespaceArgs\n {\n ProjectId = foo_custom.DefaultProjectId,\n Description = \"foo namespace\",\n ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs\n {\n Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs\n {\n LimitsCpu = \"100m\",\n LimitsMemory = \"100Mi\",\n RequestsStorage = \"1Gi\",\n },\n },\n ContainerResourceLimit = new Rancher2.Inputs.NamespaceContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo-custom\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Foo rancher2 custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNamespace(ctx, \"foo\", \u0026rancher2.NamespaceArgs{\n\t\t\tProjectId: foo_custom.DefaultProjectId,\n\t\t\tDescription: pulumi.String(\"foo namespace\"),\n\t\t\tResourceQuota: \u0026NamespaceResourceQuotaArgs{\n\t\t\t\tLimit: \u0026NamespaceResourceQuotaLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"100m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"100Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tContainerResourceLimit: \u0026NamespaceContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNamespaces can be imported using the namespace ID in the format `\u003cproject_id\u003e.\u003cnamespace_id\u003e`\n\n```sh\n $ pulumi import rancher2:index/namespace:Namespace foo \u0026lt;project_id\u0026gt;.\u0026lt;namespaces_id\u0026gt;\n```\n\n `\u003cproject_id\u003e` is in the format `\u003ccluster_id\u003e:\u003cid\u003e`, but \u003cid\u003e part is optional:\n\n- If full project_id is provided, `\u003cproject_id\u003e=\u003ccluster_id\u003e:\u003cid\u003e`, the namespace'll be assigned to corresponding cluster project once it's imported.\n\n- If `\u003cid\u003e` part is omitted `\u003cproject_id\u003e=\u003ccluster_id\u003e`, the namespace'll not be assigned to any project. To move it into a project, `\u003cproject_id\u003e=\u003ccluster_id\u003e:\u003cid\u003e` needs to be updated in tf file. Namespace movement is only supported inside same `cluster_id`. ", + "description": "Provides a Rancher v2 Namespace resource. This can be used to create namespaces for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Namespace\nconst foo = new rancher2.Namespace(\"foo\", {\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n description: \"foo namespace\",\n projectId: \"\u003cPROJECT_ID\u003e\",\n resourceQuota: {\n limit: {\n limitsCpu: \"100m\",\n limitsMemory: \"100Mi\",\n requestsStorage: \"1Gi\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Namespace\nfoo = rancher2.Namespace(\"foo\",\n container_resource_limit=rancher2.NamespaceContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ),\n description=\"foo namespace\",\n project_id=\"\u003cPROJECT_ID\u003e\",\n resource_quota=rancher2.NamespaceResourceQuotaArgs(\n limit=rancher2.NamespaceResourceQuotaLimitArgs(\n limits_cpu=\"100m\",\n limits_memory=\"100Mi\",\n requests_storage=\"1Gi\",\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Namespace\n var foo = new Rancher2.Namespace(\"foo\", new()\n {\n ContainerResourceLimit = new Rancher2.Inputs.NamespaceContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n Description = \"foo namespace\",\n ProjectId = \"\u003cPROJECT_ID\u003e\",\n ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs\n {\n Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs\n {\n LimitsCpu = \"100m\",\n LimitsMemory = \"100Mi\",\n RequestsStorage = \"1Gi\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewNamespace(ctx, \"foo\", \u0026rancher2.NamespaceArgs{\n\t\t\tContainerResourceLimit: \u0026NamespaceContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"foo namespace\"),\n\t\t\tProjectId: pulumi.String(\"\u003cPROJECT_ID\u003e\"),\n\t\t\tResourceQuota: \u0026NamespaceResourceQuotaArgs{\n\t\t\t\tLimit: \u0026NamespaceResourceQuotaLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"100m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"100Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Namespace;\nimport com.pulumi.rancher2.NamespaceArgs;\nimport com.pulumi.rancher2.inputs.NamespaceContainerResourceLimitArgs;\nimport com.pulumi.rancher2.inputs.NamespaceResourceQuotaArgs;\nimport com.pulumi.rancher2.inputs.NamespaceResourceQuotaLimitArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Namespace(\"foo\", NamespaceArgs.builder() \n .containerResourceLimit(NamespaceContainerResourceLimitArgs.builder()\n .limitsCpu(\"20m\")\n .limitsMemory(\"20Mi\")\n .requestsCpu(\"1m\")\n .requestsMemory(\"1Mi\")\n .build())\n .description(\"foo namespace\")\n .projectId(\"\u003cPROJECT_ID\u003e\")\n .resourceQuota(NamespaceResourceQuotaArgs.builder()\n .limit(NamespaceResourceQuotaLimitArgs.builder()\n .limitsCpu(\"100m\")\n .limitsMemory(\"100Mi\")\n .requestsStorage(\"1Gi\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Namespace\n foo:\n type: rancher2:Namespace\n properties:\n containerResourceLimit:\n limitsCpu: 20m\n limitsMemory: 20Mi\n requestsCpu: 1m\n requestsMemory: 1Mi\n description: foo namespace\n projectId: \u003cPROJECT_ID\u003e\n resourceQuota:\n limit:\n limitsCpu: 100m\n limitsMemory: 100Mi\n requestsStorage: 1Gi\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Cluster \nconst foo_custom = new rancher2.Cluster(\"foo-custom\", {\n description: \"Foo rancher2 custom cluster\",\n rkeConfig: {\n network: {\n plugin: \"canal\",\n },\n },\n});\n// Create a new rancher2 Namespace assigned to default cluster project\nconst foo = new rancher2.Namespace(\"foo\", {\n projectId: foo_custom.defaultProjectId,\n description: \"foo namespace\",\n resourceQuota: {\n limit: {\n limitsCpu: \"100m\",\n limitsMemory: \"100Mi\",\n requestsStorage: \"1Gi\",\n },\n },\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Cluster \nfoo_custom = rancher2.Cluster(\"foo-custom\",\n description=\"Foo rancher2 custom cluster\",\n rke_config=rancher2.ClusterRkeConfigArgs(\n network=rancher2.ClusterRkeConfigNetworkArgs(\n plugin=\"canal\",\n ),\n ))\n# Create a new rancher2 Namespace assigned to default cluster project\nfoo = rancher2.Namespace(\"foo\",\n project_id=foo_custom.default_project_id,\n description=\"foo namespace\",\n resource_quota=rancher2.NamespaceResourceQuotaArgs(\n limit=rancher2.NamespaceResourceQuotaLimitArgs(\n limits_cpu=\"100m\",\n limits_memory=\"100Mi\",\n requests_storage=\"1Gi\",\n ),\n ),\n container_resource_limit=rancher2.NamespaceContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Cluster \n var foo_custom = new Rancher2.Cluster(\"foo-custom\", new()\n {\n Description = \"Foo rancher2 custom cluster\",\n RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs\n {\n Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs\n {\n Plugin = \"canal\",\n },\n },\n });\n\n // Create a new rancher2 Namespace assigned to default cluster project\n var foo = new Rancher2.Namespace(\"foo\", new()\n {\n ProjectId = foo_custom.DefaultProjectId,\n Description = \"foo namespace\",\n ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs\n {\n Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs\n {\n LimitsCpu = \"100m\",\n LimitsMemory = \"100Mi\",\n RequestsStorage = \"1Gi\",\n },\n },\n ContainerResourceLimit = new Rancher2.Inputs.NamespaceContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewCluster(ctx, \"foo-custom\", \u0026rancher2.ClusterArgs{\n\t\t\tDescription: pulumi.String(\"Foo rancher2 custom cluster\"),\n\t\t\tRkeConfig: \u0026ClusterRkeConfigArgs{\n\t\t\t\tNetwork: \u0026ClusterRkeConfigNetworkArgs{\n\t\t\t\t\tPlugin: pulumi.String(\"canal\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNamespace(ctx, \"foo\", \u0026rancher2.NamespaceArgs{\n\t\t\tProjectId: foo_custom.DefaultProjectId,\n\t\t\tDescription: pulumi.String(\"foo namespace\"),\n\t\t\tResourceQuota: \u0026NamespaceResourceQuotaArgs{\n\t\t\t\tLimit: \u0026NamespaceResourceQuotaLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"100m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"100Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tContainerResourceLimit: \u0026NamespaceContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.Namespace;\nimport com.pulumi.rancher2.NamespaceArgs;\nimport com.pulumi.rancher2.inputs.NamespaceResourceQuotaArgs;\nimport com.pulumi.rancher2.inputs.NamespaceResourceQuotaLimitArgs;\nimport com.pulumi.rancher2.inputs.NamespaceContainerResourceLimitArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo_custom = new Cluster(\"foo-custom\", ClusterArgs.builder() \n .description(\"Foo rancher2 custom cluster\")\n .rkeConfig(ClusterRkeConfigArgs.builder()\n .network(ClusterRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .build())\n .build());\n\n var foo = new Namespace(\"foo\", NamespaceArgs.builder() \n .projectId(foo_custom.defaultProjectId())\n .description(\"foo namespace\")\n .resourceQuota(NamespaceResourceQuotaArgs.builder()\n .limit(NamespaceResourceQuotaLimitArgs.builder()\n .limitsCpu(\"100m\")\n .limitsMemory(\"100Mi\")\n .requestsStorage(\"1Gi\")\n .build())\n .build())\n .containerResourceLimit(NamespaceContainerResourceLimitArgs.builder()\n .limitsCpu(\"20m\")\n .limitsMemory(\"20Mi\")\n .requestsCpu(\"1m\")\n .requestsMemory(\"1Mi\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Cluster\n foo-custom:\n type: rancher2:Cluster\n properties:\n description: Foo rancher2 custom cluster\n rkeConfig:\n network:\n plugin: canal\n # Create a new rancher2 Namespace assigned to default cluster project\n foo:\n type: rancher2:Namespace\n properties:\n projectId: ${[\"foo-custom\"].defaultProjectId}\n description: foo namespace\n resourceQuota:\n limit:\n limitsCpu: 100m\n limitsMemory: 100Mi\n requestsStorage: 1Gi\n containerResourceLimit:\n limitsCpu: 20m\n limitsMemory: 20Mi\n requestsCpu: 1m\n requestsMemory: 1Mi\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNamespaces can be imported using the namespace ID in the format `\u003cproject_id\u003e.\u003cnamespace_id\u003e`\n\n```sh\n $ pulumi import rancher2:index/namespace:Namespace foo \u0026lt;project_id\u0026gt;.\u0026lt;namespaces_id\u0026gt;\n```\n\n `\u003cproject_id\u003e` is in the format `\u003ccluster_id\u003e:\u003cid\u003e`, but \u003cid\u003e part is optional:\n\n- If full project_id is provided, `\u003cproject_id\u003e=\u003ccluster_id\u003e:\u003cid\u003e`, the namespace'll be assigned to corresponding cluster project once it's imported.\n\n- If `\u003cid\u003e` part is omitted `\u003cproject_id\u003e=\u003ccluster_id\u003e`, the namespace'll not be assigned to any project. To move it into a project, `\u003cproject_id\u003e=\u003ccluster_id\u003e:\u003cid\u003e` needs to be updated in tf file. Namespace movement is only supported inside same `cluster_id`. ", "properties": { "annotations": { "type": "object", @@ -44853,7 +48236,8 @@ }, "name": { "type": "string", - "description": "The name of the namespace (string)\n" + "description": "The name of the namespace (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", @@ -44898,7 +48282,8 @@ }, "name": { "type": "string", - "description": "The name of the namespace (string)\n" + "description": "The name of the namespace (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", @@ -44917,7 +48302,7 @@ } }, "rancher2:index/nodeDriver:NodeDriver": { - "description": "Provides a Rancher v2 Node Driver resource. This can be used to create Node Driver for Rancher v2 RKE clusters and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Node Driver\nconst foo = new rancher2.NodeDriver(\"foo\", {\n active: true,\n builtin: false,\n checksum: \"0x0\",\n description: \"Foo description\",\n externalId: \"foo_external\",\n uiUrl: \"local://ui\",\n url: \"local://\",\n whitelistDomains: [\"*.foo.com\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Node Driver\nfoo = rancher2.NodeDriver(\"foo\",\n active=True,\n builtin=False,\n checksum=\"0x0\",\n description=\"Foo description\",\n external_id=\"foo_external\",\n ui_url=\"local://ui\",\n url=\"local://\",\n whitelist_domains=[\"*.foo.com\"])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Node Driver\n var foo = new Rancher2.NodeDriver(\"foo\", new Rancher2.NodeDriverArgs\n {\n Active = true,\n Builtin = false,\n Checksum = \"0x0\",\n Description = \"Foo description\",\n ExternalId = \"foo_external\",\n UiUrl = \"local://ui\",\n Url = \"local://\",\n WhitelistDomains = \n {\n \"*.foo.com\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewNodeDriver(ctx, \"foo\", \u0026rancher2.NodeDriverArgs{\n\t\t\tActive: pulumi.Bool(true),\n\t\t\tBuiltin: pulumi.Bool(false),\n\t\t\tChecksum: pulumi.String(\"0x0\"),\n\t\t\tDescription: pulumi.String(\"Foo description\"),\n\t\t\tExternalId: pulumi.String(\"foo_external\"),\n\t\t\tUiUrl: pulumi.String(\"local://ui\"),\n\t\t\tUrl: pulumi.String(\"local://\"),\n\t\t\tWhitelistDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"*.foo.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNode Driver can be imported using the Rancher Node Driver ID\n\n```sh\n $ pulumi import rancher2:index/nodeDriver:NodeDriver foo \u0026lt;node_driver_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Node Driver resource. This can be used to create Node Driver for Rancher v2 RKE clusters and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Node Driver\nconst foo = new rancher2.NodeDriver(\"foo\", {\n active: true,\n builtin: false,\n checksum: \"0x0\",\n description: \"Foo description\",\n externalId: \"foo_external\",\n uiUrl: \"local://ui\",\n url: \"local://\",\n whitelistDomains: [\"*.foo.com\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Node Driver\nfoo = rancher2.NodeDriver(\"foo\",\n active=True,\n builtin=False,\n checksum=\"0x0\",\n description=\"Foo description\",\n external_id=\"foo_external\",\n ui_url=\"local://ui\",\n url=\"local://\",\n whitelist_domains=[\"*.foo.com\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Node Driver\n var foo = new Rancher2.NodeDriver(\"foo\", new()\n {\n Active = true,\n Builtin = false,\n Checksum = \"0x0\",\n Description = \"Foo description\",\n ExternalId = \"foo_external\",\n UiUrl = \"local://ui\",\n Url = \"local://\",\n WhitelistDomains = new[]\n {\n \"*.foo.com\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewNodeDriver(ctx, \"foo\", \u0026rancher2.NodeDriverArgs{\n\t\t\tActive: pulumi.Bool(true),\n\t\t\tBuiltin: pulumi.Bool(false),\n\t\t\tChecksum: pulumi.String(\"0x0\"),\n\t\t\tDescription: pulumi.String(\"Foo description\"),\n\t\t\tExternalId: pulumi.String(\"foo_external\"),\n\t\t\tUiUrl: pulumi.String(\"local://ui\"),\n\t\t\tUrl: pulumi.String(\"local://\"),\n\t\t\tWhitelistDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"*.foo.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.NodeDriver;\nimport com.pulumi.rancher2.NodeDriverArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new NodeDriver(\"foo\", NodeDriverArgs.builder() \n .active(true)\n .builtin(false)\n .checksum(\"0x0\")\n .description(\"Foo description\")\n .externalId(\"foo_external\")\n .uiUrl(\"local://ui\")\n .url(\"local://\")\n .whitelistDomains(\"*.foo.com\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Node Driver\n foo:\n type: rancher2:NodeDriver\n properties:\n active: true\n builtin: false\n checksum: 0x0\n description: Foo description\n externalId: foo_external\n uiUrl: local://ui\n url: local://\n whitelistDomains:\n - '*.foo.com'\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNode Driver can be imported using the Rancher Node Driver ID\n\n```sh\n $ pulumi import rancher2:index/nodeDriver:NodeDriver foo \u0026lt;node_driver_id\u0026gt;\n```\n\n ", "properties": { "active": { "type": "boolean", @@ -45102,7 +48487,7 @@ } }, "rancher2:index/nodePool:NodePool": { - "description": "Provides a Rancher v2 Node Pool resource. This can be used to create Node Pool, using Node template for Rancher v2 RKE clusters and retrieve their information.\n\n\n## Import\n\nNode Pool can be imported using the Rancher Node Pool ID\n\n```sh\n $ pulumi import rancher2:index/nodePool:NodePool foo \u0026lt;node_pool_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Node Pool resource. This can be used to create Node Pool, using Node template for Rancher v2 RKE clusters and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Cluster;\nimport com.pulumi.rancher2.ClusterArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigArgs;\nimport com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs;\nimport com.pulumi.rancher2.CloudCredential;\nimport com.pulumi.rancher2.CloudCredentialArgs;\nimport com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;\nimport com.pulumi.rancher2.NodeTemplate;\nimport com.pulumi.rancher2.NodeTemplateArgs;\nimport com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs;\nimport com.pulumi.rancher2.NodePool;\nimport com.pulumi.rancher2.NodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo_custom = new Cluster(\"foo-custom\", ClusterArgs.builder() \n .description(\"Foo rancher2 custom cluster\")\n .kind(\"rke\")\n .rkeConfig(ClusterRkeConfigArgs.builder()\n .network(ClusterRkeConfigNetworkArgs.builder()\n .plugin(\"canal\")\n .build())\n .build())\n .build());\n\n var fooCloudCredential = new CloudCredential(\"fooCloudCredential\", CloudCredentialArgs.builder() \n .description(\"Terraform cloudCredential acceptance test\")\n .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()\n .accessKey(\"XXXXXXXXXXXXXXXXXXXX\")\n .secretKey(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\")\n .build())\n .build());\n\n var fooNodeTemplate = new NodeTemplate(\"fooNodeTemplate\", NodeTemplateArgs.builder() \n .description(\"foo test\")\n .cloudCredentialId(fooCloudCredential.id())\n .amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder()\n .ami(\"\u003cAMI_ID\u003e\")\n .region(\"\u003cREGION\u003e\")\n .securityGroups(\"\u003cAWS_SECURITY_GROUP\u003e\")\n .subnetId(\"\u003cSUBNET_ID\u003e\")\n .vpcId(\"\u003cVPC_ID\u003e\")\n .zone(\"\u003cZONE\u003e\")\n .build())\n .build());\n\n var fooNodePool = new NodePool(\"fooNodePool\", NodePoolArgs.builder() \n .clusterId(foo_custom.id())\n .hostnamePrefix(\"foo-cluster-0\")\n .nodeTemplateId(fooNodeTemplate.id())\n .quantity(1)\n .controlPlane(true)\n .etcd(true)\n .worker(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 RKE Cluster\n foo-custom:\n type: rancher2:Cluster\n properties:\n description: Foo rancher2 custom cluster\n kind: rke\n rkeConfig:\n network:\n plugin: canal\n # Create a new rancher2 Cloud Credential\n fooCloudCredential:\n type: rancher2:CloudCredential\n properties:\n description: Terraform cloudCredential acceptance test\n amazonec2CredentialConfig:\n accessKey: XXXXXXXXXXXXXXXXXXXX\n secretKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n # Create a new rancher2 Node Template\n fooNodeTemplate:\n type: rancher2:NodeTemplate\n properties:\n description: foo test\n cloudCredentialId: ${fooCloudCredential.id}\n amazonec2Config:\n ami: \u003cAMI_ID\u003e\n region: \u003cREGION\u003e\n securityGroups:\n - \u003cAWS_SECURITY_GROUP\u003e\n subnetId: \u003cSUBNET_ID\u003e\n vpcId: \u003cVPC_ID\u003e\n zone: \u003cZONE\u003e\n # Create a new rancher2 Node Pool\n fooNodePool:\n type: rancher2:NodePool\n properties:\n clusterId: ${[\"foo-custom\"].id}\n hostnamePrefix: foo-cluster-0\n nodeTemplateId: ${fooNodeTemplate.id}\n quantity: 1\n controlPlane: true\n etcd: true\n worker: true\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNode Pool can be imported using the Rancher Node Pool ID\n\n```sh\n $ pulumi import rancher2:index/nodePool:NodePool foo \u0026lt;node_pool_id\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -45184,7 +48569,8 @@ }, "clusterId": { "type": "string", - "description": "The RKE cluster id to use Node Pool (string)\n" + "description": "The RKE cluster id to use Node Pool (string)\n", + "willReplaceOnChanges": true }, "controlPlane": { "type": "boolean", @@ -45215,7 +48601,8 @@ }, "name": { "type": "string", - "description": "The name of the Node Pool (string)\n" + "description": "The name of the Node Pool (string)\n", + "willReplaceOnChanges": true }, "nodeTaints": { "type": "array", @@ -45254,7 +48641,8 @@ }, "clusterId": { "type": "string", - "description": "The RKE cluster id to use Node Pool (string)\n" + "description": "The RKE cluster id to use Node Pool (string)\n", + "willReplaceOnChanges": true }, "controlPlane": { "type": "boolean", @@ -45285,7 +48673,8 @@ }, "name": { "type": "string", - "description": "The name of the Node Pool (string)\n" + "description": "The name of the Node Pool (string)\n", + "willReplaceOnChanges": true }, "nodeTaints": { "type": "array", @@ -45311,7 +48700,7 @@ } }, "rancher2:index/nodeTemplate:NodeTemplate": { - "description": "Provides a Rancher v2 Node Template resource. This can be used to create Node Template for Rancher v2 and retrieve their information.\n\namazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, hetzner, and vsphere drivers are supported for node templates.\n\n**Note** If you are upgrading to Rancher v2.3.3, please take a look to final section\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Node Template up to Rancher 2.1.x\nconst foo = new rancher2.NodeTemplate(\"foo\", {\n amazonec2Config: {\n accessKey: \"AWS_ACCESS_KEY\",\n ami: \"\u003cAMI_ID\u003e\",\n region: \"\u003cREGION\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n securityGroups: [\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnetId: \"\u003cSUBNET_ID\u003e\",\n vpcId: \"\u003cVPC_ID\u003e\",\n zone: \"\u003cZONE\u003e\",\n },\n description: \"foo test\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Node Template up to Rancher 2.1.x\nfoo = rancher2.NodeTemplate(\"foo\",\n amazonec2_config=rancher2.NodeTemplateAmazonec2ConfigArgs(\n access_key=\"AWS_ACCESS_KEY\",\n ami=\"\u003cAMI_ID\u003e\",\n region=\"\u003cREGION\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n security_groups=[\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnet_id=\"\u003cSUBNET_ID\u003e\",\n vpc_id=\"\u003cVPC_ID\u003e\",\n zone=\"\u003cZONE\u003e\",\n ),\n description=\"foo test\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Node Template up to Rancher 2.1.x\n var foo = new Rancher2.NodeTemplate(\"foo\", new Rancher2.NodeTemplateArgs\n {\n Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs\n {\n AccessKey = \"AWS_ACCESS_KEY\",\n Ami = \"\u003cAMI_ID\u003e\",\n Region = \"\u003cREGION\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n SecurityGroups = \n {\n \"\u003cAWS_SECURITY_GROUP\u003e\",\n },\n SubnetId = \"\u003cSUBNET_ID\u003e\",\n VpcId = \"\u003cVPC_ID\u003e\",\n Zone = \"\u003cZONE\u003e\",\n },\n Description = \"foo test\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewNodeTemplate(ctx, \"foo\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tAmazonec2Config: \u0026NodeTemplateAmazonec2ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"AWS_ACCESS_KEY\"),\n\t\t\t\tAmi: pulumi.String(\"\u003cAMI_ID\u003e\"),\n\t\t\t\tRegion: pulumi.String(\"\u003cREGION\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"\u003cAWS_SECURITY_GROUP\u003e\"),\n\t\t\t\t},\n\t\t\t\tSubnetId: pulumi.String(\"\u003cSUBNET_ID\u003e\"),\n\t\t\t\tVpcId: pulumi.String(\"\u003cVPC_ID\u003e\"),\n\t\t\t\tZone: pulumi.String(\"\u003cZONE\u003e\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Node Template from Rancher 2.2.x\nconst fooCloudCredential = new rancher2.CloudCredential(\"fooCloudCredential\", {\n description: \"foo test\",\n amazonec2CredentialConfig: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n },\n});\nconst fooNodeTemplate = new rancher2.NodeTemplate(\"fooNodeTemplate\", {\n description: \"foo test\",\n cloudCredentialId: fooCloudCredential.id,\n amazonec2Config: {\n ami: \"\u003cAMI_ID\u003e\",\n region: \"\u003cREGION\u003e\",\n securityGroups: [\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnetId: \"\u003cSUBNET_ID\u003e\",\n vpcId: \"\u003cVPC_ID\u003e\",\n zone: \"\u003cZONE\u003e\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Node Template from Rancher 2.2.x\nfoo_cloud_credential = rancher2.CloudCredential(\"fooCloudCredential\",\n description=\"foo test\",\n amazonec2_credential_config=rancher2.CloudCredentialAmazonec2CredentialConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ))\nfoo_node_template = rancher2.NodeTemplate(\"fooNodeTemplate\",\n description=\"foo test\",\n cloud_credential_id=foo_cloud_credential.id,\n amazonec2_config=rancher2.NodeTemplateAmazonec2ConfigArgs(\n ami=\"\u003cAMI_ID\u003e\",\n region=\"\u003cREGION\u003e\",\n security_groups=[\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnet_id=\"\u003cSUBNET_ID\u003e\",\n vpc_id=\"\u003cVPC_ID\u003e\",\n zone=\"\u003cZONE\u003e\",\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Node Template from Rancher 2.2.x\n var fooCloudCredential = new Rancher2.CloudCredential(\"fooCloudCredential\", new Rancher2.CloudCredentialArgs\n {\n Description = \"foo test\",\n Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n },\n });\n var fooNodeTemplate = new Rancher2.NodeTemplate(\"fooNodeTemplate\", new Rancher2.NodeTemplateArgs\n {\n Description = \"foo test\",\n CloudCredentialId = fooCloudCredential.Id,\n Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs\n {\n Ami = \"\u003cAMI_ID\u003e\",\n Region = \"\u003cREGION\u003e\",\n SecurityGroups = \n {\n \"\u003cAWS_SECURITY_GROUP\u003e\",\n },\n SubnetId = \"\u003cSUBNET_ID\u003e\",\n VpcId = \"\u003cVPC_ID\u003e\",\n Zone = \"\u003cZONE\u003e\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCloudCredential, err := rancher2.NewCloudCredential(ctx, \"fooCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2CredentialConfig: \u0026CloudCredentialAmazonec2CredentialConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNodeTemplate(ctx, \"fooNodeTemplate\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tCloudCredentialId: fooCloudCredential.ID(),\n\t\t\tAmazonec2Config: \u0026NodeTemplateAmazonec2ConfigArgs{\n\t\t\t\tAmi: pulumi.String(\"\u003cAMI_ID\u003e\"),\n\t\t\t\tRegion: pulumi.String(\"\u003cREGION\u003e\"),\n\t\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"\u003cAWS_SECURITY_GROUP\u003e\"),\n\t\t\t\t},\n\t\t\t\tSubnetId: pulumi.String(\"\u003cSUBNET_ID\u003e\"),\n\t\t\t\tVpcId: pulumi.String(\"\u003cVPC_ID\u003e\"),\n\t\t\t\tZone: pulumi.String(\"\u003cZONE\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Using the Harvester Node Driver\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo-harvesterClusterV2 = rancher2.getClusterV2({\n name: \"foo-harvester\",\n});\n// Create a new Cloud Credential for an imported Harvester cluster\nconst foo_harvesterCloudCredential = new rancher2.CloudCredential(\"foo-harvesterCloudCredential\", {harvesterCredentialConfig: {\n clusterId: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.clusterV1Id),\n clusterType: \"imported\",\n kubeconfigContent: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.kubeConfig),\n}});\n// Create a new rancher2 Node Template using harvester node_driver\nconst foo_harvesterNodeTemplate = new rancher2.NodeTemplate(\"foo-harvesterNodeTemplate\", {\n cloudCredentialId: foo_harvesterCloudCredential.id,\n engineInstallUrl: \"https://releases.rancher.com/install-docker/20.10.sh\",\n harvesterConfig: {\n vmNamespace: \"default\",\n cpuCount: \"2\",\n memorySize: \"4\",\n diskSize: \"40\",\n networkName: \"harvester-public/vlan1\",\n imageName: \"harvester-public/image-57hzg\",\n sshUser: \"ubuntu\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_harvester_cluster_v2 = rancher2.get_cluster_v2(name=\"foo-harvester\")\n# Create a new Cloud Credential for an imported Harvester cluster\nfoo_harvester_cloud_credential = rancher2.CloudCredential(\"foo-harvesterCloudCredential\", harvester_credential_config=rancher2.CloudCredentialHarvesterCredentialConfigArgs(\n cluster_id=foo_harvester_cluster_v2.cluster_v1_id,\n cluster_type=\"imported\",\n kubeconfig_content=foo_harvester_cluster_v2.kube_config,\n))\n# Create a new rancher2 Node Template using harvester node_driver\nfoo_harvester_node_template = rancher2.NodeTemplate(\"foo-harvesterNodeTemplate\",\n cloud_credential_id=foo_harvester_cloud_credential.id,\n engine_install_url=\"https://releases.rancher.com/install-docker/20.10.sh\",\n harvester_config=rancher2.NodeTemplateHarvesterConfigArgs(\n vm_namespace=\"default\",\n cpu_count=\"2\",\n memory_size=\"4\",\n disk_size=\"40\",\n network_name=\"harvester-public/vlan1\",\n image_name=\"harvester-public/image-57hzg\",\n ssh_user=\"ubuntu\",\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo_harvesterClusterV2 = Output.Create(Rancher2.GetClusterV2.InvokeAsync(new Rancher2.GetClusterV2Args\n {\n Name = \"foo-harvester\",\n }));\n // Create a new Cloud Credential for an imported Harvester cluster\n var foo_harvesterCloudCredential = new Rancher2.CloudCredential(\"foo-harvesterCloudCredential\", new Rancher2.CloudCredentialArgs\n {\n HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs\n {\n ClusterId = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.ClusterV1Id),\n ClusterType = \"imported\",\n KubeconfigContent = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.KubeConfig),\n },\n });\n // Create a new rancher2 Node Template using harvester node_driver\n var foo_harvesterNodeTemplate = new Rancher2.NodeTemplate(\"foo-harvesterNodeTemplate\", new Rancher2.NodeTemplateArgs\n {\n CloudCredentialId = foo_harvesterCloudCredential.Id,\n EngineInstallUrl = \"https://releases.rancher.com/install-docker/20.10.sh\",\n HarvesterConfig = new Rancher2.Inputs.NodeTemplateHarvesterConfigArgs\n {\n VmNamespace = \"default\",\n CpuCount = \"2\",\n MemorySize = \"4\",\n DiskSize = \"40\",\n NetworkName = \"harvester-public/vlan1\",\n ImageName = \"harvester-public/image-57hzg\",\n SshUser = \"ubuntu\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoo_harvesterClusterV2, err := rancher2.LookupClusterV2(ctx, \u0026GetClusterV2Args{\n\t\t\tName: \"foo-harvester\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCloudCredential(ctx, \"foo-harvesterCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tHarvesterCredentialConfig: \u0026CloudCredentialHarvesterCredentialConfigArgs{\n\t\t\t\tClusterId: pulumi.String(foo_harvesterClusterV2.ClusterV1Id),\n\t\t\t\tClusterType: pulumi.String(\"imported\"),\n\t\t\t\tKubeconfigContent: pulumi.String(foo_harvesterClusterV2.KubeConfig),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNodeTemplate(ctx, \"foo-harvesterNodeTemplate\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tCloudCredentialId: foo_harvesterCloudCredential.ID(),\n\t\t\tEngineInstallUrl: pulumi.String(\"https://releases.rancher.com/install-docker/20.10.sh\"),\n\t\t\tHarvesterConfig: \u0026NodeTemplateHarvesterConfigArgs{\n\t\t\t\tVmNamespace: pulumi.String(\"default\"),\n\t\t\t\tCpuCount: pulumi.String(\"2\"),\n\t\t\t\tMemorySize: pulumi.String(\"4\"),\n\t\t\t\tDiskSize: pulumi.String(\"40\"),\n\t\t\t\tNetworkName: pulumi.String(\"harvester-public/vlan1\"),\n\t\t\t\tImageName: pulumi.String(\"harvester-public/image-57hzg\"),\n\t\t\t\tSshUser: pulumi.String(\"ubuntu\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% example %}}\n### Using the Hetzner Node Driver\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Node Template using hetzner node_driver\nconst hetznerNodeDriver = new rancher2.NodeDriver(\"hetznerNodeDriver\", {\n active: true,\n builtin: false,\n uiUrl: \"https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js\",\n url: \"https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz\",\n whitelistDomains: [\"storage.googleapis.com\"],\n});\nconst myHetznerNodeTemplate = new rancher2.NodeTemplate(\"myHetznerNodeTemplate\", {\n driverId: hetznerNodeDriver.id,\n hetznerConfig: {\n apiToken: \"XXXXXXXXXX\",\n image: \"ubuntu-18.04\",\n serverLocation: \"nbg1\",\n serverType: \"cx11\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Node Template using hetzner node_driver\nhetzner_node_driver = rancher2.NodeDriver(\"hetznerNodeDriver\",\n active=True,\n builtin=False,\n ui_url=\"https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js\",\n url=\"https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz\",\n whitelist_domains=[\"storage.googleapis.com\"])\nmy_hetzner_node_template = rancher2.NodeTemplate(\"myHetznerNodeTemplate\",\n driver_id=hetzner_node_driver.id,\n hetzner_config=rancher2.NodeTemplateHetznerConfigArgs(\n api_token=\"XXXXXXXXXX\",\n image=\"ubuntu-18.04\",\n server_location=\"nbg1\",\n server_type=\"cx11\",\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Node Template using hetzner node_driver\n var hetznerNodeDriver = new Rancher2.NodeDriver(\"hetznerNodeDriver\", new Rancher2.NodeDriverArgs\n {\n Active = true,\n Builtin = false,\n UiUrl = \"https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js\",\n Url = \"https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz\",\n WhitelistDomains = \n {\n \"storage.googleapis.com\",\n },\n });\n var myHetznerNodeTemplate = new Rancher2.NodeTemplate(\"myHetznerNodeTemplate\", new Rancher2.NodeTemplateArgs\n {\n DriverId = hetznerNodeDriver.Id,\n HetznerConfig = new Rancher2.Inputs.NodeTemplateHetznerConfigArgs\n {\n ApiToken = \"XXXXXXXXXX\",\n Image = \"ubuntu-18.04\",\n ServerLocation = \"nbg1\",\n ServerType = \"cx11\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\thetznerNodeDriver, err := rancher2.NewNodeDriver(ctx, \"hetznerNodeDriver\", \u0026rancher2.NodeDriverArgs{\n\t\t\tActive: pulumi.Bool(true),\n\t\t\tBuiltin: pulumi.Bool(false),\n\t\t\tUiUrl: pulumi.String(\"https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js\"),\n\t\t\tUrl: pulumi.String(\"https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz\"),\n\t\t\tWhitelistDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"storage.googleapis.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNodeTemplate(ctx, \"myHetznerNodeTemplate\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tDriverId: hetznerNodeDriver.ID(),\n\t\t\tHetznerConfig: \u0026NodeTemplateHetznerConfigArgs{\n\t\t\t\tApiToken: pulumi.String(\"XXXXXXXXXX\"),\n\t\t\t\tImage: pulumi.String(\"ubuntu-18.04\"),\n\t\t\t\tServerLocation: pulumi.String(\"nbg1\"),\n\t\t\t\tServerType: pulumi.String(\"cx11\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNode Template can be imported using the Rancher Node Template ID\n\n```sh\n $ pulumi import rancher2:index/nodeTemplate:NodeTemplate foo \u0026lt;node_template_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Node Template resource. This can be used to create Node Template for Rancher v2 and retrieve their information.\n\namazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates.\n\n**Note** If you are upgrading to Rancher v2.3.3, please take a look to final section\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Node Template up to Rancher 2.1.x\nconst foo = new rancher2.NodeTemplate(\"foo\", {\n amazonec2Config: {\n accessKey: \"AWS_ACCESS_KEY\",\n ami: \"\u003cAMI_ID\u003e\",\n region: \"\u003cREGION\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n securityGroups: [\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnetId: \"\u003cSUBNET_ID\u003e\",\n vpcId: \"\u003cVPC_ID\u003e\",\n zone: \"\u003cZONE\u003e\",\n },\n description: \"foo test\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Node Template up to Rancher 2.1.x\nfoo = rancher2.NodeTemplate(\"foo\",\n amazonec2_config=rancher2.NodeTemplateAmazonec2ConfigArgs(\n access_key=\"AWS_ACCESS_KEY\",\n ami=\"\u003cAMI_ID\u003e\",\n region=\"\u003cREGION\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n security_groups=[\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnet_id=\"\u003cSUBNET_ID\u003e\",\n vpc_id=\"\u003cVPC_ID\u003e\",\n zone=\"\u003cZONE\u003e\",\n ),\n description=\"foo test\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Node Template up to Rancher 2.1.x\n var foo = new Rancher2.NodeTemplate(\"foo\", new()\n {\n Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs\n {\n AccessKey = \"AWS_ACCESS_KEY\",\n Ami = \"\u003cAMI_ID\u003e\",\n Region = \"\u003cREGION\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n SecurityGroups = new[]\n {\n \"\u003cAWS_SECURITY_GROUP\u003e\",\n },\n SubnetId = \"\u003cSUBNET_ID\u003e\",\n VpcId = \"\u003cVPC_ID\u003e\",\n Zone = \"\u003cZONE\u003e\",\n },\n Description = \"foo test\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewNodeTemplate(ctx, \"foo\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tAmazonec2Config: \u0026NodeTemplateAmazonec2ConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"AWS_ACCESS_KEY\"),\n\t\t\t\tAmi: pulumi.String(\"\u003cAMI_ID\u003e\"),\n\t\t\t\tRegion: pulumi.String(\"\u003cREGION\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"\u003cAWS_SECURITY_GROUP\u003e\"),\n\t\t\t\t},\n\t\t\t\tSubnetId: pulumi.String(\"\u003cSUBNET_ID\u003e\"),\n\t\t\t\tVpcId: pulumi.String(\"\u003cVPC_ID\u003e\"),\n\t\t\t\tZone: pulumi.String(\"\u003cZONE\u003e\"),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.NodeTemplate;\nimport com.pulumi.rancher2.NodeTemplateArgs;\nimport com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new NodeTemplate(\"foo\", NodeTemplateArgs.builder() \n .amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder()\n .accessKey(\"AWS_ACCESS_KEY\")\n .ami(\"\u003cAMI_ID\u003e\")\n .region(\"\u003cREGION\u003e\")\n .secretKey(\"\u003cAWS_SECRET_KEY\u003e\")\n .securityGroups(\"\u003cAWS_SECURITY_GROUP\u003e\")\n .subnetId(\"\u003cSUBNET_ID\u003e\")\n .vpcId(\"\u003cVPC_ID\u003e\")\n .zone(\"\u003cZONE\u003e\")\n .build())\n .description(\"foo test\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Node Template up to Rancher 2.1.x\n foo:\n type: rancher2:NodeTemplate\n properties:\n amazonec2Config:\n accessKey: AWS_ACCESS_KEY\n ami: \u003cAMI_ID\u003e\n region: \u003cREGION\u003e\n secretKey: \u003cAWS_SECRET_KEY\u003e\n securityGroups:\n - \u003cAWS_SECURITY_GROUP\u003e\n subnetId: \u003cSUBNET_ID\u003e\n vpcId: \u003cVPC_ID\u003e\n zone: \u003cZONE\u003e\n description: foo test\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Node Template from Rancher 2.2.x\nconst fooCloudCredential = new rancher2.CloudCredential(\"fooCloudCredential\", {\n description: \"foo test\",\n amazonec2CredentialConfig: {\n accessKey: \"\u003cAWS_ACCESS_KEY\u003e\",\n secretKey: \"\u003cAWS_SECRET_KEY\u003e\",\n },\n});\nconst fooNodeTemplate = new rancher2.NodeTemplate(\"fooNodeTemplate\", {\n description: \"foo test\",\n cloudCredentialId: fooCloudCredential.id,\n amazonec2Config: {\n ami: \"\u003cAMI_ID\u003e\",\n region: \"\u003cREGION\u003e\",\n securityGroups: [\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnetId: \"\u003cSUBNET_ID\u003e\",\n vpcId: \"\u003cVPC_ID\u003e\",\n zone: \"\u003cZONE\u003e\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Node Template from Rancher 2.2.x\nfoo_cloud_credential = rancher2.CloudCredential(\"fooCloudCredential\",\n description=\"foo test\",\n amazonec2_credential_config=rancher2.CloudCredentialAmazonec2CredentialConfigArgs(\n access_key=\"\u003cAWS_ACCESS_KEY\u003e\",\n secret_key=\"\u003cAWS_SECRET_KEY\u003e\",\n ))\nfoo_node_template = rancher2.NodeTemplate(\"fooNodeTemplate\",\n description=\"foo test\",\n cloud_credential_id=foo_cloud_credential.id,\n amazonec2_config=rancher2.NodeTemplateAmazonec2ConfigArgs(\n ami=\"\u003cAMI_ID\u003e\",\n region=\"\u003cREGION\u003e\",\n security_groups=[\"\u003cAWS_SECURITY_GROUP\u003e\"],\n subnet_id=\"\u003cSUBNET_ID\u003e\",\n vpc_id=\"\u003cVPC_ID\u003e\",\n zone=\"\u003cZONE\u003e\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Node Template from Rancher 2.2.x\n var fooCloudCredential = new Rancher2.CloudCredential(\"fooCloudCredential\", new()\n {\n Description = \"foo test\",\n Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs\n {\n AccessKey = \"\u003cAWS_ACCESS_KEY\u003e\",\n SecretKey = \"\u003cAWS_SECRET_KEY\u003e\",\n },\n });\n\n var fooNodeTemplate = new Rancher2.NodeTemplate(\"fooNodeTemplate\", new()\n {\n Description = \"foo test\",\n CloudCredentialId = fooCloudCredential.Id,\n Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs\n {\n Ami = \"\u003cAMI_ID\u003e\",\n Region = \"\u003cREGION\u003e\",\n SecurityGroups = new[]\n {\n \"\u003cAWS_SECURITY_GROUP\u003e\",\n },\n SubnetId = \"\u003cSUBNET_ID\u003e\",\n VpcId = \"\u003cVPC_ID\u003e\",\n Zone = \"\u003cZONE\u003e\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooCloudCredential, err := rancher2.NewCloudCredential(ctx, \"fooCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tAmazonec2CredentialConfig: \u0026CloudCredentialAmazonec2CredentialConfigArgs{\n\t\t\t\tAccessKey: pulumi.String(\"\u003cAWS_ACCESS_KEY\u003e\"),\n\t\t\t\tSecretKey: pulumi.String(\"\u003cAWS_SECRET_KEY\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNodeTemplate(ctx, \"fooNodeTemplate\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tDescription: pulumi.String(\"foo test\"),\n\t\t\tCloudCredentialId: fooCloudCredential.ID(),\n\t\t\tAmazonec2Config: \u0026NodeTemplateAmazonec2ConfigArgs{\n\t\t\t\tAmi: pulumi.String(\"\u003cAMI_ID\u003e\"),\n\t\t\t\tRegion: pulumi.String(\"\u003cREGION\u003e\"),\n\t\t\t\tSecurityGroups: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"\u003cAWS_SECURITY_GROUP\u003e\"),\n\t\t\t\t},\n\t\t\t\tSubnetId: pulumi.String(\"\u003cSUBNET_ID\u003e\"),\n\t\t\t\tVpcId: pulumi.String(\"\u003cVPC_ID\u003e\"),\n\t\t\t\tZone: pulumi.String(\"\u003cZONE\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.CloudCredential;\nimport com.pulumi.rancher2.CloudCredentialArgs;\nimport com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;\nimport com.pulumi.rancher2.NodeTemplate;\nimport com.pulumi.rancher2.NodeTemplateArgs;\nimport com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooCloudCredential = new CloudCredential(\"fooCloudCredential\", CloudCredentialArgs.builder() \n .description(\"foo test\")\n .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()\n .accessKey(\"\u003cAWS_ACCESS_KEY\u003e\")\n .secretKey(\"\u003cAWS_SECRET_KEY\u003e\")\n .build())\n .build());\n\n var fooNodeTemplate = new NodeTemplate(\"fooNodeTemplate\", NodeTemplateArgs.builder() \n .description(\"foo test\")\n .cloudCredentialId(fooCloudCredential.id())\n .amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder()\n .ami(\"\u003cAMI_ID\u003e\")\n .region(\"\u003cREGION\u003e\")\n .securityGroups(\"\u003cAWS_SECURITY_GROUP\u003e\")\n .subnetId(\"\u003cSUBNET_ID\u003e\")\n .vpcId(\"\u003cVPC_ID\u003e\")\n .zone(\"\u003cZONE\u003e\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Node Template from Rancher 2.2.x\n fooCloudCredential:\n type: rancher2:CloudCredential\n properties:\n description: foo test\n amazonec2CredentialConfig:\n accessKey: \u003cAWS_ACCESS_KEY\u003e\n secretKey: \u003cAWS_SECRET_KEY\u003e\n fooNodeTemplate:\n type: rancher2:NodeTemplate\n properties:\n description: foo test\n cloudCredentialId: ${fooCloudCredential.id}\n amazonec2Config:\n ami: \u003cAMI_ID\u003e\n region: \u003cREGION\u003e\n securityGroups:\n - \u003cAWS_SECURITY_GROUP\u003e\n subnetId: \u003cSUBNET_ID\u003e\n vpcId: \u003cVPC_ID\u003e\n zone: \u003cZONE\u003e\n```\n{{% /example %}}\n{{% example %}}\n### Using the Harvester Node Driver\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo-harvesterClusterV2 = rancher2.getClusterV2({\n name: \"foo-harvester\",\n});\n// Create a new Cloud Credential for an imported Harvester cluster\nconst foo_harvesterCloudCredential = new rancher2.CloudCredential(\"foo-harvesterCloudCredential\", {harvesterCredentialConfig: {\n clusterId: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.clusterV1Id),\n clusterType: \"imported\",\n kubeconfigContent: foo_harvesterClusterV2.then(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.kubeConfig),\n}});\n// Create a new rancher2 Node Template using harvester node_driver\nconst foo_harvesterNodeTemplate = new rancher2.NodeTemplate(\"foo-harvesterNodeTemplate\", {\n cloudCredentialId: foo_harvesterCloudCredential.id,\n engineInstallUrl: \"https://releases.rancher.com/install-docker/20.10.sh\",\n harvesterConfig: {\n vmNamespace: \"default\",\n cpuCount: \"2\",\n memorySize: \"4\",\n diskSize: \"40\",\n networkName: \"harvester-public/vlan1\",\n imageName: \"harvester-public/image-57hzg\",\n sshUser: \"ubuntu\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_harvester_cluster_v2 = rancher2.get_cluster_v2(name=\"foo-harvester\")\n# Create a new Cloud Credential for an imported Harvester cluster\nfoo_harvester_cloud_credential = rancher2.CloudCredential(\"foo-harvesterCloudCredential\", harvester_credential_config=rancher2.CloudCredentialHarvesterCredentialConfigArgs(\n cluster_id=foo_harvester_cluster_v2.cluster_v1_id,\n cluster_type=\"imported\",\n kubeconfig_content=foo_harvester_cluster_v2.kube_config,\n))\n# Create a new rancher2 Node Template using harvester node_driver\nfoo_harvester_node_template = rancher2.NodeTemplate(\"foo-harvesterNodeTemplate\",\n cloud_credential_id=foo_harvester_cloud_credential.id,\n engine_install_url=\"https://releases.rancher.com/install-docker/20.10.sh\",\n harvester_config=rancher2.NodeTemplateHarvesterConfigArgs(\n vm_namespace=\"default\",\n cpu_count=\"2\",\n memory_size=\"4\",\n disk_size=\"40\",\n network_name=\"harvester-public/vlan1\",\n image_name=\"harvester-public/image-57hzg\",\n ssh_user=\"ubuntu\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo_harvesterClusterV2 = Rancher2.GetClusterV2.Invoke(new()\n {\n Name = \"foo-harvester\",\n });\n\n // Create a new Cloud Credential for an imported Harvester cluster\n var foo_harvesterCloudCredential = new Rancher2.CloudCredential(\"foo-harvesterCloudCredential\", new()\n {\n HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs\n {\n ClusterId = foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result).Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result.ClusterV1Id)),\n ClusterType = \"imported\",\n KubeconfigContent = foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result).Apply(foo_harvesterClusterV2 =\u003e foo_harvesterClusterV2.Apply(getClusterV2Result =\u003e getClusterV2Result.KubeConfig)),\n },\n });\n\n // Create a new rancher2 Node Template using harvester node_driver\n var foo_harvesterNodeTemplate = new Rancher2.NodeTemplate(\"foo-harvesterNodeTemplate\", new()\n {\n CloudCredentialId = foo_harvesterCloudCredential.Id,\n EngineInstallUrl = \"https://releases.rancher.com/install-docker/20.10.sh\",\n HarvesterConfig = new Rancher2.Inputs.NodeTemplateHarvesterConfigArgs\n {\n VmNamespace = \"default\",\n CpuCount = \"2\",\n MemorySize = \"4\",\n DiskSize = \"40\",\n NetworkName = \"harvester-public/vlan1\",\n ImageName = \"harvester-public/image-57hzg\",\n SshUser = \"ubuntu\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoo_harvesterClusterV2, err := rancher2.LookupClusterV2(ctx, \u0026GetClusterV2Args{\n\t\t\tName: \"foo-harvester\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewCloudCredential(ctx, \"foo-harvesterCloudCredential\", \u0026rancher2.CloudCredentialArgs{\n\t\t\tHarvesterCredentialConfig: \u0026CloudCredentialHarvesterCredentialConfigArgs{\n\t\t\t\tClusterId: pulumi.String(foo_harvesterClusterV2.ClusterV1Id),\n\t\t\t\tClusterType: pulumi.String(\"imported\"),\n\t\t\t\tKubeconfigContent: pulumi.String(foo_harvesterClusterV2.KubeConfig),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNodeTemplate(ctx, \"foo-harvesterNodeTemplate\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tCloudCredentialId: foo_harvesterCloudCredential.ID(),\n\t\t\tEngineInstallUrl: pulumi.String(\"https://releases.rancher.com/install-docker/20.10.sh\"),\n\t\t\tHarvesterConfig: \u0026NodeTemplateHarvesterConfigArgs{\n\t\t\t\tVmNamespace: pulumi.String(\"default\"),\n\t\t\t\tCpuCount: pulumi.String(\"2\"),\n\t\t\t\tMemorySize: pulumi.String(\"4\"),\n\t\t\t\tDiskSize: pulumi.String(\"40\"),\n\t\t\t\tNetworkName: pulumi.String(\"harvester-public/vlan1\"),\n\t\t\t\tImageName: pulumi.String(\"harvester-public/image-57hzg\"),\n\t\t\t\tSshUser: pulumi.String(\"ubuntu\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterV2Args;\nimport com.pulumi.rancher2.CloudCredential;\nimport com.pulumi.rancher2.CloudCredentialArgs;\nimport com.pulumi.rancher2.inputs.CloudCredentialHarvesterCredentialConfigArgs;\nimport com.pulumi.rancher2.NodeTemplate;\nimport com.pulumi.rancher2.NodeTemplateArgs;\nimport com.pulumi.rancher2.inputs.NodeTemplateHarvesterConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo-harvesterClusterV2 = Rancher2Functions.getClusterV2(GetClusterV2Args.builder()\n .name(\"foo-harvester\")\n .build());\n\n var foo_harvesterCloudCredential = new CloudCredential(\"foo-harvesterCloudCredential\", CloudCredentialArgs.builder() \n .harvesterCredentialConfig(CloudCredentialHarvesterCredentialConfigArgs.builder()\n .clusterId(foo_harvesterClusterV2.clusterV1Id())\n .clusterType(\"imported\")\n .kubeconfigContent(foo_harvesterClusterV2.kubeConfig())\n .build())\n .build());\n\n var foo_harvesterNodeTemplate = new NodeTemplate(\"foo-harvesterNodeTemplate\", NodeTemplateArgs.builder() \n .cloudCredentialId(foo_harvesterCloudCredential.id())\n .engineInstallUrl(\"https://releases.rancher.com/install-docker/20.10.sh\")\n .harvesterConfig(NodeTemplateHarvesterConfigArgs.builder()\n .vmNamespace(\"default\")\n .cpuCount(\"2\")\n .memorySize(\"4\")\n .diskSize(\"40\")\n .networkName(\"harvester-public/vlan1\")\n .imageName(\"harvester-public/image-57hzg\")\n .sshUser(\"ubuntu\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Cloud Credential for an imported Harvester cluster\n foo-harvesterCloudCredential:\n type: rancher2:CloudCredential\n properties:\n harvesterCredentialConfig:\n clusterId: ${[\"foo-harvesterClusterV2\"].clusterV1Id}\n clusterType: imported\n kubeconfigContent: ${[\"foo-harvesterClusterV2\"].kubeConfig}\n # Create a new rancher2 Node Template using harvester node_driver\n foo-harvesterNodeTemplate:\n type: rancher2:NodeTemplate\n properties:\n cloudCredentialId: ${[\"foo-harvesterCloudCredential\"].id}\n engineInstallUrl: https://releases.rancher.com/install-docker/20.10.sh\n harvesterConfig:\n vmNamespace: default\n cpuCount: '2'\n memorySize: '4'\n diskSize: '40'\n networkName: harvester-public/vlan1\n imageName: harvester-public/image-57hzg\n sshUser: ubuntu\nvariables:\n foo-harvesterClusterV2:\n fn::invoke:\n Function: rancher2:getClusterV2\n Arguments:\n name: foo-harvester\n```\n{{% /example %}}\n{{% example %}}\n### Using the Hetzner Node Driver\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Node Template using hetzner node_driver\nconst hetznerNodeDriver = new rancher2.NodeDriver(\"hetznerNodeDriver\", {\n active: true,\n builtin: false,\n uiUrl: \"https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js\",\n url: \"https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz\",\n whitelistDomains: [\"storage.googleapis.com\"],\n});\nconst myHetznerNodeTemplate = new rancher2.NodeTemplate(\"myHetznerNodeTemplate\", {\n driverId: hetznerNodeDriver.id,\n hetznerConfig: {\n apiToken: \"XXXXXXXXXX\",\n image: \"ubuntu-18.04\",\n serverLocation: \"nbg1\",\n serverType: \"cx11\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Node Template using hetzner node_driver\nhetzner_node_driver = rancher2.NodeDriver(\"hetznerNodeDriver\",\n active=True,\n builtin=False,\n ui_url=\"https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js\",\n url=\"https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz\",\n whitelist_domains=[\"storage.googleapis.com\"])\nmy_hetzner_node_template = rancher2.NodeTemplate(\"myHetznerNodeTemplate\",\n driver_id=hetzner_node_driver.id,\n hetzner_config=rancher2.NodeTemplateHetznerConfigArgs(\n api_token=\"XXXXXXXXXX\",\n image=\"ubuntu-18.04\",\n server_location=\"nbg1\",\n server_type=\"cx11\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Node Template using hetzner node_driver\n var hetznerNodeDriver = new Rancher2.NodeDriver(\"hetznerNodeDriver\", new()\n {\n Active = true,\n Builtin = false,\n UiUrl = \"https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js\",\n Url = \"https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz\",\n WhitelistDomains = new[]\n {\n \"storage.googleapis.com\",\n },\n });\n\n var myHetznerNodeTemplate = new Rancher2.NodeTemplate(\"myHetznerNodeTemplate\", new()\n {\n DriverId = hetznerNodeDriver.Id,\n HetznerConfig = new Rancher2.Inputs.NodeTemplateHetznerConfigArgs\n {\n ApiToken = \"XXXXXXXXXX\",\n Image = \"ubuntu-18.04\",\n ServerLocation = \"nbg1\",\n ServerType = \"cx11\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\thetznerNodeDriver, err := rancher2.NewNodeDriver(ctx, \"hetznerNodeDriver\", \u0026rancher2.NodeDriverArgs{\n\t\t\tActive: pulumi.Bool(true),\n\t\t\tBuiltin: pulumi.Bool(false),\n\t\t\tUiUrl: pulumi.String(\"https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js\"),\n\t\t\tUrl: pulumi.String(\"https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz\"),\n\t\t\tWhitelistDomains: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"storage.googleapis.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewNodeTemplate(ctx, \"myHetznerNodeTemplate\", \u0026rancher2.NodeTemplateArgs{\n\t\t\tDriverId: hetznerNodeDriver.ID(),\n\t\t\tHetznerConfig: \u0026NodeTemplateHetznerConfigArgs{\n\t\t\t\tApiToken: pulumi.String(\"XXXXXXXXXX\"),\n\t\t\t\tImage: pulumi.String(\"ubuntu-18.04\"),\n\t\t\t\tServerLocation: pulumi.String(\"nbg1\"),\n\t\t\t\tServerType: pulumi.String(\"cx11\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.NodeDriver;\nimport com.pulumi.rancher2.NodeDriverArgs;\nimport com.pulumi.rancher2.NodeTemplate;\nimport com.pulumi.rancher2.NodeTemplateArgs;\nimport com.pulumi.rancher2.inputs.NodeTemplateHetznerConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var hetznerNodeDriver = new NodeDriver(\"hetznerNodeDriver\", NodeDriverArgs.builder() \n .active(true)\n .builtin(false)\n .uiUrl(\"https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js\")\n .url(\"https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz\")\n .whitelistDomains(\"storage.googleapis.com\")\n .build());\n\n var myHetznerNodeTemplate = new NodeTemplate(\"myHetznerNodeTemplate\", NodeTemplateArgs.builder() \n .driverId(hetznerNodeDriver.id())\n .hetznerConfig(NodeTemplateHetznerConfigArgs.builder()\n .apiToken(\"XXXXXXXXXX\")\n .image(\"ubuntu-18.04\")\n .serverLocation(\"nbg1\")\n .serverType(\"cx11\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Node Template using hetzner node_driver\n hetznerNodeDriver:\n type: rancher2:NodeDriver\n properties:\n active: true\n builtin: false\n uiUrl: https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js\n url: https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz\n whitelistDomains:\n - storage.googleapis.com\n myHetznerNodeTemplate:\n type: rancher2:NodeTemplate\n properties:\n driverId: ${hetznerNodeDriver.id}\n hetznerConfig:\n apiToken: XXXXXXXXXX\n image: ubuntu-18.04\n serverLocation: nbg1\n serverType: cx11\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNode Template can be imported using the Rancher Node Template ID\n\n```sh\n $ pulumi import rancher2:index/nodeTemplate:NodeTemplate foo \u0026lt;node_template_id\u0026gt;\n```\n\n ", "properties": { "amazonec2Config": { "$ref": "#/types/rancher2:index/NodeTemplateAmazonec2Config:NodeTemplateAmazonec2Config", @@ -45326,11 +48715,13 @@ }, "authCertificateAuthority": { "type": "string", - "description": "Auth certificate authority for the Node Template (string)\n" + "description": "Auth certificate authority for the Node Template (string)\n", + "secret": true }, "authKey": { "type": "string", - "description": "Auth key for the Node Template (string)\n" + "description": "Auth key for the Node Template (string)\n", + "secret": true }, "azureConfig": { "$ref": "#/types/rancher2:index/NodeTemplateAzureConfig:NodeTemplateAzureConfig", @@ -45437,6 +48828,10 @@ "$ref": "#/types/rancher2:index/NodeTemplateOpenstackConfig:NodeTemplateOpenstackConfig", "description": "Openstack config for the Node Template (list maxitems:1)\n" }, + "outscaleConfig": { + "$ref": "#/types/rancher2:index/NodeTemplateOutscaleConfig:NodeTemplateOutscaleConfig", + "description": "Outscale config for the Node Template (list maxitems:1)\n" + }, "useInternalIpAddress": { "type": "boolean", "description": "Engine storage driver for the node template (bool)\n" @@ -45468,11 +48863,13 @@ }, "authCertificateAuthority": { "type": "string", - "description": "Auth certificate authority for the Node Template (string)\n" + "description": "Auth certificate authority for the Node Template (string)\n", + "secret": true }, "authKey": { "type": "string", - "description": "Auth key for the Node Template (string)\n" + "description": "Auth key for the Node Template (string)\n", + "secret": true }, "azureConfig": { "$ref": "#/types/rancher2:index/NodeTemplateAzureConfig:NodeTemplateAzureConfig", @@ -45575,6 +48972,10 @@ "$ref": "#/types/rancher2:index/NodeTemplateOpenstackConfig:NodeTemplateOpenstackConfig", "description": "Openstack config for the Node Template (list maxitems:1)\n" }, + "outscaleConfig": { + "$ref": "#/types/rancher2:index/NodeTemplateOutscaleConfig:NodeTemplateOutscaleConfig", + "description": "Outscale config for the Node Template (list maxitems:1)\n" + }, "useInternalIpAddress": { "type": "boolean", "description": "Engine storage driver for the node template (bool)\n" @@ -45600,11 +49001,13 @@ }, "authCertificateAuthority": { "type": "string", - "description": "Auth certificate authority for the Node Template (string)\n" + "description": "Auth certificate authority for the Node Template (string)\n", + "secret": true }, "authKey": { "type": "string", - "description": "Auth key for the Node Template (string)\n" + "description": "Auth key for the Node Template (string)\n", + "secret": true }, "azureConfig": { "$ref": "#/types/rancher2:index/NodeTemplateAzureConfig:NodeTemplateAzureConfig", @@ -45711,6 +49114,10 @@ "$ref": "#/types/rancher2:index/NodeTemplateOpenstackConfig:NodeTemplateOpenstackConfig", "description": "Openstack config for the Node Template (list maxitems:1)\n" }, + "outscaleConfig": { + "$ref": "#/types/rancher2:index/NodeTemplateOutscaleConfig:NodeTemplateOutscaleConfig", + "description": "Outscale config for the Node Template (list maxitems:1)\n" + }, "useInternalIpAddress": { "type": "boolean", "description": "Engine storage driver for the node template (bool)\n" @@ -45724,7 +49131,7 @@ } }, "rancher2:index/notifier:Notifier": { - "description": "Provides a Rancher v2 Notifier resource. This can be used to create notifiers for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Notifier\nconst foo = new rancher2.Notifier(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform notifier acceptance test\",\n pagerdutyConfig: {\n proxyUrl: \"http://proxy.test.io\",\n serviceKey: \"XXXXXXXX\",\n },\n sendResolved: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Notifier\nfoo = rancher2.Notifier(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform notifier acceptance test\",\n pagerduty_config=rancher2.NotifierPagerdutyConfigArgs(\n proxy_url=\"http://proxy.test.io\",\n service_key=\"XXXXXXXX\",\n ),\n send_resolved=True)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Notifier\n var foo = new Rancher2.Notifier(\"foo\", new Rancher2.NotifierArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform notifier acceptance test\",\n PagerdutyConfig = new Rancher2.Inputs.NotifierPagerdutyConfigArgs\n {\n ProxyUrl = \"http://proxy.test.io\",\n ServiceKey = \"XXXXXXXX\",\n },\n SendResolved = true,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewNotifier(ctx, \"foo\", \u0026rancher2.NotifierArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform notifier acceptance test\"),\n\t\t\tPagerdutyConfig: \u0026NotifierPagerdutyConfigArgs{\n\t\t\t\tProxyUrl: pulumi.String(\"http://proxy.test.io\"),\n\t\t\t\tServiceKey: pulumi.String(\"XXXXXXXX\"),\n\t\t\t},\n\t\t\tSendResolved: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNotifiers can be imported using the Rancher nNtifier ID\n\n```sh\n $ pulumi import rancher2:index/notifier:Notifier foo \u0026lt;notifier_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Notifier resource. This can be used to create notifiers for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Notifier\nconst foo = new rancher2.Notifier(\"foo\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform notifier acceptance test\",\n pagerdutyConfig: {\n proxyUrl: \"http://proxy.test.io\",\n serviceKey: \"XXXXXXXX\",\n },\n sendResolved: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Notifier\nfoo = rancher2.Notifier(\"foo\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform notifier acceptance test\",\n pagerduty_config=rancher2.NotifierPagerdutyConfigArgs(\n proxy_url=\"http://proxy.test.io\",\n service_key=\"XXXXXXXX\",\n ),\n send_resolved=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Notifier\n var foo = new Rancher2.Notifier(\"foo\", new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform notifier acceptance test\",\n PagerdutyConfig = new Rancher2.Inputs.NotifierPagerdutyConfigArgs\n {\n ProxyUrl = \"http://proxy.test.io\",\n ServiceKey = \"XXXXXXXX\",\n },\n SendResolved = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewNotifier(ctx, \"foo\", \u0026rancher2.NotifierArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform notifier acceptance test\"),\n\t\t\tPagerdutyConfig: \u0026NotifierPagerdutyConfigArgs{\n\t\t\t\tProxyUrl: pulumi.String(\"http://proxy.test.io\"),\n\t\t\t\tServiceKey: pulumi.String(\"XXXXXXXX\"),\n\t\t\t},\n\t\t\tSendResolved: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Notifier;\nimport com.pulumi.rancher2.NotifierArgs;\nimport com.pulumi.rancher2.inputs.NotifierPagerdutyConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Notifier(\"foo\", NotifierArgs.builder() \n .clusterId(\"\u003ccluster_id\u003e\")\n .description(\"Terraform notifier acceptance test\")\n .pagerdutyConfig(NotifierPagerdutyConfigArgs.builder()\n .proxyUrl(\"http://proxy.test.io\")\n .serviceKey(\"XXXXXXXX\")\n .build())\n .sendResolved(\"true\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Notifier\n foo:\n type: rancher2:Notifier\n properties:\n clusterId: \u003ccluster_id\u003e\n description: Terraform notifier acceptance test\n pagerdutyConfig:\n proxyUrl: http://proxy.test.io\n serviceKey: XXXXXXXX\n sendResolved: 'true'\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNotifiers can be imported using the Rancher nNtifier ID\n\n```sh\n $ pulumi import rancher2:index/notifier:Notifier foo \u0026lt;notifier_id\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -45801,7 +49208,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id where create notifier (string)\n" + "description": "The cluster id where create notifier (string)\n", + "willReplaceOnChanges": true }, "description": { "type": "string", @@ -45866,7 +49274,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id where create notifier (string)\n" + "description": "The cluster id where create notifier (string)\n", + "willReplaceOnChanges": true }, "description": { "type": "string", @@ -45920,7 +49329,7 @@ } }, "rancher2:index/podSecurityPolicyTemplate:PodSecurityPolicyTemplate": { - "description": "Provides a Rancher v2 PodSecurityPolicyTemplate resource. This can be used to create PodSecurityPolicyTemplates for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 PodSecurityPolicyTemplate\nconst foo = new rancher2.PodSecurityPolicyTemplate(\"foo\", {\n allowPrivilegeEscalation: false,\n allowedCsiDrivers: [\n {\n name: \"something\",\n },\n {\n name: \"something-else\",\n },\n ],\n allowedFlexVolumes: [\n {\n driver: \"something\",\n },\n {\n driver: \"something-else\",\n },\n ],\n allowedHostPaths: [\n {\n pathPrefix: \"/\",\n readOnly: true,\n },\n {\n pathPrefix: \"//\",\n readOnly: false,\n },\n ],\n allowedProcMountTypes: [\"Default\"],\n defaultAllowPrivilegeEscalation: false,\n description: \"Terraform PodSecurityPolicyTemplate acceptance test - update\",\n fsGroup: {\n ranges: [\n {\n max: 100,\n min: 0,\n },\n {\n max: 100,\n min: 0,\n },\n ],\n rule: \"MustRunAs\",\n },\n hostIpc: false,\n hostNetwork: false,\n hostPid: false,\n hostPorts: [\n {\n max: 65535,\n min: 0,\n },\n {\n max: 8080,\n min: 1024,\n },\n ],\n privileged: false,\n readOnlyRootFilesystem: false,\n requiredDropCapabilities: [\"something\"],\n runAsGroup: {\n ranges: [\n {\n max: 100,\n min: 1,\n },\n {\n max: 1024,\n min: 2,\n },\n ],\n rule: \"MustRunAs\",\n },\n runAsUser: {\n ranges: [\n {\n max: 100,\n min: 1,\n },\n {\n max: 1024,\n min: 2,\n },\n ],\n rule: \"MustRunAs\",\n },\n runtimeClass: {\n allowedRuntimeClassNames: [\"something\"],\n defaultRuntimeClassName: \"something\",\n },\n seLinux: {\n rule: \"RunAsAny\",\n },\n supplementalGroup: {\n rule: \"RunAsAny\",\n },\n volumes: [\"azureFile\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 PodSecurityPolicyTemplate\nfoo = rancher2.PodSecurityPolicyTemplate(\"foo\",\n allow_privilege_escalation=False,\n allowed_csi_drivers=[\n rancher2.PodSecurityPolicyTemplateAllowedCsiDriverArgs(\n name=\"something\",\n ),\n rancher2.PodSecurityPolicyTemplateAllowedCsiDriverArgs(\n name=\"something-else\",\n ),\n ],\n allowed_flex_volumes=[\n rancher2.PodSecurityPolicyTemplateAllowedFlexVolumeArgs(\n driver=\"something\",\n ),\n rancher2.PodSecurityPolicyTemplateAllowedFlexVolumeArgs(\n driver=\"something-else\",\n ),\n ],\n allowed_host_paths=[\n rancher2.PodSecurityPolicyTemplateAllowedHostPathArgs(\n path_prefix=\"/\",\n read_only=True,\n ),\n rancher2.PodSecurityPolicyTemplateAllowedHostPathArgs(\n path_prefix=\"//\",\n read_only=False,\n ),\n ],\n allowed_proc_mount_types=[\"Default\"],\n default_allow_privilege_escalation=False,\n description=\"Terraform PodSecurityPolicyTemplate acceptance test - update\",\n fs_group=rancher2.PodSecurityPolicyTemplateFsGroupArgs(\n ranges=[\n rancher2.PodSecurityPolicyTemplateFsGroupRangeArgs(\n max=100,\n min=0,\n ),\n rancher2.PodSecurityPolicyTemplateFsGroupRangeArgs(\n max=100,\n min=0,\n ),\n ],\n rule=\"MustRunAs\",\n ),\n host_ipc=False,\n host_network=False,\n host_pid=False,\n host_ports=[\n rancher2.PodSecurityPolicyTemplateHostPortArgs(\n max=65535,\n min=0,\n ),\n rancher2.PodSecurityPolicyTemplateHostPortArgs(\n max=8080,\n min=1024,\n ),\n ],\n privileged=False,\n read_only_root_filesystem=False,\n required_drop_capabilities=[\"something\"],\n run_as_group=rancher2.PodSecurityPolicyTemplateRunAsGroupArgs(\n ranges=[\n rancher2.PodSecurityPolicyTemplateRunAsGroupRangeArgs(\n max=100,\n min=1,\n ),\n rancher2.PodSecurityPolicyTemplateRunAsGroupRangeArgs(\n max=1024,\n min=2,\n ),\n ],\n rule=\"MustRunAs\",\n ),\n run_as_user=rancher2.PodSecurityPolicyTemplateRunAsUserArgs(\n ranges=[\n rancher2.PodSecurityPolicyTemplateRunAsUserRangeArgs(\n max=100,\n min=1,\n ),\n rancher2.PodSecurityPolicyTemplateRunAsUserRangeArgs(\n max=1024,\n min=2,\n ),\n ],\n rule=\"MustRunAs\",\n ),\n runtime_class=rancher2.PodSecurityPolicyTemplateRuntimeClassArgs(\n allowed_runtime_class_names=[\"something\"],\n default_runtime_class_name=\"something\",\n ),\n se_linux=rancher2.PodSecurityPolicyTemplateSeLinuxArgs(\n rule=\"RunAsAny\",\n ),\n supplemental_group=rancher2.PodSecurityPolicyTemplateSupplementalGroupArgs(\n rule=\"RunAsAny\",\n ),\n volumes=[\"azureFile\"])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 PodSecurityPolicyTemplate\n var foo = new Rancher2.PodSecurityPolicyTemplate(\"foo\", new Rancher2.PodSecurityPolicyTemplateArgs\n {\n AllowPrivilegeEscalation = false,\n AllowedCsiDrivers = \n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedCsiDriverArgs\n {\n Name = \"something\",\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedCsiDriverArgs\n {\n Name = \"something-else\",\n },\n },\n AllowedFlexVolumes = \n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedFlexVolumeArgs\n {\n Driver = \"something\",\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedFlexVolumeArgs\n {\n Driver = \"something-else\",\n },\n },\n AllowedHostPaths = \n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedHostPathArgs\n {\n PathPrefix = \"/\",\n ReadOnly = true,\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedHostPathArgs\n {\n PathPrefix = \"//\",\n ReadOnly = false,\n },\n },\n AllowedProcMountTypes = \n {\n \"Default\",\n },\n DefaultAllowPrivilegeEscalation = false,\n Description = \"Terraform PodSecurityPolicyTemplate acceptance test - update\",\n FsGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupArgs\n {\n Ranges = \n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupRangeArgs\n {\n Max = 100,\n Min = 0,\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupRangeArgs\n {\n Max = 100,\n Min = 0,\n },\n },\n Rule = \"MustRunAs\",\n },\n HostIpc = false,\n HostNetwork = false,\n HostPid = false,\n HostPorts = \n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateHostPortArgs\n {\n Max = 65535,\n Min = 0,\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateHostPortArgs\n {\n Max = 8080,\n Min = 1024,\n },\n },\n Privileged = false,\n ReadOnlyRootFilesystem = false,\n RequiredDropCapabilities = \n {\n \"something\",\n },\n RunAsGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupArgs\n {\n Ranges = \n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupRangeArgs\n {\n Max = 100,\n Min = 1,\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupRangeArgs\n {\n Max = 1024,\n Min = 2,\n },\n },\n Rule = \"MustRunAs\",\n },\n RunAsUser = new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserArgs\n {\n Ranges = \n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserRangeArgs\n {\n Max = 100,\n Min = 1,\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserRangeArgs\n {\n Max = 1024,\n Min = 2,\n },\n },\n Rule = \"MustRunAs\",\n },\n RuntimeClass = new Rancher2.Inputs.PodSecurityPolicyTemplateRuntimeClassArgs\n {\n AllowedRuntimeClassNames = \n {\n \"something\",\n },\n DefaultRuntimeClassName = \"something\",\n },\n SeLinux = new Rancher2.Inputs.PodSecurityPolicyTemplateSeLinuxArgs\n {\n Rule = \"RunAsAny\",\n },\n SupplementalGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateSupplementalGroupArgs\n {\n Rule = \"RunAsAny\",\n },\n Volumes = \n {\n \"azureFile\",\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewPodSecurityPolicyTemplate(ctx, \"foo\", \u0026rancher2.PodSecurityPolicyTemplateArgs{\n\t\t\tAllowPrivilegeEscalation: pulumi.Bool(false),\n\t\t\tAllowedCsiDrivers: PodSecurityPolicyTemplateAllowedCsiDriverArray{\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedCsiDriverArgs{\n\t\t\t\t\tName: pulumi.String(\"something\"),\n\t\t\t\t},\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedCsiDriverArgs{\n\t\t\t\t\tName: pulumi.String(\"something-else\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAllowedFlexVolumes: PodSecurityPolicyTemplateAllowedFlexVolumeArray{\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedFlexVolumeArgs{\n\t\t\t\t\tDriver: pulumi.String(\"something\"),\n\t\t\t\t},\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedFlexVolumeArgs{\n\t\t\t\t\tDriver: pulumi.String(\"something-else\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAllowedHostPaths: PodSecurityPolicyTemplateAllowedHostPathArray{\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedHostPathArgs{\n\t\t\t\t\tPathPrefix: pulumi.String(\"/\"),\n\t\t\t\t\tReadOnly: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedHostPathArgs{\n\t\t\t\t\tPathPrefix: pulumi.String(\"//\"),\n\t\t\t\t\tReadOnly: pulumi.Bool(false),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAllowedProcMountTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Default\"),\n\t\t\t},\n\t\t\tDefaultAllowPrivilegeEscalation: pulumi.Bool(false),\n\t\t\tDescription: pulumi.String(\"Terraform PodSecurityPolicyTemplate acceptance test - update\"),\n\t\t\tFsGroup: \u0026PodSecurityPolicyTemplateFsGroupArgs{\n\t\t\t\tRanges: PodSecurityPolicyTemplateFsGroupRangeArray{\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateFsGroupRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(100),\n\t\t\t\t\t\tMin: pulumi.Int(0),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateFsGroupRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(100),\n\t\t\t\t\t\tMin: pulumi.Int(0),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tRule: pulumi.String(\"MustRunAs\"),\n\t\t\t},\n\t\t\tHostIpc: pulumi.Bool(false),\n\t\t\tHostNetwork: pulumi.Bool(false),\n\t\t\tHostPid: pulumi.Bool(false),\n\t\t\tHostPorts: PodSecurityPolicyTemplateHostPortArray{\n\t\t\t\t\u0026PodSecurityPolicyTemplateHostPortArgs{\n\t\t\t\t\tMax: pulumi.Int(65535),\n\t\t\t\t\tMin: pulumi.Int(0),\n\t\t\t\t},\n\t\t\t\t\u0026PodSecurityPolicyTemplateHostPortArgs{\n\t\t\t\t\tMax: pulumi.Int(8080),\n\t\t\t\t\tMin: pulumi.Int(1024),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPrivileged: pulumi.Bool(false),\n\t\t\tReadOnlyRootFilesystem: pulumi.Bool(false),\n\t\t\tRequiredDropCapabilities: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"something\"),\n\t\t\t},\n\t\t\tRunAsGroup: \u0026PodSecurityPolicyTemplateRunAsGroupArgs{\n\t\t\t\tRanges: PodSecurityPolicyTemplateRunAsGroupRangeArray{\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateRunAsGroupRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(100),\n\t\t\t\t\t\tMin: pulumi.Int(1),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateRunAsGroupRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(1024),\n\t\t\t\t\t\tMin: pulumi.Int(2),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tRule: pulumi.String(\"MustRunAs\"),\n\t\t\t},\n\t\t\tRunAsUser: \u0026PodSecurityPolicyTemplateRunAsUserArgs{\n\t\t\t\tRanges: PodSecurityPolicyTemplateRunAsUserRangeArray{\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateRunAsUserRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(100),\n\t\t\t\t\t\tMin: pulumi.Int(1),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateRunAsUserRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(1024),\n\t\t\t\t\t\tMin: pulumi.Int(2),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tRule: pulumi.String(\"MustRunAs\"),\n\t\t\t},\n\t\t\tRuntimeClass: \u0026PodSecurityPolicyTemplateRuntimeClassArgs{\n\t\t\t\tAllowedRuntimeClassNames: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"something\"),\n\t\t\t\t},\n\t\t\t\tDefaultRuntimeClassName: pulumi.String(\"something\"),\n\t\t\t},\n\t\t\tSeLinux: \u0026PodSecurityPolicyTemplateSeLinuxArgs{\n\t\t\t\tRule: pulumi.String(\"RunAsAny\"),\n\t\t\t},\n\t\t\tSupplementalGroup: \u0026PodSecurityPolicyTemplateSupplementalGroupArgs{\n\t\t\t\tRule: pulumi.String(\"RunAsAny\"),\n\t\t\t},\n\t\t\tVolumes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"azureFile\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nPodSecurityPolicyTemplate can be imported using the Rancher PodSecurityPolicyTemplate Name\n\n```sh\n $ pulumi import rancher2:index/podSecurityPolicyTemplate:PodSecurityPolicyTemplate foo \u0026lt;pod_security_policy_name\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 PodSecurityPolicyTemplate resource. This can be used to create PodSecurityPolicyTemplates for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 PodSecurityPolicyTemplate\nconst foo = new rancher2.PodSecurityPolicyTemplate(\"foo\", {\n allowPrivilegeEscalation: false,\n allowedCsiDrivers: [\n {\n name: \"something\",\n },\n {\n name: \"something-else\",\n },\n ],\n allowedFlexVolumes: [\n {\n driver: \"something\",\n },\n {\n driver: \"something-else\",\n },\n ],\n allowedHostPaths: [\n {\n pathPrefix: \"/\",\n readOnly: true,\n },\n {\n pathPrefix: \"//\",\n readOnly: false,\n },\n ],\n allowedProcMountTypes: [\"Default\"],\n defaultAllowPrivilegeEscalation: false,\n description: \"Terraform PodSecurityPolicyTemplate acceptance test - update\",\n fsGroup: {\n ranges: [\n {\n max: 100,\n min: 0,\n },\n {\n max: 100,\n min: 0,\n },\n ],\n rule: \"MustRunAs\",\n },\n hostIpc: false,\n hostNetwork: false,\n hostPid: false,\n hostPorts: [\n {\n max: 65535,\n min: 0,\n },\n {\n max: 8080,\n min: 1024,\n },\n ],\n privileged: false,\n readOnlyRootFilesystem: false,\n requiredDropCapabilities: [\"something\"],\n runAsGroup: {\n ranges: [\n {\n max: 100,\n min: 1,\n },\n {\n max: 1024,\n min: 2,\n },\n ],\n rule: \"MustRunAs\",\n },\n runAsUser: {\n ranges: [\n {\n max: 100,\n min: 1,\n },\n {\n max: 1024,\n min: 2,\n },\n ],\n rule: \"MustRunAs\",\n },\n runtimeClass: {\n allowedRuntimeClassNames: [\"something\"],\n defaultRuntimeClassName: \"something\",\n },\n seLinux: {\n rule: \"RunAsAny\",\n },\n supplementalGroup: {\n rule: \"RunAsAny\",\n },\n volumes: [\"azureFile\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 PodSecurityPolicyTemplate\nfoo = rancher2.PodSecurityPolicyTemplate(\"foo\",\n allow_privilege_escalation=False,\n allowed_csi_drivers=[\n rancher2.PodSecurityPolicyTemplateAllowedCsiDriverArgs(\n name=\"something\",\n ),\n rancher2.PodSecurityPolicyTemplateAllowedCsiDriverArgs(\n name=\"something-else\",\n ),\n ],\n allowed_flex_volumes=[\n rancher2.PodSecurityPolicyTemplateAllowedFlexVolumeArgs(\n driver=\"something\",\n ),\n rancher2.PodSecurityPolicyTemplateAllowedFlexVolumeArgs(\n driver=\"something-else\",\n ),\n ],\n allowed_host_paths=[\n rancher2.PodSecurityPolicyTemplateAllowedHostPathArgs(\n path_prefix=\"/\",\n read_only=True,\n ),\n rancher2.PodSecurityPolicyTemplateAllowedHostPathArgs(\n path_prefix=\"//\",\n read_only=False,\n ),\n ],\n allowed_proc_mount_types=[\"Default\"],\n default_allow_privilege_escalation=False,\n description=\"Terraform PodSecurityPolicyTemplate acceptance test - update\",\n fs_group=rancher2.PodSecurityPolicyTemplateFsGroupArgs(\n ranges=[\n rancher2.PodSecurityPolicyTemplateFsGroupRangeArgs(\n max=100,\n min=0,\n ),\n rancher2.PodSecurityPolicyTemplateFsGroupRangeArgs(\n max=100,\n min=0,\n ),\n ],\n rule=\"MustRunAs\",\n ),\n host_ipc=False,\n host_network=False,\n host_pid=False,\n host_ports=[\n rancher2.PodSecurityPolicyTemplateHostPortArgs(\n max=65535,\n min=0,\n ),\n rancher2.PodSecurityPolicyTemplateHostPortArgs(\n max=8080,\n min=1024,\n ),\n ],\n privileged=False,\n read_only_root_filesystem=False,\n required_drop_capabilities=[\"something\"],\n run_as_group=rancher2.PodSecurityPolicyTemplateRunAsGroupArgs(\n ranges=[\n rancher2.PodSecurityPolicyTemplateRunAsGroupRangeArgs(\n max=100,\n min=1,\n ),\n rancher2.PodSecurityPolicyTemplateRunAsGroupRangeArgs(\n max=1024,\n min=2,\n ),\n ],\n rule=\"MustRunAs\",\n ),\n run_as_user=rancher2.PodSecurityPolicyTemplateRunAsUserArgs(\n ranges=[\n rancher2.PodSecurityPolicyTemplateRunAsUserRangeArgs(\n max=100,\n min=1,\n ),\n rancher2.PodSecurityPolicyTemplateRunAsUserRangeArgs(\n max=1024,\n min=2,\n ),\n ],\n rule=\"MustRunAs\",\n ),\n runtime_class=rancher2.PodSecurityPolicyTemplateRuntimeClassArgs(\n allowed_runtime_class_names=[\"something\"],\n default_runtime_class_name=\"something\",\n ),\n se_linux=rancher2.PodSecurityPolicyTemplateSeLinuxArgs(\n rule=\"RunAsAny\",\n ),\n supplemental_group=rancher2.PodSecurityPolicyTemplateSupplementalGroupArgs(\n rule=\"RunAsAny\",\n ),\n volumes=[\"azureFile\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 PodSecurityPolicyTemplate\n var foo = new Rancher2.PodSecurityPolicyTemplate(\"foo\", new()\n {\n AllowPrivilegeEscalation = false,\n AllowedCsiDrivers = new[]\n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedCsiDriverArgs\n {\n Name = \"something\",\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedCsiDriverArgs\n {\n Name = \"something-else\",\n },\n },\n AllowedFlexVolumes = new[]\n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedFlexVolumeArgs\n {\n Driver = \"something\",\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedFlexVolumeArgs\n {\n Driver = \"something-else\",\n },\n },\n AllowedHostPaths = new[]\n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedHostPathArgs\n {\n PathPrefix = \"/\",\n ReadOnly = true,\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedHostPathArgs\n {\n PathPrefix = \"//\",\n ReadOnly = false,\n },\n },\n AllowedProcMountTypes = new[]\n {\n \"Default\",\n },\n DefaultAllowPrivilegeEscalation = false,\n Description = \"Terraform PodSecurityPolicyTemplate acceptance test - update\",\n FsGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupArgs\n {\n Ranges = new[]\n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupRangeArgs\n {\n Max = 100,\n Min = 0,\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupRangeArgs\n {\n Max = 100,\n Min = 0,\n },\n },\n Rule = \"MustRunAs\",\n },\n HostIpc = false,\n HostNetwork = false,\n HostPid = false,\n HostPorts = new[]\n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateHostPortArgs\n {\n Max = 65535,\n Min = 0,\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateHostPortArgs\n {\n Max = 8080,\n Min = 1024,\n },\n },\n Privileged = false,\n ReadOnlyRootFilesystem = false,\n RequiredDropCapabilities = new[]\n {\n \"something\",\n },\n RunAsGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupArgs\n {\n Ranges = new[]\n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupRangeArgs\n {\n Max = 100,\n Min = 1,\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupRangeArgs\n {\n Max = 1024,\n Min = 2,\n },\n },\n Rule = \"MustRunAs\",\n },\n RunAsUser = new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserArgs\n {\n Ranges = new[]\n {\n new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserRangeArgs\n {\n Max = 100,\n Min = 1,\n },\n new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserRangeArgs\n {\n Max = 1024,\n Min = 2,\n },\n },\n Rule = \"MustRunAs\",\n },\n RuntimeClass = new Rancher2.Inputs.PodSecurityPolicyTemplateRuntimeClassArgs\n {\n AllowedRuntimeClassNames = new[]\n {\n \"something\",\n },\n DefaultRuntimeClassName = \"something\",\n },\n SeLinux = new Rancher2.Inputs.PodSecurityPolicyTemplateSeLinuxArgs\n {\n Rule = \"RunAsAny\",\n },\n SupplementalGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateSupplementalGroupArgs\n {\n Rule = \"RunAsAny\",\n },\n Volumes = new[]\n {\n \"azureFile\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewPodSecurityPolicyTemplate(ctx, \"foo\", \u0026rancher2.PodSecurityPolicyTemplateArgs{\n\t\t\tAllowPrivilegeEscalation: pulumi.Bool(false),\n\t\t\tAllowedCsiDrivers: PodSecurityPolicyTemplateAllowedCsiDriverArray{\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedCsiDriverArgs{\n\t\t\t\t\tName: pulumi.String(\"something\"),\n\t\t\t\t},\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedCsiDriverArgs{\n\t\t\t\t\tName: pulumi.String(\"something-else\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAllowedFlexVolumes: PodSecurityPolicyTemplateAllowedFlexVolumeArray{\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedFlexVolumeArgs{\n\t\t\t\t\tDriver: pulumi.String(\"something\"),\n\t\t\t\t},\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedFlexVolumeArgs{\n\t\t\t\t\tDriver: pulumi.String(\"something-else\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAllowedHostPaths: PodSecurityPolicyTemplateAllowedHostPathArray{\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedHostPathArgs{\n\t\t\t\t\tPathPrefix: pulumi.String(\"/\"),\n\t\t\t\t\tReadOnly: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t\t\u0026PodSecurityPolicyTemplateAllowedHostPathArgs{\n\t\t\t\t\tPathPrefix: pulumi.String(\"//\"),\n\t\t\t\t\tReadOnly: pulumi.Bool(false),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAllowedProcMountTypes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Default\"),\n\t\t\t},\n\t\t\tDefaultAllowPrivilegeEscalation: pulumi.Bool(false),\n\t\t\tDescription: pulumi.String(\"Terraform PodSecurityPolicyTemplate acceptance test - update\"),\n\t\t\tFsGroup: \u0026PodSecurityPolicyTemplateFsGroupArgs{\n\t\t\t\tRanges: PodSecurityPolicyTemplateFsGroupRangeArray{\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateFsGroupRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(100),\n\t\t\t\t\t\tMin: pulumi.Int(0),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateFsGroupRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(100),\n\t\t\t\t\t\tMin: pulumi.Int(0),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tRule: pulumi.String(\"MustRunAs\"),\n\t\t\t},\n\t\t\tHostIpc: pulumi.Bool(false),\n\t\t\tHostNetwork: pulumi.Bool(false),\n\t\t\tHostPid: pulumi.Bool(false),\n\t\t\tHostPorts: PodSecurityPolicyTemplateHostPortArray{\n\t\t\t\t\u0026PodSecurityPolicyTemplateHostPortArgs{\n\t\t\t\t\tMax: pulumi.Int(65535),\n\t\t\t\t\tMin: pulumi.Int(0),\n\t\t\t\t},\n\t\t\t\t\u0026PodSecurityPolicyTemplateHostPortArgs{\n\t\t\t\t\tMax: pulumi.Int(8080),\n\t\t\t\t\tMin: pulumi.Int(1024),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPrivileged: pulumi.Bool(false),\n\t\t\tReadOnlyRootFilesystem: pulumi.Bool(false),\n\t\t\tRequiredDropCapabilities: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"something\"),\n\t\t\t},\n\t\t\tRunAsGroup: \u0026PodSecurityPolicyTemplateRunAsGroupArgs{\n\t\t\t\tRanges: PodSecurityPolicyTemplateRunAsGroupRangeArray{\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateRunAsGroupRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(100),\n\t\t\t\t\t\tMin: pulumi.Int(1),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateRunAsGroupRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(1024),\n\t\t\t\t\t\tMin: pulumi.Int(2),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tRule: pulumi.String(\"MustRunAs\"),\n\t\t\t},\n\t\t\tRunAsUser: \u0026PodSecurityPolicyTemplateRunAsUserArgs{\n\t\t\t\tRanges: PodSecurityPolicyTemplateRunAsUserRangeArray{\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateRunAsUserRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(100),\n\t\t\t\t\t\tMin: pulumi.Int(1),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026PodSecurityPolicyTemplateRunAsUserRangeArgs{\n\t\t\t\t\t\tMax: pulumi.Int(1024),\n\t\t\t\t\t\tMin: pulumi.Int(2),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tRule: pulumi.String(\"MustRunAs\"),\n\t\t\t},\n\t\t\tRuntimeClass: \u0026PodSecurityPolicyTemplateRuntimeClassArgs{\n\t\t\t\tAllowedRuntimeClassNames: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"something\"),\n\t\t\t\t},\n\t\t\t\tDefaultRuntimeClassName: pulumi.String(\"something\"),\n\t\t\t},\n\t\t\tSeLinux: \u0026PodSecurityPolicyTemplateSeLinuxArgs{\n\t\t\t\tRule: pulumi.String(\"RunAsAny\"),\n\t\t\t},\n\t\t\tSupplementalGroup: \u0026PodSecurityPolicyTemplateSupplementalGroupArgs{\n\t\t\t\tRule: pulumi.String(\"RunAsAny\"),\n\t\t\t},\n\t\t\tVolumes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"azureFile\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.PodSecurityPolicyTemplate;\nimport com.pulumi.rancher2.PodSecurityPolicyTemplateArgs;\nimport com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateAllowedCsiDriverArgs;\nimport com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateAllowedFlexVolumeArgs;\nimport com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateAllowedHostPathArgs;\nimport com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateFsGroupArgs;\nimport com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateHostPortArgs;\nimport com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateRunAsGroupArgs;\nimport com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateRunAsUserArgs;\nimport com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateRuntimeClassArgs;\nimport com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateSeLinuxArgs;\nimport com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateSupplementalGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new PodSecurityPolicyTemplate(\"foo\", PodSecurityPolicyTemplateArgs.builder() \n .allowPrivilegeEscalation(false)\n .allowedCsiDrivers( \n PodSecurityPolicyTemplateAllowedCsiDriverArgs.builder()\n .name(\"something\")\n .build(),\n PodSecurityPolicyTemplateAllowedCsiDriverArgs.builder()\n .name(\"something-else\")\n .build())\n .allowedFlexVolumes( \n PodSecurityPolicyTemplateAllowedFlexVolumeArgs.builder()\n .driver(\"something\")\n .build(),\n PodSecurityPolicyTemplateAllowedFlexVolumeArgs.builder()\n .driver(\"something-else\")\n .build())\n .allowedHostPaths( \n PodSecurityPolicyTemplateAllowedHostPathArgs.builder()\n .pathPrefix(\"/\")\n .readOnly(true)\n .build(),\n PodSecurityPolicyTemplateAllowedHostPathArgs.builder()\n .pathPrefix(\"//\")\n .readOnly(false)\n .build())\n .allowedProcMountTypes(\"Default\")\n .defaultAllowPrivilegeEscalation(false)\n .description(\"Terraform PodSecurityPolicyTemplate acceptance test - update\")\n .fsGroup(PodSecurityPolicyTemplateFsGroupArgs.builder()\n .ranges( \n PodSecurityPolicyTemplateFsGroupRangeArgs.builder()\n .max(100)\n .min(0)\n .build(),\n PodSecurityPolicyTemplateFsGroupRangeArgs.builder()\n .max(100)\n .min(0)\n .build())\n .rule(\"MustRunAs\")\n .build())\n .hostIpc(false)\n .hostNetwork(false)\n .hostPid(false)\n .hostPorts( \n PodSecurityPolicyTemplateHostPortArgs.builder()\n .max(65535)\n .min(0)\n .build(),\n PodSecurityPolicyTemplateHostPortArgs.builder()\n .max(8080)\n .min(1024)\n .build())\n .privileged(false)\n .readOnlyRootFilesystem(false)\n .requiredDropCapabilities(\"something\")\n .runAsGroup(PodSecurityPolicyTemplateRunAsGroupArgs.builder()\n .ranges( \n PodSecurityPolicyTemplateRunAsGroupRangeArgs.builder()\n .max(100)\n .min(1)\n .build(),\n PodSecurityPolicyTemplateRunAsGroupRangeArgs.builder()\n .max(1024)\n .min(2)\n .build())\n .rule(\"MustRunAs\")\n .build())\n .runAsUser(PodSecurityPolicyTemplateRunAsUserArgs.builder()\n .ranges( \n PodSecurityPolicyTemplateRunAsUserRangeArgs.builder()\n .max(100)\n .min(1)\n .build(),\n PodSecurityPolicyTemplateRunAsUserRangeArgs.builder()\n .max(1024)\n .min(2)\n .build())\n .rule(\"MustRunAs\")\n .build())\n .runtimeClass(PodSecurityPolicyTemplateRuntimeClassArgs.builder()\n .allowedRuntimeClassNames(\"something\")\n .defaultRuntimeClassName(\"something\")\n .build())\n .seLinux(PodSecurityPolicyTemplateSeLinuxArgs.builder()\n .rule(\"RunAsAny\")\n .build())\n .supplementalGroup(PodSecurityPolicyTemplateSupplementalGroupArgs.builder()\n .rule(\"RunAsAny\")\n .build())\n .volumes(\"azureFile\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 PodSecurityPolicyTemplate\n foo:\n type: rancher2:PodSecurityPolicyTemplate\n properties:\n allowPrivilegeEscalation: false\n allowedCsiDrivers:\n - name: something\n - name: something-else\n allowedFlexVolumes:\n - driver: something\n - driver: something-else\n allowedHostPaths:\n - pathPrefix: /\n readOnly: true\n - pathPrefix: //\n readOnly: false\n allowedProcMountTypes:\n - Default\n defaultAllowPrivilegeEscalation: false\n description: Terraform PodSecurityPolicyTemplate acceptance test - update\n fsGroup:\n ranges:\n - max: 100\n min: 0\n - max: 100\n min: 0\n rule: MustRunAs\n hostIpc: false\n hostNetwork: false\n hostPid: false\n hostPorts:\n - max: 65535\n min: 0\n - max: 8080\n min: 1024\n privileged: false\n readOnlyRootFilesystem: false\n requiredDropCapabilities:\n - something\n runAsGroup:\n ranges:\n - max: 100\n min: 1\n - max: 1024\n min: 2\n rule: MustRunAs\n runAsUser:\n ranges:\n - max: 100\n min: 1\n - max: 1024\n min: 2\n rule: MustRunAs\n runtimeClass:\n allowedRuntimeClassNames:\n - something\n defaultRuntimeClassName: something\n seLinux:\n rule: RunAsAny\n supplementalGroup:\n rule: RunAsAny\n volumes:\n - azureFile\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nPodSecurityPolicyTemplate can be imported using the Rancher PodSecurityPolicyTemplate Name\n\n```sh\n $ pulumi import rancher2:index/podSecurityPolicyTemplate:PodSecurityPolicyTemplate foo \u0026lt;pod_security_policy_name\u0026gt;\n```\n\n ", "properties": { "allowPrivilegeEscalation": { "type": "boolean", @@ -46200,7 +49609,8 @@ }, "name": { "type": "string", - "description": "The name of the PodSecurityPolicyTemplate (string)\n" + "description": "The name of the PodSecurityPolicyTemplate (string)\n", + "willReplaceOnChanges": true }, "privileged": { "type": "boolean", @@ -46355,7 +49765,8 @@ }, "name": { "type": "string", - "description": "The name of the PodSecurityPolicyTemplate (string)\n" + "description": "The name of the PodSecurityPolicyTemplate (string)\n", + "willReplaceOnChanges": true }, "privileged": { "type": "boolean", @@ -46404,7 +49815,7 @@ } }, "rancher2:index/project:Project": { - "description": "Provides a Rancher v2 Project resource. This can be used to create projects for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Project\nconst foo = new rancher2.Project(\"foo\", {\n clusterId: \"\u003cCLUSTER_ID\u003e\",\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n resourceQuota: {\n namespaceDefaultLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"500Mi\",\n requestsStorage: \"1Gi\",\n },\n projectLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"2000Mi\",\n requestsStorage: \"2Gi\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Project\nfoo = rancher2.Project(\"foo\",\n cluster_id=\"\u003cCLUSTER_ID\u003e\",\n container_resource_limit=rancher2.ProjectContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ),\n resource_quota=rancher2.ProjectResourceQuotaArgs(\n namespace_default_limit=rancher2.ProjectResourceQuotaNamespaceDefaultLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"500Mi\",\n requests_storage=\"1Gi\",\n ),\n project_limit=rancher2.ProjectResourceQuotaProjectLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"2000Mi\",\n requests_storage=\"2Gi\",\n ),\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Project\n var foo = new Rancher2.Project(\"foo\", new Rancher2.ProjectArgs\n {\n ClusterId = \"\u003cCLUSTER_ID\u003e\",\n ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs\n {\n NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"500Mi\",\n RequestsStorage = \"1Gi\",\n },\n ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"2000Mi\",\n RequestsStorage = \"2Gi\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProject(ctx, \"foo\", \u0026rancher2.ProjectArgs{\n\t\t\tClusterId: pulumi.String(\"\u003cCLUSTER_ID\u003e\"),\n\t\t\tContainerResourceLimit: \u0026ProjectContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t\tResourceQuota: \u0026ProjectResourceQuotaArgs{\n\t\t\t\tNamespaceDefaultLimit: \u0026ProjectResourceQuotaNamespaceDefaultLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"500Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t\tProjectLimit: \u0026ProjectResourceQuotaProjectLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"2000Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"2Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Project enabling and customizing monitoring\nconst foo = new rancher2.Project(\"foo\", {\n clusterId: \"\u003cCLUSTER_ID\u003e\",\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n enableProjectMonitoring: true,\n projectMonitoringInput: {\n answers: {\n \"exporter-kubelets.https\": true,\n \"exporter-node.enabled\": true,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": false,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n },\n resourceQuota: {\n namespaceDefaultLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"500Mi\",\n requestsStorage: \"1Gi\",\n },\n projectLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"2000Mi\",\n requestsStorage: \"2Gi\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Project enabling and customizing monitoring\nfoo = rancher2.Project(\"foo\",\n cluster_id=\"\u003cCLUSTER_ID\u003e\",\n container_resource_limit=rancher2.ProjectContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ),\n enable_project_monitoring=True,\n project_monitoring_input=rancher2.ProjectProjectMonitoringInputArgs(\n answers={\n \"exporter-kubelets.https\": True,\n \"exporter-node.enabled\": True,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": False,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n ),\n resource_quota=rancher2.ProjectResourceQuotaArgs(\n namespace_default_limit=rancher2.ProjectResourceQuotaNamespaceDefaultLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"500Mi\",\n requests_storage=\"1Gi\",\n ),\n project_limit=rancher2.ProjectResourceQuotaProjectLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"2000Mi\",\n requests_storage=\"2Gi\",\n ),\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Project enabling and customizing monitoring\n var foo = new Rancher2.Project(\"foo\", new Rancher2.ProjectArgs\n {\n ClusterId = \"\u003cCLUSTER_ID\u003e\",\n ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n EnableProjectMonitoring = true,\n ProjectMonitoringInput = new Rancher2.Inputs.ProjectProjectMonitoringInputArgs\n {\n Answers = \n {\n { \"exporter-kubelets.https\", true },\n { \"exporter-node.enabled\", true },\n { \"exporter-node.ports.metrics.port\", 9796 },\n { \"exporter-node.resources.limits.cpu\", \"200m\" },\n { \"exporter-node.resources.limits.memory\", \"200Mi\" },\n { \"grafana.persistence.enabled\", false },\n { \"grafana.persistence.size\", \"10Gi\" },\n { \"grafana.persistence.storageClass\", \"default\" },\n { \"operator.resources.limits.memory\", \"500Mi\" },\n { \"prometheus.persistence.enabled\", \"false\" },\n { \"prometheus.persistence.size\", \"50Gi\" },\n { \"prometheus.persistence.storageClass\", \"default\" },\n { \"prometheus.persistent.useReleaseName\", \"true\" },\n { \"prometheus.resources.core.limits.cpu\", \"1000m\" },\n { \"prometheus.resources.core.limits.memory\", \"1500Mi\" },\n { \"prometheus.resources.core.requests.cpu\", \"750m\" },\n { \"prometheus.resources.core.requests.memory\", \"750Mi\" },\n { \"prometheus.retention\", \"12h\" },\n },\n },\n ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs\n {\n NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"500Mi\",\n RequestsStorage = \"1Gi\",\n },\n ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"2000Mi\",\n RequestsStorage = \"2Gi\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProject(ctx, \"foo\", \u0026rancher2.ProjectArgs{\n\t\t\tClusterId: pulumi.String(\"\u003cCLUSTER_ID\u003e\"),\n\t\t\tContainerResourceLimit: \u0026ProjectContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t\tEnableProjectMonitoring: pulumi.Bool(true),\n\t\t\tProjectMonitoringInput: \u0026ProjectProjectMonitoringInputArgs{\n\t\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\t\"exporter-kubelets.https\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.enabled\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.ports.metrics.port\": pulumi.Any(9796),\n\t\t\t\t\t\"exporter-node.resources.limits.cpu\": pulumi.Any(\"200m\"),\n\t\t\t\t\t\"exporter-node.resources.limits.memory\": pulumi.Any(\"200Mi\"),\n\t\t\t\t\t\"grafana.persistence.enabled\": pulumi.Any(false),\n\t\t\t\t\t\"grafana.persistence.size\": pulumi.Any(\"10Gi\"),\n\t\t\t\t\t\"grafana.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"operator.resources.limits.memory\": pulumi.Any(\"500Mi\"),\n\t\t\t\t\t\"prometheus.persistence.enabled\": pulumi.Any(\"false\"),\n\t\t\t\t\t\"prometheus.persistence.size\": pulumi.Any(\"50Gi\"),\n\t\t\t\t\t\"prometheus.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"prometheus.persistent.useReleaseName\": pulumi.Any(\"true\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.memory\": pulumi.Any(\"1500Mi\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.cpu\": pulumi.Any(\"750m\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.memory\": pulumi.Any(\"750Mi\"),\n\t\t\t\t\t\"prometheus.retention\": pulumi.Any(\"12h\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceQuota: \u0026ProjectResourceQuotaArgs{\n\t\t\t\tNamespaceDefaultLimit: \u0026ProjectResourceQuotaNamespaceDefaultLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"500Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t\tProjectLimit: \u0026ProjectResourceQuotaProjectLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"2000Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"2Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProjects can be imported using the Rancher Project ID\n\n```sh\n $ pulumi import rancher2:index/project:Project foo \u0026lt;project_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Project resource. This can be used to create projects for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Project\nconst foo = new rancher2.Project(\"foo\", {\n clusterId: \"\u003cCLUSTER_ID\u003e\",\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n resourceQuota: {\n namespaceDefaultLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"500Mi\",\n requestsStorage: \"1Gi\",\n },\n projectLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"2000Mi\",\n requestsStorage: \"2Gi\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Project\nfoo = rancher2.Project(\"foo\",\n cluster_id=\"\u003cCLUSTER_ID\u003e\",\n container_resource_limit=rancher2.ProjectContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ),\n resource_quota=rancher2.ProjectResourceQuotaArgs(\n namespace_default_limit=rancher2.ProjectResourceQuotaNamespaceDefaultLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"500Mi\",\n requests_storage=\"1Gi\",\n ),\n project_limit=rancher2.ProjectResourceQuotaProjectLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"2000Mi\",\n requests_storage=\"2Gi\",\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Project\n var foo = new Rancher2.Project(\"foo\", new()\n {\n ClusterId = \"\u003cCLUSTER_ID\u003e\",\n ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs\n {\n NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"500Mi\",\n RequestsStorage = \"1Gi\",\n },\n ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"2000Mi\",\n RequestsStorage = \"2Gi\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProject(ctx, \"foo\", \u0026rancher2.ProjectArgs{\n\t\t\tClusterId: pulumi.String(\"\u003cCLUSTER_ID\u003e\"),\n\t\t\tContainerResourceLimit: \u0026ProjectContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t\tResourceQuota: \u0026ProjectResourceQuotaArgs{\n\t\t\t\tNamespaceDefaultLimit: \u0026ProjectResourceQuotaNamespaceDefaultLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"500Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t\tProjectLimit: \u0026ProjectResourceQuotaProjectLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"2000Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"2Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Project;\nimport com.pulumi.rancher2.ProjectArgs;\nimport com.pulumi.rancher2.inputs.ProjectContainerResourceLimitArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaProjectLimitArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Project(\"foo\", ProjectArgs.builder() \n .clusterId(\"\u003cCLUSTER_ID\u003e\")\n .containerResourceLimit(ProjectContainerResourceLimitArgs.builder()\n .limitsCpu(\"20m\")\n .limitsMemory(\"20Mi\")\n .requestsCpu(\"1m\")\n .requestsMemory(\"1Mi\")\n .build())\n .resourceQuota(ProjectResourceQuotaArgs.builder()\n .namespaceDefaultLimit(ProjectResourceQuotaNamespaceDefaultLimitArgs.builder()\n .limitsCpu(\"2000m\")\n .limitsMemory(\"500Mi\")\n .requestsStorage(\"1Gi\")\n .build())\n .projectLimit(ProjectResourceQuotaProjectLimitArgs.builder()\n .limitsCpu(\"2000m\")\n .limitsMemory(\"2000Mi\")\n .requestsStorage(\"2Gi\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Project\n foo:\n type: rancher2:Project\n properties:\n clusterId: \u003cCLUSTER_ID\u003e\n containerResourceLimit:\n limitsCpu: 20m\n limitsMemory: 20Mi\n requestsCpu: 1m\n requestsMemory: 1Mi\n resourceQuota:\n namespaceDefaultLimit:\n limitsCpu: 2000m\n limitsMemory: 500Mi\n requestsStorage: 1Gi\n projectLimit:\n limitsCpu: 2000m\n limitsMemory: 2000Mi\n requestsStorage: 2Gi\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Project enabling and customizing monitoring\nconst foo = new rancher2.Project(\"foo\", {\n clusterId: \"\u003cCLUSTER_ID\u003e\",\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n enableProjectMonitoring: true,\n projectMonitoringInput: {\n answers: {\n \"exporter-kubelets.https\": true,\n \"exporter-node.enabled\": true,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": false,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n },\n resourceQuota: {\n namespaceDefaultLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"500Mi\",\n requestsStorage: \"1Gi\",\n },\n projectLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"2000Mi\",\n requestsStorage: \"2Gi\",\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Project enabling and customizing monitoring\nfoo = rancher2.Project(\"foo\",\n cluster_id=\"\u003cCLUSTER_ID\u003e\",\n container_resource_limit=rancher2.ProjectContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ),\n enable_project_monitoring=True,\n project_monitoring_input=rancher2.ProjectProjectMonitoringInputArgs(\n answers={\n \"exporter-kubelets.https\": True,\n \"exporter-node.enabled\": True,\n \"exporter-node.ports.metrics.port\": 9796,\n \"exporter-node.resources.limits.cpu\": \"200m\",\n \"exporter-node.resources.limits.memory\": \"200Mi\",\n \"grafana.persistence.enabled\": False,\n \"grafana.persistence.size\": \"10Gi\",\n \"grafana.persistence.storageClass\": \"default\",\n \"operator.resources.limits.memory\": \"500Mi\",\n \"prometheus.persistence.enabled\": \"false\",\n \"prometheus.persistence.size\": \"50Gi\",\n \"prometheus.persistence.storageClass\": \"default\",\n \"prometheus.persistent.useReleaseName\": \"true\",\n \"prometheus.resources.core.limits.cpu\": \"1000m\",\n \"prometheus.resources.core.limits.memory\": \"1500Mi\",\n \"prometheus.resources.core.requests.cpu\": \"750m\",\n \"prometheus.resources.core.requests.memory\": \"750Mi\",\n \"prometheus.retention\": \"12h\",\n },\n ),\n resource_quota=rancher2.ProjectResourceQuotaArgs(\n namespace_default_limit=rancher2.ProjectResourceQuotaNamespaceDefaultLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"500Mi\",\n requests_storage=\"1Gi\",\n ),\n project_limit=rancher2.ProjectResourceQuotaProjectLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"2000Mi\",\n requests_storage=\"2Gi\",\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Project enabling and customizing monitoring\n var foo = new Rancher2.Project(\"foo\", new()\n {\n ClusterId = \"\u003cCLUSTER_ID\u003e\",\n ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n EnableProjectMonitoring = true,\n ProjectMonitoringInput = new Rancher2.Inputs.ProjectProjectMonitoringInputArgs\n {\n Answers = \n {\n { \"exporter-kubelets.https\", true },\n { \"exporter-node.enabled\", true },\n { \"exporter-node.ports.metrics.port\", 9796 },\n { \"exporter-node.resources.limits.cpu\", \"200m\" },\n { \"exporter-node.resources.limits.memory\", \"200Mi\" },\n { \"grafana.persistence.enabled\", false },\n { \"grafana.persistence.size\", \"10Gi\" },\n { \"grafana.persistence.storageClass\", \"default\" },\n { \"operator.resources.limits.memory\", \"500Mi\" },\n { \"prometheus.persistence.enabled\", \"false\" },\n { \"prometheus.persistence.size\", \"50Gi\" },\n { \"prometheus.persistence.storageClass\", \"default\" },\n { \"prometheus.persistent.useReleaseName\", \"true\" },\n { \"prometheus.resources.core.limits.cpu\", \"1000m\" },\n { \"prometheus.resources.core.limits.memory\", \"1500Mi\" },\n { \"prometheus.resources.core.requests.cpu\", \"750m\" },\n { \"prometheus.resources.core.requests.memory\", \"750Mi\" },\n { \"prometheus.retention\", \"12h\" },\n },\n },\n ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs\n {\n NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"500Mi\",\n RequestsStorage = \"1Gi\",\n },\n ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"2000Mi\",\n RequestsStorage = \"2Gi\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProject(ctx, \"foo\", \u0026rancher2.ProjectArgs{\n\t\t\tClusterId: pulumi.String(\"\u003cCLUSTER_ID\u003e\"),\n\t\t\tContainerResourceLimit: \u0026ProjectContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t\tEnableProjectMonitoring: pulumi.Bool(true),\n\t\t\tProjectMonitoringInput: \u0026ProjectProjectMonitoringInputArgs{\n\t\t\t\tAnswers: pulumi.AnyMap{\n\t\t\t\t\t\"exporter-kubelets.https\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.enabled\": pulumi.Any(true),\n\t\t\t\t\t\"exporter-node.ports.metrics.port\": pulumi.Any(9796),\n\t\t\t\t\t\"exporter-node.resources.limits.cpu\": pulumi.Any(\"200m\"),\n\t\t\t\t\t\"exporter-node.resources.limits.memory\": pulumi.Any(\"200Mi\"),\n\t\t\t\t\t\"grafana.persistence.enabled\": pulumi.Any(false),\n\t\t\t\t\t\"grafana.persistence.size\": pulumi.Any(\"10Gi\"),\n\t\t\t\t\t\"grafana.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"operator.resources.limits.memory\": pulumi.Any(\"500Mi\"),\n\t\t\t\t\t\"prometheus.persistence.enabled\": pulumi.Any(\"false\"),\n\t\t\t\t\t\"prometheus.persistence.size\": pulumi.Any(\"50Gi\"),\n\t\t\t\t\t\"prometheus.persistence.storageClass\": pulumi.Any(\"default\"),\n\t\t\t\t\t\"prometheus.persistent.useReleaseName\": pulumi.Any(\"true\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.cpu\": pulumi.Any(\"1000m\"),\n\t\t\t\t\t\"prometheus.resources.core.limits.memory\": pulumi.Any(\"1500Mi\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.cpu\": pulumi.Any(\"750m\"),\n\t\t\t\t\t\"prometheus.resources.core.requests.memory\": pulumi.Any(\"750Mi\"),\n\t\t\t\t\t\"prometheus.retention\": pulumi.Any(\"12h\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceQuota: \u0026ProjectResourceQuotaArgs{\n\t\t\t\tNamespaceDefaultLimit: \u0026ProjectResourceQuotaNamespaceDefaultLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"500Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t\tProjectLimit: \u0026ProjectResourceQuotaProjectLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"2000Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"2Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Project;\nimport com.pulumi.rancher2.ProjectArgs;\nimport com.pulumi.rancher2.inputs.ProjectContainerResourceLimitArgs;\nimport com.pulumi.rancher2.inputs.ProjectProjectMonitoringInputArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaProjectLimitArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Project(\"foo\", ProjectArgs.builder() \n .clusterId(\"\u003cCLUSTER_ID\u003e\")\n .containerResourceLimit(ProjectContainerResourceLimitArgs.builder()\n .limitsCpu(\"20m\")\n .limitsMemory(\"20Mi\")\n .requestsCpu(\"1m\")\n .requestsMemory(\"1Mi\")\n .build())\n .enableProjectMonitoring(true)\n .projectMonitoringInput(ProjectProjectMonitoringInputArgs.builder()\n .answers(Map.ofEntries(\n Map.entry(\"exporter-kubelets.https\", true),\n Map.entry(\"exporter-node.enabled\", true),\n Map.entry(\"exporter-node.ports.metrics.port\", 9796),\n Map.entry(\"exporter-node.resources.limits.cpu\", \"200m\"),\n Map.entry(\"exporter-node.resources.limits.memory\", \"200Mi\"),\n Map.entry(\"grafana.persistence.enabled\", false),\n Map.entry(\"grafana.persistence.size\", \"10Gi\"),\n Map.entry(\"grafana.persistence.storageClass\", \"default\"),\n Map.entry(\"operator.resources.limits.memory\", \"500Mi\"),\n Map.entry(\"prometheus.persistence.enabled\", \"false\"),\n Map.entry(\"prometheus.persistence.size\", \"50Gi\"),\n Map.entry(\"prometheus.persistence.storageClass\", \"default\"),\n Map.entry(\"prometheus.persistent.useReleaseName\", \"true\"),\n Map.entry(\"prometheus.resources.core.limits.cpu\", \"1000m\"),\n Map.entry(\"prometheus.resources.core.limits.memory\", \"1500Mi\"),\n Map.entry(\"prometheus.resources.core.requests.cpu\", \"750m\"),\n Map.entry(\"prometheus.resources.core.requests.memory\", \"750Mi\"),\n Map.entry(\"prometheus.retention\", \"12h\")\n ))\n .build())\n .resourceQuota(ProjectResourceQuotaArgs.builder()\n .namespaceDefaultLimit(ProjectResourceQuotaNamespaceDefaultLimitArgs.builder()\n .limitsCpu(\"2000m\")\n .limitsMemory(\"500Mi\")\n .requestsStorage(\"1Gi\")\n .build())\n .projectLimit(ProjectResourceQuotaProjectLimitArgs.builder()\n .limitsCpu(\"2000m\")\n .limitsMemory(\"2000Mi\")\n .requestsStorage(\"2Gi\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Project enabling and customizing monitoring\n foo:\n type: rancher2:Project\n properties:\n clusterId: \u003cCLUSTER_ID\u003e\n containerResourceLimit:\n limitsCpu: 20m\n limitsMemory: 20Mi\n requestsCpu: 1m\n requestsMemory: 1Mi\n enableProjectMonitoring: true\n projectMonitoringInput:\n answers:\n exporter-kubelets.https: true\n exporter-node.enabled: true\n exporter-node.ports.metrics.port: 9796\n exporter-node.resources.limits.cpu: 200m\n exporter-node.resources.limits.memory: 200Mi\n grafana.persistence.enabled: false\n grafana.persistence.size: 10Gi\n grafana.persistence.storageClass: default\n operator.resources.limits.memory: 500Mi\n prometheus.persistence.enabled: 'false'\n prometheus.persistence.size: 50Gi\n prometheus.persistence.storageClass: default\n prometheus.persistent.useReleaseName: 'true'\n prometheus.resources.core.limits.cpu: 1000m\n prometheus.resources.core.limits.memory: 1500Mi\n prometheus.resources.core.requests.cpu: 750m\n prometheus.resources.core.requests.memory: 750Mi\n prometheus.retention: 12h\n resourceQuota:\n namespaceDefaultLimit:\n limitsCpu: 2000m\n limitsMemory: 500Mi\n requestsStorage: 1Gi\n projectLimit:\n limitsCpu: 2000m\n limitsMemory: 2000Mi\n requestsStorage: 2Gi\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProjects can be imported using the Rancher Project ID\n\n```sh\n $ pulumi import rancher2:index/project:Project foo \u0026lt;project_id\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -46473,7 +49884,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id where create project (string)\n" + "description": "The cluster id where create project (string)\n", + "willReplaceOnChanges": true }, "containerResourceLimit": { "$ref": "#/types/rancher2:index/ProjectContainerResourceLimit:ProjectContainerResourceLimit", @@ -46530,7 +49942,8 @@ }, "clusterId": { "type": "string", - "description": "The cluster id where create project (string)\n" + "description": "The cluster id where create project (string)\n", + "willReplaceOnChanges": true }, "containerResourceLimit": { "$ref": "#/types/rancher2:index/ProjectContainerResourceLimit:ProjectContainerResourceLimit", @@ -46576,7 +49989,7 @@ } }, "rancher2:index/projectAlertGroup:ProjectAlertGroup": { - "description": "Provides a Rancher v2 Project Alert Group resource. This can be used to create Project Alert Group for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Project Alert Group\nconst foo = new rancher2.ProjectAlertGroup(\"foo\", {\n description: \"Terraform project alert group\",\n groupIntervalSeconds: 300,\n projectId: \"\u003cproject_id\u003e\",\n repeatIntervalSeconds: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Project Alert Group\nfoo = rancher2.ProjectAlertGroup(\"foo\",\n description=\"Terraform project alert group\",\n group_interval_seconds=300,\n project_id=\"\u003cproject_id\u003e\",\n repeat_interval_seconds=3600)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new Rancher2 Project Alert Group\n var foo = new Rancher2.ProjectAlertGroup(\"foo\", new Rancher2.ProjectAlertGroupArgs\n {\n Description = \"Terraform project alert group\",\n GroupIntervalSeconds = 300,\n ProjectId = \"\u003cproject_id\u003e\",\n RepeatIntervalSeconds = 3600,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProjectAlertGroup(ctx, \"foo\", \u0026rancher2.ProjectAlertGroupArgs{\n\t\t\tDescription: pulumi.String(\"Terraform project alert group\"),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProject Alert Group can be imported using the Rancher project alert group ID\n\n```sh\n $ pulumi import rancher2:index/projectAlertGroup:ProjectAlertGroup foo \u0026lt;project_alert_group_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Project Alert Group resource. This can be used to create Project Alert Group for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Project Alert Group\nconst foo = new rancher2.ProjectAlertGroup(\"foo\", {\n description: \"Terraform project alert group\",\n groupIntervalSeconds: 300,\n projectId: \"\u003cproject_id\u003e\",\n repeatIntervalSeconds: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Project Alert Group\nfoo = rancher2.ProjectAlertGroup(\"foo\",\n description=\"Terraform project alert group\",\n group_interval_seconds=300,\n project_id=\"\u003cproject_id\u003e\",\n repeat_interval_seconds=3600)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Rancher2 Project Alert Group\n var foo = new Rancher2.ProjectAlertGroup(\"foo\", new()\n {\n Description = \"Terraform project alert group\",\n GroupIntervalSeconds = 300,\n ProjectId = \"\u003cproject_id\u003e\",\n RepeatIntervalSeconds = 3600,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProjectAlertGroup(ctx, \"foo\", \u0026rancher2.ProjectAlertGroupArgs{\n\t\t\tDescription: pulumi.String(\"Terraform project alert group\"),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ProjectAlertGroup;\nimport com.pulumi.rancher2.ProjectAlertGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ProjectAlertGroup(\"foo\", ProjectAlertGroupArgs.builder() \n .description(\"Terraform project alert group\")\n .groupIntervalSeconds(300)\n .projectId(\"\u003cproject_id\u003e\")\n .repeatIntervalSeconds(3600)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 Project Alert Group\n foo:\n type: rancher2:ProjectAlertGroup\n properties:\n description: Terraform project alert group\n groupIntervalSeconds: 300\n projectId: \u003cproject_id\u003e\n repeatIntervalSeconds: 3600\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProject Alert Group can be imported using the Rancher project alert group ID\n\n```sh\n $ pulumi import rancher2:index/projectAlertGroup:ProjectAlertGroup foo \u0026lt;project_alert_group_id\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -46733,7 +50146,7 @@ } }, "rancher2:index/projectAlertRule:ProjectAlertRule": { - "description": "Provides a Rancher v2 Project Alert Rule resource. This can be used to create Project Alert Rule for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Project\nconst fooProject = new rancher2.Project(\"fooProject\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform project \",\n resourceQuota: {\n projectLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"2000Mi\",\n requestsStorage: \"2Gi\",\n },\n namespaceDefaultLimit: {\n limitsCpu: \"500m\",\n limitsMemory: \"500Mi\",\n requestsStorage: \"1Gi\",\n },\n },\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n});\n// Create a new Rancher2 Project Alert Group\nconst fooProjectAlertGroup = new rancher2.ProjectAlertGroup(\"fooProjectAlertGroup\", {\n description: \"Terraform project alert group\",\n projectId: fooProject.id,\n groupIntervalSeconds: 300,\n repeatIntervalSeconds: 3600,\n});\n// Create a new Rancher2 Project Alert Rule\nconst fooProjectAlertRule = new rancher2.ProjectAlertRule(\"fooProjectAlertRule\", {\n projectId: fooProjectAlertGroup.projectId,\n groupId: fooProjectAlertGroup.id,\n groupIntervalSeconds: 600,\n repeatIntervalSeconds: 6000,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Project\nfoo_project = rancher2.Project(\"fooProject\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform project \",\n resource_quota=rancher2.ProjectResourceQuotaArgs(\n project_limit=rancher2.ProjectResourceQuotaProjectLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"2000Mi\",\n requests_storage=\"2Gi\",\n ),\n namespace_default_limit=rancher2.ProjectResourceQuotaNamespaceDefaultLimitArgs(\n limits_cpu=\"500m\",\n limits_memory=\"500Mi\",\n requests_storage=\"1Gi\",\n ),\n ),\n container_resource_limit=rancher2.ProjectContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ))\n# Create a new Rancher2 Project Alert Group\nfoo_project_alert_group = rancher2.ProjectAlertGroup(\"fooProjectAlertGroup\",\n description=\"Terraform project alert group\",\n project_id=foo_project.id,\n group_interval_seconds=300,\n repeat_interval_seconds=3600)\n# Create a new Rancher2 Project Alert Rule\nfoo_project_alert_rule = rancher2.ProjectAlertRule(\"fooProjectAlertRule\",\n project_id=foo_project_alert_group.project_id,\n group_id=foo_project_alert_group.id,\n group_interval_seconds=600,\n repeat_interval_seconds=6000)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new Rancher2 Project\n var fooProject = new Rancher2.Project(\"fooProject\", new Rancher2.ProjectArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform project \",\n ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs\n {\n ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"2000Mi\",\n RequestsStorage = \"2Gi\",\n },\n NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs\n {\n LimitsCpu = \"500m\",\n LimitsMemory = \"500Mi\",\n RequestsStorage = \"1Gi\",\n },\n },\n ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n });\n // Create a new Rancher2 Project Alert Group\n var fooProjectAlertGroup = new Rancher2.ProjectAlertGroup(\"fooProjectAlertGroup\", new Rancher2.ProjectAlertGroupArgs\n {\n Description = \"Terraform project alert group\",\n ProjectId = fooProject.Id,\n GroupIntervalSeconds = 300,\n RepeatIntervalSeconds = 3600,\n });\n // Create a new Rancher2 Project Alert Rule\n var fooProjectAlertRule = new Rancher2.ProjectAlertRule(\"fooProjectAlertRule\", new Rancher2.ProjectAlertRuleArgs\n {\n ProjectId = fooProjectAlertGroup.ProjectId,\n GroupId = fooProjectAlertGroup.Id,\n GroupIntervalSeconds = 600,\n RepeatIntervalSeconds = 6000,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooProject, err := rancher2.NewProject(ctx, \"fooProject\", \u0026rancher2.ProjectArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform project \"),\n\t\t\tResourceQuota: \u0026ProjectResourceQuotaArgs{\n\t\t\t\tProjectLimit: \u0026ProjectResourceQuotaProjectLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"2000Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"2Gi\"),\n\t\t\t\t},\n\t\t\t\tNamespaceDefaultLimit: \u0026ProjectResourceQuotaNamespaceDefaultLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"500m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"500Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tContainerResourceLimit: \u0026ProjectContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooProjectAlertGroup, err := rancher2.NewProjectAlertGroup(ctx, \"fooProjectAlertGroup\", \u0026rancher2.ProjectAlertGroupArgs{\n\t\t\tDescription: pulumi.String(\"Terraform project alert group\"),\n\t\t\tProjectId: fooProject.ID(),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewProjectAlertRule(ctx, \"fooProjectAlertRule\", \u0026rancher2.ProjectAlertRuleArgs{\n\t\t\tProjectId: fooProjectAlertGroup.ProjectId,\n\t\t\tGroupId: fooProjectAlertGroup.ID(),\n\t\t\tGroupIntervalSeconds: pulumi.Int(600),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(6000),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProject Alert Rule can be imported using the Rancher project alert rule ID\n\n```sh\n $ pulumi import rancher2:index/projectAlertRule:ProjectAlertRule foo \u0026lt;project_alert_rule_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Project Alert Rule resource. This can be used to create Project Alert Rule for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new Rancher2 Project\nconst fooProject = new rancher2.Project(\"fooProject\", {\n clusterId: \"\u003ccluster_id\u003e\",\n description: \"Terraform project \",\n resourceQuota: {\n projectLimit: {\n limitsCpu: \"2000m\",\n limitsMemory: \"2000Mi\",\n requestsStorage: \"2Gi\",\n },\n namespaceDefaultLimit: {\n limitsCpu: \"500m\",\n limitsMemory: \"500Mi\",\n requestsStorage: \"1Gi\",\n },\n },\n containerResourceLimit: {\n limitsCpu: \"20m\",\n limitsMemory: \"20Mi\",\n requestsCpu: \"1m\",\n requestsMemory: \"1Mi\",\n },\n});\n// Create a new Rancher2 Project Alert Group\nconst fooProjectAlertGroup = new rancher2.ProjectAlertGroup(\"fooProjectAlertGroup\", {\n description: \"Terraform project alert group\",\n projectId: fooProject.id,\n groupIntervalSeconds: 300,\n repeatIntervalSeconds: 3600,\n});\n// Create a new Rancher2 Project Alert Rule\nconst fooProjectAlertRule = new rancher2.ProjectAlertRule(\"fooProjectAlertRule\", {\n projectId: fooProjectAlertGroup.projectId,\n groupId: fooProjectAlertGroup.id,\n groupIntervalSeconds: 600,\n repeatIntervalSeconds: 6000,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new Rancher2 Project\nfoo_project = rancher2.Project(\"fooProject\",\n cluster_id=\"\u003ccluster_id\u003e\",\n description=\"Terraform project \",\n resource_quota=rancher2.ProjectResourceQuotaArgs(\n project_limit=rancher2.ProjectResourceQuotaProjectLimitArgs(\n limits_cpu=\"2000m\",\n limits_memory=\"2000Mi\",\n requests_storage=\"2Gi\",\n ),\n namespace_default_limit=rancher2.ProjectResourceQuotaNamespaceDefaultLimitArgs(\n limits_cpu=\"500m\",\n limits_memory=\"500Mi\",\n requests_storage=\"1Gi\",\n ),\n ),\n container_resource_limit=rancher2.ProjectContainerResourceLimitArgs(\n limits_cpu=\"20m\",\n limits_memory=\"20Mi\",\n requests_cpu=\"1m\",\n requests_memory=\"1Mi\",\n ))\n# Create a new Rancher2 Project Alert Group\nfoo_project_alert_group = rancher2.ProjectAlertGroup(\"fooProjectAlertGroup\",\n description=\"Terraform project alert group\",\n project_id=foo_project.id,\n group_interval_seconds=300,\n repeat_interval_seconds=3600)\n# Create a new Rancher2 Project Alert Rule\nfoo_project_alert_rule = rancher2.ProjectAlertRule(\"fooProjectAlertRule\",\n project_id=foo_project_alert_group.project_id,\n group_id=foo_project_alert_group.id,\n group_interval_seconds=600,\n repeat_interval_seconds=6000)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new Rancher2 Project\n var fooProject = new Rancher2.Project(\"fooProject\", new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Description = \"Terraform project \",\n ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs\n {\n ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs\n {\n LimitsCpu = \"2000m\",\n LimitsMemory = \"2000Mi\",\n RequestsStorage = \"2Gi\",\n },\n NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs\n {\n LimitsCpu = \"500m\",\n LimitsMemory = \"500Mi\",\n RequestsStorage = \"1Gi\",\n },\n },\n ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs\n {\n LimitsCpu = \"20m\",\n LimitsMemory = \"20Mi\",\n RequestsCpu = \"1m\",\n RequestsMemory = \"1Mi\",\n },\n });\n\n // Create a new Rancher2 Project Alert Group\n var fooProjectAlertGroup = new Rancher2.ProjectAlertGroup(\"fooProjectAlertGroup\", new()\n {\n Description = \"Terraform project alert group\",\n ProjectId = fooProject.Id,\n GroupIntervalSeconds = 300,\n RepeatIntervalSeconds = 3600,\n });\n\n // Create a new Rancher2 Project Alert Rule\n var fooProjectAlertRule = new Rancher2.ProjectAlertRule(\"fooProjectAlertRule\", new()\n {\n ProjectId = fooProjectAlertGroup.ProjectId,\n GroupId = fooProjectAlertGroup.Id,\n GroupIntervalSeconds = 600,\n RepeatIntervalSeconds = 6000,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooProject, err := rancher2.NewProject(ctx, \"fooProject\", \u0026rancher2.ProjectArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster_id\u003e\"),\n\t\t\tDescription: pulumi.String(\"Terraform project \"),\n\t\t\tResourceQuota: \u0026ProjectResourceQuotaArgs{\n\t\t\t\tProjectLimit: \u0026ProjectResourceQuotaProjectLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"2000m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"2000Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"2Gi\"),\n\t\t\t\t},\n\t\t\t\tNamespaceDefaultLimit: \u0026ProjectResourceQuotaNamespaceDefaultLimitArgs{\n\t\t\t\t\tLimitsCpu: pulumi.String(\"500m\"),\n\t\t\t\t\tLimitsMemory: pulumi.String(\"500Mi\"),\n\t\t\t\t\tRequestsStorage: pulumi.String(\"1Gi\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tContainerResourceLimit: \u0026ProjectContainerResourceLimitArgs{\n\t\t\t\tLimitsCpu: pulumi.String(\"20m\"),\n\t\t\t\tLimitsMemory: pulumi.String(\"20Mi\"),\n\t\t\t\tRequestsCpu: pulumi.String(\"1m\"),\n\t\t\t\tRequestsMemory: pulumi.String(\"1Mi\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tfooProjectAlertGroup, err := rancher2.NewProjectAlertGroup(ctx, \"fooProjectAlertGroup\", \u0026rancher2.ProjectAlertGroupArgs{\n\t\t\tDescription: pulumi.String(\"Terraform project alert group\"),\n\t\t\tProjectId: fooProject.ID(),\n\t\t\tGroupIntervalSeconds: pulumi.Int(300),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(3600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewProjectAlertRule(ctx, \"fooProjectAlertRule\", \u0026rancher2.ProjectAlertRuleArgs{\n\t\t\tProjectId: fooProjectAlertGroup.ProjectId,\n\t\t\tGroupId: fooProjectAlertGroup.ID(),\n\t\t\tGroupIntervalSeconds: pulumi.Int(600),\n\t\t\tRepeatIntervalSeconds: pulumi.Int(6000),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Project;\nimport com.pulumi.rancher2.ProjectArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaProjectLimitArgs;\nimport com.pulumi.rancher2.inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs;\nimport com.pulumi.rancher2.inputs.ProjectContainerResourceLimitArgs;\nimport com.pulumi.rancher2.ProjectAlertGroup;\nimport com.pulumi.rancher2.ProjectAlertGroupArgs;\nimport com.pulumi.rancher2.ProjectAlertRule;\nimport com.pulumi.rancher2.ProjectAlertRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooProject = new Project(\"fooProject\", ProjectArgs.builder() \n .clusterId(\"\u003ccluster_id\u003e\")\n .description(\"Terraform project \")\n .resourceQuota(ProjectResourceQuotaArgs.builder()\n .projectLimit(ProjectResourceQuotaProjectLimitArgs.builder()\n .limitsCpu(\"2000m\")\n .limitsMemory(\"2000Mi\")\n .requestsStorage(\"2Gi\")\n .build())\n .namespaceDefaultLimit(ProjectResourceQuotaNamespaceDefaultLimitArgs.builder()\n .limitsCpu(\"500m\")\n .limitsMemory(\"500Mi\")\n .requestsStorage(\"1Gi\")\n .build())\n .build())\n .containerResourceLimit(ProjectContainerResourceLimitArgs.builder()\n .limitsCpu(\"20m\")\n .limitsMemory(\"20Mi\")\n .requestsCpu(\"1m\")\n .requestsMemory(\"1Mi\")\n .build())\n .build());\n\n var fooProjectAlertGroup = new ProjectAlertGroup(\"fooProjectAlertGroup\", ProjectAlertGroupArgs.builder() \n .description(\"Terraform project alert group\")\n .projectId(fooProject.id())\n .groupIntervalSeconds(300)\n .repeatIntervalSeconds(3600)\n .build());\n\n var fooProjectAlertRule = new ProjectAlertRule(\"fooProjectAlertRule\", ProjectAlertRuleArgs.builder() \n .projectId(fooProjectAlertGroup.projectId())\n .groupId(fooProjectAlertGroup.id())\n .groupIntervalSeconds(600)\n .repeatIntervalSeconds(6000)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Rancher2 Project\n fooProject:\n type: rancher2:Project\n properties:\n clusterId: \u003ccluster_id\u003e\n description: 'Terraform project '\n resourceQuota:\n projectLimit:\n limitsCpu: 2000m\n limitsMemory: 2000Mi\n requestsStorage: 2Gi\n namespaceDefaultLimit:\n limitsCpu: 500m\n limitsMemory: 500Mi\n requestsStorage: 1Gi\n containerResourceLimit:\n limitsCpu: 20m\n limitsMemory: 20Mi\n requestsCpu: 1m\n requestsMemory: 1Mi\n # Create a new Rancher2 Project Alert Group\n fooProjectAlertGroup:\n type: rancher2:ProjectAlertGroup\n properties:\n description: Terraform project alert group\n projectId: ${fooProject.id}\n groupIntervalSeconds: 300\n repeatIntervalSeconds: 3600\n # Create a new Rancher2 Project Alert Rule\n fooProjectAlertRule:\n type: rancher2:ProjectAlertRule\n properties:\n projectId: ${fooProjectAlertGroup.projectId}\n groupId: ${fooProjectAlertGroup.id}\n groupIntervalSeconds: 600\n repeatIntervalSeconds: 6000\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProject Alert Rule can be imported using the Rancher project alert rule ID\n\n```sh\n $ pulumi import rancher2:index/projectAlertRule:ProjectAlertRule foo \u0026lt;project_alert_rule_id\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -46931,7 +50344,7 @@ } }, "rancher2:index/projectLogging:ProjectLogging": { - "description": "Provides a Rancher v2 Project Logging resource. This can be used to create Project Logging for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Project Logging\nconst foo = new rancher2.ProjectLogging(\"foo\", {\n kind: \"syslog\",\n projectId: \"\u003cproject_id\u003e\",\n syslogConfig: {\n endpoint: \"\u003csyslog_endpoint\u003e\",\n protocol: \"udp\",\n severity: \"notice\",\n sslVerify: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Project Logging\nfoo = rancher2.ProjectLogging(\"foo\",\n kind=\"syslog\",\n project_id=\"\u003cproject_id\u003e\",\n syslog_config=rancher2.ProjectLoggingSyslogConfigArgs(\n endpoint=\"\u003csyslog_endpoint\u003e\",\n protocol=\"udp\",\n severity=\"notice\",\n ssl_verify=False,\n ))\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Project Logging\n var foo = new Rancher2.ProjectLogging(\"foo\", new Rancher2.ProjectLoggingArgs\n {\n Kind = \"syslog\",\n ProjectId = \"\u003cproject_id\u003e\",\n SyslogConfig = new Rancher2.Inputs.ProjectLoggingSyslogConfigArgs\n {\n Endpoint = \"\u003csyslog_endpoint\u003e\",\n Protocol = \"udp\",\n Severity = \"notice\",\n SslVerify = false,\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProjectLogging(ctx, \"foo\", \u0026rancher2.ProjectLoggingArgs{\n\t\t\tKind: pulumi.String(\"syslog\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tSyslogConfig: \u0026ProjectLoggingSyslogConfigArgs{\n\t\t\t\tEndpoint: pulumi.String(\"\u003csyslog_endpoint\u003e\"),\n\t\t\t\tProtocol: pulumi.String(\"udp\"),\n\t\t\t\tSeverity: pulumi.String(\"notice\"),\n\t\t\t\tSslVerify: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProject Logging can be imported using the Rancher Project Logging ID\n\n```sh\n $ pulumi import rancher2:index/projectLogging:ProjectLogging foo \u0026lt;project_logging_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Project Logging resource. This can be used to create Project Logging for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Project Logging\nconst foo = new rancher2.ProjectLogging(\"foo\", {\n kind: \"syslog\",\n projectId: \"\u003cproject_id\u003e\",\n syslogConfig: {\n endpoint: \"\u003csyslog_endpoint\u003e\",\n protocol: \"udp\",\n severity: \"notice\",\n sslVerify: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Project Logging\nfoo = rancher2.ProjectLogging(\"foo\",\n kind=\"syslog\",\n project_id=\"\u003cproject_id\u003e\",\n syslog_config=rancher2.ProjectLoggingSyslogConfigArgs(\n endpoint=\"\u003csyslog_endpoint\u003e\",\n protocol=\"udp\",\n severity=\"notice\",\n ssl_verify=False,\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Project Logging\n var foo = new Rancher2.ProjectLogging(\"foo\", new()\n {\n Kind = \"syslog\",\n ProjectId = \"\u003cproject_id\u003e\",\n SyslogConfig = new Rancher2.Inputs.ProjectLoggingSyslogConfigArgs\n {\n Endpoint = \"\u003csyslog_endpoint\u003e\",\n Protocol = \"udp\",\n Severity = \"notice\",\n SslVerify = false,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProjectLogging(ctx, \"foo\", \u0026rancher2.ProjectLoggingArgs{\n\t\t\tKind: pulumi.String(\"syslog\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tSyslogConfig: \u0026ProjectLoggingSyslogConfigArgs{\n\t\t\t\tEndpoint: pulumi.String(\"\u003csyslog_endpoint\u003e\"),\n\t\t\t\tProtocol: pulumi.String(\"udp\"),\n\t\t\t\tSeverity: pulumi.String(\"notice\"),\n\t\t\t\tSslVerify: pulumi.Bool(false),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ProjectLogging;\nimport com.pulumi.rancher2.ProjectLoggingArgs;\nimport com.pulumi.rancher2.inputs.ProjectLoggingSyslogConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ProjectLogging(\"foo\", ProjectLoggingArgs.builder() \n .kind(\"syslog\")\n .projectId(\"\u003cproject_id\u003e\")\n .syslogConfig(ProjectLoggingSyslogConfigArgs.builder()\n .endpoint(\"\u003csyslog_endpoint\u003e\")\n .protocol(\"udp\")\n .severity(\"notice\")\n .sslVerify(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Project Logging\n foo:\n type: rancher2:ProjectLogging\n properties:\n kind: syslog\n projectId: \u003cproject_id\u003e\n syslogConfig:\n endpoint: \u003csyslog_endpoint\u003e\n protocol: udp\n severity: notice\n sslVerify: false\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProject Logging can be imported using the Rancher Project Logging ID\n\n```sh\n $ pulumi import rancher2:index/projectLogging:ProjectLogging foo \u0026lt;project_logging_id\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -47041,7 +50454,8 @@ }, "kind": { "type": "string", - "description": "The kind of the Project Logging. `elasticsearch`, `fluentd`, `kafka`, `splunk` and `syslog` are supported (string)\n" + "description": "The kind of the Project Logging. `elasticsearch`, `fluentd`, `kafka`, `splunk` and `syslog` are supported (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -47071,7 +50485,8 @@ }, "projectId": { "type": "string", - "description": "The project id to configure logging (string)\n" + "description": "The project id to configure logging (string)\n", + "willReplaceOnChanges": true }, "splunkConfig": { "$ref": "#/types/rancher2:index/ProjectLoggingSplunkConfig:ProjectLoggingSplunkConfig", @@ -47118,7 +50533,8 @@ }, "kind": { "type": "string", - "description": "The kind of the Project Logging. `elasticsearch`, `fluentd`, `kafka`, `splunk` and `syslog` are supported (string)\n" + "description": "The kind of the Project Logging. `elasticsearch`, `fluentd`, `kafka`, `splunk` and `syslog` are supported (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -47148,7 +50564,8 @@ }, "projectId": { "type": "string", - "description": "The project id to configure logging (string)\n" + "description": "The project id to configure logging (string)\n", + "willReplaceOnChanges": true }, "splunkConfig": { "$ref": "#/types/rancher2:index/ProjectLoggingSplunkConfig:ProjectLoggingSplunkConfig", @@ -47163,7 +50580,7 @@ } }, "rancher2:index/projectRoleTemplateBinding:ProjectRoleTemplateBinding": { - "description": "Provides a Rancher v2 Project Role Template Binding resource. This can be used to create Project Role Template Bindings for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Project Role Template Binding\nconst foo = new rancher2.ProjectRoleTemplateBinding(\"foo\", {\n projectId: \"\u003cproject_id\u003e\",\n roleTemplateId: \"\u003crole_template_id\u003e\",\n userId: \"\u003cuser_id\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Project Role Template Binding\nfoo = rancher2.ProjectRoleTemplateBinding(\"foo\",\n project_id=\"\u003cproject_id\u003e\",\n role_template_id=\"\u003crole_template_id\u003e\",\n user_id=\"\u003cuser_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Project Role Template Binding\n var foo = new Rancher2.ProjectRoleTemplateBinding(\"foo\", new Rancher2.ProjectRoleTemplateBindingArgs\n {\n ProjectId = \"\u003cproject_id\u003e\",\n RoleTemplateId = \"\u003crole_template_id\u003e\",\n UserId = \"\u003cuser_id\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProjectRoleTemplateBinding(ctx, \"foo\", \u0026rancher2.ProjectRoleTemplateBindingArgs{\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tRoleTemplateId: pulumi.String(\"\u003crole_template_id\u003e\"),\n\t\t\tUserId: pulumi.String(\"\u003cuser_id\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProject Role Template Bindings can be imported using the Rancher Project Role Template Binding ID\n\n```sh\n $ pulumi import rancher2:index/projectRoleTemplateBinding:ProjectRoleTemplateBinding foo \u0026lt;project_role_template_binding_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Project Role Template Binding resource. This can be used to create Project Role Template Bindings for Rancher v2 environments and retrieve their information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Project Role Template Binding\nconst foo = new rancher2.ProjectRoleTemplateBinding(\"foo\", {\n projectId: \"\u003cproject_id\u003e\",\n roleTemplateId: \"\u003crole_template_id\u003e\",\n userId: \"\u003cuser_id\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Project Role Template Binding\nfoo = rancher2.ProjectRoleTemplateBinding(\"foo\",\n project_id=\"\u003cproject_id\u003e\",\n role_template_id=\"\u003crole_template_id\u003e\",\n user_id=\"\u003cuser_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Project Role Template Binding\n var foo = new Rancher2.ProjectRoleTemplateBinding(\"foo\", new()\n {\n ProjectId = \"\u003cproject_id\u003e\",\n RoleTemplateId = \"\u003crole_template_id\u003e\",\n UserId = \"\u003cuser_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewProjectRoleTemplateBinding(ctx, \"foo\", \u0026rancher2.ProjectRoleTemplateBindingArgs{\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tRoleTemplateId: pulumi.String(\"\u003crole_template_id\u003e\"),\n\t\t\tUserId: pulumi.String(\"\u003cuser_id\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.ProjectRoleTemplateBinding;\nimport com.pulumi.rancher2.ProjectRoleTemplateBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new ProjectRoleTemplateBinding(\"foo\", ProjectRoleTemplateBindingArgs.builder() \n .projectId(\"\u003cproject_id\u003e\")\n .roleTemplateId(\"\u003crole_template_id\u003e\")\n .userId(\"\u003cuser_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Project Role Template Binding\n foo:\n type: rancher2:ProjectRoleTemplateBinding\n properties:\n projectId: \u003cproject_id\u003e\n roleTemplateId: \u003crole_template_id\u003e\n userId: \u003cuser_id\u003e\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProject Role Template Bindings can be imported using the Rancher Project Role Template Binding ID\n\n```sh\n $ pulumi import rancher2:index/projectRoleTemplateBinding:ProjectRoleTemplateBinding foo \u0026lt;project_role_template_binding_id\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -47229,11 +50646,13 @@ }, "groupId": { "type": "string", - "description": "The group ID to assign project role template binding (string)\n" + "description": "The group ID to assign project role template binding (string)\n", + "willReplaceOnChanges": true }, "groupPrincipalId": { "type": "string", - "description": "The group_principal ID to assign project role template binding (string)\n" + "description": "The group_principal ID to assign project role template binding (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -47244,23 +50663,28 @@ }, "name": { "type": "string", - "description": "The name of the project role template binding (string)\n" + "description": "The name of the project role template binding (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "The project id where bind project role template (string)\n" + "description": "The project id where bind project role template (string)\n", + "willReplaceOnChanges": true }, "roleTemplateId": { "type": "string", - "description": "The role template id from create project role template binding (string)\n" + "description": "The role template id from create project role template binding (string)\n", + "willReplaceOnChanges": true }, "userId": { "type": "string", - "description": "The user ID to assign project role template binding (string)\n" + "description": "The user ID to assign project role template binding (string)\n", + "willReplaceOnChanges": true }, "userPrincipalId": { "type": "string", - "description": "The user_principal ID to assign project role template binding (string)\n" + "description": "The user_principal ID to assign project role template binding (string)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -47279,11 +50703,13 @@ }, "groupId": { "type": "string", - "description": "The group ID to assign project role template binding (string)\n" + "description": "The group ID to assign project role template binding (string)\n", + "willReplaceOnChanges": true }, "groupPrincipalId": { "type": "string", - "description": "The group_principal ID to assign project role template binding (string)\n" + "description": "The group_principal ID to assign project role template binding (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -47294,30 +50720,35 @@ }, "name": { "type": "string", - "description": "The name of the project role template binding (string)\n" + "description": "The name of the project role template binding (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "The project id where bind project role template (string)\n" + "description": "The project id where bind project role template (string)\n", + "willReplaceOnChanges": true }, "roleTemplateId": { "type": "string", - "description": "The role template id from create project role template binding (string)\n" + "description": "The role template id from create project role template binding (string)\n", + "willReplaceOnChanges": true }, "userId": { "type": "string", - "description": "The user ID to assign project role template binding (string)\n" + "description": "The user ID to assign project role template binding (string)\n", + "willReplaceOnChanges": true }, "userPrincipalId": { "type": "string", - "description": "The user_principal ID to assign project role template binding (string)\n" + "description": "The user_principal ID to assign project role template binding (string)\n", + "willReplaceOnChanges": true } }, "type": "object" } }, "rancher2:index/registry:Registry": { - "description": "Provides a Rancher v2 Registry resource. This can be used to create docker registries for Rancher v2 environments and retrieve their information.\n\nDepending of the availability, there are 2 types of Rancher v2 docker registries:\n- Project registry: Available to all namespaces in the `project_id`\n- Namespaced registry: Available to just `namespace_id` in the `project_id`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Project Registry\nconst foo = new rancher2.Registry(\"foo\", {\n description: \"Terraform registry foo\",\n projectId: \"\u003cproject_id\u003e\",\n registries: [{\n address: \"test.io\",\n password: \"pass\",\n username: \"user\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Project Registry\nfoo = rancher2.Registry(\"foo\",\n description=\"Terraform registry foo\",\n project_id=\"\u003cproject_id\u003e\",\n registries=[rancher2.RegistryRegistryArgs(\n address=\"test.io\",\n password=\"pass\",\n username=\"user\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Project Registry\n var foo = new Rancher2.Registry(\"foo\", new Rancher2.RegistryArgs\n {\n Description = \"Terraform registry foo\",\n ProjectId = \"\u003cproject_id\u003e\",\n Registries = \n {\n new Rancher2.Inputs.RegistryRegistryArgs\n {\n Address = \"test.io\",\n Password = \"pass\",\n Username = \"user\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRegistry(ctx, \"foo\", \u0026rancher2.RegistryArgs{\n\t\t\tDescription: pulumi.String(\"Terraform registry foo\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tRegistries: RegistryRegistryArray{\n\t\t\t\t\u0026RegistryRegistryArgs{\n\t\t\t\t\tAddress: pulumi.String(\"test.io\"),\n\t\t\t\t\tPassword: pulumi.String(\"pass\"),\n\t\t\t\t\tUsername: pulumi.String(\"user\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Namespaced Registry\nconst foo = new rancher2.Registry(\"foo\", {\n description: \"Terraform registry foo\",\n namespaceId: \"\u003cnamespace_id\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n registries: [{\n address: \"test.io\",\n password: \"pass\",\n username: \"user2\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Namespaced Registry\nfoo = rancher2.Registry(\"foo\",\n description=\"Terraform registry foo\",\n namespace_id=\"\u003cnamespace_id\u003e\",\n project_id=\"\u003cproject_id\u003e\",\n registries=[rancher2.RegistryRegistryArgs(\n address=\"test.io\",\n password=\"pass\",\n username=\"user2\",\n )])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Namespaced Registry\n var foo = new Rancher2.Registry(\"foo\", new Rancher2.RegistryArgs\n {\n Description = \"Terraform registry foo\",\n NamespaceId = \"\u003cnamespace_id\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n Registries = \n {\n new Rancher2.Inputs.RegistryRegistryArgs\n {\n Address = \"test.io\",\n Password = \"pass\",\n Username = \"user2\",\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRegistry(ctx, \"foo\", \u0026rancher2.RegistryArgs{\n\t\t\tDescription: pulumi.String(\"Terraform registry foo\"),\n\t\t\tNamespaceId: pulumi.String(\"\u003cnamespace_id\u003e\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tRegistries: RegistryRegistryArray{\n\t\t\t\t\u0026RegistryRegistryArgs{\n\t\t\t\t\tAddress: pulumi.String(\"test.io\"),\n\t\t\t\t\tPassword: pulumi.String(\"pass\"),\n\t\t\t\t\tUsername: pulumi.String(\"user2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRegistries can be imported using the registry ID in the format `\u003cnamespace_id\u003e.\u003cproject_id\u003e.\u003cregistry_id\u003e`\n\n```sh\n $ pulumi import rancher2:index/registry:Registry foo \u0026lt;namespace_id\u0026gt;.\u0026lt;project_id\u0026gt;.\u0026lt;registry_id\u0026gt;\n```\n\n `\u003cnamespace_id\u003e` is optional, just needed for namespaced registry. ", + "description": "Provides a Rancher v2 Registry resource. This can be used to create docker registries for Rancher v2 environments and retrieve their information.\n\nDepending of the availability, there are 2 types of Rancher v2 docker registries:\n- Project registry: Available to all namespaces in the `project_id`\n- Namespaced registry: Available to just `namespace_id` in the `project_id`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Project Registry\nconst foo = new rancher2.Registry(\"foo\", {\n description: \"Terraform registry foo\",\n projectId: \"\u003cproject_id\u003e\",\n registries: [{\n address: \"test.io\",\n password: \"pass\",\n username: \"user\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Project Registry\nfoo = rancher2.Registry(\"foo\",\n description=\"Terraform registry foo\",\n project_id=\"\u003cproject_id\u003e\",\n registries=[rancher2.RegistryRegistryArgs(\n address=\"test.io\",\n password=\"pass\",\n username=\"user\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Project Registry\n var foo = new Rancher2.Registry(\"foo\", new()\n {\n Description = \"Terraform registry foo\",\n ProjectId = \"\u003cproject_id\u003e\",\n Registries = new[]\n {\n new Rancher2.Inputs.RegistryRegistryArgs\n {\n Address = \"test.io\",\n Password = \"pass\",\n Username = \"user\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRegistry(ctx, \"foo\", \u0026rancher2.RegistryArgs{\n\t\t\tDescription: pulumi.String(\"Terraform registry foo\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tRegistries: RegistryRegistryArray{\n\t\t\t\t\u0026RegistryRegistryArgs{\n\t\t\t\t\tAddress: pulumi.String(\"test.io\"),\n\t\t\t\t\tPassword: pulumi.String(\"pass\"),\n\t\t\t\t\tUsername: pulumi.String(\"user\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Registry;\nimport com.pulumi.rancher2.RegistryArgs;\nimport com.pulumi.rancher2.inputs.RegistryRegistryArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Registry(\"foo\", RegistryArgs.builder() \n .description(\"Terraform registry foo\")\n .projectId(\"\u003cproject_id\u003e\")\n .registries(RegistryRegistryArgs.builder()\n .address(\"test.io\")\n .password(\"pass\")\n .username(\"user\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Project Registry\n foo:\n type: rancher2:Registry\n properties:\n description: Terraform registry foo\n projectId: \u003cproject_id\u003e\n registries:\n - address: test.io\n password: pass\n username: user\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Namespaced Registry\nconst foo = new rancher2.Registry(\"foo\", {\n description: \"Terraform registry foo\",\n namespaceId: \"\u003cnamespace_id\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n registries: [{\n address: \"test.io\",\n password: \"pass\",\n username: \"user2\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Namespaced Registry\nfoo = rancher2.Registry(\"foo\",\n description=\"Terraform registry foo\",\n namespace_id=\"\u003cnamespace_id\u003e\",\n project_id=\"\u003cproject_id\u003e\",\n registries=[rancher2.RegistryRegistryArgs(\n address=\"test.io\",\n password=\"pass\",\n username=\"user2\",\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Namespaced Registry\n var foo = new Rancher2.Registry(\"foo\", new()\n {\n Description = \"Terraform registry foo\",\n NamespaceId = \"\u003cnamespace_id\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n Registries = new[]\n {\n new Rancher2.Inputs.RegistryRegistryArgs\n {\n Address = \"test.io\",\n Password = \"pass\",\n Username = \"user2\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRegistry(ctx, \"foo\", \u0026rancher2.RegistryArgs{\n\t\t\tDescription: pulumi.String(\"Terraform registry foo\"),\n\t\t\tNamespaceId: pulumi.String(\"\u003cnamespace_id\u003e\"),\n\t\t\tProjectId: pulumi.String(\"\u003cproject_id\u003e\"),\n\t\t\tRegistries: RegistryRegistryArray{\n\t\t\t\t\u0026RegistryRegistryArgs{\n\t\t\t\t\tAddress: pulumi.String(\"test.io\"),\n\t\t\t\t\tPassword: pulumi.String(\"pass\"),\n\t\t\t\t\tUsername: pulumi.String(\"user2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Registry;\nimport com.pulumi.rancher2.RegistryArgs;\nimport com.pulumi.rancher2.inputs.RegistryRegistryArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Registry(\"foo\", RegistryArgs.builder() \n .description(\"Terraform registry foo\")\n .namespaceId(\"\u003cnamespace_id\u003e\")\n .projectId(\"\u003cproject_id\u003e\")\n .registries(RegistryRegistryArgs.builder()\n .address(\"test.io\")\n .password(\"pass\")\n .username(\"user2\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Namespaced Registry\n foo:\n type: rancher2:Registry\n properties:\n description: Terraform registry foo\n namespaceId: \u003cnamespace_id\u003e\n projectId: \u003cproject_id\u003e\n registries:\n - address: test.io\n password: pass\n username: user2\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRegistries can be imported using the registry ID in the format `\u003cnamespace_id\u003e.\u003cproject_id\u003e.\u003cregistry_id\u003e`\n\n```sh\n $ pulumi import rancher2:index/registry:Registry foo \u0026lt;namespace_id\u0026gt;.\u0026lt;project_id\u0026gt;.\u0026lt;registry_id\u0026gt;\n```\n\n `\u003cnamespace_id\u003e` is optional, just needed for namespaced registry. ", "properties": { "annotations": { "type": "object", @@ -47385,15 +50816,18 @@ }, "name": { "type": "string", - "description": "The name of the registry (string)\n" + "description": "The name of the registry (string)\n", + "willReplaceOnChanges": true }, "namespaceId": { "type": "string", - "description": "The namespace id where to assign the namespaced registry (string)\n" + "description": "The namespace id where to assign the namespaced registry (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "The project id where to assign the registry (string)\n" + "description": "The project id where to assign the registry (string)\n", + "willReplaceOnChanges": true }, "registries": { "type": "array", @@ -47430,15 +50864,18 @@ }, "name": { "type": "string", - "description": "The name of the registry (string)\n" + "description": "The name of the registry (string)\n", + "willReplaceOnChanges": true }, "namespaceId": { "type": "string", - "description": "The namespace id where to assign the namespaced registry (string)\n" + "description": "The namespace id where to assign the namespaced registry (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "The project id where to assign the registry (string)\n" + "description": "The project id where to assign the registry (string)\n", + "willReplaceOnChanges": true }, "registries": { "type": "array", @@ -47452,7 +50889,7 @@ } }, "rancher2:index/roleTempalte:RoleTempalte": { - "description": "Provides a Rancher v2 Role Template resource. This can be used to create Role Template for Rancher v2 and retrieve their information. \n\n`cluster` and `project` scopes are supported for role templates.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 cluster Role Template\nconst foo = new rancher2.RoleTemplate(\"foo\", {\n context: \"cluster\",\n defaultRole: true,\n description: \"Terraform role template acceptance test\",\n rules: [{\n apiGroups: [\"*\"],\n resources: [\"secrets\"],\n verbs: [\"create\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 cluster Role Template\nfoo = rancher2.RoleTemplate(\"foo\",\n context=\"cluster\",\n default_role=True,\n description=\"Terraform role template acceptance test\",\n rules=[rancher2.RoleTemplateRuleArgs(\n api_groups=[\"*\"],\n resources=[\"secrets\"],\n verbs=[\"create\"],\n )])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 cluster Role Template\n var foo = new Rancher2.RoleTemplate(\"foo\", new Rancher2.RoleTemplateArgs\n {\n Context = \"cluster\",\n DefaultRole = true,\n Description = \"Terraform role template acceptance test\",\n Rules = \n {\n new Rancher2.Inputs.RoleTemplateRuleArgs\n {\n ApiGroups = \n {\n \"*\",\n },\n Resources = \n {\n \"secrets\",\n },\n Verbs = \n {\n \"create\",\n },\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRoleTemplate(ctx, \"foo\", \u0026rancher2.RoleTemplateArgs{\n\t\t\tContext: pulumi.String(\"cluster\"),\n\t\t\tDefaultRole: pulumi.Bool(true),\n\t\t\tDescription: pulumi.String(\"Terraform role template acceptance test\"),\n\t\t\tRules: RoleTemplateRuleArray{\n\t\t\t\t\u0026RoleTemplateRuleArgs{\n\t\t\t\t\tApiGroups: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tResources: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"secrets\"),\n\t\t\t\t\t},\n\t\t\t\t\tVerbs: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"create\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 project Role Template\nconst foo = new rancher2.RoleTemplate(\"foo\", {\n context: \"project\",\n defaultRole: true,\n description: \"Terraform role template acceptance test\",\n rules: [{\n apiGroups: [\"*\"],\n resources: [\"secrets\"],\n verbs: [\"create\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 project Role Template\nfoo = rancher2.RoleTemplate(\"foo\",\n context=\"project\",\n default_role=True,\n description=\"Terraform role template acceptance test\",\n rules=[rancher2.RoleTemplateRuleArgs(\n api_groups=[\"*\"],\n resources=[\"secrets\"],\n verbs=[\"create\"],\n )])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 project Role Template\n var foo = new Rancher2.RoleTemplate(\"foo\", new Rancher2.RoleTemplateArgs\n {\n Context = \"project\",\n DefaultRole = true,\n Description = \"Terraform role template acceptance test\",\n Rules = \n {\n new Rancher2.Inputs.RoleTemplateRuleArgs\n {\n ApiGroups = \n {\n \"*\",\n },\n Resources = \n {\n \"secrets\",\n },\n Verbs = \n {\n \"create\",\n },\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRoleTemplate(ctx, \"foo\", \u0026rancher2.RoleTemplateArgs{\n\t\t\tContext: pulumi.String(\"project\"),\n\t\t\tDefaultRole: pulumi.Bool(true),\n\t\t\tDescription: pulumi.String(\"Terraform role template acceptance test\"),\n\t\t\tRules: RoleTemplateRuleArray{\n\t\t\t\t\u0026RoleTemplateRuleArgs{\n\t\t\t\t\tApiGroups: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tResources: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"secrets\"),\n\t\t\t\t\t},\n\t\t\t\t\tVerbs: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"create\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRole Template can be imported using the Rancher Role Template ID\n\n```sh\n $ pulumi import rancher2:index/roleTempalte:RoleTempalte foo \u0026lt;role_template_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Role Template resource. This can be used to create Role Template for Rancher v2 and retrieve their information. \n\n`cluster` and `project` scopes are supported for role templates.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 cluster Role Template\nconst foo = new rancher2.RoleTemplate(\"foo\", {\n context: \"cluster\",\n defaultRole: true,\n description: \"Terraform role template acceptance test\",\n rules: [{\n apiGroups: [\"*\"],\n resources: [\"secrets\"],\n verbs: [\"create\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 cluster Role Template\nfoo = rancher2.RoleTemplate(\"foo\",\n context=\"cluster\",\n default_role=True,\n description=\"Terraform role template acceptance test\",\n rules=[rancher2.RoleTemplateRuleArgs(\n api_groups=[\"*\"],\n resources=[\"secrets\"],\n verbs=[\"create\"],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 cluster Role Template\n var foo = new Rancher2.RoleTemplate(\"foo\", new()\n {\n Context = \"cluster\",\n DefaultRole = true,\n Description = \"Terraform role template acceptance test\",\n Rules = new[]\n {\n new Rancher2.Inputs.RoleTemplateRuleArgs\n {\n ApiGroups = new[]\n {\n \"*\",\n },\n Resources = new[]\n {\n \"secrets\",\n },\n Verbs = new[]\n {\n \"create\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRoleTemplate(ctx, \"foo\", \u0026rancher2.RoleTemplateArgs{\n\t\t\tContext: pulumi.String(\"cluster\"),\n\t\t\tDefaultRole: pulumi.Bool(true),\n\t\t\tDescription: pulumi.String(\"Terraform role template acceptance test\"),\n\t\t\tRules: RoleTemplateRuleArray{\n\t\t\t\t\u0026RoleTemplateRuleArgs{\n\t\t\t\t\tApiGroups: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tResources: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"secrets\"),\n\t\t\t\t\t},\n\t\t\t\t\tVerbs: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"create\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.RoleTemplate;\nimport com.pulumi.rancher2.RoleTemplateArgs;\nimport com.pulumi.rancher2.inputs.RoleTemplateRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new RoleTemplate(\"foo\", RoleTemplateArgs.builder() \n .context(\"cluster\")\n .defaultRole(true)\n .description(\"Terraform role template acceptance test\")\n .rules(RoleTemplateRuleArgs.builder()\n .apiGroups(\"*\")\n .resources(\"secrets\")\n .verbs(\"create\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 cluster Role Template\n foo:\n type: rancher2:RoleTemplate\n properties:\n context: cluster\n defaultRole: true\n description: Terraform role template acceptance test\n rules:\n - apiGroups:\n - '*'\n resources:\n - secrets\n verbs:\n - create\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 project Role Template\nconst foo = new rancher2.RoleTemplate(\"foo\", {\n context: \"project\",\n defaultRole: true,\n description: \"Terraform role template acceptance test\",\n rules: [{\n apiGroups: [\"*\"],\n resources: [\"secrets\"],\n verbs: [\"create\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 project Role Template\nfoo = rancher2.RoleTemplate(\"foo\",\n context=\"project\",\n default_role=True,\n description=\"Terraform role template acceptance test\",\n rules=[rancher2.RoleTemplateRuleArgs(\n api_groups=[\"*\"],\n resources=[\"secrets\"],\n verbs=[\"create\"],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 project Role Template\n var foo = new Rancher2.RoleTemplate(\"foo\", new()\n {\n Context = \"project\",\n DefaultRole = true,\n Description = \"Terraform role template acceptance test\",\n Rules = new[]\n {\n new Rancher2.Inputs.RoleTemplateRuleArgs\n {\n ApiGroups = new[]\n {\n \"*\",\n },\n Resources = new[]\n {\n \"secrets\",\n },\n Verbs = new[]\n {\n \"create\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRoleTemplate(ctx, \"foo\", \u0026rancher2.RoleTemplateArgs{\n\t\t\tContext: pulumi.String(\"project\"),\n\t\t\tDefaultRole: pulumi.Bool(true),\n\t\t\tDescription: pulumi.String(\"Terraform role template acceptance test\"),\n\t\t\tRules: RoleTemplateRuleArray{\n\t\t\t\t\u0026RoleTemplateRuleArgs{\n\t\t\t\t\tApiGroups: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tResources: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"secrets\"),\n\t\t\t\t\t},\n\t\t\t\t\tVerbs: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"create\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.RoleTemplate;\nimport com.pulumi.rancher2.RoleTemplateArgs;\nimport com.pulumi.rancher2.inputs.RoleTemplateRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new RoleTemplate(\"foo\", RoleTemplateArgs.builder() \n .context(\"project\")\n .defaultRole(true)\n .description(\"Terraform role template acceptance test\")\n .rules(RoleTemplateRuleArgs.builder()\n .apiGroups(\"*\")\n .resources(\"secrets\")\n .verbs(\"create\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 project Role Template\n foo:\n type: rancher2:RoleTemplate\n properties:\n context: project\n defaultRole: true\n description: Terraform role template acceptance test\n rules:\n - apiGroups:\n - '*'\n resources:\n - secrets\n verbs:\n - create\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRole Template can be imported using the Rancher Role Template ID\n\n```sh\n $ pulumi import rancher2:index/roleTempalte:RoleTempalte foo \u0026lt;role_template_id\u0026gt;\n```\n\n ", "properties": { "administrative": { "type": "boolean", @@ -47663,7 +51100,7 @@ "deprecationMessage": "rancher2.RoleTempalte has been deprecated in favor of rancher2.RoleTemplate" }, "rancher2:index/roleTemplate:RoleTemplate": { - "description": "Provides a Rancher v2 Role Template resource. This can be used to create Role Template for Rancher v2 and retrieve their information. \n\n`cluster` and `project` scopes are supported for role templates.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 cluster Role Template\nconst foo = new rancher2.RoleTemplate(\"foo\", {\n context: \"cluster\",\n defaultRole: true,\n description: \"Terraform role template acceptance test\",\n rules: [{\n apiGroups: [\"*\"],\n resources: [\"secrets\"],\n verbs: [\"create\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 cluster Role Template\nfoo = rancher2.RoleTemplate(\"foo\",\n context=\"cluster\",\n default_role=True,\n description=\"Terraform role template acceptance test\",\n rules=[rancher2.RoleTemplateRuleArgs(\n api_groups=[\"*\"],\n resources=[\"secrets\"],\n verbs=[\"create\"],\n )])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 cluster Role Template\n var foo = new Rancher2.RoleTemplate(\"foo\", new Rancher2.RoleTemplateArgs\n {\n Context = \"cluster\",\n DefaultRole = true,\n Description = \"Terraform role template acceptance test\",\n Rules = \n {\n new Rancher2.Inputs.RoleTemplateRuleArgs\n {\n ApiGroups = \n {\n \"*\",\n },\n Resources = \n {\n \"secrets\",\n },\n Verbs = \n {\n \"create\",\n },\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRoleTemplate(ctx, \"foo\", \u0026rancher2.RoleTemplateArgs{\n\t\t\tContext: pulumi.String(\"cluster\"),\n\t\t\tDefaultRole: pulumi.Bool(true),\n\t\t\tDescription: pulumi.String(\"Terraform role template acceptance test\"),\n\t\t\tRules: RoleTemplateRuleArray{\n\t\t\t\t\u0026RoleTemplateRuleArgs{\n\t\t\t\t\tApiGroups: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tResources: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"secrets\"),\n\t\t\t\t\t},\n\t\t\t\t\tVerbs: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"create\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 project Role Template\nconst foo = new rancher2.RoleTemplate(\"foo\", {\n context: \"project\",\n defaultRole: true,\n description: \"Terraform role template acceptance test\",\n rules: [{\n apiGroups: [\"*\"],\n resources: [\"secrets\"],\n verbs: [\"create\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 project Role Template\nfoo = rancher2.RoleTemplate(\"foo\",\n context=\"project\",\n default_role=True,\n description=\"Terraform role template acceptance test\",\n rules=[rancher2.RoleTemplateRuleArgs(\n api_groups=[\"*\"],\n resources=[\"secrets\"],\n verbs=[\"create\"],\n )])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 project Role Template\n var foo = new Rancher2.RoleTemplate(\"foo\", new Rancher2.RoleTemplateArgs\n {\n Context = \"project\",\n DefaultRole = true,\n Description = \"Terraform role template acceptance test\",\n Rules = \n {\n new Rancher2.Inputs.RoleTemplateRuleArgs\n {\n ApiGroups = \n {\n \"*\",\n },\n Resources = \n {\n \"secrets\",\n },\n Verbs = \n {\n \"create\",\n },\n },\n },\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRoleTemplate(ctx, \"foo\", \u0026rancher2.RoleTemplateArgs{\n\t\t\tContext: pulumi.String(\"project\"),\n\t\t\tDefaultRole: pulumi.Bool(true),\n\t\t\tDescription: pulumi.String(\"Terraform role template acceptance test\"),\n\t\t\tRules: RoleTemplateRuleArray{\n\t\t\t\t\u0026RoleTemplateRuleArgs{\n\t\t\t\t\tApiGroups: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tResources: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"secrets\"),\n\t\t\t\t\t},\n\t\t\t\t\tVerbs: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"create\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRole Template can be imported using the Rancher Role Template ID\n\n```sh\n $ pulumi import rancher2:index/roleTemplate:RoleTemplate foo \u0026lt;role_template_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Role Template resource. This can be used to create Role Template for Rancher v2 and retrieve their information. \n\n`cluster` and `project` scopes are supported for role templates.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 cluster Role Template\nconst foo = new rancher2.RoleTemplate(\"foo\", {\n context: \"cluster\",\n defaultRole: true,\n description: \"Terraform role template acceptance test\",\n rules: [{\n apiGroups: [\"*\"],\n resources: [\"secrets\"],\n verbs: [\"create\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 cluster Role Template\nfoo = rancher2.RoleTemplate(\"foo\",\n context=\"cluster\",\n default_role=True,\n description=\"Terraform role template acceptance test\",\n rules=[rancher2.RoleTemplateRuleArgs(\n api_groups=[\"*\"],\n resources=[\"secrets\"],\n verbs=[\"create\"],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 cluster Role Template\n var foo = new Rancher2.RoleTemplate(\"foo\", new()\n {\n Context = \"cluster\",\n DefaultRole = true,\n Description = \"Terraform role template acceptance test\",\n Rules = new[]\n {\n new Rancher2.Inputs.RoleTemplateRuleArgs\n {\n ApiGroups = new[]\n {\n \"*\",\n },\n Resources = new[]\n {\n \"secrets\",\n },\n Verbs = new[]\n {\n \"create\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRoleTemplate(ctx, \"foo\", \u0026rancher2.RoleTemplateArgs{\n\t\t\tContext: pulumi.String(\"cluster\"),\n\t\t\tDefaultRole: pulumi.Bool(true),\n\t\t\tDescription: pulumi.String(\"Terraform role template acceptance test\"),\n\t\t\tRules: RoleTemplateRuleArray{\n\t\t\t\t\u0026RoleTemplateRuleArgs{\n\t\t\t\t\tApiGroups: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tResources: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"secrets\"),\n\t\t\t\t\t},\n\t\t\t\t\tVerbs: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"create\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.RoleTemplate;\nimport com.pulumi.rancher2.RoleTemplateArgs;\nimport com.pulumi.rancher2.inputs.RoleTemplateRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new RoleTemplate(\"foo\", RoleTemplateArgs.builder() \n .context(\"cluster\")\n .defaultRole(true)\n .description(\"Terraform role template acceptance test\")\n .rules(RoleTemplateRuleArgs.builder()\n .apiGroups(\"*\")\n .resources(\"secrets\")\n .verbs(\"create\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 cluster Role Template\n foo:\n type: rancher2:RoleTemplate\n properties:\n context: cluster\n defaultRole: true\n description: Terraform role template acceptance test\n rules:\n - apiGroups:\n - '*'\n resources:\n - secrets\n verbs:\n - create\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 project Role Template\nconst foo = new rancher2.RoleTemplate(\"foo\", {\n context: \"project\",\n defaultRole: true,\n description: \"Terraform role template acceptance test\",\n rules: [{\n apiGroups: [\"*\"],\n resources: [\"secrets\"],\n verbs: [\"create\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 project Role Template\nfoo = rancher2.RoleTemplate(\"foo\",\n context=\"project\",\n default_role=True,\n description=\"Terraform role template acceptance test\",\n rules=[rancher2.RoleTemplateRuleArgs(\n api_groups=[\"*\"],\n resources=[\"secrets\"],\n verbs=[\"create\"],\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 project Role Template\n var foo = new Rancher2.RoleTemplate(\"foo\", new()\n {\n Context = \"project\",\n DefaultRole = true,\n Description = \"Terraform role template acceptance test\",\n Rules = new[]\n {\n new Rancher2.Inputs.RoleTemplateRuleArgs\n {\n ApiGroups = new[]\n {\n \"*\",\n },\n Resources = new[]\n {\n \"secrets\",\n },\n Verbs = new[]\n {\n \"create\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewRoleTemplate(ctx, \"foo\", \u0026rancher2.RoleTemplateArgs{\n\t\t\tContext: pulumi.String(\"project\"),\n\t\t\tDefaultRole: pulumi.Bool(true),\n\t\t\tDescription: pulumi.String(\"Terraform role template acceptance test\"),\n\t\t\tRules: RoleTemplateRuleArray{\n\t\t\t\t\u0026RoleTemplateRuleArgs{\n\t\t\t\t\tApiGroups: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"*\"),\n\t\t\t\t\t},\n\t\t\t\t\tResources: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"secrets\"),\n\t\t\t\t\t},\n\t\t\t\t\tVerbs: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"create\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.RoleTemplate;\nimport com.pulumi.rancher2.RoleTemplateArgs;\nimport com.pulumi.rancher2.inputs.RoleTemplateRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new RoleTemplate(\"foo\", RoleTemplateArgs.builder() \n .context(\"project\")\n .defaultRole(true)\n .description(\"Terraform role template acceptance test\")\n .rules(RoleTemplateRuleArgs.builder()\n .apiGroups(\"*\")\n .resources(\"secrets\")\n .verbs(\"create\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 project Role Template\n foo:\n type: rancher2:RoleTemplate\n properties:\n context: project\n defaultRole: true\n description: Terraform role template acceptance test\n rules:\n - apiGroups:\n - '*'\n resources:\n - secrets\n verbs:\n - create\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRole Template can be imported using the Rancher Role Template ID\n\n```sh\n $ pulumi import rancher2:index/roleTemplate:RoleTemplate foo \u0026lt;role_template_id\u0026gt;\n```\n\n ", "properties": { "administrative": { "type": "boolean", @@ -47892,7 +51329,8 @@ "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "Secret key/value data. Base64 encoding required for values (map)\n" + "description": "Secret key/value data. Base64 encoding required for values (map)\n", + "secret": true }, "description": { "type": "string", @@ -47938,7 +51376,8 @@ "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "Secret key/value data. Base64 encoding required for values (map)\n" + "description": "Secret key/value data. Base64 encoding required for values (map)\n", + "secret": true }, "description": { "type": "string", @@ -47953,15 +51392,18 @@ }, "name": { "type": "string", - "description": "The name of the secret (string)\n" + "description": "The name of the secret (string)\n", + "willReplaceOnChanges": true }, "namespaceId": { "type": "string", - "description": "The namespace id where to assign the namespaced secret (string)\n" + "description": "The namespace id where to assign the namespaced secret (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "The project id where to assign the secret (string)\n" + "description": "The project id where to assign the secret (string)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -47983,7 +51425,8 @@ "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "Secret key/value data. Base64 encoding required for values (map)\n" + "description": "Secret key/value data. Base64 encoding required for values (map)\n", + "secret": true }, "description": { "type": "string", @@ -47998,15 +51441,18 @@ }, "name": { "type": "string", - "description": "The name of the secret (string)\n" + "description": "The name of the secret (string)\n", + "willReplaceOnChanges": true }, "namespaceId": { "type": "string", - "description": "The namespace id where to assign the namespaced secret (string)\n" + "description": "The namespace id where to assign the namespaced secret (string)\n", + "willReplaceOnChanges": true }, "projectId": { "type": "string", - "description": "The project id where to assign the secret (string)\n" + "description": "The project id where to assign the secret (string)\n", + "willReplaceOnChanges": true } }, "type": "object" @@ -48031,7 +51477,8 @@ "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "The data of the secret v2 (map)\n" + "description": "The data of the secret v2 (map)\n", + "secret": true }, "immutable": { "type": "boolean", @@ -48079,14 +51526,16 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the secret V2 (string)\n" + "description": "The cluster id of the secret V2 (string)\n", + "willReplaceOnChanges": true }, "data": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "The data of the secret v2 (map)\n" + "description": "The data of the secret v2 (map)\n", + "secret": true }, "immutable": { "type": "boolean", @@ -48105,7 +51554,8 @@ }, "namespace": { "type": "string", - "description": "The namespaces of the secret v2. Default: `default` (string)\n" + "description": "The namespaces of the secret v2. Default: `default` (string)\n", + "willReplaceOnChanges": true }, "type": { "type": "string", @@ -48128,14 +51578,16 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the secret V2 (string)\n" + "description": "The cluster id of the secret V2 (string)\n", + "willReplaceOnChanges": true }, "data": { "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" }, - "description": "The data of the secret v2 (map)\n" + "description": "The data of the secret v2 (map)\n", + "secret": true }, "immutable": { "type": "boolean", @@ -48154,7 +51606,8 @@ }, "namespace": { "type": "string", - "description": "The namespaces of the secret v2. Default: `default` (string)\n" + "description": "The namespaces of the secret v2. Default: `default` (string)\n", + "willReplaceOnChanges": true }, "resourceVersion": { "type": "string", @@ -48169,7 +51622,7 @@ } }, "rancher2:index/setting:Setting": { - "description": "Provides a Rancher v2 Setting resource. This can be used to create settings for Rancher v2 environments and retrieve their information.\n\nOn create, if setting already exists, provider will import it and update its value.\n\nOn destroy, if setting is a system setting like `server-url`, provider'll not delete it from Rancher, it'll just update setting value to default and remove it from tfstate. \n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Setting\nconst foo = new rancher2.Setting(\"foo\", {\n value: \"\u003cVALUE\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Setting\nfoo = rancher2.Setting(\"foo\", value=\"\u003cVALUE\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Setting\n var foo = new Rancher2.Setting(\"foo\", new Rancher2.SettingArgs\n {\n Value = \"\u003cVALUE\u003e\",\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewSetting(ctx, \"foo\", \u0026rancher2.SettingArgs{\n\t\t\tValue: pulumi.String(\"\u003cVALUE\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSetting can be imported using the Rancher setting ID.\n\n```sh\n $ pulumi import rancher2:index/setting:Setting foo \u0026lt;setting_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 Setting resource. This can be used to create settings for Rancher v2 environments and retrieve their information.\n\nOn create, if setting already exists, provider will import it and update its value.\n\nOn destroy, if setting is a system setting like `server-url`, provider'll not delete it from Rancher, it'll just update setting value to default and remove it from tfstate. \n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Setting\nconst foo = new rancher2.Setting(\"foo\", {\n value: \"\u003cVALUE\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Setting\nfoo = rancher2.Setting(\"foo\", value=\"\u003cVALUE\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Setting\n var foo = new Rancher2.Setting(\"foo\", new()\n {\n Value = \"\u003cVALUE\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewSetting(ctx, \"foo\", \u0026rancher2.SettingArgs{\n\t\t\tValue: pulumi.String(\"\u003cVALUE\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Setting;\nimport com.pulumi.rancher2.SettingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Setting(\"foo\", SettingArgs.builder() \n .value(\"\u003cVALUE\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Setting\n foo:\n type: rancher2:Setting\n properties:\n value: \u003cVALUE\u003e\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSetting can be imported using the Rancher setting ID.\n\n```sh\n $ pulumi import rancher2:index/setting:Setting foo \u0026lt;setting_id\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -48217,7 +51670,8 @@ }, "name": { "type": "string", - "description": "The name of the setting (string)\n" + "description": "The name of the setting (string)\n", + "willReplaceOnChanges": true }, "value": { "type": "string", @@ -48246,7 +51700,8 @@ }, "name": { "type": "string", - "description": "The name of the setting (string)\n" + "description": "The name of the setting (string)\n", + "willReplaceOnChanges": true }, "value": { "type": "string", @@ -48340,11 +51795,13 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the storageClass V2 (string)\n" + "description": "The cluster id of the storageClass V2 (string)\n", + "willReplaceOnChanges": true }, "k8sProvisioner": { "type": "string", - "description": "The provisioner of the storageClass v2 (string)\n" + "description": "The provisioner of the storageClass v2 (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -48362,7 +51819,8 @@ }, "name": { "type": "string", - "description": "The name of the storageClass v2 (string)\n" + "description": "The name of the storageClass v2 (string)\n", + "willReplaceOnChanges": true }, "parameters": { "type": "object", @@ -48373,11 +51831,13 @@ }, "reclaimPolicy": { "type": "string", - "description": "The reclaim policy for storageClass v2. `Delete`, `Recycle` and `Retain` values are allowed. Default: `Delete` (string)\n" + "description": "The reclaim policy for storageClass v2. `Delete`, `Recycle` and `Retain` values are allowed. Default: `Delete` (string)\n", + "willReplaceOnChanges": true }, "volumeBindingMode": { "type": "string", - "description": "The volume binding mode for storageClass v2. `Immediate` and `WaitForFirstConsumer` values are allowed. Default: `Immediate` (string)\n" + "description": "The volume binding mode for storageClass v2. `Immediate` and `WaitForFirstConsumer` values are allowed. Default: `Immediate` (string)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -48400,11 +51860,13 @@ }, "clusterId": { "type": "string", - "description": "The cluster id of the storageClass V2 (string)\n" + "description": "The cluster id of the storageClass V2 (string)\n", + "willReplaceOnChanges": true }, "k8sProvisioner": { "type": "string", - "description": "The provisioner of the storageClass v2 (string)\n" + "description": "The provisioner of the storageClass v2 (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -48422,7 +51884,8 @@ }, "name": { "type": "string", - "description": "The name of the storageClass v2 (string)\n" + "description": "The name of the storageClass v2 (string)\n", + "willReplaceOnChanges": true }, "parameters": { "type": "object", @@ -48433,7 +51896,8 @@ }, "reclaimPolicy": { "type": "string", - "description": "The reclaim policy for storageClass v2. `Delete`, `Recycle` and `Retain` values are allowed. Default: `Delete` (string)\n" + "description": "The reclaim policy for storageClass v2. `Delete`, `Recycle` and `Retain` values are allowed. Default: `Delete` (string)\n", + "willReplaceOnChanges": true }, "resourceVersion": { "type": "string", @@ -48441,14 +51905,15 @@ }, "volumeBindingMode": { "type": "string", - "description": "The volume binding mode for storageClass v2. `Immediate` and `WaitForFirstConsumer` values are allowed. Default: `Immediate` (string)\n" + "description": "The volume binding mode for storageClass v2. `Immediate` and `WaitForFirstConsumer` values are allowed. Default: `Immediate` (string)\n", + "willReplaceOnChanges": true } }, "type": "object" } }, "rancher2:index/token:Token": { - "description": "Provides a Rancher v2 Token resource. This can be used to create Tokens for Rancher v2 provider user and retrieve their information.\n\nThere are 2 kind of tokens:\n- no scoped: valid for global system.\n- scoped: valid for just a specific cluster (`cluster_id` should be provided).\n\nTokens can't be updated once created. Any diff in token data will recreate the token. If any token expire, Rancher2 provider will generate a diff to regenerate it.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Token scoped\nconst foo = new rancher2.Token(\"foo\", {\n clusterId: \"\u003ccluster-id\u003e\",\n description: \"foo token\",\n ttl: 1200,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Token scoped\nfoo = rancher2.Token(\"foo\",\n cluster_id=\"\u003ccluster-id\u003e\",\n description=\"foo token\",\n ttl=1200)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 Token scoped\n var foo = new Rancher2.Token(\"foo\", new Rancher2.TokenArgs\n {\n ClusterId = \"\u003ccluster-id\u003e\",\n Description = \"foo token\",\n Ttl = 1200,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewToken(ctx, \"foo\", \u0026rancher2.TokenArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster-id\u003e\"),\n\t\t\tDescription: pulumi.String(\"foo token\"),\n\t\t\tTtl: pulumi.Int(1200),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a Rancher v2 Token resource. This can be used to create Tokens for Rancher v2 provider user and retrieve their information.\n\nThere are 2 kind of tokens:\n- no scoped: valid for global system.\n- scoped: valid for just a specific cluster (`cluster_id` should be provided).\n\nTokens can't be updated once created. Any diff in token data will recreate the token. If any token expire, Rancher2 provider will generate a diff to regenerate it.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 Token scoped\nconst foo = new rancher2.Token(\"foo\", {\n clusterId: \"\u003ccluster-id\u003e\",\n description: \"foo token\",\n ttl: 1200,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 Token scoped\nfoo = rancher2.Token(\"foo\",\n cluster_id=\"\u003ccluster-id\u003e\",\n description=\"foo token\",\n ttl=1200)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 Token scoped\n var foo = new Rancher2.Token(\"foo\", new()\n {\n ClusterId = \"\u003ccluster-id\u003e\",\n Description = \"foo token\",\n Ttl = 1200,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.NewToken(ctx, \"foo\", \u0026rancher2.TokenArgs{\n\t\t\tClusterId: pulumi.String(\"\u003ccluster-id\u003e\"),\n\t\t\tDescription: pulumi.String(\"foo token\"),\n\t\t\tTtl: pulumi.Int(1200),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Token;\nimport com.pulumi.rancher2.TokenArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var foo = new Token(\"foo\", TokenArgs.builder() \n .clusterId(\"\u003ccluster-id\u003e\")\n .description(\"foo token\")\n .ttl(1200)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 Token scoped\n foo:\n type: rancher2:Token\n properties:\n clusterId: \u003ccluster-id\u003e\n description: foo token\n ttl: 1200\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "accessKey": { "type": "string", @@ -48494,7 +51959,8 @@ }, "secretKey": { "type": "string", - "description": "(Computed/Sensitive) Token secret key part (string)\n" + "description": "(Computed/Sensitive) Token secret key part (string)\n", + "secret": true }, "token": { "type": "string", @@ -48503,7 +51969,8 @@ "csharp": { "name": "TokenName" } - } + }, + "secret": true }, "ttl": { "type": "integer", @@ -48535,11 +52002,13 @@ }, "clusterId": { "type": "string", - "description": "Cluster ID for scoped token (string)\n" + "description": "Cluster ID for scoped token (string)\n", + "willReplaceOnChanges": true }, "description": { "type": "string", - "description": "Token description (string)\n" + "description": "Token description (string)\n", + "willReplaceOnChanges": true }, "labels": { "type": "object", @@ -48550,11 +52019,13 @@ }, "renew": { "type": "boolean", - "description": "Renew expired or disabled token\n" + "description": "Renew expired or disabled token\n", + "willReplaceOnChanges": true }, "ttl": { "type": "integer", - "description": "Token time to live in seconds. Default `0` (int)\n" + "description": "Token time to live in seconds. Default `0` (int)\n", + "willReplaceOnChanges": true } }, "stateInputs": { @@ -48573,11 +52044,13 @@ }, "clusterId": { "type": "string", - "description": "Cluster ID for scoped token (string)\n" + "description": "Cluster ID for scoped token (string)\n", + "willReplaceOnChanges": true }, "description": { "type": "string", - "description": "Token description (string)\n" + "description": "Token description (string)\n", + "willReplaceOnChanges": true }, "enabled": { "type": "boolean", @@ -48600,11 +52073,13 @@ }, "renew": { "type": "boolean", - "description": "Renew expired or disabled token\n" + "description": "Renew expired or disabled token\n", + "willReplaceOnChanges": true }, "secretKey": { "type": "string", - "description": "(Computed/Sensitive) Token secret key part (string)\n" + "description": "(Computed/Sensitive) Token secret key part (string)\n", + "secret": true }, "token": { "type": "string", @@ -48613,11 +52088,13 @@ "csharp": { "name": "TokenName" } - } + }, + "secret": true }, "ttl": { "type": "integer", - "description": "Token time to live in seconds. Default `0` (int)\n" + "description": "Token time to live in seconds. Default `0` (int)\n", + "willReplaceOnChanges": true }, "userId": { "type": "string", @@ -48628,7 +52105,7 @@ } }, "rancher2:index/user:User": { - "description": "Provides a Rancher v2 User resource. This can be used to create Users for Rancher v2 environments and retrieve their information.\n\nWhen a Rancher User is created, it doesn't have a global role binding. At least, `user-base` global role binding in needed in order to enable user login.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 User\nconst fooUser = new rancher2.User(\"fooUser\", {\n username: \"foo\",\n password: \"changeme\",\n enabled: true,\n});\n// Create a new rancher2 global_role_binding for User\nconst fooGlobalRoleBinding = new rancher2.GlobalRoleBinding(\"fooGlobalRoleBinding\", {\n globalRoleId: \"user-base\",\n userId: fooUser.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 User\nfoo_user = rancher2.User(\"fooUser\",\n username=\"foo\",\n password=\"changeme\",\n enabled=True)\n# Create a new rancher2 global_role_binding for User\nfoo_global_role_binding = rancher2.GlobalRoleBinding(\"fooGlobalRoleBinding\",\n global_role_id=\"user-base\",\n user_id=foo_user.id)\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n // Create a new rancher2 User\n var fooUser = new Rancher2.User(\"fooUser\", new Rancher2.UserArgs\n {\n Username = \"foo\",\n Password = \"changeme\",\n Enabled = true,\n });\n // Create a new rancher2 global_role_binding for User\n var fooGlobalRoleBinding = new Rancher2.GlobalRoleBinding(\"fooGlobalRoleBinding\", new Rancher2.GlobalRoleBindingArgs\n {\n GlobalRoleId = \"user-base\",\n UserId = fooUser.Id,\n });\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooUser, err := rancher2.NewUser(ctx, \"fooUser\", \u0026rancher2.UserArgs{\n\t\t\tUsername: pulumi.String(\"foo\"),\n\t\t\tPassword: pulumi.String(\"changeme\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewGlobalRoleBinding(ctx, \"fooGlobalRoleBinding\", \u0026rancher2.GlobalRoleBindingArgs{\n\t\t\tGlobalRoleId: pulumi.String(\"user-base\"),\n\t\t\tUserId: fooUser.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsers can be imported using the Rancher User ID\n\n```sh\n $ pulumi import rancher2:index/user:User foo \u0026lt;user_id\u0026gt;\n```\n\n ", + "description": "Provides a Rancher v2 User resource. This can be used to create Users for Rancher v2 environments and retrieve their information.\n\nWhen a Rancher User is created, it doesn't have a global role binding. At least, `user-base` global role binding in needed in order to enable user login.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Create a new rancher2 User\nconst fooUser = new rancher2.User(\"fooUser\", {\n username: \"foo\",\n password: \"changeme\",\n enabled: true,\n});\n// Create a new rancher2 global_role_binding for User\nconst fooGlobalRoleBinding = new rancher2.GlobalRoleBinding(\"fooGlobalRoleBinding\", {\n globalRoleId: \"user-base\",\n userId: fooUser.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\n# Create a new rancher2 User\nfoo_user = rancher2.User(\"fooUser\",\n username=\"foo\",\n password=\"changeme\",\n enabled=True)\n# Create a new rancher2 global_role_binding for User\nfoo_global_role_binding = rancher2.GlobalRoleBinding(\"fooGlobalRoleBinding\",\n global_role_id=\"user-base\",\n user_id=foo_user.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a new rancher2 User\n var fooUser = new Rancher2.User(\"fooUser\", new()\n {\n Username = \"foo\",\n Password = \"changeme\",\n Enabled = true,\n });\n\n // Create a new rancher2 global_role_binding for User\n var fooGlobalRoleBinding = new Rancher2.GlobalRoleBinding(\"fooGlobalRoleBinding\", new()\n {\n GlobalRoleId = \"user-base\",\n UserId = fooUser.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfooUser, err := rancher2.NewUser(ctx, \"fooUser\", \u0026rancher2.UserArgs{\n\t\t\tUsername: pulumi.String(\"foo\"),\n\t\t\tPassword: pulumi.String(\"changeme\"),\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = rancher2.NewGlobalRoleBinding(ctx, \"fooGlobalRoleBinding\", \u0026rancher2.GlobalRoleBindingArgs{\n\t\t\tGlobalRoleId: pulumi.String(\"user-base\"),\n\t\t\tUserId: fooUser.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.User;\nimport com.pulumi.rancher2.UserArgs;\nimport com.pulumi.rancher2.GlobalRoleBinding;\nimport com.pulumi.rancher2.GlobalRoleBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var fooUser = new User(\"fooUser\", UserArgs.builder() \n .username(\"foo\")\n .password(\"changeme\")\n .enabled(true)\n .build());\n\n var fooGlobalRoleBinding = new GlobalRoleBinding(\"fooGlobalRoleBinding\", GlobalRoleBindingArgs.builder() \n .globalRoleId(\"user-base\")\n .userId(fooUser.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new rancher2 User\n fooUser:\n type: rancher2:User\n properties:\n username: foo\n password: changeme\n enabled: true\n # Create a new rancher2 global_role_binding for User\n fooGlobalRoleBinding:\n type: rancher2:GlobalRoleBinding\n properties:\n globalRoleId: user-base\n userId: ${fooUser.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsers can be imported using the Rancher User ID\n\n```sh\n $ pulumi import rancher2:index/user:User foo \u0026lt;user_id\u0026gt;\n```\n\n ", "properties": { "annotations": { "type": "object", @@ -48653,7 +52130,8 @@ }, "password": { "type": "string", - "description": "The user password (string)\n" + "description": "The user password (string)\n", + "secret": true }, "principalIds": { "type": "array", @@ -48699,11 +52177,13 @@ }, "password": { "type": "string", - "description": "The user password (string)\n" + "description": "The user password (string)\n", + "secret": true }, "username": { "type": "string", - "description": "The user username (string)\n" + "description": "The user username (string)\n", + "willReplaceOnChanges": true } }, "requiredInputs": [ @@ -48736,7 +52216,8 @@ }, "password": { "type": "string", - "description": "The user password (string)\n" + "description": "The user password (string)\n", + "secret": true }, "principalIds": { "type": "array", @@ -48747,7 +52228,8 @@ }, "username": { "type": "string", - "description": "The user username (string)\n" + "description": "The user username (string)\n", + "willReplaceOnChanges": true } }, "type": "object" @@ -48756,7 +52238,7 @@ }, "functions": { "rancher2:index/getApp:getApp": { - "description": "Use this data source to retrieve information about a Rancher v2 app.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst rancher2App = pulumi.output(rancher2.getApp({\n name: \"foo\",\n projectId: \"\u003cproject_id\u003e\",\n targetNamespace: \"\u003cnamespace_name\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nrancher2 = rancher2.get_app(name=\"foo\",\n project_id=\"\u003cproject_id\u003e\",\n target_namespace=\"\u003cnamespace_name\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var rancher2 = Output.Create(Rancher2.GetApp.InvokeAsync(new Rancher2.GetAppArgs\n {\n Name = \"foo\",\n ProjectId = \"\u003cproject_id\u003e\",\n TargetNamespace = \"\u003cnamespace_name\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupApp(ctx, \u0026GetAppArgs{\n\t\t\tName: \"foo\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t\tTargetNamespace: pulumi.StringRef(\"\u003cnamespace_name\u003e\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 app.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst rancher2App = pulumi.output(rancher2.getApp({\n name: \"foo\",\n projectId: \"\u003cproject_id\u003e\",\n targetNamespace: \"\u003cnamespace_name\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nrancher2 = rancher2.get_app(name=\"foo\",\n project_id=\"\u003cproject_id\u003e\",\n target_namespace=\"\u003cnamespace_name\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var rancher2 = Rancher2.GetApp.Invoke(new()\n {\n Name = \"foo\",\n ProjectId = \"\u003cproject_id\u003e\",\n TargetNamespace = \"\u003cnamespace_name\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupApp(ctx, \u0026GetAppArgs{\n\t\t\tName: \"foo\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t\tTargetNamespace: pulumi.StringRef(\"\u003cnamespace_name\u003e\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var rancher2 = Rancher2Functions.getApp(GetAppArgs.builder()\n .name(\"foo\")\n .projectId(\"\u003cproject_id\u003e\")\n .targetNamespace(\"\u003cnamespace_name\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n rancher2:\n fn::invoke:\n Function: rancher2:getApp\n Arguments:\n name: foo\n projectId: \u003cproject_id\u003e\n targetNamespace: \u003cnamespace_name\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getApp.\n", "properties": { @@ -48872,7 +52354,7 @@ } }, "rancher2:index/getCatalog:getCatalog": { - "description": "Use this data source to retrieve information about a Rancher v2 catalog.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst library = pulumi.output(rancher2.getCatalog({\n name: \"catalog\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nlibrary = rancher2.get_catalog(name=\"catalog\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var library = Output.Create(Rancher2.GetCatalog.InvokeAsync(new Rancher2.GetCatalogArgs\n {\n Name = \"catalog\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupCatalog(ctx, \u0026GetCatalogArgs{\n\t\t\tName: \"catalog\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 catalog.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst library = pulumi.output(rancher2.getCatalog({\n name: \"catalog\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nlibrary = rancher2.get_catalog(name=\"catalog\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var library = Rancher2.GetCatalog.Invoke(new()\n {\n Name = \"catalog\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupCatalog(ctx, \u0026GetCatalogArgs{\n\t\t\tName: \"catalog\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetCatalogArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var library = Rancher2Functions.getCatalog(GetCatalogArgs.builder()\n .name(\"catalog\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n library:\n fn::invoke:\n Function: rancher2:getCatalog\n Arguments:\n name: catalog\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getCatalog.\n", "properties": { @@ -48932,7 +52414,8 @@ }, "password": { "type": "string", - "description": "(Computed/Sensitive) The password to access the catalog if needed (string)\n" + "description": "(Computed/Sensitive) The password to access the catalog if needed (string)\n", + "secret": true }, "projectId": { "type": "string", @@ -48947,7 +52430,8 @@ }, "username": { "type": "string", - "description": "(Computed/Sensitive) The username to access the catalog if needed (string)\n" + "description": "(Computed/Sensitive) The username to access the catalog if needed (string)\n", + "secret": true }, "version": { "type": "string", @@ -49086,7 +52570,7 @@ } }, "rancher2:index/getCertificate:getCertificate": { - "description": "Use this data source to retrieve information about a Rancher v2 certificate.\n\nDepending of the availability, there are 2 types of Rancher v2 certificates:\n- Project certificate: Available to all namespaces in the `project_id`\n- Namespaced certificate: Available to just `namespace_id` in the `project_id`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Project Certificate\nconst foo = pulumi.output(rancher2.getCertificate({\n name: \"\u003cname\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_certificate(name=\"\u003cname\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetCertificate.InvokeAsync(new Rancher2.GetCertificateArgs\n {\n Name = \"\u003cname\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupCertificate(ctx, \u0026GetCertificateArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Namespaced Certificate\nconst foo = pulumi.output(rancher2.getCertificate({\n name: \"\u003cname\u003e\",\n namespaceId: \"\u003cnamespace_id\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_certificate(name=\"\u003cname\u003e\",\n namespace_id=\"\u003cnamespace_id\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetCertificate.InvokeAsync(new Rancher2.GetCertificateArgs\n {\n Name = \"\u003cname\u003e\",\n NamespaceId = \"\u003cnamespace_id\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupCertificate(ctx, \u0026GetCertificateArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tNamespaceId: pulumi.StringRef(\"\u003cnamespace_id\u003e\"),\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 certificate.\n\nDepending of the availability, there are 2 types of Rancher v2 certificates:\n- Project certificate: Available to all namespaces in the `project_id`\n- Namespaced certificate: Available to just `namespace_id` in the `project_id`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Project Certificate\nconst foo = pulumi.output(rancher2.getCertificate({\n name: \"\u003cname\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_certificate(name=\"\u003cname\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetCertificate.Invoke(new()\n {\n Name = \"\u003cname\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupCertificate(ctx, \u0026GetCertificateArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetCertificateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder()\n .name(\"\u003cname\u003e\")\n .projectId(\"\u003cproject_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getCertificate\n Arguments:\n name: \u003cname\u003e\n projectId: \u003cproject_id\u003e\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Namespaced Certificate\nconst foo = pulumi.output(rancher2.getCertificate({\n name: \"\u003cname\u003e\",\n namespaceId: \"\u003cnamespace_id\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_certificate(name=\"\u003cname\u003e\",\n namespace_id=\"\u003cnamespace_id\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetCertificate.Invoke(new()\n {\n Name = \"\u003cname\u003e\",\n NamespaceId = \"\u003cnamespace_id\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupCertificate(ctx, \u0026GetCertificateArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tNamespaceId: pulumi.StringRef(\"\u003cnamespace_id\u003e\"),\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetCertificateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder()\n .name(\"\u003cname\u003e\")\n .namespaceId(\"\u003cnamespace_id\u003e\")\n .projectId(\"\u003cproject_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getCertificate\n Arguments:\n name: \u003cname\u003e\n namespaceId: \u003cnamespace_id\u003e\n projectId: \u003cproject_id\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getCertificate.\n", "properties": { @@ -49161,7 +52645,7 @@ } }, "rancher2:index/getCloudCredential:getCloudCredential": { - "description": "Use this data source to retrieve information about a Rancher v2 Cloud Credential.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst test = pulumi.output(rancher2.getCloudCredential({\n name: \"test\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\ntest = rancher2.get_cloud_credential(name=\"test\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var test = Output.Create(Rancher2.GetCloudCredential.InvokeAsync(new Rancher2.GetCloudCredentialArgs\n {\n Name = \"test\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupCloudCredential(ctx, \u0026GetCloudCredentialArgs{\n\t\t\tName: \"test\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 Cloud Credential.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst test = pulumi.output(rancher2.getCloudCredential({\n name: \"test\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\ntest = rancher2.get_cloud_credential(name=\"test\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Rancher2.GetCloudCredential.Invoke(new()\n {\n Name = \"test\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupCloudCredential(ctx, \u0026GetCloudCredentialArgs{\n\t\t\tName: \"test\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetCloudCredentialArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = Rancher2Functions.getCloudCredential(GetCloudCredentialArgs.builder()\n .name(\"test\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: rancher2:getCloudCredential\n Arguments:\n name: test\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getCloudCredential.\n", "properties": { @@ -49210,7 +52694,7 @@ } }, "rancher2:index/getCluster:getCluster": { - "description": "Use this data source to retrieve information about a Rancher v2 cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo_custom = pulumi.output(rancher2.getCluster({\n name: \"foo-custom\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_custom = rancher2.get_cluster(name=\"foo-custom\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo_custom = Output.Create(Rancher2.GetCluster.InvokeAsync(new Rancher2.GetClusterArgs\n {\n Name = \"foo-custom\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupCluster(ctx, \u0026GetClusterArgs{\n\t\t\tName: \"foo-custom\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo_custom = pulumi.output(rancher2.getCluster({\n name: \"foo-custom\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo_custom = rancher2.get_cluster(name=\"foo-custom\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo_custom = Rancher2.GetCluster.Invoke(new()\n {\n Name = \"foo-custom\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupCluster(ctx, \u0026GetClusterArgs{\n\t\t\tName: \"foo-custom\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo-custom = Rancher2Functions.getCluster(GetClusterArgs.builder()\n .name(\"foo-custom\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo-custom:\n fn::invoke:\n Function: rancher2:getCluster\n Arguments:\n name: foo-custom\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getCluster.\n", "properties": { @@ -49251,7 +52735,8 @@ }, "caCert": { "type": "string", - "description": "(Computed) K8s cluster ca cert (string)\n" + "description": "(Computed) K8s cluster ca cert (string)\n", + "secret": true }, "clusterAuthEndpoint": { "$ref": "#/types/rancher2:index/getClusterClusterAuthEndpoint:getClusterClusterAuthEndpoint", @@ -49416,7 +52901,7 @@ } }, "rancher2:index/getClusterAlertGroup:getClusterAlertGroup": { - "description": "Use this data source to retrieve information about a Rancher v2 cluster alert group.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterAlertGroup({\n clusterId: \"\u003ccluster_id\u003e\",\n name: \"\u003ccluster_alert_group_name\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_alert_group(cluster_id=\"\u003ccluster_id\u003e\",\n name=\"\u003ccluster_alert_group_name\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetClusterAlertGroup.InvokeAsync(new Rancher2.GetClusterAlertGroupArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Name = \"\u003ccluster_alert_group_name\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupClusterAlertGroup(ctx, \u0026GetClusterAlertGroupArgs{\n\t\t\tClusterId: \"\u003ccluster_id\u003e\",\n\t\t\tName: \"\u003ccluster_alert_group_name\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 cluster alert group.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterAlertGroup({\n clusterId: \"\u003ccluster_id\u003e\",\n name: \"\u003ccluster_alert_group_name\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_alert_group(cluster_id=\"\u003ccluster_id\u003e\",\n name=\"\u003ccluster_alert_group_name\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetClusterAlertGroup.Invoke(new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Name = \"\u003ccluster_alert_group_name\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupClusterAlertGroup(ctx, \u0026GetClusterAlertGroupArgs{\n\t\t\tClusterId: \"\u003ccluster_id\u003e\",\n\t\t\tName: \"\u003ccluster_alert_group_name\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterAlertGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getClusterAlertGroup(GetClusterAlertGroupArgs.builder()\n .clusterId(\"\u003ccluster_id\u003e\")\n .name(\"\u003ccluster_alert_group_name\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getClusterAlertGroup\n Arguments:\n clusterId: \u003ccluster_id\u003e\n name: \u003ccluster_alert_group_name\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getClusterAlertGroup.\n", "properties": { @@ -49502,7 +52987,7 @@ } }, "rancher2:index/getClusterAlterRule:getClusterAlterRule": { - "description": "Use this data source to retrieve information about a Rancher v2 cluster alert rule.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterAlterRule({\n clusterId: \"\u003ccluster_id\u003e\",\n name: \"\u003ccluster_alert_rule_name\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_alter_rule(cluster_id=\"\u003ccluster_id\u003e\",\n name=\"\u003ccluster_alert_rule_name\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetClusterAlterRule.InvokeAsync(new Rancher2.GetClusterAlterRuleArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Name = \"\u003ccluster_alert_rule_name\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupClusterAlterRule(ctx, \u0026GetClusterAlterRuleArgs{\n\t\t\tClusterId: \"\u003ccluster_id\u003e\",\n\t\t\tName: \"\u003ccluster_alert_rule_name\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 cluster alert rule.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterAlterRule({\n clusterId: \"\u003ccluster_id\u003e\",\n name: \"\u003ccluster_alert_rule_name\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_alter_rule(cluster_id=\"\u003ccluster_id\u003e\",\n name=\"\u003ccluster_alert_rule_name\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetClusterAlterRule.Invoke(new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Name = \"\u003ccluster_alert_rule_name\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupClusterAlterRule(ctx, \u0026GetClusterAlterRuleArgs{\n\t\t\tClusterId: \"\u003ccluster_id\u003e\",\n\t\t\tName: \"\u003ccluster_alert_rule_name\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterAlterRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getClusterAlterRule(GetClusterAlterRuleArgs.builder()\n .clusterId(\"\u003ccluster_id\u003e\")\n .name(\"\u003ccluster_alert_rule_name\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getClusterAlterRule\n Arguments:\n clusterId: \u003ccluster_id\u003e\n name: \u003ccluster_alert_rule_name\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getClusterAlterRule.\n", "properties": { @@ -49616,7 +53101,7 @@ } }, "rancher2:index/getClusterDriver:getClusterDriver": { - "description": "Use this data source to retrieve information about a Rancher v2 Cluster Driver resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterDriver({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_driver(name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetClusterDriver.InvokeAsync(new Rancher2.GetClusterDriverArgs\n {\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupClusterDriver(ctx, \u0026GetClusterDriverArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 Cluster Driver resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterDriver({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_driver(name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetClusterDriver.Invoke(new()\n {\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupClusterDriver(ctx, \u0026GetClusterDriverArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterDriverArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getClusterDriver(GetClusterDriverArgs.builder()\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getClusterDriver\n Arguments:\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getClusterDriver.\n", "properties": { @@ -49706,7 +53191,7 @@ } }, "rancher2:index/getClusterLogging:getClusterLogging": { - "description": "Use this data source to retrieve information about a Rancher v2 Cluster Logging.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterLogging({\n clusterId: \"\u003ccluster_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_logging(cluster_id=\"\u003ccluster_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetClusterLogging.InvokeAsync(new Rancher2.GetClusterLoggingArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupClusterLogging(ctx, \u0026GetClusterLoggingArgs{\n\t\t\tClusterId: \"\u003ccluster_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 Cluster Logging.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterLogging({\n clusterId: \"\u003ccluster_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_logging(cluster_id=\"\u003ccluster_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetClusterLogging.Invoke(new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupClusterLogging(ctx, \u0026GetClusterLoggingArgs{\n\t\t\tClusterId: \"\u003ccluster_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterLoggingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getClusterLogging(GetClusterLoggingArgs.builder()\n .clusterId(\"\u003ccluster_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getClusterLogging\n Arguments:\n clusterId: \u003ccluster_id\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getClusterLogging.\n", "properties": { @@ -49816,7 +53301,7 @@ } }, "rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding": { - "description": "Use this data source to retrieve information about a Rancher v2 cluster role template binding.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterRoleTemplateBinding({\n clusterId: \"foo_id\",\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_role_template_binding(cluster_id=\"foo_id\",\n name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetClusterRoleTemplateBinding.InvokeAsync(new Rancher2.GetClusterRoleTemplateBindingArgs\n {\n ClusterId = \"foo_id\",\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupClusterRoleTemplateBinding(ctx, \u0026GetClusterRoleTemplateBindingArgs{\n\t\t\tClusterId: \"foo_id\",\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 cluster role template binding.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterRoleTemplateBinding({\n clusterId: \"foo_id\",\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_role_template_binding(cluster_id=\"foo_id\",\n name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetClusterRoleTemplateBinding.Invoke(new()\n {\n ClusterId = \"foo_id\",\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupClusterRoleTemplateBinding(ctx, \u0026GetClusterRoleTemplateBindingArgs{\n\t\t\tClusterId: \"foo_id\",\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterRoleTemplateBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs.builder()\n .clusterId(\"foo_id\")\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getClusterRoleTemplateBinding\n Arguments:\n clusterId: foo_id\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getClusterRoleTemplateBinding.\n", "properties": { @@ -49979,7 +53464,7 @@ } }, "rancher2:index/getClusterTemplate:getClusterTemplate": { - "description": "Use this data source to retrieve information about a Rancher v2 cluster template.\n\nCluster Templates are available from Rancher v2.3.x and above.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterTemplate({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_template(name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetClusterTemplate.InvokeAsync(new Rancher2.GetClusterTemplateArgs\n {\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupClusterTemplate(ctx, \u0026GetClusterTemplateArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 cluster template.\n\nCluster Templates are available from Rancher v2.3.x and above.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterTemplate({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_template(name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetClusterTemplate.Invoke(new()\n {\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupClusterTemplate(ctx, \u0026GetClusterTemplateArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterTemplateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getClusterTemplate(GetClusterTemplateArgs.builder()\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getClusterTemplate\n Arguments:\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getClusterTemplate.\n", "properties": { @@ -50070,7 +53555,7 @@ } }, "rancher2:index/getClusterV2:getClusterV2": { - "description": "Use this data source to retrieve information about a Rancher v2 cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterV2({\n fleetNamespace: \"fleet-ns\",\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_v2(fleet_namespace=\"fleet-ns\",\n name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetClusterV2.InvokeAsync(new Rancher2.GetClusterV2Args\n {\n FleetNamespace = \"fleet-ns\",\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupClusterV2(ctx, \u0026GetClusterV2Args{\n\t\t\tFleetNamespace: pulumi.StringRef(\"fleet-ns\"),\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getClusterV2({\n fleetNamespace: \"fleet-ns\",\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_cluster_v2(fleet_namespace=\"fleet-ns\",\n name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetClusterV2.Invoke(new()\n {\n FleetNamespace = \"fleet-ns\",\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupClusterV2(ctx, \u0026GetClusterV2Args{\n\t\t\tFleetNamespace: pulumi.StringRef(\"fleet-ns\"),\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetClusterV2Args;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getClusterV2(GetClusterV2Args.builder()\n .fleetNamespace(\"fleet-ns\")\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getClusterV2\n Arguments:\n fleetNamespace: fleet-ns\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getClusterV2.\n", "properties": { @@ -50110,7 +53595,8 @@ }, "clusterRegistrationToken": { "$ref": "#/types/rancher2:index/getClusterV2ClusterRegistrationToken:getClusterV2ClusterRegistrationToken", - "description": "(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)\n" + "description": "(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)\n", + "secret": true }, "clusterV1Id": { "type": "string", @@ -50137,7 +53623,8 @@ }, "kubeConfig": { "type": "string", - "description": "(Computed/Sensitive) Kube Config generated for the cluster v2 (string)\n" + "description": "(Computed/Sensitive) Kube Config generated for the cluster v2 (string)\n", + "secret": true }, "kubernetesVersion": { "type": "string", @@ -50265,7 +53752,7 @@ } }, "rancher2:index/getEtcdBackup:getEtcdBackup": { - "description": "Use this data source to retrieve information about a Rancher v2 etcd backup.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getEtcdBackup({\n clusterId: \"\u003cCLUSTER_ID\u003e\",\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_etcd_backup(cluster_id=\"\u003cCLUSTER_ID\u003e\",\n name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetEtcdBackup.InvokeAsync(new Rancher2.GetEtcdBackupArgs\n {\n ClusterId = \"\u003cCLUSTER_ID\u003e\",\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupEtcdBackup(ctx, \u0026GetEtcdBackupArgs{\n\t\t\tClusterId: \"\u003cCLUSTER_ID\u003e\",\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 etcd backup.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getEtcdBackup({\n clusterId: \"\u003cCLUSTER_ID\u003e\",\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_etcd_backup(cluster_id=\"\u003cCLUSTER_ID\u003e\",\n name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetEtcdBackup.Invoke(new()\n {\n ClusterId = \"\u003cCLUSTER_ID\u003e\",\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupEtcdBackup(ctx, \u0026GetEtcdBackupArgs{\n\t\t\tClusterId: \"\u003cCLUSTER_ID\u003e\",\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetEtcdBackupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getEtcdBackup(GetEtcdBackupArgs.builder()\n .clusterId(\"\u003cCLUSTER_ID\u003e\")\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getEtcdBackup\n Arguments:\n clusterId: \u003cCLUSTER_ID\u003e\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getEtcdBackup.\n", "properties": { @@ -50343,7 +53830,7 @@ } }, "rancher2:index/getGlobalDnsProvider:getGlobalDnsProvider": { - "description": "Provides a Rancher V2 Global DNS Provider data source. Use this data source to retrieve information about a Rancher v2 global DNS provider\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getGlobalDnsProvider({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_global_dns_provider(name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetGlobalDnsProvider.InvokeAsync(new Rancher2.GetGlobalDnsProviderArgs\n {\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupGlobalDnsProvider(ctx, \u0026GetGlobalDnsProviderArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Provides a Rancher V2 Global DNS Provider data source. Use this data source to retrieve information about a Rancher v2 global DNS provider\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getGlobalDnsProvider({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_global_dns_provider(name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetGlobalDnsProvider.Invoke(new()\n {\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupGlobalDnsProvider(ctx, \u0026GetGlobalDnsProviderArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetGlobalDnsProviderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getGlobalDnsProvider(GetGlobalDnsProviderArgs.builder()\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getGlobalDnsProvider\n Arguments:\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getGlobalDnsProvider.\n", "properties": { @@ -50413,7 +53900,7 @@ } }, "rancher2:index/getGlobalRole:getGlobalRole": { - "description": "Use this data source to retrieve information about a Rancher v2 global role resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getGlobalRole({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_global_role(name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetGlobalRole.InvokeAsync(new Rancher2.GetGlobalRoleArgs\n {\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupGlobalRole(ctx, \u0026GetGlobalRoleArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 global role resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getGlobalRole({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_global_role(name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetGlobalRole.Invoke(new()\n {\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupGlobalRole(ctx, \u0026GetGlobalRoleArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetGlobalRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder()\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getGlobalRole\n Arguments:\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getGlobalRole.\n", "properties": { @@ -50485,7 +53972,7 @@ } }, "rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding": { - "description": "Use this data source to retrieve information about a Rancher v2 global role binding.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getGlobalRoleBinding({\n globalRoleId: \"foo_id\",\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_global_role_binding(global_role_id=\"foo_id\",\n name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetGlobalRoleBinding.InvokeAsync(new Rancher2.GetGlobalRoleBindingArgs\n {\n GlobalRoleId = \"foo_id\",\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupGlobalRoleBinding(ctx, \u0026GetGlobalRoleBindingArgs{\n\t\t\tGlobalRoleId: pulumi.StringRef(\"foo_id\"),\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 global role binding.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getGlobalRoleBinding({\n globalRoleId: \"foo_id\",\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_global_role_binding(global_role_id=\"foo_id\",\n name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetGlobalRoleBinding.Invoke(new()\n {\n GlobalRoleId = \"foo_id\",\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupGlobalRoleBinding(ctx, \u0026GetGlobalRoleBindingArgs{\n\t\t\tGlobalRoleId: pulumi.StringRef(\"foo_id\"),\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder()\n .globalRoleId(\"foo_id\")\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getGlobalRoleBinding\n Arguments:\n globalRoleId: foo_id\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getGlobalRoleBinding.\n", "properties": { @@ -50552,7 +54039,7 @@ } }, "rancher2:index/getMultiClusterApp:getMultiClusterApp": { - "description": "Use this data source to retrieve information about a Rancher v2 multi cluster app.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getMultiClusterApp({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_multi_cluster_app(name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetMultiClusterApp.InvokeAsync(new Rancher2.GetMultiClusterAppArgs\n {\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupMultiClusterApp(ctx, \u0026GetMultiClusterAppArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 multi cluster app.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getMultiClusterApp({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_multi_cluster_app(name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetMultiClusterApp.Invoke(new()\n {\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupMultiClusterApp(ctx, \u0026GetMultiClusterAppArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetMultiClusterAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder()\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getMultiClusterApp\n Arguments:\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getMultiClusterApp.\n", "properties": { @@ -50671,7 +54158,7 @@ } }, "rancher2:index/getNamespace:getNamespace": { - "description": "Use this data source to retrieve information about a Rancher v2 namespace.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = rancher2.getNamespace({\n name: \"foo\",\n projectId: rancher2_cluster[\"foo-custom\"].default_project_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_namespace(name=\"foo\",\n project_id=rancher2_cluster[\"foo-custom\"][\"default_project_id\"])\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetNamespace.InvokeAsync(new Rancher2.GetNamespaceArgs\n {\n Name = \"foo\",\n ProjectId = rancher2_cluster.Foo_custom.Default_project_id,\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupNamespace(ctx, \u0026GetNamespaceArgs{\n\t\t\tName: \"foo\",\n\t\t\tProjectId: rancher2_cluster.Foo - custom.Default_project_id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 namespace.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = rancher2.getNamespace({\n name: \"foo\",\n projectId: rancher2_cluster[\"foo-custom\"].default_project_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_namespace(name=\"foo\",\n project_id=rancher2_cluster[\"foo-custom\"][\"default_project_id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetNamespace.Invoke(new()\n {\n Name = \"foo\",\n ProjectId = rancher2_cluster.Foo_custom.Default_project_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupNamespace(ctx, \u0026GetNamespaceArgs{\n\t\t\tName: \"foo\",\n\t\t\tProjectId: rancher2_cluster.FooCustom.Default_project_id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetNamespaceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder()\n .name(\"foo\")\n .projectId(rancher2_cluster.foo-custom().default_project_id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getNamespace\n Arguments:\n name: foo\n projectId: ${rancher2_cluster\"foo-custom\"[%!s(MISSING)].default_project_id}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getNamespace.\n", "properties": { @@ -50744,7 +54231,7 @@ } }, "rancher2:index/getNodeDriver:getNodeDriver": { - "description": "Use this data source to retrieve information about a Rancher v2 Node Driver resource. \n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getNodeDriver({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_node_driver(name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetNodeDriver.InvokeAsync(new Rancher2.GetNodeDriverArgs\n {\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupNodeDriver(ctx, \u0026GetNodeDriverArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 Node Driver resource. \n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getNodeDriver({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_node_driver(name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetNodeDriver.Invoke(new()\n {\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupNodeDriver(ctx, \u0026GetNodeDriverArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetNodeDriverArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getNodeDriver(GetNodeDriverArgs.builder()\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getNodeDriver\n Arguments:\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getNodeDriver.\n", "properties": { @@ -50839,7 +54326,7 @@ } }, "rancher2:index/getNodePool:getNodePool": { - "description": "Use this data source to retrieve information about a Rancher v2 Node Pool resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = rancher2.getNodePool({\n clusterId: rancher2_cluster[\"foo-custom\"].id,\n name: \"foo\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_node_pool(cluster_id=rancher2_cluster[\"foo-custom\"][\"id\"],\n name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetNodePool.InvokeAsync(new Rancher2.GetNodePoolArgs\n {\n ClusterId = rancher2_cluster.Foo_custom.Id,\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupNodePool(ctx, \u0026GetNodePoolArgs{\n\t\t\tClusterId: rancher2_cluster.Foo - custom.Id,\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 Node Pool resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = rancher2.getNodePool({\n clusterId: rancher2_cluster[\"foo-custom\"].id,\n name: \"foo\",\n});\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_node_pool(cluster_id=rancher2_cluster[\"foo-custom\"][\"id\"],\n name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetNodePool.Invoke(new()\n {\n ClusterId = rancher2_cluster.Foo_custom.Id,\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupNodePool(ctx, \u0026GetNodePoolArgs{\n\t\t\tClusterId: rancher2_cluster.FooCustom.Id,\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetNodePoolArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getNodePool(GetNodePoolArgs.builder()\n .clusterId(rancher2_cluster.foo-custom().id())\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getNodePool\n Arguments:\n clusterId: ${rancher2_cluster\"foo-custom\"[%!s(MISSING)].id}\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getNodePool.\n", "properties": { @@ -50943,7 +54430,7 @@ } }, "rancher2:index/getNodeTemplate:getNodeTemplate": { - "description": "Use this data source to retrieve information about a Rancher v2 Node Template resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getNodeTemplate({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_node_template(name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetNodeTemplate.InvokeAsync(new Rancher2.GetNodeTemplateArgs\n {\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupNodeTemplate(ctx, \u0026GetNodeTemplateArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 Node Template resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getNodeTemplate({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_node_template(name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetNodeTemplate.Invoke(new()\n {\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupNodeTemplate(ctx, \u0026GetNodeTemplateArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetNodeTemplateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getNodeTemplate(GetNodeTemplateArgs.builder()\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getNodeTemplate\n Arguments:\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getNodeTemplate.\n", "properties": { @@ -51073,7 +54560,7 @@ } }, "rancher2:index/getNotifier:getNotifier": { - "description": "Use this data source to retrieve information about a Rancher v2 notifier.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getNotifier({\n clusterId: \"\u003ccluster_id\u003e\",\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_notifier(cluster_id=\"\u003ccluster_id\u003e\",\n name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetNotifier.InvokeAsync(new Rancher2.GetNotifierArgs\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupNotifier(ctx, \u0026GetNotifierArgs{\n\t\t\tClusterId: \"\u003ccluster_id\u003e\",\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 notifier.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getNotifier({\n clusterId: \"\u003ccluster_id\u003e\",\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_notifier(cluster_id=\"\u003ccluster_id\u003e\",\n name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetNotifier.Invoke(new()\n {\n ClusterId = \"\u003ccluster_id\u003e\",\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupNotifier(ctx, \u0026GetNotifierArgs{\n\t\t\tClusterId: \"\u003ccluster_id\u003e\",\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetNotifierArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getNotifier(GetNotifierArgs.builder()\n .clusterId(\"\u003ccluster_id\u003e\")\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getNotifier\n Arguments:\n clusterId: \u003ccluster_id\u003e\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getNotifier.\n", "properties": { @@ -51177,7 +54664,7 @@ } }, "rancher2:index/getPodSecurityPolicyTemplate:getPodSecurityPolicyTemplate": { - "description": "Use this data source to retrieve information about a Rancher v2 PodSecurityPolicyTemplate.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getPodSecurityPolicyTemplate({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_pod_security_policy_template(name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetPodSecurityPolicyTemplate.InvokeAsync(new Rancher2.GetPodSecurityPolicyTemplateArgs\n {\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupPodSecurityPolicyTemplate(ctx, \u0026GetPodSecurityPolicyTemplateArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 PodSecurityPolicyTemplate.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getPodSecurityPolicyTemplate({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_pod_security_policy_template(name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetPodSecurityPolicyTemplate.Invoke(new()\n {\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupPodSecurityPolicyTemplate(ctx, \u0026GetPodSecurityPolicyTemplateArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetPodSecurityPolicyTemplateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getPodSecurityPolicyTemplate(GetPodSecurityPolicyTemplateArgs.builder()\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getPodSecurityPolicyTemplate\n Arguments:\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getPodSecurityPolicyTemplate.\n", "properties": { @@ -51287,7 +54774,8 @@ }, "name": { "type": "string", - "description": "The name of the PodSecurityPolicyTemplate (string)\n" + "description": "The name of the PodSecurityPolicyTemplate (string)\n", + "willReplaceOnChanges": true }, "privileged": { "type": "boolean", @@ -51491,7 +54979,7 @@ } }, "rancher2:index/getPrincipal:getPrincipal": { - "description": "Use this data source to retrieve information about a Rancher v2 Principal resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getPrincipal({\n name: \"user@example.com\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_principal(name=\"user@example.com\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetPrincipal.InvokeAsync(new Rancher2.GetPrincipalArgs\n {\n Name = \"user@example.com\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.GetPrincipal(ctx, \u0026GetPrincipalArgs{\n\t\t\tName: \"user@example.com\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 Principal resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getPrincipal({\n name: \"user@example.com\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_principal(name=\"user@example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetPrincipal.Invoke(new()\n {\n Name = \"user@example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.GetPrincipal(ctx, \u0026GetPrincipalArgs{\n\t\t\tName: \"user@example.com\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetPrincipalArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getPrincipal(GetPrincipalArgs.builder()\n .name(\"user@example.com\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getPrincipal\n Arguments:\n name: user@example.com\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getPrincipal.\n", "properties": { @@ -51618,7 +55106,7 @@ } }, "rancher2:index/getProjectAlertGroup:getProjectAlertGroup": { - "description": "Use this data source to retrieve information about a Rancher v2 project alert group.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getProjectAlertGroup({\n name: \"\u003cproject_alert_group_name\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_project_alert_group(name=\"\u003cproject_alert_group_name\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetProjectAlertGroup.InvokeAsync(new Rancher2.GetProjectAlertGroupArgs\n {\n Name = \"\u003cproject_alert_group_name\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupProjectAlertGroup(ctx, \u0026GetProjectAlertGroupArgs{\n\t\t\tName: \"\u003cproject_alert_group_name\u003e\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 project alert group.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getProjectAlertGroup({\n name: \"\u003cproject_alert_group_name\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_project_alert_group(name=\"\u003cproject_alert_group_name\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetProjectAlertGroup.Invoke(new()\n {\n Name = \"\u003cproject_alert_group_name\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupProjectAlertGroup(ctx, \u0026GetProjectAlertGroupArgs{\n\t\t\tName: \"\u003cproject_alert_group_name\u003e\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetProjectAlertGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getProjectAlertGroup(GetProjectAlertGroupArgs.builder()\n .name(\"\u003cproject_alert_group_name\u003e\")\n .projectId(\"\u003cproject_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getProjectAlertGroup\n Arguments:\n name: \u003cproject_alert_group_name\u003e\n projectId: \u003cproject_id\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getProjectAlertGroup.\n", "properties": { @@ -51704,7 +55192,7 @@ } }, "rancher2:index/getProjectAlertRule:getProjectAlertRule": { - "description": "Use this data source to retrieve information about a Rancher v2 project alert rule.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getProjectAlertRule({\n name: \"\u003cproject_alert_rule_name\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_project_alert_rule(name=\"\u003cproject_alert_rule_name\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetProjectAlertRule.InvokeAsync(new Rancher2.GetProjectAlertRuleArgs\n {\n Name = \"\u003cproject_alert_rule_name\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupProjectAlertRule(ctx, \u0026GetProjectAlertRuleArgs{\n\t\t\tName: \"\u003cproject_alert_rule_name\u003e\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 project alert rule.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getProjectAlertRule({\n name: \"\u003cproject_alert_rule_name\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_project_alert_rule(name=\"\u003cproject_alert_rule_name\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetProjectAlertRule.Invoke(new()\n {\n Name = \"\u003cproject_alert_rule_name\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupProjectAlertRule(ctx, \u0026GetProjectAlertRuleArgs{\n\t\t\tName: \"\u003cproject_alert_rule_name\u003e\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetProjectAlertRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getProjectAlertRule(GetProjectAlertRuleArgs.builder()\n .name(\"\u003cproject_alert_rule_name\u003e\")\n .projectId(\"\u003cproject_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getProjectAlertRule\n Arguments:\n name: \u003cproject_alert_rule_name\u003e\n projectId: \u003cproject_id\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getProjectAlertRule.\n", "properties": { @@ -51813,7 +55301,7 @@ } }, "rancher2:index/getProjectLogging:getProjectLogging": { - "description": "Use this data source to retrieve information about a Rancher v2 Project Logging.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getProjectLogging({\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_project_logging(project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetProjectLogging.InvokeAsync(new Rancher2.GetProjectLoggingArgs\n {\n ProjectId = \"\u003cproject_id\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupProjectLogging(ctx, \u0026GetProjectLoggingArgs{\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 Project Logging.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getProjectLogging({\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_project_logging(project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetProjectLogging.Invoke(new()\n {\n ProjectId = \"\u003cproject_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupProjectLogging(ctx, \u0026GetProjectLoggingArgs{\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetProjectLoggingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getProjectLogging(GetProjectLoggingArgs.builder()\n .projectId(\"\u003cproject_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getProjectLogging\n Arguments:\n projectId: \u003cproject_id\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getProjectLogging.\n", "properties": { @@ -51923,7 +55411,7 @@ } }, "rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding": { - "description": "Use this data source to retrieve information about a Rancher v2 project role template binding.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getProjectRoleTemplateBinding({\n name: \"foo\",\n projectId: \"foo_id\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_project_role_template_binding(name=\"foo\",\n project_id=\"foo_id\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetProjectRoleTemplateBinding.InvokeAsync(new Rancher2.GetProjectRoleTemplateBindingArgs\n {\n Name = \"foo\",\n ProjectId = \"foo_id\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupProjectRoleTemplateBinding(ctx, \u0026GetProjectRoleTemplateBindingArgs{\n\t\t\tName: \"foo\",\n\t\t\tProjectId: \"foo_id\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 project role template binding.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getProjectRoleTemplateBinding({\n name: \"foo\",\n projectId: \"foo_id\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_project_role_template_binding(name=\"foo\",\n project_id=\"foo_id\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetProjectRoleTemplateBinding.Invoke(new()\n {\n Name = \"foo\",\n ProjectId = \"foo_id\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupProjectRoleTemplateBinding(ctx, \u0026GetProjectRoleTemplateBindingArgs{\n\t\t\tName: \"foo\",\n\t\t\tProjectId: \"foo_id\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetProjectRoleTemplateBindingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs.builder()\n .name(\"foo\")\n .projectId(\"foo_id\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getProjectRoleTemplateBinding\n Arguments:\n name: foo\n projectId: foo_id\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getProjectRoleTemplateBinding.\n", "properties": { @@ -52009,7 +55497,7 @@ } }, "rancher2:index/getRegistry:getRegistry": { - "description": "Use this data source to retrieve information about a Rancher v2 docker registry.\n\nDepending of the availability, there are 2 types of Rancher v2 docker registries:\n- Project registry: Available to all namespaces in the `project_id`\n- Namespaced registry: Available to just `namespace_id` in the `project_id`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Project Registry\nconst foo = pulumi.output(rancher2.getRegistry({\n name: \"\u003cname\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_registry(name=\"\u003cname\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetRegistry.InvokeAsync(new Rancher2.GetRegistryArgs\n {\n Name = \"\u003cname\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupRegistry(ctx, \u0026GetRegistryArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Namespaced Registry\nconst foo = pulumi.output(rancher2.getRegistry({\n name: \"\u003cname\u003e\",\n namespaceId: \"\u003cnamespace_id\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_registry(name=\"\u003cname\u003e\",\n namespace_id=\"\u003cnamespace_id\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetRegistry.InvokeAsync(new Rancher2.GetRegistryArgs\n {\n Name = \"\u003cname\u003e\",\n NamespaceId = \"\u003cnamespace_id\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupRegistry(ctx, \u0026GetRegistryArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tNamespaceId: pulumi.StringRef(\"\u003cnamespace_id\u003e\"),\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 docker registry.\n\nDepending of the availability, there are 2 types of Rancher v2 docker registries:\n- Project registry: Available to all namespaces in the `project_id`\n- Namespaced registry: Available to just `namespace_id` in the `project_id`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Project Registry\nconst foo = pulumi.output(rancher2.getRegistry({\n name: \"\u003cname\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_registry(name=\"\u003cname\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetRegistry.Invoke(new()\n {\n Name = \"\u003cname\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupRegistry(ctx, \u0026GetRegistryArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetRegistryArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder()\n .name(\"\u003cname\u003e\")\n .projectId(\"\u003cproject_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getRegistry\n Arguments:\n name: \u003cname\u003e\n projectId: \u003cproject_id\u003e\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Namespaced Registry\nconst foo = pulumi.output(rancher2.getRegistry({\n name: \"\u003cname\u003e\",\n namespaceId: \"\u003cnamespace_id\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_registry(name=\"\u003cname\u003e\",\n namespace_id=\"\u003cnamespace_id\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetRegistry.Invoke(new()\n {\n Name = \"\u003cname\u003e\",\n NamespaceId = \"\u003cnamespace_id\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupRegistry(ctx, \u0026GetRegistryArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tNamespaceId: pulumi.StringRef(\"\u003cnamespace_id\u003e\"),\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetRegistryArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder()\n .name(\"\u003cname\u003e\")\n .namespaceId(\"\u003cnamespace_id\u003e\")\n .projectId(\"\u003cproject_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getRegistry\n Arguments:\n name: \u003cname\u003e\n namespaceId: \u003cnamespace_id\u003e\n projectId: \u003cproject_id\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getRegistry.\n", "properties": { @@ -52087,7 +55575,7 @@ } }, "rancher2:index/getRoleTempalte:getRoleTempalte": { - "description": "Use this data source to retrieve information about a Rancher v2 role template resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getRoleTemplate({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_role_template(name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetRoleTemplate.InvokeAsync(new Rancher2.GetRoleTemplateArgs\n {\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupRoleTemplate(ctx, \u0026GetRoleTemplateArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 role template resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getRoleTemplate({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_role_template(name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetRoleTemplate.Invoke(new()\n {\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupRoleTemplate(ctx, \u0026GetRoleTemplateArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetRoleTemplateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getRoleTemplate(GetRoleTemplateArgs.builder()\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getRoleTemplate\n Arguments:\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getRoleTempalte.\n", "properties": { @@ -52196,7 +55684,7 @@ "deprecationMessage": "rancher2.getRoleTempalte has been deprecated in favor of rancher2.getRoleTemplate" }, "rancher2:index/getRoleTemplate:getRoleTemplate": { - "description": "Use this data source to retrieve information about a Rancher v2 role template resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getRoleTemplate({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_role_template(name=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetRoleTemplate.InvokeAsync(new Rancher2.GetRoleTemplateArgs\n {\n Name = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupRoleTemplate(ctx, \u0026GetRoleTemplateArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 role template resource.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getRoleTemplate({\n name: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_role_template(name=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetRoleTemplate.Invoke(new()\n {\n Name = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupRoleTemplate(ctx, \u0026GetRoleTemplateArgs{\n\t\t\tName: \"foo\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetRoleTemplateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getRoleTemplate(GetRoleTemplateArgs.builder()\n .name(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getRoleTemplate\n Arguments:\n name: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getRoleTemplate.\n", "properties": { @@ -52304,7 +55792,7 @@ } }, "rancher2:index/getSecret:getSecret": { - "description": "Use this data source to retrieve information about a Rancher v2 secret.\n\nDepending of the availability, there are 2 types of Rancher v2 secrets:\n- Project secret: Available to all namespaces in the `project_id`\n- Namespaced secret: Available to just `namespace_id` in the `project_id`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Project Secret\nconst foo = pulumi.output(rancher2.getSecret({\n name: \"\u003cname\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_secret(name=\"\u003cname\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetSecret.InvokeAsync(new Rancher2.GetSecretArgs\n {\n Name = \"\u003cname\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupSecret(ctx, \u0026GetSecretArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Namespaced Secret\nconst foo = pulumi.output(rancher2.getSecret({\n name: \"\u003cname\u003e\",\n namespaceId: \"\u003cnamespace_id\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_secret(name=\"\u003cname\u003e\",\n namespace_id=\"\u003cnamespace_id\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetSecret.InvokeAsync(new Rancher2.GetSecretArgs\n {\n Name = \"\u003cname\u003e\",\n NamespaceId = \"\u003cnamespace_id\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupSecret(ctx, \u0026GetSecretArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tNamespaceId: pulumi.StringRef(\"\u003cnamespace_id\u003e\"),\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 secret.\n\nDepending of the availability, there are 2 types of Rancher v2 secrets:\n- Project secret: Available to all namespaces in the `project_id`\n- Namespaced secret: Available to just `namespace_id` in the `project_id`\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Project Secret\nconst foo = pulumi.output(rancher2.getSecret({\n name: \"\u003cname\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_secret(name=\"\u003cname\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetSecret.Invoke(new()\n {\n Name = \"\u003cname\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupSecret(ctx, \u0026GetSecretArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetSecretArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder()\n .name(\"\u003cname\u003e\")\n .projectId(\"\u003cproject_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getSecret\n Arguments:\n name: \u003cname\u003e\n projectId: \u003cproject_id\u003e\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\n// Retrieve a rancher2 Namespaced Secret\nconst foo = pulumi.output(rancher2.getSecret({\n name: \"\u003cname\u003e\",\n namespaceId: \"\u003cnamespace_id\u003e\",\n projectId: \"\u003cproject_id\u003e\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_secret(name=\"\u003cname\u003e\",\n namespace_id=\"\u003cnamespace_id\u003e\",\n project_id=\"\u003cproject_id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetSecret.Invoke(new()\n {\n Name = \"\u003cname\u003e\",\n NamespaceId = \"\u003cnamespace_id\u003e\",\n ProjectId = \"\u003cproject_id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupSecret(ctx, \u0026GetSecretArgs{\n\t\t\tName: \"\u003cname\u003e\",\n\t\t\tNamespaceId: pulumi.StringRef(\"\u003cnamespace_id\u003e\"),\n\t\t\tProjectId: \"\u003cproject_id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetSecretArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder()\n .name(\"\u003cname\u003e\")\n .namespaceId(\"\u003cnamespace_id\u003e\")\n .projectId(\"\u003cproject_id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getSecret\n Arguments:\n name: \u003cname\u003e\n namespaceId: \u003cnamespace_id\u003e\n projectId: \u003cproject_id\u003e\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getSecret.\n", "properties": { @@ -52470,7 +55958,7 @@ } }, "rancher2:index/getSetting:getSetting": { - "description": "Use this data source to retrieve information about a Rancher v2 setting.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst server_image = pulumi.output(rancher2.getSetting({\n name: \"server-image\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nserver_image = rancher2.get_setting(name=\"server-image\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var server_image = Output.Create(Rancher2.GetSetting.InvokeAsync(new Rancher2.GetSettingArgs\n {\n Name = \"server-image\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupSetting(ctx, \u0026GetSettingArgs{\n\t\t\tName: \"server-image\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 setting.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst server_image = pulumi.output(rancher2.getSetting({\n name: \"server-image\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nserver_image = rancher2.get_setting(name=\"server-image\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var server_image = Rancher2.GetSetting.Invoke(new()\n {\n Name = \"server-image\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupSetting(ctx, \u0026GetSettingArgs{\n\t\t\tName: \"server-image\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetSettingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var server-image = Rancher2Functions.getSetting(GetSettingArgs.builder()\n .name(\"server-image\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n server-image:\n fn::invoke:\n Function: rancher2:getSetting\n Arguments:\n name: server-image\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getSetting.\n", "properties": { @@ -52607,7 +56095,7 @@ } }, "rancher2:index/getUser:getUser": { - "description": "Use this data source to retrieve information about a Rancher v2 user\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getUser({\n username: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_user(username=\"foo\")\n```\n```csharp\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nclass MyStack : Stack\n{\n public MyStack()\n {\n var foo = Output.Create(Rancher2.GetUser.InvokeAsync(new Rancher2.GetUserArgs\n {\n Username = \"foo\",\n }));\n }\n\n}\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := rancher2.LookupUser(ctx, \u0026GetUserArgs{\n\t\t\tUsername: pulumi.StringRef(\"foo\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "Use this data source to retrieve information about a Rancher v2 user\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as rancher2 from \"@pulumi/rancher2\";\n\nconst foo = pulumi.output(rancher2.getUser({\n username: \"foo\",\n}));\n```\n```python\nimport pulumi\nimport pulumi_rancher2 as rancher2\n\nfoo = rancher2.get_user(username=\"foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing Pulumi;\nusing Rancher2 = Pulumi.Rancher2;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Rancher2.GetUser.Invoke(new()\n {\n Username = \"foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err = rancher2.LookupUser(ctx, \u0026GetUserArgs{\n\t\t\tUsername: pulumi.StringRef(\"foo\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.rancher2.Rancher2Functions;\nimport com.pulumi.rancher2.inputs.GetUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = Rancher2Functions.getUser(GetUserArgs.builder()\n .username(\"foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: rancher2:getUser\n Arguments:\n username: foo\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getUser.\n", "properties": { @@ -52681,44 +56169,5 @@ ] } } - }, - "language": { - "csharp": { - "compatibility": "tfbridge20", - "namespaces": { - "index": "index", - "rancher2": "Rancher2" - }, - "packageReferences": { - "Pulumi": "3.*" - } - }, - "go": { - "generateExtraInputTypes": true, - "generateResourceContainerTypes": true, - "importBasePath": "github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2" - }, - "nodejs": { - "compatibility": "tfbridge20", - "dependencies": { - "@pulumi/pulumi": "^3.0.0" - }, - "devDependencies": { - "@types/mime": "^2.0.0", - "@types/node": "^10.0.0" - }, - "disableUnionOutputTypes": true, - "packageDescription": "A Pulumi package for creating and managing rancher2 resources.", - "packageName": "", - "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/rancher/terraform-provider-rancher2)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi/pulumi-rancher2` repo](https://github.com/pulumi/pulumi-rancher2/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`rancher/terraform-provider-rancher2` repo](https://github.com/rancher/terraform-provider-rancher2/issues).", - "typescriptVersion": "" - }, - "python": { - "compatibility": "tfbridge20", - "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/rancher/terraform-provider-rancher2)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi/pulumi-rancher2` repo](https://github.com/pulumi/pulumi-rancher2/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`rancher/terraform-provider-rancher2` repo](https://github.com/rancher/terraform-provider-rancher2/issues).", - "requires": { - "pulumi": "\u003e=3.0.0,\u003c4.0.0" - } - } } } \ No newline at end of file diff --git a/provider/go.mod b/provider/go.mod index e07a8c180..08bc469b0 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -6,265 +6,289 @@ replace ( github.com/crewjam/saml => github.com/crewjam/saml v0.4.1 github.com/docker/distribution => github.com/docker/distribution v2.7.1+incompatible github.com/docker/docker => github.com/docker/docker v20.10.6+incompatible - github.com/hashicorp/go-getter => github.com/hashicorp/go-getter v1.4.0 + github.com/hashicorp/go-getter => github.com/hashicorp/go-getter v1.5.3 + github.com/hashicorp/terraform-exec => github.com/hashicorp/terraform-exec v0.15.0 github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0 - github.com/rancher/norman => github.com/rancher/norman v0.0.0-20220107203912-4feb41eafabd - github.com/rancher/rancher => github.com/rancher/rancher v0.0.0-20220309231411-e4af2465c5b4 - github.com/rancher/rancher/pkg/apis => github.com/rancher/rancher/pkg/apis v0.0.0-20220411181203-b44d54ae2e81 - github.com/rancher/rancher/pkg/client => github.com/rancher/rancher/pkg/client v0.0.0-20220411181203-b44d54ae2e81 - github.com/rancher/terraform-provider-rancher2 => github.com/pulumi/terraform-provider-rancher2 v1.10.3-0.20220531095104-d8fb47a56ce2 + github.com/rancher/rancher/pkg/apis => github.com/rancher/rancher/pkg/apis v0.0.0-20220722231444-8b3c0513bc36 + github.com/rancher/rancher/pkg/client => github.com/rancher/rancher/pkg/client v0.0.0-20220722085125-e464ea405677 github.com/spf13/afero => github.com/spf13/afero v1.2.2 - helm.sh/helm/v3 => github.com/rancher/helm/v3 v3.5.4-rancher.1 - k8s.io/api => k8s.io/api v0.22.3 - k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.22.3 - k8s.io/apimachinery => k8s.io/apimachinery v0.22.3 - k8s.io/apiserver => k8s.io/apiserver v0.22.3 - k8s.io/cli-runtime => k8s.io/cli-runtime v0.22.3 - k8s.io/client-go => github.com/rancher/client-go v1.22.3-rancher.1 - k8s.io/cloud-provider => k8s.io/cloud-provider v0.22.3 - k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.22.3 - k8s.io/code-generator => k8s.io/code-generator v0.22.3 - k8s.io/component-base => k8s.io/component-base v0.22.3 - k8s.io/component-helpers => k8s.io/component-helpers v0.22.3 - k8s.io/controller-manager => k8s.io/controller-manager v0.22.3 - k8s.io/cri-api => k8s.io/cri-api v0.22.3 - k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.22.3 - k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.22.3 - k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.22.3 - k8s.io/kube-proxy => k8s.io/kube-proxy v0.22.3 - k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.22.3 - k8s.io/kubectl => k8s.io/kubectl v0.22.3 - k8s.io/kubelet => k8s.io/kubelet v0.22.3 - k8s.io/kubernetes => k8s.io/kubernetes v1.22.3 - k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.22.3 - k8s.io/metrics => k8s.io/metrics v0.22.3 - k8s.io/mount-utils => k8s.io/mount-utils v0.22.3 - k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.22.0 - k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.22.3 - launchpad.net/gocheck => github.com/go-check/check v0.0.0-20200227125254-8fa46927fb4f + k8s.io/api => k8s.io/api v0.24.2 + k8s.io/apimachinery => k8s.io/apimachinery v0.24.2 + k8s.io/client-go => github.com/rancher/client-go v1.24.0-rancher1 ) require ( - github.com/hashicorp/terraform-plugin-sdk v1.14.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.21.0 - github.com/pulumi/pulumi/sdk/v3 v3.30.0 - github.com/rancher/terraform-provider-rancher2 v1.23.0 + github.com/hashicorp/terraform-plugin-sdk v1.17.2 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.33.0 + github.com/pulumi/pulumi/sdk/v3 v3.44.2 + github.com/rancher/terraform-provider-rancher2 v1.25.0 ) require ( - cloud.google.com/go v0.100.2 // indirect - cloud.google.com/go/compute v1.3.0 // indirect - cloud.google.com/go/iam v0.1.0 // indirect - cloud.google.com/go/kms v1.4.0 // indirect + cloud.google.com/go v0.107.0 // indirect + cloud.google.com/go/compute v1.12.1 // indirect + cloud.google.com/go/compute/metadata v0.2.1 // indirect + cloud.google.com/go/iam v0.7.0 // indirect + cloud.google.com/go/kms v1.6.0 // indirect cloud.google.com/go/logging v1.0.0 // indirect - cloud.google.com/go/storage v1.15.0 // indirect - github.com/Azure/azure-pipeline-go v0.2.3 // indirect - github.com/Azure/azure-sdk-for-go v56.3.0+incompatible // indirect - github.com/Azure/azure-storage-blob-go v0.13.0 // indirect + cloud.google.com/go/longrunning v0.3.0 // indirect + cloud.google.com/go/storage v1.28.0 // indirect + github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect + github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 // indirect github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect - github.com/Azure/go-autorest/autorest v0.11.20 // indirect - github.com/Azure/go-autorest/autorest/adal v0.9.15 // indirect - github.com/Azure/go-autorest/autorest/azure/auth v0.5.7 // indirect - github.com/Azure/go-autorest/autorest/azure/cli v0.4.2 // indirect + github.com/Azure/go-autorest/autorest v0.11.28 // indirect + github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect + github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 // indirect + github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect github.com/Azure/go-autorest/autorest/to v0.4.1-0.20210111195520-9fc88b15294e // indirect github.com/Azure/go-autorest/autorest/validation v0.3.2-0.20210111195520-9fc88b15294e // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 // indirect github.com/Masterminds/goutils v1.1.1 // indirect - github.com/Masterminds/semver v1.5.0 // indirect - github.com/Masterminds/sprig v2.22.0+incompatible // indirect - github.com/Microsoft/go-winio v0.5.1 // indirect - github.com/agext/levenshtein v1.2.2 // indirect - github.com/apparentlymart/go-cidr v1.0.1 // indirect - github.com/apparentlymart/go-textseg v1.0.0 // indirect + github.com/Masterminds/semver/v3 v3.1.1 // indirect + github.com/Masterminds/sprig/v3 v3.2.2 // indirect + github.com/Microsoft/go-winio v0.5.2 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // 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.3 // indirect + github.com/apparentlymart/go-cidr v1.1.0 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect github.com/armon/go-radix v1.0.0 // indirect - github.com/aws/aws-sdk-go v1.38.65 // indirect + github.com/aws/aws-sdk-go v1.44.144 // indirect + github.com/aws/aws-sdk-go-v2 v1.16.8 // indirect + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect + github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect + github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.15 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.9 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect + github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect + github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect + github.com/aws/smithy-go v1.12.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.0 // indirect github.com/blang/semver v3.5.1+incompatible // indirect + github.com/cenkalti/backoff/v3 v3.2.2 // indirect github.com/cespare/xxhash/v2 v2.1.2 // indirect - github.com/cheggaaa/pb v1.0.27 // indirect + github.com/cheggaaa/pb v1.0.29 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect - github.com/djherbis/times v1.2.0 // indirect + github.com/djherbis/times v1.5.0 // indirect github.com/dustin/go-humanize v1.0.0 // indirect + github.com/edsrzf/mmap-go v1.1.0 // indirect + github.com/emicklei/go-restful/v3 v3.10.1 // indirect github.com/emirpasic/gods v1.12.0 // indirect - github.com/evanphx/json-patch v4.12.0+incompatible // indirect + github.com/ettle/strcase v0.1.1 // indirect + github.com/evanphx/json-patch v5.6.0+incompatible // indirect + github.com/evanphx/json-patch/v5 v5.6.0 // indirect github.com/fatih/color v1.13.0 // indirect - github.com/fsnotify/fsnotify v1.5.1 // indirect + github.com/fsnotify/fsnotify v1.6.0 // indirect github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect github.com/ghodss/yaml v1.0.0 // indirect - github.com/go-logr/logr v1.2.0 // indirect + github.com/go-git/gcfg v1.5.0 // indirect + github.com/go-git/go-billy/v5 v5.3.1 // indirect + github.com/go-git/go-git/v5 v5.4.2 // indirect + github.com/go-logr/logr v1.2.3 // indirect + github.com/go-openapi/jsonpointer v0.19.5 // indirect + github.com/go-openapi/jsonreference v0.20.0 // indirect + github.com/go-openapi/swag v0.22.3 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt/v4 v4.0.0 // indirect + github.com/golang-jwt/jwt v3.2.1+incompatible // indirect + github.com/golang-jwt/jwt/v4 v4.4.2 // indirect github.com/golang/glog v1.0.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.2 // indirect - github.com/golang/snappy v0.0.3 // indirect - github.com/google/go-cmp v0.5.7 // indirect - github.com/google/go-querystring v1.0.0 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/google/gnostic v0.6.9 // indirect + github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-querystring v1.1.0 // indirect github.com/google/gofuzz v1.2.0 // indirect - github.com/google/uuid v1.2.0 // indirect + github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect + github.com/google/uuid v1.3.0 // indirect github.com/google/wire v0.5.0 // indirect - github.com/googleapis/gax-go/v2 v2.1.1 // indirect - github.com/googleapis/gnostic v0.5.5 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.2.0 // indirect + github.com/googleapis/gax-go/v2 v2.7.0 // indirect github.com/gorilla/mux v1.8.0 // indirect - github.com/gorilla/websocket v1.4.2 // indirect + github.com/gorilla/websocket v1.5.0 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-checkpoint v0.5.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect - github.com/hashicorp/go-getter v1.5.3 // indirect - github.com/hashicorp/go-hclog v1.0.0 // indirect + github.com/hashicorp/go-getter v1.6.2 // indirect + github.com/hashicorp/go-hclog v1.3.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-plugin v1.4.1 // indirect - github.com/hashicorp/go-retryablehttp v0.7.0 // indirect + github.com/hashicorp/go-plugin v1.4.6 // indirect + github.com/hashicorp/go-retryablehttp v0.7.1 // indirect github.com/hashicorp/go-rootcerts v1.0.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-sockaddr v1.0.2 // indirect - github.com/hashicorp/go-uuid v1.0.2 // indirect - github.com/hashicorp/go-version v1.4.0 // indirect + github.com/hashicorp/go-uuid v1.0.3 // indirect + github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.3.0 // indirect + github.com/hashicorp/hcl/v2 v2.15.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8 // indirect - github.com/hashicorp/terraform-json v0.13.0 // indirect - github.com/hashicorp/terraform-plugin-test v1.3.0 // indirect + github.com/hashicorp/terraform-config-inspect v0.0.0-20221020162138-81db043ad408 // indirect + github.com/hashicorp/terraform-exec v0.17.3 // indirect + github.com/hashicorp/terraform-json v0.14.0 // indirect + github.com/hashicorp/terraform-plugin-test/v2 v2.2.1 // indirect github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect - github.com/hashicorp/vault/api v1.1.0 // indirect - github.com/hashicorp/vault/sdk v0.2.0 // indirect - github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect - github.com/huandu/xstrings v1.3.2 // indirect + github.com/hashicorp/vault/api v1.1.1 // indirect + github.com/hashicorp/vault/sdk v0.2.1 // indirect + github.com/hashicorp/yamux v0.1.1 // indirect + github.com/huandu/xstrings v1.3.3 // indirect github.com/iancoleman/strcase v0.2.0 // indirect github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect - github.com/imdario/mergo v0.3.12 // indirect + github.com/imdario/mergo v0.3.13 // indirect github.com/inconshreveable/mousetrap v1.0.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect + github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect - github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect - github.com/mattn/go-colorable v0.1.12 // indirect - github.com/mattn/go-ieproxy v0.0.1 // indirect - github.com/mattn/go-isatty v0.0.14 // indirect + github.com/kevinburke/ssh_config v1.1.0 // indirect + github.com/klauspost/compress v1.15.1 // indirect + github.com/kylelemons/godebug v1.1.0 // indirect + github.com/mailru/easyjson v0.7.7 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.16 // indirect github.com/mattn/go-runewidth v0.0.13 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect - github.com/mitchellh/cli v1.1.2 // indirect + github.com/mitchellh/cli v1.1.5 // indirect github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect github.com/mitchellh/go-testing-interface v1.14.1 // indirect - github.com/mitchellh/go-wordwrap v1.0.0 // indirect + github.com/mitchellh/go-wordwrap v1.0.1 // indirect github.com/mitchellh/hashstructure v1.0.0 // indirect - github.com/mitchellh/mapstructure v1.4.3 // indirect + github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/oklog/run v1.0.0 // indirect - github.com/opentracing/basictracer-go v1.0.0 // indirect - github.com/opentracing/opentracing-go v1.1.0 // indirect + github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect + github.com/natefinch/atomic v1.0.1 // indirect + github.com/oklog/run v1.1.0 // indirect + github.com/opentracing/basictracer-go v1.1.0 // indirect + github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect - github.com/pierrec/lz4 v2.6.0+incompatible // indirect + github.com/pierrec/lz4 v2.6.1+incompatible // indirect + github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect 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/posener/complete v1.2.3 // indirect - github.com/prometheus/client_golang v1.12.1 // indirect - github.com/prometheus/client_model v0.2.0 // indirect - github.com/prometheus/common v0.32.1 // indirect - github.com/prometheus/procfs v0.7.3 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.30.0 // indirect + github.com/prometheus/client_golang v1.14.0 // indirect + github.com/prometheus/client_model v0.3.0 // indirect + github.com/prometheus/common v0.37.0 // indirect + github.com/prometheus/procfs v0.8.0 // indirect + github.com/pulumi/pulumi-java/pkg v0.6.0 // indirect + github.com/pulumi/pulumi-yaml v0.5.10 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.44.2 // indirect + github.com/pulumi/schema-tools v0.1.0 // indirect github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e // indirect - github.com/rancher/aks-operator v1.0.5-rc1 // indirect - github.com/rancher/eks-operator v1.1.3 // indirect - github.com/rancher/fleet/pkg/apis v0.0.0-20210918015053-5a141a6b18f0 // indirect - github.com/rancher/gke-operator v1.1.3 // indirect - github.com/rancher/lasso v0.0.0-20220303220250-a429cb5cb9c9 // indirect - github.com/rancher/norman v0.0.0-20220107203912-4feb41eafabd // indirect - github.com/rancher/rancher v0.0.0-20220309231411-e4af2465c5b4 // indirect + github.com/rancher/aks-operator v1.0.7 // indirect + github.com/rancher/eks-operator v1.1.5 // indirect + github.com/rancher/fleet/pkg/apis v0.0.0-20221122124255-1f3f5ca7f9e0 // indirect + github.com/rancher/gke-operator v1.1.5 // indirect + github.com/rancher/lasso v0.0.0-20220628160937-749b3397db38 // indirect + github.com/rancher/norman v0.0.0-20220719193118-e21cabdc65b9 // indirect + github.com/rancher/rancher v0.0.0-20220718174817-2b1e3eef0d19 // indirect github.com/rancher/rancher/pkg/apis v0.0.0 // indirect github.com/rancher/rancher/pkg/client v0.0.0 // indirect - github.com/rancher/rke v1.3.8-rc6 // indirect - github.com/rancher/wrangler v0.8.11-0.20220217210408-3ecd23dfea3b // indirect + github.com/rancher/rke v1.4.0 // indirect + github.com/rancher/wrangler v1.0.1-0.20220520195731-8eeded9bae2a // indirect github.com/rivo/uniseg v0.2.0 // indirect - github.com/rjeczalik/notify v0.9.2 // indirect github.com/rogpeppe/go-internal v1.8.1 // 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-20180611051255-d3107576ba94 // indirect + github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect + github.com/segmentio/asm v1.1.3 // indirect + github.com/segmentio/encoding v0.3.5 // indirect github.com/sergi/go-diff v1.2.0 // indirect - github.com/sirupsen/logrus v1.8.1 // indirect - github.com/spf13/afero v1.6.0 // indirect - github.com/spf13/cobra v1.4.0 // indirect + github.com/shopspring/decimal v1.3.1 // indirect + github.com/sirupsen/logrus v1.9.0 // indirect + github.com/spf13/afero v1.9.3 // indirect + github.com/spf13/cast v1.5.0 // indirect + github.com/spf13/cobra v1.5.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/src-d/gcfg v1.4.0 // indirect - github.com/stretchr/testify v1.7.1 // indirect - github.com/terraform-providers/terraform-provider-archive v1.3.0 // indirect - github.com/terraform-providers/terraform-provider-http v1.2.0 // indirect - github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6 // indirect + github.com/stretchr/testify v1.8.1 // 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.22.1+incompatible // indirect - github.com/uber/jaeger-lib v2.2.0+incompatible // indirect - github.com/ulikunitz/xz v0.5.7 // indirect + github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect + github.com/uber/jaeger-lib v2.4.1+incompatible // indirect + github.com/ulikunitz/xz v0.5.10 // indirect github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect - github.com/vmihailenco/tagparser v0.1.1 // indirect - github.com/xanzy/ssh-agent v0.3.0 // indirect + github.com/vmihailenco/tagparser v0.1.2 // indirect + github.com/xanzy/ssh-agent v0.3.2 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect - github.com/zclconf/go-cty v1.9.1 // indirect - github.com/zclconf/go-cty-yaml v1.0.1 // indirect - go.opencensus.io v0.23.0 // indirect - go.uber.org/atomic v1.7.0 // indirect - gocloud.dev v0.23.0 // indirect - gocloud.dev/secrets/hashivault v0.23.0 // indirect - golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871 // indirect - golang.org/x/mod v0.5.0 // indirect - golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect - golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect - golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect - golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect - golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect - golang.org/x/text v0.3.7 // indirect - golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect - golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect + github.com/zclconf/go-cty v1.12.1 // indirect + github.com/zclconf/go-cty-yaml v1.0.3 // indirect + go.opencensus.io v0.24.0 // indirect + go.uber.org/atomic v1.9.0 // indirect + gocloud.dev v0.27.0 // indirect + gocloud.dev/secrets/hashivault v0.24.0 // indirect + golang.org/x/crypto v0.3.0 // indirect + golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect + golang.org/x/net v0.2.0 // indirect + golang.org/x/oauth2 v0.2.0 // indirect + golang.org/x/sync v0.1.0 // indirect + golang.org/x/sys v0.2.0 // indirect + golang.org/x/term v0.2.0 // indirect + golang.org/x/text v0.4.0 // indirect + golang.org/x/time v0.2.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.70.0 // indirect + google.golang.org/api v0.103.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf // indirect - google.golang.org/grpc v1.44.0 // indirect - google.golang.org/protobuf v1.27.1 // indirect + google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6 // indirect + google.golang.org/grpc v1.51.0 // indirect + google.golang.org/protobuf v1.28.1 // indirect gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f // indirect gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/square/go-jose.v2 v2.5.1 // indirect - gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect - gopkg.in/src-d/go-git.v4 v4.13.1 // indirect + gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect - gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect - k8s.io/api v0.23.3 // indirect - k8s.io/apiextensions-apiserver v0.23.1 // indirect - k8s.io/apimachinery v0.23.3 // indirect - k8s.io/apiserver v0.23.3 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + k8s.io/api v0.25.4 // indirect + k8s.io/apiextensions-apiserver v0.25.4 // indirect + k8s.io/apimachinery v0.25.4 // indirect + k8s.io/apiserver v0.25.4 // indirect k8s.io/client-go v12.0.0+incompatible // indirect - k8s.io/component-base v0.23.3 // indirect - k8s.io/klog/v2 v2.30.0 // indirect - k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect - k8s.io/utils v0.0.0-20211116205334-6203023598ed // indirect - sigs.k8s.io/cli-utils v0.16.0 // indirect - sigs.k8s.io/cluster-api v1.1.2 // indirect - sigs.k8s.io/controller-runtime v0.11.1 // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect + k8s.io/component-base v0.25.4 // indirect + k8s.io/klog/v2 v2.80.1 // indirect + k8s.io/kube-openapi v0.0.0-20221123160016-cac62f206a83 // indirect + k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 // indirect + lukechampine.com/frand v1.4.2 // indirect + sigs.k8s.io/cli-utils v0.34.0 // indirect + sigs.k8s.io/cluster-api v1.2.6 // indirect + sigs.k8s.io/controller-runtime v0.13.1 // indirect + sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect - sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 // indirect + sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect ) diff --git a/provider/go.sum b/provider/go.sum index 3e8a4c7a5..3684b58f3 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1,18 +1,15 @@ bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690/go.mod h1:Ulb78X89vxKYgdL24HMTiXYHlyHEvruOj1ZPlqeNEZM= +bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.37.4/go.mod h1:NHPJ89PdicEuT9hdPXMROBD91xc5uRDxsMtSB16k7hw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.39.0/go.mod h1:rVLT6fkc8chs9sfPtFc1SBH6em7n+ZoXaG+87tDISts= cloud.google.com/go v0.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.51.0/go.mod h1:hWtGJ6gnXH+KgDv+V0zFGDvpi07n3z8ZNj3T1RW0Gcw= cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= @@ -27,18 +24,27 @@ cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPT cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= +cloud.google.com/go v0.82.0/go.mod h1:vlKccHJGuFBFufnAnuB08dfEH9Y3H7dzDzRECFdC2TA= cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= +cloud.google.com/go v0.88.0/go.mod h1:dnKwfYbP9hQhefiUvpbcAyoGSHUrOxR20JVElLiUvEY= +cloud.google.com/go v0.89.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= +cloud.google.com/go v0.92.2/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= +cloud.google.com/go v0.92.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= +cloud.google.com/go v0.94.0/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= -cloud.google.com/go v0.98.0/go.mod h1:ua6Ush4NALrHk5QXDWnjvZHN93OuF0HfuEPq9I1X0cM= cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= cloud.google.com/go v0.100.1/go.mod h1:fs4QogzfH5n2pBXBP9vRiU+eCny7lD2vmFZy79Iuw1U= -cloud.google.com/go v0.100.2 h1:t9Iw5QH5v4XtlEQaCtUY7x6sCABps8sW0acw7e2WQ6Y= cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= +cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= +cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= +cloud.google.com/go v0.103.0/go.mod h1:vwLx1nqLrzLX/fpwSMOXmFIqBOyHsvHbnAdbGSJ+mKk= +cloud.google.com/go v0.107.0 h1:qkj22L7bgkl6vIeZDlOY2po43Mx/TIa2Wsa7VR+PEww= +cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -46,195 +52,226 @@ cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUM cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= -cloud.google.com/go/compute v1.3.0 h1:mPL/MzDDYHsh5tHRS9mhmhWlcgClCrCa6ApQCU6wnHI= cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= +cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= +cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= +cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= +cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= +cloud.google.com/go/compute v1.12.1 h1:gKVJMEyqV5c/UnpzjjQbo3Rjvvqpr9B1DFSbJC4OXr0= +cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= +cloud.google.com/go/compute/metadata v0.2.1 h1:efOwf5ymceDhK6PKMnnrTHP4pppY5L22mle96M1yP48= +cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= cloud.google.com/go/firestore v1.5.0/go.mod h1:c4nNYR1qdq7eaZ+jSc5fonrQN2k3M7sWATcYTiakjEo= -cloud.google.com/go/firestore v1.6.0/go.mod h1:afJwI0vaXwAG54kI7A//lP/lSPDkQORQuMkv56TxEPU= cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= -cloud.google.com/go/iam v0.1.0 h1:W2vbGCrE3Z7J/x3WXLxxGl9LMSB2uhsAA7Ss/6u/qRY= cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= -cloud.google.com/go/kms v1.4.0 h1:iElbfoE61VeLhnZcGOltqL8HIly8Nhbe5t6JlH9GXjo= +cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= +cloud.google.com/go/iam v0.7.0 h1:k4MuwOsS7zGJJ+QfZ5vBK8SgHBAvYN/23BWsiihJ1vs= +cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg= +cloud.google.com/go/kms v0.1.0/go.mod h1:8Qp8PCAypHg4FdmlyW1QRAv09BGQ9Uzh7JnmIZxPk+c= cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= +cloud.google.com/go/kms v1.6.0 h1:OWRZzrPmOZUzurjI2FBGtgY2mB1WaJkqhw6oIwSj0Yg= +cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0= cloud.google.com/go/logging v1.0.0 h1:kaunpnoEh9L4hu6JUsBa8Y20LBfKnCuDhKUgdZp7oK8= cloud.google.com/go/logging v1.0.0/go.mod h1:V1cc3ogwobYzQq5f2R7DS/GvRIrI4FKj01Gs5glwAls= +cloud.google.com/go/longrunning v0.3.0 h1:NjljC+FYPV3uh5/OwWT6pVU+doBqMg2x/rZlE+CamDs= +cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= +cloud.google.com/go/monitoring v0.1.0/go.mod h1:Hpm3XfzJv+UTiXzCG5Ffp0wijzHTC7Cv4eR7o3x/fEE= +cloud.google.com/go/monitoring v1.1.0/go.mod h1:L81pzz7HKn14QCMaCs6NTQkdBnE87TElyanS95vIcl4= +cloud.google.com/go/monitoring v1.5.0/go.mod h1:/o9y8NYX5j91JjD/JvGLYbi86kL11OjyJXq2XziLJu4= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/pubsub v1.10.3/go.mod h1:FUcc28GpGxxACoklPsE1sCtbkY4Ix+ro7yvw+h82Jn4= +cloud.google.com/go/pubsub v1.16.0/go.mod h1:6A8EfoWZ/lUvCWStKGwAWauJZSiuV0Mkmu6WilK/TxQ= +cloud.google.com/go/pubsub v1.24.0/go.mod h1:rWv09Te1SsRpRGPiWOMDKraMQTJyJps4MkUCoMGUgqw= +cloud.google.com/go/secretmanager v0.1.0/go.mod h1:3nGKHvnzDUVit7U0S9KAKJ4aOsO1xtwRG+7ey5LK1bM= +cloud.google.com/go/secretmanager v1.5.0/go.mod h1:5C9kM+RwSpkURNovKySkNvGQLUaOgyoR5W0RUx2SyHQ= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.15.0 h1:Ljj+ZXVEhCr/1+4ZhvtteN1ND7UUsNTlduGclLh8GO0= -cloud.google.com/go/storage v1.15.0/go.mod h1:mjjQMoxxyGH7Jr8K5qrx6N2O0AHsczI61sMNn03GIZI= +cloud.google.com/go/storage v1.16.1/go.mod h1:LaNorbty3ehnU3rEjXSNV/NRgQA0O8Y+uh6bPe5UOk4= +cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= +cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= +cloud.google.com/go/storage v1.24.0/go.mod h1:3xrJEFMXBsQLgxwThyjuD3aYlroL0TMRec1ypGUQ0KE= +cloud.google.com/go/storage v1.28.0 h1:DLrIZ6xkeZX6K70fU/boWx5INJumt6f+nwwWSHXzzGY= +cloud.google.com/go/storage v1.28.0/go.mod h1:qlgZML35PXA3zoEnIkiPLY4/TOkUleufRlu6qmcf7sI= +cloud.google.com/go/trace v0.1.0/go.mod h1:wxEwsoeRVPbeSkt7ZC9nWCgmoKQRAoySN7XHW2AmI7g= +cloud.google.com/go/trace v1.0.0/go.mod h1:4iErSByzxkyHWzzlAj63/Gmjz0NH1ASqhJguHpGcr6A= +cloud.google.com/go/trace v1.2.0/go.mod h1:Wc8y/uYyOhPy12KEnXG9XGrvfMz5F5SrYecQlbW1rwM= +code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c/go.mod h1:QD9Lzhd/ux6eNQVUDVRJX/RKTigpewimNYBi7ivZKY8= contrib.go.opencensus.io/exporter/aws v0.0.0-20200617204711-c478e41e60e9/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA= -contrib.go.opencensus.io/exporter/stackdriver v0.13.5/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc= +contrib.go.opencensus.io/exporter/stackdriver v0.13.8/go.mod h1:huNtlWx75MwO7qMs0KrMxPZXzNNWebav1Sq/pm02JdQ= +contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waTHuDf4aQ8D2DrhgETRo9fy6k3Xlzc= contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/360EntSecGroup-Skylar/excelize v1.4.1/go.mod h1:vnax29X2usfl7HHkBrX5EvSCJcmH3dT9luvxzu8iGAE= +github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= github.com/AlecAivazis/survey/v2 v2.0.5/go.mod h1:WYBhg6f0y/fNYUuesWQc0PKbJcEliGcYHB9sNT3Bg74= github.com/Azure/azure-amqp-common-go/v3 v3.1.0/go.mod h1:PBIGdzcO1teYoufTKMcGibdKaYZv4avS+O6LNIp8bq0= -github.com/Azure/azure-pipeline-go v0.2.3 h1:7U9HBg1JFK3jHl5qmo4CTZKFTVgMwdFHMVtCdfBE21U= +github.com/Azure/azure-amqp-common-go/v3 v3.1.1/go.mod h1:YsDaPfaO9Ub2XeSKdIy2DfwuiQlHQCauHJwSqtrkECI= +github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-pipeline-go v0.2.3/go.mod h1:x841ezTBIMG6O3lAcl8ATHnsOPVl2bqk7S3ta6S6u4k= github.com/Azure/azure-sdk-for-go v51.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v54.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v55.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v55.7.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v56.3.0+incompatible h1:DmhwMrUIvpeoTDiWRDtNHqelNUd3Og8JCkrLHQK795c= -github.com/Azure/azure-sdk-for-go v56.3.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-service-bus-go v0.10.11/go.mod h1:AWw9eTTWZVZyvgpPahD1ybz3a8/vT3GsJDS8KYex55U= -github.com/Azure/azure-storage-blob-go v0.13.0 h1:lgWHvFh+UYBNVQLFHXkvul2f6yOPA9PIH82RTG2cSwc= -github.com/Azure/azure-storage-blob-go v0.13.0/go.mod h1:pA9kNqtjUeQF2zOSu4s//nUdBD+e64lEuc4sVnuOfNs= +github.com/Azure/azure-sdk-for-go v57.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v65.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmVGurPWMHDX2YNXVQMrBpEE= +github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= +github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= +github.com/Azure/azure-service-bus-go v0.10.16/go.mod h1:MlkLwGGf1ewcx5jZadn0gUEty+tTg0RaElr6bPf+QhI= +github.com/Azure/azure-storage-blob-go v0.14.0/go.mod h1:SMqIBi+SuiQH32bvyjngEewEeXoPfKMgWlBDaYf6fck= github.com/Azure/go-amqp v0.13.0/go.mod h1:qj+o8xPCz9tMSbQ83Vp8boHahuRDl5mkNHyt1xlxUTs= -github.com/Azure/go-amqp v0.13.4/go.mod h1:wbpCKA8tR5MLgRyIu+bb+S6ECdIDdYJ0NlpFE9xsBPI= -github.com/Azure/go-amqp v0.13.7/go.mod h1:wbpCKA8tR5MLgRyIu+bb+S6ECdIDdYJ0NlpFE9xsBPI= +github.com/Azure/go-amqp v0.13.11/go.mod h1:D5ZrjQqB1dyp1A+G73xeL/kNn7D5qHJIIsNNps7YNmk= +github.com/Azure/go-amqp v0.13.12/go.mod h1:D5ZrjQqB1dyp1A+G73xeL/kNn7D5qHJIIsNNps7YNmk= +github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= +github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= -github.com/Azure/go-autorest/autorest v0.9.3/go.mod h1:GsRuLYvwzLjjjRoWEIyMUaYq8GNUx2nRB378IPt/1p0= github.com/Azure/go-autorest/autorest v0.11.3/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= github.com/Azure/go-autorest/autorest v0.11.17/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= -github.com/Azure/go-autorest/autorest v0.11.19/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA= -github.com/Azure/go-autorest/autorest v0.11.20 h1:s8H1PbCZSqg/DH7JMlOz6YMig6htWLNPsjDdlLqCx3M= github.com/Azure/go-autorest/autorest v0.11.20/go.mod h1:o3tqFY+QR40VOlk+pV4d77mORO64jOXSgEnPQgLK6JY= -github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= -github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= -github.com/Azure/go-autorest/autorest/adal v0.8.1/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= +github.com/Azure/go-autorest/autorest v0.11.24/go.mod h1:G6kyRlFnTuSbEYkQGawPfsCswgme4iYf6rfSKUDzbCc= +github.com/Azure/go-autorest/autorest v0.11.25/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= +github.com/Azure/go-autorest/autorest v0.11.27/go.mod h1:7l8ybrIdUmGqZMTD0sRtAr8NvbHjfofbf8RSP2q7w7U= +github.com/Azure/go-autorest/autorest v0.11.28 h1:ndAExarwr5Y+GaHE6VCaY1kyS/HwwGGyuimVhWsHOEM= +github.com/Azure/go-autorest/autorest v0.11.28/go.mod h1:MrkzG3Y3AH668QyF9KRk5neJnGgmhQ6krbhR8Q5eMvA= github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= -github.com/Azure/go-autorest/autorest/adal v0.9.2/go.mod h1:/3SMAM86bP6wC9Ev35peQDUeqFZBMH07vvUOmg4z/fE= github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= github.com/Azure/go-autorest/autorest/adal v0.9.11/go.mod h1:nBKAnTomx8gDtl+3ZCJv2v0KACFHWTB2drffI1B68Pk= github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= github.com/Azure/go-autorest/autorest/adal v0.9.14/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M= -github.com/Azure/go-autorest/autorest/adal v0.9.15 h1:X+p2GF0GWyOiSmqohIaEeuNFNDY4I4EOlVuUQvFdWMk= github.com/Azure/go-autorest/autorest/adal v0.9.15/go.mod h1:tGMin8I49Yij6AQ+rvV+Xa/zwxYQB5hmsd6DkfAx2+A= -github.com/Azure/go-autorest/autorest/azure/auth v0.4.2/go.mod h1:90gmfKdlmKgfjUpnCEpOJzsUEjrWDSLwHIG73tSXddM= -github.com/Azure/go-autorest/autorest/azure/auth v0.5.7 h1:8DQB8yl7aLQuP+nuR5e2RO6454OvFlSTXXaNHshc16s= -github.com/Azure/go-autorest/autorest/azure/auth v0.5.7/go.mod h1:AkzUsqkrdmNhfP2i54HqINVQopw0CLDnvHpJ88Zz1eI= -github.com/Azure/go-autorest/autorest/azure/cli v0.3.1/go.mod h1:ZG5p860J94/0kI9mNJVoIoLgXcirM2gF5i2kWloofxw= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.2 h1:dMOmEJfkLKW/7JsokJqkyoYSgmR08hi9KrhjZb+JALY= +github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= +github.com/Azure/go-autorest/autorest/adal v0.9.20/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= +github.com/Azure/go-autorest/autorest/adal v0.9.21 h1:jjQnVFXPfekaqb8vIsv2G1lxshoW+oGv4MDlhRtnYZk= +github.com/Azure/go-autorest/autorest/adal v0.9.21/go.mod h1:zua7mBUaCc5YnSLKYgGJR/w5ePdMDA6H56upLsHzA9U= +github.com/Azure/go-autorest/autorest/azure/auth v0.5.8/go.mod h1:kxyKZTSfKh8OVFWPAgOgQ/frrJgeYQJPyR5fLFmXko4= +github.com/Azure/go-autorest/autorest/azure/auth v0.5.11 h1:P6bYXFoao05z5uhOQzbC3Qd8JqF3jUoocoTeIxkp2cA= +github.com/Azure/go-autorest/autorest/azure/auth v0.5.11/go.mod h1:84w/uV8E37feW2NCJ08uT9VBfjfUHpgLVnG2InYD6cg= github.com/Azure/go-autorest/autorest/azure/cli v0.4.2/go.mod h1:7qkJkT+j6b+hIpzMOwPChJhTqS8VbsqqgULzMNRugoM= -github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= -github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.3/go.mod h1:yAQ2b6eP/CmLPnmLvxtT1ALIY3OR1oFcCqVBi8vHiTc= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.5/go.mod h1:ADQAXrkgm7acgWVUNamOgh8YNrv4p27l3Wc55oVfpzg= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 h1:w77/uPk80ZET2F+AfQExZyEWtn+0Rk/uw17m9fv5Ajc= +github.com/Azure/go-autorest/autorest/azure/cli v0.4.6/go.mod h1:piCfgPho7BiIDdEQ1+g4VmKyD5y+p/XtSNqE6Hc4QD0= github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsIWKAfJfgHDo8ObuUk3t5sA= +github.com/Azure/go-autorest/autorest/mocks v0.4.2 h1:PGN4EDXnuQbojHbU0UWoNvmu9AGVwYHG9/fkDYhtAfw= +github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= github.com/Azure/go-autorest/autorest/to v0.4.1-0.20210111195520-9fc88b15294e h1:WtrRUJ/WPh/04d6LjOGTEDm8Sy3DI9knJgd+81tYRhM= github.com/Azure/go-autorest/autorest/to v0.4.1-0.20210111195520-9fc88b15294e/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= -github.com/Azure/go-autorest/autorest/validation v0.1.0/go.mod h1:Ha3z/SqBeaalWQvokg3NZAlQTalVMtOIAs1aGK7G6u8= -github.com/Azure/go-autorest/autorest/validation v0.2.0/go.mod h1:3EEqHnBxQGHXRYq3HT1WyXAvT7LLY3tl70hw6tQIbjI= github.com/Azure/go-autorest/autorest/validation v0.3.1/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= github.com/Azure/go-autorest/autorest/validation v0.3.2-0.20210111195520-9fc88b15294e h1:HoowCmmnS+grm3frwGZE+1tXa4ssmy1lgSac+BfteTg= github.com/Azure/go-autorest/autorest/validation v0.3.2-0.20210111195520-9fc88b15294e/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= -github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= +github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 h1:BWe8a+f/t+7KY7zH2mqygeUD0t8hNFXe08p1Pb3/jKE= +github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DataDog/zstd v1.4.5/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= -github.com/GoogleCloudPlatform/cloudsql-proxy v1.22.0/go.mod h1:mAm5O/zik2RFmcpigNjg6nMotDL8ZXJaxKzgGVcSMFA= -github.com/GoogleCloudPlatform/k8s-cloud-provider v0.0.0-20200415212048-7901bc822317/go.mod h1:DF8FZRxMHMGv/vP2lQP6h+dYzzjpuRn24VeRiYn3qjQ= -github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab/go.mod h1:3VYc5hodBMJ5+l/7J4xAyMeuM2PNuepvHlGs8yilUCA= +github.com/GoogleCloudPlatform/cloudsql-proxy v1.24.0/go.mod h1:3tx938GhY4FC+E1KT/jNjDw7Z5qxAEtIiERJ2sXjnII= +github.com/GoogleCloudPlatform/cloudsql-proxy v1.31.2/go.mod h1:qR6jVnZTKDCW3j+fC9mOEPHm++1nKDMkqbbkD6KNsfo= +github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd/go.mod h1:64YHyfSL2R96J44Nlwm39UHepQbyR5q10x7iYa1ks2E= -github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= -github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= +github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= +github.com/Masterminds/sprig/v3 v3.2.1/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= +github.com/Masterminds/sprig/v3 v3.2.2 h1:17jRggJu518dr3QaafizSXOjKYp94wKfABxUmyxvxX8= github.com/Masterminds/sprig/v3 v3.2.2/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= -github.com/Masterminds/squirrel v1.5.0/go.mod h1:NNaOrjSoIDfDA40n7sr2tPNZRfjzjA400rg+riTZj10= -github.com/Masterminds/squirrel v1.5.2/go.mod h1:NNaOrjSoIDfDA40n7sr2tPNZRfjzjA400rg+riTZj10= -github.com/Masterminds/vcs v1.13.1/go.mod h1:N09YCmOQr6RLxC6UNHzuVwAdodYbbnycGHSmwVJjcKA= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= -github.com/Microsoft/go-winio v0.4.15/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= github.com/Microsoft/go-winio v0.4.16-0.20201130162521-d1ffc52c7331/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/Microsoft/go-winio v0.5.1 h1:aPJp2QD7OOrhO5tQXqQoGSJc+DjDtWTGLOmNyAm6FgY= github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= +github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ= github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg38RRsjT5y8= -github.com/Microsoft/hcsshim v0.8.10-0.20200715222032-5eafd1556990/go.mod h1:ay/0dTb7NsG8QMDfsRfLHgZo/6xAJShLe1+ePPflihk= github.com/Microsoft/hcsshim v0.8.14/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg= github.com/Microsoft/hcsshim v0.8.15/go.mod h1:x38A4YbHbdxJtc0sF6oIz+RG0npwSCAvn69iY6URG00= github.com/Microsoft/hcsshim v0.8.16/go.mod h1:o5/SZqmR7x9JNKsW3pu+nqHm0MF8vbA+VxGOoXdC600= +github.com/Microsoft/hcsshim v0.8.20/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= github.com/Microsoft/hcsshim v0.8.21/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4= github.com/Microsoft/hcsshim v0.8.23/go.mod h1:4zegtUJth7lAvFyc6cH2gGQ5B3OFQim01nnU2M8jKDg= -github.com/Microsoft/hcsshim v0.9.1/go.mod h1:Y/0uV2jUab5kBI7SQgl62at0AVX7uaruzADAVmxm3eM= +github.com/Microsoft/hcsshim v0.9.2/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc= github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU= github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8 h1:xzYJEypr/85nBpB11F9br+3HUrpgb+fcm5iADzXXYEw= github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C67SkzkDfmQuVln04ygHj3vjZfd9FL+GmQQ= github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= github.com/PuerkitoBio/goquery v1.5.0/go.mod h1:qD2PgZ9lccMbQlc7eEOjaeRlFQON7xY8kdmcsrnKqMg= +github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= -github.com/a8m/tree v0.0.0-20210115125333-10a5fd5b637d/go.mod h1:FSdwKX97koS5efgm8WevNf7XS3PqtyFkKDDXrz778cg= +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/adrg/xdg v0.3.1/go.mod h1:7I2hH/IT30IsupOpKZ5ue7/qNi3CoKzD6tL3HwpaRMQ= +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/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= -github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE= github.com/agext/levenshtein v1.2.2/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/agl/ed25519 v0.0.0-20170116200512-5312a6153412/go.mod h1:WPjqKcmVOxf0XSf3YxCJs6N6AOSrOx3obionmG7T0y0= github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM= -github.com/ajeddeloh/go-json v0.0.0-20160803184958-73d058cf8437/go.mod h1:otnto4/Icqn88WCcM4bhIJNSgsh9VLBuspyyCfvof9c= -github.com/ajeddeloh/go-json v0.0.0-20200220154158-5ae607161559/go.mod h1:otnto4/Icqn88WCcM4bhIJNSgsh9VLBuspyyCfvof9c= -github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 h1:uSoVVbwJiQipAclBbw+8quDsfcvFjOpI5iCf4p/cqCs= -github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= +github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= +github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= github.com/andybalholm/cascadia v1.0.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= github.com/andybalholm/crlf v0.0.0-20171020200849-670099aa064f/go.mod h1:k8feO4+kXDxro6ErPXBRTJ/ro2mf0SsFG8s7doP9kJE= @@ -244,23 +281,21 @@ github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kd github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= -github.com/apparentlymart/go-cidr v1.0.1 h1:NmIwLZ/KdsjIUlhf+/Np40atNXm/+lZ5txfTJ/SpF+U= github.com/apparentlymart/go-cidr v1.0.1/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= +github.com/apparentlymart/go-cidr v1.1.0 h1:2mAhrMoF+nhXqxTzSZMUzDHkLjmIHC+Zzn4tdgBZjnU= +github.com/apparentlymart/go-cidr v1.1.0/go.mod h1:EBcsNrHc3zQeuaeCeCtQruQm+n9/YjEn/vI25Lg7Gwc= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0 h1:MzVXffFUye+ZcSR6opIgz9Co7WcDx6ZcY+RjfFHoA0I= github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= -github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2wFoYVvnCs0= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= -github.com/aquasecurity/kube-bench v0.1.0/go.mod h1:RRiqKa2T3w0b6555RlWaJIHYPRCqSoV5t7FtQG+J4J0= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-metrics v0.3.0/go.mod h1:zXjbSimjXTd7vOpY8B0/2LpvNvDoXBuplAD+gJD3GYs= github.com/armon/go-metrics v0.3.3/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= -github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= @@ -269,63 +304,107 @@ github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkY github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535/go.mod h1:oGkLhpf+kjZl6xBf758TQhh5XrAeiJv/7FRz/2spLIg= -github.com/auth0/go-jwt-middleware v1.0.1/go.mod h1:YSeUX3z6+TF2H+7padiEqNJ73Zy9vXW72U//IgN0BIM= +github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= +github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= -github.com/aws/aws-sdk-go v1.8.39/go.mod h1:ZRmQr0FajVIyZ4ZzBYKG5P3ZqPz9IHG41ZoMu1ADI3k= github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= -github.com/aws/aws-sdk-go v1.19.39/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.25.37/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.30.0/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= github.com/aws/aws-sdk-go v1.30.27/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.33.14/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.34.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.35.24/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k= -github.com/aws/aws-sdk-go v1.36.7/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.37.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/aws/aws-sdk-go v1.38.49/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/aws/aws-sdk-go v1.38.65 h1:umGu5gjIOKxzhi34T0DIA1TWupUDjV2aAW5vK6154Gg= -github.com/aws/aws-sdk-go v1.38.65/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.40.34/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q= +github.com/aws/aws-sdk-go v1.43.11/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.45/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.68/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.83/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.144 h1:mMWdnYL8HZsobrQe1mwvQ18Xt8UbOVhWgipjuma5Mkg= +github.com/aws/aws-sdk-go v1.44.144/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= -github.com/beevik/etree v1.1.0/go.mod h1:r8Aw8JqVegEf0w2fDnATrX9VpkMcyFeM0FhwO62wh+A= +github.com/aws/aws-sdk-go-v2 v1.9.0/go.mod h1:cK/D0BBs0b/oWPIcX/Z/obahJK1TT7IPVjy53i/mX/4= +github.com/aws/aws-sdk-go-v2 v1.16.8 h1:gOe9UPR98XSf7oEJCcojYg+N2/jCRm4DdeIsP85pIyQ= +github.com/aws/aws-sdk-go-v2 v1.16.8/go.mod h1:6CpKuLXg2w7If3ABZCl/qZ6rEgwtjZTn4eAf4RcEyuw= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 h1:S/ZBwevQkr7gv5YxONYpGQxlMFFYSRfz3RMcjsC9Qhk= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3/go.mod h1:gNsR5CaXKmQSSzrmGxmwmct/r+ZBfbxorAuXYsj/M5Y= +github.com/aws/aws-sdk-go-v2/config v1.7.0/go.mod h1:w9+nMZ7soXCe5nT46Ri354SNhXDQ6v+V5wqDjnZE+GY= +github.com/aws/aws-sdk-go-v2/config v1.15.15 h1:yBV+J7Au5KZwOIrIYhYkTGJbifZPCkAnCFSvGsF3ui8= +github.com/aws/aws-sdk-go-v2/config v1.15.15/go.mod h1:A1Lzyy/o21I5/s2FbyX5AevQfSVXpvvIDCoVFD0BC4E= +github.com/aws/aws-sdk-go-v2/credentials v1.4.0/go.mod h1:dgGR+Qq7Wjcd4AOAW5Rf5Tnv3+x7ed6kETXyS9WCuAY= +github.com/aws/aws-sdk-go-v2/credentials v1.12.10 h1:7gGcMQePejwiKoDWjB9cWnpfVdnz/e5JwJFuT6OrroI= +github.com/aws/aws-sdk-go-v2/credentials v1.12.10/go.mod h1:g5eIM5XRs/OzIIK81QMBl+dAuDyoLN0VYaLP+tBqEOk= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.5.0/go.mod h1:CpNzHK9VEFUCknu50kkB8z58AH2B5DvPP7ea1LHve/Y= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 h1:hz8tc+OW17YqxyFFPSkvfSikbqWcyyHRyPVSTzC0+aI= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9/go.mod h1:KDCCm4ONIdHtUloDcFvK2+vshZvx4Zmj7UMDfusuz5s= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 h1:bpiKFJ9aC0xTVpygSRRRL/YHC1JZ+pHQHENATHuoiwo= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21/go.mod h1:iIYPrQ2rYfZiB/iADYlhj9HHZ9TTi6PqKQPAqygohbE= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.15 h1:bx5F2mr6H6FC7zNIQoDoUr8wEKnvmwRncujT3FYRtic= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.15/go.mod h1:pWrr2OoHlT7M/Pd2y4HV3gJyPb3qj5qMmnPkKSNPYK4= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.9 h1:5sbyznZC2TeFpa4fvtpvpcGbzeXEEs1l1Jo51ynUNsQ= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.9/go.mod h1:08tUpeSGN33QKSO7fwxXczNfiwCpbj+GxK6XKwqWVv0= +github.com/aws/aws-sdk-go-v2/internal/ini v1.2.2/go.mod h1:BQV0agm+JEhqR+2RT5e1XTFIDcAAV0eW6z2trp+iduw= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 h1:f0ySVcmQhwmzn7zQozd8wBM3yuGBfzdpsOaKQ0/Epzw= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16/go.mod h1:CYmI+7x03jjJih8kBEEFKRQc40UjUokT0k7GbvrhhTc= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 h1:3L8pcjvgaSOs0zzZcMKzxDSkYKEpwJ2dNVDdxm68jAY= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6/go.mod h1:O7Oc4peGZDEKlddivslfYFvAbgzvl/GH3J8j3JIGBXc= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 h1:4n4KCtv5SUoT5Er5XV41huuzrCqepxlW3SDI9qHQebc= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3/go.mod h1:gkb2qADY+OHaGLKNTYxMaQNacfeyQpZ4csDTQMeFmcw= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 h1:7LJcuRalaLw+GYQTMGmVUl4opg2HrDZkvn/L3KvIQfw= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10/go.mod h1:Qks+dxK3O+Z2deAhNo6cJ8ls1bam3tUGUAcgxQP1c70= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.3.0/go.mod h1:R1KK+vY8AfalhG1AOu5e35pOD2SdoPKQCFLTvnxiohk= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 h1:sHfDuhbOuuWSIAEDd3pma6p0JgUcR2iePxtCE8gfCxQ= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9/go.mod h1:yQowTpvdZkFVuHrLBXmczat4W+WJKg/PafBZnGBLga0= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 h1:sJdKvydGYDML9LTFcp6qq6Z5fIjN0Rdq2Gvw1hUg8tc= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9/go.mod h1:Rc5+wn2k8gFSi3V1Ch4mhxOzjMh+bYSXVFfVaqowQOY= +github.com/aws/aws-sdk-go-v2/service/kms v1.5.0/go.mod h1:w7JuP9Oq1IKMFQPkNe3V6s9rOssXzOVEMNEqK1L1bao= +github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 h1:y07kzPdcjuuyDVYWf1CCsQQ6kcAWMbFy+yIJ71xQBS0= +github.com/aws/aws-sdk-go-v2/service/kms v1.18.1/go.mod h1:4PZMUkc9rXHWGVB5J9vKaZy3D7Nai79ORworQ3ASMiM= +github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 h1:NvzGue25jKnuAsh6yQ+TZ4ResMcnp49AWgWGm2L4b5o= +github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2/go.mod h1:u+566cosFI+d+motIz3USXEh6sN8Nq4GrNXSg2RXVMo= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.6.0/go.mod h1:B+7C5UKdVq1ylkI/A6O8wcurFtaux0R1njePNPtKwoA= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.15.14/go.mod h1:xakbH8KMsQQKqzX87uyyzTHshc/0/Df8bsTneTS5pFU= +github.com/aws/aws-sdk-go-v2/service/sns v1.17.10/go.mod h1:uITsRNVMeCB3MkWpXxXw0eDz8pW4TYLzj+eyQtbhSxM= +github.com/aws/aws-sdk-go-v2/service/sqs v1.19.1/go.mod h1:A94o564Gj+Yn+7QO1eLFeI7UVv3riy/YBFOfICVqFvU= +github.com/aws/aws-sdk-go-v2/service/ssm v1.10.0/go.mod h1:4dXS5YNqI3SNbetQ7X7vfsMlX6ZnboJA2dulBwJx7+g= +github.com/aws/aws-sdk-go-v2/service/ssm v1.27.6/go.mod h1:fiFzQgj4xNOg4/wqmAiPvzgDMXPD+cUEplX/CYn+0j0= +github.com/aws/aws-sdk-go-v2/service/sso v1.4.0/go.mod h1:+1fpWnL96DL23aXPpMGbsmKe8jLTEfbjuQoA4WS1VaA= +github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 h1:DQpf+al+aWozOEmVEdml67qkVZ6vdtGUi71BZZWw40k= +github.com/aws/aws-sdk-go-v2/service/sso v1.11.13/go.mod h1:d7ptRksDDgvXaUvxyHZ9SYh+iMDymm94JbVcgvSYSzU= +github.com/aws/aws-sdk-go-v2/service/sts v1.7.0/go.mod h1:0qcSMCyASQPN2sk/1KQLQ2Fh6yq8wm0HSDAimPhzCoM= +github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 h1:7tquJrhjYz2EsCBvA9VTl+sBAAh1bv7h/sGASdZOGGo= +github.com/aws/aws-sdk-go-v2/service/sts v1.16.10/go.mod h1:cftkHYN6tCDNfkSasAmclSfl4l7cySoay8vz7p/ce0E= +github.com/aws/smithy-go v1.8.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bep/debounce v1.2.0/go.mod h1:H8yggRPQKLUhUoqrJC1bO2xNya7vanpDl7xR3ISbCJ0= github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas= github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4= github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA= github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= -github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= -github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= -github.com/bshuster-repo/logrus-logstash-hook v1.0.0/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= -github.com/bsm/go-vlq v0.0.0-20150828105119-ec6e8d4f5f4e/go.mod h1:N+BjUcTjSxc2mtRGSCPsat1kze3CUtvJN3/jTXlp29k= +github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= -github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= -github.com/bugsnag/bugsnag-go v0.0.0-20151120182711-02e952891c52/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= -github.com/bugsnag/bugsnag-go v2.1.2+incompatible/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= -github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50= -github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= -github.com/bugsnag/panicwrap v0.0.0-20160118154447-aceac81c6e2f/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE= +github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= -github.com/cenkalti/backoff v0.0.0-20141124221459-9831e1e25c87/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= +github.com/cenkalti/backoff/v3 v3.2.2 h1:cfUAAO3yvKMYKPrvhDuHSwQnhZNk/RMHKdZqKTxfm6M= +github.com/cenkalti/backoff/v3 v3.2.2/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= +github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= +github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= @@ -337,23 +416,26 @@ github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5/go.mod h1:/iP1qXHoty45bqomnu2LM+VVyAEdWN+vtSHGlQgyxbw= github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw= github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= -github.com/cheggaaa/pb v1.0.18/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= -github.com/cheggaaa/pb v1.0.27 h1:wIkZHkNfC7R6GI5w7l/PdAdzXzlrbcI3p8OAlnkTsnc= +github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= +github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= +github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/readline v1.5.0/go.mod h1:x22KAscuvRqlLoK9CsoYsmxoXZMMFVyOl86cAH8qUic= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/chzyer/test v0.0.0-20210722231415-061457976a23/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/cilium/ebpf v0.0.0-20200110133405-4032b1d8aae3/go.mod h1:MA5e5Lr8slmEg9bt0VpxxWqJlO4iwu3FBdHUzV7wQVg= github.com/cilium/ebpf v0.0.0-20200702112145-1c8d4c9ef775/go.mod h1:7cR51M8ViRLIdUjrmSXlK9pkrsDlLHbO8jiB8X8JnOc= github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs= github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= -github.com/cilium/ebpf v0.5.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= +github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/clusterhq/flocker-go v0.0.0-20160920122132-2b8b7259d313/go.mod h1:P1wt9Z3DP8O6W3rvwCt0REIlshg1InHImaLW0t3ObY0= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= @@ -363,14 +445,13 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= -github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd h1:qMd81Ts1T2OTKmB4acZcyKaMtRnY5Y44NuXGX2GFJ1w= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/container-storage-interface/spec v1.5.0/go.mod h1:8K96oQNkJ7pFcC2R9Z1ynGGBB1I93kcS6PGg3SsOk8s= github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE= github.com/containerd/aufs v0.0.0-20201003224125-76a6863f2989/go.mod h1:AkGGQs9NM2vtYHaUen+NljV0/baGCAPELGm2q9ZXpWU= github.com/containerd/aufs v0.0.0-20210316121734-20793ff83c97/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU= @@ -385,12 +466,13 @@ github.com/containerd/cgroups v0.0.0-20200710171044-318312a37340/go.mod h1:s5q4S github.com/containerd/cgroups v0.0.0-20200824123100-0b889c03f102/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo= github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE= github.com/containerd/cgroups v1.0.1/go.mod h1:0SJrPIenamHDcZhEcJMNBB85rHcUsw4f25ZfBiPYRkU= -github.com/containerd/cgroups v1.0.2/go.mod h1:qpbpJ1jmlqsR9f2IyaLPsdkCdnt0rbDVqIDlhuu5tRY= +github.com/containerd/cgroups v1.0.3/go.mod h1:/ofk34relqNjSGyqPrmEULrO4Sc8LJhvJmWbUCUKqj8= github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= github.com/containerd/console v0.0.0-20181022165439-0650fd9eeb50/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE= github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw= github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= +github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= github.com/containerd/containerd v1.2.10/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= @@ -398,10 +480,8 @@ github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57/go.mod h1: github.com/containerd/containerd v1.3.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.3.4/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.4.0-beta.2.0.20200729163537-40b22ef07410/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.1-0.20201117152358-0edc412565dc/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.4.1/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.4.3/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.4/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.4.9/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/containerd v1.5.0-beta.1/go.mod h1:5HfvG1V2FsKesEGQ17k5/T7V960Tmcumvqn8Mc+pCYQ= github.com/containerd/containerd v1.5.0-beta.3/go.mod h1:/wr9AVtEM7x9c+n0+stptlo/uBBoBORwEx6ardVcmKU= @@ -409,7 +489,8 @@ github.com/containerd/containerd v1.5.0-beta.4/go.mod h1:GmdgZd2zA2GYIBZ0w09Zvgq github.com/containerd/containerd v1.5.0-rc.0/go.mod h1:V/IXoMqNGgBlabz3tHD2TWDoTJseu1FGOKuoA4nNb2s= github.com/containerd/containerd v1.5.1/go.mod h1:0DOxVqwDy2iZvrZp2JUx/E+hS0UNTVn7dJnIOwtYR4g= github.com/containerd/containerd v1.5.7/go.mod h1:gyvv6+ugqY25TiXxcZC3L5yOeYgEw0QMhscqVp1AR9c= -github.com/containerd/containerd v1.5.9/go.mod h1:fvQqCfadDGga5HZyn3j4+dx56qj2I9YwBrlSdalvJYQ= +github.com/containerd/containerd v1.5.8/go.mod h1:YdFSv5bTFLpG2HIYmfqDpSYYTDX+mc5qtSuYx1YUb/s= +github.com/containerd/containerd v1.6.1/go.mod h1:1nJz5xCZPusx6jJU8Frfct988y0NpumIq9ODB0kLtoE= github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= @@ -418,6 +499,7 @@ github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cE github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y= github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ= github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= +github.com/containerd/continuity v0.2.2/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk= github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0= @@ -426,6 +508,8 @@ github.com/containerd/fifo v0.0.0-20210316144830-115abcc95a1d/go.mod h1:ocF/ME1S github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= github.com/containerd/go-cni v1.0.1/go.mod h1:+vUpYxKvAF72G9i1WoDOiPGRtQpqsNW/ZHtSlv++smU= github.com/containerd/go-cni v1.0.2/go.mod h1:nrNABBHzu0ZwCug9Ije8hL2xBCYh/pjfMb1aZGrrohk= +github.com/containerd/go-cni v1.1.0/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= +github.com/containerd/go-cni v1.1.3/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA= github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= github.com/containerd/go-runc v0.0.0-20190911050354-e029b79d8cda/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328/go.mod h1:PpyHrqVs8FTi9vpyHwPwiNEGaACDxT/N/pLcvMSRA9g= @@ -435,6 +519,7 @@ github.com/containerd/imgcrypt v1.0.1/go.mod h1:mdd8cEPW7TPgNG4FpuP3sGBiQ7Yi/zak github.com/containerd/imgcrypt v1.0.4-0.20210301171431-0ae5c75f59ba/go.mod h1:6TNsg0ctmizkrOgXRNQjAPFWpMYRWuiB6dSF4Pfa5SA= github.com/containerd/imgcrypt v1.1.1-0.20210312161619-7ed62a527887/go.mod h1:5AZJNI6sLHJljKuI9IHnw1pWqo/F0nGDOuR9zgTs7ow= github.com/containerd/imgcrypt v1.1.1/go.mod h1:xpLnwiQmEUJPvQoAapeb2SNCxz7Xr6PJrXQb0Dpc4ms= +github.com/containerd/imgcrypt v1.1.3/go.mod h1:/TPA1GIDXMzbj01yd8pIbQiLdQxed5ue1wb8bP7PQu4= github.com/containerd/nri v0.0.0-20201007170849-eb1350a75164/go.mod h1:+2wGSDGFYfE5+So4M5syatU0N0f0LbWpuqyMi4/BE8c= github.com/containerd/nri v0.0.0-20210316161719-dbaa18c31c14/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= github.com/containerd/nri v0.1.0/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY= @@ -457,95 +542,84 @@ github.com/containerd/zfs v1.0.0/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNR github.com/containernetworking/cni v0.7.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= github.com/containernetworking/cni v0.8.0/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= github.com/containernetworking/cni v0.8.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY= +github.com/containernetworking/cni v1.0.1/go.mod h1:AKuhXbN5EzmD4yTNtfSsX3tPcmtrBI6QcRV0NiNt15Y= github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHVlzhJpcY6TQxn/fUyDDM= github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8= +github.com/containernetworking/plugins v1.0.1/go.mod h1:QHCfGpaTwYTbbH+nZXKVTxNBDZcxSOplJT5ico8/FLE= github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc= github.com/containers/ocicrypt v1.1.0/go.mod h1:b8AOe0YR67uU8OqfVNcznfFpAzu3rdgUV4GP9qXPfu4= github.com/containers/ocicrypt v1.1.1/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= -github.com/coredns/caddy v1.1.0/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4= -github.com/coredns/corefile-migration v1.0.12/go.mod h1:NJOI8ceUF/NTgEwtjD+TUq3/BnH/GF7WAM3RzCa3hBo= -github.com/coredns/corefile-migration v1.0.14/go.mod h1:XnhgULOEouimnzgn0t4WPuFDN2/PJQcTxdWKC5eXNGE= +github.com/containers/ocicrypt v1.1.2/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY= +github.com/coreos/bbolt v1.3.1-coreos.6/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/etcd v3.3.15+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-iptables v0.4.5/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= github.com/coreos/go-iptables v0.5.0/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU= github.com/coreos/go-iptables v0.6.0/go.mod h1:Qe8Bv2Xik5FyTXwgIbLAnv2sWSBmvWdFETJConOQ//Q= github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= -github.com/coreos/go-oidc/v3 v3.0.0/go.mod h1:rEJ/idjfUyfkBit1eI1fvyr+64/g9dcKpAm8MJMesvo= -github.com/coreos/go-semver v0.1.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20181031085051-9002847aa142/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= -github.com/coreos/go-systemd/v22 v22.3.1/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creasty/defaults v1.5.2/go.mod h1:FPZ+Y0WNrbqOVw+c6av63eyHUAl6pMHZwqLPvXUZGfY= -github.com/crewjam/httperr v0.0.0-20190612203328-a946449404da/go.mod h1:+rmNIXRvYMqLQeR4DHyTvs6y0MEMymTz4vyFpFkKTPs= -github.com/crewjam/saml v0.4.1/go.mod h1:vHcshzXm2WkPOV1dcToZa99cCB1h3nPiKLtLYK+erBE= +github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I= -github.com/danieljoos/wincred v1.1.0/go.mod h1:XYlo+eRTsVA9aHGp7NGjFkPla4m+DCL7hqDjlFjiygg= +github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-xdr v0.0.0-20161123171359-e6a2ba005892/go.mod h1:CTDl0pzVzE5DEzZhPfvhY/9sPFMQIxaJ9VAMs9AagrE= github.com/daviddengcn/go-colortext v0.0.0-20160507010035-511bcaf42ccd/go.mod h1:dv4zxwHi5C/8AeI+4gX4dCWOIvNi7I6JCSX0HvlKPgE= -github.com/dchest/uniuri v0.0.0-20160212164326-8902c56451e9/go.mod h1:GgB8SF9nRG+GqaDtLcwJZsQFhcogVCJ79j4EdT0c2V4= -github.com/deislabs/oras v0.10.0/go.mod h1:N1UzE7rBa9qLyN4l8IlBTxc2PkrRcKgWQ3HTJvRnJRE= -github.com/denisenkom/go-mssqldb v0.0.0-20190515213511-eb9f6a1743f3/go.mod h1:zAg7JM8CkOJ43xKXIj7eRO9kmWm/TW578qo+oDO6tuM= -github.com/denisenkom/go-mssqldb v0.0.0-20191001013358-cfbb681360f0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= github.com/denisenkom/go-mssqldb v0.9.0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU= -github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= +github.com/denisenkom/go-mssqldb v0.12.2/go.mod h1:lnIw1mZukFRZDJYQ0Pb833QS2IaC3l5HkEfra2LJ+sk= +github.com/dennwc/varint v1.0.0/go.mod h1:hnItb35rvZvJrbTALZtY/iQfDs48JKRG1RPpgziApxA= github.com/devigned/tab v0.1.1/go.mod h1:XG9mPq0dFghrYvoBF3xdRrJzSTX1b7IQrvaL9mzjeJY= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/digitalocean/godo v0.0.0-20170317202744-d59ed2fe842b/go.mod h1:h6faOIcZ8lWIwNQ+DN7b3CgX4Kwby5T+nbpNqkUIozU= +github.com/dgryski/go-sip13 v0.0.0-20200911182023-62edffca9245/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/digitalocean/godo v1.78.0/go.mod h1:GBmu8MkjZmNARE7IXRPmkbbnocNN8+uBm0xbEVw2LCs= +github.com/digitalocean/godo v1.81.0/go.mod h1:BPCqvwbjbGqxuUnIKB4EvS/AX7IDnNmt5fwvIkWo+ew= github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= -github.com/diskfs/go-diskfs v0.0.0-20191115120903-6cf046d472d7/go.mod h1:x7shCYRoIc+XvebaZAnK9x6wsYAS+ExHUjuoZcnO+nc= -github.com/distribution/distribution/v3 v3.0.0-20211118083504-a29a3c99a684/go.mod h1:UfCu3YXJJCI+IdnqGgYP82dk2+Joxmv+mUTVBES6wac= -github.com/djherbis/times v1.2.0 h1:xANXjsC/iBqbO00vkWlYwPWgBgEVU6m6AFYg0Pic+Mc= -github.com/djherbis/times v1.2.0/go.mod h1:CGMZlo255K5r4Yw0b9RRfFQpM2y7uOmxg4jm9HsaVf8= -github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= +github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= +github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= +github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= +github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v20.10.3+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= -github.com/docker/cli v20.10.11+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/docker v20.10.6+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= -github.com/docker/docker-credential-helpers v0.6.4/go.mod h1:ofX3UI0Gz1TteYBjtgs07O36Pyasyp66D2uKT7H8W1c= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA= github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw= github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE= -github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46/go.mod h1:esf2rsHFNlZlxsqsZDojNBcnNs5REqIvRrWRHqX0vEU= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= @@ -554,10 +628,13 @@ github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5m github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= -github.com/ehazlett/simplelog v0.0.0-20200226020431-d374894e92a4/go.mod h1:m8BGliBtT1XxrkLygibAe1L4gWruiNqNUmukTUwGlcY= +github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= +github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emicklei/go-restful/v3 v3.10.1 h1:rc42Y5YTp7Am7CS630D7JmhRjq4UlEUuEKfrDac4bSQ= +github.com/emicklei/go-restful/v3 v3.10.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg= github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= @@ -570,46 +647,50 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.m github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ= +github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= +github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws= -github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5/go.mod h1:a2zkGnVExMxdzMo3M0Hi/3sEU+cWnZpSni0O6/Yb/P0= -github.com/euank/go-kmsg-parser v2.0.0+incompatible/go.mod h1:MhmAMZ8V4CYH4ybgdRwPr2TU5ThnS43puaKEMpja1uw= +github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= +github.com/ettle/strcase v0.1.1 h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw= +github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ= github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.5.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= +github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= -github.com/exoscale/egoscale v0.12.3/go.mod h1:SHSox0l8ud/I8Q6joR7Oj96DFer0mdo1cQzb7dmZgro= github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d/go.mod h1:ZZMPRZwes7CROmyNKgQzC3XPs6L/G2EJLHddWejkmf4= github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc= -github.com/fatih/color v1.5.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/flatcar-linux/container-linux-config-transpiler v0.9.2/go.mod h1:AGVTulMzeIKwurV9ExYH3UiokET1Ur65g+EIeRDMwzM= -github.com/flatcar-linux/ignition v0.36.1/go.mod h1:0jS5n4AopgOdwgi7QDo5MFgkMx/fQUDYjuxlGJC1Txg= +github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/flowstack/go-jsonschema v0.1.1/go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM0rVwpMwimd3F3N0= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= -github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/frankban/quicktest v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq9vcPtJmFl7Y= -github.com/frankban/quicktest v1.11.3 h1:8sXhOn0uLys67V8EsXLc6eszDs8VXWxL3iRvebPhedY= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= +github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= +github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= +github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= +github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA= -github.com/fvbommel/sortorder v1.0.1/go.mod h1:uk88iVf1ovNn1iLfgUVU2F9o5eO30ui720w+kxuqRs0= github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 h1:Uc+IZ7gYqAf/rSGFplbWBSHaGolEQlNLgMgSE3ccnIQ= github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813/go.mod h1:P+oSoE9yhSRvsmYyZsshflcR6ePWYLql6UU1amW13IM= github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= @@ -619,131 +700,170 @@ github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U= github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= -github.com/go-asn1-ber/asn1-ber v1.5.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= -github.com/go-asn1-ber/asn1-ber v1.5.3/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= -github.com/go-bindata/go-bindata v3.1.2+incompatible/go.mod h1:xK8Dsgwmeed+BBsSy2XTopBn/8uK2HWuGSnA11C3Joo= -github.com/go-check/check v0.0.0-20200227125254-8fa46927fb4f/go.mod h1:9ES+weclKsC9YodN5RgxqK/VD9HM9JsCSh7rNhMZE98= github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= +github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= -github.com/go-git/go-billy/v5 v5.0.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-billy/v5 v5.3.1 h1:CPiOUAzKtMRvolEKw+bG1PLRpT7D3LIs3/3ey4Aiu34= github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-git-fixtures/v4 v4.0.1/go.mod h1:m+ICp2rF3jDhFgEZ/8yziagdT1C+ZpZcrJjappBCDSw= +github.com/go-git/go-git-fixtures/v4 v4.2.1 h1:n9gGL1Ct/yIw+nfsfr8s4+sbhT+Ncu2SubfXjIWgci8= github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0= -github.com/go-git/go-git/v5 v5.1.0/go.mod h1:ZKfuPUoY1ZqIG4QG9BDBh3G4gLM5zvPuSJAozQrZuyM= +github.com/go-git/go-git/v5 v5.4.2 h1:BXyZu9t0VkbiHtqrsvdq39UDhGJTl1h55VW6CSC4aY4= github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= -github.com/go-ini/ini v1.37.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= +github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= +github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= github.com/go-ldap/ldap/v3 v3.1.3/go.mod h1:3rbOH3jRS2u6jg2rJnKAMLE/xQyCKIveG2Sa/Cohzb8= github.com/go-ldap/ldap/v3 v3.1.10/go.mod h1:5Zun81jBTabRaI8lzN7E1JjyEl1g6zI6u9pd8luAK4Q= -github.com/go-ldap/ldap/v3 v3.4.1/go.mod h1:iYS1MdmrmceOJ1QOTnRXrIs7i3kloqtmGQjRvjKpyMg= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= +github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v1.2.0 h1:QK40JKJyMdUDz+h+xvCsru/bJhvG0UxvePV0ufL/AcE= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= +github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-logr/zapr v0.1.0/go.mod h1:tabnROwaDl0UNxkVeFRbY8bwB37GwRv0P8lg6aAiEnk= -github.com/go-logr/zapr v1.2.0 h1:n4JnPI1T3Qq1SFEi/F8rwLrZERp2bso19PJZDB9dayk= github.com/go-logr/zapr v1.2.0/go.mod h1:Qa4Bsj2Vb+FAVeAKsLD8RLQ+YRJB8YDmOAKxaBQf7Ro= -github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/go-logr/zapr v1.2.3 h1:a9vnzlIBPQBBkeaR9IuMUfmVOrQlkoC4YfPoFkX3T7A= github.com/go-openapi/analysis v0.0.0-20180825180245-b006789cd277/go.mod h1:k70tL6pCuVxPJOHXQ+wIac1FUrvNkHolPie/cLEU6hI= github.com/go-openapi/analysis v0.17.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= github.com/go-openapi/analysis v0.18.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= github.com/go-openapi/analysis v0.19.2/go.mod h1:3P1osvZa9jKjb8ed2TPng3f0i/UY9snX6gxi44djMjk= github.com/go-openapi/analysis v0.19.5/go.mod h1:hkEAkxagaIvIP7VTn8ygJNkd4kAYON2rCu0v0ObL0AU= +github.com/go-openapi/analysis v0.21.2/go.mod h1:HZwRk4RRisyG8vx2Oe6aqeSQcoxRp47Xkp3+K6q+LdY= github.com/go-openapi/errors v0.17.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= github.com/go-openapi/errors v0.18.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= github.com/go-openapi/errors v0.19.2/go.mod h1:qX0BLWsyaKfvhluLejVpVNwNRdXZhEbTA4kxxpKBC94= +github.com/go-openapi/errors v0.19.8/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/errors v0.19.9/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/errors v0.20.2/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= +github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= github.com/go-openapi/jsonpointer v0.17.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= github.com/go-openapi/jsonpointer v0.18.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= github.com/go-openapi/jsonreference v0.17.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= github.com/go-openapi/jsonreference v0.18.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= +github.com/go-openapi/jsonreference v0.19.6/go.mod h1:diGHMEHg2IqXZGKxqyvWdfWU/aim5Dprw5bqpKkTvns= +github.com/go-openapi/jsonreference v0.20.0 h1:MYlu0sBgChmCfJxxUKZ8g1cPWFOB37YSZqewK7OKeyA= +github.com/go-openapi/jsonreference v0.20.0/go.mod h1:Ag74Ico3lPc+zR+qjn4XBUmXymS4zJbYVCZmcgkasdo= github.com/go-openapi/loads v0.17.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= github.com/go-openapi/loads v0.18.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= github.com/go-openapi/loads v0.19.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= github.com/go-openapi/loads v0.19.2/go.mod h1:QAskZPMX5V0C2gvfkGZzJlINuP7Hx/4+ix5jWFxsNPs= github.com/go-openapi/loads v0.19.4/go.mod h1:zZVHonKd8DXyxyw4yfnVjPzBjIQcLt0CCsn0N0ZrQsk= +github.com/go-openapi/loads v0.21.1/go.mod h1:/DtAMXXneXFjbQMGEtbamCZb+4x7eGwkvZCvBmwUG+g= github.com/go-openapi/runtime v0.0.0-20180920151709-4f900dc2ade9/go.mod h1:6v9a6LTXWQCdL8k1AO3cvqx5OtZY/Y9wKTgaoP6YRfA= github.com/go-openapi/runtime v0.19.0/go.mod h1:OwNfisksmmaZse4+gpV3Ne9AyMOlP1lt4sK4FXt0O64= github.com/go-openapi/runtime v0.19.4/go.mod h1:X277bwSUBxVlCYR3r7xgZZGKVvBd/29gLDlFGtJ8NL4= +github.com/go-openapi/runtime v0.23.1/go.mod h1:AKurw9fNre+h3ELZfk6ILsfvPN+bvvlaU/M9q/r9hpk= +github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= github.com/go-openapi/spec v0.17.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= github.com/go-openapi/spec v0.18.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= github.com/go-openapi/spec v0.19.2/go.mod h1:sCxk3jxKgioEJikev4fgkNmwS+3kuYdJtcsZsD5zxMY= github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= github.com/go-openapi/spec v0.19.5/go.mod h1:Hm2Jr4jv8G1ciIAo+frC/Ft+rR2kQDh8JHKHb3gWUSk= +github.com/go-openapi/spec v0.20.4/go.mod h1:faYFR1CvsJZ0mNsmsphTMSoRrNV3TEDoAM7FOEWeq8I= github.com/go-openapi/strfmt v0.17.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= github.com/go-openapi/strfmt v0.18.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= github.com/go-openapi/strfmt v0.19.0/go.mod h1:+uW+93UVvGGq2qGaZxdDeJqSAqBqBdl+ZPMF/cC8nDY= github.com/go-openapi/strfmt v0.19.3/go.mod h1:0yX7dbo8mKIvc3XSKp7MNfxw4JytCfCD6+bY1AVL9LU= github.com/go-openapi/strfmt v0.19.5/go.mod h1:eftuHTlB/dI8Uq8JJOyRlieZf+WkkxUuk0dgdHXr2Qk= +github.com/go-openapi/strfmt v0.21.0/go.mod h1:ZRQ409bWMj+SOgXofQAGTIo2Ebu72Gs+WaRADcS5iNg= +github.com/go-openapi/strfmt v0.21.1/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= +github.com/go-openapi/strfmt v0.21.2/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= +github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= github.com/go-openapi/swag v0.17.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= github.com/go-openapi/swag v0.18.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= +github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= +github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= github.com/go-openapi/validate v0.18.0/go.mod h1:Uh4HdOzKt19xGIGm1qHf/ofbX1YQ4Y+MYsct2VUrAJ4= github.com/go-openapi/validate v0.19.2/go.mod h1:1tRCw7m3jtI8eNWEEliiAqUIcBztB2KDnRCRMUi7GTA= +github.com/go-openapi/validate v0.19.5/go.mod h1:8DJv2CVJQ6kGNpFW6eV9N3JviE1C85nY1c2z52x1Gk4= github.com/go-openapi/validate v0.19.8/go.mod h1:8DJv2CVJQ6kGNpFW6eV9N3JviE1C85nY1c2z52x1Gk4= -github.com/go-ozzo/ozzo-validation v3.5.0+incompatible/go.mod h1:gsEKFIVnabGBt6mXmxK0MoFy+cZoTJY6mu5Ll3LVLBU= +github.com/go-openapi/validate v0.21.0/go.mod h1:rjnrwK57VJ7A8xqfpAOEKRH8yQSGUriMu5/zuPSQ1hg= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= +github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= +github.com/go-resty/resty/v2 v2.1.1-0.20191201195748-d7b97669fe48/go.mod h1:dZGr0i9PLlaaTD4H/hoZIDjQ+r6xq8mgbRzHZf7f2J8= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= -github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +github.com/go-zookeeper/zk v1.0.2/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw= +github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0= +github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY= +github.com/gobuffalo/depgen v0.1.0/go.mod h1:+ifsuy7fhi15RWncXQQKjWS9JPkdah5sZvtHc2RXGlg= +github.com/gobuffalo/envy v1.6.15/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= -github.com/gobuffalo/envy v1.7.1/go.mod h1:FurDp9+EDPE4aIUS3ZLyD+7/9fpx7YRt/ukY6jIHf0w= -github.com/gobuffalo/flect v0.2.4/go.mod h1:1ZyCLIbg0YD7sDkzvFdPoOydPtD8y9JQnrOROolUcM8= -github.com/gobuffalo/logger v1.0.1/go.mod h1:2zbswyIUa45I+c+FLXuWl9zSWEiVuthsk8ze5s8JvPs= -github.com/gobuffalo/logger v1.0.3/go.mod h1:SoeejUwldiS7ZsyCBphOGURmWdwUFXs0J7TCjEhjKxM= -github.com/gobuffalo/packd v0.3.0/go.mod h1:zC7QkmNkYVGKPw4tHpBQ+ml7W/3tIebgeo1b36chA3Q= -github.com/gobuffalo/packd v1.0.0/go.mod h1:6VTc4htmJRFB7u1m/4LeMTWjFoYrUiBkU9Fdec9hrhI= -github.com/gobuffalo/packr/v2 v2.7.1/go.mod h1:qYEvAazPaVxy7Y7KR0W8qYEE+RymX74kETFqjFoFlOc= -github.com/gobuffalo/packr/v2 v2.8.1/go.mod h1:c/PLlOuTU+p3SybaJATW3H6lX/iK7xEz5OeMf+NnJpg= -github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= +github.com/gobuffalo/flect v0.1.0/go.mod h1:d2ehjJqGOH/Kjqcoz+F7jHTBbmDb38yXA598Hb50EGs= +github.com/gobuffalo/flect v0.1.1/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= +github.com/gobuffalo/flect v0.1.3/go.mod h1:8JCgGVbRjJhVgD6399mQr4fx5rRfGKVzFjbj6RE/9UI= +github.com/gobuffalo/genny v0.0.0-20190329151137-27723ad26ef9/go.mod h1:rWs4Z12d1Zbf19rlsn0nurr75KqhYp52EAGGxTbBhNk= +github.com/gobuffalo/genny v0.0.0-20190403191548-3ca520ef0d9e/go.mod h1:80lIj3kVJWwOrXWWMRzzdhW3DsrdjILVil/SFKBzF28= +github.com/gobuffalo/genny v0.1.0/go.mod h1:XidbUqzak3lHdS//TPu2OgiFB+51Ur5f7CSnXZ/JDvo= +github.com/gobuffalo/genny v0.1.1/go.mod h1:5TExbEyY48pfunL4QSXxlDOmdsD44RRq4mVZ0Ex28Xk= +github.com/gobuffalo/gitgen v0.0.0-20190315122116-cc086187d211/go.mod h1:vEHJk/E9DmhejeLeNt7UVvlSGv3ziL+djtTr3yyzcOw= +github.com/gobuffalo/gogen v0.0.0-20190315121717-8f38393713f5/go.mod h1:V9QVDIxsgKNZs6L2IYiGR8datgMhB577vzTDqypH360= +github.com/gobuffalo/gogen v0.1.0/go.mod h1:8NTelM5qd8RZ15VjQTFkAW6qOMx5wBbW4dSCS3BY8gg= +github.com/gobuffalo/gogen v0.1.1/go.mod h1:y8iBtmHmGc4qa3urIyo1shvOD8JftTtfcKi+71xfDNE= +github.com/gobuffalo/logger v0.0.0-20190315122211-86e12af44bc2/go.mod h1:QdxcLw541hSGtBnhUc4gaNIXRjiDppFGaDqzbrBd3v8= +github.com/gobuffalo/mapi v1.0.1/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= +github.com/gobuffalo/mapi v1.0.2/go.mod h1:4VAGh89y6rVOvm5A8fKFxYG+wIW6LO1FMTG9hnKStFc= +github.com/gobuffalo/packd v0.0.0-20190315124812-a385830c7fc0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= +github.com/gobuffalo/packd v0.1.0/go.mod h1:M2Juc+hhDXf/PnmBANFCqx4DM3wRbgDvnVWeG2RIxq4= +github.com/gobuffalo/packr/v2 v2.0.9/go.mod h1:emmyGweYTm6Kdper+iywB6YK5YzuKchGtJQZ0Odn4pQ= +github.com/gobuffalo/packr/v2 v2.2.0/go.mod h1:CaAwI0GPIAv+5wKLtv8Afwl+Cm78K/I/VCm/3ptBN+0= +github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY95UYwwW3uSASeV7vtgYkT2t16hJgV3AEPUpw= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= +github.com/goccy/go-yaml v1.9.5/go.mod h1:U/jl18uSupI5rdI2jmuCswEA2htH9eXfferR3KfscvA= github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= -github.com/godbus/dbus v0.0.0-20181025153459-66d97aec3384/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw= github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/godror/godror v0.13.3/go.mod h1:2ouUT4kdhUBk7TAkHWD4SN0CdI0pgEQbo8FVHhbSKWg= -github.com/godror/godror v0.24.2/go.mod h1:wZv/9vPiUib6tkoDl+AZ/QLf5YZgMravZ7jxH2eQWAE= -github.com/gofrs/flock v0.7.0/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/gofrs/flock v0.8.0/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= +github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/uuid v3.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= @@ -754,15 +874,19 @@ github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4Oe github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= -github.com/golang-jwt/jwt/v4 v4.0.0 h1:RAqyYixv1p7uEnocuy8P1nru5wprCh/MH2BIlW5z5/o= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.4.2 h1:rcc4lwaZgFMCZ5jxF9ABolDcIHdBytAFgqFPbSJQAYs= +github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= -github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= +github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= @@ -784,6 +908,7 @@ github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71 github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= +github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.0.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -806,16 +931,20 @@ github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.3 h1:fHPg5GQYlCeLIPB9BZqMVR5nR9A+IM5zcgeTdjMYmLA= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= +github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golangplus/bytes v0.0.0-20160111154220-45c989fe5450/go.mod h1:Bk6SMAONeMXrxql8uvOKuAZSu8aM5RUGv+1C6IJaEho= +github.com/golangplus/fmt v0.0.0-20150411045040-2a5d6d7d2995/go.mod h1:lJgMEyOkYFkPcDKwRXegd+iM6E7matEszMG5HhwytU8= github.com/golangplus/testing v0.0.0-20180327235837-af21d9c3145e/go.mod h1:0AA//k/eakGydO4jKRoRL2j92ZKSzTgj9tclaCrvXHk= -github.com/gomodule/redigo v1.8.2/go.mod h1:P9dn9mFrCBvWhGE1wpxx6fgq7BAeLBk+UUUzlpkBYO0= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= -github.com/google/cadvisor v0.39.2/go.mod h1:kN93gpdevu+bpS227TyHVZyCU5bbqCzTj5T9drl34MI= -github.com/google/cel-go v0.9.0/go.mod h1:U7ayypeSkw23szu4GaQTPJGx66c20mx8JklMSxrmI1w= +github.com/google/cel-go v0.10.1/go.mod h1:U7ayypeSkw23szu4GaQTPJGx66c20mx8JklMSxrmI1w= github.com/google/cel-spec v0.6.0/go.mod h1:Nwjgxy5CbjlPrtCWjeDjUyKMl8w41YBYGjsyDdqk0xA= +github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= +github.com/google/gnostic v0.6.9 h1:ZK/5VhkoX835RikCHpSUJV9a+S3e1zLh59YnyWeBW+0= +github.com/google/gnostic v0.6.9/go.mod h1:Nm8234We1lq6iB9OmlgNv3nH91XLLVZHCDayfA3xq+E= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -828,19 +957,20 @@ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= -github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= -github.com/google/go-github/v29 v29.0.3/go.mod h1:CHKiKKPHJ0REzfwc14QMklvtHwCveD0PxlMjLlzAM5E= -github.com/google/go-github/v33 v33.0.0/go.mod h1:GMdDnVZY/2TsWgp/lkYnpSAh6TrzhANBBwm6k6TTEXg= -github.com/google/go-querystring v0.0.0-20140804062624-30f7a39f4a21/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= -github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= -github.com/google/go-replayers/grpcreplay v1.0.0 h1:B5kVOzJ1hBgnevTgIWhSTatQ3608yu/2NnU0Ta1d0kY= -github.com/google/go-replayers/grpcreplay v1.0.0/go.mod h1:8Ig2Idjpr6gifRd6pNVggX6TC1Zw6Jx74AKp7QNH2QE= -github.com/google/go-replayers/httpreplay v0.1.2 h1:HCfx+dQzwN9XbGTHF8qJ+67WN8glL9FTWV5rraCJ/jU= -github.com/google/go-replayers/httpreplay v0.1.2/go.mod h1:YKZViNhiGgqdBlUbI2MwGpq4pXxNmhJLPHQ7cv2b5no= +github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= +github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= +github.com/google/go-replayers/grpcreplay v1.1.0 h1:S5+I3zYyZ+GQz68OfbURDdt/+cSMqCK1wrvNx7WBzTE= +github.com/google/go-replayers/grpcreplay v1.1.0/go.mod h1:qzAvJ8/wi57zq7gWqaE6AwLM6miiXUQwP1S+I9icmhk= +github.com/google/go-replayers/httpreplay v1.0.0/go.mod h1:LJhKoTwS5Wy5Ld/peq8dFFG5OfJyHEz7ft+DsTUv25M= +github.com/google/go-replayers/httpreplay v1.1.1 h1:H91sIMlt1NZzN7R+/ASswyouLJfW0WLW7fhyUFvDEkY= +github.com/google/go-replayers/httpreplay v1.1.1/go.mod h1:gN9GeLIs7l6NUoVaSSnv2RiqK1NiwAmD0MrKeC9IIks= +github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= @@ -850,8 +980,9 @@ github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible h1:x github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.2.1 h1:d8MncMlErDFTwQGBK1xhv026j9kqhvw1Qv9IbWT1VLQ= github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= +github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= +github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= @@ -864,40 +995,49 @@ github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210506205249-923b5ab0fc1a/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210715191844-86eeefc3e471/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20220318212150-b2ab0324ddda/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= +github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3/go.mod h1:gSuNB+gJaOiQKLEZ+q+PK9Mq3SOzhRcw2GsGS/FhYDk= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= -github.com/google/uuid v0.0.0-20170306145142-6a5e28554805/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.2.0 h1:qJYtXnJRWmpe7m/3XlyhrsLrEURqHRM2kxzoxXqyUDs= github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8= github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= +github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= +github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= +github.com/googleapis/enterprise-certificate-proxy v0.2.0 h1:y8Yozv7SZtlU//QXbezB6QkpuE6jMD2/gfzk4AftXjs= +github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= -github.com/googleapis/gax-go/v2 v2.1.1 h1:dp3bWCh+PPO1zjRRiCSczJav13sBvG4UhNyVTa1KqdU= github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= +github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= +github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= +github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= +github.com/googleapis/gax-go/v2 v2.7.0 h1:IcsPKeInNvYi7eqSaDjiZqDDKu5rsmunY0Y1YupQSSQ= +github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= +github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= +github.com/googleapis/gnostic v0.1.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.3.1/go.mod h1:on+2t9HRStVgn95RSsFWFz+6Q0Snyqv1awfrALZdbtU= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= -github.com/googleapis/gnostic v0.5.5 h1:9fHAtK0uDfpveeqqo1hkEZJcFvYXAiCN3UutL8F9xHw= github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= -github.com/gophercloud/gophercloud v0.0.0-20190212181753-892256c46858/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= -github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= -github.com/gophercloud/gophercloud v0.7.0/go.mod h1:gmC5oQqMDOMO1t1gq5DquX/yAU808e/4mzjjDA76+Ss= -github.com/gophercloud/utils v0.0.0-20191129022341-463e26ffa30d/go.mod h1:SZ9FTKibIotDtCrxAU/evccoyu1yhKST6hgBvwTB5Eg= +github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= +github.com/gophercloud/gophercloud v0.24.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= +github.com/gophercloud/gophercloud v0.25.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gopherjs/gopherjs v0.0.0-20191106031601-ce3c9ade29de/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= -github.com/gorilla/handlers v1.4.2/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= -github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= @@ -906,32 +1046,39 @@ github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB7 github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gosuri/uitable v0.0.4/go.mod h1:tKR86bXuXPZazfOTG1FIzvjIdXzd0mo4Vtn16vt0PJo= +github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= +github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grafana/regexp v0.0.0-20220304095617-2e8d9baf4ac2/go.mod h1:M5qHK+eWfAv8VR/265dIuEpL3fNfeC21tXXp9itM24A= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/grpc-ecosystem/go-grpc-middleware v0.0.0-20190222133341-cfaf5686ec79/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.3.0/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.2/go.mod h1:chrfS3YoLAlKTRE5cFWvCbt8uGAjshktT4PveTUpsFQ= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= +github.com/hanwen/go-fuse v1.0.0/go.mod h1:unqXarDXqzAk0rt98O2tVndEPIpUgLD9+rwFisZH3Ok= +github.com/hanwen/go-fuse/v2 v2.1.0/go.mod h1:oRyA5eK+pvJyv5otpO/DgccS8y/RvYMaO00GgRLGryc= github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= -github.com/hashicorp/consul/api v1.10.1/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M= -github.com/hashicorp/consul/api v1.11.0/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M= +github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= +github.com/hashicorp/consul/api v1.13.0/go.mod h1:ZlVrynguJKcYr54zGaDbaL3fOvKC9m72FhPvA8T35KQ= github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms= +github.com/hashicorp/cronexpr v1.1.1/go.mod h1:P4wA0KBl9C5q2hABiMO7cp6jcIg96CDh1Efb3g1PWA4= github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v0.0.0-20180715044906-d6c0cd880357/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= @@ -939,36 +1086,36 @@ github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9n github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= -github.com/hashicorp/go-getter v1.4.0 h1:ENHNi8494porjD0ZhIrjlAHnveSFhY7hvOJrV/fsKkw= -github.com/hashicorp/go-getter v1.4.0/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY= +github.com/hashicorp/go-getter v1.5.3 h1:NF5+zOlQegim+w/EUhSLh6QhXHmZMEeHLQzllkQ3ROU= +github.com/hashicorp/go-getter v1.5.3/go.mod h1:BrrV/1clo8cCYu6mxvboYg+KutTiFnXjMEgDD8+i7ZI= github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v0.12.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= github.com/hashicorp/go-hclog v0.16.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.0.0 h1:bkKf0BeBXcSYa7f5Fyi9gMuQ8gNsxeiNpZjR6VxNZeo= -github.com/hashicorp/go-hclog v1.0.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v1.3.1 h1:vDwF1DFNZhntP4DAjuTpOw3uEgMUpXh1pB5fW9DqHpo= +github.com/hashicorp/go-hclog v1.3.1/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-immutable-radix v1.1.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.2.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-kms-wrapping/entropy v0.1.0/go.mod h1:d1g9WGtAunDNpek8jUIEJnBlbgKS1N2Q61QkHiZyR1g= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= -github.com/hashicorp/go-multierror v0.0.0-20180717150148-3d5d8f294aa0/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= 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/go-plugin v1.0.1/go.mod h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY= -github.com/hashicorp/go-plugin v1.2.0/go.mod h1:F9eH4LrE/ZsRdbwhfjs9k9HoDUwAHnYtXdgmf1AVNs0= github.com/hashicorp/go-plugin v1.3.0/go.mod h1:F9eH4LrE/ZsRdbwhfjs9k9HoDUwAHnYtXdgmf1AVNs0= -github.com/hashicorp/go-plugin v1.4.1 h1:6UltRQlLN9iZO513VveELp5xyaFxVD2+1OVylE+2E+w= -github.com/hashicorp/go-plugin v1.4.1/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= +github.com/hashicorp/go-plugin v1.4.6 h1:MDV3UrKQBM3du3G7MApDGvOsMYy3JQJ4exhSoKBAeVA= +github.com/hashicorp/go-plugin v1.4.6/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-retryablehttp v0.6.2/go.mod h1:gEx6HMUGxYYhJScX7W1Il64m6cc2C1mDaW3NQ9sY1FY= github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-retryablehttp v0.7.0 h1:eu1EI/mbirUgP5C8hVsTNaGZreBDlYiwC1FZWkvQPQ4= github.com/hashicorp/go-retryablehttp v0.7.0/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= +github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ= +github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-rootcerts v1.0.1/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= @@ -981,118 +1128,158 @@ github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjG github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.2 h1:cfejS+Tpcp13yd5nYHWDI6qVCny6wyX2Mt5SGur2IGE= github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= +github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.3.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go-version v1.4.0 h1:aAQzgqIrRKRa7w75CKpbBxYsmUoPjzVm1W59ca1L0J4= -github.com/hashicorp/go-version v1.4.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.5.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= +github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/hc-install v0.3.1/go.mod h1:3LCdWcCDS1gaHC9mhHCGbkYfoY6vdsKohGjugbZdZak= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= 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.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90= -github.com/hashicorp/hcl/v2 v2.3.0 h1:iRly8YaMwTBAKhn1Ybk7VSdzbnopghktCD031P8ggUE= github.com/hashicorp/hcl/v2 v2.3.0/go.mod h1:d+FwDBbOLvpAM3Z6J7gPj/VoAGkNe/gm352ZhjJ/Zv8= -github.com/hashicorp/hcl2 v0.0.0-20190821123243-0c888d1241f6/go.mod h1:Cxv+IJLuBiEhQ7pBYGEuORa0nr4U994pE8mYLuFd7v0= -github.com/hashicorp/hil v0.0.0-20190212112733-ab17b08d6590/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= +github.com/hashicorp/hcl/v2 v2.8.2/go.mod h1:bQTN5mpo+jewjJgh8jr0JUguIi7qPHUF6yIfAEN3jqY= +github.com/hashicorp/hcl/v2 v2.15.0 h1:CPDXO6+uORPjKflkWCCwoWc9uRp+zSIPcCQ+BrxV7m8= +github.com/hashicorp/hcl/v2 v2.15.0/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= 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.1/go.mod h1:4gW7WsVCke5TE7EPeYliwHlRUyBtfCwuFwuMg2DmyNY= github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= -github.com/hashicorp/memberlist v0.2.2/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= +github.com/hashicorp/memberlist v0.3.1/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= +github.com/hashicorp/nomad/api v0.0.0-20220629141207-c2428e1673ec/go.mod h1:jP79oXjopTyH6E8LF0CEMq67STgrlmBRIyijA0tuR5o= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= -github.com/hashicorp/serf v0.9.5/go.mod h1:UWDWwZeL5cuWDJdl0C6wrvrUwEqtQ4ZKBKKENpqIUyk= github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= -github.com/hashicorp/terraform-config-inspect v0.0.0-20190821133035-82a99dc22ef4/go.mod h1:JDmizlhaP5P0rYTTZB0reDMefAiJyfWPEtugV4in1oI= -github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8 h1:+RyjwU+Gnd/aTJBPZVDNm903eXVjjqhbaR4Ypx3xYyY= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= -github.com/hashicorp/terraform-exec v0.9.0/go.mod h1:tOT8j1J8rP05bZBGWXfMyU3HkLi1LWyqL3Bzsc3CJjo= +github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7/go.mod h1:p+ivJws3dpqbp1iP84+npOyAmTTOLMgCzrXd3GSdn/A= +github.com/hashicorp/terraform-config-inspect v0.0.0-20221020162138-81db043ad408 h1:dol/gV6vq/QBI1lGTxUEUGr8ixcs4SU79lgCoRMg3pU= +github.com/hashicorp/terraform-config-inspect v0.0.0-20221020162138-81db043ad408/go.mod h1:EAaqp5h9PsUNr6NtgLj31w+ElcCEL+1Svw1Jw+MTVKU= +github.com/hashicorp/terraform-exec v0.15.0 h1:cqjh4d8HYNQrDoEmlSGelHmg2DYDh5yayckvJ5bV18E= github.com/hashicorp/terraform-exec v0.15.0/go.mod h1:H4IG8ZxanU+NW0ZpDRNsvh9f0ul7C0nHP+rUR/CHs7I= github.com/hashicorp/terraform-json v0.4.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= github.com/hashicorp/terraform-json v0.5.0/go.mod h1:eAbqb4w0pSlRmdvl8fOyHAi/+8jnkVYN28gJkSJrLhU= -github.com/hashicorp/terraform-json v0.13.0 h1:Li9L+lKD1FO5RVFRM1mMMIBDoUHslOniyEi5CM+FWGY= +github.com/hashicorp/terraform-json v0.10.0/go.mod h1:3defM4kkMfttwiE7VakJDwCd4R+umhSQnvJwORXbprE= github.com/hashicorp/terraform-json v0.13.0/go.mod h1:y5OdLBCT+rxbwnpxZs9kGL7R9ExU76+cpdY8zHwoazk= -github.com/hashicorp/terraform-plugin-go v0.5.0 h1:+gCDdF0hcYCm0YBTxrP4+K1NGIS5ZKZBKDORBewLJmg= -github.com/hashicorp/terraform-plugin-go v0.5.0/go.mod h1:PAVN26PNGpkkmsvva1qfriae5Arky3xl3NfzKa8XFVM= -github.com/hashicorp/terraform-plugin-log v0.2.0 h1:rjflRuBqCnSk3UHOR25MP1G5BDLKktTA6lNjjcAnBfI= -github.com/hashicorp/terraform-plugin-log v0.2.0/go.mod h1:E1kJmapEHzqu1x6M++gjvhzM2yMQNXPVWZRCB8sgYjg= -github.com/hashicorp/terraform-plugin-sdk v1.0.0/go.mod h1:NuwtLpEpPsFaKJPJNGtMcn9vlhe6Ofe+Y6NqXhJgV2M= +github.com/hashicorp/terraform-json v0.14.0 h1:sh9iZ1Y8IFJLx+xQiKHGud6/TSUCM0N8e17dKDpqV7s= +github.com/hashicorp/terraform-json v0.14.0/go.mod h1:5A9HIWPkk4e5aeeXIBbkcOvaZbIYnAIkEyqP2pNSckM= +github.com/hashicorp/terraform-plugin-go v0.12.0 h1:6wW9mT1dSs0Xq4LR6HXj1heQ5ovr5GxXNJwkErZzpJw= +github.com/hashicorp/terraform-plugin-log v0.6.0 h1:/Vq78uSIdUSZ3iqDc9PESKtwt8YqNKN6u+khD+lLjuw= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= -github.com/hashicorp/terraform-plugin-sdk v1.14.0 h1:sUKcw7OHqDXhBarlHjv+/yMCr8eEb1lO8CGQ3pEEFiE= -github.com/hashicorp/terraform-plugin-sdk v1.14.0/go.mod h1:t62Xy+m7Zjq5tA2vrs8Wuo/TQ0sc9Mx9MjXL3+7MHBQ= +github.com/hashicorp/terraform-plugin-sdk v1.17.2 h1:V7DUR3yBWFrVB9z3ddpY7kiYVSsq4NYR67NiTs93NQo= +github.com/hashicorp/terraform-plugin-sdk v1.17.2/go.mod h1:wkvldbraEMkz23NxkkAsFS88A1R9eUiooiaUZyS6TLw= github.com/hashicorp/terraform-plugin-sdk/v2 v2.0.2/go.mod h1:pVZLnLuSe/yv0XqTHFPb8xRGWPwgANT77jHeHqjXS5o= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.10.1 h1:B9AocC+dxrCqcf4vVhztIkSkt3gpRjUkEka8AmZWGlQ= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.10.1/go.mod h1:FjM9DXWfP0w/AeOtJoSKHBZ01LqmaO6uP4bXhv3fekw= +github.com/hashicorp/terraform-plugin-sdk/v2 v2.19.0 h1:7gDAcfto/C4Cjtf90SdukQshsxdMxJ/P69QxiF3digI= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-plugin-test v1.3.0 h1:hU5LoxrOn9qvOo+LTKN6mSav2J+dAMprbdxJPEQvp4U= -github.com/hashicorp/terraform-plugin-test v1.3.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= github.com/hashicorp/terraform-plugin-test/v2 v2.1.1/go.mod h1:HaW2G5cDTVyiEKt7PHC85YSM5BwvYl/rIko1g8Lg7qE= -github.com/hashicorp/terraform-registry-address v0.0.0-20210412075316-9b2996cce896/go.mod h1:bzBPnUIkI0RxauU8Dqo+2KrZZ28Cf48s8V6IHt3p4co= +github.com/hashicorp/terraform-plugin-test/v2 v2.2.1 h1:d3Rzmi5bnRzcAZon91FY4TDCMUYdU8c5vpPpf2Tz+c8= +github.com/hashicorp/terraform-plugin-test/v2 v2.2.1/go.mod h1:eZ9JL3O69Cb71Skn6OhHyj17sLmHRb+H6VrDcJjKrYU= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 h1:HKLsbzeOsfXmKNpr3GiT18XAblV0BjCbzL8KQAMZGa0= github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= github.com/hashicorp/vault/api v1.0.5-0.20200519221902-385fac77e20f/go.mod h1:euTFbi2YJgwcju3imEt919lhJKF68nN1cQPq3aA+kBE= -github.com/hashicorp/vault/api v1.1.0 h1:QcxC7FuqEl0sZaIjcXB/kNEeBa0DH5z57qbWBvZwLC4= -github.com/hashicorp/vault/api v1.1.0/go.mod h1:R3Umvhlxi2TN7Ex2hzOowyeNb+SfbVWI973N+ctaFMk= +github.com/hashicorp/vault/api v1.1.1 h1:907ld+Z9cALyvbZK2qUX9cLwvSaEQsMVQB3x2KE8+AI= +github.com/hashicorp/vault/api v1.1.1/go.mod h1:29UXcn/1cLOPHQNMWA7bCz2By4PSd0VKPAydKXS5yN0= github.com/hashicorp/vault/sdk v0.1.14-0.20200519221530-14615acda45f/go.mod h1:WX57W2PwkrOPQ6rVQk+dy5/htHIaB4aBM70EwKThu10= -github.com/hashicorp/vault/sdk v0.1.14-0.20200519221838-e0cfd64bc267/go.mod h1:WX57W2PwkrOPQ6rVQk+dy5/htHIaB4aBM70EwKThu10= -github.com/hashicorp/vault/sdk v0.2.0 h1:hvVswvMA9LvXwLBFDJLIoDBXi8hj90Q+gSS7vRYmLvQ= -github.com/hashicorp/vault/sdk v0.2.0/go.mod h1:cAGI4nVnEfAyMeqt9oB+Mase8DNn3qA/LDNHURiwssY= +github.com/hashicorp/vault/sdk v0.2.1 h1:S4O6Iv/dyKlE9AUTXGa7VOvZmsCvg36toPKgV4f2P4M= +github.com/hashicorp/vault/sdk v0.2.1/go.mod h1:WfUiO1vYzfBkz1TmoE4ZGU7HD0T0Cl/rZwaxjBkgN4U= github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= -github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= -github.com/heketi/heketi v10.3.0+incompatible/go.mod h1:bB9ly3RchcQqsQ9CpyaQwvva7RS5ytVoSoholZQON6o= -github.com/heketi/tests v0.0.0-20151005000721-f3775cbcefd6/go.mod h1:xGMAM8JLi7UkZt1i4FQeQy0R2T8GLUwQhOP5M1gBhy4= -github.com/heptio/authenticator v0.0.0-20180409043135-d282f87a1972/go.mod h1:Q86X8hc61JXhE5XxYLKmrSRWby/Oe8IIYZIBgmGVkTA= -github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174 h1:WlZsjVhE8Af9IcZDGgJGQpNflI3+MJSBhsgT5PCtzBQ= +github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= +github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= +github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQbda1pHxkUmDlUME= +github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= +github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= +github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= +github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= +github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec h1:qv2VnGeEQHchGaZ/u7lxST/RaJw+cv273q79D81Xbog= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/huandu/xstrings v1.3.3 h1:/Gcsuc1x8JVbJ9/rlye4xZnVAbEkGauT8lbebqcQws4= +github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= +github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.7/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +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.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= -github.com/ishidawataru/sctp v0.0.0-20190723014705-7c296d48a2b5/go.mod h1:DM4VvS+hD/kDi1U1QsX2fnZowwBhqD0Dk3bRPKF/Oc8= +github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ= +github.com/ionos-cloud/sdk-go/v6 v6.1.0/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME= github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA= +github.com/j-keck/arping v1.0.2/go.mod h1:aJbELhR92bSk7tp79AWM/ftfc90EfEi2bQJrbBFOsPw= +github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= +github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= +github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= +github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= +github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= +github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= +github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI= +github.com/jackc/pgconn v1.12.1/go.mod h1:ZkhRC59Llhrq3oSfrikvwQ5NaxYExr6twkdkMLaKono= +github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= +github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= +github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg= +github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= +github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.3.0/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= +github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= +github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= +github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM= +github.com/jackc/pgtype v1.11.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= +github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= +github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= +github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= +github.com/jackc/pgx/v4 v4.16.1/go.mod h1:SIhx0D5hoADaiXZVyv+3gSm3LCIIINTVO0PficsvWGQ= +github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.2.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= 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.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE= github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= -github.com/jinzhu/gorm v0.0.0-20160404144928-5174cc5c242a/go.mod h1:Vla75njaFJ8clLU1W44h34PjIkijhjHIYnZxMqCdxqo= -github.com/jinzhu/inflection v0.0.0-20170102125226-1c35d901db3d/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= -github.com/jinzhu/now v1.0.1/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= @@ -1100,14 +1287,14 @@ github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9Y github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= -github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= -github.com/jmoiron/sqlx v1.3.4/go.mod h1:2BljVx/86SuTyjE+aPYlHCTNvZrnJXghYGpNiXLBMCQ= github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= +github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= +github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= @@ -1119,35 +1306,32 @@ github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHm github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= -github.com/juju/loggo v0.0.0-20190526231331-6e530bcce5d8/go.mod h1:vgyd7OREkbtVEN/8IXZe5Ooef3LQePvuBm9UWj6ZL8U= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod h1:1NbS8ALrpOvjt0rHPNLyCIeMtbizbir8U//inJ+zuB8= -github.com/karrick/godirwalk v1.15.8/go.mod h1:j4mkqPuvaLI8mp1DroR3P6ad7cyYd4c1qeJ3RV7ULlk= -github.com/karrick/godirwalk v1.16.1/go.mod h1:j4mkqPuvaLI8mp1DroR3P6ad7cyYd4c1qeJ3RV7ULlk= +github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= +github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= -github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= -github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck= github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/kevinburke/ssh_config v1.1.0 h1:pH/t1WS9NzT8go394IqZeJTMHVm6Cr6ZJ6AQ+mdNo/o= +github.com/kevinburke/ssh_config v1.1.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/keybase/go-crypto v0.0.0-20161004153544-93f5b35093ba/go.mod h1:ghbZscTyKdM07+Fw3KSi0hcJm+AlEUWj8QLlPtijN/M= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= 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/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/compress v1.11.2/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.12.2/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= +github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= -github.com/klauspost/cpuid v1.2.3/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= -github.com/klauspost/cpuid v1.3.1/go.mod h1:bYW4mA6ZgKPob1/Dlai2LviZJO7KGI3uoWLd42rAQw4= -github.com/knative/pkg v0.0.0-20190817231834-12ee58e32cc8/go.mod h1:7Ijfhw7rfB+H9VtosIsDYvZQ+qYTz7auK3fHW/5z4ww= +github.com/klauspost/compress v1.15.1 h1:y9FcTHGyrebwfP0ZZqFiaxTaiDnUrGkJkI+f583BL1A= +github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/kolo/xmlrpc v0.0.0-20201022064351-38db28db192b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kortschak/utter v1.0.1/go.mod h1:vSmSjbyrlKjjsL71193LmzBOKgwePk9DH6uFaWHIInc= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= @@ -1157,7 +1341,6 @@ github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NB github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.4/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= -github.com/kr/pty v1.1.8 h1:AkaSdXYQOWeaO3neb8EM634ahkXXe3jYbVh/F9lq+GI= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= 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= @@ -1165,44 +1348,39 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/lann/builder v0.0.0-20180802200727-47ae307949d0/go.mod h1:dXGbAdH5GtBTC4WfIxhKZfyBF/HBFgRZSWwZ9g/He9o= -github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0/go.mod h1:vmVJ0l/dxyfGW6FmdpVm2joNMFikkuWg0EoCKLGUMNw= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= -github.com/lib/pq v0.0.0-20171126050459-83612a56d3dd/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.9.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.10.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.10.1/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.10.4/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/libopenstorage/openstorage v1.0.0/go.mod h1:Sp1sIObHjat1BeXhfMqLZ14wnOzEhNx2YQedreMcUyc= +github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.10.6/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= +github.com/linode/linodego v1.4.0/go.mod h1:PVsRxSlOiJyvG4/scTszpmZDTdgS+to3X6eS8pRrWI8= +github.com/linode/linodego v1.8.0/go.mod h1:heqhl91D8QTPVm2k9qZHP78zzbOdTFLXE9NJc3bcc50= github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc= -github.com/lpabon/godbc v0.1.1/go.mod h1:Jo9QV0cf3U6jZABgiJ2skINAXb9j8m51r07g4KI92ZA= -github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= -github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w= +github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= +github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/markbates/errx v1.1.0/go.mod h1:PLa46Oex9KNbVDZhKel8v1OT7hD5JZ2eI7AHhA0wswc= -github.com/markbates/oncer v1.0.0/go.mod h1:Z59JA581E9GP6w96jai+TGqafHPW+cPfRxz2aSZ0mcI= +github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE= github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0= github.com/maruel/panicparse v0.0.0-20171209025017-c0182c169410/go.mod h1:nty42YY5QByNC5MM7q/nj938VbgPU7avs45z6NClpxI= github.com/maruel/ut v1.0.0/go.mod h1:I68ffiAt5qre9obEVTy7S2/fj2dJku2NYLvzPuY0gqE= +github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/matryer/moq v0.0.0-20200607124540-4638a53893e6/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ= -github.com/mattermost/xml-roundtrip-validator v0.0.0-20201213122252-bcd7e1b9601e/go.mod h1:qccnGMcpgwcNaBnxqpJpWWUiPNr5H3O8eDgGV9gT5To= -github.com/mattn/go-colorable v0.0.0-20170210172801-5411d3eea597/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= @@ -1210,57 +1388,48 @@ github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVc github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-ieproxy v0.0.1 h1:qiyop7gCflfhwCzGyeT0gro3sF9AIg9HU98JORTkqfI= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-ieproxy v0.0.1/go.mod h1:pYabZ6IHcRpFh7vIaLfK7rdcWgFEb3SFJ6/gNWuh88E= -github.com/mattn/go-isatty v0.0.0-20170307163044-57fdcb988a5c/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-oci8 v0.0.7/go.mod h1:wjDx6Xm9q7dFtHJvIlrI99JytznLw5wQ4R+9mNXJwGI= -github.com/mattn/go-oci8 v0.1.1/go.mod h1:wjDx6Xm9q7dFtHJvIlrI99JytznLw5wQ4R+9mNXJwGI= +github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-runewidth v0.0.8/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= -github.com/mattn/go-shellwords v1.0.10/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= -github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/go-sqlite3 v1.10.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/go-sqlite3 v1.12.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/go-sqlite3 v1.14.6/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= +github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= +github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/mcuadros/go-version v0.0.0-20180611085657-6d5863ca60fa/go.mod h1:76rfSfYPWj01Z85hUf/ituArm797mNKcvINh1OlsZKo= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= +github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= +github.com/miekg/dns v1.1.48/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= +github.com/miekg/dns v1.1.50/go.mod h1:e3IlAVfNqAllflbibAZEWOXOQ+Ynzk/dDozDxY7XnME= github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= -github.com/mindprince/gonvml v0.0.0-20190828220739-9ebdce4bb989/go.mod h1:2eu9pRWp8mo84xCg6KswZ+USQHjwgRhNp06sozOdsTY= -github.com/minio/md5-simd v1.1.0/go.mod h1:XpBqgZULrMYD3R+M28PcmP0CkI7PEMzB3U77ZrKZ0Gw= -github.com/minio/minio-go/v7 v7.0.10/go.mod h1:td4gW1ldOsj1PbSNS+WYK43j+P1XVhX/8W8awaYlBFo= -github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM= github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= -github.com/mitchellh/cli v1.1.1/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= -github.com/mitchellh/cli v1.1.2 h1:PvH+lL2B7IQ101xQL63Of8yFS2y+aDlsFcsqNc+u/Kw= github.com/mitchellh/cli v1.1.2/go.mod h1:6iaV0fGdElS6dPBx0EApTxHrcWvmJphyh2n8YBLPPZ4= +github.com/mitchellh/cli v1.1.5 h1:OxRIeJXpAMztws/XHlN2vu6imG5Dpq+j61AzAX5fLng= +github.com/mitchellh/cli v1.1.5/go.mod h1:v8+iFts2sPIKUV1ltktPXMCC8fumSKFItNcD2cLtRR4= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= @@ -1277,8 +1446,9 @@ github.com/mitchellh/go-testing-interface v1.0.4/go.mod h1:kRemZodwjscx+RGhAo8eI github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= -github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4= github.com/mitchellh/go-wordwrap v1.0.0/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/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= github.com/mitchellh/hashstructure v1.0.0 h1:ZkRJX1CyOoTkar7p/mLS5TZU4nJ1Rn/F8u9dGS02Q3Y= github.com/mitchellh/hashstructure v1.0.0/go.mod h1:QjSHrPWS+BGUVBYkbTZWEnOh3G1DutKwClXU/ABz6AQ= @@ -1289,49 +1459,47 @@ github.com/mitchellh/mapstructure v1.3.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RR github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.4.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs= github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= +github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/moby/ipvs v1.0.1/go.mod h1:2pngiyseZbIKXNv7hsKj3O9UEz30c53MT9005gt2hxQ= github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= -github.com/moby/moby v20.10.14+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= -github.com/moby/sys/mount v0.2.0/go.mod h1:aAivFE2LB3W4bACsUXChRHQ0qKWsetY4Y9V7sxOougM= github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU= +github.com/moby/sys/signal v0.6.0/go.mod h1:GQ6ObYZfqacOwTtlXvcmh9A26dVRul/hbOZn88Kg8Tg= github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= +github.com/moby/sys/symlink v0.2.0/go.mod h1:7uZVF2dqJjG/NsClqul95CqKOBRQyYSNnJ6BMgR/gFs= github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo= -github.com/moby/term v0.0.0-20201216013528-df9cb8a40635/go.mod h1:FBS0z0QWA44HXygs7VXDUOGoN/1TV3RuWkLO04am3wc= github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A= github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 h1:dcztxKSvZ4Id8iPpHERQBbIJfabdt4wUm5qy3wOL2Zc= github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180320133207-05fbef0ca5da/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/mohae/deepcopy v0.0.0-20170603005431-491d3605edfb/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= +github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= -github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4= -github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= +github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= +github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= -github.com/mrjones/oauth v0.0.0-20180629183705-f4e24b6d100c/go.mod h1:skjdDftzkFALcuGzYSklqYd8gvat6F1gZJ4YPVbkZpM= github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mvdan/xurls v1.1.0/go.mod h1:tQlNn3BED8bE/15hnSL2HLkDeLWpNPAwtw7wkEq44oU= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= -github.com/mxschmitt/golang-combinations v1.0.0/go.mod h1:RbMhWvfCelHR6WROvT2bVfxJvZHoEvBj71SKe+H0MYU= +github.com/natefinch/atomic v1.0.1 h1:ZPYKxkqQOx3KZ+RsbnP/YsgvxWQPGxjC0oBt2AhwV0A= +github.com/natefinch/atomic v1.0.1/go.mod h1:N/D/ELrljoqDyT3rZrsUmtsuzvHkeB/wWjHV22AZRbM= github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= @@ -1339,22 +1507,17 @@ github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzE github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= -github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= -github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce/go.mod h1:uFMI8w+ref4v2r9jz+c9i1IfIttS/OkmLfrk1jne5hs= +github.com/nightlyone/lockfile v1.0.0 h1:RHep2cFKK4PonZJDdEl4GmkabuhbsRMgk/k3uAmxBiA= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= -github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= +github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= +github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2fSBUmeGDbRWPxyQ= -github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FWnp+qbPhuoO21uA= -github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.4.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -1365,10 +1528,11 @@ github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+ github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.13.0/go.mod h1:+REjRxOmWfHCjfv9TTWB1jD1Frx4XydAD3zm1lskyM0= github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= +github.com/onsi/ginkgo/v2 v2.2.0 h1:3ZNA3L1c5FYDFTTxbFeVGGD8jYvjYauHD30YgLxVsNI= github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.3.0/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= @@ -1380,22 +1544,23 @@ github.com/onsi/gomega v1.8.1/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoT github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= -github.com/onsi/gomega v1.17.0 h1:9Luw4uT5HTjHTN8+aNcSThgH1vdXnmdJ8xIfZ4wyTRE= -github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= +github.com/onsi/gomega v1.20.2 h1:8uQq0zMgLEfa0vRrrBgaJF2gyW9Da9BmfGV+OyUzfkY= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0-rc1.0.20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/image-spec v1.0.2-0.20211117181255-693428a734f5/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v1.0.0-rc8.0.20190926000215-3e425f80a8c9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v1.0.0-rc9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v1.0.0-rc93/go.mod h1:3NOsor4w32B2tC0Zbl8Knk4Wg84SM2ImC1fxBuqJ/H0= -github.com/opencontainers/runc v1.0.0-rc95/go.mod h1:z+bZxa/+Tz/FmYVWkhUajJdzFeOqjc5vrqskhVyHGUM= github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= +github.com/opencontainers/runc v1.1.0/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= @@ -1406,39 +1571,40 @@ github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mo github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE= github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo= github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= +github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= -github.com/opentracing/basictracer-go v1.0.0 h1:YyUAhaEfjoWXclZVJ9sGoNct7j4TVk7lZWlQw5UXuoo= github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= +github.com/opentracing/basictracer-go v1.1.0 h1:Oa1fTSBvAl8pa3U+IJYqrKm0NALwH9OsgwOqDv4xJW0= +github.com/opentracing/basictracer-go v1.1.0/go.mod h1:V2HZueSJEp879yv285Aap1BS69fQMD+MNP1mRs6mBQc= github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= +github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/oracle/oci-go-sdk v18.0.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888= github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/paulmach/orb v0.1.3/go.mod h1:VFlX/8C+IQ1p6FTRRKzKoOPJnvEtA5G0Veuqwbu//Vk= -github.com/pborman/uuid v0.0.0-20170612153648-e790cca94e6c/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= -github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE= github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 h1:LoCV5cscNVWyK5ChN/uCoIFJz8jZD63VQiGJIRgr6uo= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386/go.mod h1:MRxHTJrf9FhdfNQ8Hdeh9gmHevC9RJE/fu8M3JIGjoE= -github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2/go.mod h1:iIss55rKnNBTvrwdmkUpLnDpZoAHvWaiq5+iMmen4AE= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4 v2.5.2+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pierrec/lz4 v2.6.0+incompatible h1:Ix9yFKn1nSPBLFl/yZknTp8TU5G4Ps0JDmguYK6iH1A= -github.com/pierrec/lz4 v2.6.0+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pin/tftp v2.1.0+incompatible/go.mod h1:xVpZOMCXTy+A5QMjEVN0Glwa1sUvaJhFXbr/aAxuxGY= +github.com/pierrec/lz4 v2.6.1+incompatible h1:9UY3+iC23yxF0UfGaYrGplQ+79Rg+h/q9FV9ix19jjM= +github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= +github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -1448,15 +1614,16 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= 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 v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 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/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/posener/complete v1.2.1/go.mod h1:6gapUrK/U1TAN7ciCoNRIdVC5sbdBTUh1DKN0g6uH7E= github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= -github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= -github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.52.0/go.mod h1:f7HML3SGY4Bf10YMdSWKUf2BdIIzQqlAvYh84px05BQ= +github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= +github.com/prometheus/alertmanager v0.24.0/go.mod h1:r6fy/D7FRuZh5YbnX6J3MBY0eI4Pb5yPYS7/bPSXXqI= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= @@ -1467,15 +1634,18 @@ github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeD github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk= github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_golang v1.14.0 h1:nJdhIvne2eSX/XRAFV9PcvFFRbrjbcTUj0VP62TMhnw= +github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= +github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= @@ -1486,9 +1656,16 @@ github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt2 github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4= +github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.34.0/go.mod h1:gB3sOl7P0TvJabZpLY5uQMpUqRCPPCyRLCZYc7JZTNE= +github.com/prometheus/common v0.37.0 h1:ccBbHCgIiT9uSoFY0vX8H3zsNR5eLt17/RQLUvn8pXE= +github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= +github.com/prometheus/common/assets v0.1.0/go.mod h1:D17UVUE12bHbim7HzwUvtqm6gwBEaDQ0F+hIGbFbccI= +github.com/prometheus/common/assets v0.2.0/go.mod h1:D17UVUE12bHbim7HzwUvtqm6gwBEaDQ0F+hIGbFbccI= +github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI= +github.com/prometheus/exporter-toolkit v0.7.1/go.mod h1:ZUBIj498ePooX9t/2xtDjeQYwvRpiPP2lh5u4iblj2g= github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= @@ -1502,164 +1679,131 @@ github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+Gx github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo= +github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= +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-terraform-bridge/v3 v3.21.0 h1:0NRgoWwtunZ9FOk23/fs9OHQxcdd+FyzJqFWKSeqnE0= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.21.0/go.mod h1:/hmAhDQorKTW29yyMWLHDSqs3/58+TxLxJw9ck9D6wQ= -github.com/pulumi/pulumi/pkg/v3 v3.30.0 h1:tdhcndy6pc+aV76wC76r+i5Z5E5nUvc78JaNyeA66JY= -github.com/pulumi/pulumi/pkg/v3 v3.30.0/go.mod h1:U1BGP/1QmebZE35OfFAT96zN2lhexAktkGLAbnAv+lI= -github.com/pulumi/pulumi/sdk/v3 v3.30.0 h1:0X5gSUS3x82XzenpCCW8EdJrmOzoQqHSdQd0O6QSMQQ= -github.com/pulumi/pulumi/sdk/v3 v3.30.0/go.mod h1:hGo/+AL1L4sPL9Ukd/i5bNFM3WHs3dHcA+GKEW7M3RA= +github.com/pulumi/pulumi-java/pkg v0.6.0 h1:haiSQJlhrQIBBcR0r0aQCIF8i69e4znzRnHpaNQUchE= +github.com/pulumi/pulumi-java/pkg v0.6.0/go.mod h1:xSK2B792P8zjwYZTHYapMM1RJdue2BpRFQNYObWO0C8= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.33.0 h1:Q4B7rkJ/6JA20k8/QlB5SggrdJiBWxjXz+tNPDi2t8I= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.33.0/go.mod h1:J3Jy0quNlS1bNZIFQK3dxUz34AR4FyWlTvdp20gD74A= +github.com/pulumi/pulumi-yaml v0.5.10 h1:r9vP2mSgyCngA2CZzzD5c1fS8iytnTz2eGo9UzKBYYY= +github.com/pulumi/pulumi-yaml v0.5.10/go.mod h1:vxV5TdH3Xk5HRHNftcDXSbsZFJcJY9ME6k4zD+xw9OY= +github.com/pulumi/pulumi/pkg/v3 v3.44.2 h1:PbjppVv17nrlSCD2AR/pxr39cJuuMRl+1ft5PAmPoZM= +github.com/pulumi/pulumi/pkg/v3 v3.44.2/go.mod h1:ZPmdEFaa4IT0RWIvLxP61SidP91X+WRtpvIXP+fENkE= +github.com/pulumi/pulumi/sdk/v3 v3.44.2 h1:hBHR4J6kBLJSXFBEa41OPGkyOkJKiMGxewjsaESwnlg= +github.com/pulumi/pulumi/sdk/v3 v3.44.2/go.mod h1:N5jL+cw5KiOeMn9bwvRuPQEAhbE3KPq2wSb/Kw+6HuY= +github.com/pulumi/schema-tools v0.1.0 h1:o1nVQaJEnmcA+3trxe+0sIDlrILxEIOvgUQ2Ze4OFsk= +github.com/pulumi/schema-tools v0.1.0/go.mod h1:feL1siLWdcCNUm+irXoHyNHbGaqoX7pfYojpGZe2ziY= github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e h1:Dik4Qe/+xguB8JagPyXNlbOnRiXGmq/PSPQTGunYnTk= github.com/pulumi/terraform-diff-reader v0.0.0-20201211191010-ad4715e9285e/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= -github.com/pulumi/terraform-provider-rancher2 v1.10.3-0.20220531095104-d8fb47a56ce2 h1:up5EYxb0vw4x5ZFe25xzWEqcF3BnQcLtON3yzZO8maE= -github.com/pulumi/terraform-provider-rancher2 v1.10.3-0.20220531095104-d8fb47a56ce2/go.mod h1:ZC8WNqK4Ndw5eKWDegfB6/46oN+d2rbpxRSEIWnoq5E= github.com/qri-io/starlib v0.4.2-0.20200213133954-ff2e8cd5ef8d/go.mod h1:7DPO4domFU579Ga6E61sB9VFNaniPVwJP5C4bBCu3wA= -github.com/quobyte/api v0.1.8/go.mod h1:jL7lIHrmqQ7yh05OJ+eEEdHr0u/kmT1Ff9iHd+4H6VI= -github.com/rackspace/gophercloud v0.0.0-20150408191457-ce0f487f6747/go.mod h1:4bJ1FwuaBZ6dt1VcDX5/O662mwR8GWqS4l68H6hkoYQ= -github.com/rancher/aks-operator v1.0.4-rc3/go.mod h1:4AAOJmPqW41ko6L6cy7BOWbHEko7Yjcho1YP+KPAt+Y= -github.com/rancher/aks-operator v1.0.5-rc1 h1:1k7CP1NRE0wloLI6NXQmtCxlUoEz9LrfZvCw0QzXUDU= -github.com/rancher/aks-operator v1.0.5-rc1/go.mod h1:4AAOJmPqW41ko6L6cy7BOWbHEko7Yjcho1YP+KPAt+Y= -github.com/rancher/apiserver v0.0.0-20201023000256-1a0a904f9197/go.mod h1:8W0EwaR9dH5NDFw6mpAX437D0q+EZqKWbZyX71+z2WI= -github.com/rancher/apiserver v0.0.0-20210922180056-297b6df8d714/go.mod h1:8W0EwaR9dH5NDFw6mpAX437D0q+EZqKWbZyX71+z2WI= -github.com/rancher/apiserver v0.0.0-20220223185512-c4e289f92e46/go.mod h1:cnLj3AnKR96wADHmJMS4msdCl1PMkXVbcSuPkfDbVWA= -github.com/rancher/channelserver v0.5.1-0.20220217142715-90ef7d38f3f8/go.mod h1:6hdl+500DWTtg4sKC7/CYJjRU7CFCsH+lnfxIle8JHM= -github.com/rancher/client-go v1.22.3-rancher.1 h1:aNVLaIY5YGah1i9wRVXLOGRbLyekohjQAKHXeQm6Cxo= -github.com/rancher/client-go v1.22.3-rancher.1/go.mod h1:ElDjYf8gvZsKDYexmsmnMQ0DYO8W9RwBjfQ1PI53yow= -github.com/rancher/dynamiclistener v0.2.1-0.20200714201033-9c1939da3af9/go.mod h1:qr0QfhwzcVCR+Ao9WyfnE+jmOpfEAdRhXtNOZGJ3nCQ= -github.com/rancher/dynamiclistener v0.3.1-0.20210616080009-9865ae859c7f/go.mod h1:xbxyiF1/UaPrOrFUOZeYMQW82RPgZIe5UfiT9CyE3Ks= -github.com/rancher/eks-operator v1.1.3-rc3/go.mod h1:N0zzDJ+xvv6BkXRMjIBlFObOmud5H1sSOccG0FS+DJM= -github.com/rancher/eks-operator v1.1.3 h1:x1c0T0mXjKA3HHbbQsfx9k8xFHsNo0GSYGO/5yQOgjo= -github.com/rancher/eks-operator v1.1.3/go.mod h1:N0zzDJ+xvv6BkXRMjIBlFObOmud5H1sSOccG0FS+DJM= -github.com/rancher/fleet/pkg/apis v0.0.0-20210918015053-5a141a6b18f0 h1:2A92uT1+4GUdZolQg5wfOSLa6RFRkfpnc3Iw7+Z/Bk8= -github.com/rancher/fleet/pkg/apis v0.0.0-20210918015053-5a141a6b18f0/go.mod h1:fiKjX1CsAZhe2u1h/GWNDSc5Ol4+5Q3roWxq9cMbgHk= -github.com/rancher/gke-operator v1.1.3-rc1/go.mod h1:7lDe4okbyZeYZppEz1i60eowLN8iiT4ZN5UiEIVHp18= -github.com/rancher/gke-operator v1.1.3 h1:RMiQv5S7ABXHSsTdZQvwxotQhVueezsnjDw7U60vZhA= -github.com/rancher/gke-operator v1.1.3/go.mod h1:7lDe4okbyZeYZppEz1i60eowLN8iiT4ZN5UiEIVHp18= -github.com/rancher/helm/v3 v3.5.4-rancher.1/go.mod h1:6eTBYLWEHt3JqXZPyHoYvb9/B7wPKHT3tjWnMfjen9w= -github.com/rancher/kubernetes-provider-detector v0.1.2/go.mod h1:ypuJS7kP7rUiAn330xG46mj+Nhvym05GM8NqMVekpH0= -github.com/rancher/kubernetes-provider-detector v0.1.5/go.mod h1:ypuJS7kP7rUiAn330xG46mj+Nhvym05GM8NqMVekpH0= +github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= +github.com/rancher/aks-operator v1.0.7 h1:tCGr5vi5ggsUspyMZyI4EGzKN0ojLgYUR8337z94UtE= +github.com/rancher/aks-operator v1.0.7/go.mod h1:qK59c7DFxpYn14sXHbbPkNl7zUNyuN0qkFUUHXsQ0jA= +github.com/rancher/client-go v1.24.0-rancher1 h1:3Hr+QgZRbTo3RF8evVwGd8hn2ZFO6UMUMnRth2CbJcI= +github.com/rancher/client-go v1.24.0-rancher1/go.mod h1:J+jC4WE19J7G2gTyKYvlGroIAdDgUb/Gsr3wyf2SOCQ= +github.com/rancher/eks-operator v1.1.5 h1:IAE7nLBCaJaMEFGxZj23drpoq6R6+RXSYvr3AiFJ8KA= +github.com/rancher/eks-operator v1.1.5/go.mod h1:mx3fp0rFzDX7gEXJtisHWDFeDJHpDsAjwDkmbSf1BKs= +github.com/rancher/fleet/pkg/apis v0.0.0-20221122124255-1f3f5ca7f9e0 h1:YiF+VUzMXmFZwbCSMaKWV372Hf47yBv3HQuZD1U6Hr0= +github.com/rancher/fleet/pkg/apis v0.0.0-20221122124255-1f3f5ca7f9e0/go.mod h1:TEpjOKZ5Zy/omGNx+l/ZBprQ4QSnpZ5E5E/ozcer0K8= +github.com/rancher/gke-operator v1.1.5 h1:XHNrM67enwDkqYG5C4s1HVgfJGmfwtVYGfl9TgXT6zA= +github.com/rancher/gke-operator v1.1.5/go.mod h1:ZApFZ7iCuyzwX/+aCSdEqkbAPtOYcTH7/BeLoI/Mz9Y= github.com/rancher/lasso v0.0.0-20200427171700-e0509f89f319/go.mod h1:6Dw19z1lDIpL887eelVjyqH/mna1hfR61ddCFOG78lw= -github.com/rancher/lasso v0.0.0-20200515155337-a34e1e26ad91/go.mod h1:G6Vv2aj6xB2YjTVagmu4NkhBvbE8nBcGykHRENH6arI= github.com/rancher/lasso v0.0.0-20200820172840-0e4cc0ef5cb0/go.mod h1:OhBBBO1pBwYp0hacWdnvSGOj+XE9yMLOLnaypIlic18= -github.com/rancher/lasso v0.0.0-20210408231703-9ddd9378d08d/go.mod h1:OhBBBO1pBwYp0hacWdnvSGOj+XE9yMLOLnaypIlic18= github.com/rancher/lasso v0.0.0-20210616224652-fc3ebd901c08/go.mod h1:9qZd/S8DqWzfKtjKGgSoHqGEByYmUE3qRaBaaAHwfEM= -github.com/rancher/lasso v0.0.0-20220303220127-8cf5555ec03c/go.mod h1:T6WoUopOHBWTGjnphruTJAgoZ+dpm6llvn6GDYaa7Kw= -github.com/rancher/lasso v0.0.0-20220303220250-a429cb5cb9c9 h1:jdSr+df7QRBoYUMW6LvVW4CN7o0VXL4iiY9YmWmdUHc= -github.com/rancher/lasso v0.0.0-20220303220250-a429cb5cb9c9/go.mod h1:T6WoUopOHBWTGjnphruTJAgoZ+dpm6llvn6GDYaa7Kw= -github.com/rancher/lasso/controller-runtime v0.0.0-20220303220250-a429cb5cb9c9/go.mod h1:ObsWVtqMsTmIL1xeM2WGvwV4XTHLL8LuB9vDc+uUXtk= -github.com/rancher/machine v0.15.0-rancher63/go.mod h1:qXYNumxy0J08MO/mh/jNjyRuEc2QKDLUOZIBE5vxaZE= -github.com/rancher/machine v0.15.0-rancher80/go.mod h1:sA4i8P2mJbw940VBtukyrNvgKBMwANqwZbmazK0HacI= -github.com/rancher/norman v0.0.0-20220107203912-4feb41eafabd h1:N04tea76urCHN5z5b6glUCdzrdFnE1ymxzveeGkNdbU= -github.com/rancher/norman v0.0.0-20220107203912-4feb41eafabd/go.mod h1:hhnf77V2lmZD7cvUqi4vTBpIs3KpHNL/AmuN0MqEClI= -github.com/rancher/rancher v0.0.0-20220309231411-e4af2465c5b4 h1:glxDiUhOPQYZtD5T7ghHrsKs4xAHSfJXdB15HgnZsLQ= -github.com/rancher/rancher v0.0.0-20220309231411-e4af2465c5b4/go.mod h1:rhP75TfOwaJ+fP06dC9Od+ar1YJ+tgw1DuaOzgyvxEs= -github.com/rancher/rancher/pkg/apis v0.0.0-20220411181203-b44d54ae2e81 h1:4FmpzBlRfIa7t/5FPkt+I8btq0mLtvr47QFupWKdIsg= -github.com/rancher/rancher/pkg/apis v0.0.0-20220411181203-b44d54ae2e81/go.mod h1:YERLT4Mon6ZQZE6JZ4xsjorp3o0wrb+vlFIPaOK1p7U= -github.com/rancher/rancher/pkg/client v0.0.0-20220411181203-b44d54ae2e81 h1:vAQTqNgLG9ntdP7QLSlQCLTGRYT7aO3F8stktKwrP6Y= -github.com/rancher/rancher/pkg/client v0.0.0-20220411181203-b44d54ae2e81/go.mod h1:3Cw2Z/AEJXHNPtH4g20bOoHfcEE8teGNzSxkkwYWuPg= -github.com/rancher/rdns-server v0.0.0-20180802070304-bf662911db6a/go.mod h1:YW8wJ/coee2n9ed937uPBWQArBaVlxs+5wkkS9KiyDc= -github.com/rancher/remotedialer v0.2.6-0.20220104192242-f3837f8d649a/go.mod h1:vq3LvyOFnLcwMiCE1KdW3foPd6g5kAjZOtOb7JqGHck= -github.com/rancher/remotedialer v0.2.6-0.20220120012928-4ea2198e0966/go.mod h1:vq3LvyOFnLcwMiCE1KdW3foPd6g5kAjZOtOb7JqGHck= -github.com/rancher/rke v1.3.8-rc11/go.mod h1:J5SV4k4RNHLqtDZbTm+xByz2k4j3nCdaDUgCJNTxJDo= -github.com/rancher/rke v1.3.8-rc6 h1:/+PMtqJ9zkat0sSxBb83D87ylBPYOgFi8VgS0jmCPWQ= -github.com/rancher/rke v1.3.8-rc6/go.mod h1:J5SV4k4RNHLqtDZbTm+xByz2k4j3nCdaDUgCJNTxJDo= -github.com/rancher/security-scan v0.1.7-0.20200222041501-f7377f127168/go.mod h1:WlLAocVyVQs5J8r0IiQXsp0ajVZO6hYi/Vo6zxjo73s= -github.com/rancher/steve v0.0.0-20220218171307-a91d90251ffa/go.mod h1:nsU/hcUN/SiRNWAe5cAGU2ug+mAft7wZfYFNcogF9vA= -github.com/rancher/system-upgrade-controller/pkg/apis v0.0.0-20210727200656-10b094e30007/go.mod h1:Ja346o44aTPWADc/5Jm93+KgctT6KtftuOosgz0F2AM= -github.com/rancher/wrangler v0.6.1/go.mod h1:L4HtjPeX8iqLgsxfJgz+JjKMcX2q3qbRXSeTlC/CSd4= +github.com/rancher/lasso v0.0.0-20220519004610-700f167d8324/go.mod h1:T6WoUopOHBWTGjnphruTJAgoZ+dpm6llvn6GDYaa7Kw= +github.com/rancher/lasso v0.0.0-20220628160937-749b3397db38 h1:RcYCbUUb7ln5UtvBKjG8Kjyh30pwqlxf+fJnVsdUIwU= +github.com/rancher/lasso v0.0.0-20220628160937-749b3397db38/go.mod h1:sMLCrn5NBypoWCc7wf9pNdzXOZ+HBlO0RHIppPmLOCA= +github.com/rancher/norman v0.0.0-20220719193118-e21cabdc65b9 h1:ur4zBgACN3CiQILwELUReKQ6K8piAJnRWCShNk/qWdA= +github.com/rancher/norman v0.0.0-20220719193118-e21cabdc65b9/go.mod h1:9zlHK0aLVQManRI6bpzRmuxAlTE70JKsN3JJ+PonHVk= +github.com/rancher/rancher v0.0.0-20220718174817-2b1e3eef0d19 h1:iIksxH5C0okRHQmY2CW8csNIvWQ+rjhTQiiDZPS36Vw= +github.com/rancher/rancher v0.0.0-20220718174817-2b1e3eef0d19/go.mod h1:B3/nvWTSLfEpi8AOqsbBHFVqzwMwRJDOckgUiyhVkjc= +github.com/rancher/rancher/pkg/apis v0.0.0-20220722231444-8b3c0513bc36 h1:rjvCJXBmwFU7rVYYNVlnTiDLPBs/s0sthsKCrLPLdlg= +github.com/rancher/rancher/pkg/apis v0.0.0-20220722231444-8b3c0513bc36/go.mod h1:DUVj/IuevrngXhgKFrgClNFHAUuUHdcu/OnNhff22Rs= +github.com/rancher/rancher/pkg/client v0.0.0-20220722085125-e464ea405677 h1:UsRDB3YZLXMtPeXu7S4Q3LOGLT42XFGwDGSC4zImZMw= +github.com/rancher/rancher/pkg/client v0.0.0-20220722085125-e464ea405677/go.mod h1:7tizVbRDNsyfF4LoASPqTogpMobGRLH1sR2/RNLtLlU= +github.com/rancher/rke v1.4.0 h1:UgyfEncqyeIcmQB5LTIu/20U6aIhj+Fa+zk+6RdqbCc= +github.com/rancher/rke v1.4.0/go.mod h1:FYb66B2+kAJVQ80SFEr56mC9yjm7TrviK2miZG+c5qY= +github.com/rancher/terraform-provider-rancher2 v1.25.0 h1:gcojrC2ZLI3rrI3K2etevEK6C2xm+lDwd3gX8hbI73s= +github.com/rancher/terraform-provider-rancher2 v1.25.0/go.mod h1:bJPt0730ghMYS0vDbtH7MQNOqOqsuLMeqJwunFpNGc0= github.com/rancher/wrangler v0.6.2-0.20200427172034-da9b142ae061/go.mod h1:n5Du/gGD7WoiqnEo0SHnPirDIp1V9Zu+6guc8lXS2dk= -github.com/rancher/wrangler v0.6.2-0.20200515155908-1923f3f8ec3f/go.mod h1:NmtmlLkchboIksYJuBemwcP4RBfv8FpeyhVoWXB9Wdc= -github.com/rancher/wrangler v0.6.2-0.20200714200521-c61fae623942/go.mod h1:8LdIqAQPHysxNlHqmKbUiDIx9ULt9IHUauh9aOnr67k= github.com/rancher/wrangler v0.6.2-0.20200820173016-2068de651106/go.mod h1:iKqQcYs4YSDjsme52OZtQU4jHPmLlIiM93aj2c8c/W8= -github.com/rancher/wrangler v0.6.2-0.20200829053106-7e1dd4260224/go.mod h1:I7qe4DZNMOLKVa9ax7DJdBZ0XtKOppLF/dalhPX3vaE= -github.com/rancher/wrangler v0.8.0/go.mod h1:zSV5oh3+YZboilwcJmFHO3J6FZba82BTQft1b6ijx2I= -github.com/rancher/wrangler v0.8.1-0.20210506052526-673b7f8692d9/go.mod h1:aj/stIidTzU6UEKKRB8JyrrqNMJAfDMziL1+zhG8lc0= github.com/rancher/wrangler v0.8.10/go.mod h1:Lte9WjPtGYxYacIWeiS9qawvu2R4NujFU9xuXWJvc/0= -github.com/rancher/wrangler v0.8.11-0.20211214201934-f5aa5d9f2e81/go.mod h1:Lte9WjPtGYxYacIWeiS9qawvu2R4NujFU9xuXWJvc/0= -github.com/rancher/wrangler v0.8.11-0.20220120160420-18c996a8e956/go.mod h1:Lte9WjPtGYxYacIWeiS9qawvu2R4NujFU9xuXWJvc/0= -github.com/rancher/wrangler v0.8.11-0.20220217210408-3ecd23dfea3b h1:nFwp2dz+JHH96joqSVRYelOgmTQS9K8DSC3A/d1Gc9I= -github.com/rancher/wrangler v0.8.11-0.20220217210408-3ecd23dfea3b/go.mod h1:Lte9WjPtGYxYacIWeiS9qawvu2R4NujFU9xuXWJvc/0= +github.com/rancher/wrangler v1.0.1-0.20220520195731-8eeded9bae2a h1:vkH6CA+ennCzgSP5BDbAsmVXQRVfYsQvxUcR4iHEGJQ= +github.com/rancher/wrangler v1.0.1-0.20220520195731-8eeded9bae2a/go.mod h1:8jRLk3G7CWp2Huu+SzDkcdg/F5qWPESGsKG2bIiThNM= github.com/rancher/wrangler-api v0.6.1-0.20200427172631-a7c2f09b783e/go.mod h1:2lcWR98q8HU3U4mVETnXc8quNG0uXxrt8vKd6cAa/30= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rjeczalik/notify v0.9.2 h1:MiTWrPj55mNDHEiIX5YUSKefw/+lCQVoAFmD6oQm5w8= -github.com/rjeczalik/notify v0.9.2/go.mod h1:aErll2f0sUX9PXZnVNyeiObbmTlk5jnMoCa4QEjJeqM= -github.com/robfig/cron v1.1.0/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k= -github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +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.3.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.4.0/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.5.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= github.com/rogpeppe/go-internal v1.8.1 h1:geMPLpDpQOgVyCg5z5GoRwLHepNdb71NXb67XFkP+Eg= github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o= +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/rubenv/sql-migrate v0.0.0-20200616145509-8d140a17f351/go.mod h1:DCgfY80j8GYL7MLEfvcpSFvjD0L5yZq/aZUJmhZklyg= -github.com/rubenv/sql-migrate v0.0.0-20210614095031-55d5740dbbcc/go.mod h1:HFLT6i9iR4QBOF5rdCyjddC9t59ArqWJV2xx+jwcCMo= -github.com/rubiojr/go-vhd v0.0.0-20200706105327-02e210299021/go.mod h1:DM5xW0nvfNNm2uytzsvhI3OnX8uzaRAg8UX/CnDqbto= -github.com/russellhaering/goxmldsig v0.0.0-20180430223755-7acd5e4a6ef7/go.mod h1:Oz4y6ImuOQZxynhbSXk7btjEfNBtGlj2dcaOvXl2FSM= -github.com/russellhaering/goxmldsig v1.1.1/go.mod h1:gM4MDENBQf7M+V824SGfyIUVFWydB7n0KkEubVJl+Tw= +github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= +github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd/go.mod h1:hPqNNc0+uJM6H+SuU8sEs5K5IQeKccPqeSjfgcKGgPk= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/ryanuber/go-glob v1.0.0 h1:iQh3xXAumdQ+4Ufa5b25cRpC5TYKlno6hsv6Cb3pkBk= github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc= -github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94 h1:G04eS0JkAIVZfaJLjla9dNxkJCPiKIGZlw9AfOhzOD0= -github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94/go.mod h1:b18R55ulyQ/h3RaWyloPyER7fWQVZvimKKhnI5OfrJQ= +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/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= -github.com/sagikazarmark/crypt v0.1.0/go.mod h1:B/mN0msZuINBtQ1zZLEQcegFJJf9vnYIR88KRMEuODE= -github.com/sagikazarmark/crypt v0.3.0/go.mod h1:uD/D+6UF4SrIR1uGEv7bBNkNqLGqUr43MRiaGWX1Nig= -github.com/samalba/dockerclient v0.0.0-20151231000007-f661dd4754aa/go.mod h1:yeYR4SlaRZJct6lwNRKR+qd0CocnxxWDE7Vh5dxsn/w= +github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= 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/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= -github.com/satori/go.uuid v1.2.1-0.20181016170032-d91630c85102/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= +github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= -github.com/segmentio/kafka-go v0.0.0-20190411192201-218fd49cff39/go.mod h1:X6itGqS9L4jDletMsxZ7Dz+JFWxM6JHfPOCvTvk+EJo= +github.com/seccomp/libseccomp-golang v0.9.2-0.20210429002308-3879420cc921/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= +github.com/segmentio/asm v1.1.3 h1:WM03sfUOENvvKexOLp+pCqgb/WDjsi7EK8gIsICtzhc= +github.com/segmentio/asm v1.1.3/go.mod h1:Ld3L4ZXGNcSLRg4JBsZ3//1+f/TjYl0Mzen/DQy1EJg= +github.com/segmentio/encoding v0.3.5 h1:UZEiaZ55nlXGDL92scoVuw00RmiRCazIEmvPSbSvt8Y= +github.com/segmentio/encoding v0.3.5/go.mod h1:n0JeuIqEQrQoPDGsjo8UNd1iA0U8d8+oHAA4E3G3OxM= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= 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/shirou/gopsutil/v3 v3.22.3/go.mod h1:D01hZJ4pVHPpCTZ3m3T2+wDF2YAGfd+H4ifUguaQzHM= +github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= +github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= +github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= +github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17 h1:lRAUE0dIvigSSFAmaM2dfg7OH8T+a8zJ5smEh09a/GI= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= -github.com/sigma/bdoor v0.0.0-20160202064022-babf2a4017b0/go.mod h1:WBu7REWbxC/s/J06jsk//d+9DOz9BbsmcIrimuGRFbs= -github.com/sigma/vmw-guestinfo v0.0.0-20160204083807-95dd4126d6e8/go.mod h1:JrRFFC0veyh0cibh0DAhriSY7/gV3kDdNaVUOmfx01U= github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/skarademir/naturalsort v0.0.0-20150715044055-69a5d87bef62/go.mod h1:oIdVclZaltY1Nf7OQUkg1/2jImBJ+ZfKZuDIRSwk3p0= -github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog= +github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= +github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/assertions v1.0.1/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM= -github.com/smartystreets/assertions v1.1.0/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo= -github.com/smartystreets/assertions v1.2.0/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/smartystreets/goconvey v1.7.2/go.mod h1:Vw0tHAZW6lzCRk3xgdin6fKYcG+G3Pg9vgXWeJpQFMM= +github.com/soheilhy/cmux v0.1.3/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= @@ -1668,21 +1812,17 @@ github.com/spf13/afero v1.2.2 h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v0.0.1/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= +github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= -github.com/spf13/cobra v0.0.6/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI= github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= -github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= -github.com/spf13/cobra v1.3.0/go.mod h1:BrRVncBjOJa/eUcVVm9CE+oC6as8k+VYr4NY7WCi9V4= -github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q= github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= +github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU= +github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= @@ -1693,14 +1833,8 @@ github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= -github.com/spf13/viper v1.9.0/go.mod h1:+i6ajR7OX2XaiBkrcZJFK21htRk7eDeLg7+O6bhUPP4= -github.com/spf13/viper v1.10.0/go.mod h1:SoyBPwAtKDzypXNDFKN5kzH7ppppbGZtls1UpIy5AsM= -github.com/src-d/gcfg v1.4.0 h1:xXbNR5AlLSA315x2UO+fTSSAXCDf+Ar38/6oyGbDKQ4= -github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI= github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= -github.com/storageos/go-api v2.2.0+incompatible/go.mod h1:ZrLn+e0ZuF3Y65PNF6dIwbJPZqfmtCXxFm9ckv0agOY= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= @@ -1708,6 +1842,10 @@ github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= @@ -1717,81 +1855,70 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= +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 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= 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= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I= -github.com/tent/http-link-go v0.0.0-20130702225549-ac974c61c2f9/go.mod h1:RHkNRtSLfOK7qBTHaeSX1D6BNpI3qw7NTxsmNr4RvN8= -github.com/terraform-providers/terraform-provider-archive v1.3.0 h1:8WzDXMwTdTd4Z7KAUjnYwopk1DgGJ/DLH0xowJ8h+/8= -github.com/terraform-providers/terraform-provider-archive v1.3.0/go.mod h1:7oAwNW55F65KauS++/XmAnrXhLfQRTYt549eYs4zU0w= -github.com/terraform-providers/terraform-provider-http v1.2.0 h1:pOP/SNlLjB18CydtTJJwzkZGkHYX3LWzIoQpYQuBdyw= -github.com/terraform-providers/terraform-provider-http v1.2.0/go.mod h1:2Iot921OkLVSZr8FbIkvRN84ZV3w+oFKb7RlmPTQQAQ= -github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6 h1:9VTskZOIRf2vKF3UL8TuWElry5pgUpV1tFSe/e/0m/E= -github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6/go.mod h1:XDKHRm5ThF8YJjx001LtgelzsoaEcvnA7lVWz9EeX3g= +github.com/tedsuo/ifrit v0.0.0-20180802180643-bea94bb476cc/go.mod h1:eyZnKCc955uh98WQvzOm0dgAeLnf2O0Rz0LPoC5ze+0= +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/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= -github.com/tklauser/go-sysconf v0.3.10/go.mod h1:C8XykCvCb+Gn0oNCWPIlcb0RuglQTYaQ2hGm7jmxEFk= -github.com/tklauser/numcpus v0.4.0/go.mod h1:1+UI3pD8NW14VMwdgJNJ1ESk2UnwhAnz5hMwiKKqXCQ= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80/go.mod h1:iFyPdL66DjUD96XmzVL3ZntbzcflLnznH0fr99w5VqE= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= +github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9Kjc7aWznkXaL4U4TWaDSs8zcsY4Ka08nM= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= -github.com/uber/jaeger-client-go v2.22.1+incompatible h1:NHcubEkVbahf9t3p75TOCR83gdUHXjRJvjoBh1yACsM= -github.com/uber/jaeger-client-go v2.22.1+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= -github.com/uber/jaeger-lib v2.2.0+incompatible h1:MxZXOiR2JuoANZ3J6DE/U0kSFv/eJ/GfSYVCjK7dyaw= -github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= +github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= +github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= +github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= +github.com/uber/jaeger-lib v2.4.1+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= -github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= -github.com/ulikunitz/xz v0.5.7 h1:YvTNdFzX6+W5m9msiYg/zpkSURPPtOlzbqYjrFn7Yt4= github.com/ulikunitz/xz v0.5.7/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= +github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= +github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8= +github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/urfave/cli/v2 v2.1.1/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ= -github.com/urfave/cli/v2 v2.2.0/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ= -github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= -github.com/valyala/fastjson v1.6.3/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= github.com/vektah/gqlparser v1.1.2/go.mod h1:1ycwN7Ij5njmMkPPAOaRFY4rET2Enx7IkVv3vaXspKw= -github.com/vincent-petithory/dataurl v1.0.0/go.mod h1:FHafX5vmDzyP+1CQATJn7WFKc9CvnvxyvZy6I1MrG/U= github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk= github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= -github.com/vishvananda/netlink v1.1.1-0.20201228183132-77e4d032a06a/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= +github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho= github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI= github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= +github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.1+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= -github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack/v4 v4.3.12 h1:07s4sz9IReOgdikxLTKNbBdqDMLsjPKXwvCazn8G65U= github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4= -github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY= github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= -github.com/vmware/govcloudair v0.0.2/go.mod h1:Vxktpba+eP4dX5YzYP869DRPSm5ChQ2A/GUrmKSLvlo= -github.com/vmware/govmomi v0.20.3/go.mod h1:URlwyTFZX72RmxtxuaFL2Uj3fD1JTvZdx59bHWk6aFU= -github.com/vmware/govmomi v0.23.2-0.20201015235820-81318771d0e0/go.mod h1:Y+Wq4lst78L85Ge/F8+ORXIWiKYqaro1vhAulACy9Lc= -github.com/vmware/govmomi v0.26.0/go.mod h1:daTuJEcQosNMXYJOeku0qdBJP9SOLLWB3Mqz8THtv6o= -github.com/vmware/kube-fluentd-operator v0.0.0-20190307154903-bf9de7e79eaf/go.mod h1:hJzJEIRgv3HH5JAGJq14tlIuEnRiVIjmkY/0uv89bOE= -github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728/go.mod h1:x9oS4Wk2s2u4tS29nEaDLdzvuHdB19CvSGJjPgkZJNk= -github.com/vmware/vmw-ovflib v0.0.0-20170608004843-1f217b9dc714/go.mod h1:jiPk45kn7klhByRvUq5i2vo1RtHKBHj+iWGFpxbXuuI= +github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vbd1qPqc= +github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= +github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI= github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4= github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI= -github.com/xanzy/go-gitlab v0.0.0-20180830102804-feb856f4760f/go.mod h1:CRKHkvFWNU6C3AEfqLWjnCNnAs4nj8Zk95rX2S3X6Mw= -github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4= -github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI= github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0= -github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c/go.mod h1:lB8K/P019DLNhemzwFU4jHLhdvlE6uDZjXFejJXr49I= -github.com/xdg/stringprep v1.0.0/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y= +github.com/xanzy/ssh-agent v0.3.2 h1:eKj4SX2Fe7mui28ZgnFW5fmTz1EIr7ugo5s6wDxdHBM= +github.com/xanzy/ssh-agent v0.3.2/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= +github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= +github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= +github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= @@ -1799,54 +1926,57 @@ github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1: github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= +github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xlab/handysort v0.0.0-20150421192137-fb3537ed64a1/go.mod h1:QcJo0QPSfTONNIgpN5RA8prR7fF8nkF6cTWTcNerRO8= github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= +github.com/xlab/treeprint v1.1.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= -github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= -github.com/yvasiyarov/go-metrics v0.0.0-20150112132944-c25f46c4b940/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= -github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= -github.com/yvasiyarov/gorelic v0.0.7/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= -github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= -github.com/yvasiyarov/newrelic_platform_go v0.0.0-20160601141957-9c099fbc30e9/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/zclconf/go-cty v1.0.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s= github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s= github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= -github.com/zclconf/go-cty v1.3.1/go.mod h1:YO23e2L18AG+ZYQfSobnY4G65nvwvprPCxBHkufUH1k= -github.com/zclconf/go-cty v1.9.1 h1:viqrgQwFl5UpSxc046qblj78wZXVDFnSOufaOTER+cc= +github.com/zclconf/go-cty v1.8.2/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= github.com/zclconf/go-cty v1.9.1/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= +github.com/zclconf/go-cty v1.10.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= +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-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= -github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= github.com/zclconf/go-cty-yaml v1.0.1/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0= -github.com/zenazn/goji v0.9.1-0.20160507202103-64eb34159fe5/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= -github.com/ziutek/mymysql v1.5.4/go.mod h1:LMSpPZ6DbqWFxNCHW77HeMg9I646SAhApZ/wKdgO/C0= +github.com/zclconf/go-cty-yaml v1.0.2/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0= +github.com/zclconf/go-cty-yaml v1.0.3 h1:og/eOQ7lvA/WWhHGFETVWNduJM7Rjsv2RRpx1sdFMLc= +github.com/zclconf/go-cty-yaml v1.0.3/go.mod h1:9YLUH4g7lOhVWqUbctnVlZ5KLpg7JAprQNgxSZ1Gyxs= +github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= +go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= go.etcd.io/etcd/client/pkg/v3 v3.5.1/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= -go.etcd.io/etcd/client/v2 v2.305.1/go.mod h1:pMEacxZW7o8pg4CrFE7pquyCJJzZvkvdD2RibOCCCGs= go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0= go.etcd.io/etcd/client/v3 v3.5.1/go.mod h1:OnjH4M8OnAotwaB2l9bVgZzRFKru7/ZMoS46OtKyd3Q= go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE= go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc= go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4= -go.hein.dev/go-version v0.1.0/go.mod h1:WOEm7DWMroRe5GdUgHMvx+Pji5WWIpMuXmK/3foylXs= go.mongodb.org/mongo-driver v1.0.3/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= go.mongodb.org/mongo-driver v1.1.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= go.mongodb.org/mongo-driver v1.1.2/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= +go.mongodb.org/mongo-driver v1.7.3/go.mod h1:NqaYOwnXWr5Pm7AOpO5QFxKJ503nbMse/R79oO62zWg= +go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4xhp5Zvxng= +go.mongodb.org/mongo-driver v1.8.3/go.mod h1:0sQWfOeY63QTntERDJJ/0SuKK0T1uVSgKCuAROlKEPY= go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= @@ -1857,104 +1987,146 @@ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= +go.opencensus.io v0.22.6/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= +go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0/go.mod h1:vEhqr0m4eTc+DWxfsXoXue2GBgV2uUwVznkGIHW/e5w= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0/go.mod h1:PFmBsWbldL1kiWZk9+0LBZz2brhByaGsvp6pRICMlPE= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0/go.mod h1:5eCOqeGphOyz6TsY3ZDNjE33SM/TFAK3RGuCL2naTgY= go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= +go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs= +go.opentelemetry.io/otel v1.6.0/go.mod h1:bfJD2DZVw0LBxghOTlgnlI0CV3hLDu9XF/QKOUXMTQQ= +go.opentelemetry.io/otel v1.6.1/go.mod h1:blzUabWHkX6LJewxvadmzafgh/wnvBSDBdOuwkAtrWQ= +go.opentelemetry.io/otel v1.7.0/go.mod h1:5BdUoMIz5WEs0vt0CUEMtSSaTSHBBVwrhnz7+nrD5xk= go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.1/go.mod h1:NEu79Xo32iVb+0gVNV8PMd7GoWqnyDXRlj04yFjqz40= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.7.0/go.mod h1:M1hVZHNxcbkAlcvrOMlpQ4YOO3Awf+4N2dxkZL3xm04= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.3.0/go.mod h1:hO1KLR7jcKaDDKDkvI9dP/FIhpmna5lkqPUQdEjFAM8= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.1/go.mod h1:YJ/JbY5ag/tSQFXzH3mtDmHqzF3aFn3DI/aB1n7pt4w= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.7.0/go.mod h1:ceUgdyfNv4h4gLxHR0WNfDiiVmZFodZhZSbOLhpxqXE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.3.0/go.mod h1:keUU7UfnwWTWpJ+FWnyqmogPa82nuU5VUANFq49hlMY= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.6.1/go.mod h1:UJJXJj0rltNIemDMwkOJyggsvyMG9QHfJeFH0HS5JjM= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.7.0/go.mod h1:E+/KKhwOSw8yoPxSSuUHG6vKppkvhN+S1Jc7Nib3k3o= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.3.0/go.mod h1:QNX1aly8ehqqX1LEa6YniTU7VY9I6R3X/oPxhGdTceE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.6.1/go.mod h1:DAKwdo06hFLc0U88O10x4xnb5sc7dDRDqRuiN+io8JE= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.7.0/go.mod h1:aFXT9Ng2seM9eizF+LfKiyPBGy8xIZKwhusC1gIu3hA= go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= +go.opentelemetry.io/otel/metric v0.28.0/go.mod h1:TrzsfQAmQaB1PDcdhBauLMk7nyyg9hm+GoQq/ekE9Iw= +go.opentelemetry.io/otel/metric v0.30.0/go.mod h1:/ShZ7+TS4dHzDFmfi1kSXMhMVubNoP0oIaBp70J6UXU= go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= +go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= +go.opentelemetry.io/otel/sdk v1.6.1/go.mod h1:IVYrddmFZ+eJqu2k38qD3WezFR2pymCzm8tdxyh3R4E= +go.opentelemetry.io/otel/sdk v1.7.0/go.mod h1:uTEOTwaqIVuTGiJN7ii13Ibp75wJmYUDe374q6cZwUU= go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= +go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKunbvWM4/fEjk= +go.opentelemetry.io/otel/trace v1.6.0/go.mod h1:qs7BrU5cZ8dXQHBGxHMOxwME/27YH2qEp4/+tZLLwJE= +go.opentelemetry.io/otel/trace v1.6.1/go.mod h1:RkFRM1m0puWIq10oxImnGEduNBzxiN7TXluRBtE+5j0= +go.opentelemetry.io/otel/trace v1.7.0/go.mod h1:fzLSB9nqR2eXzxPXb2JW9IKE+ScyXA48yyE4TNvoHqU= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= +go.opentelemetry.io/proto/otlp v0.12.1/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.opentelemetry.io/proto/otlp v0.16.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.starlark.net v0.0.0-20190528202925-30ae18b8564f/go.mod h1:c1/X6cHgvdXj6pUlmWKMkuqRnW4K8x2vwt6JAaaircg= go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5/go.mod h1:nmDLcffg48OtT/PSW0Hg7FvpRQsQh5OSqIylirxKC7o= +go.uber.org/atomic v0.0.0-20181018215023-8dc6146f7569/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= -go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= +go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/automaxprocs v1.5.1/go.mod h1:BF4eumQw0P9GtnuxxovUd06vwm1o18oMzFtK66vU6XU= go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= -go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -go.uber.org/goleak v1.1.12 h1:gZAh5/EyT/HQwlpkCy6wTpqfH9H8Lz8zbm3dZh+OyzA= +go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= +go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk= +go.uber.org/multierr v0.0.0-20180122172545-ddea229ff1df/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= -go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/multierr v1.7.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= +go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= +go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v0.0.0-20180814183419-67bc79d13d15/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= -go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= +go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= -go.uber.org/zap v1.19.1 h1:ue41HOKd1vGURxrmeKIgELGb3jPW9DMUDGtsinblHwI= -go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI= -go4.org v0.0.0-20160314031811-03efcb870d84/go.mod h1:MkTOUMDaeVYJUOUsaDXIhWPZYa1yOyC1qaOBpL57BhE= -go4.org v0.0.0-20201209231011-d4a079459e60/go.mod h1:CIiUVy99QCPfoE13bO4EZaz5GZMZXMSBGhxRdsvzbkg= -gocloud.dev v0.23.0 h1:u/6F8slWwaZPgGpjpNp0jzH+1P/M2ri7qEP3lFgbqBE= -gocloud.dev v0.23.0/go.mod h1:zklCCIIo1N9ELkU2S2E7tW8P8eeMU7oGLeQCXdDwx9Q= -gocloud.dev/secrets/hashivault v0.23.0 h1:u9/KMKY44dy1iEpawBreRZWrQGxS8HdrqiyuBP6v7i4= -gocloud.dev/secrets/hashivault v0.23.0/go.mod h1:JkedtcYw0IqNMru0glghf+dkoszG0WFjal3PCpucxBs= +go.uber.org/zap v1.21.0 h1:WefMeulhovoZ2sYXz7st6K0sLj7bBhpiFaud4r4zST8= +go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= +gocloud.dev v0.24.0/go.mod h1:uA+als++iBX5ShuG4upQo/3Zoz49iIPlYUWHV5mM8w8= +gocloud.dev v0.27.0 h1:j0WTUsnKTxCsWO7y8T+YCiBZUmLl9w/WIowqAY3yo0g= +gocloud.dev v0.27.0/go.mod h1:YlYKhYsY5/1JdHGWQDkAuqkezVKowu7qbe9aIeUF6p0= +gocloud.dev/secrets/hashivault v0.24.0 h1:rutqnevHcRze+92YMGmjCH3gX+qES8IArg5qPhr8ZnM= +gocloud.dev/secrets/hashivault v0.24.0/go.mod h1:I4EieZgy8VTp5iVK2jSPlTidjENujhKq2Y/wXz8r8V0= golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190320223903-b7391e95e576/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190418165655-df01cb2cc480/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190617133340-57b3e21c3d56/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191122220453-ac88ee75c92c/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20191202143827-86a70503ff7e/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= +golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871 h1:/pEO3GD/ABYAjuakUS6xSEmmlyVS4kxBNkeA9tLJiTI= -golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -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/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.3.0 h1:a06MkbcxBrEFc0w0QIZWXrH/9cCX6KJyWbBOIwAn+7A= +golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56/go.mod h1:JhuoJpWY28nO4Vef9tZUw9qufEGTyX1+7lmHxV5q5G4= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= @@ -1962,8 +2134,6 @@ 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-20210220032938-85be41e4509f/go.mod h1:I6l2HNBLBZEcrOoCpyKLdY2lHoRZ8lI4x60KMCQDft4= -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= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1980,20 +2150,21 @@ golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPI golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mobile v0.0.0-20201217150744-e6ae53a27f4f/go.mod h1:skQtrUTUwhdJvXM/2KKJzY8pDgNr9I/FOMqDVRPBUS4= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191209134235-331c550502dd/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.1-0.20200828183125-ce943fd02449/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.5.0 h1:UG21uOlmZabA4fW5i7ZX6bjw1xELEGg/ZLgZq9auk/Q= golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +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 h1:6zppjxzCulZykYSLyVDYbneBfbaBIQPYMevg0bEwv2s= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 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= @@ -2014,7 +2185,6 @@ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190320064053-1272bf9dcd53/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190502183928-7f726cade0ab/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= @@ -2022,13 +2192,13 @@ golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190812203447-cdfb69ac37fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191009170851-d66e71096ffb/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191112182307-2180aed22343/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -2036,8 +2206,8 @@ golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200505041828-1ed23360d12c/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= @@ -2047,6 +2217,7 @@ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81R golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= @@ -2059,20 +2230,35 @@ golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLd golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= -golang.org/x/net v0.0.0-20210420210106-798c2154c571/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM= +golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210505214959-0714010a04ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220107192237-5cfca573fb4d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk= +golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220708220712-1185a9018129/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= +golang.org/x/net v0.2.0 h1:sZfSu1wtKLGlWI4ZZayP0ck9Y73K1ynO6gqzTdBVdPU= +golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= 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= @@ -2081,59 +2267,69 @@ golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210126194326-f9ce19ea3013/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210413134643-5e61552d6c78/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210427180440-81ed05c6b58c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 h1:RerP+noqYHUQ8CMRcPlC2nvTa4dcBIjegkuWdcUDuqg= golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220628200809-02e64fa58f26/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.2.0 h1:GtQkldQ9m7yvzCL1V+LrYow3Khe0eJH0w7RbX/VbaIU= +golang.org/x/oauth2 v0.2.0/go.mod h1:Cwn6afJ8jrQwYMxQDTpISoXmXW9I6qF6vDeuuoX3Ibs= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/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-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/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/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 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= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180926160741-c2ed4eda69e7/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190129075346-302c3dd5f1cc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/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-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190321052220-f7bb7a8bee54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190515120540-06a5c4944438/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190530182044-ad28b68e88f1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2143,7 +2339,7 @@ golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190812172437-4e8604ab3aff/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2158,7 +2354,6 @@ golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20191112214154-59a1497f0cea/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2196,11 +2391,11 @@ golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201117170446-d9b008d0a637/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2214,14 +2409,12 @@ golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210412220455-f1c623a9e750/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210420205809-ac73e9fd8988/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210503080704-8803ae5d1324/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210503173754-0981d6026fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2232,53 +2425,81 @@ golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210817190340-bfb29a6856f2/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211110154304-99a53858aa08/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220209214540-3681064d5158 h1:rm+CHSpPEEW2IsXUib1ThaHIjuBVZjxNgSKmBLFfD4c= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A= +golang.org/x/sys v0.2.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= golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.2.0 h1:z85xZCsEl7bi/KwbNADeBYoOP0++7W1ipu+aGnpwzRM= +golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= +golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 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= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20190321115727-fe223c5a2583/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= 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= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac h1:7zkz7BUtwNFFqcowJ+RIgu2MaV/MapERkDIy+mwPyjs= golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220609170525-579cf78fd858/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.2.0 h1:52I/1L54xyEQAYdtcSuxtiT84KGYTBGXwayxmIpNJhE= +golang.org/x/time v0.2.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -2288,10 +2509,15 @@ golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3 golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190329151228-23e29df326fe/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190416151739-9c9e1878f421/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190420181800-aa740d480789/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190617190820-da514acc4774/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= @@ -2299,14 +2525,11 @@ golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgw golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= -golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= -golang.org/x/tools v0.0.0-20190812233024-afc3694995b6/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191004055002-72853e10c5a3/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191017205301-920acffc3e65/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -2318,11 +2541,9 @@ golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191203134012-c197fd4bf371/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117012304-6edc0a871e69/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -2332,13 +2553,13 @@ golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200308013534-11ec41452d41/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200713011307-fd294ab11aed/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= @@ -2347,6 +2568,7 @@ golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= +golang.org/x/tools v0.0.0-20201028111035-eafbe7b904eb/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= @@ -2360,34 +2582,38 @@ golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.6-0.20210820212750-d4cc65f0b2ff/go.mod h1:YD9qOF0M9xpSpdWTBbzEl5e/RnCefISl8E5Noe10jFM= -golang.org/x/tools v0.1.7/go.mod h1:LGqMHiF4EqQNHR1JncWGqT5BVaXmza+X+BDGol+dOxo= +golang.org/x/tools v0.1.6-0.20210726203631-07bc1bf47fb2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= +golang.org/x/tools v0.1.10-0.20220218145154-897bd77cd717/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= +golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= +golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= +golang.org/x/tools v0.1.12 h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +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= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= gomodules.xyz/jsonpatch/v2 v2.0.1/go.mod h1:IhYNNY4jnS53ZnfE4PAmpKtDpTCj1JFXc+3mwe7XcUU= gomodules.xyz/jsonpatch/v2 v2.2.0 h1:4pT439QV83L+G9FkcCriY6EkpcK6r6bK+A5FBUMI7qY= gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY= -gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0= -gonum.org/v1/gonum v0.6.2/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= -gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= -google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.5.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.10.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.1-0.20200106000736-b8fc810ca6b5/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= @@ -2397,48 +2623,56 @@ google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0M google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/api v0.34.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= +google.golang.org/api v0.37.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= -google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8= -google.golang.org/api v0.45.0/go.mod h1:ISLIJCedJolbZvDfAk+Ctuq5hf+aJ33WgtUsfyFoLXA= google.golang.org/api v0.46.0/go.mod h1:ceL4oozhkAiTID8XMmJBsIxID/9wMXJVVFXPg4ylg3I= google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= +google.golang.org/api v0.52.0/go.mod h1:Him/adpjt0sxtkWViy0b6xyKW/SD71CwdJ7HqJo7SrU= google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= +google.golang.org/api v0.58.0/go.mod h1:cAbP2FsxoGVNwtgNAmmn3y5G1TWAiVYRmg4yku3lv+E= google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU= google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= -google.golang.org/api v0.62.0/go.mod h1:dKmwPCydfsad4qCH08MSdgWjfHOyfpd4VtDGgRFdavw= google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= -google.golang.org/api v0.70.0 h1:67zQnAE0T2rB0A3CwLSas0K+SbVzSxP+zTLkQLexeiw= google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= +google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= +google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= +google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= +google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= +google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= +google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= +google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g= +google.golang.org/api v0.86.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.91.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.103.0 h1:9yuVqlu2JCvcLg9p8S3fcFLZij8EPSyvODIY1rkMizQ= +google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190508193815-b515fa19cec8/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= google.golang.org/genproto v0.0.0-20190708153700-3bdd9d9f5532/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= @@ -2458,7 +2692,6 @@ google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200310143817-43be25429f5a/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -2468,7 +2701,6 @@ google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200608115520-7c474a2e3482/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200711021454-869866162049/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -2483,37 +2715,40 @@ google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210329143202-679c6ae281ee/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210413151531-c14fb6ef47c3/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= -google.golang.org/genproto v0.0.0-20210420162539-3c870d7478d2/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= -google.golang.org/genproto v0.0.0-20210423144448-3a41ef94ed2b/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= google.golang.org/genproto v0.0.0-20210429181445-86c259c2b4ab/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= -google.golang.org/genproto v0.0.0-20210506142907-4a47615972c2/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210517163617-5e0236093d7a/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210721163202-f1cecdd8b78a/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210722135532-667f2b7c528f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210825212027-de86158e7fda/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210921142501-181ce0d877f6/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211018162055-cf77aa76bad2/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211203200212-54befc351ae9/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= @@ -2521,9 +2756,28 @@ google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ6 google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf h1:SVYXkUz2yZS9FWb2Gm8ivSlbNQzL2Z/NpPKE3RG2jWk= google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= +google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= +google.golang.org/genproto v0.0.0-20220329172620-7be39ac1afc7/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220802133213-ce4fa296bf78/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= +google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6 h1:a2S6M0+660BgMNl++4JPlcAO/CjkqYItDEZwkoDQK7c= +google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= @@ -2562,8 +2816,14 @@ google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9K google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.44.0 h1:weqSxi/TMs1SqFRMHCtBgXRs8k3X39QIDEZ0pRcttUg= google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= +google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.51.0 h1:E1eGv1FTqoLIdnBCZufiSHgKjlqG6fKFf6pPWtMTh8U= +google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -2577,14 +2837,15 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f h1:AQkMzsSzHWrgZWqGRpuRaRPDmyNibcXlpGcnQJ7HxZw= gopkg.in/AlecAivazis/survey.v1 v1.8.9-0.20200217094205-6773bdf39b7f/go.mod h1:CaHjv79TCgAvXMSFJSVgonHXYWxnhzI3eoHtnX5UgUo= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -2592,37 +2853,25 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntN gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= -gopkg.in/cheggaaa/pb.v1 v1.0.28 h1:n1tBJnnK2r7g9OW2btFH91V92STTUevLXYFb8gy9EMk= -gopkg.in/cheggaaa/pb.v1 v1.0.28/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= -gopkg.in/djherbis/times.v1 v1.2.0/go.mod h1:AQlg6unIsrsCEdQYhTzERy542dz6SFdQFZFv6mUY0P8= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/gcfg.v1 v1.2.0/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo= -gopkg.in/gorp.v1 v1.7.2/go.mod h1:Wo3h+DBQZIxATwftsglhdD/62zRFPhGhTiu5jUJmCaw= +gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.57.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.63.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/square/go-jose.v2 v2.5.1 h1:7odma5RETjNHWJnR32wx8t+Io4djHE1PqxCFx3iiZ2w= gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/src-d/go-billy.v4 v4.3.2 h1:0SQA1pRztfTFx2miS8sA97XvooFeNOmvUenF4o0EcVg= -gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod h1:nDjArDMp+XMs1aFAESLRjfGSgfvoYN0hDfzEk0GjC98= -gopkg.in/src-d/go-git-fixtures.v3 v3.5.0 h1:ivZFOIltbce2Mo8IjzUHAFoq/IylO9WHhNOAJK+LsJg= -gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g= -gopkg.in/src-d/go-git.v4 v4.13.1 h1:SRtFyV8Kxc0UP7aCHcijOMQGPxHSmMOPrzulQWolkYE= -gopkg.in/src-d/go-git.v4 v4.13.1/go.mod h1:nx5NYcxdKxq5fpltdHnPa2Exj4Sx0EclMWZQbYDu2z8= +gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI= +gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/telebot.v3 v3.0.0/go.mod h1:7rExV8/0mDDNu9epSrDm/8j22KLaActH1Tbee6YjzWg= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/warnings.v0 v0.1.1/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= @@ -2632,7 +2881,6 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= @@ -2640,9 +2888,12 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20191120175047-4206685974f2/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200121175148-a6ecf24a6d71/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= @@ -2656,114 +2907,147 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -howett.net/plist v0.0.0-20181124034731-591f970eefbb/go.mod h1:vMygbs4qMhSZSc4lCUl2OEE+rDiIIJAIdR4m7MiMcm0= -k8s.io/api v0.22.3 h1:wOoES2GoSkUsdped2RB4zYypPqWtvprGoKCENTOOjP4= -k8s.io/api v0.22.3/go.mod h1:azgiXFiXqiWyLCfI62/eYBOu19rj2LKmIhFPP4+33fs= -k8s.io/apiextensions-apiserver v0.22.3 h1:bKku7MqawIbtTZc084BZoMV4fz0WZuvCnB5E+yrQXGM= -k8s.io/apiextensions-apiserver v0.22.3/go.mod h1:f4plF+CXeqI89jAXL0Ml4LI/kSAZ54JS94+XOX1sae8= -k8s.io/apimachinery v0.22.3 h1:mrvBG5CZnEfwgpVqWcrRKvdsYECTrhAR6cApAgdsflk= -k8s.io/apimachinery v0.22.3/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0= -k8s.io/apiserver v0.22.3 h1:x21xyLQ2qvPr5vjOTVOBaSJu8svnU2wfLOfSjNJEOdw= -k8s.io/apiserver v0.22.3/go.mod h1:oam7lH/F1Kto/WTamyQYrD68fS0mGUBORAFf6x/9Mxs= -k8s.io/cli-runtime v0.22.3/go.mod h1:um6JvCxV9Hrhq0zCUxcqYoY7/wF64g6IYgOViI8sg6Q= -k8s.io/cloud-provider v0.22.3/go.mod h1:GsKMR5EnNH4zcfkEvOxBPEZVuRvadVRkZvGqYxxBvO4= -k8s.io/cluster-bootstrap v0.22.3/go.mod h1:FVBAeGJ/T6QbNgGb7DX98FCjExJnNLsRXtGRMjEQ26I= -k8s.io/code-generator v0.22.3/go.mod h1:eV77Y09IopzeXOJzndrDyCI88UBok2h6WxAlBwpxa+o= -k8s.io/component-base v0.22.3 h1:/+hryAW03u3FpJQww+GSMsArJNUbGjH66lrgxaRynLU= -k8s.io/component-base v0.22.3/go.mod h1:kuybv1miLCMoOk3ebrqF93GbQHQx6W2287FC0YEQY6s= -k8s.io/component-helpers v0.22.3/go.mod h1:7OVySVH5elhHKuJKUOxZEfpT1Bm3ChmBQZHmuFfbGHk= -k8s.io/controller-manager v0.22.3/go.mod h1:4cvQGMvYf6IpTY08/NigEiI5UrN/cbtOe5e5WepYmcQ= -k8s.io/cri-api v0.22.3/go.mod h1:mj5DGUtElRyErU5AZ8EM0ahxbElYsaLAMTPhLPQ40Eg= -k8s.io/csi-translation-lib v0.22.3/go.mod h1:YkdI+scWhZJQeA26iNg9XrKO3LhLz6dAcRKsL0RIiUY= +k8s.io/api v0.24.2 h1:g518dPU/L7VRLxWfcadQn2OnsiGWVOadTLpdnqgY2OI= +k8s.io/api v0.24.2/go.mod h1:AHqbSkTm6YrQ0ObxjO3Pmp/ubFF/KuM7jU+3khoBsOg= +k8s.io/apiextensions-apiserver v0.0.0-20190918161926-8f644eb6e783/go.mod h1:xvae1SZB3E17UpV59AWc271W/Ph25N+bjPyR63X6tPY= +k8s.io/apiextensions-apiserver v0.17.2/go.mod h1:4KdMpjkEjjDI2pPfBA15OscyNldHWdBCfsWMDWAmSTs= +k8s.io/apiextensions-apiserver v0.18.0/go.mod h1:18Cwn1Xws4xnWQNC00FLq1E350b9lUF+aOdIWDOZxgo= +k8s.io/apiextensions-apiserver v0.24.0/go.mod h1:iuVe4aEpe6827lvO6yWQVxiPSpPoSKVjkq+MIdg84cM= +k8s.io/apiextensions-apiserver v0.25.4 h1:7hu9pF+xikxQuQZ7/30z/qxIPZc2J1lFElPtr7f+B6U= +k8s.io/apiextensions-apiserver v0.25.4/go.mod h1:bkSGki5YBoZWdn5pWtNIdGvDrrsRWlmnvl9a+tAw5vQ= +k8s.io/apimachinery v0.24.2 h1:5QlH9SL2C8KMcrNJPor+LbXVTaZRReml7svPEh4OKDM= +k8s.io/apimachinery v0.24.2/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= +k8s.io/apiserver v0.0.0-20190918160949-bfa5e2e684ad/go.mod h1:XPCXEwhjaFN29a8NldXA901ElnKeKLrLtREO9ZhFyhg= +k8s.io/apiserver v0.17.2/go.mod h1:lBmw/TtQdtxvrTk0e2cgtOxHizXI+d0mmGQURIHQZlo= +k8s.io/apiserver v0.18.0/go.mod h1:3S2O6FeBBd6XTo0njUrLxiqk8GNy6wWOftjhJcXYnjw= +k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= +k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= +k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= +k8s.io/apiserver v0.22.5/go.mod h1:s2WbtgZAkTKt679sYtSudEQrTGWUSQAPe6MupLnlmaQ= +k8s.io/apiserver v0.24.0/go.mod h1:WFx2yiOMawnogNToVvUYT9nn1jaIkMKj41ZYCVycsBA= +k8s.io/apiserver v0.25.4 h1:/3TwZcgLqX7wUxq7TtXOUqXeBTwXIblVMQdhR5XZ7yo= +k8s.io/apiserver v0.25.4/go.mod h1:rPcm567XxjOnnd7jedDUnGJGmDGAo+cT6H7QHAN+xV0= +k8s.io/cli-runtime v0.0.0-20191214191754-e6dc6d5c8724/go.mod h1:wzlq80lvjgHW9if6MlE4OIGC86MDKsy5jtl9nxz/IYY= +k8s.io/cli-runtime v0.17.2/go.mod h1:aa8t9ziyQdbkuizkNLAw3qe3srSyWh9zlSB7zTqRNPI= +k8s.io/code-generator v0.0.0-20190912054826-cd179ad6a269/go.mod h1:V5BD6M4CyaN5m+VthcclXWsVcT1Hu+glwa1bi3MIsyE= +k8s.io/code-generator v0.0.0-20191214185510-0b9b3c99f9f2/go.mod h1:BjGKcoq1MRUmcssvHiSxodCco1T6nVIt4YeCT5CMSao= +k8s.io/code-generator v0.17.2/go.mod h1:DVmfPQgxQENqDIzVR2ddLXMH34qeszkKSdH/N+s+38s= +k8s.io/code-generator v0.18.0/go.mod h1:+UHX5rSbxmR8kzS+FAv7um6dtYrZokQvjHpDSYRVkTc= +k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0= +k8s.io/code-generator v0.24.0/go.mod h1:dpVhs00hTuTdTY6jvVxvTFCk6gSMrtfRydbhZwHI15w= +k8s.io/component-base v0.0.0-20190918160511-547f6c5d7090/go.mod h1:933PBGtQFJky3TEwYx4aEPZ4IxqhWh3R6DCmzqIn1hA= +k8s.io/component-base v0.0.0-20191214190519-d868452632e2/go.mod h1:wupxkh1T/oUDqyTtcIjiEfpbmIHGm8By/vqpSKC6z8c= +k8s.io/component-base v0.17.2/go.mod h1:zMPW3g5aH7cHJpKYQ/ZsGMcgbsA/VyhEugF3QT1awLs= +k8s.io/component-base v0.18.0/go.mod h1:u3BCg0z1uskkzrnAKFzulmYaEpZF7XC9Pf/uFyb1v2c= +k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= +k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= +k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM= +k8s.io/component-base v0.22.5/go.mod h1:VK3I+TjuF9eaa+Ln67dKxhGar5ynVbwnGrUiNF4MqCI= +k8s.io/component-base v0.24.0/go.mod h1:Dgazgon0i7KYUsS8krG8muGiMVtUZxG037l1MKyXgrA= +k8s.io/component-base v0.25.4 h1:n1bjg9Yt+G1C0WnIDJmg2fo6wbEU1UGMRiQSjmj7hNQ= +k8s.io/component-base v0.25.4/go.mod h1:nnZJU8OP13PJEm6/p5V2ztgX2oyteIaAGKGMYb2L2cY= +k8s.io/cri-api v0.17.3/go.mod h1:X1sbHmuXhwaHs9xxYffLqJogVsnI+f6cPRcgPel7ywM= +k8s.io/cri-api v0.20.1/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= +k8s.io/cri-api v0.20.4/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI= +k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc= +k8s.io/cri-api v0.23.1/go.mod h1:REJE3PSU0h/LOV1APBrupxrEJqnoxZC8KWzkBUHwrK4= +k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20190822140433-26a664648505/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20200114144118-36b2048a9120/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/helm v2.16.7+incompatible/go.mod h1:LZzlS4LQBHfciFOurYBFkCMTaZ0D1l+p0teMg7TSULI= +k8s.io/gengo v0.0.0-20211129171323-c02415ce4185/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= +k8s.io/klog v0.4.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.8.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= k8s.io/klog/v2 v2.9.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= -k8s.io/klog/v2 v2.10.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec= -k8s.io/klog/v2 v2.30.0 h1:bUO6drIvCIsvZ/XFgfxoGFQU/a4Qkh0iAlvUR7vlHJw= k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-aggregator v0.22.3/go.mod h1:TIpLq1HvR/S4y75i3y+4q9ik3ZvgyaDz72CBfDS0A6E= -k8s.io/kube-controller-manager v0.22.3/go.mod h1:7biFk6Azf7xD+pzTScw7X9M5vGScqYp4J4wOT61QL1s= +k8s.io/klog/v2 v2.40.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.70.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/klog/v2 v2.80.1 h1:atnLQ121W371wYYFawwYx1aEY2eUfs4l3J72wtgAwV4= +k8s.io/klog/v2 v2.80.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/kube-aggregator v0.18.0/go.mod h1:ateewQ5QbjMZF/dihEFXwaEwoA4v/mayRvzfmvb6eqI= +k8s.io/kube-openapi v0.0.0-20190816220812-743ec37842bf/go.mod h1:1TqjTSzOxsLGIKfj0lK8EeCP7K1iUG65v09OM0/WG5E= +k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a/go.mod h1:1TqjTSzOxsLGIKfj0lK8EeCP7K1iUG65v09OM0/WG5E= +k8s.io/kube-openapi v0.0.0-20200121204235-bf4fb3bd569c/go.mod h1:GRQhZsXIAJ1xR0C9bd8UpWHZ5plfAS9fzPjJuQ6JL3E= +k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o= k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM= -k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7/go.mod h1:wXW5VT87nVfh/iLV8FpR2uDvrFyomxbtb1KivDbvPTE= -k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= -k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 h1:E3J9oCLlaobFUqsjG9DfKbP2BmgwBL2p7pn0A3dG9W4= -k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= -k8s.io/kube-proxy v0.22.3/go.mod h1:9ta1U8GKKo6by981sN/L6MhFJzPWxMdfh7plVPH1I2s= -k8s.io/kube-scheduler v0.22.3/go.mod h1:jVLHSttd8cSejBLOeiWE+g8etA6XdOBGiR8tI577OhU= -k8s.io/kubectl v0.22.3/go.mod h1:gcpQHPOx+Jke9Og6Li7YxR/ZuaOtFUeJw7xHH617tHs= -k8s.io/kubelet v0.22.3/go.mod h1:9nUZNGUigU2uAIm7kgf8BsvYDI9KjIE5nt9+yI1+p7w= -k8s.io/kubernetes v1.22.3/go.mod h1:Snea7fgIObGgHmLbUJ3OgjGEr5bjj16iEdp5oHS6eS8= -k8s.io/legacy-cloud-providers v0.22.3/go.mod h1:eEOOaRtP2PuCVkjZvuTPa6ZgyPpzJkCVqpE3YtuArLQ= -k8s.io/metrics v0.22.3/go.mod h1:HbLFLRKtXzoC/6tHLQAlO9AeOBXZp2eB6SsgkbujoNI= -k8s.io/mount-utils v0.22.3/go.mod h1:dHl6c2P60T5LHUnZxVslyly9EDCMzvhtISO5aY+Z4sk= -k8s.io/pod-security-admission v0.22.0/go.mod h1:xKTKO4nzxLDROM+RRndSU7kCZc2XcBYRKLYS+gYuqfo= -k8s.io/sample-apiserver v0.22.3/go.mod h1:HuEOdD/pT5R7gKNr2REb62uabZaJuFZyY3wUd86nFCA= -k8s.io/sample-controller v0.16.8/go.mod h1:aXlORS1ekU77qhGybB5t3JORDurzDpWgvMYxmCsiuos= -k8s.io/system-validators v1.5.0/go.mod h1:bPldcLgkIUK22ALflnsXk8pvkTEndYdNuaHH6gRrl0Q= +k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= +k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= +k8s.io/kube-openapi v0.0.0-20221123160016-cac62f206a83 h1:POvekZ73z+R8NN7EW3Us8zZ2JB5DEzBmkoZLU+rL2bw= +k8s.io/kube-openapi v0.0.0-20221123160016-cac62f206a83/go.mod h1:+Axhij7bCpeqhklhUTe3xmOn6bWxolyZEeyaFpjGtl4= +k8s.io/kubectl v0.0.0-20191219154910-1528d4eea6dd/go.mod h1:9ehGcuUGjXVZh0qbYSB0vvofQw2JQe6c6cO0k4wu/Oo= +k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= +k8s.io/metrics v0.0.0-20191214191643-6b1944c9f765/go.mod h1:5V7rewilItwK0cz4nomU0b3XCcees2Ka5EBYWS1HBeM= k8s.io/utils v0.0.0-20190801114015-581e00157fb1/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= +k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20210111153108-fddb29f9d009/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20211116205334-6203023598ed h1:ck1fRPWPJWsMd8ZRFsWc6mh/zHp5fZ/shhbrgPUxDAE= k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJOIfnislxYlqTj8= +k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= +lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k= modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs= modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I= +mvdan.cc/gofumpt v0.1.0 h1:hsVv+Y9UsZ/mFZTxJZuHVI6shSQCtzZ11h1JEFPAZLw= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= -oras.land/oras-go v1.1.0/go.mod h1:1A7vR/0KknT2UkJVWh+xMi95I/AhK8ZrxrnUSmXN0bQ= pgregory.net/rapid v0.4.7 h1:MTNRktPuv5FNqOO151TM9mDTa+XHcX6ypYeISDVD14g= -pgregory.net/rapid v0.4.7/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.7/go.mod h1:PHgbrJT7lCHcxMU+mDHEm+nx46H4zuuHZkDP6icnhu0= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.27/go.mod h1:tq2nT0Kx7W+/f2JVE+zxYtUhdjuELJkVpNz+x/QN5R4= -sigs.k8s.io/aws-iam-authenticator v0.5.1/go.mod h1:yPDLi58MDx1UtCrRMOykLm1IyKKPGHgcGCafcbn2s3E= -sigs.k8s.io/cli-utils v0.16.0 h1:Wr32m1oxjIqc9G9l+igr13PeIM9LCyq8jQ8KjXKelvg= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.30/go.mod h1:fEO7lRTdivWO2qYVCVG7dEADOMo/MLDCVr8So2g88Uw= sigs.k8s.io/cli-utils v0.16.0/go.mod h1:9Jqm9K2W6ShhCxsEuaz6HSRKKOXigPUx3ZfypGgxBLY= -sigs.k8s.io/cluster-api v1.1.2 h1:v00hk4crISOo2sKBhvOq0PC375BPk79Cpflt3Jtn7k8= -sigs.k8s.io/cluster-api v1.1.2/go.mod h1:aq0b2tkMHZDTnuLEU7KOZOiQ5Pg82s3vh/KH/X6c/mM= +sigs.k8s.io/cli-utils v0.34.0 h1:zCUitt54f0/MYj/ajVFnG6XSXMhpZ72O/3RewIchW8w= +sigs.k8s.io/cli-utils v0.34.0/go.mod h1:EXyMwPMu9OL+LRnj0JEMsGG/fRvbgFadcVlSnE8RhFs= +sigs.k8s.io/cluster-api v1.2.6 h1:wueslUK8LdTH8rOI697WIj1jutbaGY3a24t4XjZvLI8= +sigs.k8s.io/cluster-api v1.2.6/go.mod h1:Ye5gn15u+q6VcE+Se7nBMSo6INm55F+zBcCiWzrjxFc= sigs.k8s.io/controller-runtime v0.4.0/go.mod h1:ApC79lpY3PHW9xj/w9pj+lYkLgwAAUZwfXkME1Lajns= -sigs.k8s.io/controller-runtime v0.11.0/go.mod h1:KKwLiTooNGu+JmLZGn9Sl3Gjmfj66eMbCQznLP5zcqA= -sigs.k8s.io/controller-runtime v0.11.1 h1:7YIHT2QnHJArj/dk9aUkYhfqfK5cIxPOX5gPECfdZLU= -sigs.k8s.io/controller-runtime v0.11.1/go.mod h1:KKwLiTooNGu+JmLZGn9Sl3Gjmfj66eMbCQznLP5zcqA= +sigs.k8s.io/controller-runtime v0.13.1 h1:tUsRCSJVM1QQOOeViGeX3GMT3dQF1eePPw6sEE3xSlg= +sigs.k8s.io/controller-runtime v0.13.1/go.mod h1:Zbz+el8Yg31jubvAEyglRZGdLAjplZl+PgtYNI6WNTI= sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= -sigs.k8s.io/kustomize/api v0.8.11/go.mod h1:a77Ls36JdfCWojpUqR6m60pdGY1AYFix4AH83nJtY1g= -sigs.k8s.io/kustomize/api v0.10.1/go.mod h1:2FigT1QN6xKdcnGS2Ppp1uIWrtWN28Ms8A3OZUZhwr8= -sigs.k8s.io/kustomize/cmd/config v0.9.13/go.mod h1:7547FLF8W/lTaDf0BDqFTbZxM9zqwEJqCKN9sSR0xSs= -sigs.k8s.io/kustomize/kustomize/v4 v4.2.0/go.mod h1:MOkR6fmhwG7hEDRXBYELTi5GSFcLwfqwzTRHW3kv5go= +sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= +sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 h1:iXTIw73aPyC+oRdyqqvVJuloN1p0AC/kzH07hu3NE+k= +sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= +sigs.k8s.io/kustomize v2.0.3+incompatible/go.mod h1:MkjgH3RdOWrievjo6c9T245dYlB5QeXV4WCbnt/PEpU= sigs.k8s.io/kustomize/kyaml v0.4.0/go.mod h1:XJL84E6sOFeNrQ7CADiemc1B0EjIxHo3OhW4o1aJYNw= -sigs.k8s.io/kustomize/kyaml v0.11.0/go.mod h1:GNMwjim4Ypgp/MueD3zXHLRJEjz7RvtPae0AwlvEMFM= -sigs.k8s.io/kustomize/kyaml v0.13.0/go.mod h1:FTJxEZ86ScK184NpGSAQcfEqee0nul8oLCK30D47m4E= +sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI= +sigs.k8s.io/structured-merge-diff v0.0.0-20190817042607-6149e4549fca/go.mod h1:IIgPezJWb76P0hotTxzDbWsMYB8APh18qZnxkomBpxA= +sigs.k8s.io/structured-merge-diff v1.0.1-0.20191108220359-b1b620dd3f06/go.mod h1:/ULNhyfzRopfcjskuui0cTITekDduZ7ycKN3oUT9R18= +sigs.k8s.io/structured-merge-diff/v3 v3.0.0-20200116222232-67a7b8c61874/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= +sigs.k8s.io/structured-merge-diff/v3 v3.0.0/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw= +sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.1.0/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= +sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= -sigs.k8s.io/structured-merge-diff/v4 v4.2.0/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= -sigs.k8s.io/structured-merge-diff/v4 v4.2.1 h1:bKCqE9GvQ5tiVHn5rfn1r+yao3aLQEaLzkkmAkf+A6Y= sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= +sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= +sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= sigs.k8s.io/testing_frameworks v0.1.2/go.mod h1:ToQrwSC3s8Xf/lADdZp3Mktcql9CG0UAmdJG9th5i0w= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= -sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 h1:ucqkfpjg9WzSUubAO62csmucvxl4/JeW3F4I4909XkM= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= -sourcegraph.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67/go.mod h1:L5q+DGLGOQFpo1snNEkLOJT2d1YTW66rWNzatr3He1k= +sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= +sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= +vbom.ml/util v0.0.0-20160121211510-db5cfe13f5cc/go.mod h1:so/NYdZXCz+E3ZpW0uAoCj6uzU2+8OWDFv/HxUSs7kI= diff --git a/sdk/dotnet/ActiveDirectory.cs b/sdk/dotnet/ActiveDirectory.cs index f43727d18..1ad1620bc 100644 --- a/sdk/dotnet/ActiveDirectory.cs +++ b/sdk/dotnet/ActiveDirectory.cs @@ -16,7 +16,7 @@ namespace Pulumi.Rancher2 /// [Obsolete(@"rancher2.ActiveDirectory has been deprecated in favor of rancher2.AuthConfigActiveDirectory")] [Rancher2ResourceType("rancher2:index/activeDirectory:ActiveDirectory")] - public partial class ActiveDirectory : Pulumi.CustomResource + public partial class ActiveDirectory : global::Pulumi.CustomResource { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -251,6 +251,13 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "certificate", + "serviceAccountPassword", + "serviceAccountUsername", + "testPassword", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -272,7 +279,7 @@ public static ActiveDirectory Get(string name, Input id, ActiveDirectory } } - public sealed class ActiveDirectoryArgs : Pulumi.ResourceArgs + public sealed class ActiveDirectoryArgs : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -304,11 +311,21 @@ public InputMap Annotations set => _annotations = value; } + [Input("certificate")] + private Input? _certificate; + /// /// CA certificate for TLS if selfsigned (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// ActiveDirectory connection timeout. Default `5000` (int) @@ -412,17 +429,37 @@ public InputList Servers set => _servers = value; } + [Input("serviceAccountPassword", required: true)] + private Input? _serviceAccountPassword; + /// /// Service account password for access ActiveDirectory service (string) /// - [Input("serviceAccountPassword", required: true)] - public Input ServiceAccountPassword { get; set; } = null!; + public Input? ServiceAccountPassword + { + get => _serviceAccountPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("serviceAccountUsername", required: true)] + private Input? _serviceAccountUsername; /// /// Service account DN for access ActiveDirectory service (string) /// - [Input("serviceAccountUsername", required: true)] - public Input ServiceAccountUsername { get; set; } = null!; + public Input? ServiceAccountUsername + { + get => _serviceAccountUsername; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountUsername = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable start TLS connection (bool) @@ -430,11 +467,21 @@ public InputList Servers [Input("startTls")] public Input? StartTls { get; set; } + [Input("testPassword", required: true)] + private Input? _testPassword; + /// /// Password for test access to ActiveDirectory service (string) /// - [Input("testPassword", required: true)] - public Input TestPassword { get; set; } = null!; + public Input? TestPassword + { + get => _testPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _testPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Username for test access to ActiveDirectory service (string) @@ -499,9 +546,10 @@ public InputList Servers public ActiveDirectoryArgs() { } + public static new ActiveDirectoryArgs Empty => new ActiveDirectoryArgs(); } - public sealed class ActiveDirectoryState : Pulumi.ResourceArgs + public sealed class ActiveDirectoryState : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -533,11 +581,21 @@ public InputMap Annotations set => _annotations = value; } + [Input("certificate")] + private Input? _certificate; + /// /// CA certificate for TLS if selfsigned (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// ActiveDirectory connection timeout. Default `5000` (int) @@ -647,17 +705,37 @@ public InputList Servers set => _servers = value; } + [Input("serviceAccountPassword")] + private Input? _serviceAccountPassword; + /// /// Service account password for access ActiveDirectory service (string) /// - [Input("serviceAccountPassword")] - public Input? ServiceAccountPassword { get; set; } + public Input? ServiceAccountPassword + { + get => _serviceAccountPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("serviceAccountUsername")] + private Input? _serviceAccountUsername; /// /// Service account DN for access ActiveDirectory service (string) /// - [Input("serviceAccountUsername")] - public Input? ServiceAccountUsername { get; set; } + public Input? ServiceAccountUsername + { + get => _serviceAccountUsername; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountUsername = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable start TLS connection (bool) @@ -665,11 +743,21 @@ public InputList Servers [Input("startTls")] public Input? StartTls { get; set; } + [Input("testPassword")] + private Input? _testPassword; + /// /// Password for test access to ActiveDirectory service (string) /// - [Input("testPassword")] - public Input? TestPassword { get; set; } + public Input? TestPassword + { + get => _testPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _testPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Username for test access to ActiveDirectory service (string) @@ -740,5 +828,6 @@ public InputList Servers public ActiveDirectoryState() { } + public static new ActiveDirectoryState Empty => new ActiveDirectoryState(); } } diff --git a/sdk/dotnet/App.cs b/sdk/dotnet/App.cs index 060e924e8..227a95676 100644 --- a/sdk/dotnet/App.cs +++ b/sdk/dotnet/App.cs @@ -13,75 +13,72 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 App + /// var foo = new Rancher2.App("foo", new() /// { - /// // Create a new rancher2 App - /// var foo = new Rancher2.App("foo", new Rancher2.AppArgs + /// Answers = /// { - /// Answers = - /// { - /// { "foo", "bar" }, - /// { "ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect", true }, - /// { "ingress_host", "test.xip.io" }, - /// }, - /// CatalogName = "<catalog_name>", - /// Description = "Foo app", - /// ProjectId = "<project_id>", - /// TargetNamespace = "<namespace_name>", - /// TemplateName = "<template_name>", - /// TemplateVersion = "<template_version>", - /// }); - /// } + /// { "foo", "bar" }, + /// { "ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect", true }, + /// { "ingress_host", "test.xip.io" }, + /// }, + /// CatalogName = "<catalog_name>", + /// Description = "Foo app", + /// ProjectId = "<project_id>", + /// TargetNamespace = "<namespace_name>", + /// TemplateName = "<template_name>", + /// TemplateVersion = "<template_version>", + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 App in a new namespace + /// var fooNamespace = new Rancher2.Namespace("fooNamespace", new() /// { - /// // Create a new rancher2 App in a new namespace - /// var fooNamespace = new Rancher2.Namespace("fooNamespace", new Rancher2.NamespaceArgs + /// Description = "Foo namespace", + /// ProjectId = "<project_id>", + /// ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs /// { - /// Description = "Foo namespace", - /// ProjectId = "<project_id>", - /// ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs + /// Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs /// { - /// Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs - /// { - /// LimitsCpu = "100m", - /// LimitsMemory = "100Mi", - /// RequestsStorage = "1Gi", - /// }, + /// LimitsCpu = "100m", + /// LimitsMemory = "100Mi", + /// RequestsStorage = "1Gi", /// }, - /// }); - /// var fooApp = new Rancher2.App("fooApp", new Rancher2.AppArgs + /// }, + /// }); + /// + /// var fooApp = new Rancher2.App("fooApp", new() + /// { + /// CatalogName = "<catalog_name>", + /// Description = "Foo app", + /// ProjectId = "<project_id>", + /// TemplateName = "<template_name>", + /// TemplateVersion = "<template_version>", + /// TargetNamespace = fooNamespace.Id, + /// Answers = /// { - /// CatalogName = "<catalog_name>", - /// Description = "Foo app", - /// ProjectId = "<project_id>", - /// TemplateName = "<template_name>", - /// TemplateVersion = "<template_version>", - /// TargetNamespace = fooNamespace.Id, - /// Answers = - /// { - /// { "ingress_host", "test.xip.io" }, - /// { "foo", "bar" }, - /// { "ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect", true }, - /// }, - /// }); - /// } + /// { "ingress_host", "test.xip.io" }, + /// { "foo", "bar" }, + /// { "ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect", true }, + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -93,7 +90,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/app:App")] - public partial class App : Pulumi.CustomResource + public partial class App : global::Pulumi.CustomResource { /// /// Annotations for App object (map) @@ -231,7 +228,7 @@ public static App Get(string name, Input id, AppState? state = null, Cus } } - public sealed class AppArgs : Pulumi.ResourceArgs + public sealed class AppArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -340,9 +337,10 @@ public InputMap Labels public AppArgs() { } + public static new AppArgs Empty => new AppArgs(); } - public sealed class AppState : Pulumi.ResourceArgs + public sealed class AppState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -457,5 +455,6 @@ public InputMap Labels public AppState() { } + public static new AppState Empty => new AppState(); } } diff --git a/sdk/dotnet/AppV2.cs b/sdk/dotnet/AppV2.cs index 103021516..449a788b5 100644 --- a/sdk/dotnet/AppV2.cs +++ b/sdk/dotnet/AppV2.cs @@ -15,27 +15,25 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using System.IO; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new Rancher2 App V2 using + /// var foo = new Rancher2.AppV2("foo", new() /// { - /// // Create a new Rancher2 App V2 using - /// var foo = new Rancher2.AppV2("foo", new Rancher2.AppV2Args - /// { - /// ClusterId = "<CLUSTER_ID>", - /// Namespace = "cattle-monitoring-system", - /// RepoName = "rancher-charts", - /// ChartName = "rancher-monitoring", - /// ChartVersion = "9.4.200", - /// Values = File.ReadAllText("values.yaml"), - /// }); - /// } + /// ClusterId = "<CLUSTER_ID>", + /// Namespace = "cattle-monitoring-system", + /// RepoName = "rancher-charts", + /// ChartName = "rancher-monitoring", + /// ChartVersion = "9.4.200", + /// Values = File.ReadAllText("values.yaml"), + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -47,7 +45,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/appV2:AppV2")] - public partial class AppV2 : Pulumi.CustomResource + public partial class AppV2 : global::Pulumi.CustomResource { /// /// Annotations for the app v2 (map) @@ -195,7 +193,7 @@ public static AppV2 Get(string name, Input id, AppV2State? state = null, } } - public sealed class AppV2Args : Pulumi.ResourceArgs + public sealed class AppV2Args : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -302,9 +300,10 @@ public InputMap Labels public AppV2Args() { } + public static new AppV2Args Empty => new AppV2Args(); } - public sealed class AppV2State : Pulumi.ResourceArgs + public sealed class AppV2State : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -423,5 +422,6 @@ public InputMap Labels public AppV2State() { } + public static new AppV2State Empty => new AppV2State(); } } diff --git a/sdk/dotnet/AuthConfigActiveDirectory.cs b/sdk/dotnet/AuthConfigActiveDirectory.cs index 472724b03..200c74603 100644 --- a/sdk/dotnet/AuthConfigActiveDirectory.cs +++ b/sdk/dotnet/AuthConfigActiveDirectory.cs @@ -15,7 +15,7 @@ namespace Pulumi.Rancher2 /// In addition to the built-in local auth, only one external auth config provider can be enabled at a time. /// [Rancher2ResourceType("rancher2:index/authConfigActiveDirectory:AuthConfigActiveDirectory")] - public partial class AuthConfigActiveDirectory : Pulumi.CustomResource + public partial class AuthConfigActiveDirectory : global::Pulumi.CustomResource { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -252,7 +252,14 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new Pulumi.Alias { Type = "rancher2:index/activeDirectory:ActiveDirectory"}, + new global::Pulumi.Alias { Type = "rancher2:index/activeDirectory:ActiveDirectory"}, + }, + AdditionalSecretOutputs = + { + "certificate", + "serviceAccountPassword", + "serviceAccountUsername", + "testPassword", }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -275,7 +282,7 @@ public static AuthConfigActiveDirectory Get(string name, Input id, AuthC } } - public sealed class AuthConfigActiveDirectoryArgs : Pulumi.ResourceArgs + public sealed class AuthConfigActiveDirectoryArgs : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -307,11 +314,21 @@ public InputMap Annotations set => _annotations = value; } + [Input("certificate")] + private Input? _certificate; + /// /// CA certificate for TLS if selfsigned (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// ActiveDirectory connection timeout. Default `5000` (int) @@ -415,17 +432,37 @@ public InputList Servers set => _servers = value; } + [Input("serviceAccountPassword", required: true)] + private Input? _serviceAccountPassword; + /// /// Service account password for access ActiveDirectory service (string) /// - [Input("serviceAccountPassword", required: true)] - public Input ServiceAccountPassword { get; set; } = null!; + public Input? ServiceAccountPassword + { + get => _serviceAccountPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("serviceAccountUsername", required: true)] + private Input? _serviceAccountUsername; /// /// Service account DN for access ActiveDirectory service (string) /// - [Input("serviceAccountUsername", required: true)] - public Input ServiceAccountUsername { get; set; } = null!; + public Input? ServiceAccountUsername + { + get => _serviceAccountUsername; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountUsername = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable start TLS connection (bool) @@ -433,11 +470,21 @@ public InputList Servers [Input("startTls")] public Input? StartTls { get; set; } + [Input("testPassword", required: true)] + private Input? _testPassword; + /// /// Password for test access to ActiveDirectory service (string) /// - [Input("testPassword", required: true)] - public Input TestPassword { get; set; } = null!; + public Input? TestPassword + { + get => _testPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _testPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Username for test access to ActiveDirectory service (string) @@ -502,9 +549,10 @@ public InputList Servers public AuthConfigActiveDirectoryArgs() { } + public static new AuthConfigActiveDirectoryArgs Empty => new AuthConfigActiveDirectoryArgs(); } - public sealed class AuthConfigActiveDirectoryState : Pulumi.ResourceArgs + public sealed class AuthConfigActiveDirectoryState : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -536,11 +584,21 @@ public InputMap Annotations set => _annotations = value; } + [Input("certificate")] + private Input? _certificate; + /// /// CA certificate for TLS if selfsigned (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// ActiveDirectory connection timeout. Default `5000` (int) @@ -650,17 +708,37 @@ public InputList Servers set => _servers = value; } + [Input("serviceAccountPassword")] + private Input? _serviceAccountPassword; + /// /// Service account password for access ActiveDirectory service (string) /// - [Input("serviceAccountPassword")] - public Input? ServiceAccountPassword { get; set; } + public Input? ServiceAccountPassword + { + get => _serviceAccountPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("serviceAccountUsername")] + private Input? _serviceAccountUsername; /// /// Service account DN for access ActiveDirectory service (string) /// - [Input("serviceAccountUsername")] - public Input? ServiceAccountUsername { get; set; } + public Input? ServiceAccountUsername + { + get => _serviceAccountUsername; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountUsername = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable start TLS connection (bool) @@ -668,11 +746,21 @@ public InputList Servers [Input("startTls")] public Input? StartTls { get; set; } + [Input("testPassword")] + private Input? _testPassword; + /// /// Password for test access to ActiveDirectory service (string) /// - [Input("testPassword")] - public Input? TestPassword { get; set; } + public Input? TestPassword + { + get => _testPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _testPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Username for test access to ActiveDirectory service (string) @@ -743,5 +831,6 @@ public InputList Servers public AuthConfigActiveDirectoryState() { } + public static new AuthConfigActiveDirectoryState Empty => new AuthConfigActiveDirectoryState(); } } diff --git a/sdk/dotnet/AuthConfigAdfs.cs b/sdk/dotnet/AuthConfigAdfs.cs index d3dd6dda5..719333487 100644 --- a/sdk/dotnet/AuthConfigAdfs.cs +++ b/sdk/dotnet/AuthConfigAdfs.cs @@ -17,32 +17,30 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Auth Config ADFS + /// var adfs = new Rancher2.AuthConfigAdfs("adfs", new() /// { - /// // Create a new rancher2 Auth Config ADFS - /// var adfs = new Rancher2.AuthConfigAdfs("adfs", new Rancher2.AuthConfigAdfsArgs - /// { - /// DisplayNameField = "<DISPLAY_NAME_FIELD>", - /// GroupsField = "<GROUPS_FIELD>", - /// IdpMetadataContent = "<IDP_METADATA_CONTENT>", - /// RancherApiHost = "https://<RANCHER_API_HOST>", - /// SpCert = "<SP_CERT>", - /// SpKey = "<SP_KEY>", - /// UidField = "<UID_FIELD>", - /// UserNameField = "<USER_NAME_FIELD>", - /// }); - /// } + /// DisplayNameField = "<DISPLAY_NAME_FIELD>", + /// GroupsField = "<GROUPS_FIELD>", + /// IdpMetadataContent = "<IDP_METADATA_CONTENT>", + /// RancherApiHost = "https://<RANCHER_API_HOST>", + /// SpCert = "<SP_CERT>", + /// SpKey = "<SP_KEY>", + /// UidField = "<UID_FIELD>", + /// UserNameField = "<USER_NAME_FIELD>", + /// }); /// - /// } + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/authConfigAdfs:AuthConfigAdfs")] - public partial class AuthConfigAdfs : Pulumi.CustomResource + public partial class AuthConfigAdfs : global::Pulumi.CustomResource { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -157,6 +155,12 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "idpMetadataContent", + "spCert", + "spKey", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -178,7 +182,7 @@ public static AuthConfigAdfs Get(string name, Input id, AuthConfigAdfsSt } } - public sealed class AuthConfigAdfsArgs : Pulumi.ResourceArgs + public sealed class AuthConfigAdfsArgs : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -228,11 +232,21 @@ public InputMap Annotations [Input("groupsField", required: true)] public Input GroupsField { get; set; } = null!; + [Input("idpMetadataContent", required: true)] + private Input? _idpMetadataContent; + /// /// ADFS IDP metadata content (string) /// - [Input("idpMetadataContent", required: true)] - public Input IdpMetadataContent { get; set; } = null!; + public Input? IdpMetadataContent + { + get => _idpMetadataContent; + set + { + var emptySecret = Output.CreateSecret(0); + _idpMetadataContent = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -252,17 +266,37 @@ public InputMap Labels [Input("rancherApiHost", required: true)] public Input RancherApiHost { get; set; } = null!; + [Input("spCert", required: true)] + private Input? _spCert; + /// /// ADFS SP cert (string) /// - [Input("spCert", required: true)] - public Input SpCert { get; set; } = null!; + public Input? SpCert + { + get => _spCert; + set + { + var emptySecret = Output.CreateSecret(0); + _spCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("spKey", required: true)] + private Input? _spKey; /// /// ADFS SP key (string) /// - [Input("spKey", required: true)] - public Input SpKey { get; set; } = null!; + public Input? SpKey + { + get => _spKey; + set + { + var emptySecret = Output.CreateSecret(0); + _spKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// ADFS UID field (string) @@ -279,9 +313,10 @@ public InputMap Labels public AuthConfigAdfsArgs() { } + public static new AuthConfigAdfsArgs Empty => new AuthConfigAdfsArgs(); } - public sealed class AuthConfigAdfsState : Pulumi.ResourceArgs + public sealed class AuthConfigAdfsState : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -331,11 +366,21 @@ public InputMap Annotations [Input("groupsField")] public Input? GroupsField { get; set; } + [Input("idpMetadataContent")] + private Input? _idpMetadataContent; + /// /// ADFS IDP metadata content (string) /// - [Input("idpMetadataContent")] - public Input? IdpMetadataContent { get; set; } + public Input? IdpMetadataContent + { + get => _idpMetadataContent; + set + { + var emptySecret = Output.CreateSecret(0); + _idpMetadataContent = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -361,17 +406,37 @@ public InputMap Labels [Input("rancherApiHost")] public Input? RancherApiHost { get; set; } + [Input("spCert")] + private Input? _spCert; + /// /// ADFS SP cert (string) /// - [Input("spCert")] - public Input? SpCert { get; set; } + public Input? SpCert + { + get => _spCert; + set + { + var emptySecret = Output.CreateSecret(0); + _spCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("spKey")] + private Input? _spKey; /// /// ADFS SP key (string) /// - [Input("spKey")] - public Input? SpKey { get; set; } + public Input? SpKey + { + get => _spKey; + set + { + var emptySecret = Output.CreateSecret(0); + _spKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (Computed) The type of the resource (string) @@ -394,5 +459,6 @@ public InputMap Labels public AuthConfigAdfsState() { } + public static new AuthConfigAdfsState Empty => new AuthConfigAdfsState(); } } diff --git a/sdk/dotnet/AuthConfigAzureAd.cs b/sdk/dotnet/AuthConfigAzureAd.cs index 37c52f8bd..06da4f868 100644 --- a/sdk/dotnet/AuthConfigAzureAd.cs +++ b/sdk/dotnet/AuthConfigAzureAd.cs @@ -10,38 +10,32 @@ namespace Pulumi.Rancher2 { /// - /// Provides a Rancher v2 Auth Config AzureAD resource. This can be used to configure and enable Auth Config AzureAD for Rancher v2 RKE clusters and retrieve their information. - /// - /// In addition to the built-in local auth, only one external auth config provider can be enabled at a time. - /// /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Auth Config AzureAD + /// var azuread = new Rancher2.AuthConfigAzureAd("azuread", new() /// { - /// // Create a new rancher2 Auth Config AzureAD - /// var azuread = new Rancher2.AuthConfigAzureAd("azuread", new Rancher2.AuthConfigAzureAdArgs - /// { - /// ApplicationId = "<AZUREAD_APP_ID>", - /// ApplicationSecret = "<AZUREAD_APP_SECRET>", - /// AuthEndpoint = "<AZUREAD_AUTH_ENDPOINT>", - /// GraphEndpoint = "<AZUREAD_GRAPH_ENDPOINT>", - /// RancherUrl = "<RANCHER_URL>", - /// TenantId = "<AZUREAD_TENANT_ID>", - /// TokenEndpoint = "<AZUREAD_TOKEN_ENDPOINT>", - /// }); - /// } + /// ApplicationId = "<AZUREAD_APP_ID>", + /// ApplicationSecret = "<AZUREAD_APP_SECRET>", + /// AuthEndpoint = "<AZUREAD_AUTH_ENDPOINT>", + /// GraphEndpoint = "<AZUREAD_GRAPH_ENDPOINT>", + /// RancherUrl = "<RANCHER_URL>", + /// TenantId = "<AZUREAD_TENANT_ID>", + /// TokenEndpoint = "<AZUREAD_TOKEN_ENDPOINT>", + /// }); /// - /// } + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/authConfigAzureAd:AuthConfigAzureAd")] - public partial class AuthConfigAzureAd : Pulumi.CustomResource + public partial class AuthConfigAzureAd : global::Pulumi.CustomResource { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -156,6 +150,11 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "applicationId", + "applicationSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -177,7 +176,7 @@ public static AuthConfigAzureAd Get(string name, Input id, AuthConfigAzu } } - public sealed class AuthConfigAzureAdArgs : Pulumi.ResourceArgs + public sealed class AuthConfigAzureAdArgs : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -209,17 +208,37 @@ public InputMap Annotations set => _annotations = value; } + [Input("applicationId", required: true)] + private Input? _applicationId; + /// /// AzureAD auth application ID (string) /// - [Input("applicationId", required: true)] - public Input ApplicationId { get; set; } = null!; + public Input? ApplicationId + { + get => _applicationId; + set + { + var emptySecret = Output.CreateSecret(0); + _applicationId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("applicationSecret", required: true)] + private Input? _applicationSecret; /// /// AzureAD auth application secret (string) /// - [Input("applicationSecret", required: true)] - public Input ApplicationSecret { get; set; } = null!; + public Input? ApplicationSecret + { + get => _applicationSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _applicationSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AzureAD auth endpoint (string) @@ -278,9 +297,10 @@ public InputMap Labels public AuthConfigAzureAdArgs() { } + public static new AuthConfigAzureAdArgs Empty => new AuthConfigAzureAdArgs(); } - public sealed class AuthConfigAzureAdState : Pulumi.ResourceArgs + public sealed class AuthConfigAzureAdState : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -312,17 +332,37 @@ public InputMap Annotations set => _annotations = value; } + [Input("applicationId")] + private Input? _applicationId; + /// /// AzureAD auth application ID (string) /// - [Input("applicationId")] - public Input? ApplicationId { get; set; } + public Input? ApplicationId + { + get => _applicationId; + set + { + var emptySecret = Output.CreateSecret(0); + _applicationId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("applicationSecret")] + private Input? _applicationSecret; /// /// AzureAD auth application secret (string) /// - [Input("applicationSecret")] - public Input? ApplicationSecret { get; set; } + public Input? ApplicationSecret + { + get => _applicationSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _applicationSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AzureAD auth endpoint (string) @@ -393,5 +433,6 @@ public InputMap Labels public AuthConfigAzureAdState() { } + public static new AuthConfigAzureAdState Empty => new AuthConfigAzureAdState(); } } diff --git a/sdk/dotnet/AuthConfigFreeIpa.cs b/sdk/dotnet/AuthConfigFreeIpa.cs index e7796210d..327ce13e5 100644 --- a/sdk/dotnet/AuthConfigFreeIpa.cs +++ b/sdk/dotnet/AuthConfigFreeIpa.cs @@ -15,7 +15,7 @@ namespace Pulumi.Rancher2 /// In addition to the built-in local auth, only one external auth config provider can be enabled at a time. /// [Rancher2ResourceType("rancher2:index/authConfigFreeIpa:AuthConfigFreeIpa")] - public partial class AuthConfigFreeIpa : Pulumi.CustomResource + public partial class AuthConfigFreeIpa : global::Pulumi.CustomResource { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -232,6 +232,13 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "certificate", + "serviceAccountDistinguishedName", + "serviceAccountPassword", + "testPassword", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -253,7 +260,7 @@ public static AuthConfigFreeIpa Get(string name, Input id, AuthConfigFre } } - public sealed class AuthConfigFreeIpaArgs : Pulumi.ResourceArgs + public sealed class AuthConfigFreeIpaArgs : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -285,11 +292,21 @@ public InputMap Annotations set => _annotations = value; } + [Input("certificate")] + private Input? _certificate; + /// /// Base64 encoded CA certificate for TLS if self-signed. Use filebase64(<FILE>) for encoding file (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// FreeIpa connection timeout. Default `5000` (int) @@ -381,23 +398,53 @@ public InputList Servers set => _servers = value; } + [Input("serviceAccountDistinguishedName", required: true)] + private Input? _serviceAccountDistinguishedName; + /// /// Service account DN for access FreeIpa service (string) /// - [Input("serviceAccountDistinguishedName", required: true)] - public Input ServiceAccountDistinguishedName { get; set; } = null!; + public Input? ServiceAccountDistinguishedName + { + get => _serviceAccountDistinguishedName; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountDistinguishedName = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("serviceAccountPassword", required: true)] + private Input? _serviceAccountPassword; /// /// Service account password for access FreeIpa service (string) /// - [Input("serviceAccountPassword", required: true)] - public Input ServiceAccountPassword { get; set; } = null!; + public Input? ServiceAccountPassword + { + get => _serviceAccountPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("testPassword", required: true)] + private Input? _testPassword; /// /// Password for test access to FreeIpa service (string) /// - [Input("testPassword", required: true)] - public Input TestPassword { get; set; } = null!; + public Input? TestPassword + { + get => _testPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _testPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Username for test access to FreeIpa service (string) @@ -462,9 +509,10 @@ public InputList Servers public AuthConfigFreeIpaArgs() { } + public static new AuthConfigFreeIpaArgs Empty => new AuthConfigFreeIpaArgs(); } - public sealed class AuthConfigFreeIpaState : Pulumi.ResourceArgs + public sealed class AuthConfigFreeIpaState : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -496,11 +544,21 @@ public InputMap Annotations set => _annotations = value; } + [Input("certificate")] + private Input? _certificate; + /// /// Base64 encoded CA certificate for TLS if self-signed. Use filebase64(<FILE>) for encoding file (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// FreeIpa connection timeout. Default `5000` (int) @@ -598,23 +656,53 @@ public InputList Servers set => _servers = value; } + [Input("serviceAccountDistinguishedName")] + private Input? _serviceAccountDistinguishedName; + /// /// Service account DN for access FreeIpa service (string) /// - [Input("serviceAccountDistinguishedName")] - public Input? ServiceAccountDistinguishedName { get; set; } + public Input? ServiceAccountDistinguishedName + { + get => _serviceAccountDistinguishedName; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountDistinguishedName = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("serviceAccountPassword")] + private Input? _serviceAccountPassword; /// /// Service account password for access FreeIpa service (string) /// - [Input("serviceAccountPassword")] - public Input? ServiceAccountPassword { get; set; } + public Input? ServiceAccountPassword + { + get => _serviceAccountPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("testPassword")] + private Input? _testPassword; /// /// Password for test access to FreeIpa service (string) /// - [Input("testPassword")] - public Input? TestPassword { get; set; } + public Input? TestPassword + { + get => _testPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _testPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Username for test access to FreeIpa service (string) @@ -685,5 +773,6 @@ public InputList Servers public AuthConfigFreeIpaState() { } + public static new AuthConfigFreeIpaState Empty => new AuthConfigFreeIpaState(); } } diff --git a/sdk/dotnet/AuthConfigGithub.cs b/sdk/dotnet/AuthConfigGithub.cs index bb8983437..c33ca75c9 100644 --- a/sdk/dotnet/AuthConfigGithub.cs +++ b/sdk/dotnet/AuthConfigGithub.cs @@ -17,26 +17,24 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Auth Config Github + /// var github = new Rancher2.AuthConfigGithub("github", new() /// { - /// // Create a new rancher2 Auth Config Github - /// var github = new Rancher2.AuthConfigGithub("github", new Rancher2.AuthConfigGithubArgs - /// { - /// ClientId = "<GITHUB_CLIENT_ID>", - /// ClientSecret = "<GITHUB_CLIENT_SECRET>", - /// }); - /// } + /// ClientId = "<GITHUB_CLIENT_ID>", + /// ClientSecret = "<GITHUB_CLIENT_SECRET>", + /// }); /// - /// } + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/authConfigGithub:AuthConfigGithub")] - public partial class AuthConfigGithub : Pulumi.CustomResource + public partial class AuthConfigGithub : global::Pulumi.CustomResource { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -127,6 +125,11 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "clientId", + "clientSecret", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -148,7 +151,7 @@ public static AuthConfigGithub Get(string name, Input id, AuthConfigGith } } - public sealed class AuthConfigGithubArgs : Pulumi.ResourceArgs + public sealed class AuthConfigGithubArgs : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -180,17 +183,37 @@ public InputMap Annotations set => _annotations = value; } + [Input("clientId", required: true)] + private Input? _clientId; + /// /// Github auth Client ID (string) /// - [Input("clientId", required: true)] - public Input ClientId { get; set; } = null!; + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret", required: true)] + private Input? _clientSecret; /// /// Github auth Client secret (string) /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable auth config provider. Default `true` (bool) @@ -225,9 +248,10 @@ public InputMap Labels public AuthConfigGithubArgs() { } + public static new AuthConfigGithubArgs Empty => new AuthConfigGithubArgs(); } - public sealed class AuthConfigGithubState : Pulumi.ResourceArgs + public sealed class AuthConfigGithubState : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -259,17 +283,37 @@ public InputMap Annotations set => _annotations = value; } + [Input("clientId")] + private Input? _clientId; + /// /// Github auth Client ID (string) /// - [Input("clientId")] - public Input? ClientId { get; set; } + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret")] + private Input? _clientSecret; /// /// Github auth Client secret (string) /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable auth config provider. Default `true` (bool) @@ -316,5 +360,6 @@ public InputMap Labels public AuthConfigGithubState() { } + public static new AuthConfigGithubState Empty => new AuthConfigGithubState(); } } diff --git a/sdk/dotnet/AuthConfigKeycloak.cs b/sdk/dotnet/AuthConfigKeycloak.cs index 84d123a8a..74ea924f4 100644 --- a/sdk/dotnet/AuthConfigKeycloak.cs +++ b/sdk/dotnet/AuthConfigKeycloak.cs @@ -17,32 +17,30 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Auth Config KeyCloak + /// var keycloak = new Rancher2.AuthConfigKeycloak("keycloak", new() /// { - /// // Create a new rancher2 Auth Config KeyCloak - /// var keycloak = new Rancher2.AuthConfigKeycloak("keycloak", new Rancher2.AuthConfigKeycloakArgs - /// { - /// DisplayNameField = "<DISPLAY_NAME_FIELD>", - /// GroupsField = "<GROUPS_FIELD>", - /// IdpMetadataContent = "<IDP_METADATA_CONTENT>", - /// RancherApiHost = "https://<RANCHER_API_HOST>", - /// SpCert = "<SP_CERT>", - /// SpKey = "<SP_KEY>", - /// UidField = "<UID_FIELD>", - /// UserNameField = "<USER_NAME_FIELD>", - /// }); - /// } + /// DisplayNameField = "<DISPLAY_NAME_FIELD>", + /// GroupsField = "<GROUPS_FIELD>", + /// IdpMetadataContent = "<IDP_METADATA_CONTENT>", + /// RancherApiHost = "https://<RANCHER_API_HOST>", + /// SpCert = "<SP_CERT>", + /// SpKey = "<SP_KEY>", + /// UidField = "<UID_FIELD>", + /// UserNameField = "<USER_NAME_FIELD>", + /// }); /// - /// } + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/authConfigKeycloak:AuthConfigKeycloak")] - public partial class AuthConfigKeycloak : Pulumi.CustomResource + public partial class AuthConfigKeycloak : global::Pulumi.CustomResource { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -163,6 +161,12 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "idpMetadataContent", + "spCert", + "spKey", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -184,7 +188,7 @@ public static AuthConfigKeycloak Get(string name, Input id, AuthConfigKe } } - public sealed class AuthConfigKeycloakArgs : Pulumi.ResourceArgs + public sealed class AuthConfigKeycloakArgs : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -240,11 +244,21 @@ public InputMap Annotations [Input("groupsField", required: true)] public Input GroupsField { get; set; } = null!; + [Input("idpMetadataContent", required: true)] + private Input? _idpMetadataContent; + /// /// KeyCloak IDP metadata content (string) /// - [Input("idpMetadataContent", required: true)] - public Input IdpMetadataContent { get; set; } = null!; + public Input? IdpMetadataContent + { + get => _idpMetadataContent; + set + { + var emptySecret = Output.CreateSecret(0); + _idpMetadataContent = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -264,17 +278,37 @@ public InputMap Labels [Input("rancherApiHost", required: true)] public Input RancherApiHost { get; set; } = null!; + [Input("spCert", required: true)] + private Input? _spCert; + /// /// KeyCloak SP cert (string) /// - [Input("spCert", required: true)] - public Input SpCert { get; set; } = null!; + public Input? SpCert + { + get => _spCert; + set + { + var emptySecret = Output.CreateSecret(0); + _spCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("spKey", required: true)] + private Input? _spKey; /// /// KeyCloak SP key (string) /// - [Input("spKey", required: true)] - public Input SpKey { get; set; } = null!; + public Input? SpKey + { + get => _spKey; + set + { + var emptySecret = Output.CreateSecret(0); + _spKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// KeyCloak UID field (string) @@ -291,9 +325,10 @@ public InputMap Labels public AuthConfigKeycloakArgs() { } + public static new AuthConfigKeycloakArgs Empty => new AuthConfigKeycloakArgs(); } - public sealed class AuthConfigKeycloakState : Pulumi.ResourceArgs + public sealed class AuthConfigKeycloakState : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -349,11 +384,21 @@ public InputMap Annotations [Input("groupsField")] public Input? GroupsField { get; set; } + [Input("idpMetadataContent")] + private Input? _idpMetadataContent; + /// /// KeyCloak IDP metadata content (string) /// - [Input("idpMetadataContent")] - public Input? IdpMetadataContent { get; set; } + public Input? IdpMetadataContent + { + get => _idpMetadataContent; + set + { + var emptySecret = Output.CreateSecret(0); + _idpMetadataContent = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -379,17 +424,37 @@ public InputMap Labels [Input("rancherApiHost")] public Input? RancherApiHost { get; set; } + [Input("spCert")] + private Input? _spCert; + /// /// KeyCloak SP cert (string) /// - [Input("spCert")] - public Input? SpCert { get; set; } + public Input? SpCert + { + get => _spCert; + set + { + var emptySecret = Output.CreateSecret(0); + _spCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("spKey")] + private Input? _spKey; /// /// KeyCloak SP key (string) /// - [Input("spKey")] - public Input? SpKey { get; set; } + public Input? SpKey + { + get => _spKey; + set + { + var emptySecret = Output.CreateSecret(0); + _spKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (Computed) The type of the resource (string) @@ -412,5 +477,6 @@ public InputMap Labels public AuthConfigKeycloakState() { } + public static new AuthConfigKeycloakState Empty => new AuthConfigKeycloakState(); } } diff --git a/sdk/dotnet/AuthConfigOkta.cs b/sdk/dotnet/AuthConfigOkta.cs index 91cfe2608..99270d127 100644 --- a/sdk/dotnet/AuthConfigOkta.cs +++ b/sdk/dotnet/AuthConfigOkta.cs @@ -17,32 +17,30 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Auth Config OKTA + /// var okta = new Rancher2.AuthConfigOkta("okta", new() /// { - /// // Create a new rancher2 Auth Config OKTA - /// var okta = new Rancher2.AuthConfigOkta("okta", new Rancher2.AuthConfigOktaArgs - /// { - /// DisplayNameField = "<DISPLAY_NAME_FIELD>", - /// GroupsField = "<GROUPS_FIELD>", - /// IdpMetadataContent = "<IDP_METADATA_CONTENT>", - /// RancherApiHost = "https://<RANCHER_API_HOST>", - /// SpCert = "<SP_CERT>", - /// SpKey = "<SP_KEY>", - /// UidField = "<UID_FIELD>", - /// UserNameField = "<USER_NAME_FIELD>", - /// }); - /// } + /// DisplayNameField = "<DISPLAY_NAME_FIELD>", + /// GroupsField = "<GROUPS_FIELD>", + /// IdpMetadataContent = "<IDP_METADATA_CONTENT>", + /// RancherApiHost = "https://<RANCHER_API_HOST>", + /// SpCert = "<SP_CERT>", + /// SpKey = "<SP_KEY>", + /// UidField = "<UID_FIELD>", + /// UserNameField = "<USER_NAME_FIELD>", + /// }); /// - /// } + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/authConfigOkta:AuthConfigOkta")] - public partial class AuthConfigOkta : Pulumi.CustomResource + public partial class AuthConfigOkta : global::Pulumi.CustomResource { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -157,6 +155,12 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "idpMetadataContent", + "spCert", + "spKey", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -178,7 +182,7 @@ public static AuthConfigOkta Get(string name, Input id, AuthConfigOktaSt } } - public sealed class AuthConfigOktaArgs : Pulumi.ResourceArgs + public sealed class AuthConfigOktaArgs : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -228,11 +232,21 @@ public InputMap Annotations [Input("groupsField", required: true)] public Input GroupsField { get; set; } = null!; + [Input("idpMetadataContent", required: true)] + private Input? _idpMetadataContent; + /// /// OKTA IDP metadata content (string) /// - [Input("idpMetadataContent", required: true)] - public Input IdpMetadataContent { get; set; } = null!; + public Input? IdpMetadataContent + { + get => _idpMetadataContent; + set + { + var emptySecret = Output.CreateSecret(0); + _idpMetadataContent = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -252,17 +266,37 @@ public InputMap Labels [Input("rancherApiHost", required: true)] public Input RancherApiHost { get; set; } = null!; + [Input("spCert", required: true)] + private Input? _spCert; + /// /// OKTA SP cert (string) /// - [Input("spCert", required: true)] - public Input SpCert { get; set; } = null!; + public Input? SpCert + { + get => _spCert; + set + { + var emptySecret = Output.CreateSecret(0); + _spCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("spKey", required: true)] + private Input? _spKey; /// /// OKTA SP key (string) /// - [Input("spKey", required: true)] - public Input SpKey { get; set; } = null!; + public Input? SpKey + { + get => _spKey; + set + { + var emptySecret = Output.CreateSecret(0); + _spKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// OKTA UID field (string) @@ -279,9 +313,10 @@ public InputMap Labels public AuthConfigOktaArgs() { } + public static new AuthConfigOktaArgs Empty => new AuthConfigOktaArgs(); } - public sealed class AuthConfigOktaState : Pulumi.ResourceArgs + public sealed class AuthConfigOktaState : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -331,11 +366,21 @@ public InputMap Annotations [Input("groupsField")] public Input? GroupsField { get; set; } + [Input("idpMetadataContent")] + private Input? _idpMetadataContent; + /// /// OKTA IDP metadata content (string) /// - [Input("idpMetadataContent")] - public Input? IdpMetadataContent { get; set; } + public Input? IdpMetadataContent + { + get => _idpMetadataContent; + set + { + var emptySecret = Output.CreateSecret(0); + _idpMetadataContent = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -361,17 +406,37 @@ public InputMap Labels [Input("rancherApiHost")] public Input? RancherApiHost { get; set; } + [Input("spCert")] + private Input? _spCert; + /// /// OKTA SP cert (string) /// - [Input("spCert")] - public Input? SpCert { get; set; } + public Input? SpCert + { + get => _spCert; + set + { + var emptySecret = Output.CreateSecret(0); + _spCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("spKey")] + private Input? _spKey; /// /// OKTA SP key (string) /// - [Input("spKey")] - public Input? SpKey { get; set; } + public Input? SpKey + { + get => _spKey; + set + { + var emptySecret = Output.CreateSecret(0); + _spKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (Computed) The type of the resource (string) @@ -394,5 +459,6 @@ public InputMap Labels public AuthConfigOktaState() { } + public static new AuthConfigOktaState Empty => new AuthConfigOktaState(); } } diff --git a/sdk/dotnet/AuthConfigOpenLdap.cs b/sdk/dotnet/AuthConfigOpenLdap.cs index 4ef380fe9..8f9ff3f2f 100644 --- a/sdk/dotnet/AuthConfigOpenLdap.cs +++ b/sdk/dotnet/AuthConfigOpenLdap.cs @@ -15,7 +15,7 @@ namespace Pulumi.Rancher2 /// In addition to the built-in local auth, only one external auth config provider can be enabled at a time. /// [Rancher2ResourceType("rancher2:index/authConfigOpenLdap:AuthConfigOpenLdap")] - public partial class AuthConfigOpenLdap : Pulumi.CustomResource + public partial class AuthConfigOpenLdap : global::Pulumi.CustomResource { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -232,6 +232,13 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "certificate", + "serviceAccountDistinguishedName", + "serviceAccountPassword", + "testPassword", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -253,7 +260,7 @@ public static AuthConfigOpenLdap Get(string name, Input id, AuthConfigOp } } - public sealed class AuthConfigOpenLdapArgs : Pulumi.ResourceArgs + public sealed class AuthConfigOpenLdapArgs : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -285,11 +292,21 @@ public InputMap Annotations set => _annotations = value; } + [Input("certificate")] + private Input? _certificate; + /// /// Base64 encoded CA certificate for TLS if self-signed. Use filebase64(<FILE>) for encoding file (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// OpenLdap connection timeout. Default `5000` (int) @@ -381,23 +398,53 @@ public InputList Servers set => _servers = value; } + [Input("serviceAccountDistinguishedName", required: true)] + private Input? _serviceAccountDistinguishedName; + /// /// Service account DN for access OpenLdap service (string) /// - [Input("serviceAccountDistinguishedName", required: true)] - public Input ServiceAccountDistinguishedName { get; set; } = null!; + public Input? ServiceAccountDistinguishedName + { + get => _serviceAccountDistinguishedName; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountDistinguishedName = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("serviceAccountPassword", required: true)] + private Input? _serviceAccountPassword; /// /// Service account password for access OpenLdap service (string) /// - [Input("serviceAccountPassword", required: true)] - public Input ServiceAccountPassword { get; set; } = null!; + public Input? ServiceAccountPassword + { + get => _serviceAccountPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("testPassword", required: true)] + private Input? _testPassword; /// /// Password for test access to OpenLdap service (string) /// - [Input("testPassword", required: true)] - public Input TestPassword { get; set; } = null!; + public Input? TestPassword + { + get => _testPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _testPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Username for test access to OpenLdap service (string) @@ -462,9 +509,10 @@ public InputList Servers public AuthConfigOpenLdapArgs() { } + public static new AuthConfigOpenLdapArgs Empty => new AuthConfigOpenLdapArgs(); } - public sealed class AuthConfigOpenLdapState : Pulumi.ResourceArgs + public sealed class AuthConfigOpenLdapState : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -496,11 +544,21 @@ public InputMap Annotations set => _annotations = value; } + [Input("certificate")] + private Input? _certificate; + /// /// Base64 encoded CA certificate for TLS if self-signed. Use filebase64(<FILE>) for encoding file (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// OpenLdap connection timeout. Default `5000` (int) @@ -598,23 +656,53 @@ public InputList Servers set => _servers = value; } + [Input("serviceAccountDistinguishedName")] + private Input? _serviceAccountDistinguishedName; + /// /// Service account DN for access OpenLdap service (string) /// - [Input("serviceAccountDistinguishedName")] - public Input? ServiceAccountDistinguishedName { get; set; } + public Input? ServiceAccountDistinguishedName + { + get => _serviceAccountDistinguishedName; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountDistinguishedName = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("serviceAccountPassword")] + private Input? _serviceAccountPassword; /// /// Service account password for access OpenLdap service (string) /// - [Input("serviceAccountPassword")] - public Input? ServiceAccountPassword { get; set; } + public Input? ServiceAccountPassword + { + get => _serviceAccountPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _serviceAccountPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("testPassword")] + private Input? _testPassword; /// /// Password for test access to OpenLdap service (string) /// - [Input("testPassword")] - public Input? TestPassword { get; set; } + public Input? TestPassword + { + get => _testPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _testPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Username for test access to OpenLdap service (string) @@ -685,5 +773,6 @@ public InputList Servers public AuthConfigOpenLdapState() { } + public static new AuthConfigOpenLdapState Empty => new AuthConfigOpenLdapState(); } } diff --git a/sdk/dotnet/AuthConfigPing.cs b/sdk/dotnet/AuthConfigPing.cs index 37af36daa..c2904d897 100644 --- a/sdk/dotnet/AuthConfigPing.cs +++ b/sdk/dotnet/AuthConfigPing.cs @@ -17,32 +17,30 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Auth Config Ping + /// var ping = new Rancher2.AuthConfigPing("ping", new() /// { - /// // Create a new rancher2 Auth Config Ping - /// var ping = new Rancher2.AuthConfigPing("ping", new Rancher2.AuthConfigPingArgs - /// { - /// DisplayNameField = "<DISPLAY_NAME_FIELD>", - /// GroupsField = "<GROUPS_FIELD>", - /// IdpMetadataContent = "<IDP_METADATA_CONTENT>", - /// RancherApiHost = "https://<RANCHER_API_HOST>", - /// SpCert = "<SP_CERT>", - /// SpKey = "<SP_KEY>", - /// UidField = "<UID_FIELD>", - /// UserNameField = "<USER_NAME_FIELD>", - /// }); - /// } + /// DisplayNameField = "<DISPLAY_NAME_FIELD>", + /// GroupsField = "<GROUPS_FIELD>", + /// IdpMetadataContent = "<IDP_METADATA_CONTENT>", + /// RancherApiHost = "https://<RANCHER_API_HOST>", + /// SpCert = "<SP_CERT>", + /// SpKey = "<SP_KEY>", + /// UidField = "<UID_FIELD>", + /// UserNameField = "<USER_NAME_FIELD>", + /// }); /// - /// } + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/authConfigPing:AuthConfigPing")] - public partial class AuthConfigPing : Pulumi.CustomResource + public partial class AuthConfigPing : global::Pulumi.CustomResource { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -157,6 +155,12 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "idpMetadataContent", + "spCert", + "spKey", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -178,7 +182,7 @@ public static AuthConfigPing Get(string name, Input id, AuthConfigPingSt } } - public sealed class AuthConfigPingArgs : Pulumi.ResourceArgs + public sealed class AuthConfigPingArgs : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -228,11 +232,21 @@ public InputMap Annotations [Input("groupsField", required: true)] public Input GroupsField { get; set; } = null!; + [Input("idpMetadataContent", required: true)] + private Input? _idpMetadataContent; + /// /// Ping IDP metadata content (string) /// - [Input("idpMetadataContent", required: true)] - public Input IdpMetadataContent { get; set; } = null!; + public Input? IdpMetadataContent + { + get => _idpMetadataContent; + set + { + var emptySecret = Output.CreateSecret(0); + _idpMetadataContent = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -252,17 +266,37 @@ public InputMap Labels [Input("rancherApiHost", required: true)] public Input RancherApiHost { get; set; } = null!; + [Input("spCert", required: true)] + private Input? _spCert; + /// /// Ping SP cert (string) /// - [Input("spCert", required: true)] - public Input SpCert { get; set; } = null!; + public Input? SpCert + { + get => _spCert; + set + { + var emptySecret = Output.CreateSecret(0); + _spCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("spKey", required: true)] + private Input? _spKey; /// /// Ping SP key (string) /// - [Input("spKey", required: true)] - public Input SpKey { get; set; } = null!; + public Input? SpKey + { + get => _spKey; + set + { + var emptySecret = Output.CreateSecret(0); + _spKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Ping UID field (string) @@ -279,9 +313,10 @@ public InputMap Labels public AuthConfigPingArgs() { } + public static new AuthConfigPingArgs Empty => new AuthConfigPingArgs(); } - public sealed class AuthConfigPingState : Pulumi.ResourceArgs + public sealed class AuthConfigPingState : global::Pulumi.ResourceArgs { /// /// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) @@ -331,11 +366,21 @@ public InputMap Annotations [Input("groupsField")] public Input? GroupsField { get; set; } + [Input("idpMetadataContent")] + private Input? _idpMetadataContent; + /// /// Ping IDP metadata content (string) /// - [Input("idpMetadataContent")] - public Input? IdpMetadataContent { get; set; } + public Input? IdpMetadataContent + { + get => _idpMetadataContent; + set + { + var emptySecret = Output.CreateSecret(0); + _idpMetadataContent = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -361,17 +406,37 @@ public InputMap Labels [Input("rancherApiHost")] public Input? RancherApiHost { get; set; } + [Input("spCert")] + private Input? _spCert; + /// /// Ping SP cert (string) /// - [Input("spCert")] - public Input? SpCert { get; set; } + public Input? SpCert + { + get => _spCert; + set + { + var emptySecret = Output.CreateSecret(0); + _spCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("spKey")] + private Input? _spKey; /// /// Ping SP key (string) /// - [Input("spKey")] - public Input? SpKey { get; set; } + public Input? SpKey + { + get => _spKey; + set + { + var emptySecret = Output.CreateSecret(0); + _spKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (Computed) The type of the resource (string) @@ -394,5 +459,6 @@ public InputMap Labels public AuthConfigPingState() { } + public static new AuthConfigPingState Empty => new AuthConfigPingState(); } } diff --git a/sdk/dotnet/Bootstrap.cs b/sdk/dotnet/Bootstrap.cs index da453d9b7..75b36bee4 100644 --- a/sdk/dotnet/Bootstrap.cs +++ b/sdk/dotnet/Bootstrap.cs @@ -13,74 +13,69 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2_bootstrap + /// var admin = new Rancher2.Bootstrap("admin", new() /// { - /// // Create a new rancher2_bootstrap - /// var admin = new Rancher2.Bootstrap("admin", new Rancher2.BootstrapArgs - /// { - /// Password = "blahblah", - /// Telemetry = true, - /// }); - /// } + /// Password = "blahblah", + /// Telemetry = true, + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2_bootstrap for Rancher v2.6.0 and above + /// var admin = new Rancher2.Bootstrap("admin", new() /// { - /// // Create a new rancher2_bootstrap for Rancher v2.6.0 and above - /// var admin = new Rancher2.Bootstrap("admin", new Rancher2.BootstrapArgs - /// { - /// InitialPassword = "<INSTALL_PASSWORD>", - /// Password = "blahblah", - /// Telemetry = true, - /// }); - /// } + /// InitialPassword = "<INSTALL_PASSWORD>", + /// Password = "blahblah", + /// Telemetry = true, + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Provider bootstrap config with alias + /// var bootstrap = new Rancher2.Provider("bootstrap", new() /// { - /// // Provider bootstrap config with alias - /// var bootstrap = new Rancher2.Provider("bootstrap", new Rancher2.ProviderArgs - /// { - /// ApiUrl = "https://rancher.my-domain.com", - /// Bootstrap = true, - /// }); - /// // Create a new rancher2_bootstrap using bootstrap provider config - /// var admin = new Rancher2.Bootstrap("admin", new Rancher2.BootstrapArgs - /// { - /// Password = "blahblah", - /// Telemetry = true, - /// }, new CustomResourceOptions - /// { - /// Provider = "rancher2.bootstrap", - /// }); - /// } + /// ApiUrl = "https://rancher.my-domain.com", + /// Bootstrap = true, + /// }); /// - /// } + /// // Create a new rancher2_bootstrap using bootstrap provider config + /// var admin = new Rancher2.Bootstrap("admin", new() + /// { + /// Password = "blahblah", + /// Telemetry = true, + /// }, new CustomResourceOptions + /// { + /// Provider = "rancher2.bootstrap", + /// }); + /// + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/bootstrap:Bootstrap")] - public partial class Bootstrap : Pulumi.CustomResource + public partial class Bootstrap : global::Pulumi.CustomResource { /// /// (Computed/Sensitive) Current password for Admin user (string) @@ -183,6 +178,14 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "currentPassword", + "initialPassword", + "password", + "tempToken", + "token", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -204,19 +207,39 @@ public static Bootstrap Get(string name, Input id, BootstrapState? state } } - public sealed class BootstrapArgs : Pulumi.ResourceArgs + public sealed class BootstrapArgs : global::Pulumi.ResourceArgs { + [Input("initialPassword")] + private Input? _initialPassword; + /// /// Initial password for Admin user. Default: `admin` (string) /// - [Input("initialPassword")] - public Input? InitialPassword { get; set; } + public Input? InitialPassword + { + get => _initialPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _initialPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("password")] + private Input? _password; /// /// Password for Admin user or random generated if empty (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Send telemetry anonymous data. Default: `false` (bool) @@ -245,27 +268,58 @@ public sealed class BootstrapArgs : Pulumi.ResourceArgs public BootstrapArgs() { } + public static new BootstrapArgs Empty => new BootstrapArgs(); } - public sealed class BootstrapState : Pulumi.ResourceArgs + public sealed class BootstrapState : global::Pulumi.ResourceArgs { + [Input("currentPassword")] + private Input? _currentPassword; + /// /// (Computed/Sensitive) Current password for Admin user (string) /// - [Input("currentPassword")] - public Input? CurrentPassword { get; set; } + public Input? CurrentPassword + { + get => _currentPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _currentPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("initialPassword")] + private Input? _initialPassword; /// /// Initial password for Admin user. Default: `admin` (string) /// - [Input("initialPassword")] - public Input? InitialPassword { get; set; } + public Input? InitialPassword + { + get => _initialPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _initialPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("password")] + private Input? _password; /// /// Password for Admin user or random generated if empty (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Send telemetry anonymous data. Default: `false` (bool) @@ -273,11 +327,21 @@ public sealed class BootstrapState : Pulumi.ResourceArgs [Input("telemetry")] public Input? Telemetry { get; set; } + [Input("tempToken")] + private Input? _tempToken; + /// /// (Computed) Generated API temporary token as helper. Should be empty (string) /// - [Input("tempToken")] - public Input? TempToken { get; set; } + public Input? TempToken + { + get => _tempToken; + set + { + var emptySecret = Output.CreateSecret(0); + _tempToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (Computed) Generated API temporary token id as helper. Should be empty (string) @@ -285,11 +349,21 @@ public sealed class BootstrapState : Pulumi.ResourceArgs [Input("tempTokenId")] public Input? TempTokenId { get; set; } + [Input("token")] + private Input? _token; + /// /// (Computed) Generated API token for Admin User (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (Computed) Generated API token id for Admin User (string) @@ -330,5 +404,6 @@ public sealed class BootstrapState : Pulumi.ResourceArgs public BootstrapState() { } + public static new BootstrapState Empty => new BootstrapState(); } } diff --git a/sdk/dotnet/Catalog.cs b/sdk/dotnet/Catalog.cs index 89525178c..ce895aa89 100644 --- a/sdk/dotnet/Catalog.cs +++ b/sdk/dotnet/Catalog.cs @@ -15,33 +15,33 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new Rancher2 Global Catalog + /// var foo_global = new Rancher2.Catalog("foo-global", new() /// { - /// // Create a new Rancher2 Global Catalog - /// var foo_global = new Rancher2.Catalog("foo-global", new Rancher2.CatalogArgs - /// { - /// Url = "https://<CATALOG_URL>", - /// }); - /// // Create a new Rancher2 Cluster Catalog - /// var foo_cluster = new Rancher2.Catalog("foo-cluster", new Rancher2.CatalogArgs - /// { - /// Scope = "cluster", - /// Url = "https://<CATALOG_URL>", - /// }); - /// // Create a new Rancher2 Project Catalog - /// var foo_project = new Rancher2.Catalog("foo-project", new Rancher2.CatalogArgs - /// { - /// Scope = "project", - /// Url = "https://<CATALOG_URL>", - /// }); - /// } + /// Url = "https://<CATALOG_URL>", + /// }); /// - /// } + /// // Create a new Rancher2 Cluster Catalog + /// var foo_cluster = new Rancher2.Catalog("foo-cluster", new() + /// { + /// Scope = "cluster", + /// Url = "https://<CATALOG_URL>", + /// }); + /// + /// // Create a new Rancher2 Project Catalog + /// var foo_project = new Rancher2.Catalog("foo-project", new() + /// { + /// Scope = "project", + /// Url = "https://<CATALOG_URL>", + /// }); + /// + /// }); /// ``` /// /// ## Import @@ -53,7 +53,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/catalog:Catalog")] - public partial class Catalog : Pulumi.CustomResource + public partial class Catalog : global::Pulumi.CustomResource { /// /// Annotations for the catalog (map) @@ -162,6 +162,11 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "password", + "username", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -183,7 +188,7 @@ public static Catalog Get(string name, Input id, CatalogState? state = n } } - public sealed class CatalogArgs : Pulumi.ResourceArgs + public sealed class CatalogArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -239,11 +244,21 @@ public InputMap Labels [Input("name")] public Input? Name { get; set; } + [Input("password")] + private Input? _password; + /// /// The password to access the catalog if needed (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The project id of the catalog. Mandatory if `scope = project` (string) @@ -269,11 +284,21 @@ public InputMap Labels [Input("url", required: true)] public Input Url { get; set; } = null!; + [Input("username")] + private Input? _username; + /// /// The username to access the catalog if needed (string) /// - [Input("username")] - public Input? Username { get; set; } + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Helm version for the catalog. Available options: `helm_v2` and `helm_v3` (string) @@ -284,9 +309,10 @@ public InputMap Labels public CatalogArgs() { } + public static new CatalogArgs Empty => new CatalogArgs(); } - public sealed class CatalogState : Pulumi.ResourceArgs + public sealed class CatalogState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -342,11 +368,21 @@ public InputMap Labels [Input("name")] public Input? Name { get; set; } + [Input("password")] + private Input? _password; + /// /// The password to access the catalog if needed (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The project id of the catalog. Mandatory if `scope = project` (string) @@ -372,11 +408,21 @@ public InputMap Labels [Input("url")] public Input? Url { get; set; } + [Input("username")] + private Input? _username; + /// /// The username to access the catalog if needed (string) /// - [Input("username")] - public Input? Username { get; set; } + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Helm version for the catalog. Available options: `helm_v2` and `helm_v3` (string) @@ -387,5 +433,6 @@ public InputMap Labels public CatalogState() { } + public static new CatalogState Empty => new CatalogState(); } } diff --git a/sdk/dotnet/CatalogV2.cs b/sdk/dotnet/CatalogV2.cs index 4b9265dc7..b898fddad 100644 --- a/sdk/dotnet/CatalogV2.cs +++ b/sdk/dotnet/CatalogV2.cs @@ -21,7 +21,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/catalogV2:CatalogV2")] - public partial class CatalogV2 : Pulumi.CustomResource + public partial class CatalogV2 : global::Pulumi.CustomResource { /// /// Annotations for the catalog v2 (map) @@ -157,7 +157,7 @@ public static CatalogV2 Get(string name, Input id, CatalogV2State? state } } - public sealed class CatalogV2Args : Pulumi.ResourceArgs + public sealed class CatalogV2Args : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -258,9 +258,10 @@ public InputMap Labels public CatalogV2Args() { } + public static new CatalogV2Args Empty => new CatalogV2Args(); } - public sealed class CatalogV2State : Pulumi.ResourceArgs + public sealed class CatalogV2State : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -367,5 +368,6 @@ public InputMap Labels public CatalogV2State() { } + public static new CatalogV2State Empty => new CatalogV2State(); } } diff --git a/sdk/dotnet/Certificate.cs b/sdk/dotnet/Certificate.cs index 8a05ca304..a30d86071 100644 --- a/sdk/dotnet/Certificate.cs +++ b/sdk/dotnet/Certificate.cs @@ -17,7 +17,7 @@ namespace Pulumi.Rancher2 /// - Namespaced certificate: Available to just `namespace_id` in the `project_id` /// [Rancher2ResourceType("rancher2:index/certificate:Certificate")] - public partial class Certificate : Pulumi.CustomResource + public partial class Certificate : global::Pulumi.CustomResource { /// /// Annotations for certificate object (map) @@ -90,6 +90,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "key", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -111,7 +115,7 @@ public static Certificate Get(string name, Input id, CertificateState? s } } - public sealed class CertificateArgs : Pulumi.ResourceArgs + public sealed class CertificateArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -137,11 +141,21 @@ public InputMap Annotations [Input("description")] public Input? Description { get; set; } + [Input("key", required: true)] + private Input? _key; + /// /// Base64 encoded private key (string) /// - [Input("key", required: true)] - public Input Key { get; set; } = null!; + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -176,9 +190,10 @@ public InputMap Labels public CertificateArgs() { } + public static new CertificateArgs Empty => new CertificateArgs(); } - public sealed class CertificateState : Pulumi.ResourceArgs + public sealed class CertificateState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -204,11 +219,21 @@ public InputMap Annotations [Input("description")] public Input? Description { get; set; } + [Input("key")] + private Input? _key; + /// /// Base64 encoded private key (string) /// - [Input("key")] - public Input? Key { get; set; } + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -243,5 +268,6 @@ public InputMap Labels public CertificateState() { } + public static new CertificateState Empty => new CertificateState(); } } diff --git a/sdk/dotnet/CloudCredential.cs b/sdk/dotnet/CloudCredential.cs index ab156a388..ef5d84886 100644 --- a/sdk/dotnet/CloudCredential.cs +++ b/sdk/dotnet/CloudCredential.cs @@ -17,53 +17,50 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Cloud Credential + /// var foo = new Rancher2.CloudCredential("foo", new() /// { - /// // Create a new rancher2 Cloud Credential - /// var foo = new Rancher2.CloudCredential("foo", new Rancher2.CloudCredentialArgs + /// Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs /// { - /// Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs - /// { - /// AccessKey = "<AWS_ACCESS_KEY>", - /// SecretKey = "<AWS_SECRET_KEY>", - /// }, - /// Description = "foo test", - /// }); - /// } + /// AccessKey = "<AWS_ACCESS_KEY>", + /// SecretKey = "<AWS_SECRET_KEY>", + /// }, + /// Description = "foo test", + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo_harvesterClusterV2 = Rancher2.GetClusterV2.Invoke(new() /// { - /// var foo_harvesterClusterV2 = Output.Create(Rancher2.GetClusterV2.InvokeAsync(new Rancher2.GetClusterV2Args - /// { - /// Name = "foo-harvester", - /// })); - /// // Create a new Cloud Credential for an imported Harvester cluster - /// var foo_harvesterCloudCredential = new Rancher2.CloudCredential("foo-harvesterCloudCredential", new Rancher2.CloudCredentialArgs + /// Name = "foo-harvester", + /// }); + /// + /// // Create a new Cloud Credential for an imported Harvester cluster + /// var foo_harvesterCloudCredential = new Rancher2.CloudCredential("foo-harvesterCloudCredential", new() + /// { + /// HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs /// { - /// HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs - /// { - /// ClusterId = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.ClusterV1Id), - /// ClusterType = "imported", - /// KubeconfigContent = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.KubeConfig), - /// }, - /// }); - /// } + /// ClusterId = foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result).Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result.ClusterV1Id)), + /// ClusterType = "imported", + /// KubeconfigContent = foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result).Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result.KubeConfig)), + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -77,7 +74,7 @@ namespace Pulumi.Rancher2 /// The following drivers are supported* amazonec2 * azure * digitalocean * googlekubernetesengine * linode * openstack * s3 * vmwarevsphere /// [Rancher2ResourceType("rancher2:index/cloudCredential:CloudCredential")] - public partial class CloudCredential : Pulumi.CustomResource + public partial class CloudCredential : global::Pulumi.CustomResource { /// /// AWS config for the Cloud Credential (list maxitems:1) @@ -207,7 +204,7 @@ public static CloudCredential Get(string name, Input id, CloudCredential } } - public sealed class CloudCredentialArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialArgs : global::Pulumi.ResourceArgs { /// /// AWS config for the Cloud Credential (list maxitems:1) @@ -302,9 +299,10 @@ public InputMap Labels public CloudCredentialArgs() { } + public static new CloudCredentialArgs Empty => new CloudCredentialArgs(); } - public sealed class CloudCredentialState : Pulumi.ResourceArgs + public sealed class CloudCredentialState : global::Pulumi.ResourceArgs { /// /// AWS config for the Cloud Credential (list maxitems:1) @@ -405,5 +403,6 @@ public InputMap Labels public CloudCredentialState() { } + public static new CloudCredentialState Empty => new CloudCredentialState(); } } diff --git a/sdk/dotnet/Cluster.cs b/sdk/dotnet/Cluster.cs index f19145a55..a9d8bcec6 100644 --- a/sdk/dotnet/Cluster.cs +++ b/sdk/dotnet/Cluster.cs @@ -20,324 +20,321 @@ namespace Pulumi.Rancher2 /// **Note** Cluster monitoring version `0.2.0` or above, can't be enabled until cluster is fully deployed as [`kubeVersion`](https://github.com/rancher/system-charts/blob/52be656700468904b9bf15c3f39cd7112e1f8c9b/charts/rancher-monitoring/v0.2.0/Chart.yaml#L12) requirement has been introduced to helm chart /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 RKE Cluster + /// var foo_custom = new Rancher2.Cluster("foo-custom", new() /// { - /// // Create a new rancher2 RKE Cluster - /// var foo_custom = new Rancher2.Cluster("foo-custom", new Rancher2.ClusterArgs + /// ClusterMonitoringInput = new Rancher2.Inputs.ClusterClusterMonitoringInputArgs /// { - /// ClusterMonitoringInput = new Rancher2.Inputs.ClusterClusterMonitoringInputArgs + /// Answers = /// { - /// Answers = - /// { - /// { "exporter-kubelets.https", true }, - /// { "exporter-node.enabled", true }, - /// { "exporter-node.ports.metrics.port", 9796 }, - /// { "exporter-node.resources.limits.cpu", "200m" }, - /// { "exporter-node.resources.limits.memory", "200Mi" }, - /// { "grafana.persistence.enabled", false }, - /// { "grafana.persistence.size", "10Gi" }, - /// { "grafana.persistence.storageClass", "default" }, - /// { "operator.resources.limits.memory", "500Mi" }, - /// { "prometheus.persistence.enabled", "false" }, - /// { "prometheus.persistence.size", "50Gi" }, - /// { "prometheus.persistence.storageClass", "default" }, - /// { "prometheus.persistent.useReleaseName", "true" }, - /// { "prometheus.resources.core.limits.cpu", "1000m" }, - /// { "prometheus.resources.core.limits.memory", "1500Mi" }, - /// { "prometheus.resources.core.requests.cpu", "750m" }, - /// { "prometheus.resources.core.requests.memory", "750Mi" }, - /// { "prometheus.retention", "12h" }, - /// }, - /// Version = "0.1.0", + /// { "exporter-kubelets.https", true }, + /// { "exporter-node.enabled", true }, + /// { "exporter-node.ports.metrics.port", 9796 }, + /// { "exporter-node.resources.limits.cpu", "200m" }, + /// { "exporter-node.resources.limits.memory", "200Mi" }, + /// { "grafana.persistence.enabled", false }, + /// { "grafana.persistence.size", "10Gi" }, + /// { "grafana.persistence.storageClass", "default" }, + /// { "operator.resources.limits.memory", "500Mi" }, + /// { "prometheus.persistence.enabled", "false" }, + /// { "prometheus.persistence.size", "50Gi" }, + /// { "prometheus.persistence.storageClass", "default" }, + /// { "prometheus.persistent.useReleaseName", "true" }, + /// { "prometheus.resources.core.limits.cpu", "1000m" }, + /// { "prometheus.resources.core.limits.memory", "1500Mi" }, + /// { "prometheus.resources.core.requests.cpu", "750m" }, + /// { "prometheus.resources.core.requests.memory", "750Mi" }, + /// { "prometheus.retention", "12h" }, /// }, - /// Description = "Foo rancher2 custom cluster", - /// EnableClusterMonitoring = true, - /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs + /// Version = "0.1.0", + /// }, + /// Description = "Foo rancher2 custom cluster", + /// EnableClusterMonitoring = true, + /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs + /// { + /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs /// { - /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs - /// { - /// Plugin = "canal", - /// }, + /// Plugin = "canal", /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// ### Creating Rancher v2 RKE cluster enabling/customizing monitoring and istio /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 RKE Cluster + /// var foo_customCluster = new Rancher2.Cluster("foo-customCluster", new() /// { - /// // Create a new rancher2 RKE Cluster - /// var foo_customCluster = new Rancher2.Cluster("foo-customCluster", new Rancher2.ClusterArgs + /// Description = "Foo rancher2 custom cluster", + /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs /// { - /// Description = "Foo rancher2 custom cluster", - /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs + /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs /// { - /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs - /// { - /// Plugin = "canal", - /// }, - /// }, - /// EnableClusterMonitoring = true, - /// ClusterMonitoringInput = new Rancher2.Inputs.ClusterClusterMonitoringInputArgs - /// { - /// Answers = - /// { - /// { "exporter-kubelets.https", true }, - /// { "exporter-node.enabled", true }, - /// { "exporter-node.ports.metrics.port", 9796 }, - /// { "exporter-node.resources.limits.cpu", "200m" }, - /// { "exporter-node.resources.limits.memory", "200Mi" }, - /// { "grafana.persistence.enabled", false }, - /// { "grafana.persistence.size", "10Gi" }, - /// { "grafana.persistence.storageClass", "default" }, - /// { "operator.resources.limits.memory", "500Mi" }, - /// { "prometheus.persistence.enabled", "false" }, - /// { "prometheus.persistence.size", "50Gi" }, - /// { "prometheus.persistence.storageClass", "default" }, - /// { "prometheus.persistent.useReleaseName", "true" }, - /// { "prometheus.resources.core.limits.cpu", "1000m" }, - /// { "prometheus.resources.core.limits.memory", "1500Mi" }, - /// { "prometheus.resources.core.requests.cpu", "750m" }, - /// { "prometheus.resources.core.requests.memory", "750Mi" }, - /// { "prometheus.retention", "12h" }, - /// }, - /// Version = "0.1.0", + /// Plugin = "canal", /// }, - /// }); - /// // Create a new rancher2 Cluster Sync for foo-custom cluster - /// var foo_customClusterSync = new Rancher2.ClusterSync("foo-customClusterSync", new Rancher2.ClusterSyncArgs - /// { - /// ClusterId = foo_customCluster.Id, - /// WaitMonitoring = foo_customCluster.EnableClusterMonitoring, - /// }); - /// // Create a new rancher2 Namespace - /// var foo_istio = new Rancher2.Namespace("foo-istio", new Rancher2.NamespaceArgs + /// }, + /// EnableClusterMonitoring = true, + /// ClusterMonitoringInput = new Rancher2.Inputs.ClusterClusterMonitoringInputArgs /// { - /// ProjectId = foo_customClusterSync.SystemProjectId, - /// Description = "istio namespace", - /// }); - /// // Create a new rancher2 App deploying istio (should wait until monitoring is up and running) - /// var istio = new Rancher2.App("istio", new Rancher2.AppArgs - /// { - /// CatalogName = "system-library", - /// Description = "Terraform app acceptance test", - /// ProjectId = foo_istio.ProjectId, - /// TemplateName = "rancher-istio", - /// TemplateVersion = "0.1.1", - /// TargetNamespace = foo_istio.Id, /// Answers = /// { - /// { "certmanager.enabled", false }, - /// { "enableCRDs", true }, - /// { "galley.enabled", true }, - /// { "gateways.enabled", false }, - /// { "gateways.istio-ingressgateway.resources.limits.cpu", "2000m" }, - /// { "gateways.istio-ingressgateway.resources.limits.memory", "1024Mi" }, - /// { "gateways.istio-ingressgateway.resources.requests.cpu", "100m" }, - /// { "gateways.istio-ingressgateway.resources.requests.memory", "128Mi" }, - /// { "gateways.istio-ingressgateway.type", "NodePort" }, - /// { "global.monitoring.type", "cluster-monitoring" }, - /// { "global.rancher.clusterId", foo_customClusterSync.ClusterId }, - /// { "istio_cni.enabled", "false" }, - /// { "istiocoredns.enabled", "false" }, - /// { "kiali.enabled", "true" }, - /// { "mixer.enabled", "true" }, - /// { "mixer.policy.enabled", "true" }, - /// { "mixer.policy.resources.limits.cpu", "4800m" }, - /// { "mixer.policy.resources.limits.memory", "4096Mi" }, - /// { "mixer.policy.resources.requests.cpu", "1000m" }, - /// { "mixer.policy.resources.requests.memory", "1024Mi" }, - /// { "mixer.telemetry.resources.limits.cpu", "4800m" }, - /// { "mixer.telemetry.resources.limits.memory", "4096Mi" }, - /// { "mixer.telemetry.resources.requests.cpu", "1000m" }, - /// { "mixer.telemetry.resources.requests.memory", "1024Mi" }, - /// { "mtls.enabled", false }, - /// { "nodeagent.enabled", false }, - /// { "pilot.enabled", true }, - /// { "pilot.resources.limits.cpu", "1000m" }, - /// { "pilot.resources.limits.memory", "4096Mi" }, - /// { "pilot.resources.requests.cpu", "500m" }, - /// { "pilot.resources.requests.memory", "2048Mi" }, - /// { "pilot.traceSampling", "1" }, - /// { "security.enabled", true }, - /// { "sidecarInjectorWebhook.enabled", true }, - /// { "tracing.enabled", true }, - /// { "tracing.jaeger.resources.limits.cpu", "500m" }, - /// { "tracing.jaeger.resources.limits.memory", "1024Mi" }, - /// { "tracing.jaeger.resources.requests.cpu", "100m" }, - /// { "tracing.jaeger.resources.requests.memory", "100Mi" }, + /// { "exporter-kubelets.https", true }, + /// { "exporter-node.enabled", true }, + /// { "exporter-node.ports.metrics.port", 9796 }, + /// { "exporter-node.resources.limits.cpu", "200m" }, + /// { "exporter-node.resources.limits.memory", "200Mi" }, + /// { "grafana.persistence.enabled", false }, + /// { "grafana.persistence.size", "10Gi" }, + /// { "grafana.persistence.storageClass", "default" }, + /// { "operator.resources.limits.memory", "500Mi" }, + /// { "prometheus.persistence.enabled", "false" }, + /// { "prometheus.persistence.size", "50Gi" }, + /// { "prometheus.persistence.storageClass", "default" }, + /// { "prometheus.persistent.useReleaseName", "true" }, + /// { "prometheus.resources.core.limits.cpu", "1000m" }, + /// { "prometheus.resources.core.limits.memory", "1500Mi" }, + /// { "prometheus.resources.core.requests.cpu", "750m" }, + /// { "prometheus.resources.core.requests.memory", "750Mi" }, + /// { "prometheus.retention", "12h" }, /// }, - /// }); - /// } + /// Version = "0.1.0", + /// }, + /// }); + /// + /// // Create a new rancher2 Cluster Sync for foo-custom cluster + /// var foo_customClusterSync = new Rancher2.ClusterSync("foo-customClusterSync", new() + /// { + /// ClusterId = foo_customCluster.Id, + /// WaitMonitoring = foo_customCluster.EnableClusterMonitoring, + /// }); /// - /// } + /// // Create a new rancher2 Namespace + /// var foo_istio = new Rancher2.Namespace("foo-istio", new() + /// { + /// ProjectId = foo_customClusterSync.SystemProjectId, + /// Description = "istio namespace", + /// }); + /// + /// // Create a new rancher2 App deploying istio (should wait until monitoring is up and running) + /// var istio = new Rancher2.App("istio", new() + /// { + /// CatalogName = "system-library", + /// Description = "Terraform app acceptance test", + /// ProjectId = foo_istio.ProjectId, + /// TemplateName = "rancher-istio", + /// TemplateVersion = "0.1.1", + /// TargetNamespace = foo_istio.Id, + /// Answers = + /// { + /// { "certmanager.enabled", false }, + /// { "enableCRDs", true }, + /// { "galley.enabled", true }, + /// { "gateways.enabled", false }, + /// { "gateways.istio-ingressgateway.resources.limits.cpu", "2000m" }, + /// { "gateways.istio-ingressgateway.resources.limits.memory", "1024Mi" }, + /// { "gateways.istio-ingressgateway.resources.requests.cpu", "100m" }, + /// { "gateways.istio-ingressgateway.resources.requests.memory", "128Mi" }, + /// { "gateways.istio-ingressgateway.type", "NodePort" }, + /// { "global.monitoring.type", "cluster-monitoring" }, + /// { "global.rancher.clusterId", foo_customClusterSync.ClusterId }, + /// { "istio_cni.enabled", "false" }, + /// { "istiocoredns.enabled", "false" }, + /// { "kiali.enabled", "true" }, + /// { "mixer.enabled", "true" }, + /// { "mixer.policy.enabled", "true" }, + /// { "mixer.policy.resources.limits.cpu", "4800m" }, + /// { "mixer.policy.resources.limits.memory", "4096Mi" }, + /// { "mixer.policy.resources.requests.cpu", "1000m" }, + /// { "mixer.policy.resources.requests.memory", "1024Mi" }, + /// { "mixer.telemetry.resources.limits.cpu", "4800m" }, + /// { "mixer.telemetry.resources.limits.memory", "4096Mi" }, + /// { "mixer.telemetry.resources.requests.cpu", "1000m" }, + /// { "mixer.telemetry.resources.requests.memory", "1024Mi" }, + /// { "mtls.enabled", false }, + /// { "nodeagent.enabled", false }, + /// { "pilot.enabled", true }, + /// { "pilot.resources.limits.cpu", "1000m" }, + /// { "pilot.resources.limits.memory", "4096Mi" }, + /// { "pilot.resources.requests.cpu", "500m" }, + /// { "pilot.resources.requests.memory", "2048Mi" }, + /// { "pilot.traceSampling", "1" }, + /// { "security.enabled", true }, + /// { "sidecarInjectorWebhook.enabled", true }, + /// { "tracing.enabled", true }, + /// { "tracing.jaeger.resources.limits.cpu", "500m" }, + /// { "tracing.jaeger.resources.limits.memory", "1024Mi" }, + /// { "tracing.jaeger.resources.requests.cpu", "100m" }, + /// { "tracing.jaeger.resources.requests.memory", "100Mi" }, + /// }, + /// }); + /// + /// }); /// ``` /// ### Creating Rancher v2 RKE cluster assigning a node pool (overlapped planes) /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 RKE Cluster + /// var foo_custom = new Rancher2.Cluster("foo-custom", new() /// { - /// // Create a new rancher2 RKE Cluster - /// var foo_custom = new Rancher2.Cluster("foo-custom", new Rancher2.ClusterArgs + /// Description = "Foo rancher2 custom cluster", + /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs /// { - /// Description = "Foo rancher2 custom cluster", - /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs + /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs /// { - /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs - /// { - /// Plugin = "canal", - /// }, + /// Plugin = "canal", /// }, - /// }); - /// // Create a new rancher2 Node Template - /// var fooNodeTemplate = new Rancher2.NodeTemplate("fooNodeTemplate", new Rancher2.NodeTemplateArgs + /// }, + /// }); + /// + /// // Create a new rancher2 Node Template + /// var fooNodeTemplate = new Rancher2.NodeTemplate("fooNodeTemplate", new() + /// { + /// Description = "foo test", + /// Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs /// { - /// Description = "foo test", - /// Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs + /// AccessKey = "<AWS_ACCESS_KEY>", + /// SecretKey = "<AWS_SECRET_KEY>", + /// Ami = "<AMI_ID>", + /// Region = "<REGION>", + /// SecurityGroups = new[] /// { - /// AccessKey = "<AWS_ACCESS_KEY>", - /// SecretKey = "<AWS_SECRET_KEY>", - /// Ami = "<AMI_ID>", - /// Region = "<REGION>", - /// SecurityGroups = - /// { - /// "<AWS_SECURITY_GROUP>", - /// }, - /// SubnetId = "<SUBNET_ID>", - /// VpcId = "<VPC_ID>", - /// Zone = "<ZONE>", + /// "<AWS_SECURITY_GROUP>", /// }, - /// }); - /// // Create a new rancher2 Node Pool - /// var fooNodePool = new Rancher2.NodePool("fooNodePool", new Rancher2.NodePoolArgs - /// { - /// ClusterId = foo_custom.Id, - /// HostnamePrefix = "foo-cluster-0", - /// NodeTemplateId = fooNodeTemplate.Id, - /// Quantity = 3, - /// ControlPlane = true, - /// Etcd = true, - /// Worker = true, - /// }); - /// } + /// SubnetId = "<SUBNET_ID>", + /// VpcId = "<VPC_ID>", + /// Zone = "<ZONE>", + /// }, + /// }); + /// + /// // Create a new rancher2 Node Pool + /// var fooNodePool = new Rancher2.NodePool("fooNodePool", new() + /// { + /// ClusterId = foo_custom.Id, + /// HostnamePrefix = "foo-cluster-0", + /// NodeTemplateId = fooNodeTemplate.Id, + /// Quantity = 3, + /// ControlPlane = true, + /// Etcd = true, + /// Worker = true, + /// }); /// - /// } + /// }); /// ``` /// ### Creating Rancher v2 RKE cluster from template. For Rancher v2.3.x or above. /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 cluster template + /// var fooClusterTemplate = new Rancher2.ClusterTemplate("fooClusterTemplate", new() /// { - /// // Create a new rancher2 cluster template - /// var fooClusterTemplate = new Rancher2.ClusterTemplate("fooClusterTemplate", new Rancher2.ClusterTemplateArgs + /// Members = new[] /// { - /// Members = + /// new Rancher2.Inputs.ClusterTemplateMemberArgs /// { - /// new Rancher2.Inputs.ClusterTemplateMemberArgs - /// { - /// AccessType = "owner", - /// UserPrincipalId = "local://user-XXXXX", - /// }, + /// AccessType = "owner", + /// UserPrincipalId = "local://user-XXXXX", /// }, - /// TemplateRevisions = + /// }, + /// TemplateRevisions = new[] + /// { + /// new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs /// { - /// new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs + /// Name = "V1", + /// ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs /// { - /// Name = "V1", - /// ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs + /// RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs /// { - /// RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs + /// Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs /// { - /// Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs - /// { - /// Plugin = "canal", - /// }, - /// Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs + /// Plugin = "canal", + /// }, + /// Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs + /// { + /// Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs /// { - /// Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs - /// { - /// Creation = "6h", - /// Retention = "24h", - /// }, + /// Creation = "6h", + /// Retention = "24h", /// }, /// }, /// }, - /// Default = true, /// }, + /// Default = true, /// }, - /// Description = "Test cluster template v2", - /// }); - /// // Create a new rancher2 RKE Cluster from template - /// var fooCluster = new Rancher2.Cluster("fooCluster", new Rancher2.ClusterArgs - /// { - /// ClusterTemplateId = fooClusterTemplate.Id, - /// ClusterTemplateRevisionId = fooClusterTemplate.TemplateRevisions.Apply(templateRevisions => templateRevisions[0].Id), - /// }); - /// } + /// }, + /// Description = "Test cluster template v2", + /// }); + /// + /// // Create a new rancher2 RKE Cluster from template + /// var fooCluster = new Rancher2.Cluster("fooCluster", new() + /// { + /// ClusterTemplateId = fooClusterTemplate.Id, + /// ClusterTemplateRevisionId = fooClusterTemplate.TemplateRevisions.Apply(templateRevisions => templateRevisions[0].Id), + /// }); /// - /// } + /// }); /// ``` /// ### Creating Rancher v2 RKE cluster with upgrade strategy. For Rancher v2.4.x or above. /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = new Rancher2.Cluster("foo", new() /// { - /// var foo = new Rancher2.Cluster("foo", new Rancher2.ClusterArgs + /// Description = "Terraform custom cluster", + /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs /// { - /// Description = "Terraform custom cluster", - /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs + /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs + /// { + /// Plugin = "canal", + /// }, + /// Services = new Rancher2.Inputs.ClusterRkeConfigServicesArgs /// { - /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs + /// Etcd = new Rancher2.Inputs.ClusterRkeConfigServicesEtcdArgs /// { - /// Plugin = "canal", + /// Creation = "6h", + /// Retention = "24h", /// }, - /// Services = new Rancher2.Inputs.ClusterRkeConfigServicesArgs + /// KubeApi = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiArgs /// { - /// Etcd = new Rancher2.Inputs.ClusterRkeConfigServicesEtcdArgs + /// AuditLog = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiAuditLogArgs /// { - /// Creation = "6h", - /// Retention = "24h", - /// }, - /// KubeApi = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiArgs - /// { - /// AuditLog = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiAuditLogArgs + /// Configuration = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs /// { - /// Configuration = new Rancher2.Inputs.ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs - /// { - /// Format = "json", - /// MaxAge = 5, - /// MaxBackup = 5, - /// MaxSize = 100, - /// Path = "-", - /// Policy = @"apiVersion: audit.k8s.io/v1 + /// Format = "json", + /// MaxAge = 5, + /// MaxBackup = 5, + /// MaxSize = 100, + /// Path = "-", + /// Policy = @"apiVersion: audit.k8s.io/v1 /// kind: Policy /// metadata: /// creationTimestamp: null @@ -350,272 +347,265 @@ namespace Pulumi.Rancher2 /// - pods /// /// ", - /// }, - /// Enabled = true, /// }, + /// Enabled = true, /// }, /// }, - /// UpgradeStrategy = new Rancher2.Inputs.ClusterRkeConfigUpgradeStrategyArgs - /// { - /// Drain = true, - /// MaxUnavailableWorker = "20%", - /// }, /// }, - /// }); - /// } + /// UpgradeStrategy = new Rancher2.Inputs.ClusterRkeConfigUpgradeStrategyArgs + /// { + /// Drain = true, + /// MaxUnavailableWorker = "20%", + /// }, + /// }, + /// }); /// - /// } + /// }); /// ``` /// ### Creating Rancher v2 RKE cluster with scheduled cluster scan. For Rancher v2.4.x or above. /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = new Rancher2.Cluster("foo", new() /// { - /// var foo = new Rancher2.Cluster("foo", new Rancher2.ClusterArgs + /// Description = "Terraform custom cluster", + /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs /// { - /// Description = "Terraform custom cluster", - /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs + /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs /// { - /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs - /// { - /// Plugin = "canal", - /// }, - /// Services = new Rancher2.Inputs.ClusterRkeConfigServicesArgs - /// { - /// Etcd = new Rancher2.Inputs.ClusterRkeConfigServicesEtcdArgs - /// { - /// Creation = "6h", - /// Retention = "24h", - /// }, - /// }, + /// Plugin = "canal", /// }, - /// ScheduledClusterScan = new Rancher2.Inputs.ClusterScheduledClusterScanArgs + /// Services = new Rancher2.Inputs.ClusterRkeConfigServicesArgs /// { - /// Enabled = true, - /// ScanConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScanConfigArgs + /// Etcd = new Rancher2.Inputs.ClusterRkeConfigServicesEtcdArgs /// { - /// CisScanConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScanConfigCisScanConfigArgs - /// { - /// DebugMaster = true, - /// DebugWorker = true, - /// }, + /// Creation = "6h", + /// Retention = "24h", /// }, - /// ScheduleConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScheduleConfigArgs + /// }, + /// }, + /// ScheduledClusterScan = new Rancher2.Inputs.ClusterScheduledClusterScanArgs + /// { + /// Enabled = true, + /// ScanConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScanConfigArgs + /// { + /// CisScanConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScanConfigCisScanConfigArgs /// { - /// CronSchedule = "30 * * * *", - /// Retention = 5, + /// DebugMaster = true, + /// DebugWorker = true, /// }, /// }, - /// }); - /// } + /// ScheduleConfig = new Rancher2.Inputs.ClusterScheduledClusterScanScheduleConfigArgs + /// { + /// CronSchedule = "30 * * * *", + /// Retention = 5, + /// }, + /// }, + /// }); /// - /// } + /// }); /// ``` /// ### Importing EKS cluster to Rancher v2, using `eks_config_v2`. For Rancher v2.5.x or above. /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var fooCloudCredential = new Rancher2.CloudCredential("fooCloudCredential", new() /// { - /// var fooCloudCredential = new Rancher2.CloudCredential("fooCloudCredential", new Rancher2.CloudCredentialArgs + /// Description = "foo test", + /// Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs /// { - /// Description = "foo test", - /// Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs - /// { - /// AccessKey = "<AWS_ACCESS_KEY>", - /// SecretKey = "<AWS_SECRET_KEY>", - /// }, - /// }); - /// var fooCluster = new Rancher2.Cluster("fooCluster", new Rancher2.ClusterArgs + /// AccessKey = "<AWS_ACCESS_KEY>", + /// SecretKey = "<AWS_SECRET_KEY>", + /// }, + /// }); + /// + /// var fooCluster = new Rancher2.Cluster("fooCluster", new() + /// { + /// Description = "Terraform EKS cluster", + /// EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args /// { - /// Description = "Terraform EKS cluster", - /// EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args - /// { - /// CloudCredentialId = fooCloudCredential.Id, - /// Name = "<CLUSTER_NAME>", - /// Region = "<EKS_REGION>", - /// Imported = true, - /// }, - /// }); - /// } + /// CloudCredentialId = fooCloudCredential.Id, + /// Name = "<CLUSTER_NAME>", + /// Region = "<EKS_REGION>", + /// Imported = true, + /// }, + /// }); /// - /// } + /// }); /// ``` /// ### Creating EKS cluster from Rancher v2, using `eks_config_v2`. For Rancher v2.5.x or above. /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var fooCloudCredential = new Rancher2.CloudCredential("fooCloudCredential", new() + /// { + /// Description = "foo test", + /// Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs + /// { + /// AccessKey = "<AWS_ACCESS_KEY>", + /// SecretKey = "<AWS_SECRET_KEY>", + /// }, + /// }); + /// + /// var fooCluster = new Rancher2.Cluster("fooCluster", new() /// { - /// var fooCloudCredential = new Rancher2.CloudCredential("fooCloudCredential", new Rancher2.CloudCredentialArgs + /// Description = "Terraform EKS cluster", + /// EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args /// { - /// Description = "foo test", - /// Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs + /// CloudCredentialId = fooCloudCredential.Id, + /// Region = "<EKS_REGION>", + /// KubernetesVersion = "1.17", + /// LoggingTypes = new[] /// { - /// AccessKey = "<AWS_ACCESS_KEY>", - /// SecretKey = "<AWS_SECRET_KEY>", + /// "audit", + /// "api", /// }, - /// }); - /// var fooCluster = new Rancher2.Cluster("fooCluster", new Rancher2.ClusterArgs - /// { - /// Description = "Terraform EKS cluster", - /// EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args + /// NodeGroups = new[] /// { - /// CloudCredentialId = fooCloudCredential.Id, - /// Region = "<EKS_REGION>", - /// KubernetesVersion = "1.17", - /// LoggingTypes = + /// new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs /// { - /// "audit", - /// "api", + /// Name = "node_group1", + /// InstanceType = "t3.medium", + /// DesiredSize = 3, + /// MaxSize = 5, /// }, - /// NodeGroups = + /// new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs /// { - /// new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs - /// { - /// Name = "node_group1", - /// InstanceType = "t3.medium", - /// DesiredSize = 3, - /// MaxSize = 5, - /// }, - /// new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs - /// { - /// Name = "node_group2", - /// InstanceType = "m5.xlarge", - /// DesiredSize = 2, - /// MaxSize = 3, - /// }, + /// Name = "node_group2", + /// InstanceType = "m5.xlarge", + /// DesiredSize = 2, + /// MaxSize = 3, /// }, - /// PrivateAccess = true, - /// PublicAccess = false, /// }, - /// }); - /// } + /// PrivateAccess = true, + /// PublicAccess = false, + /// }, + /// }); /// - /// } + /// }); /// ``` /// ### Creating EKS cluster from Rancher v2, using `eks_config_v2` and launch template. For Rancher v2.5.6 or above. /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var fooCloudCredential = new Rancher2.CloudCredential("fooCloudCredential", new() /// { - /// var fooCloudCredential = new Rancher2.CloudCredential("fooCloudCredential", new Rancher2.CloudCredentialArgs + /// Description = "foo test", + /// Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs /// { - /// Description = "foo test", - /// Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs + /// AccessKey = "<AWS_ACCESS_KEY>", + /// SecretKey = "<AWS_SECRET_KEY>", + /// }, + /// }); + /// + /// var fooCluster = new Rancher2.Cluster("fooCluster", new() + /// { + /// Description = "Terraform EKS cluster", + /// EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args + /// { + /// CloudCredentialId = fooCloudCredential.Id, + /// Region = "<EKS_REGION>", + /// KubernetesVersion = "1.17", + /// LoggingTypes = new[] /// { - /// AccessKey = "<AWS_ACCESS_KEY>", - /// SecretKey = "<AWS_SECRET_KEY>", + /// "audit", + /// "api", /// }, - /// }); - /// var fooCluster = new Rancher2.Cluster("fooCluster", new Rancher2.ClusterArgs - /// { - /// Description = "Terraform EKS cluster", - /// EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args + /// NodeGroups = new[] /// { - /// CloudCredentialId = fooCloudCredential.Id, - /// Region = "<EKS_REGION>", - /// KubernetesVersion = "1.17", - /// LoggingTypes = + /// new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs /// { - /// "audit", - /// "api", - /// }, - /// NodeGroups = - /// { - /// new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs + /// DesiredSize = 3, + /// MaxSize = 5, + /// Name = "node_group1", + /// LaunchTemplates = new[] /// { - /// DesiredSize = 3, - /// MaxSize = 5, - /// Name = "node_group1", - /// LaunchTemplates = + /// new Rancher2.Inputs.ClusterEksConfigV2NodeGroupLaunchTemplateArgs /// { - /// new Rancher2.Inputs.ClusterEksConfigV2NodeGroupLaunchTemplateArgs - /// { - /// Id = "<EC2_LAUNCH_TEMPLATE_ID>", - /// Version = 1, - /// }, + /// Id = "<EC2_LAUNCH_TEMPLATE_ID>", + /// Version = 1, /// }, /// }, /// }, - /// PrivateAccess = true, - /// PublicAccess = true, /// }, - /// }); - /// } + /// PrivateAccess = true, + /// PublicAccess = true, + /// }, + /// }); /// - /// } + /// }); /// ``` - /// ### Creating AKS cluster from Rancher v2, using `aks_config_v2`. For Rancher v2.6.0 or above (Tech preview) + /// ### Creating AKS cluster from Rancher v2, using `aks_config_v2`. For Rancher v2.6.0 or above. /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo_aks = new Rancher2.CloudCredential("foo-aks", new() /// { - /// var foo_aks = new Rancher2.CloudCredential("foo-aks", new Rancher2.CloudCredentialArgs + /// AzureCredentialConfig = new Rancher2.Inputs.CloudCredentialAzureCredentialConfigArgs /// { - /// AzureCredentialConfig = new Rancher2.Inputs.CloudCredentialAzureCredentialConfigArgs - /// { - /// ClientId = "<CLIENT_ID>", - /// ClientSecret = "<CLIENT_SECRET>", - /// SubscriptionId = "<SUBSCRIPTION_ID>", - /// }, - /// }); - /// var foo = new Rancher2.Cluster("foo", new Rancher2.ClusterArgs + /// ClientId = "<CLIENT_ID>", + /// ClientSecret = "<CLIENT_SECRET>", + /// SubscriptionId = "<SUBSCRIPTION_ID>", + /// }, + /// }); + /// + /// var foo = new Rancher2.Cluster("foo", new() + /// { + /// Description = "Terraform AKS cluster", + /// AksConfigV2 = new Rancher2.Inputs.ClusterAksConfigV2Args /// { - /// Description = "Terraform AKS cluster", - /// AksConfigV2 = new Rancher2.Inputs.ClusterAksConfigV2Args + /// CloudCredentialId = foo_aks.Id, + /// ResourceGroup = "<RESOURCE_GROUP>", + /// ResourceLocation = "<RESOURCE_LOCATION>", + /// DnsPrefix = "<DNS_PREFIX>", + /// KubernetesVersion = "1.21.2", + /// NetworkPlugin = "<NETWORK_PLUGIN>", + /// NodePools = new[] /// { - /// CloudCredentialId = foo_aks.Id, - /// ResourceGroup = "<RESOURCE_GROUP>", - /// ResourceLocation = "<RESOURCE_LOCATION>", - /// DnsPrefix = "<DNS_PREFIX>", - /// KubernetesVersion = "1.21.2", - /// NetworkPlugin = "<NETWORK_PLUGIN>", - /// NodePools = + /// new Rancher2.Inputs.ClusterAksConfigV2NodePoolArgs /// { - /// new Rancher2.Inputs.ClusterAksConfigV2NodePoolArgs + /// AvailabilityZones = new[] /// { - /// AvailabilityZones = - /// { - /// "1", - /// "2", - /// "3", - /// }, - /// Name = "<NODEPOOL_NAME>", - /// Count = 1, - /// OrchestratorVersion = "1.21.2", - /// OsDiskSizeGb = 128, - /// VmSize = "Standard_DS2_v2", + /// "1", + /// "2", + /// "3", /// }, + /// Name = "<NODEPOOL_NAME>", + /// Count = 1, + /// OrchestratorVersion = "1.21.2", + /// OsDiskSizeGb = 128, + /// VmSize = "Standard_DS2_v2", /// }, /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -627,7 +617,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/cluster:Cluster")] - public partial class Cluster : Pulumi.CustomResource + public partial class Cluster : global::Pulumi.CustomResource { /// /// Optional Agent Env Vars for Rancher agent. Just for Rancher v2.5.6 and above (list) @@ -886,6 +876,11 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "caCert", + "kubeConfig", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -907,7 +902,7 @@ public static Cluster Get(string name, Input id, ClusterState? state = n } } - public sealed class ClusterArgs : Pulumi.ResourceArgs + public sealed class ClusterArgs : global::Pulumi.ResourceArgs { [Input("agentEnvVars")] private InputList? _agentEnvVars; @@ -1128,9 +1123,10 @@ public InputMap Labels public ClusterArgs() { } + public static new ClusterArgs Empty => new ClusterArgs(); } - public sealed class ClusterState : Pulumi.ResourceArgs + public sealed class ClusterState : global::Pulumi.ResourceArgs { [Input("agentEnvVars")] private InputList? _agentEnvVars; @@ -1168,11 +1164,21 @@ public InputMap Annotations set => _annotations = value; } + [Input("caCert")] + private Input? _caCert; + /// /// TLS CA certificate for etcd service (string) /// - [Input("caCert")] - public Input? CaCert { get; set; } + public Input? CaCert + { + get => _caCert; + set + { + var emptySecret = Output.CreateSecret(0); + _caCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enabling the [local cluster authorized endpoint](https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/#local-cluster-auth-endpoint) allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1) @@ -1330,11 +1336,21 @@ public InputList ClusterTemplateQu [Input("k3sConfig")] public Input? K3sConfig { get; set; } + [Input("kubeConfig")] + private Input? _kubeConfig; + /// /// (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has `cluster_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string) /// - [Input("kubeConfig")] - public Input? KubeConfig { get; set; } + public Input? KubeConfig + { + get => _kubeConfig; + set + { + var emptySecret = Output.CreateSecret(0); + _kubeConfig = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("labels")] private InputMap? _labels; @@ -1393,5 +1409,6 @@ public InputMap Labels public ClusterState() { } + public static new ClusterState Empty => new ClusterState(); } } diff --git a/sdk/dotnet/ClusterAlertGroup.cs b/sdk/dotnet/ClusterAlertGroup.cs index 06ec1890a..145082417 100644 --- a/sdk/dotnet/ClusterAlertGroup.cs +++ b/sdk/dotnet/ClusterAlertGroup.cs @@ -15,24 +15,22 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new Rancher2 Cluster Alert Group + /// var foo = new Rancher2.ClusterAlertGroup("foo", new() /// { - /// // Create a new Rancher2 Cluster Alert Group - /// var foo = new Rancher2.ClusterAlertGroup("foo", new Rancher2.ClusterAlertGroupArgs - /// { - /// ClusterId = "<cluster_id>", - /// Description = "Terraform cluster alert group", - /// GroupIntervalSeconds = 300, - /// RepeatIntervalSeconds = 3600, - /// }); - /// } + /// ClusterId = "<cluster_id>", + /// Description = "Terraform cluster alert group", + /// GroupIntervalSeconds = 300, + /// RepeatIntervalSeconds = 3600, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -44,7 +42,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/clusterAlertGroup:ClusterAlertGroup")] - public partial class ClusterAlertGroup : Pulumi.CustomResource + public partial class ClusterAlertGroup : global::Pulumi.CustomResource { /// /// The cluster alert group annotations (map) @@ -125,7 +123,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new Pulumi.Alias { Type = "rancher2:index/clusterAlterGroup:ClusterAlterGroup"}, + new global::Pulumi.Alias { Type = "rancher2:index/clusterAlterGroup:ClusterAlterGroup"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -148,7 +146,7 @@ public static ClusterAlertGroup Get(string name, Input id, ClusterAlertG } } - public sealed class ClusterAlertGroupArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertGroupArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -225,9 +223,10 @@ public InputList Recipients public ClusterAlertGroupArgs() { } + public static new ClusterAlertGroupArgs Empty => new ClusterAlertGroupArgs(); } - public sealed class ClusterAlertGroupState : Pulumi.ResourceArgs + public sealed class ClusterAlertGroupState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -304,5 +303,6 @@ public InputList Recipients public ClusterAlertGroupState() { } + public static new ClusterAlertGroupState Empty => new ClusterAlertGroupState(); } } diff --git a/sdk/dotnet/ClusterAlertRule.cs b/sdk/dotnet/ClusterAlertRule.cs index fe7cf0f72..1c9225990 100644 --- a/sdk/dotnet/ClusterAlertRule.cs +++ b/sdk/dotnet/ClusterAlertRule.cs @@ -15,32 +15,31 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new Rancher2 Cluster Alert Group + /// var fooClusterAlertGroup = new Rancher2.ClusterAlertGroup("fooClusterAlertGroup", new() /// { - /// // Create a new Rancher2 Cluster Alert Group - /// var fooClusterAlertGroup = new Rancher2.ClusterAlertGroup("fooClusterAlertGroup", new Rancher2.ClusterAlertGroupArgs - /// { - /// ClusterId = "<cluster_id>", - /// Description = "Terraform cluster alert group", - /// GroupIntervalSeconds = 300, - /// RepeatIntervalSeconds = 3600, - /// }); - /// // Create a new Rancher2 Cluster Alert Rule - /// var fooClusterAlertRule = new Rancher2.ClusterAlertRule("fooClusterAlertRule", new Rancher2.ClusterAlertRuleArgs - /// { - /// ClusterId = fooClusterAlertGroup.ClusterId, - /// GroupId = fooClusterAlertGroup.Id, - /// GroupIntervalSeconds = 600, - /// RepeatIntervalSeconds = 6000, - /// }); - /// } + /// ClusterId = "<cluster_id>", + /// Description = "Terraform cluster alert group", + /// GroupIntervalSeconds = 300, + /// RepeatIntervalSeconds = 3600, + /// }); /// - /// } + /// // Create a new Rancher2 Cluster Alert Rule + /// var fooClusterAlertRule = new Rancher2.ClusterAlertRule("fooClusterAlertRule", new() + /// { + /// ClusterId = fooClusterAlertGroup.ClusterId, + /// GroupId = fooClusterAlertGroup.Id, + /// GroupIntervalSeconds = 600, + /// RepeatIntervalSeconds = 6000, + /// }); + /// + /// }); /// ``` /// /// ## Import @@ -52,7 +51,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/clusterAlertRule:ClusterAlertRule")] - public partial class ClusterAlertRule : Pulumi.CustomResource + public partial class ClusterAlertRule : global::Pulumi.CustomResource { /// /// The cluster alert rule annotations (map) @@ -163,7 +162,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new Pulumi.Alias { Type = "rancher2:index/clusterAlterRule:ClusterAlterRule"}, + new global::Pulumi.Alias { Type = "rancher2:index/clusterAlterRule:ClusterAlterRule"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -186,7 +185,7 @@ public static ClusterAlertRule Get(string name, Input id, ClusterAlertRu } } - public sealed class ClusterAlertRuleArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertRuleArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -287,9 +286,10 @@ public InputMap Labels public ClusterAlertRuleArgs() { } + public static new ClusterAlertRuleArgs Empty => new ClusterAlertRuleArgs(); } - public sealed class ClusterAlertRuleState : Pulumi.ResourceArgs + public sealed class ClusterAlertRuleState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -390,5 +390,6 @@ public InputMap Labels public ClusterAlertRuleState() { } + public static new ClusterAlertRuleState Empty => new ClusterAlertRuleState(); } } diff --git a/sdk/dotnet/ClusterAlterGroup.cs b/sdk/dotnet/ClusterAlterGroup.cs index 00579a7c9..aea39aee9 100644 --- a/sdk/dotnet/ClusterAlterGroup.cs +++ b/sdk/dotnet/ClusterAlterGroup.cs @@ -15,24 +15,22 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new Rancher2 Cluster Alert Group + /// var foo = new Rancher2.ClusterAlertGroup("foo", new() /// { - /// // Create a new Rancher2 Cluster Alert Group - /// var foo = new Rancher2.ClusterAlertGroup("foo", new Rancher2.ClusterAlertGroupArgs - /// { - /// ClusterId = "<cluster_id>", - /// Description = "Terraform cluster alert group", - /// GroupIntervalSeconds = 300, - /// RepeatIntervalSeconds = 3600, - /// }); - /// } + /// ClusterId = "<cluster_id>", + /// Description = "Terraform cluster alert group", + /// GroupIntervalSeconds = 300, + /// RepeatIntervalSeconds = 3600, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -45,7 +43,7 @@ namespace Pulumi.Rancher2 /// [Obsolete(@"rancher2.ClusterAlterGroup has been deprecated in favor of rancher2.ClusterAlertGroup")] [Rancher2ResourceType("rancher2:index/clusterAlterGroup:ClusterAlterGroup")] - public partial class ClusterAlterGroup : Pulumi.CustomResource + public partial class ClusterAlterGroup : global::Pulumi.CustomResource { /// /// The cluster alert group annotations (map) @@ -145,7 +143,7 @@ public static ClusterAlterGroup Get(string name, Input id, ClusterAlterG } } - public sealed class ClusterAlterGroupArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterGroupArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -222,9 +220,10 @@ public InputList Recipients public ClusterAlterGroupArgs() { } + public static new ClusterAlterGroupArgs Empty => new ClusterAlterGroupArgs(); } - public sealed class ClusterAlterGroupState : Pulumi.ResourceArgs + public sealed class ClusterAlterGroupState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -301,5 +300,6 @@ public InputList Recipients public ClusterAlterGroupState() { } + public static new ClusterAlterGroupState Empty => new ClusterAlterGroupState(); } } diff --git a/sdk/dotnet/ClusterAlterRule.cs b/sdk/dotnet/ClusterAlterRule.cs index d3caa17d9..5d167bfa7 100644 --- a/sdk/dotnet/ClusterAlterRule.cs +++ b/sdk/dotnet/ClusterAlterRule.cs @@ -15,24 +15,22 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new Rancher2 Cluster Alert Group + /// var foo = new Rancher2.ClusterAlertGroup("foo", new() /// { - /// // Create a new Rancher2 Cluster Alert Group - /// var foo = new Rancher2.ClusterAlertGroup("foo", new Rancher2.ClusterAlertGroupArgs - /// { - /// ClusterId = "<cluster_id>", - /// Description = "Terraform cluster alert group", - /// GroupIntervalSeconds = 300, - /// RepeatIntervalSeconds = 3600, - /// }); - /// } + /// ClusterId = "<cluster_id>", + /// Description = "Terraform cluster alert group", + /// GroupIntervalSeconds = 300, + /// RepeatIntervalSeconds = 3600, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -45,7 +43,7 @@ namespace Pulumi.Rancher2 /// [Obsolete(@"rancher2.ClusterAlterRule has been deprecated in favor of rancher2.ClusterAlertRule")] [Rancher2ResourceType("rancher2:index/clusterAlterRule:ClusterAlterRule")] - public partial class ClusterAlterRule : Pulumi.CustomResource + public partial class ClusterAlterRule : global::Pulumi.CustomResource { /// /// The cluster alert group annotations (map) @@ -175,7 +173,7 @@ public static ClusterAlterRule Get(string name, Input id, ClusterAlterRu } } - public sealed class ClusterAlterRuleArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterRuleArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -276,9 +274,10 @@ public InputMap Labels public ClusterAlterRuleArgs() { } + public static new ClusterAlterRuleArgs Empty => new ClusterAlterRuleArgs(); } - public sealed class ClusterAlterRuleState : Pulumi.ResourceArgs + public sealed class ClusterAlterRuleState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -379,5 +378,6 @@ public InputMap Labels public ClusterAlterRuleState() { } + public static new ClusterAlterRuleState Empty => new ClusterAlterRuleState(); } } diff --git a/sdk/dotnet/ClusterDriver.cs b/sdk/dotnet/ClusterDriver.cs index 78b5cace8..298d09ddf 100644 --- a/sdk/dotnet/ClusterDriver.cs +++ b/sdk/dotnet/ClusterDriver.cs @@ -21,7 +21,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/clusterDriver:ClusterDriver")] - public partial class ClusterDriver : Pulumi.CustomResource + public partial class ClusterDriver : global::Pulumi.CustomResource { /// /// Specify the cluster driver state (bool) @@ -127,7 +127,7 @@ public static ClusterDriver Get(string name, Input id, ClusterDriverStat } } - public sealed class ClusterDriverArgs : Pulumi.ResourceArgs + public sealed class ClusterDriverArgs : global::Pulumi.ResourceArgs { /// /// Specify the cluster driver state (bool) @@ -210,9 +210,10 @@ public InputList WhitelistDomains public ClusterDriverArgs() { } + public static new ClusterDriverArgs Empty => new ClusterDriverArgs(); } - public sealed class ClusterDriverState : Pulumi.ResourceArgs + public sealed class ClusterDriverState : global::Pulumi.ResourceArgs { /// /// Specify the cluster driver state (bool) @@ -295,5 +296,6 @@ public InputList WhitelistDomains public ClusterDriverState() { } + public static new ClusterDriverState Empty => new ClusterDriverState(); } } diff --git a/sdk/dotnet/ClusterLogging.cs b/sdk/dotnet/ClusterLogging.cs index 46d70b5cb..f21a853e5 100644 --- a/sdk/dotnet/ClusterLogging.cs +++ b/sdk/dotnet/ClusterLogging.cs @@ -15,29 +15,27 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new Rancher2 Cluster Logging + /// var foo = new Rancher2.ClusterLogging("foo", new() /// { - /// // Create a new Rancher2 Cluster Logging - /// var foo = new Rancher2.ClusterLogging("foo", new Rancher2.ClusterLoggingArgs + /// ClusterId = "<cluster_id>", + /// Kind = "syslog", + /// SyslogConfig = new Rancher2.Inputs.ClusterLoggingSyslogConfigArgs /// { - /// ClusterId = "<cluster_id>", - /// Kind = "syslog", - /// SyslogConfig = new Rancher2.Inputs.ClusterLoggingSyslogConfigArgs - /// { - /// Endpoint = "<syslog_endpoint>", - /// Protocol = "udp", - /// Severity = "notice", - /// SslVerify = false, - /// }, - /// }); - /// } + /// Endpoint = "<syslog_endpoint>", + /// Protocol = "udp", + /// Severity = "notice", + /// SslVerify = false, + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -49,7 +47,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/clusterLogging:ClusterLogging")] - public partial class ClusterLogging : Pulumi.CustomResource + public partial class ClusterLogging : global::Pulumi.CustomResource { /// /// Annotations for Cluster Logging object (map) @@ -185,7 +183,7 @@ public static ClusterLogging Get(string name, Input id, ClusterLoggingSt } } - public sealed class ClusterLoggingArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -298,9 +296,10 @@ public InputMap OutputTags public ClusterLoggingArgs() { } + public static new ClusterLoggingArgs Empty => new ClusterLoggingArgs(); } - public sealed class ClusterLoggingState : Pulumi.ResourceArgs + public sealed class ClusterLoggingState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -413,5 +412,6 @@ public InputMap OutputTags public ClusterLoggingState() { } + public static new ClusterLoggingState Empty => new ClusterLoggingState(); } } diff --git a/sdk/dotnet/ClusterRoleTemplateBinding.cs b/sdk/dotnet/ClusterRoleTemplateBinding.cs index d9e75f44a..39d8a8621 100644 --- a/sdk/dotnet/ClusterRoleTemplateBinding.cs +++ b/sdk/dotnet/ClusterRoleTemplateBinding.cs @@ -15,23 +15,21 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new Rancher2 Cluster Role Template Binding + /// var foo = new Rancher2.ClusterRoleTemplateBinding("foo", new() /// { - /// // Create a new Rancher2 Cluster Role Template Binding - /// var foo = new Rancher2.ClusterRoleTemplateBinding("foo", new Rancher2.ClusterRoleTemplateBindingArgs - /// { - /// ClusterId = "<cluster_id>", - /// RoleTemplateId = "<role_template_id>", - /// UserId = "<user_id>", - /// }); - /// } + /// ClusterId = "<cluster_id>", + /// RoleTemplateId = "<role_template_id>", + /// UserId = "<user_id>", + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -43,7 +41,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/clusterRoleTemplateBinding:ClusterRoleTemplateBinding")] - public partial class ClusterRoleTemplateBinding : Pulumi.CustomResource + public partial class ClusterRoleTemplateBinding : global::Pulumi.CustomResource { /// /// Annotations for cluster role template binding (map) @@ -143,7 +141,7 @@ public static ClusterRoleTemplateBinding Get(string name, Input id, Clus } } - public sealed class ClusterRoleTemplateBindingArgs : Pulumi.ResourceArgs + public sealed class ClusterRoleTemplateBindingArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -214,9 +212,10 @@ public InputMap Labels public ClusterRoleTemplateBindingArgs() { } + public static new ClusterRoleTemplateBindingArgs Empty => new ClusterRoleTemplateBindingArgs(); } - public sealed class ClusterRoleTemplateBindingState : Pulumi.ResourceArgs + public sealed class ClusterRoleTemplateBindingState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -287,5 +286,6 @@ public InputMap Labels public ClusterRoleTemplateBindingState() { } + public static new ClusterRoleTemplateBindingState Empty => new ClusterRoleTemplateBindingState(); } } diff --git a/sdk/dotnet/ClusterSync.cs b/sdk/dotnet/ClusterSync.cs index 40b11cff5..15a36c312 100644 --- a/sdk/dotnet/ClusterSync.cs +++ b/sdk/dotnet/ClusterSync.cs @@ -13,99 +13,101 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 rke Cluster + /// var foo_customCluster = new Rancher2.Cluster("foo-customCluster", new() /// { - /// // Create a new rancher2 rke Cluster - /// var foo_customCluster = new Rancher2.Cluster("foo-customCluster", new Rancher2.ClusterArgs + /// Description = "Foo rancher2 custom cluster", + /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs /// { - /// Description = "Foo rancher2 custom cluster", - /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs + /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs /// { - /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs - /// { - /// Plugin = "canal", - /// }, + /// Plugin = "canal", /// }, - /// }); - /// // Create a new rancher2 Node Template - /// var fooNodeTemplate = new Rancher2.NodeTemplate("fooNodeTemplate", new Rancher2.NodeTemplateArgs + /// }, + /// }); + /// + /// // Create a new rancher2 Node Template + /// var fooNodeTemplate = new Rancher2.NodeTemplate("fooNodeTemplate", new() + /// { + /// Description = "foo test", + /// Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs /// { - /// Description = "foo test", - /// Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs + /// AccessKey = "<AWS_ACCESS_KEY>", + /// SecretKey = "<AWS_SECRET_KEY>", + /// Ami = "<AMI_ID>", + /// Region = "<REGION>", + /// SecurityGroups = new[] /// { - /// AccessKey = "<AWS_ACCESS_KEY>", - /// SecretKey = "<AWS_SECRET_KEY>", - /// Ami = "<AMI_ID>", - /// Region = "<REGION>", - /// SecurityGroups = - /// { - /// "<AWS_SECURITY_GROUP>", - /// }, - /// SubnetId = "<SUBNET_ID>", - /// VpcId = "<VPC_ID>", - /// Zone = "<ZONE>", + /// "<AWS_SECURITY_GROUP>", /// }, - /// }); - /// // Create a new rancher2 Node Pool - /// var fooNodePool = new Rancher2.NodePool("fooNodePool", new Rancher2.NodePoolArgs - /// { - /// ClusterId = foo_customCluster.Id, - /// HostnamePrefix = "foo-cluster-0", - /// NodeTemplateId = fooNodeTemplate.Id, - /// Quantity = 3, - /// ControlPlane = true, - /// Etcd = true, - /// Worker = true, - /// }); - /// // Create a new rancher2 Cluster Sync - /// var foo_customClusterSync = new Rancher2.ClusterSync("foo-customClusterSync", new Rancher2.ClusterSyncArgs + /// SubnetId = "<SUBNET_ID>", + /// VpcId = "<VPC_ID>", + /// Zone = "<ZONE>", + /// }, + /// }); + /// + /// // Create a new rancher2 Node Pool + /// var fooNodePool = new Rancher2.NodePool("fooNodePool", new() + /// { + /// ClusterId = foo_customCluster.Id, + /// HostnamePrefix = "foo-cluster-0", + /// NodeTemplateId = fooNodeTemplate.Id, + /// Quantity = 3, + /// ControlPlane = true, + /// Etcd = true, + /// Worker = true, + /// }); + /// + /// // Create a new rancher2 Cluster Sync + /// var foo_customClusterSync = new Rancher2.ClusterSync("foo-customClusterSync", new() + /// { + /// ClusterId = foo_customCluster.Id, + /// NodePoolIds = new[] /// { - /// ClusterId = foo_customCluster.Id, - /// NodePoolIds = - /// { - /// fooNodePool.Id, - /// }, - /// }); - /// // Create a new rancher2 Project - /// var fooProject = new Rancher2.Project("fooProject", new Rancher2.ProjectArgs + /// fooNodePool.Id, + /// }, + /// }); + /// + /// // Create a new rancher2 Project + /// var fooProject = new Rancher2.Project("fooProject", new() + /// { + /// ClusterId = foo_customClusterSync.Id, + /// Description = "Terraform namespace acceptance test", + /// ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs /// { - /// ClusterId = foo_customClusterSync.Id, - /// Description = "Terraform namespace acceptance test", - /// ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs + /// ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs /// { - /// ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs - /// { - /// LimitsCpu = "2000m", - /// LimitsMemory = "2000Mi", - /// RequestsStorage = "2Gi", - /// }, - /// NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs - /// { - /// LimitsCpu = "500m", - /// LimitsMemory = "500Mi", - /// RequestsStorage = "1Gi", - /// }, + /// LimitsCpu = "2000m", + /// LimitsMemory = "2000Mi", + /// RequestsStorage = "2Gi", /// }, - /// ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs + /// NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs /// { - /// LimitsCpu = "20m", - /// LimitsMemory = "20Mi", - /// RequestsCpu = "1m", - /// RequestsMemory = "1Mi", + /// LimitsCpu = "500m", + /// LimitsMemory = "500Mi", + /// RequestsStorage = "1Gi", /// }, - /// }); - /// } + /// }, + /// ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs + /// { + /// LimitsCpu = "20m", + /// LimitsMemory = "20Mi", + /// RequestsCpu = "1m", + /// RequestsMemory = "1Mi", + /// }, + /// }); /// - /// } + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/clusterSync:ClusterSync")] - public partial class ClusterSync : Pulumi.CustomResource + public partial class ClusterSync : global::Pulumi.CustomResource { /// /// The Cluster ID of the node (string). @@ -193,6 +195,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "kubeConfig", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -214,7 +220,7 @@ public static ClusterSync Get(string name, Input id, ClusterSyncState? s } } - public sealed class ClusterSyncArgs : Pulumi.ResourceArgs + public sealed class ClusterSyncArgs : global::Pulumi.ResourceArgs { /// /// The Cluster ID of the node (string). @@ -264,9 +270,10 @@ public InputList NodePoolIds public ClusterSyncArgs() { } + public static new ClusterSyncArgs Empty => new ClusterSyncArgs(); } - public sealed class ClusterSyncState : Pulumi.ResourceArgs + public sealed class ClusterSyncState : global::Pulumi.ResourceArgs { /// /// The Cluster ID of the node (string). @@ -280,11 +287,21 @@ public sealed class ClusterSyncState : Pulumi.ResourceArgs [Input("defaultProjectId")] public Input? DefaultProjectId { get; set; } + [Input("kubeConfig")] + private Input? _kubeConfig; + /// /// (Computed/Sensitive) Kube Config generated for the cluster sync (string) /// - [Input("kubeConfig")] - public Input? KubeConfig { get; set; } + public Input? KubeConfig + { + get => _kubeConfig; + set + { + var emptySecret = Output.CreateSecret(0); + _kubeConfig = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("nodePoolIds")] private InputList? _nodePoolIds; @@ -346,5 +363,6 @@ public InputList Nodes public ClusterSyncState() { } + public static new ClusterSyncState Empty => new ClusterSyncState(); } } diff --git a/sdk/dotnet/ClusterTemplate.cs b/sdk/dotnet/ClusterTemplate.cs index 173cbd9e0..4cf2c01a6 100644 --- a/sdk/dotnet/ClusterTemplate.cs +++ b/sdk/dotnet/ClusterTemplate.cs @@ -17,185 +17,179 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Cluster Template + /// var foo = new Rancher2.ClusterTemplate("foo", new() /// { - /// // Create a new rancher2 Cluster Template - /// var foo = new Rancher2.ClusterTemplate("foo", new Rancher2.ClusterTemplateArgs + /// Description = "Terraform cluster template foo", + /// Members = new[] /// { - /// Description = "Terraform cluster template foo", - /// Members = + /// new Rancher2.Inputs.ClusterTemplateMemberArgs /// { - /// new Rancher2.Inputs.ClusterTemplateMemberArgs - /// { - /// AccessType = "owner", - /// UserPrincipalId = "local://user-XXXXX", - /// }, + /// AccessType = "owner", + /// UserPrincipalId = "local://user-XXXXX", /// }, - /// TemplateRevisions = + /// }, + /// TemplateRevisions = new[] + /// { + /// new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs /// { - /// new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs + /// ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs /// { - /// ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs + /// RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs /// { - /// RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs + /// Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs /// { - /// Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs - /// { - /// Plugin = "canal", - /// }, - /// Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs + /// Plugin = "canal", + /// }, + /// Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs + /// { + /// Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs /// { - /// Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs - /// { - /// Creation = "6h", - /// Retention = "24h", - /// }, + /// Creation = "6h", + /// Retention = "24h", /// }, /// }, /// }, - /// Default = true, - /// Name = "V1", /// }, + /// Default = true, + /// Name = "V1", /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// Creating Rancher v2 RKE cluster template with upgrade strategy. For Rancher v2.4.x or above. /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Cluster Template + /// var foo = new Rancher2.ClusterTemplate("foo", new() /// { - /// // Create a new rancher2 Cluster Template - /// var foo = new Rancher2.ClusterTemplate("foo", new Rancher2.ClusterTemplateArgs + /// Description = "Terraform cluster template foo", + /// Members = new[] /// { - /// Description = "Terraform cluster template foo", - /// Members = + /// new Rancher2.Inputs.ClusterTemplateMemberArgs /// { - /// new Rancher2.Inputs.ClusterTemplateMemberArgs - /// { - /// AccessType = "owner", - /// UserPrincipalId = "local://user-XXXXX", - /// }, + /// AccessType = "owner", + /// UserPrincipalId = "local://user-XXXXX", /// }, - /// TemplateRevisions = + /// }, + /// TemplateRevisions = new[] + /// { + /// new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs /// { - /// new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs + /// ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs /// { - /// ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs + /// RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs /// { - /// RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs + /// Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs /// { - /// Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs - /// { - /// Plugin = "canal", - /// }, - /// Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs - /// { - /// Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs - /// { - /// Creation = "6h", - /// Retention = "24h", - /// }, - /// }, - /// UpgradeStrategy = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs + /// Plugin = "canal", + /// }, + /// Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs + /// { + /// Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs /// { - /// Drain = true, - /// MaxUnavailableWorker = "20%", + /// Creation = "6h", + /// Retention = "24h", /// }, /// }, + /// UpgradeStrategy = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs + /// { + /// Drain = true, + /// MaxUnavailableWorker = "20%", + /// }, /// }, - /// Default = true, - /// Name = "V1", /// }, + /// Default = true, + /// Name = "V1", /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// Creating Rancher v2 RKE cluster template with scheduled cluster scan. For Rancher v2.4.x or above. /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Cluster Template + /// var foo = new Rancher2.ClusterTemplate("foo", new() /// { - /// // Create a new rancher2 Cluster Template - /// var foo = new Rancher2.ClusterTemplate("foo", new Rancher2.ClusterTemplateArgs + /// Description = "Terraform cluster template foo", + /// Members = new[] /// { - /// Description = "Terraform cluster template foo", - /// Members = + /// new Rancher2.Inputs.ClusterTemplateMemberArgs /// { - /// new Rancher2.Inputs.ClusterTemplateMemberArgs - /// { - /// AccessType = "owner", - /// UserPrincipalId = "local://user-XXXXX", - /// }, + /// AccessType = "owner", + /// UserPrincipalId = "local://user-XXXXX", /// }, - /// TemplateRevisions = + /// }, + /// TemplateRevisions = new[] + /// { + /// new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs /// { - /// new Rancher2.Inputs.ClusterTemplateTemplateRevisionArgs + /// ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs /// { - /// ClusterConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigArgs + /// RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs /// { - /// RkeConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs + /// Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs /// { - /// Network = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs - /// { - /// Plugin = "canal", - /// }, - /// Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs - /// { - /// Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs - /// { - /// Creation = "6h", - /// Retention = "24h", - /// }, - /// }, + /// Plugin = "canal", /// }, - /// ScheduledClusterScan = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs + /// Services = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs /// { - /// Enabled = true, - /// ScanConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs + /// Etcd = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs /// { - /// CisScanConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs - /// { - /// DebugMaster = true, - /// DebugWorker = true, - /// }, + /// Creation = "6h", + /// Retention = "24h", /// }, - /// ScheduleConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs + /// }, + /// }, + /// ScheduledClusterScan = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs + /// { + /// Enabled = true, + /// ScanConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs + /// { + /// CisScanConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs /// { - /// CronSchedule = "30 * * * *", - /// Retention = 5, + /// DebugMaster = true, + /// DebugWorker = true, /// }, /// }, + /// ScheduleConfig = new Rancher2.Inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs + /// { + /// CronSchedule = "30 * * * *", + /// Retention = 5, + /// }, /// }, - /// Default = true, - /// Name = "V1", /// }, + /// Default = true, + /// Name = "V1", /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -207,7 +201,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/clusterTemplate:ClusterTemplate")] - public partial class ClusterTemplate : Pulumi.CustomResource + public partial class ClusterTemplate : global::Pulumi.CustomResource { /// /// Annotations for the cluster template revision (map) @@ -295,7 +289,7 @@ public static ClusterTemplate Get(string name, Input id, ClusterTemplate } } - public sealed class ClusterTemplateArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -360,9 +354,10 @@ public InputList TemplateRevisions public ClusterTemplateArgs() { } + public static new ClusterTemplateArgs Empty => new ClusterTemplateArgs(); } - public sealed class ClusterTemplateState : Pulumi.ResourceArgs + public sealed class ClusterTemplateState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -433,5 +428,6 @@ public InputList TemplateRevision public ClusterTemplateState() { } + public static new ClusterTemplateState Empty => new ClusterTemplateState(); } } diff --git a/sdk/dotnet/ClusterV2.cs b/sdk/dotnet/ClusterV2.cs index 7e337756e..c0f90261c 100644 --- a/sdk/dotnet/ClusterV2.cs +++ b/sdk/dotnet/ClusterV2.cs @@ -10,30 +10,28 @@ namespace Pulumi.Rancher2 { /// - /// Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. + /// Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is available from Rancher v2.6.0 and above. /// /// ## Example Usage /// ### Creating Rancher v2 custom cluster v2 /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher v2 K3S custom Cluster v2 + /// var foo = new Rancher2.ClusterV2("foo", new() /// { - /// // Create a new rancher v2 K3S custom Cluster v2 - /// var foo = new Rancher2.ClusterV2("foo", new Rancher2.ClusterV2Args - /// { - /// DefaultClusterRoleForProjectMembers = "user", - /// EnableNetworkPolicy = false, - /// FleetNamespace = "fleet-ns", - /// KubernetesVersion = "v1.21.4+k3s1", - /// }); - /// } + /// DefaultClusterRoleForProjectMembers = "user", + /// EnableNetworkPolicy = false, + /// FleetNamespace = "fleet-ns", + /// KubernetesVersion = "v1.21.4+k3s1", + /// }); /// - /// } + /// }); /// ``` /// /// **Note** Once created, get the node command from `rancher2_cluster_v2.foo.cluster_registration_token` @@ -47,7 +45,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/clusterV2:ClusterV2")] - public partial class ClusterV2 : Pulumi.CustomResource + public partial class ClusterV2 : global::Pulumi.CustomResource { /// /// Optional Agent Env Vars for Rancher agent (list) @@ -168,6 +166,11 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "clusterRegistrationToken", + "kubeConfig", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -189,7 +192,7 @@ public static ClusterV2 Get(string name, Input id, ClusterV2State? state } } - public sealed class ClusterV2Args : Pulumi.ResourceArgs + public sealed class ClusterV2Args : global::Pulumi.ResourceArgs { [Input("agentEnvVars")] private InputList? _agentEnvVars; @@ -284,9 +287,10 @@ public InputMap Labels public ClusterV2Args() { } + public static new ClusterV2Args Empty => new ClusterV2Args(); } - public sealed class ClusterV2State : Pulumi.ResourceArgs + public sealed class ClusterV2State : global::Pulumi.ResourceArgs { [Input("agentEnvVars")] private InputList? _agentEnvVars; @@ -318,11 +322,21 @@ public InputMap Annotations [Input("cloudCredentialSecretName")] public Input? CloudCredentialSecretName { get; set; } + [Input("clusterRegistrationToken")] + private Input? _clusterRegistrationToken; + /// /// (Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1) /// - [Input("clusterRegistrationToken")] - public Input? ClusterRegistrationToken { get; set; } + public Input? ClusterRegistrationToken + { + get => _clusterRegistrationToken; + set + { + var emptySecret = Output.CreateSecret(0); + _clusterRegistrationToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (Computed) Cluster v1 id for cluster v2. (e.g to be used with `rancher2_sync`) (string) @@ -354,11 +368,21 @@ public InputMap Annotations [Input("fleetNamespace")] public Input? FleetNamespace { get; set; } + [Input("kubeConfig")] + private Input? _kubeConfig; + /// /// (Computed/Sensitive) Kube Config generated for the cluster v2. Note: When the cluster has `local_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string) /// - [Input("kubeConfig")] - public Input? KubeConfig { get; set; } + public Input? KubeConfig + { + get => _kubeConfig; + set + { + var emptySecret = Output.CreateSecret(0); + _kubeConfig = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The kubernetes version of the Cluster v2 (list maxitems:1) @@ -405,5 +429,6 @@ public InputMap Labels public ClusterV2State() { } + public static new ClusterV2State Empty => new ClusterV2State(); } } diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index c085cab8f..aafcd6ac3 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -30,7 +30,7 @@ public void Set(T value) } } - private static readonly Pulumi.Config __config = new Pulumi.Config("rancher2"); + private static readonly global::Pulumi.Config __config = new global::Pulumi.Config("rancher2"); private static readonly __Value _accessKey = new __Value(() => __config.Get("accessKey")); /// diff --git a/sdk/dotnet/ConfigMapV2.cs b/sdk/dotnet/ConfigMapV2.cs index 2de83962f..655433200 100644 --- a/sdk/dotnet/ConfigMapV2.cs +++ b/sdk/dotnet/ConfigMapV2.cs @@ -21,7 +21,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/configMapV2:ConfigMapV2")] - public partial class ConfigMapV2 : Pulumi.CustomResource + public partial class ConfigMapV2 : global::Pulumi.CustomResource { /// /// Annotations for the configMap v2 (map) @@ -115,7 +115,7 @@ public static ConfigMapV2 Get(string name, Input id, ConfigMapV2State? s } } - public sealed class ConfigMapV2Args : Pulumi.ResourceArgs + public sealed class ConfigMapV2Args : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -180,9 +180,10 @@ public InputMap Labels public ConfigMapV2Args() { } + public static new ConfigMapV2Args Empty => new ConfigMapV2Args(); } - public sealed class ConfigMapV2State : Pulumi.ResourceArgs + public sealed class ConfigMapV2State : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -253,5 +254,6 @@ public InputMap Labels public ConfigMapV2State() { } + public static new ConfigMapV2State Empty => new ConfigMapV2State(); } } diff --git a/sdk/dotnet/EtcdBackup.cs b/sdk/dotnet/EtcdBackup.cs index 78ba2c65f..4a290b935 100644 --- a/sdk/dotnet/EtcdBackup.cs +++ b/sdk/dotnet/EtcdBackup.cs @@ -13,37 +13,35 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Etcd Backup + /// var foo = new Rancher2.EtcdBackup("foo", new() /// { - /// // Create a new rancher2 Etcd Backup - /// var foo = new Rancher2.EtcdBackup("foo", new Rancher2.EtcdBackupArgs + /// BackupConfig = new Rancher2.Inputs.EtcdBackupBackupConfigArgs /// { - /// BackupConfig = new Rancher2.Inputs.EtcdBackupBackupConfigArgs + /// Enabled = true, + /// IntervalHours = 20, + /// Retention = 10, + /// S3BackupConfig = new Rancher2.Inputs.EtcdBackupBackupConfigS3BackupConfigArgs /// { - /// Enabled = true, - /// IntervalHours = 20, - /// Retention = 10, - /// S3BackupConfig = new Rancher2.Inputs.EtcdBackupBackupConfigS3BackupConfigArgs - /// { - /// AccessKey = "access_key", - /// BucketName = "bucket_name", - /// Endpoint = "endpoint", - /// Folder = "/folder", - /// Region = "region", - /// SecretKey = "secret_key", - /// }, + /// AccessKey = "access_key", + /// BucketName = "bucket_name", + /// Endpoint = "endpoint", + /// Folder = "/folder", + /// Region = "region", + /// SecretKey = "secret_key", /// }, - /// ClusterId = "<CLUSTER_ID>", - /// Filename = "<FILENAME>", - /// }); - /// } + /// }, + /// ClusterId = "<CLUSTER_ID>", + /// Filename = "<FILENAME>", + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -55,7 +53,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/etcdBackup:EtcdBackup")] - public partial class EtcdBackup : Pulumi.CustomResource + public partial class EtcdBackup : global::Pulumi.CustomResource { /// /// Annotations for Etcd Backup object (map) @@ -149,7 +147,7 @@ public static EtcdBackup Get(string name, Input id, EtcdBackupState? sta } } - public sealed class EtcdBackupArgs : Pulumi.ResourceArgs + public sealed class EtcdBackupArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -214,9 +212,10 @@ public InputMap Labels public EtcdBackupArgs() { } + public static new EtcdBackupArgs Empty => new EtcdBackupArgs(); } - public sealed class EtcdBackupState : Pulumi.ResourceArgs + public sealed class EtcdBackupState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -281,5 +280,6 @@ public InputMap Labels public EtcdBackupState() { } + public static new EtcdBackupState Empty => new EtcdBackupState(); } } diff --git a/sdk/dotnet/Feature.cs b/sdk/dotnet/Feature.cs index 0b5b2606b..e901522d6 100644 --- a/sdk/dotnet/Feature.cs +++ b/sdk/dotnet/Feature.cs @@ -13,25 +13,23 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Feature + /// var fleet = new Rancher2.Feature("fleet", new() /// { - /// // Create a new rancher2 Feature - /// var fleet = new Rancher2.Feature("fleet", new Rancher2.FeatureArgs - /// { - /// Value = "<VALUE>", - /// }); - /// } + /// Value = "<VALUE>", + /// }); /// - /// } + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/feature:Feature")] - public partial class Feature : Pulumi.CustomResource + public partial class Feature : global::Pulumi.CustomResource { /// /// Annotations for feature object (map) @@ -101,7 +99,7 @@ public static Feature Get(string name, Input id, FeatureState? state = n } } - public sealed class FeatureArgs : Pulumi.ResourceArgs + public sealed class FeatureArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -142,9 +140,10 @@ public InputMap Labels public FeatureArgs() { } + public static new FeatureArgs Empty => new FeatureArgs(); } - public sealed class FeatureState : Pulumi.ResourceArgs + public sealed class FeatureState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -185,5 +184,6 @@ public InputMap Labels public FeatureState() { } + public static new FeatureState Empty => new FeatureState(); } } diff --git a/sdk/dotnet/GetApp.cs b/sdk/dotnet/GetApp.cs index 42c9a99dc..ca9f60cee 100644 --- a/sdk/dotnet/GetApp.cs +++ b/sdk/dotnet/GetApp.cs @@ -19,28 +19,26 @@ public static class GetApp /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var rancher2 = Rancher2.GetApp.Invoke(new() /// { - /// var rancher2 = Output.Create(Rancher2.GetApp.InvokeAsync(new Rancher2.GetAppArgs - /// { - /// Name = "foo", - /// ProjectId = "<project_id>", - /// TargetNamespace = "<namespace_name>", - /// })); - /// } + /// Name = "foo", + /// ProjectId = "<project_id>", + /// TargetNamespace = "<namespace_name>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetAppArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getApp:getApp", args ?? new GetAppArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getApp:getApp", args ?? new GetAppArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 app. @@ -50,32 +48,30 @@ public static Task InvokeAsync(GetAppArgs args, InvokeOptions? opt /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var rancher2 = Rancher2.GetApp.Invoke(new() /// { - /// var rancher2 = Output.Create(Rancher2.GetApp.InvokeAsync(new Rancher2.GetAppArgs - /// { - /// Name = "foo", - /// ProjectId = "<project_id>", - /// TargetNamespace = "<namespace_name>", - /// })); - /// } + /// Name = "foo", + /// ProjectId = "<project_id>", + /// TargetNamespace = "<namespace_name>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetAppInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getApp:getApp", args ?? new GetAppInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getApp:getApp", args ?? new GetAppInvokeArgs(), options.WithDefaults()); } - public sealed class GetAppArgs : Pulumi.InvokeArgs + public sealed class GetAppArgs : global::Pulumi.InvokeArgs { [Input("annotations")] private Dictionary? _annotations; @@ -110,9 +106,10 @@ public Dictionary Annotations public GetAppArgs() { } + public static new GetAppArgs Empty => new GetAppArgs(); } - public sealed class GetAppInvokeArgs : Pulumi.InvokeArgs + public sealed class GetAppInvokeArgs : global::Pulumi.InvokeArgs { [Input("annotations")] private InputMap? _annotations; @@ -147,6 +144,7 @@ public InputMap Annotations public GetAppInvokeArgs() { } + public static new GetAppInvokeArgs Empty => new GetAppInvokeArgs(); } diff --git a/sdk/dotnet/GetCatalog.cs b/sdk/dotnet/GetCatalog.cs index cb41152ca..d7ccf2f45 100644 --- a/sdk/dotnet/GetCatalog.cs +++ b/sdk/dotnet/GetCatalog.cs @@ -19,26 +19,24 @@ public static class GetCatalog /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var library = Rancher2.GetCatalog.Invoke(new() /// { - /// var library = Output.Create(Rancher2.GetCatalog.InvokeAsync(new Rancher2.GetCatalogArgs - /// { - /// Name = "catalog", - /// })); - /// } + /// Name = "catalog", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetCatalogArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getCatalog:getCatalog", args ?? new GetCatalogArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getCatalog:getCatalog", args ?? new GetCatalogArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 catalog. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetCatalogArgs args, InvokeOpti /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var library = Rancher2.GetCatalog.Invoke(new() /// { - /// var library = Output.Create(Rancher2.GetCatalog.InvokeAsync(new Rancher2.GetCatalogArgs - /// { - /// Name = "catalog", - /// })); - /// } + /// Name = "catalog", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetCatalogInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getCatalog:getCatalog", args ?? new GetCatalogInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCatalog:getCatalog", args ?? new GetCatalogInvokeArgs(), options.WithDefaults()); } - public sealed class GetCatalogArgs : Pulumi.InvokeArgs + public sealed class GetCatalogArgs : global::Pulumi.InvokeArgs { /// /// The catalog name. @@ -88,9 +84,10 @@ public sealed class GetCatalogArgs : Pulumi.InvokeArgs public GetCatalogArgs() { } + public static new GetCatalogArgs Empty => new GetCatalogArgs(); } - public sealed class GetCatalogInvokeArgs : Pulumi.InvokeArgs + public sealed class GetCatalogInvokeArgs : global::Pulumi.InvokeArgs { /// /// The catalog name. @@ -107,6 +104,7 @@ public sealed class GetCatalogInvokeArgs : Pulumi.InvokeArgs public GetCatalogInvokeArgs() { } + public static new GetCatalogInvokeArgs Empty => new GetCatalogInvokeArgs(); } diff --git a/sdk/dotnet/GetCatalogV2.cs b/sdk/dotnet/GetCatalogV2.cs index 6269a0b51..b57364cbf 100644 --- a/sdk/dotnet/GetCatalogV2.cs +++ b/sdk/dotnet/GetCatalogV2.cs @@ -15,17 +15,17 @@ public static class GetCatalogV2 /// Use this data source to retrieve information about a Rancher2 catalog v2. Catalog v2 resource is available at Rancher v2.5.x and above. /// public static Task InvokeAsync(GetCatalogV2Args args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getCatalogV2:getCatalogV2", args ?? new GetCatalogV2Args(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getCatalogV2:getCatalogV2", args ?? new GetCatalogV2Args(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher2 catalog v2. Catalog v2 resource is available at Rancher v2.5.x and above. /// public static Output Invoke(GetCatalogV2InvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getCatalogV2:getCatalogV2", args ?? new GetCatalogV2InvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCatalogV2:getCatalogV2", args ?? new GetCatalogV2InvokeArgs(), options.WithDefaults()); } - public sealed class GetCatalogV2Args : Pulumi.InvokeArgs + public sealed class GetCatalogV2Args : global::Pulumi.InvokeArgs { /// /// The cluster id of the catalog V2 (string) @@ -42,9 +42,10 @@ public sealed class GetCatalogV2Args : Pulumi.InvokeArgs public GetCatalogV2Args() { } + public static new GetCatalogV2Args Empty => new GetCatalogV2Args(); } - public sealed class GetCatalogV2InvokeArgs : Pulumi.InvokeArgs + public sealed class GetCatalogV2InvokeArgs : global::Pulumi.InvokeArgs { /// /// The cluster id of the catalog V2 (string) @@ -61,6 +62,7 @@ public sealed class GetCatalogV2InvokeArgs : Pulumi.InvokeArgs public GetCatalogV2InvokeArgs() { } + public static new GetCatalogV2InvokeArgs Empty => new GetCatalogV2InvokeArgs(); } diff --git a/sdk/dotnet/GetCertificate.cs b/sdk/dotnet/GetCertificate.cs index 5da94fd5f..53e16349d 100644 --- a/sdk/dotnet/GetCertificate.cs +++ b/sdk/dotnet/GetCertificate.cs @@ -23,46 +23,42 @@ public static class GetCertificate /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetCertificate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetCertificate.InvokeAsync(new Rancher2.GetCertificateArgs - /// { - /// Name = "<name>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetCertificate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetCertificate.InvokeAsync(new Rancher2.GetCertificateArgs - /// { - /// Name = "<name>", - /// NamespaceId = "<namespace_id>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// NamespaceId = "<namespace_id>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetCertificateArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getCertificate:getCertificate", args ?? new GetCertificateArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getCertificate:getCertificate", args ?? new GetCertificateArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 certificate. @@ -76,50 +72,46 @@ public static Task InvokeAsync(GetCertificateArgs args, In /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetCertificate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetCertificate.InvokeAsync(new Rancher2.GetCertificateArgs - /// { - /// Name = "<name>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetCertificate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetCertificate.InvokeAsync(new Rancher2.GetCertificateArgs - /// { - /// Name = "<name>", - /// NamespaceId = "<namespace_id>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// NamespaceId = "<namespace_id>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetCertificateInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getCertificate:getCertificate", args ?? new GetCertificateInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCertificate:getCertificate", args ?? new GetCertificateInvokeArgs(), options.WithDefaults()); } - public sealed class GetCertificateArgs : Pulumi.InvokeArgs + public sealed class GetCertificateArgs : global::Pulumi.InvokeArgs { /// /// The name of the certificate (string) @@ -142,9 +134,10 @@ public sealed class GetCertificateArgs : Pulumi.InvokeArgs public GetCertificateArgs() { } + public static new GetCertificateArgs Empty => new GetCertificateArgs(); } - public sealed class GetCertificateInvokeArgs : Pulumi.InvokeArgs + public sealed class GetCertificateInvokeArgs : global::Pulumi.InvokeArgs { /// /// The name of the certificate (string) @@ -167,6 +160,7 @@ public sealed class GetCertificateInvokeArgs : Pulumi.InvokeArgs public GetCertificateInvokeArgs() { } + public static new GetCertificateInvokeArgs Empty => new GetCertificateInvokeArgs(); } diff --git a/sdk/dotnet/GetCloudCredential.cs b/sdk/dotnet/GetCloudCredential.cs index 51c3faf46..b6dd50ed0 100644 --- a/sdk/dotnet/GetCloudCredential.cs +++ b/sdk/dotnet/GetCloudCredential.cs @@ -19,26 +19,24 @@ public static class GetCloudCredential /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var test = Rancher2.GetCloudCredential.Invoke(new() /// { - /// var test = Output.Create(Rancher2.GetCloudCredential.InvokeAsync(new Rancher2.GetCloudCredentialArgs - /// { - /// Name = "test", - /// })); - /// } + /// Name = "test", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetCloudCredentialArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getCloudCredential:getCloudCredential", args ?? new GetCloudCredentialArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getCloudCredential:getCloudCredential", args ?? new GetCloudCredentialArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 Cloud Credential. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetCloudCredentialArgs /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var test = Rancher2.GetCloudCredential.Invoke(new() /// { - /// var test = Output.Create(Rancher2.GetCloudCredential.InvokeAsync(new Rancher2.GetCloudCredentialArgs - /// { - /// Name = "test", - /// })); - /// } + /// Name = "test", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetCloudCredentialInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getCloudCredential:getCloudCredential", args ?? new GetCloudCredentialInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCloudCredential:getCloudCredential", args ?? new GetCloudCredentialInvokeArgs(), options.WithDefaults()); } - public sealed class GetCloudCredentialArgs : Pulumi.InvokeArgs + public sealed class GetCloudCredentialArgs : global::Pulumi.InvokeArgs { /// /// The Cloud Credential name. @@ -82,9 +78,10 @@ public sealed class GetCloudCredentialArgs : Pulumi.InvokeArgs public GetCloudCredentialArgs() { } + public static new GetCloudCredentialArgs Empty => new GetCloudCredentialArgs(); } - public sealed class GetCloudCredentialInvokeArgs : Pulumi.InvokeArgs + public sealed class GetCloudCredentialInvokeArgs : global::Pulumi.InvokeArgs { /// /// The Cloud Credential name. @@ -95,6 +92,7 @@ public sealed class GetCloudCredentialInvokeArgs : Pulumi.InvokeArgs public GetCloudCredentialInvokeArgs() { } + public static new GetCloudCredentialInvokeArgs Empty => new GetCloudCredentialInvokeArgs(); } diff --git a/sdk/dotnet/GetCluster.cs b/sdk/dotnet/GetCluster.cs index 6e9ed46e5..9eac5318b 100644 --- a/sdk/dotnet/GetCluster.cs +++ b/sdk/dotnet/GetCluster.cs @@ -19,26 +19,24 @@ public static class GetCluster /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo_custom = Rancher2.GetCluster.Invoke(new() /// { - /// var foo_custom = Output.Create(Rancher2.GetCluster.InvokeAsync(new Rancher2.GetClusterArgs - /// { - /// Name = "foo-custom", - /// })); - /// } + /// Name = "foo-custom", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetClusterArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getCluster:getCluster", args ?? new GetClusterArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getCluster:getCluster", args ?? new GetClusterArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 cluster. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetClusterArgs args, InvokeOpti /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo_custom = Rancher2.GetCluster.Invoke(new() /// { - /// var foo_custom = Output.Create(Rancher2.GetCluster.InvokeAsync(new Rancher2.GetClusterArgs - /// { - /// Name = "foo-custom", - /// })); - /// } + /// Name = "foo-custom", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetClusterInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getCluster:getCluster", args ?? new GetClusterInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getCluster:getCluster", args ?? new GetClusterInvokeArgs(), options.WithDefaults()); } - public sealed class GetClusterArgs : Pulumi.InvokeArgs + public sealed class GetClusterArgs : global::Pulumi.InvokeArgs { /// /// The name of the Cluster (string) @@ -82,9 +78,10 @@ public sealed class GetClusterArgs : Pulumi.InvokeArgs public GetClusterArgs() { } + public static new GetClusterArgs Empty => new GetClusterArgs(); } - public sealed class GetClusterInvokeArgs : Pulumi.InvokeArgs + public sealed class GetClusterInvokeArgs : global::Pulumi.InvokeArgs { /// /// The name of the Cluster (string) @@ -95,6 +92,7 @@ public sealed class GetClusterInvokeArgs : Pulumi.InvokeArgs public GetClusterInvokeArgs() { } + public static new GetClusterInvokeArgs Empty => new GetClusterInvokeArgs(); } diff --git a/sdk/dotnet/GetClusterAlertGroup.cs b/sdk/dotnet/GetClusterAlertGroup.cs index 718bed78f..dd7dab3ed 100644 --- a/sdk/dotnet/GetClusterAlertGroup.cs +++ b/sdk/dotnet/GetClusterAlertGroup.cs @@ -19,27 +19,25 @@ public static class GetClusterAlertGroup /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterAlertGroup.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterAlertGroup.InvokeAsync(new Rancher2.GetClusterAlertGroupArgs - /// { - /// ClusterId = "<cluster_id>", - /// Name = "<cluster_alert_group_name>", - /// })); - /// } + /// ClusterId = "<cluster_id>", + /// Name = "<cluster_alert_group_name>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetClusterAlertGroupArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterAlertGroup:getClusterAlertGroup", args ?? new GetClusterAlertGroupArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterAlertGroup:getClusterAlertGroup", args ?? new GetClusterAlertGroupArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 cluster alert group. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetClusterAlertGroupA /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterAlertGroup.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterAlertGroup.InvokeAsync(new Rancher2.GetClusterAlertGroupArgs - /// { - /// ClusterId = "<cluster_id>", - /// Name = "<cluster_alert_group_name>", - /// })); - /// } + /// ClusterId = "<cluster_id>", + /// Name = "<cluster_alert_group_name>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetClusterAlertGroupInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterAlertGroup:getClusterAlertGroup", args ?? new GetClusterAlertGroupInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterAlertGroup:getClusterAlertGroup", args ?? new GetClusterAlertGroupInvokeArgs(), options.WithDefaults()); } - public sealed class GetClusterAlertGroupArgs : Pulumi.InvokeArgs + public sealed class GetClusterAlertGroupArgs : global::Pulumi.InvokeArgs { /// /// The cluster id where create cluster alert group (string) @@ -90,9 +86,10 @@ public sealed class GetClusterAlertGroupArgs : Pulumi.InvokeArgs public GetClusterAlertGroupArgs() { } + public static new GetClusterAlertGroupArgs Empty => new GetClusterAlertGroupArgs(); } - public sealed class GetClusterAlertGroupInvokeArgs : Pulumi.InvokeArgs + public sealed class GetClusterAlertGroupInvokeArgs : global::Pulumi.InvokeArgs { /// /// The cluster id where create cluster alert group (string) @@ -109,6 +106,7 @@ public sealed class GetClusterAlertGroupInvokeArgs : Pulumi.InvokeArgs public GetClusterAlertGroupInvokeArgs() { } + public static new GetClusterAlertGroupInvokeArgs Empty => new GetClusterAlertGroupInvokeArgs(); } diff --git a/sdk/dotnet/GetClusterAlterRule.cs b/sdk/dotnet/GetClusterAlterRule.cs index 2b689e40e..849af7af2 100644 --- a/sdk/dotnet/GetClusterAlterRule.cs +++ b/sdk/dotnet/GetClusterAlterRule.cs @@ -19,27 +19,25 @@ public static class GetClusterAlterRule /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterAlterRule.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterAlterRule.InvokeAsync(new Rancher2.GetClusterAlterRuleArgs - /// { - /// ClusterId = "<cluster_id>", - /// Name = "<cluster_alert_rule_name>", - /// })); - /// } + /// ClusterId = "<cluster_id>", + /// Name = "<cluster_alert_rule_name>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetClusterAlterRuleArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterAlterRule:getClusterAlterRule", args ?? new GetClusterAlterRuleArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterAlterRule:getClusterAlterRule", args ?? new GetClusterAlterRuleArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 cluster alert rule. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetClusterAlterRuleArg /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterAlterRule.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterAlterRule.InvokeAsync(new Rancher2.GetClusterAlterRuleArgs - /// { - /// ClusterId = "<cluster_id>", - /// Name = "<cluster_alert_rule_name>", - /// })); - /// } + /// ClusterId = "<cluster_id>", + /// Name = "<cluster_alert_rule_name>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetClusterAlterRuleInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterAlterRule:getClusterAlterRule", args ?? new GetClusterAlterRuleInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterAlterRule:getClusterAlterRule", args ?? new GetClusterAlterRuleInvokeArgs(), options.WithDefaults()); } - public sealed class GetClusterAlterRuleArgs : Pulumi.InvokeArgs + public sealed class GetClusterAlterRuleArgs : global::Pulumi.InvokeArgs { /// /// The cluster id where create cluster alert rule (string) @@ -102,9 +98,10 @@ public Dictionary Labels public GetClusterAlterRuleArgs() { } + public static new GetClusterAlterRuleArgs Empty => new GetClusterAlterRuleArgs(); } - public sealed class GetClusterAlterRuleInvokeArgs : Pulumi.InvokeArgs + public sealed class GetClusterAlterRuleInvokeArgs : global::Pulumi.InvokeArgs { /// /// The cluster id where create cluster alert rule (string) @@ -133,6 +130,7 @@ public InputMap Labels public GetClusterAlterRuleInvokeArgs() { } + public static new GetClusterAlterRuleInvokeArgs Empty => new GetClusterAlterRuleInvokeArgs(); } diff --git a/sdk/dotnet/GetClusterDriver.cs b/sdk/dotnet/GetClusterDriver.cs index d38f6d29c..f0d0ae072 100644 --- a/sdk/dotnet/GetClusterDriver.cs +++ b/sdk/dotnet/GetClusterDriver.cs @@ -19,26 +19,24 @@ public static class GetClusterDriver /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterDriver.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterDriver.InvokeAsync(new Rancher2.GetClusterDriverArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetClusterDriverArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterDriver:getClusterDriver", args ?? new GetClusterDriverArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterDriver:getClusterDriver", args ?? new GetClusterDriverArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetClusterDriverArgs args /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterDriver.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterDriver.InvokeAsync(new Rancher2.GetClusterDriverArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetClusterDriverInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterDriver:getClusterDriver", args ?? new GetClusterDriverInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterDriver:getClusterDriver", args ?? new GetClusterDriverInvokeArgs(), options.WithDefaults()); } - public sealed class GetClusterDriverArgs : Pulumi.InvokeArgs + public sealed class GetClusterDriverArgs : global::Pulumi.InvokeArgs { /// /// Name of the cluster driver (string) @@ -88,9 +84,10 @@ public sealed class GetClusterDriverArgs : Pulumi.InvokeArgs public GetClusterDriverArgs() { } + public static new GetClusterDriverArgs Empty => new GetClusterDriverArgs(); } - public sealed class GetClusterDriverInvokeArgs : Pulumi.InvokeArgs + public sealed class GetClusterDriverInvokeArgs : global::Pulumi.InvokeArgs { /// /// Name of the cluster driver (string) @@ -107,6 +104,7 @@ public sealed class GetClusterDriverInvokeArgs : Pulumi.InvokeArgs public GetClusterDriverInvokeArgs() { } + public static new GetClusterDriverInvokeArgs Empty => new GetClusterDriverInvokeArgs(); } diff --git a/sdk/dotnet/GetClusterLogging.cs b/sdk/dotnet/GetClusterLogging.cs index 08e641bda..abdc3342b 100644 --- a/sdk/dotnet/GetClusterLogging.cs +++ b/sdk/dotnet/GetClusterLogging.cs @@ -19,26 +19,24 @@ public static class GetClusterLogging /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterLogging.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterLogging.InvokeAsync(new Rancher2.GetClusterLoggingArgs - /// { - /// ClusterId = "<cluster_id>", - /// })); - /// } + /// ClusterId = "<cluster_id>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetClusterLoggingArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterLogging:getClusterLogging", args ?? new GetClusterLoggingArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterLogging:getClusterLogging", args ?? new GetClusterLoggingArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 Cluster Logging. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetClusterLoggingArgs ar /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterLogging.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterLogging.InvokeAsync(new Rancher2.GetClusterLoggingArgs - /// { - /// ClusterId = "<cluster_id>", - /// })); - /// } + /// ClusterId = "<cluster_id>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetClusterLoggingInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterLogging:getClusterLogging", args ?? new GetClusterLoggingInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterLogging:getClusterLogging", args ?? new GetClusterLoggingInvokeArgs(), options.WithDefaults()); } - public sealed class GetClusterLoggingArgs : Pulumi.InvokeArgs + public sealed class GetClusterLoggingArgs : global::Pulumi.InvokeArgs { /// /// The cluster id to configure logging (string) @@ -82,9 +78,10 @@ public sealed class GetClusterLoggingArgs : Pulumi.InvokeArgs public GetClusterLoggingArgs() { } + public static new GetClusterLoggingArgs Empty => new GetClusterLoggingArgs(); } - public sealed class GetClusterLoggingInvokeArgs : Pulumi.InvokeArgs + public sealed class GetClusterLoggingInvokeArgs : global::Pulumi.InvokeArgs { /// /// The cluster id to configure logging (string) @@ -95,6 +92,7 @@ public sealed class GetClusterLoggingInvokeArgs : Pulumi.InvokeArgs public GetClusterLoggingInvokeArgs() { } + public static new GetClusterLoggingInvokeArgs Empty => new GetClusterLoggingInvokeArgs(); } diff --git a/sdk/dotnet/GetClusterRoleTemplateBinding.cs b/sdk/dotnet/GetClusterRoleTemplateBinding.cs index 90b6e1e90..bd52f9145 100644 --- a/sdk/dotnet/GetClusterRoleTemplateBinding.cs +++ b/sdk/dotnet/GetClusterRoleTemplateBinding.cs @@ -19,27 +19,25 @@ public static class GetClusterRoleTemplateBinding /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterRoleTemplateBinding.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterRoleTemplateBinding.InvokeAsync(new Rancher2.GetClusterRoleTemplateBindingArgs - /// { - /// ClusterId = "foo_id", - /// Name = "foo", - /// })); - /// } + /// ClusterId = "foo_id", + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetClusterRoleTemplateBindingArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding", args ?? new GetClusterRoleTemplateBindingArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding", args ?? new GetClusterRoleTemplateBindingArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 cluster role template binding. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetClusterRo /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterRoleTemplateBinding.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterRoleTemplateBinding.InvokeAsync(new Rancher2.GetClusterRoleTemplateBindingArgs - /// { - /// ClusterId = "foo_id", - /// Name = "foo", - /// })); - /// } + /// ClusterId = "foo_id", + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetClusterRoleTemplateBindingInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding", args ?? new GetClusterRoleTemplateBindingInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding", args ?? new GetClusterRoleTemplateBindingInvokeArgs(), options.WithDefaults()); } - public sealed class GetClusterRoleTemplateBindingArgs : Pulumi.InvokeArgs + public sealed class GetClusterRoleTemplateBindingArgs : global::Pulumi.InvokeArgs { /// /// The cluster id where bind cluster role template (string) @@ -96,9 +92,10 @@ public sealed class GetClusterRoleTemplateBindingArgs : Pulumi.InvokeArgs public GetClusterRoleTemplateBindingArgs() { } + public static new GetClusterRoleTemplateBindingArgs Empty => new GetClusterRoleTemplateBindingArgs(); } - public sealed class GetClusterRoleTemplateBindingInvokeArgs : Pulumi.InvokeArgs + public sealed class GetClusterRoleTemplateBindingInvokeArgs : global::Pulumi.InvokeArgs { /// /// The cluster id where bind cluster role template (string) @@ -121,6 +118,7 @@ public sealed class GetClusterRoleTemplateBindingInvokeArgs : Pulumi.InvokeArgs public GetClusterRoleTemplateBindingInvokeArgs() { } + public static new GetClusterRoleTemplateBindingInvokeArgs Empty => new GetClusterRoleTemplateBindingInvokeArgs(); } diff --git a/sdk/dotnet/GetClusterScan.cs b/sdk/dotnet/GetClusterScan.cs index 52dde4506..265b68367 100644 --- a/sdk/dotnet/GetClusterScan.cs +++ b/sdk/dotnet/GetClusterScan.cs @@ -15,17 +15,17 @@ public static class GetClusterScan /// Use this data source to retrieve information about a Rancher v2 Cluster CIS Scan resource. /// public static Task InvokeAsync(GetClusterScanArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterScan:getClusterScan", args ?? new GetClusterScanArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterScan:getClusterScan", args ?? new GetClusterScanArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 Cluster CIS Scan resource. /// public static Output Invoke(GetClusterScanInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterScan:getClusterScan", args ?? new GetClusterScanInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterScan:getClusterScan", args ?? new GetClusterScanInvokeArgs(), options.WithDefaults()); } - public sealed class GetClusterScanArgs : Pulumi.InvokeArgs + public sealed class GetClusterScanArgs : global::Pulumi.InvokeArgs { /// /// Cluster ID for CIS Scan (string) @@ -42,9 +42,10 @@ public sealed class GetClusterScanArgs : Pulumi.InvokeArgs public GetClusterScanArgs() { } + public static new GetClusterScanArgs Empty => new GetClusterScanArgs(); } - public sealed class GetClusterScanInvokeArgs : Pulumi.InvokeArgs + public sealed class GetClusterScanInvokeArgs : global::Pulumi.InvokeArgs { /// /// Cluster ID for CIS Scan (string) @@ -61,6 +62,7 @@ public sealed class GetClusterScanInvokeArgs : Pulumi.InvokeArgs public GetClusterScanInvokeArgs() { } + public static new GetClusterScanInvokeArgs Empty => new GetClusterScanInvokeArgs(); } diff --git a/sdk/dotnet/GetClusterTemplate.cs b/sdk/dotnet/GetClusterTemplate.cs index f0d949610..50b7ac2f1 100644 --- a/sdk/dotnet/GetClusterTemplate.cs +++ b/sdk/dotnet/GetClusterTemplate.cs @@ -21,26 +21,24 @@ public static class GetClusterTemplate /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterTemplate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterTemplate.InvokeAsync(new Rancher2.GetClusterTemplateArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetClusterTemplateArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterTemplate:getClusterTemplate", args ?? new GetClusterTemplateArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterTemplate:getClusterTemplate", args ?? new GetClusterTemplateArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 cluster template. @@ -52,30 +50,28 @@ public static Task InvokeAsync(GetClusterTemplateArgs /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterTemplate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterTemplate.InvokeAsync(new Rancher2.GetClusterTemplateArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetClusterTemplateInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterTemplate:getClusterTemplate", args ?? new GetClusterTemplateInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterTemplate:getClusterTemplate", args ?? new GetClusterTemplateInvokeArgs(), options.WithDefaults()); } - public sealed class GetClusterTemplateArgs : Pulumi.InvokeArgs + public sealed class GetClusterTemplateArgs : global::Pulumi.InvokeArgs { [Input("annotations")] private Dictionary? _annotations; @@ -113,9 +109,10 @@ public Dictionary Labels public GetClusterTemplateArgs() { } + public static new GetClusterTemplateArgs Empty => new GetClusterTemplateArgs(); } - public sealed class GetClusterTemplateInvokeArgs : Pulumi.InvokeArgs + public sealed class GetClusterTemplateInvokeArgs : global::Pulumi.InvokeArgs { [Input("annotations")] private InputMap? _annotations; @@ -153,6 +150,7 @@ public InputMap Labels public GetClusterTemplateInvokeArgs() { } + public static new GetClusterTemplateInvokeArgs Empty => new GetClusterTemplateInvokeArgs(); } diff --git a/sdk/dotnet/GetClusterV2.cs b/sdk/dotnet/GetClusterV2.cs index c77c39fcf..7db0fe3a6 100644 --- a/sdk/dotnet/GetClusterV2.cs +++ b/sdk/dotnet/GetClusterV2.cs @@ -19,27 +19,25 @@ public static class GetClusterV2 /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterV2.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterV2.InvokeAsync(new Rancher2.GetClusterV2Args - /// { - /// FleetNamespace = "fleet-ns", - /// Name = "foo", - /// })); - /// } + /// FleetNamespace = "fleet-ns", + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetClusterV2Args args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterV2:getClusterV2", args ?? new GetClusterV2Args(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getClusterV2:getClusterV2", args ?? new GetClusterV2Args(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 cluster. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetClusterV2Args args, Invoke /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetClusterV2.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetClusterV2.InvokeAsync(new Rancher2.GetClusterV2Args - /// { - /// FleetNamespace = "fleet-ns", - /// Name = "foo", - /// })); - /// } + /// FleetNamespace = "fleet-ns", + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetClusterV2InvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterV2:getClusterV2", args ?? new GetClusterV2InvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getClusterV2:getClusterV2", args ?? new GetClusterV2InvokeArgs(), options.WithDefaults()); } - public sealed class GetClusterV2Args : Pulumi.InvokeArgs + public sealed class GetClusterV2Args : global::Pulumi.InvokeArgs { /// /// The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) @@ -90,9 +86,10 @@ public sealed class GetClusterV2Args : Pulumi.InvokeArgs public GetClusterV2Args() { } + public static new GetClusterV2Args Empty => new GetClusterV2Args(); } - public sealed class GetClusterV2InvokeArgs : Pulumi.InvokeArgs + public sealed class GetClusterV2InvokeArgs : global::Pulumi.InvokeArgs { /// /// The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) @@ -109,6 +106,7 @@ public sealed class GetClusterV2InvokeArgs : Pulumi.InvokeArgs public GetClusterV2InvokeArgs() { } + public static new GetClusterV2InvokeArgs Empty => new GetClusterV2InvokeArgs(); } diff --git a/sdk/dotnet/GetConfigMapV2.cs b/sdk/dotnet/GetConfigMapV2.cs index 913765e33..90690c22f 100644 --- a/sdk/dotnet/GetConfigMapV2.cs +++ b/sdk/dotnet/GetConfigMapV2.cs @@ -15,17 +15,17 @@ public static class GetConfigMapV2 /// Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above. /// public static Task InvokeAsync(GetConfigMapV2Args args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getConfigMapV2:getConfigMapV2", args ?? new GetConfigMapV2Args(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getConfigMapV2:getConfigMapV2", args ?? new GetConfigMapV2Args(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher2 configMap v2. ConfigMap v2 resource is available at Rancher v2.5.x and above. /// public static Output Invoke(GetConfigMapV2InvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getConfigMapV2:getConfigMapV2", args ?? new GetConfigMapV2InvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getConfigMapV2:getConfigMapV2", args ?? new GetConfigMapV2InvokeArgs(), options.WithDefaults()); } - public sealed class GetConfigMapV2Args : Pulumi.InvokeArgs + public sealed class GetConfigMapV2Args : global::Pulumi.InvokeArgs { /// /// The cluster id of the configMap V2 (string) @@ -48,9 +48,10 @@ public sealed class GetConfigMapV2Args : Pulumi.InvokeArgs public GetConfigMapV2Args() { } + public static new GetConfigMapV2Args Empty => new GetConfigMapV2Args(); } - public sealed class GetConfigMapV2InvokeArgs : Pulumi.InvokeArgs + public sealed class GetConfigMapV2InvokeArgs : global::Pulumi.InvokeArgs { /// /// The cluster id of the configMap V2 (string) @@ -73,6 +74,7 @@ public sealed class GetConfigMapV2InvokeArgs : Pulumi.InvokeArgs public GetConfigMapV2InvokeArgs() { } + public static new GetConfigMapV2InvokeArgs Empty => new GetConfigMapV2InvokeArgs(); } diff --git a/sdk/dotnet/GetEtcdBackup.cs b/sdk/dotnet/GetEtcdBackup.cs index c25a87cf7..65a19e38e 100644 --- a/sdk/dotnet/GetEtcdBackup.cs +++ b/sdk/dotnet/GetEtcdBackup.cs @@ -19,27 +19,25 @@ public static class GetEtcdBackup /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetEtcdBackup.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetEtcdBackup.InvokeAsync(new Rancher2.GetEtcdBackupArgs - /// { - /// ClusterId = "<CLUSTER_ID>", - /// Name = "foo", - /// })); - /// } + /// ClusterId = "<CLUSTER_ID>", + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetEtcdBackupArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getEtcdBackup:getEtcdBackup", args ?? new GetEtcdBackupArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getEtcdBackup:getEtcdBackup", args ?? new GetEtcdBackupArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 etcd backup. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetEtcdBackupArgs args, Invo /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetEtcdBackup.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetEtcdBackup.InvokeAsync(new Rancher2.GetEtcdBackupArgs - /// { - /// ClusterId = "<CLUSTER_ID>", - /// Name = "foo", - /// })); - /// } + /// ClusterId = "<CLUSTER_ID>", + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetEtcdBackupInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getEtcdBackup:getEtcdBackup", args ?? new GetEtcdBackupInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getEtcdBackup:getEtcdBackup", args ?? new GetEtcdBackupInvokeArgs(), options.WithDefaults()); } - public sealed class GetEtcdBackupArgs : Pulumi.InvokeArgs + public sealed class GetEtcdBackupArgs : global::Pulumi.InvokeArgs { /// /// Cluster ID to config Etcd Backup (string) @@ -90,9 +86,10 @@ public sealed class GetEtcdBackupArgs : Pulumi.InvokeArgs public GetEtcdBackupArgs() { } + public static new GetEtcdBackupArgs Empty => new GetEtcdBackupArgs(); } - public sealed class GetEtcdBackupInvokeArgs : Pulumi.InvokeArgs + public sealed class GetEtcdBackupInvokeArgs : global::Pulumi.InvokeArgs { /// /// Cluster ID to config Etcd Backup (string) @@ -109,6 +106,7 @@ public sealed class GetEtcdBackupInvokeArgs : Pulumi.InvokeArgs public GetEtcdBackupInvokeArgs() { } + public static new GetEtcdBackupInvokeArgs Empty => new GetEtcdBackupInvokeArgs(); } diff --git a/sdk/dotnet/GetGlobalDnsProvider.cs b/sdk/dotnet/GetGlobalDnsProvider.cs index bbefe5358..0d9375d7c 100644 --- a/sdk/dotnet/GetGlobalDnsProvider.cs +++ b/sdk/dotnet/GetGlobalDnsProvider.cs @@ -19,26 +19,24 @@ public static class GetGlobalDnsProvider /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetGlobalDnsProvider.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetGlobalDnsProvider.InvokeAsync(new Rancher2.GetGlobalDnsProviderArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetGlobalDnsProviderArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getGlobalDnsProvider:getGlobalDnsProvider", args ?? new GetGlobalDnsProviderArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getGlobalDnsProvider:getGlobalDnsProvider", args ?? new GetGlobalDnsProviderArgs(), options.WithDefaults()); /// /// Provides a Rancher V2 Global DNS Provider data source. Use this data source to retrieve information about a Rancher v2 global DNS provider @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetGlobalDnsProviderA /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetGlobalDnsProvider.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetGlobalDnsProvider.InvokeAsync(new Rancher2.GetGlobalDnsProviderArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetGlobalDnsProviderInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getGlobalDnsProvider:getGlobalDnsProvider", args ?? new GetGlobalDnsProviderInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getGlobalDnsProvider:getGlobalDnsProvider", args ?? new GetGlobalDnsProviderInvokeArgs(), options.WithDefaults()); } - public sealed class GetGlobalDnsProviderArgs : Pulumi.InvokeArgs + public sealed class GetGlobalDnsProviderArgs : global::Pulumi.InvokeArgs { /// /// The name of the global DNS provider (string) @@ -82,9 +78,10 @@ public sealed class GetGlobalDnsProviderArgs : Pulumi.InvokeArgs public GetGlobalDnsProviderArgs() { } + public static new GetGlobalDnsProviderArgs Empty => new GetGlobalDnsProviderArgs(); } - public sealed class GetGlobalDnsProviderInvokeArgs : Pulumi.InvokeArgs + public sealed class GetGlobalDnsProviderInvokeArgs : global::Pulumi.InvokeArgs { /// /// The name of the global DNS provider (string) @@ -95,6 +92,7 @@ public sealed class GetGlobalDnsProviderInvokeArgs : Pulumi.InvokeArgs public GetGlobalDnsProviderInvokeArgs() { } + public static new GetGlobalDnsProviderInvokeArgs Empty => new GetGlobalDnsProviderInvokeArgs(); } diff --git a/sdk/dotnet/GetGlobalRole.cs b/sdk/dotnet/GetGlobalRole.cs index 802574ca2..e2539c2f3 100644 --- a/sdk/dotnet/GetGlobalRole.cs +++ b/sdk/dotnet/GetGlobalRole.cs @@ -19,26 +19,24 @@ public static class GetGlobalRole /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetGlobalRole.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetGlobalRole.InvokeAsync(new Rancher2.GetGlobalRoleArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetGlobalRoleArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getGlobalRole:getGlobalRole", args ?? new GetGlobalRoleArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getGlobalRole:getGlobalRole", args ?? new GetGlobalRoleArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 global role resource. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetGlobalRoleArgs args, Invo /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetGlobalRole.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetGlobalRole.InvokeAsync(new Rancher2.GetGlobalRoleArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetGlobalRoleInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getGlobalRole:getGlobalRole", args ?? new GetGlobalRoleInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getGlobalRole:getGlobalRole", args ?? new GetGlobalRoleInvokeArgs(), options.WithDefaults()); } - public sealed class GetGlobalRoleArgs : Pulumi.InvokeArgs + public sealed class GetGlobalRoleArgs : global::Pulumi.InvokeArgs { /// /// The name of the Global Role (string) @@ -82,9 +78,10 @@ public sealed class GetGlobalRoleArgs : Pulumi.InvokeArgs public GetGlobalRoleArgs() { } + public static new GetGlobalRoleArgs Empty => new GetGlobalRoleArgs(); } - public sealed class GetGlobalRoleInvokeArgs : Pulumi.InvokeArgs + public sealed class GetGlobalRoleInvokeArgs : global::Pulumi.InvokeArgs { /// /// The name of the Global Role (string) @@ -95,6 +92,7 @@ public sealed class GetGlobalRoleInvokeArgs : Pulumi.InvokeArgs public GetGlobalRoleInvokeArgs() { } + public static new GetGlobalRoleInvokeArgs Empty => new GetGlobalRoleInvokeArgs(); } diff --git a/sdk/dotnet/GetGlobalRoleBinding.cs b/sdk/dotnet/GetGlobalRoleBinding.cs index 61f857f89..069153781 100644 --- a/sdk/dotnet/GetGlobalRoleBinding.cs +++ b/sdk/dotnet/GetGlobalRoleBinding.cs @@ -19,27 +19,25 @@ public static class GetGlobalRoleBinding /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetGlobalRoleBinding.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetGlobalRoleBinding.InvokeAsync(new Rancher2.GetGlobalRoleBindingArgs - /// { - /// GlobalRoleId = "foo_id", - /// Name = "foo", - /// })); - /// } + /// GlobalRoleId = "foo_id", + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetGlobalRoleBindingArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", args ?? new GetGlobalRoleBindingArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", args ?? new GetGlobalRoleBindingArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 global role binding. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetGlobalRoleBindingA /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetGlobalRoleBinding.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetGlobalRoleBinding.InvokeAsync(new Rancher2.GetGlobalRoleBindingArgs - /// { - /// GlobalRoleId = "foo_id", - /// Name = "foo", - /// })); - /// } + /// GlobalRoleId = "foo_id", + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetGlobalRoleBindingInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", args ?? new GetGlobalRoleBindingInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding", args ?? new GetGlobalRoleBindingInvokeArgs(), options.WithDefaults()); } - public sealed class GetGlobalRoleBindingArgs : Pulumi.InvokeArgs + public sealed class GetGlobalRoleBindingArgs : global::Pulumi.InvokeArgs { /// /// The global role id (string) @@ -90,9 +86,10 @@ public sealed class GetGlobalRoleBindingArgs : Pulumi.InvokeArgs public GetGlobalRoleBindingArgs() { } + public static new GetGlobalRoleBindingArgs Empty => new GetGlobalRoleBindingArgs(); } - public sealed class GetGlobalRoleBindingInvokeArgs : Pulumi.InvokeArgs + public sealed class GetGlobalRoleBindingInvokeArgs : global::Pulumi.InvokeArgs { /// /// The global role id (string) @@ -109,6 +106,7 @@ public sealed class GetGlobalRoleBindingInvokeArgs : Pulumi.InvokeArgs public GetGlobalRoleBindingInvokeArgs() { } + public static new GetGlobalRoleBindingInvokeArgs Empty => new GetGlobalRoleBindingInvokeArgs(); } diff --git a/sdk/dotnet/GetMultiClusterApp.cs b/sdk/dotnet/GetMultiClusterApp.cs index 1347e1bf7..c9703ba0d 100644 --- a/sdk/dotnet/GetMultiClusterApp.cs +++ b/sdk/dotnet/GetMultiClusterApp.cs @@ -19,26 +19,24 @@ public static class GetMultiClusterApp /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetMultiClusterApp.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetMultiClusterApp.InvokeAsync(new Rancher2.GetMultiClusterAppArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetMultiClusterAppArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getMultiClusterApp:getMultiClusterApp", args ?? new GetMultiClusterAppArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getMultiClusterApp:getMultiClusterApp", args ?? new GetMultiClusterAppArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 multi cluster app. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetMultiClusterAppArgs /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetMultiClusterApp.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetMultiClusterApp.InvokeAsync(new Rancher2.GetMultiClusterAppArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetMultiClusterAppInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getMultiClusterApp:getMultiClusterApp", args ?? new GetMultiClusterAppInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getMultiClusterApp:getMultiClusterApp", args ?? new GetMultiClusterAppInvokeArgs(), options.WithDefaults()); } - public sealed class GetMultiClusterAppArgs : Pulumi.InvokeArgs + public sealed class GetMultiClusterAppArgs : global::Pulumi.InvokeArgs { /// /// The multi cluster app name (string) @@ -82,9 +78,10 @@ public sealed class GetMultiClusterAppArgs : Pulumi.InvokeArgs public GetMultiClusterAppArgs() { } + public static new GetMultiClusterAppArgs Empty => new GetMultiClusterAppArgs(); } - public sealed class GetMultiClusterAppInvokeArgs : Pulumi.InvokeArgs + public sealed class GetMultiClusterAppInvokeArgs : global::Pulumi.InvokeArgs { /// /// The multi cluster app name (string) @@ -95,6 +92,7 @@ public sealed class GetMultiClusterAppInvokeArgs : Pulumi.InvokeArgs public GetMultiClusterAppInvokeArgs() { } + public static new GetMultiClusterAppInvokeArgs Empty => new GetMultiClusterAppInvokeArgs(); } diff --git a/sdk/dotnet/GetNamespace.cs b/sdk/dotnet/GetNamespace.cs index 0a9078ccd..afb6d0f68 100644 --- a/sdk/dotnet/GetNamespace.cs +++ b/sdk/dotnet/GetNamespace.cs @@ -19,27 +19,25 @@ public static class GetNamespace /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetNamespace.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetNamespace.InvokeAsync(new Rancher2.GetNamespaceArgs - /// { - /// Name = "foo", - /// ProjectId = rancher2_cluster.Foo_custom.Default_project_id, - /// })); - /// } + /// Name = "foo", + /// ProjectId = rancher2_cluster.Foo_custom.Default_project_id, + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetNamespaceArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getNamespace:getNamespace", args ?? new GetNamespaceArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getNamespace:getNamespace", args ?? new GetNamespaceArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 namespace. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetNamespaceArgs args, Invoke /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetNamespace.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetNamespace.InvokeAsync(new Rancher2.GetNamespaceArgs - /// { - /// Name = "foo", - /// ProjectId = rancher2_cluster.Foo_custom.Default_project_id, - /// })); - /// } + /// Name = "foo", + /// ProjectId = rancher2_cluster.Foo_custom.Default_project_id, + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetNamespaceInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getNamespace:getNamespace", args ?? new GetNamespaceInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNamespace:getNamespace", args ?? new GetNamespaceInvokeArgs(), options.WithDefaults()); } - public sealed class GetNamespaceArgs : Pulumi.InvokeArgs + public sealed class GetNamespaceArgs : global::Pulumi.InvokeArgs { /// /// The name of the namespace (string) @@ -90,9 +86,10 @@ public sealed class GetNamespaceArgs : Pulumi.InvokeArgs public GetNamespaceArgs() { } + public static new GetNamespaceArgs Empty => new GetNamespaceArgs(); } - public sealed class GetNamespaceInvokeArgs : Pulumi.InvokeArgs + public sealed class GetNamespaceInvokeArgs : global::Pulumi.InvokeArgs { /// /// The name of the namespace (string) @@ -109,6 +106,7 @@ public sealed class GetNamespaceInvokeArgs : Pulumi.InvokeArgs public GetNamespaceInvokeArgs() { } + public static new GetNamespaceInvokeArgs Empty => new GetNamespaceInvokeArgs(); } diff --git a/sdk/dotnet/GetNodeDriver.cs b/sdk/dotnet/GetNodeDriver.cs index 13759c549..c31782432 100644 --- a/sdk/dotnet/GetNodeDriver.cs +++ b/sdk/dotnet/GetNodeDriver.cs @@ -19,26 +19,24 @@ public static class GetNodeDriver /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetNodeDriver.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetNodeDriver.InvokeAsync(new Rancher2.GetNodeDriverArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetNodeDriverArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getNodeDriver:getNodeDriver", args ?? new GetNodeDriverArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getNodeDriver:getNodeDriver", args ?? new GetNodeDriverArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 Node Driver resource. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetNodeDriverArgs args, Invo /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetNodeDriver.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetNodeDriver.InvokeAsync(new Rancher2.GetNodeDriverArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetNodeDriverInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodeDriver:getNodeDriver", args ?? new GetNodeDriverInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodeDriver:getNodeDriver", args ?? new GetNodeDriverInvokeArgs(), options.WithDefaults()); } - public sealed class GetNodeDriverArgs : Pulumi.InvokeArgs + public sealed class GetNodeDriverArgs : global::Pulumi.InvokeArgs { /// /// Name of the node driver (string) @@ -88,9 +84,10 @@ public sealed class GetNodeDriverArgs : Pulumi.InvokeArgs public GetNodeDriverArgs() { } + public static new GetNodeDriverArgs Empty => new GetNodeDriverArgs(); } - public sealed class GetNodeDriverInvokeArgs : Pulumi.InvokeArgs + public sealed class GetNodeDriverInvokeArgs : global::Pulumi.InvokeArgs { /// /// Name of the node driver (string) @@ -107,6 +104,7 @@ public sealed class GetNodeDriverInvokeArgs : Pulumi.InvokeArgs public GetNodeDriverInvokeArgs() { } + public static new GetNodeDriverInvokeArgs Empty => new GetNodeDriverInvokeArgs(); } diff --git a/sdk/dotnet/GetNodePool.cs b/sdk/dotnet/GetNodePool.cs index e8cbf533c..3c594aaad 100644 --- a/sdk/dotnet/GetNodePool.cs +++ b/sdk/dotnet/GetNodePool.cs @@ -19,27 +19,25 @@ public static class GetNodePool /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetNodePool.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetNodePool.InvokeAsync(new Rancher2.GetNodePoolArgs - /// { - /// ClusterId = rancher2_cluster.Foo_custom.Id, - /// Name = "foo", - /// })); - /// } + /// ClusterId = rancher2_cluster.Foo_custom.Id, + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetNodePoolArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getNodePool:getNodePool", args ?? new GetNodePoolArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getNodePool:getNodePool", args ?? new GetNodePoolArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 Node Pool resource. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetNodePoolArgs args, InvokeOp /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetNodePool.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetNodePool.InvokeAsync(new Rancher2.GetNodePoolArgs - /// { - /// ClusterId = rancher2_cluster.Foo_custom.Id, - /// Name = "foo", - /// })); - /// } + /// ClusterId = rancher2_cluster.Foo_custom.Id, + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetNodePoolInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodePool:getNodePool", args ?? new GetNodePoolInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodePool:getNodePool", args ?? new GetNodePoolInvokeArgs(), options.WithDefaults()); } - public sealed class GetNodePoolArgs : Pulumi.InvokeArgs + public sealed class GetNodePoolArgs : global::Pulumi.InvokeArgs { /// /// The RKE cluster id to use Node Pool (string) @@ -96,9 +92,10 @@ public sealed class GetNodePoolArgs : Pulumi.InvokeArgs public GetNodePoolArgs() { } + public static new GetNodePoolArgs Empty => new GetNodePoolArgs(); } - public sealed class GetNodePoolInvokeArgs : Pulumi.InvokeArgs + public sealed class GetNodePoolInvokeArgs : global::Pulumi.InvokeArgs { /// /// The RKE cluster id to use Node Pool (string) @@ -121,6 +118,7 @@ public sealed class GetNodePoolInvokeArgs : Pulumi.InvokeArgs public GetNodePoolInvokeArgs() { } + public static new GetNodePoolInvokeArgs Empty => new GetNodePoolInvokeArgs(); } diff --git a/sdk/dotnet/GetNodeTemplate.cs b/sdk/dotnet/GetNodeTemplate.cs index 5cb32213d..f6f8364a8 100644 --- a/sdk/dotnet/GetNodeTemplate.cs +++ b/sdk/dotnet/GetNodeTemplate.cs @@ -19,26 +19,24 @@ public static class GetNodeTemplate /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetNodeTemplate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetNodeTemplate.InvokeAsync(new Rancher2.GetNodeTemplateArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetNodeTemplateArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getNodeTemplate:getNodeTemplate", args ?? new GetNodeTemplateArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getNodeTemplate:getNodeTemplate", args ?? new GetNodeTemplateArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 Node Template resource. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetNodeTemplateArgs args, /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetNodeTemplate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetNodeTemplate.InvokeAsync(new Rancher2.GetNodeTemplateArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetNodeTemplateInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodeTemplate:getNodeTemplate", args ?? new GetNodeTemplateInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNodeTemplate:getNodeTemplate", args ?? new GetNodeTemplateInvokeArgs(), options.WithDefaults()); } - public sealed class GetNodeTemplateArgs : Pulumi.InvokeArgs + public sealed class GetNodeTemplateArgs : global::Pulumi.InvokeArgs { /// /// The name of the Node Template (string) @@ -88,9 +84,10 @@ public sealed class GetNodeTemplateArgs : Pulumi.InvokeArgs public GetNodeTemplateArgs() { } + public static new GetNodeTemplateArgs Empty => new GetNodeTemplateArgs(); } - public sealed class GetNodeTemplateInvokeArgs : Pulumi.InvokeArgs + public sealed class GetNodeTemplateInvokeArgs : global::Pulumi.InvokeArgs { /// /// The name of the Node Template (string) @@ -107,6 +104,7 @@ public sealed class GetNodeTemplateInvokeArgs : Pulumi.InvokeArgs public GetNodeTemplateInvokeArgs() { } + public static new GetNodeTemplateInvokeArgs Empty => new GetNodeTemplateInvokeArgs(); } diff --git a/sdk/dotnet/GetNotifier.cs b/sdk/dotnet/GetNotifier.cs index e4c8ebc6a..34280305e 100644 --- a/sdk/dotnet/GetNotifier.cs +++ b/sdk/dotnet/GetNotifier.cs @@ -19,27 +19,25 @@ public static class GetNotifier /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetNotifier.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetNotifier.InvokeAsync(new Rancher2.GetNotifierArgs - /// { - /// ClusterId = "<cluster_id>", - /// Name = "foo", - /// })); - /// } + /// ClusterId = "<cluster_id>", + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetNotifierArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getNotifier:getNotifier", args ?? new GetNotifierArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getNotifier:getNotifier", args ?? new GetNotifierArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 notifier. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetNotifierArgs args, InvokeOp /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetNotifier.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetNotifier.InvokeAsync(new Rancher2.GetNotifierArgs - /// { - /// ClusterId = "<cluster_id>", - /// Name = "foo", - /// })); - /// } + /// ClusterId = "<cluster_id>", + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetNotifierInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getNotifier:getNotifier", args ?? new GetNotifierInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getNotifier:getNotifier", args ?? new GetNotifierInvokeArgs(), options.WithDefaults()); } - public sealed class GetNotifierArgs : Pulumi.InvokeArgs + public sealed class GetNotifierArgs : global::Pulumi.InvokeArgs { /// /// The cluster id where create notifier (string) @@ -102,9 +98,10 @@ public sealed class GetNotifierArgs : Pulumi.InvokeArgs public GetNotifierArgs() { } + public static new GetNotifierArgs Empty => new GetNotifierArgs(); } - public sealed class GetNotifierInvokeArgs : Pulumi.InvokeArgs + public sealed class GetNotifierInvokeArgs : global::Pulumi.InvokeArgs { /// /// The cluster id where create notifier (string) @@ -133,6 +130,7 @@ public sealed class GetNotifierInvokeArgs : Pulumi.InvokeArgs public GetNotifierInvokeArgs() { } + public static new GetNotifierInvokeArgs Empty => new GetNotifierInvokeArgs(); } diff --git a/sdk/dotnet/GetPodSecurityPolicyTemplate.cs b/sdk/dotnet/GetPodSecurityPolicyTemplate.cs index 7c900eb21..373c066ea 100644 --- a/sdk/dotnet/GetPodSecurityPolicyTemplate.cs +++ b/sdk/dotnet/GetPodSecurityPolicyTemplate.cs @@ -19,26 +19,24 @@ public static class GetPodSecurityPolicyTemplate /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetPodSecurityPolicyTemplate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetPodSecurityPolicyTemplate.InvokeAsync(new Rancher2.GetPodSecurityPolicyTemplateArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetPodSecurityPolicyTemplateArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getPodSecurityPolicyTemplate:getPodSecurityPolicyTemplate", args ?? new GetPodSecurityPolicyTemplateArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getPodSecurityPolicyTemplate:getPodSecurityPolicyTemplate", args ?? new GetPodSecurityPolicyTemplateArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 PodSecurityPolicyTemplate. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetPodSecurit /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetPodSecurityPolicyTemplate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetPodSecurityPolicyTemplate.InvokeAsync(new Rancher2.GetPodSecurityPolicyTemplateArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetPodSecurityPolicyTemplateInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getPodSecurityPolicyTemplate:getPodSecurityPolicyTemplate", args ?? new GetPodSecurityPolicyTemplateInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getPodSecurityPolicyTemplate:getPodSecurityPolicyTemplate", args ?? new GetPodSecurityPolicyTemplateInvokeArgs(), options.WithDefaults()); } - public sealed class GetPodSecurityPolicyTemplateArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateArgs : global::Pulumi.InvokeArgs { /// /// = (Optional) @@ -319,9 +315,10 @@ public List Volumes public GetPodSecurityPolicyTemplateArgs() { } + public static new GetPodSecurityPolicyTemplateArgs Empty => new GetPodSecurityPolicyTemplateArgs(); } - public sealed class GetPodSecurityPolicyTemplateInvokeArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateInvokeArgs : global::Pulumi.InvokeArgs { /// /// = (Optional) @@ -569,6 +566,7 @@ public InputList Volumes public GetPodSecurityPolicyTemplateInvokeArgs() { } + public static new GetPodSecurityPolicyTemplateInvokeArgs Empty => new GetPodSecurityPolicyTemplateInvokeArgs(); } diff --git a/sdk/dotnet/GetPrincipal.cs b/sdk/dotnet/GetPrincipal.cs index 564cbb552..caddbd96b 100644 --- a/sdk/dotnet/GetPrincipal.cs +++ b/sdk/dotnet/GetPrincipal.cs @@ -19,26 +19,24 @@ public static class GetPrincipal /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetPrincipal.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetPrincipal.InvokeAsync(new Rancher2.GetPrincipalArgs - /// { - /// Name = "user@example.com", - /// })); - /// } + /// Name = "user@example.com", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetPrincipalArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getPrincipal:getPrincipal", args ?? new GetPrincipalArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getPrincipal:getPrincipal", args ?? new GetPrincipalArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 Principal resource. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetPrincipalArgs args, Invoke /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetPrincipal.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetPrincipal.InvokeAsync(new Rancher2.GetPrincipalArgs - /// { - /// Name = "user@example.com", - /// })); - /// } + /// Name = "user@example.com", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetPrincipalInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getPrincipal:getPrincipal", args ?? new GetPrincipalInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getPrincipal:getPrincipal", args ?? new GetPrincipalInvokeArgs(), options.WithDefaults()); } - public sealed class GetPrincipalArgs : Pulumi.InvokeArgs + public sealed class GetPrincipalArgs : global::Pulumi.InvokeArgs { /// /// The full name of the principal (string) @@ -88,9 +84,10 @@ public sealed class GetPrincipalArgs : Pulumi.InvokeArgs public GetPrincipalArgs() { } + public static new GetPrincipalArgs Empty => new GetPrincipalArgs(); } - public sealed class GetPrincipalInvokeArgs : Pulumi.InvokeArgs + public sealed class GetPrincipalInvokeArgs : global::Pulumi.InvokeArgs { /// /// The full name of the principal (string) @@ -107,6 +104,7 @@ public sealed class GetPrincipalInvokeArgs : Pulumi.InvokeArgs public GetPrincipalInvokeArgs() { } + public static new GetPrincipalInvokeArgs Empty => new GetPrincipalInvokeArgs(); } diff --git a/sdk/dotnet/GetProject.cs b/sdk/dotnet/GetProject.cs index b31db468d..ba19997cf 100644 --- a/sdk/dotnet/GetProject.cs +++ b/sdk/dotnet/GetProject.cs @@ -12,14 +12,14 @@ namespace Pulumi.Rancher2 public static class GetProject { public static Task InvokeAsync(GetProjectArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getProject:getProject", args ?? new GetProjectArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getProject:getProject", args ?? new GetProjectArgs(), options.WithDefaults()); public static Output Invoke(GetProjectInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getProject:getProject", args ?? new GetProjectInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getProject:getProject", args ?? new GetProjectInvokeArgs(), options.WithDefaults()); } - public sealed class GetProjectArgs : Pulumi.InvokeArgs + public sealed class GetProjectArgs : global::Pulumi.InvokeArgs { /// /// ID of the Rancher 2 cluster (string) @@ -36,9 +36,10 @@ public sealed class GetProjectArgs : Pulumi.InvokeArgs public GetProjectArgs() { } + public static new GetProjectArgs Empty => new GetProjectArgs(); } - public sealed class GetProjectInvokeArgs : Pulumi.InvokeArgs + public sealed class GetProjectInvokeArgs : global::Pulumi.InvokeArgs { /// /// ID of the Rancher 2 cluster (string) @@ -55,6 +56,7 @@ public sealed class GetProjectInvokeArgs : Pulumi.InvokeArgs public GetProjectInvokeArgs() { } + public static new GetProjectInvokeArgs Empty => new GetProjectInvokeArgs(); } diff --git a/sdk/dotnet/GetProjectAlertGroup.cs b/sdk/dotnet/GetProjectAlertGroup.cs index 70050a99c..fcc354b98 100644 --- a/sdk/dotnet/GetProjectAlertGroup.cs +++ b/sdk/dotnet/GetProjectAlertGroup.cs @@ -19,27 +19,25 @@ public static class GetProjectAlertGroup /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetProjectAlertGroup.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetProjectAlertGroup.InvokeAsync(new Rancher2.GetProjectAlertGroupArgs - /// { - /// Name = "<project_alert_group_name>", - /// ProjectId = "<project_id>", - /// })); - /// } + /// Name = "<project_alert_group_name>", + /// ProjectId = "<project_id>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetProjectAlertGroupArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getProjectAlertGroup:getProjectAlertGroup", args ?? new GetProjectAlertGroupArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getProjectAlertGroup:getProjectAlertGroup", args ?? new GetProjectAlertGroupArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 project alert group. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetProjectAlertGroupA /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetProjectAlertGroup.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetProjectAlertGroup.InvokeAsync(new Rancher2.GetProjectAlertGroupArgs - /// { - /// Name = "<project_alert_group_name>", - /// ProjectId = "<project_id>", - /// })); - /// } + /// Name = "<project_alert_group_name>", + /// ProjectId = "<project_id>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetProjectAlertGroupInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getProjectAlertGroup:getProjectAlertGroup", args ?? new GetProjectAlertGroupInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getProjectAlertGroup:getProjectAlertGroup", args ?? new GetProjectAlertGroupInvokeArgs(), options.WithDefaults()); } - public sealed class GetProjectAlertGroupArgs : Pulumi.InvokeArgs + public sealed class GetProjectAlertGroupArgs : global::Pulumi.InvokeArgs { /// /// The project alert group name (string) @@ -90,9 +86,10 @@ public sealed class GetProjectAlertGroupArgs : Pulumi.InvokeArgs public GetProjectAlertGroupArgs() { } + public static new GetProjectAlertGroupArgs Empty => new GetProjectAlertGroupArgs(); } - public sealed class GetProjectAlertGroupInvokeArgs : Pulumi.InvokeArgs + public sealed class GetProjectAlertGroupInvokeArgs : global::Pulumi.InvokeArgs { /// /// The project alert group name (string) @@ -109,6 +106,7 @@ public sealed class GetProjectAlertGroupInvokeArgs : Pulumi.InvokeArgs public GetProjectAlertGroupInvokeArgs() { } + public static new GetProjectAlertGroupInvokeArgs Empty => new GetProjectAlertGroupInvokeArgs(); } diff --git a/sdk/dotnet/GetProjectAlertRule.cs b/sdk/dotnet/GetProjectAlertRule.cs index 0e05c1888..08aec726b 100644 --- a/sdk/dotnet/GetProjectAlertRule.cs +++ b/sdk/dotnet/GetProjectAlertRule.cs @@ -19,27 +19,25 @@ public static class GetProjectAlertRule /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetProjectAlertRule.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetProjectAlertRule.InvokeAsync(new Rancher2.GetProjectAlertRuleArgs - /// { - /// Name = "<project_alert_rule_name>", - /// ProjectId = "<project_id>", - /// })); - /// } + /// Name = "<project_alert_rule_name>", + /// ProjectId = "<project_id>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetProjectAlertRuleArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getProjectAlertRule:getProjectAlertRule", args ?? new GetProjectAlertRuleArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getProjectAlertRule:getProjectAlertRule", args ?? new GetProjectAlertRuleArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 project alert rule. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetProjectAlertRuleArg /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetProjectAlertRule.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetProjectAlertRule.InvokeAsync(new Rancher2.GetProjectAlertRuleArgs - /// { - /// Name = "<project_alert_rule_name>", - /// ProjectId = "<project_id>", - /// })); - /// } + /// Name = "<project_alert_rule_name>", + /// ProjectId = "<project_id>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetProjectAlertRuleInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getProjectAlertRule:getProjectAlertRule", args ?? new GetProjectAlertRuleInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getProjectAlertRule:getProjectAlertRule", args ?? new GetProjectAlertRuleInvokeArgs(), options.WithDefaults()); } - public sealed class GetProjectAlertRuleArgs : Pulumi.InvokeArgs + public sealed class GetProjectAlertRuleArgs : global::Pulumi.InvokeArgs { [Input("labels")] private Dictionary? _labels; @@ -102,9 +98,10 @@ public Dictionary Labels public GetProjectAlertRuleArgs() { } + public static new GetProjectAlertRuleArgs Empty => new GetProjectAlertRuleArgs(); } - public sealed class GetProjectAlertRuleInvokeArgs : Pulumi.InvokeArgs + public sealed class GetProjectAlertRuleInvokeArgs : global::Pulumi.InvokeArgs { [Input("labels")] private InputMap? _labels; @@ -133,6 +130,7 @@ public InputMap Labels public GetProjectAlertRuleInvokeArgs() { } + public static new GetProjectAlertRuleInvokeArgs Empty => new GetProjectAlertRuleInvokeArgs(); } diff --git a/sdk/dotnet/GetProjectLogging.cs b/sdk/dotnet/GetProjectLogging.cs index 4cd5eae17..968700887 100644 --- a/sdk/dotnet/GetProjectLogging.cs +++ b/sdk/dotnet/GetProjectLogging.cs @@ -19,26 +19,24 @@ public static class GetProjectLogging /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetProjectLogging.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetProjectLogging.InvokeAsync(new Rancher2.GetProjectLoggingArgs - /// { - /// ProjectId = "<project_id>", - /// })); - /// } + /// ProjectId = "<project_id>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetProjectLoggingArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getProjectLogging:getProjectLogging", args ?? new GetProjectLoggingArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getProjectLogging:getProjectLogging", args ?? new GetProjectLoggingArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 Project Logging. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetProjectLoggingArgs ar /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetProjectLogging.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetProjectLogging.InvokeAsync(new Rancher2.GetProjectLoggingArgs - /// { - /// ProjectId = "<project_id>", - /// })); - /// } + /// ProjectId = "<project_id>", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetProjectLoggingInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getProjectLogging:getProjectLogging", args ?? new GetProjectLoggingInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getProjectLogging:getProjectLogging", args ?? new GetProjectLoggingInvokeArgs(), options.WithDefaults()); } - public sealed class GetProjectLoggingArgs : Pulumi.InvokeArgs + public sealed class GetProjectLoggingArgs : global::Pulumi.InvokeArgs { /// /// The project id to configure logging (string) @@ -82,9 +78,10 @@ public sealed class GetProjectLoggingArgs : Pulumi.InvokeArgs public GetProjectLoggingArgs() { } + public static new GetProjectLoggingArgs Empty => new GetProjectLoggingArgs(); } - public sealed class GetProjectLoggingInvokeArgs : Pulumi.InvokeArgs + public sealed class GetProjectLoggingInvokeArgs : global::Pulumi.InvokeArgs { /// /// The project id to configure logging (string) @@ -95,6 +92,7 @@ public sealed class GetProjectLoggingInvokeArgs : Pulumi.InvokeArgs public GetProjectLoggingInvokeArgs() { } + public static new GetProjectLoggingInvokeArgs Empty => new GetProjectLoggingInvokeArgs(); } diff --git a/sdk/dotnet/GetProjectRoleTemplateBinding.cs b/sdk/dotnet/GetProjectRoleTemplateBinding.cs index 64ee648d1..5ae61ae68 100644 --- a/sdk/dotnet/GetProjectRoleTemplateBinding.cs +++ b/sdk/dotnet/GetProjectRoleTemplateBinding.cs @@ -19,27 +19,25 @@ public static class GetProjectRoleTemplateBinding /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetProjectRoleTemplateBinding.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetProjectRoleTemplateBinding.InvokeAsync(new Rancher2.GetProjectRoleTemplateBindingArgs - /// { - /// Name = "foo", - /// ProjectId = "foo_id", - /// })); - /// } + /// Name = "foo", + /// ProjectId = "foo_id", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetProjectRoleTemplateBindingArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", args ?? new GetProjectRoleTemplateBindingArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", args ?? new GetProjectRoleTemplateBindingArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 project role template binding. @@ -49,31 +47,29 @@ public static Task InvokeAsync(GetProjectRo /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetProjectRoleTemplateBinding.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetProjectRoleTemplateBinding.InvokeAsync(new Rancher2.GetProjectRoleTemplateBindingArgs - /// { - /// Name = "foo", - /// ProjectId = "foo_id", - /// })); - /// } + /// Name = "foo", + /// ProjectId = "foo_id", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetProjectRoleTemplateBindingInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", args ?? new GetProjectRoleTemplateBindingInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding", args ?? new GetProjectRoleTemplateBindingInvokeArgs(), options.WithDefaults()); } - public sealed class GetProjectRoleTemplateBindingArgs : Pulumi.InvokeArgs + public sealed class GetProjectRoleTemplateBindingArgs : global::Pulumi.InvokeArgs { /// /// The name of the project role template binding (string) @@ -96,9 +92,10 @@ public sealed class GetProjectRoleTemplateBindingArgs : Pulumi.InvokeArgs public GetProjectRoleTemplateBindingArgs() { } + public static new GetProjectRoleTemplateBindingArgs Empty => new GetProjectRoleTemplateBindingArgs(); } - public sealed class GetProjectRoleTemplateBindingInvokeArgs : Pulumi.InvokeArgs + public sealed class GetProjectRoleTemplateBindingInvokeArgs : global::Pulumi.InvokeArgs { /// /// The name of the project role template binding (string) @@ -121,6 +118,7 @@ public sealed class GetProjectRoleTemplateBindingInvokeArgs : Pulumi.InvokeArgs public GetProjectRoleTemplateBindingInvokeArgs() { } + public static new GetProjectRoleTemplateBindingInvokeArgs Empty => new GetProjectRoleTemplateBindingInvokeArgs(); } diff --git a/sdk/dotnet/GetRegistry.cs b/sdk/dotnet/GetRegistry.cs index db0ee7d91..d2934d22a 100644 --- a/sdk/dotnet/GetRegistry.cs +++ b/sdk/dotnet/GetRegistry.cs @@ -23,46 +23,42 @@ public static class GetRegistry /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetRegistry.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetRegistry.InvokeAsync(new Rancher2.GetRegistryArgs - /// { - /// Name = "<name>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetRegistry.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetRegistry.InvokeAsync(new Rancher2.GetRegistryArgs - /// { - /// Name = "<name>", - /// NamespaceId = "<namespace_id>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// NamespaceId = "<namespace_id>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetRegistryArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getRegistry:getRegistry", args ?? new GetRegistryArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getRegistry:getRegistry", args ?? new GetRegistryArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 docker registry. @@ -76,50 +72,46 @@ public static Task InvokeAsync(GetRegistryArgs args, InvokeOp /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetRegistry.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetRegistry.InvokeAsync(new Rancher2.GetRegistryArgs - /// { - /// Name = "<name>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetRegistry.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetRegistry.InvokeAsync(new Rancher2.GetRegistryArgs - /// { - /// Name = "<name>", - /// NamespaceId = "<namespace_id>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// NamespaceId = "<namespace_id>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetRegistryInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getRegistry:getRegistry", args ?? new GetRegistryInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getRegistry:getRegistry", args ?? new GetRegistryInvokeArgs(), options.WithDefaults()); } - public sealed class GetRegistryArgs : Pulumi.InvokeArgs + public sealed class GetRegistryArgs : global::Pulumi.InvokeArgs { /// /// The name of the registry (string) @@ -142,9 +134,10 @@ public sealed class GetRegistryArgs : Pulumi.InvokeArgs public GetRegistryArgs() { } + public static new GetRegistryArgs Empty => new GetRegistryArgs(); } - public sealed class GetRegistryInvokeArgs : Pulumi.InvokeArgs + public sealed class GetRegistryInvokeArgs : global::Pulumi.InvokeArgs { /// /// The name of the registry (string) @@ -167,6 +160,7 @@ public sealed class GetRegistryInvokeArgs : Pulumi.InvokeArgs public GetRegistryInvokeArgs() { } + public static new GetRegistryInvokeArgs Empty => new GetRegistryInvokeArgs(); } diff --git a/sdk/dotnet/GetRoleTempalte.cs b/sdk/dotnet/GetRoleTempalte.cs index de9c1dfd9..0f32ce6d3 100644 --- a/sdk/dotnet/GetRoleTempalte.cs +++ b/sdk/dotnet/GetRoleTempalte.cs @@ -20,26 +20,24 @@ public static class GetRoleTempalte /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetRoleTemplate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetRoleTemplate.InvokeAsync(new Rancher2.GetRoleTemplateArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetRoleTempalteArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getRoleTempalte:getRoleTempalte", args ?? new GetRoleTempalteArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getRoleTempalte:getRoleTempalte", args ?? new GetRoleTempalteArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 role template resource. @@ -49,30 +47,28 @@ public static Task InvokeAsync(GetRoleTempalteArgs args, /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetRoleTemplate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetRoleTemplate.InvokeAsync(new Rancher2.GetRoleTemplateArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetRoleTempalteInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getRoleTempalte:getRoleTempalte", args ?? new GetRoleTempalteInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getRoleTempalte:getRoleTempalte", args ?? new GetRoleTempalteInvokeArgs(), options.WithDefaults()); } - public sealed class GetRoleTempalteArgs : Pulumi.InvokeArgs + public sealed class GetRoleTempalteArgs : global::Pulumi.InvokeArgs { /// /// Role template context. `cluster` and `project` values are supported (string) @@ -89,9 +85,10 @@ public sealed class GetRoleTempalteArgs : Pulumi.InvokeArgs public GetRoleTempalteArgs() { } + public static new GetRoleTempalteArgs Empty => new GetRoleTempalteArgs(); } - public sealed class GetRoleTempalteInvokeArgs : Pulumi.InvokeArgs + public sealed class GetRoleTempalteInvokeArgs : global::Pulumi.InvokeArgs { /// /// Role template context. `cluster` and `project` values are supported (string) @@ -108,6 +105,7 @@ public sealed class GetRoleTempalteInvokeArgs : Pulumi.InvokeArgs public GetRoleTempalteInvokeArgs() { } + public static new GetRoleTempalteInvokeArgs Empty => new GetRoleTempalteInvokeArgs(); } diff --git a/sdk/dotnet/GetRoleTemplate.cs b/sdk/dotnet/GetRoleTemplate.cs index 6914334ee..f1ad88d20 100644 --- a/sdk/dotnet/GetRoleTemplate.cs +++ b/sdk/dotnet/GetRoleTemplate.cs @@ -19,26 +19,24 @@ public static class GetRoleTemplate /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetRoleTemplate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetRoleTemplate.InvokeAsync(new Rancher2.GetRoleTemplateArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetRoleTemplateArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getRoleTemplate:getRoleTemplate", args ?? new GetRoleTemplateArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getRoleTemplate:getRoleTemplate", args ?? new GetRoleTemplateArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 role template resource. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetRoleTemplateArgs args, /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetRoleTemplate.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetRoleTemplate.InvokeAsync(new Rancher2.GetRoleTemplateArgs - /// { - /// Name = "foo", - /// })); - /// } + /// Name = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetRoleTemplateInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getRoleTemplate:getRoleTemplate", args ?? new GetRoleTemplateInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getRoleTemplate:getRoleTemplate", args ?? new GetRoleTemplateInvokeArgs(), options.WithDefaults()); } - public sealed class GetRoleTemplateArgs : Pulumi.InvokeArgs + public sealed class GetRoleTemplateArgs : global::Pulumi.InvokeArgs { /// /// Role template context. `cluster` and `project` values are supported (string) @@ -88,9 +84,10 @@ public sealed class GetRoleTemplateArgs : Pulumi.InvokeArgs public GetRoleTemplateArgs() { } + public static new GetRoleTemplateArgs Empty => new GetRoleTemplateArgs(); } - public sealed class GetRoleTemplateInvokeArgs : Pulumi.InvokeArgs + public sealed class GetRoleTemplateInvokeArgs : global::Pulumi.InvokeArgs { /// /// Role template context. `cluster` and `project` values are supported (string) @@ -107,6 +104,7 @@ public sealed class GetRoleTemplateInvokeArgs : Pulumi.InvokeArgs public GetRoleTemplateInvokeArgs() { } + public static new GetRoleTemplateInvokeArgs Empty => new GetRoleTemplateInvokeArgs(); } diff --git a/sdk/dotnet/GetSecret.cs b/sdk/dotnet/GetSecret.cs index 7feadd213..3816f32f0 100644 --- a/sdk/dotnet/GetSecret.cs +++ b/sdk/dotnet/GetSecret.cs @@ -23,46 +23,42 @@ public static class GetSecret /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetSecret.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetSecret.InvokeAsync(new Rancher2.GetSecretArgs - /// { - /// Name = "<name>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetSecret.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetSecret.InvokeAsync(new Rancher2.GetSecretArgs - /// { - /// Name = "<name>", - /// NamespaceId = "<namespace_id>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// NamespaceId = "<namespace_id>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetSecretArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getSecret:getSecret", args ?? new GetSecretArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getSecret:getSecret", args ?? new GetSecretArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 secret. @@ -76,50 +72,46 @@ public static Task InvokeAsync(GetSecretArgs args, InvokeOption /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetSecret.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetSecret.InvokeAsync(new Rancher2.GetSecretArgs - /// { - /// Name = "<name>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetSecret.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetSecret.InvokeAsync(new Rancher2.GetSecretArgs - /// { - /// Name = "<name>", - /// NamespaceId = "<namespace_id>", - /// ProjectId = "<project_id>", - /// })); - /// } - /// - /// } + /// Name = "<name>", + /// NamespaceId = "<namespace_id>", + /// ProjectId = "<project_id>", + /// }); + /// + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetSecretInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getSecret:getSecret", args ?? new GetSecretInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getSecret:getSecret", args ?? new GetSecretInvokeArgs(), options.WithDefaults()); } - public sealed class GetSecretArgs : Pulumi.InvokeArgs + public sealed class GetSecretArgs : global::Pulumi.InvokeArgs { /// /// The name of the secret (string) @@ -142,9 +134,10 @@ public sealed class GetSecretArgs : Pulumi.InvokeArgs public GetSecretArgs() { } + public static new GetSecretArgs Empty => new GetSecretArgs(); } - public sealed class GetSecretInvokeArgs : Pulumi.InvokeArgs + public sealed class GetSecretInvokeArgs : global::Pulumi.InvokeArgs { /// /// The name of the secret (string) @@ -167,6 +160,7 @@ public sealed class GetSecretInvokeArgs : Pulumi.InvokeArgs public GetSecretInvokeArgs() { } + public static new GetSecretInvokeArgs Empty => new GetSecretInvokeArgs(); } diff --git a/sdk/dotnet/GetSecretV2.cs b/sdk/dotnet/GetSecretV2.cs index 8ac43fe48..71be4f150 100644 --- a/sdk/dotnet/GetSecretV2.cs +++ b/sdk/dotnet/GetSecretV2.cs @@ -15,17 +15,17 @@ public static class GetSecretV2 /// Use this data source to retrieve information about a Rancher2 secret v2. Secret v2 resource is available at Rancher v2.5.x and above. /// public static Task InvokeAsync(GetSecretV2Args args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getSecretV2:getSecretV2", args ?? new GetSecretV2Args(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getSecretV2:getSecretV2", args ?? new GetSecretV2Args(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher2 secret v2. Secret v2 resource is available at Rancher v2.5.x and above. /// public static Output Invoke(GetSecretV2InvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getSecretV2:getSecretV2", args ?? new GetSecretV2InvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getSecretV2:getSecretV2", args ?? new GetSecretV2InvokeArgs(), options.WithDefaults()); } - public sealed class GetSecretV2Args : Pulumi.InvokeArgs + public sealed class GetSecretV2Args : global::Pulumi.InvokeArgs { /// /// The cluster id of the secret V2 (string) @@ -48,9 +48,10 @@ public sealed class GetSecretV2Args : Pulumi.InvokeArgs public GetSecretV2Args() { } + public static new GetSecretV2Args Empty => new GetSecretV2Args(); } - public sealed class GetSecretV2InvokeArgs : Pulumi.InvokeArgs + public sealed class GetSecretV2InvokeArgs : global::Pulumi.InvokeArgs { /// /// The cluster id of the secret V2 (string) @@ -73,6 +74,7 @@ public sealed class GetSecretV2InvokeArgs : Pulumi.InvokeArgs public GetSecretV2InvokeArgs() { } + public static new GetSecretV2InvokeArgs Empty => new GetSecretV2InvokeArgs(); } diff --git a/sdk/dotnet/GetSetting.cs b/sdk/dotnet/GetSetting.cs index 82467d58b..9f834eb93 100644 --- a/sdk/dotnet/GetSetting.cs +++ b/sdk/dotnet/GetSetting.cs @@ -19,26 +19,24 @@ public static class GetSetting /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var server_image = Rancher2.GetSetting.Invoke(new() /// { - /// var server_image = Output.Create(Rancher2.GetSetting.InvokeAsync(new Rancher2.GetSettingArgs - /// { - /// Name = "server-image", - /// })); - /// } + /// Name = "server-image", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetSettingArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getSetting:getSetting", args ?? new GetSettingArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getSetting:getSetting", args ?? new GetSettingArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 setting. @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetSettingArgs args, InvokeOpti /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var server_image = Rancher2.GetSetting.Invoke(new() /// { - /// var server_image = Output.Create(Rancher2.GetSetting.InvokeAsync(new Rancher2.GetSettingArgs - /// { - /// Name = "server-image", - /// })); - /// } + /// Name = "server-image", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetSettingInvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getSetting:getSetting", args ?? new GetSettingInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getSetting:getSetting", args ?? new GetSettingInvokeArgs(), options.WithDefaults()); } - public sealed class GetSettingArgs : Pulumi.InvokeArgs + public sealed class GetSettingArgs : global::Pulumi.InvokeArgs { /// /// The setting name. @@ -82,9 +78,10 @@ public sealed class GetSettingArgs : Pulumi.InvokeArgs public GetSettingArgs() { } + public static new GetSettingArgs Empty => new GetSettingArgs(); } - public sealed class GetSettingInvokeArgs : Pulumi.InvokeArgs + public sealed class GetSettingInvokeArgs : global::Pulumi.InvokeArgs { /// /// The setting name. @@ -95,6 +92,7 @@ public sealed class GetSettingInvokeArgs : Pulumi.InvokeArgs public GetSettingInvokeArgs() { } + public static new GetSettingInvokeArgs Empty => new GetSettingInvokeArgs(); } diff --git a/sdk/dotnet/GetStorageClassV2.cs b/sdk/dotnet/GetStorageClassV2.cs index a150fe1c0..19338627c 100644 --- a/sdk/dotnet/GetStorageClassV2.cs +++ b/sdk/dotnet/GetStorageClassV2.cs @@ -15,17 +15,17 @@ public static class GetStorageClassV2 /// Use this data source to retrieve information about a Rancher2 Storage Class v2. Storage Class v2 resource is available at Rancher v2.5.x and above. /// public static Task InvokeAsync(GetStorageClassV2Args args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getStorageClassV2:getStorageClassV2", args ?? new GetStorageClassV2Args(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getStorageClassV2:getStorageClassV2", args ?? new GetStorageClassV2Args(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher2 Storage Class v2. Storage Class v2 resource is available at Rancher v2.5.x and above. /// public static Output Invoke(GetStorageClassV2InvokeArgs args, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getStorageClassV2:getStorageClassV2", args ?? new GetStorageClassV2InvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getStorageClassV2:getStorageClassV2", args ?? new GetStorageClassV2InvokeArgs(), options.WithDefaults()); } - public sealed class GetStorageClassV2Args : Pulumi.InvokeArgs + public sealed class GetStorageClassV2Args : global::Pulumi.InvokeArgs { /// /// The cluster id of the storageClass V2 (string) @@ -42,9 +42,10 @@ public sealed class GetStorageClassV2Args : Pulumi.InvokeArgs public GetStorageClassV2Args() { } + public static new GetStorageClassV2Args Empty => new GetStorageClassV2Args(); } - public sealed class GetStorageClassV2InvokeArgs : Pulumi.InvokeArgs + public sealed class GetStorageClassV2InvokeArgs : global::Pulumi.InvokeArgs { /// /// The cluster id of the storageClass V2 (string) @@ -61,6 +62,7 @@ public sealed class GetStorageClassV2InvokeArgs : Pulumi.InvokeArgs public GetStorageClassV2InvokeArgs() { } + public static new GetStorageClassV2InvokeArgs Empty => new GetStorageClassV2InvokeArgs(); } diff --git a/sdk/dotnet/GetUser.cs b/sdk/dotnet/GetUser.cs index bd42fe3a7..d4fbfc9a7 100644 --- a/sdk/dotnet/GetUser.cs +++ b/sdk/dotnet/GetUser.cs @@ -19,26 +19,24 @@ public static class GetUser /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetUser.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetUser.InvokeAsync(new Rancher2.GetUserArgs - /// { - /// Username = "foo", - /// })); - /// } + /// Username = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Task InvokeAsync(GetUserArgs? args = null, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getUser:getUser", args ?? new GetUserArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.InvokeAsync("rancher2:index/getUser:getUser", args ?? new GetUserArgs(), options.WithDefaults()); /// /// Use this data source to retrieve information about a Rancher v2 user @@ -48,30 +46,28 @@ public static Task InvokeAsync(GetUserArgs? args = null, InvokeOp /// {{% example %}} /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo = Rancher2.GetUser.Invoke(new() /// { - /// var foo = Output.Create(Rancher2.GetUser.InvokeAsync(new Rancher2.GetUserArgs - /// { - /// Username = "foo", - /// })); - /// } + /// Username = "foo", + /// }); /// - /// } + /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// public static Output Invoke(GetUserInvokeArgs? args = null, InvokeOptions? options = null) - => Pulumi.Deployment.Instance.Invoke("rancher2:index/getUser:getUser", args ?? new GetUserInvokeArgs(), options.WithDefaults()); + => global::Pulumi.Deployment.Instance.Invoke("rancher2:index/getUser:getUser", args ?? new GetUserInvokeArgs(), options.WithDefaults()); } - public sealed class GetUserArgs : Pulumi.InvokeArgs + public sealed class GetUserArgs : global::Pulumi.InvokeArgs { /// /// Set is the user if the user is external. Default: `false` (bool) @@ -94,9 +90,10 @@ public sealed class GetUserArgs : Pulumi.InvokeArgs public GetUserArgs() { } + public static new GetUserArgs Empty => new GetUserArgs(); } - public sealed class GetUserInvokeArgs : Pulumi.InvokeArgs + public sealed class GetUserInvokeArgs : global::Pulumi.InvokeArgs { /// /// Set is the user if the user is external. Default: `false` (bool) @@ -119,6 +116,7 @@ public sealed class GetUserInvokeArgs : Pulumi.InvokeArgs public GetUserInvokeArgs() { } + public static new GetUserInvokeArgs Empty => new GetUserInvokeArgs(); } diff --git a/sdk/dotnet/GlobalDns.cs b/sdk/dotnet/GlobalDns.cs index 44ab33381..c87407b30 100644 --- a/sdk/dotnet/GlobalDns.cs +++ b/sdk/dotnet/GlobalDns.cs @@ -15,71 +15,69 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Global DNS Provider + /// var fooGlobalDnsProvider = new Rancher2.GlobalDnsProvider("fooGlobalDnsProvider", new() /// { - /// // Create a new rancher2 Global DNS Provider - /// var fooGlobalDnsProvider = new Rancher2.GlobalDnsProvider("fooGlobalDnsProvider", new Rancher2.GlobalDnsProviderArgs + /// RootDomain = "example.com", + /// Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs /// { - /// RootDomain = "example.com", - /// Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs - /// { - /// AccessKey = "YYYYYYYYYYYYYYYYYYYY", - /// SecretKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - /// ZoneType = "private", - /// Region = "us-east-1", - /// }, - /// }); - /// // Create a new rancher2 Global DNS using project IDs - /// var fooGlobalDns = new Rancher2.GlobalDns("fooGlobalDns", new Rancher2.GlobalDnsArgs + /// AccessKey = "YYYYYYYYYYYYYYYYYYYY", + /// SecretKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", + /// ZoneType = "private", + /// Region = "us-east-1", + /// }, + /// }); + /// + /// // Create a new rancher2 Global DNS using project IDs + /// var fooGlobalDns = new Rancher2.GlobalDns("fooGlobalDns", new() + /// { + /// Fqdn = "foo.example.com", + /// ProviderId = fooGlobalDnsProvider.Id, + /// ProjectIds = new[] /// { - /// Fqdn = "foo.example.com", - /// ProviderId = fooGlobalDnsProvider.Id, - /// ProjectIds = - /// { - /// "project1", - /// "project2", - /// }, - /// }); - /// } + /// "project1", + /// "project2", + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Global DNS Provider + /// var fooGlobalDnsProvider = new Rancher2.GlobalDnsProvider("fooGlobalDnsProvider", new() /// { - /// // Create a new rancher2 Global DNS Provider - /// var fooGlobalDnsProvider = new Rancher2.GlobalDnsProvider("fooGlobalDnsProvider", new Rancher2.GlobalDnsProviderArgs - /// { - /// RootDomain = "example.com", - /// Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs - /// { - /// AccessKey = "YYYYYYYYYYYYYYYYYYYY", - /// SecretKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - /// ZoneType = "private", - /// Region = "us-east-1", - /// }, - /// }); - /// // Create a new rancher2 Global DNS using MultiClusterApp ID - /// var fooGlobalDns = new Rancher2.GlobalDns("fooGlobalDns", new Rancher2.GlobalDnsArgs + /// RootDomain = "example.com", + /// Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs /// { - /// Fqdn = "foo.example.com", - /// ProviderId = fooGlobalDnsProvider.Id, - /// MultiClusterAppId = "<MCA_ID>", - /// }); - /// } + /// AccessKey = "YYYYYYYYYYYYYYYYYYYY", + /// SecretKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", + /// ZoneType = "private", + /// Region = "us-east-1", + /// }, + /// }); + /// + /// // Create a new rancher2 Global DNS using MultiClusterApp ID + /// var fooGlobalDns = new Rancher2.GlobalDns("fooGlobalDns", new() + /// { + /// Fqdn = "foo.example.com", + /// ProviderId = fooGlobalDnsProvider.Id, + /// MultiClusterAppId = "<MCA_ID>", + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -91,7 +89,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/globalDns:GlobalDns")] - public partial class GlobalDns : Pulumi.CustomResource + public partial class GlobalDns : global::Pulumi.CustomResource { /// /// Annotations for Global DNS (map) @@ -185,7 +183,7 @@ public static GlobalDns Get(string name, Input id, GlobalDnsState? state } } - public sealed class GlobalDnsArgs : Pulumi.ResourceArgs + public sealed class GlobalDnsArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -256,9 +254,10 @@ public InputList ProjectIds public GlobalDnsArgs() { } + public static new GlobalDnsArgs Empty => new GlobalDnsArgs(); } - public sealed class GlobalDnsState : Pulumi.ResourceArgs + public sealed class GlobalDnsState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -329,5 +328,6 @@ public InputList ProjectIds public GlobalDnsState() { } + public static new GlobalDnsState Empty => new GlobalDnsState(); } } diff --git a/sdk/dotnet/GlobalDnsProvider.cs b/sdk/dotnet/GlobalDnsProvider.cs index a63377300..aabf63715 100644 --- a/sdk/dotnet/GlobalDnsProvider.cs +++ b/sdk/dotnet/GlobalDnsProvider.cs @@ -15,75 +15,69 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Global DNS Provider - alidns + /// var foo = new Rancher2.GlobalDnsProvider("foo", new() /// { - /// // Create a new rancher2 Global DNS Provider - alidns - /// var foo = new Rancher2.GlobalDnsProvider("foo", new Rancher2.GlobalDnsProviderArgs + /// AlidnsConfig = new Rancher2.Inputs.GlobalDnsProviderAlidnsConfigArgs /// { - /// AlidnsConfig = new Rancher2.Inputs.GlobalDnsProviderAlidnsConfigArgs - /// { - /// AccessKey = "YYYYYYYYYYYYYYYYYYYY", - /// SecretKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - /// }, - /// RootDomain = "example.com", - /// }); - /// } + /// AccessKey = "YYYYYYYYYYYYYYYYYYYY", + /// SecretKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", + /// }, + /// RootDomain = "example.com", + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Global DNS Provider - cloudflare + /// var foo = new Rancher2.GlobalDnsProvider("foo", new() /// { - /// // Create a new rancher2 Global DNS Provider - cloudflare - /// var foo = new Rancher2.GlobalDnsProvider("foo", new Rancher2.GlobalDnsProviderArgs + /// CloudflareConfig = new Rancher2.Inputs.GlobalDnsProviderCloudflareConfigArgs /// { - /// CloudflareConfig = new Rancher2.Inputs.GlobalDnsProviderCloudflareConfigArgs - /// { - /// ApiEmail = "test@test.local", - /// ApiKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - /// ProxySetting = true, - /// }, - /// RootDomain = "example.com", - /// }); - /// } + /// ApiEmail = "test@test.local", + /// ApiKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", + /// ProxySetting = true, + /// }, + /// RootDomain = "example.com", + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Global DNS Provider - route53 + /// var foo = new Rancher2.GlobalDnsProvider("foo", new() /// { - /// // Create a new rancher2 Global DNS Provider - route53 - /// var foo = new Rancher2.GlobalDnsProvider("foo", new Rancher2.GlobalDnsProviderArgs + /// RootDomain = "example.com", + /// Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs /// { - /// RootDomain = "example.com", - /// Route53Config = new Rancher2.Inputs.GlobalDnsProviderRoute53ConfigArgs - /// { - /// AccessKey = "YYYYYYYYYYYYYYYYYYYY", - /// Region = "us-east-1", - /// SecretKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - /// ZoneType = "private", - /// }, - /// }); - /// } + /// AccessKey = "YYYYYYYYYYYYYYYYYYYY", + /// Region = "us-east-1", + /// SecretKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", + /// ZoneType = "private", + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -95,7 +89,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/globalDnsProvider:GlobalDnsProvider")] - public partial class GlobalDnsProvider : Pulumi.CustomResource + public partial class GlobalDnsProvider : global::Pulumi.CustomResource { [Output("alidnsConfig")] public Output AlidnsConfig { get; private set; } = null!; @@ -180,7 +174,7 @@ public static GlobalDnsProvider Get(string name, Input id, GlobalDnsProv } } - public sealed class GlobalDnsProviderArgs : Pulumi.ResourceArgs + public sealed class GlobalDnsProviderArgs : global::Pulumi.ResourceArgs { [Input("alidnsConfig")] public Input? AlidnsConfig { get; set; } @@ -230,9 +224,10 @@ public InputMap Labels public GlobalDnsProviderArgs() { } + public static new GlobalDnsProviderArgs Empty => new GlobalDnsProviderArgs(); } - public sealed class GlobalDnsProviderState : Pulumi.ResourceArgs + public sealed class GlobalDnsProviderState : global::Pulumi.ResourceArgs { [Input("alidnsConfig")] public Input? AlidnsConfig { get; set; } @@ -288,5 +283,6 @@ public InputMap Labels public GlobalDnsProviderState() { } + public static new GlobalDnsProviderState Empty => new GlobalDnsProviderState(); } } diff --git a/sdk/dotnet/GlobalRole.cs b/sdk/dotnet/GlobalRole.cs index 716854ef0..32055def7 100644 --- a/sdk/dotnet/GlobalRole.cs +++ b/sdk/dotnet/GlobalRole.cs @@ -15,40 +15,38 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Global Role + /// var foo = new Rancher2.GlobalRole("foo", new() /// { - /// // Create a new rancher2 Global Role - /// var foo = new Rancher2.GlobalRole("foo", new Rancher2.GlobalRoleArgs + /// Description = "Terraform global role acceptance test", + /// NewUserDefault = true, + /// Rules = new[] /// { - /// Description = "Terraform global role acceptance test", - /// NewUserDefault = true, - /// Rules = + /// new Rancher2.Inputs.GlobalRoleRuleArgs /// { - /// new Rancher2.Inputs.GlobalRoleRuleArgs + /// ApiGroups = new[] /// { - /// ApiGroups = - /// { - /// "*", - /// }, - /// Resources = - /// { - /// "secrets", - /// }, - /// Verbs = - /// { - /// "create", - /// }, + /// "*", + /// }, + /// Resources = new[] + /// { + /// "secrets", + /// }, + /// Verbs = new[] + /// { + /// "create", /// }, /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -60,7 +58,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/globalRole:GlobalRole")] - public partial class GlobalRole : Pulumi.CustomResource + public partial class GlobalRole : global::Pulumi.CustomResource { /// /// Annotations for global role object (map) @@ -148,7 +146,7 @@ public static GlobalRole Get(string name, Input id, GlobalRoleState? sta } } - public sealed class GlobalRoleArgs : Pulumi.ResourceArgs + public sealed class GlobalRoleArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -207,9 +205,10 @@ public InputList Rules public GlobalRoleArgs() { } + public static new GlobalRoleArgs Empty => new GlobalRoleArgs(); } - public sealed class GlobalRoleState : Pulumi.ResourceArgs + public sealed class GlobalRoleState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -274,5 +273,6 @@ public InputList Rules public GlobalRoleState() { } + public static new GlobalRoleState Empty => new GlobalRoleState(); } } diff --git a/sdk/dotnet/GlobalRoleBinding.cs b/sdk/dotnet/GlobalRoleBinding.cs index fc412596f..3d1d82e2d 100644 --- a/sdk/dotnet/GlobalRoleBinding.cs +++ b/sdk/dotnet/GlobalRoleBinding.cs @@ -15,28 +15,27 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Global Role Binding using user_id + /// var foo = new Rancher2.GlobalRoleBinding("foo", new() /// { - /// // Create a new rancher2 Global Role Binding using user_id - /// var foo = new Rancher2.GlobalRoleBinding("foo", new Rancher2.GlobalRoleBindingArgs - /// { - /// GlobalRoleId = "admin", - /// UserId = "user-XXXXX", - /// }); - /// // Create a new rancher2 Global Role Binding using group_principal_id - /// var foo2 = new Rancher2.GlobalRoleBinding("foo2", new Rancher2.GlobalRoleBindingArgs - /// { - /// GlobalRoleId = "admin", - /// GroupPrincipalId = "local://g-XXXXX", - /// }); - /// } + /// GlobalRoleId = "admin", + /// UserId = "user-XXXXX", + /// }); /// - /// } + /// // Create a new rancher2 Global Role Binding using group_principal_id + /// var foo2 = new Rancher2.GlobalRoleBinding("foo2", new() + /// { + /// GlobalRoleId = "admin", + /// GroupPrincipalId = "local://g-XXXXX", + /// }); + /// + /// }); /// ``` /// /// ## Import @@ -48,7 +47,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/globalRoleBinding:GlobalRoleBinding")] - public partial class GlobalRoleBinding : Pulumi.CustomResource + public partial class GlobalRoleBinding : global::Pulumi.CustomResource { /// /// Annotations for global role binding (map) @@ -130,7 +129,7 @@ public static GlobalRoleBinding Get(string name, Input id, GlobalRoleBin } } - public sealed class GlobalRoleBindingArgs : Pulumi.ResourceArgs + public sealed class GlobalRoleBindingArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -183,9 +182,10 @@ public InputMap Labels public GlobalRoleBindingArgs() { } + public static new GlobalRoleBindingArgs Empty => new GlobalRoleBindingArgs(); } - public sealed class GlobalRoleBindingState : Pulumi.ResourceArgs + public sealed class GlobalRoleBindingState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -238,5 +238,6 @@ public InputMap Labels public GlobalRoleBindingState() { } + public static new GlobalRoleBindingState Empty => new GlobalRoleBindingState(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialAmazonec2CredentialConfigArgs.cs b/sdk/dotnet/Inputs/CloudCredentialAmazonec2CredentialConfigArgs.cs index da4566337..d46ffb12f 100644 --- a/sdk/dotnet/Inputs/CloudCredentialAmazonec2CredentialConfigArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialAmazonec2CredentialConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialAmazonec2CredentialConfigArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialAmazonec2CredentialConfigArgs : global::Pulumi.ResourceArgs { + [Input("accessKey", required: true)] + private Input? _accessKey; + /// /// AWS access key (string) /// - [Input("accessKey", required: true)] - public Input AccessKey { get; set; } = null!; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS default region (string) @@ -24,14 +34,25 @@ public sealed class CloudCredentialAmazonec2CredentialConfigArgs : Pulumi.Resour [Input("defaultRegion")] public Input? DefaultRegion { get; set; } + [Input("secretKey", required: true)] + private Input? _secretKey; + /// /// AWS secret key (string) /// - [Input("secretKey", required: true)] - public Input SecretKey { get; set; } = null!; + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialAmazonec2CredentialConfigArgs() { } + public static new CloudCredentialAmazonec2CredentialConfigArgs Empty => new CloudCredentialAmazonec2CredentialConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialAmazonec2CredentialConfigGetArgs.cs b/sdk/dotnet/Inputs/CloudCredentialAmazonec2CredentialConfigGetArgs.cs index c89ede070..bc5f0fcbc 100644 --- a/sdk/dotnet/Inputs/CloudCredentialAmazonec2CredentialConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialAmazonec2CredentialConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialAmazonec2CredentialConfigGetArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialAmazonec2CredentialConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("accessKey", required: true)] + private Input? _accessKey; + /// /// AWS access key (string) /// - [Input("accessKey", required: true)] - public Input AccessKey { get; set; } = null!; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS default region (string) @@ -24,14 +34,25 @@ public sealed class CloudCredentialAmazonec2CredentialConfigGetArgs : Pulumi.Res [Input("defaultRegion")] public Input? DefaultRegion { get; set; } + [Input("secretKey", required: true)] + private Input? _secretKey; + /// /// AWS secret key (string) /// - [Input("secretKey", required: true)] - public Input SecretKey { get; set; } = null!; + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialAmazonec2CredentialConfigGetArgs() { } + public static new CloudCredentialAmazonec2CredentialConfigGetArgs Empty => new CloudCredentialAmazonec2CredentialConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialAzureCredentialConfigArgs.cs b/sdk/dotnet/Inputs/CloudCredentialAzureCredentialConfigArgs.cs index d9495425c..de65373cf 100644 --- a/sdk/dotnet/Inputs/CloudCredentialAzureCredentialConfigArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialAzureCredentialConfigArgs.cs @@ -10,19 +10,39 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialAzureCredentialConfigArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialAzureCredentialConfigArgs : global::Pulumi.ResourceArgs { + [Input("clientId", required: true)] + private Input? _clientId; + /// /// Azure Service Principal Account ID (string) /// - [Input("clientId", required: true)] - public Input ClientId { get; set; } = null!; + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret", required: true)] + private Input? _clientSecret; /// /// Azure Service Principal Account password (string) /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Azure environment (e.g. AzurePublicCloud, AzureChinaCloud) (string) @@ -30,11 +50,21 @@ public sealed class CloudCredentialAzureCredentialConfigArgs : Pulumi.ResourceAr [Input("environment")] public Input? Environment { get; set; } + [Input("subscriptionId", required: true)] + private Input? _subscriptionId; + /// /// Azure Subscription ID (string) /// - [Input("subscriptionId", required: true)] - public Input SubscriptionId { get; set; } = null!; + public Input? SubscriptionId + { + get => _subscriptionId; + set + { + var emptySecret = Output.CreateSecret(0); + _subscriptionId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Azure Tenant ID (string) @@ -45,5 +75,6 @@ public sealed class CloudCredentialAzureCredentialConfigArgs : Pulumi.ResourceAr public CloudCredentialAzureCredentialConfigArgs() { } + public static new CloudCredentialAzureCredentialConfigArgs Empty => new CloudCredentialAzureCredentialConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialAzureCredentialConfigGetArgs.cs b/sdk/dotnet/Inputs/CloudCredentialAzureCredentialConfigGetArgs.cs index d7ff4b53d..963be32e9 100644 --- a/sdk/dotnet/Inputs/CloudCredentialAzureCredentialConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialAzureCredentialConfigGetArgs.cs @@ -10,19 +10,39 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialAzureCredentialConfigGetArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialAzureCredentialConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("clientId", required: true)] + private Input? _clientId; + /// /// Azure Service Principal Account ID (string) /// - [Input("clientId", required: true)] - public Input ClientId { get; set; } = null!; + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret", required: true)] + private Input? _clientSecret; /// /// Azure Service Principal Account password (string) /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Azure environment (e.g. AzurePublicCloud, AzureChinaCloud) (string) @@ -30,11 +50,21 @@ public sealed class CloudCredentialAzureCredentialConfigGetArgs : Pulumi.Resourc [Input("environment")] public Input? Environment { get; set; } + [Input("subscriptionId", required: true)] + private Input? _subscriptionId; + /// /// Azure Subscription ID (string) /// - [Input("subscriptionId", required: true)] - public Input SubscriptionId { get; set; } = null!; + public Input? SubscriptionId + { + get => _subscriptionId; + set + { + var emptySecret = Output.CreateSecret(0); + _subscriptionId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Azure Tenant ID (string) @@ -45,5 +75,6 @@ public sealed class CloudCredentialAzureCredentialConfigGetArgs : Pulumi.Resourc public CloudCredentialAzureCredentialConfigGetArgs() { } + public static new CloudCredentialAzureCredentialConfigGetArgs Empty => new CloudCredentialAzureCredentialConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialDigitaloceanCredentialConfigArgs.cs b/sdk/dotnet/Inputs/CloudCredentialDigitaloceanCredentialConfigArgs.cs index 95229a771..ca7a6dc9d 100644 --- a/sdk/dotnet/Inputs/CloudCredentialDigitaloceanCredentialConfigArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialDigitaloceanCredentialConfigArgs.cs @@ -10,16 +10,27 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialDigitaloceanCredentialConfigArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialDigitaloceanCredentialConfigArgs : global::Pulumi.ResourceArgs { + [Input("accessToken", required: true)] + private Input? _accessToken; + /// /// DigitalOcean access token (string) /// - [Input("accessToken", required: true)] - public Input AccessToken { get; set; } = null!; + public Input? AccessToken + { + get => _accessToken; + set + { + var emptySecret = Output.CreateSecret(0); + _accessToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialDigitaloceanCredentialConfigArgs() { } + public static new CloudCredentialDigitaloceanCredentialConfigArgs Empty => new CloudCredentialDigitaloceanCredentialConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialDigitaloceanCredentialConfigGetArgs.cs b/sdk/dotnet/Inputs/CloudCredentialDigitaloceanCredentialConfigGetArgs.cs index f1e22fc96..2eddbcb30 100644 --- a/sdk/dotnet/Inputs/CloudCredentialDigitaloceanCredentialConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialDigitaloceanCredentialConfigGetArgs.cs @@ -10,16 +10,27 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialDigitaloceanCredentialConfigGetArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialDigitaloceanCredentialConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("accessToken", required: true)] + private Input? _accessToken; + /// /// DigitalOcean access token (string) /// - [Input("accessToken", required: true)] - public Input AccessToken { get; set; } = null!; + public Input? AccessToken + { + get => _accessToken; + set + { + var emptySecret = Output.CreateSecret(0); + _accessToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialDigitaloceanCredentialConfigGetArgs() { } + public static new CloudCredentialDigitaloceanCredentialConfigGetArgs Empty => new CloudCredentialDigitaloceanCredentialConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialGoogleCredentialConfigArgs.cs b/sdk/dotnet/Inputs/CloudCredentialGoogleCredentialConfigArgs.cs index ccb0288d9..73867757e 100644 --- a/sdk/dotnet/Inputs/CloudCredentialGoogleCredentialConfigArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialGoogleCredentialConfigArgs.cs @@ -10,16 +10,27 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialGoogleCredentialConfigArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialGoogleCredentialConfigArgs : global::Pulumi.ResourceArgs { + [Input("authEncodedJson", required: true)] + private Input? _authEncodedJson; + /// /// Google auth encoded json (string) /// - [Input("authEncodedJson", required: true)] - public Input AuthEncodedJson { get; set; } = null!; + public Input? AuthEncodedJson + { + get => _authEncodedJson; + set + { + var emptySecret = Output.CreateSecret(0); + _authEncodedJson = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialGoogleCredentialConfigArgs() { } + public static new CloudCredentialGoogleCredentialConfigArgs Empty => new CloudCredentialGoogleCredentialConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialGoogleCredentialConfigGetArgs.cs b/sdk/dotnet/Inputs/CloudCredentialGoogleCredentialConfigGetArgs.cs index 699ef3376..ffbfa4652 100644 --- a/sdk/dotnet/Inputs/CloudCredentialGoogleCredentialConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialGoogleCredentialConfigGetArgs.cs @@ -10,16 +10,27 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialGoogleCredentialConfigGetArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialGoogleCredentialConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("authEncodedJson", required: true)] + private Input? _authEncodedJson; + /// /// Google auth encoded json (string) /// - [Input("authEncodedJson", required: true)] - public Input AuthEncodedJson { get; set; } = null!; + public Input? AuthEncodedJson + { + get => _authEncodedJson; + set + { + var emptySecret = Output.CreateSecret(0); + _authEncodedJson = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialGoogleCredentialConfigGetArgs() { } + public static new CloudCredentialGoogleCredentialConfigGetArgs Empty => new CloudCredentialGoogleCredentialConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialHarvesterCredentialConfigArgs.cs b/sdk/dotnet/Inputs/CloudCredentialHarvesterCredentialConfigArgs.cs index d607222e3..3104edc20 100644 --- a/sdk/dotnet/Inputs/CloudCredentialHarvesterCredentialConfigArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialHarvesterCredentialConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialHarvesterCredentialConfigArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialHarvesterCredentialConfigArgs : global::Pulumi.ResourceArgs { /// /// Imported Harvester Cluster ID (string) @@ -24,14 +24,25 @@ public sealed class CloudCredentialHarvesterCredentialConfigArgs : Pulumi.Resour [Input("clusterType", required: true)] public Input ClusterType { get; set; } = null!; + [Input("kubeconfigContent", required: true)] + private Input? _kubeconfigContent; + /// /// Harvester Cluster KubeConfig Content (string) /// - [Input("kubeconfigContent", required: true)] - public Input KubeconfigContent { get; set; } = null!; + public Input? KubeconfigContent + { + get => _kubeconfigContent; + set + { + var emptySecret = Output.CreateSecret(0); + _kubeconfigContent = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialHarvesterCredentialConfigArgs() { } + public static new CloudCredentialHarvesterCredentialConfigArgs Empty => new CloudCredentialHarvesterCredentialConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialHarvesterCredentialConfigGetArgs.cs b/sdk/dotnet/Inputs/CloudCredentialHarvesterCredentialConfigGetArgs.cs index f48eae90c..ca68dcd3e 100644 --- a/sdk/dotnet/Inputs/CloudCredentialHarvesterCredentialConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialHarvesterCredentialConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialHarvesterCredentialConfigGetArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialHarvesterCredentialConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Imported Harvester Cluster ID (string) @@ -24,14 +24,25 @@ public sealed class CloudCredentialHarvesterCredentialConfigGetArgs : Pulumi.Res [Input("clusterType", required: true)] public Input ClusterType { get; set; } = null!; + [Input("kubeconfigContent", required: true)] + private Input? _kubeconfigContent; + /// /// Harvester Cluster KubeConfig Content (string) /// - [Input("kubeconfigContent", required: true)] - public Input KubeconfigContent { get; set; } = null!; + public Input? KubeconfigContent + { + get => _kubeconfigContent; + set + { + var emptySecret = Output.CreateSecret(0); + _kubeconfigContent = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialHarvesterCredentialConfigGetArgs() { } + public static new CloudCredentialHarvesterCredentialConfigGetArgs Empty => new CloudCredentialHarvesterCredentialConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialLinodeCredentialConfigArgs.cs b/sdk/dotnet/Inputs/CloudCredentialLinodeCredentialConfigArgs.cs index 09e9b9df6..ad0cb7914 100644 --- a/sdk/dotnet/Inputs/CloudCredentialLinodeCredentialConfigArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialLinodeCredentialConfigArgs.cs @@ -10,16 +10,27 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialLinodeCredentialConfigArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialLinodeCredentialConfigArgs : global::Pulumi.ResourceArgs { + [Input("token", required: true)] + private Input? _token; + /// /// Linode API token (string) /// - [Input("token", required: true)] - public Input Token { get; set; } = null!; + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialLinodeCredentialConfigArgs() { } + public static new CloudCredentialLinodeCredentialConfigArgs Empty => new CloudCredentialLinodeCredentialConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialLinodeCredentialConfigGetArgs.cs b/sdk/dotnet/Inputs/CloudCredentialLinodeCredentialConfigGetArgs.cs index 21c2bd61a..96b4d0b8b 100644 --- a/sdk/dotnet/Inputs/CloudCredentialLinodeCredentialConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialLinodeCredentialConfigGetArgs.cs @@ -10,16 +10,27 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialLinodeCredentialConfigGetArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialLinodeCredentialConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("token", required: true)] + private Input? _token; + /// /// Linode API token (string) /// - [Input("token", required: true)] - public Input Token { get; set; } = null!; + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialLinodeCredentialConfigGetArgs() { } + public static new CloudCredentialLinodeCredentialConfigGetArgs Empty => new CloudCredentialLinodeCredentialConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialOpenstackCredentialConfigArgs.cs b/sdk/dotnet/Inputs/CloudCredentialOpenstackCredentialConfigArgs.cs index bf16df836..7cac906b6 100644 --- a/sdk/dotnet/Inputs/CloudCredentialOpenstackCredentialConfigArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialOpenstackCredentialConfigArgs.cs @@ -10,16 +10,27 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialOpenstackCredentialConfigArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialOpenstackCredentialConfigArgs : global::Pulumi.ResourceArgs { + [Input("password", required: true)] + private Input? _password; + /// /// vSphere password (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialOpenstackCredentialConfigArgs() { } + public static new CloudCredentialOpenstackCredentialConfigArgs Empty => new CloudCredentialOpenstackCredentialConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialOpenstackCredentialConfigGetArgs.cs b/sdk/dotnet/Inputs/CloudCredentialOpenstackCredentialConfigGetArgs.cs index 61149a7bc..a12100ad3 100644 --- a/sdk/dotnet/Inputs/CloudCredentialOpenstackCredentialConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialOpenstackCredentialConfigGetArgs.cs @@ -10,16 +10,27 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialOpenstackCredentialConfigGetArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialOpenstackCredentialConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("password", required: true)] + private Input? _password; + /// /// vSphere password (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialOpenstackCredentialConfigGetArgs() { } + public static new CloudCredentialOpenstackCredentialConfigGetArgs Empty => new CloudCredentialOpenstackCredentialConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialS3CredentialConfigArgs.cs b/sdk/dotnet/Inputs/CloudCredentialS3CredentialConfigArgs.cs index 56cce3c34..27b32cc66 100644 --- a/sdk/dotnet/Inputs/CloudCredentialS3CredentialConfigArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialS3CredentialConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialS3CredentialConfigArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialS3CredentialConfigArgs : global::Pulumi.ResourceArgs { + [Input("accessKey", required: true)] + private Input? _accessKey; + /// /// AWS access key (string) /// - [Input("accessKey", required: true)] - public Input AccessKey { get; set; } = null!; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS default bucket (string) @@ -30,11 +40,21 @@ public sealed class CloudCredentialS3CredentialConfigArgs : Pulumi.ResourceArgs [Input("defaultEndpoint")] public Input? DefaultEndpoint { get; set; } + [Input("defaultEndpointCa")] + private Input? _defaultEndpointCa; + /// /// AWS default endpoint CA (string) /// - [Input("defaultEndpointCa")] - public Input? DefaultEndpointCa { get; set; } + public Input? DefaultEndpointCa + { + get => _defaultEndpointCa; + set + { + var emptySecret = Output.CreateSecret(0); + _defaultEndpointCa = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS default folder (string) @@ -54,14 +74,25 @@ public sealed class CloudCredentialS3CredentialConfigArgs : Pulumi.ResourceArgs [Input("defaultSkipSslVerify")] public Input? DefaultSkipSslVerify { get; set; } + [Input("secretKey", required: true)] + private Input? _secretKey; + /// /// AWS secret key (string) /// - [Input("secretKey", required: true)] - public Input SecretKey { get; set; } = null!; + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialS3CredentialConfigArgs() { } + public static new CloudCredentialS3CredentialConfigArgs Empty => new CloudCredentialS3CredentialConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialS3CredentialConfigGetArgs.cs b/sdk/dotnet/Inputs/CloudCredentialS3CredentialConfigGetArgs.cs index ce6dd57bd..e03aa3534 100644 --- a/sdk/dotnet/Inputs/CloudCredentialS3CredentialConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialS3CredentialConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialS3CredentialConfigGetArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialS3CredentialConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("accessKey", required: true)] + private Input? _accessKey; + /// /// AWS access key (string) /// - [Input("accessKey", required: true)] - public Input AccessKey { get; set; } = null!; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS default bucket (string) @@ -30,11 +40,21 @@ public sealed class CloudCredentialS3CredentialConfigGetArgs : Pulumi.ResourceAr [Input("defaultEndpoint")] public Input? DefaultEndpoint { get; set; } + [Input("defaultEndpointCa")] + private Input? _defaultEndpointCa; + /// /// AWS default endpoint CA (string) /// - [Input("defaultEndpointCa")] - public Input? DefaultEndpointCa { get; set; } + public Input? DefaultEndpointCa + { + get => _defaultEndpointCa; + set + { + var emptySecret = Output.CreateSecret(0); + _defaultEndpointCa = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS default folder (string) @@ -54,14 +74,25 @@ public sealed class CloudCredentialS3CredentialConfigGetArgs : Pulumi.ResourceAr [Input("defaultSkipSslVerify")] public Input? DefaultSkipSslVerify { get; set; } + [Input("secretKey", required: true)] + private Input? _secretKey; + /// /// AWS secret key (string) /// - [Input("secretKey", required: true)] - public Input SecretKey { get; set; } = null!; + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public CloudCredentialS3CredentialConfigGetArgs() { } + public static new CloudCredentialS3CredentialConfigGetArgs Empty => new CloudCredentialS3CredentialConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialVsphereCredentialConfigArgs.cs b/sdk/dotnet/Inputs/CloudCredentialVsphereCredentialConfigArgs.cs index 3a8ae02fd..c1cd63ff6 100644 --- a/sdk/dotnet/Inputs/CloudCredentialVsphereCredentialConfigArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialVsphereCredentialConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialVsphereCredentialConfigArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialVsphereCredentialConfigArgs : global::Pulumi.ResourceArgs { + [Input("password", required: true)] + private Input? _password; + /// /// vSphere password (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// vSphere username (string) @@ -39,5 +49,6 @@ public sealed class CloudCredentialVsphereCredentialConfigArgs : Pulumi.Resource public CloudCredentialVsphereCredentialConfigArgs() { } + public static new CloudCredentialVsphereCredentialConfigArgs Empty => new CloudCredentialVsphereCredentialConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/CloudCredentialVsphereCredentialConfigGetArgs.cs b/sdk/dotnet/Inputs/CloudCredentialVsphereCredentialConfigGetArgs.cs index e6fde06a5..bfc50ad17 100644 --- a/sdk/dotnet/Inputs/CloudCredentialVsphereCredentialConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CloudCredentialVsphereCredentialConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class CloudCredentialVsphereCredentialConfigGetArgs : Pulumi.ResourceArgs + public sealed class CloudCredentialVsphereCredentialConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("password", required: true)] + private Input? _password; + /// /// vSphere password (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// vSphere username (string) @@ -39,5 +49,6 @@ public sealed class CloudCredentialVsphereCredentialConfigGetArgs : Pulumi.Resou public CloudCredentialVsphereCredentialConfigGetArgs() { } + public static new CloudCredentialVsphereCredentialConfigGetArgs Empty => new CloudCredentialVsphereCredentialConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAgentEnvVarArgs.cs b/sdk/dotnet/Inputs/ClusterAgentEnvVarArgs.cs index e04c732d9..2a79691e2 100644 --- a/sdk/dotnet/Inputs/ClusterAgentEnvVarArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAgentEnvVarArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAgentEnvVarArgs : Pulumi.ResourceArgs + public sealed class ClusterAgentEnvVarArgs : global::Pulumi.ResourceArgs { /// /// Name of cluster registration token (string) @@ -27,5 +27,6 @@ public sealed class ClusterAgentEnvVarArgs : Pulumi.ResourceArgs public ClusterAgentEnvVarArgs() { } + public static new ClusterAgentEnvVarArgs Empty => new ClusterAgentEnvVarArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAgentEnvVarGetArgs.cs b/sdk/dotnet/Inputs/ClusterAgentEnvVarGetArgs.cs index c10017bff..c35e80cba 100644 --- a/sdk/dotnet/Inputs/ClusterAgentEnvVarGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAgentEnvVarGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAgentEnvVarGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAgentEnvVarGetArgs : global::Pulumi.ResourceArgs { /// /// Name of cluster registration token (string) @@ -27,5 +27,6 @@ public sealed class ClusterAgentEnvVarGetArgs : Pulumi.ResourceArgs public ClusterAgentEnvVarGetArgs() { } + public static new ClusterAgentEnvVarGetArgs Empty => new ClusterAgentEnvVarGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAksConfigArgs.cs b/sdk/dotnet/Inputs/ClusterAksConfigArgs.cs index 51b592524..cfdb212e9 100644 --- a/sdk/dotnet/Inputs/ClusterAksConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAksConfigArgs.cs @@ -10,31 +10,71 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAksConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterAksConfigArgs : global::Pulumi.ResourceArgs { + [Input("aadServerAppSecret")] + private Input? _aadServerAppSecret; + /// /// The secret of an Azure Active Directory server application (string) /// - [Input("aadServerAppSecret")] - public Input? AadServerAppSecret { get; set; } + public Input? AadServerAppSecret + { + get => _aadServerAppSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _aadServerAppSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("aadTenantId")] + private Input? _aadTenantId; /// /// The ID of an Azure Active Directory tenant (string) /// - [Input("aadTenantId")] - public Input? AadTenantId { get; set; } + public Input? AadTenantId + { + get => _aadTenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _aadTenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("addClientAppId")] + private Input? _addClientAppId; /// /// The ID of an Azure Active Directory client application of type \"Native\". This application is for user login via kubectl (string) /// - [Input("addClientAppId")] - public Input? AddClientAppId { get; set; } + public Input? AddClientAppId + { + get => _addClientAppId; + set + { + var emptySecret = Output.CreateSecret(0); + _addClientAppId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("addServerAppId")] + private Input? _addServerAppId; /// /// The ID of an Azure Active Directory server application of type \"Web app/API\". This application represents the managed cluster's apiserver (Server application) (string) /// - [Input("addServerAppId")] - public Input? AddServerAppId { get; set; } + public Input? AddServerAppId + { + get => _addServerAppId; + set + { + var emptySecret = Output.CreateSecret(0); + _addServerAppId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The administrator username to use for Linux hosts. Default `azureuser` (string) @@ -84,17 +124,37 @@ public sealed class ClusterAksConfigArgs : Pulumi.ResourceArgs [Input("baseUrl")] public Input? BaseUrl { get; set; } + [Input("clientId", required: true)] + private Input? _clientId; + /// /// Azure client ID to use (string) /// - [Input("clientId", required: true)] - public Input ClientId { get; set; } = null!; + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret", required: true)] + private Input? _clientSecret; /// /// Azure client secret associated with the \"client id\" (string) /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The AKS node pool count. Default: `1` (int) @@ -262,5 +322,6 @@ public InputList Tags public ClusterAksConfigArgs() { } + public static new ClusterAksConfigArgs Empty => new ClusterAksConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAksConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterAksConfigGetArgs.cs index 9e27a8caf..70bc59e95 100644 --- a/sdk/dotnet/Inputs/ClusterAksConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAksConfigGetArgs.cs @@ -10,31 +10,71 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAksConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAksConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("aadServerAppSecret")] + private Input? _aadServerAppSecret; + /// /// The secret of an Azure Active Directory server application (string) /// - [Input("aadServerAppSecret")] - public Input? AadServerAppSecret { get; set; } + public Input? AadServerAppSecret + { + get => _aadServerAppSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _aadServerAppSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("aadTenantId")] + private Input? _aadTenantId; /// /// The ID of an Azure Active Directory tenant (string) /// - [Input("aadTenantId")] - public Input? AadTenantId { get; set; } + public Input? AadTenantId + { + get => _aadTenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _aadTenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("addClientAppId")] + private Input? _addClientAppId; /// /// The ID of an Azure Active Directory client application of type \"Native\". This application is for user login via kubectl (string) /// - [Input("addClientAppId")] - public Input? AddClientAppId { get; set; } + public Input? AddClientAppId + { + get => _addClientAppId; + set + { + var emptySecret = Output.CreateSecret(0); + _addClientAppId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("addServerAppId")] + private Input? _addServerAppId; /// /// The ID of an Azure Active Directory server application of type \"Web app/API\". This application represents the managed cluster's apiserver (Server application) (string) /// - [Input("addServerAppId")] - public Input? AddServerAppId { get; set; } + public Input? AddServerAppId + { + get => _addServerAppId; + set + { + var emptySecret = Output.CreateSecret(0); + _addServerAppId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The administrator username to use for Linux hosts. Default `azureuser` (string) @@ -84,17 +124,37 @@ public sealed class ClusterAksConfigGetArgs : Pulumi.ResourceArgs [Input("baseUrl")] public Input? BaseUrl { get; set; } + [Input("clientId", required: true)] + private Input? _clientId; + /// /// Azure client ID to use (string) /// - [Input("clientId", required: true)] - public Input ClientId { get; set; } = null!; + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret", required: true)] + private Input? _clientSecret; /// /// Azure client secret associated with the \"client id\" (string) /// - [Input("clientSecret", required: true)] - public Input ClientSecret { get; set; } = null!; + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The AKS node pool count. Default: `1` (int) @@ -262,5 +322,6 @@ public InputList Tags public ClusterAksConfigGetArgs() { } + public static new ClusterAksConfigGetArgs Empty => new ClusterAksConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAksConfigV2Args.cs b/sdk/dotnet/Inputs/ClusterAksConfigV2Args.cs index 35b01dff7..ec6e20f0c 100644 --- a/sdk/dotnet/Inputs/ClusterAksConfigV2Args.cs +++ b/sdk/dotnet/Inputs/ClusterAksConfigV2Args.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAksConfigV2Args : Pulumi.ResourceArgs + public sealed class ClusterAksConfigV2Args : global::Pulumi.ResourceArgs { /// /// The AKS auth base url (string) @@ -207,5 +207,6 @@ public InputMap Tags public ClusterAksConfigV2Args() { } + public static new ClusterAksConfigV2Args Empty => new ClusterAksConfigV2Args(); } } diff --git a/sdk/dotnet/Inputs/ClusterAksConfigV2GetArgs.cs b/sdk/dotnet/Inputs/ClusterAksConfigV2GetArgs.cs index 0c9a53eda..e41ee0eaf 100644 --- a/sdk/dotnet/Inputs/ClusterAksConfigV2GetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAksConfigV2GetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAksConfigV2GetArgs : Pulumi.ResourceArgs + public sealed class ClusterAksConfigV2GetArgs : global::Pulumi.ResourceArgs { /// /// The AKS auth base url (string) @@ -207,5 +207,6 @@ public InputMap Tags public ClusterAksConfigV2GetArgs() { } + public static new ClusterAksConfigV2GetArgs Empty => new ClusterAksConfigV2GetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAksConfigV2NodePoolArgs.cs b/sdk/dotnet/Inputs/ClusterAksConfigV2NodePoolArgs.cs index a4e53cec6..a00e6e0da 100644 --- a/sdk/dotnet/Inputs/ClusterAksConfigV2NodePoolArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAksConfigV2NodePoolArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAksConfigV2NodePoolArgs : Pulumi.ResourceArgs + public sealed class ClusterAksConfigV2NodePoolArgs : global::Pulumi.ResourceArgs { [Input("availabilityZones")] private InputList? _availabilityZones; @@ -99,5 +99,6 @@ public InputList AvailabilityZones public ClusterAksConfigV2NodePoolArgs() { } + public static new ClusterAksConfigV2NodePoolArgs Empty => new ClusterAksConfigV2NodePoolArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAksConfigV2NodePoolGetArgs.cs b/sdk/dotnet/Inputs/ClusterAksConfigV2NodePoolGetArgs.cs index f5c2c48ac..963ad32f3 100644 --- a/sdk/dotnet/Inputs/ClusterAksConfigV2NodePoolGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAksConfigV2NodePoolGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAksConfigV2NodePoolGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAksConfigV2NodePoolGetArgs : global::Pulumi.ResourceArgs { [Input("availabilityZones")] private InputList? _availabilityZones; @@ -99,5 +99,6 @@ public InputList AvailabilityZones public ClusterAksConfigV2NodePoolGetArgs() { } + public static new ClusterAksConfigV2NodePoolGetArgs Empty => new ClusterAksConfigV2NodePoolGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlertGroupRecipientArgs.cs b/sdk/dotnet/Inputs/ClusterAlertGroupRecipientArgs.cs index 463077f71..25e882289 100644 --- a/sdk/dotnet/Inputs/ClusterAlertGroupRecipientArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlertGroupRecipientArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlertGroupRecipientArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertGroupRecipientArgs : global::Pulumi.ResourceArgs { /// /// Use notifier default recipient, overriding `recipient` argument if set. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterAlertGroupRecipientArgs : Pulumi.ResourceArgs public ClusterAlertGroupRecipientArgs() { } + public static new ClusterAlertGroupRecipientArgs Empty => new ClusterAlertGroupRecipientArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlertGroupRecipientGetArgs.cs b/sdk/dotnet/Inputs/ClusterAlertGroupRecipientGetArgs.cs index 317132edc..61f57911d 100644 --- a/sdk/dotnet/Inputs/ClusterAlertGroupRecipientGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlertGroupRecipientGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlertGroupRecipientGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertGroupRecipientGetArgs : global::Pulumi.ResourceArgs { /// /// Use notifier default recipient, overriding `recipient` argument if set. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterAlertGroupRecipientGetArgs : Pulumi.ResourceArgs public ClusterAlertGroupRecipientGetArgs() { } + public static new ClusterAlertGroupRecipientGetArgs Empty => new ClusterAlertGroupRecipientGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlertRuleEventRuleArgs.cs b/sdk/dotnet/Inputs/ClusterAlertRuleEventRuleArgs.cs index d96254f14..5102ce3d1 100644 --- a/sdk/dotnet/Inputs/ClusterAlertRuleEventRuleArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlertRuleEventRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlertRuleEventRuleArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertRuleEventRuleArgs : global::Pulumi.ResourceArgs { /// /// Event type. Supported values : `"Warning" | "Normal"`. Default: `Warning` (string) @@ -27,5 +27,6 @@ public sealed class ClusterAlertRuleEventRuleArgs : Pulumi.ResourceArgs public ClusterAlertRuleEventRuleArgs() { } + public static new ClusterAlertRuleEventRuleArgs Empty => new ClusterAlertRuleEventRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlertRuleEventRuleGetArgs.cs b/sdk/dotnet/Inputs/ClusterAlertRuleEventRuleGetArgs.cs index 094ecb96f..6b479d88e 100644 --- a/sdk/dotnet/Inputs/ClusterAlertRuleEventRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlertRuleEventRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlertRuleEventRuleGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertRuleEventRuleGetArgs : global::Pulumi.ResourceArgs { /// /// Event type. Supported values : `"Warning" | "Normal"`. Default: `Warning` (string) @@ -27,5 +27,6 @@ public sealed class ClusterAlertRuleEventRuleGetArgs : Pulumi.ResourceArgs public ClusterAlertRuleEventRuleGetArgs() { } + public static new ClusterAlertRuleEventRuleGetArgs Empty => new ClusterAlertRuleEventRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlertRuleMetricRuleArgs.cs b/sdk/dotnet/Inputs/ClusterAlertRuleMetricRuleArgs.cs index 192fffe10..03c1bbbdf 100644 --- a/sdk/dotnet/Inputs/ClusterAlertRuleMetricRuleArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlertRuleMetricRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlertRuleMetricRuleArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertRuleMetricRuleArgs : global::Pulumi.ResourceArgs { /// /// Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) @@ -45,5 +45,6 @@ public sealed class ClusterAlertRuleMetricRuleArgs : Pulumi.ResourceArgs public ClusterAlertRuleMetricRuleArgs() { } + public static new ClusterAlertRuleMetricRuleArgs Empty => new ClusterAlertRuleMetricRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlertRuleMetricRuleGetArgs.cs b/sdk/dotnet/Inputs/ClusterAlertRuleMetricRuleGetArgs.cs index 01f9551ca..f0a825442 100644 --- a/sdk/dotnet/Inputs/ClusterAlertRuleMetricRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlertRuleMetricRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlertRuleMetricRuleGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertRuleMetricRuleGetArgs : global::Pulumi.ResourceArgs { /// /// Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) @@ -45,5 +45,6 @@ public sealed class ClusterAlertRuleMetricRuleGetArgs : Pulumi.ResourceArgs public ClusterAlertRuleMetricRuleGetArgs() { } + public static new ClusterAlertRuleMetricRuleGetArgs Empty => new ClusterAlertRuleMetricRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlertRuleNodeRuleArgs.cs b/sdk/dotnet/Inputs/ClusterAlertRuleNodeRuleArgs.cs index 0175637cc..30003549f 100644 --- a/sdk/dotnet/Inputs/ClusterAlertRuleNodeRuleArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlertRuleNodeRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlertRuleNodeRuleArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertRuleNodeRuleArgs : global::Pulumi.ResourceArgs { /// /// System service rule condition. Supported values : `"controller-manager" | "etcd" | "scheduler"`. Default: `scheduler` (string) @@ -51,5 +51,6 @@ public InputMap Selector public ClusterAlertRuleNodeRuleArgs() { } + public static new ClusterAlertRuleNodeRuleArgs Empty => new ClusterAlertRuleNodeRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlertRuleNodeRuleGetArgs.cs b/sdk/dotnet/Inputs/ClusterAlertRuleNodeRuleGetArgs.cs index 4ca7a7017..cef18afe6 100644 --- a/sdk/dotnet/Inputs/ClusterAlertRuleNodeRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlertRuleNodeRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlertRuleNodeRuleGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertRuleNodeRuleGetArgs : global::Pulumi.ResourceArgs { /// /// System service rule condition. Supported values : `"controller-manager" | "etcd" | "scheduler"`. Default: `scheduler` (string) @@ -51,5 +51,6 @@ public InputMap Selector public ClusterAlertRuleNodeRuleGetArgs() { } + public static new ClusterAlertRuleNodeRuleGetArgs Empty => new ClusterAlertRuleNodeRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlertRuleSystemServiceRuleArgs.cs b/sdk/dotnet/Inputs/ClusterAlertRuleSystemServiceRuleArgs.cs index e7e10549f..c4db8defc 100644 --- a/sdk/dotnet/Inputs/ClusterAlertRuleSystemServiceRuleArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlertRuleSystemServiceRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlertRuleSystemServiceRuleArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertRuleSystemServiceRuleArgs : global::Pulumi.ResourceArgs { /// /// System service rule condition. Supported values : `"controller-manager" | "etcd" | "scheduler"`. Default: `scheduler` (string) @@ -21,5 +21,6 @@ public sealed class ClusterAlertRuleSystemServiceRuleArgs : Pulumi.ResourceArgs public ClusterAlertRuleSystemServiceRuleArgs() { } + public static new ClusterAlertRuleSystemServiceRuleArgs Empty => new ClusterAlertRuleSystemServiceRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlertRuleSystemServiceRuleGetArgs.cs b/sdk/dotnet/Inputs/ClusterAlertRuleSystemServiceRuleGetArgs.cs index 9d4652528..e9a86e684 100644 --- a/sdk/dotnet/Inputs/ClusterAlertRuleSystemServiceRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlertRuleSystemServiceRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlertRuleSystemServiceRuleGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAlertRuleSystemServiceRuleGetArgs : global::Pulumi.ResourceArgs { /// /// System service rule condition. Supported values : `"controller-manager" | "etcd" | "scheduler"`. Default: `scheduler` (string) @@ -21,5 +21,6 @@ public sealed class ClusterAlertRuleSystemServiceRuleGetArgs : Pulumi.ResourceAr public ClusterAlertRuleSystemServiceRuleGetArgs() { } + public static new ClusterAlertRuleSystemServiceRuleGetArgs Empty => new ClusterAlertRuleSystemServiceRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlterGroupRecipientArgs.cs b/sdk/dotnet/Inputs/ClusterAlterGroupRecipientArgs.cs index fc118b749..0903ecab7 100644 --- a/sdk/dotnet/Inputs/ClusterAlterGroupRecipientArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlterGroupRecipientArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlterGroupRecipientArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterGroupRecipientArgs : global::Pulumi.ResourceArgs { /// /// Use notifier default recipient, overriding `recipient` argument if set. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterAlterGroupRecipientArgs : Pulumi.ResourceArgs public ClusterAlterGroupRecipientArgs() { } + public static new ClusterAlterGroupRecipientArgs Empty => new ClusterAlterGroupRecipientArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlterGroupRecipientGetArgs.cs b/sdk/dotnet/Inputs/ClusterAlterGroupRecipientGetArgs.cs index f10530a9f..b994ac3cc 100644 --- a/sdk/dotnet/Inputs/ClusterAlterGroupRecipientGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlterGroupRecipientGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlterGroupRecipientGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterGroupRecipientGetArgs : global::Pulumi.ResourceArgs { /// /// Use notifier default recipient, overriding `recipient` argument if set. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterAlterGroupRecipientGetArgs : Pulumi.ResourceArgs public ClusterAlterGroupRecipientGetArgs() { } + public static new ClusterAlterGroupRecipientGetArgs Empty => new ClusterAlterGroupRecipientGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlterRuleEventRuleArgs.cs b/sdk/dotnet/Inputs/ClusterAlterRuleEventRuleArgs.cs index dec0c28b8..01b981e0a 100644 --- a/sdk/dotnet/Inputs/ClusterAlterRuleEventRuleArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlterRuleEventRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlterRuleEventRuleArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterRuleEventRuleArgs : global::Pulumi.ResourceArgs { [Input("eventType")] public Input? EventType { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterAlterRuleEventRuleArgs : Pulumi.ResourceArgs public ClusterAlterRuleEventRuleArgs() { } + public static new ClusterAlterRuleEventRuleArgs Empty => new ClusterAlterRuleEventRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlterRuleEventRuleGetArgs.cs b/sdk/dotnet/Inputs/ClusterAlterRuleEventRuleGetArgs.cs index deda2fd5b..8816a9f25 100644 --- a/sdk/dotnet/Inputs/ClusterAlterRuleEventRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlterRuleEventRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlterRuleEventRuleGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterRuleEventRuleGetArgs : global::Pulumi.ResourceArgs { [Input("eventType")] public Input? EventType { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterAlterRuleEventRuleGetArgs : Pulumi.ResourceArgs public ClusterAlterRuleEventRuleGetArgs() { } + public static new ClusterAlterRuleEventRuleGetArgs Empty => new ClusterAlterRuleEventRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlterRuleMetricRuleArgs.cs b/sdk/dotnet/Inputs/ClusterAlterRuleMetricRuleArgs.cs index 9896a7aff..d97b18cb1 100644 --- a/sdk/dotnet/Inputs/ClusterAlterRuleMetricRuleArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlterRuleMetricRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlterRuleMetricRuleArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterRuleMetricRuleArgs : global::Pulumi.ResourceArgs { [Input("comparison")] public Input? Comparison { get; set; } @@ -33,5 +33,6 @@ public sealed class ClusterAlterRuleMetricRuleArgs : Pulumi.ResourceArgs public ClusterAlterRuleMetricRuleArgs() { } + public static new ClusterAlterRuleMetricRuleArgs Empty => new ClusterAlterRuleMetricRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlterRuleMetricRuleGetArgs.cs b/sdk/dotnet/Inputs/ClusterAlterRuleMetricRuleGetArgs.cs index 1eddcaa83..8d71d2550 100644 --- a/sdk/dotnet/Inputs/ClusterAlterRuleMetricRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlterRuleMetricRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlterRuleMetricRuleGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterRuleMetricRuleGetArgs : global::Pulumi.ResourceArgs { [Input("comparison")] public Input? Comparison { get; set; } @@ -33,5 +33,6 @@ public sealed class ClusterAlterRuleMetricRuleGetArgs : Pulumi.ResourceArgs public ClusterAlterRuleMetricRuleGetArgs() { } + public static new ClusterAlterRuleMetricRuleGetArgs Empty => new ClusterAlterRuleMetricRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlterRuleNodeRuleArgs.cs b/sdk/dotnet/Inputs/ClusterAlterRuleNodeRuleArgs.cs index 349f1f44c..457124dbe 100644 --- a/sdk/dotnet/Inputs/ClusterAlterRuleNodeRuleArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlterRuleNodeRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlterRuleNodeRuleArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterRuleNodeRuleArgs : global::Pulumi.ResourceArgs { [Input("condition")] public Input? Condition { get; set; } @@ -35,5 +35,6 @@ public InputMap Selector public ClusterAlterRuleNodeRuleArgs() { } + public static new ClusterAlterRuleNodeRuleArgs Empty => new ClusterAlterRuleNodeRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlterRuleNodeRuleGetArgs.cs b/sdk/dotnet/Inputs/ClusterAlterRuleNodeRuleGetArgs.cs index 8ac325e70..d69fcc79f 100644 --- a/sdk/dotnet/Inputs/ClusterAlterRuleNodeRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlterRuleNodeRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlterRuleNodeRuleGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterRuleNodeRuleGetArgs : global::Pulumi.ResourceArgs { [Input("condition")] public Input? Condition { get; set; } @@ -35,5 +35,6 @@ public InputMap Selector public ClusterAlterRuleNodeRuleGetArgs() { } + public static new ClusterAlterRuleNodeRuleGetArgs Empty => new ClusterAlterRuleNodeRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlterRuleSystemServiceRuleArgs.cs b/sdk/dotnet/Inputs/ClusterAlterRuleSystemServiceRuleArgs.cs index 5b96327c6..85c7c4250 100644 --- a/sdk/dotnet/Inputs/ClusterAlterRuleSystemServiceRuleArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlterRuleSystemServiceRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlterRuleSystemServiceRuleArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterRuleSystemServiceRuleArgs : global::Pulumi.ResourceArgs { [Input("condition")] public Input? Condition { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterAlterRuleSystemServiceRuleArgs : Pulumi.ResourceArgs public ClusterAlterRuleSystemServiceRuleArgs() { } + public static new ClusterAlterRuleSystemServiceRuleArgs Empty => new ClusterAlterRuleSystemServiceRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterAlterRuleSystemServiceRuleGetArgs.cs b/sdk/dotnet/Inputs/ClusterAlterRuleSystemServiceRuleGetArgs.cs index fb793418a..e90a29a58 100644 --- a/sdk/dotnet/Inputs/ClusterAlterRuleSystemServiceRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterAlterRuleSystemServiceRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterAlterRuleSystemServiceRuleGetArgs : Pulumi.ResourceArgs + public sealed class ClusterAlterRuleSystemServiceRuleGetArgs : global::Pulumi.ResourceArgs { [Input("condition")] public Input? Condition { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterAlterRuleSystemServiceRuleGetArgs : Pulumi.ResourceAr public ClusterAlterRuleSystemServiceRuleGetArgs() { } + public static new ClusterAlterRuleSystemServiceRuleGetArgs Empty => new ClusterAlterRuleSystemServiceRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterClusterAuthEndpointArgs.cs b/sdk/dotnet/Inputs/ClusterClusterAuthEndpointArgs.cs index cf133827c..c58b6b53c 100644 --- a/sdk/dotnet/Inputs/ClusterClusterAuthEndpointArgs.cs +++ b/sdk/dotnet/Inputs/ClusterClusterAuthEndpointArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterClusterAuthEndpointArgs : Pulumi.ResourceArgs + public sealed class ClusterClusterAuthEndpointArgs : global::Pulumi.ResourceArgs { /// /// CA certs for the authorized cluster endpoint (string) @@ -33,5 +33,6 @@ public sealed class ClusterClusterAuthEndpointArgs : Pulumi.ResourceArgs public ClusterClusterAuthEndpointArgs() { } + public static new ClusterClusterAuthEndpointArgs Empty => new ClusterClusterAuthEndpointArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterClusterAuthEndpointGetArgs.cs b/sdk/dotnet/Inputs/ClusterClusterAuthEndpointGetArgs.cs index 1cfa57c8c..a050100d5 100644 --- a/sdk/dotnet/Inputs/ClusterClusterAuthEndpointGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterClusterAuthEndpointGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterClusterAuthEndpointGetArgs : Pulumi.ResourceArgs + public sealed class ClusterClusterAuthEndpointGetArgs : global::Pulumi.ResourceArgs { /// /// CA certs for the authorized cluster endpoint (string) @@ -33,5 +33,6 @@ public sealed class ClusterClusterAuthEndpointGetArgs : Pulumi.ResourceArgs public ClusterClusterAuthEndpointGetArgs() { } + public static new ClusterClusterAuthEndpointGetArgs Empty => new ClusterClusterAuthEndpointGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterClusterMonitoringInputArgs.cs b/sdk/dotnet/Inputs/ClusterClusterMonitoringInputArgs.cs index d5ab1c8b6..d431eafee 100644 --- a/sdk/dotnet/Inputs/ClusterClusterMonitoringInputArgs.cs +++ b/sdk/dotnet/Inputs/ClusterClusterMonitoringInputArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterClusterMonitoringInputArgs : Pulumi.ResourceArgs + public sealed class ClusterClusterMonitoringInputArgs : global::Pulumi.ResourceArgs { [Input("answers")] private InputMap? _answers; @@ -33,5 +33,6 @@ public InputMap Answers public ClusterClusterMonitoringInputArgs() { } + public static new ClusterClusterMonitoringInputArgs Empty => new ClusterClusterMonitoringInputArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterClusterMonitoringInputGetArgs.cs b/sdk/dotnet/Inputs/ClusterClusterMonitoringInputGetArgs.cs index f0378fc83..0ba2957c6 100644 --- a/sdk/dotnet/Inputs/ClusterClusterMonitoringInputGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterClusterMonitoringInputGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterClusterMonitoringInputGetArgs : Pulumi.ResourceArgs + public sealed class ClusterClusterMonitoringInputGetArgs : global::Pulumi.ResourceArgs { [Input("answers")] private InputMap? _answers; @@ -33,5 +33,6 @@ public InputMap Answers public ClusterClusterMonitoringInputGetArgs() { } + public static new ClusterClusterMonitoringInputGetArgs Empty => new ClusterClusterMonitoringInputGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterClusterRegistrationTokenArgs.cs b/sdk/dotnet/Inputs/ClusterClusterRegistrationTokenArgs.cs index a1b67e1ea..ed8b7b6a6 100644 --- a/sdk/dotnet/Inputs/ClusterClusterRegistrationTokenArgs.cs +++ b/sdk/dotnet/Inputs/ClusterClusterRegistrationTokenArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterClusterRegistrationTokenArgs : Pulumi.ResourceArgs + public sealed class ClusterClusterRegistrationTokenArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -90,11 +90,21 @@ public InputMap Labels [Input("nodeCommand")] public Input? NodeCommand { get; set; } + [Input("token")] + private Input? _token; + /// /// Token for cluster registration token object (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Node command to execute in windows nodes for custom k8s cluster (string) @@ -105,5 +115,6 @@ public InputMap Labels public ClusterClusterRegistrationTokenArgs() { } + public static new ClusterClusterRegistrationTokenArgs Empty => new ClusterClusterRegistrationTokenArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterClusterRegistrationTokenGetArgs.cs b/sdk/dotnet/Inputs/ClusterClusterRegistrationTokenGetArgs.cs index bad660d93..1b3fe5e1a 100644 --- a/sdk/dotnet/Inputs/ClusterClusterRegistrationTokenGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterClusterRegistrationTokenGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterClusterRegistrationTokenGetArgs : Pulumi.ResourceArgs + public sealed class ClusterClusterRegistrationTokenGetArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -90,11 +90,21 @@ public InputMap Labels [Input("nodeCommand")] public Input? NodeCommand { get; set; } + [Input("token")] + private Input? _token; + /// /// Token for cluster registration token object (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Node command to execute in windows nodes for custom k8s cluster (string) @@ -105,5 +115,6 @@ public InputMap Labels public ClusterClusterRegistrationTokenGetArgs() { } + public static new ClusterClusterRegistrationTokenGetArgs Empty => new ClusterClusterRegistrationTokenGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterClusterTemplateAnswersArgs.cs b/sdk/dotnet/Inputs/ClusterClusterTemplateAnswersArgs.cs index eec8e8120..ee6ae5732 100644 --- a/sdk/dotnet/Inputs/ClusterClusterTemplateAnswersArgs.cs +++ b/sdk/dotnet/Inputs/ClusterClusterTemplateAnswersArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterClusterTemplateAnswersArgs : Pulumi.ResourceArgs + public sealed class ClusterClusterTemplateAnswersArgs : global::Pulumi.ResourceArgs { /// /// Cluster ID (string) @@ -39,5 +39,6 @@ public InputMap Values public ClusterClusterTemplateAnswersArgs() { } + public static new ClusterClusterTemplateAnswersArgs Empty => new ClusterClusterTemplateAnswersArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterClusterTemplateAnswersGetArgs.cs b/sdk/dotnet/Inputs/ClusterClusterTemplateAnswersGetArgs.cs index 73b61c2a0..5c3ef763d 100644 --- a/sdk/dotnet/Inputs/ClusterClusterTemplateAnswersGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterClusterTemplateAnswersGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterClusterTemplateAnswersGetArgs : Pulumi.ResourceArgs + public sealed class ClusterClusterTemplateAnswersGetArgs : global::Pulumi.ResourceArgs { /// /// Cluster ID (string) @@ -39,5 +39,6 @@ public InputMap Values public ClusterClusterTemplateAnswersGetArgs() { } + public static new ClusterClusterTemplateAnswersGetArgs Empty => new ClusterClusterTemplateAnswersGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterClusterTemplateQuestionArgs.cs b/sdk/dotnet/Inputs/ClusterClusterTemplateQuestionArgs.cs index 661d66d46..3a55656f7 100644 --- a/sdk/dotnet/Inputs/ClusterClusterTemplateQuestionArgs.cs +++ b/sdk/dotnet/Inputs/ClusterClusterTemplateQuestionArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterClusterTemplateQuestionArgs : Pulumi.ResourceArgs + public sealed class ClusterClusterTemplateQuestionArgs : global::Pulumi.ResourceArgs { /// /// Default variable value (string) @@ -39,5 +39,6 @@ public sealed class ClusterClusterTemplateQuestionArgs : Pulumi.ResourceArgs public ClusterClusterTemplateQuestionArgs() { } + public static new ClusterClusterTemplateQuestionArgs Empty => new ClusterClusterTemplateQuestionArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterClusterTemplateQuestionGetArgs.cs b/sdk/dotnet/Inputs/ClusterClusterTemplateQuestionGetArgs.cs index 373ac0cb5..3241fa738 100644 --- a/sdk/dotnet/Inputs/ClusterClusterTemplateQuestionGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterClusterTemplateQuestionGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterClusterTemplateQuestionGetArgs : Pulumi.ResourceArgs + public sealed class ClusterClusterTemplateQuestionGetArgs : global::Pulumi.ResourceArgs { /// /// Default variable value (string) @@ -39,5 +39,6 @@ public sealed class ClusterClusterTemplateQuestionGetArgs : Pulumi.ResourceArgs public ClusterClusterTemplateQuestionGetArgs() { } + public static new ClusterClusterTemplateQuestionGetArgs Empty => new ClusterClusterTemplateQuestionGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterEksConfigArgs.cs b/sdk/dotnet/Inputs/ClusterEksConfigArgs.cs index cf2287abf..963dca2d2 100644 --- a/sdk/dotnet/Inputs/ClusterEksConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterEksConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterEksConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterEksConfigArgs : global::Pulumi.ResourceArgs { + [Input("accessKey", required: true)] + private Input? _accessKey; + /// /// The AWS Client ID to use (string) /// - [Input("accessKey", required: true)] - public Input AccessKey { get; set; } = null!; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AMI ID to use for the worker nodes instead of the default (string) @@ -81,11 +91,21 @@ public sealed class ClusterEksConfigArgs : Pulumi.ResourceArgs [Input("region")] public Input? Region { get; set; } + [Input("secretKey", required: true)] + private Input? _secretKey; + /// /// The AWS Client Secret associated with the Client ID (string) /// - [Input("secretKey", required: true)] - public Input SecretKey { get; set; } = null!; + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("securityGroups")] private InputList? _securityGroups; @@ -105,11 +125,21 @@ public InputList SecurityGroups [Input("serviceRole")] public Input? ServiceRole { get; set; } + [Input("sessionToken")] + private Input? _sessionToken; + /// /// A session token to use with the client key and secret if applicable (string) /// - [Input("sessionToken")] - public Input? SessionToken { get; set; } + public Input? SessionToken + { + get => _sessionToken; + set + { + var emptySecret = Output.CreateSecret(0); + _sessionToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("subnets")] private InputList? _subnets; @@ -138,5 +168,6 @@ public InputList Subnets public ClusterEksConfigArgs() { } + public static new ClusterEksConfigArgs Empty => new ClusterEksConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterEksConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterEksConfigGetArgs.cs index ec56e94e0..fccfc4d34 100644 --- a/sdk/dotnet/Inputs/ClusterEksConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterEksConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterEksConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterEksConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("accessKey", required: true)] + private Input? _accessKey; + /// /// The AWS Client ID to use (string) /// - [Input("accessKey", required: true)] - public Input AccessKey { get; set; } = null!; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AMI ID to use for the worker nodes instead of the default (string) @@ -81,11 +91,21 @@ public sealed class ClusterEksConfigGetArgs : Pulumi.ResourceArgs [Input("region")] public Input? Region { get; set; } + [Input("secretKey", required: true)] + private Input? _secretKey; + /// /// The AWS Client Secret associated with the Client ID (string) /// - [Input("secretKey", required: true)] - public Input SecretKey { get; set; } = null!; + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("securityGroups")] private InputList? _securityGroups; @@ -105,11 +125,21 @@ public InputList SecurityGroups [Input("serviceRole")] public Input? ServiceRole { get; set; } + [Input("sessionToken")] + private Input? _sessionToken; + /// /// A session token to use with the client key and secret if applicable (string) /// - [Input("sessionToken")] - public Input? SessionToken { get; set; } + public Input? SessionToken + { + get => _sessionToken; + set + { + var emptySecret = Output.CreateSecret(0); + _sessionToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("subnets")] private InputList? _subnets; @@ -138,5 +168,6 @@ public InputList Subnets public ClusterEksConfigGetArgs() { } + public static new ClusterEksConfigGetArgs Empty => new ClusterEksConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterEksConfigV2Args.cs b/sdk/dotnet/Inputs/ClusterEksConfigV2Args.cs index d6387adfc..03b2a6c8c 100644 --- a/sdk/dotnet/Inputs/ClusterEksConfigV2Args.cs +++ b/sdk/dotnet/Inputs/ClusterEksConfigV2Args.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterEksConfigV2Args : Pulumi.ResourceArgs + public sealed class ClusterEksConfigV2Args : global::Pulumi.ResourceArgs { /// /// The EKS cloud_credential id (string) @@ -147,5 +147,6 @@ public InputMap Tags public ClusterEksConfigV2Args() { } + public static new ClusterEksConfigV2Args Empty => new ClusterEksConfigV2Args(); } } diff --git a/sdk/dotnet/Inputs/ClusterEksConfigV2GetArgs.cs b/sdk/dotnet/Inputs/ClusterEksConfigV2GetArgs.cs index 1911bf953..9e1e161e6 100644 --- a/sdk/dotnet/Inputs/ClusterEksConfigV2GetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterEksConfigV2GetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterEksConfigV2GetArgs : Pulumi.ResourceArgs + public sealed class ClusterEksConfigV2GetArgs : global::Pulumi.ResourceArgs { /// /// The EKS cloud_credential id (string) @@ -147,5 +147,6 @@ public InputMap Tags public ClusterEksConfigV2GetArgs() { } + public static new ClusterEksConfigV2GetArgs Empty => new ClusterEksConfigV2GetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupArgs.cs b/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupArgs.cs index 2396384d6..2c9a3cbf6 100644 --- a/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupArgs.cs +++ b/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterEksConfigV2NodeGroupArgs : Pulumi.ResourceArgs + public sealed class ClusterEksConfigV2NodeGroupArgs : global::Pulumi.ResourceArgs { /// /// The EKS node group desired size. Default: `2` (int) @@ -159,5 +159,6 @@ public InputMap Tags public ClusterEksConfigV2NodeGroupArgs() { } + public static new ClusterEksConfigV2NodeGroupArgs Empty => new ClusterEksConfigV2NodeGroupArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupGetArgs.cs b/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupGetArgs.cs index e76a60736..1f010338d 100644 --- a/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterEksConfigV2NodeGroupGetArgs : Pulumi.ResourceArgs + public sealed class ClusterEksConfigV2NodeGroupGetArgs : global::Pulumi.ResourceArgs { /// /// The EKS node group desired size. Default: `2` (int) @@ -159,5 +159,6 @@ public InputMap Tags public ClusterEksConfigV2NodeGroupGetArgs() { } + public static new ClusterEksConfigV2NodeGroupGetArgs Empty => new ClusterEksConfigV2NodeGroupGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupLaunchTemplateArgs.cs b/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupLaunchTemplateArgs.cs index 1ffb6a842..3ea36cc8d 100644 --- a/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupLaunchTemplateArgs.cs +++ b/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupLaunchTemplateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterEksConfigV2NodeGroupLaunchTemplateArgs : Pulumi.ResourceArgs + public sealed class ClusterEksConfigV2NodeGroupLaunchTemplateArgs : global::Pulumi.ResourceArgs { /// /// The EKS node group launch template ID (string) @@ -33,5 +33,6 @@ public sealed class ClusterEksConfigV2NodeGroupLaunchTemplateArgs : Pulumi.Resou public ClusterEksConfigV2NodeGroupLaunchTemplateArgs() { } + public static new ClusterEksConfigV2NodeGroupLaunchTemplateArgs Empty => new ClusterEksConfigV2NodeGroupLaunchTemplateArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupLaunchTemplateGetArgs.cs b/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupLaunchTemplateGetArgs.cs index e2ac3ded5..f79c357ce 100644 --- a/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupLaunchTemplateGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterEksConfigV2NodeGroupLaunchTemplateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterEksConfigV2NodeGroupLaunchTemplateGetArgs : Pulumi.ResourceArgs + public sealed class ClusterEksConfigV2NodeGroupLaunchTemplateGetArgs : global::Pulumi.ResourceArgs { /// /// The EKS node group launch template ID (string) @@ -33,5 +33,6 @@ public sealed class ClusterEksConfigV2NodeGroupLaunchTemplateGetArgs : Pulumi.Re public ClusterEksConfigV2NodeGroupLaunchTemplateGetArgs() { } + public static new ClusterEksConfigV2NodeGroupLaunchTemplateGetArgs Empty => new ClusterEksConfigV2NodeGroupLaunchTemplateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigArgs.cs index d01740bbb..8600a63f1 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigArgs : global::Pulumi.ResourceArgs { /// /// The IP address range of the container pods (string) @@ -18,11 +18,21 @@ public sealed class ClusterGkeConfigArgs : Pulumi.ResourceArgs [Input("clusterIpv4Cidr", required: true)] public Input ClusterIpv4Cidr { get; set; } = null!; + [Input("credential", required: true)] + private Input? _credential; + /// /// The contents of the GC credential file (string) /// - [Input("credential", required: true)] - public Input Credential { get; set; } = null!; + public Input? Credential + { + get => _credential; + set + { + var emptySecret = Output.CreateSecret(0); + _credential = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// An optional description of this cluster (string) @@ -369,5 +379,6 @@ public InputList Taints public ClusterGkeConfigArgs() { } + public static new ClusterGkeConfigArgs Empty => new ClusterGkeConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigGetArgs.cs index 194fcaf12..990d15bda 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigGetArgs : global::Pulumi.ResourceArgs { /// /// The IP address range of the container pods (string) @@ -18,11 +18,21 @@ public sealed class ClusterGkeConfigGetArgs : Pulumi.ResourceArgs [Input("clusterIpv4Cidr", required: true)] public Input ClusterIpv4Cidr { get; set; } = null!; + [Input("credential", required: true)] + private Input? _credential; + /// /// The contents of the GC credential file (string) /// - [Input("credential", required: true)] - public Input Credential { get; set; } = null!; + public Input? Credential + { + get => _credential; + set + { + var emptySecret = Output.CreateSecret(0); + _credential = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// An optional description of this cluster (string) @@ -369,5 +379,6 @@ public InputList Taints public ClusterGkeConfigGetArgs() { } + public static new ClusterGkeConfigGetArgs Empty => new ClusterGkeConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2Args.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2Args.cs index fff312da9..b5c0da776 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2Args.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2Args.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2Args : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2Args : global::Pulumi.ResourceArgs { /// /// The GKE cluster addons (List maxitems:1) @@ -36,11 +36,21 @@ public sealed class ClusterGkeConfigV2Args : Pulumi.ResourceArgs [Input("enableKubernetesAlpha")] public Input? EnableKubernetesAlpha { get; set; } + [Input("googleCredentialSecret", required: true)] + private Input? _googleCredentialSecret; + /// /// Google credential secret (string) /// - [Input("googleCredentialSecret", required: true)] - public Input GoogleCredentialSecret { get; set; } = null!; + public Input? GoogleCredentialSecret + { + get => _googleCredentialSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _googleCredentialSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Is GKE cluster imported? Default: `false` (bool) @@ -171,5 +181,6 @@ public InputList NodePools public ClusterGkeConfigV2Args() { } + public static new ClusterGkeConfigV2Args Empty => new ClusterGkeConfigV2Args(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2ClusterAddonsArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2ClusterAddonsArgs.cs index 75f4a966e..3bb493dd4 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2ClusterAddonsArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2ClusterAddonsArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2ClusterAddonsArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2ClusterAddonsArgs : global::Pulumi.ResourceArgs { /// /// Enable GKE horizontal pod autoscaling. Default: `false` (bool) @@ -33,5 +33,6 @@ public sealed class ClusterGkeConfigV2ClusterAddonsArgs : Pulumi.ResourceArgs public ClusterGkeConfigV2ClusterAddonsArgs() { } + public static new ClusterGkeConfigV2ClusterAddonsArgs Empty => new ClusterGkeConfigV2ClusterAddonsArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2ClusterAddonsGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2ClusterAddonsGetArgs.cs index 0920e019f..8bcdcf6b6 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2ClusterAddonsGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2ClusterAddonsGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2ClusterAddonsGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2ClusterAddonsGetArgs : global::Pulumi.ResourceArgs { /// /// Enable GKE horizontal pod autoscaling. Default: `false` (bool) @@ -33,5 +33,6 @@ public sealed class ClusterGkeConfigV2ClusterAddonsGetArgs : Pulumi.ResourceArgs public ClusterGkeConfigV2ClusterAddonsGetArgs() { } + public static new ClusterGkeConfigV2ClusterAddonsGetArgs Empty => new ClusterGkeConfigV2ClusterAddonsGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2GetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2GetArgs.cs index 01e2bfe29..f4dcd2550 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2GetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2GetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2GetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2GetArgs : global::Pulumi.ResourceArgs { /// /// The GKE cluster addons (List maxitems:1) @@ -36,11 +36,21 @@ public sealed class ClusterGkeConfigV2GetArgs : Pulumi.ResourceArgs [Input("enableKubernetesAlpha")] public Input? EnableKubernetesAlpha { get; set; } + [Input("googleCredentialSecret", required: true)] + private Input? _googleCredentialSecret; + /// /// Google credential secret (string) /// - [Input("googleCredentialSecret", required: true)] - public Input GoogleCredentialSecret { get; set; } = null!; + public Input? GoogleCredentialSecret + { + get => _googleCredentialSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _googleCredentialSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Is GKE cluster imported? Default: `false` (bool) @@ -171,5 +181,6 @@ public InputList NodePools public ClusterGkeConfigV2GetArgs() { } + public static new ClusterGkeConfigV2GetArgs Empty => new ClusterGkeConfigV2GetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2IpAllocationPolicyArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2IpAllocationPolicyArgs.cs index 87d74c261..9152f93e5 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2IpAllocationPolicyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2IpAllocationPolicyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2IpAllocationPolicyArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2IpAllocationPolicyArgs : global::Pulumi.ResourceArgs { /// /// The GKE cluster ip v4 allocation cidr block (string) @@ -63,5 +63,6 @@ public sealed class ClusterGkeConfigV2IpAllocationPolicyArgs : Pulumi.ResourceAr public ClusterGkeConfigV2IpAllocationPolicyArgs() { } + public static new ClusterGkeConfigV2IpAllocationPolicyArgs Empty => new ClusterGkeConfigV2IpAllocationPolicyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2IpAllocationPolicyGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2IpAllocationPolicyGetArgs.cs index e6bcf53f5..88164dae4 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2IpAllocationPolicyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2IpAllocationPolicyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2IpAllocationPolicyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2IpAllocationPolicyGetArgs : global::Pulumi.ResourceArgs { /// /// The GKE cluster ip v4 allocation cidr block (string) @@ -63,5 +63,6 @@ public sealed class ClusterGkeConfigV2IpAllocationPolicyGetArgs : Pulumi.Resourc public ClusterGkeConfigV2IpAllocationPolicyGetArgs() { } + public static new ClusterGkeConfigV2IpAllocationPolicyGetArgs Empty => new ClusterGkeConfigV2IpAllocationPolicyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs.cs index 12c34a148..8f2488def 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs : global::Pulumi.ResourceArgs { [Input("cidrBlocks", required: true)] private InputList? _cidrBlocks; @@ -33,5 +33,6 @@ public InputList new ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs.cs index 68a3c91a6..88615db06 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs : global::Pulumi.ResourceArgs { /// /// The GKE master authorized network config cidr block (string) @@ -27,5 +27,6 @@ public sealed class ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArg public ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs() { } + public static new ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs Empty => new ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockGetArgs.cs index 03acff5e5..c2830128e 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockGetArgs : global::Pulumi.ResourceArgs { /// /// The GKE master authorized network config cidr block (string) @@ -27,5 +27,6 @@ public sealed class ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockGet public ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockGetArgs() { } + public static new ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockGetArgs Empty => new ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigGetArgs.cs index 468fce769..91f47243c 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2MasterAuthorizedNetworksConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2MasterAuthorizedNetworksConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2MasterAuthorizedNetworksConfigGetArgs : global::Pulumi.ResourceArgs { [Input("cidrBlocks", required: true)] private InputList? _cidrBlocks; @@ -33,5 +33,6 @@ public InputList new ClusterGkeConfigV2MasterAuthorizedNetworksConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolArgs.cs index 0c3b6f815..087add363 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2NodePoolArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2NodePoolArgs : global::Pulumi.ResourceArgs { /// /// The GKE node pool config autoscaling (List maxitems:1) @@ -57,5 +57,6 @@ public sealed class ClusterGkeConfigV2NodePoolArgs : Pulumi.ResourceArgs public ClusterGkeConfigV2NodePoolArgs() { } + public static new ClusterGkeConfigV2NodePoolArgs Empty => new ClusterGkeConfigV2NodePoolArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolAutoscalingArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolAutoscalingArgs.cs index 42f957b7e..8fed002a1 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolAutoscalingArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolAutoscalingArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2NodePoolAutoscalingArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2NodePoolAutoscalingArgs : global::Pulumi.ResourceArgs { /// /// Enable scheduled cluster scan. Default: `false` (bool) @@ -33,5 +33,6 @@ public sealed class ClusterGkeConfigV2NodePoolAutoscalingArgs : Pulumi.ResourceA public ClusterGkeConfigV2NodePoolAutoscalingArgs() { } + public static new ClusterGkeConfigV2NodePoolAutoscalingArgs Empty => new ClusterGkeConfigV2NodePoolAutoscalingArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolAutoscalingGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolAutoscalingGetArgs.cs index 26544c306..8e7c7fd16 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolAutoscalingGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolAutoscalingGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2NodePoolAutoscalingGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2NodePoolAutoscalingGetArgs : global::Pulumi.ResourceArgs { /// /// Enable scheduled cluster scan. Default: `false` (bool) @@ -33,5 +33,6 @@ public sealed class ClusterGkeConfigV2NodePoolAutoscalingGetArgs : Pulumi.Resour public ClusterGkeConfigV2NodePoolAutoscalingGetArgs() { } + public static new ClusterGkeConfigV2NodePoolAutoscalingGetArgs Empty => new ClusterGkeConfigV2NodePoolAutoscalingGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigArgs.cs index 5326d5cad..e5c3a9b02 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2NodePoolConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2NodePoolConfigArgs : global::Pulumi.ResourceArgs { /// /// The GKE node config disk size Gb (int) @@ -99,5 +99,6 @@ public InputList Taints public ClusterGkeConfigV2NodePoolConfigArgs() { } + public static new ClusterGkeConfigV2NodePoolConfigArgs Empty => new ClusterGkeConfigV2NodePoolConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigGetArgs.cs index a94e55e39..3f9060d58 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2NodePoolConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2NodePoolConfigGetArgs : global::Pulumi.ResourceArgs { /// /// The GKE node config disk size Gb (int) @@ -99,5 +99,6 @@ public InputList Taints public ClusterGkeConfigV2NodePoolConfigGetArgs() { } + public static new ClusterGkeConfigV2NodePoolConfigGetArgs Empty => new ClusterGkeConfigV2NodePoolConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigTaintArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigTaintArgs.cs index 19a7d4909..84d61fc55 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigTaintArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigTaintArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2NodePoolConfigTaintArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2NodePoolConfigTaintArgs : global::Pulumi.ResourceArgs { /// /// The GKE taint effect (string) @@ -33,5 +33,6 @@ public sealed class ClusterGkeConfigV2NodePoolConfigTaintArgs : Pulumi.ResourceA public ClusterGkeConfigV2NodePoolConfigTaintArgs() { } + public static new ClusterGkeConfigV2NodePoolConfigTaintArgs Empty => new ClusterGkeConfigV2NodePoolConfigTaintArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigTaintGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigTaintGetArgs.cs index 048ca37ac..2bdda6972 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigTaintGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolConfigTaintGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2NodePoolConfigTaintGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2NodePoolConfigTaintGetArgs : global::Pulumi.ResourceArgs { /// /// The GKE taint effect (string) @@ -33,5 +33,6 @@ public sealed class ClusterGkeConfigV2NodePoolConfigTaintGetArgs : Pulumi.Resour public ClusterGkeConfigV2NodePoolConfigTaintGetArgs() { } + public static new ClusterGkeConfigV2NodePoolConfigTaintGetArgs Empty => new ClusterGkeConfigV2NodePoolConfigTaintGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolGetArgs.cs index 46dda7be2..dfc4476b9 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2NodePoolGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2NodePoolGetArgs : global::Pulumi.ResourceArgs { /// /// The GKE node pool config autoscaling (List maxitems:1) @@ -57,5 +57,6 @@ public sealed class ClusterGkeConfigV2NodePoolGetArgs : Pulumi.ResourceArgs public ClusterGkeConfigV2NodePoolGetArgs() { } + public static new ClusterGkeConfigV2NodePoolGetArgs Empty => new ClusterGkeConfigV2NodePoolGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolManagementArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolManagementArgs.cs index 884aa84da..c67620c1e 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolManagementArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolManagementArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2NodePoolManagementArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2NodePoolManagementArgs : global::Pulumi.ResourceArgs { /// /// Enable GKE node pool config management auto repair. Default: `false` (bool) @@ -27,5 +27,6 @@ public sealed class ClusterGkeConfigV2NodePoolManagementArgs : Pulumi.ResourceAr public ClusterGkeConfigV2NodePoolManagementArgs() { } + public static new ClusterGkeConfigV2NodePoolManagementArgs Empty => new ClusterGkeConfigV2NodePoolManagementArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolManagementGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolManagementGetArgs.cs index 7bed20cfa..2d5d856f7 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolManagementGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2NodePoolManagementGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2NodePoolManagementGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2NodePoolManagementGetArgs : global::Pulumi.ResourceArgs { /// /// Enable GKE node pool config management auto repair. Default: `false` (bool) @@ -27,5 +27,6 @@ public sealed class ClusterGkeConfigV2NodePoolManagementGetArgs : Pulumi.Resourc public ClusterGkeConfigV2NodePoolManagementGetArgs() { } + public static new ClusterGkeConfigV2NodePoolManagementGetArgs Empty => new ClusterGkeConfigV2NodePoolManagementGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2PrivateClusterConfigArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2PrivateClusterConfigArgs.cs index 3f8d14c15..1e0fdafbc 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2PrivateClusterConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2PrivateClusterConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2PrivateClusterConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2PrivateClusterConfigArgs : global::Pulumi.ResourceArgs { /// /// Enable GKE cluster private endpoint. Default: `false` (bool) @@ -33,5 +33,6 @@ public sealed class ClusterGkeConfigV2PrivateClusterConfigArgs : Pulumi.Resource public ClusterGkeConfigV2PrivateClusterConfigArgs() { } + public static new ClusterGkeConfigV2PrivateClusterConfigArgs Empty => new ClusterGkeConfigV2PrivateClusterConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterGkeConfigV2PrivateClusterConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterGkeConfigV2PrivateClusterConfigGetArgs.cs index 7e41e7bd3..ad1a8d3ed 100644 --- a/sdk/dotnet/Inputs/ClusterGkeConfigV2PrivateClusterConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterGkeConfigV2PrivateClusterConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterGkeConfigV2PrivateClusterConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterGkeConfigV2PrivateClusterConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Enable GKE cluster private endpoint. Default: `false` (bool) @@ -33,5 +33,6 @@ public sealed class ClusterGkeConfigV2PrivateClusterConfigGetArgs : Pulumi.Resou public ClusterGkeConfigV2PrivateClusterConfigGetArgs() { } + public static new ClusterGkeConfigV2PrivateClusterConfigGetArgs Empty => new ClusterGkeConfigV2PrivateClusterConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterK3sConfigArgs.cs b/sdk/dotnet/Inputs/ClusterK3sConfigArgs.cs index a3f0ab99a..1388daea0 100644 --- a/sdk/dotnet/Inputs/ClusterK3sConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterK3sConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterK3sConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterK3sConfigArgs : global::Pulumi.ResourceArgs { /// /// K3S upgrade strategy (List maxitems: 1) @@ -27,5 +27,6 @@ public sealed class ClusterK3sConfigArgs : Pulumi.ResourceArgs public ClusterK3sConfigArgs() { } + public static new ClusterK3sConfigArgs Empty => new ClusterK3sConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterK3sConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterK3sConfigGetArgs.cs index 9c54d9452..5fb1b6484 100644 --- a/sdk/dotnet/Inputs/ClusterK3sConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterK3sConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterK3sConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterK3sConfigGetArgs : global::Pulumi.ResourceArgs { /// /// K3S upgrade strategy (List maxitems: 1) @@ -27,5 +27,6 @@ public sealed class ClusterK3sConfigGetArgs : Pulumi.ResourceArgs public ClusterK3sConfigGetArgs() { } + public static new ClusterK3sConfigGetArgs Empty => new ClusterK3sConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterK3sConfigUpgradeStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterK3sConfigUpgradeStrategyArgs.cs index 6669ba33c..d28554afa 100644 --- a/sdk/dotnet/Inputs/ClusterK3sConfigUpgradeStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterK3sConfigUpgradeStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterK3sConfigUpgradeStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterK3sConfigUpgradeStrategyArgs : global::Pulumi.ResourceArgs { /// /// Drain server nodes. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterK3sConfigUpgradeStrategyArgs : Pulumi.ResourceArgs public ClusterK3sConfigUpgradeStrategyArgs() { } + public static new ClusterK3sConfigUpgradeStrategyArgs Empty => new ClusterK3sConfigUpgradeStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterK3sConfigUpgradeStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterK3sConfigUpgradeStrategyGetArgs.cs index 29f7d078f..a576cef6a 100644 --- a/sdk/dotnet/Inputs/ClusterK3sConfigUpgradeStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterK3sConfigUpgradeStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterK3sConfigUpgradeStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterK3sConfigUpgradeStrategyGetArgs : global::Pulumi.ResourceArgs { /// /// Drain server nodes. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterK3sConfigUpgradeStrategyGetArgs : Pulumi.ResourceArgs public ClusterK3sConfigUpgradeStrategyGetArgs() { } + public static new ClusterK3sConfigUpgradeStrategyGetArgs Empty => new ClusterK3sConfigUpgradeStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingCustomTargetConfigArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingCustomTargetConfigArgs.cs index 6513a60dd..524c79e7c 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingCustomTargetConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingCustomTargetConfigArgs.cs @@ -10,25 +10,55 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingCustomTargetConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingCustomTargetConfigArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Custom target config content (string) @@ -39,5 +69,6 @@ public sealed class ClusterLoggingCustomTargetConfigArgs : Pulumi.ResourceArgs public ClusterLoggingCustomTargetConfigArgs() { } + public static new ClusterLoggingCustomTargetConfigArgs Empty => new ClusterLoggingCustomTargetConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingCustomTargetConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingCustomTargetConfigGetArgs.cs index 3ad919002..fde401cfe 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingCustomTargetConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingCustomTargetConfigGetArgs.cs @@ -10,25 +10,55 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingCustomTargetConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingCustomTargetConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Custom target config content (string) @@ -39,5 +69,6 @@ public sealed class ClusterLoggingCustomTargetConfigGetArgs : Pulumi.ResourceArg public ClusterLoggingCustomTargetConfigGetArgs() { } + public static new ClusterLoggingCustomTargetConfigGetArgs Empty => new ClusterLoggingCustomTargetConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingElasticsearchConfigArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingElasticsearchConfigArgs.cs index 21e45a1d9..77a46d1f4 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingElasticsearchConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingElasticsearchConfigArgs.cs @@ -10,43 +10,103 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingElasticsearchConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingElasticsearchConfigArgs : global::Pulumi.ResourceArgs { + [Input("authPassword")] + private Input? _authPassword; + /// /// User password for the elascticsearch service (string) /// - [Input("authPassword")] - public Input? AuthPassword { get; set; } + public Input? AuthPassword + { + get => _authPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _authPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("authUsername")] + private Input? _authUsername; /// /// Username for the elascticsearch service (string) /// - [Input("authUsername")] - public Input? AuthUsername { get; set; } + public Input? AuthUsername + { + get => _authUsername; + set + { + var emptySecret = Output.CreateSecret(0); + _authUsername = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("certificate")] + private Input? _certificate; /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKeyPass")] + private Input? _clientKeyPass; /// /// SSL client key password for the splunk service (string) /// - [Input("clientKeyPass")] - public Input? ClientKeyPass { get; set; } + public Input? ClientKeyPass + { + get => _clientKeyPass; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKeyPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) @@ -81,5 +141,6 @@ public sealed class ClusterLoggingElasticsearchConfigArgs : Pulumi.ResourceArgs public ClusterLoggingElasticsearchConfigArgs() { } + public static new ClusterLoggingElasticsearchConfigArgs Empty => new ClusterLoggingElasticsearchConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingElasticsearchConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingElasticsearchConfigGetArgs.cs index 85c87d749..7d974e734 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingElasticsearchConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingElasticsearchConfigGetArgs.cs @@ -10,43 +10,103 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingElasticsearchConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingElasticsearchConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("authPassword")] + private Input? _authPassword; + /// /// User password for the elascticsearch service (string) /// - [Input("authPassword")] - public Input? AuthPassword { get; set; } + public Input? AuthPassword + { + get => _authPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _authPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("authUsername")] + private Input? _authUsername; /// /// Username for the elascticsearch service (string) /// - [Input("authUsername")] - public Input? AuthUsername { get; set; } + public Input? AuthUsername + { + get => _authUsername; + set + { + var emptySecret = Output.CreateSecret(0); + _authUsername = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("certificate")] + private Input? _certificate; /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKeyPass")] + private Input? _clientKeyPass; /// /// SSL client key password for the splunk service (string) /// - [Input("clientKeyPass")] - public Input? ClientKeyPass { get; set; } + public Input? ClientKeyPass + { + get => _clientKeyPass; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKeyPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) @@ -81,5 +141,6 @@ public sealed class ClusterLoggingElasticsearchConfigGetArgs : Pulumi.ResourceAr public ClusterLoggingElasticsearchConfigGetArgs() { } + public static new ClusterLoggingElasticsearchConfigGetArgs Empty => new ClusterLoggingElasticsearchConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigArgs.cs index 126c7837c..32948ef08 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingFluentdConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingFluentdConfigArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Compress data for the fluentd service (bool) @@ -45,5 +55,6 @@ public InputList FluentServe public ClusterLoggingFluentdConfigArgs() { } + public static new ClusterLoggingFluentdConfigArgs Empty => new ClusterLoggingFluentdConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigFluentServerArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigFluentServerArgs.cs index 46241e95d..6a5c93230 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigFluentServerArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigFluentServerArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingFluentdConfigFluentServerArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingFluentdConfigFluentServerArgs : global::Pulumi.ResourceArgs { /// /// Endpoint of the syslog service (string) @@ -24,17 +24,37 @@ public sealed class ClusterLoggingFluentdConfigFluentServerArgs : Pulumi.Resourc [Input("hostname")] public Input? Hostname { get; set; } + [Input("password")] + private Input? _password; + /// /// User password of the fluentd service (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("sharedKey")] + private Input? _sharedKey; /// /// Shared key of the fluentd service (string) /// - [Input("sharedKey")] - public Input? SharedKey { get; set; } + public Input? SharedKey + { + get => _sharedKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sharedKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Standby server of the fluentd service (bool) @@ -42,11 +62,21 @@ public sealed class ClusterLoggingFluentdConfigFluentServerArgs : Pulumi.Resourc [Input("standby")] public Input? Standby { get; set; } + [Input("username")] + private Input? _username; + /// /// Username of the fluentd service (string) /// - [Input("username")] - public Input? Username { get; set; } + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Weight of the fluentd server (int) @@ -57,5 +87,6 @@ public sealed class ClusterLoggingFluentdConfigFluentServerArgs : Pulumi.Resourc public ClusterLoggingFluentdConfigFluentServerArgs() { } + public static new ClusterLoggingFluentdConfigFluentServerArgs Empty => new ClusterLoggingFluentdConfigFluentServerArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigFluentServerGetArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigFluentServerGetArgs.cs index e1f75eb08..da5dffeb5 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigFluentServerGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigFluentServerGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingFluentdConfigFluentServerGetArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingFluentdConfigFluentServerGetArgs : global::Pulumi.ResourceArgs { /// /// Endpoint of the syslog service (string) @@ -24,17 +24,37 @@ public sealed class ClusterLoggingFluentdConfigFluentServerGetArgs : Pulumi.Reso [Input("hostname")] public Input? Hostname { get; set; } + [Input("password")] + private Input? _password; + /// /// User password of the fluentd service (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("sharedKey")] + private Input? _sharedKey; /// /// Shared key of the fluentd service (string) /// - [Input("sharedKey")] - public Input? SharedKey { get; set; } + public Input? SharedKey + { + get => _sharedKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sharedKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Standby server of the fluentd service (bool) @@ -42,11 +62,21 @@ public sealed class ClusterLoggingFluentdConfigFluentServerGetArgs : Pulumi.Reso [Input("standby")] public Input? Standby { get; set; } + [Input("username")] + private Input? _username; + /// /// Username of the fluentd service (string) /// - [Input("username")] - public Input? Username { get; set; } + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Weight of the fluentd server (int) @@ -57,5 +87,6 @@ public sealed class ClusterLoggingFluentdConfigFluentServerGetArgs : Pulumi.Reso public ClusterLoggingFluentdConfigFluentServerGetArgs() { } + public static new ClusterLoggingFluentdConfigFluentServerGetArgs Empty => new ClusterLoggingFluentdConfigFluentServerGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigGetArgs.cs index 279f8b9bb..dc244176f 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingFluentdConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingFluentdConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingFluentdConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Compress data for the fluentd service (bool) @@ -45,5 +55,6 @@ public InputList FluentSe public ClusterLoggingFluentdConfigGetArgs() { } + public static new ClusterLoggingFluentdConfigGetArgs Empty => new ClusterLoggingFluentdConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingKafkaConfigArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingKafkaConfigArgs.cs index 40e482a50..1c2b3fa50 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingKafkaConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingKafkaConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingKafkaConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingKafkaConfigArgs : global::Pulumi.ResourceArgs { [Input("brokerEndpoints")] private InputList? _brokerEndpoints; @@ -24,23 +24,53 @@ public InputList BrokerEndpoints set => _brokerEndpoints = value; } + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Topic to publish on the kafka service (string) @@ -57,5 +87,6 @@ public InputList BrokerEndpoints public ClusterLoggingKafkaConfigArgs() { } + public static new ClusterLoggingKafkaConfigArgs Empty => new ClusterLoggingKafkaConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingKafkaConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingKafkaConfigGetArgs.cs index 5c50a906b..bdc101f17 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingKafkaConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingKafkaConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingKafkaConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingKafkaConfigGetArgs : global::Pulumi.ResourceArgs { [Input("brokerEndpoints")] private InputList? _brokerEndpoints; @@ -24,23 +24,53 @@ public InputList BrokerEndpoints set => _brokerEndpoints = value; } + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Topic to publish on the kafka service (string) @@ -57,5 +87,6 @@ public InputList BrokerEndpoints public ClusterLoggingKafkaConfigGetArgs() { } + public static new ClusterLoggingKafkaConfigGetArgs Empty => new ClusterLoggingKafkaConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingSplunkConfigArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingSplunkConfigArgs.cs index d38ff8e88..79570b175 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingSplunkConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingSplunkConfigArgs.cs @@ -10,31 +10,71 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingSplunkConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingSplunkConfigArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKeyPass")] + private Input? _clientKeyPass; /// /// SSL client key password for the splunk service (string) /// - [Input("clientKeyPass")] - public Input? ClientKeyPass { get; set; } + public Input? ClientKeyPass + { + get => _clientKeyPass; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKeyPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Endpoint of the syslog service (string) @@ -60,14 +100,25 @@ public sealed class ClusterLoggingSplunkConfigArgs : Pulumi.ResourceArgs [Input("sslVerify")] public Input? SslVerify { get; set; } + [Input("token", required: true)] + private Input? _token; + /// /// Token for the syslog service (string) /// - [Input("token", required: true)] - public Input Token { get; set; } = null!; + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterLoggingSplunkConfigArgs() { } + public static new ClusterLoggingSplunkConfigArgs Empty => new ClusterLoggingSplunkConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingSplunkConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingSplunkConfigGetArgs.cs index 419bb06d0..a914d36a7 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingSplunkConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingSplunkConfigGetArgs.cs @@ -10,31 +10,71 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingSplunkConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingSplunkConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKeyPass")] + private Input? _clientKeyPass; /// /// SSL client key password for the splunk service (string) /// - [Input("clientKeyPass")] - public Input? ClientKeyPass { get; set; } + public Input? ClientKeyPass + { + get => _clientKeyPass; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKeyPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Endpoint of the syslog service (string) @@ -60,14 +100,25 @@ public sealed class ClusterLoggingSplunkConfigGetArgs : Pulumi.ResourceArgs [Input("sslVerify")] public Input? SslVerify { get; set; } + [Input("token", required: true)] + private Input? _token; + /// /// Token for the syslog service (string) /// - [Input("token", required: true)] - public Input Token { get; set; } = null!; + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterLoggingSplunkConfigGetArgs() { } + public static new ClusterLoggingSplunkConfigGetArgs Empty => new ClusterLoggingSplunkConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingSyslogConfigArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingSyslogConfigArgs.cs index ab135b022..862c0c7ae 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingSyslogConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingSyslogConfigArgs.cs @@ -10,25 +10,55 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingSyslogConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingSyslogConfigArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable TLS for the syslog service. Default `false` (bool) @@ -66,14 +96,25 @@ public sealed class ClusterLoggingSyslogConfigArgs : Pulumi.ResourceArgs [Input("sslVerify")] public Input? SslVerify { get; set; } + [Input("token")] + private Input? _token; + /// /// Token for the syslog service (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterLoggingSyslogConfigArgs() { } + public static new ClusterLoggingSyslogConfigArgs Empty => new ClusterLoggingSyslogConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterLoggingSyslogConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterLoggingSyslogConfigGetArgs.cs index bf72d9107..14b4d36e6 100644 --- a/sdk/dotnet/Inputs/ClusterLoggingSyslogConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterLoggingSyslogConfigGetArgs.cs @@ -10,25 +10,55 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterLoggingSyslogConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterLoggingSyslogConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable TLS for the syslog service. Default `false` (bool) @@ -66,14 +96,25 @@ public sealed class ClusterLoggingSyslogConfigGetArgs : Pulumi.ResourceArgs [Input("sslVerify")] public Input? SslVerify { get; set; } + [Input("token")] + private Input? _token; + /// /// Token for the syslog service (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterLoggingSyslogConfigGetArgs() { } + public static new ClusterLoggingSyslogConfigGetArgs Empty => new ClusterLoggingSyslogConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterOkeConfigArgs.cs b/sdk/dotnet/Inputs/ClusterOkeConfigArgs.cs index 905beba5e..2597e75fd 100644 --- a/sdk/dotnet/Inputs/ClusterOkeConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterOkeConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterOkeConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterOkeConfigArgs : global::Pulumi.ResourceArgs { /// /// The OCID of the compartment in which to create resources OKE cluster and related resources (string) @@ -60,11 +60,21 @@ public sealed class ClusterOkeConfigArgs : Pulumi.ResourceArgs [Input("flexOcpus")] public Input? FlexOcpus { get; set; } + [Input("kmsKeyId")] + private Input? _kmsKeyId; + /// /// The OCID of a KMS vault master key used to encrypt secrets at rest. See [here](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengencryptingdata.htm) for help creating a vault and master encryption key. Just for Rancher v2.5.9 or above (string) /// - [Input("kmsKeyId")] - public Input? KmsKeyId { get; set; } + public Input? KmsKeyId + { + get => _kmsKeyId; + set + { + var emptySecret = Output.CreateSecret(0); + _kmsKeyId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The Kubernetes version that will be used for your master *and* OKE worker nodes (string) @@ -126,17 +136,37 @@ public sealed class ClusterOkeConfigArgs : Pulumi.ResourceArgs [Input("podCidr")] public Input? PodCidr { get; set; } + [Input("privateKeyContents", required: true)] + private Input? _privateKeyContents; + /// /// The private API key file contents for the specified user, in PEM format (string) /// - [Input("privateKeyContents", required: true)] - public Input PrivateKeyContents { get; set; } = null!; + public Input? PrivateKeyContents + { + get => _privateKeyContents; + set + { + var emptySecret = Output.CreateSecret(0); + _privateKeyContents = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("privateKeyPassphrase")] + private Input? _privateKeyPassphrase; /// /// The passphrase (if any) of the private key for the OKE cluster (string) /// - [Input("privateKeyPassphrase")] - public Input? PrivateKeyPassphrase { get; set; } + public Input? PrivateKeyPassphrase + { + get => _privateKeyPassphrase; + set + { + var emptySecret = Output.CreateSecret(0); + _privateKeyPassphrase = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Number of node subnets. Default `1` (int) @@ -207,5 +237,6 @@ public sealed class ClusterOkeConfigArgs : Pulumi.ResourceArgs public ClusterOkeConfigArgs() { } + public static new ClusterOkeConfigArgs Empty => new ClusterOkeConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterOkeConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterOkeConfigGetArgs.cs index 5355b75d6..bbfa05220 100644 --- a/sdk/dotnet/Inputs/ClusterOkeConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterOkeConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterOkeConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterOkeConfigGetArgs : global::Pulumi.ResourceArgs { /// /// The OCID of the compartment in which to create resources OKE cluster and related resources (string) @@ -60,11 +60,21 @@ public sealed class ClusterOkeConfigGetArgs : Pulumi.ResourceArgs [Input("flexOcpus")] public Input? FlexOcpus { get; set; } + [Input("kmsKeyId")] + private Input? _kmsKeyId; + /// /// The OCID of a KMS vault master key used to encrypt secrets at rest. See [here](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengencryptingdata.htm) for help creating a vault and master encryption key. Just for Rancher v2.5.9 or above (string) /// - [Input("kmsKeyId")] - public Input? KmsKeyId { get; set; } + public Input? KmsKeyId + { + get => _kmsKeyId; + set + { + var emptySecret = Output.CreateSecret(0); + _kmsKeyId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The Kubernetes version that will be used for your master *and* OKE worker nodes (string) @@ -126,17 +136,37 @@ public sealed class ClusterOkeConfigGetArgs : Pulumi.ResourceArgs [Input("podCidr")] public Input? PodCidr { get; set; } + [Input("privateKeyContents", required: true)] + private Input? _privateKeyContents; + /// /// The private API key file contents for the specified user, in PEM format (string) /// - [Input("privateKeyContents", required: true)] - public Input PrivateKeyContents { get; set; } = null!; + public Input? PrivateKeyContents + { + get => _privateKeyContents; + set + { + var emptySecret = Output.CreateSecret(0); + _privateKeyContents = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("privateKeyPassphrase")] + private Input? _privateKeyPassphrase; /// /// The passphrase (if any) of the private key for the OKE cluster (string) /// - [Input("privateKeyPassphrase")] - public Input? PrivateKeyPassphrase { get; set; } + public Input? PrivateKeyPassphrase + { + get => _privateKeyPassphrase; + set + { + var emptySecret = Output.CreateSecret(0); + _privateKeyPassphrase = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Number of node subnets. Default `1` (int) @@ -207,5 +237,6 @@ public sealed class ClusterOkeConfigGetArgs : Pulumi.ResourceArgs public ClusterOkeConfigGetArgs() { } + public static new ClusterOkeConfigGetArgs Empty => new ClusterOkeConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRke2ConfigArgs.cs b/sdk/dotnet/Inputs/ClusterRke2ConfigArgs.cs index 7d8951de7..56e01896c 100644 --- a/sdk/dotnet/Inputs/ClusterRke2ConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRke2ConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRke2ConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterRke2ConfigArgs : global::Pulumi.ResourceArgs { /// /// K3S upgrade strategy (List maxitems: 1) @@ -27,5 +27,6 @@ public sealed class ClusterRke2ConfigArgs : Pulumi.ResourceArgs public ClusterRke2ConfigArgs() { } + public static new ClusterRke2ConfigArgs Empty => new ClusterRke2ConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRke2ConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterRke2ConfigGetArgs.cs index 2b61db92a..8486ea2a9 100644 --- a/sdk/dotnet/Inputs/ClusterRke2ConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRke2ConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRke2ConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRke2ConfigGetArgs : global::Pulumi.ResourceArgs { /// /// K3S upgrade strategy (List maxitems: 1) @@ -27,5 +27,6 @@ public sealed class ClusterRke2ConfigGetArgs : Pulumi.ResourceArgs public ClusterRke2ConfigGetArgs() { } + public static new ClusterRke2ConfigGetArgs Empty => new ClusterRke2ConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRke2ConfigUpgradeStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterRke2ConfigUpgradeStrategyArgs.cs index 32626817a..f504b7659 100644 --- a/sdk/dotnet/Inputs/ClusterRke2ConfigUpgradeStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRke2ConfigUpgradeStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRke2ConfigUpgradeStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterRke2ConfigUpgradeStrategyArgs : global::Pulumi.ResourceArgs { /// /// Drain server nodes. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterRke2ConfigUpgradeStrategyArgs : Pulumi.ResourceArgs public ClusterRke2ConfigUpgradeStrategyArgs() { } + public static new ClusterRke2ConfigUpgradeStrategyArgs Empty => new ClusterRke2ConfigUpgradeStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRke2ConfigUpgradeStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterRke2ConfigUpgradeStrategyGetArgs.cs index 3faf34763..d20075737 100644 --- a/sdk/dotnet/Inputs/ClusterRke2ConfigUpgradeStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRke2ConfigUpgradeStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRke2ConfigUpgradeStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRke2ConfigUpgradeStrategyGetArgs : global::Pulumi.ResourceArgs { /// /// Drain server nodes. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterRke2ConfigUpgradeStrategyGetArgs : Pulumi.ResourceArg public ClusterRke2ConfigUpgradeStrategyGetArgs() { } + public static new ClusterRke2ConfigUpgradeStrategyGetArgs Empty => new ClusterRke2ConfigUpgradeStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigArgs.cs index dd69ae5ce..f93b3c5fc 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigArgs : global::Pulumi.ResourceArgs { /// /// Duration in seconds of addon job (int) @@ -171,5 +171,6 @@ public InputList PrivateRegistries public ClusterRkeConfigArgs() { } + public static new ClusterRkeConfigArgs Empty => new ClusterRkeConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigAuthenticationArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigAuthenticationArgs.cs index 17fc585fd..31b1b94e1 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigAuthenticationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigAuthenticationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigAuthenticationArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigAuthenticationArgs : global::Pulumi.ResourceArgs { [Input("sans")] private InputList? _sans; @@ -33,5 +33,6 @@ public InputList Sans public ClusterRkeConfigAuthenticationArgs() { } + public static new ClusterRkeConfigAuthenticationArgs Empty => new ClusterRkeConfigAuthenticationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigAuthenticationGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigAuthenticationGetArgs.cs index cef927499..dfbcb15ed 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigAuthenticationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigAuthenticationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigAuthenticationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigAuthenticationGetArgs : global::Pulumi.ResourceArgs { [Input("sans")] private InputList? _sans; @@ -33,5 +33,6 @@ public InputList Sans public ClusterRkeConfigAuthenticationGetArgs() { } + public static new ClusterRkeConfigAuthenticationGetArgs Empty => new ClusterRkeConfigAuthenticationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigAuthorizationArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigAuthorizationArgs.cs index 3ab07c27d..cfdacff5d 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigAuthorizationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigAuthorizationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigAuthorizationArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigAuthorizationArgs : global::Pulumi.ResourceArgs { /// /// The AKS node group mode. Default: `System` (string) @@ -33,5 +33,6 @@ public InputMap Options public ClusterRkeConfigAuthorizationArgs() { } + public static new ClusterRkeConfigAuthorizationArgs Empty => new ClusterRkeConfigAuthorizationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigAuthorizationGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigAuthorizationGetArgs.cs index dc7b42a67..bf780da94 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigAuthorizationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigAuthorizationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigAuthorizationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigAuthorizationGetArgs : global::Pulumi.ResourceArgs { /// /// The AKS node group mode. Default: `System` (string) @@ -33,5 +33,6 @@ public InputMap Options public ClusterRkeConfigAuthorizationGetArgs() { } + public static new ClusterRkeConfigAuthorizationGetArgs Empty => new ClusterRkeConfigAuthorizationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigBastionHostArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigBastionHostArgs.cs index 00e77f4c8..dc64d1df4 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigBastionHostArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigBastionHostArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigBastionHostArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigBastionHostArgs : global::Pulumi.ResourceArgs { /// /// Address ip for node (string) @@ -30,11 +30,21 @@ public sealed class ClusterRkeConfigBastionHostArgs : Pulumi.ResourceArgs [Input("sshAgentAuth")] public Input? SshAgentAuth { get; set; } + [Input("sshKey")] + private Input? _sshKey; + /// /// Node SSH private key (string) /// - [Input("sshKey")] - public Input? SshKey { get; set; } + public Input? SshKey + { + get => _sshKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Node SSH private key path (string) @@ -51,5 +61,6 @@ public sealed class ClusterRkeConfigBastionHostArgs : Pulumi.ResourceArgs public ClusterRkeConfigBastionHostArgs() { } + public static new ClusterRkeConfigBastionHostArgs Empty => new ClusterRkeConfigBastionHostArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigBastionHostGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigBastionHostGetArgs.cs index f71d43330..45a9ba5b8 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigBastionHostGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigBastionHostGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigBastionHostGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigBastionHostGetArgs : global::Pulumi.ResourceArgs { /// /// Address ip for node (string) @@ -30,11 +30,21 @@ public sealed class ClusterRkeConfigBastionHostGetArgs : Pulumi.ResourceArgs [Input("sshAgentAuth")] public Input? SshAgentAuth { get; set; } + [Input("sshKey")] + private Input? _sshKey; + /// /// Node SSH private key (string) /// - [Input("sshKey")] - public Input? SshKey { get; set; } + public Input? SshKey + { + get => _sshKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Node SSH private key path (string) @@ -51,5 +61,6 @@ public sealed class ClusterRkeConfigBastionHostGetArgs : Pulumi.ResourceArgs public ClusterRkeConfigBastionHostGetArgs() { } + public static new ClusterRkeConfigBastionHostGetArgs Empty => new ClusterRkeConfigBastionHostGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderArgs.cs index 9731ace92..5c76c9b8f 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderArgs : global::Pulumi.ResourceArgs { /// /// RKE AWS Cloud Provider config for Cloud Provider [rke-aws-cloud-provider](https://rancher.com/docs/rke/latest/en/config-options/cloud-providers/aws/) (list maxitems:1) @@ -51,5 +51,6 @@ public sealed class ClusterRkeConfigCloudProviderArgs : Pulumi.ResourceArgs public ClusterRkeConfigCloudProviderArgs() { } + public static new ClusterRkeConfigCloudProviderArgs Empty => new ClusterRkeConfigCloudProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderArgs.cs index 55917e87a..61f6a5ef1 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderArgs : global::Pulumi.ResourceArgs { /// /// (list maxitems:1) @@ -33,5 +33,6 @@ public InputList new ClusterRkeConfigCloudProviderAwsCloudProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGetArgs.cs index 8fcf09ef4..9f9349ec2 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderGetArgs : global::Pulumi.ResourceArgs { /// /// (list maxitems:1) @@ -33,5 +33,6 @@ public InputList new ClusterRkeConfigCloudProviderAwsCloudProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs.cs index 49335b1dd..5ca34cb83 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs : global::Pulumi.ResourceArgs { /// /// Default `false` (bool) @@ -75,5 +75,6 @@ public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs : Pu public ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs() { } + public static new ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs Empty => new ClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs.cs index a1c0ab192..f0946db09 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs : global::Pulumi.ResourceArgs { /// /// Default `false` (bool) @@ -75,5 +75,6 @@ public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs : public ClusterRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs() { } + public static new ClusterRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs Empty => new ClusterRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs.cs index f91152b0b..eb5acd724 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs : global::Pulumi.ResourceArgs { /// /// The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) @@ -51,5 +51,6 @@ public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride public ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs() { } + public static new ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs Empty => new ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs.cs index 0458ec99c..c62e5b946 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs : global::Pulumi.ResourceArgs { /// /// The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) @@ -51,5 +51,6 @@ public sealed class ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride public ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs() { } + public static new ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs Empty => new ClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAzureCloudProviderArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAzureCloudProviderArgs.cs index 6646dfa9a..723ce588a 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAzureCloudProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAzureCloudProviderArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderAzureCloudProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderAzureCloudProviderArgs : global::Pulumi.ResourceArgs { + [Input("aadClientCertPassword")] + private Input? _aadClientCertPassword; + /// /// (string) /// - [Input("aadClientCertPassword")] - public Input? AadClientCertPassword { get; set; } + public Input? AadClientCertPassword + { + get => _aadClientCertPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientCertPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (string) @@ -24,17 +34,37 @@ public sealed class ClusterRkeConfigCloudProviderAzureCloudProviderArgs : Pulumi [Input("aadClientCertPath")] public Input? AadClientCertPath { get; set; } + [Input("aadClientId", required: true)] + private Input? _aadClientId; + /// /// (string) /// - [Input("aadClientId", required: true)] - public Input AadClientId { get; set; } = null!; + public Input? AadClientId + { + get => _aadClientId; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("aadClientSecret", required: true)] + private Input? _aadClientSecret; /// /// (string) /// - [Input("aadClientSecret", required: true)] - public Input AadClientSecret { get; set; } = null!; + public Input? AadClientSecret + { + get => _aadClientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (string) @@ -144,17 +174,37 @@ public sealed class ClusterRkeConfigCloudProviderAzureCloudProviderArgs : Pulumi [Input("subnetName")] public Input? SubnetName { get; set; } + [Input("subscriptionId", required: true)] + private Input? _subscriptionId; + /// /// Subscription credentials which uniquely identify Microsoft Azure subscription (string) /// - [Input("subscriptionId", required: true)] - public Input SubscriptionId { get; set; } = null!; + public Input? SubscriptionId + { + get => _subscriptionId; + set + { + var emptySecret = Output.CreateSecret(0); + _subscriptionId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("tenantId", required: true)] + private Input? _tenantId; /// /// Azure tenant ID to use (string) /// - [Input("tenantId", required: true)] - public Input TenantId { get; set; } = null!; + public Input? TenantId + { + get => _tenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _tenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (bool) @@ -189,5 +239,6 @@ public sealed class ClusterRkeConfigCloudProviderAzureCloudProviderArgs : Pulumi public ClusterRkeConfigCloudProviderAzureCloudProviderArgs() { } + public static new ClusterRkeConfigCloudProviderAzureCloudProviderArgs Empty => new ClusterRkeConfigCloudProviderAzureCloudProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs.cs index c7edaa1de..6f5b58f90 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs : global::Pulumi.ResourceArgs { + [Input("aadClientCertPassword")] + private Input? _aadClientCertPassword; + /// /// (string) /// - [Input("aadClientCertPassword")] - public Input? AadClientCertPassword { get; set; } + public Input? AadClientCertPassword + { + get => _aadClientCertPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientCertPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (string) @@ -24,17 +34,37 @@ public sealed class ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs : Pul [Input("aadClientCertPath")] public Input? AadClientCertPath { get; set; } + [Input("aadClientId", required: true)] + private Input? _aadClientId; + /// /// (string) /// - [Input("aadClientId", required: true)] - public Input AadClientId { get; set; } = null!; + public Input? AadClientId + { + get => _aadClientId; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("aadClientSecret", required: true)] + private Input? _aadClientSecret; /// /// (string) /// - [Input("aadClientSecret", required: true)] - public Input AadClientSecret { get; set; } = null!; + public Input? AadClientSecret + { + get => _aadClientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (string) @@ -144,17 +174,37 @@ public sealed class ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs : Pul [Input("subnetName")] public Input? SubnetName { get; set; } + [Input("subscriptionId", required: true)] + private Input? _subscriptionId; + /// /// Subscription credentials which uniquely identify Microsoft Azure subscription (string) /// - [Input("subscriptionId", required: true)] - public Input SubscriptionId { get; set; } = null!; + public Input? SubscriptionId + { + get => _subscriptionId; + set + { + var emptySecret = Output.CreateSecret(0); + _subscriptionId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("tenantId", required: true)] + private Input? _tenantId; /// /// Azure tenant ID to use (string) /// - [Input("tenantId", required: true)] - public Input TenantId { get; set; } = null!; + public Input? TenantId + { + get => _tenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _tenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (bool) @@ -189,5 +239,6 @@ public sealed class ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs : Pul public ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs() { } + public static new ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs Empty => new ClusterRkeConfigCloudProviderAzureCloudProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderGetArgs.cs index d8ac44e32..758082920 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderGetArgs : global::Pulumi.ResourceArgs { /// /// RKE AWS Cloud Provider config for Cloud Provider [rke-aws-cloud-provider](https://rancher.com/docs/rke/latest/en/config-options/cloud-providers/aws/) (list maxitems:1) @@ -51,5 +51,6 @@ public sealed class ClusterRkeConfigCloudProviderGetArgs : Pulumi.ResourceArgs public ClusterRkeConfigCloudProviderGetArgs() { } + public static new ClusterRkeConfigCloudProviderGetArgs Empty => new ClusterRkeConfigCloudProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs.cs index cd88f260f..187be9285 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs : global::Pulumi.ResourceArgs { /// /// (list maxitems:1) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs : Pu public ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs.cs index de868bf0b..3dacea950 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -33,5 +33,6 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStor public ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs.cs index 9105f3c75..f08225541 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -33,5 +33,6 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStor public ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGetArgs.cs index b2ca8f8a1..ce25d7e42 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGetArgs : global::Pulumi.ResourceArgs { /// /// (list maxitems:1) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGetArgs : public ClusterRkeConfigCloudProviderOpenstackCloudProviderGetArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderGetArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs.cs index 0cf9c9d17..0bd3df5f9 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -24,11 +24,21 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArg [Input("caFile")] public Input? CaFile { get; set; } + [Input("domainId")] + private Input? _domainId; + /// /// Required if `domain_name` not provided. (string) /// - [Input("domainId")] - public Input? DomainId { get; set; } + public Input? DomainId + { + get => _domainId; + set + { + var emptySecret = Output.CreateSecret(0); + _domainId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Required if `domain_id` not provided. (string) @@ -36,11 +46,21 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArg [Input("domainName")] public Input? DomainName { get; set; } + [Input("password", required: true)] + private Input? _password; + /// /// Registry password (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) @@ -48,11 +68,21 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArg [Input("region")] public Input? Region { get; set; } + [Input("tenantId")] + private Input? _tenantId; + /// /// Azure tenant ID to use (string) /// - [Input("tenantId")] - public Input? TenantId { get; set; } + public Input? TenantId + { + get => _tenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _tenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Required if `tenant_id` not provided. (string) @@ -60,20 +90,41 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArg [Input("tenantName")] public Input? TenantName { get; set; } + [Input("trustId")] + private Input? _trustId; + /// /// (string) /// - [Input("trustId")] - public Input? TrustId { get; set; } + public Input? TrustId + { + get => _trustId; + set + { + var emptySecret = Output.CreateSecret(0); + _trustId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("username", required: true)] + private Input? _username; /// /// (string) /// - [Input("username", required: true)] - public Input Username { get; set; } = null!; + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs.cs index 7c68c64d0..7ab2e8b0d 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -24,11 +24,21 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGet [Input("caFile")] public Input? CaFile { get; set; } + [Input("domainId")] + private Input? _domainId; + /// /// Required if `domain_name` not provided. (string) /// - [Input("domainId")] - public Input? DomainId { get; set; } + public Input? DomainId + { + get => _domainId; + set + { + var emptySecret = Output.CreateSecret(0); + _domainId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Required if `domain_id` not provided. (string) @@ -36,11 +46,21 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGet [Input("domainName")] public Input? DomainName { get; set; } + [Input("password", required: true)] + private Input? _password; + /// /// Registry password (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) @@ -48,11 +68,21 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGet [Input("region")] public Input? Region { get; set; } + [Input("tenantId")] + private Input? _tenantId; + /// /// Azure tenant ID to use (string) /// - [Input("tenantId")] - public Input? TenantId { get; set; } + public Input? TenantId + { + get => _tenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _tenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Required if `tenant_id` not provided. (string) @@ -60,20 +90,41 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGet [Input("tenantName")] public Input? TenantName { get; set; } + [Input("trustId")] + private Input? _trustId; + /// /// (string) /// - [Input("trustId")] - public Input? TrustId { get; set; } + public Input? TrustId + { + get => _trustId; + set + { + var emptySecret = Output.CreateSecret(0); + _trustId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("username", required: true)] + private Input? _username; /// /// (string) /// - [Input("username", required: true)] - public Input Username { get; set; } = null!; + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs.cs index c90dac670..1cb944961 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs : global::Pulumi.ResourceArgs { /// /// (bool) @@ -81,5 +81,6 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalan public ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs.cs index bcc5b6d14..a9cab0b28 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs : global::Pulumi.ResourceArgs { /// /// (bool) @@ -81,5 +81,6 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalan public ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs.cs index fa72de71a..c9906d7a6 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataA public ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs.cs index 57ca1c041..144738db2 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataG public ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs.cs index f5b5eab99..99daafb2a 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs public ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs.cs index 8d0135d26..5b16ff5b4 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteGetA public ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs() { } + public static new ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs Empty => new ClusterRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderArgs.cs index a8610a9ac..a3dd1a6b7 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderArgs : global::Pulumi.ResourceArgs { /// /// (list maxitems:1) @@ -51,5 +51,6 @@ public InputList new ClusterRkeConfigCloudProviderVsphereCloudProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs.cs index 8675aed5a..0d8632398 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs : public ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs() { } + public static new ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs Empty => new ClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs.cs index d1efc03ed..da9a74af1 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs public ClusterRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs() { } + public static new ClusterRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs Empty => new ClusterRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGetArgs.cs index 25e5feaa6..a48115fc2 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderGetArgs : global::Pulumi.ResourceArgs { /// /// (list maxitems:1) @@ -51,5 +51,6 @@ public InputList new ClusterRkeConfigCloudProviderVsphereCloudProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs.cs index c7fcac812..4132e0d63 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -24,11 +24,21 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs [Input("insecureFlag")] public Input? InsecureFlag { get; set; } + [Input("password")] + private Input? _password; + /// /// Registry password (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Port for node. Default `22` (string) @@ -42,14 +52,25 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs [Input("soapRoundtripCount")] public Input? SoapRoundtripCount { get; set; } + [Input("user")] + private Input? _user; + /// /// Registry user (string) /// - [Input("user")] - public Input? User { get; set; } + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs() { } + public static new ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs Empty => new ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs.cs index 9c4e5f2ca..14c404c7b 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -24,11 +24,21 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetAr [Input("insecureFlag")] public Input? InsecureFlag { get; set; } + [Input("password")] + private Input? _password; + /// /// Registry password (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Port for node. Default `22` (string) @@ -42,14 +52,25 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetAr [Input("soapRoundtripCount")] public Input? SoapRoundtripCount { get; set; } + [Input("user")] + private Input? _user; + /// /// Registry user (string) /// - [Input("user")] - public Input? User { get; set; } + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs() { } + public static new ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs Empty => new ClusterRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs.cs index 1f12799e6..a30988968 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs public ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs() { } + public static new ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs Empty => new ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs.cs index d21c4bbef..36ba665af 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkGetA public ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs() { } + public static new ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs Empty => new ClusterRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs.cs index 6d5dc88bd..002d47854 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -24,11 +24,21 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCent [Input("name", required: true)] public Input Name { get; set; } = null!; + [Input("password", required: true)] + private Input? _password; + /// /// Registry password (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Port for node. Default `22` (string) @@ -42,14 +52,25 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCent [Input("soapRoundtripCount")] public Input? SoapRoundtripCount { get; set; } + [Input("user", required: true)] + private Input? _user; + /// /// Registry user (string) /// - [Input("user", required: true)] - public Input User { get; set; } = null!; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs() { } + public static new ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs Empty => new ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs.cs index 2792840ff..25b439745 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -24,11 +24,21 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCent [Input("name", required: true)] public Input Name { get; set; } = null!; + [Input("password", required: true)] + private Input? _password; + /// /// Registry password (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Port for node. Default `22` (string) @@ -42,14 +52,25 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCent [Input("soapRoundtripCount")] public Input? SoapRoundtripCount { get; set; } + [Input("user", required: true)] + private Input? _user; + /// /// Registry user (string) /// - [Input("user", required: true)] - public Input User { get; set; } = null!; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs() { } + public static new ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs Empty => new ClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs.cs index 29e0a7fba..6c2819ec4 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceAr public ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs() { } + public static new ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs Empty => new ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs.cs index e45d7ab8e..db129950e 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceGe public ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs() { } + public static new ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs Empty => new ClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsArgs.cs index 2e079487f..8a33c9a05 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsArgs : global::Pulumi.ResourceArgs { /// /// LinearAutoScalerParams dns config (list Maxitem: 1) @@ -99,5 +99,6 @@ public InputList UpstreamNameservers public ClusterRkeConfigDnsArgs() { } + public static new ClusterRkeConfigDnsArgs Empty => new ClusterRkeConfigDnsArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsGetArgs.cs index 57faaf131..d8ece91f2 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsGetArgs : global::Pulumi.ResourceArgs { /// /// LinearAutoScalerParams dns config (list Maxitem: 1) @@ -99,5 +99,6 @@ public InputList UpstreamNameservers public ClusterRkeConfigDnsGetArgs() { } + public static new ClusterRkeConfigDnsGetArgs Empty => new ClusterRkeConfigDnsGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsLinearAutoscalerParamsArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsLinearAutoscalerParamsArgs.cs index 05ab92bfb..26f4847a6 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsLinearAutoscalerParamsArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsLinearAutoscalerParamsArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsLinearAutoscalerParamsArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsLinearAutoscalerParamsArgs : global::Pulumi.ResourceArgs { /// /// number of replicas per cluster cores (float64) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigDnsLinearAutoscalerParamsArgs : Pulumi.Resou public ClusterRkeConfigDnsLinearAutoscalerParamsArgs() { } + public static new ClusterRkeConfigDnsLinearAutoscalerParamsArgs Empty => new ClusterRkeConfigDnsLinearAutoscalerParamsArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsLinearAutoscalerParamsGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsLinearAutoscalerParamsGetArgs.cs index 006df7216..a1c07b88c 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsLinearAutoscalerParamsGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsLinearAutoscalerParamsGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsLinearAutoscalerParamsGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsLinearAutoscalerParamsGetArgs : global::Pulumi.ResourceArgs { /// /// number of replicas per cluster cores (float64) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigDnsLinearAutoscalerParamsGetArgs : Pulumi.Re public ClusterRkeConfigDnsLinearAutoscalerParamsGetArgs() { } + public static new ClusterRkeConfigDnsLinearAutoscalerParamsGetArgs Empty => new ClusterRkeConfigDnsLinearAutoscalerParamsGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsNodelocalArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsNodelocalArgs.cs index 7b6d491d7..770899f1f 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsNodelocalArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsNodelocalArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsNodelocalArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsNodelocalArgs : global::Pulumi.ResourceArgs { /// /// Nodelocal dns ip address (string) @@ -33,5 +33,6 @@ public InputMap NodeSelector public ClusterRkeConfigDnsNodelocalArgs() { } + public static new ClusterRkeConfigDnsNodelocalArgs Empty => new ClusterRkeConfigDnsNodelocalArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsNodelocalGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsNodelocalGetArgs.cs index 5ecfe0937..51d0aa02c 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsNodelocalGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsNodelocalGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsNodelocalGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsNodelocalGetArgs : global::Pulumi.ResourceArgs { /// /// Nodelocal dns ip address (string) @@ -33,5 +33,6 @@ public InputMap NodeSelector public ClusterRkeConfigDnsNodelocalGetArgs() { } + public static new ClusterRkeConfigDnsNodelocalGetArgs Empty => new ClusterRkeConfigDnsNodelocalGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsTolerationArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsTolerationArgs.cs index bfd3a5698..d9a73bac0 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsTolerationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsTolerationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsTolerationArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsTolerationArgs : global::Pulumi.ResourceArgs { /// /// The GKE taint effect (string) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigDnsTolerationArgs : Pulumi.ResourceArgs public ClusterRkeConfigDnsTolerationArgs() { } + public static new ClusterRkeConfigDnsTolerationArgs Empty => new ClusterRkeConfigDnsTolerationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsTolerationGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsTolerationGetArgs.cs index 9a056c107..291f08dd7 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsTolerationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsTolerationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsTolerationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsTolerationGetArgs : global::Pulumi.ResourceArgs { /// /// The GKE taint effect (string) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigDnsTolerationGetArgs : Pulumi.ResourceArgs public ClusterRkeConfigDnsTolerationGetArgs() { } + public static new ClusterRkeConfigDnsTolerationGetArgs Empty => new ClusterRkeConfigDnsTolerationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyArgs.cs index 711fae208..bb9bbad26 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsUpdateStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsUpdateStrategyArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update (list Maxitems: 1) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigDnsUpdateStrategyArgs : Pulumi.ResourceArgs public ClusterRkeConfigDnsUpdateStrategyArgs() { } + public static new ClusterRkeConfigDnsUpdateStrategyArgs Empty => new ClusterRkeConfigDnsUpdateStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyGetArgs.cs index 78fb4dec5..dc3f6b48d 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsUpdateStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsUpdateStrategyGetArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update (list Maxitems: 1) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigDnsUpdateStrategyGetArgs : Pulumi.ResourceAr public ClusterRkeConfigDnsUpdateStrategyGetArgs() { } + public static new ClusterRkeConfigDnsUpdateStrategyGetArgs Empty => new ClusterRkeConfigDnsUpdateStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs.cs index 6fc18957a..2d3fd37ee 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update max surge. Default: `1` (int) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs : Pulumi. public ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs() { } + public static new ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs Empty => new ClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyRollingUpdateGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyRollingUpdateGetArgs.cs index 6edad81d5..7f6a5383c 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyRollingUpdateGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigDnsUpdateStrategyRollingUpdateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigDnsUpdateStrategyRollingUpdateGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigDnsUpdateStrategyRollingUpdateGetArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update max surge. Default: `1` (int) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigDnsUpdateStrategyRollingUpdateGetArgs : Pulu public ClusterRkeConfigDnsUpdateStrategyRollingUpdateGetArgs() { } + public static new ClusterRkeConfigDnsUpdateStrategyRollingUpdateGetArgs Empty => new ClusterRkeConfigDnsUpdateStrategyRollingUpdateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigGetArgs.cs index ff905fc43..12ef00e7c 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Duration in seconds of addon job (int) @@ -171,5 +171,6 @@ public InputList PrivateRegistrie public ClusterRkeConfigGetArgs() { } + public static new ClusterRkeConfigGetArgs Empty => new ClusterRkeConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigIngressArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigIngressArgs.cs index 0f6cf26e8..0333f94ce 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigIngressArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigIngressArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigIngressArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigIngressArgs : global::Pulumi.ResourceArgs { /// /// Enable ingress default backend. Default: `true` (bool) @@ -105,5 +105,6 @@ public InputList Tolerations public ClusterRkeConfigIngressArgs() { } + public static new ClusterRkeConfigIngressArgs Empty => new ClusterRkeConfigIngressArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigIngressGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigIngressGetArgs.cs index 93bb5677e..fc66347d6 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigIngressGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigIngressGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigIngressGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigIngressGetArgs : global::Pulumi.ResourceArgs { /// /// Enable ingress default backend. Default: `true` (bool) @@ -105,5 +105,6 @@ public InputList Tolerations public ClusterRkeConfigIngressGetArgs() { } + public static new ClusterRkeConfigIngressGetArgs Empty => new ClusterRkeConfigIngressGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigIngressTolerationArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigIngressTolerationArgs.cs index b299a39d0..30653aa5f 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigIngressTolerationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigIngressTolerationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigIngressTolerationArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigIngressTolerationArgs : global::Pulumi.ResourceArgs { /// /// The GKE taint effect (string) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigIngressTolerationArgs : Pulumi.ResourceArgs public ClusterRkeConfigIngressTolerationArgs() { } + public static new ClusterRkeConfigIngressTolerationArgs Empty => new ClusterRkeConfigIngressTolerationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigIngressTolerationGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigIngressTolerationGetArgs.cs index bdda09544..56b67d6a6 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigIngressTolerationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigIngressTolerationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigIngressTolerationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigIngressTolerationGetArgs : global::Pulumi.ResourceArgs { /// /// The GKE taint effect (string) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigIngressTolerationGetArgs : Pulumi.ResourceAr public ClusterRkeConfigIngressTolerationGetArgs() { } + public static new ClusterRkeConfigIngressTolerationGetArgs Empty => new ClusterRkeConfigIngressTolerationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyArgs.cs index fe7aa33f1..c1ef5daed 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigIngressUpdateStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigIngressUpdateStrategyArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update (list Maxitems: 1) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigIngressUpdateStrategyArgs : Pulumi.ResourceA public ClusterRkeConfigIngressUpdateStrategyArgs() { } + public static new ClusterRkeConfigIngressUpdateStrategyArgs Empty => new ClusterRkeConfigIngressUpdateStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyGetArgs.cs index 2755416ce..d7e5d2812 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigIngressUpdateStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigIngressUpdateStrategyGetArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update (list Maxitems: 1) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigIngressUpdateStrategyGetArgs : Pulumi.Resour public ClusterRkeConfigIngressUpdateStrategyGetArgs() { } + public static new ClusterRkeConfigIngressUpdateStrategyGetArgs Empty => new ClusterRkeConfigIngressUpdateStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs.cs index 56adbe76f..ff599d447 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update max unavailable. Default: `1` (int) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs : Pul public ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs() { } + public static new ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs Empty => new ClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyRollingUpdateGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyRollingUpdateGetArgs.cs index 02be2273a..cc6b1e221 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyRollingUpdateGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigIngressUpdateStrategyRollingUpdateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigIngressUpdateStrategyRollingUpdateGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigIngressUpdateStrategyRollingUpdateGetArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update max unavailable. Default: `1` (int) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigIngressUpdateStrategyRollingUpdateGetArgs : public ClusterRkeConfigIngressUpdateStrategyRollingUpdateGetArgs() { } + public static new ClusterRkeConfigIngressUpdateStrategyRollingUpdateGetArgs Empty => new ClusterRkeConfigIngressUpdateStrategyRollingUpdateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringArgs.cs index 78725bd34..7027be59d 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigMonitoringArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigMonitoringArgs : global::Pulumi.ResourceArgs { [Input("nodeSelector")] private InputMap? _nodeSelector; @@ -69,5 +69,6 @@ public InputList Tolerations public ClusterRkeConfigMonitoringArgs() { } + public static new ClusterRkeConfigMonitoringArgs Empty => new ClusterRkeConfigMonitoringArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringGetArgs.cs index 438a7af54..62a16de5a 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigMonitoringGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigMonitoringGetArgs : global::Pulumi.ResourceArgs { [Input("nodeSelector")] private InputMap? _nodeSelector; @@ -69,5 +69,6 @@ public InputList Tolerations public ClusterRkeConfigMonitoringGetArgs() { } + public static new ClusterRkeConfigMonitoringGetArgs Empty => new ClusterRkeConfigMonitoringGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringTolerationArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringTolerationArgs.cs index 486453e55..8a69e2d70 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringTolerationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringTolerationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigMonitoringTolerationArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigMonitoringTolerationArgs : global::Pulumi.ResourceArgs { /// /// The GKE taint effect (string) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigMonitoringTolerationArgs : Pulumi.ResourceAr public ClusterRkeConfigMonitoringTolerationArgs() { } + public static new ClusterRkeConfigMonitoringTolerationArgs Empty => new ClusterRkeConfigMonitoringTolerationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringTolerationGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringTolerationGetArgs.cs index 049a27090..f31ea3004 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringTolerationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringTolerationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigMonitoringTolerationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigMonitoringTolerationGetArgs : global::Pulumi.ResourceArgs { /// /// The GKE taint effect (string) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigMonitoringTolerationGetArgs : Pulumi.Resourc public ClusterRkeConfigMonitoringTolerationGetArgs() { } + public static new ClusterRkeConfigMonitoringTolerationGetArgs Empty => new ClusterRkeConfigMonitoringTolerationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyArgs.cs index d3bddd238..ae4490b94 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigMonitoringUpdateStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigMonitoringUpdateStrategyArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update (list Maxitems: 1) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigMonitoringUpdateStrategyArgs : Pulumi.Resour public ClusterRkeConfigMonitoringUpdateStrategyArgs() { } + public static new ClusterRkeConfigMonitoringUpdateStrategyArgs Empty => new ClusterRkeConfigMonitoringUpdateStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyGetArgs.cs index b9023dd28..631711ca4 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigMonitoringUpdateStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigMonitoringUpdateStrategyGetArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update (list Maxitems: 1) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigMonitoringUpdateStrategyGetArgs : Pulumi.Res public ClusterRkeConfigMonitoringUpdateStrategyGetArgs() { } + public static new ClusterRkeConfigMonitoringUpdateStrategyGetArgs Empty => new ClusterRkeConfigMonitoringUpdateStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs.cs index 7ecf9c1b7..b99003df1 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update max surge. Default: `1` (int) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs : public ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs() { } + public static new ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs Empty => new ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs.cs index 4c5aa24a8..1166b49d9 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs : global::Pulumi.ResourceArgs { /// /// Monitoring deployment rolling update max surge. Default: `1` (int) @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs public ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs() { } + public static new ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs Empty => new ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkAciNetworkProviderArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkAciNetworkProviderArgs.cs new file mode 100644 index 000000000..0310a695a --- /dev/null +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkAciNetworkProviderArgs.cs @@ -0,0 +1,512 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Inputs +{ + + public sealed class ClusterRkeConfigNetworkAciNetworkProviderArgs : global::Pulumi.ResourceArgs + { + /// + /// Attachable entity profile (string) + /// + [Input("aep", required: true)] + public Input Aep { get; set; } = null!; + + [Input("apicHosts", required: true)] + private InputList? _apicHosts; + + /// + /// List of APIC hosts to connect for APIC API (list) + /// + public InputList ApicHosts + { + get => _apicHosts ?? (_apicHosts = new InputList()); + set => _apicHosts = value; + } + + /// + /// APIC refresh ticker adjust amount (string) + /// + [Input("apicRefreshTickerAdjust")] + public Input? ApicRefreshTickerAdjust { get; set; } + + /// + /// APIC refresh time in seconds (string) + /// + [Input("apicRefreshTime")] + public Input? ApicRefreshTime { get; set; } + + /// + /// APIC subscription delay amount (string) + /// + [Input("apicSubscriptionDelay")] + public Input? ApicSubscriptionDelay { get; set; } + + [Input("apicUserCrt", required: true)] + private Input? _apicUserCrt; + + /// + /// APIC user certificate (string) + /// + public Input? ApicUserCrt + { + get => _apicUserCrt; + set + { + var emptySecret = Output.CreateSecret(0); + _apicUserCrt = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("apicUserKey", required: true)] + private Input? _apicUserKey; + + /// + /// APIC user key (string) + /// + public Input? ApicUserKey + { + get => _apicUserKey; + set + { + var emptySecret = Output.CreateSecret(0); + _apicUserKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// APIC user name (string) + /// + [Input("apicUserName", required: true)] + public Input ApicUserName { get; set; } = null!; + + /// + /// cAPIC cloud (string) + /// + [Input("capic")] + public Input? Capic { get; set; } + + /// + /// Log level for ACI controller (string) + /// + [Input("controllerLogLevel")] + public Input? ControllerLogLevel { get; set; } + + /// + /// Whether to disable periodic SNAT global info sync (string) + /// + [Input("disablePeriodicSnatGlobalInfoSync")] + public Input? DisablePeriodicSnatGlobalInfoSync { get; set; } + + /// + /// Whether to disable waiting for network (string) + /// + [Input("disableWaitForNetwork")] + public Input? DisableWaitForNetwork { get; set; } + + /// + /// Whether to enable drop log (string) + /// + [Input("dropLogEnable")] + public Input? DropLogEnable { get; set; } + + /// + /// The duration to wait for network (string) + /// + [Input("durationWaitForNetwork")] + public Input? DurationWaitForNetwork { get; set; } + + /// + /// Whether to enable endpoint slices (string) + /// + [Input("enableEndpointSlice")] + public Input? EnableEndpointSlice { get; set; } + + /// + /// Encap type: vxlan or vlan (string) + /// + [Input("encapType", required: true)] + public Input EncapType { get; set; } = null!; + + /// + /// EP registry (string) + /// + [Input("epRegistry")] + public Input? EpRegistry { get; set; } + + /// + /// Subnet to use for dynamic external IPs (string) + /// + [Input("externDynamic", required: true)] + public Input ExternDynamic { get; set; } = null!; + + /// + /// Subnet to use for static external IPs (string) + /// + [Input("externStatic", required: true)] + public Input ExternStatic { get; set; } = null!; + + /// + /// GBH pod subnet (string) + /// + [Input("gbpPodSubnet")] + public Input? GbpPodSubnet { get; set; } + + /// + /// Log level for ACI host agent (string) + /// + [Input("hostAgentLogLevel")] + public Input? HostAgentLogLevel { get; set; } + + /// + /// Image pull policy (string) + /// + [Input("imagePullPolicy")] + public Input? ImagePullPolicy { get; set; } + + /// + /// Image pull policy (string) + /// + [Input("imagePullSecret")] + public Input? ImagePullSecret { get; set; } + + /// + /// The VLAN used by ACI infra (string) + /// + [Input("infraVlan")] + public Input? InfraVlan { get; set; } + + /// + /// Whether to install Istio (string) + /// + [Input("installIstio")] + public Input? InstallIstio { get; set; } + + /// + /// Istio profile name (string) + /// + [Input("istioProfile")] + public Input? IstioProfile { get; set; } + + [Input("kafkaBrokers")] + private InputList? _kafkaBrokers; + + /// + /// List of Kafka broker hosts (list) + /// + public InputList KafkaBrokers + { + get => _kafkaBrokers ?? (_kafkaBrokers = new InputList()); + set => _kafkaBrokers = value; + } + + /// + /// Kafka client certificate (string) + /// + [Input("kafkaClientCrt")] + public Input? KafkaClientCrt { get; set; } + + /// + /// Kafka client key (string) + /// + [Input("kafkaClientKey")] + public Input? KafkaClientKey { get; set; } + + /// + /// The VLAN used by the physdom for nodes (string) + /// + [Input("kubeApiVlan", required: true)] + public Input KubeApiVlan { get; set; } = null!; + + /// + /// L3out (string) + /// + [Input("l3out", required: true)] + public Input L3out { get; set; } = null!; + + [Input("l3outExternalNetworks", required: true)] + private InputList? _l3outExternalNetworks; + + /// + /// L3out external networks (list) + /// + public InputList L3outExternalNetworks + { + get => _l3outExternalNetworks ?? (_l3outExternalNetworks = new InputList()); + set => _l3outExternalNetworks = value; + } + + /// + /// Max nodes in service graph (string) + /// + [Input("maxNodesSvcGraph")] + public Input? MaxNodesSvcGraph { get; set; } + + /// + /// End of mcast range (string) + /// + [Input("mcastRangeEnd", required: true)] + public Input McastRangeEnd { get; set; } = null!; + + /// + /// Start of mcast range (string) + /// + [Input("mcastRangeStart", required: true)] + public Input McastRangeStart { get; set; } = null!; + + /// + /// MTU head room amount (string) + /// + [Input("mtuHeadRoom")] + public Input? MtuHeadRoom { get; set; } + + /// + /// Whether to disable Multus (string) + /// + [Input("multusDisable")] + public Input? MultusDisable { get; set; } + + /// + /// Whether to use priority class (string) + /// + [Input("noPriorityClass")] + public Input? NoPriorityClass { get; set; } + + /// + /// Whether to enable node pod interface (string) + /// + [Input("nodePodIfEnable")] + public Input? NodePodIfEnable { get; set; } + + /// + /// Subnet to use for nodes (string) + /// + [Input("nodeSubnet", required: true)] + public Input NodeSubnet { get; set; } = null!; + + /// + /// Subnet to use for service graph (string) + /// + [Input("nodeSvcSubnet", required: true)] + public Input NodeSvcSubnet { get; set; } = null!; + + /// + /// Whether to use client SSL for Opflex (string) + /// + [Input("opflexClientSsl")] + public Input? OpflexClientSsl { get; set; } + + /// + /// Opflex device delete timeout (string) + /// + [Input("opflexDeviceDeleteTimeout")] + public Input? OpflexDeviceDeleteTimeout { get; set; } + + /// + /// Log level for ACI opflex (string) + /// + [Input("opflexLogLevel")] + public Input? OpflexLogLevel { get; set; } + + /// + /// Opflex mode (string) + /// + [Input("opflexMode")] + public Input? OpflexMode { get; set; } + + /// + /// Opflex server port (string) + /// + [Input("opflexServerPort")] + public Input? OpflexServerPort { get; set; } + + /// + /// Overlay VRF name (string) + /// + [Input("overlayVrfName")] + public Input? OverlayVrfName { get; set; } + + /// + /// OVS memory limit (string) + /// + [Input("ovsMemoryLimit")] + public Input? OvsMemoryLimit { get; set; } + + /// + /// Policy-based routing tracking non snat (string) + /// + [Input("pbrTrackingNonSnat")] + public Input? PbrTrackingNonSnat { get; set; } + + /// + /// Pod subnet chunk size (string) + /// + [Input("podSubnetChunkSize")] + public Input? PodSubnetChunkSize { get; set; } + + /// + /// Whether to run GBP container (string) + /// + [Input("runGbpContainer")] + public Input? RunGbpContainer { get; set; } + + /// + /// Whether to run Opflex server container (string) + /// + [Input("runOpflexServerContainer")] + public Input? RunOpflexServerContainer { get; set; } + + /// + /// Service monitor interval (string) + /// + [Input("serviceMonitorInterval")] + public Input? ServiceMonitorInterval { get; set; } + + /// + /// The VLAN used by LoadBalancer services (string) + /// + [Input("serviceVlan", required: true)] + public Input ServiceVlan { get; set; } = null!; + + /// + /// Snat contract scope (string) + /// + [Input("snatContractScope")] + public Input? SnatContractScope { get; set; } + + /// + /// Snat namespace (string) + /// + [Input("snatNamespace")] + public Input? SnatNamespace { get; set; } + + /// + /// End of snat port range (string) + /// + [Input("snatPortRangeEnd")] + public Input? SnatPortRangeEnd { get; set; } + + /// + /// End of snat port range (string) + /// + [Input("snatPortRangeStart")] + public Input? SnatPortRangeStart { get; set; } + + /// + /// Snat ports per node (string) + /// + [Input("snatPortsPerNode")] + public Input? SnatPortsPerNode { get; set; } + + /// + /// Whether to enable SR-IOV (string) + /// + [Input("sriovEnable")] + public Input? SriovEnable { get; set; } + + /// + /// Subnet domain name (string) + /// + [Input("subnetDomainName")] + public Input? SubnetDomainName { get; set; } + + /// + /// ACI system ID (string) + /// + [Input("systemId", required: true)] + public Input SystemId { get; set; } = null!; + + /// + /// ACI tenant (string) + /// + [Input("tenant")] + public Input? Tenant { get; set; } + + [Input("token", required: true)] + private Input? _token; + + /// + /// Token for cluster registration token object (string) + /// + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// Whether to use ACI anywhere CRD (string) + /// + [Input("useAciAnywhereCrd")] + public Input? UseAciAnywhereCrd { get; set; } + + /// + /// Whether to use ACI CNI priority class (string) + /// + [Input("useAciCniPriorityClass")] + public Input? UseAciCniPriorityClass { get; set; } + + /// + /// Whether to use cluster role (string) + /// + [Input("useClusterRole")] + public Input? UseClusterRole { get; set; } + + /// + /// Whether to use host netns volume (string) + /// + [Input("useHostNetnsVolume")] + public Input? UseHostNetnsVolume { get; set; } + + /// + /// Whether use Opflex server volume (string) + /// + [Input("useOpflexServerVolume")] + public Input? UseOpflexServerVolume { get; set; } + + /// + /// Whether ACI containers should run as privileged (string) + /// + [Input("usePrivilegedContainer")] + public Input? UsePrivilegedContainer { get; set; } + + /// + /// VMM controller configuration (string) + /// + [Input("vmmController")] + public Input? VmmController { get; set; } + + /// + /// VMM domain configuration (string) + /// + [Input("vmmDomain")] + public Input? VmmDomain { get; set; } + + /// + /// VRF name (string) + /// + [Input("vrfName", required: true)] + public Input VrfName { get; set; } = null!; + + /// + /// VRF tenant (string) + /// + [Input("vrfTenant", required: true)] + public Input VrfTenant { get; set; } = null!; + + public ClusterRkeConfigNetworkAciNetworkProviderArgs() + { + } + public static new ClusterRkeConfigNetworkAciNetworkProviderArgs Empty => new ClusterRkeConfigNetworkAciNetworkProviderArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkAciNetworkProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkAciNetworkProviderGetArgs.cs new file mode 100644 index 000000000..83bca7071 --- /dev/null +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkAciNetworkProviderGetArgs.cs @@ -0,0 +1,512 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Inputs +{ + + public sealed class ClusterRkeConfigNetworkAciNetworkProviderGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Attachable entity profile (string) + /// + [Input("aep", required: true)] + public Input Aep { get; set; } = null!; + + [Input("apicHosts", required: true)] + private InputList? _apicHosts; + + /// + /// List of APIC hosts to connect for APIC API (list) + /// + public InputList ApicHosts + { + get => _apicHosts ?? (_apicHosts = new InputList()); + set => _apicHosts = value; + } + + /// + /// APIC refresh ticker adjust amount (string) + /// + [Input("apicRefreshTickerAdjust")] + public Input? ApicRefreshTickerAdjust { get; set; } + + /// + /// APIC refresh time in seconds (string) + /// + [Input("apicRefreshTime")] + public Input? ApicRefreshTime { get; set; } + + /// + /// APIC subscription delay amount (string) + /// + [Input("apicSubscriptionDelay")] + public Input? ApicSubscriptionDelay { get; set; } + + [Input("apicUserCrt", required: true)] + private Input? _apicUserCrt; + + /// + /// APIC user certificate (string) + /// + public Input? ApicUserCrt + { + get => _apicUserCrt; + set + { + var emptySecret = Output.CreateSecret(0); + _apicUserCrt = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("apicUserKey", required: true)] + private Input? _apicUserKey; + + /// + /// APIC user key (string) + /// + public Input? ApicUserKey + { + get => _apicUserKey; + set + { + var emptySecret = Output.CreateSecret(0); + _apicUserKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// APIC user name (string) + /// + [Input("apicUserName", required: true)] + public Input ApicUserName { get; set; } = null!; + + /// + /// cAPIC cloud (string) + /// + [Input("capic")] + public Input? Capic { get; set; } + + /// + /// Log level for ACI controller (string) + /// + [Input("controllerLogLevel")] + public Input? ControllerLogLevel { get; set; } + + /// + /// Whether to disable periodic SNAT global info sync (string) + /// + [Input("disablePeriodicSnatGlobalInfoSync")] + public Input? DisablePeriodicSnatGlobalInfoSync { get; set; } + + /// + /// Whether to disable waiting for network (string) + /// + [Input("disableWaitForNetwork")] + public Input? DisableWaitForNetwork { get; set; } + + /// + /// Whether to enable drop log (string) + /// + [Input("dropLogEnable")] + public Input? DropLogEnable { get; set; } + + /// + /// The duration to wait for network (string) + /// + [Input("durationWaitForNetwork")] + public Input? DurationWaitForNetwork { get; set; } + + /// + /// Whether to enable endpoint slices (string) + /// + [Input("enableEndpointSlice")] + public Input? EnableEndpointSlice { get; set; } + + /// + /// Encap type: vxlan or vlan (string) + /// + [Input("encapType", required: true)] + public Input EncapType { get; set; } = null!; + + /// + /// EP registry (string) + /// + [Input("epRegistry")] + public Input? EpRegistry { get; set; } + + /// + /// Subnet to use for dynamic external IPs (string) + /// + [Input("externDynamic", required: true)] + public Input ExternDynamic { get; set; } = null!; + + /// + /// Subnet to use for static external IPs (string) + /// + [Input("externStatic", required: true)] + public Input ExternStatic { get; set; } = null!; + + /// + /// GBH pod subnet (string) + /// + [Input("gbpPodSubnet")] + public Input? GbpPodSubnet { get; set; } + + /// + /// Log level for ACI host agent (string) + /// + [Input("hostAgentLogLevel")] + public Input? HostAgentLogLevel { get; set; } + + /// + /// Image pull policy (string) + /// + [Input("imagePullPolicy")] + public Input? ImagePullPolicy { get; set; } + + /// + /// Image pull policy (string) + /// + [Input("imagePullSecret")] + public Input? ImagePullSecret { get; set; } + + /// + /// The VLAN used by ACI infra (string) + /// + [Input("infraVlan")] + public Input? InfraVlan { get; set; } + + /// + /// Whether to install Istio (string) + /// + [Input("installIstio")] + public Input? InstallIstio { get; set; } + + /// + /// Istio profile name (string) + /// + [Input("istioProfile")] + public Input? IstioProfile { get; set; } + + [Input("kafkaBrokers")] + private InputList? _kafkaBrokers; + + /// + /// List of Kafka broker hosts (list) + /// + public InputList KafkaBrokers + { + get => _kafkaBrokers ?? (_kafkaBrokers = new InputList()); + set => _kafkaBrokers = value; + } + + /// + /// Kafka client certificate (string) + /// + [Input("kafkaClientCrt")] + public Input? KafkaClientCrt { get; set; } + + /// + /// Kafka client key (string) + /// + [Input("kafkaClientKey")] + public Input? KafkaClientKey { get; set; } + + /// + /// The VLAN used by the physdom for nodes (string) + /// + [Input("kubeApiVlan", required: true)] + public Input KubeApiVlan { get; set; } = null!; + + /// + /// L3out (string) + /// + [Input("l3out", required: true)] + public Input L3out { get; set; } = null!; + + [Input("l3outExternalNetworks", required: true)] + private InputList? _l3outExternalNetworks; + + /// + /// L3out external networks (list) + /// + public InputList L3outExternalNetworks + { + get => _l3outExternalNetworks ?? (_l3outExternalNetworks = new InputList()); + set => _l3outExternalNetworks = value; + } + + /// + /// Max nodes in service graph (string) + /// + [Input("maxNodesSvcGraph")] + public Input? MaxNodesSvcGraph { get; set; } + + /// + /// End of mcast range (string) + /// + [Input("mcastRangeEnd", required: true)] + public Input McastRangeEnd { get; set; } = null!; + + /// + /// Start of mcast range (string) + /// + [Input("mcastRangeStart", required: true)] + public Input McastRangeStart { get; set; } = null!; + + /// + /// MTU head room amount (string) + /// + [Input("mtuHeadRoom")] + public Input? MtuHeadRoom { get; set; } + + /// + /// Whether to disable Multus (string) + /// + [Input("multusDisable")] + public Input? MultusDisable { get; set; } + + /// + /// Whether to use priority class (string) + /// + [Input("noPriorityClass")] + public Input? NoPriorityClass { get; set; } + + /// + /// Whether to enable node pod interface (string) + /// + [Input("nodePodIfEnable")] + public Input? NodePodIfEnable { get; set; } + + /// + /// Subnet to use for nodes (string) + /// + [Input("nodeSubnet", required: true)] + public Input NodeSubnet { get; set; } = null!; + + /// + /// Subnet to use for service graph (string) + /// + [Input("nodeSvcSubnet", required: true)] + public Input NodeSvcSubnet { get; set; } = null!; + + /// + /// Whether to use client SSL for Opflex (string) + /// + [Input("opflexClientSsl")] + public Input? OpflexClientSsl { get; set; } + + /// + /// Opflex device delete timeout (string) + /// + [Input("opflexDeviceDeleteTimeout")] + public Input? OpflexDeviceDeleteTimeout { get; set; } + + /// + /// Log level for ACI opflex (string) + /// + [Input("opflexLogLevel")] + public Input? OpflexLogLevel { get; set; } + + /// + /// Opflex mode (string) + /// + [Input("opflexMode")] + public Input? OpflexMode { get; set; } + + /// + /// Opflex server port (string) + /// + [Input("opflexServerPort")] + public Input? OpflexServerPort { get; set; } + + /// + /// Overlay VRF name (string) + /// + [Input("overlayVrfName")] + public Input? OverlayVrfName { get; set; } + + /// + /// OVS memory limit (string) + /// + [Input("ovsMemoryLimit")] + public Input? OvsMemoryLimit { get; set; } + + /// + /// Policy-based routing tracking non snat (string) + /// + [Input("pbrTrackingNonSnat")] + public Input? PbrTrackingNonSnat { get; set; } + + /// + /// Pod subnet chunk size (string) + /// + [Input("podSubnetChunkSize")] + public Input? PodSubnetChunkSize { get; set; } + + /// + /// Whether to run GBP container (string) + /// + [Input("runGbpContainer")] + public Input? RunGbpContainer { get; set; } + + /// + /// Whether to run Opflex server container (string) + /// + [Input("runOpflexServerContainer")] + public Input? RunOpflexServerContainer { get; set; } + + /// + /// Service monitor interval (string) + /// + [Input("serviceMonitorInterval")] + public Input? ServiceMonitorInterval { get; set; } + + /// + /// The VLAN used by LoadBalancer services (string) + /// + [Input("serviceVlan", required: true)] + public Input ServiceVlan { get; set; } = null!; + + /// + /// Snat contract scope (string) + /// + [Input("snatContractScope")] + public Input? SnatContractScope { get; set; } + + /// + /// Snat namespace (string) + /// + [Input("snatNamespace")] + public Input? SnatNamespace { get; set; } + + /// + /// End of snat port range (string) + /// + [Input("snatPortRangeEnd")] + public Input? SnatPortRangeEnd { get; set; } + + /// + /// End of snat port range (string) + /// + [Input("snatPortRangeStart")] + public Input? SnatPortRangeStart { get; set; } + + /// + /// Snat ports per node (string) + /// + [Input("snatPortsPerNode")] + public Input? SnatPortsPerNode { get; set; } + + /// + /// Whether to enable SR-IOV (string) + /// + [Input("sriovEnable")] + public Input? SriovEnable { get; set; } + + /// + /// Subnet domain name (string) + /// + [Input("subnetDomainName")] + public Input? SubnetDomainName { get; set; } + + /// + /// ACI system ID (string) + /// + [Input("systemId", required: true)] + public Input SystemId { get; set; } = null!; + + /// + /// ACI tenant (string) + /// + [Input("tenant")] + public Input? Tenant { get; set; } + + [Input("token", required: true)] + private Input? _token; + + /// + /// Token for cluster registration token object (string) + /// + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// Whether to use ACI anywhere CRD (string) + /// + [Input("useAciAnywhereCrd")] + public Input? UseAciAnywhereCrd { get; set; } + + /// + /// Whether to use ACI CNI priority class (string) + /// + [Input("useAciCniPriorityClass")] + public Input? UseAciCniPriorityClass { get; set; } + + /// + /// Whether to use cluster role (string) + /// + [Input("useClusterRole")] + public Input? UseClusterRole { get; set; } + + /// + /// Whether to use host netns volume (string) + /// + [Input("useHostNetnsVolume")] + public Input? UseHostNetnsVolume { get; set; } + + /// + /// Whether use Opflex server volume (string) + /// + [Input("useOpflexServerVolume")] + public Input? UseOpflexServerVolume { get; set; } + + /// + /// Whether ACI containers should run as privileged (string) + /// + [Input("usePrivilegedContainer")] + public Input? UsePrivilegedContainer { get; set; } + + /// + /// VMM controller configuration (string) + /// + [Input("vmmController")] + public Input? VmmController { get; set; } + + /// + /// VMM domain configuration (string) + /// + [Input("vmmDomain")] + public Input? VmmDomain { get; set; } + + /// + /// VRF name (string) + /// + [Input("vrfName", required: true)] + public Input VrfName { get; set; } = null!; + + /// + /// VRF tenant (string) + /// + [Input("vrfTenant", required: true)] + public Input VrfTenant { get; set; } = null!; + + public ClusterRkeConfigNetworkAciNetworkProviderGetArgs() + { + } + public static new ClusterRkeConfigNetworkAciNetworkProviderGetArgs Empty => new ClusterRkeConfigNetworkAciNetworkProviderGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkArgs.cs index b0c3a2f44..b0206077e 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkArgs.cs @@ -10,8 +10,14 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkArgs : global::Pulumi.ResourceArgs { + /// + /// ACI provider config for RKE network (list maxitems:63) + /// + [Input("aciNetworkProvider")] + public Input? AciNetworkProvider { get; set; } + /// /// Calico provider config for RKE network (list maxitems:1) /// @@ -75,5 +81,6 @@ public InputList Tolerations public ClusterRkeConfigNetworkArgs() { } + public static new ClusterRkeConfigNetworkArgs Empty => new ClusterRkeConfigNetworkArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCalicoNetworkProviderArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCalicoNetworkProviderArgs.cs index f09e85b5a..fd274608e 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCalicoNetworkProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCalicoNetworkProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkCalicoNetworkProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkCalicoNetworkProviderArgs : global::Pulumi.ResourceArgs { /// /// RKE options for Calico network provider (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigNetworkCalicoNetworkProviderArgs : Pulumi.Re public ClusterRkeConfigNetworkCalicoNetworkProviderArgs() { } + public static new ClusterRkeConfigNetworkCalicoNetworkProviderArgs Empty => new ClusterRkeConfigNetworkCalicoNetworkProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCalicoNetworkProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCalicoNetworkProviderGetArgs.cs index 9abd7418a..b53b8c4ea 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCalicoNetworkProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCalicoNetworkProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkCalicoNetworkProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkCalicoNetworkProviderGetArgs : global::Pulumi.ResourceArgs { /// /// RKE options for Calico network provider (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigNetworkCalicoNetworkProviderGetArgs : Pulumi public ClusterRkeConfigNetworkCalicoNetworkProviderGetArgs() { } + public static new ClusterRkeConfigNetworkCalicoNetworkProviderGetArgs Empty => new ClusterRkeConfigNetworkCalicoNetworkProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCanalNetworkProviderArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCanalNetworkProviderArgs.cs index 237c49b06..3545bbb1f 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCanalNetworkProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCanalNetworkProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkCanalNetworkProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkCanalNetworkProviderArgs : global::Pulumi.ResourceArgs { /// /// Iface config Flannel network provider (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigNetworkCanalNetworkProviderArgs : Pulumi.Res public ClusterRkeConfigNetworkCanalNetworkProviderArgs() { } + public static new ClusterRkeConfigNetworkCanalNetworkProviderArgs Empty => new ClusterRkeConfigNetworkCanalNetworkProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCanalNetworkProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCanalNetworkProviderGetArgs.cs index f215fd718..fc2cfb48d 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCanalNetworkProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkCanalNetworkProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkCanalNetworkProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkCanalNetworkProviderGetArgs : global::Pulumi.ResourceArgs { /// /// Iface config Flannel network provider (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigNetworkCanalNetworkProviderGetArgs : Pulumi. public ClusterRkeConfigNetworkCanalNetworkProviderGetArgs() { } + public static new ClusterRkeConfigNetworkCanalNetworkProviderGetArgs Empty => new ClusterRkeConfigNetworkCanalNetworkProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkFlannelNetworkProviderArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkFlannelNetworkProviderArgs.cs index 42883005b..072cd046a 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkFlannelNetworkProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkFlannelNetworkProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkFlannelNetworkProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkFlannelNetworkProviderArgs : global::Pulumi.ResourceArgs { /// /// Iface config Flannel network provider (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigNetworkFlannelNetworkProviderArgs : Pulumi.R public ClusterRkeConfigNetworkFlannelNetworkProviderArgs() { } + public static new ClusterRkeConfigNetworkFlannelNetworkProviderArgs Empty => new ClusterRkeConfigNetworkFlannelNetworkProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkFlannelNetworkProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkFlannelNetworkProviderGetArgs.cs index 1964b6273..b0a43a202 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkFlannelNetworkProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkFlannelNetworkProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkFlannelNetworkProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkFlannelNetworkProviderGetArgs : global::Pulumi.ResourceArgs { /// /// Iface config Flannel network provider (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigNetworkFlannelNetworkProviderGetArgs : Pulum public ClusterRkeConfigNetworkFlannelNetworkProviderGetArgs() { } + public static new ClusterRkeConfigNetworkFlannelNetworkProviderGetArgs Empty => new ClusterRkeConfigNetworkFlannelNetworkProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkGetArgs.cs index 23ead7d70..656e8496c 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkGetArgs.cs @@ -10,8 +10,14 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkGetArgs : global::Pulumi.ResourceArgs { + /// + /// ACI provider config for RKE network (list maxitems:63) + /// + [Input("aciNetworkProvider")] + public Input? AciNetworkProvider { get; set; } + /// /// Calico provider config for RKE network (list maxitems:1) /// @@ -75,5 +81,6 @@ public InputList Tolerations public ClusterRkeConfigNetworkGetArgs() { } + public static new ClusterRkeConfigNetworkGetArgs Empty => new ClusterRkeConfigNetworkGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkTolerationArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkTolerationArgs.cs index 00992237f..6ab42e191 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkTolerationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkTolerationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkTolerationArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkTolerationArgs : global::Pulumi.ResourceArgs { /// /// The GKE taint effect (string) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigNetworkTolerationArgs : Pulumi.ResourceArgs public ClusterRkeConfigNetworkTolerationArgs() { } + public static new ClusterRkeConfigNetworkTolerationArgs Empty => new ClusterRkeConfigNetworkTolerationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkTolerationGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkTolerationGetArgs.cs index 07aa25b46..683077efb 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkTolerationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkTolerationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkTolerationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkTolerationGetArgs : global::Pulumi.ResourceArgs { /// /// The GKE taint effect (string) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigNetworkTolerationGetArgs : Pulumi.ResourceAr public ClusterRkeConfigNetworkTolerationGetArgs() { } + public static new ClusterRkeConfigNetworkTolerationGetArgs Empty => new ClusterRkeConfigNetworkTolerationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkWeaveNetworkProviderArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkWeaveNetworkProviderArgs.cs index ea7d168e8..d2e9b97d5 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkWeaveNetworkProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkWeaveNetworkProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkWeaveNetworkProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkWeaveNetworkProviderArgs : global::Pulumi.ResourceArgs { /// /// Registry password (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigNetworkWeaveNetworkProviderArgs : Pulumi.Res public ClusterRkeConfigNetworkWeaveNetworkProviderArgs() { } + public static new ClusterRkeConfigNetworkWeaveNetworkProviderArgs Empty => new ClusterRkeConfigNetworkWeaveNetworkProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkWeaveNetworkProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkWeaveNetworkProviderGetArgs.cs index dd92a51df..24de26033 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNetworkWeaveNetworkProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNetworkWeaveNetworkProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNetworkWeaveNetworkProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNetworkWeaveNetworkProviderGetArgs : global::Pulumi.ResourceArgs { /// /// Registry password (string) @@ -21,5 +21,6 @@ public sealed class ClusterRkeConfigNetworkWeaveNetworkProviderGetArgs : Pulumi. public ClusterRkeConfigNetworkWeaveNetworkProviderGetArgs() { } + public static new ClusterRkeConfigNetworkWeaveNetworkProviderGetArgs Empty => new ClusterRkeConfigNetworkWeaveNetworkProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNodeArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNodeArgs.cs index 0bf249337..4e931ca5f 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNodeArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNodeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNodeArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNodeArgs : global::Pulumi.ResourceArgs { /// /// Address ip for node (string) @@ -78,11 +78,21 @@ public InputList Roles [Input("sshAgentAuth")] public Input? SshAgentAuth { get; set; } + [Input("sshKey")] + private Input? _sshKey; + /// /// Node SSH private key (string) /// - [Input("sshKey")] - public Input? SshKey { get; set; } + public Input? SshKey + { + get => _sshKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Node SSH private key path (string) @@ -90,14 +100,25 @@ public InputList Roles [Input("sshKeyPath")] public Input? SshKeyPath { get; set; } + [Input("user", required: true)] + private Input? _user; + /// /// Registry user (string) /// - [Input("user", required: true)] - public Input User { get; set; } = null!; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigNodeArgs() { } + public static new ClusterRkeConfigNodeArgs Empty => new ClusterRkeConfigNodeArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigNodeGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigNodeGetArgs.cs index 0a93ab89c..a55f6081c 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigNodeGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigNodeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigNodeGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigNodeGetArgs : global::Pulumi.ResourceArgs { /// /// Address ip for node (string) @@ -78,11 +78,21 @@ public InputList Roles [Input("sshAgentAuth")] public Input? SshAgentAuth { get; set; } + [Input("sshKey")] + private Input? _sshKey; + /// /// Node SSH private key (string) /// - [Input("sshKey")] - public Input? SshKey { get; set; } + public Input? SshKey + { + get => _sshKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Node SSH private key path (string) @@ -90,14 +100,25 @@ public InputList Roles [Input("sshKeyPath")] public Input? SshKeyPath { get; set; } + [Input("user", required: true)] + private Input? _user; + /// /// Registry user (string) /// - [Input("user", required: true)] - public Input User { get; set; } = null!; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigNodeGetArgs() { } + public static new ClusterRkeConfigNodeGetArgs Empty => new ClusterRkeConfigNodeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryArgs.cs index cbd9c8ea7..c419ec49d 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigPrivateRegistryArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigPrivateRegistryArgs : global::Pulumi.ResourceArgs { /// /// ECR credential plugin config (list maxitems:1) @@ -24,11 +24,21 @@ public sealed class ClusterRkeConfigPrivateRegistryArgs : Pulumi.ResourceArgs [Input("isDefault")] public Input? IsDefault { get; set; } + [Input("password")] + private Input? _password; + /// /// Registry password (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Registry URL (string) @@ -36,14 +46,25 @@ public sealed class ClusterRkeConfigPrivateRegistryArgs : Pulumi.ResourceArgs [Input("url", required: true)] public Input Url { get; set; } = null!; + [Input("user")] + private Input? _user; + /// /// Registry user (string) /// - [Input("user")] - public Input? User { get; set; } + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigPrivateRegistryArgs() { } + public static new ClusterRkeConfigPrivateRegistryArgs Empty => new ClusterRkeConfigPrivateRegistryArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs.cs index d1489f627..5872072e6 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs : global::Pulumi.ResourceArgs { /// /// AWS access key ID (string) @@ -18,20 +18,41 @@ public sealed class ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs : Pul [Input("awsAccessKeyId")] public Input? AwsAccessKeyId { get; set; } + [Input("awsSecretAccessKey")] + private Input? _awsSecretAccessKey; + /// /// AWS secret access key (string) /// - [Input("awsSecretAccessKey")] - public Input? AwsSecretAccessKey { get; set; } + public Input? AwsSecretAccessKey + { + get => _awsSecretAccessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _awsSecretAccessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("awsSessionToken")] + private Input? _awsSessionToken; /// /// AWS session token (string) /// - [Input("awsSessionToken")] - public Input? AwsSessionToken { get; set; } + public Input? AwsSessionToken + { + get => _awsSessionToken; + set + { + var emptySecret = Output.CreateSecret(0); + _awsSessionToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs() { } + public static new ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs Empty => new ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryEcrCredentialPluginGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryEcrCredentialPluginGetArgs.cs index 0d6ddfb6d..53c10f197 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryEcrCredentialPluginGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryEcrCredentialPluginGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigPrivateRegistryEcrCredentialPluginGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigPrivateRegistryEcrCredentialPluginGetArgs : global::Pulumi.ResourceArgs { /// /// AWS access key ID (string) @@ -18,20 +18,41 @@ public sealed class ClusterRkeConfigPrivateRegistryEcrCredentialPluginGetArgs : [Input("awsAccessKeyId")] public Input? AwsAccessKeyId { get; set; } + [Input("awsSecretAccessKey")] + private Input? _awsSecretAccessKey; + /// /// AWS secret access key (string) /// - [Input("awsSecretAccessKey")] - public Input? AwsSecretAccessKey { get; set; } + public Input? AwsSecretAccessKey + { + get => _awsSecretAccessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _awsSecretAccessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("awsSessionToken")] + private Input? _awsSessionToken; /// /// AWS session token (string) /// - [Input("awsSessionToken")] - public Input? AwsSessionToken { get; set; } + public Input? AwsSessionToken + { + get => _awsSessionToken; + set + { + var emptySecret = Output.CreateSecret(0); + _awsSessionToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigPrivateRegistryEcrCredentialPluginGetArgs() { } + public static new ClusterRkeConfigPrivateRegistryEcrCredentialPluginGetArgs Empty => new ClusterRkeConfigPrivateRegistryEcrCredentialPluginGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryGetArgs.cs index 44c686bdd..5d6f94d51 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigPrivateRegistryGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigPrivateRegistryGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigPrivateRegistryGetArgs : global::Pulumi.ResourceArgs { /// /// ECR credential plugin config (list maxitems:1) @@ -24,11 +24,21 @@ public sealed class ClusterRkeConfigPrivateRegistryGetArgs : Pulumi.ResourceArgs [Input("isDefault")] public Input? IsDefault { get; set; } + [Input("password")] + private Input? _password; + /// /// Registry password (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Registry URL (string) @@ -36,14 +46,25 @@ public sealed class ClusterRkeConfigPrivateRegistryGetArgs : Pulumi.ResourceArgs [Input("url", required: true)] public Input Url { get; set; } = null!; + [Input("user")] + private Input? _user; + /// /// Registry user (string) /// - [Input("user")] - public Input? User { get; set; } + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigPrivateRegistryGetArgs() { } + public static new ClusterRkeConfigPrivateRegistryGetArgs Empty => new ClusterRkeConfigPrivateRegistryGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesArgs.cs index 05fb5cd7c..26589c933 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesArgs : global::Pulumi.ResourceArgs { /// /// Etcd options for RKE services (list maxitems:1) @@ -51,5 +51,6 @@ public sealed class ClusterRkeConfigServicesArgs : Pulumi.ResourceArgs public ClusterRkeConfigServicesArgs() { } + public static new ClusterRkeConfigServicesArgs Empty => new ClusterRkeConfigServicesArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdArgs.cs index 36ecc55d3..ead4060f1 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesEtcdArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesEtcdArgs : global::Pulumi.ResourceArgs { /// /// Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) @@ -24,11 +24,21 @@ public sealed class ClusterRkeConfigServicesEtcdArgs : Pulumi.ResourceArgs [Input("caCert")] public Input? CaCert { get; set; } + [Input("cert")] + private Input? _cert; + /// /// TLS certificate for etcd service (string) /// - [Input("cert")] - public Input? Cert { get; set; } + public Input? Cert + { + get => _cert; + set + { + var emptySecret = Output.CreateSecret(0); + _cert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Creation option for etcd service (string) @@ -96,11 +106,21 @@ public InputList ExtraEnvs [Input("image")] public Input? Image { get; set; } + [Input("key")] + private Input? _key; + /// /// The GKE taint key (string) /// - [Input("key")] - public Input? Key { get; set; } + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) @@ -129,5 +149,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesEtcdArgs() { } + public static new ClusterRkeConfigServicesEtcdArgs Empty => new ClusterRkeConfigServicesEtcdArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigArgs.cs index 40dbf1b07..7f16caf3a 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesEtcdBackupConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesEtcdBackupConfigArgs : global::Pulumi.ResourceArgs { /// /// Enable scheduled cluster scan. Default: `false` (bool) @@ -51,5 +51,6 @@ public sealed class ClusterRkeConfigServicesEtcdBackupConfigArgs : Pulumi.Resour public ClusterRkeConfigServicesEtcdBackupConfigArgs() { } + public static new ClusterRkeConfigServicesEtcdBackupConfigArgs Empty => new ClusterRkeConfigServicesEtcdBackupConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigGetArgs.cs index 23d1c2357..9aa805a8b 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesEtcdBackupConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesEtcdBackupConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Enable scheduled cluster scan. Default: `false` (bool) @@ -51,5 +51,6 @@ public sealed class ClusterRkeConfigServicesEtcdBackupConfigGetArgs : Pulumi.Res public ClusterRkeConfigServicesEtcdBackupConfigGetArgs() { } + public static new ClusterRkeConfigServicesEtcdBackupConfigGetArgs Empty => new ClusterRkeConfigServicesEtcdBackupConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs.cs index 3cb539bf2..ea2facdb4 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs : global::Pulumi.ResourceArgs { + [Input("accessKey")] + private Input? _accessKey; + /// /// The AWS Client ID to use (string) /// - [Input("accessKey")] - public Input? AccessKey { get; set; } + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Bucket name for S3 service (string) @@ -48,14 +58,25 @@ public sealed class ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs : [Input("region")] public Input? Region { get; set; } + [Input("secretKey")] + private Input? _secretKey; + /// /// The AWS Client Secret associated with the Client ID (string) /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs() { } + public static new ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs Empty => new ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs.cs index d1b635285..455415c55 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("accessKey")] + private Input? _accessKey; + /// /// The AWS Client ID to use (string) /// - [Input("accessKey")] - public Input? AccessKey { get; set; } + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Bucket name for S3 service (string) @@ -48,14 +58,25 @@ public sealed class ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArg [Input("region")] public Input? Region { get; set; } + [Input("secretKey")] + private Input? _secretKey; + /// /// The AWS Client Secret associated with the Client ID (string) /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs() { } + public static new ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs Empty => new ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdGetArgs.cs index ea9ba59aa..68e9678c8 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesEtcdGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesEtcdGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesEtcdGetArgs : global::Pulumi.ResourceArgs { /// /// Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) @@ -24,11 +24,21 @@ public sealed class ClusterRkeConfigServicesEtcdGetArgs : Pulumi.ResourceArgs [Input("caCert")] public Input? CaCert { get; set; } + [Input("cert")] + private Input? _cert; + /// /// TLS certificate for etcd service (string) /// - [Input("cert")] - public Input? Cert { get; set; } + public Input? Cert + { + get => _cert; + set + { + var emptySecret = Output.CreateSecret(0); + _cert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Creation option for etcd service (string) @@ -96,11 +106,21 @@ public InputList ExtraEnvs [Input("image")] public Input? Image { get; set; } + [Input("key")] + private Input? _key; + /// /// The GKE taint key (string) /// - [Input("key")] - public Input? Key { get; set; } + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) @@ -129,5 +149,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesEtcdGetArgs() { } + public static new ClusterRkeConfigServicesEtcdGetArgs Empty => new ClusterRkeConfigServicesEtcdGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesGetArgs.cs index b8e05e4a9..2c42c62e6 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesGetArgs : global::Pulumi.ResourceArgs { /// /// Etcd options for RKE services (list maxitems:1) @@ -51,5 +51,6 @@ public sealed class ClusterRkeConfigServicesGetArgs : Pulumi.ResourceArgs public ClusterRkeConfigServicesGetArgs() { } + public static new ClusterRkeConfigServicesGetArgs Empty => new ClusterRkeConfigServicesGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiArgs.cs index 6bf74d97d..fe30ca0ff 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeApiArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeApiArgs : global::Pulumi.ResourceArgs { [Input("admissionConfiguration")] private InputMap? _admissionConfiguration; @@ -111,5 +111,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesKubeApiArgs() { } + public static new ClusterRkeConfigServicesKubeApiArgs Empty => new ClusterRkeConfigServicesKubeApiArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogArgs.cs index 9a039eb01..fe08f49c3 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeApiAuditLogArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeApiAuditLogArgs : global::Pulumi.ResourceArgs { /// /// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigServicesKubeApiAuditLogArgs : Pulumi.Resourc public ClusterRkeConfigServicesKubeApiAuditLogArgs() { } + public static new ClusterRkeConfigServicesKubeApiAuditLogArgs Empty => new ClusterRkeConfigServicesKubeApiAuditLogArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs.cs index 5befd3285..6506bd928 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs : global::Pulumi.ResourceArgs { /// /// Audit log format. Default: 'json' (string) @@ -51,5 +51,6 @@ public sealed class ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs : P public ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs() { } + public static new ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs Empty => new ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogConfigurationGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogConfigurationGetArgs.cs index 03a773735..f9ddd1a82 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogConfigurationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogConfigurationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeApiAuditLogConfigurationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeApiAuditLogConfigurationGetArgs : global::Pulumi.ResourceArgs { /// /// Audit log format. Default: 'json' (string) @@ -51,5 +51,6 @@ public sealed class ClusterRkeConfigServicesKubeApiAuditLogConfigurationGetArgs public ClusterRkeConfigServicesKubeApiAuditLogConfigurationGetArgs() { } + public static new ClusterRkeConfigServicesKubeApiAuditLogConfigurationGetArgs Empty => new ClusterRkeConfigServicesKubeApiAuditLogConfigurationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogGetArgs.cs index b46bff75a..a33035f19 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeApiAuditLogGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeApiAuditLogGetArgs : global::Pulumi.ResourceArgs { /// /// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigServicesKubeApiAuditLogGetArgs : Pulumi.Reso public ClusterRkeConfigServicesKubeApiAuditLogGetArgs() { } + public static new ClusterRkeConfigServicesKubeApiAuditLogGetArgs Empty => new ClusterRkeConfigServicesKubeApiAuditLogGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiEventRateLimitArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiEventRateLimitArgs.cs index 0292ca64d..3760a1f44 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiEventRateLimitArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiEventRateLimitArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeApiEventRateLimitArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeApiEventRateLimitArgs : global::Pulumi.ResourceArgs { /// /// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigServicesKubeApiEventRateLimitArgs : Pulumi.R public ClusterRkeConfigServicesKubeApiEventRateLimitArgs() { } + public static new ClusterRkeConfigServicesKubeApiEventRateLimitArgs Empty => new ClusterRkeConfigServicesKubeApiEventRateLimitArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiEventRateLimitGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiEventRateLimitGetArgs.cs index ce4f88cb4..c3f9fad8a 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiEventRateLimitGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiEventRateLimitGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeApiEventRateLimitGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeApiEventRateLimitGetArgs : global::Pulumi.ResourceArgs { /// /// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigServicesKubeApiEventRateLimitGetArgs : Pulum public ClusterRkeConfigServicesKubeApiEventRateLimitGetArgs() { } + public static new ClusterRkeConfigServicesKubeApiEventRateLimitGetArgs Empty => new ClusterRkeConfigServicesKubeApiEventRateLimitGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiGetArgs.cs index 4c07e5734..efad3be79 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeApiGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeApiGetArgs : global::Pulumi.ResourceArgs { [Input("admissionConfiguration")] private InputMap? _admissionConfiguration; @@ -111,5 +111,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesKubeApiGetArgs() { } + public static new ClusterRkeConfigServicesKubeApiGetArgs Empty => new ClusterRkeConfigServicesKubeApiGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs.cs index 37b79cbf5..0458f215b 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs : global::Pulumi.ResourceArgs { /// /// Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs : public ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs() { } + public static new ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs Empty => new ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs.cs index ad03b4cb4..02a0723fb 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: @@ -27,5 +27,6 @@ public sealed class ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigGetArg public ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs() { } + public static new ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs Empty => new ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeControllerArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeControllerArgs.cs index 898efbc7a..812aded25 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeControllerArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeControllerArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeControllerArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeControllerArgs : global::Pulumi.ResourceArgs { /// /// Cluster CIDR option for kube controller service (string) @@ -69,5 +69,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesKubeControllerArgs() { } + public static new ClusterRkeConfigServicesKubeControllerArgs Empty => new ClusterRkeConfigServicesKubeControllerArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeControllerGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeControllerGetArgs.cs index 598504000..742aea106 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeControllerGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeControllerGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeControllerGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeControllerGetArgs : global::Pulumi.ResourceArgs { /// /// Cluster CIDR option for kube controller service (string) @@ -69,5 +69,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesKubeControllerGetArgs() { } + public static new ClusterRkeConfigServicesKubeControllerGetArgs Empty => new ClusterRkeConfigServicesKubeControllerGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeletArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeletArgs.cs index f7b9dc6a1..be28c0fdf 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeletArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeletArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeletArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeletArgs : global::Pulumi.ResourceArgs { /// /// Cluster DNS Server option for kubelet service (string) @@ -87,5 +87,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesKubeletArgs() { } + public static new ClusterRkeConfigServicesKubeletArgs Empty => new ClusterRkeConfigServicesKubeletArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeletGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeletGetArgs.cs index ef692e7bf..7142379f2 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeletGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeletGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeletGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeletGetArgs : global::Pulumi.ResourceArgs { /// /// Cluster DNS Server option for kubelet service (string) @@ -87,5 +87,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesKubeletGetArgs() { } + public static new ClusterRkeConfigServicesKubeletGetArgs Empty => new ClusterRkeConfigServicesKubeletGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeproxyArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeproxyArgs.cs index e59a215dd..df63cca7e 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeproxyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeproxyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeproxyArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeproxyArgs : global::Pulumi.ResourceArgs { [Input("extraArgs")] private InputMap? _extraArgs; @@ -57,5 +57,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesKubeproxyArgs() { } + public static new ClusterRkeConfigServicesKubeproxyArgs Empty => new ClusterRkeConfigServicesKubeproxyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeproxyGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeproxyGetArgs.cs index 54e47182d..86cd0c5b6 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeproxyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeproxyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesKubeproxyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesKubeproxyGetArgs : global::Pulumi.ResourceArgs { [Input("extraArgs")] private InputMap? _extraArgs; @@ -57,5 +57,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesKubeproxyGetArgs() { } + public static new ClusterRkeConfigServicesKubeproxyGetArgs Empty => new ClusterRkeConfigServicesKubeproxyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesSchedulerArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesSchedulerArgs.cs index 2aefabdeb..e2e0a9feb 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesSchedulerArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesSchedulerArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesSchedulerArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesSchedulerArgs : global::Pulumi.ResourceArgs { [Input("extraArgs")] private InputMap? _extraArgs; @@ -57,5 +57,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesSchedulerArgs() { } + public static new ClusterRkeConfigServicesSchedulerArgs Empty => new ClusterRkeConfigServicesSchedulerArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigServicesSchedulerGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigServicesSchedulerGetArgs.cs index f5348e30e..f6b291550 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigServicesSchedulerGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigServicesSchedulerGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigServicesSchedulerGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigServicesSchedulerGetArgs : global::Pulumi.ResourceArgs { [Input("extraArgs")] private InputMap? _extraArgs; @@ -57,5 +57,6 @@ public InputList ExtraEnvs public ClusterRkeConfigServicesSchedulerGetArgs() { } + public static new ClusterRkeConfigServicesSchedulerGetArgs Empty => new ClusterRkeConfigServicesSchedulerGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyArgs.cs index 375a67a84..50033c616 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigUpgradeStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigUpgradeStrategyArgs : global::Pulumi.ResourceArgs { /// /// RKE drain nodes. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterRkeConfigUpgradeStrategyArgs : Pulumi.ResourceArgs public ClusterRkeConfigUpgradeStrategyArgs() { } + public static new ClusterRkeConfigUpgradeStrategyArgs Empty => new ClusterRkeConfigUpgradeStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyDrainInputArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyDrainInputArgs.cs index 15af574c9..4e5cd490f 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyDrainInputArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyDrainInputArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigUpgradeStrategyDrainInputArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigUpgradeStrategyDrainInputArgs : global::Pulumi.ResourceArgs { /// /// Delete RKE node local data. Default: `false` (bool) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigUpgradeStrategyDrainInputArgs : Pulumi.Resou public ClusterRkeConfigUpgradeStrategyDrainInputArgs() { } + public static new ClusterRkeConfigUpgradeStrategyDrainInputArgs Empty => new ClusterRkeConfigUpgradeStrategyDrainInputArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyDrainInputGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyDrainInputGetArgs.cs index a7f610f27..357fbd2f0 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyDrainInputGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyDrainInputGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigUpgradeStrategyDrainInputGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigUpgradeStrategyDrainInputGetArgs : global::Pulumi.ResourceArgs { /// /// Delete RKE node local data. Default: `false` (bool) @@ -45,5 +45,6 @@ public sealed class ClusterRkeConfigUpgradeStrategyDrainInputGetArgs : Pulumi.Re public ClusterRkeConfigUpgradeStrategyDrainInputGetArgs() { } + public static new ClusterRkeConfigUpgradeStrategyDrainInputGetArgs Empty => new ClusterRkeConfigUpgradeStrategyDrainInputGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyGetArgs.cs index 9c485f58f..3d749d0dd 100644 --- a/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterRkeConfigUpgradeStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterRkeConfigUpgradeStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterRkeConfigUpgradeStrategyGetArgs : global::Pulumi.ResourceArgs { /// /// RKE drain nodes. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterRkeConfigUpgradeStrategyGetArgs : Pulumi.ResourceArgs public ClusterRkeConfigUpgradeStrategyGetArgs() { } + public static new ClusterRkeConfigUpgradeStrategyGetArgs Empty => new ClusterRkeConfigUpgradeStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterScheduledClusterScanArgs.cs b/sdk/dotnet/Inputs/ClusterScheduledClusterScanArgs.cs index 6d1062cbe..dd6a4c3f5 100644 --- a/sdk/dotnet/Inputs/ClusterScheduledClusterScanArgs.cs +++ b/sdk/dotnet/Inputs/ClusterScheduledClusterScanArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterScheduledClusterScanArgs : Pulumi.ResourceArgs + public sealed class ClusterScheduledClusterScanArgs : global::Pulumi.ResourceArgs { /// /// Enable scheduled cluster scan. Default: `false` (bool) @@ -33,5 +33,6 @@ public sealed class ClusterScheduledClusterScanArgs : Pulumi.ResourceArgs public ClusterScheduledClusterScanArgs() { } + public static new ClusterScheduledClusterScanArgs Empty => new ClusterScheduledClusterScanArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterScheduledClusterScanGetArgs.cs b/sdk/dotnet/Inputs/ClusterScheduledClusterScanGetArgs.cs index c6d0be089..f8f35a0ea 100644 --- a/sdk/dotnet/Inputs/ClusterScheduledClusterScanGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterScheduledClusterScanGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterScheduledClusterScanGetArgs : Pulumi.ResourceArgs + public sealed class ClusterScheduledClusterScanGetArgs : global::Pulumi.ResourceArgs { /// /// Enable scheduled cluster scan. Default: `false` (bool) @@ -33,5 +33,6 @@ public sealed class ClusterScheduledClusterScanGetArgs : Pulumi.ResourceArgs public ClusterScheduledClusterScanGetArgs() { } + public static new ClusterScheduledClusterScanGetArgs Empty => new ClusterScheduledClusterScanGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigArgs.cs b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigArgs.cs index a5c75b33c..86f99ecc6 100644 --- a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterScheduledClusterScanScanConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterScheduledClusterScanScanConfigArgs : global::Pulumi.ResourceArgs { /// /// Cluster Cis Scan config (List maxitems:1) @@ -21,5 +21,6 @@ public sealed class ClusterScheduledClusterScanScanConfigArgs : Pulumi.ResourceA public ClusterScheduledClusterScanScanConfigArgs() { } + public static new ClusterScheduledClusterScanScanConfigArgs Empty => new ClusterScheduledClusterScanScanConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigCisScanConfigArgs.cs b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigCisScanConfigArgs.cs index 485f342f7..703e19ada 100644 --- a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigCisScanConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigCisScanConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterScheduledClusterScanScanConfigCisScanConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterScheduledClusterScanScanConfigCisScanConfigArgs : global::Pulumi.ResourceArgs { /// /// Debug master. Default: `false` (bool) @@ -51,5 +51,6 @@ public InputList OverrideSkips public ClusterScheduledClusterScanScanConfigCisScanConfigArgs() { } + public static new ClusterScheduledClusterScanScanConfigCisScanConfigArgs Empty => new ClusterScheduledClusterScanScanConfigCisScanConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigCisScanConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigCisScanConfigGetArgs.cs index 2bcadf9c1..f0a7be43e 100644 --- a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigCisScanConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigCisScanConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterScheduledClusterScanScanConfigCisScanConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterScheduledClusterScanScanConfigCisScanConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Debug master. Default: `false` (bool) @@ -51,5 +51,6 @@ public InputList OverrideSkips public ClusterScheduledClusterScanScanConfigCisScanConfigGetArgs() { } + public static new ClusterScheduledClusterScanScanConfigCisScanConfigGetArgs Empty => new ClusterScheduledClusterScanScanConfigCisScanConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigGetArgs.cs index 133379d8b..1295545a7 100644 --- a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScanConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterScheduledClusterScanScanConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterScheduledClusterScanScanConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Cluster Cis Scan config (List maxitems:1) @@ -21,5 +21,6 @@ public sealed class ClusterScheduledClusterScanScanConfigGetArgs : Pulumi.Resour public ClusterScheduledClusterScanScanConfigGetArgs() { } + public static new ClusterScheduledClusterScanScanConfigGetArgs Empty => new ClusterScheduledClusterScanScanConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScheduleConfigArgs.cs b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScheduleConfigArgs.cs index 66435b6ac..a1348f860 100644 --- a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScheduleConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScheduleConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterScheduledClusterScanScheduleConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterScheduledClusterScanScheduleConfigArgs : global::Pulumi.ResourceArgs { /// /// Crontab schedule. It should contains 5 fields `"<min> <hour> <month_day> <month> <week_day>"` (string) @@ -27,5 +27,6 @@ public sealed class ClusterScheduledClusterScanScheduleConfigArgs : Pulumi.Resou public ClusterScheduledClusterScanScheduleConfigArgs() { } + public static new ClusterScheduledClusterScanScheduleConfigArgs Empty => new ClusterScheduledClusterScanScheduleConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScheduleConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScheduleConfigGetArgs.cs index 2cb35e6f1..b6b3bc4b0 100644 --- a/sdk/dotnet/Inputs/ClusterScheduledClusterScanScheduleConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterScheduledClusterScanScheduleConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterScheduledClusterScanScheduleConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterScheduledClusterScanScheduleConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Crontab schedule. It should contains 5 fields `"<min> <hour> <month_day> <month> <week_day>"` (string) @@ -27,5 +27,6 @@ public sealed class ClusterScheduledClusterScanScheduleConfigGetArgs : Pulumi.Re public ClusterScheduledClusterScanScheduleConfigGetArgs() { } + public static new ClusterScheduledClusterScanScheduleConfigGetArgs Empty => new ClusterScheduledClusterScanScheduleConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterSyncNodeArgs.cs b/sdk/dotnet/Inputs/ClusterSyncNodeArgs.cs index 6a0e35f61..f8b649015 100644 --- a/sdk/dotnet/Inputs/ClusterSyncNodeArgs.cs +++ b/sdk/dotnet/Inputs/ClusterSyncNodeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterSyncNodeArgs : Pulumi.ResourceArgs + public sealed class ClusterSyncNodeArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -120,11 +120,21 @@ public InputList Roles set => _roles = value; } + [Input("sshUser")] + private Input? _sshUser; + /// /// The user to connect to the node (string). /// - [Input("sshUser")] - public Input? SshUser { get; set; } + public Input? SshUser + { + get => _sshUser; + set + { + var emptySecret = Output.CreateSecret(0); + _sshUser = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("systemInfo")] private InputMap? _systemInfo; @@ -141,5 +151,6 @@ public InputMap SystemInfo public ClusterSyncNodeArgs() { } + public static new ClusterSyncNodeArgs Empty => new ClusterSyncNodeArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterSyncNodeGetArgs.cs b/sdk/dotnet/Inputs/ClusterSyncNodeGetArgs.cs index 58d3a6d05..982acd829 100644 --- a/sdk/dotnet/Inputs/ClusterSyncNodeGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterSyncNodeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterSyncNodeGetArgs : Pulumi.ResourceArgs + public sealed class ClusterSyncNodeGetArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -120,11 +120,21 @@ public InputList Roles set => _roles = value; } + [Input("sshUser")] + private Input? _sshUser; + /// /// The user to connect to the node (string). /// - [Input("sshUser")] - public Input? SshUser { get; set; } + public Input? SshUser + { + get => _sshUser; + set + { + var emptySecret = Output.CreateSecret(0); + _sshUser = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("systemInfo")] private InputMap? _systemInfo; @@ -141,5 +151,6 @@ public InputMap SystemInfo public ClusterSyncNodeGetArgs() { } + public static new ClusterSyncNodeGetArgs Empty => new ClusterSyncNodeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateMemberArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateMemberArgs.cs index a9a18df11..357e696c1 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateMemberArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateMemberArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateMemberArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateMemberArgs : global::Pulumi.ResourceArgs { /// /// Member access type. Valid values: `["read-only" | "owner"]` (string) @@ -33,5 +33,6 @@ public sealed class ClusterTemplateMemberArgs : Pulumi.ResourceArgs public ClusterTemplateMemberArgs() { } + public static new ClusterTemplateMemberArgs Empty => new ClusterTemplateMemberArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateMemberGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateMemberGetArgs.cs index 3ec689a4c..5aa912f20 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateMemberGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateMemberGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateMemberGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateMemberGetArgs : global::Pulumi.ResourceArgs { /// /// Member access type. Valid values: `["read-only" | "owner"]` (string) @@ -33,5 +33,6 @@ public sealed class ClusterTemplateMemberGetArgs : Pulumi.ResourceArgs public ClusterTemplateMemberGetArgs() { } + public static new ClusterTemplateMemberGetArgs Empty => new ClusterTemplateMemberGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionArgs.cs index 6a22f1694..5ddc1d494 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -87,5 +87,6 @@ public InputList Questions public ClusterTemplateTemplateRevisionArgs() { } + public static new ClusterTemplateTemplateRevisionArgs Empty => new ClusterTemplateTemplateRevisionArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigArgs.cs index 983b35d08..35de75dc8 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigArgs : global::Pulumi.ResourceArgs { /// /// Local cluster auth endpoint (list maxitems: 1) @@ -87,5 +87,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigArgs : Pulumi.Re public ClusterTemplateTemplateRevisionClusterConfigArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs.cs index 2f20abca5..7187a8914 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs : global::Pulumi.ResourceArgs { [Input("caCerts")] public Input? CaCerts { get; set; } @@ -27,5 +27,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpo public ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointGetArgs.cs index 449f43dd2..bf9f69767 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointGetArgs : global::Pulumi.ResourceArgs { [Input("caCerts")] public Input? CaCerts { get; set; } @@ -27,5 +27,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpo public ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigGetArgs.cs index c365d5f84..3142ae90a 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Local cluster auth endpoint (list maxitems: 1) @@ -87,5 +87,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigGetArgs : Pulumi public ClusterTemplateTemplateRevisionClusterConfigGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.cs index 8d7b3fd07..bfeb04a78 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs : global::Pulumi.ResourceArgs { [Input("addonJobTimeout")] public Input? AddonJobTimeout { get; set; } @@ -99,5 +99,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs.cs index 2900edfaa..1aabf25f9 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs : global::Pulumi.ResourceArgs { [Input("sans")] private InputList? _sans; @@ -26,5 +26,6 @@ public InputList Sans public ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationGetArgs.cs index 9455f570c..c8be239cc 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationGetArgs : global::Pulumi.ResourceArgs { [Input("sans")] private InputList? _sans; @@ -26,5 +26,6 @@ public InputList Sans public ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs.cs index 8ab4fde47..e8624bebf 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs : global::Pulumi.ResourceArgs { [Input("mode")] public Input? Mode { get; set; } @@ -26,5 +26,6 @@ public InputMap Options public ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationGetArgs.cs index 841d05a22..e6681f6b9 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationGetArgs : global::Pulumi.ResourceArgs { [Input("mode")] public Input? Mode { get; set; } @@ -26,5 +26,6 @@ public InputMap Options public ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs.cs index 2a93cfbe5..00b9909ea 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs : global::Pulumi.ResourceArgs { [Input("address", required: true)] public Input Address { get; set; } = null!; @@ -22,7 +22,16 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastion public Input? SshAgentAuth { get; set; } [Input("sshKey")] - public Input? SshKey { get; set; } + private Input? _sshKey; + public Input? SshKey + { + get => _sshKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("sshKeyPath")] public Input? SshKeyPath { get; set; } @@ -33,5 +42,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastion public ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostGetArgs.cs index 64c6ddb7d..bf47fb0ba 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostGetArgs : global::Pulumi.ResourceArgs { [Input("address", required: true)] public Input Address { get; set; } = null!; @@ -22,7 +22,16 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastion public Input? SshAgentAuth { get; set; } [Input("sshKey")] - public Input? SshKey { get; set; } + private Input? _sshKey; + public Input? SshKey + { + get => _sshKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("sshKeyPath")] public Input? SshKeyPath { get; set; } @@ -33,5 +42,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastion public ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs.cs index 68a70a74a..7925d3d11 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs : global::Pulumi.ResourceArgs { [Input("awsCloudProvider")] public Input? AwsCloudProvider { get; set; } @@ -36,5 +36,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs.cs index b802e0011..ede2db9f3 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs : global::Pulumi.ResourceArgs { [Input("global")] public Input? Global { get; set; } @@ -26,5 +26,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGetArgs.cs index f1ae9e687..44e85ad90 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGetArgs : global::Pulumi.ResourceArgs { [Input("global")] public Input? Global { get; set; } @@ -26,5 +26,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs.cs index 6ad54d40b..23882e6b3 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs : global::Pulumi.ResourceArgs { [Input("disableSecurityGroupIngress")] public Input? DisableSecurityGroupIngress { get; set; } @@ -45,5 +45,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs.cs index ad497087f..2bb2bfe33 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs : global::Pulumi.ResourceArgs { [Input("disableSecurityGroupIngress")] public Input? DisableSecurityGroupIngress { get; set; } @@ -45,5 +45,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs.cs index 184a878c4..b1953694f 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs : global::Pulumi.ResourceArgs { [Input("region")] public Input? Region { get; set; } @@ -33,5 +33,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs.cs index 5f49bb201..512e5d876 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs : global::Pulumi.ResourceArgs { [Input("region")] public Input? Region { get; set; } @@ -33,5 +33,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs.cs index 0e15f4726..f04b583e3 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs.cs @@ -10,19 +10,46 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs : global::Pulumi.ResourceArgs { [Input("aadClientCertPassword")] - public Input? AadClientCertPassword { get; set; } + private Input? _aadClientCertPassword; + public Input? AadClientCertPassword + { + get => _aadClientCertPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientCertPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("aadClientCertPath")] public Input? AadClientCertPath { get; set; } [Input("aadClientId", required: true)] - public Input AadClientId { get; set; } = null!; + private Input? _aadClientId; + public Input? AadClientId + { + get => _aadClientId; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("aadClientSecret", required: true)] - public Input AadClientSecret { get; set; } = null!; + private Input? _aadClientSecret; + public Input? AadClientSecret + { + get => _aadClientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("cloud")] public Input? Cloud { get; set; } @@ -79,10 +106,28 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input? SubnetName { get; set; } [Input("subscriptionId", required: true)] - public Input SubscriptionId { get; set; } = null!; + private Input? _subscriptionId; + public Input? SubscriptionId + { + get => _subscriptionId; + set + { + var emptySecret = Output.CreateSecret(0); + _subscriptionId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("tenantId", required: true)] - public Input TenantId { get; set; } = null!; + private Input? _tenantId; + public Input? TenantId + { + get => _tenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _tenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("useInstanceMetadata")] public Input? UseInstanceMetadata { get; set; } @@ -102,5 +147,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderGetArgs.cs index f34c598fd..da653cc77 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderGetArgs.cs @@ -10,19 +10,46 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderGetArgs : global::Pulumi.ResourceArgs { [Input("aadClientCertPassword")] - public Input? AadClientCertPassword { get; set; } + private Input? _aadClientCertPassword; + public Input? AadClientCertPassword + { + get => _aadClientCertPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientCertPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("aadClientCertPath")] public Input? AadClientCertPath { get; set; } [Input("aadClientId", required: true)] - public Input AadClientId { get; set; } = null!; + private Input? _aadClientId; + public Input? AadClientId + { + get => _aadClientId; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("aadClientSecret", required: true)] - public Input AadClientSecret { get; set; } = null!; + private Input? _aadClientSecret; + public Input? AadClientSecret + { + get => _aadClientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _aadClientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("cloud")] public Input? Cloud { get; set; } @@ -79,10 +106,28 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input? SubnetName { get; set; } [Input("subscriptionId", required: true)] - public Input SubscriptionId { get; set; } = null!; + private Input? _subscriptionId; + public Input? SubscriptionId + { + get => _subscriptionId; + set + { + var emptySecret = Output.CreateSecret(0); + _subscriptionId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("tenantId", required: true)] - public Input TenantId { get; set; } = null!; + private Input? _tenantId; + public Input? TenantId + { + get => _tenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _tenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("useInstanceMetadata")] public Input? UseInstanceMetadata { get; set; } @@ -102,5 +147,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderGetArgs.cs index f9e5323db..2e7cdfb5e 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderGetArgs : global::Pulumi.ResourceArgs { [Input("awsCloudProvider")] public Input? AwsCloudProvider { get; set; } @@ -36,5 +36,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs.cs index 3cc211017..caf6e0646 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs : global::Pulumi.ResourceArgs { [Input("blockStorage")] public Input? BlockStorage { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs.cs index ac8d65287..34fd7c836 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs : global::Pulumi.ResourceArgs { [Input("bsVersion")] public Input? BsVersion { get; set; } @@ -24,5 +24,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs.cs index baf760f4b..c8efd7499 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs : global::Pulumi.ResourceArgs { [Input("bsVersion")] public Input? BsVersion { get; set; } @@ -24,5 +24,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGetArgs.cs index b82ef9681..108d9abd5 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGetArgs : global::Pulumi.ResourceArgs { [Input("blockStorage")] public Input? BlockStorage { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs.cs index fcc6867f2..625f8e400 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs : global::Pulumi.ResourceArgs { [Input("authUrl", required: true)] public Input AuthUrl { get; set; } = null!; @@ -19,31 +19,77 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input? CaFile { get; set; } [Input("domainId")] - public Input? DomainId { get; set; } + private Input? _domainId; + public Input? DomainId + { + get => _domainId; + set + { + var emptySecret = Output.CreateSecret(0); + _domainId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("domainName")] public Input? DomainName { get; set; } [Input("password", required: true)] - public Input Password { get; set; } = null!; + private Input? _password; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("region")] public Input? Region { get; set; } [Input("tenantId")] - public Input? TenantId { get; set; } + private Input? _tenantId; + public Input? TenantId + { + get => _tenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _tenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("tenantName")] public Input? TenantName { get; set; } [Input("trustId")] - public Input? TrustId { get; set; } + private Input? _trustId; + public Input? TrustId + { + get => _trustId; + set + { + var emptySecret = Output.CreateSecret(0); + _trustId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("username", required: true)] - public Input Username { get; set; } = null!; + private Input? _username; + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs.cs index 86ab087a3..7f1511c9f 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs : global::Pulumi.ResourceArgs { [Input("authUrl", required: true)] public Input AuthUrl { get; set; } = null!; @@ -19,31 +19,77 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input? CaFile { get; set; } [Input("domainId")] - public Input? DomainId { get; set; } + private Input? _domainId; + public Input? DomainId + { + get => _domainId; + set + { + var emptySecret = Output.CreateSecret(0); + _domainId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("domainName")] public Input? DomainName { get; set; } [Input("password", required: true)] - public Input Password { get; set; } = null!; + private Input? _password; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("region")] public Input? Region { get; set; } [Input("tenantId")] - public Input? TenantId { get; set; } + private Input? _tenantId; + public Input? TenantId + { + get => _tenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _tenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("tenantName")] public Input? TenantName { get; set; } [Input("trustId")] - public Input? TrustId { get; set; } + private Input? _trustId; + public Input? TrustId + { + get => _trustId; + set + { + var emptySecret = Output.CreateSecret(0); + _trustId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("username", required: true)] - public Input Username { get; set; } = null!; + private Input? _username; + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs.cs index bbff9cea1..443889d74 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs : global::Pulumi.ResourceArgs { [Input("createMonitor")] public Input? CreateMonitor { get; set; } @@ -48,5 +48,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs.cs index 8f805c979..872c9a784 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs : global::Pulumi.ResourceArgs { [Input("createMonitor")] public Input? CreateMonitor { get; set; } @@ -48,5 +48,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs.cs index c303f0908..3968fc00a 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs : global::Pulumi.ResourceArgs { [Input("requestTimeout")] public Input? RequestTimeout { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs.cs index a47093edf..39d0aca65 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs : global::Pulumi.ResourceArgs { [Input("requestTimeout")] public Input? RequestTimeout { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs.cs index 82e2010c0..751f79f52 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs : global::Pulumi.ResourceArgs { [Input("routerId")] public Input? RouterId { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs.cs index 2483caebd..88643fa28 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs : global::Pulumi.ResourceArgs { [Input("routerId")] public Input? RouterId { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs.cs index 8db5f413a..805d1f156 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs : global::Pulumi.ResourceArgs { [Input("disk")] public Input? Disk { get; set; } @@ -35,5 +35,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs.cs index 756cfa3f6..046a9f81b 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs : global::Pulumi.ResourceArgs { [Input("scsiControllerType")] public Input? ScsiControllerType { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs.cs index 3776a1218..84c864d95 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs : global::Pulumi.ResourceArgs { [Input("scsiControllerType")] public Input? ScsiControllerType { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGetArgs.cs index fce03d7ae..fb51264b1 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGetArgs : global::Pulumi.ResourceArgs { [Input("disk")] public Input? Disk { get; set; } @@ -35,5 +35,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs.cs index efd9ff742..4e471e3eb 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs : global::Pulumi.ResourceArgs { [Input("datacenters")] public Input? Datacenters { get; set; } @@ -19,7 +19,16 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input? InsecureFlag { get; set; } [Input("password")] - public Input? Password { get; set; } + private Input? _password; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("port")] public Input? Port { get; set; } @@ -28,10 +37,20 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input? SoapRoundtripCount { get; set; } [Input("user")] - public Input? User { get; set; } + private Input? _user; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs.cs index 9bc0d5c47..a66613d3c 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs : global::Pulumi.ResourceArgs { [Input("datacenters")] public Input? Datacenters { get; set; } @@ -19,7 +19,16 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input? InsecureFlag { get; set; } [Input("password")] - public Input? Password { get; set; } + private Input? _password; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("port")] public Input? Port { get; set; } @@ -28,10 +37,20 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input? SoapRoundtripCount { get; set; } [Input("user")] - public Input? User { get; set; } + private Input? _user; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs.cs index 6f71aa22c..00ce626f1 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs : global::Pulumi.ResourceArgs { [Input("publicNetwork")] public Input? PublicNetwork { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs.cs index 64f265274..210be39fa 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs : global::Pulumi.ResourceArgs { [Input("publicNetwork")] public Input? PublicNetwork { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs.cs index c739172ad..a280d931d 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs : global::Pulumi.ResourceArgs { [Input("datacenters", required: true)] public Input Datacenters { get; set; } = null!; @@ -22,7 +22,16 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input Name { get; set; } = null!; [Input("password", required: true)] - public Input Password { get; set; } = null!; + private Input? _password; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("port")] public Input? Port { get; set; } @@ -31,10 +40,20 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input? SoapRoundtripCount { get; set; } [Input("user", required: true)] - public Input User { get; set; } = null!; + private Input? _user; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs.cs index f6a4be654..c1eeda71c 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs : global::Pulumi.ResourceArgs { [Input("datacenters", required: true)] public Input Datacenters { get; set; } = null!; @@ -22,7 +22,16 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input Name { get; set; } = null!; [Input("password", required: true)] - public Input Password { get; set; } = null!; + private Input? _password; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("port")] public Input? Port { get; set; } @@ -31,10 +40,20 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public Input? SoapRoundtripCount { get; set; } [Input("user", required: true)] - public Input User { get; set; } = null!; + private Input? _user; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs.cs index 71fe9b4b9..fe266538c 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs : global::Pulumi.ResourceArgs { [Input("datacenter", required: true)] public Input Datacenter { get; set; } = null!; @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs.cs index 3a5c5ba6c..580f0e6f7 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs : global::Pulumi.ResourceArgs { [Input("datacenter", required: true)] public Input Datacenter { get; set; } = null!; @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudPr public ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs.cs index 9484fcf3e..f52edf748 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs : global::Pulumi.ResourceArgs { [Input("linearAutoscalerParams")] public Input? LinearAutoscalerParams { get; set; } @@ -67,5 +67,6 @@ public InputList UpstreamNameservers public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsGetArgs.cs index a77c2be37..0c96fedf8 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsGetArgs : global::Pulumi.ResourceArgs { [Input("linearAutoscalerParams")] public Input? LinearAutoscalerParams { get; set; } @@ -67,5 +67,6 @@ public InputList UpstreamNameservers public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs.cs index 65ae6a95a..21e05e0cf 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs : global::Pulumi.ResourceArgs { [Input("coresPerReplica")] public Input? CoresPerReplica { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLine public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsGetArgs.cs index ef28e4b88..c1fb734a1 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsGetArgs : global::Pulumi.ResourceArgs { [Input("coresPerReplica")] public Input? CoresPerReplica { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLine public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs.cs index bd2206424..c36711f0f 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs : global::Pulumi.ResourceArgs { [Input("ipAddress")] public Input? IpAddress { get; set; } @@ -26,5 +26,6 @@ public InputMap NodeSelector public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalGetArgs.cs index 655e68aac..8b1cb302c 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalGetArgs : global::Pulumi.ResourceArgs { [Input("ipAddress")] public Input? IpAddress { get; set; } @@ -26,5 +26,6 @@ public InputMap NodeSelector public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs.cs index 13e227a15..0a95e87c9 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs : global::Pulumi.ResourceArgs { [Input("effect")] public Input? Effect { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTole public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationGetArgs.cs index 1cf09bfb6..7127e1e76 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationGetArgs : global::Pulumi.ResourceArgs { [Input("effect")] public Input? Effect { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTole public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs.cs index f2d8c5c55..13a27e5ce 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs : global::Pulumi.ResourceArgs { [Input("rollingUpdate")] public Input? RollingUpdate { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpda public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyGetArgs.cs index 5f6b099ef..4e74817d2 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyGetArgs : global::Pulumi.ResourceArgs { [Input("rollingUpdate")] public Input? RollingUpdate { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpda public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs.cs index 6a6ed5103..ce412b0b6 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs : global::Pulumi.ResourceArgs { [Input("maxSurge")] public Input? MaxSurge { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpda public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateGetArgs.cs index 34cb0eef2..1e8b46d2d 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateGetArgs : global::Pulumi.ResourceArgs { [Input("maxSurge")] public Input? MaxSurge { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpda public ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigGetArgs.cs index e4e2a903e..610dd9276 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigGetArgs : global::Pulumi.ResourceArgs { [Input("addonJobTimeout")] public Input? AddonJobTimeout { get; set; } @@ -99,5 +99,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs.cs index b3c09e696..e98700601 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs : global::Pulumi.ResourceArgs { [Input("defaultBackend")] public Input? DefaultBackend { get; set; } @@ -68,5 +68,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressGetArgs.cs index 9a9e40ea7..87e83e285 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressGetArgs : global::Pulumi.ResourceArgs { [Input("defaultBackend")] public Input? DefaultBackend { get; set; } @@ -68,5 +68,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs.cs index 66a044d5d..36371eb30 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs : global::Pulumi.ResourceArgs { [Input("effect")] public Input? Effect { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress public ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationGetArgs.cs index 35c8917f1..a43e94577 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationGetArgs : global::Pulumi.ResourceArgs { [Input("effect")] public Input? Effect { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress public ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs.cs index bba8b12c1..85bb2b0d2 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs : global::Pulumi.ResourceArgs { [Input("rollingUpdate")] public Input? RollingUpdate { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress public ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyGetArgs.cs index 4cd11c279..5db7ee9c3 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyGetArgs : global::Pulumi.ResourceArgs { [Input("rollingUpdate")] public Input? RollingUpdate { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress public ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs.cs index 06f88ae87..883cff2b9 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs : global::Pulumi.ResourceArgs { [Input("maxUnavailable")] public Input? MaxUnavailable { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress public ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateGetArgs.cs index 878ef059b..cf3062c9d 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateGetArgs : global::Pulumi.ResourceArgs { [Input("maxUnavailable")] public Input? MaxUnavailable { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress public ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs.cs index e9c492f79..3ea4510aa 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs : global::Pulumi.ResourceArgs { [Input("nodeSelector")] private InputMap? _nodeSelector; @@ -48,5 +48,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringGetArgs.cs index 2c9f13ae9..ec03fa6a5 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringGetArgs : global::Pulumi.ResourceArgs { [Input("nodeSelector")] private InputMap? _nodeSelector; @@ -48,5 +48,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs.cs index 92507b04a..1dea82728 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs : global::Pulumi.ResourceArgs { [Input("effect")] public Input? Effect { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitor public ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationGetArgs.cs index a347428ba..e9f4459fb 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationGetArgs : global::Pulumi.ResourceArgs { [Input("effect")] public Input? Effect { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitor public ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs.cs index af364927a..d31cceeb6 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs : global::Pulumi.ResourceArgs { [Input("rollingUpdate")] public Input? RollingUpdate { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitor public ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyGetArgs.cs index 1d2d4fc68..080506a1d 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyGetArgs : global::Pulumi.ResourceArgs { [Input("rollingUpdate")] public Input? RollingUpdate { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitor public ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs.cs index 5322465e4..c88944ee0 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs : global::Pulumi.ResourceArgs { [Input("maxSurge")] public Input? MaxSurge { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitor public ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs.cs index fc9567f24..71d14c5b6 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs : global::Pulumi.ResourceArgs { [Input("maxSurge")] public Input? MaxSurge { get; set; } @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitor public ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs.cs new file mode 100644 index 000000000..b7e00d8ef --- /dev/null +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs.cs @@ -0,0 +1,284 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Inputs +{ + + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs : global::Pulumi.ResourceArgs + { + [Input("aep", required: true)] + public Input Aep { get; set; } = null!; + + [Input("apicHosts", required: true)] + private InputList? _apicHosts; + public InputList ApicHosts + { + get => _apicHosts ?? (_apicHosts = new InputList()); + set => _apicHosts = value; + } + + [Input("apicRefreshTickerAdjust")] + public Input? ApicRefreshTickerAdjust { get; set; } + + [Input("apicRefreshTime")] + public Input? ApicRefreshTime { get; set; } + + [Input("apicSubscriptionDelay")] + public Input? ApicSubscriptionDelay { get; set; } + + [Input("apicUserCrt", required: true)] + private Input? _apicUserCrt; + public Input? ApicUserCrt + { + get => _apicUserCrt; + set + { + var emptySecret = Output.CreateSecret(0); + _apicUserCrt = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("apicUserKey", required: true)] + private Input? _apicUserKey; + public Input? ApicUserKey + { + get => _apicUserKey; + set + { + var emptySecret = Output.CreateSecret(0); + _apicUserKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("apicUserName", required: true)] + public Input ApicUserName { get; set; } = null!; + + [Input("capic")] + public Input? Capic { get; set; } + + [Input("controllerLogLevel")] + public Input? ControllerLogLevel { get; set; } + + [Input("disablePeriodicSnatGlobalInfoSync")] + public Input? DisablePeriodicSnatGlobalInfoSync { get; set; } + + [Input("disableWaitForNetwork")] + public Input? DisableWaitForNetwork { get; set; } + + [Input("dropLogEnable")] + public Input? DropLogEnable { get; set; } + + [Input("durationWaitForNetwork")] + public Input? DurationWaitForNetwork { get; set; } + + [Input("enableEndpointSlice")] + public Input? EnableEndpointSlice { get; set; } + + [Input("encapType", required: true)] + public Input EncapType { get; set; } = null!; + + [Input("epRegistry")] + public Input? EpRegistry { get; set; } + + [Input("externDynamic", required: true)] + public Input ExternDynamic { get; set; } = null!; + + [Input("externStatic", required: true)] + public Input ExternStatic { get; set; } = null!; + + [Input("gbpPodSubnet")] + public Input? GbpPodSubnet { get; set; } + + [Input("hostAgentLogLevel")] + public Input? HostAgentLogLevel { get; set; } + + [Input("imagePullPolicy")] + public Input? ImagePullPolicy { get; set; } + + [Input("imagePullSecret")] + public Input? ImagePullSecret { get; set; } + + [Input("infraVlan")] + public Input? InfraVlan { get; set; } + + [Input("installIstio")] + public Input? InstallIstio { get; set; } + + [Input("istioProfile")] + public Input? IstioProfile { get; set; } + + [Input("kafkaBrokers")] + private InputList? _kafkaBrokers; + public InputList KafkaBrokers + { + get => _kafkaBrokers ?? (_kafkaBrokers = new InputList()); + set => _kafkaBrokers = value; + } + + [Input("kafkaClientCrt")] + public Input? KafkaClientCrt { get; set; } + + [Input("kafkaClientKey")] + public Input? KafkaClientKey { get; set; } + + [Input("kubeApiVlan", required: true)] + public Input KubeApiVlan { get; set; } = null!; + + [Input("l3out", required: true)] + public Input L3out { get; set; } = null!; + + [Input("l3outExternalNetworks", required: true)] + private InputList? _l3outExternalNetworks; + public InputList L3outExternalNetworks + { + get => _l3outExternalNetworks ?? (_l3outExternalNetworks = new InputList()); + set => _l3outExternalNetworks = value; + } + + [Input("maxNodesSvcGraph")] + public Input? MaxNodesSvcGraph { get; set; } + + [Input("mcastRangeEnd", required: true)] + public Input McastRangeEnd { get; set; } = null!; + + [Input("mcastRangeStart", required: true)] + public Input McastRangeStart { get; set; } = null!; + + [Input("mtuHeadRoom")] + public Input? MtuHeadRoom { get; set; } + + [Input("multusDisable")] + public Input? MultusDisable { get; set; } + + [Input("noPriorityClass")] + public Input? NoPriorityClass { get; set; } + + [Input("nodePodIfEnable")] + public Input? NodePodIfEnable { get; set; } + + [Input("nodeSubnet", required: true)] + public Input NodeSubnet { get; set; } = null!; + + [Input("nodeSvcSubnet", required: true)] + public Input NodeSvcSubnet { get; set; } = null!; + + [Input("opflexClientSsl")] + public Input? OpflexClientSsl { get; set; } + + [Input("opflexDeviceDeleteTimeout")] + public Input? OpflexDeviceDeleteTimeout { get; set; } + + [Input("opflexLogLevel")] + public Input? OpflexLogLevel { get; set; } + + [Input("opflexMode")] + public Input? OpflexMode { get; set; } + + [Input("opflexServerPort")] + public Input? OpflexServerPort { get; set; } + + [Input("overlayVrfName")] + public Input? OverlayVrfName { get; set; } + + [Input("ovsMemoryLimit")] + public Input? OvsMemoryLimit { get; set; } + + [Input("pbrTrackingNonSnat")] + public Input? PbrTrackingNonSnat { get; set; } + + [Input("podSubnetChunkSize")] + public Input? PodSubnetChunkSize { get; set; } + + [Input("runGbpContainer")] + public Input? RunGbpContainer { get; set; } + + [Input("runOpflexServerContainer")] + public Input? RunOpflexServerContainer { get; set; } + + [Input("serviceMonitorInterval")] + public Input? ServiceMonitorInterval { get; set; } + + [Input("serviceVlan", required: true)] + public Input ServiceVlan { get; set; } = null!; + + [Input("snatContractScope")] + public Input? SnatContractScope { get; set; } + + [Input("snatNamespace")] + public Input? SnatNamespace { get; set; } + + [Input("snatPortRangeEnd")] + public Input? SnatPortRangeEnd { get; set; } + + [Input("snatPortRangeStart")] + public Input? SnatPortRangeStart { get; set; } + + [Input("snatPortsPerNode")] + public Input? SnatPortsPerNode { get; set; } + + [Input("sriovEnable")] + public Input? SriovEnable { get; set; } + + [Input("subnetDomainName")] + public Input? SubnetDomainName { get; set; } + + [Input("systemId", required: true)] + public Input SystemId { get; set; } = null!; + + [Input("tenant")] + public Input? Tenant { get; set; } + + [Input("token", required: true)] + private Input? _token; + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("useAciAnywhereCrd")] + public Input? UseAciAnywhereCrd { get; set; } + + [Input("useAciCniPriorityClass")] + public Input? UseAciCniPriorityClass { get; set; } + + [Input("useClusterRole")] + public Input? UseClusterRole { get; set; } + + [Input("useHostNetnsVolume")] + public Input? UseHostNetnsVolume { get; set; } + + [Input("useOpflexServerVolume")] + public Input? UseOpflexServerVolume { get; set; } + + [Input("usePrivilegedContainer")] + public Input? UsePrivilegedContainer { get; set; } + + [Input("vmmController")] + public Input? VmmController { get; set; } + + [Input("vmmDomain")] + public Input? VmmDomain { get; set; } + + [Input("vrfName", required: true)] + public Input VrfName { get; set; } = null!; + + [Input("vrfTenant", required: true)] + public Input VrfTenant { get; set; } = null!; + + public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs() + { + } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderGetArgs.cs new file mode 100644 index 000000000..a523ef65b --- /dev/null +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderGetArgs.cs @@ -0,0 +1,284 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Inputs +{ + + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderGetArgs : global::Pulumi.ResourceArgs + { + [Input("aep", required: true)] + public Input Aep { get; set; } = null!; + + [Input("apicHosts", required: true)] + private InputList? _apicHosts; + public InputList ApicHosts + { + get => _apicHosts ?? (_apicHosts = new InputList()); + set => _apicHosts = value; + } + + [Input("apicRefreshTickerAdjust")] + public Input? ApicRefreshTickerAdjust { get; set; } + + [Input("apicRefreshTime")] + public Input? ApicRefreshTime { get; set; } + + [Input("apicSubscriptionDelay")] + public Input? ApicSubscriptionDelay { get; set; } + + [Input("apicUserCrt", required: true)] + private Input? _apicUserCrt; + public Input? ApicUserCrt + { + get => _apicUserCrt; + set + { + var emptySecret = Output.CreateSecret(0); + _apicUserCrt = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("apicUserKey", required: true)] + private Input? _apicUserKey; + public Input? ApicUserKey + { + get => _apicUserKey; + set + { + var emptySecret = Output.CreateSecret(0); + _apicUserKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("apicUserName", required: true)] + public Input ApicUserName { get; set; } = null!; + + [Input("capic")] + public Input? Capic { get; set; } + + [Input("controllerLogLevel")] + public Input? ControllerLogLevel { get; set; } + + [Input("disablePeriodicSnatGlobalInfoSync")] + public Input? DisablePeriodicSnatGlobalInfoSync { get; set; } + + [Input("disableWaitForNetwork")] + public Input? DisableWaitForNetwork { get; set; } + + [Input("dropLogEnable")] + public Input? DropLogEnable { get; set; } + + [Input("durationWaitForNetwork")] + public Input? DurationWaitForNetwork { get; set; } + + [Input("enableEndpointSlice")] + public Input? EnableEndpointSlice { get; set; } + + [Input("encapType", required: true)] + public Input EncapType { get; set; } = null!; + + [Input("epRegistry")] + public Input? EpRegistry { get; set; } + + [Input("externDynamic", required: true)] + public Input ExternDynamic { get; set; } = null!; + + [Input("externStatic", required: true)] + public Input ExternStatic { get; set; } = null!; + + [Input("gbpPodSubnet")] + public Input? GbpPodSubnet { get; set; } + + [Input("hostAgentLogLevel")] + public Input? HostAgentLogLevel { get; set; } + + [Input("imagePullPolicy")] + public Input? ImagePullPolicy { get; set; } + + [Input("imagePullSecret")] + public Input? ImagePullSecret { get; set; } + + [Input("infraVlan")] + public Input? InfraVlan { get; set; } + + [Input("installIstio")] + public Input? InstallIstio { get; set; } + + [Input("istioProfile")] + public Input? IstioProfile { get; set; } + + [Input("kafkaBrokers")] + private InputList? _kafkaBrokers; + public InputList KafkaBrokers + { + get => _kafkaBrokers ?? (_kafkaBrokers = new InputList()); + set => _kafkaBrokers = value; + } + + [Input("kafkaClientCrt")] + public Input? KafkaClientCrt { get; set; } + + [Input("kafkaClientKey")] + public Input? KafkaClientKey { get; set; } + + [Input("kubeApiVlan", required: true)] + public Input KubeApiVlan { get; set; } = null!; + + [Input("l3out", required: true)] + public Input L3out { get; set; } = null!; + + [Input("l3outExternalNetworks", required: true)] + private InputList? _l3outExternalNetworks; + public InputList L3outExternalNetworks + { + get => _l3outExternalNetworks ?? (_l3outExternalNetworks = new InputList()); + set => _l3outExternalNetworks = value; + } + + [Input("maxNodesSvcGraph")] + public Input? MaxNodesSvcGraph { get; set; } + + [Input("mcastRangeEnd", required: true)] + public Input McastRangeEnd { get; set; } = null!; + + [Input("mcastRangeStart", required: true)] + public Input McastRangeStart { get; set; } = null!; + + [Input("mtuHeadRoom")] + public Input? MtuHeadRoom { get; set; } + + [Input("multusDisable")] + public Input? MultusDisable { get; set; } + + [Input("noPriorityClass")] + public Input? NoPriorityClass { get; set; } + + [Input("nodePodIfEnable")] + public Input? NodePodIfEnable { get; set; } + + [Input("nodeSubnet", required: true)] + public Input NodeSubnet { get; set; } = null!; + + [Input("nodeSvcSubnet", required: true)] + public Input NodeSvcSubnet { get; set; } = null!; + + [Input("opflexClientSsl")] + public Input? OpflexClientSsl { get; set; } + + [Input("opflexDeviceDeleteTimeout")] + public Input? OpflexDeviceDeleteTimeout { get; set; } + + [Input("opflexLogLevel")] + public Input? OpflexLogLevel { get; set; } + + [Input("opflexMode")] + public Input? OpflexMode { get; set; } + + [Input("opflexServerPort")] + public Input? OpflexServerPort { get; set; } + + [Input("overlayVrfName")] + public Input? OverlayVrfName { get; set; } + + [Input("ovsMemoryLimit")] + public Input? OvsMemoryLimit { get; set; } + + [Input("pbrTrackingNonSnat")] + public Input? PbrTrackingNonSnat { get; set; } + + [Input("podSubnetChunkSize")] + public Input? PodSubnetChunkSize { get; set; } + + [Input("runGbpContainer")] + public Input? RunGbpContainer { get; set; } + + [Input("runOpflexServerContainer")] + public Input? RunOpflexServerContainer { get; set; } + + [Input("serviceMonitorInterval")] + public Input? ServiceMonitorInterval { get; set; } + + [Input("serviceVlan", required: true)] + public Input ServiceVlan { get; set; } = null!; + + [Input("snatContractScope")] + public Input? SnatContractScope { get; set; } + + [Input("snatNamespace")] + public Input? SnatNamespace { get; set; } + + [Input("snatPortRangeEnd")] + public Input? SnatPortRangeEnd { get; set; } + + [Input("snatPortRangeStart")] + public Input? SnatPortRangeStart { get; set; } + + [Input("snatPortsPerNode")] + public Input? SnatPortsPerNode { get; set; } + + [Input("sriovEnable")] + public Input? SriovEnable { get; set; } + + [Input("subnetDomainName")] + public Input? SubnetDomainName { get; set; } + + [Input("systemId", required: true)] + public Input SystemId { get; set; } = null!; + + [Input("tenant")] + public Input? Tenant { get; set; } + + [Input("token", required: true)] + private Input? _token; + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("useAciAnywhereCrd")] + public Input? UseAciAnywhereCrd { get; set; } + + [Input("useAciCniPriorityClass")] + public Input? UseAciCniPriorityClass { get; set; } + + [Input("useClusterRole")] + public Input? UseClusterRole { get; set; } + + [Input("useHostNetnsVolume")] + public Input? UseHostNetnsVolume { get; set; } + + [Input("useOpflexServerVolume")] + public Input? UseOpflexServerVolume { get; set; } + + [Input("usePrivilegedContainer")] + public Input? UsePrivilegedContainer { get; set; } + + [Input("vmmController")] + public Input? VmmController { get; set; } + + [Input("vmmDomain")] + public Input? VmmDomain { get; set; } + + [Input("vrfName", required: true)] + public Input VrfName { get; set; } = null!; + + [Input("vrfTenant", required: true)] + public Input VrfTenant { get; set; } = null!; + + public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderGetArgs() + { + } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.cs index fd8c27bbc..4faed7a03 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.cs @@ -10,8 +10,11 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs : global::Pulumi.ResourceArgs { + [Input("aciNetworkProvider")] + public Input? AciNetworkProvider { get; set; } + [Input("calicoNetworkProvider")] public Input? CalicoNetworkProvider { get; set; } @@ -49,5 +52,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs.cs index 67be63572..35f5014e6 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs : global::Pulumi.ResourceArgs { [Input("cloudProvider")] public Input? CloudProvider { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderGetArgs.cs index 6d4792042..0fb01ac1e 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderGetArgs : global::Pulumi.ResourceArgs { [Input("cloudProvider")] public Input? CloudProvider { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs.cs index 10f30798d..3008410ce 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs : global::Pulumi.ResourceArgs { [Input("iface")] public Input? Iface { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderGetArgs.cs index ada45c40d..3477d9864 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderGetArgs : global::Pulumi.ResourceArgs { [Input("iface")] public Input? Iface { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs.cs index 7c50912f3..ac78cef57 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs : global::Pulumi.ResourceArgs { [Input("iface")] public Input? Iface { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderGetArgs.cs index 19ecbb8f8..4010ad0b2 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderGetArgs : global::Pulumi.ResourceArgs { [Input("iface")] public Input? Iface { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkGetArgs.cs index f0216e6ef..2b192d981 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkGetArgs.cs @@ -10,8 +10,11 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkGetArgs : global::Pulumi.ResourceArgs { + [Input("aciNetworkProvider")] + public Input? AciNetworkProvider { get; set; } + [Input("calicoNetworkProvider")] public Input? CalicoNetworkProvider { get; set; } @@ -49,5 +52,6 @@ public InputList new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs.cs index b82f84b12..719deb601 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs : global::Pulumi.ResourceArgs { [Input("effect")] public Input? Effect { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationGetArgs.cs index 6593fbd31..44249b4f5 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationGetArgs : global::Pulumi.ResourceArgs { [Input("effect")] public Input? Effect { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs.cs index df7ae04bd..396532e9b 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs : global::Pulumi.ResourceArgs { [Input("password", required: true)] public Input Password { get; set; } = null!; @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderGetArgs.cs index 45a3bad8c..3ea3ac75e 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderGetArgs : global::Pulumi.ResourceArgs { [Input("password", required: true)] public Input Password { get; set; } = null!; @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs.cs index 90d305e7a..c12b25a4d 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs : global::Pulumi.ResourceArgs { [Input("address", required: true)] public Input Address { get; set; } = null!; @@ -54,16 +54,35 @@ public InputList Roles public Input? SshAgentAuth { get; set; } [Input("sshKey")] - public Input? SshKey { get; set; } + private Input? _sshKey; + public Input? SshKey + { + get => _sshKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("sshKeyPath")] public Input? SshKeyPath { get; set; } [Input("user", required: true)] - public Input User { get; set; } = null!; + private Input? _user; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeGetArgs.cs index ae85afe3e..a33e0259a 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeGetArgs : global::Pulumi.ResourceArgs { [Input("address", required: true)] public Input Address { get; set; } = null!; @@ -54,16 +54,35 @@ public InputList Roles public Input? SshAgentAuth { get; set; } [Input("sshKey")] - public Input? SshKey { get; set; } + private Input? _sshKey; + public Input? SshKey + { + get => _sshKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("sshKeyPath")] public Input? SshKeyPath { get; set; } [Input("user", required: true)] - public Input User { get; set; } = null!; + private Input? _user; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs.cs index 377190464..c3c3dbde6 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs : global::Pulumi.ResourceArgs { [Input("ecrCredentialPlugin")] public Input? EcrCredentialPlugin { get; set; } @@ -19,16 +19,35 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivate public Input? IsDefault { get; set; } [Input("password")] - public Input? Password { get; set; } + private Input? _password; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("url", required: true)] public Input Url { get; set; } = null!; [Input("user")] - public Input? User { get; set; } + private Input? _user; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs.cs index 9ce4e6957..31390d9ba 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs.cs @@ -10,19 +10,38 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs : global::Pulumi.ResourceArgs { [Input("awsAccessKeyId")] public Input? AwsAccessKeyId { get; set; } [Input("awsSecretAccessKey")] - public Input? AwsSecretAccessKey { get; set; } + private Input? _awsSecretAccessKey; + public Input? AwsSecretAccessKey + { + get => _awsSecretAccessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _awsSecretAccessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("awsSessionToken")] - public Input? AwsSessionToken { get; set; } + private Input? _awsSessionToken; + public Input? AwsSessionToken + { + get => _awsSessionToken; + set + { + var emptySecret = Output.CreateSecret(0); + _awsSessionToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginGetArgs.cs index d5fd87ffc..92edb7064 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginGetArgs.cs @@ -10,19 +10,38 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginGetArgs : global::Pulumi.ResourceArgs { [Input("awsAccessKeyId")] public Input? AwsAccessKeyId { get; set; } [Input("awsSecretAccessKey")] - public Input? AwsSecretAccessKey { get; set; } + private Input? _awsSecretAccessKey; + public Input? AwsSecretAccessKey + { + get => _awsSecretAccessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _awsSecretAccessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("awsSessionToken")] - public Input? AwsSessionToken { get; set; } + private Input? _awsSessionToken; + public Input? AwsSessionToken + { + get => _awsSessionToken; + set + { + var emptySecret = Output.CreateSecret(0); + _awsSessionToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryGetArgs.cs index d5c2f6016..be6318d5c 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryGetArgs : global::Pulumi.ResourceArgs { [Input("ecrCredentialPlugin")] public Input? EcrCredentialPlugin { get; set; } @@ -19,16 +19,35 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivate public Input? IsDefault { get; set; } [Input("password")] - public Input? Password { get; set; } + private Input? _password; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("url", required: true)] public Input Url { get; set; } = null!; [Input("user")] - public Input? User { get; set; } + private Input? _user; + public Input? User + { + get => _user; + set + { + var emptySecret = Output.CreateSecret(0); + _user = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.cs index 2a148e5b5..b9f6bd036 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs : global::Pulumi.ResourceArgs { [Input("etcd")] public Input? Etcd { get; set; } @@ -33,5 +33,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.cs index 35641f711..aa370785d 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs : global::Pulumi.ResourceArgs { [Input("backupConfig")] public Input? BackupConfig { get; set; } @@ -19,7 +19,16 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public Input? CaCert { get; set; } [Input("cert")] - public Input? Cert { get; set; } + private Input? _cert; + public Input? Cert + { + get => _cert; + set + { + var emptySecret = Output.CreateSecret(0); + _cert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("creation")] public Input? Creation { get; set; } @@ -63,7 +72,16 @@ public InputList ExtraEnvs public Input? Image { get; set; } [Input("key")] - public Input? Key { get; set; } + private Input? _key; + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("path")] public Input? Path { get; set; } @@ -80,5 +98,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs.cs index d827d4881..8c2314a7c 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs : global::Pulumi.ResourceArgs { /// /// Enable cluster template revision. Default `true` (bool) @@ -36,5 +36,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigGetArgs.cs index 74e1e1a26..4eb11a9d8 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Enable cluster template revision. Default `true` (bool) @@ -36,5 +36,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs.cs index a907e9ed5..9037badf2 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs.cs @@ -10,10 +10,19 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs : global::Pulumi.ResourceArgs { [Input("accessKey")] - public Input? AccessKey { get; set; } + private Input? _accessKey; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("bucketName", required: true)] public Input BucketName { get; set; } = null!; @@ -31,10 +40,20 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public Input? Region { get; set; } [Input("secretKey")] - public Input? SecretKey { get; set; } + private Input? _secretKey; + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs.cs index f1cbf54d8..32651a578 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs.cs @@ -10,10 +10,19 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs : global::Pulumi.ResourceArgs { [Input("accessKey")] - public Input? AccessKey { get; set; } + private Input? _accessKey; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("bucketName", required: true)] public Input BucketName { get; set; } = null!; @@ -31,10 +40,20 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public Input? Region { get; set; } [Input("secretKey")] - public Input? SecretKey { get; set; } + private Input? _secretKey; + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdGetArgs.cs index be26e014d..53c9e3523 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdGetArgs : global::Pulumi.ResourceArgs { [Input("backupConfig")] public Input? BackupConfig { get; set; } @@ -19,7 +19,16 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public Input? CaCert { get; set; } [Input("cert")] - public Input? Cert { get; set; } + private Input? _cert; + public Input? Cert + { + get => _cert; + set + { + var emptySecret = Output.CreateSecret(0); + _cert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("creation")] public Input? Creation { get; set; } @@ -63,7 +72,16 @@ public InputList ExtraEnvs public Input? Image { get; set; } [Input("key")] - public Input? Key { get; set; } + private Input? _key; + public Input? Key + { + get => _key; + set + { + var emptySecret = Output.CreateSecret(0); + _key = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("path")] public Input? Path { get; set; } @@ -80,5 +98,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesGetArgs.cs index 01c354dd1..2301e48fb 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesGetArgs : global::Pulumi.ResourceArgs { [Input("etcd")] public Input? Etcd { get; set; } @@ -33,5 +33,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs.cs index b4e7ab792..13bebcbf8 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs : global::Pulumi.ResourceArgs { [Input("admissionConfiguration")] private InputMap? _admissionConfiguration; @@ -71,5 +71,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs.cs index e45256aac..34940ee06 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs : global::Pulumi.ResourceArgs { [Input("configuration")] public Input? Configuration { get; set; } @@ -24,5 +24,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs.cs index 297345b75..60ceffe9d 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs : global::Pulumi.ResourceArgs { [Input("format")] public Input? Format { get; set; } @@ -33,5 +33,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationGetArgs.cs index 7c142eb7b..3859f02c1 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationGetArgs : global::Pulumi.ResourceArgs { [Input("format")] public Input? Format { get; set; } @@ -33,5 +33,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogGetArgs.cs index 167accd97..c359d6490 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogGetArgs : global::Pulumi.ResourceArgs { [Input("configuration")] public Input? Configuration { get; set; } @@ -24,5 +24,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs.cs index 22e3323dd..78bf99da0 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs : global::Pulumi.ResourceArgs { [Input("configuration")] public Input? Configuration { get; set; } @@ -24,5 +24,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitGetArgs.cs index 95125d47f..8a0b78473 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitGetArgs : global::Pulumi.ResourceArgs { [Input("configuration")] public Input? Configuration { get; set; } @@ -24,5 +24,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiGetArgs.cs index b32605f84..720944c16 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiGetArgs : global::Pulumi.ResourceArgs { [Input("admissionConfiguration")] private InputMap? _admissionConfiguration; @@ -71,5 +71,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs.cs index e4df39e12..adb35c555 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs : global::Pulumi.ResourceArgs { [Input("customConfig")] public Input? CustomConfig { get; set; } @@ -24,5 +24,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs.cs index f6226bfa8..afb51c85d 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs : global::Pulumi.ResourceArgs { [Input("customConfig")] public Input? CustomConfig { get; set; } @@ -24,5 +24,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigService public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs.cs index 059a02816..8afce7229 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs : global::Pulumi.ResourceArgs { [Input("clusterCidr")] public Input? ClusterCidr { get; set; } @@ -48,5 +48,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerGetArgs.cs index 1e8ecb5cf..0ad23a4fd 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerGetArgs : global::Pulumi.ResourceArgs { [Input("clusterCidr")] public Input? ClusterCidr { get; set; } @@ -48,5 +48,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs.cs index e476ec6b5..ec262cdde 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs : global::Pulumi.ResourceArgs { [Input("clusterDnsServer")] public Input? ClusterDnsServer { get; set; } @@ -57,5 +57,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletGetArgs.cs index 694c5000a..68e2f4fa3 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletGetArgs : global::Pulumi.ResourceArgs { [Input("clusterDnsServer")] public Input? ClusterDnsServer { get; set; } @@ -57,5 +57,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs.cs index cc5f1611e..ca52d6aa2 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs : global::Pulumi.ResourceArgs { [Input("extraArgs")] private InputMap? _extraArgs; @@ -42,5 +42,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyGetArgs.cs index 1fafdc63b..96d20ba85 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyGetArgs : global::Pulumi.ResourceArgs { [Input("extraArgs")] private InputMap? _extraArgs; @@ -42,5 +42,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs.cs index f869d5edf..e376e98cf 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs : global::Pulumi.ResourceArgs { [Input("extraArgs")] private InputMap? _extraArgs; @@ -42,5 +42,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerGetArgs.cs index 93ae67231..bc554a6d5 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerGetArgs : global::Pulumi.ResourceArgs { [Input("extraArgs")] private InputMap? _extraArgs; @@ -42,5 +42,6 @@ public InputList ExtraEnvs public ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs.cs index e84e49451..b8abade21 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs : global::Pulumi.ResourceArgs { [Input("drain")] public Input? Drain { get; set; } @@ -27,5 +27,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgrade public ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs.cs index 4b22d1b79..a14b289ac 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs : global::Pulumi.ResourceArgs { [Input("deleteLocalData")] public Input? DeleteLocalData { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgrade public ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputGetArgs.cs index 51103150f..51e987d43 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputGetArgs : global::Pulumi.ResourceArgs { [Input("deleteLocalData")] public Input? DeleteLocalData { get; set; } @@ -30,5 +30,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgrade public ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyGetArgs.cs index e52c11d79..9d353feb2 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyGetArgs : global::Pulumi.ResourceArgs { [Input("drain")] public Input? Drain { get; set; } @@ -27,5 +27,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgrade public ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs.cs index 2c13c311f..3ad91963f 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs : global::Pulumi.ResourceArgs { /// /// Enable cluster template revision. Default `true` (bool) @@ -27,5 +27,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledCluster public ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanGetArgs.cs index 09e2d25c6..37aa8bdcd 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanGetArgs : global::Pulumi.ResourceArgs { /// /// Enable cluster template revision. Default `true` (bool) @@ -27,5 +27,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledCluster public ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs.cs index 0f5e41bea..0fe519cb3 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs : global::Pulumi.ResourceArgs { [Input("cisScanConfig")] public Input? CisScanConfig { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledCluster public ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs.cs index 246b50564..26ed788de 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs : global::Pulumi.ResourceArgs { [Input("debugMaster")] public Input? DebugMaster { get; set; } @@ -35,5 +35,6 @@ public InputList OverrideSkips public ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigGetArgs.cs index 7ff1f5404..0e30db9dc 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigGetArgs : global::Pulumi.ResourceArgs { [Input("debugMaster")] public Input? DebugMaster { get; set; } @@ -35,5 +35,6 @@ public InputList OverrideSkips public ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigGetArgs.cs index 18940f470..1de73330f 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigGetArgs : global::Pulumi.ResourceArgs { [Input("cisScanConfig")] public Input? CisScanConfig { get; set; } @@ -18,5 +18,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledCluster public ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs.cs index 4ed97b4f5..68419e84a 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs : global::Pulumi.ResourceArgs { [Input("cronSchedule", required: true)] public Input CronSchedule { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledCluster public ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigGetArgs.cs index 320003c0e..8dc0c6469 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigGetArgs : global::Pulumi.ResourceArgs { [Input("cronSchedule", required: true)] public Input CronSchedule { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigScheduledCluster public ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigGetArgs() { } + public static new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigGetArgs Empty => new ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionGetArgs.cs index 55b72ef79..fc396a1f2 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionGetArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -87,5 +87,6 @@ public InputList Question public ClusterTemplateTemplateRevisionGetArgs() { } + public static new ClusterTemplateTemplateRevisionGetArgs Empty => new ClusterTemplateTemplateRevisionGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionQuestionArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionQuestionArgs.cs index 525d141cf..eeda2caf2 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionQuestionArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionQuestionArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionQuestionArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionQuestionArgs : global::Pulumi.ResourceArgs { /// /// Default variable value (string) @@ -39,5 +39,6 @@ public sealed class ClusterTemplateTemplateRevisionQuestionArgs : Pulumi.Resourc public ClusterTemplateTemplateRevisionQuestionArgs() { } + public static new ClusterTemplateTemplateRevisionQuestionArgs Empty => new ClusterTemplateTemplateRevisionQuestionArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionQuestionGetArgs.cs b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionQuestionGetArgs.cs index 57adeb127..e4fcd99c8 100644 --- a/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionQuestionGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterTemplateTemplateRevisionQuestionGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterTemplateTemplateRevisionQuestionGetArgs : Pulumi.ResourceArgs + public sealed class ClusterTemplateTemplateRevisionQuestionGetArgs : global::Pulumi.ResourceArgs { /// /// Default variable value (string) @@ -39,5 +39,6 @@ public sealed class ClusterTemplateTemplateRevisionQuestionGetArgs : Pulumi.Reso public ClusterTemplateTemplateRevisionQuestionGetArgs() { } + public static new ClusterTemplateTemplateRevisionQuestionGetArgs Empty => new ClusterTemplateTemplateRevisionQuestionGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2AgentEnvVarArgs.cs b/sdk/dotnet/Inputs/ClusterV2AgentEnvVarArgs.cs index 68815bbee..5f63fba53 100644 --- a/sdk/dotnet/Inputs/ClusterV2AgentEnvVarArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2AgentEnvVarArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2AgentEnvVarArgs : Pulumi.ResourceArgs + public sealed class ClusterV2AgentEnvVarArgs : global::Pulumi.ResourceArgs { /// /// Name of cluster registration token (string) @@ -27,5 +27,6 @@ public sealed class ClusterV2AgentEnvVarArgs : Pulumi.ResourceArgs public ClusterV2AgentEnvVarArgs() { } + public static new ClusterV2AgentEnvVarArgs Empty => new ClusterV2AgentEnvVarArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2AgentEnvVarGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2AgentEnvVarGetArgs.cs index 793fa8d5f..79519bf36 100644 --- a/sdk/dotnet/Inputs/ClusterV2AgentEnvVarGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2AgentEnvVarGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2AgentEnvVarGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2AgentEnvVarGetArgs : global::Pulumi.ResourceArgs { /// /// Name of cluster registration token (string) @@ -27,5 +27,6 @@ public sealed class ClusterV2AgentEnvVarGetArgs : Pulumi.ResourceArgs public ClusterV2AgentEnvVarGetArgs() { } + public static new ClusterV2AgentEnvVarGetArgs Empty => new ClusterV2AgentEnvVarGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2ClusterRegistrationTokenArgs.cs b/sdk/dotnet/Inputs/ClusterV2ClusterRegistrationTokenArgs.cs index b44da47fb..39aea1839 100644 --- a/sdk/dotnet/Inputs/ClusterV2ClusterRegistrationTokenArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2ClusterRegistrationTokenArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2ClusterRegistrationTokenArgs : Pulumi.ResourceArgs + public sealed class ClusterV2ClusterRegistrationTokenArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -90,11 +90,21 @@ public InputMap Labels [Input("nodeCommand")] public Input? NodeCommand { get; set; } + [Input("token")] + private Input? _token; + /// /// Token for cluster registration token object (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Node command to execute in windows nodes for custom k8s cluster (string) @@ -105,5 +115,6 @@ public InputMap Labels public ClusterV2ClusterRegistrationTokenArgs() { } + public static new ClusterV2ClusterRegistrationTokenArgs Empty => new ClusterV2ClusterRegistrationTokenArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2ClusterRegistrationTokenGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2ClusterRegistrationTokenGetArgs.cs index 990351564..b1cc8e3cb 100644 --- a/sdk/dotnet/Inputs/ClusterV2ClusterRegistrationTokenGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2ClusterRegistrationTokenGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2ClusterRegistrationTokenGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2ClusterRegistrationTokenGetArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -90,11 +90,21 @@ public InputMap Labels [Input("nodeCommand")] public Input? NodeCommand { get; set; } + [Input("token")] + private Input? _token; + /// /// Token for cluster registration token object (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Node command to execute in windows nodes for custom k8s cluster (string) @@ -105,5 +115,6 @@ public InputMap Labels public ClusterV2ClusterRegistrationTokenGetArgs() { } + public static new ClusterV2ClusterRegistrationTokenGetArgs Empty => new ClusterV2ClusterRegistrationTokenGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2LocalAuthEndpointArgs.cs b/sdk/dotnet/Inputs/ClusterV2LocalAuthEndpointArgs.cs index 15dd12deb..ba844c36e 100644 --- a/sdk/dotnet/Inputs/ClusterV2LocalAuthEndpointArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2LocalAuthEndpointArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2LocalAuthEndpointArgs : Pulumi.ResourceArgs + public sealed class ClusterV2LocalAuthEndpointArgs : global::Pulumi.ResourceArgs { /// /// CA certs for the authorized cluster endpoint (string) @@ -33,5 +33,6 @@ public sealed class ClusterV2LocalAuthEndpointArgs : Pulumi.ResourceArgs public ClusterV2LocalAuthEndpointArgs() { } + public static new ClusterV2LocalAuthEndpointArgs Empty => new ClusterV2LocalAuthEndpointArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2LocalAuthEndpointGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2LocalAuthEndpointGetArgs.cs index a9d8c258b..91f7ad42a 100644 --- a/sdk/dotnet/Inputs/ClusterV2LocalAuthEndpointGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2LocalAuthEndpointGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2LocalAuthEndpointGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2LocalAuthEndpointGetArgs : global::Pulumi.ResourceArgs { /// /// CA certs for the authorized cluster endpoint (string) @@ -33,5 +33,6 @@ public sealed class ClusterV2LocalAuthEndpointGetArgs : Pulumi.ResourceArgs public ClusterV2LocalAuthEndpointGetArgs() { } + public static new ClusterV2LocalAuthEndpointGetArgs Empty => new ClusterV2LocalAuthEndpointGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigArgs.cs index 3c6a910a3..4511d1d6d 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigArgs : global::Pulumi.ResourceArgs { /// /// Cluster V2 additional manifest (string) @@ -99,5 +99,6 @@ public InputList MachineSele public ClusterV2RkeConfigArgs() { } + public static new ClusterV2RkeConfigArgs Empty => new ClusterV2RkeConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdArgs.cs index 54400061d..ed7f496bd 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigEtcdArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigEtcdArgs : global::Pulumi.ResourceArgs { /// /// Disable ETCD snapshots. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterV2RkeConfigEtcdArgs : Pulumi.ResourceArgs public ClusterV2RkeConfigEtcdArgs() { } + public static new ClusterV2RkeConfigEtcdArgs Empty => new ClusterV2RkeConfigEtcdArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdGetArgs.cs index 098c34385..13e485f57 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigEtcdGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigEtcdGetArgs : global::Pulumi.ResourceArgs { /// /// Disable ETCD snapshots. Default: `false` (bool) @@ -39,5 +39,6 @@ public sealed class ClusterV2RkeConfigEtcdGetArgs : Pulumi.ResourceArgs public ClusterV2RkeConfigEtcdGetArgs() { } + public static new ClusterV2RkeConfigEtcdGetArgs Empty => new ClusterV2RkeConfigEtcdGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdS3ConfigArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdS3ConfigArgs.cs index 3620b07c7..d5cde3ab7 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdS3ConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdS3ConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigEtcdS3ConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigEtcdS3ConfigArgs : global::Pulumi.ResourceArgs { /// /// Bucket name for S3 service (string) @@ -57,5 +57,6 @@ public sealed class ClusterV2RkeConfigEtcdS3ConfigArgs : Pulumi.ResourceArgs public ClusterV2RkeConfigEtcdS3ConfigArgs() { } + public static new ClusterV2RkeConfigEtcdS3ConfigArgs Empty => new ClusterV2RkeConfigEtcdS3ConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdS3ConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdS3ConfigGetArgs.cs index 429313a29..11ecb87b5 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdS3ConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdS3ConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigEtcdS3ConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigEtcdS3ConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Bucket name for S3 service (string) @@ -57,5 +57,6 @@ public sealed class ClusterV2RkeConfigEtcdS3ConfigGetArgs : Pulumi.ResourceArgs public ClusterV2RkeConfigEtcdS3ConfigGetArgs() { } + public static new ClusterV2RkeConfigEtcdS3ConfigGetArgs Empty => new ClusterV2RkeConfigEtcdS3ConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotCreateArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotCreateArgs.cs index 81254c4c4..2fd862e21 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotCreateArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotCreateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigEtcdSnapshotCreateArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigEtcdSnapshotCreateArgs : global::Pulumi.ResourceArgs { /// /// ETCD snapshot desired generation (int) @@ -21,5 +21,6 @@ public sealed class ClusterV2RkeConfigEtcdSnapshotCreateArgs : Pulumi.ResourceAr public ClusterV2RkeConfigEtcdSnapshotCreateArgs() { } + public static new ClusterV2RkeConfigEtcdSnapshotCreateArgs Empty => new ClusterV2RkeConfigEtcdSnapshotCreateArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotCreateGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotCreateGetArgs.cs index 0fc861d73..91aced966 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotCreateGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotCreateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigEtcdSnapshotCreateGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigEtcdSnapshotCreateGetArgs : global::Pulumi.ResourceArgs { /// /// ETCD snapshot desired generation (int) @@ -21,5 +21,6 @@ public sealed class ClusterV2RkeConfigEtcdSnapshotCreateGetArgs : Pulumi.Resourc public ClusterV2RkeConfigEtcdSnapshotCreateGetArgs() { } + public static new ClusterV2RkeConfigEtcdSnapshotCreateGetArgs Empty => new ClusterV2RkeConfigEtcdSnapshotCreateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotRestoreArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotRestoreArgs.cs index 01c05cf3b..147b726ac 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotRestoreArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotRestoreArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigEtcdSnapshotRestoreArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigEtcdSnapshotRestoreArgs : global::Pulumi.ResourceArgs { /// /// ETCD snapshot desired generation (int) @@ -33,5 +33,6 @@ public sealed class ClusterV2RkeConfigEtcdSnapshotRestoreArgs : Pulumi.ResourceA public ClusterV2RkeConfigEtcdSnapshotRestoreArgs() { } + public static new ClusterV2RkeConfigEtcdSnapshotRestoreArgs Empty => new ClusterV2RkeConfigEtcdSnapshotRestoreArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotRestoreGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotRestoreGetArgs.cs index 9c0026657..394894282 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotRestoreGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigEtcdSnapshotRestoreGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigEtcdSnapshotRestoreGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigEtcdSnapshotRestoreGetArgs : global::Pulumi.ResourceArgs { /// /// ETCD snapshot desired generation (int) @@ -33,5 +33,6 @@ public sealed class ClusterV2RkeConfigEtcdSnapshotRestoreGetArgs : Pulumi.Resour public ClusterV2RkeConfigEtcdSnapshotRestoreGetArgs() { } + public static new ClusterV2RkeConfigEtcdSnapshotRestoreGetArgs Empty => new ClusterV2RkeConfigEtcdSnapshotRestoreGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigGetArgs.cs index 3e76a972f..14c3189d1 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Cluster V2 additional manifest (string) @@ -99,5 +99,6 @@ public InputList MachineS public ClusterV2RkeConfigGetArgs() { } + public static new ClusterV2RkeConfigGetArgs Empty => new ClusterV2RkeConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigLocalAuthEndpointArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigLocalAuthEndpointArgs.cs index abcd73890..298236901 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigLocalAuthEndpointArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigLocalAuthEndpointArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigLocalAuthEndpointArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigLocalAuthEndpointArgs : global::Pulumi.ResourceArgs { /// /// CA certs for the authorized cluster endpoint (string) @@ -33,5 +33,6 @@ public sealed class ClusterV2RkeConfigLocalAuthEndpointArgs : Pulumi.ResourceArg public ClusterV2RkeConfigLocalAuthEndpointArgs() { } + public static new ClusterV2RkeConfigLocalAuthEndpointArgs Empty => new ClusterV2RkeConfigLocalAuthEndpointArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigLocalAuthEndpointGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigLocalAuthEndpointGetArgs.cs index ee23e36a3..55f131ef8 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigLocalAuthEndpointGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigLocalAuthEndpointGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigLocalAuthEndpointGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigLocalAuthEndpointGetArgs : global::Pulumi.ResourceArgs { /// /// CA certs for the authorized cluster endpoint (string) @@ -33,5 +33,6 @@ public sealed class ClusterV2RkeConfigLocalAuthEndpointGetArgs : Pulumi.Resource public ClusterV2RkeConfigLocalAuthEndpointGetArgs() { } + public static new ClusterV2RkeConfigLocalAuthEndpointGetArgs Empty => new ClusterV2RkeConfigLocalAuthEndpointGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolArgs.cs index 294a55395..769b083ff 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachinePoolArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachinePoolArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -66,6 +66,18 @@ public InputMap Labels [Input("machineConfig", required: true)] public Input MachineConfig { get; set; } = null!; + [Input("machineLabels")] + private InputMap? _machineLabels; + + /// + /// Labels for Machine pool nodes (map) + /// + public InputMap MachineLabels + { + get => _machineLabels ?? (_machineLabels = new InputMap()); + set => _machineLabels = value; + } + /// /// Max unhealthy nodes for automated replacement to be allowed (string) /// @@ -141,5 +153,6 @@ public InputList Taints public ClusterV2RkeConfigMachinePoolArgs() { } + public static new ClusterV2RkeConfigMachinePoolArgs Empty => new ClusterV2RkeConfigMachinePoolArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolGetArgs.cs index 3ca9c437d..d6e0d7098 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachinePoolGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachinePoolGetArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -66,6 +66,18 @@ public InputMap Labels [Input("machineConfig", required: true)] public Input MachineConfig { get; set; } = null!; + [Input("machineLabels")] + private InputMap? _machineLabels; + + /// + /// Labels for Machine pool nodes (map) + /// + public InputMap MachineLabels + { + get => _machineLabels ?? (_machineLabels = new InputMap()); + set => _machineLabels = value; + } + /// /// Max unhealthy nodes for automated replacement to be allowed (string) /// @@ -141,5 +153,6 @@ public InputList Taints public ClusterV2RkeConfigMachinePoolGetArgs() { } + public static new ClusterV2RkeConfigMachinePoolGetArgs Empty => new ClusterV2RkeConfigMachinePoolGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolMachineConfigArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolMachineConfigArgs.cs index b1ce8ccd6..549768648 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolMachineConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolMachineConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachinePoolMachineConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachinePoolMachineConfigArgs : global::Pulumi.ResourceArgs { /// /// Machine config kind (string) @@ -27,5 +27,6 @@ public sealed class ClusterV2RkeConfigMachinePoolMachineConfigArgs : Pulumi.Reso public ClusterV2RkeConfigMachinePoolMachineConfigArgs() { } + public static new ClusterV2RkeConfigMachinePoolMachineConfigArgs Empty => new ClusterV2RkeConfigMachinePoolMachineConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolMachineConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolMachineConfigGetArgs.cs index 735a25497..ae75687c8 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolMachineConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolMachineConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachinePoolMachineConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachinePoolMachineConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Machine config kind (string) @@ -27,5 +27,6 @@ public sealed class ClusterV2RkeConfigMachinePoolMachineConfigGetArgs : Pulumi.R public ClusterV2RkeConfigMachinePoolMachineConfigGetArgs() { } + public static new ClusterV2RkeConfigMachinePoolMachineConfigGetArgs Empty => new ClusterV2RkeConfigMachinePoolMachineConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolRollingUpdateArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolRollingUpdateArgs.cs index 7cb96612a..0db5ce598 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolRollingUpdateArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolRollingUpdateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachinePoolRollingUpdateArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachinePoolRollingUpdateArgs : global::Pulumi.ResourceArgs { /// /// Rolling update max surge (string) @@ -27,5 +27,6 @@ public sealed class ClusterV2RkeConfigMachinePoolRollingUpdateArgs : Pulumi.Reso public ClusterV2RkeConfigMachinePoolRollingUpdateArgs() { } + public static new ClusterV2RkeConfigMachinePoolRollingUpdateArgs Empty => new ClusterV2RkeConfigMachinePoolRollingUpdateArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolRollingUpdateGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolRollingUpdateGetArgs.cs index ad6b03b27..77ea45a7a 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolRollingUpdateGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolRollingUpdateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachinePoolRollingUpdateGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachinePoolRollingUpdateGetArgs : global::Pulumi.ResourceArgs { /// /// Rolling update max surge (string) @@ -27,5 +27,6 @@ public sealed class ClusterV2RkeConfigMachinePoolRollingUpdateGetArgs : Pulumi.R public ClusterV2RkeConfigMachinePoolRollingUpdateGetArgs() { } + public static new ClusterV2RkeConfigMachinePoolRollingUpdateGetArgs Empty => new ClusterV2RkeConfigMachinePoolRollingUpdateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolTaintArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolTaintArgs.cs index 36a1433ee..aa05c8795 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolTaintArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolTaintArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachinePoolTaintArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachinePoolTaintArgs : global::Pulumi.ResourceArgs { /// /// The taint effect. Default: `\"NoExecute\"` (string) @@ -33,5 +33,6 @@ public sealed class ClusterV2RkeConfigMachinePoolTaintArgs : Pulumi.ResourceArgs public ClusterV2RkeConfigMachinePoolTaintArgs() { } + public static new ClusterV2RkeConfigMachinePoolTaintArgs Empty => new ClusterV2RkeConfigMachinePoolTaintArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolTaintGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolTaintGetArgs.cs index 8d58232ff..4d88804cf 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolTaintGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachinePoolTaintGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachinePoolTaintGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachinePoolTaintGetArgs : global::Pulumi.ResourceArgs { /// /// The taint effect. Default: `\"NoExecute\"` (string) @@ -33,5 +33,6 @@ public sealed class ClusterV2RkeConfigMachinePoolTaintGetArgs : Pulumi.ResourceA public ClusterV2RkeConfigMachinePoolTaintGetArgs() { } + public static new ClusterV2RkeConfigMachinePoolTaintGetArgs Empty => new ClusterV2RkeConfigMachinePoolTaintGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.cs index ebe448b3c..53c598637 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachineSelectorConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachineSelectorConfigArgs : global::Pulumi.ResourceArgs { [Input("config")] private InputMap? _config; @@ -33,5 +33,6 @@ public InputMap Config public ClusterV2RkeConfigMachineSelectorConfigArgs() { } + public static new ClusterV2RkeConfigMachineSelectorConfigArgs Empty => new ClusterV2RkeConfigMachineSelectorConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigGetArgs.cs index b2d95a605..51310943c 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachineSelectorConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachineSelectorConfigGetArgs : global::Pulumi.ResourceArgs { [Input("config")] private InputMap? _config; @@ -33,5 +33,6 @@ public InputMap Config public ClusterV2RkeConfigMachineSelectorConfigGetArgs() { } + public static new ClusterV2RkeConfigMachineSelectorConfigGetArgs Empty => new ClusterV2RkeConfigMachineSelectorConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs.cs index ed1486285..7e2fabbff 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs : global::Pulumi.ResourceArgs { [Input("matchExpressions")] private InputList? _matchExpressions; @@ -39,5 +39,6 @@ public InputMap MatchLabels public ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs() { } + public static new ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs Empty => new ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorGetArgs.cs index 34ba135a1..dbe2071c9 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorGetArgs : global::Pulumi.ResourceArgs { [Input("matchExpressions")] private InputList? _matchExpressions; @@ -39,5 +39,6 @@ public InputMap MatchLabels public ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorGetArgs() { } + public static new ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorGetArgs Empty => new ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs.cs index e152c2b21..cce80d2f5 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs : global::Pulumi.ResourceArgs { /// /// Machine selector label match expressions key (string) @@ -39,5 +39,6 @@ public InputList Values public ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs() { } + public static new ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs Empty => new ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionGetArgs.cs index 36bea7a9c..57874dd1a 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionGetArgs : global::Pulumi.ResourceArgs { /// /// Machine selector label match expressions key (string) @@ -39,5 +39,6 @@ public InputList Values public ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionGetArgs() { } + public static new ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionGetArgs Empty => new ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesArgs.cs index 83922282c..e380414ad 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigRegistriesArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigRegistriesArgs : global::Pulumi.ResourceArgs { [Input("configs")] private InputList? _configs; @@ -39,5 +39,6 @@ public InputList Mirrors public ClusterV2RkeConfigRegistriesArgs() { } + public static new ClusterV2RkeConfigRegistriesArgs Empty => new ClusterV2RkeConfigRegistriesArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesConfigArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesConfigArgs.cs index 428b21b0d..cb592504f 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesConfigArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigRegistriesConfigArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigRegistriesConfigArgs : global::Pulumi.ResourceArgs { /// /// Registry auth config secret name (string) @@ -45,5 +45,6 @@ public sealed class ClusterV2RkeConfigRegistriesConfigArgs : Pulumi.ResourceArgs public ClusterV2RkeConfigRegistriesConfigArgs() { } + public static new ClusterV2RkeConfigRegistriesConfigArgs Empty => new ClusterV2RkeConfigRegistriesConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesConfigGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesConfigGetArgs.cs index 2b26ce5d1..c6a3fd3e0 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigRegistriesConfigGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigRegistriesConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Registry auth config secret name (string) @@ -45,5 +45,6 @@ public sealed class ClusterV2RkeConfigRegistriesConfigGetArgs : Pulumi.ResourceA public ClusterV2RkeConfigRegistriesConfigGetArgs() { } + public static new ClusterV2RkeConfigRegistriesConfigGetArgs Empty => new ClusterV2RkeConfigRegistriesConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesGetArgs.cs index 663d6557e..b4b4d1837 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigRegistriesGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigRegistriesGetArgs : global::Pulumi.ResourceArgs { [Input("configs")] private InputList? _configs; @@ -39,5 +39,6 @@ public InputList Mirrors public ClusterV2RkeConfigRegistriesGetArgs() { } + public static new ClusterV2RkeConfigRegistriesGetArgs Empty => new ClusterV2RkeConfigRegistriesGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesMirrorArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesMirrorArgs.cs index bbb7855c1..ac79d3da0 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesMirrorArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesMirrorArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigRegistriesMirrorArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigRegistriesMirrorArgs : global::Pulumi.ResourceArgs { [Input("endpoints")] private InputList? _endpoints; @@ -45,5 +45,6 @@ public InputMap Rewrites public ClusterV2RkeConfigRegistriesMirrorArgs() { } + public static new ClusterV2RkeConfigRegistriesMirrorArgs Empty => new ClusterV2RkeConfigRegistriesMirrorArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesMirrorGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesMirrorGetArgs.cs index 31369d9c3..8bd531aa3 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesMirrorGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigRegistriesMirrorGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigRegistriesMirrorGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigRegistriesMirrorGetArgs : global::Pulumi.ResourceArgs { [Input("endpoints")] private InputList? _endpoints; @@ -45,5 +45,6 @@ public InputMap Rewrites public ClusterV2RkeConfigRegistriesMirrorGetArgs() { } + public static new ClusterV2RkeConfigRegistriesMirrorGetArgs Empty => new ClusterV2RkeConfigRegistriesMirrorGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigRotateCertificatesArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigRotateCertificatesArgs.cs index 1d3c47218..42a08e25c 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigRotateCertificatesArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigRotateCertificatesArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigRotateCertificatesArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigRotateCertificatesArgs : global::Pulumi.ResourceArgs { /// /// ETCD snapshot desired generation (int) @@ -33,5 +33,6 @@ public InputList Services public ClusterV2RkeConfigRotateCertificatesArgs() { } + public static new ClusterV2RkeConfigRotateCertificatesArgs Empty => new ClusterV2RkeConfigRotateCertificatesArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigRotateCertificatesGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigRotateCertificatesGetArgs.cs index 6ddf383b8..144111ec4 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigRotateCertificatesGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigRotateCertificatesGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigRotateCertificatesGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigRotateCertificatesGetArgs : global::Pulumi.ResourceArgs { /// /// ETCD snapshot desired generation (int) @@ -33,5 +33,6 @@ public InputList Services public ClusterV2RkeConfigRotateCertificatesGetArgs() { } + public static new ClusterV2RkeConfigRotateCertificatesGetArgs Empty => new ClusterV2RkeConfigRotateCertificatesGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyArgs.cs index 1a6080657..c84090d0f 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigUpgradeStrategyArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigUpgradeStrategyArgs : global::Pulumi.ResourceArgs { /// /// How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string) @@ -39,5 +39,6 @@ public sealed class ClusterV2RkeConfigUpgradeStrategyArgs : Pulumi.ResourceArgs public ClusterV2RkeConfigUpgradeStrategyArgs() { } + public static new ClusterV2RkeConfigUpgradeStrategyArgs Empty => new ClusterV2RkeConfigUpgradeStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs.cs index 48a4b7ce1..0022054c8 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs : global::Pulumi.ResourceArgs { /// /// Drain options delete empty dir data. Default `false` (bool) @@ -69,5 +69,6 @@ public sealed class ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArg public ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs() { } + public static new ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs Empty => new ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsGetArgs.cs index 3e7b00e4e..70354b502 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsGetArgs : global::Pulumi.ResourceArgs { /// /// Drain options delete empty dir data. Default `false` (bool) @@ -69,5 +69,6 @@ public sealed class ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsGet public ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsGetArgs() { } + public static new ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsGetArgs Empty => new ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyGetArgs.cs index 27e1b3f07..4b823ba3b 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigUpgradeStrategyGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigUpgradeStrategyGetArgs : global::Pulumi.ResourceArgs { /// /// How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string) @@ -39,5 +39,6 @@ public sealed class ClusterV2RkeConfigUpgradeStrategyGetArgs : Pulumi.ResourceAr public ClusterV2RkeConfigUpgradeStrategyGetArgs() { } + public static new ClusterV2RkeConfigUpgradeStrategyGetArgs Empty => new ClusterV2RkeConfigUpgradeStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs.cs index 5dd4705bf..057b0e73f 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs : global::Pulumi.ResourceArgs { /// /// Drain options delete empty dir data. Default `false` (bool) @@ -69,5 +69,6 @@ public sealed class ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs : Pu public ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs() { } + public static new ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs Empty => new ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs(); } } diff --git a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsGetArgs.cs b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsGetArgs.cs index 9539bfec3..266fec76d 100644 --- a/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsGetArgs.cs +++ b/sdk/dotnet/Inputs/ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsGetArgs : Pulumi.ResourceArgs + public sealed class ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsGetArgs : global::Pulumi.ResourceArgs { /// /// Drain options delete empty dir data. Default `false` (bool) @@ -69,5 +69,6 @@ public sealed class ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsGetArgs : public ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsGetArgs() { } + public static new ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsGetArgs Empty => new ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsGetArgs(); } } diff --git a/sdk/dotnet/Inputs/EtcdBackupBackupConfigArgs.cs b/sdk/dotnet/Inputs/EtcdBackupBackupConfigArgs.cs index ea43f7c02..f59264ba3 100644 --- a/sdk/dotnet/Inputs/EtcdBackupBackupConfigArgs.cs +++ b/sdk/dotnet/Inputs/EtcdBackupBackupConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class EtcdBackupBackupConfigArgs : Pulumi.ResourceArgs + public sealed class EtcdBackupBackupConfigArgs : global::Pulumi.ResourceArgs { /// /// Enable etcd backup (bool) @@ -45,5 +45,6 @@ public sealed class EtcdBackupBackupConfigArgs : Pulumi.ResourceArgs public EtcdBackupBackupConfigArgs() { } + public static new EtcdBackupBackupConfigArgs Empty => new EtcdBackupBackupConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/EtcdBackupBackupConfigGetArgs.cs b/sdk/dotnet/Inputs/EtcdBackupBackupConfigGetArgs.cs index fb0b835cd..f55ca13f2 100644 --- a/sdk/dotnet/Inputs/EtcdBackupBackupConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/EtcdBackupBackupConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class EtcdBackupBackupConfigGetArgs : Pulumi.ResourceArgs + public sealed class EtcdBackupBackupConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Enable etcd backup (bool) @@ -45,5 +45,6 @@ public sealed class EtcdBackupBackupConfigGetArgs : Pulumi.ResourceArgs public EtcdBackupBackupConfigGetArgs() { } + public static new EtcdBackupBackupConfigGetArgs Empty => new EtcdBackupBackupConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/EtcdBackupBackupConfigS3BackupConfigArgs.cs b/sdk/dotnet/Inputs/EtcdBackupBackupConfigS3BackupConfigArgs.cs index 5db580d38..acde34a33 100644 --- a/sdk/dotnet/Inputs/EtcdBackupBackupConfigS3BackupConfigArgs.cs +++ b/sdk/dotnet/Inputs/EtcdBackupBackupConfigS3BackupConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class EtcdBackupBackupConfigS3BackupConfigArgs : Pulumi.ResourceArgs + public sealed class EtcdBackupBackupConfigS3BackupConfigArgs : global::Pulumi.ResourceArgs { + [Input("accessKey")] + private Input? _accessKey; + /// /// Access key for S3 service (string) /// - [Input("accessKey")] - public Input? AccessKey { get; set; } + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Bucket name for S3 service (string) @@ -48,14 +58,25 @@ public sealed class EtcdBackupBackupConfigS3BackupConfigArgs : Pulumi.ResourceAr [Input("region")] public Input? Region { get; set; } + [Input("secretKey")] + private Input? _secretKey; + /// /// Secret key for S3 service (string) /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public EtcdBackupBackupConfigS3BackupConfigArgs() { } + public static new EtcdBackupBackupConfigS3BackupConfigArgs Empty => new EtcdBackupBackupConfigS3BackupConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/EtcdBackupBackupConfigS3BackupConfigGetArgs.cs b/sdk/dotnet/Inputs/EtcdBackupBackupConfigS3BackupConfigGetArgs.cs index c16be2ebe..190c35dc6 100644 --- a/sdk/dotnet/Inputs/EtcdBackupBackupConfigS3BackupConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/EtcdBackupBackupConfigS3BackupConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class EtcdBackupBackupConfigS3BackupConfigGetArgs : Pulumi.ResourceArgs + public sealed class EtcdBackupBackupConfigS3BackupConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("accessKey")] + private Input? _accessKey; + /// /// Access key for S3 service (string) /// - [Input("accessKey")] - public Input? AccessKey { get; set; } + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Bucket name for S3 service (string) @@ -48,14 +58,25 @@ public sealed class EtcdBackupBackupConfigS3BackupConfigGetArgs : Pulumi.Resourc [Input("region")] public Input? Region { get; set; } + [Input("secretKey")] + private Input? _secretKey; + /// /// Secret key for S3 service (string) /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public EtcdBackupBackupConfigS3BackupConfigGetArgs() { } + public static new EtcdBackupBackupConfigS3BackupConfigGetArgs Empty => new EtcdBackupBackupConfigS3BackupConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/GetNotifierDingtalkConfig.cs b/sdk/dotnet/Inputs/GetNotifierDingtalkConfig.cs index e583e3536..639c3bfd0 100644 --- a/sdk/dotnet/Inputs/GetNotifierDingtalkConfig.cs +++ b/sdk/dotnet/Inputs/GetNotifierDingtalkConfig.cs @@ -10,13 +10,18 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetNotifierDingtalkConfigArgs : Pulumi.InvokeArgs + public sealed class GetNotifierDingtalkConfigArgs : global::Pulumi.InvokeArgs { [Input("proxyUrl")] public string? ProxyUrl { get; set; } [Input("secret")] - public string? Secret { get; set; } + private string? _secret; + public string? Secret + { + get => _secret; + set => _secret = value; + } [Input("url", required: true)] public string Url { get; set; } = null!; @@ -24,5 +29,6 @@ public sealed class GetNotifierDingtalkConfigArgs : Pulumi.InvokeArgs public GetNotifierDingtalkConfigArgs() { } + public static new GetNotifierDingtalkConfigArgs Empty => new GetNotifierDingtalkConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/GetNotifierDingtalkConfigArgs.cs b/sdk/dotnet/Inputs/GetNotifierDingtalkConfigArgs.cs index d3a89cf12..cee8a07eb 100644 --- a/sdk/dotnet/Inputs/GetNotifierDingtalkConfigArgs.cs +++ b/sdk/dotnet/Inputs/GetNotifierDingtalkConfigArgs.cs @@ -10,13 +10,22 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetNotifierDingtalkConfigInputArgs : Pulumi.ResourceArgs + public sealed class GetNotifierDingtalkConfigInputArgs : global::Pulumi.ResourceArgs { [Input("proxyUrl")] public Input? ProxyUrl { get; set; } [Input("secret")] - public Input? Secret { get; set; } + private Input? _secret; + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("url", required: true)] public Input Url { get; set; } = null!; @@ -24,5 +33,6 @@ public sealed class GetNotifierDingtalkConfigInputArgs : Pulumi.ResourceArgs public GetNotifierDingtalkConfigInputArgs() { } + public static new GetNotifierDingtalkConfigInputArgs Empty => new GetNotifierDingtalkConfigInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetNotifierMsteamsConfig.cs b/sdk/dotnet/Inputs/GetNotifierMsteamsConfig.cs index da88fabfe..99c02548f 100644 --- a/sdk/dotnet/Inputs/GetNotifierMsteamsConfig.cs +++ b/sdk/dotnet/Inputs/GetNotifierMsteamsConfig.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetNotifierMsteamsConfigArgs : Pulumi.InvokeArgs + public sealed class GetNotifierMsteamsConfigArgs : global::Pulumi.InvokeArgs { [Input("proxyUrl")] public string? ProxyUrl { get; set; } @@ -21,5 +21,6 @@ public sealed class GetNotifierMsteamsConfigArgs : Pulumi.InvokeArgs public GetNotifierMsteamsConfigArgs() { } + public static new GetNotifierMsteamsConfigArgs Empty => new GetNotifierMsteamsConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/GetNotifierMsteamsConfigArgs.cs b/sdk/dotnet/Inputs/GetNotifierMsteamsConfigArgs.cs index 649eb007f..342b612e0 100644 --- a/sdk/dotnet/Inputs/GetNotifierMsteamsConfigArgs.cs +++ b/sdk/dotnet/Inputs/GetNotifierMsteamsConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetNotifierMsteamsConfigInputArgs : Pulumi.ResourceArgs + public sealed class GetNotifierMsteamsConfigInputArgs : global::Pulumi.ResourceArgs { [Input("proxyUrl")] public Input? ProxyUrl { get; set; } @@ -21,5 +21,6 @@ public sealed class GetNotifierMsteamsConfigInputArgs : Pulumi.ResourceArgs public GetNotifierMsteamsConfigInputArgs() { } + public static new GetNotifierMsteamsConfigInputArgs Empty => new GetNotifierMsteamsConfigInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedCsiDriver.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedCsiDriver.cs index 4863aade0..06cb4e152 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedCsiDriver.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedCsiDriver.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateAllowedCsiDriverArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateAllowedCsiDriverArgs : global::Pulumi.InvokeArgs { /// /// The name of the PodSecurityPolicyTemplate (string) @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateAllowedCsiDriverArgs : Pulumi.In public GetPodSecurityPolicyTemplateAllowedCsiDriverArgs() { } + public static new GetPodSecurityPolicyTemplateAllowedCsiDriverArgs Empty => new GetPodSecurityPolicyTemplateAllowedCsiDriverArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedCsiDriverArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedCsiDriverArgs.cs index 26300165e..a3ecdc0ac 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedCsiDriverArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedCsiDriverArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateAllowedCsiDriverInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateAllowedCsiDriverInputArgs : global::Pulumi.ResourceArgs { /// /// The name of the PodSecurityPolicyTemplate (string) @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateAllowedCsiDriverInputArgs : Pulu public GetPodSecurityPolicyTemplateAllowedCsiDriverInputArgs() { } + public static new GetPodSecurityPolicyTemplateAllowedCsiDriverInputArgs Empty => new GetPodSecurityPolicyTemplateAllowedCsiDriverInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedFlexVolume.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedFlexVolume.cs index 4d2b0b457..9caee60f8 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedFlexVolume.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedFlexVolume.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs : global::Pulumi.InvokeArgs { [Input("driver", required: true)] public string Driver { get; set; } = null!; @@ -18,5 +18,6 @@ public sealed class GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs : Pulumi.I public GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs() { } + public static new GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs Empty => new GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs.cs index ad870000f..208e945bc 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateAllowedFlexVolumeInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateAllowedFlexVolumeInputArgs : global::Pulumi.ResourceArgs { [Input("driver", required: true)] public Input Driver { get; set; } = null!; @@ -18,5 +18,6 @@ public sealed class GetPodSecurityPolicyTemplateAllowedFlexVolumeInputArgs : Pul public GetPodSecurityPolicyTemplateAllowedFlexVolumeInputArgs() { } + public static new GetPodSecurityPolicyTemplateAllowedFlexVolumeInputArgs Empty => new GetPodSecurityPolicyTemplateAllowedFlexVolumeInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedHostPath.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedHostPath.cs index 5ccdc58e5..d85f5c274 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedHostPath.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedHostPath.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateAllowedHostPathArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateAllowedHostPathArgs : global::Pulumi.InvokeArgs { [Input("pathPrefix", required: true)] public string PathPrefix { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateAllowedHostPathArgs : Pulumi.Inv public GetPodSecurityPolicyTemplateAllowedHostPathArgs() { } + public static new GetPodSecurityPolicyTemplateAllowedHostPathArgs Empty => new GetPodSecurityPolicyTemplateAllowedHostPathArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedHostPathArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedHostPathArgs.cs index e006355a5..5c9290326 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedHostPathArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateAllowedHostPathArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateAllowedHostPathInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateAllowedHostPathInputArgs : global::Pulumi.ResourceArgs { [Input("pathPrefix", required: true)] public Input PathPrefix { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateAllowedHostPathInputArgs : Pulum public GetPodSecurityPolicyTemplateAllowedHostPathInputArgs() { } + public static new GetPodSecurityPolicyTemplateAllowedHostPathInputArgs Empty => new GetPodSecurityPolicyTemplateAllowedHostPathInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroup.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroup.cs index e6f459fac..49e82a2f7 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroup.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroup.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateFsGroupArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateFsGroupArgs : global::Pulumi.InvokeArgs { [Input("ranges", required: true)] private List? _ranges; @@ -26,5 +26,6 @@ public List Ranges public GetPodSecurityPolicyTemplateFsGroupArgs() { } + public static new GetPodSecurityPolicyTemplateFsGroupArgs Empty => new GetPodSecurityPolicyTemplateFsGroupArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupArgs.cs index 218625189..b76cf8f97 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateFsGroupInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateFsGroupInputArgs : global::Pulumi.ResourceArgs { [Input("ranges", required: true)] private InputList? _ranges; @@ -26,5 +26,6 @@ public InputList Range public GetPodSecurityPolicyTemplateFsGroupInputArgs() { } + public static new GetPodSecurityPolicyTemplateFsGroupInputArgs Empty => new GetPodSecurityPolicyTemplateFsGroupInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupRange.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupRange.cs index 4a2ff2a3d..8e58da054 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupRange.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupRange.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateFsGroupRangeArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateFsGroupRangeArgs : global::Pulumi.InvokeArgs { [Input("max", required: true)] public int Max { get; set; } @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateFsGroupRangeArgs : Pulumi.Invoke public GetPodSecurityPolicyTemplateFsGroupRangeArgs() { } + public static new GetPodSecurityPolicyTemplateFsGroupRangeArgs Empty => new GetPodSecurityPolicyTemplateFsGroupRangeArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupRangeArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupRangeArgs.cs index c6f5ce70a..c90fd43d6 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupRangeArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateFsGroupRangeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateFsGroupRangeInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateFsGroupRangeInputArgs : global::Pulumi.ResourceArgs { [Input("max", required: true)] public Input Max { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateFsGroupRangeInputArgs : Pulumi.R public GetPodSecurityPolicyTemplateFsGroupRangeInputArgs() { } + public static new GetPodSecurityPolicyTemplateFsGroupRangeInputArgs Empty => new GetPodSecurityPolicyTemplateFsGroupRangeInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateHostPort.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateHostPort.cs index dd61f96d3..0740c0b39 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateHostPort.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateHostPort.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateHostPortArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateHostPortArgs : global::Pulumi.InvokeArgs { [Input("max", required: true)] public int Max { get; set; } @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateHostPortArgs : Pulumi.InvokeArgs public GetPodSecurityPolicyTemplateHostPortArgs() { } + public static new GetPodSecurityPolicyTemplateHostPortArgs Empty => new GetPodSecurityPolicyTemplateHostPortArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateHostPortArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateHostPortArgs.cs index 1f7b00138..2772e8c44 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateHostPortArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateHostPortArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateHostPortInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateHostPortInputArgs : global::Pulumi.ResourceArgs { [Input("max", required: true)] public Input Max { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateHostPortInputArgs : Pulumi.Resou public GetPodSecurityPolicyTemplateHostPortInputArgs() { } + public static new GetPodSecurityPolicyTemplateHostPortInputArgs Empty => new GetPodSecurityPolicyTemplateHostPortInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroup.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroup.cs index 59fc972cd..89fbe88f6 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroup.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroup.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateRunAsGroupArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateRunAsGroupArgs : global::Pulumi.InvokeArgs { [Input("ranges")] private List? _ranges; @@ -26,5 +26,6 @@ public List Ranges public GetPodSecurityPolicyTemplateRunAsGroupArgs() { } + public static new GetPodSecurityPolicyTemplateRunAsGroupArgs Empty => new GetPodSecurityPolicyTemplateRunAsGroupArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupArgs.cs index 0421c207e..6681657c4 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateRunAsGroupInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateRunAsGroupInputArgs : global::Pulumi.ResourceArgs { [Input("ranges")] private InputList? _ranges; @@ -26,5 +26,6 @@ public InputList Ra public GetPodSecurityPolicyTemplateRunAsGroupInputArgs() { } + public static new GetPodSecurityPolicyTemplateRunAsGroupInputArgs Empty => new GetPodSecurityPolicyTemplateRunAsGroupInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupRange.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupRange.cs index f6567ba49..cf1b9d1f6 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupRange.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupRange.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateRunAsGroupRangeArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateRunAsGroupRangeArgs : global::Pulumi.InvokeArgs { [Input("max", required: true)] public int Max { get; set; } @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateRunAsGroupRangeArgs : Pulumi.Inv public GetPodSecurityPolicyTemplateRunAsGroupRangeArgs() { } + public static new GetPodSecurityPolicyTemplateRunAsGroupRangeArgs Empty => new GetPodSecurityPolicyTemplateRunAsGroupRangeArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupRangeArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupRangeArgs.cs index 521eb272c..033d60177 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupRangeArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsGroupRangeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateRunAsGroupRangeInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateRunAsGroupRangeInputArgs : global::Pulumi.ResourceArgs { [Input("max", required: true)] public Input Max { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateRunAsGroupRangeInputArgs : Pulum public GetPodSecurityPolicyTemplateRunAsGroupRangeInputArgs() { } + public static new GetPodSecurityPolicyTemplateRunAsGroupRangeInputArgs Empty => new GetPodSecurityPolicyTemplateRunAsGroupRangeInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUser.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUser.cs index f27f7c60a..134a4a517 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUser.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUser.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateRunAsUserArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateRunAsUserArgs : global::Pulumi.InvokeArgs { [Input("ranges")] private List? _ranges; @@ -26,5 +26,6 @@ public List Ranges public GetPodSecurityPolicyTemplateRunAsUserArgs() { } + public static new GetPodSecurityPolicyTemplateRunAsUserArgs Empty => new GetPodSecurityPolicyTemplateRunAsUserArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserArgs.cs index d3a542769..5b198dcad 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateRunAsUserInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateRunAsUserInputArgs : global::Pulumi.ResourceArgs { [Input("ranges")] private InputList? _ranges; @@ -26,5 +26,6 @@ public InputList Ran public GetPodSecurityPolicyTemplateRunAsUserInputArgs() { } + public static new GetPodSecurityPolicyTemplateRunAsUserInputArgs Empty => new GetPodSecurityPolicyTemplateRunAsUserInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserRange.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserRange.cs index 07432a1cf..e356cbc28 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserRange.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserRange.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateRunAsUserRangeArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateRunAsUserRangeArgs : global::Pulumi.InvokeArgs { [Input("max", required: true)] public int Max { get; set; } @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateRunAsUserRangeArgs : Pulumi.Invo public GetPodSecurityPolicyTemplateRunAsUserRangeArgs() { } + public static new GetPodSecurityPolicyTemplateRunAsUserRangeArgs Empty => new GetPodSecurityPolicyTemplateRunAsUserRangeArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserRangeArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserRangeArgs.cs index 09aa911e6..75e604b31 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserRangeArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRunAsUserRangeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateRunAsUserRangeInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateRunAsUserRangeInputArgs : global::Pulumi.ResourceArgs { [Input("max", required: true)] public Input Max { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateRunAsUserRangeInputArgs : Pulumi public GetPodSecurityPolicyTemplateRunAsUserRangeInputArgs() { } + public static new GetPodSecurityPolicyTemplateRunAsUserRangeInputArgs Empty => new GetPodSecurityPolicyTemplateRunAsUserRangeInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRuntimeClass.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRuntimeClass.cs index 5287af74e..6a411dedf 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRuntimeClass.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRuntimeClass.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateRuntimeClassArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateRuntimeClassArgs : global::Pulumi.InvokeArgs { [Input("allowedRuntimeClassNames", required: true)] private List? _allowedRuntimeClassNames; @@ -26,5 +26,6 @@ public List AllowedRuntimeClassNames public GetPodSecurityPolicyTemplateRuntimeClassArgs() { } + public static new GetPodSecurityPolicyTemplateRuntimeClassArgs Empty => new GetPodSecurityPolicyTemplateRuntimeClassArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRuntimeClassArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRuntimeClassArgs.cs index 34ac2cae1..1fabe6cc5 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRuntimeClassArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateRuntimeClassArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateRuntimeClassInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateRuntimeClassInputArgs : global::Pulumi.ResourceArgs { [Input("allowedRuntimeClassNames", required: true)] private InputList? _allowedRuntimeClassNames; @@ -26,5 +26,6 @@ public InputList AllowedRuntimeClassNames public GetPodSecurityPolicyTemplateRuntimeClassInputArgs() { } + public static new GetPodSecurityPolicyTemplateRuntimeClassInputArgs Empty => new GetPodSecurityPolicyTemplateRuntimeClassInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinux.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinux.cs index c3ca8518e..2f143cea2 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinux.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinux.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateSeLinuxArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateSeLinuxArgs : global::Pulumi.InvokeArgs { [Input("rule", required: true)] public string Rule { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateSeLinuxArgs : Pulumi.InvokeArgs public GetPodSecurityPolicyTemplateSeLinuxArgs() { } + public static new GetPodSecurityPolicyTemplateSeLinuxArgs Empty => new GetPodSecurityPolicyTemplateSeLinuxArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxArgs.cs index e4ee745a8..a76782230 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateSeLinuxInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateSeLinuxInputArgs : global::Pulumi.ResourceArgs { [Input("rule", required: true)] public Input Rule { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateSeLinuxInputArgs : Pulumi.Resour public GetPodSecurityPolicyTemplateSeLinuxInputArgs() { } + public static new GetPodSecurityPolicyTemplateSeLinuxInputArgs Empty => new GetPodSecurityPolicyTemplateSeLinuxInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption.cs index 6ef1ec454..75a2a2b8c 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs : global::Pulumi.InvokeArgs { [Input("level")] public string? Level { get; set; } @@ -27,5 +27,6 @@ public sealed class GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs : Pulum public GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs() { } + public static new GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs Empty => new GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs.cs index 131f425d1..f40deb7ee 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInputArgs : global::Pulumi.ResourceArgs { [Input("level")] public Input? Level { get; set; } @@ -27,5 +27,6 @@ public sealed class GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInputArgs : public GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInputArgs() { } + public static new GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInputArgs Empty => new GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroup.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroup.cs index 381d44bec..a43079326 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroup.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroup.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateSupplementalGroupArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateSupplementalGroupArgs : global::Pulumi.InvokeArgs { [Input("ranges", required: true)] private List? _ranges; @@ -26,5 +26,6 @@ public List Range public GetPodSecurityPolicyTemplateSupplementalGroupArgs() { } + public static new GetPodSecurityPolicyTemplateSupplementalGroupArgs Empty => new GetPodSecurityPolicyTemplateSupplementalGroupArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupArgs.cs index 3c171b3b2..ddd25116e 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateSupplementalGroupInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateSupplementalGroupInputArgs : global::Pulumi.ResourceArgs { [Input("ranges", required: true)] private InputList? _ranges; @@ -26,5 +26,6 @@ public InputList new GetPodSecurityPolicyTemplateSupplementalGroupInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupRange.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupRange.cs index e341eefdb..3b513ba1a 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupRange.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupRange.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs : Pulumi.InvokeArgs + public sealed class GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs : global::Pulumi.InvokeArgs { [Input("max", required: true)] public int Max { get; set; } @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs : Pul public GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs() { } + public static new GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs Empty => new GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs(); } } diff --git a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs.cs b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs.cs index 839d08b18..8b251668b 100644 --- a/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs.cs +++ b/sdk/dotnet/Inputs/GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GetPodSecurityPolicyTemplateSupplementalGroupRangeInputArgs : Pulumi.ResourceArgs + public sealed class GetPodSecurityPolicyTemplateSupplementalGroupRangeInputArgs : global::Pulumi.ResourceArgs { [Input("max", required: true)] public Input Max { get; set; } = null!; @@ -21,5 +21,6 @@ public sealed class GetPodSecurityPolicyTemplateSupplementalGroupRangeInputArgs public GetPodSecurityPolicyTemplateSupplementalGroupRangeInputArgs() { } + public static new GetPodSecurityPolicyTemplateSupplementalGroupRangeInputArgs Empty => new GetPodSecurityPolicyTemplateSupplementalGroupRangeInputArgs(); } } diff --git a/sdk/dotnet/Inputs/GlobalDnsProviderAlidnsConfigArgs.cs b/sdk/dotnet/Inputs/GlobalDnsProviderAlidnsConfigArgs.cs index b5eda7da0..fa4e2bba4 100644 --- a/sdk/dotnet/Inputs/GlobalDnsProviderAlidnsConfigArgs.cs +++ b/sdk/dotnet/Inputs/GlobalDnsProviderAlidnsConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GlobalDnsProviderAlidnsConfigArgs : Pulumi.ResourceArgs + public sealed class GlobalDnsProviderAlidnsConfigArgs : global::Pulumi.ResourceArgs { /// /// The AWS Access key (string) @@ -27,5 +27,6 @@ public sealed class GlobalDnsProviderAlidnsConfigArgs : Pulumi.ResourceArgs public GlobalDnsProviderAlidnsConfigArgs() { } + public static new GlobalDnsProviderAlidnsConfigArgs Empty => new GlobalDnsProviderAlidnsConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/GlobalDnsProviderAlidnsConfigGetArgs.cs b/sdk/dotnet/Inputs/GlobalDnsProviderAlidnsConfigGetArgs.cs index 73458e6f4..968e37749 100644 --- a/sdk/dotnet/Inputs/GlobalDnsProviderAlidnsConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/GlobalDnsProviderAlidnsConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GlobalDnsProviderAlidnsConfigGetArgs : Pulumi.ResourceArgs + public sealed class GlobalDnsProviderAlidnsConfigGetArgs : global::Pulumi.ResourceArgs { /// /// The AWS Access key (string) @@ -27,5 +27,6 @@ public sealed class GlobalDnsProviderAlidnsConfigGetArgs : Pulumi.ResourceArgs public GlobalDnsProviderAlidnsConfigGetArgs() { } + public static new GlobalDnsProviderAlidnsConfigGetArgs Empty => new GlobalDnsProviderAlidnsConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/GlobalDnsProviderCloudflareConfigArgs.cs b/sdk/dotnet/Inputs/GlobalDnsProviderCloudflareConfigArgs.cs index 3cb3862ed..13171c404 100644 --- a/sdk/dotnet/Inputs/GlobalDnsProviderCloudflareConfigArgs.cs +++ b/sdk/dotnet/Inputs/GlobalDnsProviderCloudflareConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GlobalDnsProviderCloudflareConfigArgs : Pulumi.ResourceArgs + public sealed class GlobalDnsProviderCloudflareConfigArgs : global::Pulumi.ResourceArgs { /// /// The CloudFlare API Email (string) @@ -33,5 +33,6 @@ public sealed class GlobalDnsProviderCloudflareConfigArgs : Pulumi.ResourceArgs public GlobalDnsProviderCloudflareConfigArgs() { } + public static new GlobalDnsProviderCloudflareConfigArgs Empty => new GlobalDnsProviderCloudflareConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/GlobalDnsProviderCloudflareConfigGetArgs.cs b/sdk/dotnet/Inputs/GlobalDnsProviderCloudflareConfigGetArgs.cs index 7dcdb26c2..0488b658d 100644 --- a/sdk/dotnet/Inputs/GlobalDnsProviderCloudflareConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/GlobalDnsProviderCloudflareConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GlobalDnsProviderCloudflareConfigGetArgs : Pulumi.ResourceArgs + public sealed class GlobalDnsProviderCloudflareConfigGetArgs : global::Pulumi.ResourceArgs { /// /// The CloudFlare API Email (string) @@ -33,5 +33,6 @@ public sealed class GlobalDnsProviderCloudflareConfigGetArgs : Pulumi.ResourceAr public GlobalDnsProviderCloudflareConfigGetArgs() { } + public static new GlobalDnsProviderCloudflareConfigGetArgs Empty => new GlobalDnsProviderCloudflareConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/GlobalDnsProviderRoute53ConfigArgs.cs b/sdk/dotnet/Inputs/GlobalDnsProviderRoute53ConfigArgs.cs index e2f7bd640..0151240ef 100644 --- a/sdk/dotnet/Inputs/GlobalDnsProviderRoute53ConfigArgs.cs +++ b/sdk/dotnet/Inputs/GlobalDnsProviderRoute53ConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GlobalDnsProviderRoute53ConfigArgs : Pulumi.ResourceArgs + public sealed class GlobalDnsProviderRoute53ConfigArgs : global::Pulumi.ResourceArgs { /// /// The AWS Access key (string) @@ -51,5 +51,6 @@ public sealed class GlobalDnsProviderRoute53ConfigArgs : Pulumi.ResourceArgs public GlobalDnsProviderRoute53ConfigArgs() { } + public static new GlobalDnsProviderRoute53ConfigArgs Empty => new GlobalDnsProviderRoute53ConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/GlobalDnsProviderRoute53ConfigGetArgs.cs b/sdk/dotnet/Inputs/GlobalDnsProviderRoute53ConfigGetArgs.cs index 69c7a81db..fa0efaa9d 100644 --- a/sdk/dotnet/Inputs/GlobalDnsProviderRoute53ConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/GlobalDnsProviderRoute53ConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GlobalDnsProviderRoute53ConfigGetArgs : Pulumi.ResourceArgs + public sealed class GlobalDnsProviderRoute53ConfigGetArgs : global::Pulumi.ResourceArgs { /// /// The AWS Access key (string) @@ -51,5 +51,6 @@ public sealed class GlobalDnsProviderRoute53ConfigGetArgs : Pulumi.ResourceArgs public GlobalDnsProviderRoute53ConfigGetArgs() { } + public static new GlobalDnsProviderRoute53ConfigGetArgs Empty => new GlobalDnsProviderRoute53ConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/GlobalRoleRuleArgs.cs b/sdk/dotnet/Inputs/GlobalRoleRuleArgs.cs index 983c25bc0..f2935084d 100644 --- a/sdk/dotnet/Inputs/GlobalRoleRuleArgs.cs +++ b/sdk/dotnet/Inputs/GlobalRoleRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GlobalRoleRuleArgs : Pulumi.ResourceArgs + public sealed class GlobalRoleRuleArgs : global::Pulumi.ResourceArgs { [Input("apiGroups")] private InputList? _apiGroups; @@ -75,5 +75,6 @@ public InputList Verbs public GlobalRoleRuleArgs() { } + public static new GlobalRoleRuleArgs Empty => new GlobalRoleRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/GlobalRoleRuleGetArgs.cs b/sdk/dotnet/Inputs/GlobalRoleRuleGetArgs.cs index a6d595c00..2d2aea3db 100644 --- a/sdk/dotnet/Inputs/GlobalRoleRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/GlobalRoleRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class GlobalRoleRuleGetArgs : Pulumi.ResourceArgs + public sealed class GlobalRoleRuleGetArgs : global::Pulumi.ResourceArgs { [Input("apiGroups")] private InputList? _apiGroups; @@ -75,5 +75,6 @@ public InputList Verbs public GlobalRoleRuleGetArgs() { } + public static new GlobalRoleRuleGetArgs Empty => new GlobalRoleRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigArgs.cs index 127106169..c4137c827 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigArgs.cs @@ -10,10 +10,19 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2Amazonec2ConfigArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2Amazonec2ConfigArgs : global::Pulumi.ResourceArgs { [Input("accessKey")] - public Input? AccessKey { get; set; } + private Input? _accessKey; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS machine image (string) @@ -136,7 +145,16 @@ public InputList OpenPorts public Input? RootSize { get; set; } [Input("secretKey")] - public Input? SecretKey { get; set; } + private Input? _secretKey; + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Skip adding default rules to security groups (bool) @@ -156,11 +174,21 @@ public InputList SecurityGroups set => _securityGroups = value; } + [Input("sessionToken")] + private Input? _sessionToken; + /// /// AWS Session Token (string) /// - [Input("sessionToken")] - public Input? SessionToken { get; set; } + public Input? SessionToken + { + get => _sessionToken; + set + { + var emptySecret = Output.CreateSecret(0); + _sessionToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS spot instance bid price (in dollar). Default `0.50` (string) @@ -168,11 +196,21 @@ public InputList SecurityGroups [Input("spotPrice")] public Input? SpotPrice { get; set; } + [Input("sshKeyContents")] + private Input? _sshKeyContents; + /// /// SSH private key contents (string) /// - [Input("sshKeyContents")] - public Input? SshKeyContents { get; set; } + public Input? SshKeyContents + { + get => _sshKeyContents; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKeyContents = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) @@ -231,5 +269,6 @@ public InputList SecurityGroups public MachineConfigV2Amazonec2ConfigArgs() { } + public static new MachineConfigV2Amazonec2ConfigArgs Empty => new MachineConfigV2Amazonec2ConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigGetArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigGetArgs.cs index f46e86af9..3bbca0182 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2Amazonec2ConfigGetArgs.cs @@ -10,10 +10,19 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2Amazonec2ConfigGetArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2Amazonec2ConfigGetArgs : global::Pulumi.ResourceArgs { [Input("accessKey")] - public Input? AccessKey { get; set; } + private Input? _accessKey; + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS machine image (string) @@ -136,7 +145,16 @@ public InputList OpenPorts public Input? RootSize { get; set; } [Input("secretKey")] - public Input? SecretKey { get; set; } + private Input? _secretKey; + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Skip adding default rules to security groups (bool) @@ -156,11 +174,21 @@ public InputList SecurityGroups set => _securityGroups = value; } + [Input("sessionToken")] + private Input? _sessionToken; + /// /// AWS Session Token (string) /// - [Input("sessionToken")] - public Input? SessionToken { get; set; } + public Input? SessionToken + { + get => _sessionToken; + set + { + var emptySecret = Output.CreateSecret(0); + _sessionToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS spot instance bid price (in dollar). Default `0.50` (string) @@ -168,11 +196,21 @@ public InputList SecurityGroups [Input("spotPrice")] public Input? SpotPrice { get; set; } + [Input("sshKeyContents")] + private Input? _sshKeyContents; + /// /// SSH private key contents (string) /// - [Input("sshKeyContents")] - public Input? SshKeyContents { get; set; } + public Input? SshKeyContents + { + get => _sshKeyContents; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKeyContents = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) @@ -231,5 +269,6 @@ public InputList SecurityGroups public MachineConfigV2Amazonec2ConfigGetArgs() { } + public static new MachineConfigV2Amazonec2ConfigGetArgs Empty => new MachineConfigV2Amazonec2ConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2AzureConfigArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2AzureConfigArgs.cs index 854c17267..41ced47a9 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2AzureConfigArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2AzureConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2AzureConfigArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2AzureConfigArgs : global::Pulumi.ResourceArgs { /// /// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) @@ -18,17 +18,37 @@ public sealed class MachineConfigV2AzureConfigArgs : Pulumi.ResourceArgs [Input("availabilitySet")] public Input? AvailabilitySet { get; set; } + [Input("clientId")] + private Input? _clientId; + /// /// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("clientId")] - public Input? ClientId { get; set; } + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret")] + private Input? _clientSecret; /// /// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Path to file with custom-data (string) @@ -108,6 +128,12 @@ public InputList OpenPorts set => _openPorts = value; } + /// + /// Only use a private IP address. Default `false` (bool) + /// + [Input("privateAddressOnly")] + public Input? PrivateAddressOnly { get; set; } + /// /// Specify a static private IP address for the machine. (string) /// @@ -156,17 +182,37 @@ public InputList OpenPorts [Input("subnetPrefix")] public Input? SubnetPrefix { get; set; } + [Input("subscriptionId")] + private Input? _subscriptionId; + /// /// Azure Subscription ID (string) /// - [Input("subscriptionId")] - public Input? SubscriptionId { get; set; } + public Input? SubscriptionId + { + get => _subscriptionId; + set + { + var emptySecret = Output.CreateSecret(0); + _subscriptionId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("tenantId")] + private Input? _tenantId; /// /// OpenStack tenant id. Conflicts with `tenant_name` (string) /// - [Input("tenantId")] - public Input? TenantId { get; set; } + public Input? TenantId + { + get => _tenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _tenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Update domain count to use for availability set. Default `5` (string) @@ -189,5 +235,6 @@ public InputList OpenPorts public MachineConfigV2AzureConfigArgs() { } + public static new MachineConfigV2AzureConfigArgs Empty => new MachineConfigV2AzureConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2AzureConfigGetArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2AzureConfigGetArgs.cs index 8d9fae06e..02aaf49bb 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2AzureConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2AzureConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2AzureConfigGetArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2AzureConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) @@ -18,17 +18,37 @@ public sealed class MachineConfigV2AzureConfigGetArgs : Pulumi.ResourceArgs [Input("availabilitySet")] public Input? AvailabilitySet { get; set; } + [Input("clientId")] + private Input? _clientId; + /// /// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("clientId")] - public Input? ClientId { get; set; } + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret")] + private Input? _clientSecret; /// /// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Path to file with custom-data (string) @@ -108,6 +128,12 @@ public InputList OpenPorts set => _openPorts = value; } + /// + /// Only use a private IP address. Default `false` (bool) + /// + [Input("privateAddressOnly")] + public Input? PrivateAddressOnly { get; set; } + /// /// Specify a static private IP address for the machine. (string) /// @@ -156,17 +182,37 @@ public InputList OpenPorts [Input("subnetPrefix")] public Input? SubnetPrefix { get; set; } + [Input("subscriptionId")] + private Input? _subscriptionId; + /// /// Azure Subscription ID (string) /// - [Input("subscriptionId")] - public Input? SubscriptionId { get; set; } + public Input? SubscriptionId + { + get => _subscriptionId; + set + { + var emptySecret = Output.CreateSecret(0); + _subscriptionId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("tenantId")] + private Input? _tenantId; /// /// OpenStack tenant id. Conflicts with `tenant_name` (string) /// - [Input("tenantId")] - public Input? TenantId { get; set; } + public Input? TenantId + { + get => _tenantId; + set + { + var emptySecret = Output.CreateSecret(0); + _tenantId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Update domain count to use for availability set. Default `5` (string) @@ -189,5 +235,6 @@ public InputList OpenPorts public MachineConfigV2AzureConfigGetArgs() { } + public static new MachineConfigV2AzureConfigGetArgs Empty => new MachineConfigV2AzureConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2DigitaloceanConfigArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2DigitaloceanConfigArgs.cs index 04cae6cae..3a87e81aa 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2DigitaloceanConfigArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2DigitaloceanConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2DigitaloceanConfigArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2DigitaloceanConfigArgs : global::Pulumi.ResourceArgs { + [Input("accessToken")] + private Input? _accessToken; + /// /// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("accessToken")] - public Input? AccessToken { get; set; } + public Input? AccessToken + { + get => _accessToken; + set + { + var emptySecret = Output.CreateSecret(0); + _accessToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable backups for droplet. Default `false` (bool) @@ -60,17 +70,37 @@ public sealed class MachineConfigV2DigitaloceanConfigArgs : Pulumi.ResourceArgs [Input("size")] public Input? Size { get; set; } + [Input("sshKeyContents")] + private Input? _sshKeyContents; + /// /// SSH private key contents (string) /// - [Input("sshKeyContents")] - public Input? SshKeyContents { get; set; } + public Input? SshKeyContents + { + get => _sshKeyContents; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKeyContents = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("sshKeyFingerprint")] + private Input? _sshKeyFingerprint; /// /// SSH key fingerprint (string) /// - [Input("sshKeyFingerprint")] - public Input? SshKeyFingerprint { get; set; } + public Input? SshKeyFingerprint + { + get => _sshKeyFingerprint; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKeyFingerprint = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh port. Default `22` (string) @@ -99,5 +129,6 @@ public sealed class MachineConfigV2DigitaloceanConfigArgs : Pulumi.ResourceArgs public MachineConfigV2DigitaloceanConfigArgs() { } + public static new MachineConfigV2DigitaloceanConfigArgs Empty => new MachineConfigV2DigitaloceanConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2DigitaloceanConfigGetArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2DigitaloceanConfigGetArgs.cs index 400ecc5b2..6ebe5e045 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2DigitaloceanConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2DigitaloceanConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2DigitaloceanConfigGetArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2DigitaloceanConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("accessToken")] + private Input? _accessToken; + /// /// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("accessToken")] - public Input? AccessToken { get; set; } + public Input? AccessToken + { + get => _accessToken; + set + { + var emptySecret = Output.CreateSecret(0); + _accessToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable backups for droplet. Default `false` (bool) @@ -60,17 +70,37 @@ public sealed class MachineConfigV2DigitaloceanConfigGetArgs : Pulumi.ResourceAr [Input("size")] public Input? Size { get; set; } + [Input("sshKeyContents")] + private Input? _sshKeyContents; + /// /// SSH private key contents (string) /// - [Input("sshKeyContents")] - public Input? SshKeyContents { get; set; } + public Input? SshKeyContents + { + get => _sshKeyContents; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKeyContents = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("sshKeyFingerprint")] + private Input? _sshKeyFingerprint; /// /// SSH key fingerprint (string) /// - [Input("sshKeyFingerprint")] - public Input? SshKeyFingerprint { get; set; } + public Input? SshKeyFingerprint + { + get => _sshKeyFingerprint; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKeyFingerprint = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh port. Default `22` (string) @@ -99,5 +129,6 @@ public sealed class MachineConfigV2DigitaloceanConfigGetArgs : Pulumi.ResourceAr public MachineConfigV2DigitaloceanConfigGetArgs() { } + public static new MachineConfigV2DigitaloceanConfigGetArgs Empty => new MachineConfigV2DigitaloceanConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2HarvesterConfigArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2HarvesterConfigArgs.cs index 66d364edc..5b39016fd 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2HarvesterConfigArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2HarvesterConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2HarvesterConfigArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2HarvesterConfigArgs : global::Pulumi.ResourceArgs { /// /// vSphere CPU number for docker VM. Default `2` (string) @@ -60,11 +60,21 @@ public sealed class MachineConfigV2HarvesterConfigArgs : Pulumi.ResourceArgs [Input("networkName", required: true)] public Input NetworkName { get; set; } = null!; + [Input("sshPassword")] + private Input? _sshPassword; + /// /// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) /// - [Input("sshPassword")] - public Input? SshPassword { get; set; } + public Input? SshPassword + { + get => _sshPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _sshPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) @@ -87,5 +97,6 @@ public sealed class MachineConfigV2HarvesterConfigArgs : Pulumi.ResourceArgs public MachineConfigV2HarvesterConfigArgs() { } + public static new MachineConfigV2HarvesterConfigArgs Empty => new MachineConfigV2HarvesterConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2HarvesterConfigGetArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2HarvesterConfigGetArgs.cs index 84a6184d9..d1555b2a2 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2HarvesterConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2HarvesterConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2HarvesterConfigGetArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2HarvesterConfigGetArgs : global::Pulumi.ResourceArgs { /// /// vSphere CPU number for docker VM. Default `2` (string) @@ -60,11 +60,21 @@ public sealed class MachineConfigV2HarvesterConfigGetArgs : Pulumi.ResourceArgs [Input("networkName", required: true)] public Input NetworkName { get; set; } = null!; + [Input("sshPassword")] + private Input? _sshPassword; + /// /// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) /// - [Input("sshPassword")] - public Input? SshPassword { get; set; } + public Input? SshPassword + { + get => _sshPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _sshPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) @@ -87,5 +97,6 @@ public sealed class MachineConfigV2HarvesterConfigGetArgs : Pulumi.ResourceArgs public MachineConfigV2HarvesterConfigGetArgs() { } + public static new MachineConfigV2HarvesterConfigGetArgs Empty => new MachineConfigV2HarvesterConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2LinodeConfigArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2LinodeConfigArgs.cs index 632fa9618..963de1e61 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2LinodeConfigArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2LinodeConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2LinodeConfigArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2LinodeConfigArgs : global::Pulumi.ResourceArgs { /// /// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) @@ -54,11 +54,21 @@ public sealed class MachineConfigV2LinodeConfigArgs : Pulumi.ResourceArgs [Input("region")] public Input? Region { get; set; } + [Input("rootPass")] + private Input? _rootPass; + /// /// Root Password (string) /// - [Input("rootPass")] - public Input? RootPass { get; set; } + public Input? RootPass + { + get => _rootPass; + set + { + var emptySecret = Output.CreateSecret(0); + _rootPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh port. Default `22` (string) @@ -96,11 +106,21 @@ public sealed class MachineConfigV2LinodeConfigArgs : Pulumi.ResourceArgs [Input("tags")] public Input? Tags { get; set; } + [Input("token")] + private Input? _token; + /// /// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Prefix the User-Agent in Linode API calls with some 'product/version' (string) @@ -111,5 +131,6 @@ public sealed class MachineConfigV2LinodeConfigArgs : Pulumi.ResourceArgs public MachineConfigV2LinodeConfigArgs() { } + public static new MachineConfigV2LinodeConfigArgs Empty => new MachineConfigV2LinodeConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2LinodeConfigGetArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2LinodeConfigGetArgs.cs index 88a326624..beecf133a 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2LinodeConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2LinodeConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2LinodeConfigGetArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2LinodeConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) @@ -54,11 +54,21 @@ public sealed class MachineConfigV2LinodeConfigGetArgs : Pulumi.ResourceArgs [Input("region")] public Input? Region { get; set; } + [Input("rootPass")] + private Input? _rootPass; + /// /// Root Password (string) /// - [Input("rootPass")] - public Input? RootPass { get; set; } + public Input? RootPass + { + get => _rootPass; + set + { + var emptySecret = Output.CreateSecret(0); + _rootPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh port. Default `22` (string) @@ -96,11 +106,21 @@ public sealed class MachineConfigV2LinodeConfigGetArgs : Pulumi.ResourceArgs [Input("tags")] public Input? Tags { get; set; } + [Input("token")] + private Input? _token; + /// /// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Prefix the User-Agent in Linode API calls with some 'product/version' (string) @@ -111,5 +131,6 @@ public sealed class MachineConfigV2LinodeConfigGetArgs : Pulumi.ResourceArgs public MachineConfigV2LinodeConfigGetArgs() { } + public static new MachineConfigV2LinodeConfigGetArgs Empty => new MachineConfigV2LinodeConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigArgs.cs index edfda5de9..08aaa5a0b 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2OpenstackConfigArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2OpenstackConfigArgs : global::Pulumi.ResourceArgs { /// /// OpenStack active timeout Default `200` (string) @@ -30,11 +30,21 @@ public sealed class MachineConfigV2OpenstackConfigArgs : Pulumi.ResourceArgs [Input("applicationCredentialName")] public Input? ApplicationCredentialName { get; set; } + [Input("applicationCredentialSecret")] + private Input? _applicationCredentialSecret; + /// /// OpenStack application credential secret (string) /// - [Input("applicationCredentialSecret")] - public Input? ApplicationCredentialSecret { get; set; } + public Input? ApplicationCredentialSecret + { + get => _applicationCredentialSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _applicationCredentialSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// OpenStack authentication URL (string) @@ -150,17 +160,37 @@ public sealed class MachineConfigV2OpenstackConfigArgs : Pulumi.ResourceArgs [Input("novaNetwork")] public Input? NovaNetwork { get; set; } + [Input("password")] + private Input? _password; + /// /// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("privateKeyFile")] + private Input? _privateKeyFile; /// /// Private key content to use for SSH (string) /// - [Input("privateKeyFile")] - public Input? PrivateKeyFile { get; set; } + public Input? PrivateKeyFile + { + get => _privateKeyFile; + set + { + var emptySecret = Output.CreateSecret(0); + _privateKeyFile = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// OpenStack region name (string) @@ -269,5 +299,6 @@ public sealed class MachineConfigV2OpenstackConfigArgs : Pulumi.ResourceArgs public MachineConfigV2OpenstackConfigArgs() { } + public static new MachineConfigV2OpenstackConfigArgs Empty => new MachineConfigV2OpenstackConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigGetArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigGetArgs.cs index be3730fa7..d8ed5e774 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2OpenstackConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2OpenstackConfigGetArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2OpenstackConfigGetArgs : global::Pulumi.ResourceArgs { /// /// OpenStack active timeout Default `200` (string) @@ -30,11 +30,21 @@ public sealed class MachineConfigV2OpenstackConfigGetArgs : Pulumi.ResourceArgs [Input("applicationCredentialName")] public Input? ApplicationCredentialName { get; set; } + [Input("applicationCredentialSecret")] + private Input? _applicationCredentialSecret; + /// /// OpenStack application credential secret (string) /// - [Input("applicationCredentialSecret")] - public Input? ApplicationCredentialSecret { get; set; } + public Input? ApplicationCredentialSecret + { + get => _applicationCredentialSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _applicationCredentialSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// OpenStack authentication URL (string) @@ -150,17 +160,37 @@ public sealed class MachineConfigV2OpenstackConfigGetArgs : Pulumi.ResourceArgs [Input("novaNetwork")] public Input? NovaNetwork { get; set; } + [Input("password")] + private Input? _password; + /// /// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("privateKeyFile")] + private Input? _privateKeyFile; /// /// Private key content to use for SSH (string) /// - [Input("privateKeyFile")] - public Input? PrivateKeyFile { get; set; } + public Input? PrivateKeyFile + { + get => _privateKeyFile; + set + { + var emptySecret = Output.CreateSecret(0); + _privateKeyFile = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// OpenStack region name (string) @@ -269,5 +299,6 @@ public sealed class MachineConfigV2OpenstackConfigGetArgs : Pulumi.ResourceArgs public MachineConfigV2OpenstackConfigGetArgs() { } + public static new MachineConfigV2OpenstackConfigGetArgs Empty => new MachineConfigV2OpenstackConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2VsphereConfigArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2VsphereConfigArgs.cs index be195ee87..d3e712a4a 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2VsphereConfigArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2VsphereConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2VsphereConfigArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2VsphereConfigArgs : global::Pulumi.ResourceArgs { /// /// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) @@ -132,11 +132,21 @@ public InputList Networks set => _networks = value; } + [Input("password")] + private Input? _password; + /// /// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// vSphere resource pool for docker VM (string) @@ -144,11 +154,21 @@ public InputList Networks [Input("pool")] public Input? Pool { get; set; } + [Input("sshPassword")] + private Input? _sshPassword; + /// /// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) /// - [Input("sshPassword")] - public Input? SshPassword { get; set; } + public Input? SshPassword + { + get => _sshPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _sshPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh port. Default `22` (string) @@ -231,5 +251,6 @@ public InputList VappProperties public MachineConfigV2VsphereConfigArgs() { } + public static new MachineConfigV2VsphereConfigArgs Empty => new MachineConfigV2VsphereConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/MachineConfigV2VsphereConfigGetArgs.cs b/sdk/dotnet/Inputs/MachineConfigV2VsphereConfigGetArgs.cs index 26d382125..269722214 100644 --- a/sdk/dotnet/Inputs/MachineConfigV2VsphereConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/MachineConfigV2VsphereConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MachineConfigV2VsphereConfigGetArgs : Pulumi.ResourceArgs + public sealed class MachineConfigV2VsphereConfigGetArgs : global::Pulumi.ResourceArgs { /// /// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) @@ -132,11 +132,21 @@ public InputList Networks set => _networks = value; } + [Input("password")] + private Input? _password; + /// /// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// vSphere resource pool for docker VM (string) @@ -144,11 +154,21 @@ public InputList Networks [Input("pool")] public Input? Pool { get; set; } + [Input("sshPassword")] + private Input? _sshPassword; + /// /// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) /// - [Input("sshPassword")] - public Input? SshPassword { get; set; } + public Input? SshPassword + { + get => _sshPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _sshPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh port. Default `22` (string) @@ -231,5 +251,6 @@ public InputList VappProperties public MachineConfigV2VsphereConfigGetArgs() { } + public static new MachineConfigV2VsphereConfigGetArgs Empty => new MachineConfigV2VsphereConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MultiClusterAppAnswerArgs.cs b/sdk/dotnet/Inputs/MultiClusterAppAnswerArgs.cs index 063566420..334515aed 100644 --- a/sdk/dotnet/Inputs/MultiClusterAppAnswerArgs.cs +++ b/sdk/dotnet/Inputs/MultiClusterAppAnswerArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MultiClusterAppAnswerArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppAnswerArgs : global::Pulumi.ResourceArgs { /// /// Cluster ID for answer (string) @@ -39,5 +39,6 @@ public InputMap Values public MultiClusterAppAnswerArgs() { } + public static new MultiClusterAppAnswerArgs Empty => new MultiClusterAppAnswerArgs(); } } diff --git a/sdk/dotnet/Inputs/MultiClusterAppAnswerGetArgs.cs b/sdk/dotnet/Inputs/MultiClusterAppAnswerGetArgs.cs index 33fc7d2dc..7e802d505 100644 --- a/sdk/dotnet/Inputs/MultiClusterAppAnswerGetArgs.cs +++ b/sdk/dotnet/Inputs/MultiClusterAppAnswerGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MultiClusterAppAnswerGetArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppAnswerGetArgs : global::Pulumi.ResourceArgs { /// /// Cluster ID for answer (string) @@ -39,5 +39,6 @@ public InputMap Values public MultiClusterAppAnswerGetArgs() { } + public static new MultiClusterAppAnswerGetArgs Empty => new MultiClusterAppAnswerGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MultiClusterAppMemberArgs.cs b/sdk/dotnet/Inputs/MultiClusterAppMemberArgs.cs index 34dd2f21a..5e98543ce 100644 --- a/sdk/dotnet/Inputs/MultiClusterAppMemberArgs.cs +++ b/sdk/dotnet/Inputs/MultiClusterAppMemberArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MultiClusterAppMemberArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppMemberArgs : global::Pulumi.ResourceArgs { /// /// Member access type. Valid values: `["member" | "owner" | "read-only"]` (string) @@ -33,5 +33,6 @@ public sealed class MultiClusterAppMemberArgs : Pulumi.ResourceArgs public MultiClusterAppMemberArgs() { } + public static new MultiClusterAppMemberArgs Empty => new MultiClusterAppMemberArgs(); } } diff --git a/sdk/dotnet/Inputs/MultiClusterAppMemberGetArgs.cs b/sdk/dotnet/Inputs/MultiClusterAppMemberGetArgs.cs index b73816a0d..e516ad36b 100644 --- a/sdk/dotnet/Inputs/MultiClusterAppMemberGetArgs.cs +++ b/sdk/dotnet/Inputs/MultiClusterAppMemberGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MultiClusterAppMemberGetArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppMemberGetArgs : global::Pulumi.ResourceArgs { /// /// Member access type. Valid values: `["member" | "owner" | "read-only"]` (string) @@ -33,5 +33,6 @@ public sealed class MultiClusterAppMemberGetArgs : Pulumi.ResourceArgs public MultiClusterAppMemberGetArgs() { } + public static new MultiClusterAppMemberGetArgs Empty => new MultiClusterAppMemberGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MultiClusterAppTargetArgs.cs b/sdk/dotnet/Inputs/MultiClusterAppTargetArgs.cs index a69587371..f8c3f3843 100644 --- a/sdk/dotnet/Inputs/MultiClusterAppTargetArgs.cs +++ b/sdk/dotnet/Inputs/MultiClusterAppTargetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MultiClusterAppTargetArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppTargetArgs : global::Pulumi.ResourceArgs { /// /// App ID for target (string) @@ -39,5 +39,6 @@ public sealed class MultiClusterAppTargetArgs : Pulumi.ResourceArgs public MultiClusterAppTargetArgs() { } + public static new MultiClusterAppTargetArgs Empty => new MultiClusterAppTargetArgs(); } } diff --git a/sdk/dotnet/Inputs/MultiClusterAppTargetGetArgs.cs b/sdk/dotnet/Inputs/MultiClusterAppTargetGetArgs.cs index 9e84f097d..75739928b 100644 --- a/sdk/dotnet/Inputs/MultiClusterAppTargetGetArgs.cs +++ b/sdk/dotnet/Inputs/MultiClusterAppTargetGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MultiClusterAppTargetGetArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppTargetGetArgs : global::Pulumi.ResourceArgs { /// /// App ID for target (string) @@ -39,5 +39,6 @@ public sealed class MultiClusterAppTargetGetArgs : Pulumi.ResourceArgs public MultiClusterAppTargetGetArgs() { } + public static new MultiClusterAppTargetGetArgs Empty => new MultiClusterAppTargetGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyArgs.cs b/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyArgs.cs index cc766ab8e..1f44322e7 100644 --- a/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyArgs.cs +++ b/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MultiClusterAppUpgradeStrategyArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppUpgradeStrategyArgs : global::Pulumi.ResourceArgs { /// /// Upgrade strategy rolling update (list MaxItems:1) @@ -21,5 +21,6 @@ public sealed class MultiClusterAppUpgradeStrategyArgs : Pulumi.ResourceArgs public MultiClusterAppUpgradeStrategyArgs() { } + public static new MultiClusterAppUpgradeStrategyArgs Empty => new MultiClusterAppUpgradeStrategyArgs(); } } diff --git a/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyGetArgs.cs b/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyGetArgs.cs index 5154d0ddc..8e160c377 100644 --- a/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyGetArgs.cs +++ b/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MultiClusterAppUpgradeStrategyGetArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppUpgradeStrategyGetArgs : global::Pulumi.ResourceArgs { /// /// Upgrade strategy rolling update (list MaxItems:1) @@ -21,5 +21,6 @@ public sealed class MultiClusterAppUpgradeStrategyGetArgs : Pulumi.ResourceArgs public MultiClusterAppUpgradeStrategyGetArgs() { } + public static new MultiClusterAppUpgradeStrategyGetArgs Empty => new MultiClusterAppUpgradeStrategyGetArgs(); } } diff --git a/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyRollingUpdateArgs.cs b/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyRollingUpdateArgs.cs index 101f7b961..bd773ba96 100644 --- a/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyRollingUpdateArgs.cs +++ b/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyRollingUpdateArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MultiClusterAppUpgradeStrategyRollingUpdateArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppUpgradeStrategyRollingUpdateArgs : global::Pulumi.ResourceArgs { /// /// Rolling update batch size. Default `1` (int) @@ -27,5 +27,6 @@ public sealed class MultiClusterAppUpgradeStrategyRollingUpdateArgs : Pulumi.Res public MultiClusterAppUpgradeStrategyRollingUpdateArgs() { } + public static new MultiClusterAppUpgradeStrategyRollingUpdateArgs Empty => new MultiClusterAppUpgradeStrategyRollingUpdateArgs(); } } diff --git a/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyRollingUpdateGetArgs.cs b/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyRollingUpdateGetArgs.cs index 01141a3b9..67d5ab1df 100644 --- a/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyRollingUpdateGetArgs.cs +++ b/sdk/dotnet/Inputs/MultiClusterAppUpgradeStrategyRollingUpdateGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class MultiClusterAppUpgradeStrategyRollingUpdateGetArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppUpgradeStrategyRollingUpdateGetArgs : global::Pulumi.ResourceArgs { /// /// Rolling update batch size. Default `1` (int) @@ -27,5 +27,6 @@ public sealed class MultiClusterAppUpgradeStrategyRollingUpdateGetArgs : Pulumi. public MultiClusterAppUpgradeStrategyRollingUpdateGetArgs() { } + public static new MultiClusterAppUpgradeStrategyRollingUpdateGetArgs Empty => new MultiClusterAppUpgradeStrategyRollingUpdateGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NamespaceContainerResourceLimitArgs.cs b/sdk/dotnet/Inputs/NamespaceContainerResourceLimitArgs.cs index ace715a47..a1189b083 100644 --- a/sdk/dotnet/Inputs/NamespaceContainerResourceLimitArgs.cs +++ b/sdk/dotnet/Inputs/NamespaceContainerResourceLimitArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NamespaceContainerResourceLimitArgs : Pulumi.ResourceArgs + public sealed class NamespaceContainerResourceLimitArgs : global::Pulumi.ResourceArgs { /// /// Limit for limits cpu in namespace (string) @@ -39,5 +39,6 @@ public sealed class NamespaceContainerResourceLimitArgs : Pulumi.ResourceArgs public NamespaceContainerResourceLimitArgs() { } + public static new NamespaceContainerResourceLimitArgs Empty => new NamespaceContainerResourceLimitArgs(); } } diff --git a/sdk/dotnet/Inputs/NamespaceContainerResourceLimitGetArgs.cs b/sdk/dotnet/Inputs/NamespaceContainerResourceLimitGetArgs.cs index aef11fa69..66fb4f86b 100644 --- a/sdk/dotnet/Inputs/NamespaceContainerResourceLimitGetArgs.cs +++ b/sdk/dotnet/Inputs/NamespaceContainerResourceLimitGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NamespaceContainerResourceLimitGetArgs : Pulumi.ResourceArgs + public sealed class NamespaceContainerResourceLimitGetArgs : global::Pulumi.ResourceArgs { /// /// Limit for limits cpu in namespace (string) @@ -39,5 +39,6 @@ public sealed class NamespaceContainerResourceLimitGetArgs : Pulumi.ResourceArgs public NamespaceContainerResourceLimitGetArgs() { } + public static new NamespaceContainerResourceLimitGetArgs Empty => new NamespaceContainerResourceLimitGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NamespaceResourceQuotaArgs.cs b/sdk/dotnet/Inputs/NamespaceResourceQuotaArgs.cs index d358db24a..199ff8cc2 100644 --- a/sdk/dotnet/Inputs/NamespaceResourceQuotaArgs.cs +++ b/sdk/dotnet/Inputs/NamespaceResourceQuotaArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NamespaceResourceQuotaArgs : Pulumi.ResourceArgs + public sealed class NamespaceResourceQuotaArgs : global::Pulumi.ResourceArgs { /// /// Resource quota limit for namespace (list maxitems:1) @@ -21,5 +21,6 @@ public sealed class NamespaceResourceQuotaArgs : Pulumi.ResourceArgs public NamespaceResourceQuotaArgs() { } + public static new NamespaceResourceQuotaArgs Empty => new NamespaceResourceQuotaArgs(); } } diff --git a/sdk/dotnet/Inputs/NamespaceResourceQuotaGetArgs.cs b/sdk/dotnet/Inputs/NamespaceResourceQuotaGetArgs.cs index 7f459239a..8d8d9150f 100644 --- a/sdk/dotnet/Inputs/NamespaceResourceQuotaGetArgs.cs +++ b/sdk/dotnet/Inputs/NamespaceResourceQuotaGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NamespaceResourceQuotaGetArgs : Pulumi.ResourceArgs + public sealed class NamespaceResourceQuotaGetArgs : global::Pulumi.ResourceArgs { /// /// Resource quota limit for namespace (list maxitems:1) @@ -21,5 +21,6 @@ public sealed class NamespaceResourceQuotaGetArgs : Pulumi.ResourceArgs public NamespaceResourceQuotaGetArgs() { } + public static new NamespaceResourceQuotaGetArgs Empty => new NamespaceResourceQuotaGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NamespaceResourceQuotaLimitArgs.cs b/sdk/dotnet/Inputs/NamespaceResourceQuotaLimitArgs.cs index 943310e98..562f19dc1 100644 --- a/sdk/dotnet/Inputs/NamespaceResourceQuotaLimitArgs.cs +++ b/sdk/dotnet/Inputs/NamespaceResourceQuotaLimitArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NamespaceResourceQuotaLimitArgs : Pulumi.ResourceArgs + public sealed class NamespaceResourceQuotaLimitArgs : global::Pulumi.ResourceArgs { /// /// Limit for config maps in namespace (string) @@ -90,5 +90,6 @@ public sealed class NamespaceResourceQuotaLimitArgs : Pulumi.ResourceArgs public NamespaceResourceQuotaLimitArgs() { } + public static new NamespaceResourceQuotaLimitArgs Empty => new NamespaceResourceQuotaLimitArgs(); } } diff --git a/sdk/dotnet/Inputs/NamespaceResourceQuotaLimitGetArgs.cs b/sdk/dotnet/Inputs/NamespaceResourceQuotaLimitGetArgs.cs index 70eff5d50..dd186d538 100644 --- a/sdk/dotnet/Inputs/NamespaceResourceQuotaLimitGetArgs.cs +++ b/sdk/dotnet/Inputs/NamespaceResourceQuotaLimitGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NamespaceResourceQuotaLimitGetArgs : Pulumi.ResourceArgs + public sealed class NamespaceResourceQuotaLimitGetArgs : global::Pulumi.ResourceArgs { /// /// Limit for config maps in namespace (string) @@ -90,5 +90,6 @@ public sealed class NamespaceResourceQuotaLimitGetArgs : Pulumi.ResourceArgs public NamespaceResourceQuotaLimitGetArgs() { } + public static new NamespaceResourceQuotaLimitGetArgs Empty => new NamespaceResourceQuotaLimitGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodePoolNodeTaintArgs.cs b/sdk/dotnet/Inputs/NodePoolNodeTaintArgs.cs index e1a8f371b..85673c7c4 100644 --- a/sdk/dotnet/Inputs/NodePoolNodeTaintArgs.cs +++ b/sdk/dotnet/Inputs/NodePoolNodeTaintArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodePoolNodeTaintArgs : Pulumi.ResourceArgs + public sealed class NodePoolNodeTaintArgs : global::Pulumi.ResourceArgs { /// /// Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) @@ -39,5 +39,6 @@ public sealed class NodePoolNodeTaintArgs : Pulumi.ResourceArgs public NodePoolNodeTaintArgs() { } + public static new NodePoolNodeTaintArgs Empty => new NodePoolNodeTaintArgs(); } } diff --git a/sdk/dotnet/Inputs/NodePoolNodeTaintGetArgs.cs b/sdk/dotnet/Inputs/NodePoolNodeTaintGetArgs.cs index 937edb983..78b3bf6eb 100644 --- a/sdk/dotnet/Inputs/NodePoolNodeTaintGetArgs.cs +++ b/sdk/dotnet/Inputs/NodePoolNodeTaintGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodePoolNodeTaintGetArgs : Pulumi.ResourceArgs + public sealed class NodePoolNodeTaintGetArgs : global::Pulumi.ResourceArgs { /// /// Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) @@ -39,5 +39,6 @@ public sealed class NodePoolNodeTaintGetArgs : Pulumi.ResourceArgs public NodePoolNodeTaintGetArgs() { } + public static new NodePoolNodeTaintGetArgs Empty => new NodePoolNodeTaintGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigArgs.cs index 09fc56f21..522d75b5f 100644 --- a/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateAmazonec2ConfigArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateAmazonec2ConfigArgs : global::Pulumi.ResourceArgs { + [Input("accessKey")] + private Input? _accessKey; + /// - /// AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + /// Outscale Access Key (string) /// - [Input("accessKey")] - public Input? AccessKey { get; set; } + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS machine image (string) @@ -48,6 +58,18 @@ public sealed class NodeTemplateAmazonec2ConfigArgs : Pulumi.ResourceArgs [Input("endpoint")] public Input? Endpoint { get; set; } + /// + /// Enables or disables the HTTP metadata endpoint on your instances (string) + /// + [Input("httpEndpoint")] + public Input? HttpEndpoint { get; set; } + + /// + /// The state of token usage for your instance metadata requests (string) + /// + [Input("httpTokens")] + public Input? HttpTokens { get; set; } + /// /// AWS IAM Instance Profile (string) /// @@ -61,7 +83,7 @@ public sealed class NodeTemplateAmazonec2ConfigArgs : Pulumi.ResourceArgs public Input? InsecureTransport { get; set; } /// - /// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + /// Outscale VM type. Default `tinav2.c1r2p3` (string) /// [Input("instanceType")] public Input? InstanceType { get; set; } @@ -103,7 +125,7 @@ public InputList OpenPorts public Input? PrivateAddressOnly { get; set; } /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// [Input("region", required: true)] public Input Region { get; set; } = null!; @@ -126,11 +148,21 @@ public InputList OpenPorts [Input("rootSize")] public Input? RootSize { get; set; } + [Input("secretKey")] + private Input? _secretKey; + /// - /// AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + /// Outscale Secret Key (string) /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Skip adding default rules to security groups (bool) @@ -150,11 +182,21 @@ public InputList SecurityGroups set => _securityGroups = value; } + [Input("sessionToken")] + private Input? _sessionToken; + /// /// AWS Session Token (string) /// - [Input("sessionToken")] - public Input? SessionToken { get; set; } + public Input? SessionToken + { + get => _sessionToken; + set + { + var emptySecret = Output.CreateSecret(0); + _sessionToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS spot instance bid price (in dollar). Default `0.50` (string) @@ -162,9 +204,6 @@ public InputList SecurityGroups [Input("spotPrice")] public Input? SpotPrice { get; set; } - /// - /// SSH Key for Instance (string) - /// [Input("sshKeypath")] public Input? SshKeypath { get; set; } @@ -225,5 +264,6 @@ public InputList SecurityGroups public NodeTemplateAmazonec2ConfigArgs() { } + public static new NodeTemplateAmazonec2ConfigArgs Empty => new NodeTemplateAmazonec2ConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigGetArgs.cs index cd4628714..2cbca4e1b 100644 --- a/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateAmazonec2ConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateAmazonec2ConfigGetArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateAmazonec2ConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("accessKey")] + private Input? _accessKey; + /// - /// AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + /// Outscale Access Key (string) /// - [Input("accessKey")] - public Input? AccessKey { get; set; } + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS machine image (string) @@ -48,6 +58,18 @@ public sealed class NodeTemplateAmazonec2ConfigGetArgs : Pulumi.ResourceArgs [Input("endpoint")] public Input? Endpoint { get; set; } + /// + /// Enables or disables the HTTP metadata endpoint on your instances (string) + /// + [Input("httpEndpoint")] + public Input? HttpEndpoint { get; set; } + + /// + /// The state of token usage for your instance metadata requests (string) + /// + [Input("httpTokens")] + public Input? HttpTokens { get; set; } + /// /// AWS IAM Instance Profile (string) /// @@ -61,7 +83,7 @@ public sealed class NodeTemplateAmazonec2ConfigGetArgs : Pulumi.ResourceArgs public Input? InsecureTransport { get; set; } /// - /// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + /// Outscale VM type. Default `tinav2.c1r2p3` (string) /// [Input("instanceType")] public Input? InstanceType { get; set; } @@ -103,7 +125,7 @@ public InputList OpenPorts public Input? PrivateAddressOnly { get; set; } /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// [Input("region", required: true)] public Input Region { get; set; } = null!; @@ -126,11 +148,21 @@ public InputList OpenPorts [Input("rootSize")] public Input? RootSize { get; set; } + [Input("secretKey")] + private Input? _secretKey; + /// - /// AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + /// Outscale Secret Key (string) /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Skip adding default rules to security groups (bool) @@ -150,11 +182,21 @@ public InputList SecurityGroups set => _securityGroups = value; } + [Input("sessionToken")] + private Input? _sessionToken; + /// /// AWS Session Token (string) /// - [Input("sessionToken")] - public Input? SessionToken { get; set; } + public Input? SessionToken + { + get => _sessionToken; + set + { + var emptySecret = Output.CreateSecret(0); + _sessionToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// AWS spot instance bid price (in dollar). Default `0.50` (string) @@ -162,9 +204,6 @@ public InputList SecurityGroups [Input("spotPrice")] public Input? SpotPrice { get; set; } - /// - /// SSH Key for Instance (string) - /// [Input("sshKeypath")] public Input? SshKeypath { get; set; } @@ -225,5 +264,6 @@ public InputList SecurityGroups public NodeTemplateAmazonec2ConfigGetArgs() { } + public static new NodeTemplateAmazonec2ConfigGetArgs Empty => new NodeTemplateAmazonec2ConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateAzureConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateAzureConfigArgs.cs index d4df279a5..d173c954c 100644 --- a/sdk/dotnet/Inputs/NodeTemplateAzureConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateAzureConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateAzureConfigArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateAzureConfigArgs : global::Pulumi.ResourceArgs { /// /// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) @@ -18,17 +18,37 @@ public sealed class NodeTemplateAzureConfigArgs : Pulumi.ResourceArgs [Input("availabilitySet")] public Input? AvailabilitySet { get; set; } + [Input("clientId")] + private Input? _clientId; + /// /// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("clientId")] - public Input? ClientId { get; set; } + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret")] + private Input? _clientSecret; /// /// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Path to file with custom-data (string) @@ -162,11 +182,21 @@ public InputList OpenPorts [Input("subnetPrefix")] public Input? SubnetPrefix { get; set; } + [Input("subscriptionId")] + private Input? _subscriptionId; + /// /// Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("subscriptionId")] - public Input? SubscriptionId { get; set; } + public Input? SubscriptionId + { + get => _subscriptionId; + set + { + var emptySecret = Output.CreateSecret(0); + _subscriptionId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Update domain count to use for availability set. Default `5` (string) @@ -189,5 +219,6 @@ public InputList OpenPorts public NodeTemplateAzureConfigArgs() { } + public static new NodeTemplateAzureConfigArgs Empty => new NodeTemplateAzureConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateAzureConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateAzureConfigGetArgs.cs index 5332f3e54..09ef7dabc 100644 --- a/sdk/dotnet/Inputs/NodeTemplateAzureConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateAzureConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateAzureConfigGetArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateAzureConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) @@ -18,17 +18,37 @@ public sealed class NodeTemplateAzureConfigGetArgs : Pulumi.ResourceArgs [Input("availabilitySet")] public Input? AvailabilitySet { get; set; } + [Input("clientId")] + private Input? _clientId; + /// /// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("clientId")] - public Input? ClientId { get; set; } + public Input? ClientId + { + get => _clientId; + set + { + var emptySecret = Output.CreateSecret(0); + _clientId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientSecret")] + private Input? _clientSecret; /// /// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("clientSecret")] - public Input? ClientSecret { get; set; } + public Input? ClientSecret + { + get => _clientSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _clientSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Path to file with custom-data (string) @@ -162,11 +182,21 @@ public InputList OpenPorts [Input("subnetPrefix")] public Input? SubnetPrefix { get; set; } + [Input("subscriptionId")] + private Input? _subscriptionId; + /// /// Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("subscriptionId")] - public Input? SubscriptionId { get; set; } + public Input? SubscriptionId + { + get => _subscriptionId; + set + { + var emptySecret = Output.CreateSecret(0); + _subscriptionId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Update domain count to use for availability set. Default `5` (string) @@ -189,5 +219,6 @@ public InputList OpenPorts public NodeTemplateAzureConfigGetArgs() { } + public static new NodeTemplateAzureConfigGetArgs Empty => new NodeTemplateAzureConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateDigitaloceanConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateDigitaloceanConfigArgs.cs index 0cb3e80a7..a16bff44d 100644 --- a/sdk/dotnet/Inputs/NodeTemplateDigitaloceanConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateDigitaloceanConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateDigitaloceanConfigArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateDigitaloceanConfigArgs : global::Pulumi.ResourceArgs { + [Input("accessToken")] + private Input? _accessToken; + /// /// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("accessToken")] - public Input? AccessToken { get; set; } + public Input? AccessToken + { + get => _accessToken; + set + { + var emptySecret = Output.CreateSecret(0); + _accessToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable backups for droplet. Default `false` (bool) @@ -49,7 +59,7 @@ public sealed class NodeTemplateDigitaloceanConfigArgs : Pulumi.ResourceArgs public Input? PrivateNetworking { get; set; } /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// [Input("region")] public Input? Region { get; set; } @@ -60,11 +70,21 @@ public sealed class NodeTemplateDigitaloceanConfigArgs : Pulumi.ResourceArgs [Input("size")] public Input? Size { get; set; } + [Input("sshKeyFingerprint")] + private Input? _sshKeyFingerprint; + /// /// SSH key fingerprint (string) /// - [Input("sshKeyFingerprint")] - public Input? SshKeyFingerprint { get; set; } + public Input? SshKeyFingerprint + { + get => _sshKeyFingerprint; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKeyFingerprint = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// SSH private key path (string) @@ -99,5 +119,6 @@ public sealed class NodeTemplateDigitaloceanConfigArgs : Pulumi.ResourceArgs public NodeTemplateDigitaloceanConfigArgs() { } + public static new NodeTemplateDigitaloceanConfigArgs Empty => new NodeTemplateDigitaloceanConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateDigitaloceanConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateDigitaloceanConfigGetArgs.cs index 6e3ffd5fd..5a3e21630 100644 --- a/sdk/dotnet/Inputs/NodeTemplateDigitaloceanConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateDigitaloceanConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateDigitaloceanConfigGetArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateDigitaloceanConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("accessToken")] + private Input? _accessToken; + /// /// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("accessToken")] - public Input? AccessToken { get; set; } + public Input? AccessToken + { + get => _accessToken; + set + { + var emptySecret = Output.CreateSecret(0); + _accessToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable backups for droplet. Default `false` (bool) @@ -49,7 +59,7 @@ public sealed class NodeTemplateDigitaloceanConfigGetArgs : Pulumi.ResourceArgs public Input? PrivateNetworking { get; set; } /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// [Input("region")] public Input? Region { get; set; } @@ -60,11 +70,21 @@ public sealed class NodeTemplateDigitaloceanConfigGetArgs : Pulumi.ResourceArgs [Input("size")] public Input? Size { get; set; } + [Input("sshKeyFingerprint")] + private Input? _sshKeyFingerprint; + /// /// SSH key fingerprint (string) /// - [Input("sshKeyFingerprint")] - public Input? SshKeyFingerprint { get; set; } + public Input? SshKeyFingerprint + { + get => _sshKeyFingerprint; + set + { + var emptySecret = Output.CreateSecret(0); + _sshKeyFingerprint = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// SSH private key path (string) @@ -99,5 +119,6 @@ public sealed class NodeTemplateDigitaloceanConfigGetArgs : Pulumi.ResourceArgs public NodeTemplateDigitaloceanConfigGetArgs() { } + public static new NodeTemplateDigitaloceanConfigGetArgs Empty => new NodeTemplateDigitaloceanConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateHarvesterConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateHarvesterConfigArgs.cs index 363889656..940a4c81f 100644 --- a/sdk/dotnet/Inputs/NodeTemplateHarvesterConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateHarvesterConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateHarvesterConfigArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateHarvesterConfigArgs : global::Pulumi.ResourceArgs { /// /// vSphere CPU number for docker VM. Default `2` (string) @@ -60,11 +60,21 @@ public sealed class NodeTemplateHarvesterConfigArgs : Pulumi.ResourceArgs [Input("networkName", required: true)] public Input NetworkName { get; set; } = null!; + [Input("sshPassword")] + private Input? _sshPassword; + /// /// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) /// - [Input("sshPassword")] - public Input? SshPassword { get; set; } + public Input? SshPassword + { + get => _sshPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _sshPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) @@ -87,5 +97,6 @@ public sealed class NodeTemplateHarvesterConfigArgs : Pulumi.ResourceArgs public NodeTemplateHarvesterConfigArgs() { } + public static new NodeTemplateHarvesterConfigArgs Empty => new NodeTemplateHarvesterConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateHarvesterConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateHarvesterConfigGetArgs.cs index 83ac527a8..163b75df2 100644 --- a/sdk/dotnet/Inputs/NodeTemplateHarvesterConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateHarvesterConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateHarvesterConfigGetArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateHarvesterConfigGetArgs : global::Pulumi.ResourceArgs { /// /// vSphere CPU number for docker VM. Default `2` (string) @@ -60,11 +60,21 @@ public sealed class NodeTemplateHarvesterConfigGetArgs : Pulumi.ResourceArgs [Input("networkName", required: true)] public Input NetworkName { get; set; } = null!; + [Input("sshPassword")] + private Input? _sshPassword; + /// /// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) /// - [Input("sshPassword")] - public Input? SshPassword { get; set; } + public Input? SshPassword + { + get => _sshPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _sshPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) @@ -87,5 +97,6 @@ public sealed class NodeTemplateHarvesterConfigGetArgs : Pulumi.ResourceArgs public NodeTemplateHarvesterConfigGetArgs() { } + public static new NodeTemplateHarvesterConfigGetArgs Empty => new NodeTemplateHarvesterConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateHetznerConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateHetznerConfigArgs.cs index 27710775e..7300331dc 100644 --- a/sdk/dotnet/Inputs/NodeTemplateHetznerConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateHetznerConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateHetznerConfigArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateHetznerConfigArgs : global::Pulumi.ResourceArgs { + [Input("apiToken", required: true)] + private Input? _apiToken; + /// /// Hetzner Cloud project API token (string) /// - [Input("apiToken", required: true)] - public Input ApiToken { get; set; } = null!; + public Input? ApiToken + { + get => _apiToken; + set + { + var emptySecret = Output.CreateSecret(0); + _apiToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) @@ -75,5 +85,6 @@ public InputMap ServerLabels public NodeTemplateHetznerConfigArgs() { } + public static new NodeTemplateHetznerConfigArgs Empty => new NodeTemplateHetznerConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateHetznerConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateHetznerConfigGetArgs.cs index c231a479a..16ad21096 100644 --- a/sdk/dotnet/Inputs/NodeTemplateHetznerConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateHetznerConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateHetznerConfigGetArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateHetznerConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("apiToken", required: true)] + private Input? _apiToken; + /// /// Hetzner Cloud project API token (string) /// - [Input("apiToken", required: true)] - public Input ApiToken { get; set; } = null!; + public Input? ApiToken + { + get => _apiToken; + set + { + var emptySecret = Output.CreateSecret(0); + _apiToken = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) @@ -75,5 +85,6 @@ public InputMap ServerLabels public NodeTemplateHetznerConfigGetArgs() { } + public static new NodeTemplateHetznerConfigGetArgs Empty => new NodeTemplateHetznerConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateLinodeConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateLinodeConfigArgs.cs index bf93ca46c..bb3e1d7ec 100644 --- a/sdk/dotnet/Inputs/NodeTemplateLinodeConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateLinodeConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateLinodeConfigArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateLinodeConfigArgs : global::Pulumi.ResourceArgs { /// /// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) @@ -37,7 +37,7 @@ public sealed class NodeTemplateLinodeConfigArgs : Pulumi.ResourceArgs public Input? Image { get; set; } /// - /// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + /// Outscale VM type. Default `tinav2.c1r2p3` (string) /// [Input("instanceType")] public Input? InstanceType { get; set; } @@ -49,16 +49,26 @@ public sealed class NodeTemplateLinodeConfigArgs : Pulumi.ResourceArgs public Input? Label { get; set; } /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// [Input("region")] public Input? Region { get; set; } + [Input("rootPass")] + private Input? _rootPass; + /// /// Root Password (string) /// - [Input("rootPass")] - public Input? RootPass { get; set; } + public Input? RootPass + { + get => _rootPass; + set + { + var emptySecret = Output.CreateSecret(0); + _rootPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) @@ -96,11 +106,21 @@ public sealed class NodeTemplateLinodeConfigArgs : Pulumi.ResourceArgs [Input("tags")] public Input? Tags { get; set; } + [Input("token")] + private Input? _token; + /// /// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Prefix the User-Agent in Linode API calls with some 'product/version' (string) @@ -111,5 +131,6 @@ public sealed class NodeTemplateLinodeConfigArgs : Pulumi.ResourceArgs public NodeTemplateLinodeConfigArgs() { } + public static new NodeTemplateLinodeConfigArgs Empty => new NodeTemplateLinodeConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateLinodeConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateLinodeConfigGetArgs.cs index 32b0f6a06..efd1747de 100644 --- a/sdk/dotnet/Inputs/NodeTemplateLinodeConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateLinodeConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateLinodeConfigGetArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateLinodeConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) @@ -37,7 +37,7 @@ public sealed class NodeTemplateLinodeConfigGetArgs : Pulumi.ResourceArgs public Input? Image { get; set; } /// - /// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + /// Outscale VM type. Default `tinav2.c1r2p3` (string) /// [Input("instanceType")] public Input? InstanceType { get; set; } @@ -49,16 +49,26 @@ public sealed class NodeTemplateLinodeConfigGetArgs : Pulumi.ResourceArgs public Input? Label { get; set; } /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// [Input("region")] public Input? Region { get; set; } + [Input("rootPass")] + private Input? _rootPass; + /// /// Root Password (string) /// - [Input("rootPass")] - public Input? RootPass { get; set; } + public Input? RootPass + { + get => _rootPass; + set + { + var emptySecret = Output.CreateSecret(0); + _rootPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) @@ -96,11 +106,21 @@ public sealed class NodeTemplateLinodeConfigGetArgs : Pulumi.ResourceArgs [Input("tags")] public Input? Tags { get; set; } + [Input("token")] + private Input? _token; + /// /// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Prefix the User-Agent in Linode API calls with some 'product/version' (string) @@ -111,5 +131,6 @@ public sealed class NodeTemplateLinodeConfigGetArgs : Pulumi.ResourceArgs public NodeTemplateLinodeConfigGetArgs() { } + public static new NodeTemplateLinodeConfigGetArgs Empty => new NodeTemplateLinodeConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateNodeTaintArgs.cs b/sdk/dotnet/Inputs/NodeTemplateNodeTaintArgs.cs index 7a422ca0d..d50b05ede 100644 --- a/sdk/dotnet/Inputs/NodeTemplateNodeTaintArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateNodeTaintArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateNodeTaintArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateNodeTaintArgs : global::Pulumi.ResourceArgs { /// /// Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) @@ -39,5 +39,6 @@ public sealed class NodeTemplateNodeTaintArgs : Pulumi.ResourceArgs public NodeTemplateNodeTaintArgs() { } + public static new NodeTemplateNodeTaintArgs Empty => new NodeTemplateNodeTaintArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateNodeTaintGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateNodeTaintGetArgs.cs index a6738ce72..5bb98e61e 100644 --- a/sdk/dotnet/Inputs/NodeTemplateNodeTaintGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateNodeTaintGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateNodeTaintGetArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateNodeTaintGetArgs : global::Pulumi.ResourceArgs { /// /// Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) @@ -39,5 +39,6 @@ public sealed class NodeTemplateNodeTaintGetArgs : Pulumi.ResourceArgs public NodeTemplateNodeTaintGetArgs() { } + public static new NodeTemplateNodeTaintGetArgs Empty => new NodeTemplateNodeTaintGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateOpennebulaConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateOpennebulaConfigArgs.cs index 3b74a49d1..a6a25507c 100644 --- a/sdk/dotnet/Inputs/NodeTemplateOpennebulaConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateOpennebulaConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateOpennebulaConfigArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateOpennebulaConfigArgs : global::Pulumi.ResourceArgs { /// /// Size of the Volatile disk in MB - only for b2d (string) @@ -84,11 +84,21 @@ public sealed class NodeTemplateOpennebulaConfigArgs : Pulumi.ResourceArgs [Input("networkOwner")] public Input? NetworkOwner { get; set; } + [Input("password", required: true)] + private Input? _password; + /// /// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) @@ -129,5 +139,6 @@ public sealed class NodeTemplateOpennebulaConfigArgs : Pulumi.ResourceArgs public NodeTemplateOpennebulaConfigArgs() { } + public static new NodeTemplateOpennebulaConfigArgs Empty => new NodeTemplateOpennebulaConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateOpennebulaConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateOpennebulaConfigGetArgs.cs index 10c9d6d63..47d8397f5 100644 --- a/sdk/dotnet/Inputs/NodeTemplateOpennebulaConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateOpennebulaConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateOpennebulaConfigGetArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateOpennebulaConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Size of the Volatile disk in MB - only for b2d (string) @@ -84,11 +84,21 @@ public sealed class NodeTemplateOpennebulaConfigGetArgs : Pulumi.ResourceArgs [Input("networkOwner")] public Input? NetworkOwner { get; set; } + [Input("password", required: true)] + private Input? _password; + /// /// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) @@ -129,5 +139,6 @@ public sealed class NodeTemplateOpennebulaConfigGetArgs : Pulumi.ResourceArgs public NodeTemplateOpennebulaConfigGetArgs() { } + public static new NodeTemplateOpennebulaConfigGetArgs Empty => new NodeTemplateOpennebulaConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigArgs.cs index 8307716e4..d28ddb190 100644 --- a/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateOpenstackConfigArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateOpenstackConfigArgs : global::Pulumi.ResourceArgs { /// /// OpenStack active timeout Default `200` (string) @@ -30,11 +30,21 @@ public sealed class NodeTemplateOpenstackConfigArgs : Pulumi.ResourceArgs [Input("applicationCredentialName")] public Input? ApplicationCredentialName { get; set; } + [Input("applicationCredentialSecret")] + private Input? _applicationCredentialSecret; + /// /// OpenStack application credential secret (string) /// - [Input("applicationCredentialSecret")] - public Input? ApplicationCredentialSecret { get; set; } + public Input? ApplicationCredentialSecret + { + get => _applicationCredentialSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _applicationCredentialSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// OpenStack authentication URL (string) @@ -150,20 +160,40 @@ public sealed class NodeTemplateOpenstackConfigArgs : Pulumi.ResourceArgs [Input("novaNetwork")] public Input? NovaNetwork { get; set; } + [Input("password")] + private Input? _password; + /// /// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("privateKeyFile")] + private Input? _privateKeyFile; /// /// Private key content to use for SSH (string) /// - [Input("privateKeyFile")] - public Input? PrivateKeyFile { get; set; } + public Input? PrivateKeyFile + { + get => _privateKeyFile; + set + { + var emptySecret = Output.CreateSecret(0); + _privateKeyFile = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// [Input("region", required: true)] public Input Region { get; set; } = null!; @@ -243,5 +273,6 @@ public sealed class NodeTemplateOpenstackConfigArgs : Pulumi.ResourceArgs public NodeTemplateOpenstackConfigArgs() { } + public static new NodeTemplateOpenstackConfigArgs Empty => new NodeTemplateOpenstackConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigGetArgs.cs index 0fd6898bf..bf2329c02 100644 --- a/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateOpenstackConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateOpenstackConfigGetArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateOpenstackConfigGetArgs : global::Pulumi.ResourceArgs { /// /// OpenStack active timeout Default `200` (string) @@ -30,11 +30,21 @@ public sealed class NodeTemplateOpenstackConfigGetArgs : Pulumi.ResourceArgs [Input("applicationCredentialName")] public Input? ApplicationCredentialName { get; set; } + [Input("applicationCredentialSecret")] + private Input? _applicationCredentialSecret; + /// /// OpenStack application credential secret (string) /// - [Input("applicationCredentialSecret")] - public Input? ApplicationCredentialSecret { get; set; } + public Input? ApplicationCredentialSecret + { + get => _applicationCredentialSecret; + set + { + var emptySecret = Output.CreateSecret(0); + _applicationCredentialSecret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// OpenStack authentication URL (string) @@ -150,20 +160,40 @@ public sealed class NodeTemplateOpenstackConfigGetArgs : Pulumi.ResourceArgs [Input("novaNetwork")] public Input? NovaNetwork { get; set; } + [Input("password")] + private Input? _password; + /// /// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("privateKeyFile")] + private Input? _privateKeyFile; /// /// Private key content to use for SSH (string) /// - [Input("privateKeyFile")] - public Input? PrivateKeyFile { get; set; } + public Input? PrivateKeyFile + { + get => _privateKeyFile; + set + { + var emptySecret = Output.CreateSecret(0); + _privateKeyFile = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// [Input("region", required: true)] public Input Region { get; set; } = null!; @@ -243,5 +273,6 @@ public sealed class NodeTemplateOpenstackConfigGetArgs : Pulumi.ResourceArgs public NodeTemplateOpenstackConfigGetArgs() { } + public static new NodeTemplateOpenstackConfigGetArgs Empty => new NodeTemplateOpenstackConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateOutscaleConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateOutscaleConfigArgs.cs new file mode 100644 index 000000000..bfad235b7 --- /dev/null +++ b/sdk/dotnet/Inputs/NodeTemplateOutscaleConfigArgs.cs @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Inputs +{ + + public sealed class NodeTemplateOutscaleConfigArgs : global::Pulumi.ResourceArgs + { + [Input("accessKey", required: true)] + private Input? _accessKey; + + /// + /// Outscale Access Key (string) + /// + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("extraTagsAlls")] + private InputList? _extraTagsAlls; + + /// + /// Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + /// + public InputList ExtraTagsAlls + { + get => _extraTagsAlls ?? (_extraTagsAlls = new InputList()); + set => _extraTagsAlls = value; + } + + [Input("extraTagsInstances")] + private InputList? _extraTagsInstances; + + /// + /// Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + /// + public InputList ExtraTagsInstances + { + get => _extraTagsInstances ?? (_extraTagsInstances = new InputList()); + set => _extraTagsInstances = value; + } + + /// + /// Outscale VM type. Default `tinav2.c1r2p3` (string) + /// + [Input("instanceType")] + public Input? InstanceType { get; set; } + + /// + /// AWS region. Default `eu-west-2` (string) + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// Iops for io1 Root Disk. From 1 to 13000. + /// + [Input("rootDiskIops")] + public Input? RootDiskIops { get; set; } + + /// + /// Size of the Root Disk (in GB). From 1 to 14901. + /// + [Input("rootDiskSize")] + public Input? RootDiskSize { get; set; } + + /// + /// Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + /// + [Input("rootDiskType")] + public Input? RootDiskType { get; set; } + + [Input("secretKey", required: true)] + private Input? _secretKey; + + /// + /// Outscale Secret Key (string) + /// + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("securityGroupIds")] + private InputList? _securityGroupIds; + + /// + /// Ids of user defined Security Groups to add to the machine. (list) + /// + public InputList SecurityGroupIds + { + get => _securityGroupIds ?? (_securityGroupIds = new InputList()); + set => _securityGroupIds = value; + } + + /// + /// Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + /// + [Input("sourceOmi")] + public Input? SourceOmi { get; set; } + + public NodeTemplateOutscaleConfigArgs() + { + } + public static new NodeTemplateOutscaleConfigArgs Empty => new NodeTemplateOutscaleConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/NodeTemplateOutscaleConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateOutscaleConfigGetArgs.cs new file mode 100644 index 000000000..e88f36d9c --- /dev/null +++ b/sdk/dotnet/Inputs/NodeTemplateOutscaleConfigGetArgs.cs @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Inputs +{ + + public sealed class NodeTemplateOutscaleConfigGetArgs : global::Pulumi.ResourceArgs + { + [Input("accessKey", required: true)] + private Input? _accessKey; + + /// + /// Outscale Access Key (string) + /// + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("extraTagsAlls")] + private InputList? _extraTagsAlls; + + /// + /// Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + /// + public InputList ExtraTagsAlls + { + get => _extraTagsAlls ?? (_extraTagsAlls = new InputList()); + set => _extraTagsAlls = value; + } + + [Input("extraTagsInstances")] + private InputList? _extraTagsInstances; + + /// + /// Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + /// + public InputList ExtraTagsInstances + { + get => _extraTagsInstances ?? (_extraTagsInstances = new InputList()); + set => _extraTagsInstances = value; + } + + /// + /// Outscale VM type. Default `tinav2.c1r2p3` (string) + /// + [Input("instanceType")] + public Input? InstanceType { get; set; } + + /// + /// AWS region. Default `eu-west-2` (string) + /// + [Input("region")] + public Input? Region { get; set; } + + /// + /// Iops for io1 Root Disk. From 1 to 13000. + /// + [Input("rootDiskIops")] + public Input? RootDiskIops { get; set; } + + /// + /// Size of the Root Disk (in GB). From 1 to 14901. + /// + [Input("rootDiskSize")] + public Input? RootDiskSize { get; set; } + + /// + /// Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + /// + [Input("rootDiskType")] + public Input? RootDiskType { get; set; } + + [Input("secretKey", required: true)] + private Input? _secretKey; + + /// + /// Outscale Secret Key (string) + /// + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("securityGroupIds")] + private InputList? _securityGroupIds; + + /// + /// Ids of user defined Security Groups to add to the machine. (list) + /// + public InputList SecurityGroupIds + { + get => _securityGroupIds ?? (_securityGroupIds = new InputList()); + set => _securityGroupIds = value; + } + + /// + /// Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + /// + [Input("sourceOmi")] + public Input? SourceOmi { get; set; } + + public NodeTemplateOutscaleConfigGetArgs() + { + } + public static new NodeTemplateOutscaleConfigGetArgs Empty => new NodeTemplateOutscaleConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/NodeTemplateVsphereConfigArgs.cs b/sdk/dotnet/Inputs/NodeTemplateVsphereConfigArgs.cs index b25e19610..d1d1230cc 100644 --- a/sdk/dotnet/Inputs/NodeTemplateVsphereConfigArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateVsphereConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateVsphereConfigArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateVsphereConfigArgs : global::Pulumi.ResourceArgs { /// /// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) @@ -132,11 +132,21 @@ public InputList Networks set => _networks = value; } + [Input("password")] + private Input? _password; + /// /// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// vSphere resource pool for docker VM (string) @@ -144,11 +154,21 @@ public InputList Networks [Input("pool")] public Input? Pool { get; set; } + [Input("sshPassword")] + private Input? _sshPassword; + /// /// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) /// - [Input("sshPassword")] - public Input? SshPassword { get; set; } + public Input? SshPassword + { + get => _sshPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _sshPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) @@ -231,5 +251,6 @@ public InputList VappProperties public NodeTemplateVsphereConfigArgs() { } + public static new NodeTemplateVsphereConfigArgs Empty => new NodeTemplateVsphereConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NodeTemplateVsphereConfigGetArgs.cs b/sdk/dotnet/Inputs/NodeTemplateVsphereConfigGetArgs.cs index 17bff11c9..367e1411e 100644 --- a/sdk/dotnet/Inputs/NodeTemplateVsphereConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NodeTemplateVsphereConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NodeTemplateVsphereConfigGetArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateVsphereConfigGetArgs : global::Pulumi.ResourceArgs { /// /// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) @@ -132,11 +132,21 @@ public InputList Networks set => _networks = value; } + [Input("password")] + private Input? _password; + /// /// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// vSphere resource pool for docker VM (string) @@ -144,11 +154,21 @@ public InputList Networks [Input("pool")] public Input? Pool { get; set; } + [Input("sshPassword")] + private Input? _sshPassword; + /// /// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) /// - [Input("sshPassword")] - public Input? SshPassword { get; set; } + public Input? SshPassword + { + get => _sshPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _sshPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) @@ -231,5 +251,6 @@ public InputList VappProperties public NodeTemplateVsphereConfigGetArgs() { } + public static new NodeTemplateVsphereConfigGetArgs Empty => new NodeTemplateVsphereConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierDingtalkConfigArgs.cs b/sdk/dotnet/Inputs/NotifierDingtalkConfigArgs.cs index 39897dd18..372d6360c 100644 --- a/sdk/dotnet/Inputs/NotifierDingtalkConfigArgs.cs +++ b/sdk/dotnet/Inputs/NotifierDingtalkConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierDingtalkConfigArgs : Pulumi.ResourceArgs + public sealed class NotifierDingtalkConfigArgs : global::Pulumi.ResourceArgs { /// /// Wechat proxy url (string) @@ -18,11 +18,21 @@ public sealed class NotifierDingtalkConfigArgs : Pulumi.ResourceArgs [Input("proxyUrl")] public Input? ProxyUrl { get; set; } + [Input("secret")] + private Input? _secret; + /// /// Wechat agent ID (string) /// - [Input("secret")] - public Input? Secret { get; set; } + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Webhook url (string) @@ -33,5 +43,6 @@ public sealed class NotifierDingtalkConfigArgs : Pulumi.ResourceArgs public NotifierDingtalkConfigArgs() { } + public static new NotifierDingtalkConfigArgs Empty => new NotifierDingtalkConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierDingtalkConfigGetArgs.cs b/sdk/dotnet/Inputs/NotifierDingtalkConfigGetArgs.cs index b87b012d5..ed52aee2c 100644 --- a/sdk/dotnet/Inputs/NotifierDingtalkConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NotifierDingtalkConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierDingtalkConfigGetArgs : Pulumi.ResourceArgs + public sealed class NotifierDingtalkConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Wechat proxy url (string) @@ -18,11 +18,21 @@ public sealed class NotifierDingtalkConfigGetArgs : Pulumi.ResourceArgs [Input("proxyUrl")] public Input? ProxyUrl { get; set; } + [Input("secret")] + private Input? _secret; + /// /// Wechat agent ID (string) /// - [Input("secret")] - public Input? Secret { get; set; } + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Webhook url (string) @@ -33,5 +43,6 @@ public sealed class NotifierDingtalkConfigGetArgs : Pulumi.ResourceArgs public NotifierDingtalkConfigGetArgs() { } + public static new NotifierDingtalkConfigGetArgs Empty => new NotifierDingtalkConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierMsteamsConfigArgs.cs b/sdk/dotnet/Inputs/NotifierMsteamsConfigArgs.cs index 4e520aaca..6e830bfc5 100644 --- a/sdk/dotnet/Inputs/NotifierMsteamsConfigArgs.cs +++ b/sdk/dotnet/Inputs/NotifierMsteamsConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierMsteamsConfigArgs : Pulumi.ResourceArgs + public sealed class NotifierMsteamsConfigArgs : global::Pulumi.ResourceArgs { /// /// Wechat proxy url (string) @@ -27,5 +27,6 @@ public sealed class NotifierMsteamsConfigArgs : Pulumi.ResourceArgs public NotifierMsteamsConfigArgs() { } + public static new NotifierMsteamsConfigArgs Empty => new NotifierMsteamsConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierMsteamsConfigGetArgs.cs b/sdk/dotnet/Inputs/NotifierMsteamsConfigGetArgs.cs index fc604ed8a..9a8833b79 100644 --- a/sdk/dotnet/Inputs/NotifierMsteamsConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NotifierMsteamsConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierMsteamsConfigGetArgs : Pulumi.ResourceArgs + public sealed class NotifierMsteamsConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Wechat proxy url (string) @@ -27,5 +27,6 @@ public sealed class NotifierMsteamsConfigGetArgs : Pulumi.ResourceArgs public NotifierMsteamsConfigGetArgs() { } + public static new NotifierMsteamsConfigGetArgs Empty => new NotifierMsteamsConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierPagerdutyConfigArgs.cs b/sdk/dotnet/Inputs/NotifierPagerdutyConfigArgs.cs index 13702c905..d3318cef9 100644 --- a/sdk/dotnet/Inputs/NotifierPagerdutyConfigArgs.cs +++ b/sdk/dotnet/Inputs/NotifierPagerdutyConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierPagerdutyConfigArgs : Pulumi.ResourceArgs + public sealed class NotifierPagerdutyConfigArgs : global::Pulumi.ResourceArgs { /// /// Wechat proxy url (string) @@ -27,5 +27,6 @@ public sealed class NotifierPagerdutyConfigArgs : Pulumi.ResourceArgs public NotifierPagerdutyConfigArgs() { } + public static new NotifierPagerdutyConfigArgs Empty => new NotifierPagerdutyConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierPagerdutyConfigGetArgs.cs b/sdk/dotnet/Inputs/NotifierPagerdutyConfigGetArgs.cs index 9492d5901..d66bbe729 100644 --- a/sdk/dotnet/Inputs/NotifierPagerdutyConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NotifierPagerdutyConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierPagerdutyConfigGetArgs : Pulumi.ResourceArgs + public sealed class NotifierPagerdutyConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Wechat proxy url (string) @@ -27,5 +27,6 @@ public sealed class NotifierPagerdutyConfigGetArgs : Pulumi.ResourceArgs public NotifierPagerdutyConfigGetArgs() { } + public static new NotifierPagerdutyConfigGetArgs Empty => new NotifierPagerdutyConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierSlackConfigArgs.cs b/sdk/dotnet/Inputs/NotifierSlackConfigArgs.cs index 780243f3c..312c3ba20 100644 --- a/sdk/dotnet/Inputs/NotifierSlackConfigArgs.cs +++ b/sdk/dotnet/Inputs/NotifierSlackConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierSlackConfigArgs : Pulumi.ResourceArgs + public sealed class NotifierSlackConfigArgs : global::Pulumi.ResourceArgs { /// /// Wechat default recipient (string) @@ -33,5 +33,6 @@ public sealed class NotifierSlackConfigArgs : Pulumi.ResourceArgs public NotifierSlackConfigArgs() { } + public static new NotifierSlackConfigArgs Empty => new NotifierSlackConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierSlackConfigGetArgs.cs b/sdk/dotnet/Inputs/NotifierSlackConfigGetArgs.cs index 389658ca3..3c2f8cfc3 100644 --- a/sdk/dotnet/Inputs/NotifierSlackConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NotifierSlackConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierSlackConfigGetArgs : Pulumi.ResourceArgs + public sealed class NotifierSlackConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Wechat default recipient (string) @@ -33,5 +33,6 @@ public sealed class NotifierSlackConfigGetArgs : Pulumi.ResourceArgs public NotifierSlackConfigGetArgs() { } + public static new NotifierSlackConfigGetArgs Empty => new NotifierSlackConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierSmtpConfigArgs.cs b/sdk/dotnet/Inputs/NotifierSmtpConfigArgs.cs index 06a4b6db7..735dbca59 100644 --- a/sdk/dotnet/Inputs/NotifierSmtpConfigArgs.cs +++ b/sdk/dotnet/Inputs/NotifierSmtpConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierSmtpConfigArgs : Pulumi.ResourceArgs + public sealed class NotifierSmtpConfigArgs : global::Pulumi.ResourceArgs { /// /// Wechat default recipient (string) @@ -24,11 +24,21 @@ public sealed class NotifierSmtpConfigArgs : Pulumi.ResourceArgs [Input("host", required: true)] public Input Host { get; set; } = null!; + [Input("password")] + private Input? _password; + /// /// SMTP password (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// SMTP port (int) @@ -57,5 +67,6 @@ public sealed class NotifierSmtpConfigArgs : Pulumi.ResourceArgs public NotifierSmtpConfigArgs() { } + public static new NotifierSmtpConfigArgs Empty => new NotifierSmtpConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierSmtpConfigGetArgs.cs b/sdk/dotnet/Inputs/NotifierSmtpConfigGetArgs.cs index 8eb269907..01d56f4de 100644 --- a/sdk/dotnet/Inputs/NotifierSmtpConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NotifierSmtpConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierSmtpConfigGetArgs : Pulumi.ResourceArgs + public sealed class NotifierSmtpConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Wechat default recipient (string) @@ -24,11 +24,21 @@ public sealed class NotifierSmtpConfigGetArgs : Pulumi.ResourceArgs [Input("host", required: true)] public Input Host { get; set; } = null!; + [Input("password")] + private Input? _password; + /// /// SMTP password (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// SMTP port (int) @@ -57,5 +67,6 @@ public sealed class NotifierSmtpConfigGetArgs : Pulumi.ResourceArgs public NotifierSmtpConfigGetArgs() { } + public static new NotifierSmtpConfigGetArgs Empty => new NotifierSmtpConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierWebhookConfigArgs.cs b/sdk/dotnet/Inputs/NotifierWebhookConfigArgs.cs index 2bbbb8790..bcc9245a9 100644 --- a/sdk/dotnet/Inputs/NotifierWebhookConfigArgs.cs +++ b/sdk/dotnet/Inputs/NotifierWebhookConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierWebhookConfigArgs : Pulumi.ResourceArgs + public sealed class NotifierWebhookConfigArgs : global::Pulumi.ResourceArgs { /// /// Wechat proxy url (string) @@ -27,5 +27,6 @@ public sealed class NotifierWebhookConfigArgs : Pulumi.ResourceArgs public NotifierWebhookConfigArgs() { } + public static new NotifierWebhookConfigArgs Empty => new NotifierWebhookConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierWebhookConfigGetArgs.cs b/sdk/dotnet/Inputs/NotifierWebhookConfigGetArgs.cs index f2c67d8ab..51659d3a0 100644 --- a/sdk/dotnet/Inputs/NotifierWebhookConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NotifierWebhookConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierWebhookConfigGetArgs : Pulumi.ResourceArgs + public sealed class NotifierWebhookConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Wechat proxy url (string) @@ -27,5 +27,6 @@ public sealed class NotifierWebhookConfigGetArgs : Pulumi.ResourceArgs public NotifierWebhookConfigGetArgs() { } + public static new NotifierWebhookConfigGetArgs Empty => new NotifierWebhookConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierWechatConfigArgs.cs b/sdk/dotnet/Inputs/NotifierWechatConfigArgs.cs index 4576f1e9a..d81d1eeab 100644 --- a/sdk/dotnet/Inputs/NotifierWechatConfigArgs.cs +++ b/sdk/dotnet/Inputs/NotifierWechatConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierWechatConfigArgs : Pulumi.ResourceArgs + public sealed class NotifierWechatConfigArgs : global::Pulumi.ResourceArgs { /// /// Wechat agent ID (string) @@ -42,14 +42,25 @@ public sealed class NotifierWechatConfigArgs : Pulumi.ResourceArgs [Input("recipientType")] public Input? RecipientType { get; set; } + [Input("secret", required: true)] + private Input? _secret; + /// /// Wechat agent ID (string) /// - [Input("secret", required: true)] - public Input Secret { get; set; } = null!; + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public NotifierWechatConfigArgs() { } + public static new NotifierWechatConfigArgs Empty => new NotifierWechatConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/NotifierWechatConfigGetArgs.cs b/sdk/dotnet/Inputs/NotifierWechatConfigGetArgs.cs index c9bbe9fdc..f128d8703 100644 --- a/sdk/dotnet/Inputs/NotifierWechatConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/NotifierWechatConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class NotifierWechatConfigGetArgs : Pulumi.ResourceArgs + public sealed class NotifierWechatConfigGetArgs : global::Pulumi.ResourceArgs { /// /// Wechat agent ID (string) @@ -42,14 +42,25 @@ public sealed class NotifierWechatConfigGetArgs : Pulumi.ResourceArgs [Input("recipientType")] public Input? RecipientType { get; set; } + [Input("secret", required: true)] + private Input? _secret; + /// /// Wechat agent ID (string) /// - [Input("secret", required: true)] - public Input Secret { get; set; } = null!; + public Input? Secret + { + get => _secret; + set + { + var emptySecret = Output.CreateSecret(0); + _secret = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public NotifierWechatConfigGetArgs() { } + public static new NotifierWechatConfigGetArgs Empty => new NotifierWechatConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedCsiDriverArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedCsiDriverArgs.cs index 9c2477978..939c200c7 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedCsiDriverArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedCsiDriverArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateAllowedCsiDriverArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateAllowedCsiDriverArgs : global::Pulumi.ResourceArgs { /// /// The name of the PodSecurityPolicyTemplate (string) @@ -21,5 +21,6 @@ public sealed class PodSecurityPolicyTemplateAllowedCsiDriverArgs : Pulumi.Resou public PodSecurityPolicyTemplateAllowedCsiDriverArgs() { } + public static new PodSecurityPolicyTemplateAllowedCsiDriverArgs Empty => new PodSecurityPolicyTemplateAllowedCsiDriverArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedCsiDriverGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedCsiDriverGetArgs.cs index 341d38450..99c8abea8 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedCsiDriverGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedCsiDriverGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateAllowedCsiDriverGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateAllowedCsiDriverGetArgs : global::Pulumi.ResourceArgs { /// /// The name of the PodSecurityPolicyTemplate (string) @@ -21,5 +21,6 @@ public sealed class PodSecurityPolicyTemplateAllowedCsiDriverGetArgs : Pulumi.Re public PodSecurityPolicyTemplateAllowedCsiDriverGetArgs() { } + public static new PodSecurityPolicyTemplateAllowedCsiDriverGetArgs Empty => new PodSecurityPolicyTemplateAllowedCsiDriverGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedFlexVolumeArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedFlexVolumeArgs.cs index ff728f746..ec5f7a323 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedFlexVolumeArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedFlexVolumeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateAllowedFlexVolumeArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateAllowedFlexVolumeArgs : global::Pulumi.ResourceArgs { [Input("driver", required: true)] public Input Driver { get; set; } = null!; @@ -18,5 +18,6 @@ public sealed class PodSecurityPolicyTemplateAllowedFlexVolumeArgs : Pulumi.Reso public PodSecurityPolicyTemplateAllowedFlexVolumeArgs() { } + public static new PodSecurityPolicyTemplateAllowedFlexVolumeArgs Empty => new PodSecurityPolicyTemplateAllowedFlexVolumeArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedFlexVolumeGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedFlexVolumeGetArgs.cs index abb49bc3b..c2023573a 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedFlexVolumeGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedFlexVolumeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateAllowedFlexVolumeGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateAllowedFlexVolumeGetArgs : global::Pulumi.ResourceArgs { [Input("driver", required: true)] public Input Driver { get; set; } = null!; @@ -18,5 +18,6 @@ public sealed class PodSecurityPolicyTemplateAllowedFlexVolumeGetArgs : Pulumi.R public PodSecurityPolicyTemplateAllowedFlexVolumeGetArgs() { } + public static new PodSecurityPolicyTemplateAllowedFlexVolumeGetArgs Empty => new PodSecurityPolicyTemplateAllowedFlexVolumeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedHostPathArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedHostPathArgs.cs index e5abab6f5..d7e840c71 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedHostPathArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedHostPathArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateAllowedHostPathArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateAllowedHostPathArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateAllowedHostPathArgs : Pulumi.Resour public PodSecurityPolicyTemplateAllowedHostPathArgs() { } + public static new PodSecurityPolicyTemplateAllowedHostPathArgs Empty => new PodSecurityPolicyTemplateAllowedHostPathArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedHostPathGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedHostPathGetArgs.cs index ff80ea086..b7a0fcc74 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedHostPathGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateAllowedHostPathGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateAllowedHostPathGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateAllowedHostPathGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateAllowedHostPathGetArgs : Pulumi.Res public PodSecurityPolicyTemplateAllowedHostPathGetArgs() { } + public static new PodSecurityPolicyTemplateAllowedHostPathGetArgs Empty => new PodSecurityPolicyTemplateAllowedHostPathGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupArgs.cs index bbfdc460e..225306a2e 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateFsGroupArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateFsGroupArgs : global::Pulumi.ResourceArgs { [Input("ranges")] private InputList? _ranges; @@ -33,5 +33,6 @@ public InputList Ranges public PodSecurityPolicyTemplateFsGroupArgs() { } + public static new PodSecurityPolicyTemplateFsGroupArgs Empty => new PodSecurityPolicyTemplateFsGroupArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupGetArgs.cs index 381df718f..28a67f22e 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateFsGroupGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateFsGroupGetArgs : global::Pulumi.ResourceArgs { [Input("ranges")] private InputList? _ranges; @@ -33,5 +33,6 @@ public InputList Ranges public PodSecurityPolicyTemplateFsGroupGetArgs() { } + public static new PodSecurityPolicyTemplateFsGroupGetArgs Empty => new PodSecurityPolicyTemplateFsGroupGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupRangeArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupRangeArgs.cs index 052d677e1..761cb40b6 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupRangeArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupRangeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateFsGroupRangeArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateFsGroupRangeArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateFsGroupRangeArgs : Pulumi.ResourceA public PodSecurityPolicyTemplateFsGroupRangeArgs() { } + public static new PodSecurityPolicyTemplateFsGroupRangeArgs Empty => new PodSecurityPolicyTemplateFsGroupRangeArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupRangeGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupRangeGetArgs.cs index 95b577371..82ebf5d69 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupRangeGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateFsGroupRangeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateFsGroupRangeGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateFsGroupRangeGetArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateFsGroupRangeGetArgs : Pulumi.Resour public PodSecurityPolicyTemplateFsGroupRangeGetArgs() { } + public static new PodSecurityPolicyTemplateFsGroupRangeGetArgs Empty => new PodSecurityPolicyTemplateFsGroupRangeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateHostPortArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateHostPortArgs.cs index 1aae31c87..16877265f 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateHostPortArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateHostPortArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateHostPortArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateHostPortArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateHostPortArgs : Pulumi.ResourceArgs public PodSecurityPolicyTemplateHostPortArgs() { } + public static new PodSecurityPolicyTemplateHostPortArgs Empty => new PodSecurityPolicyTemplateHostPortArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateHostPortGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateHostPortGetArgs.cs index a086865d1..2803f8e18 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateHostPortGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateHostPortGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateHostPortGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateHostPortGetArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateHostPortGetArgs : Pulumi.ResourceAr public PodSecurityPolicyTemplateHostPortGetArgs() { } + public static new PodSecurityPolicyTemplateHostPortGetArgs Empty => new PodSecurityPolicyTemplateHostPortGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupArgs.cs index 4b9a9984a..b3122d572 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateRunAsGroupArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateRunAsGroupArgs : global::Pulumi.ResourceArgs { [Input("ranges")] private InputList? _ranges; @@ -33,5 +33,6 @@ public InputList Ranges public PodSecurityPolicyTemplateRunAsGroupArgs() { } + public static new PodSecurityPolicyTemplateRunAsGroupArgs Empty => new PodSecurityPolicyTemplateRunAsGroupArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupGetArgs.cs index efdf9fe16..dc874735c 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateRunAsGroupGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateRunAsGroupGetArgs : global::Pulumi.ResourceArgs { [Input("ranges")] private InputList? _ranges; @@ -33,5 +33,6 @@ public InputList Ranges public PodSecurityPolicyTemplateRunAsGroupGetArgs() { } + public static new PodSecurityPolicyTemplateRunAsGroupGetArgs Empty => new PodSecurityPolicyTemplateRunAsGroupGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupRangeArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupRangeArgs.cs index 46984776f..3809793bf 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupRangeArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupRangeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateRunAsGroupRangeArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateRunAsGroupRangeArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateRunAsGroupRangeArgs : Pulumi.Resour public PodSecurityPolicyTemplateRunAsGroupRangeArgs() { } + public static new PodSecurityPolicyTemplateRunAsGroupRangeArgs Empty => new PodSecurityPolicyTemplateRunAsGroupRangeArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupRangeGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupRangeGetArgs.cs index 927818da6..f528833b6 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupRangeGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsGroupRangeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateRunAsGroupRangeGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateRunAsGroupRangeGetArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateRunAsGroupRangeGetArgs : Pulumi.Res public PodSecurityPolicyTemplateRunAsGroupRangeGetArgs() { } + public static new PodSecurityPolicyTemplateRunAsGroupRangeGetArgs Empty => new PodSecurityPolicyTemplateRunAsGroupRangeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserArgs.cs index bbe1b209d..f0909fabb 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateRunAsUserArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateRunAsUserArgs : global::Pulumi.ResourceArgs { [Input("ranges")] private InputList? _ranges; @@ -33,5 +33,6 @@ public InputList Ranges public PodSecurityPolicyTemplateRunAsUserArgs() { } + public static new PodSecurityPolicyTemplateRunAsUserArgs Empty => new PodSecurityPolicyTemplateRunAsUserArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserGetArgs.cs index b7de8228a..46c451410 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateRunAsUserGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateRunAsUserGetArgs : global::Pulumi.ResourceArgs { [Input("ranges")] private InputList? _ranges; @@ -33,5 +33,6 @@ public InputList Ranges public PodSecurityPolicyTemplateRunAsUserGetArgs() { } + public static new PodSecurityPolicyTemplateRunAsUserGetArgs Empty => new PodSecurityPolicyTemplateRunAsUserGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserRangeArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserRangeArgs.cs index 811ebd2b2..d611c8773 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserRangeArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserRangeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateRunAsUserRangeArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateRunAsUserRangeArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateRunAsUserRangeArgs : Pulumi.Resourc public PodSecurityPolicyTemplateRunAsUserRangeArgs() { } + public static new PodSecurityPolicyTemplateRunAsUserRangeArgs Empty => new PodSecurityPolicyTemplateRunAsUserRangeArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserRangeGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserRangeGetArgs.cs index 85c00629d..7c99aa932 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserRangeGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRunAsUserRangeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateRunAsUserRangeGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateRunAsUserRangeGetArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateRunAsUserRangeGetArgs : Pulumi.Reso public PodSecurityPolicyTemplateRunAsUserRangeGetArgs() { } + public static new PodSecurityPolicyTemplateRunAsUserRangeGetArgs Empty => new PodSecurityPolicyTemplateRunAsUserRangeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRuntimeClassArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRuntimeClassArgs.cs index e5ee7ba38..0538dcafc 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRuntimeClassArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRuntimeClassArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateRuntimeClassArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateRuntimeClassArgs : global::Pulumi.ResourceArgs { [Input("allowedRuntimeClassNames", required: true)] private InputList? _allowedRuntimeClassNames; @@ -33,5 +33,6 @@ public InputList AllowedRuntimeClassNames public PodSecurityPolicyTemplateRuntimeClassArgs() { } + public static new PodSecurityPolicyTemplateRuntimeClassArgs Empty => new PodSecurityPolicyTemplateRuntimeClassArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRuntimeClassGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRuntimeClassGetArgs.cs index c0f2974f3..ecc790be6 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRuntimeClassGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateRuntimeClassGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateRuntimeClassGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateRuntimeClassGetArgs : global::Pulumi.ResourceArgs { [Input("allowedRuntimeClassNames", required: true)] private InputList? _allowedRuntimeClassNames; @@ -33,5 +33,6 @@ public InputList AllowedRuntimeClassNames public PodSecurityPolicyTemplateRuntimeClassGetArgs() { } + public static new PodSecurityPolicyTemplateRuntimeClassGetArgs Empty => new PodSecurityPolicyTemplateRuntimeClassGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxArgs.cs index 6bcaecfa2..02ca6eacc 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateSeLinuxArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateSeLinuxArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateSeLinuxArgs : Pulumi.ResourceArgs public PodSecurityPolicyTemplateSeLinuxArgs() { } + public static new PodSecurityPolicyTemplateSeLinuxArgs Empty => new PodSecurityPolicyTemplateSeLinuxArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxGetArgs.cs index 761c18235..ab37746a2 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateSeLinuxGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateSeLinuxGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateSeLinuxGetArgs : Pulumi.ResourceArg public PodSecurityPolicyTemplateSeLinuxGetArgs() { } + public static new PodSecurityPolicyTemplateSeLinuxGetArgs Empty => new PodSecurityPolicyTemplateSeLinuxGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs.cs index f0e186ed5..41f22aba4 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -39,5 +39,6 @@ public sealed class PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs : Pulumi.R public PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs() { } + public static new PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs Empty => new PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxSeLinuxOptionGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxSeLinuxOptionGetArgs.cs index 811cf91a1..1884f9ed7 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxSeLinuxOptionGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSeLinuxSeLinuxOptionGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateSeLinuxSeLinuxOptionGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateSeLinuxSeLinuxOptionGetArgs : global::Pulumi.ResourceArgs { /// /// (string) @@ -39,5 +39,6 @@ public sealed class PodSecurityPolicyTemplateSeLinuxSeLinuxOptionGetArgs : Pulum public PodSecurityPolicyTemplateSeLinuxSeLinuxOptionGetArgs() { } + public static new PodSecurityPolicyTemplateSeLinuxSeLinuxOptionGetArgs Empty => new PodSecurityPolicyTemplateSeLinuxSeLinuxOptionGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupArgs.cs index 2874b4059..0e7dada85 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateSupplementalGroupArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateSupplementalGroupArgs : global::Pulumi.ResourceArgs { [Input("ranges")] private InputList? _ranges; @@ -33,5 +33,6 @@ public InputList Ran public PodSecurityPolicyTemplateSupplementalGroupArgs() { } + public static new PodSecurityPolicyTemplateSupplementalGroupArgs Empty => new PodSecurityPolicyTemplateSupplementalGroupArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupGetArgs.cs index fd17e7ba7..a6197f752 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateSupplementalGroupGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateSupplementalGroupGetArgs : global::Pulumi.ResourceArgs { [Input("ranges")] private InputList? _ranges; @@ -33,5 +33,6 @@ public InputList public PodSecurityPolicyTemplateSupplementalGroupGetArgs() { } + public static new PodSecurityPolicyTemplateSupplementalGroupGetArgs Empty => new PodSecurityPolicyTemplateSupplementalGroupGetArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupRangeArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupRangeArgs.cs index 3dcd2859e..fcb7054d7 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupRangeArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupRangeArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateSupplementalGroupRangeArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateSupplementalGroupRangeArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateSupplementalGroupRangeArgs : Pulumi public PodSecurityPolicyTemplateSupplementalGroupRangeArgs() { } + public static new PodSecurityPolicyTemplateSupplementalGroupRangeArgs Empty => new PodSecurityPolicyTemplateSupplementalGroupRangeArgs(); } } diff --git a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupRangeGetArgs.cs b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupRangeGetArgs.cs index 214a5a86a..9380d7328 100644 --- a/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupRangeGetArgs.cs +++ b/sdk/dotnet/Inputs/PodSecurityPolicyTemplateSupplementalGroupRangeGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class PodSecurityPolicyTemplateSupplementalGroupRangeGetArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateSupplementalGroupRangeGetArgs : global::Pulumi.ResourceArgs { /// /// (int) @@ -27,5 +27,6 @@ public sealed class PodSecurityPolicyTemplateSupplementalGroupRangeGetArgs : Pul public PodSecurityPolicyTemplateSupplementalGroupRangeGetArgs() { } + public static new PodSecurityPolicyTemplateSupplementalGroupRangeGetArgs Empty => new PodSecurityPolicyTemplateSupplementalGroupRangeGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectAlertGroupRecipientArgs.cs b/sdk/dotnet/Inputs/ProjectAlertGroupRecipientArgs.cs index f646d0d46..e14209ed0 100644 --- a/sdk/dotnet/Inputs/ProjectAlertGroupRecipientArgs.cs +++ b/sdk/dotnet/Inputs/ProjectAlertGroupRecipientArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectAlertGroupRecipientArgs : Pulumi.ResourceArgs + public sealed class ProjectAlertGroupRecipientArgs : global::Pulumi.ResourceArgs { [Input("defaultRecipient")] public Input? DefaultRecipient { get; set; } @@ -36,5 +36,6 @@ public sealed class ProjectAlertGroupRecipientArgs : Pulumi.ResourceArgs public ProjectAlertGroupRecipientArgs() { } + public static new ProjectAlertGroupRecipientArgs Empty => new ProjectAlertGroupRecipientArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectAlertGroupRecipientGetArgs.cs b/sdk/dotnet/Inputs/ProjectAlertGroupRecipientGetArgs.cs index 275059862..471735648 100644 --- a/sdk/dotnet/Inputs/ProjectAlertGroupRecipientGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectAlertGroupRecipientGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectAlertGroupRecipientGetArgs : Pulumi.ResourceArgs + public sealed class ProjectAlertGroupRecipientGetArgs : global::Pulumi.ResourceArgs { [Input("defaultRecipient")] public Input? DefaultRecipient { get; set; } @@ -36,5 +36,6 @@ public sealed class ProjectAlertGroupRecipientGetArgs : Pulumi.ResourceArgs public ProjectAlertGroupRecipientGetArgs() { } + public static new ProjectAlertGroupRecipientGetArgs Empty => new ProjectAlertGroupRecipientGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectAlertRuleMetricRuleArgs.cs b/sdk/dotnet/Inputs/ProjectAlertRuleMetricRuleArgs.cs index 0b710af6f..07d1cfec0 100644 --- a/sdk/dotnet/Inputs/ProjectAlertRuleMetricRuleArgs.cs +++ b/sdk/dotnet/Inputs/ProjectAlertRuleMetricRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectAlertRuleMetricRuleArgs : Pulumi.ResourceArgs + public sealed class ProjectAlertRuleMetricRuleArgs : global::Pulumi.ResourceArgs { /// /// Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) @@ -45,5 +45,6 @@ public sealed class ProjectAlertRuleMetricRuleArgs : Pulumi.ResourceArgs public ProjectAlertRuleMetricRuleArgs() { } + public static new ProjectAlertRuleMetricRuleArgs Empty => new ProjectAlertRuleMetricRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectAlertRuleMetricRuleGetArgs.cs b/sdk/dotnet/Inputs/ProjectAlertRuleMetricRuleGetArgs.cs index d0dc3a15c..31e8dd5c9 100644 --- a/sdk/dotnet/Inputs/ProjectAlertRuleMetricRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectAlertRuleMetricRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectAlertRuleMetricRuleGetArgs : Pulumi.ResourceArgs + public sealed class ProjectAlertRuleMetricRuleGetArgs : global::Pulumi.ResourceArgs { /// /// Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) @@ -45,5 +45,6 @@ public sealed class ProjectAlertRuleMetricRuleGetArgs : Pulumi.ResourceArgs public ProjectAlertRuleMetricRuleGetArgs() { } + public static new ProjectAlertRuleMetricRuleGetArgs Empty => new ProjectAlertRuleMetricRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectAlertRulePodRuleArgs.cs b/sdk/dotnet/Inputs/ProjectAlertRulePodRuleArgs.cs index 97d1f8e76..d7aa231b6 100644 --- a/sdk/dotnet/Inputs/ProjectAlertRulePodRuleArgs.cs +++ b/sdk/dotnet/Inputs/ProjectAlertRulePodRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectAlertRulePodRuleArgs : Pulumi.ResourceArgs + public sealed class ProjectAlertRulePodRuleArgs : global::Pulumi.ResourceArgs { /// /// Pod rule condition. Supported values : `"notrunning" | "notscheduled" | "restarts"`. Default: `notrunning` (string) @@ -39,5 +39,6 @@ public sealed class ProjectAlertRulePodRuleArgs : Pulumi.ResourceArgs public ProjectAlertRulePodRuleArgs() { } + public static new ProjectAlertRulePodRuleArgs Empty => new ProjectAlertRulePodRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectAlertRulePodRuleGetArgs.cs b/sdk/dotnet/Inputs/ProjectAlertRulePodRuleGetArgs.cs index a3606fb88..a8798281f 100644 --- a/sdk/dotnet/Inputs/ProjectAlertRulePodRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectAlertRulePodRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectAlertRulePodRuleGetArgs : Pulumi.ResourceArgs + public sealed class ProjectAlertRulePodRuleGetArgs : global::Pulumi.ResourceArgs { /// /// Pod rule condition. Supported values : `"notrunning" | "notscheduled" | "restarts"`. Default: `notrunning` (string) @@ -39,5 +39,6 @@ public sealed class ProjectAlertRulePodRuleGetArgs : Pulumi.ResourceArgs public ProjectAlertRulePodRuleGetArgs() { } + public static new ProjectAlertRulePodRuleGetArgs Empty => new ProjectAlertRulePodRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectAlertRuleWorkloadRuleArgs.cs b/sdk/dotnet/Inputs/ProjectAlertRuleWorkloadRuleArgs.cs index bd9627106..0310ee9c3 100644 --- a/sdk/dotnet/Inputs/ProjectAlertRuleWorkloadRuleArgs.cs +++ b/sdk/dotnet/Inputs/ProjectAlertRuleWorkloadRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectAlertRuleWorkloadRuleArgs : Pulumi.ResourceArgs + public sealed class ProjectAlertRuleWorkloadRuleArgs : global::Pulumi.ResourceArgs { /// /// Workload rule available percentage. Default: `70` (int) @@ -39,5 +39,6 @@ public InputMap Selector public ProjectAlertRuleWorkloadRuleArgs() { } + public static new ProjectAlertRuleWorkloadRuleArgs Empty => new ProjectAlertRuleWorkloadRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectAlertRuleWorkloadRuleGetArgs.cs b/sdk/dotnet/Inputs/ProjectAlertRuleWorkloadRuleGetArgs.cs index f2b6f1330..98f19a9af 100644 --- a/sdk/dotnet/Inputs/ProjectAlertRuleWorkloadRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectAlertRuleWorkloadRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectAlertRuleWorkloadRuleGetArgs : Pulumi.ResourceArgs + public sealed class ProjectAlertRuleWorkloadRuleGetArgs : global::Pulumi.ResourceArgs { /// /// Workload rule available percentage. Default: `70` (int) @@ -39,5 +39,6 @@ public InputMap Selector public ProjectAlertRuleWorkloadRuleGetArgs() { } + public static new ProjectAlertRuleWorkloadRuleGetArgs Empty => new ProjectAlertRuleWorkloadRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectContainerResourceLimitArgs.cs b/sdk/dotnet/Inputs/ProjectContainerResourceLimitArgs.cs index d08b89d35..fcfce782b 100644 --- a/sdk/dotnet/Inputs/ProjectContainerResourceLimitArgs.cs +++ b/sdk/dotnet/Inputs/ProjectContainerResourceLimitArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectContainerResourceLimitArgs : Pulumi.ResourceArgs + public sealed class ProjectContainerResourceLimitArgs : global::Pulumi.ResourceArgs { /// /// Limit for limits cpu in project (string) @@ -39,5 +39,6 @@ public sealed class ProjectContainerResourceLimitArgs : Pulumi.ResourceArgs public ProjectContainerResourceLimitArgs() { } + public static new ProjectContainerResourceLimitArgs Empty => new ProjectContainerResourceLimitArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectContainerResourceLimitGetArgs.cs b/sdk/dotnet/Inputs/ProjectContainerResourceLimitGetArgs.cs index e45398934..cc97f828a 100644 --- a/sdk/dotnet/Inputs/ProjectContainerResourceLimitGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectContainerResourceLimitGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectContainerResourceLimitGetArgs : Pulumi.ResourceArgs + public sealed class ProjectContainerResourceLimitGetArgs : global::Pulumi.ResourceArgs { /// /// Limit for limits cpu in project (string) @@ -39,5 +39,6 @@ public sealed class ProjectContainerResourceLimitGetArgs : Pulumi.ResourceArgs public ProjectContainerResourceLimitGetArgs() { } + public static new ProjectContainerResourceLimitGetArgs Empty => new ProjectContainerResourceLimitGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingCustomTargetConfigArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingCustomTargetConfigArgs.cs index e56ae3f30..2d3fb77fc 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingCustomTargetConfigArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingCustomTargetConfigArgs.cs @@ -10,25 +10,55 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingCustomTargetConfigArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingCustomTargetConfigArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Custom target config content (string) @@ -39,5 +69,6 @@ public sealed class ProjectLoggingCustomTargetConfigArgs : Pulumi.ResourceArgs public ProjectLoggingCustomTargetConfigArgs() { } + public static new ProjectLoggingCustomTargetConfigArgs Empty => new ProjectLoggingCustomTargetConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingCustomTargetConfigGetArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingCustomTargetConfigGetArgs.cs index e529154f0..30a1e7d88 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingCustomTargetConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingCustomTargetConfigGetArgs.cs @@ -10,25 +10,55 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingCustomTargetConfigGetArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingCustomTargetConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Custom target config content (string) @@ -39,5 +69,6 @@ public sealed class ProjectLoggingCustomTargetConfigGetArgs : Pulumi.ResourceArg public ProjectLoggingCustomTargetConfigGetArgs() { } + public static new ProjectLoggingCustomTargetConfigGetArgs Empty => new ProjectLoggingCustomTargetConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingElasticsearchConfigArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingElasticsearchConfigArgs.cs index 50057f604..42fcc196e 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingElasticsearchConfigArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingElasticsearchConfigArgs.cs @@ -10,43 +10,103 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingElasticsearchConfigArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingElasticsearchConfigArgs : global::Pulumi.ResourceArgs { + [Input("authPassword")] + private Input? _authPassword; + /// /// User password for the elascticsearch service (string) /// - [Input("authPassword")] - public Input? AuthPassword { get; set; } + public Input? AuthPassword + { + get => _authPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _authPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("authUsername")] + private Input? _authUsername; /// /// Username for the elascticsearch service (string) /// - [Input("authUsername")] - public Input? AuthUsername { get; set; } + public Input? AuthUsername + { + get => _authUsername; + set + { + var emptySecret = Output.CreateSecret(0); + _authUsername = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("certificate")] + private Input? _certificate; /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKeyPass")] + private Input? _clientKeyPass; /// /// SSL client key password for the splunk service (string) /// - [Input("clientKeyPass")] - public Input? ClientKeyPass { get; set; } + public Input? ClientKeyPass + { + get => _clientKeyPass; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKeyPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) @@ -81,5 +141,6 @@ public sealed class ProjectLoggingElasticsearchConfigArgs : Pulumi.ResourceArgs public ProjectLoggingElasticsearchConfigArgs() { } + public static new ProjectLoggingElasticsearchConfigArgs Empty => new ProjectLoggingElasticsearchConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingElasticsearchConfigGetArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingElasticsearchConfigGetArgs.cs index 02c3c6a33..8b38a303b 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingElasticsearchConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingElasticsearchConfigGetArgs.cs @@ -10,43 +10,103 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingElasticsearchConfigGetArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingElasticsearchConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("authPassword")] + private Input? _authPassword; + /// /// User password for the elascticsearch service (string) /// - [Input("authPassword")] - public Input? AuthPassword { get; set; } + public Input? AuthPassword + { + get => _authPassword; + set + { + var emptySecret = Output.CreateSecret(0); + _authPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("authUsername")] + private Input? _authUsername; /// /// Username for the elascticsearch service (string) /// - [Input("authUsername")] - public Input? AuthUsername { get; set; } + public Input? AuthUsername + { + get => _authUsername; + set + { + var emptySecret = Output.CreateSecret(0); + _authUsername = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("certificate")] + private Input? _certificate; /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKeyPass")] + private Input? _clientKeyPass; /// /// SSL client key password for the splunk service (string) /// - [Input("clientKeyPass")] - public Input? ClientKeyPass { get; set; } + public Input? ClientKeyPass + { + get => _clientKeyPass; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKeyPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) @@ -81,5 +141,6 @@ public sealed class ProjectLoggingElasticsearchConfigGetArgs : Pulumi.ResourceAr public ProjectLoggingElasticsearchConfigGetArgs() { } + public static new ProjectLoggingElasticsearchConfigGetArgs Empty => new ProjectLoggingElasticsearchConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigArgs.cs index 0f2af5281..d0a9b51d7 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingFluentdConfigArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingFluentdConfigArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Compress data for the fluentd service (bool) @@ -45,5 +55,6 @@ public InputList FluentServe public ProjectLoggingFluentdConfigArgs() { } + public static new ProjectLoggingFluentdConfigArgs Empty => new ProjectLoggingFluentdConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigFluentServerArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigFluentServerArgs.cs index 32e41eb24..8d84837a4 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigFluentServerArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigFluentServerArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingFluentdConfigFluentServerArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingFluentdConfigFluentServerArgs : global::Pulumi.ResourceArgs { /// /// Endpoint of the syslog service (string) @@ -24,17 +24,37 @@ public sealed class ProjectLoggingFluentdConfigFluentServerArgs : Pulumi.Resourc [Input("hostname")] public Input? Hostname { get; set; } + [Input("password")] + private Input? _password; + /// /// User password of the fluentd service (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("sharedKey")] + private Input? _sharedKey; /// /// Shared key of the fluentd service (string) /// - [Input("sharedKey")] - public Input? SharedKey { get; set; } + public Input? SharedKey + { + get => _sharedKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sharedKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Standby server of the fluentd service (bool) @@ -42,11 +62,21 @@ public sealed class ProjectLoggingFluentdConfigFluentServerArgs : Pulumi.Resourc [Input("standby")] public Input? Standby { get; set; } + [Input("username")] + private Input? _username; + /// /// Username of the fluentd service (string) /// - [Input("username")] - public Input? Username { get; set; } + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Weight of the fluentd server (int) @@ -57,5 +87,6 @@ public sealed class ProjectLoggingFluentdConfigFluentServerArgs : Pulumi.Resourc public ProjectLoggingFluentdConfigFluentServerArgs() { } + public static new ProjectLoggingFluentdConfigFluentServerArgs Empty => new ProjectLoggingFluentdConfigFluentServerArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigFluentServerGetArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigFluentServerGetArgs.cs index d0eda1d36..41aa399a8 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigFluentServerGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigFluentServerGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingFluentdConfigFluentServerGetArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingFluentdConfigFluentServerGetArgs : global::Pulumi.ResourceArgs { /// /// Endpoint of the syslog service (string) @@ -24,17 +24,37 @@ public sealed class ProjectLoggingFluentdConfigFluentServerGetArgs : Pulumi.Reso [Input("hostname")] public Input? Hostname { get; set; } + [Input("password")] + private Input? _password; + /// /// User password of the fluentd service (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("sharedKey")] + private Input? _sharedKey; /// /// Shared key of the fluentd service (string) /// - [Input("sharedKey")] - public Input? SharedKey { get; set; } + public Input? SharedKey + { + get => _sharedKey; + set + { + var emptySecret = Output.CreateSecret(0); + _sharedKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Standby server of the fluentd service (bool) @@ -42,11 +62,21 @@ public sealed class ProjectLoggingFluentdConfigFluentServerGetArgs : Pulumi.Reso [Input("standby")] public Input? Standby { get; set; } + [Input("username")] + private Input? _username; + /// /// Username of the fluentd service (string) /// - [Input("username")] - public Input? Username { get; set; } + public Input? Username + { + get => _username; + set + { + var emptySecret = Output.CreateSecret(0); + _username = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Weight of the fluentd server (int) @@ -57,5 +87,6 @@ public sealed class ProjectLoggingFluentdConfigFluentServerGetArgs : Pulumi.Reso public ProjectLoggingFluentdConfigFluentServerGetArgs() { } + public static new ProjectLoggingFluentdConfigFluentServerGetArgs Empty => new ProjectLoggingFluentdConfigFluentServerGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigGetArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigGetArgs.cs index 91ef63eeb..d1ca8c1a1 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingFluentdConfigGetArgs.cs @@ -10,13 +10,23 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingFluentdConfigGetArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingFluentdConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Compress data for the fluentd service (bool) @@ -45,5 +55,6 @@ public InputList FluentSe public ProjectLoggingFluentdConfigGetArgs() { } + public static new ProjectLoggingFluentdConfigGetArgs Empty => new ProjectLoggingFluentdConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingKafkaConfigArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingKafkaConfigArgs.cs index 18c2f797f..c4147fd03 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingKafkaConfigArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingKafkaConfigArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingKafkaConfigArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingKafkaConfigArgs : global::Pulumi.ResourceArgs { [Input("brokerEndpoints")] private InputList? _brokerEndpoints; @@ -24,23 +24,53 @@ public InputList BrokerEndpoints set => _brokerEndpoints = value; } + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Topic to publish on the kafka service (string) @@ -57,5 +87,6 @@ public InputList BrokerEndpoints public ProjectLoggingKafkaConfigArgs() { } + public static new ProjectLoggingKafkaConfigArgs Empty => new ProjectLoggingKafkaConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingKafkaConfigGetArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingKafkaConfigGetArgs.cs index cbe3b28ff..cf45c57b9 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingKafkaConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingKafkaConfigGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingKafkaConfigGetArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingKafkaConfigGetArgs : global::Pulumi.ResourceArgs { [Input("brokerEndpoints")] private InputList? _brokerEndpoints; @@ -24,23 +24,53 @@ public InputList BrokerEndpoints set => _brokerEndpoints = value; } + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Topic to publish on the kafka service (string) @@ -57,5 +87,6 @@ public InputList BrokerEndpoints public ProjectLoggingKafkaConfigGetArgs() { } + public static new ProjectLoggingKafkaConfigGetArgs Empty => new ProjectLoggingKafkaConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingSplunkConfigArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingSplunkConfigArgs.cs index b5a1c6d7f..40e9857f7 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingSplunkConfigArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingSplunkConfigArgs.cs @@ -10,31 +10,71 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingSplunkConfigArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingSplunkConfigArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKeyPass")] + private Input? _clientKeyPass; /// /// SSL client key password for the splunk service (string) /// - [Input("clientKeyPass")] - public Input? ClientKeyPass { get; set; } + public Input? ClientKeyPass + { + get => _clientKeyPass; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKeyPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Endpoint of the syslog service (string) @@ -60,14 +100,25 @@ public sealed class ProjectLoggingSplunkConfigArgs : Pulumi.ResourceArgs [Input("sslVerify")] public Input? SslVerify { get; set; } + [Input("token", required: true)] + private Input? _token; + /// /// Token for the syslog service (string) /// - [Input("token", required: true)] - public Input Token { get; set; } = null!; + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ProjectLoggingSplunkConfigArgs() { } + public static new ProjectLoggingSplunkConfigArgs Empty => new ProjectLoggingSplunkConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingSplunkConfigGetArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingSplunkConfigGetArgs.cs index 16f8cb9e7..d314162fb 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingSplunkConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingSplunkConfigGetArgs.cs @@ -10,31 +10,71 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingSplunkConfigGetArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingSplunkConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKeyPass")] + private Input? _clientKeyPass; /// /// SSL client key password for the splunk service (string) /// - [Input("clientKeyPass")] - public Input? ClientKeyPass { get; set; } + public Input? ClientKeyPass + { + get => _clientKeyPass; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKeyPass = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Endpoint of the syslog service (string) @@ -60,14 +100,25 @@ public sealed class ProjectLoggingSplunkConfigGetArgs : Pulumi.ResourceArgs [Input("sslVerify")] public Input? SslVerify { get; set; } + [Input("token", required: true)] + private Input? _token; + /// /// Token for the syslog service (string) /// - [Input("token", required: true)] - public Input Token { get; set; } = null!; + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ProjectLoggingSplunkConfigGetArgs() { } + public static new ProjectLoggingSplunkConfigGetArgs Empty => new ProjectLoggingSplunkConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingSyslogConfigArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingSyslogConfigArgs.cs index a0b36df93..c6e4ca0c3 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingSyslogConfigArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingSyslogConfigArgs.cs @@ -10,25 +10,55 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingSyslogConfigArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingSyslogConfigArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable TLS for the fluentd service (bool) @@ -66,14 +96,25 @@ public sealed class ProjectLoggingSyslogConfigArgs : Pulumi.ResourceArgs [Input("sslVerify")] public Input? SslVerify { get; set; } + [Input("token")] + private Input? _token; + /// /// Token for the syslog service (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ProjectLoggingSyslogConfigArgs() { } + public static new ProjectLoggingSyslogConfigArgs Empty => new ProjectLoggingSyslogConfigArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectLoggingSyslogConfigGetArgs.cs b/sdk/dotnet/Inputs/ProjectLoggingSyslogConfigGetArgs.cs index 515ab1534..82daa5b69 100644 --- a/sdk/dotnet/Inputs/ProjectLoggingSyslogConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectLoggingSyslogConfigGetArgs.cs @@ -10,25 +10,55 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectLoggingSyslogConfigGetArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingSyslogConfigGetArgs : global::Pulumi.ResourceArgs { + [Input("certificate")] + private Input? _certificate; + /// /// SSL certificate for the syslog service (string) /// - [Input("certificate")] - public Input? Certificate { get; set; } + public Input? Certificate + { + get => _certificate; + set + { + var emptySecret = Output.CreateSecret(0); + _certificate = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientCert")] + private Input? _clientCert; /// /// SSL client certificate for the syslog service (string) /// - [Input("clientCert")] - public Input? ClientCert { get; set; } + public Input? ClientCert + { + get => _clientCert; + set + { + var emptySecret = Output.CreateSecret(0); + _clientCert = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("clientKey")] + private Input? _clientKey; /// /// SSL client key for the syslog service (string) /// - [Input("clientKey")] - public Input? ClientKey { get; set; } + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Enable TLS for the fluentd service (bool) @@ -66,14 +96,25 @@ public sealed class ProjectLoggingSyslogConfigGetArgs : Pulumi.ResourceArgs [Input("sslVerify")] public Input? SslVerify { get; set; } + [Input("token")] + private Input? _token; + /// /// Token for the syslog service (string) /// - [Input("token")] - public Input? Token { get; set; } + public Input? Token + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ProjectLoggingSyslogConfigGetArgs() { } + public static new ProjectLoggingSyslogConfigGetArgs Empty => new ProjectLoggingSyslogConfigGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectProjectMonitoringInputArgs.cs b/sdk/dotnet/Inputs/ProjectProjectMonitoringInputArgs.cs index 7cff7cf80..50c6f7e71 100644 --- a/sdk/dotnet/Inputs/ProjectProjectMonitoringInputArgs.cs +++ b/sdk/dotnet/Inputs/ProjectProjectMonitoringInputArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectProjectMonitoringInputArgs : Pulumi.ResourceArgs + public sealed class ProjectProjectMonitoringInputArgs : global::Pulumi.ResourceArgs { [Input("answers")] private InputMap? _answers; @@ -33,5 +33,6 @@ public InputMap Answers public ProjectProjectMonitoringInputArgs() { } + public static new ProjectProjectMonitoringInputArgs Empty => new ProjectProjectMonitoringInputArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectProjectMonitoringInputGetArgs.cs b/sdk/dotnet/Inputs/ProjectProjectMonitoringInputGetArgs.cs index f51ebd561..2fb950b91 100644 --- a/sdk/dotnet/Inputs/ProjectProjectMonitoringInputGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectProjectMonitoringInputGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectProjectMonitoringInputGetArgs : Pulumi.ResourceArgs + public sealed class ProjectProjectMonitoringInputGetArgs : global::Pulumi.ResourceArgs { [Input("answers")] private InputMap? _answers; @@ -33,5 +33,6 @@ public InputMap Answers public ProjectProjectMonitoringInputGetArgs() { } + public static new ProjectProjectMonitoringInputGetArgs Empty => new ProjectProjectMonitoringInputGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectResourceQuotaArgs.cs b/sdk/dotnet/Inputs/ProjectResourceQuotaArgs.cs index 005b7a5e3..db8f64745 100644 --- a/sdk/dotnet/Inputs/ProjectResourceQuotaArgs.cs +++ b/sdk/dotnet/Inputs/ProjectResourceQuotaArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectResourceQuotaArgs : Pulumi.ResourceArgs + public sealed class ProjectResourceQuotaArgs : global::Pulumi.ResourceArgs { /// /// Default resource quota limit for namespaces in project (list maxitems:1) @@ -27,5 +27,6 @@ public sealed class ProjectResourceQuotaArgs : Pulumi.ResourceArgs public ProjectResourceQuotaArgs() { } + public static new ProjectResourceQuotaArgs Empty => new ProjectResourceQuotaArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectResourceQuotaGetArgs.cs b/sdk/dotnet/Inputs/ProjectResourceQuotaGetArgs.cs index ae34a4073..a2603f408 100644 --- a/sdk/dotnet/Inputs/ProjectResourceQuotaGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectResourceQuotaGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectResourceQuotaGetArgs : Pulumi.ResourceArgs + public sealed class ProjectResourceQuotaGetArgs : global::Pulumi.ResourceArgs { /// /// Default resource quota limit for namespaces in project (list maxitems:1) @@ -27,5 +27,6 @@ public sealed class ProjectResourceQuotaGetArgs : Pulumi.ResourceArgs public ProjectResourceQuotaGetArgs() { } + public static new ProjectResourceQuotaGetArgs Empty => new ProjectResourceQuotaGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectResourceQuotaNamespaceDefaultLimitArgs.cs b/sdk/dotnet/Inputs/ProjectResourceQuotaNamespaceDefaultLimitArgs.cs index 9592ac9e3..eebbe6576 100644 --- a/sdk/dotnet/Inputs/ProjectResourceQuotaNamespaceDefaultLimitArgs.cs +++ b/sdk/dotnet/Inputs/ProjectResourceQuotaNamespaceDefaultLimitArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectResourceQuotaNamespaceDefaultLimitArgs : Pulumi.ResourceArgs + public sealed class ProjectResourceQuotaNamespaceDefaultLimitArgs : global::Pulumi.ResourceArgs { /// /// Limit for config maps in project (string) @@ -90,5 +90,6 @@ public sealed class ProjectResourceQuotaNamespaceDefaultLimitArgs : Pulumi.Resou public ProjectResourceQuotaNamespaceDefaultLimitArgs() { } + public static new ProjectResourceQuotaNamespaceDefaultLimitArgs Empty => new ProjectResourceQuotaNamespaceDefaultLimitArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectResourceQuotaNamespaceDefaultLimitGetArgs.cs b/sdk/dotnet/Inputs/ProjectResourceQuotaNamespaceDefaultLimitGetArgs.cs index faa48d85e..02f7504b3 100644 --- a/sdk/dotnet/Inputs/ProjectResourceQuotaNamespaceDefaultLimitGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectResourceQuotaNamespaceDefaultLimitGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectResourceQuotaNamespaceDefaultLimitGetArgs : Pulumi.ResourceArgs + public sealed class ProjectResourceQuotaNamespaceDefaultLimitGetArgs : global::Pulumi.ResourceArgs { /// /// Limit for config maps in project (string) @@ -90,5 +90,6 @@ public sealed class ProjectResourceQuotaNamespaceDefaultLimitGetArgs : Pulumi.Re public ProjectResourceQuotaNamespaceDefaultLimitGetArgs() { } + public static new ProjectResourceQuotaNamespaceDefaultLimitGetArgs Empty => new ProjectResourceQuotaNamespaceDefaultLimitGetArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectResourceQuotaProjectLimitArgs.cs b/sdk/dotnet/Inputs/ProjectResourceQuotaProjectLimitArgs.cs index 6403f19a1..aeca8598b 100644 --- a/sdk/dotnet/Inputs/ProjectResourceQuotaProjectLimitArgs.cs +++ b/sdk/dotnet/Inputs/ProjectResourceQuotaProjectLimitArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectResourceQuotaProjectLimitArgs : Pulumi.ResourceArgs + public sealed class ProjectResourceQuotaProjectLimitArgs : global::Pulumi.ResourceArgs { /// /// Limit for config maps in project (string) @@ -90,5 +90,6 @@ public sealed class ProjectResourceQuotaProjectLimitArgs : Pulumi.ResourceArgs public ProjectResourceQuotaProjectLimitArgs() { } + public static new ProjectResourceQuotaProjectLimitArgs Empty => new ProjectResourceQuotaProjectLimitArgs(); } } diff --git a/sdk/dotnet/Inputs/ProjectResourceQuotaProjectLimitGetArgs.cs b/sdk/dotnet/Inputs/ProjectResourceQuotaProjectLimitGetArgs.cs index 1f0318c10..559513d51 100644 --- a/sdk/dotnet/Inputs/ProjectResourceQuotaProjectLimitGetArgs.cs +++ b/sdk/dotnet/Inputs/ProjectResourceQuotaProjectLimitGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class ProjectResourceQuotaProjectLimitGetArgs : Pulumi.ResourceArgs + public sealed class ProjectResourceQuotaProjectLimitGetArgs : global::Pulumi.ResourceArgs { /// /// Limit for config maps in project (string) @@ -90,5 +90,6 @@ public sealed class ProjectResourceQuotaProjectLimitGetArgs : Pulumi.ResourceArg public ProjectResourceQuotaProjectLimitGetArgs() { } + public static new ProjectResourceQuotaProjectLimitGetArgs Empty => new ProjectResourceQuotaProjectLimitGetArgs(); } } diff --git a/sdk/dotnet/Inputs/RegistryRegistryArgs.cs b/sdk/dotnet/Inputs/RegistryRegistryArgs.cs index f3dad7c19..a1b1e695c 100644 --- a/sdk/dotnet/Inputs/RegistryRegistryArgs.cs +++ b/sdk/dotnet/Inputs/RegistryRegistryArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class RegistryRegistryArgs : Pulumi.ResourceArgs + public sealed class RegistryRegistryArgs : global::Pulumi.ResourceArgs { /// /// Address for registry. @@ -18,11 +18,21 @@ public sealed class RegistryRegistryArgs : Pulumi.ResourceArgs [Input("address", required: true)] public Input Address { get; set; } = null!; + [Input("password")] + private Input? _password; + /// /// Password for the registry (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Username for the registry (string) @@ -33,5 +43,6 @@ public sealed class RegistryRegistryArgs : Pulumi.ResourceArgs public RegistryRegistryArgs() { } + public static new RegistryRegistryArgs Empty => new RegistryRegistryArgs(); } } diff --git a/sdk/dotnet/Inputs/RegistryRegistryGetArgs.cs b/sdk/dotnet/Inputs/RegistryRegistryGetArgs.cs index 8c23a9fbb..863f226ce 100644 --- a/sdk/dotnet/Inputs/RegistryRegistryGetArgs.cs +++ b/sdk/dotnet/Inputs/RegistryRegistryGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class RegistryRegistryGetArgs : Pulumi.ResourceArgs + public sealed class RegistryRegistryGetArgs : global::Pulumi.ResourceArgs { /// /// Address for registry. @@ -18,11 +18,21 @@ public sealed class RegistryRegistryGetArgs : Pulumi.ResourceArgs [Input("address", required: true)] public Input Address { get; set; } = null!; + [Input("password")] + private Input? _password; + /// /// Password for the registry (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Username for the registry (string) @@ -33,5 +43,6 @@ public sealed class RegistryRegistryGetArgs : Pulumi.ResourceArgs public RegistryRegistryGetArgs() { } + public static new RegistryRegistryGetArgs Empty => new RegistryRegistryGetArgs(); } } diff --git a/sdk/dotnet/Inputs/RoleTempalteRuleArgs.cs b/sdk/dotnet/Inputs/RoleTempalteRuleArgs.cs index 93ef8cc64..1f2928fef 100644 --- a/sdk/dotnet/Inputs/RoleTempalteRuleArgs.cs +++ b/sdk/dotnet/Inputs/RoleTempalteRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class RoleTempalteRuleArgs : Pulumi.ResourceArgs + public sealed class RoleTempalteRuleArgs : global::Pulumi.ResourceArgs { [Input("apiGroups")] private InputList? _apiGroups; @@ -75,5 +75,6 @@ public InputList Verbs public RoleTempalteRuleArgs() { } + public static new RoleTempalteRuleArgs Empty => new RoleTempalteRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/RoleTempalteRuleGetArgs.cs b/sdk/dotnet/Inputs/RoleTempalteRuleGetArgs.cs index 8a45dfca7..e188176dc 100644 --- a/sdk/dotnet/Inputs/RoleTempalteRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/RoleTempalteRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class RoleTempalteRuleGetArgs : Pulumi.ResourceArgs + public sealed class RoleTempalteRuleGetArgs : global::Pulumi.ResourceArgs { [Input("apiGroups")] private InputList? _apiGroups; @@ -75,5 +75,6 @@ public InputList Verbs public RoleTempalteRuleGetArgs() { } + public static new RoleTempalteRuleGetArgs Empty => new RoleTempalteRuleGetArgs(); } } diff --git a/sdk/dotnet/Inputs/RoleTemplateRuleArgs.cs b/sdk/dotnet/Inputs/RoleTemplateRuleArgs.cs index fa23ae8e4..2b2c829ad 100644 --- a/sdk/dotnet/Inputs/RoleTemplateRuleArgs.cs +++ b/sdk/dotnet/Inputs/RoleTemplateRuleArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class RoleTemplateRuleArgs : Pulumi.ResourceArgs + public sealed class RoleTemplateRuleArgs : global::Pulumi.ResourceArgs { [Input("apiGroups")] private InputList? _apiGroups; @@ -75,5 +75,6 @@ public InputList Verbs public RoleTemplateRuleArgs() { } + public static new RoleTemplateRuleArgs Empty => new RoleTemplateRuleArgs(); } } diff --git a/sdk/dotnet/Inputs/RoleTemplateRuleGetArgs.cs b/sdk/dotnet/Inputs/RoleTemplateRuleGetArgs.cs index 1a9e9b04c..640bbf883 100644 --- a/sdk/dotnet/Inputs/RoleTemplateRuleGetArgs.cs +++ b/sdk/dotnet/Inputs/RoleTemplateRuleGetArgs.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2.Inputs { - public sealed class RoleTemplateRuleGetArgs : Pulumi.ResourceArgs + public sealed class RoleTemplateRuleGetArgs : global::Pulumi.ResourceArgs { [Input("apiGroups")] private InputList? _apiGroups; @@ -75,5 +75,6 @@ public InputList Verbs public RoleTemplateRuleGetArgs() { } + public static new RoleTemplateRuleGetArgs Empty => new RoleTemplateRuleGetArgs(); } } diff --git a/sdk/dotnet/MachineConfigV2.cs b/sdk/dotnet/MachineConfigV2.cs index bbffc39d6..55b7a418e 100644 --- a/sdk/dotnet/MachineConfigV2.cs +++ b/sdk/dotnet/MachineConfigV2.cs @@ -10,7 +10,7 @@ namespace Pulumi.Rancher2 { /// - /// Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. + /// Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is available from Rancher v2.6.0 and above. /// /// `amazonec2`, `azure`, `digitalocean`, `linode`, `openstack`, and `vsphere` cloud providers are supported for machine config V2 /// @@ -20,49 +20,49 @@ namespace Pulumi.Rancher2 /// ### Using the Harvester Node Driver /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo_harvesterClusterV2 = Rancher2.GetClusterV2.Invoke(new() /// { - /// var foo_harvesterClusterV2 = Output.Create(Rancher2.GetClusterV2.InvokeAsync(new Rancher2.GetClusterV2Args - /// { - /// Name = "foo-harvester", - /// })); - /// // Create a new Cloud Credential for an imported Harvester cluster - /// var foo_harvesterCloudCredential = new Rancher2.CloudCredential("foo-harvesterCloudCredential", new Rancher2.CloudCredentialArgs + /// Name = "foo-harvester", + /// }); + /// + /// // Create a new Cloud Credential for an imported Harvester cluster + /// var foo_harvesterCloudCredential = new Rancher2.CloudCredential("foo-harvesterCloudCredential", new() + /// { + /// HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs /// { - /// HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs - /// { - /// ClusterId = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.ClusterV1Id), - /// ClusterType = "imported", - /// KubeconfigContent = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.KubeConfig), - /// }, - /// }); - /// // Create a new rancher2 machine config v2 using harvester node_driver - /// var foo_harvester_v2 = new Rancher2.MachineConfigV2("foo-harvester-v2", new Rancher2.MachineConfigV2Args + /// ClusterId = foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result).Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result.ClusterV1Id)), + /// ClusterType = "imported", + /// KubeconfigContent = foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result).Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result.KubeConfig)), + /// }, + /// }); + /// + /// // Create a new rancher2 machine config v2 using harvester node_driver + /// var foo_harvester_v2 = new Rancher2.MachineConfigV2("foo-harvester-v2", new() + /// { + /// GenerateName = "foo-harvester-v2", + /// HarvesterConfig = new Rancher2.Inputs.MachineConfigV2HarvesterConfigArgs /// { - /// GenerateName = "foo-harvester-v2", - /// HarvesterConfig = new Rancher2.Inputs.MachineConfigV2HarvesterConfigArgs - /// { - /// VmNamespace = "default", - /// CpuCount = "2", - /// MemorySize = "4", - /// DiskSize = "40", - /// NetworkName = "harvester-public/vlan1", - /// ImageName = "harvester-public/image-57hzg", - /// SshUser = "ubuntu", - /// }, - /// }); - /// } + /// VmNamespace = "default", + /// CpuCount = "2", + /// MemorySize = "4", + /// DiskSize = "40", + /// NetworkName = "harvester-public/vlan1", + /// ImageName = "harvester-public/image-57hzg", + /// SshUser = "ubuntu", + /// }, + /// }); /// - /// } + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/machineConfigV2:MachineConfigV2")] - public partial class MachineConfigV2 : Pulumi.CustomResource + public partial class MachineConfigV2 : global::Pulumi.CustomResource { /// /// AWS config for the Machine Config V2. Conflicts with `azure_config`, `digitalocean_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) @@ -192,7 +192,7 @@ public static MachineConfigV2 Get(string name, Input id, MachineConfigV2 } } - public sealed class MachineConfigV2Args : Pulumi.ResourceArgs + public sealed class MachineConfigV2Args : global::Pulumi.ResourceArgs { /// /// AWS config for the Machine Config V2. Conflicts with `azure_config`, `digitalocean_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) @@ -275,9 +275,10 @@ public InputMap Labels public MachineConfigV2Args() { } + public static new MachineConfigV2Args Empty => new MachineConfigV2Args(); } - public sealed class MachineConfigV2State : Pulumi.ResourceArgs + public sealed class MachineConfigV2State : global::Pulumi.ResourceArgs { /// /// AWS config for the Machine Config V2. Conflicts with `azure_config`, `digitalocean_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) @@ -378,5 +379,6 @@ public InputMap Labels public MachineConfigV2State() { } + public static new MachineConfigV2State Empty => new MachineConfigV2State(); } } diff --git a/sdk/dotnet/MultiClusterApp.cs b/sdk/dotnet/MultiClusterApp.cs index d8e666877..5c5b108af 100644 --- a/sdk/dotnet/MultiClusterApp.cs +++ b/sdk/dotnet/MultiClusterApp.cs @@ -13,97 +13,93 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Multi Cluster App + /// var foo = new Rancher2.MultiClusterApp("foo", new() /// { - /// // Create a new rancher2 Multi Cluster App - /// var foo = new Rancher2.MultiClusterApp("foo", new Rancher2.MultiClusterAppArgs + /// Answers = new[] /// { - /// Answers = + /// new Rancher2.Inputs.MultiClusterAppAnswerArgs /// { - /// new Rancher2.Inputs.MultiClusterAppAnswerArgs + /// Values = /// { - /// Values = - /// { - /// { "ingressHost", "test.xip.io" }, - /// }, + /// { "ingressHost", "test.xip.io" }, /// }, /// }, - /// CatalogName = "<catalog_name>", - /// Roles = + /// }, + /// CatalogName = "<catalog_name>", + /// Roles = new[] + /// { + /// "project-member", + /// }, + /// Targets = new[] + /// { + /// new Rancher2.Inputs.MultiClusterAppTargetArgs /// { - /// "project-member", + /// ProjectId = "<project_id>", /// }, - /// Targets = - /// { - /// new Rancher2.Inputs.MultiClusterAppTargetArgs - /// { - /// ProjectId = "<project_id>", - /// }, - /// }, - /// TemplateName = "<template_name>", - /// TemplateVersion = "<template_version>", - /// }); - /// } + /// }, + /// TemplateName = "<template_name>", + /// TemplateVersion = "<template_version>", + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Multi Cluster App overriding answers + /// var foo = new Rancher2.MultiClusterApp("foo", new() /// { - /// // Create a new rancher2 Multi Cluster App overriding answers - /// var foo = new Rancher2.MultiClusterApp("foo", new Rancher2.MultiClusterAppArgs + /// Answers = new[] /// { - /// Answers = + /// new Rancher2.Inputs.MultiClusterAppAnswerArgs /// { - /// new Rancher2.Inputs.MultiClusterAppAnswerArgs + /// Values = /// { - /// Values = - /// { - /// { "ingressHost", "test.xip.io" }, - /// }, + /// { "ingressHost", "test.xip.io" }, /// }, - /// new Rancher2.Inputs.MultiClusterAppAnswerArgs + /// }, + /// new Rancher2.Inputs.MultiClusterAppAnswerArgs + /// { + /// ProjectId = "<project_id2>", + /// Values = /// { - /// ProjectId = "<project_id2>", - /// Values = - /// { - /// { "ingressHost", "test2.xip.io" }, - /// }, + /// { "ingressHost", "test2.xip.io" }, /// }, /// }, - /// CatalogName = "<catalog_name>", - /// Roles = + /// }, + /// CatalogName = "<catalog_name>", + /// Roles = new[] + /// { + /// "project-member", + /// }, + /// Targets = new[] + /// { + /// new Rancher2.Inputs.MultiClusterAppTargetArgs /// { - /// "project-member", + /// ProjectId = "<project_id1>", /// }, - /// Targets = + /// new Rancher2.Inputs.MultiClusterAppTargetArgs /// { - /// new Rancher2.Inputs.MultiClusterAppTargetArgs - /// { - /// ProjectId = "<project_id1>", - /// }, - /// new Rancher2.Inputs.MultiClusterAppTargetArgs - /// { - /// ProjectId = "<project_id2>", - /// }, + /// ProjectId = "<project_id2>", /// }, - /// TemplateName = "<template_name>", - /// TemplateVersion = "<template_version>", - /// }); - /// } + /// }, + /// TemplateName = "<template_name>", + /// TemplateVersion = "<template_version>", + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -115,7 +111,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/multiClusterApp:MultiClusterApp")] - public partial class MultiClusterApp : Pulumi.CustomResource + public partial class MultiClusterApp : global::Pulumi.CustomResource { /// /// Annotations for multi cluster app object (map) @@ -251,7 +247,7 @@ public static MultiClusterApp Get(string name, Input id, MultiClusterApp } } - public sealed class MultiClusterAppArgs : Pulumi.ResourceArgs + public sealed class MultiClusterAppArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -376,9 +372,10 @@ public InputList Targets public MultiClusterAppArgs() { } + public static new MultiClusterAppArgs Empty => new MultiClusterAppArgs(); } - public sealed class MultiClusterAppState : Pulumi.ResourceArgs + public sealed class MultiClusterAppState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -509,5 +506,6 @@ public InputList Targets public MultiClusterAppState() { } + public static new MultiClusterAppState Empty => new MultiClusterAppState(); } } diff --git a/sdk/dotnet/Namespace.cs b/sdk/dotnet/Namespace.cs index 23b67d996..6514515f1 100644 --- a/sdk/dotnet/Namespace.cs +++ b/sdk/dotnet/Namespace.cs @@ -15,85 +15,82 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Namespace + /// var foo = new Rancher2.Namespace("foo", new() /// { - /// // Create a new rancher2 Namespace - /// var foo = new Rancher2.Namespace("foo", new Rancher2.NamespaceArgs + /// ContainerResourceLimit = new Rancher2.Inputs.NamespaceContainerResourceLimitArgs /// { - /// ContainerResourceLimit = new Rancher2.Inputs.NamespaceContainerResourceLimitArgs - /// { - /// LimitsCpu = "20m", - /// LimitsMemory = "20Mi", - /// RequestsCpu = "1m", - /// RequestsMemory = "1Mi", - /// }, - /// Description = "foo namespace", - /// ProjectId = "<PROJECT_ID>", - /// ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs + /// LimitsCpu = "20m", + /// LimitsMemory = "20Mi", + /// RequestsCpu = "1m", + /// RequestsMemory = "1Mi", + /// }, + /// Description = "foo namespace", + /// ProjectId = "<PROJECT_ID>", + /// ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs + /// { + /// Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs /// { - /// Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs - /// { - /// LimitsCpu = "100m", - /// LimitsMemory = "100Mi", - /// RequestsStorage = "1Gi", - /// }, + /// LimitsCpu = "100m", + /// LimitsMemory = "100Mi", + /// RequestsStorage = "1Gi", /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Cluster + /// var foo_custom = new Rancher2.Cluster("foo-custom", new() /// { - /// // Create a new rancher2 Cluster - /// var foo_custom = new Rancher2.Cluster("foo-custom", new Rancher2.ClusterArgs + /// Description = "Foo rancher2 custom cluster", + /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs /// { - /// Description = "Foo rancher2 custom cluster", - /// RkeConfig = new Rancher2.Inputs.ClusterRkeConfigArgs + /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs /// { - /// Network = new Rancher2.Inputs.ClusterRkeConfigNetworkArgs - /// { - /// Plugin = "canal", - /// }, + /// Plugin = "canal", /// }, - /// }); - /// // Create a new rancher2 Namespace assigned to default cluster project - /// var foo = new Rancher2.Namespace("foo", new Rancher2.NamespaceArgs + /// }, + /// }); + /// + /// // Create a new rancher2 Namespace assigned to default cluster project + /// var foo = new Rancher2.Namespace("foo", new() + /// { + /// ProjectId = foo_custom.DefaultProjectId, + /// Description = "foo namespace", + /// ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs /// { - /// ProjectId = foo_custom.DefaultProjectId, - /// Description = "foo namespace", - /// ResourceQuota = new Rancher2.Inputs.NamespaceResourceQuotaArgs - /// { - /// Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs - /// { - /// LimitsCpu = "100m", - /// LimitsMemory = "100Mi", - /// RequestsStorage = "1Gi", - /// }, - /// }, - /// ContainerResourceLimit = new Rancher2.Inputs.NamespaceContainerResourceLimitArgs + /// Limit = new Rancher2.Inputs.NamespaceResourceQuotaLimitArgs /// { - /// LimitsCpu = "20m", - /// LimitsMemory = "20Mi", - /// RequestsCpu = "1m", - /// RequestsMemory = "1Mi", + /// LimitsCpu = "100m", + /// LimitsMemory = "100Mi", + /// RequestsStorage = "1Gi", /// }, - /// }); - /// } + /// }, + /// ContainerResourceLimit = new Rancher2.Inputs.NamespaceContainerResourceLimitArgs + /// { + /// LimitsCpu = "20m", + /// LimitsMemory = "20Mi", + /// RequestsCpu = "1m", + /// RequestsMemory = "1Mi", + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -111,7 +108,7 @@ namespace Pulumi.Rancher2 /// - If `<id>` part is omitted `<project_id>=<cluster_id>`, the namespace'll not be assigned to any project. To move it into a project, `<project_id>=<cluster_id>:<id>` needs to be updated in tf file. Namespace movement is only supported inside same `cluster_id`. /// [Rancher2ResourceType("rancher2:index/namespace:Namespace")] - public partial class Namespace : Pulumi.CustomResource + public partial class Namespace : global::Pulumi.CustomResource { /// /// Annotations for Node Pool object (map) @@ -205,7 +202,7 @@ public static Namespace Get(string name, Input id, NamespaceState? state } } - public sealed class NamespaceArgs : Pulumi.ResourceArgs + public sealed class NamespaceArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -270,9 +267,10 @@ public InputMap Labels public NamespaceArgs() { } + public static new NamespaceArgs Empty => new NamespaceArgs(); } - public sealed class NamespaceState : Pulumi.ResourceArgs + public sealed class NamespaceState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -337,5 +335,6 @@ public InputMap Labels public NamespaceState() { } + public static new NamespaceState Empty => new NamespaceState(); } } diff --git a/sdk/dotnet/NodeDriver.cs b/sdk/dotnet/NodeDriver.cs index 433e3d733..e985c7d6e 100644 --- a/sdk/dotnet/NodeDriver.cs +++ b/sdk/dotnet/NodeDriver.cs @@ -15,31 +15,29 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Node Driver + /// var foo = new Rancher2.NodeDriver("foo", new() /// { - /// // Create a new rancher2 Node Driver - /// var foo = new Rancher2.NodeDriver("foo", new Rancher2.NodeDriverArgs + /// Active = true, + /// Builtin = false, + /// Checksum = "0x0", + /// Description = "Foo description", + /// ExternalId = "foo_external", + /// UiUrl = "local://ui", + /// Url = "local://", + /// WhitelistDomains = new[] /// { - /// Active = true, - /// Builtin = false, - /// Checksum = "0x0", - /// Description = "Foo description", - /// ExternalId = "foo_external", - /// UiUrl = "local://ui", - /// Url = "local://", - /// WhitelistDomains = - /// { - /// "*.foo.com", - /// }, - /// }); - /// } + /// "*.foo.com", + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -51,7 +49,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/nodeDriver:NodeDriver")] - public partial class NodeDriver : Pulumi.CustomResource + public partial class NodeDriver : global::Pulumi.CustomResource { /// /// Specify if the node driver state (bool) @@ -163,7 +161,7 @@ public static NodeDriver Get(string name, Input id, NodeDriverState? sta } } - public sealed class NodeDriverArgs : Pulumi.ResourceArgs + public sealed class NodeDriverArgs : global::Pulumi.ResourceArgs { /// /// Specify if the node driver state (bool) @@ -252,9 +250,10 @@ public InputList WhitelistDomains public NodeDriverArgs() { } + public static new NodeDriverArgs Empty => new NodeDriverArgs(); } - public sealed class NodeDriverState : Pulumi.ResourceArgs + public sealed class NodeDriverState : global::Pulumi.ResourceArgs { /// /// Specify if the node driver state (bool) @@ -343,5 +342,6 @@ public InputList WhitelistDomains public NodeDriverState() { } + public static new NodeDriverState Empty => new NodeDriverState(); } } diff --git a/sdk/dotnet/NodePool.cs b/sdk/dotnet/NodePool.cs index 3e1dec5fe..15d7a7cf3 100644 --- a/sdk/dotnet/NodePool.cs +++ b/sdk/dotnet/NodePool.cs @@ -21,7 +21,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/nodePool:NodePool")] - public partial class NodePool : Pulumi.CustomResource + public partial class NodePool : global::Pulumi.CustomResource { /// /// Annotations for Node Pool object (map) @@ -145,7 +145,7 @@ public static NodePool Get(string name, Input id, NodePoolState? state = } } - public sealed class NodePoolArgs : Pulumi.ResourceArgs + public sealed class NodePoolArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -246,9 +246,10 @@ public InputList NodeTaints public NodePoolArgs() { } + public static new NodePoolArgs Empty => new NodePoolArgs(); } - public sealed class NodePoolState : Pulumi.ResourceArgs + public sealed class NodePoolState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -349,5 +350,6 @@ public InputList NodeTaints public NodePoolState() { } + public static new NodePoolState Empty => new NodePoolState(); } } diff --git a/sdk/dotnet/NodeTemplate.cs b/sdk/dotnet/NodeTemplate.cs index f8155a572..83900bbc3 100644 --- a/sdk/dotnet/NodeTemplate.cs +++ b/sdk/dotnet/NodeTemplate.cs @@ -12,163 +12,159 @@ namespace Pulumi.Rancher2 /// /// Provides a Rancher v2 Node Template resource. This can be used to create Node Template for Rancher v2 and retrieve their information. /// - /// amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, hetzner, and vsphere drivers are supported for node templates. + /// amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates. /// /// **Note** If you are upgrading to Rancher v2.3.3, please take a look to final section /// /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Node Template up to Rancher 2.1.x + /// var foo = new Rancher2.NodeTemplate("foo", new() /// { - /// // Create a new rancher2 Node Template up to Rancher 2.1.x - /// var foo = new Rancher2.NodeTemplate("foo", new Rancher2.NodeTemplateArgs + /// Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs /// { - /// Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs + /// AccessKey = "AWS_ACCESS_KEY", + /// Ami = "<AMI_ID>", + /// Region = "<REGION>", + /// SecretKey = "<AWS_SECRET_KEY>", + /// SecurityGroups = new[] /// { - /// AccessKey = "AWS_ACCESS_KEY", - /// Ami = "<AMI_ID>", - /// Region = "<REGION>", - /// SecretKey = "<AWS_SECRET_KEY>", - /// SecurityGroups = - /// { - /// "<AWS_SECURITY_GROUP>", - /// }, - /// SubnetId = "<SUBNET_ID>", - /// VpcId = "<VPC_ID>", - /// Zone = "<ZONE>", + /// "<AWS_SECURITY_GROUP>", /// }, - /// Description = "foo test", - /// }); - /// } + /// SubnetId = "<SUBNET_ID>", + /// VpcId = "<VPC_ID>", + /// Zone = "<ZONE>", + /// }, + /// Description = "foo test", + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Node Template from Rancher 2.2.x + /// var fooCloudCredential = new Rancher2.CloudCredential("fooCloudCredential", new() /// { - /// // Create a new rancher2 Node Template from Rancher 2.2.x - /// var fooCloudCredential = new Rancher2.CloudCredential("fooCloudCredential", new Rancher2.CloudCredentialArgs + /// Description = "foo test", + /// Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs /// { - /// Description = "foo test", - /// Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs - /// { - /// AccessKey = "<AWS_ACCESS_KEY>", - /// SecretKey = "<AWS_SECRET_KEY>", - /// }, - /// }); - /// var fooNodeTemplate = new Rancher2.NodeTemplate("fooNodeTemplate", new Rancher2.NodeTemplateArgs + /// AccessKey = "<AWS_ACCESS_KEY>", + /// SecretKey = "<AWS_SECRET_KEY>", + /// }, + /// }); + /// + /// var fooNodeTemplate = new Rancher2.NodeTemplate("fooNodeTemplate", new() + /// { + /// Description = "foo test", + /// CloudCredentialId = fooCloudCredential.Id, + /// Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs /// { - /// Description = "foo test", - /// CloudCredentialId = fooCloudCredential.Id, - /// Amazonec2Config = new Rancher2.Inputs.NodeTemplateAmazonec2ConfigArgs + /// Ami = "<AMI_ID>", + /// Region = "<REGION>", + /// SecurityGroups = new[] /// { - /// Ami = "<AMI_ID>", - /// Region = "<REGION>", - /// SecurityGroups = - /// { - /// "<AWS_SECURITY_GROUP>", - /// }, - /// SubnetId = "<SUBNET_ID>", - /// VpcId = "<VPC_ID>", - /// Zone = "<ZONE>", + /// "<AWS_SECURITY_GROUP>", /// }, - /// }); - /// } + /// SubnetId = "<SUBNET_ID>", + /// VpcId = "<VPC_ID>", + /// Zone = "<ZONE>", + /// }, + /// }); /// - /// } + /// }); /// ``` /// ### Using the Harvester Node Driver /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// var foo_harvesterClusterV2 = Rancher2.GetClusterV2.Invoke(new() /// { - /// var foo_harvesterClusterV2 = Output.Create(Rancher2.GetClusterV2.InvokeAsync(new Rancher2.GetClusterV2Args - /// { - /// Name = "foo-harvester", - /// })); - /// // Create a new Cloud Credential for an imported Harvester cluster - /// var foo_harvesterCloudCredential = new Rancher2.CloudCredential("foo-harvesterCloudCredential", new Rancher2.CloudCredentialArgs + /// Name = "foo-harvester", + /// }); + /// + /// // Create a new Cloud Credential for an imported Harvester cluster + /// var foo_harvesterCloudCredential = new Rancher2.CloudCredential("foo-harvesterCloudCredential", new() + /// { + /// HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs /// { - /// HarvesterCredentialConfig = new Rancher2.Inputs.CloudCredentialHarvesterCredentialConfigArgs - /// { - /// ClusterId = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.ClusterV1Id), - /// ClusterType = "imported", - /// KubeconfigContent = foo_harvesterClusterV2.Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.KubeConfig), - /// }, - /// }); - /// // Create a new rancher2 Node Template using harvester node_driver - /// var foo_harvesterNodeTemplate = new Rancher2.NodeTemplate("foo-harvesterNodeTemplate", new Rancher2.NodeTemplateArgs + /// ClusterId = foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result).Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result.ClusterV1Id)), + /// ClusterType = "imported", + /// KubeconfigContent = foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result).Apply(foo_harvesterClusterV2 => foo_harvesterClusterV2.Apply(getClusterV2Result => getClusterV2Result.KubeConfig)), + /// }, + /// }); + /// + /// // Create a new rancher2 Node Template using harvester node_driver + /// var foo_harvesterNodeTemplate = new Rancher2.NodeTemplate("foo-harvesterNodeTemplate", new() + /// { + /// CloudCredentialId = foo_harvesterCloudCredential.Id, + /// EngineInstallUrl = "https://releases.rancher.com/install-docker/20.10.sh", + /// HarvesterConfig = new Rancher2.Inputs.NodeTemplateHarvesterConfigArgs /// { - /// CloudCredentialId = foo_harvesterCloudCredential.Id, - /// EngineInstallUrl = "https://releases.rancher.com/install-docker/20.10.sh", - /// HarvesterConfig = new Rancher2.Inputs.NodeTemplateHarvesterConfigArgs - /// { - /// VmNamespace = "default", - /// CpuCount = "2", - /// MemorySize = "4", - /// DiskSize = "40", - /// NetworkName = "harvester-public/vlan1", - /// ImageName = "harvester-public/image-57hzg", - /// SshUser = "ubuntu", - /// }, - /// }); - /// } + /// VmNamespace = "default", + /// CpuCount = "2", + /// MemorySize = "4", + /// DiskSize = "40", + /// NetworkName = "harvester-public/vlan1", + /// ImageName = "harvester-public/image-57hzg", + /// SshUser = "ubuntu", + /// }, + /// }); /// - /// } + /// }); /// ``` /// ### Using the Hetzner Node Driver /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Node Template using hetzner node_driver + /// var hetznerNodeDriver = new Rancher2.NodeDriver("hetznerNodeDriver", new() /// { - /// // Create a new rancher2 Node Template using hetzner node_driver - /// var hetznerNodeDriver = new Rancher2.NodeDriver("hetznerNodeDriver", new Rancher2.NodeDriverArgs + /// Active = true, + /// Builtin = false, + /// UiUrl = "https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js", + /// Url = "https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz", + /// WhitelistDomains = new[] /// { - /// Active = true, - /// Builtin = false, - /// UiUrl = "https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js", - /// Url = "https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz", - /// WhitelistDomains = - /// { - /// "storage.googleapis.com", - /// }, - /// }); - /// var myHetznerNodeTemplate = new Rancher2.NodeTemplate("myHetznerNodeTemplate", new Rancher2.NodeTemplateArgs + /// "storage.googleapis.com", + /// }, + /// }); + /// + /// var myHetznerNodeTemplate = new Rancher2.NodeTemplate("myHetznerNodeTemplate", new() + /// { + /// DriverId = hetznerNodeDriver.Id, + /// HetznerConfig = new Rancher2.Inputs.NodeTemplateHetznerConfigArgs /// { - /// DriverId = hetznerNodeDriver.Id, - /// HetznerConfig = new Rancher2.Inputs.NodeTemplateHetznerConfigArgs - /// { - /// ApiToken = "XXXXXXXXXX", - /// Image = "ubuntu-18.04", - /// ServerLocation = "nbg1", - /// ServerType = "cx11", - /// }, - /// }); - /// } + /// ApiToken = "XXXXXXXXXX", + /// Image = "ubuntu-18.04", + /// ServerLocation = "nbg1", + /// ServerType = "cx11", + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -180,7 +176,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/nodeTemplate:NodeTemplate")] - public partial class NodeTemplate : Pulumi.CustomResource + public partial class NodeTemplate : global::Pulumi.CustomResource { /// /// AWS config for the Node Template (list maxitems:1) @@ -332,6 +328,12 @@ public partial class NodeTemplate : Pulumi.CustomResource [Output("openstackConfig")] public Output OpenstackConfig { get; private set; } = null!; + /// + /// Outscale config for the Node Template (list maxitems:1) + /// + [Output("outscaleConfig")] + public Output OutscaleConfig { get; private set; } = null!; + /// /// Engine storage driver for the node template (bool) /// @@ -367,6 +369,11 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "authCertificateAuthority", + "authKey", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -388,7 +395,7 @@ public static NodeTemplate Get(string name, Input id, NodeTemplateState? } } - public sealed class NodeTemplateArgs : Pulumi.ResourceArgs + public sealed class NodeTemplateArgs : global::Pulumi.ResourceArgs { /// /// AWS config for the Node Template (list maxitems:1) @@ -408,17 +415,37 @@ public InputMap Annotations set => _annotations = value; } + [Input("authCertificateAuthority")] + private Input? _authCertificateAuthority; + /// /// Auth certificate authority for the Node Template (string) /// - [Input("authCertificateAuthority")] - public Input? AuthCertificateAuthority { get; set; } + public Input? AuthCertificateAuthority + { + get => _authCertificateAuthority; + set + { + var emptySecret = Output.CreateSecret(0); + _authCertificateAuthority = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("authKey")] + private Input? _authKey; /// /// Auth key for the Node Template (string) /// - [Input("authKey")] - public Input? AuthKey { get; set; } + public Input? AuthKey + { + get => _authKey; + set + { + var emptySecret = Output.CreateSecret(0); + _authKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Azure config for the Node Template (list maxitems:1) @@ -582,6 +609,12 @@ public InputList NodeTaints [Input("openstackConfig")] public Input? OpenstackConfig { get; set; } + /// + /// Outscale config for the Node Template (list maxitems:1) + /// + [Input("outscaleConfig")] + public Input? OutscaleConfig { get; set; } + /// /// Engine storage driver for the node template (bool) /// @@ -597,9 +630,10 @@ public InputList NodeTaints public NodeTemplateArgs() { } + public static new NodeTemplateArgs Empty => new NodeTemplateArgs(); } - public sealed class NodeTemplateState : Pulumi.ResourceArgs + public sealed class NodeTemplateState : global::Pulumi.ResourceArgs { /// /// AWS config for the Node Template (list maxitems:1) @@ -619,17 +653,37 @@ public InputMap Annotations set => _annotations = value; } + [Input("authCertificateAuthority")] + private Input? _authCertificateAuthority; + /// /// Auth certificate authority for the Node Template (string) /// - [Input("authCertificateAuthority")] - public Input? AuthCertificateAuthority { get; set; } + public Input? AuthCertificateAuthority + { + get => _authCertificateAuthority; + set + { + var emptySecret = Output.CreateSecret(0); + _authCertificateAuthority = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("authKey")] + private Input? _authKey; /// /// Auth key for the Node Template (string) /// - [Input("authKey")] - public Input? AuthKey { get; set; } + public Input? AuthKey + { + get => _authKey; + set + { + var emptySecret = Output.CreateSecret(0); + _authKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Azure config for the Node Template (list maxitems:1) @@ -799,6 +853,12 @@ public InputList NodeTaints [Input("openstackConfig")] public Input? OpenstackConfig { get; set; } + /// + /// Outscale config for the Node Template (list maxitems:1) + /// + [Input("outscaleConfig")] + public Input? OutscaleConfig { get; set; } + /// /// Engine storage driver for the node template (bool) /// @@ -814,5 +874,6 @@ public InputList NodeTaints public NodeTemplateState() { } + public static new NodeTemplateState Empty => new NodeTemplateState(); } } diff --git a/sdk/dotnet/Notifier.cs b/sdk/dotnet/Notifier.cs index 76918d634..da3e690b2 100644 --- a/sdk/dotnet/Notifier.cs +++ b/sdk/dotnet/Notifier.cs @@ -15,28 +15,26 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Notifier + /// var foo = new Rancher2.Notifier("foo", new() /// { - /// // Create a new rancher2 Notifier - /// var foo = new Rancher2.Notifier("foo", new Rancher2.NotifierArgs + /// ClusterId = "<cluster_id>", + /// Description = "Terraform notifier acceptance test", + /// PagerdutyConfig = new Rancher2.Inputs.NotifierPagerdutyConfigArgs /// { - /// ClusterId = "<cluster_id>", - /// Description = "Terraform notifier acceptance test", - /// PagerdutyConfig = new Rancher2.Inputs.NotifierPagerdutyConfigArgs - /// { - /// ProxyUrl = "http://proxy.test.io", - /// ServiceKey = "XXXXXXXX", - /// }, - /// SendResolved = true, - /// }); - /// } + /// ProxyUrl = "http://proxy.test.io", + /// ServiceKey = "XXXXXXXX", + /// }, + /// SendResolved = true, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -48,7 +46,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/notifier:Notifier")] - public partial class Notifier : Pulumi.CustomResource + public partial class Notifier : global::Pulumi.CustomResource { /// /// Annotations for notifier object (map) @@ -172,7 +170,7 @@ public static Notifier Get(string name, Input id, NotifierState? state = } } - public sealed class NotifierArgs : Pulumi.ResourceArgs + public sealed class NotifierArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -267,9 +265,10 @@ public InputMap Labels public NotifierArgs() { } + public static new NotifierArgs Empty => new NotifierArgs(); } - public sealed class NotifierState : Pulumi.ResourceArgs + public sealed class NotifierState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -364,5 +363,6 @@ public InputMap Labels public NotifierState() { } + public static new NotifierState Empty => new NotifierState(); } } diff --git a/sdk/dotnet/Outputs/ClusterRkeConfigNetwork.cs b/sdk/dotnet/Outputs/ClusterRkeConfigNetwork.cs index 4dbcac403..fa8c5de90 100644 --- a/sdk/dotnet/Outputs/ClusterRkeConfigNetwork.cs +++ b/sdk/dotnet/Outputs/ClusterRkeConfigNetwork.cs @@ -13,6 +13,10 @@ namespace Pulumi.Rancher2.Outputs [OutputType] public sealed class ClusterRkeConfigNetwork { + /// + /// ACI provider config for RKE network (list maxitems:63) + /// + public readonly Outputs.ClusterRkeConfigNetworkAciNetworkProvider? AciNetworkProvider; /// /// Calico provider config for RKE network (list maxitems:1) /// @@ -48,6 +52,8 @@ public sealed class ClusterRkeConfigNetwork [OutputConstructor] private ClusterRkeConfigNetwork( + Outputs.ClusterRkeConfigNetworkAciNetworkProvider? aciNetworkProvider, + Outputs.ClusterRkeConfigNetworkCalicoNetworkProvider? calicoNetworkProvider, Outputs.ClusterRkeConfigNetworkCanalNetworkProvider? canalNetworkProvider, @@ -64,6 +70,7 @@ private ClusterRkeConfigNetwork( Outputs.ClusterRkeConfigNetworkWeaveNetworkProvider? weaveNetworkProvider) { + AciNetworkProvider = aciNetworkProvider; CalicoNetworkProvider = calicoNetworkProvider; CanalNetworkProvider = canalNetworkProvider; FlannelNetworkProvider = flannelNetworkProvider; diff --git a/sdk/dotnet/Outputs/ClusterRkeConfigNetworkAciNetworkProvider.cs b/sdk/dotnet/Outputs/ClusterRkeConfigNetworkAciNetworkProvider.cs new file mode 100644 index 000000000..ec65d0a96 --- /dev/null +++ b/sdk/dotnet/Outputs/ClusterRkeConfigNetworkAciNetworkProvider.cs @@ -0,0 +1,539 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Outputs +{ + + [OutputType] + public sealed class ClusterRkeConfigNetworkAciNetworkProvider + { + /// + /// Attachable entity profile (string) + /// + public readonly string Aep; + /// + /// List of APIC hosts to connect for APIC API (list) + /// + public readonly ImmutableArray ApicHosts; + /// + /// APIC refresh ticker adjust amount (string) + /// + public readonly string? ApicRefreshTickerAdjust; + /// + /// APIC refresh time in seconds (string) + /// + public readonly string? ApicRefreshTime; + /// + /// APIC subscription delay amount (string) + /// + public readonly string? ApicSubscriptionDelay; + /// + /// APIC user certificate (string) + /// + public readonly string ApicUserCrt; + /// + /// APIC user key (string) + /// + public readonly string ApicUserKey; + /// + /// APIC user name (string) + /// + public readonly string ApicUserName; + /// + /// cAPIC cloud (string) + /// + public readonly string? Capic; + /// + /// Log level for ACI controller (string) + /// + public readonly string? ControllerLogLevel; + /// + /// Whether to disable periodic SNAT global info sync (string) + /// + public readonly string? DisablePeriodicSnatGlobalInfoSync; + /// + /// Whether to disable waiting for network (string) + /// + public readonly string? DisableWaitForNetwork; + /// + /// Whether to enable drop log (string) + /// + public readonly string? DropLogEnable; + /// + /// The duration to wait for network (string) + /// + public readonly string? DurationWaitForNetwork; + /// + /// Whether to enable endpoint slices (string) + /// + public readonly string? EnableEndpointSlice; + /// + /// Encap type: vxlan or vlan (string) + /// + public readonly string EncapType; + /// + /// EP registry (string) + /// + public readonly string? EpRegistry; + /// + /// Subnet to use for dynamic external IPs (string) + /// + public readonly string ExternDynamic; + /// + /// Subnet to use for static external IPs (string) + /// + public readonly string ExternStatic; + /// + /// GBH pod subnet (string) + /// + public readonly string? GbpPodSubnet; + /// + /// Log level for ACI host agent (string) + /// + public readonly string? HostAgentLogLevel; + /// + /// Image pull policy (string) + /// + public readonly string? ImagePullPolicy; + /// + /// Image pull policy (string) + /// + public readonly string? ImagePullSecret; + /// + /// The VLAN used by ACI infra (string) + /// + public readonly string? InfraVlan; + /// + /// Whether to install Istio (string) + /// + public readonly string? InstallIstio; + /// + /// Istio profile name (string) + /// + public readonly string? IstioProfile; + /// + /// List of Kafka broker hosts (list) + /// + public readonly ImmutableArray KafkaBrokers; + /// + /// Kafka client certificate (string) + /// + public readonly string? KafkaClientCrt; + /// + /// Kafka client key (string) + /// + public readonly string? KafkaClientKey; + /// + /// The VLAN used by the physdom for nodes (string) + /// + public readonly string KubeApiVlan; + /// + /// L3out (string) + /// + public readonly string L3out; + /// + /// L3out external networks (list) + /// + public readonly ImmutableArray L3outExternalNetworks; + /// + /// Max nodes in service graph (string) + /// + public readonly string? MaxNodesSvcGraph; + /// + /// End of mcast range (string) + /// + public readonly string McastRangeEnd; + /// + /// Start of mcast range (string) + /// + public readonly string McastRangeStart; + /// + /// MTU head room amount (string) + /// + public readonly string? MtuHeadRoom; + /// + /// Whether to disable Multus (string) + /// + public readonly string? MultusDisable; + /// + /// Whether to use priority class (string) + /// + public readonly string? NoPriorityClass; + /// + /// Whether to enable node pod interface (string) + /// + public readonly string? NodePodIfEnable; + /// + /// Subnet to use for nodes (string) + /// + public readonly string NodeSubnet; + /// + /// Subnet to use for service graph (string) + /// + public readonly string NodeSvcSubnet; + /// + /// Whether to use client SSL for Opflex (string) + /// + public readonly string? OpflexClientSsl; + /// + /// Opflex device delete timeout (string) + /// + public readonly string? OpflexDeviceDeleteTimeout; + /// + /// Log level for ACI opflex (string) + /// + public readonly string? OpflexLogLevel; + /// + /// Opflex mode (string) + /// + public readonly string? OpflexMode; + /// + /// Opflex server port (string) + /// + public readonly string? OpflexServerPort; + /// + /// Overlay VRF name (string) + /// + public readonly string? OverlayVrfName; + /// + /// OVS memory limit (string) + /// + public readonly string? OvsMemoryLimit; + /// + /// Policy-based routing tracking non snat (string) + /// + public readonly string? PbrTrackingNonSnat; + /// + /// Pod subnet chunk size (string) + /// + public readonly string? PodSubnetChunkSize; + /// + /// Whether to run GBP container (string) + /// + public readonly string? RunGbpContainer; + /// + /// Whether to run Opflex server container (string) + /// + public readonly string? RunOpflexServerContainer; + /// + /// Service monitor interval (string) + /// + public readonly string? ServiceMonitorInterval; + /// + /// The VLAN used by LoadBalancer services (string) + /// + public readonly string ServiceVlan; + /// + /// Snat contract scope (string) + /// + public readonly string? SnatContractScope; + /// + /// Snat namespace (string) + /// + public readonly string? SnatNamespace; + /// + /// End of snat port range (string) + /// + public readonly string? SnatPortRangeEnd; + /// + /// End of snat port range (string) + /// + public readonly string? SnatPortRangeStart; + /// + /// Snat ports per node (string) + /// + public readonly string? SnatPortsPerNode; + /// + /// Whether to enable SR-IOV (string) + /// + public readonly string? SriovEnable; + /// + /// Subnet domain name (string) + /// + public readonly string? SubnetDomainName; + /// + /// ACI system ID (string) + /// + public readonly string SystemId; + /// + /// ACI tenant (string) + /// + public readonly string? Tenant; + /// + /// Token for cluster registration token object (string) + /// + public readonly string Token; + /// + /// Whether to use ACI anywhere CRD (string) + /// + public readonly string? UseAciAnywhereCrd; + /// + /// Whether to use ACI CNI priority class (string) + /// + public readonly string? UseAciCniPriorityClass; + /// + /// Whether to use cluster role (string) + /// + public readonly string? UseClusterRole; + /// + /// Whether to use host netns volume (string) + /// + public readonly string? UseHostNetnsVolume; + /// + /// Whether use Opflex server volume (string) + /// + public readonly string? UseOpflexServerVolume; + /// + /// Whether ACI containers should run as privileged (string) + /// + public readonly string? UsePrivilegedContainer; + /// + /// VMM controller configuration (string) + /// + public readonly string? VmmController; + /// + /// VMM domain configuration (string) + /// + public readonly string? VmmDomain; + /// + /// VRF name (string) + /// + public readonly string VrfName; + /// + /// VRF tenant (string) + /// + public readonly string VrfTenant; + + [OutputConstructor] + private ClusterRkeConfigNetworkAciNetworkProvider( + string aep, + + ImmutableArray apicHosts, + + string? apicRefreshTickerAdjust, + + string? apicRefreshTime, + + string? apicSubscriptionDelay, + + string apicUserCrt, + + string apicUserKey, + + string apicUserName, + + string? capic, + + string? controllerLogLevel, + + string? disablePeriodicSnatGlobalInfoSync, + + string? disableWaitForNetwork, + + string? dropLogEnable, + + string? durationWaitForNetwork, + + string? enableEndpointSlice, + + string encapType, + + string? epRegistry, + + string externDynamic, + + string externStatic, + + string? gbpPodSubnet, + + string? hostAgentLogLevel, + + string? imagePullPolicy, + + string? imagePullSecret, + + string? infraVlan, + + string? installIstio, + + string? istioProfile, + + ImmutableArray kafkaBrokers, + + string? kafkaClientCrt, + + string? kafkaClientKey, + + string kubeApiVlan, + + string l3out, + + ImmutableArray l3outExternalNetworks, + + string? maxNodesSvcGraph, + + string mcastRangeEnd, + + string mcastRangeStart, + + string? mtuHeadRoom, + + string? multusDisable, + + string? noPriorityClass, + + string? nodePodIfEnable, + + string nodeSubnet, + + string nodeSvcSubnet, + + string? opflexClientSsl, + + string? opflexDeviceDeleteTimeout, + + string? opflexLogLevel, + + string? opflexMode, + + string? opflexServerPort, + + string? overlayVrfName, + + string? ovsMemoryLimit, + + string? pbrTrackingNonSnat, + + string? podSubnetChunkSize, + + string? runGbpContainer, + + string? runOpflexServerContainer, + + string? serviceMonitorInterval, + + string serviceVlan, + + string? snatContractScope, + + string? snatNamespace, + + string? snatPortRangeEnd, + + string? snatPortRangeStart, + + string? snatPortsPerNode, + + string? sriovEnable, + + string? subnetDomainName, + + string systemId, + + string? tenant, + + string token, + + string? useAciAnywhereCrd, + + string? useAciCniPriorityClass, + + string? useClusterRole, + + string? useHostNetnsVolume, + + string? useOpflexServerVolume, + + string? usePrivilegedContainer, + + string? vmmController, + + string? vmmDomain, + + string vrfName, + + string vrfTenant) + { + Aep = aep; + ApicHosts = apicHosts; + ApicRefreshTickerAdjust = apicRefreshTickerAdjust; + ApicRefreshTime = apicRefreshTime; + ApicSubscriptionDelay = apicSubscriptionDelay; + ApicUserCrt = apicUserCrt; + ApicUserKey = apicUserKey; + ApicUserName = apicUserName; + Capic = capic; + ControllerLogLevel = controllerLogLevel; + DisablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + DisableWaitForNetwork = disableWaitForNetwork; + DropLogEnable = dropLogEnable; + DurationWaitForNetwork = durationWaitForNetwork; + EnableEndpointSlice = enableEndpointSlice; + EncapType = encapType; + EpRegistry = epRegistry; + ExternDynamic = externDynamic; + ExternStatic = externStatic; + GbpPodSubnet = gbpPodSubnet; + HostAgentLogLevel = hostAgentLogLevel; + ImagePullPolicy = imagePullPolicy; + ImagePullSecret = imagePullSecret; + InfraVlan = infraVlan; + InstallIstio = installIstio; + IstioProfile = istioProfile; + KafkaBrokers = kafkaBrokers; + KafkaClientCrt = kafkaClientCrt; + KafkaClientKey = kafkaClientKey; + KubeApiVlan = kubeApiVlan; + L3out = l3out; + L3outExternalNetworks = l3outExternalNetworks; + MaxNodesSvcGraph = maxNodesSvcGraph; + McastRangeEnd = mcastRangeEnd; + McastRangeStart = mcastRangeStart; + MtuHeadRoom = mtuHeadRoom; + MultusDisable = multusDisable; + NoPriorityClass = noPriorityClass; + NodePodIfEnable = nodePodIfEnable; + NodeSubnet = nodeSubnet; + NodeSvcSubnet = nodeSvcSubnet; + OpflexClientSsl = opflexClientSsl; + OpflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + OpflexLogLevel = opflexLogLevel; + OpflexMode = opflexMode; + OpflexServerPort = opflexServerPort; + OverlayVrfName = overlayVrfName; + OvsMemoryLimit = ovsMemoryLimit; + PbrTrackingNonSnat = pbrTrackingNonSnat; + PodSubnetChunkSize = podSubnetChunkSize; + RunGbpContainer = runGbpContainer; + RunOpflexServerContainer = runOpflexServerContainer; + ServiceMonitorInterval = serviceMonitorInterval; + ServiceVlan = serviceVlan; + SnatContractScope = snatContractScope; + SnatNamespace = snatNamespace; + SnatPortRangeEnd = snatPortRangeEnd; + SnatPortRangeStart = snatPortRangeStart; + SnatPortsPerNode = snatPortsPerNode; + SriovEnable = sriovEnable; + SubnetDomainName = subnetDomainName; + SystemId = systemId; + Tenant = tenant; + Token = token; + UseAciAnywhereCrd = useAciAnywhereCrd; + UseAciCniPriorityClass = useAciCniPriorityClass; + UseClusterRole = useClusterRole; + UseHostNetnsVolume = useHostNetnsVolume; + UseOpflexServerVolume = useOpflexServerVolume; + UsePrivilegedContainer = usePrivilegedContainer; + VmmController = vmmController; + VmmDomain = vmmDomain; + VrfName = vrfName; + VrfTenant = vrfTenant; + } + } +} diff --git a/sdk/dotnet/Outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.cs b/sdk/dotnet/Outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.cs index f28e977e4..322b82d5c 100644 --- a/sdk/dotnet/Outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.cs +++ b/sdk/dotnet/Outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.cs @@ -13,6 +13,7 @@ namespace Pulumi.Rancher2.Outputs [OutputType] public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { + public readonly Outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider? AciNetworkProvider; public readonly Outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider? CalicoNetworkProvider; public readonly Outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider? CanalNetworkProvider; public readonly Outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider? FlannelNetworkProvider; @@ -24,6 +25,8 @@ public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork [OutputConstructor] private ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork( + Outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider? aciNetworkProvider, + Outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider? calicoNetworkProvider, Outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider? canalNetworkProvider, @@ -40,6 +43,7 @@ private ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork( Outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider? weaveNetworkProvider) { + AciNetworkProvider = aciNetworkProvider; CalicoNetworkProvider = calicoNetworkProvider; CanalNetworkProvider = canalNetworkProvider; FlannelNetworkProvider = flannelNetworkProvider; diff --git a/sdk/dotnet/Outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.cs b/sdk/dotnet/Outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.cs new file mode 100644 index 000000000..4e532ce9f --- /dev/null +++ b/sdk/dotnet/Outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.cs @@ -0,0 +1,317 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Outputs +{ + + [OutputType] + public sealed class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider + { + public readonly string Aep; + public readonly ImmutableArray ApicHosts; + public readonly string? ApicRefreshTickerAdjust; + public readonly string? ApicRefreshTime; + public readonly string? ApicSubscriptionDelay; + public readonly string ApicUserCrt; + public readonly string ApicUserKey; + public readonly string ApicUserName; + public readonly string? Capic; + public readonly string? ControllerLogLevel; + public readonly string? DisablePeriodicSnatGlobalInfoSync; + public readonly string? DisableWaitForNetwork; + public readonly string? DropLogEnable; + public readonly string? DurationWaitForNetwork; + public readonly string? EnableEndpointSlice; + public readonly string EncapType; + public readonly string? EpRegistry; + public readonly string ExternDynamic; + public readonly string ExternStatic; + public readonly string? GbpPodSubnet; + public readonly string? HostAgentLogLevel; + public readonly string? ImagePullPolicy; + public readonly string? ImagePullSecret; + public readonly string? InfraVlan; + public readonly string? InstallIstio; + public readonly string? IstioProfile; + public readonly ImmutableArray KafkaBrokers; + public readonly string? KafkaClientCrt; + public readonly string? KafkaClientKey; + public readonly string KubeApiVlan; + public readonly string L3out; + public readonly ImmutableArray L3outExternalNetworks; + public readonly string? MaxNodesSvcGraph; + public readonly string McastRangeEnd; + public readonly string McastRangeStart; + public readonly string? MtuHeadRoom; + public readonly string? MultusDisable; + public readonly string? NoPriorityClass; + public readonly string? NodePodIfEnable; + public readonly string NodeSubnet; + public readonly string NodeSvcSubnet; + public readonly string? OpflexClientSsl; + public readonly string? OpflexDeviceDeleteTimeout; + public readonly string? OpflexLogLevel; + public readonly string? OpflexMode; + public readonly string? OpflexServerPort; + public readonly string? OverlayVrfName; + public readonly string? OvsMemoryLimit; + public readonly string? PbrTrackingNonSnat; + public readonly string? PodSubnetChunkSize; + public readonly string? RunGbpContainer; + public readonly string? RunOpflexServerContainer; + public readonly string? ServiceMonitorInterval; + public readonly string ServiceVlan; + public readonly string? SnatContractScope; + public readonly string? SnatNamespace; + public readonly string? SnatPortRangeEnd; + public readonly string? SnatPortRangeStart; + public readonly string? SnatPortsPerNode; + public readonly string? SriovEnable; + public readonly string? SubnetDomainName; + public readonly string SystemId; + public readonly string? Tenant; + public readonly string Token; + public readonly string? UseAciAnywhereCrd; + public readonly string? UseAciCniPriorityClass; + public readonly string? UseClusterRole; + public readonly string? UseHostNetnsVolume; + public readonly string? UseOpflexServerVolume; + public readonly string? UsePrivilegedContainer; + public readonly string? VmmController; + public readonly string? VmmDomain; + public readonly string VrfName; + public readonly string VrfTenant; + + [OutputConstructor] + private ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider( + string aep, + + ImmutableArray apicHosts, + + string? apicRefreshTickerAdjust, + + string? apicRefreshTime, + + string? apicSubscriptionDelay, + + string apicUserCrt, + + string apicUserKey, + + string apicUserName, + + string? capic, + + string? controllerLogLevel, + + string? disablePeriodicSnatGlobalInfoSync, + + string? disableWaitForNetwork, + + string? dropLogEnable, + + string? durationWaitForNetwork, + + string? enableEndpointSlice, + + string encapType, + + string? epRegistry, + + string externDynamic, + + string externStatic, + + string? gbpPodSubnet, + + string? hostAgentLogLevel, + + string? imagePullPolicy, + + string? imagePullSecret, + + string? infraVlan, + + string? installIstio, + + string? istioProfile, + + ImmutableArray kafkaBrokers, + + string? kafkaClientCrt, + + string? kafkaClientKey, + + string kubeApiVlan, + + string l3out, + + ImmutableArray l3outExternalNetworks, + + string? maxNodesSvcGraph, + + string mcastRangeEnd, + + string mcastRangeStart, + + string? mtuHeadRoom, + + string? multusDisable, + + string? noPriorityClass, + + string? nodePodIfEnable, + + string nodeSubnet, + + string nodeSvcSubnet, + + string? opflexClientSsl, + + string? opflexDeviceDeleteTimeout, + + string? opflexLogLevel, + + string? opflexMode, + + string? opflexServerPort, + + string? overlayVrfName, + + string? ovsMemoryLimit, + + string? pbrTrackingNonSnat, + + string? podSubnetChunkSize, + + string? runGbpContainer, + + string? runOpflexServerContainer, + + string? serviceMonitorInterval, + + string serviceVlan, + + string? snatContractScope, + + string? snatNamespace, + + string? snatPortRangeEnd, + + string? snatPortRangeStart, + + string? snatPortsPerNode, + + string? sriovEnable, + + string? subnetDomainName, + + string systemId, + + string? tenant, + + string token, + + string? useAciAnywhereCrd, + + string? useAciCniPriorityClass, + + string? useClusterRole, + + string? useHostNetnsVolume, + + string? useOpflexServerVolume, + + string? usePrivilegedContainer, + + string? vmmController, + + string? vmmDomain, + + string vrfName, + + string vrfTenant) + { + Aep = aep; + ApicHosts = apicHosts; + ApicRefreshTickerAdjust = apicRefreshTickerAdjust; + ApicRefreshTime = apicRefreshTime; + ApicSubscriptionDelay = apicSubscriptionDelay; + ApicUserCrt = apicUserCrt; + ApicUserKey = apicUserKey; + ApicUserName = apicUserName; + Capic = capic; + ControllerLogLevel = controllerLogLevel; + DisablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + DisableWaitForNetwork = disableWaitForNetwork; + DropLogEnable = dropLogEnable; + DurationWaitForNetwork = durationWaitForNetwork; + EnableEndpointSlice = enableEndpointSlice; + EncapType = encapType; + EpRegistry = epRegistry; + ExternDynamic = externDynamic; + ExternStatic = externStatic; + GbpPodSubnet = gbpPodSubnet; + HostAgentLogLevel = hostAgentLogLevel; + ImagePullPolicy = imagePullPolicy; + ImagePullSecret = imagePullSecret; + InfraVlan = infraVlan; + InstallIstio = installIstio; + IstioProfile = istioProfile; + KafkaBrokers = kafkaBrokers; + KafkaClientCrt = kafkaClientCrt; + KafkaClientKey = kafkaClientKey; + KubeApiVlan = kubeApiVlan; + L3out = l3out; + L3outExternalNetworks = l3outExternalNetworks; + MaxNodesSvcGraph = maxNodesSvcGraph; + McastRangeEnd = mcastRangeEnd; + McastRangeStart = mcastRangeStart; + MtuHeadRoom = mtuHeadRoom; + MultusDisable = multusDisable; + NoPriorityClass = noPriorityClass; + NodePodIfEnable = nodePodIfEnable; + NodeSubnet = nodeSubnet; + NodeSvcSubnet = nodeSvcSubnet; + OpflexClientSsl = opflexClientSsl; + OpflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + OpflexLogLevel = opflexLogLevel; + OpflexMode = opflexMode; + OpflexServerPort = opflexServerPort; + OverlayVrfName = overlayVrfName; + OvsMemoryLimit = ovsMemoryLimit; + PbrTrackingNonSnat = pbrTrackingNonSnat; + PodSubnetChunkSize = podSubnetChunkSize; + RunGbpContainer = runGbpContainer; + RunOpflexServerContainer = runOpflexServerContainer; + ServiceMonitorInterval = serviceMonitorInterval; + ServiceVlan = serviceVlan; + SnatContractScope = snatContractScope; + SnatNamespace = snatNamespace; + SnatPortRangeEnd = snatPortRangeEnd; + SnatPortRangeStart = snatPortRangeStart; + SnatPortsPerNode = snatPortsPerNode; + SriovEnable = sriovEnable; + SubnetDomainName = subnetDomainName; + SystemId = systemId; + Tenant = tenant; + Token = token; + UseAciAnywhereCrd = useAciAnywhereCrd; + UseAciCniPriorityClass = useAciCniPriorityClass; + UseClusterRole = useClusterRole; + UseHostNetnsVolume = useHostNetnsVolume; + UseOpflexServerVolume = useOpflexServerVolume; + UsePrivilegedContainer = usePrivilegedContainer; + VmmController = vmmController; + VmmDomain = vmmDomain; + VrfName = vrfName; + VrfTenant = vrfTenant; + } + } +} diff --git a/sdk/dotnet/Outputs/ClusterV2RkeConfigMachinePool.cs b/sdk/dotnet/Outputs/ClusterV2RkeConfigMachinePool.cs index b38091226..80a6a4a90 100644 --- a/sdk/dotnet/Outputs/ClusterV2RkeConfigMachinePool.cs +++ b/sdk/dotnet/Outputs/ClusterV2RkeConfigMachinePool.cs @@ -42,6 +42,10 @@ public sealed class ClusterV2RkeConfigMachinePool /// public readonly Outputs.ClusterV2RkeConfigMachinePoolMachineConfig MachineConfig; /// + /// Labels for Machine pool nodes (map) + /// + public readonly ImmutableDictionary? MachineLabels; + /// /// Max unhealthy nodes for automated replacement to be allowed (string) /// public readonly string? MaxUnhealthy; @@ -102,6 +106,8 @@ private ClusterV2RkeConfigMachinePool( Outputs.ClusterV2RkeConfigMachinePoolMachineConfig machineConfig, + ImmutableDictionary? machineLabels, + string? maxUnhealthy, string name, @@ -131,6 +137,7 @@ private ClusterV2RkeConfigMachinePool( EtcdRole = etcdRole; Labels = labels; MachineConfig = machineConfig; + MachineLabels = machineLabels; MaxUnhealthy = maxUnhealthy; Name = name; NodeDrainTimeout = nodeDrainTimeout; diff --git a/sdk/dotnet/Outputs/GetClusterRkeConfigNetworkAciNetworkProviderResult.cs b/sdk/dotnet/Outputs/GetClusterRkeConfigNetworkAciNetworkProviderResult.cs new file mode 100644 index 000000000..e86c3acf3 --- /dev/null +++ b/sdk/dotnet/Outputs/GetClusterRkeConfigNetworkAciNetworkProviderResult.cs @@ -0,0 +1,317 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Outputs +{ + + [OutputType] + public sealed class GetClusterRkeConfigNetworkAciNetworkProviderResult + { + public readonly string Aep; + public readonly ImmutableArray ApicHosts; + public readonly string? ApicRefreshTickerAdjust; + public readonly string? ApicRefreshTime; + public readonly string? ApicSubscriptionDelay; + public readonly string ApicUserCrt; + public readonly string ApicUserKey; + public readonly string ApicUserName; + public readonly string? Capic; + public readonly string? ControllerLogLevel; + public readonly string? DisablePeriodicSnatGlobalInfoSync; + public readonly string? DisableWaitForNetwork; + public readonly string? DropLogEnable; + public readonly string? DurationWaitForNetwork; + public readonly string? EnableEndpointSlice; + public readonly string EncapType; + public readonly string? EpRegistry; + public readonly string ExternDynamic; + public readonly string ExternStatic; + public readonly string? GbpPodSubnet; + public readonly string? HostAgentLogLevel; + public readonly string? ImagePullPolicy; + public readonly string? ImagePullSecret; + public readonly string? InfraVlan; + public readonly string? InstallIstio; + public readonly string? IstioProfile; + public readonly ImmutableArray KafkaBrokers; + public readonly string? KafkaClientCrt; + public readonly string? KafkaClientKey; + public readonly string KubeApiVlan; + public readonly string L3out; + public readonly ImmutableArray L3outExternalNetworks; + public readonly string? MaxNodesSvcGraph; + public readonly string McastRangeEnd; + public readonly string McastRangeStart; + public readonly string? MtuHeadRoom; + public readonly string? MultusDisable; + public readonly string? NoPriorityClass; + public readonly string? NodePodIfEnable; + public readonly string NodeSubnet; + public readonly string NodeSvcSubnet; + public readonly string? OpflexClientSsl; + public readonly string? OpflexDeviceDeleteTimeout; + public readonly string? OpflexLogLevel; + public readonly string? OpflexMode; + public readonly string? OpflexServerPort; + public readonly string? OverlayVrfName; + public readonly string? OvsMemoryLimit; + public readonly string? PbrTrackingNonSnat; + public readonly string? PodSubnetChunkSize; + public readonly string? RunGbpContainer; + public readonly string? RunOpflexServerContainer; + public readonly string? ServiceMonitorInterval; + public readonly string ServiceVlan; + public readonly string? SnatContractScope; + public readonly string? SnatNamespace; + public readonly string? SnatPortRangeEnd; + public readonly string? SnatPortRangeStart; + public readonly string? SnatPortsPerNode; + public readonly string? SriovEnable; + public readonly string? SubnetDomainName; + public readonly string SystemId; + public readonly string? Tenant; + public readonly string Token; + public readonly string? UseAciAnywhereCrd; + public readonly string? UseAciCniPriorityClass; + public readonly string? UseClusterRole; + public readonly string? UseHostNetnsVolume; + public readonly string? UseOpflexServerVolume; + public readonly string? UsePrivilegedContainer; + public readonly string? VmmController; + public readonly string? VmmDomain; + public readonly string VrfName; + public readonly string VrfTenant; + + [OutputConstructor] + private GetClusterRkeConfigNetworkAciNetworkProviderResult( + string aep, + + ImmutableArray apicHosts, + + string? apicRefreshTickerAdjust, + + string? apicRefreshTime, + + string? apicSubscriptionDelay, + + string apicUserCrt, + + string apicUserKey, + + string apicUserName, + + string? capic, + + string? controllerLogLevel, + + string? disablePeriodicSnatGlobalInfoSync, + + string? disableWaitForNetwork, + + string? dropLogEnable, + + string? durationWaitForNetwork, + + string? enableEndpointSlice, + + string encapType, + + string? epRegistry, + + string externDynamic, + + string externStatic, + + string? gbpPodSubnet, + + string? hostAgentLogLevel, + + string? imagePullPolicy, + + string? imagePullSecret, + + string? infraVlan, + + string? installIstio, + + string? istioProfile, + + ImmutableArray kafkaBrokers, + + string? kafkaClientCrt, + + string? kafkaClientKey, + + string kubeApiVlan, + + string l3out, + + ImmutableArray l3outExternalNetworks, + + string? maxNodesSvcGraph, + + string mcastRangeEnd, + + string mcastRangeStart, + + string? mtuHeadRoom, + + string? multusDisable, + + string? noPriorityClass, + + string? nodePodIfEnable, + + string nodeSubnet, + + string nodeSvcSubnet, + + string? opflexClientSsl, + + string? opflexDeviceDeleteTimeout, + + string? opflexLogLevel, + + string? opflexMode, + + string? opflexServerPort, + + string? overlayVrfName, + + string? ovsMemoryLimit, + + string? pbrTrackingNonSnat, + + string? podSubnetChunkSize, + + string? runGbpContainer, + + string? runOpflexServerContainer, + + string? serviceMonitorInterval, + + string serviceVlan, + + string? snatContractScope, + + string? snatNamespace, + + string? snatPortRangeEnd, + + string? snatPortRangeStart, + + string? snatPortsPerNode, + + string? sriovEnable, + + string? subnetDomainName, + + string systemId, + + string? tenant, + + string token, + + string? useAciAnywhereCrd, + + string? useAciCniPriorityClass, + + string? useClusterRole, + + string? useHostNetnsVolume, + + string? useOpflexServerVolume, + + string? usePrivilegedContainer, + + string? vmmController, + + string? vmmDomain, + + string vrfName, + + string vrfTenant) + { + Aep = aep; + ApicHosts = apicHosts; + ApicRefreshTickerAdjust = apicRefreshTickerAdjust; + ApicRefreshTime = apicRefreshTime; + ApicSubscriptionDelay = apicSubscriptionDelay; + ApicUserCrt = apicUserCrt; + ApicUserKey = apicUserKey; + ApicUserName = apicUserName; + Capic = capic; + ControllerLogLevel = controllerLogLevel; + DisablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + DisableWaitForNetwork = disableWaitForNetwork; + DropLogEnable = dropLogEnable; + DurationWaitForNetwork = durationWaitForNetwork; + EnableEndpointSlice = enableEndpointSlice; + EncapType = encapType; + EpRegistry = epRegistry; + ExternDynamic = externDynamic; + ExternStatic = externStatic; + GbpPodSubnet = gbpPodSubnet; + HostAgentLogLevel = hostAgentLogLevel; + ImagePullPolicy = imagePullPolicy; + ImagePullSecret = imagePullSecret; + InfraVlan = infraVlan; + InstallIstio = installIstio; + IstioProfile = istioProfile; + KafkaBrokers = kafkaBrokers; + KafkaClientCrt = kafkaClientCrt; + KafkaClientKey = kafkaClientKey; + KubeApiVlan = kubeApiVlan; + L3out = l3out; + L3outExternalNetworks = l3outExternalNetworks; + MaxNodesSvcGraph = maxNodesSvcGraph; + McastRangeEnd = mcastRangeEnd; + McastRangeStart = mcastRangeStart; + MtuHeadRoom = mtuHeadRoom; + MultusDisable = multusDisable; + NoPriorityClass = noPriorityClass; + NodePodIfEnable = nodePodIfEnable; + NodeSubnet = nodeSubnet; + NodeSvcSubnet = nodeSvcSubnet; + OpflexClientSsl = opflexClientSsl; + OpflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + OpflexLogLevel = opflexLogLevel; + OpflexMode = opflexMode; + OpflexServerPort = opflexServerPort; + OverlayVrfName = overlayVrfName; + OvsMemoryLimit = ovsMemoryLimit; + PbrTrackingNonSnat = pbrTrackingNonSnat; + PodSubnetChunkSize = podSubnetChunkSize; + RunGbpContainer = runGbpContainer; + RunOpflexServerContainer = runOpflexServerContainer; + ServiceMonitorInterval = serviceMonitorInterval; + ServiceVlan = serviceVlan; + SnatContractScope = snatContractScope; + SnatNamespace = snatNamespace; + SnatPortRangeEnd = snatPortRangeEnd; + SnatPortRangeStart = snatPortRangeStart; + SnatPortsPerNode = snatPortsPerNode; + SriovEnable = sriovEnable; + SubnetDomainName = subnetDomainName; + SystemId = systemId; + Tenant = tenant; + Token = token; + UseAciAnywhereCrd = useAciAnywhereCrd; + UseAciCniPriorityClass = useAciCniPriorityClass; + UseClusterRole = useClusterRole; + UseHostNetnsVolume = useHostNetnsVolume; + UseOpflexServerVolume = useOpflexServerVolume; + UsePrivilegedContainer = usePrivilegedContainer; + VmmController = vmmController; + VmmDomain = vmmDomain; + VrfName = vrfName; + VrfTenant = vrfTenant; + } + } +} diff --git a/sdk/dotnet/Outputs/GetClusterRkeConfigNetworkResult.cs b/sdk/dotnet/Outputs/GetClusterRkeConfigNetworkResult.cs index b5c71b28d..201878f45 100644 --- a/sdk/dotnet/Outputs/GetClusterRkeConfigNetworkResult.cs +++ b/sdk/dotnet/Outputs/GetClusterRkeConfigNetworkResult.cs @@ -13,6 +13,7 @@ namespace Pulumi.Rancher2.Outputs [OutputType] public sealed class GetClusterRkeConfigNetworkResult { + public readonly Outputs.GetClusterRkeConfigNetworkAciNetworkProviderResult? AciNetworkProvider; public readonly Outputs.GetClusterRkeConfigNetworkCalicoNetworkProviderResult? CalicoNetworkProvider; public readonly Outputs.GetClusterRkeConfigNetworkCanalNetworkProviderResult? CanalNetworkProvider; public readonly Outputs.GetClusterRkeConfigNetworkFlannelNetworkProviderResult? FlannelNetworkProvider; @@ -24,6 +25,8 @@ public sealed class GetClusterRkeConfigNetworkResult [OutputConstructor] private GetClusterRkeConfigNetworkResult( + Outputs.GetClusterRkeConfigNetworkAciNetworkProviderResult? aciNetworkProvider, + Outputs.GetClusterRkeConfigNetworkCalicoNetworkProviderResult? calicoNetworkProvider, Outputs.GetClusterRkeConfigNetworkCanalNetworkProviderResult? canalNetworkProvider, @@ -40,6 +43,7 @@ private GetClusterRkeConfigNetworkResult( Outputs.GetClusterRkeConfigNetworkWeaveNetworkProviderResult? weaveNetworkProvider) { + AciNetworkProvider = aciNetworkProvider; CalicoNetworkProvider = calicoNetworkProvider; CanalNetworkProvider = canalNetworkProvider; FlannelNetworkProvider = flannelNetworkProvider; diff --git a/sdk/dotnet/Outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult.cs b/sdk/dotnet/Outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult.cs new file mode 100644 index 000000000..00467841e --- /dev/null +++ b/sdk/dotnet/Outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult.cs @@ -0,0 +1,317 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Outputs +{ + + [OutputType] + public sealed class GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult + { + public readonly string Aep; + public readonly ImmutableArray ApicHosts; + public readonly string? ApicRefreshTickerAdjust; + public readonly string? ApicRefreshTime; + public readonly string? ApicSubscriptionDelay; + public readonly string ApicUserCrt; + public readonly string ApicUserKey; + public readonly string ApicUserName; + public readonly string? Capic; + public readonly string? ControllerLogLevel; + public readonly string? DisablePeriodicSnatGlobalInfoSync; + public readonly string? DisableWaitForNetwork; + public readonly string? DropLogEnable; + public readonly string? DurationWaitForNetwork; + public readonly string? EnableEndpointSlice; + public readonly string EncapType; + public readonly string? EpRegistry; + public readonly string ExternDynamic; + public readonly string ExternStatic; + public readonly string? GbpPodSubnet; + public readonly string? HostAgentLogLevel; + public readonly string? ImagePullPolicy; + public readonly string? ImagePullSecret; + public readonly string? InfraVlan; + public readonly string? InstallIstio; + public readonly string? IstioProfile; + public readonly ImmutableArray KafkaBrokers; + public readonly string? KafkaClientCrt; + public readonly string? KafkaClientKey; + public readonly string KubeApiVlan; + public readonly string L3out; + public readonly ImmutableArray L3outExternalNetworks; + public readonly string? MaxNodesSvcGraph; + public readonly string McastRangeEnd; + public readonly string McastRangeStart; + public readonly string? MtuHeadRoom; + public readonly string? MultusDisable; + public readonly string? NoPriorityClass; + public readonly string? NodePodIfEnable; + public readonly string NodeSubnet; + public readonly string NodeSvcSubnet; + public readonly string? OpflexClientSsl; + public readonly string? OpflexDeviceDeleteTimeout; + public readonly string? OpflexLogLevel; + public readonly string? OpflexMode; + public readonly string? OpflexServerPort; + public readonly string? OverlayVrfName; + public readonly string? OvsMemoryLimit; + public readonly string? PbrTrackingNonSnat; + public readonly string? PodSubnetChunkSize; + public readonly string? RunGbpContainer; + public readonly string? RunOpflexServerContainer; + public readonly string? ServiceMonitorInterval; + public readonly string ServiceVlan; + public readonly string? SnatContractScope; + public readonly string? SnatNamespace; + public readonly string? SnatPortRangeEnd; + public readonly string? SnatPortRangeStart; + public readonly string? SnatPortsPerNode; + public readonly string? SriovEnable; + public readonly string? SubnetDomainName; + public readonly string SystemId; + public readonly string? Tenant; + public readonly string Token; + public readonly string? UseAciAnywhereCrd; + public readonly string? UseAciCniPriorityClass; + public readonly string? UseClusterRole; + public readonly string? UseHostNetnsVolume; + public readonly string? UseOpflexServerVolume; + public readonly string? UsePrivilegedContainer; + public readonly string? VmmController; + public readonly string? VmmDomain; + public readonly string VrfName; + public readonly string VrfTenant; + + [OutputConstructor] + private GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult( + string aep, + + ImmutableArray apicHosts, + + string? apicRefreshTickerAdjust, + + string? apicRefreshTime, + + string? apicSubscriptionDelay, + + string apicUserCrt, + + string apicUserKey, + + string apicUserName, + + string? capic, + + string? controllerLogLevel, + + string? disablePeriodicSnatGlobalInfoSync, + + string? disableWaitForNetwork, + + string? dropLogEnable, + + string? durationWaitForNetwork, + + string? enableEndpointSlice, + + string encapType, + + string? epRegistry, + + string externDynamic, + + string externStatic, + + string? gbpPodSubnet, + + string? hostAgentLogLevel, + + string? imagePullPolicy, + + string? imagePullSecret, + + string? infraVlan, + + string? installIstio, + + string? istioProfile, + + ImmutableArray kafkaBrokers, + + string? kafkaClientCrt, + + string? kafkaClientKey, + + string kubeApiVlan, + + string l3out, + + ImmutableArray l3outExternalNetworks, + + string? maxNodesSvcGraph, + + string mcastRangeEnd, + + string mcastRangeStart, + + string? mtuHeadRoom, + + string? multusDisable, + + string? noPriorityClass, + + string? nodePodIfEnable, + + string nodeSubnet, + + string nodeSvcSubnet, + + string? opflexClientSsl, + + string? opflexDeviceDeleteTimeout, + + string? opflexLogLevel, + + string? opflexMode, + + string? opflexServerPort, + + string? overlayVrfName, + + string? ovsMemoryLimit, + + string? pbrTrackingNonSnat, + + string? podSubnetChunkSize, + + string? runGbpContainer, + + string? runOpflexServerContainer, + + string? serviceMonitorInterval, + + string serviceVlan, + + string? snatContractScope, + + string? snatNamespace, + + string? snatPortRangeEnd, + + string? snatPortRangeStart, + + string? snatPortsPerNode, + + string? sriovEnable, + + string? subnetDomainName, + + string systemId, + + string? tenant, + + string token, + + string? useAciAnywhereCrd, + + string? useAciCniPriorityClass, + + string? useClusterRole, + + string? useHostNetnsVolume, + + string? useOpflexServerVolume, + + string? usePrivilegedContainer, + + string? vmmController, + + string? vmmDomain, + + string vrfName, + + string vrfTenant) + { + Aep = aep; + ApicHosts = apicHosts; + ApicRefreshTickerAdjust = apicRefreshTickerAdjust; + ApicRefreshTime = apicRefreshTime; + ApicSubscriptionDelay = apicSubscriptionDelay; + ApicUserCrt = apicUserCrt; + ApicUserKey = apicUserKey; + ApicUserName = apicUserName; + Capic = capic; + ControllerLogLevel = controllerLogLevel; + DisablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + DisableWaitForNetwork = disableWaitForNetwork; + DropLogEnable = dropLogEnable; + DurationWaitForNetwork = durationWaitForNetwork; + EnableEndpointSlice = enableEndpointSlice; + EncapType = encapType; + EpRegistry = epRegistry; + ExternDynamic = externDynamic; + ExternStatic = externStatic; + GbpPodSubnet = gbpPodSubnet; + HostAgentLogLevel = hostAgentLogLevel; + ImagePullPolicy = imagePullPolicy; + ImagePullSecret = imagePullSecret; + InfraVlan = infraVlan; + InstallIstio = installIstio; + IstioProfile = istioProfile; + KafkaBrokers = kafkaBrokers; + KafkaClientCrt = kafkaClientCrt; + KafkaClientKey = kafkaClientKey; + KubeApiVlan = kubeApiVlan; + L3out = l3out; + L3outExternalNetworks = l3outExternalNetworks; + MaxNodesSvcGraph = maxNodesSvcGraph; + McastRangeEnd = mcastRangeEnd; + McastRangeStart = mcastRangeStart; + MtuHeadRoom = mtuHeadRoom; + MultusDisable = multusDisable; + NoPriorityClass = noPriorityClass; + NodePodIfEnable = nodePodIfEnable; + NodeSubnet = nodeSubnet; + NodeSvcSubnet = nodeSvcSubnet; + OpflexClientSsl = opflexClientSsl; + OpflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + OpflexLogLevel = opflexLogLevel; + OpflexMode = opflexMode; + OpflexServerPort = opflexServerPort; + OverlayVrfName = overlayVrfName; + OvsMemoryLimit = ovsMemoryLimit; + PbrTrackingNonSnat = pbrTrackingNonSnat; + PodSubnetChunkSize = podSubnetChunkSize; + RunGbpContainer = runGbpContainer; + RunOpflexServerContainer = runOpflexServerContainer; + ServiceMonitorInterval = serviceMonitorInterval; + ServiceVlan = serviceVlan; + SnatContractScope = snatContractScope; + SnatNamespace = snatNamespace; + SnatPortRangeEnd = snatPortRangeEnd; + SnatPortRangeStart = snatPortRangeStart; + SnatPortsPerNode = snatPortsPerNode; + SriovEnable = sriovEnable; + SubnetDomainName = subnetDomainName; + SystemId = systemId; + Tenant = tenant; + Token = token; + UseAciAnywhereCrd = useAciAnywhereCrd; + UseAciCniPriorityClass = useAciCniPriorityClass; + UseClusterRole = useClusterRole; + UseHostNetnsVolume = useHostNetnsVolume; + UseOpflexServerVolume = useOpflexServerVolume; + UsePrivilegedContainer = usePrivilegedContainer; + VmmController = vmmController; + VmmDomain = vmmDomain; + VrfName = vrfName; + VrfTenant = vrfTenant; + } + } +} diff --git a/sdk/dotnet/Outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkResult.cs b/sdk/dotnet/Outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkResult.cs index 3880cf14b..4642764e8 100644 --- a/sdk/dotnet/Outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkResult.cs +++ b/sdk/dotnet/Outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkResult.cs @@ -13,6 +13,7 @@ namespace Pulumi.Rancher2.Outputs [OutputType] public sealed class GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkResult { + public readonly Outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult? AciNetworkProvider; public readonly Outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderResult? CalicoNetworkProvider; public readonly Outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderResult? CanalNetworkProvider; public readonly Outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderResult? FlannelNetworkProvider; @@ -24,6 +25,8 @@ public sealed class GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetw [OutputConstructor] private GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkResult( + Outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult? aciNetworkProvider, + Outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderResult? calicoNetworkProvider, Outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderResult? canalNetworkProvider, @@ -40,6 +43,7 @@ private GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkResult( Outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderResult? weaveNetworkProvider) { + AciNetworkProvider = aciNetworkProvider; CalicoNetworkProvider = calicoNetworkProvider; CanalNetworkProvider = canalNetworkProvider; FlannelNetworkProvider = flannelNetworkProvider; diff --git a/sdk/dotnet/Outputs/GetClusterV2RkeConfigMachinePoolResult.cs b/sdk/dotnet/Outputs/GetClusterV2RkeConfigMachinePoolResult.cs index beabbe4c3..623e5cc25 100644 --- a/sdk/dotnet/Outputs/GetClusterV2RkeConfigMachinePoolResult.cs +++ b/sdk/dotnet/Outputs/GetClusterV2RkeConfigMachinePoolResult.cs @@ -23,6 +23,7 @@ public sealed class GetClusterV2RkeConfigMachinePoolResult public readonly bool? EtcdRole; public readonly ImmutableDictionary Labels; public readonly Outputs.GetClusterV2RkeConfigMachinePoolMachineConfigResult MachineConfig; + public readonly ImmutableDictionary MachineLabels; public readonly string? MaxUnhealthy; /// /// The name of the Cluster v2 (string) @@ -54,6 +55,8 @@ private GetClusterV2RkeConfigMachinePoolResult( Outputs.GetClusterV2RkeConfigMachinePoolMachineConfigResult machineConfig, + ImmutableDictionary machineLabels, + string? maxUnhealthy, string name, @@ -83,6 +86,7 @@ private GetClusterV2RkeConfigMachinePoolResult( EtcdRole = etcdRole; Labels = labels; MachineConfig = machineConfig; + MachineLabels = machineLabels; MaxUnhealthy = maxUnhealthy; Name = name; NodeDrainTimeout = nodeDrainTimeout; diff --git a/sdk/dotnet/Outputs/MachineConfigV2AzureConfig.cs b/sdk/dotnet/Outputs/MachineConfigV2AzureConfig.cs index dd19f595e..611d4207c 100644 --- a/sdk/dotnet/Outputs/MachineConfigV2AzureConfig.cs +++ b/sdk/dotnet/Outputs/MachineConfigV2AzureConfig.cs @@ -74,6 +74,10 @@ public sealed class MachineConfigV2AzureConfig /// public readonly ImmutableArray OpenPorts; /// + /// Only use a private IP address. Default `false` (bool) + /// + public readonly bool? PrivateAddressOnly; + /// /// Specify a static private IP address for the machine. (string) /// public readonly string? PrivateIpAddress; @@ -158,6 +162,8 @@ private MachineConfigV2AzureConfig( ImmutableArray openPorts, + bool? privateAddressOnly, + string? privateIpAddress, string? resourceGroup, @@ -199,6 +205,7 @@ private MachineConfigV2AzureConfig( NoPublicIp = noPublicIp; Nsg = nsg; OpenPorts = openPorts; + PrivateAddressOnly = privateAddressOnly; PrivateIpAddress = privateIpAddress; ResourceGroup = resourceGroup; Size = size; diff --git a/sdk/dotnet/Outputs/NodeTemplateAmazonec2Config.cs b/sdk/dotnet/Outputs/NodeTemplateAmazonec2Config.cs index 2208bb8f4..d46c6365c 100644 --- a/sdk/dotnet/Outputs/NodeTemplateAmazonec2Config.cs +++ b/sdk/dotnet/Outputs/NodeTemplateAmazonec2Config.cs @@ -14,7 +14,7 @@ namespace Pulumi.Rancher2.Outputs public sealed class NodeTemplateAmazonec2Config { /// - /// AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + /// Outscale Access Key (string) /// public readonly string? AccessKey; /// @@ -38,6 +38,14 @@ public sealed class NodeTemplateAmazonec2Config /// public readonly string? Endpoint; /// + /// Enables or disables the HTTP metadata endpoint on your instances (string) + /// + public readonly string? HttpEndpoint; + /// + /// The state of token usage for your instance metadata requests (string) + /// + public readonly string? HttpTokens; + /// /// AWS IAM Instance Profile (string) /// public readonly string? IamInstanceProfile; @@ -46,7 +54,7 @@ public sealed class NodeTemplateAmazonec2Config /// public readonly bool? InsecureTransport; /// - /// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + /// Outscale VM type. Default `tinav2.c1r2p3` (string) /// public readonly string? InstanceType; /// @@ -70,7 +78,7 @@ public sealed class NodeTemplateAmazonec2Config /// public readonly bool? PrivateAddressOnly; /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// public readonly string Region; /// @@ -86,7 +94,7 @@ public sealed class NodeTemplateAmazonec2Config /// public readonly string? RootSize; /// - /// AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + /// Outscale Secret Key (string) /// public readonly string? SecretKey; /// @@ -105,9 +113,6 @@ public sealed class NodeTemplateAmazonec2Config /// AWS spot instance bid price (in dollar). Default `0.50` (string) /// public readonly string? SpotPrice; - /// - /// SSH Key for Instance (string) - /// public readonly string? SshKeypath; /// /// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) @@ -160,6 +165,10 @@ private NodeTemplateAmazonec2Config( string? endpoint, + string? httpEndpoint, + + string? httpTokens, + string? iamInstanceProfile, bool? insecureTransport, @@ -220,6 +229,8 @@ private NodeTemplateAmazonec2Config( DeviceName = deviceName; EncryptEbsVolume = encryptEbsVolume; Endpoint = endpoint; + HttpEndpoint = httpEndpoint; + HttpTokens = httpTokens; IamInstanceProfile = iamInstanceProfile; InsecureTransport = insecureTransport; InstanceType = instanceType; diff --git a/sdk/dotnet/Outputs/NodeTemplateDigitaloceanConfig.cs b/sdk/dotnet/Outputs/NodeTemplateDigitaloceanConfig.cs index 67394ab5e..b9000300c 100644 --- a/sdk/dotnet/Outputs/NodeTemplateDigitaloceanConfig.cs +++ b/sdk/dotnet/Outputs/NodeTemplateDigitaloceanConfig.cs @@ -38,7 +38,7 @@ public sealed class NodeTemplateDigitaloceanConfig /// public readonly bool? PrivateNetworking; /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// public readonly string? Region; /// diff --git a/sdk/dotnet/Outputs/NodeTemplateLinodeConfig.cs b/sdk/dotnet/Outputs/NodeTemplateLinodeConfig.cs index 64abf9324..f19417de9 100644 --- a/sdk/dotnet/Outputs/NodeTemplateLinodeConfig.cs +++ b/sdk/dotnet/Outputs/NodeTemplateLinodeConfig.cs @@ -30,7 +30,7 @@ public sealed class NodeTemplateLinodeConfig /// public readonly string? Image; /// - /// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + /// Outscale VM type. Default `tinav2.c1r2p3` (string) /// public readonly string? InstanceType; /// @@ -38,7 +38,7 @@ public sealed class NodeTemplateLinodeConfig /// public readonly string? Label; /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// public readonly string? Region; /// diff --git a/sdk/dotnet/Outputs/NodeTemplateOpenstackConfig.cs b/sdk/dotnet/Outputs/NodeTemplateOpenstackConfig.cs index 82ffdb3cf..857433f81 100644 --- a/sdk/dotnet/Outputs/NodeTemplateOpenstackConfig.cs +++ b/sdk/dotnet/Outputs/NodeTemplateOpenstackConfig.cs @@ -114,7 +114,7 @@ public sealed class NodeTemplateOpenstackConfig /// public readonly string? PrivateKeyFile; /// - /// OpenStack region name (string) + /// AWS region. Default `eu-west-2` (string) /// public readonly string Region; /// diff --git a/sdk/dotnet/Outputs/NodeTemplateOutscaleConfig.cs b/sdk/dotnet/Outputs/NodeTemplateOutscaleConfig.cs new file mode 100644 index 000000000..50c7b3dac --- /dev/null +++ b/sdk/dotnet/Outputs/NodeTemplateOutscaleConfig.cs @@ -0,0 +1,98 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Rancher2.Outputs +{ + + [OutputType] + public sealed class NodeTemplateOutscaleConfig + { + /// + /// Outscale Access Key (string) + /// + public readonly string AccessKey; + /// + /// Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + /// + public readonly ImmutableArray ExtraTagsAlls; + /// + /// Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + /// + public readonly ImmutableArray ExtraTagsInstances; + /// + /// Outscale VM type. Default `tinav2.c1r2p3` (string) + /// + public readonly string? InstanceType; + /// + /// AWS region. Default `eu-west-2` (string) + /// + public readonly string? Region; + /// + /// Iops for io1 Root Disk. From 1 to 13000. + /// + public readonly int? RootDiskIops; + /// + /// Size of the Root Disk (in GB). From 1 to 14901. + /// + public readonly int? RootDiskSize; + /// + /// Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + /// + public readonly string? RootDiskType; + /// + /// Outscale Secret Key (string) + /// + public readonly string SecretKey; + /// + /// Ids of user defined Security Groups to add to the machine. (list) + /// + public readonly ImmutableArray SecurityGroupIds; + /// + /// Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + /// + public readonly string? SourceOmi; + + [OutputConstructor] + private NodeTemplateOutscaleConfig( + string accessKey, + + ImmutableArray extraTagsAlls, + + ImmutableArray extraTagsInstances, + + string? instanceType, + + string? region, + + int? rootDiskIops, + + int? rootDiskSize, + + string? rootDiskType, + + string secretKey, + + ImmutableArray securityGroupIds, + + string? sourceOmi) + { + AccessKey = accessKey; + ExtraTagsAlls = extraTagsAlls; + ExtraTagsInstances = extraTagsInstances; + InstanceType = instanceType; + Region = region; + RootDiskIops = rootDiskIops; + RootDiskSize = rootDiskSize; + RootDiskType = rootDiskType; + SecretKey = secretKey; + SecurityGroupIds = securityGroupIds; + SourceOmi = sourceOmi; + } + } +} diff --git a/sdk/dotnet/PodSecurityPolicyTemplate.cs b/sdk/dotnet/PodSecurityPolicyTemplate.cs index 5deb4b76c..52871d765 100644 --- a/sdk/dotnet/PodSecurityPolicyTemplate.cs +++ b/sdk/dotnet/PodSecurityPolicyTemplate.cs @@ -15,155 +15,153 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 PodSecurityPolicyTemplate + /// var foo = new Rancher2.PodSecurityPolicyTemplate("foo", new() /// { - /// // Create a new rancher2 PodSecurityPolicyTemplate - /// var foo = new Rancher2.PodSecurityPolicyTemplate("foo", new Rancher2.PodSecurityPolicyTemplateArgs + /// AllowPrivilegeEscalation = false, + /// AllowedCsiDrivers = new[] /// { - /// AllowPrivilegeEscalation = false, - /// AllowedCsiDrivers = + /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedCsiDriverArgs /// { - /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedCsiDriverArgs - /// { - /// Name = "something", - /// }, - /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedCsiDriverArgs - /// { - /// Name = "something-else", - /// }, + /// Name = "something", /// }, - /// AllowedFlexVolumes = + /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedCsiDriverArgs /// { - /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedFlexVolumeArgs - /// { - /// Driver = "something", - /// }, - /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedFlexVolumeArgs - /// { - /// Driver = "something-else", - /// }, + /// Name = "something-else", /// }, - /// AllowedHostPaths = + /// }, + /// AllowedFlexVolumes = new[] + /// { + /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedFlexVolumeArgs /// { - /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedHostPathArgs - /// { - /// PathPrefix = "/", - /// ReadOnly = true, - /// }, - /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedHostPathArgs - /// { - /// PathPrefix = "//", - /// ReadOnly = false, - /// }, + /// Driver = "something", /// }, - /// AllowedProcMountTypes = + /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedFlexVolumeArgs /// { - /// "Default", + /// Driver = "something-else", /// }, - /// DefaultAllowPrivilegeEscalation = false, - /// Description = "Terraform PodSecurityPolicyTemplate acceptance test - update", - /// FsGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupArgs + /// }, + /// AllowedHostPaths = new[] + /// { + /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedHostPathArgs /// { - /// Ranges = - /// { - /// new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupRangeArgs - /// { - /// Max = 100, - /// Min = 0, - /// }, - /// new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupRangeArgs - /// { - /// Max = 100, - /// Min = 0, - /// }, - /// }, - /// Rule = "MustRunAs", + /// PathPrefix = "/", + /// ReadOnly = true, /// }, - /// HostIpc = false, - /// HostNetwork = false, - /// HostPid = false, - /// HostPorts = + /// new Rancher2.Inputs.PodSecurityPolicyTemplateAllowedHostPathArgs /// { - /// new Rancher2.Inputs.PodSecurityPolicyTemplateHostPortArgs + /// PathPrefix = "//", + /// ReadOnly = false, + /// }, + /// }, + /// AllowedProcMountTypes = new[] + /// { + /// "Default", + /// }, + /// DefaultAllowPrivilegeEscalation = false, + /// Description = "Terraform PodSecurityPolicyTemplate acceptance test - update", + /// FsGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupArgs + /// { + /// Ranges = new[] + /// { + /// new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupRangeArgs /// { - /// Max = 65535, + /// Max = 100, /// Min = 0, /// }, - /// new Rancher2.Inputs.PodSecurityPolicyTemplateHostPortArgs + /// new Rancher2.Inputs.PodSecurityPolicyTemplateFsGroupRangeArgs /// { - /// Max = 8080, - /// Min = 1024, + /// Max = 100, + /// Min = 0, /// }, /// }, - /// Privileged = false, - /// ReadOnlyRootFilesystem = false, - /// RequiredDropCapabilities = + /// Rule = "MustRunAs", + /// }, + /// HostIpc = false, + /// HostNetwork = false, + /// HostPid = false, + /// HostPorts = new[] + /// { + /// new Rancher2.Inputs.PodSecurityPolicyTemplateHostPortArgs /// { - /// "something", + /// Max = 65535, + /// Min = 0, /// }, - /// RunAsGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupArgs + /// new Rancher2.Inputs.PodSecurityPolicyTemplateHostPortArgs /// { - /// Ranges = - /// { - /// new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupRangeArgs - /// { - /// Max = 100, - /// Min = 1, - /// }, - /// new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupRangeArgs - /// { - /// Max = 1024, - /// Min = 2, - /// }, - /// }, - /// Rule = "MustRunAs", + /// Max = 8080, + /// Min = 1024, /// }, - /// RunAsUser = new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserArgs + /// }, + /// Privileged = false, + /// ReadOnlyRootFilesystem = false, + /// RequiredDropCapabilities = new[] + /// { + /// "something", + /// }, + /// RunAsGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupArgs + /// { + /// Ranges = new[] /// { - /// Ranges = + /// new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupRangeArgs /// { - /// new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserRangeArgs - /// { - /// Max = 100, - /// Min = 1, - /// }, - /// new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserRangeArgs - /// { - /// Max = 1024, - /// Min = 2, - /// }, + /// Max = 100, + /// Min = 1, /// }, - /// Rule = "MustRunAs", - /// }, - /// RuntimeClass = new Rancher2.Inputs.PodSecurityPolicyTemplateRuntimeClassArgs - /// { - /// AllowedRuntimeClassNames = + /// new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsGroupRangeArgs /// { - /// "something", + /// Max = 1024, + /// Min = 2, /// }, - /// DefaultRuntimeClassName = "something", - /// }, - /// SeLinux = new Rancher2.Inputs.PodSecurityPolicyTemplateSeLinuxArgs - /// { - /// Rule = "RunAsAny", /// }, - /// SupplementalGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateSupplementalGroupArgs + /// Rule = "MustRunAs", + /// }, + /// RunAsUser = new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserArgs + /// { + /// Ranges = new[] /// { - /// Rule = "RunAsAny", + /// new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserRangeArgs + /// { + /// Max = 100, + /// Min = 1, + /// }, + /// new Rancher2.Inputs.PodSecurityPolicyTemplateRunAsUserRangeArgs + /// { + /// Max = 1024, + /// Min = 2, + /// }, /// }, - /// Volumes = + /// Rule = "MustRunAs", + /// }, + /// RuntimeClass = new Rancher2.Inputs.PodSecurityPolicyTemplateRuntimeClassArgs + /// { + /// AllowedRuntimeClassNames = new[] /// { - /// "azureFile", + /// "something", /// }, - /// }); - /// } + /// DefaultRuntimeClassName = "something", + /// }, + /// SeLinux = new Rancher2.Inputs.PodSecurityPolicyTemplateSeLinuxArgs + /// { + /// Rule = "RunAsAny", + /// }, + /// SupplementalGroup = new Rancher2.Inputs.PodSecurityPolicyTemplateSupplementalGroupArgs + /// { + /// Rule = "RunAsAny", + /// }, + /// Volumes = new[] + /// { + /// "azureFile", + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -175,7 +173,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/podSecurityPolicyTemplate:PodSecurityPolicyTemplate")] - public partial class PodSecurityPolicyTemplate : Pulumi.CustomResource + public partial class PodSecurityPolicyTemplate : global::Pulumi.CustomResource { /// /// = (Optional) @@ -389,7 +387,7 @@ public static PodSecurityPolicyTemplate Get(string name, Input id, PodSe } } - public sealed class PodSecurityPolicyTemplateArgs : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateArgs : global::Pulumi.ResourceArgs { /// /// = (Optional) @@ -640,9 +638,10 @@ public InputList Volumes public PodSecurityPolicyTemplateArgs() { } + public static new PodSecurityPolicyTemplateArgs Empty => new PodSecurityPolicyTemplateArgs(); } - public sealed class PodSecurityPolicyTemplateState : Pulumi.ResourceArgs + public sealed class PodSecurityPolicyTemplateState : global::Pulumi.ResourceArgs { /// /// = (Optional) @@ -893,5 +892,6 @@ public InputList Volumes public PodSecurityPolicyTemplateState() { } + public static new PodSecurityPolicyTemplateState Empty => new PodSecurityPolicyTemplateState(); } } diff --git a/sdk/dotnet/Project.cs b/sdk/dotnet/Project.cs index bff8fc3cc..322b9f52c 100644 --- a/sdk/dotnet/Project.cs +++ b/sdk/dotnet/Project.cs @@ -15,108 +15,104 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Project + /// var foo = new Rancher2.Project("foo", new() /// { - /// // Create a new rancher2 Project - /// var foo = new Rancher2.Project("foo", new Rancher2.ProjectArgs + /// ClusterId = "<CLUSTER_ID>", + /// ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs /// { - /// ClusterId = "<CLUSTER_ID>", - /// ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs + /// LimitsCpu = "20m", + /// LimitsMemory = "20Mi", + /// RequestsCpu = "1m", + /// RequestsMemory = "1Mi", + /// }, + /// ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs + /// { + /// NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs /// { - /// LimitsCpu = "20m", - /// LimitsMemory = "20Mi", - /// RequestsCpu = "1m", - /// RequestsMemory = "1Mi", + /// LimitsCpu = "2000m", + /// LimitsMemory = "500Mi", + /// RequestsStorage = "1Gi", /// }, - /// ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs + /// ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs /// { - /// NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs - /// { - /// LimitsCpu = "2000m", - /// LimitsMemory = "500Mi", - /// RequestsStorage = "1Gi", - /// }, - /// ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs - /// { - /// LimitsCpu = "2000m", - /// LimitsMemory = "2000Mi", - /// RequestsStorage = "2Gi", - /// }, + /// LimitsCpu = "2000m", + /// LimitsMemory = "2000Mi", + /// RequestsStorage = "2Gi", /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Project enabling and customizing monitoring + /// var foo = new Rancher2.Project("foo", new() /// { - /// // Create a new rancher2 Project enabling and customizing monitoring - /// var foo = new Rancher2.Project("foo", new Rancher2.ProjectArgs + /// ClusterId = "<CLUSTER_ID>", + /// ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs + /// { + /// LimitsCpu = "20m", + /// LimitsMemory = "20Mi", + /// RequestsCpu = "1m", + /// RequestsMemory = "1Mi", + /// }, + /// EnableProjectMonitoring = true, + /// ProjectMonitoringInput = new Rancher2.Inputs.ProjectProjectMonitoringInputArgs /// { - /// ClusterId = "<CLUSTER_ID>", - /// ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs + /// Answers = /// { - /// LimitsCpu = "20m", - /// LimitsMemory = "20Mi", - /// RequestsCpu = "1m", - /// RequestsMemory = "1Mi", + /// { "exporter-kubelets.https", true }, + /// { "exporter-node.enabled", true }, + /// { "exporter-node.ports.metrics.port", 9796 }, + /// { "exporter-node.resources.limits.cpu", "200m" }, + /// { "exporter-node.resources.limits.memory", "200Mi" }, + /// { "grafana.persistence.enabled", false }, + /// { "grafana.persistence.size", "10Gi" }, + /// { "grafana.persistence.storageClass", "default" }, + /// { "operator.resources.limits.memory", "500Mi" }, + /// { "prometheus.persistence.enabled", "false" }, + /// { "prometheus.persistence.size", "50Gi" }, + /// { "prometheus.persistence.storageClass", "default" }, + /// { "prometheus.persistent.useReleaseName", "true" }, + /// { "prometheus.resources.core.limits.cpu", "1000m" }, + /// { "prometheus.resources.core.limits.memory", "1500Mi" }, + /// { "prometheus.resources.core.requests.cpu", "750m" }, + /// { "prometheus.resources.core.requests.memory", "750Mi" }, + /// { "prometheus.retention", "12h" }, /// }, - /// EnableProjectMonitoring = true, - /// ProjectMonitoringInput = new Rancher2.Inputs.ProjectProjectMonitoringInputArgs + /// }, + /// ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs + /// { + /// NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs /// { - /// Answers = - /// { - /// { "exporter-kubelets.https", true }, - /// { "exporter-node.enabled", true }, - /// { "exporter-node.ports.metrics.port", 9796 }, - /// { "exporter-node.resources.limits.cpu", "200m" }, - /// { "exporter-node.resources.limits.memory", "200Mi" }, - /// { "grafana.persistence.enabled", false }, - /// { "grafana.persistence.size", "10Gi" }, - /// { "grafana.persistence.storageClass", "default" }, - /// { "operator.resources.limits.memory", "500Mi" }, - /// { "prometheus.persistence.enabled", "false" }, - /// { "prometheus.persistence.size", "50Gi" }, - /// { "prometheus.persistence.storageClass", "default" }, - /// { "prometheus.persistent.useReleaseName", "true" }, - /// { "prometheus.resources.core.limits.cpu", "1000m" }, - /// { "prometheus.resources.core.limits.memory", "1500Mi" }, - /// { "prometheus.resources.core.requests.cpu", "750m" }, - /// { "prometheus.resources.core.requests.memory", "750Mi" }, - /// { "prometheus.retention", "12h" }, - /// }, + /// LimitsCpu = "2000m", + /// LimitsMemory = "500Mi", + /// RequestsStorage = "1Gi", /// }, - /// ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs + /// ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs /// { - /// NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs - /// { - /// LimitsCpu = "2000m", - /// LimitsMemory = "500Mi", - /// RequestsStorage = "1Gi", - /// }, - /// ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs - /// { - /// LimitsCpu = "2000m", - /// LimitsMemory = "2000Mi", - /// RequestsStorage = "2Gi", - /// }, + /// LimitsCpu = "2000m", + /// LimitsMemory = "2000Mi", + /// RequestsStorage = "2Gi", /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -128,7 +124,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/project:Project")] - public partial class Project : Pulumi.CustomResource + public partial class Project : global::Pulumi.CustomResource { /// /// Annotations for Node Pool object (map) @@ -240,7 +236,7 @@ public static Project Get(string name, Input id, ProjectState? state = n } } - public sealed class ProjectArgs : Pulumi.ResourceArgs + public sealed class ProjectArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -323,9 +319,10 @@ public InputMap Labels public ProjectArgs() { } + public static new ProjectArgs Empty => new ProjectArgs(); } - public sealed class ProjectState : Pulumi.ResourceArgs + public sealed class ProjectState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -408,5 +405,6 @@ public InputMap Labels public ProjectState() { } + public static new ProjectState Empty => new ProjectState(); } } diff --git a/sdk/dotnet/ProjectAlertGroup.cs b/sdk/dotnet/ProjectAlertGroup.cs index 160090466..97063f2e5 100644 --- a/sdk/dotnet/ProjectAlertGroup.cs +++ b/sdk/dotnet/ProjectAlertGroup.cs @@ -15,24 +15,22 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new Rancher2 Project Alert Group + /// var foo = new Rancher2.ProjectAlertGroup("foo", new() /// { - /// // Create a new Rancher2 Project Alert Group - /// var foo = new Rancher2.ProjectAlertGroup("foo", new Rancher2.ProjectAlertGroupArgs - /// { - /// Description = "Terraform project alert group", - /// GroupIntervalSeconds = 300, - /// ProjectId = "<project_id>", - /// RepeatIntervalSeconds = 3600, - /// }); - /// } + /// Description = "Terraform project alert group", + /// GroupIntervalSeconds = 300, + /// ProjectId = "<project_id>", + /// RepeatIntervalSeconds = 3600, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -44,7 +42,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/projectAlertGroup:ProjectAlertGroup")] - public partial class ProjectAlertGroup : Pulumi.CustomResource + public partial class ProjectAlertGroup : global::Pulumi.CustomResource { /// /// The project alert group annotations (map) @@ -144,7 +142,7 @@ public static ProjectAlertGroup Get(string name, Input id, ProjectAlertG } } - public sealed class ProjectAlertGroupArgs : Pulumi.ResourceArgs + public sealed class ProjectAlertGroupArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -221,9 +219,10 @@ public InputList Recipients public ProjectAlertGroupArgs() { } + public static new ProjectAlertGroupArgs Empty => new ProjectAlertGroupArgs(); } - public sealed class ProjectAlertGroupState : Pulumi.ResourceArgs + public sealed class ProjectAlertGroupState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -300,5 +299,6 @@ public InputList Recipients public ProjectAlertGroupState() { } + public static new ProjectAlertGroupState Empty => new ProjectAlertGroupState(); } } diff --git a/sdk/dotnet/ProjectAlertRule.cs b/sdk/dotnet/ProjectAlertRule.cs index d619be624..e5a650d4c 100644 --- a/sdk/dotnet/ProjectAlertRule.cs +++ b/sdk/dotnet/ProjectAlertRule.cs @@ -15,60 +15,60 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new Rancher2 Project + /// var fooProject = new Rancher2.Project("fooProject", new() /// { - /// // Create a new Rancher2 Project - /// var fooProject = new Rancher2.Project("fooProject", new Rancher2.ProjectArgs + /// ClusterId = "<cluster_id>", + /// Description = "Terraform project ", + /// ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs /// { - /// ClusterId = "<cluster_id>", - /// Description = "Terraform project ", - /// ResourceQuota = new Rancher2.Inputs.ProjectResourceQuotaArgs + /// ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs /// { - /// ProjectLimit = new Rancher2.Inputs.ProjectResourceQuotaProjectLimitArgs - /// { - /// LimitsCpu = "2000m", - /// LimitsMemory = "2000Mi", - /// RequestsStorage = "2Gi", - /// }, - /// NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs - /// { - /// LimitsCpu = "500m", - /// LimitsMemory = "500Mi", - /// RequestsStorage = "1Gi", - /// }, + /// LimitsCpu = "2000m", + /// LimitsMemory = "2000Mi", + /// RequestsStorage = "2Gi", /// }, - /// ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs + /// NamespaceDefaultLimit = new Rancher2.Inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs /// { - /// LimitsCpu = "20m", - /// LimitsMemory = "20Mi", - /// RequestsCpu = "1m", - /// RequestsMemory = "1Mi", + /// LimitsCpu = "500m", + /// LimitsMemory = "500Mi", + /// RequestsStorage = "1Gi", /// }, - /// }); - /// // Create a new Rancher2 Project Alert Group - /// var fooProjectAlertGroup = new Rancher2.ProjectAlertGroup("fooProjectAlertGroup", new Rancher2.ProjectAlertGroupArgs + /// }, + /// ContainerResourceLimit = new Rancher2.Inputs.ProjectContainerResourceLimitArgs /// { - /// Description = "Terraform project alert group", - /// ProjectId = fooProject.Id, - /// GroupIntervalSeconds = 300, - /// RepeatIntervalSeconds = 3600, - /// }); - /// // Create a new Rancher2 Project Alert Rule - /// var fooProjectAlertRule = new Rancher2.ProjectAlertRule("fooProjectAlertRule", new Rancher2.ProjectAlertRuleArgs - /// { - /// ProjectId = fooProjectAlertGroup.ProjectId, - /// GroupId = fooProjectAlertGroup.Id, - /// GroupIntervalSeconds = 600, - /// RepeatIntervalSeconds = 6000, - /// }); - /// } + /// LimitsCpu = "20m", + /// LimitsMemory = "20Mi", + /// RequestsCpu = "1m", + /// RequestsMemory = "1Mi", + /// }, + /// }); + /// + /// // Create a new Rancher2 Project Alert Group + /// var fooProjectAlertGroup = new Rancher2.ProjectAlertGroup("fooProjectAlertGroup", new() + /// { + /// Description = "Terraform project alert group", + /// ProjectId = fooProject.Id, + /// GroupIntervalSeconds = 300, + /// RepeatIntervalSeconds = 3600, + /// }); + /// + /// // Create a new Rancher2 Project Alert Rule + /// var fooProjectAlertRule = new Rancher2.ProjectAlertRule("fooProjectAlertRule", new() + /// { + /// ProjectId = fooProjectAlertGroup.ProjectId, + /// GroupId = fooProjectAlertGroup.Id, + /// GroupIntervalSeconds = 600, + /// RepeatIntervalSeconds = 6000, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -80,7 +80,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/projectAlertRule:ProjectAlertRule")] - public partial class ProjectAlertRule : Pulumi.CustomResource + public partial class ProjectAlertRule : global::Pulumi.CustomResource { /// /// The project alert rule annotations (map) @@ -204,7 +204,7 @@ public static ProjectAlertRule Get(string name, Input id, ProjectAlertRu } } - public sealed class ProjectAlertRuleArgs : Pulumi.ResourceArgs + public sealed class ProjectAlertRuleArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -299,9 +299,10 @@ public InputMap Labels public ProjectAlertRuleArgs() { } + public static new ProjectAlertRuleArgs Empty => new ProjectAlertRuleArgs(); } - public sealed class ProjectAlertRuleState : Pulumi.ResourceArgs + public sealed class ProjectAlertRuleState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -396,5 +397,6 @@ public InputMap Labels public ProjectAlertRuleState() { } + public static new ProjectAlertRuleState Empty => new ProjectAlertRuleState(); } } diff --git a/sdk/dotnet/ProjectLogging.cs b/sdk/dotnet/ProjectLogging.cs index ff42892d7..b4f41a577 100644 --- a/sdk/dotnet/ProjectLogging.cs +++ b/sdk/dotnet/ProjectLogging.cs @@ -15,29 +15,27 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Project Logging + /// var foo = new Rancher2.ProjectLogging("foo", new() /// { - /// // Create a new rancher2 Project Logging - /// var foo = new Rancher2.ProjectLogging("foo", new Rancher2.ProjectLoggingArgs + /// Kind = "syslog", + /// ProjectId = "<project_id>", + /// SyslogConfig = new Rancher2.Inputs.ProjectLoggingSyslogConfigArgs /// { - /// Kind = "syslog", - /// ProjectId = "<project_id>", - /// SyslogConfig = new Rancher2.Inputs.ProjectLoggingSyslogConfigArgs - /// { - /// Endpoint = "<syslog_endpoint>", - /// Protocol = "udp", - /// Severity = "notice", - /// SslVerify = false, - /// }, - /// }); - /// } + /// Endpoint = "<syslog_endpoint>", + /// Protocol = "udp", + /// Severity = "notice", + /// SslVerify = false, + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -49,7 +47,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/projectLogging:ProjectLogging")] - public partial class ProjectLogging : Pulumi.CustomResource + public partial class ProjectLogging : global::Pulumi.CustomResource { /// /// Annotations for Project Logging object (map) @@ -185,7 +183,7 @@ public static ProjectLogging Get(string name, Input id, ProjectLoggingSt } } - public sealed class ProjectLoggingArgs : Pulumi.ResourceArgs + public sealed class ProjectLoggingArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -298,9 +296,10 @@ public InputMap OutputTags public ProjectLoggingArgs() { } + public static new ProjectLoggingArgs Empty => new ProjectLoggingArgs(); } - public sealed class ProjectLoggingState : Pulumi.ResourceArgs + public sealed class ProjectLoggingState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -413,5 +412,6 @@ public InputMap OutputTags public ProjectLoggingState() { } + public static new ProjectLoggingState Empty => new ProjectLoggingState(); } } diff --git a/sdk/dotnet/ProjectRoleTemplateBinding.cs b/sdk/dotnet/ProjectRoleTemplateBinding.cs index 74aa8481c..837443275 100644 --- a/sdk/dotnet/ProjectRoleTemplateBinding.cs +++ b/sdk/dotnet/ProjectRoleTemplateBinding.cs @@ -15,23 +15,21 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Project Role Template Binding + /// var foo = new Rancher2.ProjectRoleTemplateBinding("foo", new() /// { - /// // Create a new rancher2 Project Role Template Binding - /// var foo = new Rancher2.ProjectRoleTemplateBinding("foo", new Rancher2.ProjectRoleTemplateBindingArgs - /// { - /// ProjectId = "<project_id>", - /// RoleTemplateId = "<role_template_id>", - /// UserId = "<user_id>", - /// }); - /// } + /// ProjectId = "<project_id>", + /// RoleTemplateId = "<role_template_id>", + /// UserId = "<user_id>", + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -43,7 +41,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/projectRoleTemplateBinding:ProjectRoleTemplateBinding")] - public partial class ProjectRoleTemplateBinding : Pulumi.CustomResource + public partial class ProjectRoleTemplateBinding : global::Pulumi.CustomResource { /// /// Annotations of the resource (map) @@ -143,7 +141,7 @@ public static ProjectRoleTemplateBinding Get(string name, Input id, Proj } } - public sealed class ProjectRoleTemplateBindingArgs : Pulumi.ResourceArgs + public sealed class ProjectRoleTemplateBindingArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -214,9 +212,10 @@ public InputMap Labels public ProjectRoleTemplateBindingArgs() { } + public static new ProjectRoleTemplateBindingArgs Empty => new ProjectRoleTemplateBindingArgs(); } - public sealed class ProjectRoleTemplateBindingState : Pulumi.ResourceArgs + public sealed class ProjectRoleTemplateBindingState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -287,5 +286,6 @@ public InputMap Labels public ProjectRoleTemplateBindingState() { } + public static new ProjectRoleTemplateBindingState Empty => new ProjectRoleTemplateBindingState(); } } diff --git a/sdk/dotnet/Provider.cs b/sdk/dotnet/Provider.cs index 22b16ad7b..1d5971787 100644 --- a/sdk/dotnet/Provider.cs +++ b/sdk/dotnet/Provider.cs @@ -16,7 +16,7 @@ namespace Pulumi.Rancher2 /// [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. /// [Rancher2ResourceType("pulumi:providers:rancher2")] - public partial class Provider : Pulumi.ProviderResource + public partial class Provider : global::Pulumi.ProviderResource { /// /// API Key used to authenticate with the rancher server @@ -72,6 +72,12 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "accessKey", + "secretKey", + "tokenKey", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -80,13 +86,23 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? } } - public sealed class ProviderArgs : Pulumi.ResourceArgs + public sealed class ProviderArgs : global::Pulumi.ResourceArgs { + [Input("accessKey")] + private Input? _accessKey; + /// /// API Key used to authenticate with the rancher server /// - [Input("accessKey")] - public Input? AccessKey { get; set; } + public Input? AccessKey + { + get => _accessKey; + set + { + var emptySecret = Output.CreateSecret(0); + _accessKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The URL to the rancher API @@ -118,11 +134,21 @@ public sealed class ProviderArgs : Pulumi.ResourceArgs [Input("retries", json: true)] public Input? Retries { get; set; } + [Input("secretKey")] + private Input? _secretKey; + /// /// API secret used to authenticate with the rancher server /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Rancher connection timeout (retry every 5s). Golang duration format, ex: "60s" @@ -130,16 +156,27 @@ public sealed class ProviderArgs : Pulumi.ResourceArgs [Input("timeout")] public Input? Timeout { get; set; } + [Input("tokenKey")] + private Input? _tokenKey; + /// /// API token used to authenticate with the rancher server /// - [Input("tokenKey")] - public Input? TokenKey { get; set; } + public Input? TokenKey + { + get => _tokenKey; + set + { + var emptySecret = Output.CreateSecret(0); + _tokenKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } public ProviderArgs() { Bootstrap = Utilities.GetEnvBoolean("RANCHER_BOOTSTRAP") ?? false; Insecure = Utilities.GetEnvBoolean("RANCHER_INSECURE") ?? false; } + public static new ProviderArgs Empty => new ProviderArgs(); } } diff --git a/sdk/dotnet/Registry.cs b/sdk/dotnet/Registry.cs index 207079140..d2c761281 100644 --- a/sdk/dotnet/Registry.cs +++ b/sdk/dotnet/Registry.cs @@ -19,60 +19,56 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Project Registry + /// var foo = new Rancher2.Registry("foo", new() /// { - /// // Create a new rancher2 Project Registry - /// var foo = new Rancher2.Registry("foo", new Rancher2.RegistryArgs + /// Description = "Terraform registry foo", + /// ProjectId = "<project_id>", + /// Registries = new[] /// { - /// Description = "Terraform registry foo", - /// ProjectId = "<project_id>", - /// Registries = + /// new Rancher2.Inputs.RegistryRegistryArgs /// { - /// new Rancher2.Inputs.RegistryRegistryArgs - /// { - /// Address = "test.io", - /// Password = "pass", - /// Username = "user", - /// }, + /// Address = "test.io", + /// Password = "pass", + /// Username = "user", /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Namespaced Registry + /// var foo = new Rancher2.Registry("foo", new() /// { - /// // Create a new rancher2 Namespaced Registry - /// var foo = new Rancher2.Registry("foo", new Rancher2.RegistryArgs + /// Description = "Terraform registry foo", + /// NamespaceId = "<namespace_id>", + /// ProjectId = "<project_id>", + /// Registries = new[] /// { - /// Description = "Terraform registry foo", - /// NamespaceId = "<namespace_id>", - /// ProjectId = "<project_id>", - /// Registries = + /// new Rancher2.Inputs.RegistryRegistryArgs /// { - /// new Rancher2.Inputs.RegistryRegistryArgs - /// { - /// Address = "test.io", - /// Password = "pass", - /// Username = "user2", - /// }, + /// Address = "test.io", + /// Password = "pass", + /// Username = "user2", /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -86,7 +82,7 @@ namespace Pulumi.Rancher2 /// `<namespace_id>` is optional, just needed for namespaced registry. /// [Rancher2ResourceType("rancher2:index/registry:Registry")] - public partial class Registry : Pulumi.CustomResource + public partial class Registry : global::Pulumi.CustomResource { /// /// Annotations for Registry object (map) @@ -174,7 +170,7 @@ public static Registry Get(string name, Input id, RegistryState? state = } } - public sealed class RegistryArgs : Pulumi.ResourceArgs + public sealed class RegistryArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -239,9 +235,10 @@ public InputList Registries public RegistryArgs() { } + public static new RegistryArgs Empty => new RegistryArgs(); } - public sealed class RegistryState : Pulumi.ResourceArgs + public sealed class RegistryState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -306,5 +303,6 @@ public InputList Registries public RegistryState() { } + public static new RegistryState Empty => new RegistryState(); } } diff --git a/sdk/dotnet/RoleTempalte.cs b/sdk/dotnet/RoleTempalte.cs index 343571f08..ffbcb9878 100644 --- a/sdk/dotnet/RoleTempalte.cs +++ b/sdk/dotnet/RoleTempalte.cs @@ -17,79 +17,75 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 cluster Role Template + /// var foo = new Rancher2.RoleTemplate("foo", new() /// { - /// // Create a new rancher2 cluster Role Template - /// var foo = new Rancher2.RoleTemplate("foo", new Rancher2.RoleTemplateArgs + /// Context = "cluster", + /// DefaultRole = true, + /// Description = "Terraform role template acceptance test", + /// Rules = new[] /// { - /// Context = "cluster", - /// DefaultRole = true, - /// Description = "Terraform role template acceptance test", - /// Rules = + /// new Rancher2.Inputs.RoleTemplateRuleArgs /// { - /// new Rancher2.Inputs.RoleTemplateRuleArgs + /// ApiGroups = new[] /// { - /// ApiGroups = - /// { - /// "*", - /// }, - /// Resources = - /// { - /// "secrets", - /// }, - /// Verbs = - /// { - /// "create", - /// }, + /// "*", + /// }, + /// Resources = new[] + /// { + /// "secrets", + /// }, + /// Verbs = new[] + /// { + /// "create", /// }, /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 project Role Template + /// var foo = new Rancher2.RoleTemplate("foo", new() /// { - /// // Create a new rancher2 project Role Template - /// var foo = new Rancher2.RoleTemplate("foo", new Rancher2.RoleTemplateArgs + /// Context = "project", + /// DefaultRole = true, + /// Description = "Terraform role template acceptance test", + /// Rules = new[] /// { - /// Context = "project", - /// DefaultRole = true, - /// Description = "Terraform role template acceptance test", - /// Rules = + /// new Rancher2.Inputs.RoleTemplateRuleArgs /// { - /// new Rancher2.Inputs.RoleTemplateRuleArgs + /// ApiGroups = new[] + /// { + /// "*", + /// }, + /// Resources = new[] + /// { + /// "secrets", + /// }, + /// Verbs = new[] /// { - /// ApiGroups = - /// { - /// "*", - /// }, - /// Resources = - /// { - /// "secrets", - /// }, - /// Verbs = - /// { - /// "create", - /// }, + /// "create", /// }, /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -102,7 +98,7 @@ namespace Pulumi.Rancher2 /// [Obsolete(@"rancher2.RoleTempalte has been deprecated in favor of rancher2.RoleTemplate")] [Rancher2ResourceType("rancher2:index/roleTempalte:RoleTempalte")] - public partial class RoleTempalte : Pulumi.CustomResource + public partial class RoleTempalte : global::Pulumi.CustomResource { /// /// Administrative role template. Default `false` (bool) @@ -226,7 +222,7 @@ public static RoleTempalte Get(string name, Input id, RoleTempalteState? } } - public sealed class RoleTempalteArgs : Pulumi.ResourceArgs + public sealed class RoleTempalteArgs : global::Pulumi.ResourceArgs { /// /// Administrative role template. Default `false` (bool) @@ -327,9 +323,10 @@ public InputList Rules public RoleTempalteArgs() { } + public static new RoleTempalteArgs Empty => new RoleTempalteArgs(); } - public sealed class RoleTempalteState : Pulumi.ResourceArgs + public sealed class RoleTempalteState : global::Pulumi.ResourceArgs { /// /// Administrative role template. Default `false` (bool) @@ -436,5 +433,6 @@ public InputList Rules public RoleTempalteState() { } + public static new RoleTempalteState Empty => new RoleTempalteState(); } } diff --git a/sdk/dotnet/RoleTemplate.cs b/sdk/dotnet/RoleTemplate.cs index e6c282938..3811c5237 100644 --- a/sdk/dotnet/RoleTemplate.cs +++ b/sdk/dotnet/RoleTemplate.cs @@ -17,79 +17,75 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 cluster Role Template + /// var foo = new Rancher2.RoleTemplate("foo", new() /// { - /// // Create a new rancher2 cluster Role Template - /// var foo = new Rancher2.RoleTemplate("foo", new Rancher2.RoleTemplateArgs + /// Context = "cluster", + /// DefaultRole = true, + /// Description = "Terraform role template acceptance test", + /// Rules = new[] /// { - /// Context = "cluster", - /// DefaultRole = true, - /// Description = "Terraform role template acceptance test", - /// Rules = + /// new Rancher2.Inputs.RoleTemplateRuleArgs /// { - /// new Rancher2.Inputs.RoleTemplateRuleArgs + /// ApiGroups = new[] /// { - /// ApiGroups = - /// { - /// "*", - /// }, - /// Resources = - /// { - /// "secrets", - /// }, - /// Verbs = - /// { - /// "create", - /// }, + /// "*", + /// }, + /// Resources = new[] + /// { + /// "secrets", + /// }, + /// Verbs = new[] + /// { + /// "create", /// }, /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 project Role Template + /// var foo = new Rancher2.RoleTemplate("foo", new() /// { - /// // Create a new rancher2 project Role Template - /// var foo = new Rancher2.RoleTemplate("foo", new Rancher2.RoleTemplateArgs + /// Context = "project", + /// DefaultRole = true, + /// Description = "Terraform role template acceptance test", + /// Rules = new[] /// { - /// Context = "project", - /// DefaultRole = true, - /// Description = "Terraform role template acceptance test", - /// Rules = + /// new Rancher2.Inputs.RoleTemplateRuleArgs /// { - /// new Rancher2.Inputs.RoleTemplateRuleArgs + /// ApiGroups = new[] + /// { + /// "*", + /// }, + /// Resources = new[] + /// { + /// "secrets", + /// }, + /// Verbs = new[] /// { - /// ApiGroups = - /// { - /// "*", - /// }, - /// Resources = - /// { - /// "secrets", - /// }, - /// Verbs = - /// { - /// "create", - /// }, + /// "create", /// }, /// }, - /// }); - /// } + /// }, + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -101,7 +97,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/roleTemplate:RoleTemplate")] - public partial class RoleTemplate : Pulumi.CustomResource + public partial class RoleTemplate : global::Pulumi.CustomResource { /// /// Administrative role template. Default `false` (bool) @@ -206,7 +202,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? Version = Utilities.Version, Aliases = { - new Pulumi.Alias { Type = "rancher2:index/roleTempalte:RoleTempalte"}, + new global::Pulumi.Alias { Type = "rancher2:index/roleTempalte:RoleTempalte"}, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); @@ -229,7 +225,7 @@ public static RoleTemplate Get(string name, Input id, RoleTemplateState? } } - public sealed class RoleTemplateArgs : Pulumi.ResourceArgs + public sealed class RoleTemplateArgs : global::Pulumi.ResourceArgs { /// /// Administrative role template. Default `false` (bool) @@ -330,9 +326,10 @@ public InputList Rules public RoleTemplateArgs() { } + public static new RoleTemplateArgs Empty => new RoleTemplateArgs(); } - public sealed class RoleTemplateState : Pulumi.ResourceArgs + public sealed class RoleTemplateState : global::Pulumi.ResourceArgs { /// /// Administrative role template. Default `false` (bool) @@ -439,5 +436,6 @@ public InputList Rules public RoleTemplateState() { } + public static new RoleTemplateState Empty => new RoleTemplateState(); } } diff --git a/sdk/dotnet/Secret.cs b/sdk/dotnet/Secret.cs index 00acec985..20884e9eb 100644 --- a/sdk/dotnet/Secret.cs +++ b/sdk/dotnet/Secret.cs @@ -27,7 +27,7 @@ namespace Pulumi.Rancher2 /// `<namespace_id>` is optional, just needed for namespaced secret. /// [Rancher2ResourceType("rancher2:index/secret:Secret")] - public partial class Secret : Pulumi.CustomResource + public partial class Secret : global::Pulumi.CustomResource { /// /// Annotations for secret object (map) @@ -94,6 +94,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "data", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -115,7 +119,7 @@ public static Secret Get(string name, Input id, SecretState? state = nul } } - public sealed class SecretArgs : Pulumi.ResourceArgs + public sealed class SecretArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -138,7 +142,11 @@ public InputMap Annotations public InputMap Data { get => _data ?? (_data = new InputMap()); - set => _data = value; + set + { + var emptySecret = Output.CreateSecret(ImmutableDictionary.Create()); + _data = Output.All(value, emptySecret).Apply(v => v[0]); + } } /// @@ -180,9 +188,10 @@ public InputMap Labels public SecretArgs() { } + public static new SecretArgs Empty => new SecretArgs(); } - public sealed class SecretState : Pulumi.ResourceArgs + public sealed class SecretState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -205,7 +214,11 @@ public InputMap Annotations public InputMap Data { get => _data ?? (_data = new InputMap()); - set => _data = value; + set + { + var emptySecret = Output.CreateSecret(ImmutableDictionary.Create()); + _data = Output.All(value, emptySecret).Apply(v => v[0]); + } } /// @@ -247,5 +260,6 @@ public InputMap Labels public SecretState() { } + public static new SecretState Empty => new SecretState(); } } diff --git a/sdk/dotnet/SecretV2.cs b/sdk/dotnet/SecretV2.cs index 9b7d6cca1..4d941072d 100644 --- a/sdk/dotnet/SecretV2.cs +++ b/sdk/dotnet/SecretV2.cs @@ -21,7 +21,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/secretV2:SecretV2")] - public partial class SecretV2 : Pulumi.CustomResource + public partial class SecretV2 : global::Pulumi.CustomResource { /// /// Annotations for the secret v2 (map) @@ -100,6 +100,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "data", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -121,7 +125,7 @@ public static SecretV2 Get(string name, Input id, SecretV2State? state = } } - public sealed class SecretV2Args : Pulumi.ResourceArgs + public sealed class SecretV2Args : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -150,7 +154,11 @@ public InputMap Annotations public InputMap Data { get => _data ?? (_data = new InputMap()); - set => _data = value; + set + { + var emptySecret = Output.CreateSecret(ImmutableDictionary.Create()); + _data = Output.All(value, emptySecret).Apply(v => v[0]); + } } /// @@ -192,9 +200,10 @@ public InputMap Labels public SecretV2Args() { } + public static new SecretV2Args Empty => new SecretV2Args(); } - public sealed class SecretV2State : Pulumi.ResourceArgs + public sealed class SecretV2State : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -223,7 +232,11 @@ public InputMap Annotations public InputMap Data { get => _data ?? (_data = new InputMap()); - set => _data = value; + set + { + var emptySecret = Output.CreateSecret(ImmutableDictionary.Create()); + _data = Output.All(value, emptySecret).Apply(v => v[0]); + } } /// @@ -271,5 +284,6 @@ public InputMap Labels public SecretV2State() { } + public static new SecretV2State Empty => new SecretV2State(); } } diff --git a/sdk/dotnet/Setting.cs b/sdk/dotnet/Setting.cs index 52fccb04d..0905472c7 100644 --- a/sdk/dotnet/Setting.cs +++ b/sdk/dotnet/Setting.cs @@ -19,21 +19,19 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Setting + /// var foo = new Rancher2.Setting("foo", new() /// { - /// // Create a new rancher2 Setting - /// var foo = new Rancher2.Setting("foo", new Rancher2.SettingArgs - /// { - /// Value = "<VALUE>", - /// }); - /// } + /// Value = "<VALUE>", + /// }); /// - /// } + /// }); /// ``` /// /// ## Import @@ -45,7 +43,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/setting:Setting")] - public partial class Setting : Pulumi.CustomResource + public partial class Setting : global::Pulumi.CustomResource { /// /// Annotations for setting object (map) @@ -115,7 +113,7 @@ public static Setting Get(string name, Input id, SettingState? state = n } } - public sealed class SettingArgs : Pulumi.ResourceArgs + public sealed class SettingArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -156,9 +154,10 @@ public InputMap Labels public SettingArgs() { } + public static new SettingArgs Empty => new SettingArgs(); } - public sealed class SettingState : Pulumi.ResourceArgs + public sealed class SettingState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -199,5 +198,6 @@ public InputMap Labels public SettingState() { } + public static new SettingState Empty => new SettingState(); } } diff --git a/sdk/dotnet/StorageClassV2.cs b/sdk/dotnet/StorageClassV2.cs index 53fd9bbfc..f5f6351a3 100644 --- a/sdk/dotnet/StorageClassV2.cs +++ b/sdk/dotnet/StorageClassV2.cs @@ -21,7 +21,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/storageClassV2:StorageClassV2")] - public partial class StorageClassV2 : Pulumi.CustomResource + public partial class StorageClassV2 : global::Pulumi.CustomResource { /// /// Is the provisioner of the storageClass v2 allowing volume expansion? (bool) @@ -133,7 +133,7 @@ public static StorageClassV2 Get(string name, Input id, StorageClassV2St } } - public sealed class StorageClassV2Args : Pulumi.ResourceArgs + public sealed class StorageClassV2Args : global::Pulumi.ResourceArgs { /// /// Is the provisioner of the storageClass v2 allowing volume expansion? (bool) @@ -222,9 +222,10 @@ public InputMap Parameters public StorageClassV2Args() { } + public static new StorageClassV2Args Empty => new StorageClassV2Args(); } - public sealed class StorageClassV2State : Pulumi.ResourceArgs + public sealed class StorageClassV2State : global::Pulumi.ResourceArgs { /// /// Is the provisioner of the storageClass v2 allowing volume expansion? (bool) @@ -319,5 +320,6 @@ public InputMap Parameters public StorageClassV2State() { } + public static new StorageClassV2State Empty => new StorageClassV2State(); } } diff --git a/sdk/dotnet/Token.cs b/sdk/dotnet/Token.cs index a5a2c8741..bf7f99a89 100644 --- a/sdk/dotnet/Token.cs +++ b/sdk/dotnet/Token.cs @@ -21,27 +21,25 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 Token scoped + /// var foo = new Rancher2.Token("foo", new() /// { - /// // Create a new rancher2 Token scoped - /// var foo = new Rancher2.Token("foo", new Rancher2.TokenArgs - /// { - /// ClusterId = "<cluster-id>", - /// Description = "foo token", - /// Ttl = 1200, - /// }); - /// } + /// ClusterId = "<cluster-id>", + /// Description = "foo token", + /// Ttl = 1200, + /// }); /// - /// } + /// }); /// ``` /// [Rancher2ResourceType("rancher2:index/token:Token")] - public partial class Token : Pulumi.CustomResource + public partial class Token : global::Pulumi.CustomResource { /// /// (Computed) Token access key part (string) @@ -144,6 +142,11 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "secretKey", + "token", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -165,7 +168,7 @@ public static Token Get(string name, Input id, TokenState? state = null, } } - public sealed class TokenArgs : Pulumi.ResourceArgs + public sealed class TokenArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -218,9 +221,10 @@ public InputMap Labels public TokenArgs() { } + public static new TokenArgs Empty => new TokenArgs(); } - public sealed class TokenState : Pulumi.ResourceArgs + public sealed class TokenState : global::Pulumi.ResourceArgs { /// /// (Computed) Token access key part (string) @@ -288,17 +292,37 @@ public InputMap Labels [Input("renew")] public Input? Renew { get; set; } + [Input("secretKey")] + private Input? _secretKey; + /// /// (Computed/Sensitive) Token secret key part (string) /// - [Input("secretKey")] - public Input? SecretKey { get; set; } + public Input? SecretKey + { + get => _secretKey; + set + { + var emptySecret = Output.CreateSecret(0); + _secretKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + [Input("token")] + private Input? _token; /// /// (Computed/Sensitive) Token value (string) /// - [Input("token")] - public Input? TokenName { get; set; } + public Input? TokenName + { + get => _token; + set + { + var emptySecret = Output.CreateSecret(0); + _token = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// Token time to live in seconds. Default `0` (int) @@ -315,5 +339,6 @@ public InputMap Labels public TokenState() { } + public static new TokenState Empty => new TokenState(); } } diff --git a/sdk/dotnet/User.cs b/sdk/dotnet/User.cs index 393d06a7e..2198a1ef4 100644 --- a/sdk/dotnet/User.cs +++ b/sdk/dotnet/User.cs @@ -17,29 +17,28 @@ namespace Pulumi.Rancher2 /// ## Example Usage /// /// ```csharp + /// using System.Collections.Generic; /// using Pulumi; /// using Rancher2 = Pulumi.Rancher2; /// - /// class MyStack : Stack + /// return await Deployment.RunAsync(() => /// { - /// public MyStack() + /// // Create a new rancher2 User + /// var fooUser = new Rancher2.User("fooUser", new() /// { - /// // Create a new rancher2 User - /// var fooUser = new Rancher2.User("fooUser", new Rancher2.UserArgs - /// { - /// Username = "foo", - /// Password = "changeme", - /// Enabled = true, - /// }); - /// // Create a new rancher2 global_role_binding for User - /// var fooGlobalRoleBinding = new Rancher2.GlobalRoleBinding("fooGlobalRoleBinding", new Rancher2.GlobalRoleBindingArgs - /// { - /// GlobalRoleId = "user-base", - /// UserId = fooUser.Id, - /// }); - /// } + /// Username = "foo", + /// Password = "changeme", + /// Enabled = true, + /// }); /// - /// } + /// // Create a new rancher2 global_role_binding for User + /// var fooGlobalRoleBinding = new Rancher2.GlobalRoleBinding("fooGlobalRoleBinding", new() + /// { + /// GlobalRoleId = "user-base", + /// UserId = fooUser.Id, + /// }); + /// + /// }); /// ``` /// /// ## Import @@ -51,7 +50,7 @@ namespace Pulumi.Rancher2 /// ``` /// [Rancher2ResourceType("rancher2:index/user:User")] - public partial class User : Pulumi.CustomResource + public partial class User : global::Pulumi.CustomResource { /// /// Annotations for global role binding (map) @@ -115,6 +114,10 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? var defaultOptions = new CustomResourceOptions { Version = Utilities.Version, + AdditionalSecretOutputs = + { + "password", + }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); // Override the ID if one was specified for consistency with other language SDKs. @@ -136,7 +139,7 @@ public static User Get(string name, Input id, UserState? state = null, C } } - public sealed class UserArgs : Pulumi.ResourceArgs + public sealed class UserArgs : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -171,11 +174,21 @@ public InputMap Labels [Input("name")] public Input? Name { get; set; } + [Input("password", required: true)] + private Input? _password; + /// /// The user password (string) /// - [Input("password", required: true)] - public Input Password { get; set; } = null!; + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } /// /// The user username (string) @@ -186,9 +199,10 @@ public InputMap Labels public UserArgs() { } + public static new UserArgs Empty => new UserArgs(); } - public sealed class UserState : Pulumi.ResourceArgs + public sealed class UserState : global::Pulumi.ResourceArgs { [Input("annotations")] private InputMap? _annotations; @@ -223,11 +237,21 @@ public InputMap Labels [Input("name")] public Input? Name { get; set; } + [Input("password")] + private Input? _password; + /// /// The user password (string) /// - [Input("password")] - public Input? Password { get; set; } + public Input? Password + { + get => _password; + set + { + var emptySecret = Output.CreateSecret(0); + _password = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } [Input("principalIds")] private InputList? _principalIds; @@ -250,5 +274,6 @@ public InputList PrincipalIds public UserState() { } + public static new UserState Empty => new UserState(); } } diff --git a/sdk/dotnet/Utilities.cs b/sdk/dotnet/Utilities.cs index a1d7d9124..c6d1a22f6 100644 --- a/sdk/dotnet/Utilities.cs +++ b/sdk/dotnet/Utilities.cs @@ -74,7 +74,7 @@ static Utilities() } } - internal sealed class Rancher2ResourceTypeAttribute : Pulumi.ResourceTypeAttribute + internal sealed class Rancher2ResourceTypeAttribute : global::Pulumi.ResourceTypeAttribute { public Rancher2ResourceTypeAttribute(string type) : base(type, Utilities.Version) { diff --git a/sdk/go/rancher2/activeDirectory.go b/sdk/go/rancher2/activeDirectory.go index 8080b6a4f..f2cd798bd 100644 --- a/sdk/go/rancher2/activeDirectory.go +++ b/sdk/go/rancher2/activeDirectory.go @@ -116,6 +116,25 @@ func NewActiveDirectory(ctx *pulumi.Context, if args.UserSearchBase == nil { return nil, errors.New("invalid value for required argument 'UserSearchBase'") } + if args.Certificate != nil { + args.Certificate = pulumi.ToSecret(args.Certificate).(pulumi.StringPtrOutput) + } + if args.ServiceAccountPassword != nil { + args.ServiceAccountPassword = pulumi.ToSecret(args.ServiceAccountPassword).(pulumi.StringOutput) + } + if args.ServiceAccountUsername != nil { + args.ServiceAccountUsername = pulumi.ToSecret(args.ServiceAccountUsername).(pulumi.StringOutput) + } + if args.TestPassword != nil { + args.TestPassword = pulumi.ToSecret(args.TestPassword).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "certificate", + "serviceAccountPassword", + "serviceAccountUsername", + "testPassword", + }) + opts = append(opts, secrets) var resource ActiveDirectory err := ctx.RegisterResource("rancher2:index/activeDirectory:ActiveDirectory", name, args, &resource, opts...) if err != nil { @@ -513,6 +532,181 @@ func (o ActiveDirectoryOutput) ToActiveDirectoryOutputWithContext(ctx context.Co return o } +// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) +func (o ActiveDirectoryOutput) AccessMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringPtrOutput { return v.AccessMode }).(pulumi.StringPtrOutput) +} + +// Allowed principal ids for auth. Required if `accessMode` is `required` or `restricted`. Ex: `activedirectory_user://` `activedirectory_group://`. The local admin (`local://`) and the `testUsername` must be added too. (list) +func (o ActiveDirectoryOutput) AllowedPrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringArrayOutput { return v.AllowedPrincipalIds }).(pulumi.StringArrayOutput) +} + +// Annotations of the resource (map) +func (o ActiveDirectoryOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// CA certificate for TLS if selfsigned (string) +func (o ActiveDirectoryOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringPtrOutput { return v.Certificate }).(pulumi.StringPtrOutput) +} + +// ActiveDirectory connection timeout. Default `5000` (int) +func (o ActiveDirectoryOutput) ConnectionTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.IntPtrOutput { return v.ConnectionTimeout }).(pulumi.IntPtrOutput) +} + +// ActiveDirectory defult login domain (string) +func (o ActiveDirectoryOutput) DefaultLoginDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringPtrOutput { return v.DefaultLoginDomain }).(pulumi.StringPtrOutput) +} + +// Enable auth config provider. Default `true` (bool) +func (o ActiveDirectoryOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Group DN attribute. Default `distinguishedName` (string) +func (o ActiveDirectoryOutput) GroupDnAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.GroupDnAttribute }).(pulumi.StringOutput) +} + +// Group member mapping attribute. Default `member` (string) +func (o ActiveDirectoryOutput) GroupMemberMappingAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.GroupMemberMappingAttribute }).(pulumi.StringOutput) +} + +// Group member user attribute. Default `distinguishedName` (string) +func (o ActiveDirectoryOutput) GroupMemberUserAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.GroupMemberUserAttribute }).(pulumi.StringOutput) +} + +// Group name attribute. Default `name` (string) +func (o ActiveDirectoryOutput) GroupNameAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.GroupNameAttribute }).(pulumi.StringOutput) +} + +// Group object class. Default `group` (string) +func (o ActiveDirectoryOutput) GroupObjectClass() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.GroupObjectClass }).(pulumi.StringOutput) +} + +// Group search attribute. Default `sAMAccountName` (string) +func (o ActiveDirectoryOutput) GroupSearchAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.GroupSearchAttribute }).(pulumi.StringOutput) +} + +// Group search base (string) +func (o ActiveDirectoryOutput) GroupSearchBase() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.GroupSearchBase }).(pulumi.StringOutput) +} + +// Group search filter (string) +func (o ActiveDirectoryOutput) GroupSearchFilter() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.GroupSearchFilter }).(pulumi.StringOutput) +} + +// Labels of the resource (map) +func (o ActiveDirectoryOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) The name of the resource (string) +func (o ActiveDirectoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Nested group membership enable. Default `false` (bool) +func (o ActiveDirectoryOutput) NestedGroupMembershipEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.BoolOutput { return v.NestedGroupMembershipEnabled }).(pulumi.BoolOutput) +} + +// ActiveDirectory port. Default `389` (int) +func (o ActiveDirectoryOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.IntPtrOutput { return v.Port }).(pulumi.IntPtrOutput) +} + +// ActiveDirectory servers list (list) +func (o ActiveDirectoryOutput) Servers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringArrayOutput { return v.Servers }).(pulumi.StringArrayOutput) +} + +// Service account password for access ActiveDirectory service (string) +func (o ActiveDirectoryOutput) ServiceAccountPassword() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.ServiceAccountPassword }).(pulumi.StringOutput) +} + +// Service account DN for access ActiveDirectory service (string) +func (o ActiveDirectoryOutput) ServiceAccountUsername() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.ServiceAccountUsername }).(pulumi.StringOutput) +} + +// Enable start TLS connection (bool) +func (o ActiveDirectoryOutput) StartTls() pulumi.BoolOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.BoolOutput { return v.StartTls }).(pulumi.BoolOutput) +} + +// Password for test access to ActiveDirectory service (string) +func (o ActiveDirectoryOutput) TestPassword() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.TestPassword }).(pulumi.StringOutput) +} + +// Username for test access to ActiveDirectory service (string) +func (o ActiveDirectoryOutput) TestUsername() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.TestUsername }).(pulumi.StringOutput) +} + +// Enable TLS connection (bool) +func (o ActiveDirectoryOutput) Tls() pulumi.BoolOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.BoolOutput { return v.Tls }).(pulumi.BoolOutput) +} + +// (Computed) The type of the resource (string) +func (o ActiveDirectoryOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// User disabled bit mask. Default `2` (int) +func (o ActiveDirectoryOutput) UserDisabledBitMask() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.IntPtrOutput { return v.UserDisabledBitMask }).(pulumi.IntPtrOutput) +} + +// User enable attribute (string) +func (o ActiveDirectoryOutput) UserEnabledAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.UserEnabledAttribute }).(pulumi.StringOutput) +} + +// User login attribute. Default `sAMAccountName` (string) +func (o ActiveDirectoryOutput) UserLoginAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.UserLoginAttribute }).(pulumi.StringOutput) +} + +// User name attribute. Default `name` (string) +func (o ActiveDirectoryOutput) UserNameAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.UserNameAttribute }).(pulumi.StringOutput) +} + +// User object class. Default `person` (string) +func (o ActiveDirectoryOutput) UserObjectClass() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.UserObjectClass }).(pulumi.StringOutput) +} + +// User search attribute. Default `sAMAccountName|sn|givenName` (string) +func (o ActiveDirectoryOutput) UserSearchAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.UserSearchAttribute }).(pulumi.StringOutput) +} + +// User search base DN (string) +func (o ActiveDirectoryOutput) UserSearchBase() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.UserSearchBase }).(pulumi.StringOutput) +} + +// User search filter (string) +func (o ActiveDirectoryOutput) UserSearchFilter() pulumi.StringOutput { + return o.ApplyT(func(v *ActiveDirectory) pulumi.StringOutput { return v.UserSearchFilter }).(pulumi.StringOutput) +} + type ActiveDirectoryArrayOutput struct{ *pulumi.OutputState } func (ActiveDirectoryArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/app.go b/sdk/go/rancher2/app.go index b84b5a939..d699adf36 100644 --- a/sdk/go/rancher2/app.go +++ b/sdk/go/rancher2/app.go @@ -409,6 +409,83 @@ func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput { return o } +// Annotations for App object (map) +func (o AppOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *App) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Answers for the app template. If modified, app will be upgraded (map) +func (o AppOutput) Answers() pulumi.MapOutput { + return o.ApplyT(func(v *App) pulumi.MapOutput { return v.Answers }).(pulumi.MapOutput) +} + +// Catalog name of the app. If modified, app will be upgraded. For use scoped catalogs: +// * add cluster ID before name, `local:` or `c-XXXXX:` +// * add project ID before name, `p-XXXXX:` +func (o AppOutput) CatalogName() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.CatalogName }).(pulumi.StringOutput) +} + +// Description for the app (string) +func (o AppOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// (Computed) The url of the app template on a catalog (string) +func (o AppOutput) ExternalId() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.ExternalId }).(pulumi.StringOutput) +} + +// Force app upgrade (string) +func (o AppOutput) ForceUpgrade() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *App) pulumi.BoolPtrOutput { return v.ForceUpgrade }).(pulumi.BoolPtrOutput) +} + +// Labels for App object (map) +func (o AppOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *App) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the app (string) +func (o AppOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The project id where the app will be installed (string) +func (o AppOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// Current revision id for the app. If modified, If this argument is provided or modified, app will be rollbacked to `revisionId` (string) +func (o AppOutput) RevisionId() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.RevisionId }).(pulumi.StringOutput) +} + +// The namespace id where the app will be installed (string) +func (o AppOutput) TargetNamespace() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.TargetNamespace }).(pulumi.StringOutput) +} + +// Template name of the app. If modified, app will be upgraded (string) +func (o AppOutput) TemplateName() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.TemplateName }).(pulumi.StringOutput) +} + +// Template version of the app. If modified, app will be upgraded. Default: `latest` (string) +func (o AppOutput) TemplateVersion() pulumi.StringOutput { + return o.ApplyT(func(v *App) pulumi.StringOutput { return v.TemplateVersion }).(pulumi.StringOutput) +} + +// values.yaml base64 encoded file content for the app template. If modified, app will be upgraded (string) +func (o AppOutput) ValuesYaml() pulumi.StringPtrOutput { + return o.ApplyT(func(v *App) pulumi.StringPtrOutput { return v.ValuesYaml }).(pulumi.StringPtrOutput) +} + +// Wait until app is deployed and active. Default: `true` (bool) +func (o AppOutput) Wait() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *App) pulumi.BoolPtrOutput { return v.Wait }).(pulumi.BoolPtrOutput) +} + type AppArrayOutput struct{ *pulumi.OutputState } func (AppArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/appV2.go b/sdk/go/rancher2/appV2.go index 8569f264d..d4dfd528e 100644 --- a/sdk/go/rancher2/appV2.go +++ b/sdk/go/rancher2/appV2.go @@ -374,6 +374,91 @@ func (o AppV2Output) ToAppV2OutputWithContext(ctx context.Context) AppV2Output { return o } +// Annotations for the app v2 (map) +func (o AppV2Output) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *AppV2) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The app v2 chart name (string) +func (o AppV2Output) ChartName() pulumi.StringOutput { + return o.ApplyT(func(v *AppV2) pulumi.StringOutput { return v.ChartName }).(pulumi.StringOutput) +} + +// The app v2 chart version (string) +func (o AppV2Output) ChartVersion() pulumi.StringOutput { + return o.ApplyT(func(v *AppV2) pulumi.StringOutput { return v.ChartVersion }).(pulumi.StringOutput) +} + +// Cleanup app v2 on failed chart upgrade. Default: `false` (bool) +func (o AppV2Output) CleanupOnFail() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AppV2) pulumi.BoolPtrOutput { return v.CleanupOnFail }).(pulumi.BoolPtrOutput) +} + +// The cluster id of the app (string) +func (o AppV2Output) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *AppV2) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// (Computed) The cluster name of the app (string) +func (o AppV2Output) ClusterName() pulumi.StringOutput { + return o.ApplyT(func(v *AppV2) pulumi.StringOutput { return v.ClusterName }).(pulumi.StringOutput) +} + +// Disable app v2 chart hooks. Default: `false` (bool) +func (o AppV2Output) DisableHooks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AppV2) pulumi.BoolPtrOutput { return v.DisableHooks }).(pulumi.BoolPtrOutput) +} + +// Disable app V2 Open API Validation. Default: `false` (bool) +func (o AppV2Output) DisableOpenApiValidation() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AppV2) pulumi.BoolPtrOutput { return v.DisableOpenApiValidation }).(pulumi.BoolPtrOutput) +} + +// Force app V2 chart upgrade. Default: `false` (bool) +func (o AppV2Output) ForceUpgrade() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AppV2) pulumi.BoolPtrOutput { return v.ForceUpgrade }).(pulumi.BoolPtrOutput) +} + +// Labels for the app v2 (map) +func (o AppV2Output) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *AppV2) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the app v2 (string) +func (o AppV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AppV2) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The namespace of the app v2 (string) +func (o AppV2Output) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v *AppV2) pulumi.StringOutput { return v.Namespace }).(pulumi.StringOutput) +} + +// Deploy the app v2 within project ID (string) +func (o AppV2Output) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppV2) pulumi.StringPtrOutput { return v.ProjectId }).(pulumi.StringPtrOutput) +} + +// Repo name (string) +func (o AppV2Output) RepoName() pulumi.StringOutput { + return o.ApplyT(func(v *AppV2) pulumi.StringOutput { return v.RepoName }).(pulumi.StringOutput) +} + +// (Computed) The system default registry of the app (string) +func (o AppV2Output) SystemDefaultRegistry() pulumi.StringOutput { + return o.ApplyT(func(v *AppV2) pulumi.StringOutput { return v.SystemDefaultRegistry }).(pulumi.StringOutput) +} + +// The app v2 values yaml. Yaml format is required (string) +func (o AppV2Output) Values() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppV2) pulumi.StringPtrOutput { return v.Values }).(pulumi.StringPtrOutput) +} + +// Wait until app is deployed. Default: `true` (bool) +func (o AppV2Output) Wait() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AppV2) pulumi.BoolPtrOutput { return v.Wait }).(pulumi.BoolPtrOutput) +} + type AppV2ArrayOutput struct{ *pulumi.OutputState } func (AppV2ArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/authConfigActiveDirectory.go b/sdk/go/rancher2/authConfigActiveDirectory.go index 7f6b1e792..7205d14e3 100644 --- a/sdk/go/rancher2/authConfigActiveDirectory.go +++ b/sdk/go/rancher2/authConfigActiveDirectory.go @@ -120,6 +120,25 @@ func NewAuthConfigActiveDirectory(ctx *pulumi.Context, }, }) opts = append(opts, aliases) + if args.Certificate != nil { + args.Certificate = pulumi.ToSecret(args.Certificate).(pulumi.StringPtrOutput) + } + if args.ServiceAccountPassword != nil { + args.ServiceAccountPassword = pulumi.ToSecret(args.ServiceAccountPassword).(pulumi.StringOutput) + } + if args.ServiceAccountUsername != nil { + args.ServiceAccountUsername = pulumi.ToSecret(args.ServiceAccountUsername).(pulumi.StringOutput) + } + if args.TestPassword != nil { + args.TestPassword = pulumi.ToSecret(args.TestPassword).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "certificate", + "serviceAccountPassword", + "serviceAccountUsername", + "testPassword", + }) + opts = append(opts, secrets) var resource AuthConfigActiveDirectory err := ctx.RegisterResource("rancher2:index/authConfigActiveDirectory:AuthConfigActiveDirectory", name, args, &resource, opts...) if err != nil { @@ -517,6 +536,181 @@ func (o AuthConfigActiveDirectoryOutput) ToAuthConfigActiveDirectoryOutputWithCo return o } +// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) +func (o AuthConfigActiveDirectoryOutput) AccessMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringPtrOutput { return v.AccessMode }).(pulumi.StringPtrOutput) +} + +// Allowed principal ids for auth. Required if `accessMode` is `required` or `restricted`. Ex: `activedirectory_user://` `activedirectory_group://`. The local admin (`local://`) and the `testUsername` must be added too. (list) +func (o AuthConfigActiveDirectoryOutput) AllowedPrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringArrayOutput { return v.AllowedPrincipalIds }).(pulumi.StringArrayOutput) +} + +// Annotations of the resource (map) +func (o AuthConfigActiveDirectoryOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// CA certificate for TLS if selfsigned (string) +func (o AuthConfigActiveDirectoryOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringPtrOutput { return v.Certificate }).(pulumi.StringPtrOutput) +} + +// ActiveDirectory connection timeout. Default `5000` (int) +func (o AuthConfigActiveDirectoryOutput) ConnectionTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.IntPtrOutput { return v.ConnectionTimeout }).(pulumi.IntPtrOutput) +} + +// ActiveDirectory defult login domain (string) +func (o AuthConfigActiveDirectoryOutput) DefaultLoginDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringPtrOutput { return v.DefaultLoginDomain }).(pulumi.StringPtrOutput) +} + +// Enable auth config provider. Default `true` (bool) +func (o AuthConfigActiveDirectoryOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Group DN attribute. Default `distinguishedName` (string) +func (o AuthConfigActiveDirectoryOutput) GroupDnAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.GroupDnAttribute }).(pulumi.StringOutput) +} + +// Group member mapping attribute. Default `member` (string) +func (o AuthConfigActiveDirectoryOutput) GroupMemberMappingAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.GroupMemberMappingAttribute }).(pulumi.StringOutput) +} + +// Group member user attribute. Default `distinguishedName` (string) +func (o AuthConfigActiveDirectoryOutput) GroupMemberUserAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.GroupMemberUserAttribute }).(pulumi.StringOutput) +} + +// Group name attribute. Default `name` (string) +func (o AuthConfigActiveDirectoryOutput) GroupNameAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.GroupNameAttribute }).(pulumi.StringOutput) +} + +// Group object class. Default `group` (string) +func (o AuthConfigActiveDirectoryOutput) GroupObjectClass() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.GroupObjectClass }).(pulumi.StringOutput) +} + +// Group search attribute. Default `sAMAccountName` (string) +func (o AuthConfigActiveDirectoryOutput) GroupSearchAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.GroupSearchAttribute }).(pulumi.StringOutput) +} + +// Group search base (string) +func (o AuthConfigActiveDirectoryOutput) GroupSearchBase() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.GroupSearchBase }).(pulumi.StringOutput) +} + +// Group search filter (string) +func (o AuthConfigActiveDirectoryOutput) GroupSearchFilter() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.GroupSearchFilter }).(pulumi.StringOutput) +} + +// Labels of the resource (map) +func (o AuthConfigActiveDirectoryOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) The name of the resource (string) +func (o AuthConfigActiveDirectoryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Nested group membership enable. Default `false` (bool) +func (o AuthConfigActiveDirectoryOutput) NestedGroupMembershipEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.BoolOutput { return v.NestedGroupMembershipEnabled }).(pulumi.BoolOutput) +} + +// ActiveDirectory port. Default `389` (int) +func (o AuthConfigActiveDirectoryOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.IntPtrOutput { return v.Port }).(pulumi.IntPtrOutput) +} + +// ActiveDirectory servers list (list) +func (o AuthConfigActiveDirectoryOutput) Servers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringArrayOutput { return v.Servers }).(pulumi.StringArrayOutput) +} + +// Service account password for access ActiveDirectory service (string) +func (o AuthConfigActiveDirectoryOutput) ServiceAccountPassword() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.ServiceAccountPassword }).(pulumi.StringOutput) +} + +// Service account DN for access ActiveDirectory service (string) +func (o AuthConfigActiveDirectoryOutput) ServiceAccountUsername() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.ServiceAccountUsername }).(pulumi.StringOutput) +} + +// Enable start TLS connection (bool) +func (o AuthConfigActiveDirectoryOutput) StartTls() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.BoolOutput { return v.StartTls }).(pulumi.BoolOutput) +} + +// Password for test access to ActiveDirectory service (string) +func (o AuthConfigActiveDirectoryOutput) TestPassword() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.TestPassword }).(pulumi.StringOutput) +} + +// Username for test access to ActiveDirectory service (string) +func (o AuthConfigActiveDirectoryOutput) TestUsername() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.TestUsername }).(pulumi.StringOutput) +} + +// Enable TLS connection (bool) +func (o AuthConfigActiveDirectoryOutput) Tls() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.BoolOutput { return v.Tls }).(pulumi.BoolOutput) +} + +// (Computed) The type of the resource (string) +func (o AuthConfigActiveDirectoryOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// User disabled bit mask. Default `2` (int) +func (o AuthConfigActiveDirectoryOutput) UserDisabledBitMask() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.IntPtrOutput { return v.UserDisabledBitMask }).(pulumi.IntPtrOutput) +} + +// User enable attribute (string) +func (o AuthConfigActiveDirectoryOutput) UserEnabledAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.UserEnabledAttribute }).(pulumi.StringOutput) +} + +// User login attribute. Default `sAMAccountName` (string) +func (o AuthConfigActiveDirectoryOutput) UserLoginAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.UserLoginAttribute }).(pulumi.StringOutput) +} + +// User name attribute. Default `name` (string) +func (o AuthConfigActiveDirectoryOutput) UserNameAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.UserNameAttribute }).(pulumi.StringOutput) +} + +// User object class. Default `person` (string) +func (o AuthConfigActiveDirectoryOutput) UserObjectClass() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.UserObjectClass }).(pulumi.StringOutput) +} + +// User search attribute. Default `sAMAccountName|sn|givenName` (string) +func (o AuthConfigActiveDirectoryOutput) UserSearchAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.UserSearchAttribute }).(pulumi.StringOutput) +} + +// User search base DN (string) +func (o AuthConfigActiveDirectoryOutput) UserSearchBase() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.UserSearchBase }).(pulumi.StringOutput) +} + +// User search filter (string) +func (o AuthConfigActiveDirectoryOutput) UserSearchFilter() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigActiveDirectory) pulumi.StringOutput { return v.UserSearchFilter }).(pulumi.StringOutput) +} + type AuthConfigActiveDirectoryArrayOutput struct{ *pulumi.OutputState } func (AuthConfigActiveDirectoryArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/authConfigAdfs.go b/sdk/go/rancher2/authConfigAdfs.go index 2a5ef5670..d7ff15b4d 100644 --- a/sdk/go/rancher2/authConfigAdfs.go +++ b/sdk/go/rancher2/authConfigAdfs.go @@ -113,6 +113,21 @@ func NewAuthConfigAdfs(ctx *pulumi.Context, if args.UserNameField == nil { return nil, errors.New("invalid value for required argument 'UserNameField'") } + if args.IdpMetadataContent != nil { + args.IdpMetadataContent = pulumi.ToSecret(args.IdpMetadataContent).(pulumi.StringOutput) + } + if args.SpCert != nil { + args.SpCert = pulumi.ToSecret(args.SpCert).(pulumi.StringOutput) + } + if args.SpKey != nil { + args.SpKey = pulumi.ToSecret(args.SpKey).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "idpMetadataContent", + "spCert", + "spKey", + }) + opts = append(opts, secrets) var resource AuthConfigAdfs err := ctx.RegisterResource("rancher2:index/authConfigAdfs:AuthConfigAdfs", name, args, &resource, opts...) if err != nil { @@ -350,6 +365,81 @@ func (o AuthConfigAdfsOutput) ToAuthConfigAdfsOutputWithContext(ctx context.Cont return o } +// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) +func (o AuthConfigAdfsOutput) AccessMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringPtrOutput { return v.AccessMode }).(pulumi.StringPtrOutput) +} + +// Allowed principal ids for auth. Required if `accessMode` is `required` or `restricted`. Ex: `adfs_user://` `adfs_group://` (list) +func (o AuthConfigAdfsOutput) AllowedPrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringArrayOutput { return v.AllowedPrincipalIds }).(pulumi.StringArrayOutput) +} + +// Annotations of the resource (map) +func (o AuthConfigAdfsOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// ADFS display name field (string) +func (o AuthConfigAdfsOutput) DisplayNameField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringOutput { return v.DisplayNameField }).(pulumi.StringOutput) +} + +// Enable auth config provider. Default `true` (bool) +func (o AuthConfigAdfsOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// ADFS group field (string) +func (o AuthConfigAdfsOutput) GroupsField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringOutput { return v.GroupsField }).(pulumi.StringOutput) +} + +// ADFS IDP metadata content (string) +func (o AuthConfigAdfsOutput) IdpMetadataContent() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringOutput { return v.IdpMetadataContent }).(pulumi.StringOutput) +} + +// Labels of the resource (map) +func (o AuthConfigAdfsOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) The name of the resource (string) +func (o AuthConfigAdfsOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Rancher URL. URL scheme needs to be specified, `https://` (string) +func (o AuthConfigAdfsOutput) RancherApiHost() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringOutput { return v.RancherApiHost }).(pulumi.StringOutput) +} + +// ADFS SP cert (string) +func (o AuthConfigAdfsOutput) SpCert() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringOutput { return v.SpCert }).(pulumi.StringOutput) +} + +// ADFS SP key (string) +func (o AuthConfigAdfsOutput) SpKey() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringOutput { return v.SpKey }).(pulumi.StringOutput) +} + +// (Computed) The type of the resource (string) +func (o AuthConfigAdfsOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// ADFS UID field (string) +func (o AuthConfigAdfsOutput) UidField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringOutput { return v.UidField }).(pulumi.StringOutput) +} + +// ADFS user name field (string) +func (o AuthConfigAdfsOutput) UserNameField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAdfs) pulumi.StringOutput { return v.UserNameField }).(pulumi.StringOutput) +} + type AuthConfigAdfsArrayOutput struct{ *pulumi.OutputState } func (AuthConfigAdfsArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/authConfigAzureAd.go b/sdk/go/rancher2/authConfigAzureAd.go index 22ba1b6fd..b0150e7de 100644 --- a/sdk/go/rancher2/authConfigAzureAd.go +++ b/sdk/go/rancher2/authConfigAzureAd.go @@ -11,10 +11,6 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// Provides a Rancher v2 Auth Config AzureAD resource. This can be used to configure and enable Auth Config AzureAD for Rancher v2 RKE clusters and retrieve their information. -// -// In addition to the built-in local auth, only one external auth config provider can be enabled at a time. -// // ## Example Usage // // ```go @@ -109,6 +105,17 @@ func NewAuthConfigAzureAd(ctx *pulumi.Context, if args.TokenEndpoint == nil { return nil, errors.New("invalid value for required argument 'TokenEndpoint'") } + if args.ApplicationId != nil { + args.ApplicationId = pulumi.ToSecret(args.ApplicationId).(pulumi.StringOutput) + } + if args.ApplicationSecret != nil { + args.ApplicationSecret = pulumi.ToSecret(args.ApplicationSecret).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "applicationId", + "applicationSecret", + }) + opts = append(opts, secrets) var resource AuthConfigAzureAd err := ctx.RegisterResource("rancher2:index/authConfigAzureAd:AuthConfigAzureAd", name, args, &resource, opts...) if err != nil { @@ -346,6 +353,81 @@ func (o AuthConfigAzureAdOutput) ToAuthConfigAzureAdOutputWithContext(ctx contex return o } +// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) +func (o AuthConfigAzureAdOutput) AccessMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringPtrOutput { return v.AccessMode }).(pulumi.StringPtrOutput) +} + +// Allowed principal ids for auth. Required if `accessMode` is `required` or `restricted`. Ex: `azuread_user://` `azuread_group://` (list) +func (o AuthConfigAzureAdOutput) AllowedPrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringArrayOutput { return v.AllowedPrincipalIds }).(pulumi.StringArrayOutput) +} + +// Annotations of the resource (map) +func (o AuthConfigAzureAdOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// AzureAD auth application ID (string) +func (o AuthConfigAzureAdOutput) ApplicationId() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringOutput { return v.ApplicationId }).(pulumi.StringOutput) +} + +// AzureAD auth application secret (string) +func (o AuthConfigAzureAdOutput) ApplicationSecret() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringOutput { return v.ApplicationSecret }).(pulumi.StringOutput) +} + +// AzureAD auth endpoint (string) +func (o AuthConfigAzureAdOutput) AuthEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringOutput { return v.AuthEndpoint }).(pulumi.StringOutput) +} + +// Enable auth config provider. Default `true` (bool) +func (o AuthConfigAzureAdOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// AzureAD endpoint. Default `https://login.microsoftonline.com/` (string) +func (o AuthConfigAzureAdOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringPtrOutput { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +// AzureAD graph endpoint (string) +func (o AuthConfigAzureAdOutput) GraphEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringOutput { return v.GraphEndpoint }).(pulumi.StringOutput) +} + +// Labels of the resource (map) +func (o AuthConfigAzureAdOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) The name of the resource (string) +func (o AuthConfigAzureAdOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Rancher URL (string). "/verify-auth-azure" +func (o AuthConfigAzureAdOutput) RancherUrl() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringOutput { return v.RancherUrl }).(pulumi.StringOutput) +} + +// AzureAD tenant ID (string) +func (o AuthConfigAzureAdOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringOutput { return v.TenantId }).(pulumi.StringOutput) +} + +// AzureAD token endpoint (string) +func (o AuthConfigAzureAdOutput) TokenEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringOutput { return v.TokenEndpoint }).(pulumi.StringOutput) +} + +// (Computed) The type of the resource (string) +func (o AuthConfigAzureAdOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigAzureAd) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + type AuthConfigAzureAdArrayOutput struct{ *pulumi.OutputState } func (AuthConfigAzureAdArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/authConfigFreeIpa.go b/sdk/go/rancher2/authConfigFreeIpa.go index 27ee39626..5249fc7c7 100644 --- a/sdk/go/rancher2/authConfigFreeIpa.go +++ b/sdk/go/rancher2/authConfigFreeIpa.go @@ -108,6 +108,25 @@ func NewAuthConfigFreeIpa(ctx *pulumi.Context, if args.UserSearchBase == nil { return nil, errors.New("invalid value for required argument 'UserSearchBase'") } + if args.Certificate != nil { + args.Certificate = pulumi.ToSecret(args.Certificate).(pulumi.StringPtrOutput) + } + if args.ServiceAccountDistinguishedName != nil { + args.ServiceAccountDistinguishedName = pulumi.ToSecret(args.ServiceAccountDistinguishedName).(pulumi.StringOutput) + } + if args.ServiceAccountPassword != nil { + args.ServiceAccountPassword = pulumi.ToSecret(args.ServiceAccountPassword).(pulumi.StringOutput) + } + if args.TestPassword != nil { + args.TestPassword = pulumi.ToSecret(args.TestPassword).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "certificate", + "serviceAccountDistinguishedName", + "serviceAccountPassword", + "testPassword", + }) + opts = append(opts, secrets) var resource AuthConfigFreeIpa err := ctx.RegisterResource("rancher2:index/authConfigFreeIpa:AuthConfigFreeIpa", name, args, &resource, opts...) if err != nil { @@ -481,6 +500,166 @@ func (o AuthConfigFreeIpaOutput) ToAuthConfigFreeIpaOutputWithContext(ctx contex return o } +// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) +func (o AuthConfigFreeIpaOutput) AccessMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringPtrOutput { return v.AccessMode }).(pulumi.StringPtrOutput) +} + +// Allowed principal ids for auth. Required if `accessMode` is `required` or `restricted`. Ex: `freeipa_user://` `freeipa_group://` (list) +func (o AuthConfigFreeIpaOutput) AllowedPrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringArrayOutput { return v.AllowedPrincipalIds }).(pulumi.StringArrayOutput) +} + +// Annotations of the resource (map) +func (o AuthConfigFreeIpaOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Base64 encoded CA certificate for TLS if self-signed. Use filebase64() for encoding file (string) +func (o AuthConfigFreeIpaOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringPtrOutput { return v.Certificate }).(pulumi.StringPtrOutput) +} + +// FreeIpa connection timeout. Default `5000` (int) +func (o AuthConfigFreeIpaOutput) ConnectionTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.IntPtrOutput { return v.ConnectionTimeout }).(pulumi.IntPtrOutput) +} + +// Enable auth config provider. Default `true` (bool) +func (o AuthConfigFreeIpaOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Group DN attribute. Default `entryDN` (string) +func (o AuthConfigFreeIpaOutput) GroupDnAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.GroupDnAttribute }).(pulumi.StringOutput) +} + +// Group member mapping attribute. Default `member` (string) +func (o AuthConfigFreeIpaOutput) GroupMemberMappingAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.GroupMemberMappingAttribute }).(pulumi.StringOutput) +} + +// Group member user attribute. Default `entryDN` (string) +func (o AuthConfigFreeIpaOutput) GroupMemberUserAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.GroupMemberUserAttribute }).(pulumi.StringOutput) +} + +// Group name attribute. Default `cn` (string) +func (o AuthConfigFreeIpaOutput) GroupNameAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.GroupNameAttribute }).(pulumi.StringOutput) +} + +// Group object class. Default `groupOfNames` (string) +func (o AuthConfigFreeIpaOutput) GroupObjectClass() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.GroupObjectClass }).(pulumi.StringOutput) +} + +// Group search attribute. Default `cn` (string) +func (o AuthConfigFreeIpaOutput) GroupSearchAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.GroupSearchAttribute }).(pulumi.StringOutput) +} + +// Group search base (string) +func (o AuthConfigFreeIpaOutput) GroupSearchBase() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.GroupSearchBase }).(pulumi.StringOutput) +} + +// Labels of the resource (map) +func (o AuthConfigFreeIpaOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) The name of the resource (string) +func (o AuthConfigFreeIpaOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Nested group membership enable. Default `false` (bool) +func (o AuthConfigFreeIpaOutput) NestedGroupMembershipEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.BoolOutput { return v.NestedGroupMembershipEnabled }).(pulumi.BoolOutput) +} + +// FreeIpa port. Default `389` (int) +func (o AuthConfigFreeIpaOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.IntPtrOutput { return v.Port }).(pulumi.IntPtrOutput) +} + +// FreeIpa servers list (list) +func (o AuthConfigFreeIpaOutput) Servers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringArrayOutput { return v.Servers }).(pulumi.StringArrayOutput) +} + +// Service account DN for access FreeIpa service (string) +func (o AuthConfigFreeIpaOutput) ServiceAccountDistinguishedName() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.ServiceAccountDistinguishedName }).(pulumi.StringOutput) +} + +// Service account password for access FreeIpa service (string) +func (o AuthConfigFreeIpaOutput) ServiceAccountPassword() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.ServiceAccountPassword }).(pulumi.StringOutput) +} + +// 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) +} + +// Username for test access to FreeIpa service (string) +func (o AuthConfigFreeIpaOutput) TestUsername() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.TestUsername }).(pulumi.StringOutput) +} + +// Enable TLS connection (bool) +func (o AuthConfigFreeIpaOutput) Tls() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.BoolOutput { return v.Tls }).(pulumi.BoolOutput) +} + +// (Computed) The type of the resource (string) +func (o AuthConfigFreeIpaOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// User disabled bit mask (int) +func (o AuthConfigFreeIpaOutput) UserDisabledBitMask() pulumi.IntOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.IntOutput { return v.UserDisabledBitMask }).(pulumi.IntOutput) +} + +// User enable attribute (string) +func (o AuthConfigFreeIpaOutput) UserEnabledAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.UserEnabledAttribute }).(pulumi.StringOutput) +} + +// User login attribute. Default `uid` (string) +func (o AuthConfigFreeIpaOutput) UserLoginAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.UserLoginAttribute }).(pulumi.StringOutput) +} + +// User member attribute. Default `memberOf` (string) +func (o AuthConfigFreeIpaOutput) UserMemberAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.UserMemberAttribute }).(pulumi.StringOutput) +} + +// User name attribute. Default `givenName` (string) +func (o AuthConfigFreeIpaOutput) UserNameAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.UserNameAttribute }).(pulumi.StringOutput) +} + +// User object class. Default `inetorgperson` (string) +func (o AuthConfigFreeIpaOutput) UserObjectClass() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.UserObjectClass }).(pulumi.StringOutput) +} + +// User search attribute. Default `uid|sn|givenName` (string) +func (o AuthConfigFreeIpaOutput) UserSearchAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.UserSearchAttribute }).(pulumi.StringOutput) +} + +// User search base DN (string) +func (o AuthConfigFreeIpaOutput) UserSearchBase() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigFreeIpa) pulumi.StringOutput { return v.UserSearchBase }).(pulumi.StringOutput) +} + type AuthConfigFreeIpaArrayOutput struct{ *pulumi.OutputState } func (AuthConfigFreeIpaArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/authConfigGithub.go b/sdk/go/rancher2/authConfigGithub.go index e34d1f60d..6d4c4f741 100644 --- a/sdk/go/rancher2/authConfigGithub.go +++ b/sdk/go/rancher2/authConfigGithub.go @@ -81,6 +81,17 @@ func NewAuthConfigGithub(ctx *pulumi.Context, if args.ClientSecret == nil { return nil, errors.New("invalid value for required argument 'ClientSecret'") } + if args.ClientId != nil { + args.ClientId = pulumi.ToSecret(args.ClientId).(pulumi.StringOutput) + } + if args.ClientSecret != nil { + args.ClientSecret = pulumi.ToSecret(args.ClientSecret).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientId", + "clientSecret", + }) + opts = append(opts, secrets) var resource AuthConfigGithub err := ctx.RegisterResource("rancher2:index/authConfigGithub:AuthConfigGithub", name, args, &resource, opts...) if err != nil { @@ -286,6 +297,61 @@ func (o AuthConfigGithubOutput) ToAuthConfigGithubOutputWithContext(ctx context. return o } +// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) +func (o AuthConfigGithubOutput) AccessMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.StringPtrOutput { return v.AccessMode }).(pulumi.StringPtrOutput) +} + +// Allowed principal ids for auth. Required if `accessMode` is `required` or `restricted`. Ex: `github_user://` `github_team://` `github_org://` (list) +func (o AuthConfigGithubOutput) AllowedPrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.StringArrayOutput { return v.AllowedPrincipalIds }).(pulumi.StringArrayOutput) +} + +// Annotations of the resource (map) +func (o AuthConfigGithubOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Github auth Client ID (string) +func (o AuthConfigGithubOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) +} + +// Github auth Client secret (string) +func (o AuthConfigGithubOutput) ClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.StringOutput { return v.ClientSecret }).(pulumi.StringOutput) +} + +// Enable auth config provider. Default `true` (bool) +func (o AuthConfigGithubOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Github hostname to connect. Default `github.com` (string) +func (o AuthConfigGithubOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.StringPtrOutput { return v.Hostname }).(pulumi.StringPtrOutput) +} + +// Labels of the resource (map) +func (o AuthConfigGithubOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) The name of the resource (string) +func (o AuthConfigGithubOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Enable TLS connection. Default `true` (bool) +func (o AuthConfigGithubOutput) Tls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.BoolPtrOutput { return v.Tls }).(pulumi.BoolPtrOutput) +} + +// (Computed) The type of the resource (string) +func (o AuthConfigGithubOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigGithub) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + type AuthConfigGithubArrayOutput struct{ *pulumi.OutputState } func (AuthConfigGithubArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/authConfigKeycloak.go b/sdk/go/rancher2/authConfigKeycloak.go index 4f92ab6f7..c8c782057 100644 --- a/sdk/go/rancher2/authConfigKeycloak.go +++ b/sdk/go/rancher2/authConfigKeycloak.go @@ -115,6 +115,21 @@ func NewAuthConfigKeycloak(ctx *pulumi.Context, if args.UserNameField == nil { return nil, errors.New("invalid value for required argument 'UserNameField'") } + if args.IdpMetadataContent != nil { + args.IdpMetadataContent = pulumi.ToSecret(args.IdpMetadataContent).(pulumi.StringOutput) + } + if args.SpCert != nil { + args.SpCert = pulumi.ToSecret(args.SpCert).(pulumi.StringOutput) + } + if args.SpKey != nil { + args.SpKey = pulumi.ToSecret(args.SpKey).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "idpMetadataContent", + "spCert", + "spKey", + }) + opts = append(opts, secrets) var resource AuthConfigKeycloak err := ctx.RegisterResource("rancher2:index/authConfigKeycloak:AuthConfigKeycloak", name, args, &resource, opts...) if err != nil { @@ -360,6 +375,86 @@ func (o AuthConfigKeycloakOutput) ToAuthConfigKeycloakOutputWithContext(ctx cont return o } +// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) +func (o AuthConfigKeycloakOutput) AccessMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringPtrOutput { return v.AccessMode }).(pulumi.StringPtrOutput) +} + +// Allowed principal ids for auth. Required if `accessMode` is `required` or `restricted`. Ex: `keycloak_user://` `keycloak_group://` (list) +func (o AuthConfigKeycloakOutput) AllowedPrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringArrayOutput { return v.AllowedPrincipalIds }).(pulumi.StringArrayOutput) +} + +// Annotations of the resource (map) +func (o AuthConfigKeycloakOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// KeyCloak display name field (string) +func (o AuthConfigKeycloakOutput) DisplayNameField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.DisplayNameField }).(pulumi.StringOutput) +} + +// Enable auth config provider. Default `true` (bool) +func (o AuthConfigKeycloakOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// KeyCloak Client ID field (string) +func (o AuthConfigKeycloakOutput) EntityId() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.EntityId }).(pulumi.StringOutput) +} + +// KeyCloak group field (string) +func (o AuthConfigKeycloakOutput) GroupsField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.GroupsField }).(pulumi.StringOutput) +} + +// KeyCloak IDP metadata content (string) +func (o AuthConfigKeycloakOutput) IdpMetadataContent() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.IdpMetadataContent }).(pulumi.StringOutput) +} + +// Labels of the resource (map) +func (o AuthConfigKeycloakOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) The name of the resource (string) +func (o AuthConfigKeycloakOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Rancher URL. URL scheme needs to be specified, `https://` (string) +func (o AuthConfigKeycloakOutput) RancherApiHost() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.RancherApiHost }).(pulumi.StringOutput) +} + +// KeyCloak SP cert (string) +func (o AuthConfigKeycloakOutput) SpCert() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.SpCert }).(pulumi.StringOutput) +} + +// KeyCloak SP key (string) +func (o AuthConfigKeycloakOutput) SpKey() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.SpKey }).(pulumi.StringOutput) +} + +// (Computed) The type of the resource (string) +func (o AuthConfigKeycloakOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// KeyCloak UID field (string) +func (o AuthConfigKeycloakOutput) UidField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.UidField }).(pulumi.StringOutput) +} + +// KeyCloak user name field (string) +func (o AuthConfigKeycloakOutput) UserNameField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigKeycloak) pulumi.StringOutput { return v.UserNameField }).(pulumi.StringOutput) +} + type AuthConfigKeycloakArrayOutput struct{ *pulumi.OutputState } func (AuthConfigKeycloakArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/authConfigOkta.go b/sdk/go/rancher2/authConfigOkta.go index 4fa7e700f..54fb836a4 100644 --- a/sdk/go/rancher2/authConfigOkta.go +++ b/sdk/go/rancher2/authConfigOkta.go @@ -113,6 +113,21 @@ func NewAuthConfigOkta(ctx *pulumi.Context, if args.UserNameField == nil { return nil, errors.New("invalid value for required argument 'UserNameField'") } + if args.IdpMetadataContent != nil { + args.IdpMetadataContent = pulumi.ToSecret(args.IdpMetadataContent).(pulumi.StringOutput) + } + if args.SpCert != nil { + args.SpCert = pulumi.ToSecret(args.SpCert).(pulumi.StringOutput) + } + if args.SpKey != nil { + args.SpKey = pulumi.ToSecret(args.SpKey).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "idpMetadataContent", + "spCert", + "spKey", + }) + opts = append(opts, secrets) var resource AuthConfigOkta err := ctx.RegisterResource("rancher2:index/authConfigOkta:AuthConfigOkta", name, args, &resource, opts...) if err != nil { @@ -350,6 +365,81 @@ func (o AuthConfigOktaOutput) ToAuthConfigOktaOutputWithContext(ctx context.Cont return o } +// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) +func (o AuthConfigOktaOutput) AccessMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringPtrOutput { return v.AccessMode }).(pulumi.StringPtrOutput) +} + +// Allowed principal ids for auth. Required if `accessMode` is `required` or `restricted`. Ex: `okta_user://` `okta_group://` (list) +func (o AuthConfigOktaOutput) AllowedPrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringArrayOutput { return v.AllowedPrincipalIds }).(pulumi.StringArrayOutput) +} + +// Annotations of the resource (map) +func (o AuthConfigOktaOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// OKTA display name field (string) +func (o AuthConfigOktaOutput) DisplayNameField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringOutput { return v.DisplayNameField }).(pulumi.StringOutput) +} + +// Enable auth config provider. Default `true` (bool) +func (o AuthConfigOktaOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// OKTA group field (string) +func (o AuthConfigOktaOutput) GroupsField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringOutput { return v.GroupsField }).(pulumi.StringOutput) +} + +// OKTA IDP metadata content (string) +func (o AuthConfigOktaOutput) IdpMetadataContent() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringOutput { return v.IdpMetadataContent }).(pulumi.StringOutput) +} + +// Labels of the resource (map) +func (o AuthConfigOktaOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) The name of the resource (string) +func (o AuthConfigOktaOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Rancher URL. URL scheme needs to be specified, `https://` (string) +func (o AuthConfigOktaOutput) RancherApiHost() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringOutput { return v.RancherApiHost }).(pulumi.StringOutput) +} + +// OKTA SP cert (string) +func (o AuthConfigOktaOutput) SpCert() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringOutput { return v.SpCert }).(pulumi.StringOutput) +} + +// OKTA SP key (string) +func (o AuthConfigOktaOutput) SpKey() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringOutput { return v.SpKey }).(pulumi.StringOutput) +} + +// (Computed) The type of the resource (string) +func (o AuthConfigOktaOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// OKTA UID field (string) +func (o AuthConfigOktaOutput) UidField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringOutput { return v.UidField }).(pulumi.StringOutput) +} + +// OKTA user name field (string) +func (o AuthConfigOktaOutput) UserNameField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOkta) pulumi.StringOutput { return v.UserNameField }).(pulumi.StringOutput) +} + type AuthConfigOktaArrayOutput struct{ *pulumi.OutputState } func (AuthConfigOktaArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/authConfigOpenLdap.go b/sdk/go/rancher2/authConfigOpenLdap.go index b18d23d52..4aa9e9c8c 100644 --- a/sdk/go/rancher2/authConfigOpenLdap.go +++ b/sdk/go/rancher2/authConfigOpenLdap.go @@ -108,6 +108,25 @@ func NewAuthConfigOpenLdap(ctx *pulumi.Context, if args.UserSearchBase == nil { return nil, errors.New("invalid value for required argument 'UserSearchBase'") } + if args.Certificate != nil { + args.Certificate = pulumi.ToSecret(args.Certificate).(pulumi.StringPtrOutput) + } + if args.ServiceAccountDistinguishedName != nil { + args.ServiceAccountDistinguishedName = pulumi.ToSecret(args.ServiceAccountDistinguishedName).(pulumi.StringOutput) + } + if args.ServiceAccountPassword != nil { + args.ServiceAccountPassword = pulumi.ToSecret(args.ServiceAccountPassword).(pulumi.StringOutput) + } + if args.TestPassword != nil { + args.TestPassword = pulumi.ToSecret(args.TestPassword).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "certificate", + "serviceAccountDistinguishedName", + "serviceAccountPassword", + "testPassword", + }) + opts = append(opts, secrets) var resource AuthConfigOpenLdap err := ctx.RegisterResource("rancher2:index/authConfigOpenLdap:AuthConfigOpenLdap", name, args, &resource, opts...) if err != nil { @@ -481,6 +500,166 @@ func (o AuthConfigOpenLdapOutput) ToAuthConfigOpenLdapOutputWithContext(ctx cont return o } +// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) +func (o AuthConfigOpenLdapOutput) AccessMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringPtrOutput { return v.AccessMode }).(pulumi.StringPtrOutput) +} + +// Allowed principal ids for auth. Required if `accessMode` is `required` or `restricted`. Ex: `openldap_user://` `openldap_group://` (list) +func (o AuthConfigOpenLdapOutput) AllowedPrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringArrayOutput { return v.AllowedPrincipalIds }).(pulumi.StringArrayOutput) +} + +// Annotations of the resource (map) +func (o AuthConfigOpenLdapOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Base64 encoded CA certificate for TLS if self-signed. Use filebase64() for encoding file (string) +func (o AuthConfigOpenLdapOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringPtrOutput { return v.Certificate }).(pulumi.StringPtrOutput) +} + +// OpenLdap connection timeout. Default `5000` (int) +func (o AuthConfigOpenLdapOutput) ConnectionTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.IntPtrOutput { return v.ConnectionTimeout }).(pulumi.IntPtrOutput) +} + +// Enable auth config provider. Default `true` (bool) +func (o AuthConfigOpenLdapOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Group DN attribute. Default `entryDN` (string) +func (o AuthConfigOpenLdapOutput) GroupDnAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.GroupDnAttribute }).(pulumi.StringOutput) +} + +// Group member mapping attribute. Default `member` (string) +func (o AuthConfigOpenLdapOutput) GroupMemberMappingAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.GroupMemberMappingAttribute }).(pulumi.StringOutput) +} + +// Group member user attribute. Default `entryDN` (string) +func (o AuthConfigOpenLdapOutput) GroupMemberUserAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.GroupMemberUserAttribute }).(pulumi.StringOutput) +} + +// Group name attribute. Default `cn` (string) +func (o AuthConfigOpenLdapOutput) GroupNameAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.GroupNameAttribute }).(pulumi.StringOutput) +} + +// Group object class. Default `groupOfNames` (string) +func (o AuthConfigOpenLdapOutput) GroupObjectClass() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.GroupObjectClass }).(pulumi.StringOutput) +} + +// Group search attribute. Default `cn` (string) +func (o AuthConfigOpenLdapOutput) GroupSearchAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.GroupSearchAttribute }).(pulumi.StringOutput) +} + +// Group search base (string) +func (o AuthConfigOpenLdapOutput) GroupSearchBase() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.GroupSearchBase }).(pulumi.StringOutput) +} + +// Labels of the resource (map) +func (o AuthConfigOpenLdapOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) The name of the resource (string) +func (o AuthConfigOpenLdapOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Nested group membership enable. Default `false` (bool) +func (o AuthConfigOpenLdapOutput) NestedGroupMembershipEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.BoolOutput { return v.NestedGroupMembershipEnabled }).(pulumi.BoolOutput) +} + +// OpenLdap port. Default `389` (int) +func (o AuthConfigOpenLdapOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.IntPtrOutput { return v.Port }).(pulumi.IntPtrOutput) +} + +// OpenLdap servers list (list) +func (o AuthConfigOpenLdapOutput) Servers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringArrayOutput { return v.Servers }).(pulumi.StringArrayOutput) +} + +// Service account DN for access OpenLdap service (string) +func (o AuthConfigOpenLdapOutput) ServiceAccountDistinguishedName() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.ServiceAccountDistinguishedName }).(pulumi.StringOutput) +} + +// Service account password for access OpenLdap service (string) +func (o AuthConfigOpenLdapOutput) ServiceAccountPassword() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.ServiceAccountPassword }).(pulumi.StringOutput) +} + +// 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) +} + +// Username for test access to OpenLdap service (string) +func (o AuthConfigOpenLdapOutput) TestUsername() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.TestUsername }).(pulumi.StringOutput) +} + +// Enable TLS connection (bool) +func (o AuthConfigOpenLdapOutput) Tls() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.BoolOutput { return v.Tls }).(pulumi.BoolOutput) +} + +// (Computed) The type of the resource (string) +func (o AuthConfigOpenLdapOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// User disabled bit mask (int) +func (o AuthConfigOpenLdapOutput) UserDisabledBitMask() pulumi.IntOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.IntOutput { return v.UserDisabledBitMask }).(pulumi.IntOutput) +} + +// User enable attribute (string) +func (o AuthConfigOpenLdapOutput) UserEnabledAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.UserEnabledAttribute }).(pulumi.StringOutput) +} + +// User login attribute. Default `uid` (string) +func (o AuthConfigOpenLdapOutput) UserLoginAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.UserLoginAttribute }).(pulumi.StringOutput) +} + +// User member attribute. Default `memberOf` (string) +func (o AuthConfigOpenLdapOutput) UserMemberAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.UserMemberAttribute }).(pulumi.StringOutput) +} + +// User name attribute. Default `givenName` (string) +func (o AuthConfigOpenLdapOutput) UserNameAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.UserNameAttribute }).(pulumi.StringOutput) +} + +// User object class. Default `inetorgperson` (string) +func (o AuthConfigOpenLdapOutput) UserObjectClass() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.UserObjectClass }).(pulumi.StringOutput) +} + +// User search attribute. Default `uid|sn|givenName` (string) +func (o AuthConfigOpenLdapOutput) UserSearchAttribute() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.UserSearchAttribute }).(pulumi.StringOutput) +} + +// User search base DN (string) +func (o AuthConfigOpenLdapOutput) UserSearchBase() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigOpenLdap) pulumi.StringOutput { return v.UserSearchBase }).(pulumi.StringOutput) +} + type AuthConfigOpenLdapArrayOutput struct{ *pulumi.OutputState } func (AuthConfigOpenLdapArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/authConfigPing.go b/sdk/go/rancher2/authConfigPing.go index a78670897..898adaeea 100644 --- a/sdk/go/rancher2/authConfigPing.go +++ b/sdk/go/rancher2/authConfigPing.go @@ -113,6 +113,21 @@ func NewAuthConfigPing(ctx *pulumi.Context, if args.UserNameField == nil { return nil, errors.New("invalid value for required argument 'UserNameField'") } + if args.IdpMetadataContent != nil { + args.IdpMetadataContent = pulumi.ToSecret(args.IdpMetadataContent).(pulumi.StringOutput) + } + if args.SpCert != nil { + args.SpCert = pulumi.ToSecret(args.SpCert).(pulumi.StringOutput) + } + if args.SpKey != nil { + args.SpKey = pulumi.ToSecret(args.SpKey).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "idpMetadataContent", + "spCert", + "spKey", + }) + opts = append(opts, secrets) var resource AuthConfigPing err := ctx.RegisterResource("rancher2:index/authConfigPing:AuthConfigPing", name, args, &resource, opts...) if err != nil { @@ -350,6 +365,81 @@ func (o AuthConfigPingOutput) ToAuthConfigPingOutputWithContext(ctx context.Cont return o } +// Access mode for auth. `required`, `restricted`, `unrestricted` are supported. Default `unrestricted` (string) +func (o AuthConfigPingOutput) AccessMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringPtrOutput { return v.AccessMode }).(pulumi.StringPtrOutput) +} + +// Allowed principal ids for auth. Required if `accessMode` is `required` or `restricted`. Ex: `ping_user://` `ping_group://` (list) +func (o AuthConfigPingOutput) AllowedPrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringArrayOutput { return v.AllowedPrincipalIds }).(pulumi.StringArrayOutput) +} + +// Annotations of the resource (map) +func (o AuthConfigPingOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Ping display name field (string) +func (o AuthConfigPingOutput) DisplayNameField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringOutput { return v.DisplayNameField }).(pulumi.StringOutput) +} + +// Enable auth config provider. Default `true` (bool) +func (o AuthConfigPingOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Ping group field (string) +func (o AuthConfigPingOutput) GroupsField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringOutput { return v.GroupsField }).(pulumi.StringOutput) +} + +// Ping IDP metadata content (string) +func (o AuthConfigPingOutput) IdpMetadataContent() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringOutput { return v.IdpMetadataContent }).(pulumi.StringOutput) +} + +// Labels of the resource (map) +func (o AuthConfigPingOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) The name of the resource (string) +func (o AuthConfigPingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Rancher URL. URL scheme needs to be specified, `https://` (string) +func (o AuthConfigPingOutput) RancherApiHost() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringOutput { return v.RancherApiHost }).(pulumi.StringOutput) +} + +// Ping SP cert (string) +func (o AuthConfigPingOutput) SpCert() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringOutput { return v.SpCert }).(pulumi.StringOutput) +} + +// Ping SP key (string) +func (o AuthConfigPingOutput) SpKey() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringOutput { return v.SpKey }).(pulumi.StringOutput) +} + +// (Computed) The type of the resource (string) +func (o AuthConfigPingOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// Ping UID field (string) +func (o AuthConfigPingOutput) UidField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringOutput { return v.UidField }).(pulumi.StringOutput) +} + +// Ping user name field (string) +func (o AuthConfigPingOutput) UserNameField() pulumi.StringOutput { + return o.ApplyT(func(v *AuthConfigPing) pulumi.StringOutput { return v.UserNameField }).(pulumi.StringOutput) +} + type AuthConfigPingArrayOutput struct{ *pulumi.OutputState } func (AuthConfigPingArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/bootstrap.go b/sdk/go/rancher2/bootstrap.go index 772a691ce..c477bfa75 100644 --- a/sdk/go/rancher2/bootstrap.go +++ b/sdk/go/rancher2/bootstrap.go @@ -69,16 +69,15 @@ import ( // import ( // // "github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2" -// "github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2/providers" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := providers.Newrancher2(ctx, "bootstrap", &providers.rancher2Args{ -// ApiUrl: "https://rancher.my-domain.com", -// Bootstrap: true, +// _, err := rancher2.NewProvider(ctx, "bootstrap", &rancher2.ProviderArgs{ +// ApiUrl: pulumi.String("https://rancher.my-domain.com"), +// Bootstrap: pulumi.Bool(true), // }) // if err != nil { // return err @@ -133,6 +132,20 @@ func NewBootstrap(ctx *pulumi.Context, args = &BootstrapArgs{} } + if args.InitialPassword != nil { + args.InitialPassword = pulumi.ToSecret(args.InitialPassword).(pulumi.StringPtrOutput) + } + if args.Password != nil { + args.Password = pulumi.ToSecret(args.Password).(pulumi.StringPtrOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "currentPassword", + "initialPassword", + "password", + "tempToken", + "token", + }) + opts = append(opts, secrets) var resource Bootstrap err := ctx.RegisterResource("rancher2:index/bootstrap:Bootstrap", name, args, &resource, opts...) if err != nil { @@ -334,6 +347,71 @@ func (o BootstrapOutput) ToBootstrapOutputWithContext(ctx context.Context) Boots return o } +// (Computed/Sensitive) Current password for Admin user (string) +func (o BootstrapOutput) CurrentPassword() pulumi.StringOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.StringOutput { return v.CurrentPassword }).(pulumi.StringOutput) +} + +// Initial password for Admin user. Default: `admin` (string) +func (o BootstrapOutput) InitialPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.StringPtrOutput { return v.InitialPassword }).(pulumi.StringPtrOutput) +} + +// Password for Admin user or random generated if empty (string) +func (o BootstrapOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// Send telemetry anonymous data. Default: `false` (bool) +func (o BootstrapOutput) Telemetry() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.BoolPtrOutput { return v.Telemetry }).(pulumi.BoolPtrOutput) +} + +// (Computed) Generated API temporary token as helper. Should be empty (string) +func (o BootstrapOutput) TempToken() pulumi.StringOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.StringOutput { return v.TempToken }).(pulumi.StringOutput) +} + +// (Computed) Generated API temporary token id as helper. Should be empty (string) +func (o BootstrapOutput) TempTokenId() pulumi.StringOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.StringOutput { return v.TempTokenId }).(pulumi.StringOutput) +} + +// (Computed) Generated API token for Admin User (string) +func (o BootstrapOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.StringOutput { return v.Token }).(pulumi.StringOutput) +} + +// (Computed) Generated API token id for Admin User (string) +func (o BootstrapOutput) TokenId() pulumi.StringOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.StringOutput { return v.TokenId }).(pulumi.StringOutput) +} + +// TTL in seconds for generated admin token. Default: `0` (int) +func (o BootstrapOutput) TokenTtl() pulumi.IntPtrOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.IntPtrOutput { return v.TokenTtl }).(pulumi.IntPtrOutput) +} + +// Regenerate admin token. Default: `false` (bool) +func (o BootstrapOutput) TokenUpdate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.BoolPtrOutput { return v.TokenUpdate }).(pulumi.BoolPtrOutput) +} + +// Default UI landing for k8s clusters. Available options: `ember` (cluster manager ui) and `vue` (cluster explorer ui). Default: `ember` (string) +func (o BootstrapOutput) UiDefaultLanding() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.StringPtrOutput { return v.UiDefaultLanding }).(pulumi.StringPtrOutput) +} + +// (Computed) URL set as server-url (string) +func (o BootstrapOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) +} + +// (Computed) Admin username (string) +func (o BootstrapOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v *Bootstrap) pulumi.StringOutput { return v.User }).(pulumi.StringOutput) +} + type BootstrapArrayOutput struct{ *pulumi.OutputState } func (BootstrapArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/catalog.go b/sdk/go/rancher2/catalog.go index 096288535..fd0ba80b8 100644 --- a/sdk/go/rancher2/catalog.go +++ b/sdk/go/rancher2/catalog.go @@ -105,6 +105,17 @@ func NewCatalog(ctx *pulumi.Context, if args.Url == nil { return nil, errors.New("invalid value for required argument 'Url'") } + if args.Password != nil { + args.Password = pulumi.ToSecret(args.Password).(pulumi.StringPtrOutput) + } + if args.Username != nil { + args.Username = pulumi.ToSecret(args.Username).(pulumi.StringPtrOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + "username", + }) + opts = append(opts, secrets) var resource Catalog err := ctx.RegisterResource("rancher2:index/catalog:Catalog", name, args, &resource, opts...) if err != nil { @@ -342,6 +353,76 @@ func (o CatalogOutput) ToCatalogOutputWithContext(ctx context.Context) CatalogOu return o } +// Annotations for the catalog (map) +func (o CatalogOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Catalog) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The branch of the catalog repo to use. Default `master` (string) +func (o CatalogOutput) Branch() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringPtrOutput { return v.Branch }).(pulumi.StringPtrOutput) +} + +// The cluster id of the catalog. Mandatory if `scope = cluster` (string) +func (o CatalogOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringPtrOutput { return v.ClusterId }).(pulumi.StringPtrOutput) +} + +// A catalog description (string) +func (o CatalogOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// The kind of the catalog. Just helm by the moment (string) +func (o CatalogOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringPtrOutput { return v.Kind }).(pulumi.StringPtrOutput) +} + +// Labels for the catalog (map) +func (o CatalogOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Catalog) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the catalog (string) +func (o CatalogOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The password to access the catalog if needed (string) +func (o CatalogOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringPtrOutput { return v.Password }).(pulumi.StringPtrOutput) +} + +// The project id of the catalog. Mandatory if `scope = project` (string) +func (o CatalogOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringPtrOutput { return v.ProjectId }).(pulumi.StringPtrOutput) +} + +// Catalog will wait for refresh after tf creation and on every tf read. Default `false` (bool) +func (o CatalogOutput) Refresh() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Catalog) pulumi.BoolPtrOutput { return v.Refresh }).(pulumi.BoolPtrOutput) +} + +// The scope of the catalog. `cluster`, `global`, and `project` are supported. Default `global` (string) +func (o CatalogOutput) Scope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringPtrOutput { return v.Scope }).(pulumi.StringPtrOutput) +} + +// The url of the catalog repo (string) +func (o CatalogOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) +} + +// The username to access the catalog if needed (string) +func (o CatalogOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringPtrOutput { return v.Username }).(pulumi.StringPtrOutput) +} + +// Helm version for the catalog. Available options: `helmV2` and `helmV3` (string) +func (o CatalogOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v *Catalog) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput) +} + type CatalogArrayOutput struct{ *pulumi.OutputState } func (CatalogArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/catalogV2.go b/sdk/go/rancher2/catalogV2.go index 83e6e9e2d..c02fcddfd 100644 --- a/sdk/go/rancher2/catalogV2.go +++ b/sdk/go/rancher2/catalogV2.go @@ -308,6 +308,81 @@ func (o CatalogV2Output) ToCatalogV2OutputWithContext(ctx context.Context) Catal return o } +// Annotations for the catalog v2 (map) +func (o CatalogV2Output) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// PEM encoded CA bundle which will be used to validate the repo's certificate (string) +func (o CatalogV2Output) CaBundle() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringPtrOutput { return v.CaBundle }).(pulumi.StringPtrOutput) +} + +// The cluster id of the catalog V2 (string) +func (o CatalogV2Output) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// If disabled the repo clone will not be updated or allowed to be installed from. Default: `true` (bool) +func (o CatalogV2Output) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Git Repository branch containing Helm chart definitions. Default `master` (string) +func (o CatalogV2Output) GitBranch() pulumi.StringOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringOutput { return v.GitBranch }).(pulumi.StringOutput) +} + +// The url of the catalog v2 repo. Conflicts with `url` (string) +func (o CatalogV2Output) GitRepo() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringPtrOutput { return v.GitRepo }).(pulumi.StringPtrOutput) +} + +// Use insecure HTTPS to download the repo's index. Default: `false` (bool) +func (o CatalogV2Output) Insecure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.BoolPtrOutput { return v.Insecure }).(pulumi.BoolPtrOutput) +} + +// Labels for the catalog v2 (map) +func (o CatalogV2Output) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the catalog v2 (string) +func (o CatalogV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// (Computed) The k8s resource version (string) +func (o CatalogV2Output) ResourceVersion() pulumi.StringOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringOutput { return v.ResourceVersion }).(pulumi.StringOutput) +} + +// K8s secret name to be used to connect to the repo (string) +func (o CatalogV2Output) SecretName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringPtrOutput { return v.SecretName }).(pulumi.StringPtrOutput) +} + +// K8s secret namespace (string) +func (o CatalogV2Output) SecretNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringPtrOutput { return v.SecretNamespace }).(pulumi.StringPtrOutput) +} + +// K8s service account used to deploy charts instead of the end users credentials (string) +func (o CatalogV2Output) ServiceAccount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringPtrOutput { return v.ServiceAccount }).(pulumi.StringPtrOutput) +} + +// The username to access the catalog if needed (string) +func (o CatalogV2Output) ServiceAccountNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringPtrOutput { return v.ServiceAccountNamespace }).(pulumi.StringPtrOutput) +} + +// URL to an index generated by Helm. Conflicts with `gitRepo` (string) +func (o CatalogV2Output) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CatalogV2) pulumi.StringPtrOutput { return v.Url }).(pulumi.StringPtrOutput) +} + type CatalogV2ArrayOutput struct{ *pulumi.OutputState } func (CatalogV2ArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/certificate.go b/sdk/go/rancher2/certificate.go index d79236db6..5d1bf663f 100644 --- a/sdk/go/rancher2/certificate.go +++ b/sdk/go/rancher2/certificate.go @@ -53,6 +53,13 @@ func NewCertificate(ctx *pulumi.Context, if args.ProjectId == nil { return nil, errors.New("invalid value for required argument 'ProjectId'") } + if args.Key != nil { + args.Key = pulumi.ToSecret(args.Key).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "key", + }) + opts = append(opts, secrets) var resource Certificate err := ctx.RegisterResource("rancher2:index/certificate:Certificate", name, args, &resource, opts...) if err != nil { @@ -242,6 +249,46 @@ func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) C return o } +// Annotations for certificate object (map) +func (o CertificateOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Certificate) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Base64 encoded public certs (string) +func (o CertificateOutput) Certs() pulumi.StringOutput { + return o.ApplyT(func(v *Certificate) pulumi.StringOutput { return v.Certs }).(pulumi.StringOutput) +} + +// A certificate description (string) +func (o CertificateOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Certificate) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Base64 encoded private key (string) +func (o CertificateOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v *Certificate) pulumi.StringOutput { return v.Key }).(pulumi.StringOutput) +} + +// Labels for certificate object (map) +func (o CertificateOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Certificate) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the certificate (string) +func (o CertificateOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Certificate) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The namespace id where the namespaced certificate should be created (string) +func (o CertificateOutput) NamespaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Certificate) pulumi.StringPtrOutput { return v.NamespaceId }).(pulumi.StringPtrOutput) +} + +// The project id where the certificate should be created (string) +func (o CertificateOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *Certificate) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + type CertificateArrayOutput struct{ *pulumi.OutputState } func (CertificateArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/cloudCredential.go b/sdk/go/rancher2/cloudCredential.go index 530578799..f44aef766 100644 --- a/sdk/go/rancher2/cloudCredential.go +++ b/sdk/go/rancher2/cloudCredential.go @@ -362,6 +362,90 @@ func (o CloudCredentialOutput) ToCloudCredentialOutputWithContext(ctx context.Co return o } +// AWS config for the Cloud Credential (list maxitems:1) +func (o CloudCredentialOutput) Amazonec2CredentialConfig() CloudCredentialAmazonec2CredentialConfigPtrOutput { + return o.ApplyT(func(v *CloudCredential) CloudCredentialAmazonec2CredentialConfigPtrOutput { + return v.Amazonec2CredentialConfig + }).(CloudCredentialAmazonec2CredentialConfigPtrOutput) +} + +// Annotations for Cloud Credential object (map) +func (o CloudCredentialOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *CloudCredential) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Azure config for the Cloud Credential (list maxitems:1) +func (o CloudCredentialOutput) AzureCredentialConfig() CloudCredentialAzureCredentialConfigPtrOutput { + return o.ApplyT(func(v *CloudCredential) CloudCredentialAzureCredentialConfigPtrOutput { return v.AzureCredentialConfig }).(CloudCredentialAzureCredentialConfigPtrOutput) +} + +// Description for the Cloud Credential (string) +func (o CloudCredentialOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudCredential) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// DigitalOcean config for the Cloud Credential (list maxitems:1) +func (o CloudCredentialOutput) DigitaloceanCredentialConfig() CloudCredentialDigitaloceanCredentialConfigPtrOutput { + return o.ApplyT(func(v *CloudCredential) CloudCredentialDigitaloceanCredentialConfigPtrOutput { + return v.DigitaloceanCredentialConfig + }).(CloudCredentialDigitaloceanCredentialConfigPtrOutput) +} + +// (Computed) The driver of the Cloud Credential (string) +func (o CloudCredentialOutput) Driver() pulumi.StringOutput { + return o.ApplyT(func(v *CloudCredential) pulumi.StringOutput { return v.Driver }).(pulumi.StringOutput) +} + +// Google config for the Cloud Credential (list maxitems:1) +func (o CloudCredentialOutput) GoogleCredentialConfig() CloudCredentialGoogleCredentialConfigPtrOutput { + return o.ApplyT(func(v *CloudCredential) CloudCredentialGoogleCredentialConfigPtrOutput { + return v.GoogleCredentialConfig + }).(CloudCredentialGoogleCredentialConfigPtrOutput) +} + +// Harvester config for the Cloud Credential (list maxitems:1) +func (o CloudCredentialOutput) HarvesterCredentialConfig() CloudCredentialHarvesterCredentialConfigPtrOutput { + return o.ApplyT(func(v *CloudCredential) CloudCredentialHarvesterCredentialConfigPtrOutput { + return v.HarvesterCredentialConfig + }).(CloudCredentialHarvesterCredentialConfigPtrOutput) +} + +// Labels for Cloud Credential object (map) +func (o CloudCredentialOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *CloudCredential) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Linode config for the Cloud Credential (list maxitems:1) +func (o CloudCredentialOutput) LinodeCredentialConfig() CloudCredentialLinodeCredentialConfigPtrOutput { + return o.ApplyT(func(v *CloudCredential) CloudCredentialLinodeCredentialConfigPtrOutput { + return v.LinodeCredentialConfig + }).(CloudCredentialLinodeCredentialConfigPtrOutput) +} + +// The name of the Cloud Credential (string) +func (o CloudCredentialOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudCredential) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// OpenStack config for the Cloud Credential (list maxitems:1) +func (o CloudCredentialOutput) OpenstackCredentialConfig() CloudCredentialOpenstackCredentialConfigPtrOutput { + return o.ApplyT(func(v *CloudCredential) CloudCredentialOpenstackCredentialConfigPtrOutput { + return v.OpenstackCredentialConfig + }).(CloudCredentialOpenstackCredentialConfigPtrOutput) +} + +// S3 config for the Cloud Credential. Just for Rancher 2.6.0 and above (list maxitems:1) +func (o CloudCredentialOutput) S3CredentialConfig() CloudCredentialS3CredentialConfigPtrOutput { + return o.ApplyT(func(v *CloudCredential) CloudCredentialS3CredentialConfigPtrOutput { return v.S3CredentialConfig }).(CloudCredentialS3CredentialConfigPtrOutput) +} + +// vSphere config for the Cloud Credential (list maxitems:1) +func (o CloudCredentialOutput) VsphereCredentialConfig() CloudCredentialVsphereCredentialConfigPtrOutput { + return o.ApplyT(func(v *CloudCredential) CloudCredentialVsphereCredentialConfigPtrOutput { + return v.VsphereCredentialConfig + }).(CloudCredentialVsphereCredentialConfigPtrOutput) +} + type CloudCredentialArrayOutput struct{ *pulumi.OutputState } func (CloudCredentialArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/cluster.go b/sdk/go/rancher2/cluster.go index 5cc75b8f1..e97842e60 100644 --- a/sdk/go/rancher2/cluster.go +++ b/sdk/go/rancher2/cluster.go @@ -345,7 +345,23 @@ import ( // MaxBackup: pulumi.Int(5), // MaxSize: pulumi.Int(100), // Path: pulumi.String("-"), -// Policy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "apiVersion: audit.k8s.io/v1\n", "kind: Policy\n", "metadata:\n", " creationTimestamp: null\n", "omitStages:\n", "- RequestReceived\n", "rules:\n", "- level: RequestResponse\n", " resources:\n", " - resources:\n", " - pods\n", "\n")), +// Policy: pulumi.String(fmt.Sprintf(`apiVersion: audit.k8s.io/v1 +// +// kind: Policy +// metadata: +// +// creationTimestamp: null +// +// omitStages: +// - RequestReceived +// rules: +// - level: RequestResponse +// resources: +// - resources: +// - pods +// +// `)), +// // }, // Enabled: pulumi.Bool(true), // }, @@ -353,7 +369,7 @@ import ( // }, // UpgradeStrategy: &ClusterRkeConfigUpgradeStrategyArgs{ // Drain: pulumi.Bool(true), -// MaxUnavailableWorker: pulumi.String(fmt.Sprintf("%v%v", "20", "%")), +// MaxUnavailableWorker: pulumi.String(fmt.Sprintf("20%v", "%")), // }, // }, // }) @@ -574,7 +590,7 @@ import ( // } // // ``` -// ### Creating AKS cluster from Rancher v2, using `aksConfigV2`. For Rancher v2.6.0 or above (Tech preview) +// ### Creating AKS cluster from Rancher v2, using `aksConfigV2`. For Rancher v2.6.0 or above. // // ```go // package main @@ -733,6 +749,11 @@ func NewCluster(ctx *pulumi.Context, args = &ClusterArgs{} } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "caCert", + "kubeConfig", + }) + opts = append(opts, secrets) var resource Cluster err := ctx.RegisterResource("rancher2:index/cluster:Cluster", name, args, &resource, opts...) if err != nil { @@ -1146,6 +1167,203 @@ func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOu return o } +// Optional Agent Env Vars for Rancher agent. Just for Rancher v2.5.6 and above (list) +func (o ClusterOutput) AgentEnvVars() ClusterAgentEnvVarArrayOutput { + return o.ApplyT(func(v *Cluster) ClusterAgentEnvVarArrayOutput { return v.AgentEnvVars }).(ClusterAgentEnvVarArrayOutput) +} + +// The Azure AKS configuration for `aks` Clusters. Conflicts with `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `gkeConfigV2`, `okeConfig` `k3sConfig` and `rkeConfig` (list maxitems:1) +func (o ClusterOutput) AksConfig() ClusterAksConfigPtrOutput { + return o.ApplyT(func(v *Cluster) ClusterAksConfigPtrOutput { return v.AksConfig }).(ClusterAksConfigPtrOutput) +} + +// The Azure AKS v2 configuration for creating/import `aks` Clusters. Conflicts with `aksConfig`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `gkeConfigV2`, `okeConfig` `k3sConfig` and `rkeConfig` (list maxitems:1) +func (o ClusterOutput) AksConfigV2() ClusterAksConfigV2PtrOutput { + return o.ApplyT(func(v *Cluster) ClusterAksConfigV2PtrOutput { return v.AksConfigV2 }).(ClusterAksConfigV2PtrOutput) +} + +// Annotations for cluster registration token object (map) +func (o ClusterOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Cluster) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// TLS CA certificate for etcd service (string) +func (o ClusterOutput) CaCert() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.CaCert }).(pulumi.StringOutput) +} + +// Enabling the [local cluster authorized endpoint](https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/#local-cluster-auth-endpoint) allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1) +func (o ClusterOutput) ClusterAuthEndpoint() ClusterClusterAuthEndpointOutput { + return o.ApplyT(func(v *Cluster) ClusterClusterAuthEndpointOutput { return v.ClusterAuthEndpoint }).(ClusterClusterAuthEndpointOutput) +} + +// Cluster monitoring config. Any parameter defined in [rancher-monitoring charts](https://github.com/rancher/system-charts/tree/dev/charts/rancher-monitoring) could be configured (list maxitems:1) +func (o ClusterOutput) ClusterMonitoringInput() ClusterClusterMonitoringInputPtrOutput { + return o.ApplyT(func(v *Cluster) ClusterClusterMonitoringInputPtrOutput { return v.ClusterMonitoringInput }).(ClusterClusterMonitoringInputPtrOutput) +} + +// (Computed) Cluster Registration Token generated for the cluster (list maxitems:1) +func (o ClusterOutput) ClusterRegistrationToken() ClusterClusterRegistrationTokenOutput { + return o.ApplyT(func(v *Cluster) ClusterClusterRegistrationTokenOutput { return v.ClusterRegistrationToken }).(ClusterClusterRegistrationTokenOutput) +} + +// Cluster template answers. Just for Rancher v2.3.x and above (list maxitems:1) +func (o ClusterOutput) ClusterTemplateAnswers() ClusterClusterTemplateAnswersOutput { + return o.ApplyT(func(v *Cluster) ClusterClusterTemplateAnswersOutput { return v.ClusterTemplateAnswers }).(ClusterClusterTemplateAnswersOutput) +} + +// Cluster template ID. Just for Rancher v2.3.x and above (string) +func (o ClusterOutput) ClusterTemplateId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringPtrOutput { return v.ClusterTemplateId }).(pulumi.StringPtrOutput) +} + +// Cluster template questions. Just for Rancher v2.3.x and above (list) +func (o ClusterOutput) ClusterTemplateQuestions() ClusterClusterTemplateQuestionArrayOutput { + return o.ApplyT(func(v *Cluster) ClusterClusterTemplateQuestionArrayOutput { return v.ClusterTemplateQuestions }).(ClusterClusterTemplateQuestionArrayOutput) +} + +// Cluster template revision ID. Just for Rancher v2.3.x and above (string) +func (o ClusterOutput) ClusterTemplateRevisionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringPtrOutput { return v.ClusterTemplateRevisionId }).(pulumi.StringPtrOutput) +} + +// [Default pod security policy template id](https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/#pod-security-policy-support) (string) +func (o ClusterOutput) DefaultPodSecurityPolicyTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.DefaultPodSecurityPolicyTemplateId }).(pulumi.StringOutput) +} + +// (Computed) Default project ID for the cluster (string) +func (o ClusterOutput) DefaultProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.DefaultProjectId }).(pulumi.StringOutput) +} + +// An optional description of this cluster (string) +func (o ClusterOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Desired agent image. Just for Rancher v2.3.x and above (string) +func (o ClusterOutput) DesiredAgentImage() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.DesiredAgentImage }).(pulumi.StringOutput) +} + +// Desired auth image. Just for Rancher v2.3.x and above (string) +func (o ClusterOutput) DesiredAuthImage() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.DesiredAuthImage }).(pulumi.StringOutput) +} + +// Desired auth image. Just for Rancher v2.3.x and above (string) +func (o ClusterOutput) DockerRootDir() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.DockerRootDir }).(pulumi.StringOutput) +} + +// (Computed) The driver used for the Cluster. `imported`, `azurekubernetesservice`, `amazonelasticcontainerservice`, `googlekubernetesengine` and `rancherKubernetesEngine` are supported (string) +func (o ClusterOutput) Driver() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.Driver }).(pulumi.StringOutput) +} + +// The Amazon EKS configuration for `eks` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfigV2`, `gkeConfig`, `gkeConfigV2`, `okeConfig` `k3sConfig` and `rkeConfig` (list maxitems:1) +func (o ClusterOutput) EksConfig() ClusterEksConfigPtrOutput { + return o.ApplyT(func(v *Cluster) ClusterEksConfigPtrOutput { return v.EksConfig }).(ClusterEksConfigPtrOutput) +} + +// The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aksConfig`, `eksConfig`, `gkeConfig`, `gkeConfigV2`, `okeConfig` `k3sConfig` and `rkeConfig`. For Rancher v2.5.x or above (list maxitems:1) +func (o ClusterOutput) EksConfigV2() ClusterEksConfigV2Output { + return o.ApplyT(func(v *Cluster) ClusterEksConfigV2Output { return v.EksConfigV2 }).(ClusterEksConfigV2Output) +} + +// Enable built-in cluster alerting (bool) +func (o ClusterOutput) EnableClusterAlerting() pulumi.BoolOutput { + return o.ApplyT(func(v *Cluster) pulumi.BoolOutput { return v.EnableClusterAlerting }).(pulumi.BoolOutput) +} + +// Deploy istio on `system` project and `istio-system` namespace, using App resource instead. See above example. +// +// Deprecated: Deploy istio using rancher2_app resource instead +func (o ClusterOutput) EnableClusterIstio() pulumi.BoolOutput { + return o.ApplyT(func(v *Cluster) pulumi.BoolOutput { return v.EnableClusterIstio }).(pulumi.BoolOutput) +} + +// Enable built-in cluster monitoring (bool) +func (o ClusterOutput) EnableClusterMonitoring() pulumi.BoolOutput { + return o.ApplyT(func(v *Cluster) pulumi.BoolOutput { return v.EnableClusterMonitoring }).(pulumi.BoolOutput) +} + +// Enable project network isolation (bool) +func (o ClusterOutput) EnableNetworkPolicy() pulumi.BoolOutput { + return o.ApplyT(func(v *Cluster) pulumi.BoolOutput { return v.EnableNetworkPolicy }).(pulumi.BoolOutput) +} + +// Fleet workspace name (string) +func (o ClusterOutput) FleetWorkspaceName() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.FleetWorkspaceName }).(pulumi.StringOutput) +} + +// The Google GKE configuration for `gke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfigV2`, `okeConfig`, `k3sConfig` and `rkeConfig` (list maxitems:1) +func (o ClusterOutput) GkeConfig() ClusterGkeConfigPtrOutput { + return o.ApplyT(func(v *Cluster) ClusterGkeConfigPtrOutput { return v.GkeConfig }).(ClusterGkeConfigPtrOutput) +} + +// The Google GKE V2 configuration for `gke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `okeConfig`, `k3sConfig` and `rkeConfig`. For Rancher v2.5.8 or above (list maxitems:1) +func (o ClusterOutput) GkeConfigV2() ClusterGkeConfigV2PtrOutput { + return o.ApplyT(func(v *Cluster) ClusterGkeConfigV2PtrOutput { return v.GkeConfigV2 }).(ClusterGkeConfigV2PtrOutput) +} + +// (Computed) Is istio enabled at cluster? Just for Rancher v2.3.x and above (bool) +func (o ClusterOutput) IstioEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *Cluster) pulumi.BoolOutput { return v.IstioEnabled }).(pulumi.BoolOutput) +} + +// The K3S configuration for `k3s` imported Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `gkeConfigV2`, `okeConfig` and `rkeConfig` (list maxitems:1) +func (o ClusterOutput) K3sConfig() ClusterK3sConfigOutput { + return o.ApplyT(func(v *Cluster) ClusterK3sConfigOutput { return v.K3sConfig }).(ClusterK3sConfigOutput) +} + +// (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has `clusterAuthEndpoint` enabled, the kubeConfig will not be available until the cluster is `connected` (string) +func (o ClusterOutput) KubeConfig() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.KubeConfig }).(pulumi.StringOutput) +} + +// Labels for cluster registration token object (map) +func (o ClusterOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Cluster) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Name of cluster registration token (string) +func (o ClusterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The Oracle OKE configuration for `oke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `gkeConfigV2`, `k3sConfig` and `rkeConfig` (list maxitems:1) +func (o ClusterOutput) OkeConfig() ClusterOkeConfigPtrOutput { + return o.ApplyT(func(v *Cluster) ClusterOkeConfigPtrOutput { return v.OkeConfig }).(ClusterOkeConfigPtrOutput) +} + +// The RKE2 configuration for `rke2` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `gkeConfig`, `okeConfig`, `k3sConfig` and `rkeConfig` (list maxitems:1) +func (o ClusterOutput) Rke2Config() ClusterRke2ConfigOutput { + return o.ApplyT(func(v *Cluster) ClusterRke2ConfigOutput { return v.Rke2Config }).(ClusterRke2ConfigOutput) +} + +// The RKE configuration for `rke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `gkeConfigV2`, `okeConfig` and `k3sConfig` (list maxitems:1) +func (o ClusterOutput) RkeConfig() ClusterRkeConfigOutput { + return o.ApplyT(func(v *Cluster) ClusterRkeConfigOutput { return v.RkeConfig }).(ClusterRkeConfigOutput) +} + +// Cluster scheduled cis scan. For Rancher v2.4.0 or above (List maxitems:1) +func (o ClusterOutput) ScheduledClusterScan() ClusterScheduledClusterScanOutput { + return o.ApplyT(func(v *Cluster) ClusterScheduledClusterScanOutput { return v.ScheduledClusterScan }).(ClusterScheduledClusterScanOutput) +} + +// (Computed) System project ID for the cluster (string) +func (o ClusterOutput) SystemProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *Cluster) pulumi.StringOutput { return v.SystemProjectId }).(pulumi.StringOutput) +} + +// Windows preferred cluster. Default: `false` (bool) +func (o ClusterOutput) WindowsPreferedCluster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Cluster) pulumi.BoolPtrOutput { return v.WindowsPreferedCluster }).(pulumi.BoolPtrOutput) +} + type ClusterArrayOutput struct{ *pulumi.OutputState } func (ClusterArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/clusterAlertGroup.go b/sdk/go/rancher2/clusterAlertGroup.go index b455c21d7..2c99c25a6 100644 --- a/sdk/go/rancher2/clusterAlertGroup.go +++ b/sdk/go/rancher2/clusterAlertGroup.go @@ -287,6 +287,51 @@ func (o ClusterAlertGroupOutput) ToClusterAlertGroupOutputWithContext(ctx contex return o } +// The cluster alert group annotations (map) +func (o ClusterAlertGroupOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterAlertGroup) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id where create cluster alert group (string) +func (o ClusterAlertGroupOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterAlertGroup) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// The cluster alert group description (string) +func (o ClusterAlertGroupOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAlertGroup) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// The cluster alert group interval seconds. Default: `180` (int) +func (o ClusterAlertGroupOutput) GroupIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlertGroup) pulumi.IntPtrOutput { return v.GroupIntervalSeconds }).(pulumi.IntPtrOutput) +} + +// The cluster alert group wait seconds. Default: `180` (int) +func (o ClusterAlertGroupOutput) GroupWaitSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlertGroup) pulumi.IntPtrOutput { return v.GroupWaitSeconds }).(pulumi.IntPtrOutput) +} + +// The cluster alert group labels (map) +func (o ClusterAlertGroupOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterAlertGroup) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The cluster alert group name (string) +func (o ClusterAlertGroupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterAlertGroup) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The cluster alert group recipients (list) +func (o ClusterAlertGroupOutput) Recipients() ClusterAlertGroupRecipientArrayOutput { + return o.ApplyT(func(v *ClusterAlertGroup) ClusterAlertGroupRecipientArrayOutput { return v.Recipients }).(ClusterAlertGroupRecipientArrayOutput) +} + +// The cluster alert group wait seconds. Default: `3600` (int) +func (o ClusterAlertGroupOutput) RepeatIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlertGroup) pulumi.IntPtrOutput { return v.RepeatIntervalSeconds }).(pulumi.IntPtrOutput) +} + type ClusterAlertGroupArrayOutput struct{ *pulumi.OutputState } func (ClusterAlertGroupArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/clusterAlertRule.go b/sdk/go/rancher2/clusterAlertRule.go index fbc8db324..5f2a4ae4f 100644 --- a/sdk/go/rancher2/clusterAlertRule.go +++ b/sdk/go/rancher2/clusterAlertRule.go @@ -349,6 +349,76 @@ func (o ClusterAlertRuleOutput) ToClusterAlertRuleOutputWithContext(ctx context. return o } +// The cluster alert rule annotations (map) +func (o ClusterAlertRuleOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterAlertRule) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id where create cluster alert rule (string) +func (o ClusterAlertRuleOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterAlertRule) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// The cluster alert rule event rule. ConflictsWith: `"metricRule", "nodeRule", "systemServiceRule"“ (list Maxitems:1) +func (o ClusterAlertRuleOutput) EventRule() ClusterAlertRuleEventRulePtrOutput { + return o.ApplyT(func(v *ClusterAlertRule) ClusterAlertRuleEventRulePtrOutput { return v.EventRule }).(ClusterAlertRuleEventRulePtrOutput) +} + +// The cluster alert rule alert group ID (string) +func (o ClusterAlertRuleOutput) GroupId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterAlertRule) pulumi.StringOutput { return v.GroupId }).(pulumi.StringOutput) +} + +// The cluster alert rule group interval seconds. Default: `180` (int) +func (o ClusterAlertRuleOutput) GroupIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlertRule) pulumi.IntPtrOutput { return v.GroupIntervalSeconds }).(pulumi.IntPtrOutput) +} + +// The cluster alert rule group wait seconds. Default: `180` (int) +func (o ClusterAlertRuleOutput) GroupWaitSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlertRule) pulumi.IntPtrOutput { return v.GroupWaitSeconds }).(pulumi.IntPtrOutput) +} + +// The cluster alert rule inherited. Default: `true` (bool) +func (o ClusterAlertRuleOutput) Inherited() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterAlertRule) pulumi.BoolPtrOutput { return v.Inherited }).(pulumi.BoolPtrOutput) +} + +// The cluster alert rule labels (map) +func (o ClusterAlertRuleOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterAlertRule) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The cluster alert rule metric rule. ConflictsWith: `"eventRule", "nodeRule", "systemServiceRule"“ (list Maxitems:1) +func (o ClusterAlertRuleOutput) MetricRule() ClusterAlertRuleMetricRulePtrOutput { + return o.ApplyT(func(v *ClusterAlertRule) ClusterAlertRuleMetricRulePtrOutput { return v.MetricRule }).(ClusterAlertRuleMetricRulePtrOutput) +} + +// The cluster alert rule name (string) +func (o ClusterAlertRuleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterAlertRule) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The cluster alert rule node rule. ConflictsWith: `"eventRule", "metricRule", "systemServiceRule"“ (list Maxitems:1) +func (o ClusterAlertRuleOutput) NodeRule() ClusterAlertRuleNodeRulePtrOutput { + return o.ApplyT(func(v *ClusterAlertRule) ClusterAlertRuleNodeRulePtrOutput { return v.NodeRule }).(ClusterAlertRuleNodeRulePtrOutput) +} + +// The cluster alert rule wait seconds. Default: `3600` (int) +func (o ClusterAlertRuleOutput) RepeatIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlertRule) pulumi.IntPtrOutput { return v.RepeatIntervalSeconds }).(pulumi.IntPtrOutput) +} + +// The cluster alert rule severity. Supported values : `"critical" | "info" | "warning"`. Default: `critical` (string) +func (o ClusterAlertRuleOutput) Severity() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAlertRule) pulumi.StringPtrOutput { return v.Severity }).(pulumi.StringPtrOutput) +} + +// The cluster alert rule system service rule. ConflictsWith: `"eventRule", "metricRule", "nodeRule"` (list Maxitems:1) +func (o ClusterAlertRuleOutput) SystemServiceRule() ClusterAlertRuleSystemServiceRulePtrOutput { + return o.ApplyT(func(v *ClusterAlertRule) ClusterAlertRuleSystemServiceRulePtrOutput { return v.SystemServiceRule }).(ClusterAlertRuleSystemServiceRulePtrOutput) +} + type ClusterAlertRuleArrayOutput struct{ *pulumi.OutputState } func (ClusterAlertRuleArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/clusterAlterGroup.go b/sdk/go/rancher2/clusterAlterGroup.go index 3682894cd..d181e65c6 100644 --- a/sdk/go/rancher2/clusterAlterGroup.go +++ b/sdk/go/rancher2/clusterAlterGroup.go @@ -283,6 +283,51 @@ func (o ClusterAlterGroupOutput) ToClusterAlterGroupOutputWithContext(ctx contex return o } +// The cluster alert group annotations (map) +func (o ClusterAlterGroupOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterAlterGroup) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id where create cluster alert group (string) +func (o ClusterAlterGroupOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterAlterGroup) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// The cluster alert group description (string) +func (o ClusterAlterGroupOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAlterGroup) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// The cluster alert group interval seconds. Default: `180` (int) +func (o ClusterAlterGroupOutput) GroupIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlterGroup) pulumi.IntPtrOutput { return v.GroupIntervalSeconds }).(pulumi.IntPtrOutput) +} + +// The cluster alert group wait seconds. Default: `180` (int) +func (o ClusterAlterGroupOutput) GroupWaitSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlterGroup) pulumi.IntPtrOutput { return v.GroupWaitSeconds }).(pulumi.IntPtrOutput) +} + +// The cluster alert group labels (map) +func (o ClusterAlterGroupOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterAlterGroup) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The cluster alert group name (string) +func (o ClusterAlterGroupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterAlterGroup) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The cluster alert group recipients (list) +func (o ClusterAlterGroupOutput) Recipients() ClusterAlterGroupRecipientArrayOutput { + return o.ApplyT(func(v *ClusterAlterGroup) ClusterAlterGroupRecipientArrayOutput { return v.Recipients }).(ClusterAlterGroupRecipientArrayOutput) +} + +// The cluster alert group wait seconds. Default: `3600` (int) +func (o ClusterAlterGroupOutput) RepeatIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlterGroup) pulumi.IntPtrOutput { return v.RepeatIntervalSeconds }).(pulumi.IntPtrOutput) +} + type ClusterAlterGroupArrayOutput struct{ *pulumi.OutputState } func (ClusterAlterGroupArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/clusterAlterRule.go b/sdk/go/rancher2/clusterAlterRule.go index 90d790743..48a351670 100644 --- a/sdk/go/rancher2/clusterAlterRule.go +++ b/sdk/go/rancher2/clusterAlterRule.go @@ -336,6 +336,76 @@ func (o ClusterAlterRuleOutput) ToClusterAlterRuleOutputWithContext(ctx context. return o } +// The cluster alert group annotations (map) +func (o ClusterAlterRuleOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterAlterRule) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id where create cluster alert group (string) +func (o ClusterAlterRuleOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterAlterRule) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Alert event rule +func (o ClusterAlterRuleOutput) EventRule() ClusterAlterRuleEventRulePtrOutput { + return o.ApplyT(func(v *ClusterAlterRule) ClusterAlterRuleEventRulePtrOutput { return v.EventRule }).(ClusterAlterRuleEventRulePtrOutput) +} + +// Alert rule group ID +func (o ClusterAlterRuleOutput) GroupId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterAlterRule) pulumi.StringOutput { return v.GroupId }).(pulumi.StringOutput) +} + +// The cluster alert group interval seconds. Default: `180` (int) +func (o ClusterAlterRuleOutput) GroupIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlterRule) pulumi.IntPtrOutput { return v.GroupIntervalSeconds }).(pulumi.IntPtrOutput) +} + +// The cluster alert group wait seconds. Default: `180` (int) +func (o ClusterAlterRuleOutput) GroupWaitSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlterRule) pulumi.IntPtrOutput { return v.GroupWaitSeconds }).(pulumi.IntPtrOutput) +} + +// Alert rule inherited +func (o ClusterAlterRuleOutput) Inherited() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterAlterRule) pulumi.BoolPtrOutput { return v.Inherited }).(pulumi.BoolPtrOutput) +} + +// The cluster alert group labels (map) +func (o ClusterAlterRuleOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterAlterRule) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Alert metric rule +func (o ClusterAlterRuleOutput) MetricRule() ClusterAlterRuleMetricRulePtrOutput { + return o.ApplyT(func(v *ClusterAlterRule) ClusterAlterRuleMetricRulePtrOutput { return v.MetricRule }).(ClusterAlterRuleMetricRulePtrOutput) +} + +// The cluster alert group name (string) +func (o ClusterAlterRuleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterAlterRule) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Alert node rule +func (o ClusterAlterRuleOutput) NodeRule() ClusterAlterRuleNodeRulePtrOutput { + return o.ApplyT(func(v *ClusterAlterRule) ClusterAlterRuleNodeRulePtrOutput { return v.NodeRule }).(ClusterAlterRuleNodeRulePtrOutput) +} + +// The cluster alert group wait seconds. Default: `3600` (int) +func (o ClusterAlterRuleOutput) RepeatIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterAlterRule) pulumi.IntPtrOutput { return v.RepeatIntervalSeconds }).(pulumi.IntPtrOutput) +} + +// Alert rule severity +func (o ClusterAlterRuleOutput) Severity() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterAlterRule) pulumi.StringPtrOutput { return v.Severity }).(pulumi.StringPtrOutput) +} + +// Alert system service rule +func (o ClusterAlterRuleOutput) SystemServiceRule() ClusterAlterRuleSystemServiceRulePtrOutput { + return o.ApplyT(func(v *ClusterAlterRule) ClusterAlterRuleSystemServiceRulePtrOutput { return v.SystemServiceRule }).(ClusterAlterRuleSystemServiceRulePtrOutput) +} + type ClusterAlterRuleArrayOutput struct{ *pulumi.OutputState } func (ClusterAlterRuleArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/clusterDriver.go b/sdk/go/rancher2/clusterDriver.go index 04651723c..f44feb88d 100644 --- a/sdk/go/rancher2/clusterDriver.go +++ b/sdk/go/rancher2/clusterDriver.go @@ -268,6 +268,56 @@ func (o ClusterDriverOutput) ToClusterDriverOutputWithContext(ctx context.Contex return o } +// Specify the cluster driver state (bool) +func (o ClusterDriverOutput) Active() pulumi.BoolOutput { + return o.ApplyT(func(v *ClusterDriver) pulumi.BoolOutput { return v.Active }).(pulumi.BoolOutput) +} + +// Actual url of the cluster driver (string) +func (o ClusterDriverOutput) ActualUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterDriver) pulumi.StringPtrOutput { return v.ActualUrl }).(pulumi.StringPtrOutput) +} + +// Annotations of the resource (map) +func (o ClusterDriverOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterDriver) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Specify whether the cluster driver is an internal cluster driver or not (bool) +func (o ClusterDriverOutput) Builtin() pulumi.BoolOutput { + return o.ApplyT(func(v *ClusterDriver) pulumi.BoolOutput { return v.Builtin }).(pulumi.BoolOutput) +} + +// Verify that the downloaded driver matches the expected checksum (string) +func (o ClusterDriverOutput) Checksum() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterDriver) pulumi.StringPtrOutput { return v.Checksum }).(pulumi.StringPtrOutput) +} + +// Labels of the resource (map) +func (o ClusterDriverOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterDriver) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Name of the cluster driver (string) +func (o ClusterDriverOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterDriver) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The URL to load for customized Add Clusters screen for this driver (string) +func (o ClusterDriverOutput) UiUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterDriver) pulumi.StringPtrOutput { return v.UiUrl }).(pulumi.StringPtrOutput) +} + +// The URL to download the machine driver binary for 64-bit Linux (string) +func (o ClusterDriverOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterDriver) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) +} + +// Domains to whitelist for the ui (list) +func (o ClusterDriverOutput) WhitelistDomains() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterDriver) pulumi.StringArrayOutput { return v.WhitelistDomains }).(pulumi.StringArrayOutput) +} + type ClusterDriverArrayOutput struct{ *pulumi.OutputState } func (ClusterDriverArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/clusterLogging.go b/sdk/go/rancher2/clusterLogging.go index 1fb546eb4..9f3e3c1db 100644 --- a/sdk/go/rancher2/clusterLogging.go +++ b/sdk/go/rancher2/clusterLogging.go @@ -348,6 +348,81 @@ func (o ClusterLoggingOutput) ToClusterLoggingOutputWithContext(ctx context.Cont return o } +// Annotations for Cluster Logging object (map) +func (o ClusterLoggingOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterLogging) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id to configure logging (string) +func (o ClusterLoggingOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterLogging) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// The custom target config for Cluster Logging. For `kind = custom`. Conflicts with `elasticsearchConfig`, `fluentdConfig`, `kafkaConfig`, `splunkConfig` and `syslogConfig` (list maxitems:1) +func (o ClusterLoggingOutput) CustomTargetConfig() ClusterLoggingCustomTargetConfigPtrOutput { + return o.ApplyT(func(v *ClusterLogging) ClusterLoggingCustomTargetConfigPtrOutput { return v.CustomTargetConfig }).(ClusterLoggingCustomTargetConfigPtrOutput) +} + +// The elasticsearch config for Cluster Logging. For `kind = elasticsearch`. Conflicts with `customTargetConfig`, `fluentdConfig`, `kafkaConfig`, `splunkConfig` and `syslogConfig` (list maxitems:1) +func (o ClusterLoggingOutput) ElasticsearchConfig() ClusterLoggingElasticsearchConfigPtrOutput { + return o.ApplyT(func(v *ClusterLogging) ClusterLoggingElasticsearchConfigPtrOutput { return v.ElasticsearchConfig }).(ClusterLoggingElasticsearchConfigPtrOutput) +} + +// Enable json log parsing. Default: `false` (bool) +func (o ClusterLoggingOutput) EnableJsonParsing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterLogging) pulumi.BoolPtrOutput { return v.EnableJsonParsing }).(pulumi.BoolPtrOutput) +} + +// The fluentd config for Cluster Logging. For `kind = fluentd`. Conflicts with `customTargetConfig`, `elasticsearchConfig`, `kafkaConfig`, `splunkConfig` and `syslogConfig` (list maxitems:1) +func (o ClusterLoggingOutput) FluentdConfig() ClusterLoggingFluentdConfigPtrOutput { + return o.ApplyT(func(v *ClusterLogging) ClusterLoggingFluentdConfigPtrOutput { return v.FluentdConfig }).(ClusterLoggingFluentdConfigPtrOutput) +} + +// The kafka config for Cluster Logging. For `kind = kafka`. Conflicts with `customTargetConfig`, `elasticsearchConfig`, `fluentdConfig`, `splunkConfig` and `syslogConfig` (list maxitems:1) +func (o ClusterLoggingOutput) KafkaConfig() ClusterLoggingKafkaConfigPtrOutput { + return o.ApplyT(func(v *ClusterLogging) ClusterLoggingKafkaConfigPtrOutput { return v.KafkaConfig }).(ClusterLoggingKafkaConfigPtrOutput) +} + +// The kind of the Cluster Logging. `elasticsearch`, `fluentd`, `kafka`, `splunk` and `syslog` are supported (string) +func (o ClusterLoggingOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterLogging) pulumi.StringOutput { return v.Kind }).(pulumi.StringOutput) +} + +// Labels for Cluster Logging object (map) +func (o ClusterLoggingOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterLogging) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the cluster logging config (string) +func (o ClusterLoggingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterLogging) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The namespace id from cluster logging (string) +func (o ClusterLoggingOutput) NamespaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterLogging) pulumi.StringPtrOutput { return v.NamespaceId }).(pulumi.StringPtrOutput) +} + +// How often buffered logs would be flushed. Default: `3` seconds (int) +func (o ClusterLoggingOutput) OutputFlushInterval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterLogging) pulumi.IntPtrOutput { return v.OutputFlushInterval }).(pulumi.IntPtrOutput) +} + +// The output tags for Cluster Logging (map) +func (o ClusterLoggingOutput) OutputTags() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterLogging) pulumi.MapOutput { return v.OutputTags }).(pulumi.MapOutput) +} + +// The splunk config for Cluster Logging. For `kind = splunk`. Conflicts with `customTargetConfig`, `elasticsearchConfig`, `fluentdConfig`, `kafkaConfig`, and `syslogConfig` (list maxitems:1) +func (o ClusterLoggingOutput) SplunkConfig() ClusterLoggingSplunkConfigPtrOutput { + return o.ApplyT(func(v *ClusterLogging) ClusterLoggingSplunkConfigPtrOutput { return v.SplunkConfig }).(ClusterLoggingSplunkConfigPtrOutput) +} + +// The syslog config for Cluster Logging. For `kind = syslog`. Conflicts with `customTargetConfig`, `elasticsearchConfig`, `fluentdConfig`, `kafkaConfig`, and `splunkConfig` (list maxitems:1) +func (o ClusterLoggingOutput) SyslogConfig() ClusterLoggingSyslogConfigPtrOutput { + return o.ApplyT(func(v *ClusterLogging) ClusterLoggingSyslogConfigPtrOutput { return v.SyslogConfig }).(ClusterLoggingSyslogConfigPtrOutput) +} + type ClusterLoggingArrayOutput struct{ *pulumi.OutputState } func (ClusterLoggingArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/clusterRoleTemplateBinding.go b/sdk/go/rancher2/clusterRoleTemplateBinding.go index 6f5fa5c6c..8be6a5ad4 100644 --- a/sdk/go/rancher2/clusterRoleTemplateBinding.go +++ b/sdk/go/rancher2/clusterRoleTemplateBinding.go @@ -283,6 +283,51 @@ func (o ClusterRoleTemplateBindingOutput) ToClusterRoleTemplateBindingOutputWith return o } +// Annotations for cluster role template binding (map) +func (o ClusterRoleTemplateBindingOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterRoleTemplateBinding) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id where bind cluster role template binding (string) +func (o ClusterRoleTemplateBindingOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterRoleTemplateBinding) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// The group ID to assign cluster role template binding (string) +func (o ClusterRoleTemplateBindingOutput) GroupId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterRoleTemplateBinding) pulumi.StringOutput { return v.GroupId }).(pulumi.StringOutput) +} + +// The groupPrincipal ID to assign cluster role template binding (string) +func (o ClusterRoleTemplateBindingOutput) GroupPrincipalId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterRoleTemplateBinding) pulumi.StringOutput { return v.GroupPrincipalId }).(pulumi.StringOutput) +} + +// Labels for cluster role template binding (map) +func (o ClusterRoleTemplateBindingOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterRoleTemplateBinding) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the cluster role template binding (string) +func (o ClusterRoleTemplateBindingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterRoleTemplateBinding) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The role template id from create cluster role template binding (string) +func (o ClusterRoleTemplateBindingOutput) RoleTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterRoleTemplateBinding) pulumi.StringOutput { return v.RoleTemplateId }).(pulumi.StringOutput) +} + +// The user ID to assign cluster role template binding (string) +func (o ClusterRoleTemplateBindingOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterRoleTemplateBinding) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) +} + +// The userPrincipal ID to assign cluster role template binding (string) +func (o ClusterRoleTemplateBindingOutput) UserPrincipalId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterRoleTemplateBinding) pulumi.StringOutput { return v.UserPrincipalId }).(pulumi.StringOutput) +} + type ClusterRoleTemplateBindingArrayOutput struct{ *pulumi.OutputState } func (ClusterRoleTemplateBindingArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/clusterSync.go b/sdk/go/rancher2/clusterSync.go index 21511ac22..fb3110429 100644 --- a/sdk/go/rancher2/clusterSync.go +++ b/sdk/go/rancher2/clusterSync.go @@ -141,6 +141,10 @@ func NewClusterSync(ctx *pulumi.Context, if args.ClusterId == nil { return nil, errors.New("invalid value for required argument 'ClusterId'") } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "kubeConfig", + }) + opts = append(opts, secrets) var resource ClusterSync err := ctx.RegisterResource("rancher2:index/clusterSync:ClusterSync", name, args, &resource, opts...) if err != nil { @@ -334,6 +338,60 @@ func (o ClusterSyncOutput) ToClusterSyncOutputWithContext(ctx context.Context) C return o } +// The Cluster ID of the node (string). +func (o ClusterSyncOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterSync) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// (Computed) Default project ID for the cluster sync (string) +func (o ClusterSyncOutput) DefaultProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterSync) pulumi.StringOutput { return v.DefaultProjectId }).(pulumi.StringOutput) +} + +// (Computed/Sensitive) Kube Config generated for the cluster sync (string) +func (o ClusterSyncOutput) KubeConfig() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterSync) pulumi.StringOutput { return v.KubeConfig }).(pulumi.StringOutput) +} + +// The node pool IDs used by the cluster id (list) +func (o ClusterSyncOutput) NodePoolIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterSync) pulumi.StringArrayOutput { return v.NodePoolIds }).(pulumi.StringArrayOutput) +} + +// (Computed) The cluster nodes (list). +func (o ClusterSyncOutput) Nodes() ClusterSyncNodeArrayOutput { + return o.ApplyT(func(v *ClusterSync) ClusterSyncNodeArrayOutput { return v.Nodes }).(ClusterSyncNodeArrayOutput) +} + +// Wait until active status is confirmed a number of times (wait interval of 5s). Default: `1` means no confirmation (int) +func (o ClusterSyncOutput) StateConfirm() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterSync) pulumi.IntPtrOutput { return v.StateConfirm }).(pulumi.IntPtrOutput) +} + +func (o ClusterSyncOutput) Synced() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterSync) pulumi.BoolPtrOutput { return v.Synced }).(pulumi.BoolPtrOutput) +} + +// (Computed) System project ID for the cluster sync (string) +func (o ClusterSyncOutput) SystemProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterSync) pulumi.StringOutput { return v.SystemProjectId }).(pulumi.StringOutput) +} + +// Wait until alerting is up and running. Default: `false` (bool) +func (o ClusterSyncOutput) WaitAlerting() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterSync) pulumi.BoolPtrOutput { return v.WaitAlerting }).(pulumi.BoolPtrOutput) +} + +// Wait until all catalogs are downloaded and active. Default: `false` (bool) +func (o ClusterSyncOutput) WaitCatalogs() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterSync) pulumi.BoolPtrOutput { return v.WaitCatalogs }).(pulumi.BoolPtrOutput) +} + +// Wait until monitoring is up and running. Default: `false` (bool) +func (o ClusterSyncOutput) WaitMonitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterSync) pulumi.BoolPtrOutput { return v.WaitMonitoring }).(pulumi.BoolPtrOutput) +} + type ClusterSyncArrayOutput struct{ *pulumi.OutputState } func (ClusterSyncArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/clusterTemplate.go b/sdk/go/rancher2/clusterTemplate.go index 7dc7109b8..f70b3d8cf 100644 --- a/sdk/go/rancher2/clusterTemplate.go +++ b/sdk/go/rancher2/clusterTemplate.go @@ -104,7 +104,7 @@ import ( // }, // UpgradeStrategy: &ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs{ // Drain: pulumi.Bool(true), -// MaxUnavailableWorker: pulumi.String(fmt.Sprintf("%v%v", "20", "%")), +// MaxUnavailableWorker: pulumi.String(fmt.Sprintf("20%v", "%")), // }, // }, // }, @@ -398,6 +398,41 @@ func (o ClusterTemplateOutput) ToClusterTemplateOutputWithContext(ctx context.Co return o } +// Annotations for the cluster template revision (map) +func (o ClusterTemplateOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplate) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// (Computed) Default cluster template revision ID (string) +func (o ClusterTemplateOutput) DefaultRevisionId() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterTemplate) pulumi.StringOutput { return v.DefaultRevisionId }).(pulumi.StringOutput) +} + +// Cluster template description +func (o ClusterTemplateOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplate) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Labels for the cluster template revision (map) +func (o ClusterTemplateOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplate) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Cluster template members (list) +func (o ClusterTemplateOutput) Members() ClusterTemplateMemberArrayOutput { + return o.ApplyT(func(v *ClusterTemplate) ClusterTemplateMemberArrayOutput { return v.Members }).(ClusterTemplateMemberArrayOutput) +} + +// The cluster template revision name (string) +func (o ClusterTemplateOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterTemplate) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Cluster template revisions (list) +func (o ClusterTemplateOutput) TemplateRevisions() ClusterTemplateTemplateRevisionArrayOutput { + return o.ApplyT(func(v *ClusterTemplate) ClusterTemplateTemplateRevisionArrayOutput { return v.TemplateRevisions }).(ClusterTemplateTemplateRevisionArrayOutput) +} + type ClusterTemplateArrayOutput struct{ *pulumi.OutputState } func (ClusterTemplateArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/clusterV2.go b/sdk/go/rancher2/clusterV2.go index e689e9513..1bcf842ae 100644 --- a/sdk/go/rancher2/clusterV2.go +++ b/sdk/go/rancher2/clusterV2.go @@ -11,7 +11,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. +// Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is available from Rancher v2.6.0 and above. // // ## Example Usage // ### Creating Rancher v2 custom cluster v2 @@ -101,6 +101,11 @@ func NewClusterV2(ctx *pulumi.Context, if args.KubernetesVersion == nil { return nil, errors.New("invalid value for required argument 'KubernetesVersion'") } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clusterRegistrationToken", + "kubeConfig", + }) + opts = append(opts, secrets) var resource ClusterV2 err := ctx.RegisterResource("rancher2:index/clusterV2:ClusterV2", name, args, &resource, opts...) if err != nil { @@ -338,6 +343,86 @@ func (o ClusterV2Output) ToClusterV2OutputWithContext(ctx context.Context) Clust return o } +// Optional Agent Env Vars for Rancher agent (list) +func (o ClusterV2Output) AgentEnvVars() ClusterV2AgentEnvVarArrayOutput { + return o.ApplyT(func(v *ClusterV2) ClusterV2AgentEnvVarArrayOutput { return v.AgentEnvVars }).(ClusterV2AgentEnvVarArrayOutput) +} + +// Annotations for cluster registration token object (map) +func (o ClusterV2Output) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Cluster V2 cloud credential secret name (string) +func (o ClusterV2Output) CloudCredentialSecretName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.StringPtrOutput { return v.CloudCredentialSecretName }).(pulumi.StringPtrOutput) +} + +// (Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1) +func (o ClusterV2Output) ClusterRegistrationToken() ClusterV2ClusterRegistrationTokenOutput { + return o.ApplyT(func(v *ClusterV2) ClusterV2ClusterRegistrationTokenOutput { return v.ClusterRegistrationToken }).(ClusterV2ClusterRegistrationTokenOutput) +} + +// (Computed) Cluster v1 id for cluster v2. (e.g to be used with `rancher2Sync`) (string) +func (o ClusterV2Output) ClusterV1Id() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.StringOutput { return v.ClusterV1Id }).(pulumi.StringOutput) +} + +// Cluster V2 default cluster role for project members (string) +func (o ClusterV2Output) DefaultClusterRoleForProjectMembers() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.StringPtrOutput { return v.DefaultClusterRoleForProjectMembers }).(pulumi.StringPtrOutput) +} + +// Cluster V2 default pod security policy template name (string) +func (o ClusterV2Output) DefaultPodSecurityPolicyTemplateName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.StringPtrOutput { return v.DefaultPodSecurityPolicyTemplateName }).(pulumi.StringPtrOutput) +} + +// Enable k8s network policy at Cluster V2 (bool) +func (o ClusterV2Output) EnableNetworkPolicy() pulumi.BoolOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.BoolOutput { return v.EnableNetworkPolicy }).(pulumi.BoolOutput) +} + +// The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) +func (o ClusterV2Output) FleetNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.StringPtrOutput { return v.FleetNamespace }).(pulumi.StringPtrOutput) +} + +// (Computed/Sensitive) Kube Config generated for the cluster v2. Note: When the cluster has `localAuthEndpoint` enabled, the kubeConfig will not be available until the cluster is `connected` (string) +func (o ClusterV2Output) KubeConfig() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.StringOutput { return v.KubeConfig }).(pulumi.StringOutput) +} + +// The kubernetes version of the Cluster v2 (list maxitems:1) +func (o ClusterV2Output) KubernetesVersion() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.StringOutput { return v.KubernetesVersion }).(pulumi.StringOutput) +} + +// Labels for cluster registration token object (map) +func (o ClusterV2Output) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Use rancher2_cluster_v2.local_auth_endpoint instead +func (o ClusterV2Output) LocalAuthEndpoint() ClusterV2LocalAuthEndpointPtrOutput { + return o.ApplyT(func(v *ClusterV2) ClusterV2LocalAuthEndpointPtrOutput { return v.LocalAuthEndpoint }).(ClusterV2LocalAuthEndpointPtrOutput) +} + +// Name of cluster registration token (string) +func (o ClusterV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// (Computed) Cluster v2 k8s resource version (string) +func (o ClusterV2Output) ResourceVersion() pulumi.StringOutput { + return o.ApplyT(func(v *ClusterV2) pulumi.StringOutput { return v.ResourceVersion }).(pulumi.StringOutput) +} + +// The RKE configuration for `k3s` and `rke2` Clusters v2. (list maxitems:1) +func (o ClusterV2Output) RkeConfig() ClusterV2RkeConfigOutput { + return o.ApplyT(func(v *ClusterV2) ClusterV2RkeConfigOutput { return v.RkeConfig }).(ClusterV2RkeConfigOutput) +} + type ClusterV2ArrayOutput struct{ *pulumi.OutputState } func (ClusterV2ArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/configMapV2.go b/sdk/go/rancher2/configMapV2.go index 5e978247b..320b3fd95 100644 --- a/sdk/go/rancher2/configMapV2.go +++ b/sdk/go/rancher2/configMapV2.go @@ -241,6 +241,46 @@ func (o ConfigMapV2Output) ToConfigMapV2OutputWithContext(ctx context.Context) C return o } +// Annotations for the configMap v2 (map) +func (o ConfigMapV2Output) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ConfigMapV2) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id of the configMap V2 (string) +func (o ConfigMapV2Output) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigMapV2) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// The data of the configMap v2 (map) +func (o ConfigMapV2Output) Data() pulumi.MapOutput { + return o.ApplyT(func(v *ConfigMapV2) pulumi.MapOutput { return v.Data }).(pulumi.MapOutput) +} + +// If set to true, any configMap update will remove and recreate the configMap. This is a beta field enabled by k8s `ImmutableEphemeralVolumes` feature gate. Default: `false` (bool) +func (o ConfigMapV2Output) Immutable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ConfigMapV2) pulumi.BoolPtrOutput { return v.Immutable }).(pulumi.BoolPtrOutput) +} + +// Labels for the configMap v2 (map) +func (o ConfigMapV2Output) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ConfigMapV2) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the configMap v2 (string) +func (o ConfigMapV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigMapV2) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The namespaces of the configMap v2. Default: `default` (string) +func (o ConfigMapV2Output) Namespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConfigMapV2) pulumi.StringPtrOutput { return v.Namespace }).(pulumi.StringPtrOutput) +} + +// (Computed) The k8s resource version (string) +func (o ConfigMapV2Output) ResourceVersion() pulumi.StringOutput { + return o.ApplyT(func(v *ConfigMapV2) pulumi.StringOutput { return v.ResourceVersion }).(pulumi.StringOutput) +} + type ConfigMapV2ArrayOutput struct{ *pulumi.OutputState } func (ConfigMapV2ArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/doc.go b/sdk/go/rancher2/doc.go index fa59194b1..322c080b0 100644 --- a/sdk/go/rancher2/doc.go +++ b/sdk/go/rancher2/doc.go @@ -1,2 +1,3 @@ // A Pulumi package for creating and managing rancher2 resources. + package rancher2 diff --git a/sdk/go/rancher2/etcdBackup.go b/sdk/go/rancher2/etcdBackup.go index 0290f3123..3acd183d3 100644 --- a/sdk/go/rancher2/etcdBackup.go +++ b/sdk/go/rancher2/etcdBackup.go @@ -280,6 +280,46 @@ func (o EtcdBackupOutput) ToEtcdBackupOutputWithContext(ctx context.Context) Etc return o } +// Annotations for Etcd Backup object (map) +func (o EtcdBackupOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *EtcdBackup) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Backup config for etcd backup (list maxitems:1) +func (o EtcdBackupOutput) BackupConfig() EtcdBackupBackupConfigOutput { + return o.ApplyT(func(v *EtcdBackup) EtcdBackupBackupConfigOutput { return v.BackupConfig }).(EtcdBackupBackupConfigOutput) +} + +// Cluster ID to config Etcd Backup (string) +func (o EtcdBackupOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *EtcdBackup) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Filename of the Etcd Backup (string) +func (o EtcdBackupOutput) Filename() pulumi.StringOutput { + return o.ApplyT(func(v *EtcdBackup) pulumi.StringOutput { return v.Filename }).(pulumi.StringOutput) +} + +// Labels for Etcd Backup object (map) +func (o EtcdBackupOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *EtcdBackup) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Manual execution of the Etcd Backup. Default `false` (bool) +func (o EtcdBackupOutput) Manual() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EtcdBackup) pulumi.BoolPtrOutput { return v.Manual }).(pulumi.BoolPtrOutput) +} + +// The name of the Etcd Backup (string) +func (o EtcdBackupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *EtcdBackup) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Description for the Etcd Backup (string) +func (o EtcdBackupOutput) NamespaceId() pulumi.StringOutput { + return o.ApplyT(func(v *EtcdBackup) pulumi.StringOutput { return v.NamespaceId }).(pulumi.StringOutput) +} + type EtcdBackupArrayOutput struct{ *pulumi.OutputState } func (EtcdBackupArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/feature.go b/sdk/go/rancher2/feature.go index 006cbbe0c..acde9e711 100644 --- a/sdk/go/rancher2/feature.go +++ b/sdk/go/rancher2/feature.go @@ -212,6 +212,26 @@ func (o FeatureOutput) ToFeatureOutputWithContext(ctx context.Context) FeatureOu return o } +// Annotations for feature object (map) +func (o FeatureOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Feature) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Labels for feature object (map) +func (o FeatureOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Feature) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the feature (string) +func (o FeatureOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Feature) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The value of the feature. Default: `false` (bool) +func (o FeatureOutput) Value() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Feature) pulumi.BoolPtrOutput { return v.Value }).(pulumi.BoolPtrOutput) +} + type FeatureArrayOutput struct{ *pulumi.OutputState } func (FeatureArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/getApp.go b/sdk/go/rancher2/getApp.go index 23f9aa1a9..6f447ea48 100644 --- a/sdk/go/rancher2/getApp.go +++ b/sdk/go/rancher2/getApp.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupApp(ctx, &GetAppArgs{ +// _, err = rancher2.LookupApp(ctx, &GetAppArgs{ // Name: "foo", // ProjectId: "", // TargetNamespace: pulumi.StringRef(""), diff --git a/sdk/go/rancher2/getCatalog.go b/sdk/go/rancher2/getCatalog.go index 76d09d519..76da396f0 100644 --- a/sdk/go/rancher2/getCatalog.go +++ b/sdk/go/rancher2/getCatalog.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupCatalog(ctx, &GetCatalogArgs{ +// _, err = rancher2.LookupCatalog(ctx, &GetCatalogArgs{ // Name: "catalog", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getCertificate.go b/sdk/go/rancher2/getCertificate.go index 9cabbca29..b813bfda1 100644 --- a/sdk/go/rancher2/getCertificate.go +++ b/sdk/go/rancher2/getCertificate.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupCertificate(ctx, &GetCertificateArgs{ +// _, err = rancher2.LookupCertificate(ctx, &GetCertificateArgs{ // Name: "", // ProjectId: "", // }, nil) @@ -55,7 +55,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupCertificate(ctx, &GetCertificateArgs{ +// _, err = rancher2.LookupCertificate(ctx, &GetCertificateArgs{ // Name: "", // NamespaceId: pulumi.StringRef(""), // ProjectId: "", diff --git a/sdk/go/rancher2/getCloudCredential.go b/sdk/go/rancher2/getCloudCredential.go index a775792a1..97e9a2c94 100644 --- a/sdk/go/rancher2/getCloudCredential.go +++ b/sdk/go/rancher2/getCloudCredential.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupCloudCredential(ctx, &GetCloudCredentialArgs{ +// _, err = rancher2.LookupCloudCredential(ctx, &GetCloudCredentialArgs{ // Name: "test", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getCluster.go b/sdk/go/rancher2/getCluster.go index bb4d3c44a..b75f2ad7d 100644 --- a/sdk/go/rancher2/getCluster.go +++ b/sdk/go/rancher2/getCluster.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupCluster(ctx, &GetClusterArgs{ +// _, err = rancher2.LookupCluster(ctx, &GetClusterArgs{ // Name: "foo-custom", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getClusterAlertGroup.go b/sdk/go/rancher2/getClusterAlertGroup.go index a0c5d9fb0..f8eb4a562 100644 --- a/sdk/go/rancher2/getClusterAlertGroup.go +++ b/sdk/go/rancher2/getClusterAlertGroup.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupClusterAlertGroup(ctx, &GetClusterAlertGroupArgs{ +// _, err = rancher2.LookupClusterAlertGroup(ctx, &GetClusterAlertGroupArgs{ // ClusterId: "", // Name: "", // }, nil) diff --git a/sdk/go/rancher2/getClusterAlterRule.go b/sdk/go/rancher2/getClusterAlterRule.go index 97e31a478..aeed73e46 100644 --- a/sdk/go/rancher2/getClusterAlterRule.go +++ b/sdk/go/rancher2/getClusterAlterRule.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupClusterAlterRule(ctx, &GetClusterAlterRuleArgs{ +// _, err = rancher2.LookupClusterAlterRule(ctx, &GetClusterAlterRuleArgs{ // ClusterId: "", // Name: "", // }, nil) diff --git a/sdk/go/rancher2/getClusterDriver.go b/sdk/go/rancher2/getClusterDriver.go index 4f767856a..761358f78 100644 --- a/sdk/go/rancher2/getClusterDriver.go +++ b/sdk/go/rancher2/getClusterDriver.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupClusterDriver(ctx, &GetClusterDriverArgs{ +// _, err = rancher2.LookupClusterDriver(ctx, &GetClusterDriverArgs{ // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getClusterLogging.go b/sdk/go/rancher2/getClusterLogging.go index 72f94d372..f7066b530 100644 --- a/sdk/go/rancher2/getClusterLogging.go +++ b/sdk/go/rancher2/getClusterLogging.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupClusterLogging(ctx, &GetClusterLoggingArgs{ +// _, err = rancher2.LookupClusterLogging(ctx, &GetClusterLoggingArgs{ // ClusterId: "", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getClusterRoleTemplateBinding.go b/sdk/go/rancher2/getClusterRoleTemplateBinding.go index 1b9a5bbc7..d2f2bc973 100644 --- a/sdk/go/rancher2/getClusterRoleTemplateBinding.go +++ b/sdk/go/rancher2/getClusterRoleTemplateBinding.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupClusterRoleTemplateBinding(ctx, &GetClusterRoleTemplateBindingArgs{ +// _, err = rancher2.LookupClusterRoleTemplateBinding(ctx, &GetClusterRoleTemplateBindingArgs{ // ClusterId: "foo_id", // Name: "foo", // }, nil) diff --git a/sdk/go/rancher2/getClusterTemplate.go b/sdk/go/rancher2/getClusterTemplate.go index 43839a514..096c5c456 100644 --- a/sdk/go/rancher2/getClusterTemplate.go +++ b/sdk/go/rancher2/getClusterTemplate.go @@ -28,7 +28,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupClusterTemplate(ctx, &GetClusterTemplateArgs{ +// _, err = rancher2.LookupClusterTemplate(ctx, &GetClusterTemplateArgs{ // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getClusterV2.go b/sdk/go/rancher2/getClusterV2.go index 832d7c3ee..70e58200f 100644 --- a/sdk/go/rancher2/getClusterV2.go +++ b/sdk/go/rancher2/getClusterV2.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupClusterV2(ctx, &GetClusterV2Args{ +// _, err = rancher2.LookupClusterV2(ctx, &GetClusterV2Args{ // FleetNamespace: pulumi.StringRef("fleet-ns"), // Name: "foo", // }, nil) diff --git a/sdk/go/rancher2/getEtcdBackup.go b/sdk/go/rancher2/getEtcdBackup.go index fb516fe42..32d66e130 100644 --- a/sdk/go/rancher2/getEtcdBackup.go +++ b/sdk/go/rancher2/getEtcdBackup.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupEtcdBackup(ctx, &GetEtcdBackupArgs{ +// _, err = rancher2.LookupEtcdBackup(ctx, &GetEtcdBackupArgs{ // ClusterId: "", // Name: "foo", // }, nil) diff --git a/sdk/go/rancher2/getGlobalDnsProvider.go b/sdk/go/rancher2/getGlobalDnsProvider.go index eabd8865a..75e8e599f 100644 --- a/sdk/go/rancher2/getGlobalDnsProvider.go +++ b/sdk/go/rancher2/getGlobalDnsProvider.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupGlobalDnsProvider(ctx, &GetGlobalDnsProviderArgs{ +// _, err = rancher2.LookupGlobalDnsProvider(ctx, &GetGlobalDnsProviderArgs{ // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getGlobalRole.go b/sdk/go/rancher2/getGlobalRole.go index 52a52055f..713599c26 100644 --- a/sdk/go/rancher2/getGlobalRole.go +++ b/sdk/go/rancher2/getGlobalRole.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupGlobalRole(ctx, &GetGlobalRoleArgs{ +// _, err = rancher2.LookupGlobalRole(ctx, &GetGlobalRoleArgs{ // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getGlobalRoleBinding.go b/sdk/go/rancher2/getGlobalRoleBinding.go index 9f95c1e89..3a49281c7 100644 --- a/sdk/go/rancher2/getGlobalRoleBinding.go +++ b/sdk/go/rancher2/getGlobalRoleBinding.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupGlobalRoleBinding(ctx, &GetGlobalRoleBindingArgs{ +// _, err = rancher2.LookupGlobalRoleBinding(ctx, &GetGlobalRoleBindingArgs{ // GlobalRoleId: pulumi.StringRef("foo_id"), // Name: "foo", // }, nil) diff --git a/sdk/go/rancher2/getMultiClusterApp.go b/sdk/go/rancher2/getMultiClusterApp.go index ca6f1a266..4e971352d 100644 --- a/sdk/go/rancher2/getMultiClusterApp.go +++ b/sdk/go/rancher2/getMultiClusterApp.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupMultiClusterApp(ctx, &GetMultiClusterAppArgs{ +// _, err = rancher2.LookupMultiClusterApp(ctx, &GetMultiClusterAppArgs{ // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getNamespace.go b/sdk/go/rancher2/getNamespace.go index ebb120239..e44987ee9 100644 --- a/sdk/go/rancher2/getNamespace.go +++ b/sdk/go/rancher2/getNamespace.go @@ -26,9 +26,9 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupNamespace(ctx, &GetNamespaceArgs{ +// _, err = rancher2.LookupNamespace(ctx, &GetNamespaceArgs{ // Name: "foo", -// ProjectId: rancher2_cluster.Foo - custom.Default_project_id, +// ProjectId: rancher2_cluster.FooCustom.Default_project_id, // }, nil) // if err != nil { // return err diff --git a/sdk/go/rancher2/getNodeDriver.go b/sdk/go/rancher2/getNodeDriver.go index ac7184a6a..ab0dbec1f 100644 --- a/sdk/go/rancher2/getNodeDriver.go +++ b/sdk/go/rancher2/getNodeDriver.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupNodeDriver(ctx, &GetNodeDriverArgs{ +// _, err = rancher2.LookupNodeDriver(ctx, &GetNodeDriverArgs{ // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getNodePool.go b/sdk/go/rancher2/getNodePool.go index 88d45f090..fa7d81d78 100644 --- a/sdk/go/rancher2/getNodePool.go +++ b/sdk/go/rancher2/getNodePool.go @@ -26,8 +26,8 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupNodePool(ctx, &GetNodePoolArgs{ -// ClusterId: rancher2_cluster.Foo - custom.Id, +// _, err = rancher2.LookupNodePool(ctx, &GetNodePoolArgs{ +// ClusterId: rancher2_cluster.FooCustom.Id, // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getNodeTemplate.go b/sdk/go/rancher2/getNodeTemplate.go index 47e142976..49906ad66 100644 --- a/sdk/go/rancher2/getNodeTemplate.go +++ b/sdk/go/rancher2/getNodeTemplate.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupNodeTemplate(ctx, &GetNodeTemplateArgs{ +// _, err = rancher2.LookupNodeTemplate(ctx, &GetNodeTemplateArgs{ // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getNotifier.go b/sdk/go/rancher2/getNotifier.go index 6578f4a26..94be71c84 100644 --- a/sdk/go/rancher2/getNotifier.go +++ b/sdk/go/rancher2/getNotifier.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupNotifier(ctx, &GetNotifierArgs{ +// _, err = rancher2.LookupNotifier(ctx, &GetNotifierArgs{ // ClusterId: "", // Name: "foo", // }, nil) diff --git a/sdk/go/rancher2/getPodSecurityPolicyTemplate.go b/sdk/go/rancher2/getPodSecurityPolicyTemplate.go index 6f329285f..3466d5951 100644 --- a/sdk/go/rancher2/getPodSecurityPolicyTemplate.go +++ b/sdk/go/rancher2/getPodSecurityPolicyTemplate.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupPodSecurityPolicyTemplate(ctx, &GetPodSecurityPolicyTemplateArgs{ +// _, err = rancher2.LookupPodSecurityPolicyTemplate(ctx, &GetPodSecurityPolicyTemplateArgs{ // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getPrincipal.go b/sdk/go/rancher2/getPrincipal.go index f2d180d95..43953ea8d 100644 --- a/sdk/go/rancher2/getPrincipal.go +++ b/sdk/go/rancher2/getPrincipal.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.GetPrincipal(ctx, &GetPrincipalArgs{ +// _, err = rancher2.GetPrincipal(ctx, &GetPrincipalArgs{ // Name: "user@example.com", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getProjectAlertGroup.go b/sdk/go/rancher2/getProjectAlertGroup.go index d8726ccfd..cb3f53127 100644 --- a/sdk/go/rancher2/getProjectAlertGroup.go +++ b/sdk/go/rancher2/getProjectAlertGroup.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupProjectAlertGroup(ctx, &GetProjectAlertGroupArgs{ +// _, err = rancher2.LookupProjectAlertGroup(ctx, &GetProjectAlertGroupArgs{ // Name: "", // ProjectId: "", // }, nil) diff --git a/sdk/go/rancher2/getProjectAlertRule.go b/sdk/go/rancher2/getProjectAlertRule.go index 48b41eb7c..7a1df8f71 100644 --- a/sdk/go/rancher2/getProjectAlertRule.go +++ b/sdk/go/rancher2/getProjectAlertRule.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupProjectAlertRule(ctx, &GetProjectAlertRuleArgs{ +// _, err = rancher2.LookupProjectAlertRule(ctx, &GetProjectAlertRuleArgs{ // Name: "", // ProjectId: "", // }, nil) diff --git a/sdk/go/rancher2/getProjectLogging.go b/sdk/go/rancher2/getProjectLogging.go index 4604e9abc..8a051cc89 100644 --- a/sdk/go/rancher2/getProjectLogging.go +++ b/sdk/go/rancher2/getProjectLogging.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupProjectLogging(ctx, &GetProjectLoggingArgs{ +// _, err = rancher2.LookupProjectLogging(ctx, &GetProjectLoggingArgs{ // ProjectId: "", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getProjectRoleTemplateBinding.go b/sdk/go/rancher2/getProjectRoleTemplateBinding.go index fa6c05880..2967748c6 100644 --- a/sdk/go/rancher2/getProjectRoleTemplateBinding.go +++ b/sdk/go/rancher2/getProjectRoleTemplateBinding.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupProjectRoleTemplateBinding(ctx, &GetProjectRoleTemplateBindingArgs{ +// _, err = rancher2.LookupProjectRoleTemplateBinding(ctx, &GetProjectRoleTemplateBindingArgs{ // Name: "foo", // ProjectId: "foo_id", // }, nil) diff --git a/sdk/go/rancher2/getRegistry.go b/sdk/go/rancher2/getRegistry.go index f05ac70ce..d6db5bc02 100644 --- a/sdk/go/rancher2/getRegistry.go +++ b/sdk/go/rancher2/getRegistry.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupRegistry(ctx, &GetRegistryArgs{ +// _, err = rancher2.LookupRegistry(ctx, &GetRegistryArgs{ // Name: "", // ProjectId: "", // }, nil) @@ -55,7 +55,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupRegistry(ctx, &GetRegistryArgs{ +// _, err = rancher2.LookupRegistry(ctx, &GetRegistryArgs{ // Name: "", // NamespaceId: pulumi.StringRef(""), // ProjectId: "", diff --git a/sdk/go/rancher2/getRoleTempalte.go b/sdk/go/rancher2/getRoleTempalte.go index d1930dbd9..565d65ced 100644 --- a/sdk/go/rancher2/getRoleTempalte.go +++ b/sdk/go/rancher2/getRoleTempalte.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupRoleTemplate(ctx, &GetRoleTemplateArgs{ +// _, err = rancher2.LookupRoleTemplate(ctx, &GetRoleTemplateArgs{ // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getRoleTemplate.go b/sdk/go/rancher2/getRoleTemplate.go index 1ee940d5e..a96b28081 100644 --- a/sdk/go/rancher2/getRoleTemplate.go +++ b/sdk/go/rancher2/getRoleTemplate.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupRoleTemplate(ctx, &GetRoleTemplateArgs{ +// _, err = rancher2.LookupRoleTemplate(ctx, &GetRoleTemplateArgs{ // Name: "foo", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getSecret.go b/sdk/go/rancher2/getSecret.go index 6e73dfa99..eb0e5d251 100644 --- a/sdk/go/rancher2/getSecret.go +++ b/sdk/go/rancher2/getSecret.go @@ -30,7 +30,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupSecret(ctx, &GetSecretArgs{ +// _, err = rancher2.LookupSecret(ctx, &GetSecretArgs{ // Name: "", // ProjectId: "", // }, nil) @@ -55,7 +55,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupSecret(ctx, &GetSecretArgs{ +// _, err = rancher2.LookupSecret(ctx, &GetSecretArgs{ // Name: "", // NamespaceId: pulumi.StringRef(""), // ProjectId: "", diff --git a/sdk/go/rancher2/getSetting.go b/sdk/go/rancher2/getSetting.go index f835072fe..8da19c951 100644 --- a/sdk/go/rancher2/getSetting.go +++ b/sdk/go/rancher2/getSetting.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupSetting(ctx, &GetSettingArgs{ +// _, err = rancher2.LookupSetting(ctx, &GetSettingArgs{ // Name: "server-image", // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/getUser.go b/sdk/go/rancher2/getUser.go index 21d1cf402..c56171413 100644 --- a/sdk/go/rancher2/getUser.go +++ b/sdk/go/rancher2/getUser.go @@ -26,7 +26,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := rancher2.LookupUser(ctx, &GetUserArgs{ +// _, err = rancher2.LookupUser(ctx, &GetUserArgs{ // Username: pulumi.StringRef("foo"), // }, nil) // if err != nil { diff --git a/sdk/go/rancher2/globalDns.go b/sdk/go/rancher2/globalDns.go index db6e63be8..a090e752b 100644 --- a/sdk/go/rancher2/globalDns.go +++ b/sdk/go/rancher2/globalDns.go @@ -326,6 +326,46 @@ func (o GlobalDnsOutput) ToGlobalDnsOutputWithContext(ctx context.Context) Globa return o } +// Annotations for Global DNS (map) +func (o GlobalDnsOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *GlobalDns) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The Global DNS record (string) +func (o GlobalDnsOutput) Fqdn() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalDns) pulumi.StringOutput { return v.Fqdn }).(pulumi.StringOutput) +} + +// Labels for Global DNS (map) +func (o GlobalDnsOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *GlobalDns) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The MultiCluster App ID to assign to the Global DNS. Conflicts with `projectIds` (string) +func (o GlobalDnsOutput) MultiClusterAppId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDns) pulumi.StringPtrOutput { return v.MultiClusterAppId }).(pulumi.StringPtrOutput) +} + +// The name of the Global DNS (string) +func (o GlobalDnsOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalDns) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// A list of projectIds to assign to the Global DNS. Conflicts with `multiClusterAppId` (list(string)) +func (o GlobalDnsOutput) ProjectIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GlobalDns) pulumi.StringArrayOutput { return v.ProjectIds }).(pulumi.StringArrayOutput) +} + +// The Global DNS provider ID to use (string) +func (o GlobalDnsOutput) ProviderId() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalDns) pulumi.StringOutput { return v.ProviderId }).(pulumi.StringOutput) +} + +// TTL in seconds for DNS record. Default: `300` (int) +func (o GlobalDnsOutput) Ttl() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GlobalDns) pulumi.IntPtrOutput { return v.Ttl }).(pulumi.IntPtrOutput) +} + type GlobalDnsArrayOutput struct{ *pulumi.OutputState } func (GlobalDnsArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/globalDnsProvider.go b/sdk/go/rancher2/globalDnsProvider.go index 6c6c15ee0..0111030a3 100644 --- a/sdk/go/rancher2/globalDnsProvider.go +++ b/sdk/go/rancher2/globalDnsProvider.go @@ -312,6 +312,43 @@ func (o GlobalDnsProviderOutput) ToGlobalDnsProviderOutputWithContext(ctx contex return o } +func (o GlobalDnsProviderOutput) AlidnsConfig() GlobalDnsProviderAlidnsConfigPtrOutput { + return o.ApplyT(func(v *GlobalDnsProvider) GlobalDnsProviderAlidnsConfigPtrOutput { return v.AlidnsConfig }).(GlobalDnsProviderAlidnsConfigPtrOutput) +} + +// Annotations for Global DNS Provider (map) +func (o GlobalDnsProviderOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *GlobalDnsProvider) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +func (o GlobalDnsProviderOutput) CloudflareConfig() GlobalDnsProviderCloudflareConfigPtrOutput { + return o.ApplyT(func(v *GlobalDnsProvider) GlobalDnsProviderCloudflareConfigPtrOutput { return v.CloudflareConfig }).(GlobalDnsProviderCloudflareConfigPtrOutput) +} + +// (Computed) The Global DNS Provider `alidns, cloudflare, route53` (string) +func (o GlobalDnsProviderOutput) DnsProvider() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalDnsProvider) pulumi.StringOutput { return v.DnsProvider }).(pulumi.StringOutput) +} + +// Labels for Global DNS Provider (map) +func (o GlobalDnsProviderOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *GlobalDnsProvider) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the Global DNS Provider (string) +func (o GlobalDnsProviderOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalDnsProvider) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The user ID to assign Global DNS Provider (string) +func (o GlobalDnsProviderOutput) RootDomain() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalDnsProvider) pulumi.StringOutput { return v.RootDomain }).(pulumi.StringOutput) +} + +func (o GlobalDnsProviderOutput) Route53Config() GlobalDnsProviderRoute53ConfigPtrOutput { + return o.ApplyT(func(v *GlobalDnsProvider) GlobalDnsProviderRoute53ConfigPtrOutput { return v.Route53Config }).(GlobalDnsProviderRoute53ConfigPtrOutput) +} + type GlobalDnsProviderArrayOutput struct{ *pulumi.OutputState } func (GlobalDnsProviderArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/globalRole.go b/sdk/go/rancher2/globalRole.go index 746518fd1..70d72d06e 100644 --- a/sdk/go/rancher2/globalRole.go +++ b/sdk/go/rancher2/globalRole.go @@ -264,6 +264,41 @@ func (o GlobalRoleOutput) ToGlobalRoleOutputWithContext(ctx context.Context) Glo return o } +// Annotations for global role object (map) +func (o GlobalRoleOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *GlobalRole) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// (Computed) Builtin global role (bool) +func (o GlobalRoleOutput) Builtin() pulumi.BoolOutput { + return o.ApplyT(func(v *GlobalRole) pulumi.BoolOutput { return v.Builtin }).(pulumi.BoolOutput) +} + +// Global role description (string) +func (o GlobalRoleOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalRole) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// Labels for global role object (map) +func (o GlobalRoleOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *GlobalRole) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Global role name (string) +func (o GlobalRoleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalRole) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Whether or not this role should be added to new users. Default `false` (bool) +func (o GlobalRoleOutput) NewUserDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GlobalRole) pulumi.BoolPtrOutput { return v.NewUserDefault }).(pulumi.BoolPtrOutput) +} + +// Global role policy rules (list) +func (o GlobalRoleOutput) Rules() GlobalRoleRuleArrayOutput { + return o.ApplyT(func(v *GlobalRole) GlobalRoleRuleArrayOutput { return v.Rules }).(GlobalRoleRuleArrayOutput) +} + type GlobalRoleArrayOutput struct{ *pulumi.OutputState } func (GlobalRoleArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/globalRoleBinding.go b/sdk/go/rancher2/globalRoleBinding.go index d0c96f523..b550d5810 100644 --- a/sdk/go/rancher2/globalRoleBinding.go +++ b/sdk/go/rancher2/globalRoleBinding.go @@ -256,6 +256,36 @@ func (o GlobalRoleBindingOutput) ToGlobalRoleBindingOutputWithContext(ctx contex return o } +// Annotations for global role binding (map) +func (o GlobalRoleBindingOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *GlobalRoleBinding) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The role id from create global role binding (string) +func (o GlobalRoleBindingOutput) GlobalRoleId() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalRoleBinding) pulumi.StringOutput { return v.GlobalRoleId }).(pulumi.StringOutput) +} + +// The group principal ID to assign global role binding (only works with external auth providers that support groups). Rancher v2.4.0 or higher is required (string) +func (o GlobalRoleBindingOutput) GroupPrincipalId() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalRoleBinding) pulumi.StringOutput { return v.GroupPrincipalId }).(pulumi.StringOutput) +} + +// Labels for global role binding (map) +func (o GlobalRoleBindingOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *GlobalRoleBinding) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the global role binding (string) +func (o GlobalRoleBindingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalRoleBinding) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The user ID to assign global role binding (string) +func (o GlobalRoleBindingOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v *GlobalRoleBinding) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) +} + type GlobalRoleBindingArrayOutput struct{ *pulumi.OutputState } func (GlobalRoleBindingArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/machineConfigV2.go b/sdk/go/rancher2/machineConfigV2.go index e2c66d504..fcbb7de69 100644 --- a/sdk/go/rancher2/machineConfigV2.go +++ b/sdk/go/rancher2/machineConfigV2.go @@ -11,7 +11,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. +// Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is available from Rancher v2.6.0 and above. // // `amazonec2`, `azure`, `digitalocean`, `linode`, `openstack`, and `vsphere` cloud providers are supported for machine config V2 // @@ -336,6 +336,76 @@ func (o MachineConfigV2Output) ToMachineConfigV2OutputWithContext(ctx context.Co return o } +// AWS config for the Machine Config V2. Conflicts with `azureConfig`, `digitaloceanConfig`, `harvesterConfig`, `linodeConfig`, `openstackConfig` and `vsphereConfig` (list maxitems:1) +func (o MachineConfigV2Output) Amazonec2Config() MachineConfigV2Amazonec2ConfigPtrOutput { + return o.ApplyT(func(v *MachineConfigV2) MachineConfigV2Amazonec2ConfigPtrOutput { return v.Amazonec2Config }).(MachineConfigV2Amazonec2ConfigPtrOutput) +} + +// Annotations for Machine Config V2 object (map) +func (o MachineConfigV2Output) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *MachineConfigV2) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Azure config for the Machine Config V2. Conflicts with `amazonec2Config`, `digitaloceanConfig`, `harvesterConfig`, `linodeConfig`, `openstackConfig` and `vsphereConfig` (list maxitems:1) +func (o MachineConfigV2Output) AzureConfig() MachineConfigV2AzureConfigPtrOutput { + return o.ApplyT(func(v *MachineConfigV2) MachineConfigV2AzureConfigPtrOutput { return v.AzureConfig }).(MachineConfigV2AzureConfigPtrOutput) +} + +// Digitalocean config for the Machine Config V2. Conflicts with `amazonec2Config`, `azureConfig`, `harvesterConfig`, `linodeConfig`, `openstackConfig` and `vsphereConfig` (list maxitems:1) +func (o MachineConfigV2Output) DigitaloceanConfig() MachineConfigV2DigitaloceanConfigPtrOutput { + return o.ApplyT(func(v *MachineConfigV2) MachineConfigV2DigitaloceanConfigPtrOutput { return v.DigitaloceanConfig }).(MachineConfigV2DigitaloceanConfigPtrOutput) +} + +// Cluster V2 fleet namespace +func (o MachineConfigV2Output) FleetNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2) pulumi.StringPtrOutput { return v.FleetNamespace }).(pulumi.StringPtrOutput) +} + +// Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\"prod-pool1\" will generate \"nc-prod-pool1-?????\" name computed at `name` attribute (string) +func (o MachineConfigV2Output) GenerateName() pulumi.StringOutput { + return o.ApplyT(func(v *MachineConfigV2) pulumi.StringOutput { return v.GenerateName }).(pulumi.StringOutput) +} + +// Harvester config for the Machine Config V2. Conflicts with `amazonec2Config`, `azureConfig`, `digitaloceanConfig`, `linodeConfig`, `openstackConfig` and `vsphereConfig` (list maxitems:1) +func (o MachineConfigV2Output) HarvesterConfig() MachineConfigV2HarvesterConfigPtrOutput { + return o.ApplyT(func(v *MachineConfigV2) MachineConfigV2HarvesterConfigPtrOutput { return v.HarvesterConfig }).(MachineConfigV2HarvesterConfigPtrOutput) +} + +// (Computed) The machine config kind (string) +func (o MachineConfigV2Output) Kind() pulumi.StringOutput { + return o.ApplyT(func(v *MachineConfigV2) pulumi.StringOutput { return v.Kind }).(pulumi.StringOutput) +} + +// Labels for Machine Config V2 object (map) +func (o MachineConfigV2Output) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *MachineConfigV2) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Linode config for the Machine Config V2. Conflicts with `amazonec2Config`, `azureConfig`, `digitaloceanConfig`, `harvesterConfig`, `openstackConfig` and `vsphereConfig` (list maxitems:1) +func (o MachineConfigV2Output) LinodeConfig() MachineConfigV2LinodeConfigPtrOutput { + return o.ApplyT(func(v *MachineConfigV2) MachineConfigV2LinodeConfigPtrOutput { return v.LinodeConfig }).(MachineConfigV2LinodeConfigPtrOutput) +} + +// (Computed) The machine config name (string) +func (o MachineConfigV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MachineConfigV2) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Openstack config for the Machine Config V2. Conflicts with `amazonec2Config`, `azureConfig`, `digitaloceanConfig`, `harvesterConfig`, `linodeConfig` and `vsphereConfig` (list maxitems:1) +func (o MachineConfigV2Output) OpenstackConfig() MachineConfigV2OpenstackConfigPtrOutput { + return o.ApplyT(func(v *MachineConfigV2) MachineConfigV2OpenstackConfigPtrOutput { return v.OpenstackConfig }).(MachineConfigV2OpenstackConfigPtrOutput) +} + +// (Computed) The machine config k8s resource version (string) +func (o MachineConfigV2Output) ResourceVersion() pulumi.StringOutput { + return o.ApplyT(func(v *MachineConfigV2) pulumi.StringOutput { return v.ResourceVersion }).(pulumi.StringOutput) +} + +// vSphere config for the Machine Config V2. Conflicts with `amazonec2Config`, `azureConfig`, `digitaloceanConfig`, `harvesterConfig`, `linodeConfig` and `openstackConfig` (list maxitems:1) +func (o MachineConfigV2Output) VsphereConfig() MachineConfigV2VsphereConfigPtrOutput { + return o.ApplyT(func(v *MachineConfigV2) MachineConfigV2VsphereConfigPtrOutput { return v.VsphereConfig }).(MachineConfigV2VsphereConfigPtrOutput) +} + type MachineConfigV2ArrayOutput struct{ *pulumi.OutputState } func (MachineConfigV2ArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/multiClusterApp.go b/sdk/go/rancher2/multiClusterApp.go index 709add61c..83a4a9a5e 100644 --- a/sdk/go/rancher2/multiClusterApp.go +++ b/sdk/go/rancher2/multiClusterApp.go @@ -408,6 +408,81 @@ func (o MultiClusterAppOutput) ToMultiClusterAppOutputWithContext(ctx context.Co return o } +// Annotations for multi cluster app object (map) +func (o MultiClusterAppOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The multi cluster app answers (list) +func (o MultiClusterAppOutput) Answers() MultiClusterAppAnswerArrayOutput { + return o.ApplyT(func(v *MultiClusterApp) MultiClusterAppAnswerArrayOutput { return v.Answers }).(MultiClusterAppAnswerArrayOutput) +} + +// The multi cluster app catalog name (string) +func (o MultiClusterAppOutput) CatalogName() pulumi.StringOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.StringOutput { return v.CatalogName }).(pulumi.StringOutput) +} + +// Labels for multi cluster app object (map) +func (o MultiClusterAppOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The multi cluster app answers (list) +func (o MultiClusterAppOutput) Members() MultiClusterAppMemberArrayOutput { + return o.ApplyT(func(v *MultiClusterApp) MultiClusterAppMemberArrayOutput { return v.Members }).(MultiClusterAppMemberArrayOutput) +} + +// The multi cluster app name (string) +func (o MultiClusterAppOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The multi cluster app revision history limit. Default `10` (int) +func (o MultiClusterAppOutput) RevisionHistoryLimit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.IntPtrOutput { return v.RevisionHistoryLimit }).(pulumi.IntPtrOutput) +} + +// Current revision id for the multi cluster app (string) +func (o MultiClusterAppOutput) RevisionId() pulumi.StringOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.StringOutput { return v.RevisionId }).(pulumi.StringOutput) +} + +// The multi cluster app roles (list) +func (o MultiClusterAppOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.StringArrayOutput { return v.Roles }).(pulumi.StringArrayOutput) +} + +// The multi cluster app target projects (list) +func (o MultiClusterAppOutput) Targets() MultiClusterAppTargetArrayOutput { + return o.ApplyT(func(v *MultiClusterApp) MultiClusterAppTargetArrayOutput { return v.Targets }).(MultiClusterAppTargetArrayOutput) +} + +// The multi cluster app template name (string) +func (o MultiClusterAppOutput) TemplateName() pulumi.StringOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.StringOutput { return v.TemplateName }).(pulumi.StringOutput) +} + +// The multi cluster app template version. Default: `latest` (string) +func (o MultiClusterAppOutput) TemplateVersion() pulumi.StringOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.StringOutput { return v.TemplateVersion }).(pulumi.StringOutput) +} + +// (Computed) The multi cluster app template version ID (string) +func (o MultiClusterAppOutput) TemplateVersionId() pulumi.StringOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.StringOutput { return v.TemplateVersionId }).(pulumi.StringOutput) +} + +// The multi cluster app upgrade strategy (list MaxItems:1) +func (o MultiClusterAppOutput) UpgradeStrategy() MultiClusterAppUpgradeStrategyOutput { + return o.ApplyT(func(v *MultiClusterApp) MultiClusterAppUpgradeStrategyOutput { return v.UpgradeStrategy }).(MultiClusterAppUpgradeStrategyOutput) +} + +// Wait until the multi cluster app is active. Default `true` (bool) +func (o MultiClusterAppOutput) Wait() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MultiClusterApp) pulumi.BoolPtrOutput { return v.Wait }).(pulumi.BoolPtrOutput) +} + type MultiClusterAppArrayOutput struct{ *pulumi.OutputState } func (MultiClusterAppArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/namespace.go b/sdk/go/rancher2/namespace.go index c00c6fc51..5a23402df 100644 --- a/sdk/go/rancher2/namespace.go +++ b/sdk/go/rancher2/namespace.go @@ -337,6 +337,46 @@ func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) Names return o } +// Annotations for Node Pool object (map) +func (o NamespaceOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Namespace) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Default containers resource limits on namespace (List maxitem:1) +func (o NamespaceOutput) ContainerResourceLimit() NamespaceContainerResourceLimitPtrOutput { + return o.ApplyT(func(v *Namespace) NamespaceContainerResourceLimitPtrOutput { return v.ContainerResourceLimit }).(NamespaceContainerResourceLimitPtrOutput) +} + +// A namespace description (string) +func (o NamespaceOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Namespace) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Labels for Node Pool object (map) +func (o NamespaceOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Namespace) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the namespace (string) +func (o NamespaceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Namespace) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The project id where assign namespace. It's on the form `project_id=:`. Updating `` part on same `` namespace will be moved between projects (string) +func (o NamespaceOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *Namespace) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// Resource quota for namespace. Rancher v2.1.x or higher (list maxitems:1) +func (o NamespaceOutput) ResourceQuota() NamespaceResourceQuotaOutput { + return o.ApplyT(func(v *Namespace) NamespaceResourceQuotaOutput { return v.ResourceQuota }).(NamespaceResourceQuotaOutput) +} + +// Wait for cluster becomes active. Default `false` (bool) +func (o NamespaceOutput) WaitForCluster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Namespace) pulumi.BoolPtrOutput { return v.WaitForCluster }).(pulumi.BoolPtrOutput) +} + type NamespaceArrayOutput struct{ *pulumi.OutputState } func (NamespaceArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/nodeDriver.go b/sdk/go/rancher2/nodeDriver.go index bc3ea56f2..274ded3f4 100644 --- a/sdk/go/rancher2/nodeDriver.go +++ b/sdk/go/rancher2/nodeDriver.go @@ -313,6 +313,61 @@ func (o NodeDriverOutput) ToNodeDriverOutputWithContext(ctx context.Context) Nod return o } +// Specify if the node driver state (bool) +func (o NodeDriverOutput) Active() pulumi.BoolOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.BoolOutput { return v.Active }).(pulumi.BoolOutput) +} + +// Annotations of the resource (map) +func (o NodeDriverOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Specify wheter the node driver is an internal node driver or not (bool) +func (o NodeDriverOutput) Builtin() pulumi.BoolOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.BoolOutput { return v.Builtin }).(pulumi.BoolOutput) +} + +// Verify that the downloaded driver matches the expected checksum (string) +func (o NodeDriverOutput) Checksum() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.StringPtrOutput { return v.Checksum }).(pulumi.StringPtrOutput) +} + +// Description of the node driver (string) +func (o NodeDriverOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// External ID (string) +func (o NodeDriverOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.StringPtrOutput { return v.ExternalId }).(pulumi.StringPtrOutput) +} + +// Labels of the resource (map) +func (o NodeDriverOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Name of the node driver (string) +func (o NodeDriverOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The URL to load for customized Add Nodes screen for this driver (string) +func (o NodeDriverOutput) UiUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.StringPtrOutput { return v.UiUrl }).(pulumi.StringPtrOutput) +} + +// The URL to download the machine driver binary for 64-bit Linux (string) +func (o NodeDriverOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) +} + +// Domains to whitelist for the ui (list) +func (o NodeDriverOutput) WhitelistDomains() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeDriver) pulumi.StringArrayOutput { return v.WhitelistDomains }).(pulumi.StringArrayOutput) +} + type NodeDriverArrayOutput struct{ *pulumi.OutputState } func (NodeDriverArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/nodePool.go b/sdk/go/rancher2/nodePool.go index 2038a16da..3b4416f54 100644 --- a/sdk/go/rancher2/nodePool.go +++ b/sdk/go/rancher2/nodePool.go @@ -298,6 +298,71 @@ func (o NodePoolOutput) ToNodePoolOutputWithContext(ctx context.Context) NodePoo return o } +// Annotations for Node Pool object (map) +func (o NodePoolOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *NodePool) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The RKE cluster id to use Node Pool (string) +func (o NodePoolOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *NodePool) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// RKE control plane role for created nodes (bool) +func (o NodePoolOutput) ControlPlane() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodePool) pulumi.BoolPtrOutput { return v.ControlPlane }).(pulumi.BoolPtrOutput) +} + +// Delete not ready node after secs. For Rancher v2.3.3 or above. Default `0` (int) +func (o NodePoolOutput) DeleteNotReadyAfterSecs() pulumi.IntPtrOutput { + return o.ApplyT(func(v *NodePool) pulumi.IntPtrOutput { return v.DeleteNotReadyAfterSecs }).(pulumi.IntPtrOutput) +} + +// Drain nodes before delete. Default: `false` (bool) +func (o NodePoolOutput) DrainBeforeDelete() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodePool) pulumi.BoolPtrOutput { return v.DrainBeforeDelete }).(pulumi.BoolPtrOutput) +} + +// RKE etcd role for created nodes (bool) +func (o NodePoolOutput) Etcd() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodePool) pulumi.BoolPtrOutput { return v.Etcd }).(pulumi.BoolPtrOutput) +} + +// The prefix for created nodes of the Node Pool (string) +func (o NodePoolOutput) HostnamePrefix() pulumi.StringOutput { + return o.ApplyT(func(v *NodePool) pulumi.StringOutput { return v.HostnamePrefix }).(pulumi.StringOutput) +} + +// Labels for Node Pool object (map) +func (o NodePoolOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *NodePool) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the Node Pool (string) +func (o NodePoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *NodePool) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Node taints. For Rancher v2.3.3 or above (List) +func (o NodePoolOutput) NodeTaints() NodePoolNodeTaintArrayOutput { + return o.ApplyT(func(v *NodePool) NodePoolNodeTaintArrayOutput { return v.NodeTaints }).(NodePoolNodeTaintArrayOutput) +} + +// The Node Template ID to use for node creation (string) +func (o NodePoolOutput) NodeTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v *NodePool) pulumi.StringOutput { return v.NodeTemplateId }).(pulumi.StringOutput) +} + +// The number of nodes to create on Node Pool. Default `1`. Only values >= 1 allowed (int) +func (o NodePoolOutput) Quantity() pulumi.IntPtrOutput { + return o.ApplyT(func(v *NodePool) pulumi.IntPtrOutput { return v.Quantity }).(pulumi.IntPtrOutput) +} + +// RKE role role for created nodes (bool) +func (o NodePoolOutput) Worker() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodePool) pulumi.BoolPtrOutput { return v.Worker }).(pulumi.BoolPtrOutput) +} + type NodePoolArrayOutput struct{ *pulumi.OutputState } func (NodePoolArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/nodeTemplate.go b/sdk/go/rancher2/nodeTemplate.go index a45fc1a72..ce2d481da 100644 --- a/sdk/go/rancher2/nodeTemplate.go +++ b/sdk/go/rancher2/nodeTemplate.go @@ -12,7 +12,7 @@ import ( // Provides a Rancher v2 Node Template resource. This can be used to create Node Template for Rancher v2 and retrieve their information. // -// amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, hetzner, and vsphere drivers are supported for node templates. +// amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates. // // **Note** If you are upgrading to Rancher v2.3.3, please take a look to final section // @@ -255,6 +255,8 @@ type NodeTemplate struct { OpennebulaConfig NodeTemplateOpennebulaConfigPtrOutput `pulumi:"opennebulaConfig"` // Openstack config for the Node Template (list maxitems:1) OpenstackConfig NodeTemplateOpenstackConfigPtrOutput `pulumi:"openstackConfig"` + // Outscale config for the Node Template (list maxitems:1) + OutscaleConfig NodeTemplateOutscaleConfigPtrOutput `pulumi:"outscaleConfig"` // Engine storage driver for the node template (bool) UseInternalIpAddress pulumi.BoolPtrOutput `pulumi:"useInternalIpAddress"` // vSphere config for the Node Template (list maxitems:1) @@ -268,6 +270,17 @@ func NewNodeTemplate(ctx *pulumi.Context, args = &NodeTemplateArgs{} } + if args.AuthCertificateAuthority != nil { + args.AuthCertificateAuthority = pulumi.ToSecret(args.AuthCertificateAuthority).(pulumi.StringPtrOutput) + } + if args.AuthKey != nil { + args.AuthKey = pulumi.ToSecret(args.AuthKey).(pulumi.StringPtrOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "authCertificateAuthority", + "authKey", + }) + opts = append(opts, secrets) var resource NodeTemplate err := ctx.RegisterResource("rancher2:index/nodeTemplate:NodeTemplate", name, args, &resource, opts...) if err != nil { @@ -340,6 +353,8 @@ type nodeTemplateState struct { OpennebulaConfig *NodeTemplateOpennebulaConfig `pulumi:"opennebulaConfig"` // Openstack config for the Node Template (list maxitems:1) OpenstackConfig *NodeTemplateOpenstackConfig `pulumi:"openstackConfig"` + // Outscale config for the Node Template (list maxitems:1) + OutscaleConfig *NodeTemplateOutscaleConfig `pulumi:"outscaleConfig"` // Engine storage driver for the node template (bool) UseInternalIpAddress *bool `pulumi:"useInternalIpAddress"` // vSphere config for the Node Template (list maxitems:1) @@ -397,6 +412,8 @@ type NodeTemplateState struct { OpennebulaConfig NodeTemplateOpennebulaConfigPtrInput // Openstack config for the Node Template (list maxitems:1) OpenstackConfig NodeTemplateOpenstackConfigPtrInput + // Outscale config for the Node Template (list maxitems:1) + OutscaleConfig NodeTemplateOutscaleConfigPtrInput // Engine storage driver for the node template (bool) UseInternalIpAddress pulumi.BoolPtrInput // vSphere config for the Node Template (list maxitems:1) @@ -456,6 +473,8 @@ type nodeTemplateArgs struct { OpennebulaConfig *NodeTemplateOpennebulaConfig `pulumi:"opennebulaConfig"` // Openstack config for the Node Template (list maxitems:1) OpenstackConfig *NodeTemplateOpenstackConfig `pulumi:"openstackConfig"` + // Outscale config for the Node Template (list maxitems:1) + OutscaleConfig *NodeTemplateOutscaleConfig `pulumi:"outscaleConfig"` // Engine storage driver for the node template (bool) UseInternalIpAddress *bool `pulumi:"useInternalIpAddress"` // vSphere config for the Node Template (list maxitems:1) @@ -512,6 +531,8 @@ type NodeTemplateArgs struct { OpennebulaConfig NodeTemplateOpennebulaConfigPtrInput // Openstack config for the Node Template (list maxitems:1) OpenstackConfig NodeTemplateOpenstackConfigPtrInput + // Outscale config for the Node Template (list maxitems:1) + OutscaleConfig NodeTemplateOutscaleConfigPtrInput // Engine storage driver for the node template (bool) UseInternalIpAddress pulumi.BoolPtrInput // vSphere config for the Node Template (list maxitems:1) @@ -605,6 +626,146 @@ func (o NodeTemplateOutput) ToNodeTemplateOutputWithContext(ctx context.Context) return o } +// AWS config for the Node Template (list maxitems:1) +func (o NodeTemplateOutput) Amazonec2Config() NodeTemplateAmazonec2ConfigPtrOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateAmazonec2ConfigPtrOutput { return v.Amazonec2Config }).(NodeTemplateAmazonec2ConfigPtrOutput) +} + +// Annotations for Node Template object (map) +func (o NodeTemplateOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Auth certificate authority for the Node Template (string) +func (o NodeTemplateOutput) AuthCertificateAuthority() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringPtrOutput { return v.AuthCertificateAuthority }).(pulumi.StringPtrOutput) +} + +// Auth key for the Node Template (string) +func (o NodeTemplateOutput) AuthKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringPtrOutput { return v.AuthKey }).(pulumi.StringPtrOutput) +} + +// Azure config for the Node Template (list maxitems:1) +func (o NodeTemplateOutput) AzureConfig() NodeTemplateAzureConfigPtrOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateAzureConfigPtrOutput { return v.AzureConfig }).(NodeTemplateAzureConfigPtrOutput) +} + +// Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string) +func (o NodeTemplateOutput) CloudCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringPtrOutput { return v.CloudCredentialId }).(pulumi.StringPtrOutput) +} + +// Description for the Node Template (string) +func (o NodeTemplateOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Digitalocean config for the Node Template (list maxitems:1) +func (o NodeTemplateOutput) DigitaloceanConfig() NodeTemplateDigitaloceanConfigPtrOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateDigitaloceanConfigPtrOutput { return v.DigitaloceanConfig }).(NodeTemplateDigitaloceanConfigPtrOutput) +} + +// (Computed) The driver of the node template (string) +func (o NodeTemplateOutput) Driver() pulumi.StringOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringOutput { return v.Driver }).(pulumi.StringOutput) +} + +// The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string) +func (o NodeTemplateOutput) DriverId() pulumi.StringOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringOutput { return v.DriverId }).(pulumi.StringOutput) +} + +// Engine environment for the node template (string) +func (o NodeTemplateOutput) EngineEnv() pulumi.MapOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.MapOutput { return v.EngineEnv }).(pulumi.MapOutput) +} + +// Insecure registry for the node template (list) +func (o NodeTemplateOutput) EngineInsecureRegistries() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringArrayOutput { return v.EngineInsecureRegistries }).(pulumi.StringArrayOutput) +} + +// Docker engine install URL for the node template. Available install docker versions at `https://github.com/rancher/install-docker` (string) +func (o NodeTemplateOutput) EngineInstallUrl() pulumi.StringOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringOutput { return v.EngineInstallUrl }).(pulumi.StringOutput) +} + +// Engine label for the node template (string) +func (o NodeTemplateOutput) EngineLabel() pulumi.MapOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.MapOutput { return v.EngineLabel }).(pulumi.MapOutput) +} + +// Engine options for the node template (map) +func (o NodeTemplateOutput) EngineOpt() pulumi.MapOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.MapOutput { return v.EngineOpt }).(pulumi.MapOutput) +} + +// Engine registry mirror for the node template (list) +func (o NodeTemplateOutput) EngineRegistryMirrors() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringArrayOutput { return v.EngineRegistryMirrors }).(pulumi.StringArrayOutput) +} + +// Engine storage driver for the node template (string) +func (o NodeTemplateOutput) EngineStorageDriver() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringPtrOutput { return v.EngineStorageDriver }).(pulumi.StringPtrOutput) +} + +// Harvester config for the Node Template (list maxitems:1) +func (o NodeTemplateOutput) HarvesterConfig() NodeTemplateHarvesterConfigPtrOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateHarvesterConfigPtrOutput { return v.HarvesterConfig }).(NodeTemplateHarvesterConfigPtrOutput) +} + +// Hetzner config for the Node Template (list maxitems:1) +func (o NodeTemplateOutput) HetznerConfig() NodeTemplateHetznerConfigPtrOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateHetznerConfigPtrOutput { return v.HetznerConfig }).(NodeTemplateHetznerConfigPtrOutput) +} + +// Labels for Node Template object (map) +func (o NodeTemplateOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Linode config for the Node Template (list maxitems:1) +func (o NodeTemplateOutput) LinodeConfig() NodeTemplateLinodeConfigPtrOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateLinodeConfigPtrOutput { return v.LinodeConfig }).(NodeTemplateLinodeConfigPtrOutput) +} + +// The name of the Node Template (string) +func (o NodeTemplateOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Node taints. For Rancher v2.3.3 or above (List) +func (o NodeTemplateOutput) NodeTaints() NodeTemplateNodeTaintArrayOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateNodeTaintArrayOutput { return v.NodeTaints }).(NodeTemplateNodeTaintArrayOutput) +} + +// Opennebula config for the Node Template (list maxitems:1) +func (o NodeTemplateOutput) OpennebulaConfig() NodeTemplateOpennebulaConfigPtrOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateOpennebulaConfigPtrOutput { return v.OpennebulaConfig }).(NodeTemplateOpennebulaConfigPtrOutput) +} + +// Openstack config for the Node Template (list maxitems:1) +func (o NodeTemplateOutput) OpenstackConfig() NodeTemplateOpenstackConfigPtrOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateOpenstackConfigPtrOutput { return v.OpenstackConfig }).(NodeTemplateOpenstackConfigPtrOutput) +} + +// Outscale config for the Node Template (list maxitems:1) +func (o NodeTemplateOutput) OutscaleConfig() NodeTemplateOutscaleConfigPtrOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateOutscaleConfigPtrOutput { return v.OutscaleConfig }).(NodeTemplateOutscaleConfigPtrOutput) +} + +// Engine storage driver for the node template (bool) +func (o NodeTemplateOutput) UseInternalIpAddress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplate) pulumi.BoolPtrOutput { return v.UseInternalIpAddress }).(pulumi.BoolPtrOutput) +} + +// vSphere config for the Node Template (list maxitems:1) +func (o NodeTemplateOutput) VsphereConfig() NodeTemplateVsphereConfigPtrOutput { + return o.ApplyT(func(v *NodeTemplate) NodeTemplateVsphereConfigPtrOutput { return v.VsphereConfig }).(NodeTemplateVsphereConfigPtrOutput) +} + type NodeTemplateArrayOutput struct{ *pulumi.OutputState } func (NodeTemplateArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/notifier.go b/sdk/go/rancher2/notifier.go index 6a90351c7..80f186355 100644 --- a/sdk/go/rancher2/notifier.go +++ b/sdk/go/rancher2/notifier.go @@ -324,6 +324,71 @@ func (o NotifierOutput) ToNotifierOutputWithContext(ctx context.Context) Notifie return o } +// Annotations for notifier object (map) +func (o NotifierOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Notifier) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id where create notifier (string) +func (o NotifierOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *Notifier) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// The notifier description (string) +func (o NotifierOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Notifier) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Dingtalk config for notifier (list maxitems:1) +func (o NotifierOutput) DingtalkConfig() NotifierDingtalkConfigPtrOutput { + return o.ApplyT(func(v *Notifier) NotifierDingtalkConfigPtrOutput { return v.DingtalkConfig }).(NotifierDingtalkConfigPtrOutput) +} + +// Labels for notifier object (map) +func (o NotifierOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Notifier) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// MSTeams config for notifier (list maxitems:1) +func (o NotifierOutput) MsteamsConfig() NotifierMsteamsConfigPtrOutput { + return o.ApplyT(func(v *Notifier) NotifierMsteamsConfigPtrOutput { return v.MsteamsConfig }).(NotifierMsteamsConfigPtrOutput) +} + +// The name of the notifier (string) +func (o NotifierOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Notifier) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Pagerduty config for notifier (list maxitems:1) +func (o NotifierOutput) PagerdutyConfig() NotifierPagerdutyConfigPtrOutput { + return o.ApplyT(func(v *Notifier) NotifierPagerdutyConfigPtrOutput { return v.PagerdutyConfig }).(NotifierPagerdutyConfigPtrOutput) +} + +// = (Optional) Enable the notifier to send resolved notifications. Default `false` (bool) +func (o NotifierOutput) SendResolved() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Notifier) pulumi.BoolPtrOutput { return v.SendResolved }).(pulumi.BoolPtrOutput) +} + +// Slack config for notifier (list maxitems:1) +func (o NotifierOutput) SlackConfig() NotifierSlackConfigPtrOutput { + return o.ApplyT(func(v *Notifier) NotifierSlackConfigPtrOutput { return v.SlackConfig }).(NotifierSlackConfigPtrOutput) +} + +// SMTP config for notifier (list maxitems:1) +func (o NotifierOutput) SmtpConfig() NotifierSmtpConfigPtrOutput { + return o.ApplyT(func(v *Notifier) NotifierSmtpConfigPtrOutput { return v.SmtpConfig }).(NotifierSmtpConfigPtrOutput) +} + +// Webhook config for notifier (list maxitems:1) +func (o NotifierOutput) WebhookConfig() NotifierWebhookConfigPtrOutput { + return o.ApplyT(func(v *Notifier) NotifierWebhookConfigPtrOutput { return v.WebhookConfig }).(NotifierWebhookConfigPtrOutput) +} + +// Wechat config for notifier (list maxitems:1) +func (o NotifierOutput) WechatConfig() NotifierWechatConfigPtrOutput { + return o.ApplyT(func(v *Notifier) NotifierWechatConfigPtrOutput { return v.WechatConfig }).(NotifierWechatConfigPtrOutput) +} + type NotifierArrayOutput struct{ *pulumi.OutputState } func (NotifierArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/podSecurityPolicyTemplate.go b/sdk/go/rancher2/podSecurityPolicyTemplate.go index 9b9ba90c1..a50cb78bb 100644 --- a/sdk/go/rancher2/podSecurityPolicyTemplate.go +++ b/sdk/go/rancher2/podSecurityPolicyTemplate.go @@ -567,6 +567,156 @@ func (o PodSecurityPolicyTemplateOutput) ToPodSecurityPolicyTemplateOutputWithCo return o } +// = (Optional) +func (o PodSecurityPolicyTemplateOutput) AllowPrivilegeEscalation() pulumi.BoolOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.BoolOutput { return v.AllowPrivilegeEscalation }).(pulumi.BoolOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) AllowedCapabilities() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.StringArrayOutput { return v.AllowedCapabilities }).(pulumi.StringArrayOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) AllowedCsiDrivers() PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { + return v.AllowedCsiDrivers + }).(PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) AllowedFlexVolumes() PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { + return v.AllowedFlexVolumes + }).(PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) AllowedHostPaths() PodSecurityPolicyTemplateAllowedHostPathArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) PodSecurityPolicyTemplateAllowedHostPathArrayOutput { + return v.AllowedHostPaths + }).(PodSecurityPolicyTemplateAllowedHostPathArrayOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) AllowedProcMountTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.StringArrayOutput { return v.AllowedProcMountTypes }).(pulumi.StringArrayOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) AllowedUnsafeSysctls() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.StringArrayOutput { return v.AllowedUnsafeSysctls }).(pulumi.StringArrayOutput) +} + +// Annotations for PodSecurityPolicyTemplate object (map) +func (o PodSecurityPolicyTemplateOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) DefaultAddCapabilities() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.StringArrayOutput { return v.DefaultAddCapabilities }).(pulumi.StringArrayOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) DefaultAllowPrivilegeEscalation() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.BoolPtrOutput { return v.DefaultAllowPrivilegeEscalation }).(pulumi.BoolPtrOutput) +} + +// The PodSecurityPolicyTemplate description (string) +func (o PodSecurityPolicyTemplateOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) ForbiddenSysctls() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.StringArrayOutput { return v.ForbiddenSysctls }).(pulumi.StringArrayOutput) +} + +// (list maxitems:1) +func (o PodSecurityPolicyTemplateOutput) FsGroup() PodSecurityPolicyTemplateFsGroupOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) PodSecurityPolicyTemplateFsGroupOutput { return v.FsGroup }).(PodSecurityPolicyTemplateFsGroupOutput) +} + +// (bool) +func (o PodSecurityPolicyTemplateOutput) HostIpc() pulumi.BoolOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.BoolOutput { return v.HostIpc }).(pulumi.BoolOutput) +} + +// hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. +func (o PodSecurityPolicyTemplateOutput) HostNetwork() pulumi.BoolOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.BoolOutput { return v.HostNetwork }).(pulumi.BoolOutput) +} + +// (bool) +func (o PodSecurityPolicyTemplateOutput) HostPid() pulumi.BoolOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.BoolOutput { return v.HostPid }).(pulumi.BoolOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) HostPorts() PodSecurityPolicyTemplateHostPortArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) PodSecurityPolicyTemplateHostPortArrayOutput { return v.HostPorts }).(PodSecurityPolicyTemplateHostPortArrayOutput) +} + +// Labels for PodSecurityPolicyTemplate object (map) +func (o PodSecurityPolicyTemplateOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the PodSecurityPolicyTemplate (string) +func (o PodSecurityPolicyTemplateOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// (bool) +func (o PodSecurityPolicyTemplateOutput) Privileged() pulumi.BoolOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.BoolOutput { return v.Privileged }).(pulumi.BoolOutput) +} + +// (bool) +func (o PodSecurityPolicyTemplateOutput) ReadOnlyRootFilesystem() pulumi.BoolOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.BoolOutput { return v.ReadOnlyRootFilesystem }).(pulumi.BoolOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) RequiredDropCapabilities() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.StringArrayOutput { return v.RequiredDropCapabilities }).(pulumi.StringArrayOutput) +} + +// (list maxitems:1) +func (o PodSecurityPolicyTemplateOutput) RunAsGroup() PodSecurityPolicyTemplateRunAsGroupPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) PodSecurityPolicyTemplateRunAsGroupPtrOutput { return v.RunAsGroup }).(PodSecurityPolicyTemplateRunAsGroupPtrOutput) +} + +// (list maxitems:1) +func (o PodSecurityPolicyTemplateOutput) RunAsUser() PodSecurityPolicyTemplateRunAsUserOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) PodSecurityPolicyTemplateRunAsUserOutput { return v.RunAsUser }).(PodSecurityPolicyTemplateRunAsUserOutput) +} + +// (list maxitems:1) +func (o PodSecurityPolicyTemplateOutput) RuntimeClass() PodSecurityPolicyTemplateRuntimeClassPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) PodSecurityPolicyTemplateRuntimeClassPtrOutput { + return v.RuntimeClass + }).(PodSecurityPolicyTemplateRuntimeClassPtrOutput) +} + +// (list maxitems:1) +func (o PodSecurityPolicyTemplateOutput) SeLinux() PodSecurityPolicyTemplateSeLinuxOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) PodSecurityPolicyTemplateSeLinuxOutput { return v.SeLinux }).(PodSecurityPolicyTemplateSeLinuxOutput) +} + +// (list maxitems:1) +func (o PodSecurityPolicyTemplateOutput) SupplementalGroup() PodSecurityPolicyTemplateSupplementalGroupOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) PodSecurityPolicyTemplateSupplementalGroupOutput { + return v.SupplementalGroup + }).(PodSecurityPolicyTemplateSupplementalGroupOutput) +} + +// (list) +func (o PodSecurityPolicyTemplateOutput) Volumes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplate) pulumi.StringArrayOutput { return v.Volumes }).(pulumi.StringArrayOutput) +} + type PodSecurityPolicyTemplateArrayOutput struct{ *pulumi.OutputState } func (PodSecurityPolicyTemplateArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/project.go b/sdk/go/rancher2/project.go index 0bf638e8f..d82f0d38e 100644 --- a/sdk/go/rancher2/project.go +++ b/sdk/go/rancher2/project.go @@ -381,6 +381,61 @@ func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOu return o } +// Annotations for Node Pool object (map) +func (o ProjectOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Project) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id where create project (string) +func (o ProjectOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *Project) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Default containers resource limits on project (List maxitem:1) +func (o ProjectOutput) ContainerResourceLimit() ProjectContainerResourceLimitPtrOutput { + return o.ApplyT(func(v *Project) ProjectContainerResourceLimitPtrOutput { return v.ContainerResourceLimit }).(ProjectContainerResourceLimitPtrOutput) +} + +// A project description (string) +func (o ProjectOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Project) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Enable built-in project monitoring. Default `false` (bool) +func (o ProjectOutput) EnableProjectMonitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Project) pulumi.BoolPtrOutput { return v.EnableProjectMonitoring }).(pulumi.BoolPtrOutput) +} + +// Labels for Node Pool object (map) +func (o ProjectOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Project) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the project (string) +func (o ProjectOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Project) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Default Pod Security Policy ID for the project (string) +func (o ProjectOutput) PodSecurityPolicyTemplateId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Project) pulumi.StringPtrOutput { return v.PodSecurityPolicyTemplateId }).(pulumi.StringPtrOutput) +} + +// Project monitoring config. Any parameter defined in [rancher-monitoring charts](https://github.com/rancher/system-charts/tree/dev/charts/rancher-monitoring) could be configured (list maxitems:1) +func (o ProjectOutput) ProjectMonitoringInput() ProjectProjectMonitoringInputPtrOutput { + return o.ApplyT(func(v *Project) ProjectProjectMonitoringInputPtrOutput { return v.ProjectMonitoringInput }).(ProjectProjectMonitoringInputPtrOutput) +} + +// Resource quota for project. Rancher v2.1.x or higher (list maxitems:1) +func (o ProjectOutput) ResourceQuota() ProjectResourceQuotaPtrOutput { + return o.ApplyT(func(v *Project) ProjectResourceQuotaPtrOutput { return v.ResourceQuota }).(ProjectResourceQuotaPtrOutput) +} + +// Wait for cluster becomes active. Default `false` (bool) +func (o ProjectOutput) WaitForCluster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Project) pulumi.BoolPtrOutput { return v.WaitForCluster }).(pulumi.BoolPtrOutput) +} + type ProjectArrayOutput struct{ *pulumi.OutputState } func (ProjectArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/projectAlertGroup.go b/sdk/go/rancher2/projectAlertGroup.go index 518ed253b..056718af7 100644 --- a/sdk/go/rancher2/projectAlertGroup.go +++ b/sdk/go/rancher2/projectAlertGroup.go @@ -281,6 +281,51 @@ func (o ProjectAlertGroupOutput) ToProjectAlertGroupOutputWithContext(ctx contex return o } +// The project alert group annotations (map) +func (o ProjectAlertGroupOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectAlertGroup) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The project alert group description (string) +func (o ProjectAlertGroupOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectAlertGroup) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// The project alert group interval seconds. Default: `180` (int) +func (o ProjectAlertGroupOutput) GroupIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectAlertGroup) pulumi.IntPtrOutput { return v.GroupIntervalSeconds }).(pulumi.IntPtrOutput) +} + +// The project alert group wait seconds. Default: `180` (int) +func (o ProjectAlertGroupOutput) GroupWaitSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectAlertGroup) pulumi.IntPtrOutput { return v.GroupWaitSeconds }).(pulumi.IntPtrOutput) +} + +// The project alert group labels (map) +func (o ProjectAlertGroupOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectAlertGroup) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The project alert group name (string) +func (o ProjectAlertGroupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectAlertGroup) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The project id where create project alert group (string) +func (o ProjectAlertGroupOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectAlertGroup) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// The project alert group recipients (list) +func (o ProjectAlertGroupOutput) Recipients() ProjectAlertGroupRecipientArrayOutput { + return o.ApplyT(func(v *ProjectAlertGroup) ProjectAlertGroupRecipientArrayOutput { return v.Recipients }).(ProjectAlertGroupRecipientArrayOutput) +} + +// The project alert group wait seconds. Default: `3600` (int) +func (o ProjectAlertGroupOutput) RepeatIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectAlertGroup) pulumi.IntPtrOutput { return v.RepeatIntervalSeconds }).(pulumi.IntPtrOutput) +} + type ProjectAlertGroupArrayOutput struct{ *pulumi.OutputState } func (ProjectAlertGroupArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/projectAlertRule.go b/sdk/go/rancher2/projectAlertRule.go index b2ba4a27f..e3f96a422 100644 --- a/sdk/go/rancher2/projectAlertRule.go +++ b/sdk/go/rancher2/projectAlertRule.go @@ -358,6 +358,71 @@ func (o ProjectAlertRuleOutput) ToProjectAlertRuleOutputWithContext(ctx context. return o } +// The project alert rule annotations (map) +func (o ProjectAlertRuleOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectAlertRule) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The project alert rule alert group ID (string) +func (o ProjectAlertRuleOutput) GroupId() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectAlertRule) pulumi.StringOutput { return v.GroupId }).(pulumi.StringOutput) +} + +// The project alert rule group interval seconds. Default: `180` (int) +func (o ProjectAlertRuleOutput) GroupIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectAlertRule) pulumi.IntPtrOutput { return v.GroupIntervalSeconds }).(pulumi.IntPtrOutput) +} + +// The project alert rule group wait seconds. Default: `180` (int) +func (o ProjectAlertRuleOutput) GroupWaitSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectAlertRule) pulumi.IntPtrOutput { return v.GroupWaitSeconds }).(pulumi.IntPtrOutput) +} + +// The project alert rule inherited. Default: `true` (bool) +func (o ProjectAlertRuleOutput) Inherited() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProjectAlertRule) pulumi.BoolPtrOutput { return v.Inherited }).(pulumi.BoolPtrOutput) +} + +// The project alert rule labels (map) +func (o ProjectAlertRuleOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectAlertRule) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The project alert rule metric rule. ConflictsWith: `"podRule", "workloadRule"“ (list Maxitems:1) +func (o ProjectAlertRuleOutput) MetricRule() ProjectAlertRuleMetricRulePtrOutput { + return o.ApplyT(func(v *ProjectAlertRule) ProjectAlertRuleMetricRulePtrOutput { return v.MetricRule }).(ProjectAlertRuleMetricRulePtrOutput) +} + +// The project alert rule name (string) +func (o ProjectAlertRuleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectAlertRule) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The project alert rule pod rule. ConflictsWith: `"metricRule", "workloadRule"“ (list Maxitems:1) +func (o ProjectAlertRuleOutput) PodRule() ProjectAlertRulePodRulePtrOutput { + return o.ApplyT(func(v *ProjectAlertRule) ProjectAlertRulePodRulePtrOutput { return v.PodRule }).(ProjectAlertRulePodRulePtrOutput) +} + +// The project id where create project alert rule (string) +func (o ProjectAlertRuleOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectAlertRule) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// The project alert rule wait seconds. Default: `3600` (int) +func (o ProjectAlertRuleOutput) RepeatIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectAlertRule) pulumi.IntPtrOutput { return v.RepeatIntervalSeconds }).(pulumi.IntPtrOutput) +} + +// The project alert rule severity. Supported values : `"critical" | "info" | "warning"`. Default: `critical` (string) +func (o ProjectAlertRuleOutput) Severity() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectAlertRule) pulumi.StringPtrOutput { return v.Severity }).(pulumi.StringPtrOutput) +} + +// The project alert rule workload rule. ConflictsWith: `"metricRule", "podRule"“ (list Maxitems:1) +func (o ProjectAlertRuleOutput) WorkloadRule() ProjectAlertRuleWorkloadRulePtrOutput { + return o.ApplyT(func(v *ProjectAlertRule) ProjectAlertRuleWorkloadRulePtrOutput { return v.WorkloadRule }).(ProjectAlertRuleWorkloadRulePtrOutput) +} + type ProjectAlertRuleArrayOutput struct{ *pulumi.OutputState } func (ProjectAlertRuleArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/projectLogging.go b/sdk/go/rancher2/projectLogging.go index b7768d89d..694556872 100644 --- a/sdk/go/rancher2/projectLogging.go +++ b/sdk/go/rancher2/projectLogging.go @@ -348,6 +348,81 @@ func (o ProjectLoggingOutput) ToProjectLoggingOutputWithContext(ctx context.Cont return o } +// Annotations for Project Logging object (map) +func (o ProjectLoggingOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectLogging) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The custom target config for Cluster Logging. For `kind = custom`. Conflicts with `elasticsearchConfig`, `fluentdConfig`, `kafkaConfig`, `splunkConfig` and `syslogConfig` (list maxitems:1) +func (o ProjectLoggingOutput) CustomTargetConfig() ProjectLoggingCustomTargetConfigPtrOutput { + return o.ApplyT(func(v *ProjectLogging) ProjectLoggingCustomTargetConfigPtrOutput { return v.CustomTargetConfig }).(ProjectLoggingCustomTargetConfigPtrOutput) +} + +// The elasticsearch config for Project Logging. For `kind = elasticsearch`. Conflicts with `customTargetConfig`, `fluentdConfig`, `kafkaConfig`, `splunkConfig` and `syslogConfig` (list maxitems:1) +func (o ProjectLoggingOutput) ElasticsearchConfig() ProjectLoggingElasticsearchConfigPtrOutput { + return o.ApplyT(func(v *ProjectLogging) ProjectLoggingElasticsearchConfigPtrOutput { return v.ElasticsearchConfig }).(ProjectLoggingElasticsearchConfigPtrOutput) +} + +// Enable json log parsing. Default: `false` (bool) +func (o ProjectLoggingOutput) EnableJsonParsing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProjectLogging) pulumi.BoolPtrOutput { return v.EnableJsonParsing }).(pulumi.BoolPtrOutput) +} + +// The fluentd config for Project Logging. For `kind = fluentd`. Conflicts with `customTargetConfig`, `elasticsearchConfig`, `kafkaConfig`, `splunkConfig` and `syslogConfig` (list maxitems:1) +func (o ProjectLoggingOutput) FluentdConfig() ProjectLoggingFluentdConfigPtrOutput { + return o.ApplyT(func(v *ProjectLogging) ProjectLoggingFluentdConfigPtrOutput { return v.FluentdConfig }).(ProjectLoggingFluentdConfigPtrOutput) +} + +// The kafka config for Project Logging. For `kind = kafka`. Conflicts with `customTargetConfig`, `elasticsearchConfig`, `fluentdConfig`, `splunkConfig` and `syslogConfig` (list maxitems:1) +func (o ProjectLoggingOutput) KafkaConfig() ProjectLoggingKafkaConfigPtrOutput { + return o.ApplyT(func(v *ProjectLogging) ProjectLoggingKafkaConfigPtrOutput { return v.KafkaConfig }).(ProjectLoggingKafkaConfigPtrOutput) +} + +// The kind of the Project Logging. `elasticsearch`, `fluentd`, `kafka`, `splunk` and `syslog` are supported (string) +func (o ProjectLoggingOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectLogging) pulumi.StringOutput { return v.Kind }).(pulumi.StringOutput) +} + +// Labels for Project Logging object (map) +func (o ProjectLoggingOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectLogging) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the Project Logging config (string) +func (o ProjectLoggingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectLogging) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The namespace id from Project logging (string) +func (o ProjectLoggingOutput) NamespaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLogging) pulumi.StringPtrOutput { return v.NamespaceId }).(pulumi.StringPtrOutput) +} + +// How often buffered logs would be flushed. Default: `3` seconds (int) +func (o ProjectLoggingOutput) OutputFlushInterval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectLogging) pulumi.IntPtrOutput { return v.OutputFlushInterval }).(pulumi.IntPtrOutput) +} + +// The output tags for Project Logging (map) +func (o ProjectLoggingOutput) OutputTags() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectLogging) pulumi.MapOutput { return v.OutputTags }).(pulumi.MapOutput) +} + +// The project id to configure logging (string) +func (o ProjectLoggingOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectLogging) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// The splunk config for Project Logging. For `kind = splunk`. Conflicts with `customTargetConfig`, `elasticsearchConfig`, `fluentdConfig`, `kafkaConfig`, and `syslogConfig` (list maxitems:1) +func (o ProjectLoggingOutput) SplunkConfig() ProjectLoggingSplunkConfigPtrOutput { + return o.ApplyT(func(v *ProjectLogging) ProjectLoggingSplunkConfigPtrOutput { return v.SplunkConfig }).(ProjectLoggingSplunkConfigPtrOutput) +} + +// The syslog config for Project Logging. For `kind = syslog`. Conflicts with `customTargetConfig`, `elasticsearchConfig`, `fluentdConfig`, `kafkaConfig`, and `splunkConfig` (list maxitems:1) +func (o ProjectLoggingOutput) SyslogConfig() ProjectLoggingSyslogConfigPtrOutput { + return o.ApplyT(func(v *ProjectLogging) ProjectLoggingSyslogConfigPtrOutput { return v.SyslogConfig }).(ProjectLoggingSyslogConfigPtrOutput) +} + type ProjectLoggingArrayOutput struct{ *pulumi.OutputState } func (ProjectLoggingArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/projectRoleTemplateBinding.go b/sdk/go/rancher2/projectRoleTemplateBinding.go index fb262ddcf..56696b651 100644 --- a/sdk/go/rancher2/projectRoleTemplateBinding.go +++ b/sdk/go/rancher2/projectRoleTemplateBinding.go @@ -283,6 +283,51 @@ func (o ProjectRoleTemplateBindingOutput) ToProjectRoleTemplateBindingOutputWith return o } +// Annotations of the resource (map) +func (o ProjectRoleTemplateBindingOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectRoleTemplateBinding) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The group ID to assign project role template binding (string) +func (o ProjectRoleTemplateBindingOutput) GroupId() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectRoleTemplateBinding) pulumi.StringOutput { return v.GroupId }).(pulumi.StringOutput) +} + +// The groupPrincipal ID to assign project role template binding (string) +func (o ProjectRoleTemplateBindingOutput) GroupPrincipalId() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectRoleTemplateBinding) pulumi.StringOutput { return v.GroupPrincipalId }).(pulumi.StringOutput) +} + +// Labels of the resource (map) +func (o ProjectRoleTemplateBindingOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectRoleTemplateBinding) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the project role template binding (string) +func (o ProjectRoleTemplateBindingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectRoleTemplateBinding) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The project id where bind project role template (string) +func (o ProjectRoleTemplateBindingOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectRoleTemplateBinding) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// The role template id from create project role template binding (string) +func (o ProjectRoleTemplateBindingOutput) RoleTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectRoleTemplateBinding) pulumi.StringOutput { return v.RoleTemplateId }).(pulumi.StringOutput) +} + +// The user ID to assign project role template binding (string) +func (o ProjectRoleTemplateBindingOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectRoleTemplateBinding) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) +} + +// The userPrincipal ID to assign project role template binding (string) +func (o ProjectRoleTemplateBindingOutput) UserPrincipalId() pulumi.StringOutput { + return o.ApplyT(func(v *ProjectRoleTemplateBinding) pulumi.StringOutput { return v.UserPrincipalId }).(pulumi.StringOutput) +} + type ProjectRoleTemplateBindingArrayOutput struct{ *pulumi.OutputState } func (ProjectRoleTemplateBindingArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/provider.go b/sdk/go/rancher2/provider.go index 46aa6ddaa..2586fed07 100644 --- a/sdk/go/rancher2/provider.go +++ b/sdk/go/rancher2/provider.go @@ -48,6 +48,21 @@ func NewProvider(ctx *pulumi.Context, if isZero(args.Insecure) { args.Insecure = pulumi.BoolPtr(getEnvOrDefault(false, parseEnvBool, "RANCHER_INSECURE").(bool)) } + if args.AccessKey != nil { + args.AccessKey = pulumi.ToSecret(args.AccessKey).(pulumi.StringPtrOutput) + } + if args.SecretKey != nil { + args.SecretKey = pulumi.ToSecret(args.SecretKey).(pulumi.StringPtrOutput) + } + if args.TokenKey != nil { + args.TokenKey = pulumi.ToSecret(args.TokenKey).(pulumi.StringPtrOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "accessKey", + "secretKey", + "tokenKey", + }) + opts = append(opts, secrets) var resource Provider err := ctx.RegisterResource("pulumi:providers:rancher2", name, args, &resource, opts...) if err != nil { @@ -140,6 +155,36 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } +// API Key used to authenticate with the rancher server +func (o ProviderOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.AccessKey }).(pulumi.StringPtrOutput) +} + +// The URL to the rancher API +func (o ProviderOutput) ApiUrl() pulumi.StringOutput { + return o.ApplyT(func(v *Provider) pulumi.StringOutput { return v.ApiUrl }).(pulumi.StringOutput) +} + +// CA certificates used to sign rancher server tls certificates. Mandatory if self signed tls and insecure option false +func (o ProviderOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.CaCerts }).(pulumi.StringPtrOutput) +} + +// API secret used to authenticate with the rancher server +func (o ProviderOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.SecretKey }).(pulumi.StringPtrOutput) +} + +// Rancher connection timeout (retry every 5s). Golang duration format, ex: "60s" +func (o ProviderOutput) Timeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.Timeout }).(pulumi.StringPtrOutput) +} + +// API token used to authenticate with the rancher server +func (o ProviderOutput) TokenKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.TokenKey }).(pulumi.StringPtrOutput) +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ProviderInput)(nil)).Elem(), &Provider{}) pulumi.RegisterOutputType(ProviderOutput{}) diff --git a/sdk/go/rancher2/pulumiTypes.go b/sdk/go/rancher2/pulumiTypes.go index d2d886adc..e303f312e 100644 --- a/sdk/go/rancher2/pulumiTypes.go +++ b/sdk/go/rancher2/pulumiTypes.go @@ -21505,6 +21505,8 @@ func (o ClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxUnava } type ClusterRkeConfigNetwork struct { + // ACI provider config for RKE network (list maxitems:63) + AciNetworkProvider *ClusterRkeConfigNetworkAciNetworkProvider `pulumi:"aciNetworkProvider"` // Calico provider config for RKE network (list maxitems:1) CalicoNetworkProvider *ClusterRkeConfigNetworkCalicoNetworkProvider `pulumi:"calicoNetworkProvider"` // Canal provider config for RKE network (list maxitems:1) @@ -21535,6 +21537,8 @@ type ClusterRkeConfigNetworkInput interface { } type ClusterRkeConfigNetworkArgs struct { + // ACI provider config for RKE network (list maxitems:63) + AciNetworkProvider ClusterRkeConfigNetworkAciNetworkProviderPtrInput `pulumi:"aciNetworkProvider"` // Calico provider config for RKE network (list maxitems:1) CalicoNetworkProvider ClusterRkeConfigNetworkCalicoNetworkProviderPtrInput `pulumi:"calicoNetworkProvider"` // Canal provider config for RKE network (list maxitems:1) @@ -21630,6 +21634,13 @@ func (o ClusterRkeConfigNetworkOutput) ToClusterRkeConfigNetworkPtrOutputWithCon }).(ClusterRkeConfigNetworkPtrOutput) } +// ACI provider config for RKE network (list maxitems:63) +func (o ClusterRkeConfigNetworkOutput) AciNetworkProvider() ClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetwork) *ClusterRkeConfigNetworkAciNetworkProvider { + return v.AciNetworkProvider + }).(ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) +} + // Calico provider config for RKE network (list maxitems:1) func (o ClusterRkeConfigNetworkOutput) CalicoNetworkProvider() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { return o.ApplyT(func(v ClusterRkeConfigNetwork) *ClusterRkeConfigNetworkCalicoNetworkProvider { @@ -21702,6 +21713,16 @@ func (o ClusterRkeConfigNetworkPtrOutput) Elem() ClusterRkeConfigNetworkOutput { }).(ClusterRkeConfigNetworkOutput) } +// ACI provider config for RKE network (list maxitems:63) +func (o ClusterRkeConfigNetworkPtrOutput) AciNetworkProvider() ClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetwork) *ClusterRkeConfigNetworkAciNetworkProvider { + if v == nil { + return nil + } + return v.AciNetworkProvider + }).(ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) +} + // Calico provider config for RKE network (list maxitems:1) func (o ClusterRkeConfigNetworkPtrOutput) CalicoNetworkProvider() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { return o.ApplyT(func(v *ClusterRkeConfigNetwork) *ClusterRkeConfigNetworkCalicoNetworkProvider { @@ -21782,3036 +21803,3315 @@ func (o ClusterRkeConfigNetworkPtrOutput) WeaveNetworkProvider() ClusterRkeConfi }).(ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) } -type ClusterRkeConfigNetworkCalicoNetworkProvider struct { - // RKE options for Calico network provider (string) - CloudProvider *string `pulumi:"cloudProvider"` -} - -// ClusterRkeConfigNetworkCalicoNetworkProviderInput is an input type that accepts ClusterRkeConfigNetworkCalicoNetworkProviderArgs and ClusterRkeConfigNetworkCalicoNetworkProviderOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNetworkCalicoNetworkProviderInput` via: -// -// ClusterRkeConfigNetworkCalicoNetworkProviderArgs{...} -type ClusterRkeConfigNetworkCalicoNetworkProviderInput interface { - pulumi.Input - - ToClusterRkeConfigNetworkCalicoNetworkProviderOutput() ClusterRkeConfigNetworkCalicoNetworkProviderOutput - ToClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderOutput -} - -type ClusterRkeConfigNetworkCalicoNetworkProviderArgs struct { - // RKE options for Calico network provider (string) - CloudProvider pulumi.StringPtrInput `pulumi:"cloudProvider"` +type ClusterRkeConfigNetworkAciNetworkProvider struct { + // Attachable entity profile (string) + Aep string `pulumi:"aep"` + // List of APIC hosts to connect for APIC API (list) + ApicHosts []string `pulumi:"apicHosts"` + // APIC refresh ticker adjust amount (string) + ApicRefreshTickerAdjust *string `pulumi:"apicRefreshTickerAdjust"` + // APIC refresh time in seconds (string) + ApicRefreshTime *string `pulumi:"apicRefreshTime"` + // APIC subscription delay amount (string) + ApicSubscriptionDelay *string `pulumi:"apicSubscriptionDelay"` + // APIC user certificate (string) + ApicUserCrt string `pulumi:"apicUserCrt"` + // APIC user key (string) + ApicUserKey string `pulumi:"apicUserKey"` + // APIC user name (string) + ApicUserName string `pulumi:"apicUserName"` + // cAPIC cloud (string) + Capic *string `pulumi:"capic"` + // Log level for ACI controller (string) + ControllerLogLevel *string `pulumi:"controllerLogLevel"` + // Whether to disable periodic SNAT global info sync (string) + DisablePeriodicSnatGlobalInfoSync *string `pulumi:"disablePeriodicSnatGlobalInfoSync"` + // Whether to disable waiting for network (string) + DisableWaitForNetwork *string `pulumi:"disableWaitForNetwork"` + // Whether to enable drop log (string) + DropLogEnable *string `pulumi:"dropLogEnable"` + // The duration to wait for network (string) + DurationWaitForNetwork *string `pulumi:"durationWaitForNetwork"` + // Whether to enable endpoint slices (string) + EnableEndpointSlice *string `pulumi:"enableEndpointSlice"` + // Encap type: vxlan or vlan (string) + EncapType string `pulumi:"encapType"` + // EP registry (string) + EpRegistry *string `pulumi:"epRegistry"` + // Subnet to use for dynamic external IPs (string) + ExternDynamic string `pulumi:"externDynamic"` + // Subnet to use for static external IPs (string) + ExternStatic string `pulumi:"externStatic"` + // GBH pod subnet (string) + GbpPodSubnet *string `pulumi:"gbpPodSubnet"` + // Log level for ACI host agent (string) + HostAgentLogLevel *string `pulumi:"hostAgentLogLevel"` + // Image pull policy (string) + ImagePullPolicy *string `pulumi:"imagePullPolicy"` + // Image pull policy (string) + ImagePullSecret *string `pulumi:"imagePullSecret"` + // The VLAN used by ACI infra (string) + InfraVlan *string `pulumi:"infraVlan"` + // Whether to install Istio (string) + InstallIstio *string `pulumi:"installIstio"` + // Istio profile name (string) + IstioProfile *string `pulumi:"istioProfile"` + // List of Kafka broker hosts (list) + KafkaBrokers []string `pulumi:"kafkaBrokers"` + // Kafka client certificate (string) + KafkaClientCrt *string `pulumi:"kafkaClientCrt"` + // Kafka client key (string) + KafkaClientKey *string `pulumi:"kafkaClientKey"` + // The VLAN used by the physdom for nodes (string) + KubeApiVlan string `pulumi:"kubeApiVlan"` + // L3out (string) + L3out string `pulumi:"l3out"` + // L3out external networks (list) + L3outExternalNetworks []string `pulumi:"l3outExternalNetworks"` + // Max nodes in service graph (string) + MaxNodesSvcGraph *string `pulumi:"maxNodesSvcGraph"` + // End of mcast range (string) + McastRangeEnd string `pulumi:"mcastRangeEnd"` + // Start of mcast range (string) + McastRangeStart string `pulumi:"mcastRangeStart"` + // MTU head room amount (string) + MtuHeadRoom *string `pulumi:"mtuHeadRoom"` + // Whether to disable Multus (string) + MultusDisable *string `pulumi:"multusDisable"` + // Whether to use priority class (string) + NoPriorityClass *string `pulumi:"noPriorityClass"` + // Whether to enable node pod interface (string) + NodePodIfEnable *string `pulumi:"nodePodIfEnable"` + // Subnet to use for nodes (string) + NodeSubnet string `pulumi:"nodeSubnet"` + // Subnet to use for service graph (string) + NodeSvcSubnet string `pulumi:"nodeSvcSubnet"` + // Whether to use client SSL for Opflex (string) + OpflexClientSsl *string `pulumi:"opflexClientSsl"` + // Opflex device delete timeout (string) + OpflexDeviceDeleteTimeout *string `pulumi:"opflexDeviceDeleteTimeout"` + // Log level for ACI opflex (string) + OpflexLogLevel *string `pulumi:"opflexLogLevel"` + // Opflex mode (string) + OpflexMode *string `pulumi:"opflexMode"` + // Opflex server port (string) + OpflexServerPort *string `pulumi:"opflexServerPort"` + // Overlay VRF name (string) + OverlayVrfName *string `pulumi:"overlayVrfName"` + // OVS memory limit (string) + OvsMemoryLimit *string `pulumi:"ovsMemoryLimit"` + // Policy-based routing tracking non snat (string) + PbrTrackingNonSnat *string `pulumi:"pbrTrackingNonSnat"` + // Pod subnet chunk size (string) + PodSubnetChunkSize *string `pulumi:"podSubnetChunkSize"` + // Whether to run GBP container (string) + RunGbpContainer *string `pulumi:"runGbpContainer"` + // Whether to run Opflex server container (string) + RunOpflexServerContainer *string `pulumi:"runOpflexServerContainer"` + // Service monitor interval (string) + ServiceMonitorInterval *string `pulumi:"serviceMonitorInterval"` + // The VLAN used by LoadBalancer services (string) + ServiceVlan string `pulumi:"serviceVlan"` + // Snat contract scope (string) + SnatContractScope *string `pulumi:"snatContractScope"` + // Snat namespace (string) + SnatNamespace *string `pulumi:"snatNamespace"` + // End of snat port range (string) + SnatPortRangeEnd *string `pulumi:"snatPortRangeEnd"` + // End of snat port range (string) + SnatPortRangeStart *string `pulumi:"snatPortRangeStart"` + // Snat ports per node (string) + SnatPortsPerNode *string `pulumi:"snatPortsPerNode"` + // Whether to enable SR-IOV (string) + SriovEnable *string `pulumi:"sriovEnable"` + // Subnet domain name (string) + SubnetDomainName *string `pulumi:"subnetDomainName"` + // ACI system ID (string) + SystemId string `pulumi:"systemId"` + // ACI tenant (string) + Tenant *string `pulumi:"tenant"` + // Token for cluster registration token object (string) + Token string `pulumi:"token"` + // Whether to use ACI anywhere CRD (string) + UseAciAnywhereCrd *string `pulumi:"useAciAnywhereCrd"` + // Whether to use ACI CNI priority class (string) + UseAciCniPriorityClass *string `pulumi:"useAciCniPriorityClass"` + // Whether to use cluster role (string) + UseClusterRole *string `pulumi:"useClusterRole"` + // Whether to use host netns volume (string) + UseHostNetnsVolume *string `pulumi:"useHostNetnsVolume"` + // Whether use Opflex server volume (string) + UseOpflexServerVolume *string `pulumi:"useOpflexServerVolume"` + // Whether ACI containers should run as privileged (string) + UsePrivilegedContainer *string `pulumi:"usePrivilegedContainer"` + // VMM controller configuration (string) + VmmController *string `pulumi:"vmmController"` + // VMM domain configuration (string) + VmmDomain *string `pulumi:"vmmDomain"` + // VRF name (string) + VrfName string `pulumi:"vrfName"` + // VRF tenant (string) + VrfTenant string `pulumi:"vrfTenant"` +} + +// ClusterRkeConfigNetworkAciNetworkProviderInput is an input type that accepts ClusterRkeConfigNetworkAciNetworkProviderArgs and ClusterRkeConfigNetworkAciNetworkProviderOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkAciNetworkProviderInput` via: +// +// ClusterRkeConfigNetworkAciNetworkProviderArgs{...} +type ClusterRkeConfigNetworkAciNetworkProviderInput interface { + pulumi.Input + + ToClusterRkeConfigNetworkAciNetworkProviderOutput() ClusterRkeConfigNetworkAciNetworkProviderOutput + ToClusterRkeConfigNetworkAciNetworkProviderOutputWithContext(context.Context) ClusterRkeConfigNetworkAciNetworkProviderOutput +} + +type ClusterRkeConfigNetworkAciNetworkProviderArgs struct { + // Attachable entity profile (string) + Aep pulumi.StringInput `pulumi:"aep"` + // List of APIC hosts to connect for APIC API (list) + ApicHosts pulumi.StringArrayInput `pulumi:"apicHosts"` + // APIC refresh ticker adjust amount (string) + ApicRefreshTickerAdjust pulumi.StringPtrInput `pulumi:"apicRefreshTickerAdjust"` + // APIC refresh time in seconds (string) + ApicRefreshTime pulumi.StringPtrInput `pulumi:"apicRefreshTime"` + // APIC subscription delay amount (string) + ApicSubscriptionDelay pulumi.StringPtrInput `pulumi:"apicSubscriptionDelay"` + // APIC user certificate (string) + ApicUserCrt pulumi.StringInput `pulumi:"apicUserCrt"` + // APIC user key (string) + ApicUserKey pulumi.StringInput `pulumi:"apicUserKey"` + // APIC user name (string) + ApicUserName pulumi.StringInput `pulumi:"apicUserName"` + // cAPIC cloud (string) + Capic pulumi.StringPtrInput `pulumi:"capic"` + // Log level for ACI controller (string) + ControllerLogLevel pulumi.StringPtrInput `pulumi:"controllerLogLevel"` + // Whether to disable periodic SNAT global info sync (string) + DisablePeriodicSnatGlobalInfoSync pulumi.StringPtrInput `pulumi:"disablePeriodicSnatGlobalInfoSync"` + // Whether to disable waiting for network (string) + DisableWaitForNetwork pulumi.StringPtrInput `pulumi:"disableWaitForNetwork"` + // Whether to enable drop log (string) + DropLogEnable pulumi.StringPtrInput `pulumi:"dropLogEnable"` + // The duration to wait for network (string) + DurationWaitForNetwork pulumi.StringPtrInput `pulumi:"durationWaitForNetwork"` + // Whether to enable endpoint slices (string) + EnableEndpointSlice pulumi.StringPtrInput `pulumi:"enableEndpointSlice"` + // Encap type: vxlan or vlan (string) + EncapType pulumi.StringInput `pulumi:"encapType"` + // EP registry (string) + EpRegistry pulumi.StringPtrInput `pulumi:"epRegistry"` + // Subnet to use for dynamic external IPs (string) + ExternDynamic pulumi.StringInput `pulumi:"externDynamic"` + // Subnet to use for static external IPs (string) + ExternStatic pulumi.StringInput `pulumi:"externStatic"` + // GBH pod subnet (string) + GbpPodSubnet pulumi.StringPtrInput `pulumi:"gbpPodSubnet"` + // Log level for ACI host agent (string) + HostAgentLogLevel pulumi.StringPtrInput `pulumi:"hostAgentLogLevel"` + // Image pull policy (string) + ImagePullPolicy pulumi.StringPtrInput `pulumi:"imagePullPolicy"` + // Image pull policy (string) + ImagePullSecret pulumi.StringPtrInput `pulumi:"imagePullSecret"` + // The VLAN used by ACI infra (string) + InfraVlan pulumi.StringPtrInput `pulumi:"infraVlan"` + // Whether to install Istio (string) + InstallIstio pulumi.StringPtrInput `pulumi:"installIstio"` + // Istio profile name (string) + IstioProfile pulumi.StringPtrInput `pulumi:"istioProfile"` + // List of Kafka broker hosts (list) + KafkaBrokers pulumi.StringArrayInput `pulumi:"kafkaBrokers"` + // Kafka client certificate (string) + KafkaClientCrt pulumi.StringPtrInput `pulumi:"kafkaClientCrt"` + // Kafka client key (string) + KafkaClientKey pulumi.StringPtrInput `pulumi:"kafkaClientKey"` + // The VLAN used by the physdom for nodes (string) + KubeApiVlan pulumi.StringInput `pulumi:"kubeApiVlan"` + // L3out (string) + L3out pulumi.StringInput `pulumi:"l3out"` + // L3out external networks (list) + L3outExternalNetworks pulumi.StringArrayInput `pulumi:"l3outExternalNetworks"` + // Max nodes in service graph (string) + MaxNodesSvcGraph pulumi.StringPtrInput `pulumi:"maxNodesSvcGraph"` + // End of mcast range (string) + McastRangeEnd pulumi.StringInput `pulumi:"mcastRangeEnd"` + // Start of mcast range (string) + McastRangeStart pulumi.StringInput `pulumi:"mcastRangeStart"` + // MTU head room amount (string) + MtuHeadRoom pulumi.StringPtrInput `pulumi:"mtuHeadRoom"` + // Whether to disable Multus (string) + MultusDisable pulumi.StringPtrInput `pulumi:"multusDisable"` + // Whether to use priority class (string) + NoPriorityClass pulumi.StringPtrInput `pulumi:"noPriorityClass"` + // Whether to enable node pod interface (string) + NodePodIfEnable pulumi.StringPtrInput `pulumi:"nodePodIfEnable"` + // Subnet to use for nodes (string) + NodeSubnet pulumi.StringInput `pulumi:"nodeSubnet"` + // Subnet to use for service graph (string) + NodeSvcSubnet pulumi.StringInput `pulumi:"nodeSvcSubnet"` + // Whether to use client SSL for Opflex (string) + OpflexClientSsl pulumi.StringPtrInput `pulumi:"opflexClientSsl"` + // Opflex device delete timeout (string) + OpflexDeviceDeleteTimeout pulumi.StringPtrInput `pulumi:"opflexDeviceDeleteTimeout"` + // Log level for ACI opflex (string) + OpflexLogLevel pulumi.StringPtrInput `pulumi:"opflexLogLevel"` + // Opflex mode (string) + OpflexMode pulumi.StringPtrInput `pulumi:"opflexMode"` + // Opflex server port (string) + OpflexServerPort pulumi.StringPtrInput `pulumi:"opflexServerPort"` + // Overlay VRF name (string) + OverlayVrfName pulumi.StringPtrInput `pulumi:"overlayVrfName"` + // OVS memory limit (string) + OvsMemoryLimit pulumi.StringPtrInput `pulumi:"ovsMemoryLimit"` + // Policy-based routing tracking non snat (string) + PbrTrackingNonSnat pulumi.StringPtrInput `pulumi:"pbrTrackingNonSnat"` + // Pod subnet chunk size (string) + PodSubnetChunkSize pulumi.StringPtrInput `pulumi:"podSubnetChunkSize"` + // Whether to run GBP container (string) + RunGbpContainer pulumi.StringPtrInput `pulumi:"runGbpContainer"` + // Whether to run Opflex server container (string) + RunOpflexServerContainer pulumi.StringPtrInput `pulumi:"runOpflexServerContainer"` + // Service monitor interval (string) + ServiceMonitorInterval pulumi.StringPtrInput `pulumi:"serviceMonitorInterval"` + // The VLAN used by LoadBalancer services (string) + ServiceVlan pulumi.StringInput `pulumi:"serviceVlan"` + // Snat contract scope (string) + SnatContractScope pulumi.StringPtrInput `pulumi:"snatContractScope"` + // Snat namespace (string) + SnatNamespace pulumi.StringPtrInput `pulumi:"snatNamespace"` + // End of snat port range (string) + SnatPortRangeEnd pulumi.StringPtrInput `pulumi:"snatPortRangeEnd"` + // End of snat port range (string) + SnatPortRangeStart pulumi.StringPtrInput `pulumi:"snatPortRangeStart"` + // Snat ports per node (string) + SnatPortsPerNode pulumi.StringPtrInput `pulumi:"snatPortsPerNode"` + // Whether to enable SR-IOV (string) + SriovEnable pulumi.StringPtrInput `pulumi:"sriovEnable"` + // Subnet domain name (string) + SubnetDomainName pulumi.StringPtrInput `pulumi:"subnetDomainName"` + // ACI system ID (string) + SystemId pulumi.StringInput `pulumi:"systemId"` + // ACI tenant (string) + Tenant pulumi.StringPtrInput `pulumi:"tenant"` + // Token for cluster registration token object (string) + Token pulumi.StringInput `pulumi:"token"` + // Whether to use ACI anywhere CRD (string) + UseAciAnywhereCrd pulumi.StringPtrInput `pulumi:"useAciAnywhereCrd"` + // Whether to use ACI CNI priority class (string) + UseAciCniPriorityClass pulumi.StringPtrInput `pulumi:"useAciCniPriorityClass"` + // Whether to use cluster role (string) + UseClusterRole pulumi.StringPtrInput `pulumi:"useClusterRole"` + // Whether to use host netns volume (string) + UseHostNetnsVolume pulumi.StringPtrInput `pulumi:"useHostNetnsVolume"` + // Whether use Opflex server volume (string) + UseOpflexServerVolume pulumi.StringPtrInput `pulumi:"useOpflexServerVolume"` + // Whether ACI containers should run as privileged (string) + UsePrivilegedContainer pulumi.StringPtrInput `pulumi:"usePrivilegedContainer"` + // VMM controller configuration (string) + VmmController pulumi.StringPtrInput `pulumi:"vmmController"` + // VMM domain configuration (string) + VmmDomain pulumi.StringPtrInput `pulumi:"vmmDomain"` + // VRF name (string) + VrfName pulumi.StringInput `pulumi:"vrfName"` + // VRF tenant (string) + VrfTenant pulumi.StringInput `pulumi:"vrfTenant"` } -func (ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (ClusterRkeConfigNetworkAciNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (i ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterRkeConfigNetworkCalicoNetworkProviderOutput() ClusterRkeConfigNetworkCalicoNetworkProviderOutput { - return i.ToClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Background()) +func (i ClusterRkeConfigNetworkAciNetworkProviderArgs) ToClusterRkeConfigNetworkAciNetworkProviderOutput() ClusterRkeConfigNetworkAciNetworkProviderOutput { + return i.ToClusterRkeConfigNetworkAciNetworkProviderOutputWithContext(context.Background()) } -func (i ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCalicoNetworkProviderOutput) +func (i ClusterRkeConfigNetworkAciNetworkProviderArgs) ToClusterRkeConfigNetworkAciNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkAciNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkAciNetworkProviderOutput) } -func (i ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return i.ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigNetworkAciNetworkProviderArgs) ToClusterRkeConfigNetworkAciNetworkProviderPtrOutput() ClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return i.ToClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCalicoNetworkProviderOutput).ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx) +func (i ClusterRkeConfigNetworkAciNetworkProviderArgs) ToClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkAciNetworkProviderOutput).ToClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx) } -// ClusterRkeConfigNetworkCalicoNetworkProviderPtrInput is an input type that accepts ClusterRkeConfigNetworkCalicoNetworkProviderArgs, ClusterRkeConfigNetworkCalicoNetworkProviderPtr and ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNetworkCalicoNetworkProviderPtrInput` via: +// ClusterRkeConfigNetworkAciNetworkProviderPtrInput is an input type that accepts ClusterRkeConfigNetworkAciNetworkProviderArgs, ClusterRkeConfigNetworkAciNetworkProviderPtr and ClusterRkeConfigNetworkAciNetworkProviderPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkAciNetworkProviderPtrInput` via: // -// ClusterRkeConfigNetworkCalicoNetworkProviderArgs{...} +// ClusterRkeConfigNetworkAciNetworkProviderArgs{...} // // or: // // nil -type ClusterRkeConfigNetworkCalicoNetworkProviderPtrInput interface { +type ClusterRkeConfigNetworkAciNetworkProviderPtrInput interface { pulumi.Input - ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput - ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput + ToClusterRkeConfigNetworkAciNetworkProviderPtrOutput() ClusterRkeConfigNetworkAciNetworkProviderPtrOutput + ToClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Context) ClusterRkeConfigNetworkAciNetworkProviderPtrOutput } -type clusterRkeConfigNetworkCalicoNetworkProviderPtrType ClusterRkeConfigNetworkCalicoNetworkProviderArgs +type clusterRkeConfigNetworkAciNetworkProviderPtrType ClusterRkeConfigNetworkAciNetworkProviderArgs -func ClusterRkeConfigNetworkCalicoNetworkProviderPtr(v *ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ClusterRkeConfigNetworkCalicoNetworkProviderPtrInput { - return (*clusterRkeConfigNetworkCalicoNetworkProviderPtrType)(v) +func ClusterRkeConfigNetworkAciNetworkProviderPtr(v *ClusterRkeConfigNetworkAciNetworkProviderArgs) ClusterRkeConfigNetworkAciNetworkProviderPtrInput { + return (*clusterRkeConfigNetworkAciNetworkProviderPtrType)(v) } -func (*clusterRkeConfigNetworkCalicoNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (*clusterRkeConfigNetworkAciNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (i *clusterRkeConfigNetworkCalicoNetworkProviderPtrType) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return i.ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigNetworkAciNetworkProviderPtrType) ToClusterRkeConfigNetworkAciNetworkProviderPtrOutput() ClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return i.ToClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigNetworkCalicoNetworkProviderPtrType) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) +func (i *clusterRkeConfigNetworkAciNetworkProviderPtrType) ToClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) } -type ClusterRkeConfigNetworkCalicoNetworkProviderOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigNetworkAciNetworkProviderOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigNetworkCalicoNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (ClusterRkeConfigNetworkAciNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (o ClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderOutput() ClusterRkeConfigNetworkCalicoNetworkProviderOutput { +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ToClusterRkeConfigNetworkAciNetworkProviderOutput() ClusterRkeConfigNetworkAciNetworkProviderOutput { return o } -func (o ClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderOutput { +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ToClusterRkeConfigNetworkAciNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkAciNetworkProviderOutput { return o } -func (o ClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ToClusterRkeConfigNetworkAciNetworkProviderPtrOutput() ClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ToClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigNetworkCalicoNetworkProvider) *ClusterRkeConfigNetworkCalicoNetworkProvider { +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ToClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigNetworkAciNetworkProvider) *ClusterRkeConfigNetworkAciNetworkProvider { return &v - }).(ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) + }).(ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) } -// RKE options for Calico network provider (string) -func (o ClusterRkeConfigNetworkCalicoNetworkProviderOutput) CloudProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNetworkCalicoNetworkProvider) *string { return v.CloudProvider }).(pulumi.StringPtrOutput) +// Attachable entity profile (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) Aep() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.Aep }).(pulumi.StringOutput) } -type ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +// List of APIC hosts to connect for APIC API (list) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ApicHosts() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) []string { return v.ApicHosts }).(pulumi.StringArrayOutput) } -func (o ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o +// APIC refresh ticker adjust amount (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ApicRefreshTickerAdjust() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ApicRefreshTickerAdjust }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o +// APIC refresh time in seconds (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ApicRefreshTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ApicRefreshTime }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) Elem() ClusterRkeConfigNetworkCalicoNetworkProviderOutput { - return o.ApplyT(func(v *ClusterRkeConfigNetworkCalicoNetworkProvider) ClusterRkeConfigNetworkCalicoNetworkProvider { - if v != nil { - return *v - } - var ret ClusterRkeConfigNetworkCalicoNetworkProvider - return ret - }).(ClusterRkeConfigNetworkCalicoNetworkProviderOutput) +// APIC subscription delay amount (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ApicSubscriptionDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ApicSubscriptionDelay }).(pulumi.StringPtrOutput) } -// RKE options for Calico network provider (string) -func (o ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) CloudProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigNetworkCalicoNetworkProvider) *string { - if v == nil { - return nil - } - return v.CloudProvider - }).(pulumi.StringPtrOutput) +// APIC user certificate (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ApicUserCrt() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.ApicUserCrt }).(pulumi.StringOutput) } -type ClusterRkeConfigNetworkCanalNetworkProvider struct { - // Iface config Flannel network provider (string) - Iface *string `pulumi:"iface"` +// APIC user key (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ApicUserKey() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.ApicUserKey }).(pulumi.StringOutput) } -// ClusterRkeConfigNetworkCanalNetworkProviderInput is an input type that accepts ClusterRkeConfigNetworkCanalNetworkProviderArgs and ClusterRkeConfigNetworkCanalNetworkProviderOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNetworkCanalNetworkProviderInput` via: -// -// ClusterRkeConfigNetworkCanalNetworkProviderArgs{...} -type ClusterRkeConfigNetworkCanalNetworkProviderInput interface { - pulumi.Input - - ToClusterRkeConfigNetworkCanalNetworkProviderOutput() ClusterRkeConfigNetworkCanalNetworkProviderOutput - ToClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Context) ClusterRkeConfigNetworkCanalNetworkProviderOutput +// APIC user name (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ApicUserName() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.ApicUserName }).(pulumi.StringOutput) } -type ClusterRkeConfigNetworkCanalNetworkProviderArgs struct { - // Iface config Flannel network provider (string) - Iface pulumi.StringPtrInput `pulumi:"iface"` +// cAPIC cloud (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) Capic() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.Capic }).(pulumi.StringPtrOutput) } -func (ClusterRkeConfigNetworkCanalNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +// Log level for ACI controller (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ControllerLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ControllerLogLevel }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkCanalNetworkProviderArgs) ToClusterRkeConfigNetworkCanalNetworkProviderOutput() ClusterRkeConfigNetworkCanalNetworkProviderOutput { - return i.ToClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Background()) +// Whether to disable periodic SNAT global info sync (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) DisablePeriodicSnatGlobalInfoSync() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.DisablePeriodicSnatGlobalInfoSync }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkCanalNetworkProviderArgs) ToClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCanalNetworkProviderOutput) +// Whether to disable waiting for network (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) DisableWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.DisableWaitForNetwork }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkCanalNetworkProviderArgs) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return i.ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +// Whether to enable drop log (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) DropLogEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.DropLogEnable }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkCanalNetworkProviderArgs) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCanalNetworkProviderOutput).ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx) +// The duration to wait for network (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) DurationWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.DurationWaitForNetwork }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigNetworkCanalNetworkProviderPtrInput is an input type that accepts ClusterRkeConfigNetworkCanalNetworkProviderArgs, ClusterRkeConfigNetworkCanalNetworkProviderPtr and ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNetworkCanalNetworkProviderPtrInput` via: -// -// ClusterRkeConfigNetworkCanalNetworkProviderArgs{...} -// -// or: -// -// nil -type ClusterRkeConfigNetworkCanalNetworkProviderPtrInput interface { - pulumi.Input - - ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput - ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Context) ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput +// Whether to enable endpoint slices (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) EnableEndpointSlice() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.EnableEndpointSlice }).(pulumi.StringPtrOutput) } -type clusterRkeConfigNetworkCanalNetworkProviderPtrType ClusterRkeConfigNetworkCanalNetworkProviderArgs - -func ClusterRkeConfigNetworkCanalNetworkProviderPtr(v *ClusterRkeConfigNetworkCanalNetworkProviderArgs) ClusterRkeConfigNetworkCanalNetworkProviderPtrInput { - return (*clusterRkeConfigNetworkCanalNetworkProviderPtrType)(v) +// Encap type: vxlan or vlan (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) EncapType() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.EncapType }).(pulumi.StringOutput) } -func (*clusterRkeConfigNetworkCanalNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +// EP registry (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) EpRegistry() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.EpRegistry }).(pulumi.StringPtrOutput) } -func (i *clusterRkeConfigNetworkCanalNetworkProviderPtrType) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return i.ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +// Subnet to use for dynamic external IPs (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ExternDynamic() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.ExternDynamic }).(pulumi.StringOutput) } -func (i *clusterRkeConfigNetworkCanalNetworkProviderPtrType) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) +// Subnet to use for static external IPs (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ExternStatic() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.ExternStatic }).(pulumi.StringOutput) } -type ClusterRkeConfigNetworkCanalNetworkProviderOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigNetworkCanalNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +// GBH pod subnet (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) GbpPodSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.GbpPodSubnet }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkCanalNetworkProviderOutput) ToClusterRkeConfigNetworkCanalNetworkProviderOutput() ClusterRkeConfigNetworkCanalNetworkProviderOutput { - return o +// Log level for ACI host agent (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) HostAgentLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.HostAgentLogLevel }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkCanalNetworkProviderOutput) ToClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderOutput { - return o +// Image pull policy (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ImagePullPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ImagePullPolicy }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkCanalNetworkProviderOutput) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +// Image pull policy (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ImagePullSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ImagePullSecret }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkCanalNetworkProviderOutput) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigNetworkCanalNetworkProvider) *ClusterRkeConfigNetworkCanalNetworkProvider { - return &v - }).(ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) +// The VLAN used by ACI infra (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) InfraVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.InfraVlan }).(pulumi.StringPtrOutput) } -// Iface config Flannel network provider (string) -func (o ClusterRkeConfigNetworkCanalNetworkProviderOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNetworkCanalNetworkProvider) *string { return v.Iface }).(pulumi.StringPtrOutput) +// Whether to install Istio (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) InstallIstio() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.InstallIstio }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +// Istio profile name (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) IstioProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.IstioProfile }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o +// List of Kafka broker hosts (list) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) KafkaBrokers() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) []string { return v.KafkaBrokers }).(pulumi.StringArrayOutput) } -func (o ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o +// Kafka client certificate (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) KafkaClientCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.KafkaClientCrt }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) Elem() ClusterRkeConfigNetworkCanalNetworkProviderOutput { - return o.ApplyT(func(v *ClusterRkeConfigNetworkCanalNetworkProvider) ClusterRkeConfigNetworkCanalNetworkProvider { - if v != nil { - return *v - } - var ret ClusterRkeConfigNetworkCanalNetworkProvider - return ret - }).(ClusterRkeConfigNetworkCanalNetworkProviderOutput) +// Kafka client key (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) KafkaClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.KafkaClientKey }).(pulumi.StringPtrOutput) } -// Iface config Flannel network provider (string) -func (o ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigNetworkCanalNetworkProvider) *string { - if v == nil { - return nil - } - return v.Iface - }).(pulumi.StringPtrOutput) +// The VLAN used by the physdom for nodes (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) KubeApiVlan() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.KubeApiVlan }).(pulumi.StringOutput) } -type ClusterRkeConfigNetworkFlannelNetworkProvider struct { - // Iface config Flannel network provider (string) - Iface *string `pulumi:"iface"` +// L3out (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) L3out() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.L3out }).(pulumi.StringOutput) } -// ClusterRkeConfigNetworkFlannelNetworkProviderInput is an input type that accepts ClusterRkeConfigNetworkFlannelNetworkProviderArgs and ClusterRkeConfigNetworkFlannelNetworkProviderOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNetworkFlannelNetworkProviderInput` via: -// -// ClusterRkeConfigNetworkFlannelNetworkProviderArgs{...} -type ClusterRkeConfigNetworkFlannelNetworkProviderInput interface { - pulumi.Input - - ToClusterRkeConfigNetworkFlannelNetworkProviderOutput() ClusterRkeConfigNetworkFlannelNetworkProviderOutput - ToClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderOutput +// L3out external networks (list) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) L3outExternalNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) []string { return v.L3outExternalNetworks }).(pulumi.StringArrayOutput) } -type ClusterRkeConfigNetworkFlannelNetworkProviderArgs struct { - // Iface config Flannel network provider (string) - Iface pulumi.StringPtrInput `pulumi:"iface"` +// Max nodes in service graph (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) MaxNodesSvcGraph() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.MaxNodesSvcGraph }).(pulumi.StringPtrOutput) } -func (ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +// End of mcast range (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) McastRangeEnd() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.McastRangeEnd }).(pulumi.StringOutput) } -func (i ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterRkeConfigNetworkFlannelNetworkProviderOutput() ClusterRkeConfigNetworkFlannelNetworkProviderOutput { - return i.ToClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Background()) +// Start of mcast range (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) McastRangeStart() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.McastRangeStart }).(pulumi.StringOutput) } -func (i ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkFlannelNetworkProviderOutput) +// MTU head room amount (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) MtuHeadRoom() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.MtuHeadRoom }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return i.ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +// Whether to disable Multus (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) MultusDisable() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.MultusDisable }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkFlannelNetworkProviderOutput).ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx) +// Whether to use priority class (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) NoPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.NoPriorityClass }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigNetworkFlannelNetworkProviderPtrInput is an input type that accepts ClusterRkeConfigNetworkFlannelNetworkProviderArgs, ClusterRkeConfigNetworkFlannelNetworkProviderPtr and ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNetworkFlannelNetworkProviderPtrInput` via: -// -// ClusterRkeConfigNetworkFlannelNetworkProviderArgs{...} -// -// or: -// -// nil -type ClusterRkeConfigNetworkFlannelNetworkProviderPtrInput interface { - pulumi.Input - - ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput - ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput +// Whether to enable node pod interface (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) NodePodIfEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.NodePodIfEnable }).(pulumi.StringPtrOutput) } -type clusterRkeConfigNetworkFlannelNetworkProviderPtrType ClusterRkeConfigNetworkFlannelNetworkProviderArgs - -func ClusterRkeConfigNetworkFlannelNetworkProviderPtr(v *ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ClusterRkeConfigNetworkFlannelNetworkProviderPtrInput { - return (*clusterRkeConfigNetworkFlannelNetworkProviderPtrType)(v) +// Subnet to use for nodes (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) NodeSubnet() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.NodeSubnet }).(pulumi.StringOutput) } -func (*clusterRkeConfigNetworkFlannelNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +// Subnet to use for service graph (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) NodeSvcSubnet() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.NodeSvcSubnet }).(pulumi.StringOutput) } -func (i *clusterRkeConfigNetworkFlannelNetworkProviderPtrType) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return i.ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +// Whether to use client SSL for Opflex (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) OpflexClientSsl() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OpflexClientSsl }).(pulumi.StringPtrOutput) } -func (i *clusterRkeConfigNetworkFlannelNetworkProviderPtrType) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) +// Opflex device delete timeout (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) OpflexDeviceDeleteTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OpflexDeviceDeleteTimeout }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNetworkFlannelNetworkProviderOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigNetworkFlannelNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +// Log level for ACI opflex (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) OpflexLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OpflexLogLevel }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderOutput() ClusterRkeConfigNetworkFlannelNetworkProviderOutput { - return o +// Opflex mode (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) OpflexMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OpflexMode }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderOutput { - return o +// Opflex server port (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) OpflexServerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OpflexServerPort }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +// Overlay VRF name (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) OverlayVrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OverlayVrfName }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigNetworkFlannelNetworkProvider) *ClusterRkeConfigNetworkFlannelNetworkProvider { - return &v - }).(ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) +// OVS memory limit (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) OvsMemoryLimit() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OvsMemoryLimit }).(pulumi.StringPtrOutput) } -// Iface config Flannel network provider (string) -func (o ClusterRkeConfigNetworkFlannelNetworkProviderOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNetworkFlannelNetworkProvider) *string { return v.Iface }).(pulumi.StringPtrOutput) +// Policy-based routing tracking non snat (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) PbrTrackingNonSnat() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.PbrTrackingNonSnat }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +// Pod subnet chunk size (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) PodSubnetChunkSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.PodSubnetChunkSize }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o +// Whether to run GBP container (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) RunGbpContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.RunGbpContainer }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o +// Whether to run Opflex server container (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) RunOpflexServerContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.RunOpflexServerContainer }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) Elem() ClusterRkeConfigNetworkFlannelNetworkProviderOutput { - return o.ApplyT(func(v *ClusterRkeConfigNetworkFlannelNetworkProvider) ClusterRkeConfigNetworkFlannelNetworkProvider { - if v != nil { - return *v - } - var ret ClusterRkeConfigNetworkFlannelNetworkProvider - return ret - }).(ClusterRkeConfigNetworkFlannelNetworkProviderOutput) +// Service monitor interval (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ServiceMonitorInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ServiceMonitorInterval }).(pulumi.StringPtrOutput) } -// Iface config Flannel network provider (string) -func (o ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigNetworkFlannelNetworkProvider) *string { - if v == nil { - return nil - } - return v.Iface - }).(pulumi.StringPtrOutput) +// The VLAN used by LoadBalancer services (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) ServiceVlan() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.ServiceVlan }).(pulumi.StringOutput) } -type ClusterRkeConfigNetworkToleration struct { - // The GKE taint effect (string) - Effect *string `pulumi:"effect"` - // The GKE taint key (string) - Key string `pulumi:"key"` - // The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string) - Operator *string `pulumi:"operator"` - // The toleration seconds (int) - Seconds *int `pulumi:"seconds"` - // The GKE taint value (string) - Value *string `pulumi:"value"` +// Snat contract scope (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) SnatContractScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SnatContractScope }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigNetworkTolerationInput is an input type that accepts ClusterRkeConfigNetworkTolerationArgs and ClusterRkeConfigNetworkTolerationOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNetworkTolerationInput` via: -// -// ClusterRkeConfigNetworkTolerationArgs{...} -type ClusterRkeConfigNetworkTolerationInput interface { - pulumi.Input - - ToClusterRkeConfigNetworkTolerationOutput() ClusterRkeConfigNetworkTolerationOutput - ToClusterRkeConfigNetworkTolerationOutputWithContext(context.Context) ClusterRkeConfigNetworkTolerationOutput +// Snat namespace (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) SnatNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SnatNamespace }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNetworkTolerationArgs struct { - // The GKE taint effect (string) - Effect pulumi.StringPtrInput `pulumi:"effect"` - // The GKE taint key (string) - Key pulumi.StringInput `pulumi:"key"` - // The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string) - Operator pulumi.StringPtrInput `pulumi:"operator"` - // The toleration seconds (int) - Seconds pulumi.IntPtrInput `pulumi:"seconds"` - // The GKE taint value (string) - Value pulumi.StringPtrInput `pulumi:"value"` +// End of snat port range (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) SnatPortRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SnatPortRangeEnd }).(pulumi.StringPtrOutput) } -func (ClusterRkeConfigNetworkTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNetworkToleration)(nil)).Elem() +// End of snat port range (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) SnatPortRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SnatPortRangeStart }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkTolerationArgs) ToClusterRkeConfigNetworkTolerationOutput() ClusterRkeConfigNetworkTolerationOutput { - return i.ToClusterRkeConfigNetworkTolerationOutputWithContext(context.Background()) +// Snat ports per node (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) SnatPortsPerNode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SnatPortsPerNode }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkTolerationArgs) ToClusterRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkTolerationOutput) +// Whether to enable SR-IOV (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) SriovEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SriovEnable }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigNetworkTolerationArrayInput is an input type that accepts ClusterRkeConfigNetworkTolerationArray and ClusterRkeConfigNetworkTolerationArrayOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNetworkTolerationArrayInput` via: -// -// ClusterRkeConfigNetworkTolerationArray{ ClusterRkeConfigNetworkTolerationArgs{...} } -type ClusterRkeConfigNetworkTolerationArrayInput interface { - pulumi.Input - - ToClusterRkeConfigNetworkTolerationArrayOutput() ClusterRkeConfigNetworkTolerationArrayOutput - ToClusterRkeConfigNetworkTolerationArrayOutputWithContext(context.Context) ClusterRkeConfigNetworkTolerationArrayOutput +// Subnet domain name (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) SubnetDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SubnetDomainName }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNetworkTolerationArray []ClusterRkeConfigNetworkTolerationInput +// ACI system ID (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) SystemId() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.SystemId }).(pulumi.StringOutput) +} -func (ClusterRkeConfigNetworkTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterRkeConfigNetworkToleration)(nil)).Elem() +// ACI tenant (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) Tenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.Tenant }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkTolerationArray) ToClusterRkeConfigNetworkTolerationArrayOutput() ClusterRkeConfigNetworkTolerationArrayOutput { - return i.ToClusterRkeConfigNetworkTolerationArrayOutputWithContext(context.Background()) +// Token for cluster registration token object (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.Token }).(pulumi.StringOutput) } -func (i ClusterRkeConfigNetworkTolerationArray) ToClusterRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkTolerationArrayOutput) +// Whether to use ACI anywhere CRD (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) UseAciAnywhereCrd() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UseAciAnywhereCrd }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNetworkTolerationOutput struct{ *pulumi.OutputState } +// Whether to use ACI CNI priority class (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) UseAciCniPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UseAciCniPriorityClass }).(pulumi.StringPtrOutput) +} -func (ClusterRkeConfigNetworkTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNetworkToleration)(nil)).Elem() +// Whether to use cluster role (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) UseClusterRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UseClusterRole }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkTolerationOutput) ToClusterRkeConfigNetworkTolerationOutput() ClusterRkeConfigNetworkTolerationOutput { - return o +// Whether to use host netns volume (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) UseHostNetnsVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UseHostNetnsVolume }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkTolerationOutput) ToClusterRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkTolerationOutput { - return o +// Whether use Opflex server volume (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) UseOpflexServerVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UseOpflexServerVolume }).(pulumi.StringPtrOutput) } -// The GKE taint effect (string) -func (o ClusterRkeConfigNetworkTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNetworkToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) +// Whether ACI containers should run as privileged (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) UsePrivilegedContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UsePrivilegedContainer }).(pulumi.StringPtrOutput) } -// The GKE taint key (string) -func (o ClusterRkeConfigNetworkTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ClusterRkeConfigNetworkToleration) string { return v.Key }).(pulumi.StringOutput) +// VMM controller configuration (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) VmmController() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.VmmController }).(pulumi.StringPtrOutput) } -// The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string) -func (o ClusterRkeConfigNetworkTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNetworkToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) +// VMM domain configuration (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) VmmDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) *string { return v.VmmDomain }).(pulumi.StringPtrOutput) } -// The toleration seconds (int) -func (o ClusterRkeConfigNetworkTolerationOutput) Seconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNetworkToleration) *int { return v.Seconds }).(pulumi.IntPtrOutput) +// VRF name (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) VrfName() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.VrfName }).(pulumi.StringOutput) } -// The GKE taint value (string) -func (o ClusterRkeConfigNetworkTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNetworkToleration) *string { return v.Value }).(pulumi.StringPtrOutput) +// VRF tenant (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderOutput) VrfTenant() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkAciNetworkProvider) string { return v.VrfTenant }).(pulumi.StringOutput) } -type ClusterRkeConfigNetworkTolerationArrayOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigNetworkAciNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigNetworkTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterRkeConfigNetworkToleration)(nil)).Elem() +func (ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (o ClusterRkeConfigNetworkTolerationArrayOutput) ToClusterRkeConfigNetworkTolerationArrayOutput() ClusterRkeConfigNetworkTolerationArrayOutput { +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ToClusterRkeConfigNetworkAciNetworkProviderPtrOutput() ClusterRkeConfigNetworkAciNetworkProviderPtrOutput { return o } -func (o ClusterRkeConfigNetworkTolerationArrayOutput) ToClusterRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkTolerationArrayOutput { +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ToClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkAciNetworkProviderPtrOutput { return o } -func (o ClusterRkeConfigNetworkTolerationArrayOutput) Index(i pulumi.IntInput) ClusterRkeConfigNetworkTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterRkeConfigNetworkToleration { - return vs[0].([]ClusterRkeConfigNetworkToleration)[vs[1].(int)] - }).(ClusterRkeConfigNetworkTolerationOutput) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) Elem() ClusterRkeConfigNetworkAciNetworkProviderOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) ClusterRkeConfigNetworkAciNetworkProvider { + if v != nil { + return *v + } + var ret ClusterRkeConfigNetworkAciNetworkProvider + return ret + }).(ClusterRkeConfigNetworkAciNetworkProviderOutput) } -type ClusterRkeConfigNetworkWeaveNetworkProvider struct { - // Registry password (string) - Password string `pulumi:"password"` +// Attachable entity profile (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) Aep() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.Aep + }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigNetworkWeaveNetworkProviderInput is an input type that accepts ClusterRkeConfigNetworkWeaveNetworkProviderArgs and ClusterRkeConfigNetworkWeaveNetworkProviderOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNetworkWeaveNetworkProviderInput` via: -// -// ClusterRkeConfigNetworkWeaveNetworkProviderArgs{...} -type ClusterRkeConfigNetworkWeaveNetworkProviderInput interface { - pulumi.Input - - ToClusterRkeConfigNetworkWeaveNetworkProviderOutput() ClusterRkeConfigNetworkWeaveNetworkProviderOutput - ToClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderOutput +// List of APIC hosts to connect for APIC API (list) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicHosts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.ApicHosts + }).(pulumi.StringArrayOutput) } -type ClusterRkeConfigNetworkWeaveNetworkProviderArgs struct { - // Registry password (string) - Password pulumi.StringInput `pulumi:"password"` +// APIC refresh ticker adjust amount (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicRefreshTickerAdjust() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicRefreshTickerAdjust + }).(pulumi.StringPtrOutput) } -func (ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +// APIC refresh time in seconds (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicRefreshTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicRefreshTime + }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterRkeConfigNetworkWeaveNetworkProviderOutput() ClusterRkeConfigNetworkWeaveNetworkProviderOutput { - return i.ToClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Background()) +// APIC subscription delay amount (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicSubscriptionDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicSubscriptionDelay + }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkWeaveNetworkProviderOutput) +// APIC user certificate (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserCrt + }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return i.ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +// APIC user key (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserKey + }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkWeaveNetworkProviderOutput).ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx) +// APIC user name (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserName + }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigNetworkWeaveNetworkProviderPtrInput is an input type that accepts ClusterRkeConfigNetworkWeaveNetworkProviderArgs, ClusterRkeConfigNetworkWeaveNetworkProviderPtr and ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNetworkWeaveNetworkProviderPtrInput` via: -// -// ClusterRkeConfigNetworkWeaveNetworkProviderArgs{...} -// -// or: -// -// nil -type ClusterRkeConfigNetworkWeaveNetworkProviderPtrInput interface { - pulumi.Input - - ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput - ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput +// cAPIC cloud (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) Capic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.Capic + }).(pulumi.StringPtrOutput) } -type clusterRkeConfigNetworkWeaveNetworkProviderPtrType ClusterRkeConfigNetworkWeaveNetworkProviderArgs - -func ClusterRkeConfigNetworkWeaveNetworkProviderPtr(v *ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ClusterRkeConfigNetworkWeaveNetworkProviderPtrInput { - return (*clusterRkeConfigNetworkWeaveNetworkProviderPtrType)(v) +// Log level for ACI controller (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ControllerLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ControllerLogLevel + }).(pulumi.StringPtrOutput) } -func (*clusterRkeConfigNetworkWeaveNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +// Whether to disable periodic SNAT global info sync (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) DisablePeriodicSnatGlobalInfoSync() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DisablePeriodicSnatGlobalInfoSync + }).(pulumi.StringPtrOutput) } -func (i *clusterRkeConfigNetworkWeaveNetworkProviderPtrType) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return i.ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +// Whether to disable waiting for network (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) DisableWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DisableWaitForNetwork + }).(pulumi.StringPtrOutput) } -func (i *clusterRkeConfigNetworkWeaveNetworkProviderPtrType) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) +// Whether to enable drop log (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) DropLogEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DropLogEnable + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNetworkWeaveNetworkProviderOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigNetworkWeaveNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +// The duration to wait for network (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) DurationWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DurationWaitForNetwork + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderOutput() ClusterRkeConfigNetworkWeaveNetworkProviderOutput { - return o +// Whether to enable endpoint slices (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) EnableEndpointSlice() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.EnableEndpointSlice + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderOutput { - return o +// Encap type: vxlan or vlan (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) EncapType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.EncapType + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +// EP registry (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) EpRegistry() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.EpRegistry + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigNetworkWeaveNetworkProvider) *ClusterRkeConfigNetworkWeaveNetworkProvider { - return &v - }).(ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) +// Subnet to use for dynamic external IPs (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ExternDynamic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ExternDynamic + }).(pulumi.StringPtrOutput) } -// Registry password (string) -func (o ClusterRkeConfigNetworkWeaveNetworkProviderOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v ClusterRkeConfigNetworkWeaveNetworkProvider) string { return v.Password }).(pulumi.StringOutput) +// Subnet to use for static external IPs (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ExternStatic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ExternStatic + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +// GBH pod subnet (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) GbpPodSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.GbpPodSubnet + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o -} - -func (o ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o +// Log level for ACI host agent (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) HostAgentLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.HostAgentLogLevel + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) Elem() ClusterRkeConfigNetworkWeaveNetworkProviderOutput { - return o.ApplyT(func(v *ClusterRkeConfigNetworkWeaveNetworkProvider) ClusterRkeConfigNetworkWeaveNetworkProvider { - if v != nil { - return *v +// Image pull policy (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ImagePullPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil } - var ret ClusterRkeConfigNetworkWeaveNetworkProvider - return ret - }).(ClusterRkeConfigNetworkWeaveNetworkProviderOutput) + return v.ImagePullPolicy + }).(pulumi.StringPtrOutput) } -// Registry password (string) -func (o ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigNetworkWeaveNetworkProvider) *string { +// Image pull policy (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ImagePullSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return &v.Password + return v.ImagePullSecret }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNode struct { - // Address ip for node (string) - Address string `pulumi:"address"` - // Docker socket for node (string) - DockerSocket *string `pulumi:"dockerSocket"` - // Hostname override for node (string) - HostnameOverride *string `pulumi:"hostnameOverride"` - // Internal ip for node (string) - InternalAddress *string `pulumi:"internalAddress"` - // Labels for cluster registration token object (map) - Labels map[string]interface{} `pulumi:"labels"` - // Id for the node (string) - NodeId *string `pulumi:"nodeId"` - // Port for node. Default `22` (string) - Port *string `pulumi:"port"` - // Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list) - Roles []string `pulumi:"roles"` - // Use ssh agent auth. Default `false` (bool) - SshAgentAuth *bool `pulumi:"sshAgentAuth"` - // Node SSH private key (string) - SshKey *string `pulumi:"sshKey"` - // Node SSH private key path (string) - SshKeyPath *string `pulumi:"sshKeyPath"` - // Registry user (string) - User string `pulumi:"user"` +// The VLAN used by ACI infra (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) InfraVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.InfraVlan + }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigNodeInput is an input type that accepts ClusterRkeConfigNodeArgs and ClusterRkeConfigNodeOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNodeInput` via: -// -// ClusterRkeConfigNodeArgs{...} -type ClusterRkeConfigNodeInput interface { - pulumi.Input - - ToClusterRkeConfigNodeOutput() ClusterRkeConfigNodeOutput - ToClusterRkeConfigNodeOutputWithContext(context.Context) ClusterRkeConfigNodeOutput +// Whether to install Istio (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) InstallIstio() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.InstallIstio + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNodeArgs struct { - // Address ip for node (string) - Address pulumi.StringInput `pulumi:"address"` - // Docker socket for node (string) - DockerSocket pulumi.StringPtrInput `pulumi:"dockerSocket"` - // Hostname override for node (string) - HostnameOverride pulumi.StringPtrInput `pulumi:"hostnameOverride"` - // Internal ip for node (string) - InternalAddress pulumi.StringPtrInput `pulumi:"internalAddress"` - // Labels for cluster registration token object (map) - Labels pulumi.MapInput `pulumi:"labels"` - // Id for the node (string) - NodeId pulumi.StringPtrInput `pulumi:"nodeId"` - // Port for node. Default `22` (string) - Port pulumi.StringPtrInput `pulumi:"port"` - // Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list) - Roles pulumi.StringArrayInput `pulumi:"roles"` - // Use ssh agent auth. Default `false` (bool) - SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` - // Node SSH private key (string) - SshKey pulumi.StringPtrInput `pulumi:"sshKey"` - // Node SSH private key path (string) - SshKeyPath pulumi.StringPtrInput `pulumi:"sshKeyPath"` - // Registry user (string) - User pulumi.StringInput `pulumi:"user"` +// Istio profile name (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) IstioProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.IstioProfile + }).(pulumi.StringPtrOutput) } -func (ClusterRkeConfigNodeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNode)(nil)).Elem() +// List of Kafka broker hosts (list) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaBrokers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.KafkaBrokers + }).(pulumi.StringArrayOutput) } -func (i ClusterRkeConfigNodeArgs) ToClusterRkeConfigNodeOutput() ClusterRkeConfigNodeOutput { - return i.ToClusterRkeConfigNodeOutputWithContext(context.Background()) +// Kafka client certificate (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaClientCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.KafkaClientCrt + }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNodeArgs) ToClusterRkeConfigNodeOutputWithContext(ctx context.Context) ClusterRkeConfigNodeOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNodeOutput) +// Kafka client key (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.KafkaClientKey + }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigNodeArrayInput is an input type that accepts ClusterRkeConfigNodeArray and ClusterRkeConfigNodeArrayOutput values. -// You can construct a concrete instance of `ClusterRkeConfigNodeArrayInput` via: -// -// ClusterRkeConfigNodeArray{ ClusterRkeConfigNodeArgs{...} } -type ClusterRkeConfigNodeArrayInput interface { - pulumi.Input - - ToClusterRkeConfigNodeArrayOutput() ClusterRkeConfigNodeArrayOutput - ToClusterRkeConfigNodeArrayOutputWithContext(context.Context) ClusterRkeConfigNodeArrayOutput +// The VLAN used by the physdom for nodes (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) KubeApiVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.KubeApiVlan + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNodeArray []ClusterRkeConfigNodeInput - -func (ClusterRkeConfigNodeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterRkeConfigNode)(nil)).Elem() +// L3out (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) L3out() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.L3out + }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigNodeArray) ToClusterRkeConfigNodeArrayOutput() ClusterRkeConfigNodeArrayOutput { - return i.ToClusterRkeConfigNodeArrayOutputWithContext(context.Background()) +// L3out external networks (list) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) L3outExternalNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.L3outExternalNetworks + }).(pulumi.StringArrayOutput) } -func (i ClusterRkeConfigNodeArray) ToClusterRkeConfigNodeArrayOutputWithContext(ctx context.Context) ClusterRkeConfigNodeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNodeArrayOutput) +// Max nodes in service graph (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) MaxNodesSvcGraph() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MaxNodesSvcGraph + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNodeOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigNodeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigNode)(nil)).Elem() +// End of mcast range (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) McastRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.McastRangeEnd + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNodeOutput) ToClusterRkeConfigNodeOutput() ClusterRkeConfigNodeOutput { - return o +// Start of mcast range (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) McastRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.McastRangeStart + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNodeOutput) ToClusterRkeConfigNodeOutputWithContext(ctx context.Context) ClusterRkeConfigNodeOutput { - return o +// MTU head room amount (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) MtuHeadRoom() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MtuHeadRoom + }).(pulumi.StringPtrOutput) } -// Address ip for node (string) -func (o ClusterRkeConfigNodeOutput) Address() pulumi.StringOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) string { return v.Address }).(pulumi.StringOutput) +// Whether to disable Multus (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) MultusDisable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MultusDisable + }).(pulumi.StringPtrOutput) } -// Docker socket for node (string) -func (o ClusterRkeConfigNodeOutput) DockerSocket() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.DockerSocket }).(pulumi.StringPtrOutput) +// Whether to use priority class (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) NoPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.NoPriorityClass + }).(pulumi.StringPtrOutput) } -// Hostname override for node (string) -func (o ClusterRkeConfigNodeOutput) HostnameOverride() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.HostnameOverride }).(pulumi.StringPtrOutput) +// Whether to enable node pod interface (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) NodePodIfEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.NodePodIfEnable + }).(pulumi.StringPtrOutput) } -// Internal ip for node (string) -func (o ClusterRkeConfigNodeOutput) InternalAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.InternalAddress }).(pulumi.StringPtrOutput) +// Subnet to use for nodes (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) NodeSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.NodeSubnet + }).(pulumi.StringPtrOutput) } -// Labels for cluster registration token object (map) -func (o ClusterRkeConfigNodeOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +// Subnet to use for service graph (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) NodeSvcSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.NodeSvcSubnet + }).(pulumi.StringPtrOutput) } -// Id for the node (string) -func (o ClusterRkeConfigNodeOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.NodeId }).(pulumi.StringPtrOutput) +// Whether to use client SSL for Opflex (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexClientSsl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexClientSsl + }).(pulumi.StringPtrOutput) } -// Port for node. Default `22` (string) -func (o ClusterRkeConfigNodeOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.Port }).(pulumi.StringPtrOutput) +// Opflex device delete timeout (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexDeviceDeleteTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexDeviceDeleteTimeout + }).(pulumi.StringPtrOutput) } -// Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list) -func (o ClusterRkeConfigNodeOutput) Roles() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) []string { return v.Roles }).(pulumi.StringArrayOutput) +// Log level for ACI opflex (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexLogLevel + }).(pulumi.StringPtrOutput) } -// Use ssh agent auth. Default `false` (bool) -func (o ClusterRkeConfigNodeOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) +// Opflex mode (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexMode + }).(pulumi.StringPtrOutput) } -// Node SSH private key (string) -func (o ClusterRkeConfigNodeOutput) SshKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.SshKey }).(pulumi.StringPtrOutput) +// Opflex server port (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexServerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexServerPort + }).(pulumi.StringPtrOutput) } -// Node SSH private key path (string) -func (o ClusterRkeConfigNodeOutput) SshKeyPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.SshKeyPath }).(pulumi.StringPtrOutput) +// Overlay VRF name (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OverlayVrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OverlayVrfName + }).(pulumi.StringPtrOutput) } -// Registry user (string) -func (o ClusterRkeConfigNodeOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v ClusterRkeConfigNode) string { return v.User }).(pulumi.StringOutput) +// OVS memory limit (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OvsMemoryLimit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OvsMemoryLimit + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigNodeArrayOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigNodeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterRkeConfigNode)(nil)).Elem() +// Policy-based routing tracking non snat (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) PbrTrackingNonSnat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.PbrTrackingNonSnat + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNodeArrayOutput) ToClusterRkeConfigNodeArrayOutput() ClusterRkeConfigNodeArrayOutput { - return o +// Pod subnet chunk size (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) PodSubnetChunkSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.PodSubnetChunkSize + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNodeArrayOutput) ToClusterRkeConfigNodeArrayOutputWithContext(ctx context.Context) ClusterRkeConfigNodeArrayOutput { - return o +// Whether to run GBP container (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) RunGbpContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.RunGbpContainer + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigNodeArrayOutput) Index(i pulumi.IntInput) ClusterRkeConfigNodeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterRkeConfigNode { - return vs[0].([]ClusterRkeConfigNode)[vs[1].(int)] - }).(ClusterRkeConfigNodeOutput) +// Whether to run Opflex server container (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) RunOpflexServerContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.RunOpflexServerContainer + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigPrivateRegistry struct { - // ECR credential plugin config (list maxitems:1) - EcrCredentialPlugin *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin `pulumi:"ecrCredentialPlugin"` - // Set as default registry. Default `false` (bool) - IsDefault *bool `pulumi:"isDefault"` - // Registry password (string) - Password *string `pulumi:"password"` - // Registry URL (string) - Url string `pulumi:"url"` - // Registry user (string) - User *string `pulumi:"user"` +// Service monitor interval (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ServiceMonitorInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ServiceMonitorInterval + }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigPrivateRegistryInput is an input type that accepts ClusterRkeConfigPrivateRegistryArgs and ClusterRkeConfigPrivateRegistryOutput values. -// You can construct a concrete instance of `ClusterRkeConfigPrivateRegistryInput` via: -// -// ClusterRkeConfigPrivateRegistryArgs{...} -type ClusterRkeConfigPrivateRegistryInput interface { - pulumi.Input - - ToClusterRkeConfigPrivateRegistryOutput() ClusterRkeConfigPrivateRegistryOutput - ToClusterRkeConfigPrivateRegistryOutputWithContext(context.Context) ClusterRkeConfigPrivateRegistryOutput +// The VLAN used by LoadBalancer services (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ServiceVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ServiceVlan + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigPrivateRegistryArgs struct { - // ECR credential plugin config (list maxitems:1) - EcrCredentialPlugin ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput `pulumi:"ecrCredentialPlugin"` - // Set as default registry. Default `false` (bool) - IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` - // Registry password (string) - Password pulumi.StringPtrInput `pulumi:"password"` - // Registry URL (string) - Url pulumi.StringInput `pulumi:"url"` - // Registry user (string) - User pulumi.StringPtrInput `pulumi:"user"` +// Snat contract scope (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SnatContractScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatContractScope + }).(pulumi.StringPtrOutput) } -func (ClusterRkeConfigPrivateRegistryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigPrivateRegistry)(nil)).Elem() +// Snat namespace (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SnatNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatNamespace + }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigPrivateRegistryArgs) ToClusterRkeConfigPrivateRegistryOutput() ClusterRkeConfigPrivateRegistryOutput { - return i.ToClusterRkeConfigPrivateRegistryOutputWithContext(context.Background()) +// End of snat port range (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatPortRangeEnd + }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigPrivateRegistryArgs) ToClusterRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigPrivateRegistryOutput) +// End of snat port range (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatPortRangeStart + }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigPrivateRegistryArrayInput is an input type that accepts ClusterRkeConfigPrivateRegistryArray and ClusterRkeConfigPrivateRegistryArrayOutput values. -// You can construct a concrete instance of `ClusterRkeConfigPrivateRegistryArrayInput` via: -// -// ClusterRkeConfigPrivateRegistryArray{ ClusterRkeConfigPrivateRegistryArgs{...} } -type ClusterRkeConfigPrivateRegistryArrayInput interface { - pulumi.Input - - ToClusterRkeConfigPrivateRegistryArrayOutput() ClusterRkeConfigPrivateRegistryArrayOutput - ToClusterRkeConfigPrivateRegistryArrayOutputWithContext(context.Context) ClusterRkeConfigPrivateRegistryArrayOutput +// Snat ports per node (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortsPerNode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatPortsPerNode + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigPrivateRegistryArray []ClusterRkeConfigPrivateRegistryInput - -func (ClusterRkeConfigPrivateRegistryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterRkeConfigPrivateRegistry)(nil)).Elem() +// Whether to enable SR-IOV (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SriovEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SriovEnable + }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigPrivateRegistryArray) ToClusterRkeConfigPrivateRegistryArrayOutput() ClusterRkeConfigPrivateRegistryArrayOutput { - return i.ToClusterRkeConfigPrivateRegistryArrayOutputWithContext(context.Background()) +// Subnet domain name (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SubnetDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SubnetDomainName + }).(pulumi.StringPtrOutput) } -func (i ClusterRkeConfigPrivateRegistryArray) ToClusterRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigPrivateRegistryArrayOutput) +// ACI system ID (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SystemId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.SystemId + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigPrivateRegistryOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigPrivateRegistryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigPrivateRegistry)(nil)).Elem() +// ACI tenant (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) Tenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.Tenant + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigPrivateRegistryOutput) ToClusterRkeConfigPrivateRegistryOutput() ClusterRkeConfigPrivateRegistryOutput { - return o +// Token for cluster registration token object (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.Token + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigPrivateRegistryOutput) ToClusterRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryOutput { - return o +// Whether to use ACI anywhere CRD (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UseAciAnywhereCrd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseAciAnywhereCrd + }).(pulumi.StringPtrOutput) } -// ECR credential plugin config (list maxitems:1) -func (o ClusterRkeConfigPrivateRegistryOutput) EcrCredentialPlugin() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigPrivateRegistry) *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin { - return v.EcrCredentialPlugin - }).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) +// Whether to use ACI CNI priority class (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UseAciCniPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseAciCniPriorityClass + }).(pulumi.StringPtrOutput) } -// Set as default registry. Default `false` (bool) -func (o ClusterRkeConfigPrivateRegistryOutput) IsDefault() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigPrivateRegistry) *bool { return v.IsDefault }).(pulumi.BoolPtrOutput) +// Whether to use cluster role (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UseClusterRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseClusterRole + }).(pulumi.StringPtrOutput) } -// Registry password (string) -func (o ClusterRkeConfigPrivateRegistryOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigPrivateRegistry) *string { return v.Password }).(pulumi.StringPtrOutput) +// Whether to use host netns volume (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UseHostNetnsVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseHostNetnsVolume + }).(pulumi.StringPtrOutput) } -// Registry URL (string) -func (o ClusterRkeConfigPrivateRegistryOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v ClusterRkeConfigPrivateRegistry) string { return v.Url }).(pulumi.StringOutput) +// Whether use Opflex server volume (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UseOpflexServerVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseOpflexServerVolume + }).(pulumi.StringPtrOutput) } -// Registry user (string) -func (o ClusterRkeConfigPrivateRegistryOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigPrivateRegistry) *string { return v.User }).(pulumi.StringPtrOutput) +// Whether ACI containers should run as privileged (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UsePrivilegedContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UsePrivilegedContainer + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigPrivateRegistryArrayOutput struct{ *pulumi.OutputState } - -func (ClusterRkeConfigPrivateRegistryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterRkeConfigPrivateRegistry)(nil)).Elem() +// VMM controller configuration (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) VmmController() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.VmmController + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigPrivateRegistryArrayOutput) ToClusterRkeConfigPrivateRegistryArrayOutput() ClusterRkeConfigPrivateRegistryArrayOutput { - return o +// VMM domain configuration (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) VmmDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.VmmDomain + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigPrivateRegistryArrayOutput) ToClusterRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryArrayOutput { - return o +// VRF name (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) VrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.VrfName + }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigPrivateRegistryArrayOutput) Index(i pulumi.IntInput) ClusterRkeConfigPrivateRegistryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterRkeConfigPrivateRegistry { - return vs[0].([]ClusterRkeConfigPrivateRegistry)[vs[1].(int)] - }).(ClusterRkeConfigPrivateRegistryOutput) +// VRF tenant (string) +func (o ClusterRkeConfigNetworkAciNetworkProviderPtrOutput) VrfTenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.VrfTenant + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigPrivateRegistryEcrCredentialPlugin struct { - // AWS access key ID (string) - AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` - // AWS secret access key (string) - AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` - // AWS session token (string) - AwsSessionToken *string `pulumi:"awsSessionToken"` +type ClusterRkeConfigNetworkCalicoNetworkProvider struct { + // RKE options for Calico network provider (string) + CloudProvider *string `pulumi:"cloudProvider"` } -// ClusterRkeConfigPrivateRegistryEcrCredentialPluginInput is an input type that accepts ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs and ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput values. -// You can construct a concrete instance of `ClusterRkeConfigPrivateRegistryEcrCredentialPluginInput` via: +// ClusterRkeConfigNetworkCalicoNetworkProviderInput is an input type that accepts ClusterRkeConfigNetworkCalicoNetworkProviderArgs and ClusterRkeConfigNetworkCalicoNetworkProviderOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkCalicoNetworkProviderInput` via: // -// ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} -type ClusterRkeConfigPrivateRegistryEcrCredentialPluginInput interface { +// ClusterRkeConfigNetworkCalicoNetworkProviderArgs{...} +type ClusterRkeConfigNetworkCalicoNetworkProviderInput interface { pulumi.Input - ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput - ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput + ToClusterRkeConfigNetworkCalicoNetworkProviderOutput() ClusterRkeConfigNetworkCalicoNetworkProviderOutput + ToClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderOutput } -type ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs struct { - // AWS access key ID (string) - AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` - // AWS secret access key (string) - AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` - // AWS session token (string) - AwsSessionToken pulumi.StringPtrInput `pulumi:"awsSessionToken"` +type ClusterRkeConfigNetworkCalicoNetworkProviderArgs struct { + // RKE options for Calico network provider (string) + CloudProvider pulumi.StringPtrInput `pulumi:"cloudProvider"` } -func (ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (i ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return i.ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Background()) +func (i ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterRkeConfigNetworkCalicoNetworkProviderOutput() ClusterRkeConfigNetworkCalicoNetworkProviderOutput { + return i.ToClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Background()) } -func (i ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) +func (i ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCalicoNetworkProviderOutput) } -func (i ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return i.ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return i.ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput).ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx) +func (i ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCalicoNetworkProviderOutput).ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx) } -// ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput is an input type that accepts ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs, ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtr and ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput` via: -// -// ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} +// ClusterRkeConfigNetworkCalicoNetworkProviderPtrInput is an input type that accepts ClusterRkeConfigNetworkCalicoNetworkProviderArgs, ClusterRkeConfigNetworkCalicoNetworkProviderPtr and ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkCalicoNetworkProviderPtrInput` via: +// +// ClusterRkeConfigNetworkCalicoNetworkProviderArgs{...} // // or: // // nil -type ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput interface { +type ClusterRkeConfigNetworkCalicoNetworkProviderPtrInput interface { pulumi.Input - ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput - ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput + ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput + ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput } -type clusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs +type clusterRkeConfigNetworkCalicoNetworkProviderPtrType ClusterRkeConfigNetworkCalicoNetworkProviderArgs -func ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtr(v *ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput { - return (*clusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType)(v) +func ClusterRkeConfigNetworkCalicoNetworkProviderPtr(v *ClusterRkeConfigNetworkCalicoNetworkProviderArgs) ClusterRkeConfigNetworkCalicoNetworkProviderPtrInput { + return (*clusterRkeConfigNetworkCalicoNetworkProviderPtrType)(v) } -func (*clusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (*clusterRkeConfigNetworkCalicoNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (i *clusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return i.ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigNetworkCalicoNetworkProviderPtrType) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return i.ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) +func (i *clusterRkeConfigNetworkCalicoNetworkProviderPtrType) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) } -type ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigNetworkCalicoNetworkProviderOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (ClusterRkeConfigNetworkCalicoNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { +func (o ClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderOutput() ClusterRkeConfigNetworkCalicoNetworkProviderOutput { return o } -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { +func (o ClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderOutput { return o } -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin { +func (o ClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigNetworkCalicoNetworkProvider) *ClusterRkeConfigNetworkCalicoNetworkProvider { return &v - }).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) -} - -// AWS access key ID (string) -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsAccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) -} - -// AWS secret access key (string) -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsSecretAccessKey }).(pulumi.StringPtrOutput) + }).(ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) } -// AWS session token (string) -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsSessionToken }).(pulumi.StringPtrOutput) +// RKE options for Calico network provider (string) +func (o ClusterRkeConfigNetworkCalicoNetworkProviderOutput) CloudProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkCalicoNetworkProvider) *string { return v.CloudProvider }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { +func (o ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { return o } -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { +func (o ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { return o } -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) Elem() ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return o.ApplyT(func(v *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) ClusterRkeConfigPrivateRegistryEcrCredentialPlugin { +func (o ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) Elem() ClusterRkeConfigNetworkCalicoNetworkProviderOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkCalicoNetworkProvider) ClusterRkeConfigNetworkCalicoNetworkProvider { if v != nil { return *v } - var ret ClusterRkeConfigPrivateRegistryEcrCredentialPlugin + var ret ClusterRkeConfigNetworkCalicoNetworkProvider return ret - }).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) -} - -// AWS access key ID (string) -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { - if v == nil { - return nil - } - return v.AwsAccessKeyId - }).(pulumi.StringPtrOutput) -} - -// AWS secret access key (string) -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { - if v == nil { - return nil - } - return v.AwsSecretAccessKey - }).(pulumi.StringPtrOutput) + }).(ClusterRkeConfigNetworkCalicoNetworkProviderOutput) } -// AWS session token (string) -func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { +// RKE options for Calico network provider (string) +func (o ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) CloudProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkCalicoNetworkProvider) *string { if v == nil { return nil } - return v.AwsSessionToken + return v.CloudProvider }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServices struct { - // Etcd options for RKE services (list maxitems:1) - Etcd *ClusterRkeConfigServicesEtcd `pulumi:"etcd"` - // Kube API options for RKE services (list maxitems:1) - KubeApi *ClusterRkeConfigServicesKubeApi `pulumi:"kubeApi"` - // Kube Controller options for RKE services (list maxitems:1) - KubeController *ClusterRkeConfigServicesKubeController `pulumi:"kubeController"` - // Kubelet options for RKE services (list maxitems:1) - Kubelet *ClusterRkeConfigServicesKubelet `pulumi:"kubelet"` - // Kubeproxy options for RKE services (list maxitems:1) - Kubeproxy *ClusterRkeConfigServicesKubeproxy `pulumi:"kubeproxy"` - // Scheduler options for RKE services (list maxitems:1) - Scheduler *ClusterRkeConfigServicesScheduler `pulumi:"scheduler"` +type ClusterRkeConfigNetworkCanalNetworkProvider struct { + // Iface config Flannel network provider (string) + Iface *string `pulumi:"iface"` } -// ClusterRkeConfigServicesInput is an input type that accepts ClusterRkeConfigServicesArgs and ClusterRkeConfigServicesOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesInput` via: +// ClusterRkeConfigNetworkCanalNetworkProviderInput is an input type that accepts ClusterRkeConfigNetworkCanalNetworkProviderArgs and ClusterRkeConfigNetworkCanalNetworkProviderOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkCanalNetworkProviderInput` via: // -// ClusterRkeConfigServicesArgs{...} -type ClusterRkeConfigServicesInput interface { +// ClusterRkeConfigNetworkCanalNetworkProviderArgs{...} +type ClusterRkeConfigNetworkCanalNetworkProviderInput interface { pulumi.Input - ToClusterRkeConfigServicesOutput() ClusterRkeConfigServicesOutput - ToClusterRkeConfigServicesOutputWithContext(context.Context) ClusterRkeConfigServicesOutput + ToClusterRkeConfigNetworkCanalNetworkProviderOutput() ClusterRkeConfigNetworkCanalNetworkProviderOutput + ToClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Context) ClusterRkeConfigNetworkCanalNetworkProviderOutput } -type ClusterRkeConfigServicesArgs struct { - // Etcd options for RKE services (list maxitems:1) - Etcd ClusterRkeConfigServicesEtcdPtrInput `pulumi:"etcd"` - // Kube API options for RKE services (list maxitems:1) - KubeApi ClusterRkeConfigServicesKubeApiPtrInput `pulumi:"kubeApi"` - // Kube Controller options for RKE services (list maxitems:1) - KubeController ClusterRkeConfigServicesKubeControllerPtrInput `pulumi:"kubeController"` - // Kubelet options for RKE services (list maxitems:1) - Kubelet ClusterRkeConfigServicesKubeletPtrInput `pulumi:"kubelet"` - // Kubeproxy options for RKE services (list maxitems:1) - Kubeproxy ClusterRkeConfigServicesKubeproxyPtrInput `pulumi:"kubeproxy"` - // Scheduler options for RKE services (list maxitems:1) - Scheduler ClusterRkeConfigServicesSchedulerPtrInput `pulumi:"scheduler"` +type ClusterRkeConfigNetworkCanalNetworkProviderArgs struct { + // Iface config Flannel network provider (string) + Iface pulumi.StringPtrInput `pulumi:"iface"` } -func (ClusterRkeConfigServicesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServices)(nil)).Elem() +func (ClusterRkeConfigNetworkCanalNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (i ClusterRkeConfigServicesArgs) ToClusterRkeConfigServicesOutput() ClusterRkeConfigServicesOutput { - return i.ToClusterRkeConfigServicesOutputWithContext(context.Background()) +func (i ClusterRkeConfigNetworkCanalNetworkProviderArgs) ToClusterRkeConfigNetworkCanalNetworkProviderOutput() ClusterRkeConfigNetworkCanalNetworkProviderOutput { + return i.ToClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesArgs) ToClusterRkeConfigServicesOutputWithContext(ctx context.Context) ClusterRkeConfigServicesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesOutput) +func (i ClusterRkeConfigNetworkCanalNetworkProviderArgs) ToClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCanalNetworkProviderOutput) } -func (i ClusterRkeConfigServicesArgs) ToClusterRkeConfigServicesPtrOutput() ClusterRkeConfigServicesPtrOutput { - return i.ToClusterRkeConfigServicesPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigNetworkCanalNetworkProviderArgs) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return i.ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesArgs) ToClusterRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesOutput).ToClusterRkeConfigServicesPtrOutputWithContext(ctx) +func (i ClusterRkeConfigNetworkCanalNetworkProviderArgs) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCanalNetworkProviderOutput).ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesPtrInput is an input type that accepts ClusterRkeConfigServicesArgs, ClusterRkeConfigServicesPtr and ClusterRkeConfigServicesPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesPtrInput` via: +// ClusterRkeConfigNetworkCanalNetworkProviderPtrInput is an input type that accepts ClusterRkeConfigNetworkCanalNetworkProviderArgs, ClusterRkeConfigNetworkCanalNetworkProviderPtr and ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkCanalNetworkProviderPtrInput` via: // -// ClusterRkeConfigServicesArgs{...} +// ClusterRkeConfigNetworkCanalNetworkProviderArgs{...} // // or: // // nil -type ClusterRkeConfigServicesPtrInput interface { +type ClusterRkeConfigNetworkCanalNetworkProviderPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesPtrOutput() ClusterRkeConfigServicesPtrOutput - ToClusterRkeConfigServicesPtrOutputWithContext(context.Context) ClusterRkeConfigServicesPtrOutput + ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput + ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Context) ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput } -type clusterRkeConfigServicesPtrType ClusterRkeConfigServicesArgs +type clusterRkeConfigNetworkCanalNetworkProviderPtrType ClusterRkeConfigNetworkCanalNetworkProviderArgs -func ClusterRkeConfigServicesPtr(v *ClusterRkeConfigServicesArgs) ClusterRkeConfigServicesPtrInput { - return (*clusterRkeConfigServicesPtrType)(v) +func ClusterRkeConfigNetworkCanalNetworkProviderPtr(v *ClusterRkeConfigNetworkCanalNetworkProviderArgs) ClusterRkeConfigNetworkCanalNetworkProviderPtrInput { + return (*clusterRkeConfigNetworkCanalNetworkProviderPtrType)(v) } -func (*clusterRkeConfigServicesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServices)(nil)).Elem() +func (*clusterRkeConfigNetworkCanalNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (i *clusterRkeConfigServicesPtrType) ToClusterRkeConfigServicesPtrOutput() ClusterRkeConfigServicesPtrOutput { - return i.ToClusterRkeConfigServicesPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigNetworkCanalNetworkProviderPtrType) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return i.ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesPtrType) ToClusterRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesPtrOutput) +func (i *clusterRkeConfigNetworkCanalNetworkProviderPtrType) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) } -type ClusterRkeConfigServicesOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigNetworkCanalNetworkProviderOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServices)(nil)).Elem() +func (ClusterRkeConfigNetworkCanalNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (o ClusterRkeConfigServicesOutput) ToClusterRkeConfigServicesOutput() ClusterRkeConfigServicesOutput { +func (o ClusterRkeConfigNetworkCanalNetworkProviderOutput) ToClusterRkeConfigNetworkCanalNetworkProviderOutput() ClusterRkeConfigNetworkCanalNetworkProviderOutput { return o } -func (o ClusterRkeConfigServicesOutput) ToClusterRkeConfigServicesOutputWithContext(ctx context.Context) ClusterRkeConfigServicesOutput { +func (o ClusterRkeConfigNetworkCanalNetworkProviderOutput) ToClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderOutput { return o } -func (o ClusterRkeConfigServicesOutput) ToClusterRkeConfigServicesPtrOutput() ClusterRkeConfigServicesPtrOutput { - return o.ToClusterRkeConfigServicesPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigNetworkCanalNetworkProviderOutput) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesOutput) ToClusterRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServices) *ClusterRkeConfigServices { +func (o ClusterRkeConfigNetworkCanalNetworkProviderOutput) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigNetworkCanalNetworkProvider) *ClusterRkeConfigNetworkCanalNetworkProvider { return &v - }).(ClusterRkeConfigServicesPtrOutput) -} - -// Etcd options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesOutput) Etcd() ClusterRkeConfigServicesEtcdPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesEtcd { return v.Etcd }).(ClusterRkeConfigServicesEtcdPtrOutput) -} - -// Kube API options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesOutput) KubeApi() ClusterRkeConfigServicesKubeApiPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeApi { return v.KubeApi }).(ClusterRkeConfigServicesKubeApiPtrOutput) -} - -// Kube Controller options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesOutput) KubeController() ClusterRkeConfigServicesKubeControllerPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeController { return v.KubeController }).(ClusterRkeConfigServicesKubeControllerPtrOutput) -} - -// Kubelet options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesOutput) Kubelet() ClusterRkeConfigServicesKubeletPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesKubelet { return v.Kubelet }).(ClusterRkeConfigServicesKubeletPtrOutput) -} - -// Kubeproxy options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesOutput) Kubeproxy() ClusterRkeConfigServicesKubeproxyPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeproxy { return v.Kubeproxy }).(ClusterRkeConfigServicesKubeproxyPtrOutput) + }).(ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) } -// Scheduler options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesOutput) Scheduler() ClusterRkeConfigServicesSchedulerPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesScheduler { return v.Scheduler }).(ClusterRkeConfigServicesSchedulerPtrOutput) +// Iface config Flannel network provider (string) +func (o ClusterRkeConfigNetworkCanalNetworkProviderOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkCanalNetworkProvider) *string { return v.Iface }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesPtrOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServices)(nil)).Elem() +func (ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (o ClusterRkeConfigServicesPtrOutput) ToClusterRkeConfigServicesPtrOutput() ClusterRkeConfigServicesPtrOutput { +func (o ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { return o } -func (o ClusterRkeConfigServicesPtrOutput) ToClusterRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesPtrOutput { +func (o ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ToClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { return o } -func (o ClusterRkeConfigServicesPtrOutput) Elem() ClusterRkeConfigServicesOutput { - return o.ApplyT(func(v *ClusterRkeConfigServices) ClusterRkeConfigServices { +func (o ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) Elem() ClusterRkeConfigNetworkCanalNetworkProviderOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkCanalNetworkProvider) ClusterRkeConfigNetworkCanalNetworkProvider { if v != nil { return *v } - var ret ClusterRkeConfigServices + var ret ClusterRkeConfigNetworkCanalNetworkProvider return ret - }).(ClusterRkeConfigServicesOutput) -} - -// Etcd options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesPtrOutput) Etcd() ClusterRkeConfigServicesEtcdPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesEtcd { - if v == nil { - return nil - } - return v.Etcd - }).(ClusterRkeConfigServicesEtcdPtrOutput) -} - -// Kube API options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesPtrOutput) KubeApi() ClusterRkeConfigServicesKubeApiPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeApi { - if v == nil { - return nil - } - return v.KubeApi - }).(ClusterRkeConfigServicesKubeApiPtrOutput) -} - -// Kube Controller options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesPtrOutput) KubeController() ClusterRkeConfigServicesKubeControllerPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeController { - if v == nil { - return nil - } - return v.KubeController - }).(ClusterRkeConfigServicesKubeControllerPtrOutput) -} - -// Kubelet options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesPtrOutput) Kubelet() ClusterRkeConfigServicesKubeletPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesKubelet { - if v == nil { - return nil - } - return v.Kubelet - }).(ClusterRkeConfigServicesKubeletPtrOutput) -} - -// Kubeproxy options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesPtrOutput) Kubeproxy() ClusterRkeConfigServicesKubeproxyPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeproxy { - if v == nil { - return nil - } - return v.Kubeproxy - }).(ClusterRkeConfigServicesKubeproxyPtrOutput) + }).(ClusterRkeConfigNetworkCanalNetworkProviderOutput) } -// Scheduler options for RKE services (list maxitems:1) -func (o ClusterRkeConfigServicesPtrOutput) Scheduler() ClusterRkeConfigServicesSchedulerPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesScheduler { +// Iface config Flannel network provider (string) +func (o ClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkCanalNetworkProvider) *string { if v == nil { return nil } - return v.Scheduler - }).(ClusterRkeConfigServicesSchedulerPtrOutput) + return v.Iface + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesEtcd struct { - // Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) - BackupConfig *ClusterRkeConfigServicesEtcdBackupConfig `pulumi:"backupConfig"` - // TLS CA certificate for etcd service (string) - CaCert *string `pulumi:"caCert"` - // TLS certificate for etcd service (string) - Cert *string `pulumi:"cert"` - // Creation option for etcd service (string) - Creation *string `pulumi:"creation"` - // External urls for etcd service (list) - ExternalUrls []string `pulumi:"externalUrls"` - // Extra arguments for scheduler service (map) - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - // Extra binds for scheduler service (list) - ExtraBinds []string `pulumi:"extraBinds"` - // Extra environment for scheduler service (list) - ExtraEnvs []string `pulumi:"extraEnvs"` - // Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) - Gid *int `pulumi:"gid"` - // Docker image for scheduler service (string) - Image *string `pulumi:"image"` - // The GKE taint key (string) - Key *string `pulumi:"key"` - // (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) - Path *string `pulumi:"path"` - // Retention for etcd backup. Default `6` (int) - Retention *string `pulumi:"retention"` - // Snapshot option for etcd service (bool) - Snapshot *bool `pulumi:"snapshot"` - // Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) - Uid *int `pulumi:"uid"` +type ClusterRkeConfigNetworkFlannelNetworkProvider struct { + // Iface config Flannel network provider (string) + Iface *string `pulumi:"iface"` } -// ClusterRkeConfigServicesEtcdInput is an input type that accepts ClusterRkeConfigServicesEtcdArgs and ClusterRkeConfigServicesEtcdOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdInput` via: +// ClusterRkeConfigNetworkFlannelNetworkProviderInput is an input type that accepts ClusterRkeConfigNetworkFlannelNetworkProviderArgs and ClusterRkeConfigNetworkFlannelNetworkProviderOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkFlannelNetworkProviderInput` via: // -// ClusterRkeConfigServicesEtcdArgs{...} -type ClusterRkeConfigServicesEtcdInput interface { +// ClusterRkeConfigNetworkFlannelNetworkProviderArgs{...} +type ClusterRkeConfigNetworkFlannelNetworkProviderInput interface { pulumi.Input - ToClusterRkeConfigServicesEtcdOutput() ClusterRkeConfigServicesEtcdOutput - ToClusterRkeConfigServicesEtcdOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdOutput + ToClusterRkeConfigNetworkFlannelNetworkProviderOutput() ClusterRkeConfigNetworkFlannelNetworkProviderOutput + ToClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderOutput } -type ClusterRkeConfigServicesEtcdArgs struct { - // Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) - BackupConfig ClusterRkeConfigServicesEtcdBackupConfigPtrInput `pulumi:"backupConfig"` - // TLS CA certificate for etcd service (string) - CaCert pulumi.StringPtrInput `pulumi:"caCert"` - // TLS certificate for etcd service (string) - Cert pulumi.StringPtrInput `pulumi:"cert"` - // Creation option for etcd service (string) - Creation pulumi.StringPtrInput `pulumi:"creation"` - // External urls for etcd service (list) - ExternalUrls pulumi.StringArrayInput `pulumi:"externalUrls"` - // Extra arguments for scheduler service (map) - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - // Extra binds for scheduler service (list) - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - // Extra environment for scheduler service (list) - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - // Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) - Gid pulumi.IntPtrInput `pulumi:"gid"` - // Docker image for scheduler service (string) - Image pulumi.StringPtrInput `pulumi:"image"` - // The GKE taint key (string) - Key pulumi.StringPtrInput `pulumi:"key"` - // (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) - Path pulumi.StringPtrInput `pulumi:"path"` - // Retention for etcd backup. Default `6` (int) - Retention pulumi.StringPtrInput `pulumi:"retention"` - // Snapshot option for etcd service (bool) - Snapshot pulumi.BoolPtrInput `pulumi:"snapshot"` - // Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) - Uid pulumi.IntPtrInput `pulumi:"uid"` +type ClusterRkeConfigNetworkFlannelNetworkProviderArgs struct { + // Iface config Flannel network provider (string) + Iface pulumi.StringPtrInput `pulumi:"iface"` } -func (ClusterRkeConfigServicesEtcdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesEtcd)(nil)).Elem() +func (ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (i ClusterRkeConfigServicesEtcdArgs) ToClusterRkeConfigServicesEtcdOutput() ClusterRkeConfigServicesEtcdOutput { - return i.ToClusterRkeConfigServicesEtcdOutputWithContext(context.Background()) +func (i ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterRkeConfigNetworkFlannelNetworkProviderOutput() ClusterRkeConfigNetworkFlannelNetworkProviderOutput { + return i.ToClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesEtcdArgs) ToClusterRkeConfigServicesEtcdOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdOutput) +func (i ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkFlannelNetworkProviderOutput) } -func (i ClusterRkeConfigServicesEtcdArgs) ToClusterRkeConfigServicesEtcdPtrOutput() ClusterRkeConfigServicesEtcdPtrOutput { - return i.ToClusterRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return i.ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesEtcdArgs) ToClusterRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdOutput).ToClusterRkeConfigServicesEtcdPtrOutputWithContext(ctx) +func (i ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkFlannelNetworkProviderOutput).ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesEtcdPtrInput is an input type that accepts ClusterRkeConfigServicesEtcdArgs, ClusterRkeConfigServicesEtcdPtr and ClusterRkeConfigServicesEtcdPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdPtrInput` via: +// ClusterRkeConfigNetworkFlannelNetworkProviderPtrInput is an input type that accepts ClusterRkeConfigNetworkFlannelNetworkProviderArgs, ClusterRkeConfigNetworkFlannelNetworkProviderPtr and ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkFlannelNetworkProviderPtrInput` via: // -// ClusterRkeConfigServicesEtcdArgs{...} +// ClusterRkeConfigNetworkFlannelNetworkProviderArgs{...} // // or: // // nil -type ClusterRkeConfigServicesEtcdPtrInput interface { +type ClusterRkeConfigNetworkFlannelNetworkProviderPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesEtcdPtrOutput() ClusterRkeConfigServicesEtcdPtrOutput - ToClusterRkeConfigServicesEtcdPtrOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdPtrOutput + ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput + ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput } -type clusterRkeConfigServicesEtcdPtrType ClusterRkeConfigServicesEtcdArgs +type clusterRkeConfigNetworkFlannelNetworkProviderPtrType ClusterRkeConfigNetworkFlannelNetworkProviderArgs -func ClusterRkeConfigServicesEtcdPtr(v *ClusterRkeConfigServicesEtcdArgs) ClusterRkeConfigServicesEtcdPtrInput { - return (*clusterRkeConfigServicesEtcdPtrType)(v) +func ClusterRkeConfigNetworkFlannelNetworkProviderPtr(v *ClusterRkeConfigNetworkFlannelNetworkProviderArgs) ClusterRkeConfigNetworkFlannelNetworkProviderPtrInput { + return (*clusterRkeConfigNetworkFlannelNetworkProviderPtrType)(v) } -func (*clusterRkeConfigServicesEtcdPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesEtcd)(nil)).Elem() +func (*clusterRkeConfigNetworkFlannelNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (i *clusterRkeConfigServicesEtcdPtrType) ToClusterRkeConfigServicesEtcdPtrOutput() ClusterRkeConfigServicesEtcdPtrOutput { - return i.ToClusterRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigNetworkFlannelNetworkProviderPtrType) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return i.ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesEtcdPtrType) ToClusterRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdPtrOutput) +func (i *clusterRkeConfigNetworkFlannelNetworkProviderPtrType) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) } -type ClusterRkeConfigServicesEtcdOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigNetworkFlannelNetworkProviderOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesEtcdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesEtcd)(nil)).Elem() +func (ClusterRkeConfigNetworkFlannelNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (o ClusterRkeConfigServicesEtcdOutput) ToClusterRkeConfigServicesEtcdOutput() ClusterRkeConfigServicesEtcdOutput { +func (o ClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderOutput() ClusterRkeConfigNetworkFlannelNetworkProviderOutput { return o } -func (o ClusterRkeConfigServicesEtcdOutput) ToClusterRkeConfigServicesEtcdOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdOutput { +func (o ClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderOutput { return o } -func (o ClusterRkeConfigServicesEtcdOutput) ToClusterRkeConfigServicesEtcdPtrOutput() ClusterRkeConfigServicesEtcdPtrOutput { - return o.ToClusterRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesEtcdOutput) ToClusterRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesEtcd) *ClusterRkeConfigServicesEtcd { +func (o ClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigNetworkFlannelNetworkProvider) *ClusterRkeConfigNetworkFlannelNetworkProvider { return &v - }).(ClusterRkeConfigServicesEtcdPtrOutput) + }).(ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) } -// Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) -func (o ClusterRkeConfigServicesEtcdOutput) BackupConfig() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *ClusterRkeConfigServicesEtcdBackupConfig { return v.BackupConfig }).(ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) +// Iface config Flannel network provider (string) +func (o ClusterRkeConfigNetworkFlannelNetworkProviderOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkFlannelNetworkProvider) *string { return v.Iface }).(pulumi.StringPtrOutput) } -// TLS CA certificate for etcd service (string) -func (o ClusterRkeConfigServicesEtcdOutput) CaCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.CaCert }).(pulumi.StringPtrOutput) -} +type ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput struct{ *pulumi.OutputState } -// TLS certificate for etcd service (string) -func (o ClusterRkeConfigServicesEtcdOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Cert }).(pulumi.StringPtrOutput) +func (ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -// Creation option for etcd service (string) -func (o ClusterRkeConfigServicesEtcdOutput) Creation() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Creation }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o } -// External urls for etcd service (list) -func (o ClusterRkeConfigServicesEtcdOutput) ExternalUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) []string { return v.ExternalUrls }).(pulumi.StringArrayOutput) +func (o ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o } -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesEtcdOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) -} - -// Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesEtcdOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +func (o ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) Elem() ClusterRkeConfigNetworkFlannelNetworkProviderOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkFlannelNetworkProvider) ClusterRkeConfigNetworkFlannelNetworkProvider { + if v != nil { + return *v + } + var ret ClusterRkeConfigNetworkFlannelNetworkProvider + return ret + }).(ClusterRkeConfigNetworkFlannelNetworkProviderOutput) } -// Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesEtcdOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +// Iface config Flannel network provider (string) +func (o ClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkFlannelNetworkProvider) *string { + if v == nil { + return nil + } + return v.Iface + }).(pulumi.StringPtrOutput) } -// Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) -func (o ClusterRkeConfigServicesEtcdOutput) Gid() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *int { return v.Gid }).(pulumi.IntPtrOutput) +type ClusterRkeConfigNetworkToleration struct { + // The GKE taint effect (string) + Effect *string `pulumi:"effect"` + // The GKE taint key (string) + Key string `pulumi:"key"` + // The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string) + Operator *string `pulumi:"operator"` + // The toleration seconds (int) + Seconds *int `pulumi:"seconds"` + // The GKE taint value (string) + Value *string `pulumi:"value"` } -// Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesEtcdOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Image }).(pulumi.StringPtrOutput) -} +// ClusterRkeConfigNetworkTolerationInput is an input type that accepts ClusterRkeConfigNetworkTolerationArgs and ClusterRkeConfigNetworkTolerationOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkTolerationInput` via: +// +// ClusterRkeConfigNetworkTolerationArgs{...} +type ClusterRkeConfigNetworkTolerationInput interface { + pulumi.Input -// The GKE taint key (string) -func (o ClusterRkeConfigServicesEtcdOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Key }).(pulumi.StringPtrOutput) + ToClusterRkeConfigNetworkTolerationOutput() ClusterRkeConfigNetworkTolerationOutput + ToClusterRkeConfigNetworkTolerationOutputWithContext(context.Context) ClusterRkeConfigNetworkTolerationOutput } -// (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) -func (o ClusterRkeConfigServicesEtcdOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Path }).(pulumi.StringPtrOutput) +type ClusterRkeConfigNetworkTolerationArgs struct { + // The GKE taint effect (string) + Effect pulumi.StringPtrInput `pulumi:"effect"` + // The GKE taint key (string) + Key pulumi.StringInput `pulumi:"key"` + // The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string) + Operator pulumi.StringPtrInput `pulumi:"operator"` + // The toleration seconds (int) + Seconds pulumi.IntPtrInput `pulumi:"seconds"` + // The GKE taint value (string) + Value pulumi.StringPtrInput `pulumi:"value"` } -// Retention for etcd backup. Default `6` (int) -func (o ClusterRkeConfigServicesEtcdOutput) Retention() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Retention }).(pulumi.StringPtrOutput) +func (ClusterRkeConfigNetworkTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkToleration)(nil)).Elem() } -// Snapshot option for etcd service (bool) -func (o ClusterRkeConfigServicesEtcdOutput) Snapshot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *bool { return v.Snapshot }).(pulumi.BoolPtrOutput) +func (i ClusterRkeConfigNetworkTolerationArgs) ToClusterRkeConfigNetworkTolerationOutput() ClusterRkeConfigNetworkTolerationOutput { + return i.ToClusterRkeConfigNetworkTolerationOutputWithContext(context.Background()) } -// Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) -func (o ClusterRkeConfigServicesEtcdOutput) Uid() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *int { return v.Uid }).(pulumi.IntPtrOutput) +func (i ClusterRkeConfigNetworkTolerationArgs) ToClusterRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkTolerationOutput) } -type ClusterRkeConfigServicesEtcdPtrOutput struct{ *pulumi.OutputState } +// ClusterRkeConfigNetworkTolerationArrayInput is an input type that accepts ClusterRkeConfigNetworkTolerationArray and ClusterRkeConfigNetworkTolerationArrayOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkTolerationArrayInput` via: +// +// ClusterRkeConfigNetworkTolerationArray{ ClusterRkeConfigNetworkTolerationArgs{...} } +type ClusterRkeConfigNetworkTolerationArrayInput interface { + pulumi.Input -func (ClusterRkeConfigServicesEtcdPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesEtcd)(nil)).Elem() + ToClusterRkeConfigNetworkTolerationArrayOutput() ClusterRkeConfigNetworkTolerationArrayOutput + ToClusterRkeConfigNetworkTolerationArrayOutputWithContext(context.Context) ClusterRkeConfigNetworkTolerationArrayOutput } -func (o ClusterRkeConfigServicesEtcdPtrOutput) ToClusterRkeConfigServicesEtcdPtrOutput() ClusterRkeConfigServicesEtcdPtrOutput { - return o -} +type ClusterRkeConfigNetworkTolerationArray []ClusterRkeConfigNetworkTolerationInput -func (o ClusterRkeConfigServicesEtcdPtrOutput) ToClusterRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdPtrOutput { - return o +func (ClusterRkeConfigNetworkTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterRkeConfigNetworkToleration)(nil)).Elem() } -func (o ClusterRkeConfigServicesEtcdPtrOutput) Elem() ClusterRkeConfigServicesEtcdOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) ClusterRkeConfigServicesEtcd { - if v != nil { - return *v - } - var ret ClusterRkeConfigServicesEtcd - return ret - }).(ClusterRkeConfigServicesEtcdOutput) +func (i ClusterRkeConfigNetworkTolerationArray) ToClusterRkeConfigNetworkTolerationArrayOutput() ClusterRkeConfigNetworkTolerationArrayOutput { + return i.ToClusterRkeConfigNetworkTolerationArrayOutputWithContext(context.Background()) } -// Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) -func (o ClusterRkeConfigServicesEtcdPtrOutput) BackupConfig() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *ClusterRkeConfigServicesEtcdBackupConfig { - if v == nil { - return nil - } - return v.BackupConfig - }).(ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) +func (i ClusterRkeConfigNetworkTolerationArray) ToClusterRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkTolerationArrayOutput) } -// TLS CA certificate for etcd service (string) -func (o ClusterRkeConfigServicesEtcdPtrOutput) CaCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { - if v == nil { - return nil - } - return v.CaCert - }).(pulumi.StringPtrOutput) -} +type ClusterRkeConfigNetworkTolerationOutput struct{ *pulumi.OutputState } -// TLS certificate for etcd service (string) -func (o ClusterRkeConfigServicesEtcdPtrOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { - if v == nil { - return nil - } - return v.Cert - }).(pulumi.StringPtrOutput) +func (ClusterRkeConfigNetworkTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkToleration)(nil)).Elem() } -// Creation option for etcd service (string) -func (o ClusterRkeConfigServicesEtcdPtrOutput) Creation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { - if v == nil { - return nil - } - return v.Creation - }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigNetworkTolerationOutput) ToClusterRkeConfigNetworkTolerationOutput() ClusterRkeConfigNetworkTolerationOutput { + return o } -// External urls for etcd service (list) -func (o ClusterRkeConfigServicesEtcdPtrOutput) ExternalUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) []string { - if v == nil { - return nil - } - return v.ExternalUrls - }).(pulumi.StringArrayOutput) +func (o ClusterRkeConfigNetworkTolerationOutput) ToClusterRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkTolerationOutput { + return o } -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesEtcdPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) map[string]interface{} { - if v == nil { - return nil - } - return v.ExtraArgs - }).(pulumi.MapOutput) +// The GKE taint effect (string) +func (o ClusterRkeConfigNetworkTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) } -// Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesEtcdPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) []string { - if v == nil { - return nil - } - return v.ExtraBinds - }).(pulumi.StringArrayOutput) +// The GKE taint key (string) +func (o ClusterRkeConfigNetworkTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkToleration) string { return v.Key }).(pulumi.StringOutput) } -// Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesEtcdPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) []string { - if v == nil { - return nil - } - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) +// The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string) +func (o ClusterRkeConfigNetworkTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) } -// Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) -func (o ClusterRkeConfigServicesEtcdPtrOutput) Gid() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *int { - if v == nil { - return nil - } - return v.Gid - }).(pulumi.IntPtrOutput) +// The toleration seconds (int) +func (o ClusterRkeConfigNetworkTolerationOutput) Seconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkToleration) *int { return v.Seconds }).(pulumi.IntPtrOutput) } -// Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesEtcdPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { - if v == nil { - return nil - } - return v.Image - }).(pulumi.StringPtrOutput) +// The GKE taint value (string) +func (o ClusterRkeConfigNetworkTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkToleration) *string { return v.Value }).(pulumi.StringPtrOutput) } -// The GKE taint key (string) -func (o ClusterRkeConfigServicesEtcdPtrOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { - if v == nil { - return nil - } - return v.Key - }).(pulumi.StringPtrOutput) -} +type ClusterRkeConfigNetworkTolerationArrayOutput struct{ *pulumi.OutputState } -// (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) -func (o ClusterRkeConfigServicesEtcdPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { - if v == nil { - return nil - } - return v.Path - }).(pulumi.StringPtrOutput) +func (ClusterRkeConfigNetworkTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterRkeConfigNetworkToleration)(nil)).Elem() } -// Retention for etcd backup. Default `6` (int) -func (o ClusterRkeConfigServicesEtcdPtrOutput) Retention() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { - if v == nil { - return nil - } - return v.Retention - }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigNetworkTolerationArrayOutput) ToClusterRkeConfigNetworkTolerationArrayOutput() ClusterRkeConfigNetworkTolerationArrayOutput { + return o } -// Snapshot option for etcd service (bool) -func (o ClusterRkeConfigServicesEtcdPtrOutput) Snapshot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *bool { - if v == nil { - return nil - } - return v.Snapshot - }).(pulumi.BoolPtrOutput) +func (o ClusterRkeConfigNetworkTolerationArrayOutput) ToClusterRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkTolerationArrayOutput { + return o } -// Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) -func (o ClusterRkeConfigServicesEtcdPtrOutput) Uid() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *int { - if v == nil { - return nil - } - return v.Uid - }).(pulumi.IntPtrOutput) +func (o ClusterRkeConfigNetworkTolerationArrayOutput) Index(i pulumi.IntInput) ClusterRkeConfigNetworkTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterRkeConfigNetworkToleration { + return vs[0].([]ClusterRkeConfigNetworkToleration)[vs[1].(int)] + }).(ClusterRkeConfigNetworkTolerationOutput) } -type ClusterRkeConfigServicesEtcdBackupConfig struct { - // Enable scheduled cluster scan. Default: `false` (bool) - Enabled *bool `pulumi:"enabled"` - // Interval hours for etcd backup. Default `12` (int) - IntervalHours *int `pulumi:"intervalHours"` - // Retention for etcd backup. Default `6` (int) - Retention *int `pulumi:"retention"` - // S3 config options for etcd backup (list maxitems:1) - S3BackupConfig *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` - // Safe timestamp for etcd backup. Default: `false` (bool) - SafeTimestamp *bool `pulumi:"safeTimestamp"` - // RKE node drain timeout. Default: `60` (int) - Timeout *int `pulumi:"timeout"` +type ClusterRkeConfigNetworkWeaveNetworkProvider struct { + // Registry password (string) + Password string `pulumi:"password"` } -// ClusterRkeConfigServicesEtcdBackupConfigInput is an input type that accepts ClusterRkeConfigServicesEtcdBackupConfigArgs and ClusterRkeConfigServicesEtcdBackupConfigOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdBackupConfigInput` via: +// ClusterRkeConfigNetworkWeaveNetworkProviderInput is an input type that accepts ClusterRkeConfigNetworkWeaveNetworkProviderArgs and ClusterRkeConfigNetworkWeaveNetworkProviderOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkWeaveNetworkProviderInput` via: // -// ClusterRkeConfigServicesEtcdBackupConfigArgs{...} -type ClusterRkeConfigServicesEtcdBackupConfigInput interface { +// ClusterRkeConfigNetworkWeaveNetworkProviderArgs{...} +type ClusterRkeConfigNetworkWeaveNetworkProviderInput interface { pulumi.Input - ToClusterRkeConfigServicesEtcdBackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigOutput - ToClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdBackupConfigOutput + ToClusterRkeConfigNetworkWeaveNetworkProviderOutput() ClusterRkeConfigNetworkWeaveNetworkProviderOutput + ToClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderOutput } -type ClusterRkeConfigServicesEtcdBackupConfigArgs struct { - // Enable scheduled cluster scan. Default: `false` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // Interval hours for etcd backup. Default `12` (int) - IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` - // Retention for etcd backup. Default `6` (int) - Retention pulumi.IntPtrInput `pulumi:"retention"` - // S3 config options for etcd backup (list maxitems:1) - S3BackupConfig ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` - // Safe timestamp for etcd backup. Default: `false` (bool) - SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` - // RKE node drain timeout. Default: `60` (int) - Timeout pulumi.IntPtrInput `pulumi:"timeout"` +type ClusterRkeConfigNetworkWeaveNetworkProviderArgs struct { + // Registry password (string) + Password pulumi.StringInput `pulumi:"password"` } -func (ClusterRkeConfigServicesEtcdBackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +func (ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (i ClusterRkeConfigServicesEtcdBackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigOutput { - return i.ToClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Background()) +func (i ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterRkeConfigNetworkWeaveNetworkProviderOutput() ClusterRkeConfigNetworkWeaveNetworkProviderOutput { + return i.ToClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesEtcdBackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigOutput) +func (i ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkWeaveNetworkProviderOutput) } -func (i ClusterRkeConfigServicesEtcdBackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { - return i.ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return i.ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesEtcdBackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigOutput).ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx) +func (i ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkWeaveNetworkProviderOutput).ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesEtcdBackupConfigPtrInput is an input type that accepts ClusterRkeConfigServicesEtcdBackupConfigArgs, ClusterRkeConfigServicesEtcdBackupConfigPtr and ClusterRkeConfigServicesEtcdBackupConfigPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdBackupConfigPtrInput` via: +// ClusterRkeConfigNetworkWeaveNetworkProviderPtrInput is an input type that accepts ClusterRkeConfigNetworkWeaveNetworkProviderArgs, ClusterRkeConfigNetworkWeaveNetworkProviderPtr and ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNetworkWeaveNetworkProviderPtrInput` via: // -// ClusterRkeConfigServicesEtcdBackupConfigArgs{...} +// ClusterRkeConfigNetworkWeaveNetworkProviderArgs{...} // // or: // // nil -type ClusterRkeConfigServicesEtcdBackupConfigPtrInput interface { +type ClusterRkeConfigNetworkWeaveNetworkProviderPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput - ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdBackupConfigPtrOutput + ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput + ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput } -type clusterRkeConfigServicesEtcdBackupConfigPtrType ClusterRkeConfigServicesEtcdBackupConfigArgs +type clusterRkeConfigNetworkWeaveNetworkProviderPtrType ClusterRkeConfigNetworkWeaveNetworkProviderArgs -func ClusterRkeConfigServicesEtcdBackupConfigPtr(v *ClusterRkeConfigServicesEtcdBackupConfigArgs) ClusterRkeConfigServicesEtcdBackupConfigPtrInput { - return (*clusterRkeConfigServicesEtcdBackupConfigPtrType)(v) +func ClusterRkeConfigNetworkWeaveNetworkProviderPtr(v *ClusterRkeConfigNetworkWeaveNetworkProviderArgs) ClusterRkeConfigNetworkWeaveNetworkProviderPtrInput { + return (*clusterRkeConfigNetworkWeaveNetworkProviderPtrType)(v) } -func (*clusterRkeConfigServicesEtcdBackupConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +func (*clusterRkeConfigNetworkWeaveNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (i *clusterRkeConfigServicesEtcdBackupConfigPtrType) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { - return i.ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigNetworkWeaveNetworkProviderPtrType) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return i.ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesEtcdBackupConfigPtrType) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) +func (i *clusterRkeConfigNetworkWeaveNetworkProviderPtrType) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) } -type ClusterRkeConfigServicesEtcdBackupConfigOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigNetworkWeaveNetworkProviderOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesEtcdBackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +func (ClusterRkeConfigNetworkWeaveNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigOutput { +func (o ClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderOutput() ClusterRkeConfigNetworkWeaveNetworkProviderOutput { return o } -func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigOutput { +func (o ClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderOutput { return o } -func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { - return o.ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesEtcdBackupConfig) *ClusterRkeConfigServicesEtcdBackupConfig { +func (o ClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigNetworkWeaveNetworkProvider) *ClusterRkeConfigNetworkWeaveNetworkProvider { return &v - }).(ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) -} - -// Enable scheduled cluster scan. Default: `false` (bool) -func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) -} - -// Interval hours for etcd backup. Default `12` (int) -func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *int { return v.IntervalHours }).(pulumi.IntPtrOutput) -} - -// Retention for etcd backup. Default `6` (int) -func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *int { return v.Retention }).(pulumi.IntPtrOutput) -} - -// S3 config options for etcd backup (list maxitems:1) -func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) S3BackupConfig() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { - return v.S3BackupConfig - }).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) -} - -// Safe timestamp for etcd backup. Default: `false` (bool) -func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *bool { return v.SafeTimestamp }).(pulumi.BoolPtrOutput) + }).(ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) } -// RKE node drain timeout. Default: `60` (int) -func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *int { return v.Timeout }).(pulumi.IntPtrOutput) +// Registry password (string) +func (o ClusterRkeConfigNetworkWeaveNetworkProviderOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNetworkWeaveNetworkProvider) string { return v.Password }).(pulumi.StringOutput) } -type ClusterRkeConfigServicesEtcdBackupConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +func (ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { +func (o ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { return o } -func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { +func (o ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { return o } -func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) Elem() ClusterRkeConfigServicesEtcdBackupConfigOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) ClusterRkeConfigServicesEtcdBackupConfig { +func (o ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) Elem() ClusterRkeConfigNetworkWeaveNetworkProviderOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkWeaveNetworkProvider) ClusterRkeConfigNetworkWeaveNetworkProvider { if v != nil { return *v } - var ret ClusterRkeConfigServicesEtcdBackupConfig + var ret ClusterRkeConfigNetworkWeaveNetworkProvider return ret - }).(ClusterRkeConfigServicesEtcdBackupConfigOutput) -} - -// Enable scheduled cluster scan. Default: `false` (bool) -func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) + }).(ClusterRkeConfigNetworkWeaveNetworkProviderOutput) } -// Interval hours for etcd backup. Default `12` (int) -func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) IntervalHours() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *int { +// Registry password (string) +func (o ClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigNetworkWeaveNetworkProvider) *string { if v == nil { return nil } - return v.IntervalHours - }).(pulumi.IntPtrOutput) + return &v.Password + }).(pulumi.StringPtrOutput) } -// Retention for etcd backup. Default `6` (int) -func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *int { - if v == nil { - return nil - } - return v.Retention - }).(pulumi.IntPtrOutput) +type ClusterRkeConfigNode struct { + // Address ip for node (string) + Address string `pulumi:"address"` + // Docker socket for node (string) + DockerSocket *string `pulumi:"dockerSocket"` + // Hostname override for node (string) + HostnameOverride *string `pulumi:"hostnameOverride"` + // Internal ip for node (string) + InternalAddress *string `pulumi:"internalAddress"` + // Labels for cluster registration token object (map) + Labels map[string]interface{} `pulumi:"labels"` + // Id for the node (string) + NodeId *string `pulumi:"nodeId"` + // Port for node. Default `22` (string) + Port *string `pulumi:"port"` + // Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list) + Roles []string `pulumi:"roles"` + // Use ssh agent auth. Default `false` (bool) + SshAgentAuth *bool `pulumi:"sshAgentAuth"` + // Node SSH private key (string) + SshKey *string `pulumi:"sshKey"` + // Node SSH private key path (string) + SshKeyPath *string `pulumi:"sshKeyPath"` + // Registry user (string) + User string `pulumi:"user"` } -// S3 config options for etcd backup (list maxitems:1) -func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) S3BackupConfig() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { - if v == nil { - return nil - } - return v.S3BackupConfig - }).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) -} +// ClusterRkeConfigNodeInput is an input type that accepts ClusterRkeConfigNodeArgs and ClusterRkeConfigNodeOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNodeInput` via: +// +// ClusterRkeConfigNodeArgs{...} +type ClusterRkeConfigNodeInput interface { + pulumi.Input -// Safe timestamp for etcd backup. Default: `false` (bool) -func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) SafeTimestamp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *bool { - if v == nil { - return nil - } - return v.SafeTimestamp - }).(pulumi.BoolPtrOutput) + ToClusterRkeConfigNodeOutput() ClusterRkeConfigNodeOutput + ToClusterRkeConfigNodeOutputWithContext(context.Context) ClusterRkeConfigNodeOutput } -// RKE node drain timeout. Default: `60` (int) -func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *int { - if v == nil { - return nil - } - return v.Timeout - }).(pulumi.IntPtrOutput) +type ClusterRkeConfigNodeArgs struct { + // Address ip for node (string) + Address pulumi.StringInput `pulumi:"address"` + // Docker socket for node (string) + DockerSocket pulumi.StringPtrInput `pulumi:"dockerSocket"` + // Hostname override for node (string) + HostnameOverride pulumi.StringPtrInput `pulumi:"hostnameOverride"` + // Internal ip for node (string) + InternalAddress pulumi.StringPtrInput `pulumi:"internalAddress"` + // Labels for cluster registration token object (map) + Labels pulumi.MapInput `pulumi:"labels"` + // Id for the node (string) + NodeId pulumi.StringPtrInput `pulumi:"nodeId"` + // Port for node. Default `22` (string) + Port pulumi.StringPtrInput `pulumi:"port"` + // Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list) + Roles pulumi.StringArrayInput `pulumi:"roles"` + // Use ssh agent auth. Default `false` (bool) + SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` + // Node SSH private key (string) + SshKey pulumi.StringPtrInput `pulumi:"sshKey"` + // Node SSH private key path (string) + SshKeyPath pulumi.StringPtrInput `pulumi:"sshKeyPath"` + // Registry user (string) + User pulumi.StringInput `pulumi:"user"` } -type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig struct { - // The AWS Client ID to use (string) - AccessKey *string `pulumi:"accessKey"` - // Bucket name for S3 service (string) - BucketName string `pulumi:"bucketName"` - // Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) - CustomCa *string `pulumi:"customCa"` - // Endpoint for S3 service (string) - Endpoint string `pulumi:"endpoint"` - // Folder for S3 service. Available from Rancher v2.2.7 (string) - Folder *string `pulumi:"folder"` - // The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) - Region *string `pulumi:"region"` - // The AWS Client Secret associated with the Client ID (string) - SecretKey *string `pulumi:"secretKey"` +func (ClusterRkeConfigNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNode)(nil)).Elem() } -// ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput is an input type that accepts ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs and ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput` via: +func (i ClusterRkeConfigNodeArgs) ToClusterRkeConfigNodeOutput() ClusterRkeConfigNodeOutput { + return i.ToClusterRkeConfigNodeOutputWithContext(context.Background()) +} + +func (i ClusterRkeConfigNodeArgs) ToClusterRkeConfigNodeOutputWithContext(ctx context.Context) ClusterRkeConfigNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNodeOutput) +} + +// ClusterRkeConfigNodeArrayInput is an input type that accepts ClusterRkeConfigNodeArray and ClusterRkeConfigNodeArrayOutput values. +// You can construct a concrete instance of `ClusterRkeConfigNodeArrayInput` via: // -// ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} -type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput interface { +// ClusterRkeConfigNodeArray{ ClusterRkeConfigNodeArgs{...} } +type ClusterRkeConfigNodeArrayInput interface { pulumi.Input - ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput - ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput + ToClusterRkeConfigNodeArrayOutput() ClusterRkeConfigNodeArrayOutput + ToClusterRkeConfigNodeArrayOutputWithContext(context.Context) ClusterRkeConfigNodeArrayOutput } -type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs struct { - // The AWS Client ID to use (string) - AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` - // Bucket name for S3 service (string) - BucketName pulumi.StringInput `pulumi:"bucketName"` - // Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) - CustomCa pulumi.StringPtrInput `pulumi:"customCa"` - // Endpoint for S3 service (string) - Endpoint pulumi.StringInput `pulumi:"endpoint"` - // Folder for S3 service. Available from Rancher v2.2.7 (string) - Folder pulumi.StringPtrInput `pulumi:"folder"` - // The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) - Region pulumi.StringPtrInput `pulumi:"region"` - // The AWS Client Secret associated with the Client ID (string) - SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` +type ClusterRkeConfigNodeArray []ClusterRkeConfigNodeInput + +func (ClusterRkeConfigNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterRkeConfigNode)(nil)).Elem() } -func (ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (i ClusterRkeConfigNodeArray) ToClusterRkeConfigNodeArrayOutput() ClusterRkeConfigNodeArrayOutput { + return i.ToClusterRkeConfigNodeArrayOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return i.ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Background()) +func (i ClusterRkeConfigNodeArray) ToClusterRkeConfigNodeArrayOutputWithContext(ctx context.Context) ClusterRkeConfigNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigNodeArrayOutput) } -func (i ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) +type ClusterRkeConfigNodeOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigNode)(nil)).Elem() } -func (i ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return i.ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigNodeOutput) ToClusterRkeConfigNodeOutput() ClusterRkeConfigNodeOutput { + return o } -func (i ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput).ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx) +func (o ClusterRkeConfigNodeOutput) ToClusterRkeConfigNodeOutputWithContext(ctx context.Context) ClusterRkeConfigNodeOutput { + return o } -// ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput is an input type that accepts ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs, ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr and ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput` via: -// -// ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} -// -// or: -// -// nil -type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput interface { - pulumi.Input +// Address ip for node (string) +func (o ClusterRkeConfigNodeOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) string { return v.Address }).(pulumi.StringOutput) +} - ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput - ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput +// Docker socket for node (string) +func (o ClusterRkeConfigNodeOutput) DockerSocket() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.DockerSocket }).(pulumi.StringPtrOutput) } -type clusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs +// Hostname override for node (string) +func (o ClusterRkeConfigNodeOutput) HostnameOverride() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.HostnameOverride }).(pulumi.StringPtrOutput) +} -func ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput { - return (*clusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType)(v) +// Internal ip for node (string) +func (o ClusterRkeConfigNodeOutput) InternalAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.InternalAddress }).(pulumi.StringPtrOutput) } -func (*clusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +// Labels for cluster registration token object (map) +func (o ClusterRkeConfigNodeOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -func (i *clusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return i.ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +// Id for the node (string) +func (o ClusterRkeConfigNodeOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.NodeId }).(pulumi.StringPtrOutput) } -func (i *clusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +// Port for node. Default `22` (string) +func (o ClusterRkeConfigNodeOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.Port }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } +// Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list) +func (o ClusterRkeConfigNodeOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) []string { return v.Roles }).(pulumi.StringArrayOutput) +} -func (ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +// Use ssh agent auth. Default `false` (bool) +func (o ClusterRkeConfigNodeOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) } -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { +// Node SSH private key (string) +func (o ClusterRkeConfigNodeOutput) SshKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.SshKey }).(pulumi.StringPtrOutput) +} + +// Node SSH private key path (string) +func (o ClusterRkeConfigNodeOutput) SshKeyPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) *string { return v.SshKeyPath }).(pulumi.StringPtrOutput) +} + +// Registry user (string) +func (o ClusterRkeConfigNodeOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigNode) string { return v.User }).(pulumi.StringOutput) +} + +type ClusterRkeConfigNodeArrayOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterRkeConfigNode)(nil)).Elem() +} + +func (o ClusterRkeConfigNodeArrayOutput) ToClusterRkeConfigNodeArrayOutput() ClusterRkeConfigNodeArrayOutput { return o } -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { +func (o ClusterRkeConfigNodeArrayOutput) ToClusterRkeConfigNodeArrayOutputWithContext(ctx context.Context) ClusterRkeConfigNodeArrayOutput { return o } -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigNodeArrayOutput) Index(i pulumi.IntInput) ClusterRkeConfigNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterRkeConfigNode { + return vs[0].([]ClusterRkeConfigNode)[vs[1].(int)] + }).(ClusterRkeConfigNodeOutput) } -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { - return &v - }).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +type ClusterRkeConfigPrivateRegistry struct { + // ECR credential plugin config (list maxitems:1) + EcrCredentialPlugin *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin `pulumi:"ecrCredentialPlugin"` + // Set as default registry. Default `false` (bool) + IsDefault *bool `pulumi:"isDefault"` + // Registry password (string) + Password *string `pulumi:"password"` + // Registry URL (string) + Url string `pulumi:"url"` + // Registry user (string) + User *string `pulumi:"user"` } -// The AWS Client ID to use (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.AccessKey }).(pulumi.StringPtrOutput) +// ClusterRkeConfigPrivateRegistryInput is an input type that accepts ClusterRkeConfigPrivateRegistryArgs and ClusterRkeConfigPrivateRegistryOutput values. +// You can construct a concrete instance of `ClusterRkeConfigPrivateRegistryInput` via: +// +// ClusterRkeConfigPrivateRegistryArgs{...} +type ClusterRkeConfigPrivateRegistryInput interface { + pulumi.Input + + ToClusterRkeConfigPrivateRegistryOutput() ClusterRkeConfigPrivateRegistryOutput + ToClusterRkeConfigPrivateRegistryOutputWithContext(context.Context) ClusterRkeConfigPrivateRegistryOutput } -// Bucket name for S3 service (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { return v.BucketName }).(pulumi.StringOutput) +type ClusterRkeConfigPrivateRegistryArgs struct { + // ECR credential plugin config (list maxitems:1) + EcrCredentialPlugin ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput `pulumi:"ecrCredentialPlugin"` + // Set as default registry. Default `false` (bool) + IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` + // Registry password (string) + Password pulumi.StringPtrInput `pulumi:"password"` + // Registry URL (string) + Url pulumi.StringInput `pulumi:"url"` + // Registry user (string) + User pulumi.StringPtrInput `pulumi:"user"` } -// Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.CustomCa }).(pulumi.StringPtrOutput) +func (ClusterRkeConfigPrivateRegistryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigPrivateRegistry)(nil)).Elem() } -// Endpoint for S3 service (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { return v.Endpoint }).(pulumi.StringOutput) +func (i ClusterRkeConfigPrivateRegistryArgs) ToClusterRkeConfigPrivateRegistryOutput() ClusterRkeConfigPrivateRegistryOutput { + return i.ToClusterRkeConfigPrivateRegistryOutputWithContext(context.Background()) } -// Folder for S3 service. Available from Rancher v2.2.7 (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) +func (i ClusterRkeConfigPrivateRegistryArgs) ToClusterRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigPrivateRegistryOutput) } -// The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +// ClusterRkeConfigPrivateRegistryArrayInput is an input type that accepts ClusterRkeConfigPrivateRegistryArray and ClusterRkeConfigPrivateRegistryArrayOutput values. +// You can construct a concrete instance of `ClusterRkeConfigPrivateRegistryArrayInput` via: +// +// ClusterRkeConfigPrivateRegistryArray{ ClusterRkeConfigPrivateRegistryArgs{...} } +type ClusterRkeConfigPrivateRegistryArrayInput interface { + pulumi.Input + + ToClusterRkeConfigPrivateRegistryArrayOutput() ClusterRkeConfigPrivateRegistryArrayOutput + ToClusterRkeConfigPrivateRegistryArrayOutputWithContext(context.Context) ClusterRkeConfigPrivateRegistryArrayOutput } -// The AWS Client Secret associated with the Client ID (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.SecretKey }).(pulumi.StringPtrOutput) +type ClusterRkeConfigPrivateRegistryArray []ClusterRkeConfigPrivateRegistryInput + +func (ClusterRkeConfigPrivateRegistryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterRkeConfigPrivateRegistry)(nil)).Elem() } -type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } +func (i ClusterRkeConfigPrivateRegistryArray) ToClusterRkeConfigPrivateRegistryArrayOutput() ClusterRkeConfigPrivateRegistryArrayOutput { + return i.ToClusterRkeConfigPrivateRegistryArrayOutputWithContext(context.Background()) +} -func (ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (i ClusterRkeConfigPrivateRegistryArray) ToClusterRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigPrivateRegistryArrayOutput) } -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { +type ClusterRkeConfigPrivateRegistryOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigPrivateRegistryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigPrivateRegistry)(nil)).Elem() +} + +func (o ClusterRkeConfigPrivateRegistryOutput) ToClusterRkeConfigPrivateRegistryOutput() ClusterRkeConfigPrivateRegistryOutput { return o } -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { +func (o ClusterRkeConfigPrivateRegistryOutput) ToClusterRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryOutput { return o } -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Elem() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { - if v != nil { - return *v - } - var ret ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig - return ret - }).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) +// ECR credential plugin config (list maxitems:1) +func (o ClusterRkeConfigPrivateRegistryOutput) EcrCredentialPlugin() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigPrivateRegistry) *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin { + return v.EcrCredentialPlugin + }).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -// The AWS Client ID to use (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.AccessKey - }).(pulumi.StringPtrOutput) +// Set as default registry. Default `false` (bool) +func (o ClusterRkeConfigPrivateRegistryOutput) IsDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigPrivateRegistry) *bool { return v.IsDefault }).(pulumi.BoolPtrOutput) } -// Bucket name for S3 service (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.BucketName - }).(pulumi.StringPtrOutput) +// Registry password (string) +func (o ClusterRkeConfigPrivateRegistryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigPrivateRegistry) *string { return v.Password }).(pulumi.StringPtrOutput) } -// Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.CustomCa - }).(pulumi.StringPtrOutput) +// Registry URL (string) +func (o ClusterRkeConfigPrivateRegistryOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigPrivateRegistry) string { return v.Url }).(pulumi.StringOutput) } -// Endpoint for S3 service (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) +// Registry user (string) +func (o ClusterRkeConfigPrivateRegistryOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigPrivateRegistry) *string { return v.User }).(pulumi.StringPtrOutput) } -// Folder for S3 service. Available from Rancher v2.2.7 (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.Folder - }).(pulumi.StringPtrOutput) +type ClusterRkeConfigPrivateRegistryArrayOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigPrivateRegistryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterRkeConfigPrivateRegistry)(nil)).Elem() } -// The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigPrivateRegistryArrayOutput) ToClusterRkeConfigPrivateRegistryArrayOutput() ClusterRkeConfigPrivateRegistryArrayOutput { + return o } -// The AWS Client Secret associated with the Client ID (string) -func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.SecretKey - }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigPrivateRegistryArrayOutput) ToClusterRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryArrayOutput { + return o } -type ClusterRkeConfigServicesKubeApi struct { - // Admission configuration (map) - AdmissionConfiguration map[string]interface{} `pulumi:"admissionConfiguration"` - // Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) - AlwaysPullImages *bool `pulumi:"alwaysPullImages"` - // K8s audit log configuration. (list maxitems: 1) - AuditLog *ClusterRkeConfigServicesKubeApiAuditLog `pulumi:"auditLog"` - // K8s event rate limit configuration. (list maxitems: 1) - EventRateLimit *ClusterRkeConfigServicesKubeApiEventRateLimit `pulumi:"eventRateLimit"` - // Extra arguments for scheduler service (map) - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - // Extra binds for scheduler service (list) - ExtraBinds []string `pulumi:"extraBinds"` - // Extra environment for scheduler service (list) - ExtraEnvs []string `pulumi:"extraEnvs"` - // Docker image for scheduler service (string) - Image *string `pulumi:"image"` - // Pod Security Policy option for kube API service. Default `false` (bool) - PodSecurityPolicy *bool `pulumi:"podSecurityPolicy"` - // [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) - SecretsEncryptionConfig *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig `pulumi:"secretsEncryptionConfig"` - // Service Cluster ip Range option for kube controller service (string) - ServiceClusterIpRange *string `pulumi:"serviceClusterIpRange"` - // Service Node Port Range option for kube API service (string) - ServiceNodePortRange *string `pulumi:"serviceNodePortRange"` +func (o ClusterRkeConfigPrivateRegistryArrayOutput) Index(i pulumi.IntInput) ClusterRkeConfigPrivateRegistryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterRkeConfigPrivateRegistry { + return vs[0].([]ClusterRkeConfigPrivateRegistry)[vs[1].(int)] + }).(ClusterRkeConfigPrivateRegistryOutput) } -// ClusterRkeConfigServicesKubeApiInput is an input type that accepts ClusterRkeConfigServicesKubeApiArgs and ClusterRkeConfigServicesKubeApiOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiInput` via: +type ClusterRkeConfigPrivateRegistryEcrCredentialPlugin struct { + // AWS access key ID (string) + AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` + // AWS secret access key (string) + AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` + // AWS session token (string) + AwsSessionToken *string `pulumi:"awsSessionToken"` +} + +// ClusterRkeConfigPrivateRegistryEcrCredentialPluginInput is an input type that accepts ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs and ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput values. +// You can construct a concrete instance of `ClusterRkeConfigPrivateRegistryEcrCredentialPluginInput` via: // -// ClusterRkeConfigServicesKubeApiArgs{...} -type ClusterRkeConfigServicesKubeApiInput interface { +// ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} +type ClusterRkeConfigPrivateRegistryEcrCredentialPluginInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeApiOutput() ClusterRkeConfigServicesKubeApiOutput - ToClusterRkeConfigServicesKubeApiOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiOutput + ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput + ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput } -type ClusterRkeConfigServicesKubeApiArgs struct { - // Admission configuration (map) - AdmissionConfiguration pulumi.MapInput `pulumi:"admissionConfiguration"` - // Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) - AlwaysPullImages pulumi.BoolPtrInput `pulumi:"alwaysPullImages"` - // K8s audit log configuration. (list maxitems: 1) - AuditLog ClusterRkeConfigServicesKubeApiAuditLogPtrInput `pulumi:"auditLog"` - // K8s event rate limit configuration. (list maxitems: 1) - EventRateLimit ClusterRkeConfigServicesKubeApiEventRateLimitPtrInput `pulumi:"eventRateLimit"` - // Extra arguments for scheduler service (map) - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - // Extra binds for scheduler service (list) - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - // Extra environment for scheduler service (list) - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - // Docker image for scheduler service (string) - Image pulumi.StringPtrInput `pulumi:"image"` - // Pod Security Policy option for kube API service. Default `false` (bool) - PodSecurityPolicy pulumi.BoolPtrInput `pulumi:"podSecurityPolicy"` - // [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) - SecretsEncryptionConfig ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput `pulumi:"secretsEncryptionConfig"` - // Service Cluster ip Range option for kube controller service (string) - ServiceClusterIpRange pulumi.StringPtrInput `pulumi:"serviceClusterIpRange"` - // Service Node Port Range option for kube API service (string) - ServiceNodePortRange pulumi.StringPtrInput `pulumi:"serviceNodePortRange"` +type ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs struct { + // AWS access key ID (string) + AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` + // AWS secret access key (string) + AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` + // AWS session token (string) + AwsSessionToken pulumi.StringPtrInput `pulumi:"awsSessionToken"` } -func (ClusterRkeConfigServicesKubeApiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeApi)(nil)).Elem() +func (ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (i ClusterRkeConfigServicesKubeApiArgs) ToClusterRkeConfigServicesKubeApiOutput() ClusterRkeConfigServicesKubeApiOutput { - return i.ToClusterRkeConfigServicesKubeApiOutputWithContext(context.Background()) +func (i ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return i.ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeApiArgs) ToClusterRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiOutput) +func (i ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) } -func (i ClusterRkeConfigServicesKubeApiArgs) ToClusterRkeConfigServicesKubeApiPtrOutput() ClusterRkeConfigServicesKubeApiPtrOutput { - return i.ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return i.ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeApiArgs) ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiOutput).ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(ctx) +func (i ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput).ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesKubeApiPtrInput is an input type that accepts ClusterRkeConfigServicesKubeApiArgs, ClusterRkeConfigServicesKubeApiPtr and ClusterRkeConfigServicesKubeApiPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiPtrInput` via: +// ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput is an input type that accepts ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs, ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtr and ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput` via: // -// ClusterRkeConfigServicesKubeApiArgs{...} +// ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} // // or: // // nil -type ClusterRkeConfigServicesKubeApiPtrInput interface { +type ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeApiPtrOutput() ClusterRkeConfigServicesKubeApiPtrOutput - ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiPtrOutput + ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput + ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput } -type clusterRkeConfigServicesKubeApiPtrType ClusterRkeConfigServicesKubeApiArgs +type clusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs -func ClusterRkeConfigServicesKubeApiPtr(v *ClusterRkeConfigServicesKubeApiArgs) ClusterRkeConfigServicesKubeApiPtrInput { - return (*clusterRkeConfigServicesKubeApiPtrType)(v) +func ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtr(v *ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput { + return (*clusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType)(v) } -func (*clusterRkeConfigServicesKubeApiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeApi)(nil)).Elem() +func (*clusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (i *clusterRkeConfigServicesKubeApiPtrType) ToClusterRkeConfigServicesKubeApiPtrOutput() ClusterRkeConfigServicesKubeApiPtrOutput { - return i.ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return i.ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesKubeApiPtrType) ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiPtrOutput) +func (i *clusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -type ClusterRkeConfigServicesKubeApiOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesKubeApiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeApi)(nil)).Elem() +func (ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeApiOutput) ToClusterRkeConfigServicesKubeApiOutput() ClusterRkeConfigServicesKubeApiOutput { +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { return o } -func (o ClusterRkeConfigServicesKubeApiOutput) ToClusterRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiOutput { +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { return o } -func (o ClusterRkeConfigServicesKubeApiOutput) ToClusterRkeConfigServicesKubeApiPtrOutput() ClusterRkeConfigServicesKubeApiPtrOutput { - return o.ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesKubeApiOutput) ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApi { +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin { return &v - }).(ClusterRkeConfigServicesKubeApiPtrOutput) -} - -// Admission configuration (map) -func (o ClusterRkeConfigServicesKubeApiOutput) AdmissionConfiguration() pulumi.MapOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) map[string]interface{} { return v.AdmissionConfiguration }).(pulumi.MapOutput) -} - -// Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) -func (o ClusterRkeConfigServicesKubeApiOutput) AlwaysPullImages() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *bool { return v.AlwaysPullImages }).(pulumi.BoolPtrOutput) -} - -// K8s audit log configuration. (list maxitems: 1) -func (o ClusterRkeConfigServicesKubeApiOutput) AuditLog() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiAuditLog { return v.AuditLog }).(ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) -} - -// K8s event rate limit configuration. (list maxitems: 1) -func (o ClusterRkeConfigServicesKubeApiOutput) EventRateLimit() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiEventRateLimit { - return v.EventRateLimit - }).(ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) -} - -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesKubeApiOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) -} - -// Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesKubeApiOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) -} - -// Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesKubeApiOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) -} - -// Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesKubeApiOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *string { return v.Image }).(pulumi.StringPtrOutput) -} - -// Pod Security Policy option for kube API service. Default `false` (bool) -func (o ClusterRkeConfigServicesKubeApiOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *bool { return v.PodSecurityPolicy }).(pulumi.BoolPtrOutput) + }).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -// [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) -func (o ClusterRkeConfigServicesKubeApiOutput) SecretsEncryptionConfig() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { - return v.SecretsEncryptionConfig - }).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +// AWS access key ID (string) +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) } -// Service Cluster ip Range option for kube controller service (string) -func (o ClusterRkeConfigServicesKubeApiOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *string { return v.ServiceClusterIpRange }).(pulumi.StringPtrOutput) +// AWS secret access key (string) +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsSecretAccessKey }).(pulumi.StringPtrOutput) } -// Service Node Port Range option for kube API service (string) -func (o ClusterRkeConfigServicesKubeApiOutput) ServiceNodePortRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *string { return v.ServiceNodePortRange }).(pulumi.StringPtrOutput) +// AWS session token (string) +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsSessionToken }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesKubeApiPtrOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesKubeApiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeApi)(nil)).Elem() +func (ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeApiPtrOutput) ToClusterRkeConfigServicesKubeApiPtrOutput() ClusterRkeConfigServicesKubeApiPtrOutput { +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeApiPtrOutput) ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiPtrOutput { +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeApiPtrOutput) Elem() ClusterRkeConfigServicesKubeApiOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) ClusterRkeConfigServicesKubeApi { +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) Elem() ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return o.ApplyT(func(v *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) ClusterRkeConfigPrivateRegistryEcrCredentialPlugin { if v != nil { return *v } - var ret ClusterRkeConfigServicesKubeApi + var ret ClusterRkeConfigPrivateRegistryEcrCredentialPlugin return ret - }).(ClusterRkeConfigServicesKubeApiOutput) -} - -// Admission configuration (map) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) AdmissionConfiguration() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) map[string]interface{} { - if v == nil { - return nil - } - return v.AdmissionConfiguration - }).(pulumi.MapOutput) -} - -// Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) AlwaysPullImages() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *bool { - if v == nil { - return nil - } - return v.AlwaysPullImages - }).(pulumi.BoolPtrOutput) -} - -// K8s audit log configuration. (list maxitems: 1) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) AuditLog() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiAuditLog { - if v == nil { - return nil - } - return v.AuditLog - }).(ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) -} - -// K8s event rate limit configuration. (list maxitems: 1) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) EventRateLimit() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiEventRateLimit { - if v == nil { - return nil - } - return v.EventRateLimit - }).(ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) -} - -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) map[string]interface{} { - if v == nil { - return nil - } - return v.ExtraArgs - }).(pulumi.MapOutput) -} - -// Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) []string { - if v == nil { - return nil - } - return v.ExtraBinds - }).(pulumi.StringArrayOutput) -} - -// Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) []string { - if v == nil { - return nil - } - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) + }).(ClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) } -// Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *string { +// AWS access key ID (string) +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { if v == nil { return nil } - return v.Image + return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) } -// Pod Security Policy option for kube API service. Default `false` (bool) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *bool { - if v == nil { - return nil - } - return v.PodSecurityPolicy - }).(pulumi.BoolPtrOutput) -} - -// [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) SecretsEncryptionConfig() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { - if v == nil { - return nil - } - return v.SecretsEncryptionConfig - }).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) -} - -// Service Cluster ip Range option for kube controller service (string) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *string { +// AWS secret access key (string) +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { if v == nil { return nil } - return v.ServiceClusterIpRange + return v.AwsSecretAccessKey }).(pulumi.StringPtrOutput) } -// Service Node Port Range option for kube API service (string) -func (o ClusterRkeConfigServicesKubeApiPtrOutput) ServiceNodePortRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *string { +// AWS session token (string) +func (o ClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { if v == nil { return nil } - return v.ServiceNodePortRange + return v.AwsSessionToken }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesKubeApiAuditLog struct { - // Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: - Configuration *ClusterRkeConfigServicesKubeApiAuditLogConfiguration `pulumi:"configuration"` - // Enable scheduled cluster scan. Default: `false` (bool) - Enabled *bool `pulumi:"enabled"` +type ClusterRkeConfigServices struct { + // Etcd options for RKE services (list maxitems:1) + Etcd *ClusterRkeConfigServicesEtcd `pulumi:"etcd"` + // Kube API options for RKE services (list maxitems:1) + KubeApi *ClusterRkeConfigServicesKubeApi `pulumi:"kubeApi"` + // Kube Controller options for RKE services (list maxitems:1) + KubeController *ClusterRkeConfigServicesKubeController `pulumi:"kubeController"` + // Kubelet options for RKE services (list maxitems:1) + Kubelet *ClusterRkeConfigServicesKubelet `pulumi:"kubelet"` + // Kubeproxy options for RKE services (list maxitems:1) + Kubeproxy *ClusterRkeConfigServicesKubeproxy `pulumi:"kubeproxy"` + // Scheduler options for RKE services (list maxitems:1) + Scheduler *ClusterRkeConfigServicesScheduler `pulumi:"scheduler"` } -// ClusterRkeConfigServicesKubeApiAuditLogInput is an input type that accepts ClusterRkeConfigServicesKubeApiAuditLogArgs and ClusterRkeConfigServicesKubeApiAuditLogOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiAuditLogInput` via: +// ClusterRkeConfigServicesInput is an input type that accepts ClusterRkeConfigServicesArgs and ClusterRkeConfigServicesOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesInput` via: // -// ClusterRkeConfigServicesKubeApiAuditLogArgs{...} -type ClusterRkeConfigServicesKubeApiAuditLogInput interface { +// ClusterRkeConfigServicesArgs{...} +type ClusterRkeConfigServicesInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeApiAuditLogOutput() ClusterRkeConfigServicesKubeApiAuditLogOutput - ToClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiAuditLogOutput + ToClusterRkeConfigServicesOutput() ClusterRkeConfigServicesOutput + ToClusterRkeConfigServicesOutputWithContext(context.Context) ClusterRkeConfigServicesOutput } -type ClusterRkeConfigServicesKubeApiAuditLogArgs struct { - // Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: - Configuration ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput `pulumi:"configuration"` - // Enable scheduled cluster scan. Default: `false` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type ClusterRkeConfigServicesArgs struct { + // Etcd options for RKE services (list maxitems:1) + Etcd ClusterRkeConfigServicesEtcdPtrInput `pulumi:"etcd"` + // Kube API options for RKE services (list maxitems:1) + KubeApi ClusterRkeConfigServicesKubeApiPtrInput `pulumi:"kubeApi"` + // Kube Controller options for RKE services (list maxitems:1) + KubeController ClusterRkeConfigServicesKubeControllerPtrInput `pulumi:"kubeController"` + // Kubelet options for RKE services (list maxitems:1) + Kubelet ClusterRkeConfigServicesKubeletPtrInput `pulumi:"kubelet"` + // Kubeproxy options for RKE services (list maxitems:1) + Kubeproxy ClusterRkeConfigServicesKubeproxyPtrInput `pulumi:"kubeproxy"` + // Scheduler options for RKE services (list maxitems:1) + Scheduler ClusterRkeConfigServicesSchedulerPtrInput `pulumi:"scheduler"` } -func (ClusterRkeConfigServicesKubeApiAuditLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (ClusterRkeConfigServicesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServices)(nil)).Elem() } -func (i ClusterRkeConfigServicesKubeApiAuditLogArgs) ToClusterRkeConfigServicesKubeApiAuditLogOutput() ClusterRkeConfigServicesKubeApiAuditLogOutput { - return i.ToClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesArgs) ToClusterRkeConfigServicesOutput() ClusterRkeConfigServicesOutput { + return i.ToClusterRkeConfigServicesOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeApiAuditLogArgs) ToClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogOutput) +func (i ClusterRkeConfigServicesArgs) ToClusterRkeConfigServicesOutputWithContext(ctx context.Context) ClusterRkeConfigServicesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesOutput) } -func (i ClusterRkeConfigServicesKubeApiAuditLogArgs) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return i.ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesArgs) ToClusterRkeConfigServicesPtrOutput() ClusterRkeConfigServicesPtrOutput { + return i.ToClusterRkeConfigServicesPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeApiAuditLogArgs) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogOutput).ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesArgs) ToClusterRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesOutput).ToClusterRkeConfigServicesPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesKubeApiAuditLogPtrInput is an input type that accepts ClusterRkeConfigServicesKubeApiAuditLogArgs, ClusterRkeConfigServicesKubeApiAuditLogPtr and ClusterRkeConfigServicesKubeApiAuditLogPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiAuditLogPtrInput` via: +// ClusterRkeConfigServicesPtrInput is an input type that accepts ClusterRkeConfigServicesArgs, ClusterRkeConfigServicesPtr and ClusterRkeConfigServicesPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesPtrInput` via: // -// ClusterRkeConfigServicesKubeApiAuditLogArgs{...} +// ClusterRkeConfigServicesArgs{...} // // or: // // nil -type ClusterRkeConfigServicesKubeApiAuditLogPtrInput interface { +type ClusterRkeConfigServicesPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput - ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiAuditLogPtrOutput + ToClusterRkeConfigServicesPtrOutput() ClusterRkeConfigServicesPtrOutput + ToClusterRkeConfigServicesPtrOutputWithContext(context.Context) ClusterRkeConfigServicesPtrOutput } -type clusterRkeConfigServicesKubeApiAuditLogPtrType ClusterRkeConfigServicesKubeApiAuditLogArgs +type clusterRkeConfigServicesPtrType ClusterRkeConfigServicesArgs -func ClusterRkeConfigServicesKubeApiAuditLogPtr(v *ClusterRkeConfigServicesKubeApiAuditLogArgs) ClusterRkeConfigServicesKubeApiAuditLogPtrInput { - return (*clusterRkeConfigServicesKubeApiAuditLogPtrType)(v) +func ClusterRkeConfigServicesPtr(v *ClusterRkeConfigServicesArgs) ClusterRkeConfigServicesPtrInput { + return (*clusterRkeConfigServicesPtrType)(v) } -func (*clusterRkeConfigServicesKubeApiAuditLogPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (*clusterRkeConfigServicesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServices)(nil)).Elem() } -func (i *clusterRkeConfigServicesKubeApiAuditLogPtrType) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return i.ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesPtrType) ToClusterRkeConfigServicesPtrOutput() ClusterRkeConfigServicesPtrOutput { + return i.ToClusterRkeConfigServicesPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesKubeApiAuditLogPtrType) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) +func (i *clusterRkeConfigServicesPtrType) ToClusterRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesPtrOutput) } -type ClusterRkeConfigServicesKubeApiAuditLogOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesKubeApiAuditLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (ClusterRkeConfigServicesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServices)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) ToClusterRkeConfigServicesKubeApiAuditLogOutput() ClusterRkeConfigServicesKubeApiAuditLogOutput { +func (o ClusterRkeConfigServicesOutput) ToClusterRkeConfigServicesOutput() ClusterRkeConfigServicesOutput { return o } -func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) ToClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogOutput { +func (o ClusterRkeConfigServicesOutput) ToClusterRkeConfigServicesOutputWithContext(ctx context.Context) ClusterRkeConfigServicesOutput { return o } -func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesOutput) ToClusterRkeConfigServicesPtrOutput() ClusterRkeConfigServicesPtrOutput { + return o.ToClusterRkeConfigServicesPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeApiAuditLog) *ClusterRkeConfigServicesKubeApiAuditLog { +func (o ClusterRkeConfigServicesOutput) ToClusterRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServices) *ClusterRkeConfigServices { return &v - }).(ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) + }).(ClusterRkeConfigServicesPtrOutput) } -// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: -func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) Configuration() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLog) *ClusterRkeConfigServicesKubeApiAuditLogConfiguration { - return v.Configuration - }).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) +// Etcd options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesOutput) Etcd() ClusterRkeConfigServicesEtcdPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesEtcd { return v.Etcd }).(ClusterRkeConfigServicesEtcdPtrOutput) } -// Enable scheduled cluster scan. Default: `false` (bool) -func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLog) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// Kube API options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesOutput) KubeApi() ClusterRkeConfigServicesKubeApiPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeApi { return v.KubeApi }).(ClusterRkeConfigServicesKubeApiPtrOutput) } -type ClusterRkeConfigServicesKubeApiAuditLogPtrOutput struct{ *pulumi.OutputState } +// Kube Controller options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesOutput) KubeController() ClusterRkeConfigServicesKubeControllerPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeController { return v.KubeController }).(ClusterRkeConfigServicesKubeControllerPtrOutput) +} -func (ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +// Kubelet options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesOutput) Kubelet() ClusterRkeConfigServicesKubeletPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesKubelet { return v.Kubelet }).(ClusterRkeConfigServicesKubeletPtrOutput) } -func (o ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { +// Kubeproxy options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesOutput) Kubeproxy() ClusterRkeConfigServicesKubeproxyPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeproxy { return v.Kubeproxy }).(ClusterRkeConfigServicesKubeproxyPtrOutput) +} + +// Scheduler options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesOutput) Scheduler() ClusterRkeConfigServicesSchedulerPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServices) *ClusterRkeConfigServicesScheduler { return v.Scheduler }).(ClusterRkeConfigServicesSchedulerPtrOutput) +} + +type ClusterRkeConfigServicesPtrOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigServicesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServices)(nil)).Elem() +} + +func (o ClusterRkeConfigServicesPtrOutput) ToClusterRkeConfigServicesPtrOutput() ClusterRkeConfigServicesPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { +func (o ClusterRkeConfigServicesPtrOutput) ToClusterRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Elem() ClusterRkeConfigServicesKubeApiAuditLogOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLog) ClusterRkeConfigServicesKubeApiAuditLog { +func (o ClusterRkeConfigServicesPtrOutput) Elem() ClusterRkeConfigServicesOutput { + return o.ApplyT(func(v *ClusterRkeConfigServices) ClusterRkeConfigServices { if v != nil { return *v } - var ret ClusterRkeConfigServicesKubeApiAuditLog + var ret ClusterRkeConfigServices return ret - }).(ClusterRkeConfigServicesKubeApiAuditLogOutput) + }).(ClusterRkeConfigServicesOutput) } -// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: -func (o ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Configuration() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLog) *ClusterRkeConfigServicesKubeApiAuditLogConfiguration { +// Etcd options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesPtrOutput) Etcd() ClusterRkeConfigServicesEtcdPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesEtcd { if v == nil { return nil } - return v.Configuration - }).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) + return v.Etcd + }).(ClusterRkeConfigServicesEtcdPtrOutput) } -// Enable scheduled cluster scan. Default: `false` (bool) -func (o ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLog) *bool { +// Kube API options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesPtrOutput) KubeApi() ClusterRkeConfigServicesKubeApiPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeApi { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.KubeApi + }).(ClusterRkeConfigServicesKubeApiPtrOutput) } -type ClusterRkeConfigServicesKubeApiAuditLogConfiguration struct { - // Audit log format. Default: 'json' (string) - Format *string `pulumi:"format"` - // Audit log max age. Default: `30` (int) - MaxAge *int `pulumi:"maxAge"` - // Audit log max backup. Default: `10` (int) - MaxBackup *int `pulumi:"maxBackup"` - // The EKS node group maximum size. Default `2` (int) - MaxSize *int `pulumi:"maxSize"` - // (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) - Path *string `pulumi:"path"` - // Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: - Policy *string `pulumi:"policy"` +// Kube Controller options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesPtrOutput) KubeController() ClusterRkeConfigServicesKubeControllerPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeController { + if v == nil { + return nil + } + return v.KubeController + }).(ClusterRkeConfigServicesKubeControllerPtrOutput) } -// ClusterRkeConfigServicesKubeApiAuditLogConfigurationInput is an input type that accepts ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs and ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiAuditLogConfigurationInput` via: -// -// ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} -type ClusterRkeConfigServicesKubeApiAuditLogConfigurationInput interface { - pulumi.Input - - ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput - ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput +// Kubelet options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesPtrOutput) Kubelet() ClusterRkeConfigServicesKubeletPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesKubelet { + if v == nil { + return nil + } + return v.Kubelet + }).(ClusterRkeConfigServicesKubeletPtrOutput) } -type ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs struct { - // Audit log format. Default: 'json' (string) - Format pulumi.StringPtrInput `pulumi:"format"` - // Audit log max age. Default: `30` (int) - MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` - // Audit log max backup. Default: `10` (int) - MaxBackup pulumi.IntPtrInput `pulumi:"maxBackup"` - // The EKS node group maximum size. Default `2` (int) - MaxSize pulumi.IntPtrInput `pulumi:"maxSize"` - // (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) - Path pulumi.StringPtrInput `pulumi:"path"` - // Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: - Policy pulumi.StringPtrInput `pulumi:"policy"` +// Kubeproxy options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesPtrOutput) Kubeproxy() ClusterRkeConfigServicesKubeproxyPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesKubeproxy { + if v == nil { + return nil + } + return v.Kubeproxy + }).(ClusterRkeConfigServicesKubeproxyPtrOutput) } -func (ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +// Scheduler options for RKE services (list maxitems:1) +func (o ClusterRkeConfigServicesPtrOutput) Scheduler() ClusterRkeConfigServicesSchedulerPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServices) *ClusterRkeConfigServicesScheduler { + if v == nil { + return nil + } + return v.Scheduler + }).(ClusterRkeConfigServicesSchedulerPtrOutput) } -func (i ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return i.ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Background()) +type ClusterRkeConfigServicesEtcd struct { + // Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) + BackupConfig *ClusterRkeConfigServicesEtcdBackupConfig `pulumi:"backupConfig"` + // TLS CA certificate for etcd service (string) + CaCert *string `pulumi:"caCert"` + // TLS certificate for etcd service (string) + Cert *string `pulumi:"cert"` + // Creation option for etcd service (string) + Creation *string `pulumi:"creation"` + // External urls for etcd service (list) + ExternalUrls []string `pulumi:"externalUrls"` + // Extra arguments for scheduler service (map) + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + // Extra binds for scheduler service (list) + ExtraBinds []string `pulumi:"extraBinds"` + // Extra environment for scheduler service (list) + ExtraEnvs []string `pulumi:"extraEnvs"` + // Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) + Gid *int `pulumi:"gid"` + // Docker image for scheduler service (string) + Image *string `pulumi:"image"` + // The GKE taint key (string) + Key *string `pulumi:"key"` + // (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) + Path *string `pulumi:"path"` + // Retention for etcd backup. Default `6` (int) + Retention *string `pulumi:"retention"` + // Snapshot option for etcd service (bool) + Snapshot *bool `pulumi:"snapshot"` + // Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) + Uid *int `pulumi:"uid"` } -func (i ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) -} +// ClusterRkeConfigServicesEtcdInput is an input type that accepts ClusterRkeConfigServicesEtcdArgs and ClusterRkeConfigServicesEtcdOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdInput` via: +// +// ClusterRkeConfigServicesEtcdArgs{...} +type ClusterRkeConfigServicesEtcdInput interface { + pulumi.Input -func (i ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return i.ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) + ToClusterRkeConfigServicesEtcdOutput() ClusterRkeConfigServicesEtcdOutput + ToClusterRkeConfigServicesEtcdOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdOutput } -func (i ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput).ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx) +type ClusterRkeConfigServicesEtcdArgs struct { + // Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) + BackupConfig ClusterRkeConfigServicesEtcdBackupConfigPtrInput `pulumi:"backupConfig"` + // TLS CA certificate for etcd service (string) + CaCert pulumi.StringPtrInput `pulumi:"caCert"` + // TLS certificate for etcd service (string) + Cert pulumi.StringPtrInput `pulumi:"cert"` + // Creation option for etcd service (string) + Creation pulumi.StringPtrInput `pulumi:"creation"` + // External urls for etcd service (list) + ExternalUrls pulumi.StringArrayInput `pulumi:"externalUrls"` + // Extra arguments for scheduler service (map) + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + // Extra binds for scheduler service (list) + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + // Extra environment for scheduler service (list) + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + // Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) + Gid pulumi.IntPtrInput `pulumi:"gid"` + // Docker image for scheduler service (string) + Image pulumi.StringPtrInput `pulumi:"image"` + // The GKE taint key (string) + Key pulumi.StringPtrInput `pulumi:"key"` + // (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) + Path pulumi.StringPtrInput `pulumi:"path"` + // Retention for etcd backup. Default `6` (int) + Retention pulumi.StringPtrInput `pulumi:"retention"` + // Snapshot option for etcd service (bool) + Snapshot pulumi.BoolPtrInput `pulumi:"snapshot"` + // Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) + Uid pulumi.IntPtrInput `pulumi:"uid"` } -// ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput is an input type that accepts ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs, ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtr and ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput` via: +func (ClusterRkeConfigServicesEtcdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesEtcd)(nil)).Elem() +} + +func (i ClusterRkeConfigServicesEtcdArgs) ToClusterRkeConfigServicesEtcdOutput() ClusterRkeConfigServicesEtcdOutput { + return i.ToClusterRkeConfigServicesEtcdOutputWithContext(context.Background()) +} + +func (i ClusterRkeConfigServicesEtcdArgs) ToClusterRkeConfigServicesEtcdOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdOutput) +} + +func (i ClusterRkeConfigServicesEtcdArgs) ToClusterRkeConfigServicesEtcdPtrOutput() ClusterRkeConfigServicesEtcdPtrOutput { + return i.ToClusterRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) +} + +func (i ClusterRkeConfigServicesEtcdArgs) ToClusterRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdOutput).ToClusterRkeConfigServicesEtcdPtrOutputWithContext(ctx) +} + +// ClusterRkeConfigServicesEtcdPtrInput is an input type that accepts ClusterRkeConfigServicesEtcdArgs, ClusterRkeConfigServicesEtcdPtr and ClusterRkeConfigServicesEtcdPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdPtrInput` via: // -// ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} +// ClusterRkeConfigServicesEtcdArgs{...} // // or: // // nil -type ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput interface { +type ClusterRkeConfigServicesEtcdPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput - ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput + ToClusterRkeConfigServicesEtcdPtrOutput() ClusterRkeConfigServicesEtcdPtrOutput + ToClusterRkeConfigServicesEtcdPtrOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdPtrOutput } -type clusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs +type clusterRkeConfigServicesEtcdPtrType ClusterRkeConfigServicesEtcdArgs -func ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtr(v *ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput { - return (*clusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType)(v) +func ClusterRkeConfigServicesEtcdPtr(v *ClusterRkeConfigServicesEtcdArgs) ClusterRkeConfigServicesEtcdPtrInput { + return (*clusterRkeConfigServicesEtcdPtrType)(v) } -func (*clusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (*clusterRkeConfigServicesEtcdPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesEtcd)(nil)).Elem() } -func (i *clusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return i.ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesEtcdPtrType) ToClusterRkeConfigServicesEtcdPtrOutput() ClusterRkeConfigServicesEtcdPtrOutput { + return i.ToClusterRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) +func (i *clusterRkeConfigServicesEtcdPtrType) ToClusterRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdPtrOutput) } -type ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesEtcdOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (ClusterRkeConfigServicesEtcdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesEtcd)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { +func (o ClusterRkeConfigServicesEtcdOutput) ToClusterRkeConfigServicesEtcdOutput() ClusterRkeConfigServicesEtcdOutput { return o } -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { +func (o ClusterRkeConfigServicesEtcdOutput) ToClusterRkeConfigServicesEtcdOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdOutput { return o } -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesEtcdOutput) ToClusterRkeConfigServicesEtcdPtrOutput() ClusterRkeConfigServicesEtcdPtrOutput { + return o.ToClusterRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *ClusterRkeConfigServicesKubeApiAuditLogConfiguration { +func (o ClusterRkeConfigServicesEtcdOutput) ToClusterRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesEtcd) *ClusterRkeConfigServicesEtcd { return &v - }).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) + }).(ClusterRkeConfigServicesEtcdPtrOutput) } -// Audit log format. Default: 'json' (string) -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { return v.Format }).(pulumi.StringPtrOutput) +// Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) +func (o ClusterRkeConfigServicesEtcdOutput) BackupConfig() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *ClusterRkeConfigServicesEtcdBackupConfig { return v.BackupConfig }).(ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) } -// Audit log max age. Default: `30` (int) -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxAge() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxAge }).(pulumi.IntPtrOutput) +// TLS CA certificate for etcd service (string) +func (o ClusterRkeConfigServicesEtcdOutput) CaCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.CaCert }).(pulumi.StringPtrOutput) } -// Audit log max backup. Default: `10` (int) -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxBackup() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxBackup }).(pulumi.IntPtrOutput) +// TLS certificate for etcd service (string) +func (o ClusterRkeConfigServicesEtcdOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Cert }).(pulumi.StringPtrOutput) } -// The EKS node group maximum size. Default `2` (int) -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxSize }).(pulumi.IntPtrOutput) +// Creation option for etcd service (string) +func (o ClusterRkeConfigServicesEtcdOutput) Creation() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Creation }).(pulumi.StringPtrOutput) +} + +// External urls for etcd service (list) +func (o ClusterRkeConfigServicesEtcdOutput) ExternalUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) []string { return v.ExternalUrls }).(pulumi.StringArrayOutput) +} + +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesEtcdOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +} + +// Extra binds for scheduler service (list) +func (o ClusterRkeConfigServicesEtcdOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +} + +// Extra environment for scheduler service (list) +func (o ClusterRkeConfigServicesEtcdOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +} + +// Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) +func (o ClusterRkeConfigServicesEtcdOutput) Gid() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *int { return v.Gid }).(pulumi.IntPtrOutput) +} + +// Docker image for scheduler service (string) +func (o ClusterRkeConfigServicesEtcdOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Image }).(pulumi.StringPtrOutput) +} + +// The GKE taint key (string) +func (o ClusterRkeConfigServicesEtcdOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Key }).(pulumi.StringPtrOutput) } // (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { return v.Path }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigServicesEtcdOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Path }).(pulumi.StringPtrOutput) } -// Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Policy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { return v.Policy }).(pulumi.StringPtrOutput) +// Retention for etcd backup. Default `6` (int) +func (o ClusterRkeConfigServicesEtcdOutput) Retention() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *string { return v.Retention }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput struct{ *pulumi.OutputState } +// Snapshot option for etcd service (bool) +func (o ClusterRkeConfigServicesEtcdOutput) Snapshot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *bool { return v.Snapshot }).(pulumi.BoolPtrOutput) +} -func (ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +// Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) +func (o ClusterRkeConfigServicesEtcdOutput) Uid() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcd) *int { return v.Uid }).(pulumi.IntPtrOutput) } -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { +type ClusterRkeConfigServicesEtcdPtrOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigServicesEtcdPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesEtcd)(nil)).Elem() +} + +func (o ClusterRkeConfigServicesEtcdPtrOutput) ToClusterRkeConfigServicesEtcdPtrOutput() ClusterRkeConfigServicesEtcdPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { +func (o ClusterRkeConfigServicesEtcdPtrOutput) ToClusterRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Elem() ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) ClusterRkeConfigServicesKubeApiAuditLogConfiguration { +func (o ClusterRkeConfigServicesEtcdPtrOutput) Elem() ClusterRkeConfigServicesEtcdOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) ClusterRkeConfigServicesEtcd { if v != nil { return *v } - var ret ClusterRkeConfigServicesKubeApiAuditLogConfiguration + var ret ClusterRkeConfigServicesEtcd return ret - }).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) + }).(ClusterRkeConfigServicesEtcdOutput) } -// Audit log format. Default: 'json' (string) -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { +// Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) +func (o ClusterRkeConfigServicesEtcdPtrOutput) BackupConfig() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *ClusterRkeConfigServicesEtcdBackupConfig { if v == nil { return nil } - return v.Format + return v.BackupConfig + }).(ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) +} + +// TLS CA certificate for etcd service (string) +func (o ClusterRkeConfigServicesEtcdPtrOutput) CaCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { + if v == nil { + return nil + } + return v.CaCert }).(pulumi.StringPtrOutput) } -// Audit log max age. Default: `30` (int) -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxAge() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { +// TLS certificate for etcd service (string) +func (o ClusterRkeConfigServicesEtcdPtrOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { if v == nil { return nil } - return v.MaxAge - }).(pulumi.IntPtrOutput) + return v.Cert + }).(pulumi.StringPtrOutput) } -// Audit log max backup. Default: `10` (int) -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxBackup() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { +// Creation option for etcd service (string) +func (o ClusterRkeConfigServicesEtcdPtrOutput) Creation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { if v == nil { return nil } - return v.MaxBackup - }).(pulumi.IntPtrOutput) + return v.Creation + }).(pulumi.StringPtrOutput) } -// The EKS node group maximum size. Default `2` (int) -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { +// External urls for etcd service (list) +func (o ClusterRkeConfigServicesEtcdPtrOutput) ExternalUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) []string { if v == nil { return nil } - return v.MaxSize + return v.ExternalUrls + }).(pulumi.StringArrayOutput) +} + +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesEtcdPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) map[string]interface{} { + if v == nil { + return nil + } + return v.ExtraArgs + }).(pulumi.MapOutput) +} + +// Extra binds for scheduler service (list) +func (o ClusterRkeConfigServicesEtcdPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) []string { + if v == nil { + return nil + } + return v.ExtraBinds + }).(pulumi.StringArrayOutput) +} + +// Extra environment for scheduler service (list) +func (o ClusterRkeConfigServicesEtcdPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) []string { + if v == nil { + return nil + } + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) +} + +// Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) +func (o ClusterRkeConfigServicesEtcdPtrOutput) Gid() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *int { + if v == nil { + return nil + } + return v.Gid }).(pulumi.IntPtrOutput) } +// Docker image for scheduler service (string) +func (o ClusterRkeConfigServicesEtcdPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { + if v == nil { + return nil + } + return v.Image + }).(pulumi.StringPtrOutput) +} + +// The GKE taint key (string) +func (o ClusterRkeConfigServicesEtcdPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { + if v == nil { + return nil + } + return v.Key + }).(pulumi.StringPtrOutput) +} + // (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { +func (o ClusterRkeConfigServicesEtcdPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { if v == nil { return nil } @@ -24819,331 +25119,530 @@ func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Path() pu }).(pulumi.StringPtrOutput) } -// Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: -func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Policy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { +// Retention for etcd backup. Default `6` (int) +func (o ClusterRkeConfigServicesEtcdPtrOutput) Retention() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *string { if v == nil { return nil } - return v.Policy + return v.Retention }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesKubeApiEventRateLimit struct { - // Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: - Configuration *string `pulumi:"configuration"` +// Snapshot option for etcd service (bool) +func (o ClusterRkeConfigServicesEtcdPtrOutput) Snapshot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *bool { + if v == nil { + return nil + } + return v.Snapshot + }).(pulumi.BoolPtrOutput) +} + +// Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) +func (o ClusterRkeConfigServicesEtcdPtrOutput) Uid() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcd) *int { + if v == nil { + return nil + } + return v.Uid + }).(pulumi.IntPtrOutput) +} + +type ClusterRkeConfigServicesEtcdBackupConfig struct { // Enable scheduled cluster scan. Default: `false` (bool) Enabled *bool `pulumi:"enabled"` + // Interval hours for etcd backup. Default `12` (int) + IntervalHours *int `pulumi:"intervalHours"` + // Retention for etcd backup. Default `6` (int) + Retention *int `pulumi:"retention"` + // S3 config options for etcd backup (list maxitems:1) + S3BackupConfig *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` + // Safe timestamp for etcd backup. Default: `false` (bool) + SafeTimestamp *bool `pulumi:"safeTimestamp"` + // RKE node drain timeout. Default: `60` (int) + Timeout *int `pulumi:"timeout"` } -// ClusterRkeConfigServicesKubeApiEventRateLimitInput is an input type that accepts ClusterRkeConfigServicesKubeApiEventRateLimitArgs and ClusterRkeConfigServicesKubeApiEventRateLimitOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiEventRateLimitInput` via: +// ClusterRkeConfigServicesEtcdBackupConfigInput is an input type that accepts ClusterRkeConfigServicesEtcdBackupConfigArgs and ClusterRkeConfigServicesEtcdBackupConfigOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdBackupConfigInput` via: // -// ClusterRkeConfigServicesKubeApiEventRateLimitArgs{...} -type ClusterRkeConfigServicesKubeApiEventRateLimitInput interface { +// ClusterRkeConfigServicesEtcdBackupConfigArgs{...} +type ClusterRkeConfigServicesEtcdBackupConfigInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeApiEventRateLimitOutput() ClusterRkeConfigServicesKubeApiEventRateLimitOutput - ToClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitOutput + ToClusterRkeConfigServicesEtcdBackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigOutput + ToClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdBackupConfigOutput } -type ClusterRkeConfigServicesKubeApiEventRateLimitArgs struct { - // Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: - Configuration pulumi.StringPtrInput `pulumi:"configuration"` +type ClusterRkeConfigServicesEtcdBackupConfigArgs struct { // Enable scheduled cluster scan. Default: `false` (bool) Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // Interval hours for etcd backup. Default `12` (int) + IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` + // Retention for etcd backup. Default `6` (int) + Retention pulumi.IntPtrInput `pulumi:"retention"` + // S3 config options for etcd backup (list maxitems:1) + S3BackupConfig ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` + // Safe timestamp for etcd backup. Default: `false` (bool) + SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` + // RKE node drain timeout. Default: `60` (int) + Timeout pulumi.IntPtrInput `pulumi:"timeout"` } -func (ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (ClusterRkeConfigServicesEtcdBackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() } -func (i ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterRkeConfigServicesKubeApiEventRateLimitOutput() ClusterRkeConfigServicesKubeApiEventRateLimitOutput { - return i.ToClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesEtcdBackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigOutput { + return i.ToClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiEventRateLimitOutput) +func (i ClusterRkeConfigServicesEtcdBackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigOutput) } -func (i ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return i.ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesEtcdBackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { + return i.ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiEventRateLimitOutput).ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesEtcdBackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigOutput).ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesKubeApiEventRateLimitPtrInput is an input type that accepts ClusterRkeConfigServicesKubeApiEventRateLimitArgs, ClusterRkeConfigServicesKubeApiEventRateLimitPtr and ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiEventRateLimitPtrInput` via: +// ClusterRkeConfigServicesEtcdBackupConfigPtrInput is an input type that accepts ClusterRkeConfigServicesEtcdBackupConfigArgs, ClusterRkeConfigServicesEtcdBackupConfigPtr and ClusterRkeConfigServicesEtcdBackupConfigPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdBackupConfigPtrInput` via: // -// ClusterRkeConfigServicesKubeApiEventRateLimitArgs{...} +// ClusterRkeConfigServicesEtcdBackupConfigArgs{...} // // or: // // nil -type ClusterRkeConfigServicesKubeApiEventRateLimitPtrInput interface { +type ClusterRkeConfigServicesEtcdBackupConfigPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput - ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput + ToClusterRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput + ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdBackupConfigPtrOutput } -type clusterRkeConfigServicesKubeApiEventRateLimitPtrType ClusterRkeConfigServicesKubeApiEventRateLimitArgs +type clusterRkeConfigServicesEtcdBackupConfigPtrType ClusterRkeConfigServicesEtcdBackupConfigArgs -func ClusterRkeConfigServicesKubeApiEventRateLimitPtr(v *ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ClusterRkeConfigServicesKubeApiEventRateLimitPtrInput { - return (*clusterRkeConfigServicesKubeApiEventRateLimitPtrType)(v) +func ClusterRkeConfigServicesEtcdBackupConfigPtr(v *ClusterRkeConfigServicesEtcdBackupConfigArgs) ClusterRkeConfigServicesEtcdBackupConfigPtrInput { + return (*clusterRkeConfigServicesEtcdBackupConfigPtrType)(v) } -func (*clusterRkeConfigServicesKubeApiEventRateLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (*clusterRkeConfigServicesEtcdBackupConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() } -func (i *clusterRkeConfigServicesKubeApiEventRateLimitPtrType) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return i.ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesEtcdBackupConfigPtrType) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { + return i.ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesKubeApiEventRateLimitPtrType) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) +func (i *clusterRkeConfigServicesEtcdBackupConfigPtrType) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) } -type ClusterRkeConfigServicesKubeApiEventRateLimitOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesEtcdBackupConfigOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesKubeApiEventRateLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (ClusterRkeConfigServicesEtcdBackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitOutput() ClusterRkeConfigServicesKubeApiEventRateLimitOutput { +func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigOutput { return o } -func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitOutput { +func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigOutput { return o } -func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { + return o.ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeApiEventRateLimit) *ClusterRkeConfigServicesKubeApiEventRateLimit { +func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesEtcdBackupConfig) *ClusterRkeConfigServicesEtcdBackupConfig { return &v - }).(ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) + }).(ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) } -// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: -func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) Configuration() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiEventRateLimit) *string { return v.Configuration }).(pulumi.StringPtrOutput) +// Enable scheduled cluster scan. Default: `false` (bool) +func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -// Enable scheduled cluster scan. Default: `false` (bool) -func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiEventRateLimit) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// Interval hours for etcd backup. Default `12` (int) +func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *int { return v.IntervalHours }).(pulumi.IntPtrOutput) } -type ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput struct{ *pulumi.OutputState } +// Retention for etcd backup. Default `6` (int) +func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *int { return v.Retention }).(pulumi.IntPtrOutput) +} -func (ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +// S3 config options for etcd backup (list maxitems:1) +func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) S3BackupConfig() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { + return v.S3BackupConfig + }).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -func (o ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { +// Safe timestamp for etcd backup. Default: `false` (bool) +func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *bool { return v.SafeTimestamp }).(pulumi.BoolPtrOutput) +} + +// RKE node drain timeout. Default: `60` (int) +func (o ClusterRkeConfigServicesEtcdBackupConfigOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfig) *int { return v.Timeout }).(pulumi.IntPtrOutput) +} + +type ClusterRkeConfigServicesEtcdBackupConfigPtrOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +} + +func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { +func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) ToClusterRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Elem() ClusterRkeConfigServicesKubeApiEventRateLimitOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiEventRateLimit) ClusterRkeConfigServicesKubeApiEventRateLimit { +func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) Elem() ClusterRkeConfigServicesEtcdBackupConfigOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) ClusterRkeConfigServicesEtcdBackupConfig { if v != nil { return *v } - var ret ClusterRkeConfigServicesKubeApiEventRateLimit + var ret ClusterRkeConfigServicesEtcdBackupConfig return ret - }).(ClusterRkeConfigServicesKubeApiEventRateLimitOutput) + }).(ClusterRkeConfigServicesEtcdBackupConfigOutput) } -// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: -func (o ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Configuration() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiEventRateLimit) *string { +// Enable scheduled cluster scan. Default: `false` (bool) +func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *bool { if v == nil { return nil } - return v.Configuration - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -// Enable scheduled cluster scan. Default: `false` (bool) -func (o ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiEventRateLimit) *bool { +// Interval hours for etcd backup. Default `12` (int) +func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) IntervalHours() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *int { if v == nil { return nil } - return v.Enabled + return v.IntervalHours + }).(pulumi.IntPtrOutput) +} + +// Retention for etcd backup. Default `6` (int) +func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *int { + if v == nil { + return nil + } + return v.Retention + }).(pulumi.IntPtrOutput) +} + +// S3 config options for etcd backup (list maxitems:1) +func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) S3BackupConfig() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { + if v == nil { + return nil + } + return v.S3BackupConfig + }).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +} + +// Safe timestamp for etcd backup. Default: `false` (bool) +func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) SafeTimestamp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *bool { + if v == nil { + return nil + } + return v.SafeTimestamp }).(pulumi.BoolPtrOutput) } -type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig struct { - // Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: - CustomConfig *string `pulumi:"customConfig"` - // Enable scheduled cluster scan. Default: `false` (bool) - Enabled *bool `pulumi:"enabled"` +// RKE node drain timeout. Default: `60` (int) +func (o ClusterRkeConfigServicesEtcdBackupConfigPtrOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfig) *int { + if v == nil { + return nil + } + return v.Timeout + }).(pulumi.IntPtrOutput) } -// ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput is an input type that accepts ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs and ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput` via: +type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig struct { + // The AWS Client ID to use (string) + AccessKey *string `pulumi:"accessKey"` + // Bucket name for S3 service (string) + BucketName string `pulumi:"bucketName"` + // Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) + CustomCa *string `pulumi:"customCa"` + // Endpoint for S3 service (string) + Endpoint string `pulumi:"endpoint"` + // Folder for S3 service. Available from Rancher v2.2.7 (string) + Folder *string `pulumi:"folder"` + // The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) + Region *string `pulumi:"region"` + // The AWS Client Secret associated with the Client ID (string) + SecretKey *string `pulumi:"secretKey"` +} + +// ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput is an input type that accepts ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs and ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput` via: // -// ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} -type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput interface { +// ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} +type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput - ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput + ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput + ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput } -type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs struct { - // Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: - CustomConfig pulumi.StringPtrInput `pulumi:"customConfig"` - // Enable scheduled cluster scan. Default: `false` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs struct { + // The AWS Client ID to use (string) + AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` + // Bucket name for S3 service (string) + BucketName pulumi.StringInput `pulumi:"bucketName"` + // Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) + CustomCa pulumi.StringPtrInput `pulumi:"customCa"` + // Endpoint for S3 service (string) + Endpoint pulumi.StringInput `pulumi:"endpoint"` + // Folder for S3 service. Available from Rancher v2.2.7 (string) + Folder pulumi.StringPtrInput `pulumi:"folder"` + // The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) + Region pulumi.StringPtrInput `pulumi:"region"` + // The AWS Client Secret associated with the Client ID (string) + SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` } -func (ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (i ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return i.ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return i.ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) +func (i ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) } -func (i ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return i.ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return i.ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput).ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput).ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput is an input type that accepts ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs, ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtr and ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput` via: +// ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput is an input type that accepts ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs, ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr and ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput` via: // -// ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} +// ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} // // or: // // nil -type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput interface { +type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput - ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput + ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput + ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput } -type clusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs +type clusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs -func ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtr(v *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput { - return (*clusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType)(v) +func ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput { + return (*clusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType)(v) } -func (*clusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (*clusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (i *clusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return i.ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return i.ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +func (i *clusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { return o } -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { return o } -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { return &v - }).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) + }).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -// Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) CustomConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { return v.CustomConfig }).(pulumi.StringPtrOutput) +// The AWS Client ID to use (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.AccessKey }).(pulumi.StringPtrOutput) } -// Enable scheduled cluster scan. Default: `false` (bool) -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// Bucket name for S3 service (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { return v.BucketName }).(pulumi.StringOutput) } -type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput struct{ *pulumi.OutputState } +// Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.CustomCa }).(pulumi.StringPtrOutput) +} -func (ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +// Endpoint for S3 service (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { return v.Endpoint }).(pulumi.StringOutput) } -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { +// Folder for S3 service. Available from Rancher v2.2.7 (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) +} + +// The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +// The AWS Client Secret associated with the Client ID (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.SecretKey }).(pulumi.StringPtrOutput) +} + +type ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +} + +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Elem() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Elem() ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { if v != nil { return *v } - var ret ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig + var ret ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig return ret - }).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) + }).(ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) } -// Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) CustomConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { +// The AWS Client ID to use (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.CustomConfig + return v.AccessKey }).(pulumi.StringPtrOutput) } -// Enable scheduled cluster scan. Default: `false` (bool) -func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { +// Bucket name for S3 service (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return &v.BucketName + }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesKubeController struct { - // Cluster CIDR option for kube controller service (string) - ClusterCidr *string `pulumi:"clusterCidr"` +// Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.CustomCa + }).(pulumi.StringPtrOutput) +} + +// Endpoint for S3 service (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return &v.Endpoint + }).(pulumi.StringPtrOutput) +} + +// Folder for S3 service. Available from Rancher v2.2.7 (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.Folder + }).(pulumi.StringPtrOutput) +} + +// The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +// The AWS Client Secret associated with the Client ID (string) +func (o ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.SecretKey + }).(pulumi.StringPtrOutput) +} + +type ClusterRkeConfigServicesKubeApi struct { + // Admission configuration (map) + AdmissionConfiguration map[string]interface{} `pulumi:"admissionConfiguration"` + // Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) + AlwaysPullImages *bool `pulumi:"alwaysPullImages"` + // K8s audit log configuration. (list maxitems: 1) + AuditLog *ClusterRkeConfigServicesKubeApiAuditLog `pulumi:"auditLog"` + // K8s event rate limit configuration. (list maxitems: 1) + EventRateLimit *ClusterRkeConfigServicesKubeApiEventRateLimit `pulumi:"eventRateLimit"` // Extra arguments for scheduler service (map) ExtraArgs map[string]interface{} `pulumi:"extraArgs"` // Extra binds for scheduler service (list) @@ -25152,24 +25651,36 @@ type ClusterRkeConfigServicesKubeController struct { ExtraEnvs []string `pulumi:"extraEnvs"` // Docker image for scheduler service (string) Image *string `pulumi:"image"` + // Pod Security Policy option for kube API service. Default `false` (bool) + PodSecurityPolicy *bool `pulumi:"podSecurityPolicy"` + // [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) + SecretsEncryptionConfig *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig `pulumi:"secretsEncryptionConfig"` // Service Cluster ip Range option for kube controller service (string) ServiceClusterIpRange *string `pulumi:"serviceClusterIpRange"` + // Service Node Port Range option for kube API service (string) + ServiceNodePortRange *string `pulumi:"serviceNodePortRange"` } -// ClusterRkeConfigServicesKubeControllerInput is an input type that accepts ClusterRkeConfigServicesKubeControllerArgs and ClusterRkeConfigServicesKubeControllerOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeControllerInput` via: +// ClusterRkeConfigServicesKubeApiInput is an input type that accepts ClusterRkeConfigServicesKubeApiArgs and ClusterRkeConfigServicesKubeApiOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiInput` via: // -// ClusterRkeConfigServicesKubeControllerArgs{...} -type ClusterRkeConfigServicesKubeControllerInput interface { +// ClusterRkeConfigServicesKubeApiArgs{...} +type ClusterRkeConfigServicesKubeApiInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeControllerOutput() ClusterRkeConfigServicesKubeControllerOutput - ToClusterRkeConfigServicesKubeControllerOutputWithContext(context.Context) ClusterRkeConfigServicesKubeControllerOutput + ToClusterRkeConfigServicesKubeApiOutput() ClusterRkeConfigServicesKubeApiOutput + ToClusterRkeConfigServicesKubeApiOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiOutput } -type ClusterRkeConfigServicesKubeControllerArgs struct { - // Cluster CIDR option for kube controller service (string) - ClusterCidr pulumi.StringPtrInput `pulumi:"clusterCidr"` +type ClusterRkeConfigServicesKubeApiArgs struct { + // Admission configuration (map) + AdmissionConfiguration pulumi.MapInput `pulumi:"admissionConfiguration"` + // Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) + AlwaysPullImages pulumi.BoolPtrInput `pulumi:"alwaysPullImages"` + // K8s audit log configuration. (list maxitems: 1) + AuditLog ClusterRkeConfigServicesKubeApiAuditLogPtrInput `pulumi:"auditLog"` + // K8s event rate limit configuration. (list maxitems: 1) + EventRateLimit ClusterRkeConfigServicesKubeApiEventRateLimitPtrInput `pulumi:"eventRateLimit"` // Extra arguments for scheduler service (map) ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` // Extra binds for scheduler service (list) @@ -25178,164 +25689,234 @@ type ClusterRkeConfigServicesKubeControllerArgs struct { ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` // Docker image for scheduler service (string) Image pulumi.StringPtrInput `pulumi:"image"` + // Pod Security Policy option for kube API service. Default `false` (bool) + PodSecurityPolicy pulumi.BoolPtrInput `pulumi:"podSecurityPolicy"` + // [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) + SecretsEncryptionConfig ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput `pulumi:"secretsEncryptionConfig"` // Service Cluster ip Range option for kube controller service (string) ServiceClusterIpRange pulumi.StringPtrInput `pulumi:"serviceClusterIpRange"` + // Service Node Port Range option for kube API service (string) + ServiceNodePortRange pulumi.StringPtrInput `pulumi:"serviceNodePortRange"` } -func (ClusterRkeConfigServicesKubeControllerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeController)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeApi)(nil)).Elem() } -func (i ClusterRkeConfigServicesKubeControllerArgs) ToClusterRkeConfigServicesKubeControllerOutput() ClusterRkeConfigServicesKubeControllerOutput { - return i.ToClusterRkeConfigServicesKubeControllerOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeApiArgs) ToClusterRkeConfigServicesKubeApiOutput() ClusterRkeConfigServicesKubeApiOutput { + return i.ToClusterRkeConfigServicesKubeApiOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeControllerArgs) ToClusterRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeControllerOutput) +func (i ClusterRkeConfigServicesKubeApiArgs) ToClusterRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiOutput) } -func (i ClusterRkeConfigServicesKubeControllerArgs) ToClusterRkeConfigServicesKubeControllerPtrOutput() ClusterRkeConfigServicesKubeControllerPtrOutput { - return i.ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeApiArgs) ToClusterRkeConfigServicesKubeApiPtrOutput() ClusterRkeConfigServicesKubeApiPtrOutput { + return i.ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeControllerArgs) ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeControllerOutput).ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesKubeApiArgs) ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiOutput).ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesKubeControllerPtrInput is an input type that accepts ClusterRkeConfigServicesKubeControllerArgs, ClusterRkeConfigServicesKubeControllerPtr and ClusterRkeConfigServicesKubeControllerPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeControllerPtrInput` via: +// ClusterRkeConfigServicesKubeApiPtrInput is an input type that accepts ClusterRkeConfigServicesKubeApiArgs, ClusterRkeConfigServicesKubeApiPtr and ClusterRkeConfigServicesKubeApiPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiPtrInput` via: // -// ClusterRkeConfigServicesKubeControllerArgs{...} +// ClusterRkeConfigServicesKubeApiArgs{...} // // or: // // nil -type ClusterRkeConfigServicesKubeControllerPtrInput interface { +type ClusterRkeConfigServicesKubeApiPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeControllerPtrOutput() ClusterRkeConfigServicesKubeControllerPtrOutput - ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeControllerPtrOutput + ToClusterRkeConfigServicesKubeApiPtrOutput() ClusterRkeConfigServicesKubeApiPtrOutput + ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiPtrOutput } -type clusterRkeConfigServicesKubeControllerPtrType ClusterRkeConfigServicesKubeControllerArgs +type clusterRkeConfigServicesKubeApiPtrType ClusterRkeConfigServicesKubeApiArgs -func ClusterRkeConfigServicesKubeControllerPtr(v *ClusterRkeConfigServicesKubeControllerArgs) ClusterRkeConfigServicesKubeControllerPtrInput { - return (*clusterRkeConfigServicesKubeControllerPtrType)(v) +func ClusterRkeConfigServicesKubeApiPtr(v *ClusterRkeConfigServicesKubeApiArgs) ClusterRkeConfigServicesKubeApiPtrInput { + return (*clusterRkeConfigServicesKubeApiPtrType)(v) } -func (*clusterRkeConfigServicesKubeControllerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeController)(nil)).Elem() +func (*clusterRkeConfigServicesKubeApiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeApi)(nil)).Elem() } -func (i *clusterRkeConfigServicesKubeControllerPtrType) ToClusterRkeConfigServicesKubeControllerPtrOutput() ClusterRkeConfigServicesKubeControllerPtrOutput { - return i.ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesKubeApiPtrType) ToClusterRkeConfigServicesKubeApiPtrOutput() ClusterRkeConfigServicesKubeApiPtrOutput { + return i.ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesKubeControllerPtrType) ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeControllerPtrOutput) +func (i *clusterRkeConfigServicesKubeApiPtrType) ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiPtrOutput) } -type ClusterRkeConfigServicesKubeControllerOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeApiOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesKubeControllerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeController)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeApi)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeControllerOutput) ToClusterRkeConfigServicesKubeControllerOutput() ClusterRkeConfigServicesKubeControllerOutput { +func (o ClusterRkeConfigServicesKubeApiOutput) ToClusterRkeConfigServicesKubeApiOutput() ClusterRkeConfigServicesKubeApiOutput { return o } -func (o ClusterRkeConfigServicesKubeControllerOutput) ToClusterRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerOutput { +func (o ClusterRkeConfigServicesKubeApiOutput) ToClusterRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiOutput { return o } -func (o ClusterRkeConfigServicesKubeControllerOutput) ToClusterRkeConfigServicesKubeControllerPtrOutput() ClusterRkeConfigServicesKubeControllerPtrOutput { - return o.ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesKubeApiOutput) ToClusterRkeConfigServicesKubeApiPtrOutput() ClusterRkeConfigServicesKubeApiPtrOutput { + return o.ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesKubeControllerOutput) ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeController) *ClusterRkeConfigServicesKubeController { +func (o ClusterRkeConfigServicesKubeApiOutput) ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApi { return &v - }).(ClusterRkeConfigServicesKubeControllerPtrOutput) + }).(ClusterRkeConfigServicesKubeApiPtrOutput) } -// Cluster CIDR option for kube controller service (string) -func (o ClusterRkeConfigServicesKubeControllerOutput) ClusterCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) *string { return v.ClusterCidr }).(pulumi.StringPtrOutput) +// Admission configuration (map) +func (o ClusterRkeConfigServicesKubeApiOutput) AdmissionConfiguration() pulumi.MapOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) map[string]interface{} { return v.AdmissionConfiguration }).(pulumi.MapOutput) +} + +// Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) +func (o ClusterRkeConfigServicesKubeApiOutput) AlwaysPullImages() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *bool { return v.AlwaysPullImages }).(pulumi.BoolPtrOutput) +} + +// K8s audit log configuration. (list maxitems: 1) +func (o ClusterRkeConfigServicesKubeApiOutput) AuditLog() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiAuditLog { return v.AuditLog }).(ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) +} + +// K8s event rate limit configuration. (list maxitems: 1) +func (o ClusterRkeConfigServicesKubeApiOutput) EventRateLimit() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiEventRateLimit { + return v.EventRateLimit + }).(ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) } // Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesKubeControllerOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +func (o ClusterRkeConfigServicesKubeApiOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } // Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesKubeControllerOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +func (o ClusterRkeConfigServicesKubeApiOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) } // Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesKubeControllerOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +func (o ClusterRkeConfigServicesKubeApiOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } // Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesKubeControllerOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) *string { return v.Image }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigServicesKubeApiOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *string { return v.Image }).(pulumi.StringPtrOutput) +} + +// Pod Security Policy option for kube API service. Default `false` (bool) +func (o ClusterRkeConfigServicesKubeApiOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *bool { return v.PodSecurityPolicy }).(pulumi.BoolPtrOutput) +} + +// [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) +func (o ClusterRkeConfigServicesKubeApiOutput) SecretsEncryptionConfig() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { + return v.SecretsEncryptionConfig + }).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } // Service Cluster ip Range option for kube controller service (string) -func (o ClusterRkeConfigServicesKubeControllerOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) *string { return v.ServiceClusterIpRange }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigServicesKubeApiOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *string { return v.ServiceClusterIpRange }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesKubeControllerPtrOutput struct{ *pulumi.OutputState } +// Service Node Port Range option for kube API service (string) +func (o ClusterRkeConfigServicesKubeApiOutput) ServiceNodePortRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApi) *string { return v.ServiceNodePortRange }).(pulumi.StringPtrOutput) +} -func (ClusterRkeConfigServicesKubeControllerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeController)(nil)).Elem() +type ClusterRkeConfigServicesKubeApiPtrOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigServicesKubeApiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeApi)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ToClusterRkeConfigServicesKubeControllerPtrOutput() ClusterRkeConfigServicesKubeControllerPtrOutput { +func (o ClusterRkeConfigServicesKubeApiPtrOutput) ToClusterRkeConfigServicesKubeApiPtrOutput() ClusterRkeConfigServicesKubeApiPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerPtrOutput { +func (o ClusterRkeConfigServicesKubeApiPtrOutput) ToClusterRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeControllerPtrOutput) Elem() ClusterRkeConfigServicesKubeControllerOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) ClusterRkeConfigServicesKubeController { +func (o ClusterRkeConfigServicesKubeApiPtrOutput) Elem() ClusterRkeConfigServicesKubeApiOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) ClusterRkeConfigServicesKubeApi { if v != nil { return *v } - var ret ClusterRkeConfigServicesKubeController + var ret ClusterRkeConfigServicesKubeApi return ret - }).(ClusterRkeConfigServicesKubeControllerOutput) + }).(ClusterRkeConfigServicesKubeApiOutput) } -// Cluster CIDR option for kube controller service (string) -func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ClusterCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) *string { +// Admission configuration (map) +func (o ClusterRkeConfigServicesKubeApiPtrOutput) AdmissionConfiguration() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) map[string]interface{} { if v == nil { return nil } - return v.ClusterCidr - }).(pulumi.StringPtrOutput) + return v.AdmissionConfiguration + }).(pulumi.MapOutput) } -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) map[string]interface{} { - if v == nil { - return nil +// Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) +func (o ClusterRkeConfigServicesKubeApiPtrOutput) AlwaysPullImages() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *bool { + if v == nil { + return nil + } + return v.AlwaysPullImages + }).(pulumi.BoolPtrOutput) +} + +// K8s audit log configuration. (list maxitems: 1) +func (o ClusterRkeConfigServicesKubeApiPtrOutput) AuditLog() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiAuditLog { + if v == nil { + return nil + } + return v.AuditLog + }).(ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) +} + +// K8s event rate limit configuration. (list maxitems: 1) +func (o ClusterRkeConfigServicesKubeApiPtrOutput) EventRateLimit() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiEventRateLimit { + if v == nil { + return nil + } + return v.EventRateLimit + }).(ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) +} + +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesKubeApiPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) map[string]interface{} { + if v == nil { + return nil } return v.ExtraArgs }).(pulumi.MapOutput) } // Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) []string { +func (o ClusterRkeConfigServicesKubeApiPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) []string { if v == nil { return nil } @@ -25344,8 +25925,8 @@ func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ExtraBinds() pulumi.Str } // Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) []string { +func (o ClusterRkeConfigServicesKubeApiPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) []string { if v == nil { return nil } @@ -25354,8 +25935,8 @@ func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ExtraEnvs() pulumi.Stri } // Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesKubeControllerPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) *string { +func (o ClusterRkeConfigServicesKubeApiPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *string { if v == nil { return nil } @@ -25363,9 +25944,29 @@ func (o ClusterRkeConfigServicesKubeControllerPtrOutput) Image() pulumi.StringPt }).(pulumi.StringPtrOutput) } +// Pod Security Policy option for kube API service. Default `false` (bool) +func (o ClusterRkeConfigServicesKubeApiPtrOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *bool { + if v == nil { + return nil + } + return v.PodSecurityPolicy + }).(pulumi.BoolPtrOutput) +} + +// [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) +func (o ClusterRkeConfigServicesKubeApiPtrOutput) SecretsEncryptionConfig() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { + if v == nil { + return nil + } + return v.SecretsEncryptionConfig + }).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +} + // Service Cluster ip Range option for kube controller service (string) -func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) *string { +func (o ClusterRkeConfigServicesKubeApiPtrOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *string { if v == nil { return nil } @@ -25373,8989 +25974,9308 @@ func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ServiceClusterIpRange() }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesKubelet struct { - // Cluster DNS Server option for kubelet service (string) - ClusterDnsServer *string `pulumi:"clusterDnsServer"` - // Cluster Domain option for kubelet service (string) - ClusterDomain *string `pulumi:"clusterDomain"` - // Extra arguments for scheduler service (map) - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - // Extra binds for scheduler service (list) - ExtraBinds []string `pulumi:"extraBinds"` - // Extra environment for scheduler service (list) - ExtraEnvs []string `pulumi:"extraEnvs"` - // Enable or disable failing when swap on is not supported (bool) - FailSwapOn *bool `pulumi:"failSwapOn"` - // [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) - GenerateServingCertificate *bool `pulumi:"generateServingCertificate"` - // Docker image for scheduler service (string) - Image *string `pulumi:"image"` - // Infra container image for kubelet service (string) - InfraContainerImage *string `pulumi:"infraContainerImage"` +// Service Node Port Range option for kube API service (string) +func (o ClusterRkeConfigServicesKubeApiPtrOutput) ServiceNodePortRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApi) *string { + if v == nil { + return nil + } + return v.ServiceNodePortRange + }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigServicesKubeletInput is an input type that accepts ClusterRkeConfigServicesKubeletArgs and ClusterRkeConfigServicesKubeletOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeletInput` via: +type ClusterRkeConfigServicesKubeApiAuditLog struct { + // Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: + Configuration *ClusterRkeConfigServicesKubeApiAuditLogConfiguration `pulumi:"configuration"` + // Enable scheduled cluster scan. Default: `false` (bool) + Enabled *bool `pulumi:"enabled"` +} + +// ClusterRkeConfigServicesKubeApiAuditLogInput is an input type that accepts ClusterRkeConfigServicesKubeApiAuditLogArgs and ClusterRkeConfigServicesKubeApiAuditLogOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiAuditLogInput` via: // -// ClusterRkeConfigServicesKubeletArgs{...} -type ClusterRkeConfigServicesKubeletInput interface { +// ClusterRkeConfigServicesKubeApiAuditLogArgs{...} +type ClusterRkeConfigServicesKubeApiAuditLogInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeletOutput() ClusterRkeConfigServicesKubeletOutput - ToClusterRkeConfigServicesKubeletOutputWithContext(context.Context) ClusterRkeConfigServicesKubeletOutput + ToClusterRkeConfigServicesKubeApiAuditLogOutput() ClusterRkeConfigServicesKubeApiAuditLogOutput + ToClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiAuditLogOutput } -type ClusterRkeConfigServicesKubeletArgs struct { - // Cluster DNS Server option for kubelet service (string) - ClusterDnsServer pulumi.StringPtrInput `pulumi:"clusterDnsServer"` - // Cluster Domain option for kubelet service (string) - ClusterDomain pulumi.StringPtrInput `pulumi:"clusterDomain"` - // Extra arguments for scheduler service (map) - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - // Extra binds for scheduler service (list) - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - // Extra environment for scheduler service (list) - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - // Enable or disable failing when swap on is not supported (bool) - FailSwapOn pulumi.BoolPtrInput `pulumi:"failSwapOn"` - // [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) - GenerateServingCertificate pulumi.BoolPtrInput `pulumi:"generateServingCertificate"` - // Docker image for scheduler service (string) - Image pulumi.StringPtrInput `pulumi:"image"` - // Infra container image for kubelet service (string) - InfraContainerImage pulumi.StringPtrInput `pulumi:"infraContainerImage"` +type ClusterRkeConfigServicesKubeApiAuditLogArgs struct { + // Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: + Configuration ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput `pulumi:"configuration"` + // Enable scheduled cluster scan. Default: `false` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (ClusterRkeConfigServicesKubeletArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubelet)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiAuditLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (i ClusterRkeConfigServicesKubeletArgs) ToClusterRkeConfigServicesKubeletOutput() ClusterRkeConfigServicesKubeletOutput { - return i.ToClusterRkeConfigServicesKubeletOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeApiAuditLogArgs) ToClusterRkeConfigServicesKubeApiAuditLogOutput() ClusterRkeConfigServicesKubeApiAuditLogOutput { + return i.ToClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeletArgs) ToClusterRkeConfigServicesKubeletOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeletOutput) +func (i ClusterRkeConfigServicesKubeApiAuditLogArgs) ToClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogOutput) } -func (i ClusterRkeConfigServicesKubeletArgs) ToClusterRkeConfigServicesKubeletPtrOutput() ClusterRkeConfigServicesKubeletPtrOutput { - return i.ToClusterRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeApiAuditLogArgs) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return i.ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeletArgs) ToClusterRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeletOutput).ToClusterRkeConfigServicesKubeletPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesKubeApiAuditLogArgs) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogOutput).ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesKubeletPtrInput is an input type that accepts ClusterRkeConfigServicesKubeletArgs, ClusterRkeConfigServicesKubeletPtr and ClusterRkeConfigServicesKubeletPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeletPtrInput` via: +// ClusterRkeConfigServicesKubeApiAuditLogPtrInput is an input type that accepts ClusterRkeConfigServicesKubeApiAuditLogArgs, ClusterRkeConfigServicesKubeApiAuditLogPtr and ClusterRkeConfigServicesKubeApiAuditLogPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiAuditLogPtrInput` via: // -// ClusterRkeConfigServicesKubeletArgs{...} +// ClusterRkeConfigServicesKubeApiAuditLogArgs{...} // // or: // // nil -type ClusterRkeConfigServicesKubeletPtrInput interface { +type ClusterRkeConfigServicesKubeApiAuditLogPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeletPtrOutput() ClusterRkeConfigServicesKubeletPtrOutput - ToClusterRkeConfigServicesKubeletPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeletPtrOutput + ToClusterRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput + ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiAuditLogPtrOutput } -type clusterRkeConfigServicesKubeletPtrType ClusterRkeConfigServicesKubeletArgs +type clusterRkeConfigServicesKubeApiAuditLogPtrType ClusterRkeConfigServicesKubeApiAuditLogArgs -func ClusterRkeConfigServicesKubeletPtr(v *ClusterRkeConfigServicesKubeletArgs) ClusterRkeConfigServicesKubeletPtrInput { - return (*clusterRkeConfigServicesKubeletPtrType)(v) +func ClusterRkeConfigServicesKubeApiAuditLogPtr(v *ClusterRkeConfigServicesKubeApiAuditLogArgs) ClusterRkeConfigServicesKubeApiAuditLogPtrInput { + return (*clusterRkeConfigServicesKubeApiAuditLogPtrType)(v) } -func (*clusterRkeConfigServicesKubeletPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubelet)(nil)).Elem() +func (*clusterRkeConfigServicesKubeApiAuditLogPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (i *clusterRkeConfigServicesKubeletPtrType) ToClusterRkeConfigServicesKubeletPtrOutput() ClusterRkeConfigServicesKubeletPtrOutput { - return i.ToClusterRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesKubeApiAuditLogPtrType) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return i.ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesKubeletPtrType) ToClusterRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeletPtrOutput) +func (i *clusterRkeConfigServicesKubeApiAuditLogPtrType) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) } -type ClusterRkeConfigServicesKubeletOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeApiAuditLogOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesKubeletOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubelet)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiAuditLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeletOutput) ToClusterRkeConfigServicesKubeletOutput() ClusterRkeConfigServicesKubeletOutput { +func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) ToClusterRkeConfigServicesKubeApiAuditLogOutput() ClusterRkeConfigServicesKubeApiAuditLogOutput { return o } -func (o ClusterRkeConfigServicesKubeletOutput) ToClusterRkeConfigServicesKubeletOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletOutput { +func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) ToClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogOutput { return o } -func (o ClusterRkeConfigServicesKubeletOutput) ToClusterRkeConfigServicesKubeletPtrOutput() ClusterRkeConfigServicesKubeletPtrOutput { - return o.ToClusterRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesKubeletOutput) ToClusterRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubelet) *ClusterRkeConfigServicesKubelet { +func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeApiAuditLog) *ClusterRkeConfigServicesKubeApiAuditLog { return &v - }).(ClusterRkeConfigServicesKubeletPtrOutput) -} - -// Cluster DNS Server option for kubelet service (string) -func (o ClusterRkeConfigServicesKubeletOutput) ClusterDnsServer() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *string { return v.ClusterDnsServer }).(pulumi.StringPtrOutput) -} - -// Cluster Domain option for kubelet service (string) -func (o ClusterRkeConfigServicesKubeletOutput) ClusterDomain() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *string { return v.ClusterDomain }).(pulumi.StringPtrOutput) -} - -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesKubeletOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) -} - -// Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesKubeletOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) -} - -// Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesKubeletOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) -} - -// Enable or disable failing when swap on is not supported (bool) -func (o ClusterRkeConfigServicesKubeletOutput) FailSwapOn() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *bool { return v.FailSwapOn }).(pulumi.BoolPtrOutput) -} - -// [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) -func (o ClusterRkeConfigServicesKubeletOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *bool { return v.GenerateServingCertificate }).(pulumi.BoolPtrOutput) + }).(ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) } -// Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesKubeletOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *string { return v.Image }).(pulumi.StringPtrOutput) +// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: +func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) Configuration() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLog) *ClusterRkeConfigServicesKubeApiAuditLogConfiguration { + return v.Configuration + }).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -// Infra container image for kubelet service (string) -func (o ClusterRkeConfigServicesKubeletOutput) InfraContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *string { return v.InfraContainerImage }).(pulumi.StringPtrOutput) +// Enable scheduled cluster scan. Default: `false` (bool) +func (o ClusterRkeConfigServicesKubeApiAuditLogOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLog) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type ClusterRkeConfigServicesKubeletPtrOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeApiAuditLogPtrOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesKubeletPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubelet)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeletPtrOutput) ToClusterRkeConfigServicesKubeletPtrOutput() ClusterRkeConfigServicesKubeletPtrOutput { +func (o ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeletPtrOutput) ToClusterRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletPtrOutput { +func (o ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ToClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeletPtrOutput) Elem() ClusterRkeConfigServicesKubeletOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) ClusterRkeConfigServicesKubelet { +func (o ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Elem() ClusterRkeConfigServicesKubeApiAuditLogOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLog) ClusterRkeConfigServicesKubeApiAuditLog { if v != nil { return *v } - var ret ClusterRkeConfigServicesKubelet + var ret ClusterRkeConfigServicesKubeApiAuditLog return ret - }).(ClusterRkeConfigServicesKubeletOutput) -} - -// Cluster DNS Server option for kubelet service (string) -func (o ClusterRkeConfigServicesKubeletPtrOutput) ClusterDnsServer() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *string { - if v == nil { - return nil - } - return v.ClusterDnsServer - }).(pulumi.StringPtrOutput) -} - -// Cluster Domain option for kubelet service (string) -func (o ClusterRkeConfigServicesKubeletPtrOutput) ClusterDomain() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *string { - if v == nil { - return nil - } - return v.ClusterDomain - }).(pulumi.StringPtrOutput) -} - -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesKubeletPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) map[string]interface{} { - if v == nil { - return nil - } - return v.ExtraArgs - }).(pulumi.MapOutput) -} - -// Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesKubeletPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) []string { - if v == nil { - return nil - } - return v.ExtraBinds - }).(pulumi.StringArrayOutput) -} - -// Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesKubeletPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) []string { - if v == nil { - return nil - } - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) + }).(ClusterRkeConfigServicesKubeApiAuditLogOutput) } -// Enable or disable failing when swap on is not supported (bool) -func (o ClusterRkeConfigServicesKubeletPtrOutput) FailSwapOn() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *bool { +// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: +func (o ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Configuration() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLog) *ClusterRkeConfigServicesKubeApiAuditLogConfiguration { if v == nil { return nil } - return v.FailSwapOn - }).(pulumi.BoolPtrOutput) + return v.Configuration + }).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -// [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) -func (o ClusterRkeConfigServicesKubeletPtrOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *bool { +// Enable scheduled cluster scan. Default: `false` (bool) +func (o ClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLog) *bool { if v == nil { return nil } - return v.GenerateServingCertificate + return v.Enabled }).(pulumi.BoolPtrOutput) } -// Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesKubeletPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *string { - if v == nil { - return nil - } - return v.Image - }).(pulumi.StringPtrOutput) -} - -// Infra container image for kubelet service (string) -func (o ClusterRkeConfigServicesKubeletPtrOutput) InfraContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *string { - if v == nil { - return nil - } - return v.InfraContainerImage - }).(pulumi.StringPtrOutput) -} - -type ClusterRkeConfigServicesKubeproxy struct { - // Extra arguments for scheduler service (map) - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - // Extra binds for scheduler service (list) - ExtraBinds []string `pulumi:"extraBinds"` - // Extra environment for scheduler service (list) - ExtraEnvs []string `pulumi:"extraEnvs"` - // Docker image for scheduler service (string) - Image *string `pulumi:"image"` +type ClusterRkeConfigServicesKubeApiAuditLogConfiguration struct { + // Audit log format. Default: 'json' (string) + Format *string `pulumi:"format"` + // Audit log max age. Default: `30` (int) + MaxAge *int `pulumi:"maxAge"` + // Audit log max backup. Default: `10` (int) + MaxBackup *int `pulumi:"maxBackup"` + // The EKS node group maximum size. Default `2` (int) + MaxSize *int `pulumi:"maxSize"` + // (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) + Path *string `pulumi:"path"` + // Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: + Policy *string `pulumi:"policy"` } -// ClusterRkeConfigServicesKubeproxyInput is an input type that accepts ClusterRkeConfigServicesKubeproxyArgs and ClusterRkeConfigServicesKubeproxyOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeproxyInput` via: +// ClusterRkeConfigServicesKubeApiAuditLogConfigurationInput is an input type that accepts ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs and ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiAuditLogConfigurationInput` via: // -// ClusterRkeConfigServicesKubeproxyArgs{...} -type ClusterRkeConfigServicesKubeproxyInput interface { +// ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} +type ClusterRkeConfigServicesKubeApiAuditLogConfigurationInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeproxyOutput() ClusterRkeConfigServicesKubeproxyOutput - ToClusterRkeConfigServicesKubeproxyOutputWithContext(context.Context) ClusterRkeConfigServicesKubeproxyOutput + ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput + ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput } -type ClusterRkeConfigServicesKubeproxyArgs struct { - // Extra arguments for scheduler service (map) - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - // Extra binds for scheduler service (list) - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - // Extra environment for scheduler service (list) - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - // Docker image for scheduler service (string) - Image pulumi.StringPtrInput `pulumi:"image"` +type ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs struct { + // Audit log format. Default: 'json' (string) + Format pulumi.StringPtrInput `pulumi:"format"` + // Audit log max age. Default: `30` (int) + MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` + // Audit log max backup. Default: `10` (int) + MaxBackup pulumi.IntPtrInput `pulumi:"maxBackup"` + // The EKS node group maximum size. Default `2` (int) + MaxSize pulumi.IntPtrInput `pulumi:"maxSize"` + // (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) + Path pulumi.StringPtrInput `pulumi:"path"` + // Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: + Policy pulumi.StringPtrInput `pulumi:"policy"` } -func (ClusterRkeConfigServicesKubeproxyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeproxy)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (i ClusterRkeConfigServicesKubeproxyArgs) ToClusterRkeConfigServicesKubeproxyOutput() ClusterRkeConfigServicesKubeproxyOutput { - return i.ToClusterRkeConfigServicesKubeproxyOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return i.ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeproxyArgs) ToClusterRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeproxyOutput) +func (i ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) } -func (i ClusterRkeConfigServicesKubeproxyArgs) ToClusterRkeConfigServicesKubeproxyPtrOutput() ClusterRkeConfigServicesKubeproxyPtrOutput { - return i.ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return i.ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesKubeproxyArgs) ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeproxyOutput).ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput).ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesKubeproxyPtrInput is an input type that accepts ClusterRkeConfigServicesKubeproxyArgs, ClusterRkeConfigServicesKubeproxyPtr and ClusterRkeConfigServicesKubeproxyPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesKubeproxyPtrInput` via: +// ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput is an input type that accepts ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs, ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtr and ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput` via: // -// ClusterRkeConfigServicesKubeproxyArgs{...} +// ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} // // or: // // nil -type ClusterRkeConfigServicesKubeproxyPtrInput interface { +type ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesKubeproxyPtrOutput() ClusterRkeConfigServicesKubeproxyPtrOutput - ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeproxyPtrOutput + ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput + ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput } -type clusterRkeConfigServicesKubeproxyPtrType ClusterRkeConfigServicesKubeproxyArgs +type clusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs -func ClusterRkeConfigServicesKubeproxyPtr(v *ClusterRkeConfigServicesKubeproxyArgs) ClusterRkeConfigServicesKubeproxyPtrInput { - return (*clusterRkeConfigServicesKubeproxyPtrType)(v) +func ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtr(v *ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput { + return (*clusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType)(v) } -func (*clusterRkeConfigServicesKubeproxyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeproxy)(nil)).Elem() +func (*clusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (i *clusterRkeConfigServicesKubeproxyPtrType) ToClusterRkeConfigServicesKubeproxyPtrOutput() ClusterRkeConfigServicesKubeproxyPtrOutput { - return i.ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return i.ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesKubeproxyPtrType) ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeproxyPtrOutput) +func (i *clusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -type ClusterRkeConfigServicesKubeproxyOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesKubeproxyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesKubeproxy)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (o ClusterRkeConfigServicesKubeproxyOutput) ToClusterRkeConfigServicesKubeproxyOutput() ClusterRkeConfigServicesKubeproxyOutput { +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { return o } -func (o ClusterRkeConfigServicesKubeproxyOutput) ToClusterRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyOutput { +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { return o } -func (o ClusterRkeConfigServicesKubeproxyOutput) ToClusterRkeConfigServicesKubeproxyPtrOutput() ClusterRkeConfigServicesKubeproxyPtrOutput { - return o.ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesKubeproxyOutput) ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeproxy) *ClusterRkeConfigServicesKubeproxy { +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *ClusterRkeConfigServicesKubeApiAuditLogConfiguration { return &v - }).(ClusterRkeConfigServicesKubeproxyPtrOutput) + }).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesKubeproxyOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeproxy) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +// Audit log format. Default: 'json' (string) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { return v.Format }).(pulumi.StringPtrOutput) } -// Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesKubeproxyOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeproxy) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +// Audit log max age. Default: `30` (int) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxAge }).(pulumi.IntPtrOutput) } -// Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesKubeproxyOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeproxy) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +// Audit log max backup. Default: `10` (int) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxBackup() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxBackup }).(pulumi.IntPtrOutput) } -// Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesKubeproxyOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesKubeproxy) *string { return v.Image }).(pulumi.StringPtrOutput) +// The EKS node group maximum size. Default `2` (int) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxSize }).(pulumi.IntPtrOutput) } -type ClusterRkeConfigServicesKubeproxyPtrOutput struct{ *pulumi.OutputState } +// (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { return v.Path }).(pulumi.StringPtrOutput) +} -func (ClusterRkeConfigServicesKubeproxyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesKubeproxy)(nil)).Elem() +// Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Policy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { return v.Policy }).(pulumi.StringPtrOutput) } -func (o ClusterRkeConfigServicesKubeproxyPtrOutput) ToClusterRkeConfigServicesKubeproxyPtrOutput() ClusterRkeConfigServicesKubeproxyPtrOutput { +type ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +} + +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeproxyPtrOutput) ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyPtrOutput { +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { return o } -func (o ClusterRkeConfigServicesKubeproxyPtrOutput) Elem() ClusterRkeConfigServicesKubeproxyOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeproxy) ClusterRkeConfigServicesKubeproxy { +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Elem() ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) ClusterRkeConfigServicesKubeApiAuditLogConfiguration { if v != nil { return *v } - var ret ClusterRkeConfigServicesKubeproxy + var ret ClusterRkeConfigServicesKubeApiAuditLogConfiguration return ret - }).(ClusterRkeConfigServicesKubeproxyOutput) + }).(ClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) } -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesKubeproxyPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeproxy) map[string]interface{} { +// Audit log format. Default: 'json' (string) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { if v == nil { return nil } - return v.ExtraArgs - }).(pulumi.MapOutput) + return v.Format + }).(pulumi.StringPtrOutput) } -// Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesKubeproxyPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeproxy) []string { +// Audit log max age. Default: `30` (int) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { if v == nil { return nil } - return v.ExtraBinds - }).(pulumi.StringArrayOutput) + return v.MaxAge + }).(pulumi.IntPtrOutput) } -// Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesKubeproxyPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeproxy) []string { +// Audit log max backup. Default: `10` (int) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxBackup() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { if v == nil { return nil } - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) + return v.MaxBackup + }).(pulumi.IntPtrOutput) } -// Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesKubeproxyPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesKubeproxy) *string { +// The EKS node group maximum size. Default `2` (int) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { if v == nil { return nil } - return v.Image + return v.MaxSize + }).(pulumi.IntPtrOutput) +} + +// (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { + if v == nil { + return nil + } + return v.Path }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigServicesScheduler struct { - // Extra arguments for scheduler service (map) - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - // Extra binds for scheduler service (list) - ExtraBinds []string `pulumi:"extraBinds"` - // Extra environment for scheduler service (list) - ExtraEnvs []string `pulumi:"extraEnvs"` - // Docker image for scheduler service (string) - Image *string `pulumi:"image"` +// Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: +func (o ClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Policy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { + if v == nil { + return nil + } + return v.Policy + }).(pulumi.StringPtrOutput) } -// ClusterRkeConfigServicesSchedulerInput is an input type that accepts ClusterRkeConfigServicesSchedulerArgs and ClusterRkeConfigServicesSchedulerOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesSchedulerInput` via: +type ClusterRkeConfigServicesKubeApiEventRateLimit struct { + // Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: + Configuration *string `pulumi:"configuration"` + // Enable scheduled cluster scan. Default: `false` (bool) + Enabled *bool `pulumi:"enabled"` +} + +// ClusterRkeConfigServicesKubeApiEventRateLimitInput is an input type that accepts ClusterRkeConfigServicesKubeApiEventRateLimitArgs and ClusterRkeConfigServicesKubeApiEventRateLimitOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiEventRateLimitInput` via: // -// ClusterRkeConfigServicesSchedulerArgs{...} -type ClusterRkeConfigServicesSchedulerInput interface { +// ClusterRkeConfigServicesKubeApiEventRateLimitArgs{...} +type ClusterRkeConfigServicesKubeApiEventRateLimitInput interface { pulumi.Input - ToClusterRkeConfigServicesSchedulerOutput() ClusterRkeConfigServicesSchedulerOutput - ToClusterRkeConfigServicesSchedulerOutputWithContext(context.Context) ClusterRkeConfigServicesSchedulerOutput + ToClusterRkeConfigServicesKubeApiEventRateLimitOutput() ClusterRkeConfigServicesKubeApiEventRateLimitOutput + ToClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitOutput } -type ClusterRkeConfigServicesSchedulerArgs struct { - // Extra arguments for scheduler service (map) - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - // Extra binds for scheduler service (list) - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - // Extra environment for scheduler service (list) - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - // Docker image for scheduler service (string) - Image pulumi.StringPtrInput `pulumi:"image"` +type ClusterRkeConfigServicesKubeApiEventRateLimitArgs struct { + // Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: + Configuration pulumi.StringPtrInput `pulumi:"configuration"` + // Enable scheduled cluster scan. Default: `false` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (ClusterRkeConfigServicesSchedulerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesScheduler)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (i ClusterRkeConfigServicesSchedulerArgs) ToClusterRkeConfigServicesSchedulerOutput() ClusterRkeConfigServicesSchedulerOutput { - return i.ToClusterRkeConfigServicesSchedulerOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterRkeConfigServicesKubeApiEventRateLimitOutput() ClusterRkeConfigServicesKubeApiEventRateLimitOutput { + return i.ToClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesSchedulerArgs) ToClusterRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesSchedulerOutput) +func (i ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiEventRateLimitOutput) } -func (i ClusterRkeConfigServicesSchedulerArgs) ToClusterRkeConfigServicesSchedulerPtrOutput() ClusterRkeConfigServicesSchedulerPtrOutput { - return i.ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return i.ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigServicesSchedulerArgs) ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesSchedulerOutput).ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiEventRateLimitOutput).ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx) } -// ClusterRkeConfigServicesSchedulerPtrInput is an input type that accepts ClusterRkeConfigServicesSchedulerArgs, ClusterRkeConfigServicesSchedulerPtr and ClusterRkeConfigServicesSchedulerPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigServicesSchedulerPtrInput` via: +// ClusterRkeConfigServicesKubeApiEventRateLimitPtrInput is an input type that accepts ClusterRkeConfigServicesKubeApiEventRateLimitArgs, ClusterRkeConfigServicesKubeApiEventRateLimitPtr and ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiEventRateLimitPtrInput` via: // -// ClusterRkeConfigServicesSchedulerArgs{...} +// ClusterRkeConfigServicesKubeApiEventRateLimitArgs{...} // // or: // // nil -type ClusterRkeConfigServicesSchedulerPtrInput interface { +type ClusterRkeConfigServicesKubeApiEventRateLimitPtrInput interface { pulumi.Input - ToClusterRkeConfigServicesSchedulerPtrOutput() ClusterRkeConfigServicesSchedulerPtrOutput - ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(context.Context) ClusterRkeConfigServicesSchedulerPtrOutput + ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput + ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput } -type clusterRkeConfigServicesSchedulerPtrType ClusterRkeConfigServicesSchedulerArgs +type clusterRkeConfigServicesKubeApiEventRateLimitPtrType ClusterRkeConfigServicesKubeApiEventRateLimitArgs -func ClusterRkeConfigServicesSchedulerPtr(v *ClusterRkeConfigServicesSchedulerArgs) ClusterRkeConfigServicesSchedulerPtrInput { - return (*clusterRkeConfigServicesSchedulerPtrType)(v) +func ClusterRkeConfigServicesKubeApiEventRateLimitPtr(v *ClusterRkeConfigServicesKubeApiEventRateLimitArgs) ClusterRkeConfigServicesKubeApiEventRateLimitPtrInput { + return (*clusterRkeConfigServicesKubeApiEventRateLimitPtrType)(v) } -func (*clusterRkeConfigServicesSchedulerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesScheduler)(nil)).Elem() +func (*clusterRkeConfigServicesKubeApiEventRateLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (i *clusterRkeConfigServicesSchedulerPtrType) ToClusterRkeConfigServicesSchedulerPtrOutput() ClusterRkeConfigServicesSchedulerPtrOutput { - return i.ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesKubeApiEventRateLimitPtrType) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return i.ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigServicesSchedulerPtrType) ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesSchedulerPtrOutput) +func (i *clusterRkeConfigServicesKubeApiEventRateLimitPtrType) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) } -type ClusterRkeConfigServicesSchedulerOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeApiEventRateLimitOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesSchedulerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigServicesScheduler)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiEventRateLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (o ClusterRkeConfigServicesSchedulerOutput) ToClusterRkeConfigServicesSchedulerOutput() ClusterRkeConfigServicesSchedulerOutput { +func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitOutput() ClusterRkeConfigServicesKubeApiEventRateLimitOutput { return o } -func (o ClusterRkeConfigServicesSchedulerOutput) ToClusterRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerOutput { +func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitOutput { return o } -func (o ClusterRkeConfigServicesSchedulerOutput) ToClusterRkeConfigServicesSchedulerPtrOutput() ClusterRkeConfigServicesSchedulerPtrOutput { - return o.ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigServicesSchedulerOutput) ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesScheduler) *ClusterRkeConfigServicesScheduler { +func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeApiEventRateLimit) *ClusterRkeConfigServicesKubeApiEventRateLimit { return &v - }).(ClusterRkeConfigServicesSchedulerPtrOutput) -} - -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesSchedulerOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesScheduler) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) -} - -// Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesSchedulerOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesScheduler) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) + }).(ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) } -// Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesSchedulerOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesScheduler) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: +func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) Configuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiEventRateLimit) *string { return v.Configuration }).(pulumi.StringPtrOutput) } -// Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesSchedulerOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigServicesScheduler) *string { return v.Image }).(pulumi.StringPtrOutput) +// Enable scheduled cluster scan. Default: `false` (bool) +func (o ClusterRkeConfigServicesKubeApiEventRateLimitOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiEventRateLimit) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type ClusterRkeConfigServicesSchedulerPtrOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigServicesSchedulerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigServicesScheduler)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (o ClusterRkeConfigServicesSchedulerPtrOutput) ToClusterRkeConfigServicesSchedulerPtrOutput() ClusterRkeConfigServicesSchedulerPtrOutput { +func (o ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { return o } -func (o ClusterRkeConfigServicesSchedulerPtrOutput) ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerPtrOutput { +func (o ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { return o } -func (o ClusterRkeConfigServicesSchedulerPtrOutput) Elem() ClusterRkeConfigServicesSchedulerOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesScheduler) ClusterRkeConfigServicesScheduler { +func (o ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Elem() ClusterRkeConfigServicesKubeApiEventRateLimitOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiEventRateLimit) ClusterRkeConfigServicesKubeApiEventRateLimit { if v != nil { return *v } - var ret ClusterRkeConfigServicesScheduler + var ret ClusterRkeConfigServicesKubeApiEventRateLimit return ret - }).(ClusterRkeConfigServicesSchedulerOutput) -} - -// Extra arguments for scheduler service (map) -func (o ClusterRkeConfigServicesSchedulerPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesScheduler) map[string]interface{} { - if v == nil { - return nil - } - return v.ExtraArgs - }).(pulumi.MapOutput) -} - -// Extra binds for scheduler service (list) -func (o ClusterRkeConfigServicesSchedulerPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesScheduler) []string { - if v == nil { - return nil - } - return v.ExtraBinds - }).(pulumi.StringArrayOutput) + }).(ClusterRkeConfigServicesKubeApiEventRateLimitOutput) } -// Extra environment for scheduler service (list) -func (o ClusterRkeConfigServicesSchedulerPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesScheduler) []string { +// Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: +func (o ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Configuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiEventRateLimit) *string { if v == nil { return nil } - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) + return v.Configuration + }).(pulumi.StringPtrOutput) } -// Docker image for scheduler service (string) -func (o ClusterRkeConfigServicesSchedulerPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigServicesScheduler) *string { +// Enable scheduled cluster scan. Default: `false` (bool) +func (o ClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiEventRateLimit) *bool { if v == nil { return nil } - return v.Image - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type ClusterRkeConfigUpgradeStrategy struct { - // RKE drain nodes. Default: `false` (bool) - Drain *bool `pulumi:"drain"` - // RKE drain node input (list Maxitems: 1) - DrainInput *ClusterRkeConfigUpgradeStrategyDrainInput `pulumi:"drainInput"` - // RKE max unavailable controlplane nodes. Default: `1` (string) - MaxUnavailableControlplane *string `pulumi:"maxUnavailableControlplane"` - // RKE max unavailable worker nodes. Default: `10%` (string) - MaxUnavailableWorker *string `pulumi:"maxUnavailableWorker"` +type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig struct { + // Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: + CustomConfig *string `pulumi:"customConfig"` + // Enable scheduled cluster scan. Default: `false` (bool) + Enabled *bool `pulumi:"enabled"` } -// ClusterRkeConfigUpgradeStrategyInput is an input type that accepts ClusterRkeConfigUpgradeStrategyArgs and ClusterRkeConfigUpgradeStrategyOutput values. -// You can construct a concrete instance of `ClusterRkeConfigUpgradeStrategyInput` via: +// ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput is an input type that accepts ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs and ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput` via: // -// ClusterRkeConfigUpgradeStrategyArgs{...} -type ClusterRkeConfigUpgradeStrategyInput interface { +// ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} +type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput interface { pulumi.Input - ToClusterRkeConfigUpgradeStrategyOutput() ClusterRkeConfigUpgradeStrategyOutput - ToClusterRkeConfigUpgradeStrategyOutputWithContext(context.Context) ClusterRkeConfigUpgradeStrategyOutput + ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput + ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput } -type ClusterRkeConfigUpgradeStrategyArgs struct { - // RKE drain nodes. Default: `false` (bool) - Drain pulumi.BoolPtrInput `pulumi:"drain"` - // RKE drain node input (list Maxitems: 1) - DrainInput ClusterRkeConfigUpgradeStrategyDrainInputPtrInput `pulumi:"drainInput"` - // RKE max unavailable controlplane nodes. Default: `1` (string) - MaxUnavailableControlplane pulumi.StringPtrInput `pulumi:"maxUnavailableControlplane"` - // RKE max unavailable worker nodes. Default: `10%` (string) - MaxUnavailableWorker pulumi.StringPtrInput `pulumi:"maxUnavailableWorker"` +type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs struct { + // Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: + CustomConfig pulumi.StringPtrInput `pulumi:"customConfig"` + // Enable scheduled cluster scan. Default: `false` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (ClusterRkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigUpgradeStrategy)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (i ClusterRkeConfigUpgradeStrategyArgs) ToClusterRkeConfigUpgradeStrategyOutput() ClusterRkeConfigUpgradeStrategyOutput { - return i.ToClusterRkeConfigUpgradeStrategyOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return i.ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Background()) } -func (i ClusterRkeConfigUpgradeStrategyArgs) ToClusterRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyOutput) +func (i ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) } -func (i ClusterRkeConfigUpgradeStrategyArgs) ToClusterRkeConfigUpgradeStrategyPtrOutput() ClusterRkeConfigUpgradeStrategyPtrOutput { - return i.ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return i.ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigUpgradeStrategyArgs) ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyOutput).ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput).ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx) } -// ClusterRkeConfigUpgradeStrategyPtrInput is an input type that accepts ClusterRkeConfigUpgradeStrategyArgs, ClusterRkeConfigUpgradeStrategyPtr and ClusterRkeConfigUpgradeStrategyPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigUpgradeStrategyPtrInput` via: +// ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput is an input type that accepts ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs, ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtr and ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput` via: // -// ClusterRkeConfigUpgradeStrategyArgs{...} +// ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} // // or: // // nil -type ClusterRkeConfigUpgradeStrategyPtrInput interface { +type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput interface { pulumi.Input - ToClusterRkeConfigUpgradeStrategyPtrOutput() ClusterRkeConfigUpgradeStrategyPtrOutput - ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(context.Context) ClusterRkeConfigUpgradeStrategyPtrOutput + ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput + ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput } -type clusterRkeConfigUpgradeStrategyPtrType ClusterRkeConfigUpgradeStrategyArgs +type clusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs -func ClusterRkeConfigUpgradeStrategyPtr(v *ClusterRkeConfigUpgradeStrategyArgs) ClusterRkeConfigUpgradeStrategyPtrInput { - return (*clusterRkeConfigUpgradeStrategyPtrType)(v) +func ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtr(v *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput { + return (*clusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType)(v) } -func (*clusterRkeConfigUpgradeStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigUpgradeStrategy)(nil)).Elem() +func (*clusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (i *clusterRkeConfigUpgradeStrategyPtrType) ToClusterRkeConfigUpgradeStrategyPtrOutput() ClusterRkeConfigUpgradeStrategyPtrOutput { - return i.ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return i.ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigUpgradeStrategyPtrType) ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyPtrOutput) +func (i *clusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } -type ClusterRkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigUpgradeStrategy)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (o ClusterRkeConfigUpgradeStrategyOutput) ToClusterRkeConfigUpgradeStrategyOutput() ClusterRkeConfigUpgradeStrategyOutput { +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { return o } -func (o ClusterRkeConfigUpgradeStrategyOutput) ToClusterRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyOutput { +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { return o } -func (o ClusterRkeConfigUpgradeStrategyOutput) ToClusterRkeConfigUpgradeStrategyPtrOutput() ClusterRkeConfigUpgradeStrategyPtrOutput { - return o.ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigUpgradeStrategyOutput) ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigUpgradeStrategy) *ClusterRkeConfigUpgradeStrategy { +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { return &v - }).(ClusterRkeConfigUpgradeStrategyPtrOutput) -} - -// RKE drain nodes. Default: `false` (bool) -func (o ClusterRkeConfigUpgradeStrategyOutput) Drain() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategy) *bool { return v.Drain }).(pulumi.BoolPtrOutput) -} - -// RKE drain node input (list Maxitems: 1) -func (o ClusterRkeConfigUpgradeStrategyOutput) DrainInput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategy) *ClusterRkeConfigUpgradeStrategyDrainInput { - return v.DrainInput - }).(ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) + }).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } -// RKE max unavailable controlplane nodes. Default: `1` (string) -func (o ClusterRkeConfigUpgradeStrategyOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategy) *string { return v.MaxUnavailableControlplane }).(pulumi.StringPtrOutput) +// Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) CustomConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { return v.CustomConfig }).(pulumi.StringPtrOutput) } -// RKE max unavailable worker nodes. Default: `10%` (string) -func (o ClusterRkeConfigUpgradeStrategyOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategy) *string { return v.MaxUnavailableWorker }).(pulumi.StringPtrOutput) +// Enable scheduled cluster scan. Default: `false` (bool) +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type ClusterRkeConfigUpgradeStrategyPtrOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigUpgradeStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigUpgradeStrategy)(nil)).Elem() +func (ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (o ClusterRkeConfigUpgradeStrategyPtrOutput) ToClusterRkeConfigUpgradeStrategyPtrOutput() ClusterRkeConfigUpgradeStrategyPtrOutput { +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { return o } -func (o ClusterRkeConfigUpgradeStrategyPtrOutput) ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyPtrOutput { +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { return o } -func (o ClusterRkeConfigUpgradeStrategyPtrOutput) Elem() ClusterRkeConfigUpgradeStrategyOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategy) ClusterRkeConfigUpgradeStrategy { +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Elem() ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { if v != nil { return *v } - var ret ClusterRkeConfigUpgradeStrategy + var ret ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig return ret - }).(ClusterRkeConfigUpgradeStrategyOutput) -} - -// RKE drain nodes. Default: `false` (bool) -func (o ClusterRkeConfigUpgradeStrategyPtrOutput) Drain() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategy) *bool { - if v == nil { - return nil - } - return v.Drain - }).(pulumi.BoolPtrOutput) -} - -// RKE drain node input (list Maxitems: 1) -func (o ClusterRkeConfigUpgradeStrategyPtrOutput) DrainInput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategy) *ClusterRkeConfigUpgradeStrategyDrainInput { - if v == nil { - return nil - } - return v.DrainInput - }).(ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) + }).(ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) } -// RKE max unavailable controlplane nodes. Default: `1` (string) -func (o ClusterRkeConfigUpgradeStrategyPtrOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategy) *string { +// Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) CustomConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { if v == nil { return nil } - return v.MaxUnavailableControlplane + return v.CustomConfig }).(pulumi.StringPtrOutput) } -// RKE max unavailable worker nodes. Default: `10%` (string) -func (o ClusterRkeConfigUpgradeStrategyPtrOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategy) *string { +// Enable scheduled cluster scan. Default: `false` (bool) +func (o ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { if v == nil { return nil } - return v.MaxUnavailableWorker - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type ClusterRkeConfigUpgradeStrategyDrainInput struct { - // Delete RKE node local data. Default: `false` (bool) - DeleteLocalData *bool `pulumi:"deleteLocalData"` - // Force RKE node drain. Default: `false` (bool) - Force *bool `pulumi:"force"` - // RKE node drain grace period. Default: `-1` (int) - GracePeriod *int `pulumi:"gracePeriod"` - // Ignore RKE daemon sets. Default: `true` (bool) - IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` - // RKE node drain timeout. Default: `60` (int) - Timeout *int `pulumi:"timeout"` +type ClusterRkeConfigServicesKubeController struct { + // Cluster CIDR option for kube controller service (string) + ClusterCidr *string `pulumi:"clusterCidr"` + // Extra arguments for scheduler service (map) + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + // Extra binds for scheduler service (list) + ExtraBinds []string `pulumi:"extraBinds"` + // Extra environment for scheduler service (list) + ExtraEnvs []string `pulumi:"extraEnvs"` + // Docker image for scheduler service (string) + Image *string `pulumi:"image"` + // Service Cluster ip Range option for kube controller service (string) + ServiceClusterIpRange *string `pulumi:"serviceClusterIpRange"` } -// ClusterRkeConfigUpgradeStrategyDrainInputInput is an input type that accepts ClusterRkeConfigUpgradeStrategyDrainInputArgs and ClusterRkeConfigUpgradeStrategyDrainInputOutput values. -// You can construct a concrete instance of `ClusterRkeConfigUpgradeStrategyDrainInputInput` via: +// ClusterRkeConfigServicesKubeControllerInput is an input type that accepts ClusterRkeConfigServicesKubeControllerArgs and ClusterRkeConfigServicesKubeControllerOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeControllerInput` via: // -// ClusterRkeConfigUpgradeStrategyDrainInputArgs{...} -type ClusterRkeConfigUpgradeStrategyDrainInputInput interface { +// ClusterRkeConfigServicesKubeControllerArgs{...} +type ClusterRkeConfigServicesKubeControllerInput interface { pulumi.Input - ToClusterRkeConfigUpgradeStrategyDrainInputOutput() ClusterRkeConfigUpgradeStrategyDrainInputOutput - ToClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Context) ClusterRkeConfigUpgradeStrategyDrainInputOutput + ToClusterRkeConfigServicesKubeControllerOutput() ClusterRkeConfigServicesKubeControllerOutput + ToClusterRkeConfigServicesKubeControllerOutputWithContext(context.Context) ClusterRkeConfigServicesKubeControllerOutput } -type ClusterRkeConfigUpgradeStrategyDrainInputArgs struct { - // Delete RKE node local data. Default: `false` (bool) - DeleteLocalData pulumi.BoolPtrInput `pulumi:"deleteLocalData"` - // Force RKE node drain. Default: `false` (bool) - Force pulumi.BoolPtrInput `pulumi:"force"` - // RKE node drain grace period. Default: `-1` (int) - GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` - // Ignore RKE daemon sets. Default: `true` (bool) - IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` - // RKE node drain timeout. Default: `60` (int) - Timeout pulumi.IntPtrInput `pulumi:"timeout"` +type ClusterRkeConfigServicesKubeControllerArgs struct { + // Cluster CIDR option for kube controller service (string) + ClusterCidr pulumi.StringPtrInput `pulumi:"clusterCidr"` + // Extra arguments for scheduler service (map) + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + // Extra binds for scheduler service (list) + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + // Extra environment for scheduler service (list) + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + // Docker image for scheduler service (string) + Image pulumi.StringPtrInput `pulumi:"image"` + // Service Cluster ip Range option for kube controller service (string) + ServiceClusterIpRange pulumi.StringPtrInput `pulumi:"serviceClusterIpRange"` } -func (ClusterRkeConfigUpgradeStrategyDrainInputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (ClusterRkeConfigServicesKubeControllerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeController)(nil)).Elem() } -func (i ClusterRkeConfigUpgradeStrategyDrainInputArgs) ToClusterRkeConfigUpgradeStrategyDrainInputOutput() ClusterRkeConfigUpgradeStrategyDrainInputOutput { - return i.ToClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeControllerArgs) ToClusterRkeConfigServicesKubeControllerOutput() ClusterRkeConfigServicesKubeControllerOutput { + return i.ToClusterRkeConfigServicesKubeControllerOutputWithContext(context.Background()) } -func (i ClusterRkeConfigUpgradeStrategyDrainInputArgs) ToClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyDrainInputOutput) +func (i ClusterRkeConfigServicesKubeControllerArgs) ToClusterRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeControllerOutput) } -func (i ClusterRkeConfigUpgradeStrategyDrainInputArgs) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { - return i.ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeControllerArgs) ToClusterRkeConfigServicesKubeControllerPtrOutput() ClusterRkeConfigServicesKubeControllerPtrOutput { + return i.ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) } -func (i ClusterRkeConfigUpgradeStrategyDrainInputArgs) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyDrainInputOutput).ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesKubeControllerArgs) ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeControllerOutput).ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(ctx) } -// ClusterRkeConfigUpgradeStrategyDrainInputPtrInput is an input type that accepts ClusterRkeConfigUpgradeStrategyDrainInputArgs, ClusterRkeConfigUpgradeStrategyDrainInputPtr and ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput values. -// You can construct a concrete instance of `ClusterRkeConfigUpgradeStrategyDrainInputPtrInput` via: +// ClusterRkeConfigServicesKubeControllerPtrInput is an input type that accepts ClusterRkeConfigServicesKubeControllerArgs, ClusterRkeConfigServicesKubeControllerPtr and ClusterRkeConfigServicesKubeControllerPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeControllerPtrInput` via: // -// ClusterRkeConfigUpgradeStrategyDrainInputArgs{...} +// ClusterRkeConfigServicesKubeControllerArgs{...} // // or: // // nil -type ClusterRkeConfigUpgradeStrategyDrainInputPtrInput interface { +type ClusterRkeConfigServicesKubeControllerPtrInput interface { pulumi.Input - ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput - ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Context) ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput + ToClusterRkeConfigServicesKubeControllerPtrOutput() ClusterRkeConfigServicesKubeControllerPtrOutput + ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeControllerPtrOutput } -type clusterRkeConfigUpgradeStrategyDrainInputPtrType ClusterRkeConfigUpgradeStrategyDrainInputArgs +type clusterRkeConfigServicesKubeControllerPtrType ClusterRkeConfigServicesKubeControllerArgs -func ClusterRkeConfigUpgradeStrategyDrainInputPtr(v *ClusterRkeConfigUpgradeStrategyDrainInputArgs) ClusterRkeConfigUpgradeStrategyDrainInputPtrInput { - return (*clusterRkeConfigUpgradeStrategyDrainInputPtrType)(v) +func ClusterRkeConfigServicesKubeControllerPtr(v *ClusterRkeConfigServicesKubeControllerArgs) ClusterRkeConfigServicesKubeControllerPtrInput { + return (*clusterRkeConfigServicesKubeControllerPtrType)(v) } -func (*clusterRkeConfigUpgradeStrategyDrainInputPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (*clusterRkeConfigServicesKubeControllerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeController)(nil)).Elem() } -func (i *clusterRkeConfigUpgradeStrategyDrainInputPtrType) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { - return i.ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesKubeControllerPtrType) ToClusterRkeConfigServicesKubeControllerPtrOutput() ClusterRkeConfigServicesKubeControllerPtrOutput { + return i.ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) } -func (i *clusterRkeConfigUpgradeStrategyDrainInputPtrType) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) +func (i *clusterRkeConfigServicesKubeControllerPtrType) ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeControllerPtrOutput) } -type ClusterRkeConfigUpgradeStrategyDrainInputOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeControllerOutput struct{ *pulumi.OutputState } -func (ClusterRkeConfigUpgradeStrategyDrainInputOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (ClusterRkeConfigServicesKubeControllerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeController)(nil)).Elem() } -func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) ToClusterRkeConfigUpgradeStrategyDrainInputOutput() ClusterRkeConfigUpgradeStrategyDrainInputOutput { +func (o ClusterRkeConfigServicesKubeControllerOutput) ToClusterRkeConfigServicesKubeControllerOutput() ClusterRkeConfigServicesKubeControllerOutput { return o } -func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) ToClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputOutput { +func (o ClusterRkeConfigServicesKubeControllerOutput) ToClusterRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerOutput { return o } -func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { - return o.ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesKubeControllerOutput) ToClusterRkeConfigServicesKubeControllerPtrOutput() ClusterRkeConfigServicesKubeControllerPtrOutput { + return o.ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) } -func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigUpgradeStrategyDrainInput) *ClusterRkeConfigUpgradeStrategyDrainInput { +func (o ClusterRkeConfigServicesKubeControllerOutput) ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeController) *ClusterRkeConfigServicesKubeController { return &v - }).(ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) + }).(ClusterRkeConfigServicesKubeControllerPtrOutput) } -// Delete RKE node local data. Default: `false` (bool) -func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) DeleteLocalData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.DeleteLocalData }).(pulumi.BoolPtrOutput) +// Cluster CIDR option for kube controller service (string) +func (o ClusterRkeConfigServicesKubeControllerOutput) ClusterCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) *string { return v.ClusterCidr }).(pulumi.StringPtrOutput) } -// Force RKE node drain. Default: `false` (bool) -func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.Force }).(pulumi.BoolPtrOutput) +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesKubeControllerOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } -// RKE node drain grace period. Default: `-1` (int) -func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategyDrainInput) *int { return v.GracePeriod }).(pulumi.IntPtrOutput) +// Extra binds for scheduler service (list) +func (o ClusterRkeConfigServicesKubeControllerOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) } -// Ignore RKE daemon sets. Default: `true` (bool) -func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) +// Extra environment for scheduler service (list) +func (o ClusterRkeConfigServicesKubeControllerOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -// RKE node drain timeout. Default: `60` (int) -func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategyDrainInput) *int { return v.Timeout }).(pulumi.IntPtrOutput) +// Docker image for scheduler service (string) +func (o ClusterRkeConfigServicesKubeControllerOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) *string { return v.Image }).(pulumi.StringPtrOutput) } -type ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput struct{ *pulumi.OutputState } +// Service Cluster ip Range option for kube controller service (string) +func (o ClusterRkeConfigServicesKubeControllerOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeController) *string { return v.ServiceClusterIpRange }).(pulumi.StringPtrOutput) +} -func (ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +type ClusterRkeConfigServicesKubeControllerPtrOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigServicesKubeControllerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeController)(nil)).Elem() } -func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { +func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ToClusterRkeConfigServicesKubeControllerPtrOutput() ClusterRkeConfigServicesKubeControllerPtrOutput { return o } -func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { +func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ToClusterRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeControllerPtrOutput { return o } -func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) Elem() ClusterRkeConfigUpgradeStrategyDrainInputOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) ClusterRkeConfigUpgradeStrategyDrainInput { +func (o ClusterRkeConfigServicesKubeControllerPtrOutput) Elem() ClusterRkeConfigServicesKubeControllerOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) ClusterRkeConfigServicesKubeController { if v != nil { return *v } - var ret ClusterRkeConfigUpgradeStrategyDrainInput + var ret ClusterRkeConfigServicesKubeController return ret - }).(ClusterRkeConfigUpgradeStrategyDrainInputOutput) + }).(ClusterRkeConfigServicesKubeControllerOutput) } -// Delete RKE node local data. Default: `false` (bool) -func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) DeleteLocalData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) *bool { +// Cluster CIDR option for kube controller service (string) +func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ClusterCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) *string { if v == nil { return nil } - return v.DeleteLocalData - }).(pulumi.BoolPtrOutput) + return v.ClusterCidr + }).(pulumi.StringPtrOutput) } -// Force RKE node drain. Default: `false` (bool) -func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) *bool { +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) map[string]interface{} { if v == nil { return nil } - return v.Force - }).(pulumi.BoolPtrOutput) + return v.ExtraArgs + }).(pulumi.MapOutput) } -// RKE node drain grace period. Default: `-1` (int) -func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) *int { +// Extra binds for scheduler service (list) +func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) []string { if v == nil { return nil } - return v.GracePeriod - }).(pulumi.IntPtrOutput) + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -// Ignore RKE daemon sets. Default: `true` (bool) -func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) *bool { +// Extra environment for scheduler service (list) +func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) []string { if v == nil { return nil } - return v.IgnoreDaemonSets - }).(pulumi.BoolPtrOutput) + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -// RKE node drain timeout. Default: `60` (int) -func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) *int { +// Docker image for scheduler service (string) +func (o ClusterRkeConfigServicesKubeControllerPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) *string { if v == nil { return nil } - return v.Timeout - }).(pulumi.IntPtrOutput) + return v.Image + }).(pulumi.StringPtrOutput) } -type ClusterScheduledClusterScan struct { - // Enable scheduled cluster scan. Default: `false` (bool) - Enabled *bool `pulumi:"enabled"` - // Cluster scan config (List maxitems:1) - ScanConfig ClusterScheduledClusterScanScanConfig `pulumi:"scanConfig"` - // Cluster scan schedule config (list maxitems:1) - ScheduleConfig ClusterScheduledClusterScanScheduleConfig `pulumi:"scheduleConfig"` +// Service Cluster ip Range option for kube controller service (string) +func (o ClusterRkeConfigServicesKubeControllerPtrOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeController) *string { + if v == nil { + return nil + } + return v.ServiceClusterIpRange + }).(pulumi.StringPtrOutput) } -// ClusterScheduledClusterScanInput is an input type that accepts ClusterScheduledClusterScanArgs and ClusterScheduledClusterScanOutput values. -// You can construct a concrete instance of `ClusterScheduledClusterScanInput` via: +type ClusterRkeConfigServicesKubelet struct { + // Cluster DNS Server option for kubelet service (string) + ClusterDnsServer *string `pulumi:"clusterDnsServer"` + // Cluster Domain option for kubelet service (string) + ClusterDomain *string `pulumi:"clusterDomain"` + // Extra arguments for scheduler service (map) + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + // Extra binds for scheduler service (list) + ExtraBinds []string `pulumi:"extraBinds"` + // Extra environment for scheduler service (list) + ExtraEnvs []string `pulumi:"extraEnvs"` + // Enable or disable failing when swap on is not supported (bool) + FailSwapOn *bool `pulumi:"failSwapOn"` + // [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) + GenerateServingCertificate *bool `pulumi:"generateServingCertificate"` + // Docker image for scheduler service (string) + Image *string `pulumi:"image"` + // Infra container image for kubelet service (string) + InfraContainerImage *string `pulumi:"infraContainerImage"` +} + +// ClusterRkeConfigServicesKubeletInput is an input type that accepts ClusterRkeConfigServicesKubeletArgs and ClusterRkeConfigServicesKubeletOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeletInput` via: // -// ClusterScheduledClusterScanArgs{...} -type ClusterScheduledClusterScanInput interface { +// ClusterRkeConfigServicesKubeletArgs{...} +type ClusterRkeConfigServicesKubeletInput interface { pulumi.Input - ToClusterScheduledClusterScanOutput() ClusterScheduledClusterScanOutput - ToClusterScheduledClusterScanOutputWithContext(context.Context) ClusterScheduledClusterScanOutput + ToClusterRkeConfigServicesKubeletOutput() ClusterRkeConfigServicesKubeletOutput + ToClusterRkeConfigServicesKubeletOutputWithContext(context.Context) ClusterRkeConfigServicesKubeletOutput } -type ClusterScheduledClusterScanArgs struct { - // Enable scheduled cluster scan. Default: `false` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // Cluster scan config (List maxitems:1) - ScanConfig ClusterScheduledClusterScanScanConfigInput `pulumi:"scanConfig"` - // Cluster scan schedule config (list maxitems:1) - ScheduleConfig ClusterScheduledClusterScanScheduleConfigInput `pulumi:"scheduleConfig"` +type ClusterRkeConfigServicesKubeletArgs struct { + // Cluster DNS Server option for kubelet service (string) + ClusterDnsServer pulumi.StringPtrInput `pulumi:"clusterDnsServer"` + // Cluster Domain option for kubelet service (string) + ClusterDomain pulumi.StringPtrInput `pulumi:"clusterDomain"` + // Extra arguments for scheduler service (map) + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + // Extra binds for scheduler service (list) + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + // Extra environment for scheduler service (list) + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + // Enable or disable failing when swap on is not supported (bool) + FailSwapOn pulumi.BoolPtrInput `pulumi:"failSwapOn"` + // [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) + GenerateServingCertificate pulumi.BoolPtrInput `pulumi:"generateServingCertificate"` + // Docker image for scheduler service (string) + Image pulumi.StringPtrInput `pulumi:"image"` + // Infra container image for kubelet service (string) + InfraContainerImage pulumi.StringPtrInput `pulumi:"infraContainerImage"` } -func (ClusterScheduledClusterScanArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterScheduledClusterScan)(nil)).Elem() +func (ClusterRkeConfigServicesKubeletArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubelet)(nil)).Elem() } -func (i ClusterScheduledClusterScanArgs) ToClusterScheduledClusterScanOutput() ClusterScheduledClusterScanOutput { - return i.ToClusterScheduledClusterScanOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeletArgs) ToClusterRkeConfigServicesKubeletOutput() ClusterRkeConfigServicesKubeletOutput { + return i.ToClusterRkeConfigServicesKubeletOutputWithContext(context.Background()) } -func (i ClusterScheduledClusterScanArgs) ToClusterScheduledClusterScanOutputWithContext(ctx context.Context) ClusterScheduledClusterScanOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanOutput) +func (i ClusterRkeConfigServicesKubeletArgs) ToClusterRkeConfigServicesKubeletOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeletOutput) } -func (i ClusterScheduledClusterScanArgs) ToClusterScheduledClusterScanPtrOutput() ClusterScheduledClusterScanPtrOutput { - return i.ToClusterScheduledClusterScanPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesKubeletArgs) ToClusterRkeConfigServicesKubeletPtrOutput() ClusterRkeConfigServicesKubeletPtrOutput { + return i.ToClusterRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) } -func (i ClusterScheduledClusterScanArgs) ToClusterScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanOutput).ToClusterScheduledClusterScanPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesKubeletArgs) ToClusterRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeletOutput).ToClusterRkeConfigServicesKubeletPtrOutputWithContext(ctx) } -// ClusterScheduledClusterScanPtrInput is an input type that accepts ClusterScheduledClusterScanArgs, ClusterScheduledClusterScanPtr and ClusterScheduledClusterScanPtrOutput values. -// You can construct a concrete instance of `ClusterScheduledClusterScanPtrInput` via: +// ClusterRkeConfigServicesKubeletPtrInput is an input type that accepts ClusterRkeConfigServicesKubeletArgs, ClusterRkeConfigServicesKubeletPtr and ClusterRkeConfigServicesKubeletPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeletPtrInput` via: // -// ClusterScheduledClusterScanArgs{...} +// ClusterRkeConfigServicesKubeletArgs{...} // // or: // // nil -type ClusterScheduledClusterScanPtrInput interface { +type ClusterRkeConfigServicesKubeletPtrInput interface { pulumi.Input - ToClusterScheduledClusterScanPtrOutput() ClusterScheduledClusterScanPtrOutput - ToClusterScheduledClusterScanPtrOutputWithContext(context.Context) ClusterScheduledClusterScanPtrOutput + ToClusterRkeConfigServicesKubeletPtrOutput() ClusterRkeConfigServicesKubeletPtrOutput + ToClusterRkeConfigServicesKubeletPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeletPtrOutput } -type clusterScheduledClusterScanPtrType ClusterScheduledClusterScanArgs +type clusterRkeConfigServicesKubeletPtrType ClusterRkeConfigServicesKubeletArgs -func ClusterScheduledClusterScanPtr(v *ClusterScheduledClusterScanArgs) ClusterScheduledClusterScanPtrInput { - return (*clusterScheduledClusterScanPtrType)(v) +func ClusterRkeConfigServicesKubeletPtr(v *ClusterRkeConfigServicesKubeletArgs) ClusterRkeConfigServicesKubeletPtrInput { + return (*clusterRkeConfigServicesKubeletPtrType)(v) } -func (*clusterScheduledClusterScanPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterScheduledClusterScan)(nil)).Elem() +func (*clusterRkeConfigServicesKubeletPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubelet)(nil)).Elem() } -func (i *clusterScheduledClusterScanPtrType) ToClusterScheduledClusterScanPtrOutput() ClusterScheduledClusterScanPtrOutput { - return i.ToClusterScheduledClusterScanPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesKubeletPtrType) ToClusterRkeConfigServicesKubeletPtrOutput() ClusterRkeConfigServicesKubeletPtrOutput { + return i.ToClusterRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) } -func (i *clusterScheduledClusterScanPtrType) ToClusterScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanPtrOutput) +func (i *clusterRkeConfigServicesKubeletPtrType) ToClusterRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeletPtrOutput) } -type ClusterScheduledClusterScanOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeletOutput struct{ *pulumi.OutputState } -func (ClusterScheduledClusterScanOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterScheduledClusterScan)(nil)).Elem() +func (ClusterRkeConfigServicesKubeletOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubelet)(nil)).Elem() } -func (o ClusterScheduledClusterScanOutput) ToClusterScheduledClusterScanOutput() ClusterScheduledClusterScanOutput { +func (o ClusterRkeConfigServicesKubeletOutput) ToClusterRkeConfigServicesKubeletOutput() ClusterRkeConfigServicesKubeletOutput { return o } -func (o ClusterScheduledClusterScanOutput) ToClusterScheduledClusterScanOutputWithContext(ctx context.Context) ClusterScheduledClusterScanOutput { +func (o ClusterRkeConfigServicesKubeletOutput) ToClusterRkeConfigServicesKubeletOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletOutput { return o } -func (o ClusterScheduledClusterScanOutput) ToClusterScheduledClusterScanPtrOutput() ClusterScheduledClusterScanPtrOutput { - return o.ToClusterScheduledClusterScanPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesKubeletOutput) ToClusterRkeConfigServicesKubeletPtrOutput() ClusterRkeConfigServicesKubeletPtrOutput { + return o.ToClusterRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) } -func (o ClusterScheduledClusterScanOutput) ToClusterScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterScheduledClusterScan) *ClusterScheduledClusterScan { +func (o ClusterRkeConfigServicesKubeletOutput) ToClusterRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubelet) *ClusterRkeConfigServicesKubelet { return &v - }).(ClusterScheduledClusterScanPtrOutput) + }).(ClusterRkeConfigServicesKubeletPtrOutput) } -// Enable scheduled cluster scan. Default: `false` (bool) -func (o ClusterScheduledClusterScanOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterScheduledClusterScan) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// Cluster DNS Server option for kubelet service (string) +func (o ClusterRkeConfigServicesKubeletOutput) ClusterDnsServer() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *string { return v.ClusterDnsServer }).(pulumi.StringPtrOutput) } -// Cluster scan config (List maxitems:1) -func (o ClusterScheduledClusterScanOutput) ScanConfig() ClusterScheduledClusterScanScanConfigOutput { - return o.ApplyT(func(v ClusterScheduledClusterScan) ClusterScheduledClusterScanScanConfig { return v.ScanConfig }).(ClusterScheduledClusterScanScanConfigOutput) +// Cluster Domain option for kubelet service (string) +func (o ClusterRkeConfigServicesKubeletOutput) ClusterDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *string { return v.ClusterDomain }).(pulumi.StringPtrOutput) } -// Cluster scan schedule config (list maxitems:1) -func (o ClusterScheduledClusterScanOutput) ScheduleConfig() ClusterScheduledClusterScanScheduleConfigOutput { - return o.ApplyT(func(v ClusterScheduledClusterScan) ClusterScheduledClusterScanScheduleConfig { return v.ScheduleConfig }).(ClusterScheduledClusterScanScheduleConfigOutput) +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesKubeletOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } -type ClusterScheduledClusterScanPtrOutput struct{ *pulumi.OutputState } +// Extra binds for scheduler service (list) +func (o ClusterRkeConfigServicesKubeletOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +} -func (ClusterScheduledClusterScanPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterScheduledClusterScan)(nil)).Elem() +// Extra environment for scheduler service (list) +func (o ClusterRkeConfigServicesKubeletOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -func (o ClusterScheduledClusterScanPtrOutput) ToClusterScheduledClusterScanPtrOutput() ClusterScheduledClusterScanPtrOutput { +// Enable or disable failing when swap on is not supported (bool) +func (o ClusterRkeConfigServicesKubeletOutput) FailSwapOn() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *bool { return v.FailSwapOn }).(pulumi.BoolPtrOutput) +} + +// [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) +func (o ClusterRkeConfigServicesKubeletOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *bool { return v.GenerateServingCertificate }).(pulumi.BoolPtrOutput) +} + +// Docker image for scheduler service (string) +func (o ClusterRkeConfigServicesKubeletOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *string { return v.Image }).(pulumi.StringPtrOutput) +} + +// Infra container image for kubelet service (string) +func (o ClusterRkeConfigServicesKubeletOutput) InfraContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubelet) *string { return v.InfraContainerImage }).(pulumi.StringPtrOutput) +} + +type ClusterRkeConfigServicesKubeletPtrOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigServicesKubeletPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubelet)(nil)).Elem() +} + +func (o ClusterRkeConfigServicesKubeletPtrOutput) ToClusterRkeConfigServicesKubeletPtrOutput() ClusterRkeConfigServicesKubeletPtrOutput { return o } -func (o ClusterScheduledClusterScanPtrOutput) ToClusterScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanPtrOutput { +func (o ClusterRkeConfigServicesKubeletPtrOutput) ToClusterRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeletPtrOutput { return o } -func (o ClusterScheduledClusterScanPtrOutput) Elem() ClusterScheduledClusterScanOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScan) ClusterScheduledClusterScan { +func (o ClusterRkeConfigServicesKubeletPtrOutput) Elem() ClusterRkeConfigServicesKubeletOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) ClusterRkeConfigServicesKubelet { if v != nil { return *v } - var ret ClusterScheduledClusterScan + var ret ClusterRkeConfigServicesKubelet return ret - }).(ClusterScheduledClusterScanOutput) + }).(ClusterRkeConfigServicesKubeletOutput) } -// Enable scheduled cluster scan. Default: `false` (bool) -func (o ClusterScheduledClusterScanPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScan) *bool { +// Cluster DNS Server option for kubelet service (string) +func (o ClusterRkeConfigServicesKubeletPtrOutput) ClusterDnsServer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.ClusterDnsServer + }).(pulumi.StringPtrOutput) } -// Cluster scan config (List maxitems:1) -func (o ClusterScheduledClusterScanPtrOutput) ScanConfig() ClusterScheduledClusterScanScanConfigPtrOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScan) *ClusterScheduledClusterScanScanConfig { +// Cluster Domain option for kubelet service (string) +func (o ClusterRkeConfigServicesKubeletPtrOutput) ClusterDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *string { if v == nil { return nil } - return &v.ScanConfig - }).(ClusterScheduledClusterScanScanConfigPtrOutput) + return v.ClusterDomain + }).(pulumi.StringPtrOutput) } -// Cluster scan schedule config (list maxitems:1) -func (o ClusterScheduledClusterScanPtrOutput) ScheduleConfig() ClusterScheduledClusterScanScheduleConfigPtrOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScan) *ClusterScheduledClusterScanScheduleConfig { +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesKubeletPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) map[string]interface{} { if v == nil { return nil } - return &v.ScheduleConfig - }).(ClusterScheduledClusterScanScheduleConfigPtrOutput) + return v.ExtraArgs + }).(pulumi.MapOutput) } -type ClusterScheduledClusterScanScanConfig struct { - // Cluster Cis Scan config (List maxitems:1) - CisScanConfig *ClusterScheduledClusterScanScanConfigCisScanConfig `pulumi:"cisScanConfig"` +// Extra binds for scheduler service (list) +func (o ClusterRkeConfigServicesKubeletPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) []string { + if v == nil { + return nil + } + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -// ClusterScheduledClusterScanScanConfigInput is an input type that accepts ClusterScheduledClusterScanScanConfigArgs and ClusterScheduledClusterScanScanConfigOutput values. -// You can construct a concrete instance of `ClusterScheduledClusterScanScanConfigInput` via: -// -// ClusterScheduledClusterScanScanConfigArgs{...} -type ClusterScheduledClusterScanScanConfigInput interface { - pulumi.Input - - ToClusterScheduledClusterScanScanConfigOutput() ClusterScheduledClusterScanScanConfigOutput - ToClusterScheduledClusterScanScanConfigOutputWithContext(context.Context) ClusterScheduledClusterScanScanConfigOutput +// Extra environment for scheduler service (list) +func (o ClusterRkeConfigServicesKubeletPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) []string { + if v == nil { + return nil + } + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -type ClusterScheduledClusterScanScanConfigArgs struct { - // Cluster Cis Scan config (List maxitems:1) - CisScanConfig ClusterScheduledClusterScanScanConfigCisScanConfigPtrInput `pulumi:"cisScanConfig"` +// Enable or disable failing when swap on is not supported (bool) +func (o ClusterRkeConfigServicesKubeletPtrOutput) FailSwapOn() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *bool { + if v == nil { + return nil + } + return v.FailSwapOn + }).(pulumi.BoolPtrOutput) } -func (ClusterScheduledClusterScanScanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterScheduledClusterScanScanConfig)(nil)).Elem() +// [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) +func (o ClusterRkeConfigServicesKubeletPtrOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *bool { + if v == nil { + return nil + } + return v.GenerateServingCertificate + }).(pulumi.BoolPtrOutput) } -func (i ClusterScheduledClusterScanScanConfigArgs) ToClusterScheduledClusterScanScanConfigOutput() ClusterScheduledClusterScanScanConfigOutput { - return i.ToClusterScheduledClusterScanScanConfigOutputWithContext(context.Background()) +// Docker image for scheduler service (string) +func (o ClusterRkeConfigServicesKubeletPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *string { + if v == nil { + return nil + } + return v.Image + }).(pulumi.StringPtrOutput) } -func (i ClusterScheduledClusterScanScanConfigArgs) ToClusterScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigOutput) +// Infra container image for kubelet service (string) +func (o ClusterRkeConfigServicesKubeletPtrOutput) InfraContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubelet) *string { + if v == nil { + return nil + } + return v.InfraContainerImage + }).(pulumi.StringPtrOutput) } -func (i ClusterScheduledClusterScanScanConfigArgs) ToClusterScheduledClusterScanScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigPtrOutput { - return i.ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) +type ClusterRkeConfigServicesKubeproxy struct { + // Extra arguments for scheduler service (map) + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + // Extra binds for scheduler service (list) + ExtraBinds []string `pulumi:"extraBinds"` + // Extra environment for scheduler service (list) + ExtraEnvs []string `pulumi:"extraEnvs"` + // Docker image for scheduler service (string) + Image *string `pulumi:"image"` } -func (i ClusterScheduledClusterScanScanConfigArgs) ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigOutput).ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(ctx) +// ClusterRkeConfigServicesKubeproxyInput is an input type that accepts ClusterRkeConfigServicesKubeproxyArgs and ClusterRkeConfigServicesKubeproxyOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeproxyInput` via: +// +// ClusterRkeConfigServicesKubeproxyArgs{...} +type ClusterRkeConfigServicesKubeproxyInput interface { + pulumi.Input + + ToClusterRkeConfigServicesKubeproxyOutput() ClusterRkeConfigServicesKubeproxyOutput + ToClusterRkeConfigServicesKubeproxyOutputWithContext(context.Context) ClusterRkeConfigServicesKubeproxyOutput } -// ClusterScheduledClusterScanScanConfigPtrInput is an input type that accepts ClusterScheduledClusterScanScanConfigArgs, ClusterScheduledClusterScanScanConfigPtr and ClusterScheduledClusterScanScanConfigPtrOutput values. -// You can construct a concrete instance of `ClusterScheduledClusterScanScanConfigPtrInput` via: +type ClusterRkeConfigServicesKubeproxyArgs struct { + // Extra arguments for scheduler service (map) + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + // Extra binds for scheduler service (list) + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + // Extra environment for scheduler service (list) + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + // Docker image for scheduler service (string) + Image pulumi.StringPtrInput `pulumi:"image"` +} + +func (ClusterRkeConfigServicesKubeproxyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeproxy)(nil)).Elem() +} + +func (i ClusterRkeConfigServicesKubeproxyArgs) ToClusterRkeConfigServicesKubeproxyOutput() ClusterRkeConfigServicesKubeproxyOutput { + return i.ToClusterRkeConfigServicesKubeproxyOutputWithContext(context.Background()) +} + +func (i ClusterRkeConfigServicesKubeproxyArgs) ToClusterRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeproxyOutput) +} + +func (i ClusterRkeConfigServicesKubeproxyArgs) ToClusterRkeConfigServicesKubeproxyPtrOutput() ClusterRkeConfigServicesKubeproxyPtrOutput { + return i.ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) +} + +func (i ClusterRkeConfigServicesKubeproxyArgs) ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeproxyOutput).ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(ctx) +} + +// ClusterRkeConfigServicesKubeproxyPtrInput is an input type that accepts ClusterRkeConfigServicesKubeproxyArgs, ClusterRkeConfigServicesKubeproxyPtr and ClusterRkeConfigServicesKubeproxyPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesKubeproxyPtrInput` via: // -// ClusterScheduledClusterScanScanConfigArgs{...} +// ClusterRkeConfigServicesKubeproxyArgs{...} // // or: // // nil -type ClusterScheduledClusterScanScanConfigPtrInput interface { +type ClusterRkeConfigServicesKubeproxyPtrInput interface { pulumi.Input - ToClusterScheduledClusterScanScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigPtrOutput - ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(context.Context) ClusterScheduledClusterScanScanConfigPtrOutput + ToClusterRkeConfigServicesKubeproxyPtrOutput() ClusterRkeConfigServicesKubeproxyPtrOutput + ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(context.Context) ClusterRkeConfigServicesKubeproxyPtrOutput } -type clusterScheduledClusterScanScanConfigPtrType ClusterScheduledClusterScanScanConfigArgs +type clusterRkeConfigServicesKubeproxyPtrType ClusterRkeConfigServicesKubeproxyArgs -func ClusterScheduledClusterScanScanConfigPtr(v *ClusterScheduledClusterScanScanConfigArgs) ClusterScheduledClusterScanScanConfigPtrInput { - return (*clusterScheduledClusterScanScanConfigPtrType)(v) +func ClusterRkeConfigServicesKubeproxyPtr(v *ClusterRkeConfigServicesKubeproxyArgs) ClusterRkeConfigServicesKubeproxyPtrInput { + return (*clusterRkeConfigServicesKubeproxyPtrType)(v) } -func (*clusterScheduledClusterScanScanConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterScheduledClusterScanScanConfig)(nil)).Elem() +func (*clusterRkeConfigServicesKubeproxyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeproxy)(nil)).Elem() } -func (i *clusterScheduledClusterScanScanConfigPtrType) ToClusterScheduledClusterScanScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigPtrOutput { - return i.ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesKubeproxyPtrType) ToClusterRkeConfigServicesKubeproxyPtrOutput() ClusterRkeConfigServicesKubeproxyPtrOutput { + return i.ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) } -func (i *clusterScheduledClusterScanScanConfigPtrType) ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigPtrOutput) +func (i *clusterRkeConfigServicesKubeproxyPtrType) ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesKubeproxyPtrOutput) } -type ClusterScheduledClusterScanScanConfigOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesKubeproxyOutput struct{ *pulumi.OutputState } -func (ClusterScheduledClusterScanScanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterScheduledClusterScanScanConfig)(nil)).Elem() +func (ClusterRkeConfigServicesKubeproxyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesKubeproxy)(nil)).Elem() } -func (o ClusterScheduledClusterScanScanConfigOutput) ToClusterScheduledClusterScanScanConfigOutput() ClusterScheduledClusterScanScanConfigOutput { +func (o ClusterRkeConfigServicesKubeproxyOutput) ToClusterRkeConfigServicesKubeproxyOutput() ClusterRkeConfigServicesKubeproxyOutput { return o } -func (o ClusterScheduledClusterScanScanConfigOutput) ToClusterScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigOutput { +func (o ClusterRkeConfigServicesKubeproxyOutput) ToClusterRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyOutput { return o } -func (o ClusterScheduledClusterScanScanConfigOutput) ToClusterScheduledClusterScanScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigPtrOutput { - return o.ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesKubeproxyOutput) ToClusterRkeConfigServicesKubeproxyPtrOutput() ClusterRkeConfigServicesKubeproxyPtrOutput { + return o.ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) } -func (o ClusterScheduledClusterScanScanConfigOutput) ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterScheduledClusterScanScanConfig) *ClusterScheduledClusterScanScanConfig { +func (o ClusterRkeConfigServicesKubeproxyOutput) ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesKubeproxy) *ClusterRkeConfigServicesKubeproxy { return &v - }).(ClusterScheduledClusterScanScanConfigPtrOutput) + }).(ClusterRkeConfigServicesKubeproxyPtrOutput) } -// Cluster Cis Scan config (List maxitems:1) -func (o ClusterScheduledClusterScanScanConfigOutput) CisScanConfig() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ApplyT(func(v ClusterScheduledClusterScanScanConfig) *ClusterScheduledClusterScanScanConfigCisScanConfig { - return v.CisScanConfig - }).(ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesKubeproxyOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeproxy) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } -type ClusterScheduledClusterScanScanConfigPtrOutput struct{ *pulumi.OutputState } +// Extra binds for scheduler service (list) +func (o ClusterRkeConfigServicesKubeproxyOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeproxy) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +} -func (ClusterScheduledClusterScanScanConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterScheduledClusterScanScanConfig)(nil)).Elem() +// Extra environment for scheduler service (list) +func (o ClusterRkeConfigServicesKubeproxyOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeproxy) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -func (o ClusterScheduledClusterScanScanConfigPtrOutput) ToClusterScheduledClusterScanScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigPtrOutput { +// Docker image for scheduler service (string) +func (o ClusterRkeConfigServicesKubeproxyOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesKubeproxy) *string { return v.Image }).(pulumi.StringPtrOutput) +} + +type ClusterRkeConfigServicesKubeproxyPtrOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigServicesKubeproxyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesKubeproxy)(nil)).Elem() +} + +func (o ClusterRkeConfigServicesKubeproxyPtrOutput) ToClusterRkeConfigServicesKubeproxyPtrOutput() ClusterRkeConfigServicesKubeproxyPtrOutput { return o } -func (o ClusterScheduledClusterScanScanConfigPtrOutput) ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigPtrOutput { +func (o ClusterRkeConfigServicesKubeproxyPtrOutput) ToClusterRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesKubeproxyPtrOutput { return o } -func (o ClusterScheduledClusterScanScanConfigPtrOutput) Elem() ClusterScheduledClusterScanScanConfigOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfig) ClusterScheduledClusterScanScanConfig { +func (o ClusterRkeConfigServicesKubeproxyPtrOutput) Elem() ClusterRkeConfigServicesKubeproxyOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeproxy) ClusterRkeConfigServicesKubeproxy { if v != nil { return *v } - var ret ClusterScheduledClusterScanScanConfig + var ret ClusterRkeConfigServicesKubeproxy return ret - }).(ClusterScheduledClusterScanScanConfigOutput) + }).(ClusterRkeConfigServicesKubeproxyOutput) } -// Cluster Cis Scan config (List maxitems:1) -func (o ClusterScheduledClusterScanScanConfigPtrOutput) CisScanConfig() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfig) *ClusterScheduledClusterScanScanConfigCisScanConfig { +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesKubeproxyPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeproxy) map[string]interface{} { if v == nil { return nil } - return v.CisScanConfig - }).(ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) + return v.ExtraArgs + }).(pulumi.MapOutput) } -type ClusterScheduledClusterScanScanConfigCisScanConfig struct { - // Debug master. Default: `false` (bool) - DebugMaster *bool `pulumi:"debugMaster"` - // Debug worker. Default: `false` (bool) - DebugWorker *bool `pulumi:"debugWorker"` - // Override benchmark version (string) - OverrideBenchmarkVersion *string `pulumi:"overrideBenchmarkVersion"` - // Override skip (string) - OverrideSkips []string `pulumi:"overrideSkips"` - // Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) - Profile *string `pulumi:"profile"` +// Extra binds for scheduler service (list) +func (o ClusterRkeConfigServicesKubeproxyPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeproxy) []string { + if v == nil { + return nil + } + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -// ClusterScheduledClusterScanScanConfigCisScanConfigInput is an input type that accepts ClusterScheduledClusterScanScanConfigCisScanConfigArgs and ClusterScheduledClusterScanScanConfigCisScanConfigOutput values. -// You can construct a concrete instance of `ClusterScheduledClusterScanScanConfigCisScanConfigInput` via: +// Extra environment for scheduler service (list) +func (o ClusterRkeConfigServicesKubeproxyPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeproxy) []string { + if v == nil { + return nil + } + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) +} + +// Docker image for scheduler service (string) +func (o ClusterRkeConfigServicesKubeproxyPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesKubeproxy) *string { + if v == nil { + return nil + } + return v.Image + }).(pulumi.StringPtrOutput) +} + +type ClusterRkeConfigServicesScheduler struct { + // Extra arguments for scheduler service (map) + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + // Extra binds for scheduler service (list) + ExtraBinds []string `pulumi:"extraBinds"` + // Extra environment for scheduler service (list) + ExtraEnvs []string `pulumi:"extraEnvs"` + // Docker image for scheduler service (string) + Image *string `pulumi:"image"` +} + +// ClusterRkeConfigServicesSchedulerInput is an input type that accepts ClusterRkeConfigServicesSchedulerArgs and ClusterRkeConfigServicesSchedulerOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesSchedulerInput` via: // -// ClusterScheduledClusterScanScanConfigCisScanConfigArgs{...} -type ClusterScheduledClusterScanScanConfigCisScanConfigInput interface { +// ClusterRkeConfigServicesSchedulerArgs{...} +type ClusterRkeConfigServicesSchedulerInput interface { pulumi.Input - ToClusterScheduledClusterScanScanConfigCisScanConfigOutput() ClusterScheduledClusterScanScanConfigCisScanConfigOutput - ToClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigOutput + ToClusterRkeConfigServicesSchedulerOutput() ClusterRkeConfigServicesSchedulerOutput + ToClusterRkeConfigServicesSchedulerOutputWithContext(context.Context) ClusterRkeConfigServicesSchedulerOutput } -type ClusterScheduledClusterScanScanConfigCisScanConfigArgs struct { - // Debug master. Default: `false` (bool) - DebugMaster pulumi.BoolPtrInput `pulumi:"debugMaster"` - // Debug worker. Default: `false` (bool) - DebugWorker pulumi.BoolPtrInput `pulumi:"debugWorker"` - // Override benchmark version (string) - OverrideBenchmarkVersion pulumi.StringPtrInput `pulumi:"overrideBenchmarkVersion"` - // Override skip (string) - OverrideSkips pulumi.StringArrayInput `pulumi:"overrideSkips"` - // Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) - Profile pulumi.StringPtrInput `pulumi:"profile"` +type ClusterRkeConfigServicesSchedulerArgs struct { + // Extra arguments for scheduler service (map) + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + // Extra binds for scheduler service (list) + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + // Extra environment for scheduler service (list) + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + // Docker image for scheduler service (string) + Image pulumi.StringPtrInput `pulumi:"image"` } -func (ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (ClusterRkeConfigServicesSchedulerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesScheduler)(nil)).Elem() } -func (i ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterScheduledClusterScanScanConfigCisScanConfigOutput() ClusterScheduledClusterScanScanConfigCisScanConfigOutput { - return i.ToClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesSchedulerArgs) ToClusterRkeConfigServicesSchedulerOutput() ClusterRkeConfigServicesSchedulerOutput { + return i.ToClusterRkeConfigServicesSchedulerOutputWithContext(context.Background()) } -func (i ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigCisScanConfigOutput) +func (i ClusterRkeConfigServicesSchedulerArgs) ToClusterRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesSchedulerOutput) } -func (i ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return i.ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigServicesSchedulerArgs) ToClusterRkeConfigServicesSchedulerPtrOutput() ClusterRkeConfigServicesSchedulerPtrOutput { + return i.ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) } -func (i ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigCisScanConfigOutput).ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx) +func (i ClusterRkeConfigServicesSchedulerArgs) ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesSchedulerOutput).ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(ctx) } -// ClusterScheduledClusterScanScanConfigCisScanConfigPtrInput is an input type that accepts ClusterScheduledClusterScanScanConfigCisScanConfigArgs, ClusterScheduledClusterScanScanConfigCisScanConfigPtr and ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput values. -// You can construct a concrete instance of `ClusterScheduledClusterScanScanConfigCisScanConfigPtrInput` via: +// ClusterRkeConfigServicesSchedulerPtrInput is an input type that accepts ClusterRkeConfigServicesSchedulerArgs, ClusterRkeConfigServicesSchedulerPtr and ClusterRkeConfigServicesSchedulerPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigServicesSchedulerPtrInput` via: // -// ClusterScheduledClusterScanScanConfigCisScanConfigArgs{...} +// ClusterRkeConfigServicesSchedulerArgs{...} // // or: // // nil -type ClusterScheduledClusterScanScanConfigCisScanConfigPtrInput interface { +type ClusterRkeConfigServicesSchedulerPtrInput interface { pulumi.Input - ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput - ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput + ToClusterRkeConfigServicesSchedulerPtrOutput() ClusterRkeConfigServicesSchedulerPtrOutput + ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(context.Context) ClusterRkeConfigServicesSchedulerPtrOutput } -type clusterScheduledClusterScanScanConfigCisScanConfigPtrType ClusterScheduledClusterScanScanConfigCisScanConfigArgs +type clusterRkeConfigServicesSchedulerPtrType ClusterRkeConfigServicesSchedulerArgs -func ClusterScheduledClusterScanScanConfigCisScanConfigPtr(v *ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ClusterScheduledClusterScanScanConfigCisScanConfigPtrInput { - return (*clusterScheduledClusterScanScanConfigCisScanConfigPtrType)(v) +func ClusterRkeConfigServicesSchedulerPtr(v *ClusterRkeConfigServicesSchedulerArgs) ClusterRkeConfigServicesSchedulerPtrInput { + return (*clusterRkeConfigServicesSchedulerPtrType)(v) } -func (*clusterScheduledClusterScanScanConfigCisScanConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (*clusterRkeConfigServicesSchedulerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesScheduler)(nil)).Elem() } -func (i *clusterScheduledClusterScanScanConfigCisScanConfigPtrType) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return i.ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigServicesSchedulerPtrType) ToClusterRkeConfigServicesSchedulerPtrOutput() ClusterRkeConfigServicesSchedulerPtrOutput { + return i.ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) } -func (i *clusterScheduledClusterScanScanConfigCisScanConfigPtrType) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) +func (i *clusterRkeConfigServicesSchedulerPtrType) ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigServicesSchedulerPtrOutput) } -type ClusterScheduledClusterScanScanConfigCisScanConfigOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesSchedulerOutput struct{ *pulumi.OutputState } -func (ClusterScheduledClusterScanScanConfigCisScanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (ClusterRkeConfigServicesSchedulerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigServicesScheduler)(nil)).Elem() } -func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigOutput() ClusterScheduledClusterScanScanConfigCisScanConfigOutput { +func (o ClusterRkeConfigServicesSchedulerOutput) ToClusterRkeConfigServicesSchedulerOutput() ClusterRkeConfigServicesSchedulerOutput { return o } -func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigOutput { +func (o ClusterRkeConfigServicesSchedulerOutput) ToClusterRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerOutput { return o } -func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigServicesSchedulerOutput) ToClusterRkeConfigServicesSchedulerPtrOutput() ClusterRkeConfigServicesSchedulerPtrOutput { + return o.ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) } -func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterScheduledClusterScanScanConfigCisScanConfig) *ClusterScheduledClusterScanScanConfigCisScanConfig { +func (o ClusterRkeConfigServicesSchedulerOutput) ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigServicesScheduler) *ClusterRkeConfigServicesScheduler { return &v - }).(ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) -} - -// Debug master. Default: `false` (bool) -func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) DebugMaster() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterScheduledClusterScanScanConfigCisScanConfig) *bool { return v.DebugMaster }).(pulumi.BoolPtrOutput) + }).(ClusterRkeConfigServicesSchedulerPtrOutput) } -// Debug worker. Default: `false` (bool) -func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) DebugWorker() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterScheduledClusterScanScanConfigCisScanConfig) *bool { return v.DebugWorker }).(pulumi.BoolPtrOutput) +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesSchedulerOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesScheduler) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } -// Override benchmark version (string) -func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterScheduledClusterScanScanConfigCisScanConfig) *string { return v.OverrideBenchmarkVersion }).(pulumi.StringPtrOutput) +// Extra binds for scheduler service (list) +func (o ClusterRkeConfigServicesSchedulerOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesScheduler) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) } -// Override skip (string) -func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) OverrideSkips() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterScheduledClusterScanScanConfigCisScanConfig) []string { return v.OverrideSkips }).(pulumi.StringArrayOutput) +// Extra environment for scheduler service (list) +func (o ClusterRkeConfigServicesSchedulerOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesScheduler) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -// Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) -func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) Profile() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterScheduledClusterScanScanConfigCisScanConfig) *string { return v.Profile }).(pulumi.StringPtrOutput) +// Docker image for scheduler service (string) +func (o ClusterRkeConfigServicesSchedulerOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigServicesScheduler) *string { return v.Image }).(pulumi.StringPtrOutput) } -type ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigServicesSchedulerPtrOutput struct{ *pulumi.OutputState } -func (ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (ClusterRkeConfigServicesSchedulerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigServicesScheduler)(nil)).Elem() } -func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { +func (o ClusterRkeConfigServicesSchedulerPtrOutput) ToClusterRkeConfigServicesSchedulerPtrOutput() ClusterRkeConfigServicesSchedulerPtrOutput { return o } -func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { +func (o ClusterRkeConfigServicesSchedulerPtrOutput) ToClusterRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterRkeConfigServicesSchedulerPtrOutput { return o } -func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) Elem() ClusterScheduledClusterScanScanConfigCisScanConfigOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) ClusterScheduledClusterScanScanConfigCisScanConfig { +func (o ClusterRkeConfigServicesSchedulerPtrOutput) Elem() ClusterRkeConfigServicesSchedulerOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesScheduler) ClusterRkeConfigServicesScheduler { if v != nil { return *v } - var ret ClusterScheduledClusterScanScanConfigCisScanConfig + var ret ClusterRkeConfigServicesScheduler return ret - }).(ClusterScheduledClusterScanScanConfigCisScanConfigOutput) -} - -// Debug master. Default: `false` (bool) -func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugMaster() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) *bool { - if v == nil { - return nil - } - return v.DebugMaster - }).(pulumi.BoolPtrOutput) + }).(ClusterRkeConfigServicesSchedulerOutput) } -// Debug worker. Default: `false` (bool) -func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugWorker() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) *bool { +// Extra arguments for scheduler service (map) +func (o ClusterRkeConfigServicesSchedulerPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesScheduler) map[string]interface{} { if v == nil { return nil } - return v.DebugWorker - }).(pulumi.BoolPtrOutput) + return v.ExtraArgs + }).(pulumi.MapOutput) } -// Override benchmark version (string) -func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) *string { +// Extra binds for scheduler service (list) +func (o ClusterRkeConfigServicesSchedulerPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesScheduler) []string { if v == nil { return nil } - return v.OverrideBenchmarkVersion - }).(pulumi.StringPtrOutput) + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -// Override skip (string) -func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideSkips() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) []string { +// Extra environment for scheduler service (list) +func (o ClusterRkeConfigServicesSchedulerPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesScheduler) []string { if v == nil { return nil } - return v.OverrideSkips + return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -// Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) -func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) Profile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) *string { +// Docker image for scheduler service (string) +func (o ClusterRkeConfigServicesSchedulerPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigServicesScheduler) *string { if v == nil { return nil } - return v.Profile + return v.Image }).(pulumi.StringPtrOutput) } -type ClusterScheduledClusterScanScheduleConfig struct { - // Crontab schedule. It should contains 5 fields `" "` (string) - CronSchedule string `pulumi:"cronSchedule"` - // Retention for etcd backup. Default `6` (int) - Retention *int `pulumi:"retention"` +type ClusterRkeConfigUpgradeStrategy struct { + // RKE drain nodes. Default: `false` (bool) + Drain *bool `pulumi:"drain"` + // RKE drain node input (list Maxitems: 1) + DrainInput *ClusterRkeConfigUpgradeStrategyDrainInput `pulumi:"drainInput"` + // RKE max unavailable controlplane nodes. Default: `1` (string) + MaxUnavailableControlplane *string `pulumi:"maxUnavailableControlplane"` + // RKE max unavailable worker nodes. Default: `10%` (string) + MaxUnavailableWorker *string `pulumi:"maxUnavailableWorker"` } -// ClusterScheduledClusterScanScheduleConfigInput is an input type that accepts ClusterScheduledClusterScanScheduleConfigArgs and ClusterScheduledClusterScanScheduleConfigOutput values. -// You can construct a concrete instance of `ClusterScheduledClusterScanScheduleConfigInput` via: +// ClusterRkeConfigUpgradeStrategyInput is an input type that accepts ClusterRkeConfigUpgradeStrategyArgs and ClusterRkeConfigUpgradeStrategyOutput values. +// You can construct a concrete instance of `ClusterRkeConfigUpgradeStrategyInput` via: // -// ClusterScheduledClusterScanScheduleConfigArgs{...} -type ClusterScheduledClusterScanScheduleConfigInput interface { +// ClusterRkeConfigUpgradeStrategyArgs{...} +type ClusterRkeConfigUpgradeStrategyInput interface { pulumi.Input - ToClusterScheduledClusterScanScheduleConfigOutput() ClusterScheduledClusterScanScheduleConfigOutput - ToClusterScheduledClusterScanScheduleConfigOutputWithContext(context.Context) ClusterScheduledClusterScanScheduleConfigOutput + ToClusterRkeConfigUpgradeStrategyOutput() ClusterRkeConfigUpgradeStrategyOutput + ToClusterRkeConfigUpgradeStrategyOutputWithContext(context.Context) ClusterRkeConfigUpgradeStrategyOutput } -type ClusterScheduledClusterScanScheduleConfigArgs struct { - // Crontab schedule. It should contains 5 fields `" "` (string) - CronSchedule pulumi.StringInput `pulumi:"cronSchedule"` - // Retention for etcd backup. Default `6` (int) - Retention pulumi.IntPtrInput `pulumi:"retention"` +type ClusterRkeConfigUpgradeStrategyArgs struct { + // RKE drain nodes. Default: `false` (bool) + Drain pulumi.BoolPtrInput `pulumi:"drain"` + // RKE drain node input (list Maxitems: 1) + DrainInput ClusterRkeConfigUpgradeStrategyDrainInputPtrInput `pulumi:"drainInput"` + // RKE max unavailable controlplane nodes. Default: `1` (string) + MaxUnavailableControlplane pulumi.StringPtrInput `pulumi:"maxUnavailableControlplane"` + // RKE max unavailable worker nodes. Default: `10%` (string) + MaxUnavailableWorker pulumi.StringPtrInput `pulumi:"maxUnavailableWorker"` } -func (ClusterScheduledClusterScanScheduleConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterScheduledClusterScanScheduleConfig)(nil)).Elem() +func (ClusterRkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigUpgradeStrategy)(nil)).Elem() } -func (i ClusterScheduledClusterScanScheduleConfigArgs) ToClusterScheduledClusterScanScheduleConfigOutput() ClusterScheduledClusterScanScheduleConfigOutput { - return i.ToClusterScheduledClusterScanScheduleConfigOutputWithContext(context.Background()) +func (i ClusterRkeConfigUpgradeStrategyArgs) ToClusterRkeConfigUpgradeStrategyOutput() ClusterRkeConfigUpgradeStrategyOutput { + return i.ToClusterRkeConfigUpgradeStrategyOutputWithContext(context.Background()) } -func (i ClusterScheduledClusterScanScheduleConfigArgs) ToClusterScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScheduleConfigOutput) +func (i ClusterRkeConfigUpgradeStrategyArgs) ToClusterRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyOutput) } -func (i ClusterScheduledClusterScanScheduleConfigArgs) ToClusterScheduledClusterScanScheduleConfigPtrOutput() ClusterScheduledClusterScanScheduleConfigPtrOutput { - return i.ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) +func (i ClusterRkeConfigUpgradeStrategyArgs) ToClusterRkeConfigUpgradeStrategyPtrOutput() ClusterRkeConfigUpgradeStrategyPtrOutput { + return i.ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -func (i ClusterScheduledClusterScanScheduleConfigArgs) ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScheduleConfigOutput).ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx) +func (i ClusterRkeConfigUpgradeStrategyArgs) ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyOutput).ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(ctx) } -// ClusterScheduledClusterScanScheduleConfigPtrInput is an input type that accepts ClusterScheduledClusterScanScheduleConfigArgs, ClusterScheduledClusterScanScheduleConfigPtr and ClusterScheduledClusterScanScheduleConfigPtrOutput values. -// You can construct a concrete instance of `ClusterScheduledClusterScanScheduleConfigPtrInput` via: +// ClusterRkeConfigUpgradeStrategyPtrInput is an input type that accepts ClusterRkeConfigUpgradeStrategyArgs, ClusterRkeConfigUpgradeStrategyPtr and ClusterRkeConfigUpgradeStrategyPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigUpgradeStrategyPtrInput` via: // -// ClusterScheduledClusterScanScheduleConfigArgs{...} +// ClusterRkeConfigUpgradeStrategyArgs{...} // // or: // // nil -type ClusterScheduledClusterScanScheduleConfigPtrInput interface { +type ClusterRkeConfigUpgradeStrategyPtrInput interface { pulumi.Input - ToClusterScheduledClusterScanScheduleConfigPtrOutput() ClusterScheduledClusterScanScheduleConfigPtrOutput - ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Context) ClusterScheduledClusterScanScheduleConfigPtrOutput + ToClusterRkeConfigUpgradeStrategyPtrOutput() ClusterRkeConfigUpgradeStrategyPtrOutput + ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(context.Context) ClusterRkeConfigUpgradeStrategyPtrOutput } -type clusterScheduledClusterScanScheduleConfigPtrType ClusterScheduledClusterScanScheduleConfigArgs +type clusterRkeConfigUpgradeStrategyPtrType ClusterRkeConfigUpgradeStrategyArgs -func ClusterScheduledClusterScanScheduleConfigPtr(v *ClusterScheduledClusterScanScheduleConfigArgs) ClusterScheduledClusterScanScheduleConfigPtrInput { - return (*clusterScheduledClusterScanScheduleConfigPtrType)(v) +func ClusterRkeConfigUpgradeStrategyPtr(v *ClusterRkeConfigUpgradeStrategyArgs) ClusterRkeConfigUpgradeStrategyPtrInput { + return (*clusterRkeConfigUpgradeStrategyPtrType)(v) } -func (*clusterScheduledClusterScanScheduleConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterScheduledClusterScanScheduleConfig)(nil)).Elem() +func (*clusterRkeConfigUpgradeStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigUpgradeStrategy)(nil)).Elem() } -func (i *clusterScheduledClusterScanScheduleConfigPtrType) ToClusterScheduledClusterScanScheduleConfigPtrOutput() ClusterScheduledClusterScanScheduleConfigPtrOutput { - return i.ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) +func (i *clusterRkeConfigUpgradeStrategyPtrType) ToClusterRkeConfigUpgradeStrategyPtrOutput() ClusterRkeConfigUpgradeStrategyPtrOutput { + return i.ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -func (i *clusterScheduledClusterScanScheduleConfigPtrType) ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScheduleConfigPtrOutput) +func (i *clusterRkeConfigUpgradeStrategyPtrType) ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyPtrOutput) } -type ClusterScheduledClusterScanScheduleConfigOutput struct{ *pulumi.OutputState } +type ClusterRkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } -func (ClusterScheduledClusterScanScheduleConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterScheduledClusterScanScheduleConfig)(nil)).Elem() +func (ClusterRkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigUpgradeStrategy)(nil)).Elem() } -func (o ClusterScheduledClusterScanScheduleConfigOutput) ToClusterScheduledClusterScanScheduleConfigOutput() ClusterScheduledClusterScanScheduleConfigOutput { +func (o ClusterRkeConfigUpgradeStrategyOutput) ToClusterRkeConfigUpgradeStrategyOutput() ClusterRkeConfigUpgradeStrategyOutput { return o } -func (o ClusterScheduledClusterScanScheduleConfigOutput) ToClusterScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigOutput { +func (o ClusterRkeConfigUpgradeStrategyOutput) ToClusterRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyOutput { return o } -func (o ClusterScheduledClusterScanScheduleConfigOutput) ToClusterScheduledClusterScanScheduleConfigPtrOutput() ClusterScheduledClusterScanScheduleConfigPtrOutput { - return o.ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) +func (o ClusterRkeConfigUpgradeStrategyOutput) ToClusterRkeConfigUpgradeStrategyPtrOutput() ClusterRkeConfigUpgradeStrategyPtrOutput { + return o.ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -func (o ClusterScheduledClusterScanScheduleConfigOutput) ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterScheduledClusterScanScheduleConfig) *ClusterScheduledClusterScanScheduleConfig { +func (o ClusterRkeConfigUpgradeStrategyOutput) ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigUpgradeStrategy) *ClusterRkeConfigUpgradeStrategy { return &v - }).(ClusterScheduledClusterScanScheduleConfigPtrOutput) + }).(ClusterRkeConfigUpgradeStrategyPtrOutput) } -// Crontab schedule. It should contains 5 fields `" "` (string) -func (o ClusterScheduledClusterScanScheduleConfigOutput) CronSchedule() pulumi.StringOutput { - return o.ApplyT(func(v ClusterScheduledClusterScanScheduleConfig) string { return v.CronSchedule }).(pulumi.StringOutput) +// RKE drain nodes. Default: `false` (bool) +func (o ClusterRkeConfigUpgradeStrategyOutput) Drain() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategy) *bool { return v.Drain }).(pulumi.BoolPtrOutput) } -// Retention for etcd backup. Default `6` (int) -func (o ClusterScheduledClusterScanScheduleConfigOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterScheduledClusterScanScheduleConfig) *int { return v.Retention }).(pulumi.IntPtrOutput) +// RKE drain node input (list Maxitems: 1) +func (o ClusterRkeConfigUpgradeStrategyOutput) DrainInput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategy) *ClusterRkeConfigUpgradeStrategyDrainInput { + return v.DrainInput + }).(ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) } -type ClusterScheduledClusterScanScheduleConfigPtrOutput struct{ *pulumi.OutputState } +// RKE max unavailable controlplane nodes. Default: `1` (string) +func (o ClusterRkeConfigUpgradeStrategyOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategy) *string { return v.MaxUnavailableControlplane }).(pulumi.StringPtrOutput) +} -func (ClusterScheduledClusterScanScheduleConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterScheduledClusterScanScheduleConfig)(nil)).Elem() +// RKE max unavailable worker nodes. Default: `10%` (string) +func (o ClusterRkeConfigUpgradeStrategyOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategy) *string { return v.MaxUnavailableWorker }).(pulumi.StringPtrOutput) } -func (o ClusterScheduledClusterScanScheduleConfigPtrOutput) ToClusterScheduledClusterScanScheduleConfigPtrOutput() ClusterScheduledClusterScanScheduleConfigPtrOutput { +type ClusterRkeConfigUpgradeStrategyPtrOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigUpgradeStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigUpgradeStrategy)(nil)).Elem() +} + +func (o ClusterRkeConfigUpgradeStrategyPtrOutput) ToClusterRkeConfigUpgradeStrategyPtrOutput() ClusterRkeConfigUpgradeStrategyPtrOutput { return o } -func (o ClusterScheduledClusterScanScheduleConfigPtrOutput) ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigPtrOutput { +func (o ClusterRkeConfigUpgradeStrategyPtrOutput) ToClusterRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyPtrOutput { return o } -func (o ClusterScheduledClusterScanScheduleConfigPtrOutput) Elem() ClusterScheduledClusterScanScheduleConfigOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScheduleConfig) ClusterScheduledClusterScanScheduleConfig { +func (o ClusterRkeConfigUpgradeStrategyPtrOutput) Elem() ClusterRkeConfigUpgradeStrategyOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategy) ClusterRkeConfigUpgradeStrategy { if v != nil { return *v } - var ret ClusterScheduledClusterScanScheduleConfig + var ret ClusterRkeConfigUpgradeStrategy return ret - }).(ClusterScheduledClusterScanScheduleConfigOutput) + }).(ClusterRkeConfigUpgradeStrategyOutput) } -// Crontab schedule. It should contains 5 fields `" "` (string) -func (o ClusterScheduledClusterScanScheduleConfigPtrOutput) CronSchedule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScheduleConfig) *string { +// RKE drain nodes. Default: `false` (bool) +func (o ClusterRkeConfigUpgradeStrategyPtrOutput) Drain() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategy) *bool { if v == nil { return nil } - return &v.CronSchedule + return v.Drain + }).(pulumi.BoolPtrOutput) +} + +// RKE drain node input (list Maxitems: 1) +func (o ClusterRkeConfigUpgradeStrategyPtrOutput) DrainInput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategy) *ClusterRkeConfigUpgradeStrategyDrainInput { + if v == nil { + return nil + } + return v.DrainInput + }).(ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) +} + +// RKE max unavailable controlplane nodes. Default: `1` (string) +func (o ClusterRkeConfigUpgradeStrategyPtrOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategy) *string { + if v == nil { + return nil + } + return v.MaxUnavailableControlplane }).(pulumi.StringPtrOutput) } -// Retention for etcd backup. Default `6` (int) -func (o ClusterScheduledClusterScanScheduleConfigPtrOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterScheduledClusterScanScheduleConfig) *int { +// RKE max unavailable worker nodes. Default: `10%` (string) +func (o ClusterRkeConfigUpgradeStrategyPtrOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategy) *string { if v == nil { return nil } - return v.Retention - }).(pulumi.IntPtrOutput) + return v.MaxUnavailableWorker + }).(pulumi.StringPtrOutput) } -type ClusterSyncNode struct { - // Annotations of the node (map). - Annotations map[string]interface{} `pulumi:"annotations"` - // The total resources of a node (map). - Capacity map[string]interface{} `pulumi:"capacity"` - // The Cluster ID of the node (string). - ClusterId *string `pulumi:"clusterId"` - // The external IP address of the node (string). - ExternalIpAddress *string `pulumi:"externalIpAddress"` - // The hostname of the node (string). - Hostname *string `pulumi:"hostname"` - // The ID of the node (string) - Id *string `pulumi:"id"` - // The private IP address of the node (string). - IpAddress *string `pulumi:"ipAddress"` - // Labels of the node (map). - Labels map[string]interface{} `pulumi:"labels"` - // The name of the node (string). - Name *string `pulumi:"name"` - // The Node Pool ID of the node (string). - NodePoolId *string `pulumi:"nodePoolId"` - // The Node Template ID of the node (string). - NodeTemplateId *string `pulumi:"nodeTemplateId"` - // The Provider ID of the node (string). - ProviderId *string `pulumi:"providerId"` - // The requested hostname (string). - RequestedHostname *string `pulumi:"requestedHostname"` - // Roles of the node. `controlplane`, `etcd` and `worker`. (list) - Roles []string `pulumi:"roles"` - // The user to connect to the node (string). - SshUser *string `pulumi:"sshUser"` - // General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name. - SystemInfo map[string]interface{} `pulumi:"systemInfo"` +type ClusterRkeConfigUpgradeStrategyDrainInput struct { + // Delete RKE node local data. Default: `false` (bool) + DeleteLocalData *bool `pulumi:"deleteLocalData"` + // Force RKE node drain. Default: `false` (bool) + Force *bool `pulumi:"force"` + // RKE node drain grace period. Default: `-1` (int) + GracePeriod *int `pulumi:"gracePeriod"` + // Ignore RKE daemon sets. Default: `true` (bool) + IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` + // RKE node drain timeout. Default: `60` (int) + Timeout *int `pulumi:"timeout"` } -// ClusterSyncNodeInput is an input type that accepts ClusterSyncNodeArgs and ClusterSyncNodeOutput values. -// You can construct a concrete instance of `ClusterSyncNodeInput` via: +// ClusterRkeConfigUpgradeStrategyDrainInputInput is an input type that accepts ClusterRkeConfigUpgradeStrategyDrainInputArgs and ClusterRkeConfigUpgradeStrategyDrainInputOutput values. +// You can construct a concrete instance of `ClusterRkeConfigUpgradeStrategyDrainInputInput` via: // -// ClusterSyncNodeArgs{...} -type ClusterSyncNodeInput interface { +// ClusterRkeConfigUpgradeStrategyDrainInputArgs{...} +type ClusterRkeConfigUpgradeStrategyDrainInputInput interface { pulumi.Input - ToClusterSyncNodeOutput() ClusterSyncNodeOutput - ToClusterSyncNodeOutputWithContext(context.Context) ClusterSyncNodeOutput + ToClusterRkeConfigUpgradeStrategyDrainInputOutput() ClusterRkeConfigUpgradeStrategyDrainInputOutput + ToClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Context) ClusterRkeConfigUpgradeStrategyDrainInputOutput } -type ClusterSyncNodeArgs struct { - // Annotations of the node (map). - Annotations pulumi.MapInput `pulumi:"annotations"` - // The total resources of a node (map). - Capacity pulumi.MapInput `pulumi:"capacity"` - // The Cluster ID of the node (string). - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - // The external IP address of the node (string). - ExternalIpAddress pulumi.StringPtrInput `pulumi:"externalIpAddress"` - // The hostname of the node (string). - Hostname pulumi.StringPtrInput `pulumi:"hostname"` - // The ID of the node (string) - Id pulumi.StringPtrInput `pulumi:"id"` - // The private IP address of the node (string). - IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` - // Labels of the node (map). - Labels pulumi.MapInput `pulumi:"labels"` - // The name of the node (string). - Name pulumi.StringPtrInput `pulumi:"name"` - // The Node Pool ID of the node (string). - NodePoolId pulumi.StringPtrInput `pulumi:"nodePoolId"` - // The Node Template ID of the node (string). - NodeTemplateId pulumi.StringPtrInput `pulumi:"nodeTemplateId"` - // The Provider ID of the node (string). - ProviderId pulumi.StringPtrInput `pulumi:"providerId"` - // The requested hostname (string). - RequestedHostname pulumi.StringPtrInput `pulumi:"requestedHostname"` - // Roles of the node. `controlplane`, `etcd` and `worker`. (list) - Roles pulumi.StringArrayInput `pulumi:"roles"` - // The user to connect to the node (string). - SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name. - SystemInfo pulumi.MapInput `pulumi:"systemInfo"` +type ClusterRkeConfigUpgradeStrategyDrainInputArgs struct { + // Delete RKE node local data. Default: `false` (bool) + DeleteLocalData pulumi.BoolPtrInput `pulumi:"deleteLocalData"` + // Force RKE node drain. Default: `false` (bool) + Force pulumi.BoolPtrInput `pulumi:"force"` + // RKE node drain grace period. Default: `-1` (int) + GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` + // Ignore RKE daemon sets. Default: `true` (bool) + IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` + // RKE node drain timeout. Default: `60` (int) + Timeout pulumi.IntPtrInput `pulumi:"timeout"` } -func (ClusterSyncNodeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterSyncNode)(nil)).Elem() +func (ClusterRkeConfigUpgradeStrategyDrainInputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -func (i ClusterSyncNodeArgs) ToClusterSyncNodeOutput() ClusterSyncNodeOutput { - return i.ToClusterSyncNodeOutputWithContext(context.Background()) +func (i ClusterRkeConfigUpgradeStrategyDrainInputArgs) ToClusterRkeConfigUpgradeStrategyDrainInputOutput() ClusterRkeConfigUpgradeStrategyDrainInputOutput { + return i.ToClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Background()) } -func (i ClusterSyncNodeArgs) ToClusterSyncNodeOutputWithContext(ctx context.Context) ClusterSyncNodeOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterSyncNodeOutput) +func (i ClusterRkeConfigUpgradeStrategyDrainInputArgs) ToClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyDrainInputOutput) } -// ClusterSyncNodeArrayInput is an input type that accepts ClusterSyncNodeArray and ClusterSyncNodeArrayOutput values. -// You can construct a concrete instance of `ClusterSyncNodeArrayInput` via: +func (i ClusterRkeConfigUpgradeStrategyDrainInputArgs) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { + return i.ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) +} + +func (i ClusterRkeConfigUpgradeStrategyDrainInputArgs) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyDrainInputOutput).ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx) +} + +// ClusterRkeConfigUpgradeStrategyDrainInputPtrInput is an input type that accepts ClusterRkeConfigUpgradeStrategyDrainInputArgs, ClusterRkeConfigUpgradeStrategyDrainInputPtr and ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput values. +// You can construct a concrete instance of `ClusterRkeConfigUpgradeStrategyDrainInputPtrInput` via: // -// ClusterSyncNodeArray{ ClusterSyncNodeArgs{...} } -type ClusterSyncNodeArrayInput interface { +// ClusterRkeConfigUpgradeStrategyDrainInputArgs{...} +// +// or: +// +// nil +type ClusterRkeConfigUpgradeStrategyDrainInputPtrInput interface { pulumi.Input - ToClusterSyncNodeArrayOutput() ClusterSyncNodeArrayOutput - ToClusterSyncNodeArrayOutputWithContext(context.Context) ClusterSyncNodeArrayOutput + ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput + ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Context) ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput } -type ClusterSyncNodeArray []ClusterSyncNodeInput +type clusterRkeConfigUpgradeStrategyDrainInputPtrType ClusterRkeConfigUpgradeStrategyDrainInputArgs -func (ClusterSyncNodeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterSyncNode)(nil)).Elem() +func ClusterRkeConfigUpgradeStrategyDrainInputPtr(v *ClusterRkeConfigUpgradeStrategyDrainInputArgs) ClusterRkeConfigUpgradeStrategyDrainInputPtrInput { + return (*clusterRkeConfigUpgradeStrategyDrainInputPtrType)(v) } -func (i ClusterSyncNodeArray) ToClusterSyncNodeArrayOutput() ClusterSyncNodeArrayOutput { - return i.ToClusterSyncNodeArrayOutputWithContext(context.Background()) +func (*clusterRkeConfigUpgradeStrategyDrainInputPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -func (i ClusterSyncNodeArray) ToClusterSyncNodeArrayOutputWithContext(ctx context.Context) ClusterSyncNodeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterSyncNodeArrayOutput) +func (i *clusterRkeConfigUpgradeStrategyDrainInputPtrType) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { + return i.ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) } -type ClusterSyncNodeOutput struct{ *pulumi.OutputState } +func (i *clusterRkeConfigUpgradeStrategyDrainInputPtrType) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) +} -func (ClusterSyncNodeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterSyncNode)(nil)).Elem() +type ClusterRkeConfigUpgradeStrategyDrainInputOutput struct{ *pulumi.OutputState } + +func (ClusterRkeConfigUpgradeStrategyDrainInputOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -func (o ClusterSyncNodeOutput) ToClusterSyncNodeOutput() ClusterSyncNodeOutput { +func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) ToClusterRkeConfigUpgradeStrategyDrainInputOutput() ClusterRkeConfigUpgradeStrategyDrainInputOutput { return o } -func (o ClusterSyncNodeOutput) ToClusterSyncNodeOutputWithContext(ctx context.Context) ClusterSyncNodeOutput { +func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) ToClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputOutput { return o } -// Annotations of the node (map). -func (o ClusterSyncNodeOutput) Annotations() pulumi.MapOutput { - return o.ApplyT(func(v ClusterSyncNode) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) +func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { + return o.ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) } -// The total resources of a node (map). -func (o ClusterSyncNodeOutput) Capacity() pulumi.MapOutput { - return o.ApplyT(func(v ClusterSyncNode) map[string]interface{} { return v.Capacity }).(pulumi.MapOutput) +func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterRkeConfigUpgradeStrategyDrainInput) *ClusterRkeConfigUpgradeStrategyDrainInput { + return &v + }).(ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) } -// The Cluster ID of the node (string). -func (o ClusterSyncNodeOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +// Delete RKE node local data. Default: `false` (bool) +func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) DeleteLocalData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.DeleteLocalData }).(pulumi.BoolPtrOutput) } -// The external IP address of the node (string). -func (o ClusterSyncNodeOutput) ExternalIpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.ExternalIpAddress }).(pulumi.StringPtrOutput) +// Force RKE node drain. Default: `false` (bool) +func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.Force }).(pulumi.BoolPtrOutput) } -// The hostname of the node (string). -func (o ClusterSyncNodeOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.Hostname }).(pulumi.StringPtrOutput) +// RKE node drain grace period. Default: `-1` (int) +func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategyDrainInput) *int { return v.GracePeriod }).(pulumi.IntPtrOutput) } -// The ID of the node (string) -func (o ClusterSyncNodeOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.Id }).(pulumi.StringPtrOutput) +// Ignore RKE daemon sets. Default: `true` (bool) +func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) } -// The private IP address of the node (string). -func (o ClusterSyncNodeOutput) IpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.IpAddress }).(pulumi.StringPtrOutput) +// RKE node drain timeout. Default: `60` (int) +func (o ClusterRkeConfigUpgradeStrategyDrainInputOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterRkeConfigUpgradeStrategyDrainInput) *int { return v.Timeout }).(pulumi.IntPtrOutput) } -// Labels of the node (map). -func (o ClusterSyncNodeOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v ClusterSyncNode) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) -} +type ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput struct{ *pulumi.OutputState } -// The name of the node (string). -func (o ClusterSyncNodeOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.Name }).(pulumi.StringPtrOutput) +func (ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -// The Node Pool ID of the node (string). -func (o ClusterSyncNodeOutput) NodePoolId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.NodePoolId }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { + return o } -// The Node Template ID of the node (string). -func (o ClusterSyncNodeOutput) NodeTemplateId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.NodeTemplateId }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) ToClusterRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput { + return o } -// The Provider ID of the node (string). -func (o ClusterSyncNodeOutput) ProviderId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.ProviderId }).(pulumi.StringPtrOutput) +func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) Elem() ClusterRkeConfigUpgradeStrategyDrainInputOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) ClusterRkeConfigUpgradeStrategyDrainInput { + if v != nil { + return *v + } + var ret ClusterRkeConfigUpgradeStrategyDrainInput + return ret + }).(ClusterRkeConfigUpgradeStrategyDrainInputOutput) } -// The requested hostname (string). -func (o ClusterSyncNodeOutput) RequestedHostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.RequestedHostname }).(pulumi.StringPtrOutput) +// Delete RKE node local data. Default: `false` (bool) +func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) DeleteLocalData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) *bool { + if v == nil { + return nil + } + return v.DeleteLocalData + }).(pulumi.BoolPtrOutput) } -// Roles of the node. `controlplane`, `etcd` and `worker`. (list) -func (o ClusterSyncNodeOutput) Roles() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterSyncNode) []string { return v.Roles }).(pulumi.StringArrayOutput) +// Force RKE node drain. Default: `false` (bool) +func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) *bool { + if v == nil { + return nil + } + return v.Force + }).(pulumi.BoolPtrOutput) } -// The user to connect to the node (string). -func (o ClusterSyncNodeOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterSyncNode) *string { return v.SshUser }).(pulumi.StringPtrOutput) +// RKE node drain grace period. Default: `-1` (int) +func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) *int { + if v == nil { + return nil + } + return v.GracePeriod + }).(pulumi.IntPtrOutput) } -// General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name. -func (o ClusterSyncNodeOutput) SystemInfo() pulumi.MapOutput { - return o.ApplyT(func(v ClusterSyncNode) map[string]interface{} { return v.SystemInfo }).(pulumi.MapOutput) +// Ignore RKE daemon sets. Default: `true` (bool) +func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) *bool { + if v == nil { + return nil + } + return v.IgnoreDaemonSets + }).(pulumi.BoolPtrOutput) } -type ClusterSyncNodeArrayOutput struct{ *pulumi.OutputState } - -func (ClusterSyncNodeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterSyncNode)(nil)).Elem() +// RKE node drain timeout. Default: `60` (int) +func (o ClusterRkeConfigUpgradeStrategyDrainInputPtrOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterRkeConfigUpgradeStrategyDrainInput) *int { + if v == nil { + return nil + } + return v.Timeout + }).(pulumi.IntPtrOutput) } -func (o ClusterSyncNodeArrayOutput) ToClusterSyncNodeArrayOutput() ClusterSyncNodeArrayOutput { - return o +type ClusterScheduledClusterScan struct { + // Enable scheduled cluster scan. Default: `false` (bool) + Enabled *bool `pulumi:"enabled"` + // Cluster scan config (List maxitems:1) + ScanConfig ClusterScheduledClusterScanScanConfig `pulumi:"scanConfig"` + // Cluster scan schedule config (list maxitems:1) + ScheduleConfig ClusterScheduledClusterScanScheduleConfig `pulumi:"scheduleConfig"` } -func (o ClusterSyncNodeArrayOutput) ToClusterSyncNodeArrayOutputWithContext(ctx context.Context) ClusterSyncNodeArrayOutput { - return o -} +// ClusterScheduledClusterScanInput is an input type that accepts ClusterScheduledClusterScanArgs and ClusterScheduledClusterScanOutput values. +// You can construct a concrete instance of `ClusterScheduledClusterScanInput` via: +// +// ClusterScheduledClusterScanArgs{...} +type ClusterScheduledClusterScanInput interface { + pulumi.Input -func (o ClusterSyncNodeArrayOutput) Index(i pulumi.IntInput) ClusterSyncNodeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterSyncNode { - return vs[0].([]ClusterSyncNode)[vs[1].(int)] - }).(ClusterSyncNodeOutput) + ToClusterScheduledClusterScanOutput() ClusterScheduledClusterScanOutput + ToClusterScheduledClusterScanOutputWithContext(context.Context) ClusterScheduledClusterScanOutput } -type ClusterTemplateMember struct { - // Member access type. Valid values: `["read-only" | "owner"]` (string) - AccessType *string `pulumi:"accessType"` - // Member group principal id (string) - GroupPrincipalId *string `pulumi:"groupPrincipalId"` - // Member user principal id (string) - UserPrincipalId *string `pulumi:"userPrincipalId"` +type ClusterScheduledClusterScanArgs struct { + // Enable scheduled cluster scan. Default: `false` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // Cluster scan config (List maxitems:1) + ScanConfig ClusterScheduledClusterScanScanConfigInput `pulumi:"scanConfig"` + // Cluster scan schedule config (list maxitems:1) + ScheduleConfig ClusterScheduledClusterScanScheduleConfigInput `pulumi:"scheduleConfig"` } -// ClusterTemplateMemberInput is an input type that accepts ClusterTemplateMemberArgs and ClusterTemplateMemberOutput values. -// You can construct a concrete instance of `ClusterTemplateMemberInput` via: -// -// ClusterTemplateMemberArgs{...} -type ClusterTemplateMemberInput interface { - pulumi.Input - - ToClusterTemplateMemberOutput() ClusterTemplateMemberOutput - ToClusterTemplateMemberOutputWithContext(context.Context) ClusterTemplateMemberOutput +func (ClusterScheduledClusterScanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterScheduledClusterScan)(nil)).Elem() } -type ClusterTemplateMemberArgs struct { - // Member access type. Valid values: `["read-only" | "owner"]` (string) - AccessType pulumi.StringPtrInput `pulumi:"accessType"` - // Member group principal id (string) - GroupPrincipalId pulumi.StringPtrInput `pulumi:"groupPrincipalId"` - // Member user principal id (string) - UserPrincipalId pulumi.StringPtrInput `pulumi:"userPrincipalId"` +func (i ClusterScheduledClusterScanArgs) ToClusterScheduledClusterScanOutput() ClusterScheduledClusterScanOutput { + return i.ToClusterScheduledClusterScanOutputWithContext(context.Background()) } -func (ClusterTemplateMemberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateMember)(nil)).Elem() +func (i ClusterScheduledClusterScanArgs) ToClusterScheduledClusterScanOutputWithContext(ctx context.Context) ClusterScheduledClusterScanOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanOutput) } -func (i ClusterTemplateMemberArgs) ToClusterTemplateMemberOutput() ClusterTemplateMemberOutput { - return i.ToClusterTemplateMemberOutputWithContext(context.Background()) +func (i ClusterScheduledClusterScanArgs) ToClusterScheduledClusterScanPtrOutput() ClusterScheduledClusterScanPtrOutput { + return i.ToClusterScheduledClusterScanPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateMemberArgs) ToClusterTemplateMemberOutputWithContext(ctx context.Context) ClusterTemplateMemberOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateMemberOutput) +func (i ClusterScheduledClusterScanArgs) ToClusterScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanOutput).ToClusterScheduledClusterScanPtrOutputWithContext(ctx) } -// ClusterTemplateMemberArrayInput is an input type that accepts ClusterTemplateMemberArray and ClusterTemplateMemberArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateMemberArrayInput` via: +// ClusterScheduledClusterScanPtrInput is an input type that accepts ClusterScheduledClusterScanArgs, ClusterScheduledClusterScanPtr and ClusterScheduledClusterScanPtrOutput values. +// You can construct a concrete instance of `ClusterScheduledClusterScanPtrInput` via: // -// ClusterTemplateMemberArray{ ClusterTemplateMemberArgs{...} } -type ClusterTemplateMemberArrayInput interface { +// ClusterScheduledClusterScanArgs{...} +// +// or: +// +// nil +type ClusterScheduledClusterScanPtrInput interface { pulumi.Input - ToClusterTemplateMemberArrayOutput() ClusterTemplateMemberArrayOutput - ToClusterTemplateMemberArrayOutputWithContext(context.Context) ClusterTemplateMemberArrayOutput + ToClusterScheduledClusterScanPtrOutput() ClusterScheduledClusterScanPtrOutput + ToClusterScheduledClusterScanPtrOutputWithContext(context.Context) ClusterScheduledClusterScanPtrOutput } -type ClusterTemplateMemberArray []ClusterTemplateMemberInput +type clusterScheduledClusterScanPtrType ClusterScheduledClusterScanArgs -func (ClusterTemplateMemberArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateMember)(nil)).Elem() +func ClusterScheduledClusterScanPtr(v *ClusterScheduledClusterScanArgs) ClusterScheduledClusterScanPtrInput { + return (*clusterScheduledClusterScanPtrType)(v) } -func (i ClusterTemplateMemberArray) ToClusterTemplateMemberArrayOutput() ClusterTemplateMemberArrayOutput { - return i.ToClusterTemplateMemberArrayOutputWithContext(context.Background()) +func (*clusterScheduledClusterScanPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterScheduledClusterScan)(nil)).Elem() } -func (i ClusterTemplateMemberArray) ToClusterTemplateMemberArrayOutputWithContext(ctx context.Context) ClusterTemplateMemberArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateMemberArrayOutput) +func (i *clusterScheduledClusterScanPtrType) ToClusterScheduledClusterScanPtrOutput() ClusterScheduledClusterScanPtrOutput { + return i.ToClusterScheduledClusterScanPtrOutputWithContext(context.Background()) } -type ClusterTemplateMemberOutput struct{ *pulumi.OutputState } +func (i *clusterScheduledClusterScanPtrType) ToClusterScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanPtrOutput) +} -func (ClusterTemplateMemberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateMember)(nil)).Elem() +type ClusterScheduledClusterScanOutput struct{ *pulumi.OutputState } + +func (ClusterScheduledClusterScanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterScheduledClusterScan)(nil)).Elem() } -func (o ClusterTemplateMemberOutput) ToClusterTemplateMemberOutput() ClusterTemplateMemberOutput { +func (o ClusterScheduledClusterScanOutput) ToClusterScheduledClusterScanOutput() ClusterScheduledClusterScanOutput { return o } -func (o ClusterTemplateMemberOutput) ToClusterTemplateMemberOutputWithContext(ctx context.Context) ClusterTemplateMemberOutput { +func (o ClusterScheduledClusterScanOutput) ToClusterScheduledClusterScanOutputWithContext(ctx context.Context) ClusterScheduledClusterScanOutput { return o } -// Member access type. Valid values: `["read-only" | "owner"]` (string) -func (o ClusterTemplateMemberOutput) AccessType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateMember) *string { return v.AccessType }).(pulumi.StringPtrOutput) +func (o ClusterScheduledClusterScanOutput) ToClusterScheduledClusterScanPtrOutput() ClusterScheduledClusterScanPtrOutput { + return o.ToClusterScheduledClusterScanPtrOutputWithContext(context.Background()) } -// Member group principal id (string) -func (o ClusterTemplateMemberOutput) GroupPrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateMember) *string { return v.GroupPrincipalId }).(pulumi.StringPtrOutput) +func (o ClusterScheduledClusterScanOutput) ToClusterScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterScheduledClusterScan) *ClusterScheduledClusterScan { + return &v + }).(ClusterScheduledClusterScanPtrOutput) } -// Member user principal id (string) -func (o ClusterTemplateMemberOutput) UserPrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateMember) *string { return v.UserPrincipalId }).(pulumi.StringPtrOutput) +// Enable scheduled cluster scan. Default: `false` (bool) +func (o ClusterScheduledClusterScanOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterScheduledClusterScan) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type ClusterTemplateMemberArrayOutput struct{ *pulumi.OutputState } +// Cluster scan config (List maxitems:1) +func (o ClusterScheduledClusterScanOutput) ScanConfig() ClusterScheduledClusterScanScanConfigOutput { + return o.ApplyT(func(v ClusterScheduledClusterScan) ClusterScheduledClusterScanScanConfig { return v.ScanConfig }).(ClusterScheduledClusterScanScanConfigOutput) +} -func (ClusterTemplateMemberArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateMember)(nil)).Elem() +// Cluster scan schedule config (list maxitems:1) +func (o ClusterScheduledClusterScanOutput) ScheduleConfig() ClusterScheduledClusterScanScheduleConfigOutput { + return o.ApplyT(func(v ClusterScheduledClusterScan) ClusterScheduledClusterScanScheduleConfig { return v.ScheduleConfig }).(ClusterScheduledClusterScanScheduleConfigOutput) } -func (o ClusterTemplateMemberArrayOutput) ToClusterTemplateMemberArrayOutput() ClusterTemplateMemberArrayOutput { +type ClusterScheduledClusterScanPtrOutput struct{ *pulumi.OutputState } + +func (ClusterScheduledClusterScanPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterScheduledClusterScan)(nil)).Elem() +} + +func (o ClusterScheduledClusterScanPtrOutput) ToClusterScheduledClusterScanPtrOutput() ClusterScheduledClusterScanPtrOutput { return o } -func (o ClusterTemplateMemberArrayOutput) ToClusterTemplateMemberArrayOutputWithContext(ctx context.Context) ClusterTemplateMemberArrayOutput { +func (o ClusterScheduledClusterScanPtrOutput) ToClusterScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanPtrOutput { return o } -func (o ClusterTemplateMemberArrayOutput) Index(i pulumi.IntInput) ClusterTemplateMemberOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateMember { - return vs[0].([]ClusterTemplateMember)[vs[1].(int)] - }).(ClusterTemplateMemberOutput) -} - -type ClusterTemplateTemplateRevision struct { - // Annotations for the cluster template revision (map) - Annotations map[string]interface{} `pulumi:"annotations"` - // Cluster configuration (list maxitem: 1) - ClusterConfig ClusterTemplateTemplateRevisionClusterConfig `pulumi:"clusterConfig"` - // Cluster template ID (string) - ClusterTemplateId *string `pulumi:"clusterTemplateId"` - // Default variable value (string) - Default *bool `pulumi:"default"` - // Enable cluster template revision. Default `true` (bool) - Enabled *bool `pulumi:"enabled"` - // The cluster template revision ID (string) - Id *string `pulumi:"id"` - // Labels for the cluster template revision (map) - Labels map[string]interface{} `pulumi:"labels"` - // The cluster template revision name (string) - Name string `pulumi:"name"` - // Cluster template questions (list) - Questions []ClusterTemplateTemplateRevisionQuestion `pulumi:"questions"` -} - -// ClusterTemplateTemplateRevisionInput is an input type that accepts ClusterTemplateTemplateRevisionArgs and ClusterTemplateTemplateRevisionOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionInput` via: -// -// ClusterTemplateTemplateRevisionArgs{...} -type ClusterTemplateTemplateRevisionInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionOutput() ClusterTemplateTemplateRevisionOutput - ToClusterTemplateTemplateRevisionOutputWithContext(context.Context) ClusterTemplateTemplateRevisionOutput +func (o ClusterScheduledClusterScanPtrOutput) Elem() ClusterScheduledClusterScanOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScan) ClusterScheduledClusterScan { + if v != nil { + return *v + } + var ret ClusterScheduledClusterScan + return ret + }).(ClusterScheduledClusterScanOutput) } -type ClusterTemplateTemplateRevisionArgs struct { - // Annotations for the cluster template revision (map) - Annotations pulumi.MapInput `pulumi:"annotations"` - // Cluster configuration (list maxitem: 1) - ClusterConfig ClusterTemplateTemplateRevisionClusterConfigInput `pulumi:"clusterConfig"` - // Cluster template ID (string) - ClusterTemplateId pulumi.StringPtrInput `pulumi:"clusterTemplateId"` - // Default variable value (string) - Default pulumi.BoolPtrInput `pulumi:"default"` - // Enable cluster template revision. Default `true` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // The cluster template revision ID (string) - Id pulumi.StringPtrInput `pulumi:"id"` - // Labels for the cluster template revision (map) - Labels pulumi.MapInput `pulumi:"labels"` - // The cluster template revision name (string) - Name pulumi.StringInput `pulumi:"name"` - // Cluster template questions (list) - Questions ClusterTemplateTemplateRevisionQuestionArrayInput `pulumi:"questions"` +// Enable scheduled cluster scan. Default: `false` (bool) +func (o ClusterScheduledClusterScanPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScan) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (ClusterTemplateTemplateRevisionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevision)(nil)).Elem() +// Cluster scan config (List maxitems:1) +func (o ClusterScheduledClusterScanPtrOutput) ScanConfig() ClusterScheduledClusterScanScanConfigPtrOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScan) *ClusterScheduledClusterScanScanConfig { + if v == nil { + return nil + } + return &v.ScanConfig + }).(ClusterScheduledClusterScanScanConfigPtrOutput) } -func (i ClusterTemplateTemplateRevisionArgs) ToClusterTemplateTemplateRevisionOutput() ClusterTemplateTemplateRevisionOutput { - return i.ToClusterTemplateTemplateRevisionOutputWithContext(context.Background()) +// Cluster scan schedule config (list maxitems:1) +func (o ClusterScheduledClusterScanPtrOutput) ScheduleConfig() ClusterScheduledClusterScanScheduleConfigPtrOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScan) *ClusterScheduledClusterScanScheduleConfig { + if v == nil { + return nil + } + return &v.ScheduleConfig + }).(ClusterScheduledClusterScanScheduleConfigPtrOutput) } -func (i ClusterTemplateTemplateRevisionArgs) ToClusterTemplateTemplateRevisionOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionOutput) +type ClusterScheduledClusterScanScanConfig struct { + // Cluster Cis Scan config (List maxitems:1) + CisScanConfig *ClusterScheduledClusterScanScanConfigCisScanConfig `pulumi:"cisScanConfig"` } -// ClusterTemplateTemplateRevisionArrayInput is an input type that accepts ClusterTemplateTemplateRevisionArray and ClusterTemplateTemplateRevisionArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionArrayInput` via: +// ClusterScheduledClusterScanScanConfigInput is an input type that accepts ClusterScheduledClusterScanScanConfigArgs and ClusterScheduledClusterScanScanConfigOutput values. +// You can construct a concrete instance of `ClusterScheduledClusterScanScanConfigInput` via: // -// ClusterTemplateTemplateRevisionArray{ ClusterTemplateTemplateRevisionArgs{...} } -type ClusterTemplateTemplateRevisionArrayInput interface { +// ClusterScheduledClusterScanScanConfigArgs{...} +type ClusterScheduledClusterScanScanConfigInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionArrayOutput() ClusterTemplateTemplateRevisionArrayOutput - ToClusterTemplateTemplateRevisionArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionArrayOutput -} - -type ClusterTemplateTemplateRevisionArray []ClusterTemplateTemplateRevisionInput - -func (ClusterTemplateTemplateRevisionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevision)(nil)).Elem() -} - -func (i ClusterTemplateTemplateRevisionArray) ToClusterTemplateTemplateRevisionArrayOutput() ClusterTemplateTemplateRevisionArrayOutput { - return i.ToClusterTemplateTemplateRevisionArrayOutputWithContext(context.Background()) + ToClusterScheduledClusterScanScanConfigOutput() ClusterScheduledClusterScanScanConfigOutput + ToClusterScheduledClusterScanScanConfigOutputWithContext(context.Context) ClusterScheduledClusterScanScanConfigOutput } -func (i ClusterTemplateTemplateRevisionArray) ToClusterTemplateTemplateRevisionArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionArrayOutput) +type ClusterScheduledClusterScanScanConfigArgs struct { + // Cluster Cis Scan config (List maxitems:1) + CisScanConfig ClusterScheduledClusterScanScanConfigCisScanConfigPtrInput `pulumi:"cisScanConfig"` } -type ClusterTemplateTemplateRevisionOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevision)(nil)).Elem() +func (ClusterScheduledClusterScanScanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterScheduledClusterScanScanConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionOutput) ToClusterTemplateTemplateRevisionOutput() ClusterTemplateTemplateRevisionOutput { - return o +func (i ClusterScheduledClusterScanScanConfigArgs) ToClusterScheduledClusterScanScanConfigOutput() ClusterScheduledClusterScanScanConfigOutput { + return i.ToClusterScheduledClusterScanScanConfigOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionOutput) ToClusterTemplateTemplateRevisionOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionOutput { - return o +func (i ClusterScheduledClusterScanScanConfigArgs) ToClusterScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigOutput) } -// Annotations for the cluster template revision (map) -func (o ClusterTemplateTemplateRevisionOutput) Annotations() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevision) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) +func (i ClusterScheduledClusterScanScanConfigArgs) ToClusterScheduledClusterScanScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigPtrOutput { + return i.ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) } -// Cluster configuration (list maxitem: 1) -func (o ClusterTemplateTemplateRevisionOutput) ClusterConfig() ClusterTemplateTemplateRevisionClusterConfigOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevision) ClusterTemplateTemplateRevisionClusterConfig { - return v.ClusterConfig - }).(ClusterTemplateTemplateRevisionClusterConfigOutput) +func (i ClusterScheduledClusterScanScanConfigArgs) ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigOutput).ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(ctx) } -// Cluster template ID (string) -func (o ClusterTemplateTemplateRevisionOutput) ClusterTemplateId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevision) *string { return v.ClusterTemplateId }).(pulumi.StringPtrOutput) -} +// ClusterScheduledClusterScanScanConfigPtrInput is an input type that accepts ClusterScheduledClusterScanScanConfigArgs, ClusterScheduledClusterScanScanConfigPtr and ClusterScheduledClusterScanScanConfigPtrOutput values. +// You can construct a concrete instance of `ClusterScheduledClusterScanScanConfigPtrInput` via: +// +// ClusterScheduledClusterScanScanConfigArgs{...} +// +// or: +// +// nil +type ClusterScheduledClusterScanScanConfigPtrInput interface { + pulumi.Input -// Default variable value (string) -func (o ClusterTemplateTemplateRevisionOutput) Default() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevision) *bool { return v.Default }).(pulumi.BoolPtrOutput) + ToClusterScheduledClusterScanScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigPtrOutput + ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(context.Context) ClusterScheduledClusterScanScanConfigPtrOutput } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevision) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) -} +type clusterScheduledClusterScanScanConfigPtrType ClusterScheduledClusterScanScanConfigArgs -// The cluster template revision ID (string) -func (o ClusterTemplateTemplateRevisionOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevision) *string { return v.Id }).(pulumi.StringPtrOutput) +func ClusterScheduledClusterScanScanConfigPtr(v *ClusterScheduledClusterScanScanConfigArgs) ClusterScheduledClusterScanScanConfigPtrInput { + return (*clusterScheduledClusterScanScanConfigPtrType)(v) } -// Labels for the cluster template revision (map) -func (o ClusterTemplateTemplateRevisionOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevision) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +func (*clusterScheduledClusterScanScanConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterScheduledClusterScanScanConfig)(nil)).Elem() } -// The cluster template revision name (string) -func (o ClusterTemplateTemplateRevisionOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevision) string { return v.Name }).(pulumi.StringOutput) +func (i *clusterScheduledClusterScanScanConfigPtrType) ToClusterScheduledClusterScanScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigPtrOutput { + return i.ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) } -// Cluster template questions (list) -func (o ClusterTemplateTemplateRevisionOutput) Questions() ClusterTemplateTemplateRevisionQuestionArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevision) []ClusterTemplateTemplateRevisionQuestion { return v.Questions }).(ClusterTemplateTemplateRevisionQuestionArrayOutput) +func (i *clusterScheduledClusterScanScanConfigPtrType) ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigPtrOutput) } -type ClusterTemplateTemplateRevisionArrayOutput struct{ *pulumi.OutputState } +type ClusterScheduledClusterScanScanConfigOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevision)(nil)).Elem() +func (ClusterScheduledClusterScanScanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterScheduledClusterScanScanConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionArrayOutput) ToClusterTemplateTemplateRevisionArrayOutput() ClusterTemplateTemplateRevisionArrayOutput { +func (o ClusterScheduledClusterScanScanConfigOutput) ToClusterScheduledClusterScanScanConfigOutput() ClusterScheduledClusterScanScanConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionArrayOutput) ToClusterTemplateTemplateRevisionArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionArrayOutput { +func (o ClusterScheduledClusterScanScanConfigOutput) ToClusterScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevision { - return vs[0].([]ClusterTemplateTemplateRevision)[vs[1].(int)] - }).(ClusterTemplateTemplateRevisionOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfig struct { - // Local cluster auth endpoint (list maxitems: 1) - ClusterAuthEndpoint *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint `pulumi:"clusterAuthEndpoint"` - // Default cluster role for project members (string) - DefaultClusterRoleForProjectMembers *string `pulumi:"defaultClusterRoleForProjectMembers"` - // Default pod security policy template ID (string) - DefaultPodSecurityPolicyTemplateId *string `pulumi:"defaultPodSecurityPolicyTemplateId"` - // Desired agent image (string) - DesiredAgentImage *string `pulumi:"desiredAgentImage"` - // Desired auth image (string) - DesiredAuthImage *string `pulumi:"desiredAuthImage"` - // Desired auth image (string) - DockerRootDir *string `pulumi:"dockerRootDir"` - // Enable built-in cluster alerting. Default: `false` (bool) - EnableClusterAlerting *bool `pulumi:"enableClusterAlerting"` - // Enable built-in cluster monitoring. Default: `false` (bool) - EnableClusterMonitoring *bool `pulumi:"enableClusterMonitoring"` - // Enable project network isolation. Default: `false` (bool) - EnableNetworkPolicy *bool `pulumi:"enableNetworkPolicy"` - // Rancher Kubernetes Engine Config (list maxitems: 1) - RkeConfig ClusterTemplateTemplateRevisionClusterConfigRkeConfig `pulumi:"rkeConfig"` - // Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1) - ScheduledClusterScan *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan `pulumi:"scheduledClusterScan"` - // Windows prefered cluster. Default: `false` (bool) - WindowsPreferedCluster *bool `pulumi:"windowsPreferedCluster"` -} - -// ClusterTemplateTemplateRevisionClusterConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigArgs and ClusterTemplateTemplateRevisionClusterConfigOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigOutput() ClusterTemplateTemplateRevisionClusterConfigOutput - ToClusterTemplateTemplateRevisionClusterConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigArgs struct { - // Local cluster auth endpoint (list maxitems: 1) - ClusterAuthEndpoint ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrInput `pulumi:"clusterAuthEndpoint"` - // Default cluster role for project members (string) - DefaultClusterRoleForProjectMembers pulumi.StringPtrInput `pulumi:"defaultClusterRoleForProjectMembers"` - // Default pod security policy template ID (string) - DefaultPodSecurityPolicyTemplateId pulumi.StringPtrInput `pulumi:"defaultPodSecurityPolicyTemplateId"` - // Desired agent image (string) - DesiredAgentImage pulumi.StringPtrInput `pulumi:"desiredAgentImage"` - // Desired auth image (string) - DesiredAuthImage pulumi.StringPtrInput `pulumi:"desiredAuthImage"` - // Desired auth image (string) - DockerRootDir pulumi.StringPtrInput `pulumi:"dockerRootDir"` - // Enable built-in cluster alerting. Default: `false` (bool) - EnableClusterAlerting pulumi.BoolPtrInput `pulumi:"enableClusterAlerting"` - // Enable built-in cluster monitoring. Default: `false` (bool) - EnableClusterMonitoring pulumi.BoolPtrInput `pulumi:"enableClusterMonitoring"` - // Enable project network isolation. Default: `false` (bool) - EnableNetworkPolicy pulumi.BoolPtrInput `pulumi:"enableNetworkPolicy"` - // Rancher Kubernetes Engine Config (list maxitems: 1) - RkeConfig ClusterTemplateTemplateRevisionClusterConfigRkeConfigInput `pulumi:"rkeConfig"` - // Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1) - ScheduledClusterScan ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput `pulumi:"scheduledClusterScan"` - // Windows prefered cluster. Default: `false` (bool) - WindowsPreferedCluster pulumi.BoolPtrInput `pulumi:"windowsPreferedCluster"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfig)(nil)).Elem() +func (o ClusterScheduledClusterScanScanConfigOutput) ToClusterScheduledClusterScanScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigPtrOutput { + return o.ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigOutput() ClusterTemplateTemplateRevisionClusterConfigOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigOutputWithContext(context.Background()) +func (o ClusterScheduledClusterScanScanConfigOutput) ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterScheduledClusterScanScanConfig) *ClusterScheduledClusterScanScanConfig { + return &v + }).(ClusterScheduledClusterScanScanConfigPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigOutput) +// Cluster Cis Scan config (List maxitems:1) +func (o ClusterScheduledClusterScanScanConfigOutput) CisScanConfig() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ApplyT(func(v ClusterScheduledClusterScanScanConfig) *ClusterScheduledClusterScanScanConfigCisScanConfig { + return v.CisScanConfig + }).(ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigOutput struct{ *pulumi.OutputState } +type ClusterScheduledClusterScanScanConfigPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfig)(nil)).Elem() +func (ClusterScheduledClusterScanScanConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterScheduledClusterScanScanConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigOutput() ClusterTemplateTemplateRevisionClusterConfigOutput { +func (o ClusterScheduledClusterScanScanConfigPtrOutput) ToClusterScheduledClusterScanScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigOutput { +func (o ClusterScheduledClusterScanScanConfigPtrOutput) ToClusterScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigPtrOutput { return o } -// Local cluster auth endpoint (list maxitems: 1) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) ClusterAuthEndpoint() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint { - return v.ClusterAuthEndpoint - }).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) -} - -// Default cluster role for project members (string) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) DefaultClusterRoleForProjectMembers() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *string { - return v.DefaultClusterRoleForProjectMembers - }).(pulumi.StringPtrOutput) -} - -// Default pod security policy template ID (string) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) DefaultPodSecurityPolicyTemplateId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *string { - return v.DefaultPodSecurityPolicyTemplateId - }).(pulumi.StringPtrOutput) -} - -// Desired agent image (string) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) DesiredAgentImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *string { return v.DesiredAgentImage }).(pulumi.StringPtrOutput) -} - -// Desired auth image (string) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) DesiredAuthImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *string { return v.DesiredAuthImage }).(pulumi.StringPtrOutput) -} - -// Desired auth image (string) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) DockerRootDir() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *string { return v.DockerRootDir }).(pulumi.StringPtrOutput) -} - -// Enable built-in cluster alerting. Default: `false` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) EnableClusterAlerting() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableClusterAlerting }).(pulumi.BoolPtrOutput) -} - -// Enable built-in cluster monitoring. Default: `false` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) EnableClusterMonitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableClusterMonitoring }).(pulumi.BoolPtrOutput) -} - -// Enable project network isolation. Default: `false` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) EnableNetworkPolicy() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableNetworkPolicy }).(pulumi.BoolPtrOutput) -} - -// Rancher Kubernetes Engine Config (list maxitems: 1) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) RkeConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) ClusterTemplateTemplateRevisionClusterConfigRkeConfig { - return v.RkeConfig - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) -} - -// Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) ScheduledClusterScan() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { - return v.ScheduledClusterScan - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) +func (o ClusterScheduledClusterScanScanConfigPtrOutput) Elem() ClusterScheduledClusterScanScanConfigOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfig) ClusterScheduledClusterScanScanConfig { + if v != nil { + return *v + } + var ret ClusterScheduledClusterScanScanConfig + return ret + }).(ClusterScheduledClusterScanScanConfigOutput) } -// Windows prefered cluster. Default: `false` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigOutput) WindowsPreferedCluster() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *bool { return v.WindowsPreferedCluster }).(pulumi.BoolPtrOutput) +// Cluster Cis Scan config (List maxitems:1) +func (o ClusterScheduledClusterScanScanConfigPtrOutput) CisScanConfig() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfig) *ClusterScheduledClusterScanScanConfigCisScanConfig { + if v == nil { + return nil + } + return v.CisScanConfig + }).(ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint struct { - CaCerts *string `pulumi:"caCerts"` - // Enable cluster template revision. Default `true` (bool) - Enabled *bool `pulumi:"enabled"` - Fqdn *string `pulumi:"fqdn"` +type ClusterScheduledClusterScanScanConfigCisScanConfig struct { + // Debug master. Default: `false` (bool) + DebugMaster *bool `pulumi:"debugMaster"` + // Debug worker. Default: `false` (bool) + DebugWorker *bool `pulumi:"debugWorker"` + // Override benchmark version (string) + OverrideBenchmarkVersion *string `pulumi:"overrideBenchmarkVersion"` + // Override skip (string) + OverrideSkips []string `pulumi:"overrideSkips"` + // Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) + Profile *string `pulumi:"profile"` } -// ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs and ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput` via: +// ClusterScheduledClusterScanScanConfigCisScanConfigInput is an input type that accepts ClusterScheduledClusterScanScanConfigCisScanConfigArgs and ClusterScheduledClusterScanScanConfigCisScanConfigOutput values. +// You can construct a concrete instance of `ClusterScheduledClusterScanScanConfigCisScanConfigInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput interface { +// ClusterScheduledClusterScanScanConfigCisScanConfigArgs{...} +type ClusterScheduledClusterScanScanConfigCisScanConfigInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput - ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput + ToClusterScheduledClusterScanScanConfigCisScanConfigOutput() ClusterScheduledClusterScanScanConfigCisScanConfigOutput + ToClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigOutput } -type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs struct { - CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` - // Enable cluster template revision. Default `true` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` +type ClusterScheduledClusterScanScanConfigCisScanConfigArgs struct { + // Debug master. Default: `false` (bool) + DebugMaster pulumi.BoolPtrInput `pulumi:"debugMaster"` + // Debug worker. Default: `false` (bool) + DebugWorker pulumi.BoolPtrInput `pulumi:"debugWorker"` + // Override benchmark version (string) + OverrideBenchmarkVersion pulumi.StringPtrInput `pulumi:"overrideBenchmarkVersion"` + // Override skip (string) + OverrideSkips pulumi.StringArrayInput `pulumi:"overrideSkips"` + // Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) + Profile pulumi.StringPtrInput `pulumi:"profile"` } -func (ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() +func (ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(context.Background()) +func (i ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterScheduledClusterScanScanConfigCisScanConfigOutput() ClusterScheduledClusterScanScanConfigCisScanConfigOutput { + return i.ToClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) +func (i ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigCisScanConfigOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(context.Background()) +func (i ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return i.ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput).ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(ctx) +func (i ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigCisScanConfigOutput).ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs, ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtr and ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrInput` via: +// ClusterScheduledClusterScanScanConfigCisScanConfigPtrInput is an input type that accepts ClusterScheduledClusterScanScanConfigCisScanConfigArgs, ClusterScheduledClusterScanScanConfigCisScanConfigPtr and ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput values. +// You can construct a concrete instance of `ClusterScheduledClusterScanScanConfigCisScanConfigPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs{...} +// ClusterScheduledClusterScanScanConfigCisScanConfigArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrInput interface { +type ClusterScheduledClusterScanScanConfigCisScanConfigPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput + ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput + ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrType ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs +type clusterScheduledClusterScanScanConfigCisScanConfigPtrType ClusterScheduledClusterScanScanConfigCisScanConfigArgs -func ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtr(v *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrType)(v) +func ClusterScheduledClusterScanScanConfigCisScanConfigPtr(v *ClusterScheduledClusterScanScanConfigCisScanConfigArgs) ClusterScheduledClusterScanScanConfigCisScanConfigPtrInput { + return (*clusterScheduledClusterScanScanConfigCisScanConfigPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() +func (*clusterScheduledClusterScanScanConfigCisScanConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrType) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(context.Background()) +func (i *clusterScheduledClusterScanScanConfigCisScanConfigPtrType) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return i.ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrType) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) +func (i *clusterScheduledClusterScanScanConfigCisScanConfigPtrType) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput struct{ *pulumi.OutputState } +type ClusterScheduledClusterScanScanConfigCisScanConfigOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() +func (ClusterScheduledClusterScanScanConfigCisScanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { +func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigOutput() ClusterScheduledClusterScanScanConfigCisScanConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { +func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(context.Background()) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint { +func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterScheduledClusterScanScanConfigCisScanConfig) *ClusterScheduledClusterScanScanConfigCisScanConfig { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) + }).(ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) +// Debug master. Default: `false` (bool) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) DebugMaster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterScheduledClusterScanScanConfigCisScanConfig) *bool { return v.DebugMaster }).(pulumi.BoolPtrOutput) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// Debug worker. Default: `false` (bool) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) DebugWorker() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterScheduledClusterScanScanConfigCisScanConfig) *bool { return v.DebugWorker }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +// Override benchmark version (string) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterScheduledClusterScanScanConfigCisScanConfig) *string { return v.OverrideBenchmarkVersion }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput struct{ *pulumi.OutputState } +// Override skip (string) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) OverrideSkips() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterScheduledClusterScanScanConfigCisScanConfig) []string { return v.OverrideSkips }).(pulumi.StringArrayOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() +// Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigOutput) Profile() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterScheduledClusterScanScanConfigCisScanConfig) *string { return v.Profile }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { +type ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput struct{ *pulumi.OutputState } + +func (ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +} + +func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { +func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToClusterScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint { +func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) Elem() ClusterScheduledClusterScanScanConfigCisScanConfigOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) ClusterScheduledClusterScanScanConfigCisScanConfig { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint + var ret ClusterScheduledClusterScanScanConfigCisScanConfig return ret - }).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) + }).(ClusterScheduledClusterScanScanConfigCisScanConfigOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) CaCerts() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { +// Debug master. Default: `false` (bool) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugMaster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) *bool { if v == nil { return nil } - return v.CaCerts - }).(pulumi.StringPtrOutput) + return v.DebugMaster + }).(pulumi.BoolPtrOutput) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *bool { +// Debug worker. Default: `false` (bool) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugWorker() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) *bool { if v == nil { return nil } - return v.Enabled + return v.DebugWorker }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { +// Override benchmark version (string) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) *string { if v == nil { return nil } - return v.Fqdn + return v.OverrideBenchmarkVersion }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfig struct { - AddonJobTimeout *int `pulumi:"addonJobTimeout"` - Addons *string `pulumi:"addons"` - AddonsIncludes []string `pulumi:"addonsIncludes"` - Authentication *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication `pulumi:"authentication"` - Authorization *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization `pulumi:"authorization"` - BastionHost *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost `pulumi:"bastionHost"` - CloudProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider `pulumi:"cloudProvider"` - Dns *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns `pulumi:"dns"` - EnableCriDockerd *bool `pulumi:"enableCriDockerd"` - IgnoreDockerVersion *bool `pulumi:"ignoreDockerVersion"` - Ingress *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress `pulumi:"ingress"` - KubernetesVersion *string `pulumi:"kubernetesVersion"` - Monitoring *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring `pulumi:"monitoring"` - Network *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork `pulumi:"network"` - Nodes []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode `pulumi:"nodes"` - PrefixPath *string `pulumi:"prefixPath"` - PrivateRegistries []ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry `pulumi:"privateRegistries"` - Services *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices `pulumi:"services"` - SshAgentAuth *bool `pulumi:"sshAgentAuth"` - SshCertPath *string `pulumi:"sshCertPath"` - SshKeyPath *string `pulumi:"sshKeyPath"` - UpgradeStrategy *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy `pulumi:"upgradeStrategy"` - WinPrefixPath *string `pulumi:"winPrefixPath"` +// Override skip (string) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideSkips() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) []string { + if v == nil { + return nil + } + return v.OverrideSkips + }).(pulumi.StringArrayOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput +// Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) +func (o ClusterScheduledClusterScanScanConfigCisScanConfigPtrOutput) Profile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScanConfigCisScanConfig) *string { + if v == nil { + return nil + } + return v.Profile + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs struct { - AddonJobTimeout pulumi.IntPtrInput `pulumi:"addonJobTimeout"` - Addons pulumi.StringPtrInput `pulumi:"addons"` - AddonsIncludes pulumi.StringArrayInput `pulumi:"addonsIncludes"` - Authentication ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrInput `pulumi:"authentication"` - Authorization ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrInput `pulumi:"authorization"` - BastionHost ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrInput `pulumi:"bastionHost"` - CloudProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrInput `pulumi:"cloudProvider"` - Dns ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrInput `pulumi:"dns"` - EnableCriDockerd pulumi.BoolPtrInput `pulumi:"enableCriDockerd"` - IgnoreDockerVersion pulumi.BoolPtrInput `pulumi:"ignoreDockerVersion"` - Ingress ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrInput `pulumi:"ingress"` - KubernetesVersion pulumi.StringPtrInput `pulumi:"kubernetesVersion"` - Monitoring ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrInput `pulumi:"monitoring"` - Network ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput `pulumi:"network"` - Nodes ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput `pulumi:"nodes"` - PrefixPath pulumi.StringPtrInput `pulumi:"prefixPath"` - PrivateRegistries ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput `pulumi:"privateRegistries"` - Services ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrInput `pulumi:"services"` - SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` - SshCertPath pulumi.StringPtrInput `pulumi:"sshCertPath"` - SshKeyPath pulumi.StringPtrInput `pulumi:"sshKeyPath"` - UpgradeStrategy ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrInput `pulumi:"upgradeStrategy"` - WinPrefixPath pulumi.StringPtrInput `pulumi:"winPrefixPath"` +type ClusterScheduledClusterScanScheduleConfig struct { + // Crontab schedule. It should contains 5 fields `" "` (string) + CronSchedule string `pulumi:"cronSchedule"` + // Retention for etcd backup. Default `6` (int) + Retention *int `pulumi:"retention"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfig)(nil)).Elem() -} +// ClusterScheduledClusterScanScheduleConfigInput is an input type that accepts ClusterScheduledClusterScanScheduleConfigArgs and ClusterScheduledClusterScanScheduleConfigOutput values. +// You can construct a concrete instance of `ClusterScheduledClusterScanScheduleConfigInput` via: +// +// ClusterScheduledClusterScanScheduleConfigArgs{...} +type ClusterScheduledClusterScanScheduleConfigInput interface { + pulumi.Input -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(context.Background()) + ToClusterScheduledClusterScanScheduleConfigOutput() ClusterScheduledClusterScanScheduleConfigOutput + ToClusterScheduledClusterScanScheduleConfigOutputWithContext(context.Context) ClusterScheduledClusterScanScheduleConfigOutput } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) +type ClusterScheduledClusterScanScheduleConfigArgs struct { + // Crontab schedule. It should contains 5 fields `" "` (string) + CronSchedule pulumi.StringInput `pulumi:"cronSchedule"` + // Retention for etcd backup. Default `6` (int) + Retention pulumi.IntPtrInput `pulumi:"retention"` } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfig)(nil)).Elem() +func (ClusterScheduledClusterScanScheduleConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { - return o +func (i ClusterScheduledClusterScanScheduleConfigArgs) ToClusterScheduledClusterScanScheduleConfigOutput() ClusterScheduledClusterScanScheduleConfigOutput { + return i.ToClusterScheduledClusterScanScheduleConfigOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { - return o +func (i ClusterScheduledClusterScanScheduleConfigArgs) ToClusterScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScheduleConfigOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) AddonJobTimeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *int { return v.AddonJobTimeout }).(pulumi.IntPtrOutput) +func (i ClusterScheduledClusterScanScheduleConfigArgs) ToClusterScheduledClusterScanScheduleConfigPtrOutput() ClusterScheduledClusterScanScheduleConfigPtrOutput { + return i.ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Addons() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.Addons }).(pulumi.StringPtrOutput) +func (i ClusterScheduledClusterScanScheduleConfigArgs) ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScheduleConfigOutput).ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) AddonsIncludes() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) []string { return v.AddonsIncludes }).(pulumi.StringArrayOutput) -} +// ClusterScheduledClusterScanScheduleConfigPtrInput is an input type that accepts ClusterScheduledClusterScanScheduleConfigArgs, ClusterScheduledClusterScanScheduleConfigPtr and ClusterScheduledClusterScanScheduleConfigPtrOutput values. +// You can construct a concrete instance of `ClusterScheduledClusterScanScheduleConfigPtrInput` via: +// +// ClusterScheduledClusterScanScheduleConfigArgs{...} +// +// or: +// +// nil +type ClusterScheduledClusterScanScheduleConfigPtrInput interface { + pulumi.Input -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Authentication() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication { - return v.Authentication - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) + ToClusterScheduledClusterScanScheduleConfigPtrOutput() ClusterScheduledClusterScanScheduleConfigPtrOutput + ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Context) ClusterScheduledClusterScanScheduleConfigPtrOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Authorization() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization { - return v.Authorization - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) -} +type clusterScheduledClusterScanScheduleConfigPtrType ClusterScheduledClusterScanScheduleConfigArgs -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) BastionHost() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost { - return v.BastionHost - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) +func ClusterScheduledClusterScanScheduleConfigPtr(v *ClusterScheduledClusterScanScheduleConfigArgs) ClusterScheduledClusterScanScheduleConfigPtrInput { + return (*clusterScheduledClusterScanScheduleConfigPtrType)(v) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) CloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider { - return v.CloudProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) +func (*clusterScheduledClusterScanScheduleConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Dns() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns { - return v.Dns - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) +func (i *clusterScheduledClusterScanScheduleConfigPtrType) ToClusterScheduledClusterScanScheduleConfigPtrOutput() ClusterScheduledClusterScanScheduleConfigPtrOutput { + return i.ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) EnableCriDockerd() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.EnableCriDockerd }).(pulumi.BoolPtrOutput) +func (i *clusterScheduledClusterScanScheduleConfigPtrType) ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterScheduledClusterScanScheduleConfigPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) IgnoreDockerVersion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.IgnoreDockerVersion }).(pulumi.BoolPtrOutput) -} +type ClusterScheduledClusterScanScheduleConfigOutput struct{ *pulumi.OutputState } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Ingress() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress { - return v.Ingress - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) +func (ClusterScheduledClusterScanScheduleConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) KubernetesVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.KubernetesVersion }).(pulumi.StringPtrOutput) +func (o ClusterScheduledClusterScanScheduleConfigOutput) ToClusterScheduledClusterScanScheduleConfigOutput() ClusterScheduledClusterScanScheduleConfigOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Monitoring() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring { - return v.Monitoring - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) +func (o ClusterScheduledClusterScanScheduleConfigOutput) ToClusterScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Network() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { - return v.Network - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) +func (o ClusterScheduledClusterScanScheduleConfigOutput) ToClusterScheduledClusterScanScheduleConfigPtrOutput() ClusterScheduledClusterScanScheduleConfigPtrOutput { + return o.ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Nodes() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode { - return v.Nodes - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) +func (o ClusterScheduledClusterScanScheduleConfigOutput) ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterScheduledClusterScanScheduleConfig) *ClusterScheduledClusterScanScheduleConfig { + return &v + }).(ClusterScheduledClusterScanScheduleConfigPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) PrefixPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.PrefixPath }).(pulumi.StringPtrOutput) +// Crontab schedule. It should contains 5 fields `" "` (string) +func (o ClusterScheduledClusterScanScheduleConfigOutput) CronSchedule() pulumi.StringOutput { + return o.ApplyT(func(v ClusterScheduledClusterScanScheduleConfig) string { return v.CronSchedule }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) PrivateRegistries() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry { - return v.PrivateRegistries - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) +// Retention for etcd backup. Default `6` (int) +func (o ClusterScheduledClusterScanScheduleConfigOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterScheduledClusterScanScheduleConfig) *int { return v.Retention }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Services() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices { - return v.Services - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) +type ClusterScheduledClusterScanScheduleConfigPtrOutput struct{ *pulumi.OutputState } + +func (ClusterScheduledClusterScanScheduleConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) +func (o ClusterScheduledClusterScanScheduleConfigPtrOutput) ToClusterScheduledClusterScanScheduleConfigPtrOutput() ClusterScheduledClusterScanScheduleConfigPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshCertPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.SshCertPath }).(pulumi.StringPtrOutput) +func (o ClusterScheduledClusterScanScheduleConfigPtrOutput) ToClusterScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterScheduledClusterScanScheduleConfigPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshKeyPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.SshKeyPath }).(pulumi.StringPtrOutput) +func (o ClusterScheduledClusterScanScheduleConfigPtrOutput) Elem() ClusterScheduledClusterScanScheduleConfigOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScheduleConfig) ClusterScheduledClusterScanScheduleConfig { + if v != nil { + return *v + } + var ret ClusterScheduledClusterScanScheduleConfig + return ret + }).(ClusterScheduledClusterScanScheduleConfigOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) UpgradeStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy { - return v.UpgradeStrategy - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) +// Crontab schedule. It should contains 5 fields `" "` (string) +func (o ClusterScheduledClusterScanScheduleConfigPtrOutput) CronSchedule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScheduleConfig) *string { + if v == nil { + return nil + } + return &v.CronSchedule + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) WinPrefixPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.WinPrefixPath }).(pulumi.StringPtrOutput) +// Retention for etcd backup. Default `6` (int) +func (o ClusterScheduledClusterScanScheduleConfigPtrOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterScheduledClusterScanScheduleConfig) *int { + if v == nil { + return nil + } + return v.Retention + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication struct { - Sans []string `pulumi:"sans"` - Strategy *string `pulumi:"strategy"` +type ClusterSyncNode struct { + // Annotations of the node (map). + Annotations map[string]interface{} `pulumi:"annotations"` + // The total resources of a node (map). + Capacity map[string]interface{} `pulumi:"capacity"` + // The Cluster ID of the node (string). + ClusterId *string `pulumi:"clusterId"` + // The external IP address of the node (string). + ExternalIpAddress *string `pulumi:"externalIpAddress"` + // The hostname of the node (string). + Hostname *string `pulumi:"hostname"` + // The ID of the node (string) + Id *string `pulumi:"id"` + // The private IP address of the node (string). + IpAddress *string `pulumi:"ipAddress"` + // Labels of the node (map). + Labels map[string]interface{} `pulumi:"labels"` + // The name of the node (string). + Name *string `pulumi:"name"` + // The Node Pool ID of the node (string). + NodePoolId *string `pulumi:"nodePoolId"` + // The Node Template ID of the node (string). + NodeTemplateId *string `pulumi:"nodeTemplateId"` + // The Provider ID of the node (string). + ProviderId *string `pulumi:"providerId"` + // The requested hostname (string). + RequestedHostname *string `pulumi:"requestedHostname"` + // Roles of the node. `controlplane`, `etcd` and `worker`. (list) + Roles []string `pulumi:"roles"` + // The user to connect to the node (string). + SshUser *string `pulumi:"sshUser"` + // General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name. + SystemInfo map[string]interface{} `pulumi:"systemInfo"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput` via: +// ClusterSyncNodeInput is an input type that accepts ClusterSyncNodeArgs and ClusterSyncNodeOutput values. +// You can construct a concrete instance of `ClusterSyncNodeInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput interface { +// ClusterSyncNodeArgs{...} +type ClusterSyncNodeInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs struct { - Sans pulumi.StringArrayInput `pulumi:"sans"` - Strategy pulumi.StringPtrInput `pulumi:"strategy"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() + ToClusterSyncNodeOutput() ClusterSyncNodeOutput + ToClusterSyncNodeOutputWithContext(context.Context) ClusterSyncNodeOutput } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(context.Background()) +type ClusterSyncNodeArgs struct { + // Annotations of the node (map). + Annotations pulumi.MapInput `pulumi:"annotations"` + // The total resources of a node (map). + Capacity pulumi.MapInput `pulumi:"capacity"` + // The Cluster ID of the node (string). + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + // The external IP address of the node (string). + ExternalIpAddress pulumi.StringPtrInput `pulumi:"externalIpAddress"` + // The hostname of the node (string). + Hostname pulumi.StringPtrInput `pulumi:"hostname"` + // The ID of the node (string) + Id pulumi.StringPtrInput `pulumi:"id"` + // The private IP address of the node (string). + IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` + // Labels of the node (map). + Labels pulumi.MapInput `pulumi:"labels"` + // The name of the node (string). + Name pulumi.StringPtrInput `pulumi:"name"` + // The Node Pool ID of the node (string). + NodePoolId pulumi.StringPtrInput `pulumi:"nodePoolId"` + // The Node Template ID of the node (string). + NodeTemplateId pulumi.StringPtrInput `pulumi:"nodeTemplateId"` + // The Provider ID of the node (string). + ProviderId pulumi.StringPtrInput `pulumi:"providerId"` + // The requested hostname (string). + RequestedHostname pulumi.StringPtrInput `pulumi:"requestedHostname"` + // Roles of the node. `controlplane`, `etcd` and `worker`. (list) + Roles pulumi.StringArrayInput `pulumi:"roles"` + // The user to connect to the node (string). + SshUser pulumi.StringPtrInput `pulumi:"sshUser"` + // General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name. + SystemInfo pulumi.MapInput `pulumi:"systemInfo"` } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) +func (ClusterSyncNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterSyncNode)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(context.Background()) +func (i ClusterSyncNodeArgs) ToClusterSyncNodeOutput() ClusterSyncNodeOutput { + return i.ToClusterSyncNodeOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(ctx) +func (i ClusterSyncNodeArgs) ToClusterSyncNodeOutputWithContext(ctx context.Context) ClusterSyncNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterSyncNodeOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs{...} -// -// or: +// ClusterSyncNodeArrayInput is an input type that accepts ClusterSyncNodeArray and ClusterSyncNodeArrayOutput values. +// You can construct a concrete instance of `ClusterSyncNodeArrayInput` via: // -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrInput interface { +// ClusterSyncNodeArray{ ClusterSyncNodeArgs{...} } +type ClusterSyncNodeArrayInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput + ToClusterSyncNodeArrayOutput() ClusterSyncNodeArrayOutput + ToClusterSyncNodeArrayOutputWithContext(context.Context) ClusterSyncNodeArrayOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrType)(v) -} +type ClusterSyncNodeArray []ClusterSyncNodeInput -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() +func (ClusterSyncNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterSyncNode)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(context.Background()) +func (i ClusterSyncNodeArray) ToClusterSyncNodeArrayOutput() ClusterSyncNodeArrayOutput { + return i.ToClusterSyncNodeArrayOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) +func (i ClusterSyncNodeArray) ToClusterSyncNodeArrayOutputWithContext(ctx context.Context) ClusterSyncNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterSyncNodeArrayOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput struct{ *pulumi.OutputState } +type ClusterSyncNodeOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() +func (ClusterSyncNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterSyncNode)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { +func (o ClusterSyncNodeOutput) ToClusterSyncNodeOutput() ClusterSyncNodeOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { +func (o ClusterSyncNodeOutput) ToClusterSyncNodeOutputWithContext(ctx context.Context) ClusterSyncNodeOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(context.Background()) +// Annotations of the node (map). +func (o ClusterSyncNodeOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v ClusterSyncNode) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) +// The total resources of a node (map). +func (o ClusterSyncNodeOutput) Capacity() pulumi.MapOutput { + return o.ApplyT(func(v ClusterSyncNode) map[string]interface{} { return v.Capacity }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) Sans() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) []string { return v.Sans }).(pulumi.StringArrayOutput) +// The Cluster ID of the node (string). +func (o ClusterSyncNodeOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) *string { return v.Strategy }).(pulumi.StringPtrOutput) +// The external IP address of the node (string). +func (o ClusterSyncNodeOutput) ExternalIpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.ExternalIpAddress }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() +// The hostname of the node (string). +func (o ClusterSyncNodeOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.Hostname }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { - return o +// The ID of the node (string) +func (o ClusterSyncNodeOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { - return o +// The private IP address of the node (string). +func (o ClusterSyncNodeOutput) IpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.IpAddress }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) +// Labels of the node (map). +func (o ClusterSyncNodeOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v ClusterSyncNode) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) Sans() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) []string { - if v == nil { - return nil - } - return v.Sans - }).(pulumi.StringArrayOutput) +// The name of the node (string). +func (o ClusterSyncNodeOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) *string { - if v == nil { - return nil - } - return v.Strategy - }).(pulumi.StringPtrOutput) +// The Node Pool ID of the node (string). +func (o ClusterSyncNodeOutput) NodePoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.NodePoolId }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization struct { - Mode *string `pulumi:"mode"` - Options map[string]interface{} `pulumi:"options"` +// The Node Template ID of the node (string). +func (o ClusterSyncNodeOutput) NodeTemplateId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.NodeTemplateId }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput interface { - pulumi.Input +// The Provider ID of the node (string). +func (o ClusterSyncNodeOutput) ProviderId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.ProviderId }).(pulumi.StringPtrOutput) +} - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput +// The requested hostname (string). +func (o ClusterSyncNodeOutput) RequestedHostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.RequestedHostname }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs struct { - Mode pulumi.StringPtrInput `pulumi:"mode"` - Options pulumi.MapInput `pulumi:"options"` +// Roles of the node. `controlplane`, `etcd` and `worker`. (list) +func (o ClusterSyncNodeOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterSyncNode) []string { return v.Roles }).(pulumi.StringArrayOutput) } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() +// The user to connect to the node (string). +func (o ClusterSyncNodeOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterSyncNode) *string { return v.SshUser }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(context.Background()) +// General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name. +func (o ClusterSyncNodeOutput) SystemInfo() pulumi.MapOutput { + return o.ApplyT(func(v ClusterSyncNode) map[string]interface{} { return v.SystemInfo }).(pulumi.MapOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) +type ClusterSyncNodeArrayOutput struct{ *pulumi.OutputState } + +func (ClusterSyncNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterSyncNode)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(context.Background()) +func (o ClusterSyncNodeArrayOutput) ToClusterSyncNodeArrayOutput() ClusterSyncNodeArrayOutput { + return o } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(ctx) +func (o ClusterSyncNodeArrayOutput) ToClusterSyncNodeArrayOutputWithContext(ctx context.Context) ClusterSyncNodeArrayOutput { + return o } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs{...} -// -// or: +func (o ClusterSyncNodeArrayOutput) Index(i pulumi.IntInput) ClusterSyncNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterSyncNode { + return vs[0].([]ClusterSyncNode)[vs[1].(int)] + }).(ClusterSyncNodeOutput) +} + +type ClusterTemplateMember struct { + // Member access type. Valid values: `["read-only" | "owner"]` (string) + AccessType *string `pulumi:"accessType"` + // Member group principal id (string) + GroupPrincipalId *string `pulumi:"groupPrincipalId"` + // Member user principal id (string) + UserPrincipalId *string `pulumi:"userPrincipalId"` +} + +// ClusterTemplateMemberInput is an input type that accepts ClusterTemplateMemberArgs and ClusterTemplateMemberOutput values. +// You can construct a concrete instance of `ClusterTemplateMemberInput` via: // -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrInput interface { +// ClusterTemplateMemberArgs{...} +type ClusterTemplateMemberInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput + ToClusterTemplateMemberOutput() ClusterTemplateMemberOutput + ToClusterTemplateMemberOutputWithContext(context.Context) ClusterTemplateMemberOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs +type ClusterTemplateMemberArgs struct { + // Member access type. Valid values: `["read-only" | "owner"]` (string) + AccessType pulumi.StringPtrInput `pulumi:"accessType"` + // Member group principal id (string) + GroupPrincipalId pulumi.StringPtrInput `pulumi:"groupPrincipalId"` + // Member user principal id (string) + UserPrincipalId pulumi.StringPtrInput `pulumi:"userPrincipalId"` +} -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrType)(v) +func (ClusterTemplateMemberArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateMember)(nil)).Elem() } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() +func (i ClusterTemplateMemberArgs) ToClusterTemplateMemberOutput() ClusterTemplateMemberOutput { + return i.ToClusterTemplateMemberOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(context.Background()) +func (i ClusterTemplateMemberArgs) ToClusterTemplateMemberOutputWithContext(ctx context.Context) ClusterTemplateMemberOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateMemberOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) +// ClusterTemplateMemberArrayInput is an input type that accepts ClusterTemplateMemberArray and ClusterTemplateMemberArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateMemberArrayInput` via: +// +// ClusterTemplateMemberArray{ ClusterTemplateMemberArgs{...} } +type ClusterTemplateMemberArrayInput interface { + pulumi.Input + + ToClusterTemplateMemberArrayOutput() ClusterTemplateMemberArrayOutput + ToClusterTemplateMemberArrayOutputWithContext(context.Context) ClusterTemplateMemberArrayOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput struct{ *pulumi.OutputState } +type ClusterTemplateMemberArray []ClusterTemplateMemberInput -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() +func (ClusterTemplateMemberArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateMember)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { - return o +func (i ClusterTemplateMemberArray) ToClusterTemplateMemberArrayOutput() ClusterTemplateMemberArrayOutput { + return i.ToClusterTemplateMemberArrayOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { +func (i ClusterTemplateMemberArray) ToClusterTemplateMemberArrayOutputWithContext(ctx context.Context) ClusterTemplateMemberArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateMemberArrayOutput) +} + +type ClusterTemplateMemberOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateMemberOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateMember)(nil)).Elem() +} + +func (o ClusterTemplateMemberOutput) ToClusterTemplateMemberOutput() ClusterTemplateMemberOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(context.Background()) +func (o ClusterTemplateMemberOutput) ToClusterTemplateMemberOutputWithContext(ctx context.Context) ClusterTemplateMemberOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) +// Member access type. Valid values: `["read-only" | "owner"]` (string) +func (o ClusterTemplateMemberOutput) AccessType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateMember) *string { return v.AccessType }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) *string { return v.Mode }).(pulumi.StringPtrOutput) +// Member group principal id (string) +func (o ClusterTemplateMemberOutput) GroupPrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateMember) *string { return v.GroupPrincipalId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) map[string]interface{} { - return v.Options - }).(pulumi.MapOutput) +// Member user principal id (string) +func (o ClusterTemplateMemberOutput) UserPrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateMember) *string { return v.UserPrincipalId }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateMemberArrayOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() +func (ClusterTemplateMemberArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateMember)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { +func (o ClusterTemplateMemberArrayOutput) ToClusterTemplateMemberArrayOutput() ClusterTemplateMemberArrayOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { +func (o ClusterTemplateMemberArrayOutput) ToClusterTemplateMemberArrayOutputWithContext(ctx context.Context) ClusterTemplateMemberArrayOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) +func (o ClusterTemplateMemberArrayOutput) Index(i pulumi.IntInput) ClusterTemplateMemberOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateMember { + return vs[0].([]ClusterTemplateMember)[vs[1].(int)] + }).(ClusterTemplateMemberOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) *string { - if v == nil { - return nil - } - return v.Mode - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevision struct { + // Annotations for the cluster template revision (map) + Annotations map[string]interface{} `pulumi:"annotations"` + // Cluster configuration (list maxitem: 1) + ClusterConfig ClusterTemplateTemplateRevisionClusterConfig `pulumi:"clusterConfig"` + // Cluster template ID (string) + ClusterTemplateId *string `pulumi:"clusterTemplateId"` + // Default variable value (string) + Default *bool `pulumi:"default"` + // Enable cluster template revision. Default `true` (bool) + Enabled *bool `pulumi:"enabled"` + // The cluster template revision ID (string) + Id *string `pulumi:"id"` + // Labels for the cluster template revision (map) + Labels map[string]interface{} `pulumi:"labels"` + // The cluster template revision name (string) + Name string `pulumi:"name"` + // Cluster template questions (list) + Questions []ClusterTemplateTemplateRevisionQuestion `pulumi:"questions"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) map[string]interface{} { - if v == nil { - return nil - } - return v.Options - }).(pulumi.MapOutput) +// ClusterTemplateTemplateRevisionInput is an input type that accepts ClusterTemplateTemplateRevisionArgs and ClusterTemplateTemplateRevisionOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionInput` via: +// +// ClusterTemplateTemplateRevisionArgs{...} +type ClusterTemplateTemplateRevisionInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionOutput() ClusterTemplateTemplateRevisionOutput + ToClusterTemplateTemplateRevisionOutputWithContext(context.Context) ClusterTemplateTemplateRevisionOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost struct { - Address string `pulumi:"address"` - Port *string `pulumi:"port"` - SshAgentAuth *bool `pulumi:"sshAgentAuth"` - SshKey *string `pulumi:"sshKey"` - SshKeyPath *string `pulumi:"sshKeyPath"` - User string `pulumi:"user"` +type ClusterTemplateTemplateRevisionArgs struct { + // Annotations for the cluster template revision (map) + Annotations pulumi.MapInput `pulumi:"annotations"` + // Cluster configuration (list maxitem: 1) + ClusterConfig ClusterTemplateTemplateRevisionClusterConfigInput `pulumi:"clusterConfig"` + // Cluster template ID (string) + ClusterTemplateId pulumi.StringPtrInput `pulumi:"clusterTemplateId"` + // Default variable value (string) + Default pulumi.BoolPtrInput `pulumi:"default"` + // Enable cluster template revision. Default `true` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // The cluster template revision ID (string) + Id pulumi.StringPtrInput `pulumi:"id"` + // Labels for the cluster template revision (map) + Labels pulumi.MapInput `pulumi:"labels"` + // The cluster template revision name (string) + Name pulumi.StringInput `pulumi:"name"` + // Cluster template questions (list) + Questions ClusterTemplateTemplateRevisionQuestionArrayInput `pulumi:"questions"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput` via: +func (ClusterTemplateTemplateRevisionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevision)(nil)).Elem() +} + +func (i ClusterTemplateTemplateRevisionArgs) ToClusterTemplateTemplateRevisionOutput() ClusterTemplateTemplateRevisionOutput { + return i.ToClusterTemplateTemplateRevisionOutputWithContext(context.Background()) +} + +func (i ClusterTemplateTemplateRevisionArgs) ToClusterTemplateTemplateRevisionOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionOutput) +} + +// ClusterTemplateTemplateRevisionArrayInput is an input type that accepts ClusterTemplateTemplateRevisionArray and ClusterTemplateTemplateRevisionArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionArrayInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput interface { +// ClusterTemplateTemplateRevisionArray{ ClusterTemplateTemplateRevisionArgs{...} } +type ClusterTemplateTemplateRevisionArrayInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput + ToClusterTemplateTemplateRevisionArrayOutput() ClusterTemplateTemplateRevisionArrayOutput + ToClusterTemplateTemplateRevisionArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionArrayOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs struct { - Address pulumi.StringInput `pulumi:"address"` - Port pulumi.StringPtrInput `pulumi:"port"` - SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` - SshKey pulumi.StringPtrInput `pulumi:"sshKey"` - SshKeyPath pulumi.StringPtrInput `pulumi:"sshKeyPath"` - User pulumi.StringInput `pulumi:"user"` +type ClusterTemplateTemplateRevisionArray []ClusterTemplateTemplateRevisionInput + +func (ClusterTemplateTemplateRevisionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevision)(nil)).Elem() } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() +func (i ClusterTemplateTemplateRevisionArray) ToClusterTemplateTemplateRevisionArrayOutput() ClusterTemplateTemplateRevisionArrayOutput { + return i.ToClusterTemplateTemplateRevisionArrayOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionArray) ToClusterTemplateTemplateRevisionArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionArrayOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) +type ClusterTemplateTemplateRevisionOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevision)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionOutput) ToClusterTemplateTemplateRevisionOutput() ClusterTemplateTemplateRevisionOutput { + return o } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(ctx) +func (o ClusterTemplateTemplateRevisionOutput) ToClusterTemplateTemplateRevisionOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionOutput { + return o } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs{...} -// -// or: -// -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrInput interface { - pulumi.Input +// Annotations for the cluster template revision (map) +func (o ClusterTemplateTemplateRevisionOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevision) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) +} - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput +// Cluster configuration (list maxitem: 1) +func (o ClusterTemplateTemplateRevisionOutput) ClusterConfig() ClusterTemplateTemplateRevisionClusterConfigOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevision) ClusterTemplateTemplateRevisionClusterConfig { + return v.ClusterConfig + }).(ClusterTemplateTemplateRevisionClusterConfigOutput) } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs +// Cluster template ID (string) +func (o ClusterTemplateTemplateRevisionOutput) ClusterTemplateId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevision) *string { return v.ClusterTemplateId }).(pulumi.StringPtrOutput) +} -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrType)(v) +// Default variable value (string) +func (o ClusterTemplateTemplateRevisionOutput) Default() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevision) *bool { return v.Default }).(pulumi.BoolPtrOutput) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevision) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(context.Background()) +// The cluster template revision ID (string) +func (o ClusterTemplateTemplateRevisionOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevision) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) +// Labels for the cluster template revision (map) +func (o ClusterTemplateTemplateRevisionOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevision) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput struct{ *pulumi.OutputState } +// The cluster template revision name (string) +func (o ClusterTemplateTemplateRevisionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevision) string { return v.Name }).(pulumi.StringOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() +// Cluster template questions (list) +func (o ClusterTemplateTemplateRevisionOutput) Questions() ClusterTemplateTemplateRevisionQuestionArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevision) []ClusterTemplateTemplateRevisionQuestion { return v.Questions }).(ClusterTemplateTemplateRevisionQuestionArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { - return o +type ClusterTemplateTemplateRevisionArrayOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevision)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { +func (o ClusterTemplateTemplateRevisionArrayOutput) ToClusterTemplateTemplateRevisionArrayOutput() ClusterTemplateTemplateRevisionArrayOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionArrayOutput) ToClusterTemplateTemplateRevisionArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionArrayOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) +func (o ClusterTemplateTemplateRevisionArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevision { + return vs[0].([]ClusterTemplateTemplateRevision)[vs[1].(int)] + }).(ClusterTemplateTemplateRevisionOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) Address() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { return v.Address }).(pulumi.StringOutput) +type ClusterTemplateTemplateRevisionClusterConfig struct { + // Local cluster auth endpoint (list maxitems: 1) + ClusterAuthEndpoint *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint `pulumi:"clusterAuthEndpoint"` + // Default cluster role for project members (string) + DefaultClusterRoleForProjectMembers *string `pulumi:"defaultClusterRoleForProjectMembers"` + // Default pod security policy template ID (string) + DefaultPodSecurityPolicyTemplateId *string `pulumi:"defaultPodSecurityPolicyTemplateId"` + // Desired agent image (string) + DesiredAgentImage *string `pulumi:"desiredAgentImage"` + // Desired auth image (string) + DesiredAuthImage *string `pulumi:"desiredAuthImage"` + // Desired auth image (string) + DockerRootDir *string `pulumi:"dockerRootDir"` + // Enable built-in cluster alerting. Default: `false` (bool) + EnableClusterAlerting *bool `pulumi:"enableClusterAlerting"` + // Enable built-in cluster monitoring. Default: `false` (bool) + EnableClusterMonitoring *bool `pulumi:"enableClusterMonitoring"` + // Enable project network isolation. Default: `false` (bool) + EnableNetworkPolicy *bool `pulumi:"enableNetworkPolicy"` + // Rancher Kubernetes Engine Config (list maxitems: 1) + RkeConfig ClusterTemplateTemplateRevisionClusterConfigRkeConfig `pulumi:"rkeConfig"` + // Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1) + ScheduledClusterScan *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan `pulumi:"scheduledClusterScan"` + // Windows prefered cluster. Default: `false` (bool) + WindowsPreferedCluster *bool `pulumi:"windowsPreferedCluster"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { return v.Port }).(pulumi.StringPtrOutput) +// ClusterTemplateTemplateRevisionClusterConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigArgs and ClusterTemplateTemplateRevisionClusterConfigOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigOutput() ClusterTemplateTemplateRevisionClusterConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigArgs struct { + // Local cluster auth endpoint (list maxitems: 1) + ClusterAuthEndpoint ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrInput `pulumi:"clusterAuthEndpoint"` + // Default cluster role for project members (string) + DefaultClusterRoleForProjectMembers pulumi.StringPtrInput `pulumi:"defaultClusterRoleForProjectMembers"` + // Default pod security policy template ID (string) + DefaultPodSecurityPolicyTemplateId pulumi.StringPtrInput `pulumi:"defaultPodSecurityPolicyTemplateId"` + // Desired agent image (string) + DesiredAgentImage pulumi.StringPtrInput `pulumi:"desiredAgentImage"` + // Desired auth image (string) + DesiredAuthImage pulumi.StringPtrInput `pulumi:"desiredAuthImage"` + // Desired auth image (string) + DockerRootDir pulumi.StringPtrInput `pulumi:"dockerRootDir"` + // Enable built-in cluster alerting. Default: `false` (bool) + EnableClusterAlerting pulumi.BoolPtrInput `pulumi:"enableClusterAlerting"` + // Enable built-in cluster monitoring. Default: `false` (bool) + EnableClusterMonitoring pulumi.BoolPtrInput `pulumi:"enableClusterMonitoring"` + // Enable project network isolation. Default: `false` (bool) + EnableNetworkPolicy pulumi.BoolPtrInput `pulumi:"enableNetworkPolicy"` + // Rancher Kubernetes Engine Config (list maxitems: 1) + RkeConfig ClusterTemplateTemplateRevisionClusterConfigRkeConfigInput `pulumi:"rkeConfig"` + // Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1) + ScheduledClusterScan ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput `pulumi:"scheduledClusterScan"` + // Windows prefered cluster. Default: `false` (bool) + WindowsPreferedCluster pulumi.BoolPtrInput `pulumi:"windowsPreferedCluster"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { return v.SshKey }).(pulumi.StringPtrOutput) +func (ClusterTemplateTemplateRevisionClusterConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshKeyPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { return v.SshKeyPath }).(pulumi.StringPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigOutput() ClusterTemplateTemplateRevisionClusterConfigOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { return v.User }).(pulumi.StringOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigOutput() ClusterTemplateTemplateRevisionClusterConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) +// Local cluster auth endpoint (list maxitems: 1) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) ClusterAuthEndpoint() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint { + return v.ClusterAuthEndpoint + }).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) Address() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { - if v == nil { - return nil - } - return &v.Address +// Default cluster role for project members (string) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) DefaultClusterRoleForProjectMembers() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *string { + return v.DefaultClusterRoleForProjectMembers }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { - if v == nil { - return nil - } - return v.Port +// Default pod security policy template ID (string) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) DefaultPodSecurityPolicyTemplateId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *string { + return v.DefaultPodSecurityPolicyTemplateId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *bool { - if v == nil { - return nil - } - return v.SshAgentAuth - }).(pulumi.BoolPtrOutput) +// Desired agent image (string) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) DesiredAgentImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *string { return v.DesiredAgentImage }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) SshKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { - if v == nil { - return nil - } - return v.SshKey - }).(pulumi.StringPtrOutput) +// Desired auth image (string) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) DesiredAuthImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *string { return v.DesiredAuthImage }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) SshKeyPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { - if v == nil { - return nil - } - return v.SshKeyPath - }).(pulumi.StringPtrOutput) +// Desired auth image (string) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) DockerRootDir() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *string { return v.DockerRootDir }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { - if v == nil { - return nil - } - return &v.User - }).(pulumi.StringPtrOutput) +// Enable built-in cluster alerting. Default: `false` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) EnableClusterAlerting() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableClusterAlerting }).(pulumi.BoolPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider struct { - AwsCloudProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider `pulumi:"awsCloudProvider"` - AzureCloudProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider `pulumi:"azureCloudProvider"` - CustomCloudProvider *string `pulumi:"customCloudProvider"` - // The cluster template revision name (string) - Name *string `pulumi:"name"` - OpenstackCloudProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider `pulumi:"openstackCloudProvider"` - VsphereCloudProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider `pulumi:"vsphereCloudProvider"` +// Enable built-in cluster monitoring. Default: `false` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) EnableClusterMonitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableClusterMonitoring }).(pulumi.BoolPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput` via: +// Enable project network isolation. Default: `false` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) EnableNetworkPolicy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableNetworkPolicy }).(pulumi.BoolPtrOutput) +} + +// Rancher Kubernetes Engine Config (list maxitems: 1) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) RkeConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) ClusterTemplateTemplateRevisionClusterConfigRkeConfig { + return v.RkeConfig + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) +} + +// Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) ScheduledClusterScan() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { + return v.ScheduledClusterScan + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) +} + +// Windows prefered cluster. Default: `false` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigOutput) WindowsPreferedCluster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfig) *bool { return v.WindowsPreferedCluster }).(pulumi.BoolPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint struct { + CaCerts *string `pulumi:"caCerts"` + // Enable cluster template revision. Default `true` (bool) + Enabled *bool `pulumi:"enabled"` + Fqdn *string `pulumi:"fqdn"` +} + +// ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs and ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput interface { +// ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput + ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs struct { - AwsCloudProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput `pulumi:"awsCloudProvider"` - AzureCloudProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput `pulumi:"azureCloudProvider"` - CustomCloudProvider pulumi.StringPtrInput `pulumi:"customCloudProvider"` - // The cluster template revision name (string) - Name pulumi.StringPtrInput `pulumi:"name"` - OpenstackCloudProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput `pulumi:"openstackCloudProvider"` - VsphereCloudProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput `pulumi:"vsphereCloudProvider"` +type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs struct { + CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` + // Enable cluster template revision. Default `true` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput).ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs, ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtr and ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs +type clusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrType ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtr(v *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrType) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrType) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) AwsCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { - return v.AwsCloudProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) AzureCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { - return v.AzureCloudProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) CustomCloudProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *string { - return v.CustomCloudProvider - }).(pulumi.StringPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) } -// The cluster template revision name (string) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) OpenstackCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { - return v.OpenstackCloudProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) VsphereCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { - return v.VsphereCloudProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider + var ret ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) AwsCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { if v == nil { return nil } - return v.AwsCloudProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) + return v.CaCerts + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) AzureCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *bool { if v == nil { return nil } - return v.AzureCloudProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) CustomCloudProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointPtrOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { if v == nil { return nil } - return v.CustomCloudProvider + return v.Fqdn }).(pulumi.StringPtrOutput) } -// The cluster template revision name (string) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfig struct { + AddonJobTimeout *int `pulumi:"addonJobTimeout"` + Addons *string `pulumi:"addons"` + AddonsIncludes []string `pulumi:"addonsIncludes"` + Authentication *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication `pulumi:"authentication"` + Authorization *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization `pulumi:"authorization"` + BastionHost *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost `pulumi:"bastionHost"` + CloudProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider `pulumi:"cloudProvider"` + Dns *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns `pulumi:"dns"` + EnableCriDockerd *bool `pulumi:"enableCriDockerd"` + IgnoreDockerVersion *bool `pulumi:"ignoreDockerVersion"` + Ingress *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress `pulumi:"ingress"` + KubernetesVersion *string `pulumi:"kubernetesVersion"` + Monitoring *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring `pulumi:"monitoring"` + Network *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork `pulumi:"network"` + Nodes []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode `pulumi:"nodes"` + PrefixPath *string `pulumi:"prefixPath"` + PrivateRegistries []ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry `pulumi:"privateRegistries"` + Services *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices `pulumi:"services"` + SshAgentAuth *bool `pulumi:"sshAgentAuth"` + SshCertPath *string `pulumi:"sshCertPath"` + SshKeyPath *string `pulumi:"sshKeyPath"` + UpgradeStrategy *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy `pulumi:"upgradeStrategy"` + WinPrefixPath *string `pulumi:"winPrefixPath"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) OpenstackCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { - if v == nil { - return nil - } - return v.OpenstackCloudProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) VsphereCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { - if v == nil { - return nil - } - return v.VsphereCloudProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs struct { + AddonJobTimeout pulumi.IntPtrInput `pulumi:"addonJobTimeout"` + Addons pulumi.StringPtrInput `pulumi:"addons"` + AddonsIncludes pulumi.StringArrayInput `pulumi:"addonsIncludes"` + Authentication ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrInput `pulumi:"authentication"` + Authorization ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrInput `pulumi:"authorization"` + BastionHost ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrInput `pulumi:"bastionHost"` + CloudProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrInput `pulumi:"cloudProvider"` + Dns ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrInput `pulumi:"dns"` + EnableCriDockerd pulumi.BoolPtrInput `pulumi:"enableCriDockerd"` + IgnoreDockerVersion pulumi.BoolPtrInput `pulumi:"ignoreDockerVersion"` + Ingress ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrInput `pulumi:"ingress"` + KubernetesVersion pulumi.StringPtrInput `pulumi:"kubernetesVersion"` + Monitoring ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrInput `pulumi:"monitoring"` + Network ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput `pulumi:"network"` + Nodes ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput `pulumi:"nodes"` + PrefixPath pulumi.StringPtrInput `pulumi:"prefixPath"` + PrivateRegistries ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput `pulumi:"privateRegistries"` + Services ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrInput `pulumi:"services"` + SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` + SshCertPath pulumi.StringPtrInput `pulumi:"sshCertPath"` + SshKeyPath pulumi.StringPtrInput `pulumi:"sshKeyPath"` + UpgradeStrategy ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrInput `pulumi:"upgradeStrategy"` + WinPrefixPath pulumi.StringPtrInput `pulumi:"winPrefixPath"` } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider struct { - Global *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal `pulumi:"global"` - ServiceOverrides []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride `pulumi:"serviceOverrides"` +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfig)(nil)).Elem() } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput interface { - pulumi.Input +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(context.Background()) +} - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs struct { - Global ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput `pulumi:"global"` - ServiceOverrides ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput `pulumi:"serviceOverrides"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfig)(nil)).Elem() } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { + return o } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { + return o } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) AddonJobTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *int { return v.AddonJobTimeout }).(pulumi.IntPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Addons() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.Addons }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) AddonsIncludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) []string { return v.AddonsIncludes }).(pulumi.StringArrayOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs{...} -// -// or: -// -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput interface { - pulumi.Input +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Authentication() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication { + return v.Authentication + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) +} - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Authorization() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization { + return v.Authorization + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) BastionHost() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost { + return v.BastionHost + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) +} -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType)(v) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) CloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider { + return v.CloudProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Dns() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns { + return v.Dns + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) EnableCriDockerd() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.EnableCriDockerd }).(pulumi.BoolPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) IgnoreDockerVersion() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.IgnoreDockerVersion }).(pulumi.BoolPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Ingress() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress { + return v.Ingress + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) KubernetesVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.KubernetesVersion }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Monitoring() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring { + return v.Monitoring + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Network() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { + return v.Network + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Nodes() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode { + return v.Nodes + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) PrefixPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.PrefixPath }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { - return v.Global - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) PrivateRegistries() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry { + return v.PrivateRegistries + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ServiceOverrides() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { - return v.ServiceOverrides - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Services() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices { + return v.Services + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshCertPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.SshCertPath }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshKeyPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.SshKeyPath }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) UpgradeStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy { + return v.UpgradeStrategy + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) WinPrefixPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.WinPrefixPath }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { - if v == nil { - return nil - } - return v.Global - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ServiceOverrides() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { - if v == nil { - return nil - } - return v.ServiceOverrides - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal struct { - DisableSecurityGroupIngress *bool `pulumi:"disableSecurityGroupIngress"` - DisableStrictZoneCheck *bool `pulumi:"disableStrictZoneCheck"` - ElbSecurityGroup *string `pulumi:"elbSecurityGroup"` - KubernetesClusterId *string `pulumi:"kubernetesClusterId"` - KubernetesClusterTag *string `pulumi:"kubernetesClusterTag"` - RoleArn *string `pulumi:"roleArn"` - RouteTableId *string `pulumi:"routeTableId"` - SubnetId *string `pulumi:"subnetId"` - Vpc *string `pulumi:"vpc"` - Zone *string `pulumi:"zone"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication struct { + Sans []string `pulumi:"sans"` + Strategy *string `pulumi:"strategy"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs struct { - DisableSecurityGroupIngress pulumi.BoolPtrInput `pulumi:"disableSecurityGroupIngress"` - DisableStrictZoneCheck pulumi.BoolPtrInput `pulumi:"disableStrictZoneCheck"` - ElbSecurityGroup pulumi.StringPtrInput `pulumi:"elbSecurityGroup"` - KubernetesClusterId pulumi.StringPtrInput `pulumi:"kubernetesClusterId"` - KubernetesClusterTag pulumi.StringPtrInput `pulumi:"kubernetesClusterTag"` - RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` - RouteTableId pulumi.StringPtrInput `pulumi:"routeTableId"` - SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` - Vpc pulumi.StringPtrInput `pulumi:"vpc"` - Zone pulumi.StringPtrInput `pulumi:"zone"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs struct { + Sans pulumi.StringArrayInput `pulumi:"sans"` + Strategy pulumi.StringPtrInput `pulumi:"strategy"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - return v.DisableSecurityGroupIngress - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) Sans() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) []string { return v.Sans }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - return v.DisableStrictZoneCheck - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) *string { return v.Strategy }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElbSecurityGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - return v.ElbSecurityGroup - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - return v.KubernetesClusterId - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterTag() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - return v.KubernetesClusterTag - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - return v.RoleArn - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RouteTableId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - return v.RouteTableId - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) Sans() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) []string { + if v == nil { + return nil + } + return v.Sans + }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - return v.SubnetId +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationPtrOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) *string { + if v == nil { + return nil + } + return v.Strategy }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Vpc() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - return v.Vpc - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization struct { + Mode *string `pulumi:"mode"` + Options map[string]interface{} `pulumi:"options"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Zone() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - return v.Zone - }).(pulumi.StringPtrOutput) +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs struct { + Mode pulumi.StringPtrInput `pulumi:"mode"` + Options pulumi.MapInput `pulumi:"options"` +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(context.Background()) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(ctx) +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput +} + +type clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs + +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrType)(v) +} + +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() +} + +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(context.Background()) +} + +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - if v == nil { - return nil - } - return v.DisableSecurityGroupIngress - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - if v == nil { - return nil - } - return v.DisableStrictZoneCheck - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElbSecurityGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return v.ElbSecurityGroup - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) *string { return v.Mode }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return v.KubernetesClusterId - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) map[string]interface{} { + return v.Options + }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterTag() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return v.KubernetesClusterTag - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return v.RoleArn - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RouteTableId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return v.RouteTableId - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization { + if v != nil { + return *v } - return v.SubnetId - }).(pulumi.StringPtrOutput) + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Vpc() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) *string { if v == nil { return nil } - return v.Vpc + return v.Mode }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Zone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationPtrOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) map[string]interface{} { if v == nil { return nil } - return v.Zone - }).(pulumi.StringPtrOutput) + return v.Options + }).(pulumi.MapOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride struct { - Region *string `pulumi:"region"` - Service string `pulumi:"service"` - SigningMethod *string `pulumi:"signingMethod"` - SigningName *string `pulumi:"signingName"` - SigningRegion *string `pulumi:"signingRegion"` - Url *string `pulumi:"url"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost struct { + Address string `pulumi:"address"` + Port *string `pulumi:"port"` + SshAgentAuth *bool `pulumi:"sshAgentAuth"` + SshKey *string `pulumi:"sshKey"` + SshKeyPath *string `pulumi:"sshKeyPath"` + User string `pulumi:"user"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs struct { - Region pulumi.StringPtrInput `pulumi:"region"` - Service pulumi.StringInput `pulumi:"service"` - SigningMethod pulumi.StringPtrInput `pulumi:"signingMethod"` - SigningName pulumi.StringPtrInput `pulumi:"signingName"` - SigningRegion pulumi.StringPtrInput `pulumi:"signingRegion"` - Url pulumi.StringPtrInput `pulumi:"url"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs struct { + Address pulumi.StringInput `pulumi:"address"` + Port pulumi.StringPtrInput `pulumi:"port"` + SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` + SshKey pulumi.StringPtrInput `pulumi:"sshKey"` + SshKeyPath pulumi.StringPtrInput `pulumi:"sshKeyPath"` + User pulumi.StringInput `pulumi:"user"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput` via: +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(context.Background()) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(ctx) +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput +type clusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrType)(v) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Background()) +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(context.Background()) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput struct{ *pulumi.OutputState } +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) *string { - return v.Region - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { - return v.Service - }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningMethod() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) *string { - return v.SigningMethod - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { return v.Address }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) *string { - return v.SigningName - }).(pulumi.StringPtrOutput) -} +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { return v.Port }).(pulumi.StringPtrOutput) +} -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningRegion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) *string { - return v.SigningRegion - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) *string { - return v.Url - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { return v.SshKey }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshKeyPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { return v.SshKeyPath }).(pulumi.StringPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { return v.User }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { - return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)[vs[1].(int)] - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider struct { - AadClientCertPassword *string `pulumi:"aadClientCertPassword"` - AadClientCertPath *string `pulumi:"aadClientCertPath"` - AadClientId string `pulumi:"aadClientId"` - AadClientSecret string `pulumi:"aadClientSecret"` - Cloud *string `pulumi:"cloud"` - CloudProviderBackoff *bool `pulumi:"cloudProviderBackoff"` - CloudProviderBackoffDuration *int `pulumi:"cloudProviderBackoffDuration"` - CloudProviderBackoffExponent *int `pulumi:"cloudProviderBackoffExponent"` - CloudProviderBackoffJitter *int `pulumi:"cloudProviderBackoffJitter"` - CloudProviderBackoffRetries *int `pulumi:"cloudProviderBackoffRetries"` - CloudProviderRateLimit *bool `pulumi:"cloudProviderRateLimit"` - CloudProviderRateLimitBucket *int `pulumi:"cloudProviderRateLimitBucket"` - CloudProviderRateLimitQps *int `pulumi:"cloudProviderRateLimitQps"` - LoadBalancerSku *string `pulumi:"loadBalancerSku"` - Location *string `pulumi:"location"` - MaximumLoadBalancerRuleCount *int `pulumi:"maximumLoadBalancerRuleCount"` - PrimaryAvailabilitySetName *string `pulumi:"primaryAvailabilitySetName"` - PrimaryScaleSetName *string `pulumi:"primaryScaleSetName"` - ResourceGroup *string `pulumi:"resourceGroup"` - RouteTableName *string `pulumi:"routeTableName"` - SecurityGroupName *string `pulumi:"securityGroupName"` - SubnetName *string `pulumi:"subnetName"` - SubscriptionId string `pulumi:"subscriptionId"` - TenantId string `pulumi:"tenantId"` - UseInstanceMetadata *bool `pulumi:"useInstanceMetadata"` - UseManagedIdentityExtension *bool `pulumi:"useManagedIdentityExtension"` - VmType *string `pulumi:"vmType"` - VnetName *string `pulumi:"vnetName"` - VnetResourceGroup *string `pulumi:"vnetResourceGroup"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) Address() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { + if v == nil { + return nil + } + return &v.Address + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { + if v == nil { + return nil + } + return v.Port + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *bool { + if v == nil { + return nil + } + return v.SshAgentAuth + }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) SshKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { + if v == nil { + return nil + } + return v.SshKey + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) SshKeyPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { + if v == nil { + return nil + } + return v.SshKeyPath + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostPtrOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { + if v == nil { + return nil + } + return &v.User + }).(pulumi.StringPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider struct { + AwsCloudProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider `pulumi:"awsCloudProvider"` + AzureCloudProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider `pulumi:"azureCloudProvider"` + CustomCloudProvider *string `pulumi:"customCloudProvider"` + // The cluster template revision name (string) + Name *string `pulumi:"name"` + OpenstackCloudProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider `pulumi:"openstackCloudProvider"` + VsphereCloudProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider `pulumi:"vsphereCloudProvider"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs struct { - AadClientCertPassword pulumi.StringPtrInput `pulumi:"aadClientCertPassword"` - AadClientCertPath pulumi.StringPtrInput `pulumi:"aadClientCertPath"` - AadClientId pulumi.StringInput `pulumi:"aadClientId"` - AadClientSecret pulumi.StringInput `pulumi:"aadClientSecret"` - Cloud pulumi.StringPtrInput `pulumi:"cloud"` - CloudProviderBackoff pulumi.BoolPtrInput `pulumi:"cloudProviderBackoff"` - CloudProviderBackoffDuration pulumi.IntPtrInput `pulumi:"cloudProviderBackoffDuration"` - CloudProviderBackoffExponent pulumi.IntPtrInput `pulumi:"cloudProviderBackoffExponent"` - CloudProviderBackoffJitter pulumi.IntPtrInput `pulumi:"cloudProviderBackoffJitter"` - CloudProviderBackoffRetries pulumi.IntPtrInput `pulumi:"cloudProviderBackoffRetries"` - CloudProviderRateLimit pulumi.BoolPtrInput `pulumi:"cloudProviderRateLimit"` - CloudProviderRateLimitBucket pulumi.IntPtrInput `pulumi:"cloudProviderRateLimitBucket"` - CloudProviderRateLimitQps pulumi.IntPtrInput `pulumi:"cloudProviderRateLimitQps"` - LoadBalancerSku pulumi.StringPtrInput `pulumi:"loadBalancerSku"` - Location pulumi.StringPtrInput `pulumi:"location"` - MaximumLoadBalancerRuleCount pulumi.IntPtrInput `pulumi:"maximumLoadBalancerRuleCount"` - PrimaryAvailabilitySetName pulumi.StringPtrInput `pulumi:"primaryAvailabilitySetName"` - PrimaryScaleSetName pulumi.StringPtrInput `pulumi:"primaryScaleSetName"` - ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` - RouteTableName pulumi.StringPtrInput `pulumi:"routeTableName"` - SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` - SubnetName pulumi.StringPtrInput `pulumi:"subnetName"` - SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` - TenantId pulumi.StringInput `pulumi:"tenantId"` - UseInstanceMetadata pulumi.BoolPtrInput `pulumi:"useInstanceMetadata"` - UseManagedIdentityExtension pulumi.BoolPtrInput `pulumi:"useManagedIdentityExtension"` - VmType pulumi.StringPtrInput `pulumi:"vmType"` - VnetName pulumi.StringPtrInput `pulumi:"vnetName"` - VnetResourceGroup pulumi.StringPtrInput `pulumi:"vnetResourceGroup"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs struct { + AwsCloudProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput `pulumi:"awsCloudProvider"` + AzureCloudProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput `pulumi:"azureCloudProvider"` + CustomCloudProvider pulumi.StringPtrInput `pulumi:"customCloudProvider"` + // The cluster template revision name (string) + Name pulumi.StringPtrInput `pulumi:"name"` + OpenstackCloudProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput `pulumi:"openstackCloudProvider"` + VsphereCloudProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput `pulumi:"vsphereCloudProvider"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.AadClientCertPassword - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) AwsCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { + return v.AwsCloudProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.AadClientCertPath - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) AzureCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { + return v.AzureCloudProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientId() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.AadClientId - }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) CustomCloudProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *string { + return v.CustomCloudProvider + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientSecret() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.AadClientSecret - }).(pulumi.StringOutput) +// The cluster template revision name (string) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.Cloud - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) OpenstackCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { + return v.OpenstackCloudProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoff() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { - return v.CloudProviderBackoff - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) VsphereCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { + return v.VsphereCloudProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffDuration() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - return v.CloudProviderBackoffDuration - }).(pulumi.IntPtrOutput) -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput struct{ *pulumi.OutputState } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffExponent() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - return v.CloudProviderBackoffExponent - }).(pulumi.IntPtrOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffJitter() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - return v.CloudProviderBackoffJitter - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - return v.CloudProviderBackoffRetries - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimit() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { - return v.CloudProviderRateLimit - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitBucket() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - return v.CloudProviderRateLimitBucket - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) AwsCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { + if v == nil { + return nil + } + return v.AwsCloudProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitQps() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - return v.CloudProviderRateLimitQps - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) AzureCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { + if v == nil { + return nil + } + return v.AzureCloudProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) LoadBalancerSku() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.LoadBalancerSku +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) CustomCloudProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *string { + if v == nil { + return nil + } + return v.CustomCloudProvider }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.Location +// The cluster template revision name (string) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *string { + if v == nil { + return nil + } + return v.Name }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) MaximumLoadBalancerRuleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - return v.MaximumLoadBalancerRuleCount - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) OpenstackCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { + if v == nil { + return nil + } + return v.OpenstackCloudProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryAvailabilitySetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.PrimaryAvailabilitySetName - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderPtrOutput) VsphereCloudProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { + if v == nil { + return nil + } + return v.VsphereCloudProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryScaleSetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.PrimaryScaleSetName - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider struct { + Global *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal `pulumi:"global"` + ServiceOverrides []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride `pulumi:"serviceOverrides"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.ResourceGroup - }).(pulumi.StringPtrOutput) +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) RouteTableName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.RouteTableName - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs struct { + Global ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput `pulumi:"global"` + ServiceOverrides ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput `pulumi:"serviceOverrides"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.SecurityGroupName - }).(pulumi.StringPtrOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SubnetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.SubnetName - }).(pulumi.StringPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SubscriptionId() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.SubscriptionId - }).(pulumi.StringOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.TenantId - }).(pulumi.StringOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) UseInstanceMetadata() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { - return v.UseInstanceMetadata - }).(pulumi.BoolPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) UseManagedIdentityExtension() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { - return v.UseManagedIdentityExtension - }).(pulumi.BoolPtrOutput) +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VmType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.VmType - }).(pulumi.StringPtrOutput) +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs + +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType)(v) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VnetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.VnetName - }).(pulumi.StringPtrOutput) +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VnetResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.VnetResourceGroup - }).(pulumi.StringPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput struct{ *pulumi.OutputState } +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { + return v.Global + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ServiceOverrides() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { + return v.ServiceOverrides + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { if v == nil { return nil } - return v.AadClientCertPassword - }).(pulumi.StringPtrOutput) + return v.Global + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ServiceOverrides() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { if v == nil { return nil } - return v.AadClientCertPath - }).(pulumi.StringPtrOutput) + return v.ServiceOverrides + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.AadClientId - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal struct { + DisableSecurityGroupIngress *bool `pulumi:"disableSecurityGroupIngress"` + DisableStrictZoneCheck *bool `pulumi:"disableStrictZoneCheck"` + ElbSecurityGroup *string `pulumi:"elbSecurityGroup"` + KubernetesClusterId *string `pulumi:"kubernetesClusterId"` + KubernetesClusterTag *string `pulumi:"kubernetesClusterTag"` + RoleArn *string `pulumi:"roleArn"` + RouteTableId *string `pulumi:"routeTableId"` + SubnetId *string `pulumi:"subnetId"` + Vpc *string `pulumi:"vpc"` + Zone *string `pulumi:"zone"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.AadClientSecret - }).(pulumi.StringPtrOutput) +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return v.Cloud - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs struct { + DisableSecurityGroupIngress pulumi.BoolPtrInput `pulumi:"disableSecurityGroupIngress"` + DisableStrictZoneCheck pulumi.BoolPtrInput `pulumi:"disableStrictZoneCheck"` + ElbSecurityGroup pulumi.StringPtrInput `pulumi:"elbSecurityGroup"` + KubernetesClusterId pulumi.StringPtrInput `pulumi:"kubernetesClusterId"` + KubernetesClusterTag pulumi.StringPtrInput `pulumi:"kubernetesClusterTag"` + RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` + RouteTableId pulumi.StringPtrInput `pulumi:"routeTableId"` + SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` + Vpc pulumi.StringPtrInput `pulumi:"vpc"` + Zone pulumi.StringPtrInput `pulumi:"zone"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoff() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { - if v == nil { - return nil - } - return v.CloudProviderBackoff - }).(pulumi.BoolPtrOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffDuration() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return v.CloudProviderBackoffDuration - }).(pulumi.IntPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffExponent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return v.CloudProviderBackoffExponent - }).(pulumi.IntPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffJitter() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return v.CloudProviderBackoffJitter - }).(pulumi.IntPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return v.CloudProviderBackoffRetries - }).(pulumi.IntPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimit() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { - if v == nil { - return nil - } - return v.CloudProviderRateLimit +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput +} + +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs + +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType)(v) +} + +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +} + +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) +} + +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { + return v.DisableSecurityGroupIngress }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitBucket() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return v.CloudProviderRateLimitBucket - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { + return v.DisableStrictZoneCheck + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitQps() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return v.CloudProviderRateLimitQps - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElbSecurityGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + return v.ElbSecurityGroup + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) LoadBalancerSku() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return v.LoadBalancerSku +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + return v.KubernetesClusterId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return v.Location +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterTag() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + return v.KubernetesClusterTag }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) MaximumLoadBalancerRuleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return v.MaximumLoadBalancerRuleCount - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + return v.RoleArn + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryAvailabilitySetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return v.PrimaryAvailabilitySetName +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RouteTableId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + return v.RouteTableId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryScaleSetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return v.PrimaryScaleSetName +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + return v.SubnetId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return v.ResourceGroup +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Vpc() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + return v.Vpc }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) RouteTableName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Zone() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + return v.Zone + }).(pulumi.StringPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { if v == nil { return nil } - return v.RouteTableName - }).(pulumi.StringPtrOutput) + return v.DisableSecurityGroupIngress + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { if v == nil { return nil } - return v.SecurityGroupName - }).(pulumi.StringPtrOutput) + return v.DisableStrictZoneCheck + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubnetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElbSecurityGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return v.SubnetName + return v.ElbSecurityGroup }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubscriptionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return &v.SubscriptionId + return v.KubernetesClusterId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterTag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return &v.TenantId + return v.KubernetesClusterTag }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseInstanceMetadata() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return v.UseInstanceMetadata - }).(pulumi.BoolPtrOutput) + return v.RoleArn + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseManagedIdentityExtension() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RouteTableId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return v.UseManagedIdentityExtension - }).(pulumi.BoolPtrOutput) + return v.RouteTableId + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VmType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return v.VmType + return v.SubnetId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Vpc() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return v.VnetName + return v.Vpc }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Zone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return v.VnetResourceGroup + return v.Zone }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider struct { - BlockStorage *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage `pulumi:"blockStorage"` - Global ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal `pulumi:"global"` - LoadBalancer *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer `pulumi:"loadBalancer"` - Metadata *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata `pulumi:"metadata"` - Route *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute `pulumi:"route"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride struct { + Region *string `pulumi:"region"` + Service string `pulumi:"service"` + SigningMethod *string `pulumi:"signingMethod"` + SigningName *string `pulumi:"signingName"` + SigningRegion *string `pulumi:"signingRegion"` + Url *string `pulumi:"url"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs struct { - BlockStorage ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput `pulumi:"blockStorage"` - Global ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput `pulumi:"global"` - LoadBalancer ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput `pulumi:"loadBalancer"` - Metadata ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput `pulumi:"metadata"` - Route ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput `pulumi:"route"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Background()) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs struct { + Region pulumi.StringPtrInput `pulumi:"region"` + Service pulumi.StringInput `pulumi:"service"` + SigningMethod pulumi.StringPtrInput `pulumi:"signingMethod"` + SigningName pulumi.StringPtrInput `pulumi:"signingName"` + SigningRegion pulumi.StringPtrInput `pulumi:"signingRegion"` + Url pulumi.StringPtrInput `pulumi:"url"` } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs{...} -// -// or: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput` via: // -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType)(v) -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) *string { + return v.Region + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) BlockStorage() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { - return v.BlockStorage - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { + return v.Service + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { - return v.Global - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) *string { + return v.SigningMethod + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) LoadBalancer() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - return v.LoadBalancer - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) *string { + return v.SigningName + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Metadata() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { - return v.Metadata - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningRegion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) *string { + return v.SigningRegion + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Route() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { - return v.Route - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) *string { + return v.Url + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) BlockStorage() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { - if v == nil { - return nil - } - return v.BlockStorage - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { - if v == nil { - return nil - } - return &v.Global - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) LoadBalancer() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - if v == nil { - return nil - } - return v.LoadBalancer - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Metadata() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { - if v == nil { - return nil - } - return v.Metadata - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Route() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { - if v == nil { - return nil - } - return v.Route - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { + return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)[vs[1].(int)] + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage struct { - BsVersion *string `pulumi:"bsVersion"` - IgnoreVolumeAz *bool `pulumi:"ignoreVolumeAz"` - TrustDevicePath *bool `pulumi:"trustDevicePath"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider struct { + AadClientCertPassword *string `pulumi:"aadClientCertPassword"` + AadClientCertPath *string `pulumi:"aadClientCertPath"` + AadClientId string `pulumi:"aadClientId"` + AadClientSecret string `pulumi:"aadClientSecret"` + Cloud *string `pulumi:"cloud"` + CloudProviderBackoff *bool `pulumi:"cloudProviderBackoff"` + CloudProviderBackoffDuration *int `pulumi:"cloudProviderBackoffDuration"` + CloudProviderBackoffExponent *int `pulumi:"cloudProviderBackoffExponent"` + CloudProviderBackoffJitter *int `pulumi:"cloudProviderBackoffJitter"` + CloudProviderBackoffRetries *int `pulumi:"cloudProviderBackoffRetries"` + CloudProviderRateLimit *bool `pulumi:"cloudProviderRateLimit"` + CloudProviderRateLimitBucket *int `pulumi:"cloudProviderRateLimitBucket"` + CloudProviderRateLimitQps *int `pulumi:"cloudProviderRateLimitQps"` + LoadBalancerSku *string `pulumi:"loadBalancerSku"` + Location *string `pulumi:"location"` + MaximumLoadBalancerRuleCount *int `pulumi:"maximumLoadBalancerRuleCount"` + PrimaryAvailabilitySetName *string `pulumi:"primaryAvailabilitySetName"` + PrimaryScaleSetName *string `pulumi:"primaryScaleSetName"` + ResourceGroup *string `pulumi:"resourceGroup"` + RouteTableName *string `pulumi:"routeTableName"` + SecurityGroupName *string `pulumi:"securityGroupName"` + SubnetName *string `pulumi:"subnetName"` + SubscriptionId string `pulumi:"subscriptionId"` + TenantId string `pulumi:"tenantId"` + UseInstanceMetadata *bool `pulumi:"useInstanceMetadata"` + UseManagedIdentityExtension *bool `pulumi:"useManagedIdentityExtension"` + VmType *string `pulumi:"vmType"` + VnetName *string `pulumi:"vnetName"` + VnetResourceGroup *string `pulumi:"vnetResourceGroup"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs struct { - BsVersion pulumi.StringPtrInput `pulumi:"bsVersion"` - IgnoreVolumeAz pulumi.BoolPtrInput `pulumi:"ignoreVolumeAz"` - TrustDevicePath pulumi.BoolPtrInput `pulumi:"trustDevicePath"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs struct { + AadClientCertPassword pulumi.StringPtrInput `pulumi:"aadClientCertPassword"` + AadClientCertPath pulumi.StringPtrInput `pulumi:"aadClientCertPath"` + AadClientId pulumi.StringInput `pulumi:"aadClientId"` + AadClientSecret pulumi.StringInput `pulumi:"aadClientSecret"` + Cloud pulumi.StringPtrInput `pulumi:"cloud"` + CloudProviderBackoff pulumi.BoolPtrInput `pulumi:"cloudProviderBackoff"` + CloudProviderBackoffDuration pulumi.IntPtrInput `pulumi:"cloudProviderBackoffDuration"` + CloudProviderBackoffExponent pulumi.IntPtrInput `pulumi:"cloudProviderBackoffExponent"` + CloudProviderBackoffJitter pulumi.IntPtrInput `pulumi:"cloudProviderBackoffJitter"` + CloudProviderBackoffRetries pulumi.IntPtrInput `pulumi:"cloudProviderBackoffRetries"` + CloudProviderRateLimit pulumi.BoolPtrInput `pulumi:"cloudProviderRateLimit"` + CloudProviderRateLimitBucket pulumi.IntPtrInput `pulumi:"cloudProviderRateLimitBucket"` + CloudProviderRateLimitQps pulumi.IntPtrInput `pulumi:"cloudProviderRateLimitQps"` + LoadBalancerSku pulumi.StringPtrInput `pulumi:"loadBalancerSku"` + Location pulumi.StringPtrInput `pulumi:"location"` + MaximumLoadBalancerRuleCount pulumi.IntPtrInput `pulumi:"maximumLoadBalancerRuleCount"` + PrimaryAvailabilitySetName pulumi.StringPtrInput `pulumi:"primaryAvailabilitySetName"` + PrimaryScaleSetName pulumi.StringPtrInput `pulumi:"primaryScaleSetName"` + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + RouteTableName pulumi.StringPtrInput `pulumi:"routeTableName"` + SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` + SubnetName pulumi.StringPtrInput `pulumi:"subnetName"` + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` + TenantId pulumi.StringInput `pulumi:"tenantId"` + UseInstanceMetadata pulumi.BoolPtrInput `pulumi:"useInstanceMetadata"` + UseManagedIdentityExtension pulumi.BoolPtrInput `pulumi:"useManagedIdentityExtension"` + VmType pulumi.StringPtrInput `pulumi:"vmType"` + VnetName pulumi.StringPtrInput `pulumi:"vnetName"` + VnetResourceGroup pulumi.StringPtrInput `pulumi:"vnetResourceGroup"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) BsVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *string { - return v.BsVersion +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.AadClientCertPassword }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) IgnoreVolumeAz() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { - return v.IgnoreVolumeAz - }).(pulumi.BoolPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) TrustDevicePath() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { - return v.TrustDevicePath - }).(pulumi.BoolPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.AadClientCertPath + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientId() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.AadClientId + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.AadClientSecret + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) BsVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *string { - if v == nil { - return nil - } - return v.BsVersion +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.Cloud }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) IgnoreVolumeAz() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { - if v == nil { - return nil - } - return v.IgnoreVolumeAz +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoff() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { + return v.CloudProviderBackoff }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) TrustDevicePath() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { - if v == nil { - return nil - } - return v.TrustDevicePath - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffDuration() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + return v.CloudProviderBackoffDuration + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal struct { - AuthUrl string `pulumi:"authUrl"` - CaFile *string `pulumi:"caFile"` - DomainId *string `pulumi:"domainId"` - DomainName *string `pulumi:"domainName"` - Password string `pulumi:"password"` - Region *string `pulumi:"region"` - TenantId *string `pulumi:"tenantId"` - TenantName *string `pulumi:"tenantName"` - TrustId *string `pulumi:"trustId"` - Username string `pulumi:"username"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffExponent() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + return v.CloudProviderBackoffExponent + }).(pulumi.IntPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffJitter() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + return v.CloudProviderBackoffJitter + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs struct { - AuthUrl pulumi.StringInput `pulumi:"authUrl"` - CaFile pulumi.StringPtrInput `pulumi:"caFile"` - DomainId pulumi.StringPtrInput `pulumi:"domainId"` - DomainName pulumi.StringPtrInput `pulumi:"domainName"` - Password pulumi.StringInput `pulumi:"password"` - Region pulumi.StringPtrInput `pulumi:"region"` - TenantId pulumi.StringPtrInput `pulumi:"tenantId"` - TenantName pulumi.StringPtrInput `pulumi:"tenantName"` - TrustId pulumi.StringPtrInput `pulumi:"trustId"` - Username pulumi.StringInput `pulumi:"username"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + return v.CloudProviderBackoffRetries + }).(pulumi.IntPtrOutput) } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimit() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { + return v.CloudProviderRateLimit + }).(pulumi.BoolPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitBucket() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + return v.CloudProviderRateLimitBucket + }).(pulumi.IntPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitQps() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + return v.CloudProviderRateLimitQps + }).(pulumi.IntPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) LoadBalancerSku() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.LoadBalancerSku + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) Location() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.Location + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} -// -// or: -// -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) MaximumLoadBalancerRuleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + return v.MaximumLoadBalancerRuleCount + }).(pulumi.IntPtrOutput) } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType)(v) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryAvailabilitySetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.PrimaryAvailabilitySetName + }).(pulumi.StringPtrOutput) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryScaleSetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.PrimaryScaleSetName + }).(pulumi.StringPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.ResourceGroup + }).(pulumi.StringPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) RouteTableName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.RouteTableName + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SecurityGroupName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.SecurityGroupName + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SubnetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.SubnetName + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.SubscriptionId + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.TenantId + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) UseInstanceMetadata() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { + return v.UseInstanceMetadata + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) AuthUrl() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.AuthUrl - }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) UseManagedIdentityExtension() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { + return v.UseManagedIdentityExtension + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) CaFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - return v.CaFile +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VmType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.VmType }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - return v.DomainId +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VnetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.VnetName }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - return v.DomainName +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VnetResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.VnetResourceGroup }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.Password - }).(pulumi.StringOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - return v.Region - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - return v.TenantId - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - return v.TenantName - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TrustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - return v.TrustId - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.Username - }).(pulumi.StringOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) AuthUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return &v.AuthUrl + return v.AadClientCertPassword }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) CaFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.CaFile + return v.AadClientCertPath }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.DomainId + return &v.AadClientId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.DomainName + return &v.AadClientSecret }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return &v.Password + return v.Cloud }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoff() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return v.CloudProviderBackoff + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffDuration() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { if v == nil { return nil } - return v.TenantId - }).(pulumi.StringPtrOutput) + return v.CloudProviderBackoffDuration + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffExponent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { if v == nil { return nil } - return v.TenantName - }).(pulumi.StringPtrOutput) + return v.CloudProviderBackoffExponent + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TrustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffJitter() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { if v == nil { return nil } - return v.TrustId - }).(pulumi.StringPtrOutput) + return v.CloudProviderBackoffJitter + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { if v == nil { return nil } - return &v.Username - }).(pulumi.StringPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer struct { - CreateMonitor *bool `pulumi:"createMonitor"` - FloatingNetworkId *string `pulumi:"floatingNetworkId"` - LbMethod *string `pulumi:"lbMethod"` - LbProvider *string `pulumi:"lbProvider"` - LbVersion *string `pulumi:"lbVersion"` - ManageSecurityGroups *bool `pulumi:"manageSecurityGroups"` - MonitorDelay *string `pulumi:"monitorDelay"` - MonitorMaxRetries *int `pulumi:"monitorMaxRetries"` - MonitorTimeout *string `pulumi:"monitorTimeout"` - SubnetId *string `pulumi:"subnetId"` - UseOctavia *bool `pulumi:"useOctavia"` -} - -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs struct { - CreateMonitor pulumi.BoolPtrInput `pulumi:"createMonitor"` - FloatingNetworkId pulumi.StringPtrInput `pulumi:"floatingNetworkId"` - LbMethod pulumi.StringPtrInput `pulumi:"lbMethod"` - LbProvider pulumi.StringPtrInput `pulumi:"lbProvider"` - LbVersion pulumi.StringPtrInput `pulumi:"lbVersion"` - ManageSecurityGroups pulumi.BoolPtrInput `pulumi:"manageSecurityGroups"` - MonitorDelay pulumi.StringPtrInput `pulumi:"monitorDelay"` - MonitorMaxRetries pulumi.IntPtrInput `pulumi:"monitorMaxRetries"` - MonitorTimeout pulumi.StringPtrInput `pulumi:"monitorTimeout"` - SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` - UseOctavia pulumi.BoolPtrInput `pulumi:"useOctavia"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Background()) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx) -} - -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} -// -// or: -// -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput -} - -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType)(v) -} - -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() -} - -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) -} - -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) + return v.CloudProviderBackoffRetries + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) CreateMonitor() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { - return v.CreateMonitor +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimit() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { + if v == nil { + return nil + } + return v.CloudProviderRateLimit }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) FloatingNetworkId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.FloatingNetworkId - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbMethod() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.LbMethod - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitBucket() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return v.CloudProviderRateLimitBucket + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.LbProvider - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitQps() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return v.CloudProviderRateLimitQps + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.LbVersion +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) LoadBalancerSku() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return v.LoadBalancerSku }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ManageSecurityGroups() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { - return v.ManageSecurityGroups - }).(pulumi.BoolPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorDelay() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.MonitorDelay +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Location() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return v.Location }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorMaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { - return v.MonitorMaxRetries +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) MaximumLoadBalancerRuleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return v.MaximumLoadBalancerRuleCount }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorTimeout() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.MonitorTimeout - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.SubnetId +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryAvailabilitySetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return v.PrimaryAvailabilitySetName }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) UseOctavia() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { - return v.UseOctavia - }).(pulumi.BoolPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - if v != nil { - return *v +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryScaleSetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) + return v.PrimaryScaleSetName + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) CreateMonitor() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.CreateMonitor - }).(pulumi.BoolPtrOutput) + return v.ResourceGroup + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) FloatingNetworkId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) RouteTableName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.FloatingNetworkId + return v.RouteTableName }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbMethod() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SecurityGroupName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.LbMethod + return v.SecurityGroupName }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubnetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.LbProvider + return v.SubnetName }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.LbVersion + return &v.SubscriptionId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ManageSecurityGroups() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.ManageSecurityGroups - }).(pulumi.BoolPtrOutput) + return &v.TenantId + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorDelay() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseInstanceMetadata() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { if v == nil { return nil } - return v.MonitorDelay - }).(pulumi.StringPtrOutput) + return v.UseInstanceMetadata + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorMaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseManagedIdentityExtension() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { if v == nil { return nil } - return v.MonitorMaxRetries - }).(pulumi.IntPtrOutput) + return v.UseManagedIdentityExtension + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorTimeout() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VmType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.MonitorTimeout + return v.VmType }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.SubnetId + return v.VnetName }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) UseOctavia() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.UseOctavia - }).(pulumi.BoolPtrOutput) + return v.VnetResourceGroup + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata struct { - RequestTimeout *int `pulumi:"requestTimeout"` - SearchOrder *string `pulumi:"searchOrder"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider struct { + BlockStorage *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage `pulumi:"blockStorage"` + Global ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal `pulumi:"global"` + LoadBalancer *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer `pulumi:"loadBalancer"` + Metadata *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata `pulumi:"metadata"` + Route *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute `pulumi:"route"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs struct { - RequestTimeout pulumi.IntPtrInput `pulumi:"requestTimeout"` - SearchOrder pulumi.StringPtrInput `pulumi:"searchOrder"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs struct { + BlockStorage ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput `pulumi:"blockStorage"` + Global ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput `pulumi:"global"` + LoadBalancer ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput `pulumi:"loadBalancer"` + Metadata ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput `pulumi:"metadata"` + Route ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput `pulumi:"route"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) RequestTimeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *int { - return v.RequestTimeout - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) BlockStorage() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { + return v.BlockStorage + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) SearchOrder() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *string { - return v.SearchOrder - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { + return v.Global + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) LoadBalancer() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { + return v.LoadBalancer + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Metadata() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { + return v.Metadata + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Route() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { + return v.Route + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) RequestTimeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) BlockStorage() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { if v == nil { return nil } - return v.RequestTimeout - }).(pulumi.IntPtrOutput) + return v.BlockStorage + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) SearchOrder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { if v == nil { return nil } - return v.SearchOrder - }).(pulumi.StringPtrOutput) + return &v.Global + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute struct { - RouterId *string `pulumi:"routerId"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) LoadBalancer() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { + if v == nil { + return nil + } + return v.LoadBalancer + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Metadata() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { + if v == nil { + return nil + } + return v.Metadata + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Route() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { + if v == nil { + return nil + } + return v.Route + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage struct { + BsVersion *string `pulumi:"bsVersion"` + IgnoreVolumeAz *bool `pulumi:"ignoreVolumeAz"` + TrustDevicePath *bool `pulumi:"trustDevicePath"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs struct { - RouterId pulumi.StringPtrInput `pulumi:"routerId"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs struct { + BsVersion pulumi.StringPtrInput `pulumi:"bsVersion"` + IgnoreVolumeAz pulumi.BoolPtrInput `pulumi:"ignoreVolumeAz"` + TrustDevicePath pulumi.BoolPtrInput `pulumi:"trustDevicePath"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) RouterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) *string { - return v.RouterId +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) BsVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *string { + return v.BsVersion }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) IgnoreVolumeAz() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { + return v.IgnoreVolumeAz + }).(pulumi.BoolPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) TrustDevicePath() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { + return v.TrustDevicePath + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) RouterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) BsVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *string { if v == nil { return nil } - return v.RouterId + return v.BsVersion }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider struct { - Disk *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk `pulumi:"disk"` - Global *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal `pulumi:"global"` - Network *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork `pulumi:"network"` - VirtualCenters []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter `pulumi:"virtualCenters"` - Workspace ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace `pulumi:"workspace"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) IgnoreVolumeAz() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { + if v == nil { + return nil + } + return v.IgnoreVolumeAz + }).(pulumi.BoolPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) TrustDevicePath() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { + if v == nil { + return nil + } + return v.TrustDevicePath + }).(pulumi.BoolPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal struct { + AuthUrl string `pulumi:"authUrl"` + CaFile *string `pulumi:"caFile"` + DomainId *string `pulumi:"domainId"` + DomainName *string `pulumi:"domainName"` + Password string `pulumi:"password"` + Region *string `pulumi:"region"` + TenantId *string `pulumi:"tenantId"` + TenantName *string `pulumi:"tenantName"` + TrustId *string `pulumi:"trustId"` + Username string `pulumi:"username"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs struct { - Disk ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput `pulumi:"disk"` - Global ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput `pulumi:"global"` - Network ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput `pulumi:"network"` - VirtualCenters ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput `pulumi:"virtualCenters"` - Workspace ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput `pulumi:"workspace"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs struct { + AuthUrl pulumi.StringInput `pulumi:"authUrl"` + CaFile pulumi.StringPtrInput `pulumi:"caFile"` + DomainId pulumi.StringPtrInput `pulumi:"domainId"` + DomainName pulumi.StringPtrInput `pulumi:"domainName"` + Password pulumi.StringInput `pulumi:"password"` + Region pulumi.StringPtrInput `pulumi:"region"` + TenantId pulumi.StringPtrInput `pulumi:"tenantId"` + TenantName pulumi.StringPtrInput `pulumi:"tenantName"` + TrustId pulumi.StringPtrInput `pulumi:"trustId"` + Username pulumi.StringInput `pulumi:"username"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Disk() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { - return v.Disk - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) AuthUrl() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.AuthUrl + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { - return v.Global - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) CaFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + return v.CaFile + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Network() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { - return v.Network - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + return v.DomainId + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) VirtualCenters() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { - return v.VirtualCenters - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + return v.DomainName + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Workspace() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { - return v.Workspace - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.Password + }).(pulumi.StringOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + return v.Region + }).(pulumi.StringPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + return v.TenantId + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + return v.TenantName + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TrustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + return v.TrustId + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.Username + }).(pulumi.StringOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Disk() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) AuthUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { if v == nil { return nil } - return v.Disk - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) + return &v.AuthUrl + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) CaFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { if v == nil { return nil } - return v.Global - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) + return v.CaFile + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Network() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { if v == nil { return nil } - return v.Network - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) + return v.DomainId + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) VirtualCenters() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { if v == nil { return nil } - return v.VirtualCenters - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) + return v.DomainName + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Workspace() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { if v == nil { return nil } - return &v.Workspace - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk struct { - ScsiControllerType *string `pulumi:"scsiControllerType"` -} - -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs struct { - ScsiControllerType pulumi.StringPtrInput `pulumi:"scsiControllerType"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Background()) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx) -} - -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} -// -// or: -// -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput -} - -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType)(v) -} - -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() -} - -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) -} - -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return o -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return o -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ScsiControllerType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) *string { - return v.ScsiControllerType + return &v.Password }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return v.TenantId + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return v.TenantName + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { - if v != nil { - return *v +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TrustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) + return v.TrustId + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ScsiControllerType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { if v == nil { return nil } - return v.ScsiControllerType + return &v.Username }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal struct { - Datacenters *string `pulumi:"datacenters"` - InsecureFlag *bool `pulumi:"insecureFlag"` - Password *string `pulumi:"password"` - Port *string `pulumi:"port"` - SoapRoundtripCount *int `pulumi:"soapRoundtripCount"` - User *string `pulumi:"user"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer struct { + CreateMonitor *bool `pulumi:"createMonitor"` + FloatingNetworkId *string `pulumi:"floatingNetworkId"` + LbMethod *string `pulumi:"lbMethod"` + LbProvider *string `pulumi:"lbProvider"` + LbVersion *string `pulumi:"lbVersion"` + ManageSecurityGroups *bool `pulumi:"manageSecurityGroups"` + MonitorDelay *string `pulumi:"monitorDelay"` + MonitorMaxRetries *int `pulumi:"monitorMaxRetries"` + MonitorTimeout *string `pulumi:"monitorTimeout"` + SubnetId *string `pulumi:"subnetId"` + UseOctavia *bool `pulumi:"useOctavia"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs struct { - Datacenters pulumi.StringPtrInput `pulumi:"datacenters"` - InsecureFlag pulumi.BoolPtrInput `pulumi:"insecureFlag"` - Password pulumi.StringPtrInput `pulumi:"password"` - Port pulumi.StringPtrInput `pulumi:"port"` - SoapRoundtripCount pulumi.IntPtrInput `pulumi:"soapRoundtripCount"` - User pulumi.StringPtrInput `pulumi:"user"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs struct { + CreateMonitor pulumi.BoolPtrInput `pulumi:"createMonitor"` + FloatingNetworkId pulumi.StringPtrInput `pulumi:"floatingNetworkId"` + LbMethod pulumi.StringPtrInput `pulumi:"lbMethod"` + LbProvider pulumi.StringPtrInput `pulumi:"lbProvider"` + LbVersion pulumi.StringPtrInput `pulumi:"lbVersion"` + ManageSecurityGroups pulumi.BoolPtrInput `pulumi:"manageSecurityGroups"` + MonitorDelay pulumi.StringPtrInput `pulumi:"monitorDelay"` + MonitorMaxRetries pulumi.IntPtrInput `pulumi:"monitorMaxRetries"` + MonitorTimeout pulumi.StringPtrInput `pulumi:"monitorTimeout"` + SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` + UseOctavia pulumi.BoolPtrInput `pulumi:"useOctavia"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Datacenters() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { - return v.Datacenters +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) CreateMonitor() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { + return v.CreateMonitor + }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) FloatingNetworkId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.FloatingNetworkId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) InsecureFlag() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *bool { - return v.InsecureFlag - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.LbMethod + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { - return v.Password +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.LbProvider }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { - return v.Port +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.LbVersion }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) SoapRoundtripCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *int { - return v.SoapRoundtripCount +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ManageSecurityGroups() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { + return v.ManageSecurityGroups + }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.MonitorDelay + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorMaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { + return v.MonitorMaxRetries }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { - return v.User +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.MonitorTimeout }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.SubnetId + }).(pulumi.StringPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) UseOctavia() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { + return v.UseOctavia + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Datacenters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) CreateMonitor() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { if v == nil { return nil } - return v.Datacenters + return v.CreateMonitor + }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) FloatingNetworkId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return v.FloatingNetworkId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) InsecureFlag() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { if v == nil { return nil } - return v.InsecureFlag - }).(pulumi.BoolPtrOutput) + return v.LbMethod + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { if v == nil { return nil } - return v.Password + return v.LbProvider }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { if v == nil { return nil } - return v.Port + return v.LbVersion }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) SoapRoundtripCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ManageSecurityGroups() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { if v == nil { return nil } - return v.SoapRoundtripCount + return v.ManageSecurityGroups + }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return v.MonitorDelay + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorMaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { + if v == nil { + return nil + } + return v.MonitorMaxRetries }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { if v == nil { return nil } - return v.User + return v.MonitorTimeout }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork struct { - PublicNetwork *string `pulumi:"publicNetwork"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return v.SubnetId + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) UseOctavia() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { + if v == nil { + return nil + } + return v.UseOctavia + }).(pulumi.BoolPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata struct { + RequestTimeout *int `pulumi:"requestTimeout"` + SearchOrder *string `pulumi:"searchOrder"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs struct { - PublicNetwork pulumi.StringPtrInput `pulumi:"publicNetwork"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs struct { + RequestTimeout pulumi.IntPtrInput `pulumi:"requestTimeout"` + SearchOrder pulumi.StringPtrInput `pulumi:"searchOrder"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) PublicNetwork() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) *string { - return v.PublicNetwork +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) RequestTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *int { + return v.RequestTimeout + }).(pulumi.IntPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) SearchOrder() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *string { + return v.SearchOrder }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) PublicNetwork() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) RequestTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *int { if v == nil { return nil } - return v.PublicNetwork + return v.RequestTimeout + }).(pulumi.IntPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) SearchOrder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *string { + if v == nil { + return nil + } + return v.SearchOrder }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter struct { - Datacenters string `pulumi:"datacenters"` - // The cluster template revision name (string) - Name string `pulumi:"name"` - Password string `pulumi:"password"` - Port *string `pulumi:"port"` - SoapRoundtripCount *int `pulumi:"soapRoundtripCount"` - User string `pulumi:"user"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute struct { + RouterId *string `pulumi:"routerId"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs struct { - Datacenters pulumi.StringInput `pulumi:"datacenters"` - // The cluster template revision name (string) - Name pulumi.StringInput `pulumi:"name"` - Password pulumi.StringInput `pulumi:"password"` - Port pulumi.StringPtrInput `pulumi:"port"` - SoapRoundtripCount pulumi.IntPtrInput `pulumi:"soapRoundtripCount"` - User pulumi.StringInput `pulumi:"user"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs struct { + RouterId pulumi.StringPtrInput `pulumi:"routerId"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput` via: +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx) +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType)(v) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Background()) +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return o +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Datacenters() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { - return v.Datacenters - }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return o } -// The cluster template revision name (string) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { - return v.Name - }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { - return v.Password - }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) *string { - return v.Port +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) RouterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) *string { + return v.RouterId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) SoapRoundtripCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) *int { - return v.SoapRoundtripCount - }).(pulumi.IntPtrOutput) -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput struct{ *pulumi.OutputState } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { - return v.User - }).(pulumi.StringOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { - return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)[vs[1].(int)] - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) RouterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) *string { + if v == nil { + return nil + } + return v.RouterId + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace struct { - Datacenter string `pulumi:"datacenter"` - DefaultDatastore *string `pulumi:"defaultDatastore"` - Folder string `pulumi:"folder"` - ResourcepoolPath *string `pulumi:"resourcepoolPath"` - Server string `pulumi:"server"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider struct { + Disk *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk `pulumi:"disk"` + Global *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal `pulumi:"global"` + Network *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork `pulumi:"network"` + VirtualCenters []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter `pulumi:"virtualCenters"` + Workspace ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace `pulumi:"workspace"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs struct { - Datacenter pulumi.StringInput `pulumi:"datacenter"` - DefaultDatastore pulumi.StringPtrInput `pulumi:"defaultDatastore"` - Folder pulumi.StringInput `pulumi:"folder"` - ResourcepoolPath pulumi.StringPtrInput `pulumi:"resourcepoolPath"` - Server pulumi.StringInput `pulumi:"server"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs struct { + Disk ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput `pulumi:"disk"` + Global ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput `pulumi:"global"` + Network ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput `pulumi:"network"` + VirtualCenters ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput `pulumi:"virtualCenters"` + Workspace ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput `pulumi:"workspace"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Datacenter() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { - return v.Datacenter - }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Disk() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { + return v.Disk + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) DefaultDatastore() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - return v.DefaultDatastore - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { + return v.Global + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Folder() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { - return v.Folder - }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Network() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { + return v.Network + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ResourcepoolPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - return v.ResourcepoolPath - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) VirtualCenters() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { + return v.VirtualCenters + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Server() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { - return v.Server - }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Workspace() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { + return v.Workspace + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Datacenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Disk() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { if v == nil { return nil } - return &v.Datacenter - }).(pulumi.StringPtrOutput) + return v.Disk + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) DefaultDatastore() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Global() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { if v == nil { return nil } - return v.DefaultDatastore - }).(pulumi.StringPtrOutput) + return v.Global + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Network() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { if v == nil { return nil } - return &v.Folder - }).(pulumi.StringPtrOutput) + return v.Network + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ResourcepoolPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) VirtualCenters() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { if v == nil { return nil } - return v.ResourcepoolPath - }).(pulumi.StringPtrOutput) + return v.VirtualCenters + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Workspace() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { if v == nil { return nil } - return &v.Server - }).(pulumi.StringPtrOutput) + return &v.Workspace + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns struct { - LinearAutoscalerParams *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams `pulumi:"linearAutoscalerParams"` - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` - Nodelocal *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal `pulumi:"nodelocal"` - Options map[string]interface{} `pulumi:"options"` - Provider *string `pulumi:"provider"` - ReverseCidrs []string `pulumi:"reverseCidrs"` - Tolerations []ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration `pulumi:"tolerations"` - UpdateStrategy *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy `pulumi:"updateStrategy"` - UpstreamNameservers []string `pulumi:"upstreamNameservers"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk struct { + ScsiControllerType *string `pulumi:"scsiControllerType"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs struct { - LinearAutoscalerParams ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput `pulumi:"linearAutoscalerParams"` - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` - Nodelocal ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput `pulumi:"nodelocal"` - Options pulumi.MapInput `pulumi:"options"` - Provider pulumi.StringPtrInput `pulumi:"provider"` - ReverseCidrs pulumi.StringArrayInput `pulumi:"reverseCidrs"` - Tolerations ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput `pulumi:"tolerations"` - UpdateStrategy ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput `pulumi:"updateStrategy"` - UpstreamNameservers pulumi.StringArrayInput `pulumi:"upstreamNameservers"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs struct { + ScsiControllerType pulumi.StringPtrInput `pulumi:"scsiControllerType"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(context.Background()) -} +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) +} -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) LinearAutoscalerParams() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { - return v.LinearAutoscalerParams - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { - return v.NodeSelector - }).(pulumi.MapOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Nodelocal() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { - return v.Nodelocal - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { - return v.Options - }).(pulumi.MapOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *string { return v.Provider }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ReverseCidrs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { return v.ReverseCidrs }).(pulumi.StringArrayOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration { - return v.Tolerations - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { - return v.UpdateStrategy - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) UpstreamNameservers() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { - return v.UpstreamNameservers - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ScsiControllerType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) *string { + return v.ScsiControllerType + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) LinearAutoscalerParams() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { - if v == nil { - return nil - } - return v.LinearAutoscalerParams - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { - if v == nil { - return nil - } - return v.NodeSelector - }).(pulumi.MapOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) Nodelocal() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { - if v == nil { - return nil - } - return v.Nodelocal - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { - if v == nil { - return nil - } - return v.Options - }).(pulumi.MapOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ScsiControllerType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) *string { if v == nil { return nil } - return v.Provider + return v.ScsiControllerType }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) ReverseCidrs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { - if v == nil { - return nil - } - return v.ReverseCidrs - }).(pulumi.StringArrayOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration { - if v == nil { - return nil - } - return v.Tolerations - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { - if v == nil { - return nil - } - return v.UpdateStrategy - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) UpstreamNameservers() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { - if v == nil { - return nil - } - return v.UpstreamNameservers - }).(pulumi.StringArrayOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams struct { - CoresPerReplica *float64 `pulumi:"coresPerReplica"` - Max *int `pulumi:"max"` - Min *int `pulumi:"min"` - NodesPerReplica *float64 `pulumi:"nodesPerReplica"` - PreventSinglePointFailure *bool `pulumi:"preventSinglePointFailure"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal struct { + Datacenters *string `pulumi:"datacenters"` + InsecureFlag *bool `pulumi:"insecureFlag"` + Password *string `pulumi:"password"` + Port *string `pulumi:"port"` + SoapRoundtripCount *int `pulumi:"soapRoundtripCount"` + User *string `pulumi:"user"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs struct { - CoresPerReplica pulumi.Float64PtrInput `pulumi:"coresPerReplica"` - Max pulumi.IntPtrInput `pulumi:"max"` - Min pulumi.IntPtrInput `pulumi:"min"` - NodesPerReplica pulumi.Float64PtrInput `pulumi:"nodesPerReplica"` - PreventSinglePointFailure pulumi.BoolPtrInput `pulumi:"preventSinglePointFailure"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs struct { + Datacenters pulumi.StringPtrInput `pulumi:"datacenters"` + InsecureFlag pulumi.BoolPtrInput `pulumi:"insecureFlag"` + Password pulumi.StringPtrInput `pulumi:"password"` + Port pulumi.StringPtrInput `pulumi:"port"` + SoapRoundtripCount pulumi.IntPtrInput `pulumi:"soapRoundtripCount"` + User pulumi.StringPtrInput `pulumi:"user"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) CoresPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { - return v.CoresPerReplica - }).(pulumi.Float64PtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Datacenters() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + return v.Datacenters + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) Max() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { - return v.Max - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) InsecureFlag() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *bool { + return v.InsecureFlag + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) Min() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { - return v.Min - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + return v.Password + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) NodesPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { - return v.NodesPerReplica - }).(pulumi.Float64PtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + return v.Port + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *bool { - return v.PreventSinglePointFailure - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) SoapRoundtripCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *int { + return v.SoapRoundtripCount + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + return v.User + }).(pulumi.StringPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) CoresPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Datacenters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { if v == nil { return nil } - return v.CoresPerReplica - }).(pulumi.Float64PtrOutput) + return v.Datacenters + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Max() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) InsecureFlag() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *bool { if v == nil { return nil } - return v.Max - }).(pulumi.IntPtrOutput) + return v.InsecureFlag + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Min() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { if v == nil { return nil } - return v.Min - }).(pulumi.IntPtrOutput) + return v.Password + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) NodesPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { if v == nil { return nil } - return v.NodesPerReplica - }).(pulumi.Float64PtrOutput) + return v.Port + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) SoapRoundtripCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *int { if v == nil { return nil } - return v.PreventSinglePointFailure - }).(pulumi.BoolPtrOutput) + return v.SoapRoundtripCount + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal struct { - IpAddress *string `pulumi:"ipAddress"` - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + if v == nil { + return nil + } + return v.User + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput` via: +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork struct { + PublicNetwork *string `pulumi:"publicNetwork"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs struct { - IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs struct { + PublicNetwork pulumi.StringPtrInput `pulumi:"publicNetwork"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) IpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *string { return v.IpAddress }).(pulumi.StringPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) map[string]interface{} { - return v.NodeSelector - }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) PublicNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) *string { + return v.PublicNetwork + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) IpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) PublicNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) *string { if v == nil { return nil } - return v.IpAddress + return v.PublicNetwork }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) map[string]interface{} { - if v == nil { - return nil - } - return v.NodeSelector - }).(pulumi.MapOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds *int `pulumi:"seconds"` - Value *string `pulumi:"value"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter struct { + Datacenters string `pulumi:"datacenters"` + // The cluster template revision name (string) + Name string `pulumi:"name"` + Password string `pulumi:"password"` + Port *string `pulumi:"port"` + SoapRoundtripCount *int `pulumi:"soapRoundtripCount"` + User string `pulumi:"user"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntPtrInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs struct { + Datacenters pulumi.StringInput `pulumi:"datacenters"` + // The cluster template revision name (string) + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringInput `pulumi:"password"` + Port pulumi.StringPtrInput `pulumi:"port"` + SoapRoundtripCount pulumi.IntPtrInput `pulumi:"soapRoundtripCount"` + User pulumi.StringInput `pulumi:"user"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs{...} } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Datacenters() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { + return v.Datacenters + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) string { return v.Key }).(pulumi.StringOutput) +// The cluster template revision name (string) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { + return v.Name + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { + return v.Password + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Seconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *int { return v.Seconds }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) *string { + return v.Port + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) SoapRoundtripCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) *int { + return v.SoapRoundtripCount + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { + return v.User + }).(pulumi.StringOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration { - return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)[vs[1].(int)] - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { + return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)[vs[1].(int)] + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy struct { - RollingUpdate *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` - Strategy *string `pulumi:"strategy"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace struct { + Datacenter string `pulumi:"datacenter"` + DefaultDatastore *string `pulumi:"defaultDatastore"` + Folder string `pulumi:"folder"` + ResourcepoolPath *string `pulumi:"resourcepoolPath"` + Server string `pulumi:"server"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs struct { - RollingUpdate ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` - Strategy pulumi.StringPtrInput `pulumi:"strategy"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs struct { + Datacenter pulumi.StringInput `pulumi:"datacenter"` + DefaultDatastore pulumi.StringPtrInput `pulumi:"defaultDatastore"` + Folder pulumi.StringInput `pulumi:"folder"` + ResourcepoolPath pulumi.StringPtrInput `pulumi:"resourcepoolPath"` + Server pulumi.StringInput `pulumi:"server"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { - return v.RollingUpdate - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Datacenter() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { + return v.Datacenter + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *string { - return v.Strategy +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) DefaultDatastore() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + return v.DefaultDatastore }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Folder() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { + return v.Folder + }).(pulumi.StringOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ResourcepoolPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + return v.ResourcepoolPath + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Server() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { + return v.Server + }).(pulumi.StringOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Datacenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { if v == nil { return nil } - return v.RollingUpdate - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) + return &v.Datacenter + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) DefaultDatastore() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { if v == nil { return nil } - return v.Strategy + return v.DefaultDatastore }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate struct { - MaxSurge *int `pulumi:"maxSurge"` - MaxUnavailable *int `pulumi:"maxUnavailable"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + if v == nil { + return nil + } + return &v.Folder + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ResourcepoolPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + if v == nil { + return nil + } + return v.ResourcepoolPath + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + if v == nil { + return nil + } + return &v.Server + }).(pulumi.StringPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns struct { + LinearAutoscalerParams *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams `pulumi:"linearAutoscalerParams"` + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` + Nodelocal *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal `pulumi:"nodelocal"` + Options map[string]interface{} `pulumi:"options"` + Provider *string `pulumi:"provider"` + ReverseCidrs []string `pulumi:"reverseCidrs"` + Tolerations []ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration `pulumi:"tolerations"` + UpdateStrategy *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy `pulumi:"updateStrategy"` + UpstreamNameservers []string `pulumi:"upstreamNameservers"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs struct { - MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` - MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs struct { + LinearAutoscalerParams ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput `pulumi:"linearAutoscalerParams"` + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` + Nodelocal ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput `pulumi:"nodelocal"` + Options pulumi.MapInput `pulumi:"options"` + Provider pulumi.StringPtrInput `pulumi:"provider"` + ReverseCidrs pulumi.StringArrayInput `pulumi:"reverseCidrs"` + Tolerations ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput `pulumi:"tolerations"` + UpdateStrategy ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput `pulumi:"updateStrategy"` + UpstreamNameservers pulumi.StringArrayInput `pulumi:"upstreamNameservers"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { - return v.MaxSurge - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) LinearAutoscalerParams() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { + return v.LinearAutoscalerParams + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { + return v.NodeSelector + }).(pulumi.MapOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Nodelocal() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { + return v.Nodelocal + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { + return v.Options + }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *string { return v.Provider }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ReverseCidrs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { return v.ReverseCidrs }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration { + return v.Tolerations + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { + return v.UpdateStrategy + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) UpstreamNameservers() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { + return v.UpstreamNameservers + }).(pulumi.StringArrayOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) LinearAutoscalerParams() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { if v == nil { return nil } - return v.MaxSurge - }).(pulumi.IntPtrOutput) + return v.LinearAutoscalerParams + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { if v == nil { return nil } - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) + return v.NodeSelector + }).(pulumi.MapOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress struct { - DefaultBackend *bool `pulumi:"defaultBackend"` - DnsPolicy *string `pulumi:"dnsPolicy"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - HttpPort *int `pulumi:"httpPort"` - HttpsPort *int `pulumi:"httpsPort"` - NetworkMode *string `pulumi:"networkMode"` - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` - Options map[string]interface{} `pulumi:"options"` - Provider *string `pulumi:"provider"` - Tolerations []ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration `pulumi:"tolerations"` - UpdateStrategy *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy `pulumi:"updateStrategy"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) Nodelocal() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { + if v == nil { + return nil + } + return v.Nodelocal + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { + if v == nil { + return nil + } + return v.Options + }).(pulumi.MapOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs struct { - DefaultBackend pulumi.BoolPtrInput `pulumi:"defaultBackend"` - DnsPolicy pulumi.StringPtrInput `pulumi:"dnsPolicy"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - HttpPort pulumi.IntPtrInput `pulumi:"httpPort"` - HttpsPort pulumi.IntPtrInput `pulumi:"httpsPort"` - NetworkMode pulumi.StringPtrInput `pulumi:"networkMode"` - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` - Options pulumi.MapInput `pulumi:"options"` - Provider pulumi.StringPtrInput `pulumi:"provider"` - Tolerations ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput `pulumi:"tolerations"` - UpdateStrategy ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput `pulumi:"updateStrategy"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *string { + if v == nil { + return nil + } + return v.Provider + }).(pulumi.StringPtrOutput) } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) ReverseCidrs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { + if v == nil { + return nil + } + return v.ReverseCidrs + }).(pulumi.StringArrayOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration { + if v == nil { + return nil + } + return v.Tolerations + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { + if v == nil { + return nil + } + return v.UpdateStrategy + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsPtrOutput) UpstreamNameservers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { + if v == nil { + return nil + } + return v.UpstreamNameservers + }).(pulumi.StringArrayOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(ctx) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams struct { + CoresPerReplica *float64 `pulumi:"coresPerReplica"` + Max *int `pulumi:"max"` + Min *int `pulumi:"min"` + NodesPerReplica *float64 `pulumi:"nodesPerReplica"` + PreventSinglePointFailure *bool `pulumi:"preventSinglePointFailure"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs{...} -// -// or: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput` via: // -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrType)(v) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs struct { + CoresPerReplica pulumi.Float64PtrInput `pulumi:"coresPerReplica"` + Max pulumi.IntPtrInput `pulumi:"max"` + Min pulumi.IntPtrInput `pulumi:"min"` + NodesPerReplica pulumi.Float64PtrInput `pulumi:"nodesPerReplica"` + PreventSinglePointFailure pulumi.BoolPtrInput `pulumi:"preventSinglePointFailure"` } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput struct{ *pulumi.OutputState } +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { - return o +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { - return o +type clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs + +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType)(v) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(context.Background()) +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) DefaultBackend() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *bool { return v.DefaultBackend }).(pulumi.BoolPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) DnsPolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { return v.DnsPolicy }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) HttpPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *int { return v.HttpPort }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) HttpsPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *int { return v.HttpsPort }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) NetworkMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { return v.NetworkMode }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { - return v.NodeSelector - }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) CoresPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { + return v.CoresPerReplica + }).(pulumi.Float64PtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { - return v.Options - }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) Max() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { + return v.Max + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { return v.Provider }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) Min() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { + return v.Min + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration { - return v.Tolerations - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) NodesPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { + return v.NodesPerReplica + }).(pulumi.Float64PtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { - return v.UpdateStrategy - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *bool { + return v.PreventSinglePointFailure + }).(pulumi.BoolPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) DefaultBackend() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *bool { - if v == nil { - return nil - } - return v.DefaultBackend - }).(pulumi.BoolPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) DnsPolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { - if v == nil { - return nil - } - return v.DnsPolicy - }).(pulumi.StringPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) CoresPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { if v == nil { return nil } - return v.ExtraArgs - }).(pulumi.MapOutput) + return v.CoresPerReplica + }).(pulumi.Float64PtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) HttpPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Max() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { if v == nil { return nil } - return v.HttpPort + return v.Max }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) HttpsPort() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Min() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { if v == nil { return nil } - return v.HttpsPort + return v.Min }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) NetworkMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { - if v == nil { - return nil - } - return v.NetworkMode - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) NodesPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { if v == nil { return nil } - return v.NodeSelector - }).(pulumi.MapOutput) + return v.NodesPerReplica + }).(pulumi.Float64PtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *bool { if v == nil { return nil } - return v.Options - }).(pulumi.MapOutput) + return v.PreventSinglePointFailure + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { - if v == nil { - return nil - } - return v.Provider - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal struct { + IpAddress *string `pulumi:"ipAddress"` + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration { - if v == nil { - return nil - } - return v.Tolerations - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) -} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput interface { + pulumi.Input -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { - if v == nil { - return nil - } - return v.UpdateStrategy - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds *int `pulumi:"seconds"` - Value *string `pulumi:"value"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs struct { + IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntPtrInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(context.Background()) } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs{...} } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput +type clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType)(v) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(context.Background()) +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput struct{ *pulumi.OutputState } +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { - return v.Effect - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) string { return v.Key }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { - return v.Operator - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) IpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *string { return v.IpAddress }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Seconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *int { return v.Seconds }).(pulumi.IntPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) map[string]interface{} { + return v.NodeSelector + }).(pulumi.MapOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration { - return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)[vs[1].(int)] - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy struct { - RollingUpdate *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` - Strategy *string `pulumi:"strategy"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) IpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *string { + if v == nil { + return nil + } + return v.IpAddress + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) map[string]interface{} { + if v == nil { + return nil + } + return v.NodeSelector + }).(pulumi.MapOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs struct { - RollingUpdate ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` - Strategy pulumi.StringPtrInput `pulumi:"strategy"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds *int `pulumi:"seconds"` + Value *string `pulumi:"value"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(context.Background()) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntPtrInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs{...} -// -// or: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput` via: // -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs{...} } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType)(v) -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) string { return v.Key }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { - return v.RollingUpdate - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *string { - return v.Strategy - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Seconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *int { return v.Seconds }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return o -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput struct{ *pulumi.OutputState } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return o +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { - if v == nil { - return nil - } - return v.RollingUpdate - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *string { - if v == nil { - return nil - } - return v.Strategy - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration { + return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)[vs[1].(int)] + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate struct { - MaxUnavailable *int `pulumi:"maxUnavailable"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy struct { + RollingUpdate *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` + Strategy *string `pulumi:"strategy"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs struct { - MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs struct { + RollingUpdate ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` + Strategy pulumi.StringPtrInput `pulumi:"strategy"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *int { - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { + return v.RollingUpdate + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *string { + return v.Strategy + }).(pulumi.StringPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { if v == nil { return nil } - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) + return v.RollingUpdate + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring struct { - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` - Options map[string]interface{} `pulumi:"options"` - Provider *string `pulumi:"provider"` - Replicas *int `pulumi:"replicas"` - Tolerations []ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration `pulumi:"tolerations"` - UpdateStrategy *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy `pulumi:"updateStrategy"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *string { + if v == nil { + return nil + } + return v.Strategy + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput` via: +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate struct { + MaxSurge *int `pulumi:"maxSurge"` + MaxUnavailable *int `pulumi:"maxUnavailable"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs struct { - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` - Options pulumi.MapInput `pulumi:"options"` - Provider pulumi.StringPtrInput `pulumi:"provider"` - Replicas pulumi.IntPtrInput `pulumi:"replicas"` - Tolerations ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput `pulumi:"tolerations"` - UpdateStrategy ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput `pulumi:"updateStrategy"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs struct { + MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` + MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { - return v.NodeSelector - }).(pulumi.MapOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { - return v.Options - }).(pulumi.MapOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *string { return v.Provider }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Replicas() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *int { return v.Replicas }).(pulumi.IntPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration { - return v.Tolerations - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { + return v.MaxSurge + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { - return v.UpdateStrategy - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { if v == nil { return nil } - return v.NodeSelector - }).(pulumi.MapOutput) + return v.MaxSurge + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { if v == nil { return nil } + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress struct { + DefaultBackend *bool `pulumi:"defaultBackend"` + DnsPolicy *string `pulumi:"dnsPolicy"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + HttpPort *int `pulumi:"httpPort"` + HttpsPort *int `pulumi:"httpsPort"` + NetworkMode *string `pulumi:"networkMode"` + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` + Options map[string]interface{} `pulumi:"options"` + Provider *string `pulumi:"provider"` + Tolerations []ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration `pulumi:"tolerations"` + UpdateStrategy *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy `pulumi:"updateStrategy"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs struct { + DefaultBackend pulumi.BoolPtrInput `pulumi:"defaultBackend"` + DnsPolicy pulumi.StringPtrInput `pulumi:"dnsPolicy"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + HttpPort pulumi.IntPtrInput `pulumi:"httpPort"` + HttpsPort pulumi.IntPtrInput `pulumi:"httpsPort"` + NetworkMode pulumi.StringPtrInput `pulumi:"networkMode"` + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` + Options pulumi.MapInput `pulumi:"options"` + Provider pulumi.StringPtrInput `pulumi:"provider"` + Tolerations ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput `pulumi:"tolerations"` + UpdateStrategy ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput `pulumi:"updateStrategy"` +} + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(context.Background()) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(context.Background()) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(ctx) +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput +} + +type clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs + +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrType)(v) +} + +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() +} + +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(context.Background()) +} + +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(context.Background()) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) DefaultBackend() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *bool { return v.DefaultBackend }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) DnsPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { return v.DnsPolicy }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) HttpPort() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *int { return v.HttpPort }).(pulumi.IntPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) HttpsPort() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *int { return v.HttpsPort }).(pulumi.IntPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) NetworkMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { return v.NetworkMode }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { + return v.NodeSelector + }).(pulumi.MapOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { return v.Options }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { return v.Provider }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration { + return v.Tolerations + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { + return v.UpdateStrategy + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) DefaultBackend() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *bool { if v == nil { return nil } - return v.Provider + return v.DefaultBackend + }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) DnsPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { + if v == nil { + return nil + } + return v.DnsPolicy }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) Replicas() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { if v == nil { return nil } - return v.Replicas + return v.ExtraArgs + }).(pulumi.MapOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) HttpPort() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *int { + if v == nil { + return nil + } + return v.HttpPort }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) HttpsPort() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *int { + if v == nil { + return nil + } + return v.HttpsPort + }).(pulumi.IntPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) NetworkMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { + if v == nil { + return nil + } + return v.NetworkMode + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { + if v == nil { + return nil + } + return v.NodeSelector + }).(pulumi.MapOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { + if v == nil { + return nil + } + return v.Options + }).(pulumi.MapOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *string { + if v == nil { + return nil + } + return v.Provider + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration { if v == nil { return nil } return v.Tolerations - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressPtrOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { if v == nil { return nil } return v.UpdateStrategy - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration struct { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration struct { Effect *string `pulumi:"effect"` Key string `pulumi:"key"` Operator *string `pulumi:"operator"` @@ -34363,18 +35283,18 @@ type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration s Value *string `pulumi:"value"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs struct { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs struct { Effect pulumi.StringPtrInput `pulumi:"effect"` Key pulumi.StringInput `pulumi:"key"` Operator pulumi.StringPtrInput `pulumi:"operator"` @@ -34382,250 +35302,246 @@ type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationAr Value pulumi.StringPtrInput `pulumi:"value"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs{...} } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs{...} } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) string { return v.Key }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) string { return v.Key }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Seconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *int { - return v.Seconds - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Seconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *int { return v.Seconds }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { - return v.Value - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { return v.Value }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration { - return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)[vs[1].(int)] - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration { + return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)[vs[1].(int)] + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy struct { - RollingUpdate *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` - Strategy *string `pulumi:"strategy"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy struct { + RollingUpdate *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` + Strategy *string `pulumi:"strategy"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs struct { - RollingUpdate ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` - Strategy pulumi.StringPtrInput `pulumi:"strategy"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs struct { + RollingUpdate ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` + Strategy pulumi.StringPtrInput `pulumi:"strategy"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { return v.RollingUpdate - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *string { return v.Strategy }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { if v == nil { return nil } return v.RollingUpdate - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *string { if v == nil { return nil } @@ -34633,151 +35549,134 @@ func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStr }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate struct { - MaxSurge *int `pulumi:"maxSurge"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate struct { MaxUnavailable *int `pulumi:"maxUnavailable"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs struct { - MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs struct { MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { - return v.MaxSurge - }).(pulumi.IntPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *int { return v.MaxUnavailable }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { - if v == nil { - return nil - } - return v.MaxSurge - }).(pulumi.IntPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *int { if v == nil { return nil } @@ -34785,3842 +35684,3896 @@ func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStr }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork struct { - CalicoNetworkProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider `pulumi:"calicoNetworkProvider"` - CanalNetworkProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider `pulumi:"canalNetworkProvider"` - FlannelNetworkProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider `pulumi:"flannelNetworkProvider"` - Mtu *int `pulumi:"mtu"` - Options map[string]interface{} `pulumi:"options"` - Plugin *string `pulumi:"plugin"` - Tolerations []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration `pulumi:"tolerations"` - WeaveNetworkProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider `pulumi:"weaveNetworkProvider"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring struct { + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` + Options map[string]interface{} `pulumi:"options"` + Provider *string `pulumi:"provider"` + Replicas *int `pulumi:"replicas"` + Tolerations []ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration `pulumi:"tolerations"` + UpdateStrategy *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy `pulumi:"updateStrategy"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs struct { - CalicoNetworkProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput `pulumi:"calicoNetworkProvider"` - CanalNetworkProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput `pulumi:"canalNetworkProvider"` - FlannelNetworkProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput `pulumi:"flannelNetworkProvider"` - Mtu pulumi.IntPtrInput `pulumi:"mtu"` - Options pulumi.MapInput `pulumi:"options"` - Plugin pulumi.StringPtrInput `pulumi:"plugin"` - Tolerations ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput `pulumi:"tolerations"` - WeaveNetworkProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput `pulumi:"weaveNetworkProvider"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs struct { + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` + Options pulumi.MapInput `pulumi:"options"` + Provider pulumi.StringPtrInput `pulumi:"provider"` + Replicas pulumi.IntPtrInput `pulumi:"replicas"` + Tolerations ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput `pulumi:"tolerations"` + UpdateStrategy ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput `pulumi:"updateStrategy"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) CalicoNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { - return v.CalicoNetworkProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) CanalNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { - return v.CanalNetworkProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) FlannelNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { - return v.FlannelNetworkProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Mtu() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *int { return v.Mtu }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { + return v.NodeSelector + }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { return v.Options }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Plugin() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *string { return v.Plugin }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *string { return v.Provider }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Replicas() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *int { return v.Replicas }).(pulumi.IntPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration { return v.Tolerations - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) WeaveNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { - return v.WeaveNetworkProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { + return v.UpdateStrategy + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) CalicoNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { if v == nil { return nil } - return v.CalicoNetworkProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) + return v.NodeSelector + }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) CanalNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { if v == nil { return nil } - return v.CanalNetworkProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) + return v.Options + }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) FlannelNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *string { if v == nil { return nil } - return v.FlannelNetworkProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) + return v.Provider + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) Mtu() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) Replicas() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *int { if v == nil { return nil } - return v.Mtu + return v.Replicas }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) map[string]interface{} { - if v == nil { - return nil - } - return v.Options - }).(pulumi.MapOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) Plugin() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *string { - if v == nil { - return nil - } - return v.Plugin - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration { if v == nil { return nil } return v.Tolerations - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) WeaveNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringPtrOutput) UpdateStrategy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { if v == nil { return nil } - return v.WeaveNetworkProvider - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) + return v.UpdateStrategy + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider struct { - CloudProvider *string `pulumi:"cloudProvider"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds *int `pulumi:"seconds"` + Value *string `pulumi:"value"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs struct { - CloudProvider pulumi.StringPtrInput `pulumi:"cloudProvider"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Background()) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntPtrInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{...} -// -// or: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput` via: // -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs{...} } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType)(v) -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { + return v.Effect + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) string { return v.Key }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) CloudProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) *string { - return v.CloudProvider +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { + return v.Operator }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Seconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *int { + return v.Seconds + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { + return v.Value + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput struct{ *pulumi.OutputState } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) CloudProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) *string { - if v == nil { - return nil - } - return v.CloudProvider - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { + return o } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider struct { - Iface *string `pulumi:"iface"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { + return o } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration { + return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)[vs[1].(int)] + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy struct { + RollingUpdate *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` + Strategy *string `pulumi:"strategy"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs struct { - Iface pulumi.StringPtrInput `pulumi:"iface"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs struct { + RollingUpdate ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` + Strategy pulumi.StringPtrInput `pulumi:"strategy"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) *string { - return v.Iface +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { + return v.RollingUpdate + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *string { + return v.Strategy }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) RollingUpdate() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { if v == nil { return nil } - return v.Iface + return v.RollingUpdate + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *string { + if v == nil { + return nil + } + return v.Strategy }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider struct { - Iface *string `pulumi:"iface"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate struct { + MaxSurge *int `pulumi:"maxSurge"` + MaxUnavailable *int `pulumi:"maxUnavailable"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs struct { - Iface pulumi.StringPtrInput `pulumi:"iface"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs struct { + MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` + MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) *string { - return v.Iface - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { + return v.MaxSurge + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { if v == nil { return nil } - return v.Iface - }).(pulumi.StringPtrOutput) + return v.MaxSurge + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds *int `pulumi:"seconds"` - Value *string `pulumi:"value"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { + if v == nil { + return nil + } + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput` via: +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork struct { + AciNetworkProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider `pulumi:"aciNetworkProvider"` + CalicoNetworkProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider `pulumi:"calicoNetworkProvider"` + CanalNetworkProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider `pulumi:"canalNetworkProvider"` + FlannelNetworkProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider `pulumi:"flannelNetworkProvider"` + Mtu *int `pulumi:"mtu"` + Options map[string]interface{} `pulumi:"options"` + Plugin *string `pulumi:"plugin"` + Tolerations []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration `pulumi:"tolerations"` + WeaveNetworkProvider *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider `pulumi:"weaveNetworkProvider"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntPtrInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs struct { + AciNetworkProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput `pulumi:"aciNetworkProvider"` + CalicoNetworkProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput `pulumi:"calicoNetworkProvider"` + CanalNetworkProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput `pulumi:"canalNetworkProvider"` + FlannelNetworkProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput `pulumi:"flannelNetworkProvider"` + Mtu pulumi.IntPtrInput `pulumi:"mtu"` + Options pulumi.MapInput `pulumi:"options"` + Plugin pulumi.StringPtrInput `pulumi:"plugin"` + Tolerations ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput `pulumi:"tolerations"` + WeaveNetworkProvider ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput `pulumi:"weaveNetworkProvider"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput` via: +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(context.Background()) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(ctx) +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs{...} } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput +type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrType)(v) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(context.Background()) +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(context.Background()) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput struct{ *pulumi.OutputState } +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { - return v.Effect - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) string { return v.Key }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { - return v.Operator - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) AciNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { + return v.AciNetworkProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Seconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *int { return v.Seconds }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) CalicoNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { + return v.CalicoNetworkProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) CanalNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { + return v.CanalNetworkProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) FlannelNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { + return v.FlannelNetworkProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Mtu() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *int { return v.Mtu }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) map[string]interface{} { + return v.Options + }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration { - return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)[vs[1].(int)] - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Plugin() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *string { return v.Plugin }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider struct { - Password string `pulumi:"password"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration { + return v.Tolerations + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) WeaveNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { + return v.WeaveNetworkProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs struct { - Password pulumi.StringInput `pulumi:"password"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { + return o } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput { + return o } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) AciNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { + if v == nil { + return nil + } + return v.AciNetworkProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) CalicoNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { + if v == nil { + return nil + } + return v.CalicoNetworkProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs{...} +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) CanalNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { + if v == nil { + return nil + } + return v.CanalNetworkProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) FlannelNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { + if v == nil { + return nil + } + return v.FlannelNetworkProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) Mtu() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *int { + if v == nil { + return nil + } + return v.Mtu + }).(pulumi.IntPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) map[string]interface{} { + if v == nil { + return nil + } + return v.Options + }).(pulumi.MapOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) Plugin() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *string { + if v == nil { + return nil + } + return v.Plugin + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) Tolerations() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration { + if v == nil { + return nil + } + return v.Tolerations + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput) WeaveNetworkProvider() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { + if v == nil { + return nil + } + return v.WeaveNetworkProvider + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider struct { + Aep string `pulumi:"aep"` + ApicHosts []string `pulumi:"apicHosts"` + ApicRefreshTickerAdjust *string `pulumi:"apicRefreshTickerAdjust"` + ApicRefreshTime *string `pulumi:"apicRefreshTime"` + ApicSubscriptionDelay *string `pulumi:"apicSubscriptionDelay"` + ApicUserCrt string `pulumi:"apicUserCrt"` + ApicUserKey string `pulumi:"apicUserKey"` + ApicUserName string `pulumi:"apicUserName"` + Capic *string `pulumi:"capic"` + ControllerLogLevel *string `pulumi:"controllerLogLevel"` + DisablePeriodicSnatGlobalInfoSync *string `pulumi:"disablePeriodicSnatGlobalInfoSync"` + DisableWaitForNetwork *string `pulumi:"disableWaitForNetwork"` + DropLogEnable *string `pulumi:"dropLogEnable"` + DurationWaitForNetwork *string `pulumi:"durationWaitForNetwork"` + EnableEndpointSlice *string `pulumi:"enableEndpointSlice"` + EncapType string `pulumi:"encapType"` + EpRegistry *string `pulumi:"epRegistry"` + ExternDynamic string `pulumi:"externDynamic"` + ExternStatic string `pulumi:"externStatic"` + GbpPodSubnet *string `pulumi:"gbpPodSubnet"` + HostAgentLogLevel *string `pulumi:"hostAgentLogLevel"` + ImagePullPolicy *string `pulumi:"imagePullPolicy"` + ImagePullSecret *string `pulumi:"imagePullSecret"` + InfraVlan *string `pulumi:"infraVlan"` + InstallIstio *string `pulumi:"installIstio"` + IstioProfile *string `pulumi:"istioProfile"` + KafkaBrokers []string `pulumi:"kafkaBrokers"` + KafkaClientCrt *string `pulumi:"kafkaClientCrt"` + KafkaClientKey *string `pulumi:"kafkaClientKey"` + KubeApiVlan string `pulumi:"kubeApiVlan"` + L3out string `pulumi:"l3out"` + L3outExternalNetworks []string `pulumi:"l3outExternalNetworks"` + MaxNodesSvcGraph *string `pulumi:"maxNodesSvcGraph"` + McastRangeEnd string `pulumi:"mcastRangeEnd"` + McastRangeStart string `pulumi:"mcastRangeStart"` + MtuHeadRoom *string `pulumi:"mtuHeadRoom"` + MultusDisable *string `pulumi:"multusDisable"` + NoPriorityClass *string `pulumi:"noPriorityClass"` + NodePodIfEnable *string `pulumi:"nodePodIfEnable"` + NodeSubnet string `pulumi:"nodeSubnet"` + NodeSvcSubnet string `pulumi:"nodeSvcSubnet"` + OpflexClientSsl *string `pulumi:"opflexClientSsl"` + OpflexDeviceDeleteTimeout *string `pulumi:"opflexDeviceDeleteTimeout"` + OpflexLogLevel *string `pulumi:"opflexLogLevel"` + OpflexMode *string `pulumi:"opflexMode"` + OpflexServerPort *string `pulumi:"opflexServerPort"` + OverlayVrfName *string `pulumi:"overlayVrfName"` + OvsMemoryLimit *string `pulumi:"ovsMemoryLimit"` + PbrTrackingNonSnat *string `pulumi:"pbrTrackingNonSnat"` + PodSubnetChunkSize *string `pulumi:"podSubnetChunkSize"` + RunGbpContainer *string `pulumi:"runGbpContainer"` + RunOpflexServerContainer *string `pulumi:"runOpflexServerContainer"` + ServiceMonitorInterval *string `pulumi:"serviceMonitorInterval"` + ServiceVlan string `pulumi:"serviceVlan"` + SnatContractScope *string `pulumi:"snatContractScope"` + SnatNamespace *string `pulumi:"snatNamespace"` + SnatPortRangeEnd *string `pulumi:"snatPortRangeEnd"` + SnatPortRangeStart *string `pulumi:"snatPortRangeStart"` + SnatPortsPerNode *string `pulumi:"snatPortsPerNode"` + SriovEnable *string `pulumi:"sriovEnable"` + SubnetDomainName *string `pulumi:"subnetDomainName"` + SystemId string `pulumi:"systemId"` + Tenant *string `pulumi:"tenant"` + Token string `pulumi:"token"` + UseAciAnywhereCrd *string `pulumi:"useAciAnywhereCrd"` + UseAciCniPriorityClass *string `pulumi:"useAciCniPriorityClass"` + UseClusterRole *string `pulumi:"useClusterRole"` + UseHostNetnsVolume *string `pulumi:"useHostNetnsVolume"` + UseOpflexServerVolume *string `pulumi:"useOpflexServerVolume"` + UsePrivilegedContainer *string `pulumi:"usePrivilegedContainer"` + VmmController *string `pulumi:"vmmController"` + VmmDomain *string `pulumi:"vmmDomain"` + VrfName string `pulumi:"vrfName"` + VrfTenant string `pulumi:"vrfTenant"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs struct { + Aep pulumi.StringInput `pulumi:"aep"` + ApicHosts pulumi.StringArrayInput `pulumi:"apicHosts"` + ApicRefreshTickerAdjust pulumi.StringPtrInput `pulumi:"apicRefreshTickerAdjust"` + ApicRefreshTime pulumi.StringPtrInput `pulumi:"apicRefreshTime"` + ApicSubscriptionDelay pulumi.StringPtrInput `pulumi:"apicSubscriptionDelay"` + ApicUserCrt pulumi.StringInput `pulumi:"apicUserCrt"` + ApicUserKey pulumi.StringInput `pulumi:"apicUserKey"` + ApicUserName pulumi.StringInput `pulumi:"apicUserName"` + Capic pulumi.StringPtrInput `pulumi:"capic"` + ControllerLogLevel pulumi.StringPtrInput `pulumi:"controllerLogLevel"` + DisablePeriodicSnatGlobalInfoSync pulumi.StringPtrInput `pulumi:"disablePeriodicSnatGlobalInfoSync"` + DisableWaitForNetwork pulumi.StringPtrInput `pulumi:"disableWaitForNetwork"` + DropLogEnable pulumi.StringPtrInput `pulumi:"dropLogEnable"` + DurationWaitForNetwork pulumi.StringPtrInput `pulumi:"durationWaitForNetwork"` + EnableEndpointSlice pulumi.StringPtrInput `pulumi:"enableEndpointSlice"` + EncapType pulumi.StringInput `pulumi:"encapType"` + EpRegistry pulumi.StringPtrInput `pulumi:"epRegistry"` + ExternDynamic pulumi.StringInput `pulumi:"externDynamic"` + ExternStatic pulumi.StringInput `pulumi:"externStatic"` + GbpPodSubnet pulumi.StringPtrInput `pulumi:"gbpPodSubnet"` + HostAgentLogLevel pulumi.StringPtrInput `pulumi:"hostAgentLogLevel"` + ImagePullPolicy pulumi.StringPtrInput `pulumi:"imagePullPolicy"` + ImagePullSecret pulumi.StringPtrInput `pulumi:"imagePullSecret"` + InfraVlan pulumi.StringPtrInput `pulumi:"infraVlan"` + InstallIstio pulumi.StringPtrInput `pulumi:"installIstio"` + IstioProfile pulumi.StringPtrInput `pulumi:"istioProfile"` + KafkaBrokers pulumi.StringArrayInput `pulumi:"kafkaBrokers"` + KafkaClientCrt pulumi.StringPtrInput `pulumi:"kafkaClientCrt"` + KafkaClientKey pulumi.StringPtrInput `pulumi:"kafkaClientKey"` + KubeApiVlan pulumi.StringInput `pulumi:"kubeApiVlan"` + L3out pulumi.StringInput `pulumi:"l3out"` + L3outExternalNetworks pulumi.StringArrayInput `pulumi:"l3outExternalNetworks"` + MaxNodesSvcGraph pulumi.StringPtrInput `pulumi:"maxNodesSvcGraph"` + McastRangeEnd pulumi.StringInput `pulumi:"mcastRangeEnd"` + McastRangeStart pulumi.StringInput `pulumi:"mcastRangeStart"` + MtuHeadRoom pulumi.StringPtrInput `pulumi:"mtuHeadRoom"` + MultusDisable pulumi.StringPtrInput `pulumi:"multusDisable"` + NoPriorityClass pulumi.StringPtrInput `pulumi:"noPriorityClass"` + NodePodIfEnable pulumi.StringPtrInput `pulumi:"nodePodIfEnable"` + NodeSubnet pulumi.StringInput `pulumi:"nodeSubnet"` + NodeSvcSubnet pulumi.StringInput `pulumi:"nodeSvcSubnet"` + OpflexClientSsl pulumi.StringPtrInput `pulumi:"opflexClientSsl"` + OpflexDeviceDeleteTimeout pulumi.StringPtrInput `pulumi:"opflexDeviceDeleteTimeout"` + OpflexLogLevel pulumi.StringPtrInput `pulumi:"opflexLogLevel"` + OpflexMode pulumi.StringPtrInput `pulumi:"opflexMode"` + OpflexServerPort pulumi.StringPtrInput `pulumi:"opflexServerPort"` + OverlayVrfName pulumi.StringPtrInput `pulumi:"overlayVrfName"` + OvsMemoryLimit pulumi.StringPtrInput `pulumi:"ovsMemoryLimit"` + PbrTrackingNonSnat pulumi.StringPtrInput `pulumi:"pbrTrackingNonSnat"` + PodSubnetChunkSize pulumi.StringPtrInput `pulumi:"podSubnetChunkSize"` + RunGbpContainer pulumi.StringPtrInput `pulumi:"runGbpContainer"` + RunOpflexServerContainer pulumi.StringPtrInput `pulumi:"runOpflexServerContainer"` + ServiceMonitorInterval pulumi.StringPtrInput `pulumi:"serviceMonitorInterval"` + ServiceVlan pulumi.StringInput `pulumi:"serviceVlan"` + SnatContractScope pulumi.StringPtrInput `pulumi:"snatContractScope"` + SnatNamespace pulumi.StringPtrInput `pulumi:"snatNamespace"` + SnatPortRangeEnd pulumi.StringPtrInput `pulumi:"snatPortRangeEnd"` + SnatPortRangeStart pulumi.StringPtrInput `pulumi:"snatPortRangeStart"` + SnatPortsPerNode pulumi.StringPtrInput `pulumi:"snatPortsPerNode"` + SriovEnable pulumi.StringPtrInput `pulumi:"sriovEnable"` + SubnetDomainName pulumi.StringPtrInput `pulumi:"subnetDomainName"` + SystemId pulumi.StringInput `pulumi:"systemId"` + Tenant pulumi.StringPtrInput `pulumi:"tenant"` + Token pulumi.StringInput `pulumi:"token"` + UseAciAnywhereCrd pulumi.StringPtrInput `pulumi:"useAciAnywhereCrd"` + UseAciCniPriorityClass pulumi.StringPtrInput `pulumi:"useAciCniPriorityClass"` + UseClusterRole pulumi.StringPtrInput `pulumi:"useClusterRole"` + UseHostNetnsVolume pulumi.StringPtrInput `pulumi:"useHostNetnsVolume"` + UseOpflexServerVolume pulumi.StringPtrInput `pulumi:"useOpflexServerVolume"` + UsePrivilegedContainer pulumi.StringPtrInput `pulumi:"usePrivilegedContainer"` + VmmController pulumi.StringPtrInput `pulumi:"vmmController"` + VmmDomain pulumi.StringPtrInput `pulumi:"vmmDomain"` + VrfName pulumi.StringInput `pulumi:"vrfName"` + VrfTenant pulumi.StringInput `pulumi:"vrfTenant"` +} + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider)(nil)).Elem() +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutputWithContext(context.Background()) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) +} + +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx) +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) string { - return v.Password +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) Aep() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.Aep }).(pulumi.StringOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicHosts() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + return v.ApicHosts + }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicRefreshTickerAdjust() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ApicRefreshTickerAdjust + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicRefreshTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ApicRefreshTime + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) *string { - if v == nil { - return nil - } - return &v.Password +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicSubscriptionDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ApicSubscriptionDelay }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode struct { - Address string `pulumi:"address"` - DockerSocket *string `pulumi:"dockerSocket"` - HostnameOverride *string `pulumi:"hostnameOverride"` - InternalAddress *string `pulumi:"internalAddress"` - // Labels for the cluster template revision (map) - Labels map[string]interface{} `pulumi:"labels"` - NodeId *string `pulumi:"nodeId"` - Port *string `pulumi:"port"` - Roles []string `pulumi:"roles"` - SshAgentAuth *bool `pulumi:"sshAgentAuth"` - SshKey *string `pulumi:"sshKey"` - SshKeyPath *string `pulumi:"sshKeyPath"` - User string `pulumi:"user"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicUserCrt() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ApicUserCrt + }).(pulumi.StringOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicUserKey() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ApicUserKey + }).(pulumi.StringOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs struct { - Address pulumi.StringInput `pulumi:"address"` - DockerSocket pulumi.StringPtrInput `pulumi:"dockerSocket"` - HostnameOverride pulumi.StringPtrInput `pulumi:"hostnameOverride"` - InternalAddress pulumi.StringPtrInput `pulumi:"internalAddress"` - // Labels for the cluster template revision (map) - Labels pulumi.MapInput `pulumi:"labels"` - NodeId pulumi.StringPtrInput `pulumi:"nodeId"` - Port pulumi.StringPtrInput `pulumi:"port"` - Roles pulumi.StringArrayInput `pulumi:"roles"` - SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` - SshKey pulumi.StringPtrInput `pulumi:"sshKey"` - SshKeyPath pulumi.StringPtrInput `pulumi:"sshKeyPath"` - User pulumi.StringInput `pulumi:"user"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicUserName() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ApicUserName + }).(pulumi.StringOutput) } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) Capic() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.Capic + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ControllerLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ControllerLogLevel + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) DisablePeriodicSnatGlobalInfoSync() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.DisablePeriodicSnatGlobalInfoSync + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs{...} } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) DisableWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.DisableWaitForNetwork + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) DropLogEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.DropLogEnable + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) DurationWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.DurationWaitForNetwork + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) EnableEndpointSlice() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.EnableEndpointSlice + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) EncapType() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.EncapType + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) EpRegistry() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.EpRegistry + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ExternDynamic() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ExternDynamic + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Address() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.Address }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ExternStatic() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ExternStatic + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) DockerSocket() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.DockerSocket }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) GbpPodSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.GbpPodSubnet + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) HostnameOverride() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.HostnameOverride }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) HostAgentLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.HostAgentLogLevel + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) InternalAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.InternalAddress }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ImagePullPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ImagePullPolicy + }).(pulumi.StringPtrOutput) } -// Labels for the cluster template revision (map) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) map[string]interface{} { - return v.Labels - }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ImagePullSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ImagePullSecret + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.NodeId }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) InfraVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.InfraVlan + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.Port }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) InstallIstio() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.InstallIstio + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Roles() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) []string { return v.Roles }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) IstioProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.IstioProfile + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) KafkaBrokers() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + return v.KafkaBrokers + }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.SshKey }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) KafkaClientCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.KafkaClientCrt + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshKeyPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.SshKeyPath }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) KafkaClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.KafkaClientKey + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.User }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) KubeApiVlan() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.KubeApiVlan + }).(pulumi.StringOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) L3out() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.L3out + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) L3outExternalNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + return v.L3outExternalNetworks + }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) MaxNodesSvcGraph() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.MaxNodesSvcGraph + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode { - return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)[vs[1].(int)] - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) McastRangeEnd() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.McastRangeEnd + }).(pulumi.StringOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry struct { - EcrCredentialPlugin *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin `pulumi:"ecrCredentialPlugin"` - IsDefault *bool `pulumi:"isDefault"` - Password *string `pulumi:"password"` - Url string `pulumi:"url"` - User *string `pulumi:"user"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) McastRangeStart() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.McastRangeStart + }).(pulumi.StringOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) MtuHeadRoom() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.MtuHeadRoom + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs struct { - EcrCredentialPlugin ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput `pulumi:"ecrCredentialPlugin"` - IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` - Password pulumi.StringPtrInput `pulumi:"password"` - Url pulumi.StringInput `pulumi:"url"` - User pulumi.StringPtrInput `pulumi:"user"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) MultusDisable() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.MultusDisable + }).(pulumi.StringPtrOutput) } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) NoPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.NoPriorityClass + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) NodePodIfEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.NodePodIfEnable + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) NodeSubnet() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.NodeSubnet + }).(pulumi.StringOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs{...} } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) NodeSvcSubnet() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.NodeSvcSubnet + }).(pulumi.StringOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OpflexClientSsl() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OpflexClientSsl + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OpflexDeviceDeleteTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OpflexDeviceDeleteTimeout + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OpflexLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OpflexLogLevel + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OpflexMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OpflexMode + }).(pulumi.StringPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OpflexServerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OpflexServerPort + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OverlayVrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OverlayVrfName + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OvsMemoryLimit() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OvsMemoryLimit + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) EcrCredentialPlugin() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { - return v.EcrCredentialPlugin - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) PbrTrackingNonSnat() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.PbrTrackingNonSnat + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) IsDefault() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *bool { return v.IsDefault }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) PodSubnetChunkSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.PodSubnetChunkSize + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *string { - return v.Password +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) RunGbpContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.RunGbpContainer }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) string { return v.Url }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) RunOpflexServerContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.RunOpflexServerContainer + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *string { return v.User }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ServiceMonitorInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ServiceMonitorInterval + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ServiceVlan() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ServiceVlan + }).(pulumi.StringOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SnatContractScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SnatContractScope + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SnatNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SnatNamespace + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SnatPortRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SnatPortRangeEnd + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry { - return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)[vs[1].(int)] - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SnatPortRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SnatPortRangeStart + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin struct { - AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` - AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` - AwsSessionToken *string `pulumi:"awsSessionToken"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SnatPortsPerNode() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SnatPortsPerNode + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput interface { - pulumi.Input +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SriovEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SriovEnable + }).(pulumi.StringPtrOutput) +} - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SubnetDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SubnetDomainName + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs struct { - AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` - AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` - AwsSessionToken pulumi.StringPtrInput `pulumi:"awsSessionToken"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SystemId() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.SystemId + }).(pulumi.StringOutput) } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) Tenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.Tenant + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.Token + }).(pulumi.StringOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UseAciAnywhereCrd() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UseAciAnywhereCrd + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UseAciCniPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UseAciCniPriorityClass + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UseClusterRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UseClusterRole + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} -// -// or: -// -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput interface { - pulumi.Input +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UseHostNetnsVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UseHostNetnsVolume + }).(pulumi.StringPtrOutput) +} - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UseOpflexServerVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UseOpflexServerVolume + }).(pulumi.StringPtrOutput) } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UsePrivilegedContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UsePrivilegedContainer + }).(pulumi.StringPtrOutput) +} -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType)(v) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) VmmController() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.VmmController + }).(pulumi.StringPtrOutput) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) VmmDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.VmmDomain + }).(pulumi.StringPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) VrfName() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.VrfName + }).(pulumi.StringOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) VrfTenant() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.VrfTenant + }).(pulumi.StringOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) Aep() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.Aep + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsAccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { - return v.AwsAccessKeyId - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicHosts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.ApicHosts + }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { - return v.AwsSecretAccessKey +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicRefreshTickerAdjust() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicRefreshTickerAdjust }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { - return v.AwsSessionToken +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicRefreshTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicRefreshTime }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicSubscriptionDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicSubscriptionDelay + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserCrt + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserKey + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { - if v != nil { - return *v +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) + return &v.ApicUserName + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) Capic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.AwsAccessKeyId + return v.Capic }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ControllerLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.AwsSecretAccessKey + return v.ControllerLogLevel }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) DisablePeriodicSnatGlobalInfoSync() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.AwsSessionToken + return v.DisablePeriodicSnatGlobalInfoSync }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices struct { - Etcd *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd `pulumi:"etcd"` - KubeApi *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi `pulumi:"kubeApi"` - KubeController *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController `pulumi:"kubeController"` - Kubelet *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet `pulumi:"kubelet"` - Kubeproxy *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy `pulumi:"kubeproxy"` - Scheduler *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler `pulumi:"scheduler"` -} - -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs struct { - Etcd ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrInput `pulumi:"etcd"` - KubeApi ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrInput `pulumi:"kubeApi"` - KubeController ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrInput `pulumi:"kubeController"` - Kubelet ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrInput `pulumi:"kubelet"` - Kubeproxy ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrInput `pulumi:"kubeproxy"` - Scheduler ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrInput `pulumi:"scheduler"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(context.Background()) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(context.Background()) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(ctx) -} - -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{...} -// -// or: -// -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput -} - -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrType)(v) -} - -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() -} - -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(context.Background()) -} - -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { - return o -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { - return o -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(context.Background()) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Etcd() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd { - return v.Etcd - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) KubeApi() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi { - return v.KubeApi - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) KubeController() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController { - return v.KubeController - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Kubelet() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet { - return v.Kubelet - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Kubeproxy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy { - return v.Kubeproxy - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Scheduler() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler { - return v.Scheduler - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { - return o -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { - return o -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices { - if v != nil { - return *v +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) DisableWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) + return v.DisableWaitForNetwork + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) Etcd() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) DropLogEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Etcd - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) + return v.DropLogEnable + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) KubeApi() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) DurationWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.KubeApi - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) + return v.DurationWaitForNetwork + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) KubeController() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) EnableEndpointSlice() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.KubeController - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) + return v.EnableEndpointSlice + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) Kubelet() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) EncapType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Kubelet - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) + return &v.EncapType + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) Kubeproxy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) EpRegistry() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Kubeproxy - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) + return v.EpRegistry + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) Scheduler() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ExternDynamic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Scheduler - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd struct { - BackupConfig *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig `pulumi:"backupConfig"` - CaCert *string `pulumi:"caCert"` - Cert *string `pulumi:"cert"` - Creation *string `pulumi:"creation"` - ExternalUrls []string `pulumi:"externalUrls"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Gid *int `pulumi:"gid"` - Image *string `pulumi:"image"` - Key *string `pulumi:"key"` - Path *string `pulumi:"path"` - Retention *string `pulumi:"retention"` - Snapshot *bool `pulumi:"snapshot"` - Uid *int `pulumi:"uid"` -} - -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs struct { - BackupConfig ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrInput `pulumi:"backupConfig"` - CaCert pulumi.StringPtrInput `pulumi:"caCert"` - Cert pulumi.StringPtrInput `pulumi:"cert"` - Creation pulumi.StringPtrInput `pulumi:"creation"` - ExternalUrls pulumi.StringArrayInput `pulumi:"externalUrls"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Gid pulumi.IntPtrInput `pulumi:"gid"` - Image pulumi.StringPtrInput `pulumi:"image"` - Key pulumi.StringPtrInput `pulumi:"key"` - Path pulumi.StringPtrInput `pulumi:"path"` - Retention pulumi.StringPtrInput `pulumi:"retention"` - Snapshot pulumi.BoolPtrInput `pulumi:"snapshot"` - Uid pulumi.IntPtrInput `pulumi:"uid"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(context.Background()) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(ctx) -} - -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{...} -// -// or: -// -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput + return &v.ExternDynamic + }).(pulumi.StringPtrOutput) } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrType)(v) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ExternStatic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ExternStatic + }).(pulumi.StringPtrOutput) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) GbpPodSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.GbpPodSubnet + }).(pulumi.StringPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) HostAgentLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.HostAgentLogLevel + }).(pulumi.StringPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ImagePullPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ImagePullPolicy + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ImagePullSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ImagePullSecret + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) InfraVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.InfraVlan + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) InstallIstio() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.InstallIstio + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) IstioProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.IstioProfile + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaBrokers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.KafkaBrokers + }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) BackupConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig { - return v.BackupConfig - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaClientCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.KafkaClientCrt + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) CaCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.CaCert }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.KafkaClientKey + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Cert }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) KubeApiVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.KubeApiVlan + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Creation() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Creation }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) L3out() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.L3out + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExternalUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { - return v.ExternalUrls +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) L3outExternalNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.L3outExternalNetworks }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) MaxNodesSvcGraph() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MaxNodesSvcGraph + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) McastRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.McastRangeEnd + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Gid() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { return v.Gid }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) McastRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.McastRangeStart + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Image }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) MtuHeadRoom() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MtuHeadRoom + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) MultusDisable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MultusDisable + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Path }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) NoPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.NoPriorityClass + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Retention() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Retention }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) NodePodIfEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.NodePodIfEnable + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Snapshot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *bool { return v.Snapshot }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) NodeSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.NodeSubnet + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Uid() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { return v.Uid }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) NodeSvcSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.NodeSvcSubnet + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexClientSsl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexClientSsl + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexDeviceDeleteTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexDeviceDeleteTimeout + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexLogLevel + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd { - if v != nil { - return *v +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) + return v.OpflexMode + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) BackupConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexServerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.BackupConfig - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) + return v.OpflexServerPort + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) CaCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OverlayVrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.CaCert + return v.OverlayVrfName }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OvsMemoryLimit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Cert + return v.OvsMemoryLimit }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Creation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) PbrTrackingNonSnat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Creation + return v.PbrTrackingNonSnat }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ExternalUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) PodSubnetChunkSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.ExternalUrls - }).(pulumi.StringArrayOutput) + return v.PodSubnetChunkSize + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) RunGbpContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.ExtraArgs - }).(pulumi.MapOutput) + return v.RunGbpContainer + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) RunOpflexServerContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.ExtraBinds - }).(pulumi.StringArrayOutput) + return v.RunOpflexServerContainer + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ServiceMonitorInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) + return v.ServiceMonitorInterval + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Gid() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ServiceVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Gid - }).(pulumi.IntPtrOutput) + return &v.ServiceVlan + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SnatContractScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Image + return v.SnatContractScope }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SnatNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Key + return v.SnatNamespace }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Path + return v.SnatPortRangeEnd }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Retention() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Retention + return v.SnatPortRangeStart }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Snapshot() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortsPerNode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Snapshot - }).(pulumi.BoolPtrOutput) + return v.SnatPortsPerNode + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Uid() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SriovEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return v.Uid - }).(pulumi.IntPtrOutput) + return v.SriovEnable + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig struct { - // Enable cluster template revision. Default `true` (bool) - Enabled *bool `pulumi:"enabled"` - IntervalHours *int `pulumi:"intervalHours"` - Retention *int `pulumi:"retention"` - S3BackupConfig *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` - SafeTimestamp *bool `pulumi:"safeTimestamp"` - Timeout *int `pulumi:"timeout"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SubnetDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SubnetDomainName + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SystemId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.SystemId + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs struct { - // Enable cluster template revision. Default `true` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` - Retention pulumi.IntPtrInput `pulumi:"retention"` - S3BackupConfig ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` - SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` - Timeout pulumi.IntPtrInput `pulumi:"timeout"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) Tenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.Tenant + }).(pulumi.StringPtrOutput) } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.Token + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UseAciAnywhereCrd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseAciAnywhereCrd + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UseAciCniPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseAciCniPriorityClass + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UseClusterRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseClusterRole + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UseHostNetnsVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseHostNetnsVolume + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs{...} -// -// or: -// -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrInput interface { - pulumi.Input +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UseOpflexServerVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseOpflexServerVolume + }).(pulumi.StringPtrOutput) +} - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UsePrivilegedContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UsePrivilegedContainer + }).(pulumi.StringPtrOutput) } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) VmmController() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.VmmController + }).(pulumi.StringPtrOutput) +} -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrType)(v) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) VmmDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.VmmDomain + }).(pulumi.StringPtrOutput) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) VrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.VrfName + }).(pulumi.StringPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) VrfTenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.VrfTenant + }).(pulumi.StringPtrOutput) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider struct { + CloudProvider *string `pulumi:"cloudProvider"` } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput struct{ *pulumi.OutputState } +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput interface { + pulumi.Input -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { - return o +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs struct { + CloudProvider pulumi.StringPtrInput `pulumi:"cloudProvider"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { - return o +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { - return v.IntervalHours - }).(pulumi.IntPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { - return v.Retention - }).(pulumi.IntPtrOutput) +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) S3BackupConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { - return v.S3BackupConfig - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs + +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType)(v) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { - return v.SafeTimestamp - }).(pulumi.BoolPtrOutput) +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { - return v.Timeout - }).(pulumi.IntPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput struct{ *pulumi.OutputState } +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) IntervalHours() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { - if v == nil { - return nil - } - return v.IntervalHours - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) CloudProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) *string { + return v.CloudProvider + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { - if v == nil { - return nil - } - return v.Retention - }).(pulumi.IntPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) S3BackupConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { - if v == nil { - return nil - } - return v.S3BackupConfig - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) SafeTimestamp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { - if v == nil { - return nil +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { + if v != nil { + return *v } - return v.SafeTimestamp - }).(pulumi.BoolPtrOutput) + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) CloudProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) *string { if v == nil { return nil } - return v.Timeout - }).(pulumi.IntPtrOutput) + return v.CloudProvider + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig struct { - AccessKey *string `pulumi:"accessKey"` - BucketName string `pulumi:"bucketName"` - CustomCa *string `pulumi:"customCa"` - Endpoint string `pulumi:"endpoint"` - Folder *string `pulumi:"folder"` - Region *string `pulumi:"region"` - SecretKey *string `pulumi:"secretKey"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider struct { + Iface *string `pulumi:"iface"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs struct { - AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` - BucketName pulumi.StringInput `pulumi:"bucketName"` - CustomCa pulumi.StringPtrInput `pulumi:"customCa"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - Folder pulumi.StringPtrInput `pulumi:"folder"` - Region pulumi.StringPtrInput `pulumi:"region"` - SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs struct { + Iface pulumi.StringPtrInput `pulumi:"iface"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - return v.AccessKey - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { - return v.BucketName - }).(pulumi.StringOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - return v.CustomCa - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { - return v.Endpoint - }).(pulumi.StringOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - return v.Folder - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - return v.Region - }).(pulumi.StringPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - return v.SecretKey +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) *string { + return v.Iface }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) *string { if v == nil { return nil } - return v.AccessKey + return v.Iface }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.BucketName - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider struct { + Iface *string `pulumi:"iface"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.CustomCa - }).(pulumi.StringPtrOutput) +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs struct { + Iface pulumi.StringPtrInput `pulumi:"iface"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.Folder - }).(pulumi.StringPtrOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.SecretKey - }).(pulumi.StringPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi struct { - AdmissionConfiguration map[string]interface{} `pulumi:"admissionConfiguration"` - AlwaysPullImages *bool `pulumi:"alwaysPullImages"` - AuditLog *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog `pulumi:"auditLog"` - EventRateLimit *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit `pulumi:"eventRateLimit"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image *string `pulumi:"image"` - PodSecurityPolicy *bool `pulumi:"podSecurityPolicy"` - SecretsEncryptionConfig *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig `pulumi:"secretsEncryptionConfig"` - ServiceClusterIpRange *string `pulumi:"serviceClusterIpRange"` - ServiceNodePortRange *string `pulumi:"serviceNodePortRange"` -} - -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs struct { - AdmissionConfiguration pulumi.MapInput `pulumi:"admissionConfiguration"` - AlwaysPullImages pulumi.BoolPtrInput `pulumi:"alwaysPullImages"` - AuditLog ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput `pulumi:"auditLog"` - EventRateLimit ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput `pulumi:"eventRateLimit"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringPtrInput `pulumi:"image"` - PodSecurityPolicy pulumi.BoolPtrInput `pulumi:"podSecurityPolicy"` - SecretsEncryptionConfig ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput `pulumi:"secretsEncryptionConfig"` - ServiceClusterIpRange pulumi.StringPtrInput `pulumi:"serviceClusterIpRange"` - ServiceNodePortRange pulumi.StringPtrInput `pulumi:"serviceNodePortRange"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() -} - -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AdmissionConfiguration() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { - return v.AdmissionConfiguration - }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) *string { + return v.Iface + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AlwaysPullImages() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { - return v.AlwaysPullImages - }).(pulumi.BoolPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AuditLog() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { - return v.AuditLog - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) EventRateLimit() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { - return v.EventRateLimit - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) *string { + if v == nil { + return nil + } + return v.Iface + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds *int `pulumi:"seconds"` + Value *string `pulumi:"value"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { return v.Image }).(pulumi.StringPtrOutput) +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { - return v.PodSecurityPolicy - }).(pulumi.BoolPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntPtrInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) SecretsEncryptionConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { - return v.SecretsEncryptionConfig - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { - return v.ServiceClusterIpRange - }).(pulumi.StringPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ServiceNodePortRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { - return v.ServiceNodePortRange - }).(pulumi.StringPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput struct{ *pulumi.OutputState } +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs{...} } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput interface { + pulumi.Input -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { - return o +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { - return o +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) AdmissionConfiguration() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { - if v == nil { - return nil - } - return v.AdmissionConfiguration - }).(pulumi.MapOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) AlwaysPullImages() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { - if v == nil { - return nil - } - return v.AlwaysPullImages - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) AuditLog() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { - if v == nil { - return nil - } - return v.AuditLog - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) EventRateLimit() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { - if v == nil { - return nil - } - return v.EventRateLimit - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { + return v.Effect + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { - if v == nil { - return nil - } - return v.ExtraArgs - }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) string { return v.Key }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { - if v == nil { - return nil - } - return v.ExtraBinds - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { + return v.Operator + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { - if v == nil { - return nil - } - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Seconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *int { return v.Seconds }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { - if v == nil { - return nil - } - return v.Image - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { - if v == nil { - return nil - } - return v.PodSecurityPolicy - }).(pulumi.BoolPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) SecretsEncryptionConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { - if v == nil { - return nil - } - return v.SecretsEncryptionConfig - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { - if v == nil { - return nil - } - return v.ServiceClusterIpRange - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ServiceNodePortRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { - if v == nil { - return nil - } - return v.ServiceNodePortRange - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration { + return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)[vs[1].(int)] + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog struct { - Configuration *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration `pulumi:"configuration"` - // Enable cluster template revision. Default `true` (bool) - Enabled *bool `pulumi:"enabled"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider struct { + Password string `pulumi:"password"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs struct { - Configuration ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput `pulumi:"configuration"` - // Enable cluster template revision. Default `true` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs struct { + Password pulumi.StringInput `pulumi:"password"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) Configuration() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { - return v.Configuration - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *bool { - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) string { + return v.Password + }).(pulumi.StringOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Configuration() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) *string { if v == nil { return nil } - return v.Configuration - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) + return &v.Password + }).(pulumi.StringPtrOutput) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration struct { - Format *string `pulumi:"format"` - MaxAge *int `pulumi:"maxAge"` - MaxBackup *int `pulumi:"maxBackup"` - MaxSize *int `pulumi:"maxSize"` - Path *string `pulumi:"path"` - Policy *string `pulumi:"policy"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode struct { + Address string `pulumi:"address"` + DockerSocket *string `pulumi:"dockerSocket"` + HostnameOverride *string `pulumi:"hostnameOverride"` + InternalAddress *string `pulumi:"internalAddress"` + // Labels for the cluster template revision (map) + Labels map[string]interface{} `pulumi:"labels"` + NodeId *string `pulumi:"nodeId"` + Port *string `pulumi:"port"` + Roles []string `pulumi:"roles"` + SshAgentAuth *bool `pulumi:"sshAgentAuth"` + SshKey *string `pulumi:"sshKey"` + SshKeyPath *string `pulumi:"sshKeyPath"` + User string `pulumi:"user"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs struct { - Format pulumi.StringPtrInput `pulumi:"format"` - MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` - MaxBackup pulumi.IntPtrInput `pulumi:"maxBackup"` - MaxSize pulumi.IntPtrInput `pulumi:"maxSize"` - Path pulumi.StringPtrInput `pulumi:"path"` - Policy pulumi.StringPtrInput `pulumi:"policy"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Background()) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs struct { + Address pulumi.StringInput `pulumi:"address"` + DockerSocket pulumi.StringPtrInput `pulumi:"dockerSocket"` + HostnameOverride pulumi.StringPtrInput `pulumi:"hostnameOverride"` + InternalAddress pulumi.StringPtrInput `pulumi:"internalAddress"` + // Labels for the cluster template revision (map) + Labels pulumi.MapInput `pulumi:"labels"` + NodeId pulumi.StringPtrInput `pulumi:"nodeId"` + Port pulumi.StringPtrInput `pulumi:"port"` + Roles pulumi.StringArrayInput `pulumi:"roles"` + SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` + SshKey pulumi.StringPtrInput `pulumi:"sshKey"` + SshKeyPath pulumi.StringPtrInput `pulumi:"sshKeyPath"` + User pulumi.StringInput `pulumi:"user"` } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} -// -// or: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput` via: // -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs{...} } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType)(v) -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.Address }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - return v.Format - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) DockerSocket() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.DockerSocket }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxAge() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - return v.MaxAge - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) HostnameOverride() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.HostnameOverride }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxBackup() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - return v.MaxBackup - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) InternalAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.InternalAddress }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - return v.MaxSize - }).(pulumi.IntPtrOutput) +// Labels for the cluster template revision (map) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) map[string]interface{} { + return v.Labels + }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - return v.Path - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.NodeId }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Policy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - return v.Policy - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.Port }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) []string { return v.Roles }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.SshKey }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshKeyPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.SshKeyPath }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - if v == nil { - return nil - } - return v.Format - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.User }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxAge() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - if v == nil { - return nil - } - return v.MaxAge - }).(pulumi.IntPtrOutput) -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput struct{ *pulumi.OutputState } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxBackup() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - if v == nil { - return nil - } - return v.MaxBackup - }).(pulumi.IntPtrOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - if v == nil { - return nil - } - return v.MaxSize - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - if v == nil { - return nil - } - return v.Path - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Policy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - if v == nil { - return nil - } - return v.Policy - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode { + return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)[vs[1].(int)] + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit struct { - Configuration *string `pulumi:"configuration"` - // Enable cluster template revision. Default `true` (bool) - Enabled *bool `pulumi:"enabled"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry struct { + EcrCredentialPlugin *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin `pulumi:"ecrCredentialPlugin"` + IsDefault *bool `pulumi:"isDefault"` + Password *string `pulumi:"password"` + Url string `pulumi:"url"` + User *string `pulumi:"user"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs struct { - Configuration pulumi.StringPtrInput `pulumi:"configuration"` - // Enable cluster template revision. Default `true` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` -} - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Background()) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs struct { + EcrCredentialPlugin ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput `pulumi:"ecrCredentialPlugin"` + IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` + Password pulumi.StringPtrInput `pulumi:"password"` + Url pulumi.StringInput `pulumi:"url"` + User pulumi.StringPtrInput `pulumi:"user"` } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput` via: -// -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs{...} -// -// or: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray and ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput` via: // -// nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray{ ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs{...} } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs - -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType)(v) -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray []ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) EcrCredentialPlugin() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { + return v.EcrCredentialPlugin + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { - return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) IsDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *bool { return v.IsDefault }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) Configuration() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *string { - return v.Configuration +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *string { + return v.Password }).(pulumi.StringPtrOutput) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *bool { - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) string { return v.Url }).(pulumi.StringOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput struct{ *pulumi.OutputState } - -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *string { return v.User }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o -} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput struct{ *pulumi.OutputState } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { - if v != nil { - return *v - } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit - return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { + return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Configuration() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *string { - if v == nil { - return nil - } - return v.Configuration - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { + return o } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry { + return vs[0].([]ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)[vs[1].(int)] + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig struct { - CustomConfig *string `pulumi:"customConfig"` - // Enable cluster template revision. Default `true` (bool) - Enabled *bool `pulumi:"enabled"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin struct { + AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` + AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` + AwsSessionToken *string `pulumi:"awsSessionToken"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs struct { - CustomConfig pulumi.StringPtrInput `pulumi:"customConfig"` - // Enable cluster template revision. Default `true` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs struct { + AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` + AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` + AwsSessionToken pulumi.StringPtrInput `pulumi:"awsSessionToken"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) CustomConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { - return v.CustomConfig +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { + return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { + return v.AwsSecretAccessKey + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { + return v.AwsSessionToken + }).(pulumi.StringPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) CustomConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { if v == nil { return nil } - return v.CustomConfig + return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.AwsSecretAccessKey + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController struct { - ClusterCidr *string `pulumi:"clusterCidr"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image *string `pulumi:"image"` - ServiceClusterIpRange *string `pulumi:"serviceClusterIpRange"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { + if v == nil { + return nil + } + return v.AwsSessionToken + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput` via: +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices struct { + Etcd *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd `pulumi:"etcd"` + KubeApi *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi `pulumi:"kubeApi"` + KubeController *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController `pulumi:"kubeController"` + Kubelet *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet `pulumi:"kubelet"` + Kubeproxy *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy `pulumi:"kubeproxy"` + Scheduler *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler `pulumi:"scheduler"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs struct { - ClusterCidr pulumi.StringPtrInput `pulumi:"clusterCidr"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringPtrInput `pulumi:"image"` - ServiceClusterIpRange pulumi.StringPtrInput `pulumi:"serviceClusterIpRange"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs struct { + Etcd ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrInput `pulumi:"etcd"` + KubeApi ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrInput `pulumi:"kubeApi"` + KubeController ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrInput `pulumi:"kubeController"` + Kubelet ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrInput `pulumi:"kubelet"` + Kubeproxy ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrInput `pulumi:"kubeproxy"` + Scheduler ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrInput `pulumi:"scheduler"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ClusterCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { - return v.ClusterCidr - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Etcd() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd { + return v.Etcd + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) KubeApi() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi { + return v.KubeApi + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) KubeController() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController { + return v.KubeController + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Kubelet() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet { + return v.Kubelet + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { - return v.Image - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Kubeproxy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy { + return v.Kubeproxy + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { - return v.ServiceClusterIpRange - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Scheduler() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler { + return v.Scheduler + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ClusterCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) Etcd() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd { if v == nil { return nil } - return v.ClusterCidr - }).(pulumi.StringPtrOutput) + return v.Etcd + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) KubeApi() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi { if v == nil { return nil } - return v.ExtraArgs - }).(pulumi.MapOutput) + return v.KubeApi + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) KubeController() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController { if v == nil { return nil } - return v.ExtraBinds - }).(pulumi.StringArrayOutput) + return v.KubeController + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) Kubelet() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet { if v == nil { return nil } - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) + return v.Kubelet + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) Kubeproxy() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy { if v == nil { return nil } - return v.Image - }).(pulumi.StringPtrOutput) + return v.Kubeproxy + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesPtrOutput) Scheduler() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler { if v == nil { return nil } - return v.ServiceClusterIpRange - }).(pulumi.StringPtrOutput) + return v.Scheduler + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet struct { - ClusterDnsServer *string `pulumi:"clusterDnsServer"` - ClusterDomain *string `pulumi:"clusterDomain"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - FailSwapOn *bool `pulumi:"failSwapOn"` - GenerateServingCertificate *bool `pulumi:"generateServingCertificate"` - Image *string `pulumi:"image"` - InfraContainerImage *string `pulumi:"infraContainerImage"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd struct { + BackupConfig *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig `pulumi:"backupConfig"` + CaCert *string `pulumi:"caCert"` + Cert *string `pulumi:"cert"` + Creation *string `pulumi:"creation"` + ExternalUrls []string `pulumi:"externalUrls"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Gid *int `pulumi:"gid"` + Image *string `pulumi:"image"` + Key *string `pulumi:"key"` + Path *string `pulumi:"path"` + Retention *string `pulumi:"retention"` + Snapshot *bool `pulumi:"snapshot"` + Uid *int `pulumi:"uid"` } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs struct { - ClusterDnsServer pulumi.StringPtrInput `pulumi:"clusterDnsServer"` - ClusterDomain pulumi.StringPtrInput `pulumi:"clusterDomain"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - FailSwapOn pulumi.BoolPtrInput `pulumi:"failSwapOn"` - GenerateServingCertificate pulumi.BoolPtrInput `pulumi:"generateServingCertificate"` - Image pulumi.StringPtrInput `pulumi:"image"` - InfraContainerImage pulumi.StringPtrInput `pulumi:"infraContainerImage"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs struct { + BackupConfig ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrInput `pulumi:"backupConfig"` + CaCert pulumi.StringPtrInput `pulumi:"caCert"` + Cert pulumi.StringPtrInput `pulumi:"cert"` + Creation pulumi.StringPtrInput `pulumi:"creation"` + ExternalUrls pulumi.StringArrayInput `pulumi:"externalUrls"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Gid pulumi.IntPtrInput `pulumi:"gid"` + Image pulumi.StringPtrInput `pulumi:"image"` + Key pulumi.StringPtrInput `pulumi:"key"` + Path pulumi.StringPtrInput `pulumi:"path"` + Retention pulumi.StringPtrInput `pulumi:"retention"` + Snapshot pulumi.BoolPtrInput `pulumi:"snapshot"` + Uid pulumi.IntPtrInput `pulumi:"uid"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ClusterDnsServer() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { - return v.ClusterDnsServer - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) BackupConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig { + return v.BackupConfig + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ClusterDomain() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { - return v.ClusterDomain - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) CaCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.CaCert }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Cert }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Creation() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Creation }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExternalUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { + return v.ExternalUrls + }).(pulumi.StringArrayOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) FailSwapOn() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *bool { - return v.FailSwapOn - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Gid() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { return v.Gid }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *bool { - return v.GenerateServingCertificate - }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Image }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { return v.Image }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Key }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) InfraContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { - return v.InfraContainerImage - }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Path }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Retention() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { return v.Retention }).(pulumi.StringPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Snapshot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *bool { return v.Snapshot }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Uid() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { return v.Uid }).(pulumi.IntPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ClusterDnsServer() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) BackupConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig { if v == nil { return nil } - return v.ClusterDnsServer + return v.BackupConfig + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) CaCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { + if v == nil { + return nil + } + return v.CaCert }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ClusterDomain() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { if v == nil { return nil } - return v.ClusterDomain + return v.Cert }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Creation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { + if v == nil { + return nil + } + return v.Creation + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ExternalUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { + if v == nil { + return nil + } + return v.ExternalUrls + }).(pulumi.StringArrayOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) map[string]interface{} { if v == nil { return nil } @@ -38628,8 +39581,8 @@ func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrO }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { if v == nil { return nil } @@ -38637,8 +39590,8 @@ func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrO }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { if v == nil { return nil } @@ -38646,5032 +39599,5142 @@ func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrO }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) FailSwapOn() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Gid() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { if v == nil { return nil } - return v.FailSwapOn - }).(pulumi.BoolPtrOutput) + return v.Gid + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { if v == nil { return nil } - return v.GenerateServingCertificate - }).(pulumi.BoolPtrOutput) + return v.Image + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { if v == nil { return nil } - return v.Image + return v.Key }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) InfraContainerImage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { if v == nil { return nil } - return v.InfraContainerImage + return v.Path }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy struct { - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image *string `pulumi:"image"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Retention() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *string { + if v == nil { + return nil + } + return v.Retention + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Snapshot() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *bool { + if v == nil { + return nil + } + return v.Snapshot + }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdPtrOutput) Uid() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { + if v == nil { + return nil + } + return v.Uid + }).(pulumi.IntPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig struct { + // Enable cluster template revision. Default `true` (bool) + Enabled *bool `pulumi:"enabled"` + IntervalHours *int `pulumi:"intervalHours"` + Retention *int `pulumi:"retention"` + S3BackupConfig *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` + SafeTimestamp *bool `pulumi:"safeTimestamp"` + Timeout *int `pulumi:"timeout"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs struct { - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringPtrInput `pulumi:"image"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs struct { + // Enable cluster template revision. Default `true` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` + Retention pulumi.IntPtrInput `pulumi:"retention"` + S3BackupConfig ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` + SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` + Timeout pulumi.IntPtrInput `pulumi:"timeout"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { + return v.IntervalHours + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { + return v.Retention + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) *string { return v.Image }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) S3BackupConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { + return v.S3BackupConfig + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { + return v.SafeTimestamp + }).(pulumi.BoolPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { + return v.Timeout + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) map[string]interface{} { +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { if v == nil { return nil } - return v.ExtraArgs - }).(pulumi.MapOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) IntervalHours() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { if v == nil { return nil } - return v.ExtraBinds - }).(pulumi.StringArrayOutput) + return v.IntervalHours + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { if v == nil { return nil } - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) + return v.Retention + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) S3BackupConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { if v == nil { return nil } - return v.Image - }).(pulumi.StringPtrOutput) + return v.S3BackupConfig + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler struct { - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image *string `pulumi:"image"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) SafeTimestamp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { + if v == nil { + return nil + } + return v.SafeTimestamp + }).(pulumi.BoolPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigPtrOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { + if v == nil { + return nil + } + return v.Timeout + }).(pulumi.IntPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig struct { + AccessKey *string `pulumi:"accessKey"` + BucketName string `pulumi:"bucketName"` + CustomCa *string `pulumi:"customCa"` + Endpoint string `pulumi:"endpoint"` + Folder *string `pulumi:"folder"` + Region *string `pulumi:"region"` + SecretKey *string `pulumi:"secretKey"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs struct { - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringPtrInput `pulumi:"image"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs struct { + AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` + BucketName pulumi.StringInput `pulumi:"bucketName"` + CustomCa pulumi.StringPtrInput `pulumi:"customCa"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + Folder pulumi.StringPtrInput `pulumi:"folder"` + Region pulumi.StringPtrInput `pulumi:"region"` + SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + return v.AccessKey + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { + return v.BucketName + }).(pulumi.StringOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + return v.CustomCa + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) *string { return v.Image }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { + return v.Endpoint + }).(pulumi.StringOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + return v.Folder + }).(pulumi.StringPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + return v.Region + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + return v.SecretKey + }).(pulumi.StringPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.ExtraArgs - }).(pulumi.MapOutput) + return v.AccessKey + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.ExtraBinds - }).(pulumi.StringArrayOutput) + return &v.BucketName + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) + return v.CustomCa + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.Image + return &v.Endpoint }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy struct { - Drain *bool `pulumi:"drain"` - DrainInput *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput `pulumi:"drainInput"` - MaxUnavailableControlplane *string `pulumi:"maxUnavailableControlplane"` - MaxUnavailableWorker *string `pulumi:"maxUnavailableWorker"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.Folder + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.SecretKey + }).(pulumi.StringPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi struct { + AdmissionConfiguration map[string]interface{} `pulumi:"admissionConfiguration"` + AlwaysPullImages *bool `pulumi:"alwaysPullImages"` + AuditLog *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog `pulumi:"auditLog"` + EventRateLimit *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit `pulumi:"eventRateLimit"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image *string `pulumi:"image"` + PodSecurityPolicy *bool `pulumi:"podSecurityPolicy"` + SecretsEncryptionConfig *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig `pulumi:"secretsEncryptionConfig"` + ServiceClusterIpRange *string `pulumi:"serviceClusterIpRange"` + ServiceNodePortRange *string `pulumi:"serviceNodePortRange"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs struct { - Drain pulumi.BoolPtrInput `pulumi:"drain"` - DrainInput ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrInput `pulumi:"drainInput"` - MaxUnavailableControlplane pulumi.StringPtrInput `pulumi:"maxUnavailableControlplane"` - MaxUnavailableWorker pulumi.StringPtrInput `pulumi:"maxUnavailableWorker"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs struct { + AdmissionConfiguration pulumi.MapInput `pulumi:"admissionConfiguration"` + AlwaysPullImages pulumi.BoolPtrInput `pulumi:"alwaysPullImages"` + AuditLog ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput `pulumi:"auditLog"` + EventRateLimit ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput `pulumi:"eventRateLimit"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringPtrInput `pulumi:"image"` + PodSecurityPolicy pulumi.BoolPtrInput `pulumi:"podSecurityPolicy"` + SecretsEncryptionConfig ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput `pulumi:"secretsEncryptionConfig"` + ServiceClusterIpRange pulumi.StringPtrInput `pulumi:"serviceClusterIpRange"` + ServiceNodePortRange pulumi.StringPtrInput `pulumi:"serviceNodePortRange"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) Drain() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *bool { return v.Drain }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AdmissionConfiguration() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { + return v.AdmissionConfiguration + }).(pulumi.MapOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) DrainInput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput { - return v.DrainInput - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AlwaysPullImages() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { + return v.AlwaysPullImages + }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { - return v.MaxUnavailableControlplane +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AuditLog() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { + return v.AuditLog + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) EventRateLimit() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { + return v.EventRateLimit + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { return v.Image }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { + return v.PodSecurityPolicy + }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) SecretsEncryptionConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { + return v.SecretsEncryptionConfig + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { + return v.ServiceClusterIpRange }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { - return v.MaxUnavailableWorker +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ServiceNodePortRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { + return v.ServiceNodePortRange }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) Drain() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) AdmissionConfiguration() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { if v == nil { return nil } - return v.Drain + return v.AdmissionConfiguration + }).(pulumi.MapOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) AlwaysPullImages() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { + if v == nil { + return nil + } + return v.AlwaysPullImages }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) DrainInput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) AuditLog() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { if v == nil { return nil } - return v.DrainInput - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) + return v.AuditLog + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) EventRateLimit() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { if v == nil { return nil } - return v.MaxUnavailableControlplane + return v.EventRateLimit + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { + if v == nil { + return nil + } + return v.ExtraArgs + }).(pulumi.MapOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { + if v == nil { + return nil + } + return v.ExtraBinds + }).(pulumi.StringArrayOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { + if v == nil { + return nil + } + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { + if v == nil { + return nil + } + return v.Image }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { if v == nil { return nil } - return v.MaxUnavailableWorker + return v.PodSecurityPolicy + }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) SecretsEncryptionConfig() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { + if v == nil { + return nil + } + return v.SecretsEncryptionConfig + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { + if v == nil { + return nil + } + return v.ServiceClusterIpRange }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput struct { - DeleteLocalData *bool `pulumi:"deleteLocalData"` - Force *bool `pulumi:"force"` - GracePeriod *int `pulumi:"gracePeriod"` - IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` - Timeout *int `pulumi:"timeout"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiPtrOutput) ServiceNodePortRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *string { + if v == nil { + return nil + } + return v.ServiceNodePortRange + }).(pulumi.StringPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput` via: +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog struct { + Configuration *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration `pulumi:"configuration"` + // Enable cluster template revision. Default `true` (bool) + Enabled *bool `pulumi:"enabled"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs struct { - DeleteLocalData pulumi.BoolPtrInput `pulumi:"deleteLocalData"` - Force pulumi.BoolPtrInput `pulumi:"force"` - GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` - IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` - Timeout pulumi.IntPtrInput `pulumi:"timeout"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs struct { + Configuration ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput `pulumi:"configuration"` + // Enable cluster template revision. Default `true` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs -func ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) DeleteLocalData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { - return v.DeleteLocalData - }).(pulumi.BoolPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { - return v.Force - }).(pulumi.BoolPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { - return v.GracePeriod - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) Configuration() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { + return v.Configuration + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { - return v.IgnoreDaemonSets +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *bool { + return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { - return v.Timeout - }).(pulumi.IntPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog return ret - }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) DeleteLocalData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { - if v == nil { - return nil - } - return v.DeleteLocalData - }).(pulumi.BoolPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { - if v == nil { - return nil - } - return v.Force - }).(pulumi.BoolPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Configuration() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { if v == nil { return nil } - return v.GracePeriod - }).(pulumi.IntPtrOutput) + return v.Configuration + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *bool { if v == nil { return nil } - return v.IgnoreDaemonSets + return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { - if v == nil { - return nil - } - return v.Timeout - }).(pulumi.IntPtrOutput) -} - -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan struct { - // Enable cluster template revision. Default `true` (bool) - Enabled *bool `pulumi:"enabled"` - ScanConfig ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig `pulumi:"scanConfig"` - ScheduleConfig ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig `pulumi:"scheduleConfig"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration struct { + Format *string `pulumi:"format"` + MaxAge *int `pulumi:"maxAge"` + MaxBackup *int `pulumi:"maxBackup"` + MaxSize *int `pulumi:"maxSize"` + Path *string `pulumi:"path"` + Policy *string `pulumi:"policy"` } -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs struct { - // Enable cluster template revision. Default `true` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - ScanConfig ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput `pulumi:"scanConfig"` - ScheduleConfig ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput `pulumi:"scheduleConfig"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs struct { + Format pulumi.StringPtrInput `pulumi:"format"` + MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` + MaxBackup pulumi.IntPtrInput `pulumi:"maxBackup"` + MaxSize pulumi.IntPtrInput `pulumi:"maxSize"` + Path pulumi.StringPtrInput `pulumi:"path"` + Policy pulumi.StringPtrInput `pulumi:"policy"` } -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput).ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs, ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtr and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs -func ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtr(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { + return v.Format + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ScanConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { - return v.ScanConfig - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { + return v.MaxAge + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ScheduleConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { - return v.ScheduleConfig - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxBackup() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { + return v.MaxBackup + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { + return v.MaxSize + }).(pulumi.IntPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { + return v.Path + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Policy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { + return v.Policy + }).(pulumi.StringPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration return ret - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) } -// Enable cluster template revision. Default `true` (bool) -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.Format + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ScanConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { if v == nil { return nil } - return &v.ScanConfig - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) + return v.MaxAge + }).(pulumi.IntPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ScheduleConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxBackup() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { if v == nil { return nil } - return &v.ScheduleConfig - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) + return v.MaxBackup + }).(pulumi.IntPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig struct { - CisScanConfig *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig `pulumi:"cisScanConfig"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { + if v == nil { + return nil + } + return v.MaxSize + }).(pulumi.IntPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { + if v == nil { + return nil + } + return v.Path + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Policy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { + if v == nil { + return nil + } + return v.Policy + }).(pulumi.StringPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit struct { + Configuration *string `pulumi:"configuration"` + // Enable cluster template revision. Default `true` (bool) + Enabled *bool `pulumi:"enabled"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs struct { - CisScanConfig ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput `pulumi:"cisScanConfig"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs struct { + Configuration pulumi.StringPtrInput `pulumi:"configuration"` + // Enable cluster template revision. Default `true` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs, ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtr and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs -func ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) CisScanConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { - return v.CisScanConfig - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) Configuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *string { + return v.Configuration + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput struct{ *pulumi.OutputState } +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *bool { + return v.Enabled + }).(pulumi.BoolPtrOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit return ret - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) CisScanConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Configuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *string { if v == nil { return nil } - return v.CisScanConfig - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) + return v.Configuration + }).(pulumi.StringPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig struct { - DebugMaster *bool `pulumi:"debugMaster"` - DebugWorker *bool `pulumi:"debugWorker"` - OverrideBenchmarkVersion *string `pulumi:"overrideBenchmarkVersion"` - OverrideSkips []string `pulumi:"overrideSkips"` - Profile *string `pulumi:"profile"` +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) } -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput` via: +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig struct { + CustomConfig *string `pulumi:"customConfig"` + // Enable cluster template revision. Default `true` (bool) + Enabled *bool `pulumi:"enabled"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs struct { - DebugMaster pulumi.BoolPtrInput `pulumi:"debugMaster"` - DebugWorker pulumi.BoolPtrInput `pulumi:"debugWorker"` - OverrideBenchmarkVersion pulumi.StringPtrInput `pulumi:"overrideBenchmarkVersion"` - OverrideSkips pulumi.StringArrayInput `pulumi:"overrideSkips"` - Profile pulumi.StringPtrInput `pulumi:"profile"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs struct { + CustomConfig pulumi.StringPtrInput `pulumi:"customConfig"` + // Enable cluster template revision. Default `true` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs, ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtr and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs -func ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) DebugMaster() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { - return v.DebugMaster - }).(pulumi.BoolPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) DebugWorker() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { - return v.DebugWorker - }).(pulumi.BoolPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { - return v.OverrideBenchmarkVersion +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) CustomConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { + return v.CustomConfig }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) OverrideSkips() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) []string { - return v.OverrideSkips - }).(pulumi.StringArrayOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) Profile() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { - return v.Profile - }).(pulumi.StringPtrOutput) +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig return ret - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugMaster() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { - if v == nil { - return nil - } - return v.DebugMaster - }).(pulumi.BoolPtrOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugWorker() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { - if v == nil { - return nil - } - return v.DebugWorker - }).(pulumi.BoolPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) CustomConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { if v == nil { return nil } - return v.OverrideBenchmarkVersion + return v.CustomConfig }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideSkips() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) []string { - if v == nil { - return nil - } - return v.OverrideSkips - }).(pulumi.StringArrayOutput) -} - -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) Profile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { if v == nil { return nil } - return v.Profile - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig struct { - CronSchedule string `pulumi:"cronSchedule"` - Retention *int `pulumi:"retention"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController struct { + ClusterCidr *string `pulumi:"clusterCidr"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image *string `pulumi:"image"` + ServiceClusterIpRange *string `pulumi:"serviceClusterIpRange"` } -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs{...} -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs struct { - CronSchedule pulumi.StringInput `pulumi:"cronSchedule"` - Retention pulumi.IntPtrInput `pulumi:"retention"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs struct { + ClusterCidr pulumi.StringPtrInput `pulumi:"clusterCidr"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringPtrInput `pulumi:"image"` + ServiceClusterIpRange pulumi.StringPtrInput `pulumi:"serviceClusterIpRange"` } -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) } -func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(ctx) } -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs, ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtr and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrInput` via: // -// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs{...} // // or: // // nil -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput - ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput } -type clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs -func ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput { - return (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrType)(v) } -func (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() } -func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) } -func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return o.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController { return &v - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) CronSchedule() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) string { - return v.CronSchedule - }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ClusterCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { + return v.ClusterCidr + }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *int { - return v.Retention - }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) } -type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) +} -func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { + return v.Image + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { + return v.ServiceClusterIpRange + }).(pulumi.StringPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput { return o } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController { if v != nil { return *v } - var ret ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController return ret - }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) CronSchedule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ClusterCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { if v == nil { return nil } - return &v.CronSchedule + return v.ClusterCidr }).(pulumi.StringPtrOutput) } -func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) map[string]interface{} { if v == nil { return nil } - return v.Retention - }).(pulumi.IntPtrOutput) -} - -type ClusterTemplateTemplateRevisionQuestion struct { - // Default variable value (string) - Default string `pulumi:"default"` - // Required variable. Default `false` (bool) - Required *bool `pulumi:"required"` - // Variable type. `boolean`, `int` and `string` are allowed. Default `string` (string) - Type *string `pulumi:"type"` - // Variable name (string) - Variable string `pulumi:"variable"` + return v.ExtraArgs + }).(pulumi.MapOutput) } -// ClusterTemplateTemplateRevisionQuestionInput is an input type that accepts ClusterTemplateTemplateRevisionQuestionArgs and ClusterTemplateTemplateRevisionQuestionOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionQuestionInput` via: -// -// ClusterTemplateTemplateRevisionQuestionArgs{...} -type ClusterTemplateTemplateRevisionQuestionInput interface { - pulumi.Input - - ToClusterTemplateTemplateRevisionQuestionOutput() ClusterTemplateTemplateRevisionQuestionOutput - ToClusterTemplateTemplateRevisionQuestionOutputWithContext(context.Context) ClusterTemplateTemplateRevisionQuestionOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { + if v == nil { + return nil + } + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -type ClusterTemplateTemplateRevisionQuestionArgs struct { - // Default variable value (string) - Default pulumi.StringInput `pulumi:"default"` - // Required variable. Default `false` (bool) - Required pulumi.BoolPtrInput `pulumi:"required"` - // Variable type. `boolean`, `int` and `string` are allowed. Default `string` (string) - Type pulumi.StringPtrInput `pulumi:"type"` - // Variable name (string) - Variable pulumi.StringInput `pulumi:"variable"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { + if v == nil { + return nil + } + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -func (ClusterTemplateTemplateRevisionQuestionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionQuestion)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { + if v == nil { + return nil + } + return v.Image + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionQuestionArgs) ToClusterTemplateTemplateRevisionQuestionOutput() ClusterTemplateTemplateRevisionQuestionOutput { - return i.ToClusterTemplateTemplateRevisionQuestionOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerPtrOutput) ServiceClusterIpRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) *string { + if v == nil { + return nil + } + return v.ServiceClusterIpRange + }).(pulumi.StringPtrOutput) } -func (i ClusterTemplateTemplateRevisionQuestionArgs) ToClusterTemplateTemplateRevisionQuestionOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionQuestionOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionQuestionOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet struct { + ClusterDnsServer *string `pulumi:"clusterDnsServer"` + ClusterDomain *string `pulumi:"clusterDomain"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + FailSwapOn *bool `pulumi:"failSwapOn"` + GenerateServingCertificate *bool `pulumi:"generateServingCertificate"` + Image *string `pulumi:"image"` + InfraContainerImage *string `pulumi:"infraContainerImage"` } -// ClusterTemplateTemplateRevisionQuestionArrayInput is an input type that accepts ClusterTemplateTemplateRevisionQuestionArray and ClusterTemplateTemplateRevisionQuestionArrayOutput values. -// You can construct a concrete instance of `ClusterTemplateTemplateRevisionQuestionArrayInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput` via: // -// ClusterTemplateTemplateRevisionQuestionArray{ ClusterTemplateTemplateRevisionQuestionArgs{...} } -type ClusterTemplateTemplateRevisionQuestionArrayInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput interface { pulumi.Input - ToClusterTemplateTemplateRevisionQuestionArrayOutput() ClusterTemplateTemplateRevisionQuestionArrayOutput - ToClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionQuestionArrayOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput } -type ClusterTemplateTemplateRevisionQuestionArray []ClusterTemplateTemplateRevisionQuestionInput - -func (ClusterTemplateTemplateRevisionQuestionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionQuestion)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs struct { + ClusterDnsServer pulumi.StringPtrInput `pulumi:"clusterDnsServer"` + ClusterDomain pulumi.StringPtrInput `pulumi:"clusterDomain"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + FailSwapOn pulumi.BoolPtrInput `pulumi:"failSwapOn"` + GenerateServingCertificate pulumi.BoolPtrInput `pulumi:"generateServingCertificate"` + Image pulumi.StringPtrInput `pulumi:"image"` + InfraContainerImage pulumi.StringPtrInput `pulumi:"infraContainerImage"` } -func (i ClusterTemplateTemplateRevisionQuestionArray) ToClusterTemplateTemplateRevisionQuestionArrayOutput() ClusterTemplateTemplateRevisionQuestionArrayOutput { - return i.ToClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(context.Background()) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() } -func (i ClusterTemplateTemplateRevisionQuestionArray) ToClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionQuestionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionQuestionArrayOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(context.Background()) } -type ClusterTemplateTemplateRevisionQuestionOutput struct{ *pulumi.OutputState } +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) +} -func (ClusterTemplateTemplateRevisionQuestionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterTemplateTemplateRevisionQuestion)(nil)).Elem() +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) } -func (o ClusterTemplateTemplateRevisionQuestionOutput) ToClusterTemplateTemplateRevisionQuestionOutput() ClusterTemplateTemplateRevisionQuestionOutput { - return o +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(ctx) } -func (o ClusterTemplateTemplateRevisionQuestionOutput) ToClusterTemplateTemplateRevisionQuestionOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionQuestionOutput { - return o +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput } -// Default variable value (string) -func (o ClusterTemplateTemplateRevisionQuestionOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionQuestion) string { return v.Default }).(pulumi.StringOutput) +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs + +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrType)(v) } -// Required variable. Default `false` (bool) -func (o ClusterTemplateTemplateRevisionQuestionOutput) Required() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionQuestion) *bool { return v.Required }).(pulumi.BoolPtrOutput) +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() } -// Variable type. `boolean`, `int` and `string` are allowed. Default `string` (string) -func (o ClusterTemplateTemplateRevisionQuestionOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionQuestion) *string { return v.Type }).(pulumi.StringPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) } -// Variable name (string) -func (o ClusterTemplateTemplateRevisionQuestionOutput) Variable() pulumi.StringOutput { - return o.ApplyT(func(v ClusterTemplateTemplateRevisionQuestion) string { return v.Variable }).(pulumi.StringOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) } -type ClusterTemplateTemplateRevisionQuestionArrayOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput struct{ *pulumi.OutputState } -func (ClusterTemplateTemplateRevisionQuestionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionQuestion)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() } -func (o ClusterTemplateTemplateRevisionQuestionArrayOutput) ToClusterTemplateTemplateRevisionQuestionArrayOutput() ClusterTemplateTemplateRevisionQuestionArrayOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { return o } -func (o ClusterTemplateTemplateRevisionQuestionArrayOutput) ToClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionQuestionArrayOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { return o } -func (o ClusterTemplateTemplateRevisionQuestionArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionQuestionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionQuestion { - return vs[0].([]ClusterTemplateTemplateRevisionQuestion)[vs[1].(int)] - }).(ClusterTemplateTemplateRevisionQuestionOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(context.Background()) } -type ClusterV2AgentEnvVar struct { - // Name of cluster registration token (string) - Name string `pulumi:"name"` - // The taint value (string) - Value string `pulumi:"value"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet { + return &v + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) } -// ClusterV2AgentEnvVarInput is an input type that accepts ClusterV2AgentEnvVarArgs and ClusterV2AgentEnvVarOutput values. -// You can construct a concrete instance of `ClusterV2AgentEnvVarInput` via: -// -// ClusterV2AgentEnvVarArgs{...} -type ClusterV2AgentEnvVarInput interface { - pulumi.Input - - ToClusterV2AgentEnvVarOutput() ClusterV2AgentEnvVarOutput - ToClusterV2AgentEnvVarOutputWithContext(context.Context) ClusterV2AgentEnvVarOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ClusterDnsServer() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { + return v.ClusterDnsServer + }).(pulumi.StringPtrOutput) } -type ClusterV2AgentEnvVarArgs struct { - // Name of cluster registration token (string) - Name pulumi.StringInput `pulumi:"name"` - // The taint value (string) - Value pulumi.StringInput `pulumi:"value"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ClusterDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { + return v.ClusterDomain + }).(pulumi.StringPtrOutput) } -func (ClusterV2AgentEnvVarArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2AgentEnvVar)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) } -func (i ClusterV2AgentEnvVarArgs) ToClusterV2AgentEnvVarOutput() ClusterV2AgentEnvVarOutput { - return i.ToClusterV2AgentEnvVarOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -func (i ClusterV2AgentEnvVarArgs) ToClusterV2AgentEnvVarOutputWithContext(ctx context.Context) ClusterV2AgentEnvVarOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2AgentEnvVarOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -// ClusterV2AgentEnvVarArrayInput is an input type that accepts ClusterV2AgentEnvVarArray and ClusterV2AgentEnvVarArrayOutput values. -// You can construct a concrete instance of `ClusterV2AgentEnvVarArrayInput` via: -// -// ClusterV2AgentEnvVarArray{ ClusterV2AgentEnvVarArgs{...} } -type ClusterV2AgentEnvVarArrayInput interface { - pulumi.Input - - ToClusterV2AgentEnvVarArrayOutput() ClusterV2AgentEnvVarArrayOutput - ToClusterV2AgentEnvVarArrayOutputWithContext(context.Context) ClusterV2AgentEnvVarArrayOutput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) FailSwapOn() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *bool { + return v.FailSwapOn + }).(pulumi.BoolPtrOutput) } -type ClusterV2AgentEnvVarArray []ClusterV2AgentEnvVarInput +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *bool { + return v.GenerateServingCertificate + }).(pulumi.BoolPtrOutput) +} -func (ClusterV2AgentEnvVarArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2AgentEnvVar)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { return v.Image }).(pulumi.StringPtrOutput) } -func (i ClusterV2AgentEnvVarArray) ToClusterV2AgentEnvVarArrayOutput() ClusterV2AgentEnvVarArrayOutput { - return i.ToClusterV2AgentEnvVarArrayOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) InfraContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { + return v.InfraContainerImage + }).(pulumi.StringPtrOutput) } -func (i ClusterV2AgentEnvVarArray) ToClusterV2AgentEnvVarArrayOutputWithContext(ctx context.Context) ClusterV2AgentEnvVarArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2AgentEnvVarArrayOutput) -} - -type ClusterV2AgentEnvVarOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput struct{ *pulumi.OutputState } -func (ClusterV2AgentEnvVarOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2AgentEnvVar)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() } -func (o ClusterV2AgentEnvVarOutput) ToClusterV2AgentEnvVarOutput() ClusterV2AgentEnvVarOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { return o } -func (o ClusterV2AgentEnvVarOutput) ToClusterV2AgentEnvVarOutputWithContext(ctx context.Context) ClusterV2AgentEnvVarOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput { return o } -// Name of cluster registration token (string) -func (o ClusterV2AgentEnvVarOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2AgentEnvVar) string { return v.Name }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet { + if v != nil { + return *v + } + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet + return ret + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) } -// The taint value (string) -func (o ClusterV2AgentEnvVarOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2AgentEnvVar) string { return v.Value }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ClusterDnsServer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { + if v == nil { + return nil + } + return v.ClusterDnsServer + }).(pulumi.StringPtrOutput) } -type ClusterV2AgentEnvVarArrayOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ClusterDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { + if v == nil { + return nil + } + return v.ClusterDomain + }).(pulumi.StringPtrOutput) +} -func (ClusterV2AgentEnvVarArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2AgentEnvVar)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) map[string]interface{} { + if v == nil { + return nil + } + return v.ExtraArgs + }).(pulumi.MapOutput) } -func (o ClusterV2AgentEnvVarArrayOutput) ToClusterV2AgentEnvVarArrayOutput() ClusterV2AgentEnvVarArrayOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { + if v == nil { + return nil + } + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -func (o ClusterV2AgentEnvVarArrayOutput) ToClusterV2AgentEnvVarArrayOutputWithContext(ctx context.Context) ClusterV2AgentEnvVarArrayOutput { - return o +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { + if v == nil { + return nil + } + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -func (o ClusterV2AgentEnvVarArrayOutput) Index(i pulumi.IntInput) ClusterV2AgentEnvVarOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2AgentEnvVar { - return vs[0].([]ClusterV2AgentEnvVar)[vs[1].(int)] - }).(ClusterV2AgentEnvVarOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) FailSwapOn() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *bool { + if v == nil { + return nil + } + return v.FailSwapOn + }).(pulumi.BoolPtrOutput) } -type ClusterV2ClusterRegistrationToken struct { - // Annotations for cluster registration token object (map) - Annotations map[string]interface{} `pulumi:"annotations"` - // Cluster ID (string) - ClusterId *string `pulumi:"clusterId"` - // Command to execute in a imported k8s cluster (string) - Command *string `pulumi:"command"` - // (Computed) The ID of the resource (string) - Id *string `pulumi:"id"` - // Insecure command to execute in a imported k8s cluster (string) - InsecureCommand *string `pulumi:"insecureCommand"` - // Insecure node command to execute in a imported k8s cluster (string) - InsecureNodeCommand *string `pulumi:"insecureNodeCommand"` - // Insecure windows command to execute in a imported k8s cluster (string) - InsecureWindowsNodeCommand *string `pulumi:"insecureWindowsNodeCommand"` - // Labels for cluster registration token object (map) - Labels map[string]interface{} `pulumi:"labels"` - // K8s manifest url to execute with `kubectl` to import an existing k8s cluster (string) - ManifestUrl *string `pulumi:"manifestUrl"` - // Name of cluster registration token (string) - Name *string `pulumi:"name"` - // Node command to execute in linux nodes for custom k8s cluster (string) - NodeCommand *string `pulumi:"nodeCommand"` - // Token for cluster registration token object (string) - Token *string `pulumi:"token"` - // Node command to execute in windows nodes for custom k8s cluster (string) - WindowsNodeCommand *string `pulumi:"windowsNodeCommand"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *bool { + if v == nil { + return nil + } + return v.GenerateServingCertificate + }).(pulumi.BoolPtrOutput) } -// ClusterV2ClusterRegistrationTokenInput is an input type that accepts ClusterV2ClusterRegistrationTokenArgs and ClusterV2ClusterRegistrationTokenOutput values. -// You can construct a concrete instance of `ClusterV2ClusterRegistrationTokenInput` via: +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { + if v == nil { + return nil + } + return v.Image + }).(pulumi.StringPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletPtrOutput) InfraContainerImage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *string { + if v == nil { + return nil + } + return v.InfraContainerImage + }).(pulumi.StringPtrOutput) +} + +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy struct { + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image *string `pulumi:"image"` +} + +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput` via: // -// ClusterV2ClusterRegistrationTokenArgs{...} -type ClusterV2ClusterRegistrationTokenInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput interface { pulumi.Input - ToClusterV2ClusterRegistrationTokenOutput() ClusterV2ClusterRegistrationTokenOutput - ToClusterV2ClusterRegistrationTokenOutputWithContext(context.Context) ClusterV2ClusterRegistrationTokenOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput } -type ClusterV2ClusterRegistrationTokenArgs struct { - // Annotations for cluster registration token object (map) - Annotations pulumi.MapInput `pulumi:"annotations"` - // Cluster ID (string) - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - // Command to execute in a imported k8s cluster (string) - Command pulumi.StringPtrInput `pulumi:"command"` - // (Computed) The ID of the resource (string) - Id pulumi.StringPtrInput `pulumi:"id"` - // Insecure command to execute in a imported k8s cluster (string) - InsecureCommand pulumi.StringPtrInput `pulumi:"insecureCommand"` - // Insecure node command to execute in a imported k8s cluster (string) - InsecureNodeCommand pulumi.StringPtrInput `pulumi:"insecureNodeCommand"` - // Insecure windows command to execute in a imported k8s cluster (string) - InsecureWindowsNodeCommand pulumi.StringPtrInput `pulumi:"insecureWindowsNodeCommand"` - // Labels for cluster registration token object (map) - Labels pulumi.MapInput `pulumi:"labels"` - // K8s manifest url to execute with `kubectl` to import an existing k8s cluster (string) - ManifestUrl pulumi.StringPtrInput `pulumi:"manifestUrl"` - // Name of cluster registration token (string) - Name pulumi.StringPtrInput `pulumi:"name"` - // Node command to execute in linux nodes for custom k8s cluster (string) - NodeCommand pulumi.StringPtrInput `pulumi:"nodeCommand"` - // Token for cluster registration token object (string) - Token pulumi.StringPtrInput `pulumi:"token"` - // Node command to execute in windows nodes for custom k8s cluster (string) - WindowsNodeCommand pulumi.StringPtrInput `pulumi:"windowsNodeCommand"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs struct { + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringPtrInput `pulumi:"image"` } -func (ClusterV2ClusterRegistrationTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2ClusterRegistrationToken)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() } -func (i ClusterV2ClusterRegistrationTokenArgs) ToClusterV2ClusterRegistrationTokenOutput() ClusterV2ClusterRegistrationTokenOutput { - return i.ToClusterV2ClusterRegistrationTokenOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(context.Background()) } -func (i ClusterV2ClusterRegistrationTokenArgs) ToClusterV2ClusterRegistrationTokenOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2ClusterRegistrationTokenOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) } -func (i ClusterV2ClusterRegistrationTokenArgs) ToClusterV2ClusterRegistrationTokenPtrOutput() ClusterV2ClusterRegistrationTokenPtrOutput { - return i.ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) } -func (i ClusterV2ClusterRegistrationTokenArgs) ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2ClusterRegistrationTokenOutput).ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(ctx) } -// ClusterV2ClusterRegistrationTokenPtrInput is an input type that accepts ClusterV2ClusterRegistrationTokenArgs, ClusterV2ClusterRegistrationTokenPtr and ClusterV2ClusterRegistrationTokenPtrOutput values. -// You can construct a concrete instance of `ClusterV2ClusterRegistrationTokenPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrInput` via: // -// ClusterV2ClusterRegistrationTokenArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs{...} // // or: // // nil -type ClusterV2ClusterRegistrationTokenPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrInput interface { pulumi.Input - ToClusterV2ClusterRegistrationTokenPtrOutput() ClusterV2ClusterRegistrationTokenPtrOutput - ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(context.Context) ClusterV2ClusterRegistrationTokenPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput } -type clusterV2ClusterRegistrationTokenPtrType ClusterV2ClusterRegistrationTokenArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs -func ClusterV2ClusterRegistrationTokenPtr(v *ClusterV2ClusterRegistrationTokenArgs) ClusterV2ClusterRegistrationTokenPtrInput { - return (*clusterV2ClusterRegistrationTokenPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrType)(v) } -func (*clusterV2ClusterRegistrationTokenPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2ClusterRegistrationToken)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() } -func (i *clusterV2ClusterRegistrationTokenPtrType) ToClusterV2ClusterRegistrationTokenPtrOutput() ClusterV2ClusterRegistrationTokenPtrOutput { - return i.ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) } -func (i *clusterV2ClusterRegistrationTokenPtrType) ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2ClusterRegistrationTokenPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) } -type ClusterV2ClusterRegistrationTokenOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput struct{ *pulumi.OutputState } -func (ClusterV2ClusterRegistrationTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2ClusterRegistrationToken)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() } -func (o ClusterV2ClusterRegistrationTokenOutput) ToClusterV2ClusterRegistrationTokenOutput() ClusterV2ClusterRegistrationTokenOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { return o } -func (o ClusterV2ClusterRegistrationTokenOutput) ToClusterV2ClusterRegistrationTokenOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { return o } -func (o ClusterV2ClusterRegistrationTokenOutput) ToClusterV2ClusterRegistrationTokenPtrOutput() ClusterV2ClusterRegistrationTokenPtrOutput { - return o.ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(context.Background()) } -func (o ClusterV2ClusterRegistrationTokenOutput) ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2ClusterRegistrationToken) *ClusterV2ClusterRegistrationToken { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy { return &v - }).(ClusterV2ClusterRegistrationTokenPtrOutput) -} - -// Annotations for cluster registration token object (map) -func (o ClusterV2ClusterRegistrationTokenOutput) Annotations() pulumi.MapOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) -} - -// Cluster ID (string) -func (o ClusterV2ClusterRegistrationTokenOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.ClusterId }).(pulumi.StringPtrOutput) -} - -// Command to execute in a imported k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenOutput) Command() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.Command }).(pulumi.StringPtrOutput) -} - -// (Computed) The ID of the resource (string) -func (o ClusterV2ClusterRegistrationTokenOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.Id }).(pulumi.StringPtrOutput) -} - -// Insecure command to execute in a imported k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenOutput) InsecureCommand() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.InsecureCommand }).(pulumi.StringPtrOutput) -} - -// Insecure node command to execute in a imported k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenOutput) InsecureNodeCommand() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.InsecureNodeCommand }).(pulumi.StringPtrOutput) -} - -// Insecure windows command to execute in a imported k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenOutput) InsecureWindowsNodeCommand() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.InsecureWindowsNodeCommand }).(pulumi.StringPtrOutput) -} - -// Labels for cluster registration token object (map) -func (o ClusterV2ClusterRegistrationTokenOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) -} - -// K8s manifest url to execute with `kubectl` to import an existing k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenOutput) ManifestUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.ManifestUrl }).(pulumi.StringPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) } -// Name of cluster registration token (string) -func (o ClusterV2ClusterRegistrationTokenOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) } -// Node command to execute in linux nodes for custom k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenOutput) NodeCommand() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.NodeCommand }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -// Token for cluster registration token object (string) -func (o ClusterV2ClusterRegistrationTokenOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.Token }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -// Node command to execute in windows nodes for custom k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenOutput) WindowsNodeCommand() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.WindowsNodeCommand }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) *string { return v.Image }).(pulumi.StringPtrOutput) } -type ClusterV2ClusterRegistrationTokenPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput struct{ *pulumi.OutputState } -func (ClusterV2ClusterRegistrationTokenPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2ClusterRegistrationToken)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() } -func (o ClusterV2ClusterRegistrationTokenPtrOutput) ToClusterV2ClusterRegistrationTokenPtrOutput() ClusterV2ClusterRegistrationTokenPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { return o } -func (o ClusterV2ClusterRegistrationTokenPtrOutput) ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput { return o } -func (o ClusterV2ClusterRegistrationTokenPtrOutput) Elem() ClusterV2ClusterRegistrationTokenOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) ClusterV2ClusterRegistrationToken { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy { if v != nil { return *v } - var ret ClusterV2ClusterRegistrationToken + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy return ret - }).(ClusterV2ClusterRegistrationTokenOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) } -// Annotations for cluster registration token object (map) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) Annotations() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) map[string]interface{} { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) map[string]interface{} { if v == nil { return nil } - return v.Annotations + return v.ExtraArgs }).(pulumi.MapOutput) } -// Cluster ID (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { - if v == nil { - return nil - } - return v.ClusterId - }).(pulumi.StringPtrOutput) -} - -// Command to execute in a imported k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) Command() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { if v == nil { return nil } - return v.Command - }).(pulumi.StringPtrOutput) + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -// (Computed) The ID of the resource (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { if v == nil { return nil } - return v.Id - }).(pulumi.StringPtrOutput) + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -// Insecure command to execute in a imported k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) InsecureCommand() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) *string { if v == nil { return nil } - return v.InsecureCommand + return v.Image }).(pulumi.StringPtrOutput) } -// Insecure node command to execute in a imported k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) InsecureNodeCommand() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { - if v == nil { - return nil - } - return v.InsecureNodeCommand - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler struct { + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image *string `pulumi:"image"` } -// Insecure windows command to execute in a imported k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) InsecureWindowsNodeCommand() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { - if v == nil { - return nil - } - return v.InsecureWindowsNodeCommand - }).(pulumi.StringPtrOutput) -} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput` via: +// +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput interface { + pulumi.Input -// Labels for cluster registration token object (map) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) map[string]interface{} { - if v == nil { - return nil - } - return v.Labels - }).(pulumi.MapOutput) + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput } -// K8s manifest url to execute with `kubectl` to import an existing k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) ManifestUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { - if v == nil { - return nil - } - return v.ManifestUrl - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs struct { + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringPtrInput `pulumi:"image"` } -// Name of cluster registration token (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() } -// Node command to execute in linux nodes for custom k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) NodeCommand() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { - if v == nil { - return nil - } - return v.NodeCommand - }).(pulumi.StringPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(context.Background()) } -// Token for cluster registration token object (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { - if v == nil { - return nil - } - return v.Token - }).(pulumi.StringPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) } -// Node command to execute in windows nodes for custom k8s cluster (string) -func (o ClusterV2ClusterRegistrationTokenPtrOutput) WindowsNodeCommand() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { - if v == nil { - return nil - } - return v.WindowsNodeCommand - }).(pulumi.StringPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) } -type ClusterV2LocalAuthEndpoint struct { - // CA certs for the authorized cluster endpoint (string) - CaCerts *string `pulumi:"caCerts"` - // Drain options enabled? Default `true` (bool) - Enabled *bool `pulumi:"enabled"` - // FQDN for the authorized cluster endpoint (string) - Fqdn *string `pulumi:"fqdn"` +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(ctx) } -// ClusterV2LocalAuthEndpointInput is an input type that accepts ClusterV2LocalAuthEndpointArgs and ClusterV2LocalAuthEndpointOutput values. -// You can construct a concrete instance of `ClusterV2LocalAuthEndpointInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrInput` via: // -// ClusterV2LocalAuthEndpointArgs{...} -type ClusterV2LocalAuthEndpointInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs{...} +// +// or: +// +// nil +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrInput interface { pulumi.Input - ToClusterV2LocalAuthEndpointOutput() ClusterV2LocalAuthEndpointOutput - ToClusterV2LocalAuthEndpointOutputWithContext(context.Context) ClusterV2LocalAuthEndpointOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput } -type ClusterV2LocalAuthEndpointArgs struct { - // CA certs for the authorized cluster endpoint (string) - CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` - // Drain options enabled? Default `true` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // FQDN for the authorized cluster endpoint (string) - Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` +type clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs + +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrType)(v) } -func (ClusterV2LocalAuthEndpointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2LocalAuthEndpoint)(nil)).Elem() -} - -func (i ClusterV2LocalAuthEndpointArgs) ToClusterV2LocalAuthEndpointOutput() ClusterV2LocalAuthEndpointOutput { - return i.ToClusterV2LocalAuthEndpointOutputWithContext(context.Background()) -} - -func (i ClusterV2LocalAuthEndpointArgs) ToClusterV2LocalAuthEndpointOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2LocalAuthEndpointOutput) -} - -func (i ClusterV2LocalAuthEndpointArgs) ToClusterV2LocalAuthEndpointPtrOutput() ClusterV2LocalAuthEndpointPtrOutput { - return i.ToClusterV2LocalAuthEndpointPtrOutputWithContext(context.Background()) -} - -func (i ClusterV2LocalAuthEndpointArgs) ToClusterV2LocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2LocalAuthEndpointOutput).ToClusterV2LocalAuthEndpointPtrOutputWithContext(ctx) -} - -// ClusterV2LocalAuthEndpointPtrInput is an input type that accepts ClusterV2LocalAuthEndpointArgs, ClusterV2LocalAuthEndpointPtr and ClusterV2LocalAuthEndpointPtrOutput values. -// You can construct a concrete instance of `ClusterV2LocalAuthEndpointPtrInput` via: -// -// ClusterV2LocalAuthEndpointArgs{...} -// -// or: -// -// nil -type ClusterV2LocalAuthEndpointPtrInput interface { - pulumi.Input - - ToClusterV2LocalAuthEndpointPtrOutput() ClusterV2LocalAuthEndpointPtrOutput - ToClusterV2LocalAuthEndpointPtrOutputWithContext(context.Context) ClusterV2LocalAuthEndpointPtrOutput -} - -type clusterV2LocalAuthEndpointPtrType ClusterV2LocalAuthEndpointArgs - -func ClusterV2LocalAuthEndpointPtr(v *ClusterV2LocalAuthEndpointArgs) ClusterV2LocalAuthEndpointPtrInput { - return (*clusterV2LocalAuthEndpointPtrType)(v) -} - -func (*clusterV2LocalAuthEndpointPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2LocalAuthEndpoint)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() } -func (i *clusterV2LocalAuthEndpointPtrType) ToClusterV2LocalAuthEndpointPtrOutput() ClusterV2LocalAuthEndpointPtrOutput { - return i.ToClusterV2LocalAuthEndpointPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) } -func (i *clusterV2LocalAuthEndpointPtrType) ToClusterV2LocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2LocalAuthEndpointPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) } -type ClusterV2LocalAuthEndpointOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput struct{ *pulumi.OutputState } -func (ClusterV2LocalAuthEndpointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2LocalAuthEndpoint)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() } -func (o ClusterV2LocalAuthEndpointOutput) ToClusterV2LocalAuthEndpointOutput() ClusterV2LocalAuthEndpointOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { return o } -func (o ClusterV2LocalAuthEndpointOutput) ToClusterV2LocalAuthEndpointOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { return o } -func (o ClusterV2LocalAuthEndpointOutput) ToClusterV2LocalAuthEndpointPtrOutput() ClusterV2LocalAuthEndpointPtrOutput { - return o.ToClusterV2LocalAuthEndpointPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(context.Background()) } -func (o ClusterV2LocalAuthEndpointOutput) ToClusterV2LocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2LocalAuthEndpoint) *ClusterV2LocalAuthEndpoint { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler { return &v - }).(ClusterV2LocalAuthEndpointPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) } -// CA certs for the authorized cluster endpoint (string) -func (o ClusterV2LocalAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2LocalAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) } -// Drain options enabled? Default `true` (bool) -func (o ClusterV2LocalAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2LocalAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -// FQDN for the authorized cluster endpoint (string) -func (o ClusterV2LocalAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2LocalAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -type ClusterV2LocalAuthEndpointPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) *string { return v.Image }).(pulumi.StringPtrOutput) +} -func (ClusterV2LocalAuthEndpointPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2LocalAuthEndpoint)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() } -func (o ClusterV2LocalAuthEndpointPtrOutput) ToClusterV2LocalAuthEndpointPtrOutput() ClusterV2LocalAuthEndpointPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { return o } -func (o ClusterV2LocalAuthEndpointPtrOutput) ToClusterV2LocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput { return o } -func (o ClusterV2LocalAuthEndpointPtrOutput) Elem() ClusterV2LocalAuthEndpointOutput { - return o.ApplyT(func(v *ClusterV2LocalAuthEndpoint) ClusterV2LocalAuthEndpoint { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler { if v != nil { return *v } - var ret ClusterV2LocalAuthEndpoint + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler return ret - }).(ClusterV2LocalAuthEndpointOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) } -// CA certs for the authorized cluster endpoint (string) -func (o ClusterV2LocalAuthEndpointPtrOutput) CaCerts() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2LocalAuthEndpoint) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) map[string]interface{} { if v == nil { return nil } - return v.CaCerts - }).(pulumi.StringPtrOutput) + return v.ExtraArgs + }).(pulumi.MapOutput) } -// Drain options enabled? Default `true` (bool) -func (o ClusterV2LocalAuthEndpointPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2LocalAuthEndpoint) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -// FQDN for the authorized cluster endpoint (string) -func (o ClusterV2LocalAuthEndpointPtrOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2LocalAuthEndpoint) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { if v == nil { return nil } - return v.Fqdn + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) *string { + if v == nil { + return nil + } + return v.Image }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfig struct { - // Cluster V2 additional manifest (string) - AdditionalManifest *string `pulumi:"additionalManifest"` - // Cluster V2 chart values. Must be in YAML format (string) - ChartValues *string `pulumi:"chartValues"` - // Cluster V2 etcd (list maxitems:1) - Etcd *ClusterV2RkeConfigEtcd `pulumi:"etcd"` - // Cluster V2 etcd snapshot create (list maxitems:1) - EtcdSnapshotCreate *ClusterV2RkeConfigEtcdSnapshotCreate `pulumi:"etcdSnapshotCreate"` - // Cluster V2 etcd snapshot restore (list maxitems:1) - EtcdSnapshotRestore *ClusterV2RkeConfigEtcdSnapshotRestore `pulumi:"etcdSnapshotRestore"` - // Use rancher2_cluster_v2.local_auth_endpoint instead - // - // Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead - LocalAuthEndpoint *ClusterV2RkeConfigLocalAuthEndpoint `pulumi:"localAuthEndpoint"` - // Cluster V2 machine global config. Must be in YAML format (string) - MachineGlobalConfig *string `pulumi:"machineGlobalConfig"` - // Cluster V2 machine pools (list) - MachinePools []ClusterV2RkeConfigMachinePool `pulumi:"machinePools"` - // Cluster V2 machine selector config (list) - MachineSelectorConfigs []ClusterV2RkeConfigMachineSelectorConfig `pulumi:"machineSelectorConfigs"` - // Cluster V2 docker registries (list maxitems:1) - Registries *ClusterV2RkeConfigRegistries `pulumi:"registries"` - // Cluster V2 certificate rotation (list maxitems:1) - RotateCertificates *ClusterV2RkeConfigRotateCertificates `pulumi:"rotateCertificates"` - // Cluster V2 upgrade strategy (list maxitems:1) - UpgradeStrategy *ClusterV2RkeConfigUpgradeStrategy `pulumi:"upgradeStrategy"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy struct { + Drain *bool `pulumi:"drain"` + DrainInput *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput `pulumi:"drainInput"` + MaxUnavailableControlplane *string `pulumi:"maxUnavailableControlplane"` + MaxUnavailableWorker *string `pulumi:"maxUnavailableWorker"` } -// ClusterV2RkeConfigInput is an input type that accepts ClusterV2RkeConfigArgs and ClusterV2RkeConfigOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput` via: // -// ClusterV2RkeConfigArgs{...} -type ClusterV2RkeConfigInput interface { +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput interface { pulumi.Input - ToClusterV2RkeConfigOutput() ClusterV2RkeConfigOutput - ToClusterV2RkeConfigOutputWithContext(context.Context) ClusterV2RkeConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput } -type ClusterV2RkeConfigArgs struct { - // Cluster V2 additional manifest (string) - AdditionalManifest pulumi.StringPtrInput `pulumi:"additionalManifest"` - // Cluster V2 chart values. Must be in YAML format (string) - ChartValues pulumi.StringPtrInput `pulumi:"chartValues"` - // Cluster V2 etcd (list maxitems:1) - Etcd ClusterV2RkeConfigEtcdPtrInput `pulumi:"etcd"` - // Cluster V2 etcd snapshot create (list maxitems:1) - EtcdSnapshotCreate ClusterV2RkeConfigEtcdSnapshotCreatePtrInput `pulumi:"etcdSnapshotCreate"` - // Cluster V2 etcd snapshot restore (list maxitems:1) - EtcdSnapshotRestore ClusterV2RkeConfigEtcdSnapshotRestorePtrInput `pulumi:"etcdSnapshotRestore"` - // Use rancher2_cluster_v2.local_auth_endpoint instead - // - // Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead - LocalAuthEndpoint ClusterV2RkeConfigLocalAuthEndpointPtrInput `pulumi:"localAuthEndpoint"` - // Cluster V2 machine global config. Must be in YAML format (string) - MachineGlobalConfig pulumi.StringPtrInput `pulumi:"machineGlobalConfig"` - // Cluster V2 machine pools (list) - MachinePools ClusterV2RkeConfigMachinePoolArrayInput `pulumi:"machinePools"` - // Cluster V2 machine selector config (list) - MachineSelectorConfigs ClusterV2RkeConfigMachineSelectorConfigArrayInput `pulumi:"machineSelectorConfigs"` - // Cluster V2 docker registries (list maxitems:1) - Registries ClusterV2RkeConfigRegistriesPtrInput `pulumi:"registries"` - // Cluster V2 certificate rotation (list maxitems:1) - RotateCertificates ClusterV2RkeConfigRotateCertificatesPtrInput `pulumi:"rotateCertificates"` - // Cluster V2 upgrade strategy (list maxitems:1) - UpgradeStrategy ClusterV2RkeConfigUpgradeStrategyPtrInput `pulumi:"upgradeStrategy"` +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs struct { + Drain pulumi.BoolPtrInput `pulumi:"drain"` + DrainInput ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrInput `pulumi:"drainInput"` + MaxUnavailableControlplane pulumi.StringPtrInput `pulumi:"maxUnavailableControlplane"` + MaxUnavailableWorker pulumi.StringPtrInput `pulumi:"maxUnavailableWorker"` } -func (ClusterV2RkeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() } -func (i ClusterV2RkeConfigArgs) ToClusterV2RkeConfigOutput() ClusterV2RkeConfigOutput { - return i.ToClusterV2RkeConfigOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigArgs) ToClusterV2RkeConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) } -func (i ClusterV2RkeConfigArgs) ToClusterV2RkeConfigPtrOutput() ClusterV2RkeConfigPtrOutput { - return i.ToClusterV2RkeConfigPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigArgs) ToClusterV2RkeConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigOutput).ToClusterV2RkeConfigPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(ctx) } -// ClusterV2RkeConfigPtrInput is an input type that accepts ClusterV2RkeConfigArgs, ClusterV2RkeConfigPtr and ClusterV2RkeConfigPtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrInput` via: // -// ClusterV2RkeConfigArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs{...} // // or: // // nil -type ClusterV2RkeConfigPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrInput interface { pulumi.Input - ToClusterV2RkeConfigPtrOutput() ClusterV2RkeConfigPtrOutput - ToClusterV2RkeConfigPtrOutputWithContext(context.Context) ClusterV2RkeConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput } -type clusterV2RkeConfigPtrType ClusterV2RkeConfigArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs -func ClusterV2RkeConfigPtr(v *ClusterV2RkeConfigArgs) ClusterV2RkeConfigPtrInput { - return (*clusterV2RkeConfigPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrType)(v) } -func (*clusterV2RkeConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfig)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() } -func (i *clusterV2RkeConfigPtrType) ToClusterV2RkeConfigPtrOutput() ClusterV2RkeConfigPtrOutput { - return i.ToClusterV2RkeConfigPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigPtrType) ToClusterV2RkeConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) } -type ClusterV2RkeConfigOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() } -func (o ClusterV2RkeConfigOutput) ToClusterV2RkeConfigOutput() ClusterV2RkeConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { return o } -func (o ClusterV2RkeConfigOutput) ToClusterV2RkeConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { return o } -func (o ClusterV2RkeConfigOutput) ToClusterV2RkeConfigPtrOutput() ClusterV2RkeConfigPtrOutput { - return o.ToClusterV2RkeConfigPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigOutput) ToClusterV2RkeConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfig) *ClusterV2RkeConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy { return &v - }).(ClusterV2RkeConfigPtrOutput) -} - -// Cluster V2 additional manifest (string) -func (o ClusterV2RkeConfigOutput) AdditionalManifest() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) *string { return v.AdditionalManifest }).(pulumi.StringPtrOutput) -} - -// Cluster V2 chart values. Must be in YAML format (string) -func (o ClusterV2RkeConfigOutput) ChartValues() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) *string { return v.ChartValues }).(pulumi.StringPtrOutput) -} - -// Cluster V2 etcd (list maxitems:1) -func (o ClusterV2RkeConfigOutput) Etcd() ClusterV2RkeConfigEtcdPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigEtcd { return v.Etcd }).(ClusterV2RkeConfigEtcdPtrOutput) -} - -// Cluster V2 etcd snapshot create (list maxitems:1) -func (o ClusterV2RkeConfigOutput) EtcdSnapshotCreate() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigEtcdSnapshotCreate { return v.EtcdSnapshotCreate }).(ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) -} - -// Cluster V2 etcd snapshot restore (list maxitems:1) -func (o ClusterV2RkeConfigOutput) EtcdSnapshotRestore() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigEtcdSnapshotRestore { return v.EtcdSnapshotRestore }).(ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) -} - -// Use rancher2_cluster_v2.local_auth_endpoint instead -// -// Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead -func (o ClusterV2RkeConfigOutput) LocalAuthEndpoint() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigLocalAuthEndpoint { return v.LocalAuthEndpoint }).(ClusterV2RkeConfigLocalAuthEndpointPtrOutput) -} - -// Cluster V2 machine global config. Must be in YAML format (string) -func (o ClusterV2RkeConfigOutput) MachineGlobalConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) *string { return v.MachineGlobalConfig }).(pulumi.StringPtrOutput) -} - -// Cluster V2 machine pools (list) -func (o ClusterV2RkeConfigOutput) MachinePools() ClusterV2RkeConfigMachinePoolArrayOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) []ClusterV2RkeConfigMachinePool { return v.MachinePools }).(ClusterV2RkeConfigMachinePoolArrayOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) } -// Cluster V2 machine selector config (list) -func (o ClusterV2RkeConfigOutput) MachineSelectorConfigs() ClusterV2RkeConfigMachineSelectorConfigArrayOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) []ClusterV2RkeConfigMachineSelectorConfig { return v.MachineSelectorConfigs }).(ClusterV2RkeConfigMachineSelectorConfigArrayOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) Drain() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *bool { return v.Drain }).(pulumi.BoolPtrOutput) } -// Cluster V2 docker registries (list maxitems:1) -func (o ClusterV2RkeConfigOutput) Registries() ClusterV2RkeConfigRegistriesPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigRegistries { return v.Registries }).(ClusterV2RkeConfigRegistriesPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) DrainInput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput { + return v.DrainInput + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) } -// Cluster V2 certificate rotation (list maxitems:1) -func (o ClusterV2RkeConfigOutput) RotateCertificates() ClusterV2RkeConfigRotateCertificatesPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigRotateCertificates { return v.RotateCertificates }).(ClusterV2RkeConfigRotateCertificatesPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { + return v.MaxUnavailableControlplane + }).(pulumi.StringPtrOutput) } -// Cluster V2 upgrade strategy (list maxitems:1) -func (o ClusterV2RkeConfigOutput) UpgradeStrategy() ClusterV2RkeConfigUpgradeStrategyPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigUpgradeStrategy { return v.UpgradeStrategy }).(ClusterV2RkeConfigUpgradeStrategyPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { + return v.MaxUnavailableWorker + }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfig)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() } -func (o ClusterV2RkeConfigPtrOutput) ToClusterV2RkeConfigPtrOutput() ClusterV2RkeConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { return o } -func (o ClusterV2RkeConfigPtrOutput) ToClusterV2RkeConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput { return o } -func (o ClusterV2RkeConfigPtrOutput) Elem() ClusterV2RkeConfigOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) ClusterV2RkeConfig { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy { if v != nil { return *v } - var ret ClusterV2RkeConfig + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy return ret - }).(ClusterV2RkeConfigOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) } -// Cluster V2 additional manifest (string) -func (o ClusterV2RkeConfigPtrOutput) AdditionalManifest() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) Drain() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *bool { if v == nil { return nil } - return v.AdditionalManifest - }).(pulumi.StringPtrOutput) + return v.Drain + }).(pulumi.BoolPtrOutput) } -// Cluster V2 chart values. Must be in YAML format (string) -func (o ClusterV2RkeConfigPtrOutput) ChartValues() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) DrainInput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput { if v == nil { return nil } - return v.ChartValues - }).(pulumi.StringPtrOutput) + return v.DrainInput + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) } -// Cluster V2 etcd (list maxitems:1) -func (o ClusterV2RkeConfigPtrOutput) Etcd() ClusterV2RkeConfigEtcdPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigEtcd { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { if v == nil { return nil } - return v.Etcd - }).(ClusterV2RkeConfigEtcdPtrOutput) + return v.MaxUnavailableControlplane + }).(pulumi.StringPtrOutput) } -// Cluster V2 etcd snapshot create (list maxitems:1) -func (o ClusterV2RkeConfigPtrOutput) EtcdSnapshotCreate() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigEtcdSnapshotCreate { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyPtrOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { if v == nil { return nil } - return v.EtcdSnapshotCreate - }).(ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) + return v.MaxUnavailableWorker + }).(pulumi.StringPtrOutput) } -// Cluster V2 etcd snapshot restore (list maxitems:1) -func (o ClusterV2RkeConfigPtrOutput) EtcdSnapshotRestore() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigEtcdSnapshotRestore { - if v == nil { - return nil - } - return v.EtcdSnapshotRestore - }).(ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput struct { + DeleteLocalData *bool `pulumi:"deleteLocalData"` + Force *bool `pulumi:"force"` + GracePeriod *int `pulumi:"gracePeriod"` + IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` + Timeout *int `pulumi:"timeout"` } -// Use rancher2_cluster_v2.local_auth_endpoint instead +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs and ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput` via: // -// Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead -func (o ClusterV2RkeConfigPtrOutput) LocalAuthEndpoint() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigLocalAuthEndpoint { - if v == nil { - return nil - } - return v.LocalAuthEndpoint - }).(ClusterV2RkeConfigLocalAuthEndpointPtrOutput) -} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput interface { + pulumi.Input -// Cluster V2 machine global config. Must be in YAML format (string) -func (o ClusterV2RkeConfigPtrOutput) MachineGlobalConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) *string { - if v == nil { - return nil - } - return v.MachineGlobalConfig - }).(pulumi.StringPtrOutput) + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput } -// Cluster V2 machine pools (list) -func (o ClusterV2RkeConfigPtrOutput) MachinePools() ClusterV2RkeConfigMachinePoolArrayOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) []ClusterV2RkeConfigMachinePool { - if v == nil { - return nil - } - return v.MachinePools - }).(ClusterV2RkeConfigMachinePoolArrayOutput) +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs struct { + DeleteLocalData pulumi.BoolPtrInput `pulumi:"deleteLocalData"` + Force pulumi.BoolPtrInput `pulumi:"force"` + GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` + IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` + Timeout pulumi.IntPtrInput `pulumi:"timeout"` } -// Cluster V2 machine selector config (list) -func (o ClusterV2RkeConfigPtrOutput) MachineSelectorConfigs() ClusterV2RkeConfigMachineSelectorConfigArrayOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) []ClusterV2RkeConfigMachineSelectorConfig { - if v == nil { - return nil - } - return v.MachineSelectorConfigs - }).(ClusterV2RkeConfigMachineSelectorConfigArrayOutput) +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -// Cluster V2 docker registries (list maxitems:1) -func (o ClusterV2RkeConfigPtrOutput) Registries() ClusterV2RkeConfigRegistriesPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigRegistries { - if v == nil { - return nil - } - return v.Registries - }).(ClusterV2RkeConfigRegistriesPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Background()) } -// Cluster V2 certificate rotation (list maxitems:1) -func (o ClusterV2RkeConfigPtrOutput) RotateCertificates() ClusterV2RkeConfigRotateCertificatesPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigRotateCertificates { - if v == nil { - return nil - } - return v.RotateCertificates - }).(ClusterV2RkeConfigRotateCertificatesPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) } -// Cluster V2 upgrade strategy (list maxitems:1) -func (o ClusterV2RkeConfigPtrOutput) UpgradeStrategy() ClusterV2RkeConfigUpgradeStrategyPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigUpgradeStrategy { - if v == nil { - return nil - } - return v.UpgradeStrategy - }).(ClusterV2RkeConfigUpgradeStrategyPtrOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) } -type ClusterV2RkeConfigEtcd struct { - // Disable ETCD snapshots. Default: `false` (bool) - DisableSnapshots *bool `pulumi:"disableSnapshots"` - // Creation option for etcd service (list maxitems:1) - S3Config *ClusterV2RkeConfigEtcdS3Config `pulumi:"s3Config"` - // ETCD snapshot retention (int) - SnapshotRetention *int `pulumi:"snapshotRetention"` - // ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) - SnapshotScheduleCron *string `pulumi:"snapshotScheduleCron"` -} - -// ClusterV2RkeConfigEtcdInput is an input type that accepts ClusterV2RkeConfigEtcdArgs and ClusterV2RkeConfigEtcdOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigEtcdInput` via: -// -// ClusterV2RkeConfigEtcdArgs{...} -type ClusterV2RkeConfigEtcdInput interface { - pulumi.Input - - ToClusterV2RkeConfigEtcdOutput() ClusterV2RkeConfigEtcdOutput - ToClusterV2RkeConfigEtcdOutputWithContext(context.Context) ClusterV2RkeConfigEtcdOutput -} - -type ClusterV2RkeConfigEtcdArgs struct { - // Disable ETCD snapshots. Default: `false` (bool) - DisableSnapshots pulumi.BoolPtrInput `pulumi:"disableSnapshots"` - // Creation option for etcd service (list maxitems:1) - S3Config ClusterV2RkeConfigEtcdS3ConfigPtrInput `pulumi:"s3Config"` - // ETCD snapshot retention (int) - SnapshotRetention pulumi.IntPtrInput `pulumi:"snapshotRetention"` - // ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) - SnapshotScheduleCron pulumi.StringPtrInput `pulumi:"snapshotScheduleCron"` -} - -func (ClusterV2RkeConfigEtcdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigEtcd)(nil)).Elem() -} - -func (i ClusterV2RkeConfigEtcdArgs) ToClusterV2RkeConfigEtcdOutput() ClusterV2RkeConfigEtcdOutput { - return i.ToClusterV2RkeConfigEtcdOutputWithContext(context.Background()) -} - -func (i ClusterV2RkeConfigEtcdArgs) ToClusterV2RkeConfigEtcdOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdOutput) -} - -func (i ClusterV2RkeConfigEtcdArgs) ToClusterV2RkeConfigEtcdPtrOutput() ClusterV2RkeConfigEtcdPtrOutput { - return i.ToClusterV2RkeConfigEtcdPtrOutputWithContext(context.Background()) -} - -func (i ClusterV2RkeConfigEtcdArgs) ToClusterV2RkeConfigEtcdPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdOutput).ToClusterV2RkeConfigEtcdPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput).ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx) } -// ClusterV2RkeConfigEtcdPtrInput is an input type that accepts ClusterV2RkeConfigEtcdArgs, ClusterV2RkeConfigEtcdPtr and ClusterV2RkeConfigEtcdPtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigEtcdPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs, ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtr and ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrInput` via: // -// ClusterV2RkeConfigEtcdArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs{...} // // or: // // nil -type ClusterV2RkeConfigEtcdPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrInput interface { pulumi.Input - ToClusterV2RkeConfigEtcdPtrOutput() ClusterV2RkeConfigEtcdPtrOutput - ToClusterV2RkeConfigEtcdPtrOutputWithContext(context.Context) ClusterV2RkeConfigEtcdPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput } -type clusterV2RkeConfigEtcdPtrType ClusterV2RkeConfigEtcdArgs +type clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrType ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs -func ClusterV2RkeConfigEtcdPtr(v *ClusterV2RkeConfigEtcdArgs) ClusterV2RkeConfigEtcdPtrInput { - return (*clusterV2RkeConfigEtcdPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtr(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrType)(v) } -func (*clusterV2RkeConfigEtcdPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigEtcd)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -func (i *clusterV2RkeConfigEtcdPtrType) ToClusterV2RkeConfigEtcdPtrOutput() ClusterV2RkeConfigEtcdPtrOutput { - return i.ToClusterV2RkeConfigEtcdPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigEtcdPtrType) ToClusterV2RkeConfigEtcdPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrType) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) } -type ClusterV2RkeConfigEtcdOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigEtcdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigEtcd)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -func (o ClusterV2RkeConfigEtcdOutput) ToClusterV2RkeConfigEtcdOutput() ClusterV2RkeConfigEtcdOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { return o } -func (o ClusterV2RkeConfigEtcdOutput) ToClusterV2RkeConfigEtcdOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { return o } -func (o ClusterV2RkeConfigEtcdOutput) ToClusterV2RkeConfigEtcdPtrOutput() ClusterV2RkeConfigEtcdPtrOutput { - return o.ToClusterV2RkeConfigEtcdPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigEtcdOutput) ToClusterV2RkeConfigEtcdPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigEtcd) *ClusterV2RkeConfigEtcd { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput { return &v - }).(ClusterV2RkeConfigEtcdPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) } -// Disable ETCD snapshots. Default: `false` (bool) -func (o ClusterV2RkeConfigEtcdOutput) DisableSnapshots() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcd) *bool { return v.DisableSnapshots }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) DeleteLocalData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { + return v.DeleteLocalData + }).(pulumi.BoolPtrOutput) } -// Creation option for etcd service (list maxitems:1) -func (o ClusterV2RkeConfigEtcdOutput) S3Config() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcd) *ClusterV2RkeConfigEtcdS3Config { return v.S3Config }).(ClusterV2RkeConfigEtcdS3ConfigPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { + return v.Force + }).(pulumi.BoolPtrOutput) } -// ETCD snapshot retention (int) -func (o ClusterV2RkeConfigEtcdOutput) SnapshotRetention() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcd) *int { return v.SnapshotRetention }).(pulumi.IntPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { + return v.GracePeriod + }).(pulumi.IntPtrOutput) } -// ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) -func (o ClusterV2RkeConfigEtcdOutput) SnapshotScheduleCron() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcd) *string { return v.SnapshotScheduleCron }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { + return v.IgnoreDaemonSets + }).(pulumi.BoolPtrOutput) } -type ClusterV2RkeConfigEtcdPtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { + return v.Timeout + }).(pulumi.IntPtrOutput) +} -func (ClusterV2RkeConfigEtcdPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigEtcd)(nil)).Elem() +type ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -func (o ClusterV2RkeConfigEtcdPtrOutput) ToClusterV2RkeConfigEtcdPtrOutput() ClusterV2RkeConfigEtcdPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { return o } -func (o ClusterV2RkeConfigEtcdPtrOutput) ToClusterV2RkeConfigEtcdPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput { return o } -func (o ClusterV2RkeConfigEtcdPtrOutput) Elem() ClusterV2RkeConfigEtcdOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcd) ClusterV2RkeConfigEtcd { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput { if v != nil { return *v } - var ret ClusterV2RkeConfigEtcd + var ret ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput return ret - }).(ClusterV2RkeConfigEtcdOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) } -// Disable ETCD snapshots. Default: `false` (bool) -func (o ClusterV2RkeConfigEtcdPtrOutput) DisableSnapshots() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcd) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) DeleteLocalData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { if v == nil { return nil } - return v.DisableSnapshots + return v.DeleteLocalData }).(pulumi.BoolPtrOutput) } -// Creation option for etcd service (list maxitems:1) -func (o ClusterV2RkeConfigEtcdPtrOutput) S3Config() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcd) *ClusterV2RkeConfigEtcdS3Config { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { if v == nil { return nil } - return v.S3Config - }).(ClusterV2RkeConfigEtcdS3ConfigPtrOutput) + return v.Force + }).(pulumi.BoolPtrOutput) } -// ETCD snapshot retention (int) -func (o ClusterV2RkeConfigEtcdPtrOutput) SnapshotRetention() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcd) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { if v == nil { return nil } - return v.SnapshotRetention + return v.GracePeriod }).(pulumi.IntPtrOutput) } -// ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) -func (o ClusterV2RkeConfigEtcdPtrOutput) SnapshotScheduleCron() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcd) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { if v == nil { return nil } - return v.SnapshotScheduleCron - }).(pulumi.StringPtrOutput) + return v.IgnoreDaemonSets + }).(pulumi.BoolPtrOutput) } -type ClusterV2RkeConfigEtcdS3Config struct { - // Bucket name for S3 service (string) - Bucket string `pulumi:"bucket"` - // ETCD snapshot S3 cloud credential name (string) - CloudCredentialName *string `pulumi:"cloudCredentialName"` - // ETCD snapshot S3 endpoint (string) - Endpoint string `pulumi:"endpoint"` - // ETCD snapshot S3 endpoint CA (string) - EndpointCa *string `pulumi:"endpointCa"` - // ETCD snapshot S3 folder (string) - Folder *string `pulumi:"folder"` - // ETCD snapshot S3 region (string) - Region *string `pulumi:"region"` - // Disable ETCD skip ssl verify. Default: `false` (bool) - SkipSslVerify *bool `pulumi:"skipSslVerify"` +func (o ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputPtrOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { + if v == nil { + return nil + } + return v.Timeout + }).(pulumi.IntPtrOutput) } -// ClusterV2RkeConfigEtcdS3ConfigInput is an input type that accepts ClusterV2RkeConfigEtcdS3ConfigArgs and ClusterV2RkeConfigEtcdS3ConfigOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigEtcdS3ConfigInput` via: +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan struct { + // Enable cluster template revision. Default `true` (bool) + Enabled *bool `pulumi:"enabled"` + ScanConfig ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig `pulumi:"scanConfig"` + ScheduleConfig ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig `pulumi:"scheduleConfig"` +} + +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput` via: // -// ClusterV2RkeConfigEtcdS3ConfigArgs{...} -type ClusterV2RkeConfigEtcdS3ConfigInput interface { +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput interface { pulumi.Input - ToClusterV2RkeConfigEtcdS3ConfigOutput() ClusterV2RkeConfigEtcdS3ConfigOutput - ToClusterV2RkeConfigEtcdS3ConfigOutputWithContext(context.Context) ClusterV2RkeConfigEtcdS3ConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput } -type ClusterV2RkeConfigEtcdS3ConfigArgs struct { - // Bucket name for S3 service (string) - Bucket pulumi.StringInput `pulumi:"bucket"` - // ETCD snapshot S3 cloud credential name (string) - CloudCredentialName pulumi.StringPtrInput `pulumi:"cloudCredentialName"` - // ETCD snapshot S3 endpoint (string) - Endpoint pulumi.StringInput `pulumi:"endpoint"` - // ETCD snapshot S3 endpoint CA (string) - EndpointCa pulumi.StringPtrInput `pulumi:"endpointCa"` - // ETCD snapshot S3 folder (string) - Folder pulumi.StringPtrInput `pulumi:"folder"` - // ETCD snapshot S3 region (string) - Region pulumi.StringPtrInput `pulumi:"region"` - // Disable ETCD skip ssl verify. Default: `false` (bool) - SkipSslVerify pulumi.BoolPtrInput `pulumi:"skipSslVerify"` +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs struct { + // Enable cluster template revision. Default `true` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + ScanConfig ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput `pulumi:"scanConfig"` + ScheduleConfig ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput `pulumi:"scheduleConfig"` } -func (ClusterV2RkeConfigEtcdS3ConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigEtcdS3Config)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() } -func (i ClusterV2RkeConfigEtcdS3ConfigArgs) ToClusterV2RkeConfigEtcdS3ConfigOutput() ClusterV2RkeConfigEtcdS3ConfigOutput { - return i.ToClusterV2RkeConfigEtcdS3ConfigOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigEtcdS3ConfigArgs) ToClusterV2RkeConfigEtcdS3ConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdS3ConfigOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) } -func (i ClusterV2RkeConfigEtcdS3ConfigArgs) ToClusterV2RkeConfigEtcdS3ConfigPtrOutput() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return i.ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigEtcdS3ConfigArgs) ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdS3ConfigOutput).ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput).ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx) } -// ClusterV2RkeConfigEtcdS3ConfigPtrInput is an input type that accepts ClusterV2RkeConfigEtcdS3ConfigArgs, ClusterV2RkeConfigEtcdS3ConfigPtr and ClusterV2RkeConfigEtcdS3ConfigPtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigEtcdS3ConfigPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs, ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtr and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput` via: // -// ClusterV2RkeConfigEtcdS3ConfigArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs{...} // // or: // // nil -type ClusterV2RkeConfigEtcdS3ConfigPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput interface { pulumi.Input - ToClusterV2RkeConfigEtcdS3ConfigPtrOutput() ClusterV2RkeConfigEtcdS3ConfigPtrOutput - ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Context) ClusterV2RkeConfigEtcdS3ConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput } -type clusterV2RkeConfigEtcdS3ConfigPtrType ClusterV2RkeConfigEtcdS3ConfigArgs +type clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs -func ClusterV2RkeConfigEtcdS3ConfigPtr(v *ClusterV2RkeConfigEtcdS3ConfigArgs) ClusterV2RkeConfigEtcdS3ConfigPtrInput { - return (*clusterV2RkeConfigEtcdS3ConfigPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtr(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType)(v) } -func (*clusterV2RkeConfigEtcdS3ConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigEtcdS3Config)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() } -func (i *clusterV2RkeConfigEtcdS3ConfigPtrType) ToClusterV2RkeConfigEtcdS3ConfigPtrOutput() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return i.ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigEtcdS3ConfigPtrType) ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdS3ConfigPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) } -type ClusterV2RkeConfigEtcdS3ConfigOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigEtcdS3ConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigEtcdS3Config)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() } -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) ToClusterV2RkeConfigEtcdS3ConfigOutput() ClusterV2RkeConfigEtcdS3ConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { return o } -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) ToClusterV2RkeConfigEtcdS3ConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { return o } -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) ToClusterV2RkeConfigEtcdS3ConfigPtrOutput() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return o.ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigEtcdS3Config) *ClusterV2RkeConfigEtcdS3Config { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { return &v - }).(ClusterV2RkeConfigEtcdS3ConfigPtrOutput) -} - -// Bucket name for S3 service (string) -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) Bucket() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) string { return v.Bucket }).(pulumi.StringOutput) -} - -// ETCD snapshot S3 cloud credential name (string) -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) CloudCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) *string { return v.CloudCredentialName }).(pulumi.StringPtrOutput) -} - -// ETCD snapshot S3 endpoint (string) -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) string { return v.Endpoint }).(pulumi.StringOutput) -} - -// ETCD snapshot S3 endpoint CA (string) -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) EndpointCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) *string { return v.EndpointCa }).(pulumi.StringPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) } -// ETCD snapshot S3 folder (string) -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) *string { return v.Folder }).(pulumi.StringPtrOutput) +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -// ETCD snapshot S3 region (string) -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ScanConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { + return v.ScanConfig + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) } -// Disable ETCD skip ssl verify. Default: `false` (bool) -func (o ClusterV2RkeConfigEtcdS3ConfigOutput) SkipSslVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) *bool { return v.SkipSslVerify }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ScheduleConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { + return v.ScheduleConfig + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) } -type ClusterV2RkeConfigEtcdS3ConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigEtcdS3ConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigEtcdS3Config)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() } -func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) ToClusterV2RkeConfigEtcdS3ConfigPtrOutput() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { return o } -func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { return o } -func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) Elem() ClusterV2RkeConfigEtcdS3ConfigOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) ClusterV2RkeConfigEtcdS3Config { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { if v != nil { return *v } - var ret ClusterV2RkeConfigEtcdS3Config + var ret ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan return ret - }).(ClusterV2RkeConfigEtcdS3ConfigOutput) -} - -// Bucket name for S3 service (string) -func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) Bucket() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { - if v == nil { - return nil - } - return &v.Bucket - }).(pulumi.StringPtrOutput) -} - -// ETCD snapshot S3 cloud credential name (string) -func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) CloudCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { - if v == nil { - return nil - } - return v.CloudCredentialName - }).(pulumi.StringPtrOutput) -} - -// ETCD snapshot S3 endpoint (string) -func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) -} - -// ETCD snapshot S3 endpoint CA (string) -func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) EndpointCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { - if v == nil { - return nil - } - return v.EndpointCa - }).(pulumi.StringPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) } -// ETCD snapshot S3 folder (string) -func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { +// Enable cluster template revision. Default `true` (bool) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *bool { if v == nil { return nil } - return v.Folder - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -// ETCD snapshot S3 region (string) -func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ScanConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return &v.ScanConfig + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) } -// Disable ETCD skip ssl verify. Default: `false` (bool) -func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) SkipSslVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ScheduleConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { if v == nil { return nil } - return v.SkipSslVerify - }).(pulumi.BoolPtrOutput) + return &v.ScheduleConfig + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) } -type ClusterV2RkeConfigEtcdSnapshotCreate struct { - // ETCD snapshot desired generation (int) - Generation int `pulumi:"generation"` +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig struct { + CisScanConfig *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig `pulumi:"cisScanConfig"` } -// ClusterV2RkeConfigEtcdSnapshotCreateInput is an input type that accepts ClusterV2RkeConfigEtcdSnapshotCreateArgs and ClusterV2RkeConfigEtcdSnapshotCreateOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigEtcdSnapshotCreateInput` via: +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput` via: // -// ClusterV2RkeConfigEtcdSnapshotCreateArgs{...} -type ClusterV2RkeConfigEtcdSnapshotCreateInput interface { +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput interface { pulumi.Input - ToClusterV2RkeConfigEtcdSnapshotCreateOutput() ClusterV2RkeConfigEtcdSnapshotCreateOutput - ToClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(context.Context) ClusterV2RkeConfigEtcdSnapshotCreateOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput } -type ClusterV2RkeConfigEtcdSnapshotCreateArgs struct { - // ETCD snapshot desired generation (int) - Generation pulumi.IntInput `pulumi:"generation"` +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs struct { + CisScanConfig ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput `pulumi:"cisScanConfig"` } -func (ClusterV2RkeConfigEtcdSnapshotCreateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() } -func (i ClusterV2RkeConfigEtcdSnapshotCreateArgs) ToClusterV2RkeConfigEtcdSnapshotCreateOutput() ClusterV2RkeConfigEtcdSnapshotCreateOutput { - return i.ToClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigEtcdSnapshotCreateArgs) ToClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreateOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotCreateOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) } -func (i ClusterV2RkeConfigEtcdSnapshotCreateArgs) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return i.ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigEtcdSnapshotCreateArgs) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotCreateOutput).ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx) } -// ClusterV2RkeConfigEtcdSnapshotCreatePtrInput is an input type that accepts ClusterV2RkeConfigEtcdSnapshotCreateArgs, ClusterV2RkeConfigEtcdSnapshotCreatePtr and ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigEtcdSnapshotCreatePtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs, ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtr and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput` via: // -// ClusterV2RkeConfigEtcdSnapshotCreateArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs{...} // // or: // // nil -type ClusterV2RkeConfigEtcdSnapshotCreatePtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput interface { pulumi.Input - ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput - ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Context) ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput } -type clusterV2RkeConfigEtcdSnapshotCreatePtrType ClusterV2RkeConfigEtcdSnapshotCreateArgs +type clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs -func ClusterV2RkeConfigEtcdSnapshotCreatePtr(v *ClusterV2RkeConfigEtcdSnapshotCreateArgs) ClusterV2RkeConfigEtcdSnapshotCreatePtrInput { - return (*clusterV2RkeConfigEtcdSnapshotCreatePtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType)(v) } -func (*clusterV2RkeConfigEtcdSnapshotCreatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() } -func (i *clusterV2RkeConfigEtcdSnapshotCreatePtrType) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return i.ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigEtcdSnapshotCreatePtrType) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) } -type ClusterV2RkeConfigEtcdSnapshotCreateOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigEtcdSnapshotCreateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() } -func (o ClusterV2RkeConfigEtcdSnapshotCreateOutput) ToClusterV2RkeConfigEtcdSnapshotCreateOutput() ClusterV2RkeConfigEtcdSnapshotCreateOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { return o } -func (o ClusterV2RkeConfigEtcdSnapshotCreateOutput) ToClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreateOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { return o } -func (o ClusterV2RkeConfigEtcdSnapshotCreateOutput) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return o.ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigEtcdSnapshotCreateOutput) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigEtcdSnapshotCreate) *ClusterV2RkeConfigEtcdSnapshotCreate { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { return &v - }).(ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) } -// ETCD snapshot desired generation (int) -func (o ClusterV2RkeConfigEtcdSnapshotCreateOutput) Generation() pulumi.IntOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdSnapshotCreate) int { return v.Generation }).(pulumi.IntOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) CisScanConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { + return v.CisScanConfig + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -type ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() } -func (o ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { return o } -func (o ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { return o } -func (o ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) Elem() ClusterV2RkeConfigEtcdSnapshotCreateOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotCreate) ClusterV2RkeConfigEtcdSnapshotCreate { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { if v != nil { return *v } - var ret ClusterV2RkeConfigEtcdSnapshotCreate + var ret ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig return ret - }).(ClusterV2RkeConfigEtcdSnapshotCreateOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) } -// ETCD snapshot desired generation (int) -func (o ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) Generation() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotCreate) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) CisScanConfig() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { if v == nil { return nil } - return &v.Generation - }).(pulumi.IntPtrOutput) + return v.CisScanConfig + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -type ClusterV2RkeConfigEtcdSnapshotRestore struct { - // ETCD snapshot desired generation (int) - Generation int `pulumi:"generation"` - // Name of cluster registration token (string) - Name string `pulumi:"name"` - // ETCD restore RKE config (set to none, all, or kubernetesVersion) (string) - RestoreRkeConfig *string `pulumi:"restoreRkeConfig"` +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig struct { + DebugMaster *bool `pulumi:"debugMaster"` + DebugWorker *bool `pulumi:"debugWorker"` + OverrideBenchmarkVersion *string `pulumi:"overrideBenchmarkVersion"` + OverrideSkips []string `pulumi:"overrideSkips"` + Profile *string `pulumi:"profile"` } -// ClusterV2RkeConfigEtcdSnapshotRestoreInput is an input type that accepts ClusterV2RkeConfigEtcdSnapshotRestoreArgs and ClusterV2RkeConfigEtcdSnapshotRestoreOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigEtcdSnapshotRestoreInput` via: +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput` via: // -// ClusterV2RkeConfigEtcdSnapshotRestoreArgs{...} -type ClusterV2RkeConfigEtcdSnapshotRestoreInput interface { +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput interface { pulumi.Input - ToClusterV2RkeConfigEtcdSnapshotRestoreOutput() ClusterV2RkeConfigEtcdSnapshotRestoreOutput - ToClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(context.Context) ClusterV2RkeConfigEtcdSnapshotRestoreOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput } -type ClusterV2RkeConfigEtcdSnapshotRestoreArgs struct { - // ETCD snapshot desired generation (int) - Generation pulumi.IntInput `pulumi:"generation"` - // Name of cluster registration token (string) - Name pulumi.StringInput `pulumi:"name"` - // ETCD restore RKE config (set to none, all, or kubernetesVersion) (string) - RestoreRkeConfig pulumi.StringPtrInput `pulumi:"restoreRkeConfig"` +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs struct { + DebugMaster pulumi.BoolPtrInput `pulumi:"debugMaster"` + DebugWorker pulumi.BoolPtrInput `pulumi:"debugWorker"` + OverrideBenchmarkVersion pulumi.StringPtrInput `pulumi:"overrideBenchmarkVersion"` + OverrideSkips pulumi.StringArrayInput `pulumi:"overrideSkips"` + Profile pulumi.StringPtrInput `pulumi:"profile"` } -func (ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (i ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToClusterV2RkeConfigEtcdSnapshotRestoreOutput() ClusterV2RkeConfigEtcdSnapshotRestoreOutput { - return i.ToClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestoreOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotRestoreOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) } -func (i ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return i.ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotRestoreOutput).ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx) } -// ClusterV2RkeConfigEtcdSnapshotRestorePtrInput is an input type that accepts ClusterV2RkeConfigEtcdSnapshotRestoreArgs, ClusterV2RkeConfigEtcdSnapshotRestorePtr and ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigEtcdSnapshotRestorePtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs, ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtr and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput` via: // -// ClusterV2RkeConfigEtcdSnapshotRestoreArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs{...} // // or: // // nil -type ClusterV2RkeConfigEtcdSnapshotRestorePtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput interface { pulumi.Input - ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput - ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Context) ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput } -type clusterV2RkeConfigEtcdSnapshotRestorePtrType ClusterV2RkeConfigEtcdSnapshotRestoreArgs +type clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs -func ClusterV2RkeConfigEtcdSnapshotRestorePtr(v *ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ClusterV2RkeConfigEtcdSnapshotRestorePtrInput { - return (*clusterV2RkeConfigEtcdSnapshotRestorePtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType)(v) } -func (*clusterV2RkeConfigEtcdSnapshotRestorePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (i *clusterV2RkeConfigEtcdSnapshotRestorePtrType) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return i.ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigEtcdSnapshotRestorePtrType) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -type ClusterV2RkeConfigEtcdSnapshotRestoreOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigEtcdSnapshotRestoreOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToClusterV2RkeConfigEtcdSnapshotRestoreOutput() ClusterV2RkeConfigEtcdSnapshotRestoreOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { return o } -func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestoreOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { return o } -func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return o.ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigEtcdSnapshotRestore) *ClusterV2RkeConfigEtcdSnapshotRestore { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { return &v - }).(ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -// ETCD snapshot desired generation (int) -func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) Generation() pulumi.IntOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdSnapshotRestore) int { return v.Generation }).(pulumi.IntOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) DebugMaster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { + return v.DebugMaster + }).(pulumi.BoolPtrOutput) } -// Name of cluster registration token (string) -func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdSnapshotRestore) string { return v.Name }).(pulumi.StringOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) DebugWorker() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { + return v.DebugWorker + }).(pulumi.BoolPtrOutput) } -// ETCD restore RKE config (set to none, all, or kubernetesVersion) (string) -func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) RestoreRkeConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigEtcdSnapshotRestore) *string { return v.RestoreRkeConfig }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { + return v.OverrideBenchmarkVersion + }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput struct{ *pulumi.OutputState } +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) OverrideSkips() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) []string { + return v.OverrideSkips + }).(pulumi.StringArrayOutput) +} -func (ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) Profile() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { + return v.Profile + }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +} + +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { return o } -func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { return o } -func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Elem() ClusterV2RkeConfigEtcdSnapshotRestoreOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotRestore) ClusterV2RkeConfigEtcdSnapshotRestore { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { if v != nil { return *v } - var ret ClusterV2RkeConfigEtcdSnapshotRestore + var ret ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig return ret - }).(ClusterV2RkeConfigEtcdSnapshotRestoreOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) } -// ETCD snapshot desired generation (int) -func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Generation() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotRestore) *int { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugMaster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { if v == nil { return nil } - return &v.Generation - }).(pulumi.IntPtrOutput) + return v.DebugMaster + }).(pulumi.BoolPtrOutput) } -// Name of cluster registration token (string) -func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotRestore) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugWorker() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { if v == nil { return nil } - return &v.Name + return v.DebugWorker + }).(pulumi.BoolPtrOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { + if v == nil { + return nil + } + return v.OverrideBenchmarkVersion }).(pulumi.StringPtrOutput) } -// ETCD restore RKE config (set to none, all, or kubernetesVersion) (string) -func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) RestoreRkeConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotRestore) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideSkips() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) []string { if v == nil { return nil } - return v.RestoreRkeConfig + return v.OverrideSkips + }).(pulumi.StringArrayOutput) +} + +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) Profile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { + if v == nil { + return nil + } + return v.Profile }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigLocalAuthEndpoint struct { - // CA certs for the authorized cluster endpoint (string) - CaCerts *string `pulumi:"caCerts"` - // Drain options enabled? Default `true` (bool) - Enabled *bool `pulumi:"enabled"` - // FQDN for the authorized cluster endpoint (string) - Fqdn *string `pulumi:"fqdn"` +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig struct { + CronSchedule string `pulumi:"cronSchedule"` + Retention *int `pulumi:"retention"` } -// ClusterV2RkeConfigLocalAuthEndpointInput is an input type that accepts ClusterV2RkeConfigLocalAuthEndpointArgs and ClusterV2RkeConfigLocalAuthEndpointOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigLocalAuthEndpointInput` via: +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput` via: // -// ClusterV2RkeConfigLocalAuthEndpointArgs{...} -type ClusterV2RkeConfigLocalAuthEndpointInput interface { +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs{...} +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput interface { pulumi.Input - ToClusterV2RkeConfigLocalAuthEndpointOutput() ClusterV2RkeConfigLocalAuthEndpointOutput - ToClusterV2RkeConfigLocalAuthEndpointOutputWithContext(context.Context) ClusterV2RkeConfigLocalAuthEndpointOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput } -type ClusterV2RkeConfigLocalAuthEndpointArgs struct { - // CA certs for the authorized cluster endpoint (string) - CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` - // Drain options enabled? Default `true` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // FQDN for the authorized cluster endpoint (string) - Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs struct { + CronSchedule pulumi.StringInput `pulumi:"cronSchedule"` + Retention pulumi.IntPtrInput `pulumi:"retention"` } -func (ClusterV2RkeConfigLocalAuthEndpointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (i ClusterV2RkeConfigLocalAuthEndpointArgs) ToClusterV2RkeConfigLocalAuthEndpointOutput() ClusterV2RkeConfigLocalAuthEndpointOutput { - return i.ToClusterV2RkeConfigLocalAuthEndpointOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigLocalAuthEndpointArgs) ToClusterV2RkeConfigLocalAuthEndpointOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigLocalAuthEndpointOutput) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) } -func (i ClusterV2RkeConfigLocalAuthEndpointArgs) ToClusterV2RkeConfigLocalAuthEndpointPtrOutput() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return i.ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigLocalAuthEndpointArgs) ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigLocalAuthEndpointOutput).ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx) +func (i ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput).ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx) } -// ClusterV2RkeConfigLocalAuthEndpointPtrInput is an input type that accepts ClusterV2RkeConfigLocalAuthEndpointArgs, ClusterV2RkeConfigLocalAuthEndpointPtr and ClusterV2RkeConfigLocalAuthEndpointPtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigLocalAuthEndpointPtrInput` via: +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput is an input type that accepts ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs, ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtr and ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput` via: // -// ClusterV2RkeConfigLocalAuthEndpointArgs{...} +// ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs{...} // // or: // // nil -type ClusterV2RkeConfigLocalAuthEndpointPtrInput interface { +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput interface { pulumi.Input - ToClusterV2RkeConfigLocalAuthEndpointPtrOutput() ClusterV2RkeConfigLocalAuthEndpointPtrOutput - ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Context) ClusterV2RkeConfigLocalAuthEndpointPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput + ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput } -type clusterV2RkeConfigLocalAuthEndpointPtrType ClusterV2RkeConfigLocalAuthEndpointArgs +type clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs -func ClusterV2RkeConfigLocalAuthEndpointPtr(v *ClusterV2RkeConfigLocalAuthEndpointArgs) ClusterV2RkeConfigLocalAuthEndpointPtrInput { - return (*clusterV2RkeConfigLocalAuthEndpointPtrType)(v) +func ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtr(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput { + return (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType)(v) } -func (*clusterV2RkeConfigLocalAuthEndpointPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() +func (*clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (i *clusterV2RkeConfigLocalAuthEndpointPtrType) ToClusterV2RkeConfigLocalAuthEndpointPtrOutput() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return i.ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) +func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return i.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigLocalAuthEndpointPtrType) ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigLocalAuthEndpointPtrOutput) +func (i *clusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) } -type ClusterV2RkeConfigLocalAuthEndpointOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigLocalAuthEndpointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (o ClusterV2RkeConfigLocalAuthEndpointOutput) ToClusterV2RkeConfigLocalAuthEndpointOutput() ClusterV2RkeConfigLocalAuthEndpointOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { return o } -func (o ClusterV2RkeConfigLocalAuthEndpointOutput) ToClusterV2RkeConfigLocalAuthEndpointOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { return o } -func (o ClusterV2RkeConfigLocalAuthEndpointOutput) ToClusterV2RkeConfigLocalAuthEndpointPtrOutput() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return o.ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return o.ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigLocalAuthEndpointOutput) ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigLocalAuthEndpoint) *ClusterV2RkeConfigLocalAuthEndpoint { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { return &v - }).(ClusterV2RkeConfigLocalAuthEndpointPtrOutput) -} - -// CA certs for the authorized cluster endpoint (string) -func (o ClusterV2RkeConfigLocalAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigLocalAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) } -// Drain options enabled? Default `true` (bool) -func (o ClusterV2RkeConfigLocalAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigLocalAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) CronSchedule() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) string { + return v.CronSchedule + }).(pulumi.StringOutput) } -// FQDN for the authorized cluster endpoint (string) -func (o ClusterV2RkeConfigLocalAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigLocalAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *int { + return v.Retention + }).(pulumi.IntPtrOutput) } -type ClusterV2RkeConfigLocalAuthEndpointPtrOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigLocalAuthEndpointPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() +func (ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) ToClusterV2RkeConfigLocalAuthEndpointPtrOutput() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { return o } -func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointPtrOutput { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ToClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { return o } -func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) Elem() ClusterV2RkeConfigLocalAuthEndpointOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigLocalAuthEndpoint) ClusterV2RkeConfigLocalAuthEndpoint { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) Elem() ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { if v != nil { return *v } - var ret ClusterV2RkeConfigLocalAuthEndpoint + var ret ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig return ret - }).(ClusterV2RkeConfigLocalAuthEndpointOutput) + }).(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) } -// CA certs for the authorized cluster endpoint (string) -func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) CaCerts() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigLocalAuthEndpoint) *string { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) CronSchedule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *string { if v == nil { return nil } - return v.CaCerts + return &v.CronSchedule }).(pulumi.StringPtrOutput) } -// Drain options enabled? Default `true` (bool) -func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigLocalAuthEndpoint) *bool { +func (o ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *int { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.Retention + }).(pulumi.IntPtrOutput) } -// FQDN for the authorized cluster endpoint (string) -func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigLocalAuthEndpoint) *string { - if v == nil { - return nil - } - return v.Fqdn - }).(pulumi.StringPtrOutput) +type ClusterTemplateTemplateRevisionQuestion struct { + // Default variable value (string) + Default string `pulumi:"default"` + // Required variable. Default `false` (bool) + Required *bool `pulumi:"required"` + // Variable type. `boolean`, `int` and `string` are allowed. Default `string` (string) + Type *string `pulumi:"type"` + // Variable name (string) + Variable string `pulumi:"variable"` } -type ClusterV2RkeConfigMachinePool struct { - // Annotations for cluster registration token object (map) - Annotations map[string]interface{} `pulumi:"annotations"` - // Cluster V2 cloud credential secret name (string) - CloudCredentialSecretName string `pulumi:"cloudCredentialSecretName"` - // Machine pool control plane role? (bool) - ControlPlaneRole *bool `pulumi:"controlPlaneRole"` - // Machine Pool Drain Before Delete? (bool) - DrainBeforeDelete *bool `pulumi:"drainBeforeDelete"` - // Machine pool etcd role? (bool) - EtcdRole *bool `pulumi:"etcdRole"` - // Labels for cluster registration token object (map) - Labels map[string]interface{} `pulumi:"labels"` - // Machine pool node config (list) - MachineConfig ClusterV2RkeConfigMachinePoolMachineConfig `pulumi:"machineConfig"` - // Max unhealthy nodes for automated replacement to be allowed (string) - MaxUnhealthy *string `pulumi:"maxUnhealthy"` - // Name of cluster registration token (string) - Name string `pulumi:"name"` - // Seconds a machine has to drain before deletion (int) - NodeDrainTimeout *int `pulumi:"nodeDrainTimeout"` - // Seconds a new node has to become active before it is replaced (int) - NodeStartupTimeoutSeconds *int `pulumi:"nodeStartupTimeoutSeconds"` - // Machine pool paused? (bool) - Paused *bool `pulumi:"paused"` - // Machine pool quantity (int) - Quantity *int `pulumi:"quantity"` - // Machine pool rolling update (List maxitems:1) - RollingUpdate *ClusterV2RkeConfigMachinePoolRollingUpdate `pulumi:"rollingUpdate"` - // Machine pool taints (list) - Taints []ClusterV2RkeConfigMachinePoolTaint `pulumi:"taints"` - // Seconds an unhealthy node has to become active before it is replaced (int) - UnhealthyNodeTimeoutSeconds *int `pulumi:"unhealthyNodeTimeoutSeconds"` - // Range of unhealthy nodes for automated replacement to be allowed (string) - UnhealthyRange *string `pulumi:"unhealthyRange"` - // Machine pool worker role? (bool) - WorkerRole *bool `pulumi:"workerRole"` +// ClusterTemplateTemplateRevisionQuestionInput is an input type that accepts ClusterTemplateTemplateRevisionQuestionArgs and ClusterTemplateTemplateRevisionQuestionOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionQuestionInput` via: +// +// ClusterTemplateTemplateRevisionQuestionArgs{...} +type ClusterTemplateTemplateRevisionQuestionInput interface { + pulumi.Input + + ToClusterTemplateTemplateRevisionQuestionOutput() ClusterTemplateTemplateRevisionQuestionOutput + ToClusterTemplateTemplateRevisionQuestionOutputWithContext(context.Context) ClusterTemplateTemplateRevisionQuestionOutput } -// ClusterV2RkeConfigMachinePoolInput is an input type that accepts ClusterV2RkeConfigMachinePoolArgs and ClusterV2RkeConfigMachinePoolOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolInput` via: +type ClusterTemplateTemplateRevisionQuestionArgs struct { + // Default variable value (string) + Default pulumi.StringInput `pulumi:"default"` + // Required variable. Default `false` (bool) + Required pulumi.BoolPtrInput `pulumi:"required"` + // Variable type. `boolean`, `int` and `string` are allowed. Default `string` (string) + Type pulumi.StringPtrInput `pulumi:"type"` + // Variable name (string) + Variable pulumi.StringInput `pulumi:"variable"` +} + +func (ClusterTemplateTemplateRevisionQuestionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionQuestion)(nil)).Elem() +} + +func (i ClusterTemplateTemplateRevisionQuestionArgs) ToClusterTemplateTemplateRevisionQuestionOutput() ClusterTemplateTemplateRevisionQuestionOutput { + return i.ToClusterTemplateTemplateRevisionQuestionOutputWithContext(context.Background()) +} + +func (i ClusterTemplateTemplateRevisionQuestionArgs) ToClusterTemplateTemplateRevisionQuestionOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionQuestionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionQuestionOutput) +} + +// ClusterTemplateTemplateRevisionQuestionArrayInput is an input type that accepts ClusterTemplateTemplateRevisionQuestionArray and ClusterTemplateTemplateRevisionQuestionArrayOutput values. +// You can construct a concrete instance of `ClusterTemplateTemplateRevisionQuestionArrayInput` via: // -// ClusterV2RkeConfigMachinePoolArgs{...} -type ClusterV2RkeConfigMachinePoolInput interface { +// ClusterTemplateTemplateRevisionQuestionArray{ ClusterTemplateTemplateRevisionQuestionArgs{...} } +type ClusterTemplateTemplateRevisionQuestionArrayInput interface { pulumi.Input - ToClusterV2RkeConfigMachinePoolOutput() ClusterV2RkeConfigMachinePoolOutput - ToClusterV2RkeConfigMachinePoolOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolOutput + ToClusterTemplateTemplateRevisionQuestionArrayOutput() ClusterTemplateTemplateRevisionQuestionArrayOutput + ToClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(context.Context) ClusterTemplateTemplateRevisionQuestionArrayOutput } -type ClusterV2RkeConfigMachinePoolArgs struct { - // Annotations for cluster registration token object (map) - Annotations pulumi.MapInput `pulumi:"annotations"` - // Cluster V2 cloud credential secret name (string) - CloudCredentialSecretName pulumi.StringInput `pulumi:"cloudCredentialSecretName"` - // Machine pool control plane role? (bool) - ControlPlaneRole pulumi.BoolPtrInput `pulumi:"controlPlaneRole"` - // Machine Pool Drain Before Delete? (bool) - DrainBeforeDelete pulumi.BoolPtrInput `pulumi:"drainBeforeDelete"` - // Machine pool etcd role? (bool) - EtcdRole pulumi.BoolPtrInput `pulumi:"etcdRole"` - // Labels for cluster registration token object (map) - Labels pulumi.MapInput `pulumi:"labels"` - // Machine pool node config (list) - MachineConfig ClusterV2RkeConfigMachinePoolMachineConfigInput `pulumi:"machineConfig"` - // Max unhealthy nodes for automated replacement to be allowed (string) - MaxUnhealthy pulumi.StringPtrInput `pulumi:"maxUnhealthy"` - // Name of cluster registration token (string) - Name pulumi.StringInput `pulumi:"name"` - // Seconds a machine has to drain before deletion (int) - NodeDrainTimeout pulumi.IntPtrInput `pulumi:"nodeDrainTimeout"` - // Seconds a new node has to become active before it is replaced (int) - NodeStartupTimeoutSeconds pulumi.IntPtrInput `pulumi:"nodeStartupTimeoutSeconds"` - // Machine pool paused? (bool) - Paused pulumi.BoolPtrInput `pulumi:"paused"` - // Machine pool quantity (int) - Quantity pulumi.IntPtrInput `pulumi:"quantity"` - // Machine pool rolling update (List maxitems:1) - RollingUpdate ClusterV2RkeConfigMachinePoolRollingUpdatePtrInput `pulumi:"rollingUpdate"` - // Machine pool taints (list) - Taints ClusterV2RkeConfigMachinePoolTaintArrayInput `pulumi:"taints"` - // Seconds an unhealthy node has to become active before it is replaced (int) - UnhealthyNodeTimeoutSeconds pulumi.IntPtrInput `pulumi:"unhealthyNodeTimeoutSeconds"` - // Range of unhealthy nodes for automated replacement to be allowed (string) - UnhealthyRange pulumi.StringPtrInput `pulumi:"unhealthyRange"` - // Machine pool worker role? (bool) - WorkerRole pulumi.BoolPtrInput `pulumi:"workerRole"` +type ClusterTemplateTemplateRevisionQuestionArray []ClusterTemplateTemplateRevisionQuestionInput + +func (ClusterTemplateTemplateRevisionQuestionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionQuestion)(nil)).Elem() } -func (ClusterV2RkeConfigMachinePoolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachinePool)(nil)).Elem() +func (i ClusterTemplateTemplateRevisionQuestionArray) ToClusterTemplateTemplateRevisionQuestionArrayOutput() ClusterTemplateTemplateRevisionQuestionArrayOutput { + return i.ToClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigMachinePoolArgs) ToClusterV2RkeConfigMachinePoolOutput() ClusterV2RkeConfigMachinePoolOutput { - return i.ToClusterV2RkeConfigMachinePoolOutputWithContext(context.Background()) +func (i ClusterTemplateTemplateRevisionQuestionArray) ToClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionQuestionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterTemplateTemplateRevisionQuestionArrayOutput) } -func (i ClusterV2RkeConfigMachinePoolArgs) ToClusterV2RkeConfigMachinePoolOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolOutput) +type ClusterTemplateTemplateRevisionQuestionOutput struct{ *pulumi.OutputState } + +func (ClusterTemplateTemplateRevisionQuestionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterTemplateTemplateRevisionQuestion)(nil)).Elem() } -// ClusterV2RkeConfigMachinePoolArrayInput is an input type that accepts ClusterV2RkeConfigMachinePoolArray and ClusterV2RkeConfigMachinePoolArrayOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolArrayInput` via: -// -// ClusterV2RkeConfigMachinePoolArray{ ClusterV2RkeConfigMachinePoolArgs{...} } -type ClusterV2RkeConfigMachinePoolArrayInput interface { - pulumi.Input +func (o ClusterTemplateTemplateRevisionQuestionOutput) ToClusterTemplateTemplateRevisionQuestionOutput() ClusterTemplateTemplateRevisionQuestionOutput { + return o +} - ToClusterV2RkeConfigMachinePoolArrayOutput() ClusterV2RkeConfigMachinePoolArrayOutput - ToClusterV2RkeConfigMachinePoolArrayOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolArrayOutput +func (o ClusterTemplateTemplateRevisionQuestionOutput) ToClusterTemplateTemplateRevisionQuestionOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionQuestionOutput { + return o } -type ClusterV2RkeConfigMachinePoolArray []ClusterV2RkeConfigMachinePoolInput +// Default variable value (string) +func (o ClusterTemplateTemplateRevisionQuestionOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionQuestion) string { return v.Default }).(pulumi.StringOutput) +} -func (ClusterV2RkeConfigMachinePoolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigMachinePool)(nil)).Elem() +// Required variable. Default `false` (bool) +func (o ClusterTemplateTemplateRevisionQuestionOutput) Required() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionQuestion) *bool { return v.Required }).(pulumi.BoolPtrOutput) } -func (i ClusterV2RkeConfigMachinePoolArray) ToClusterV2RkeConfigMachinePoolArrayOutput() ClusterV2RkeConfigMachinePoolArrayOutput { - return i.ToClusterV2RkeConfigMachinePoolArrayOutputWithContext(context.Background()) +// Variable type. `boolean`, `int` and `string` are allowed. Default `string` (string) +func (o ClusterTemplateTemplateRevisionQuestionOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionQuestion) *string { return v.Type }).(pulumi.StringPtrOutput) } -func (i ClusterV2RkeConfigMachinePoolArray) ToClusterV2RkeConfigMachinePoolArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolArrayOutput) +// Variable name (string) +func (o ClusterTemplateTemplateRevisionQuestionOutput) Variable() pulumi.StringOutput { + return o.ApplyT(func(v ClusterTemplateTemplateRevisionQuestion) string { return v.Variable }).(pulumi.StringOutput) } -type ClusterV2RkeConfigMachinePoolOutput struct{ *pulumi.OutputState } +type ClusterTemplateTemplateRevisionQuestionArrayOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigMachinePoolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachinePool)(nil)).Elem() +func (ClusterTemplateTemplateRevisionQuestionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterTemplateTemplateRevisionQuestion)(nil)).Elem() } -func (o ClusterV2RkeConfigMachinePoolOutput) ToClusterV2RkeConfigMachinePoolOutput() ClusterV2RkeConfigMachinePoolOutput { +func (o ClusterTemplateTemplateRevisionQuestionArrayOutput) ToClusterTemplateTemplateRevisionQuestionArrayOutput() ClusterTemplateTemplateRevisionQuestionArrayOutput { return o } -func (o ClusterV2RkeConfigMachinePoolOutput) ToClusterV2RkeConfigMachinePoolOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolOutput { +func (o ClusterTemplateTemplateRevisionQuestionArrayOutput) ToClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(ctx context.Context) ClusterTemplateTemplateRevisionQuestionArrayOutput { return o } -// Annotations for cluster registration token object (map) -func (o ClusterV2RkeConfigMachinePoolOutput) Annotations() pulumi.MapOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) +func (o ClusterTemplateTemplateRevisionQuestionArrayOutput) Index(i pulumi.IntInput) ClusterTemplateTemplateRevisionQuestionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterTemplateTemplateRevisionQuestion { + return vs[0].([]ClusterTemplateTemplateRevisionQuestion)[vs[1].(int)] + }).(ClusterTemplateTemplateRevisionQuestionOutput) } -// Cluster V2 cloud credential secret name (string) -func (o ClusterV2RkeConfigMachinePoolOutput) CloudCredentialSecretName() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) string { return v.CloudCredentialSecretName }).(pulumi.StringOutput) +type ClusterV2AgentEnvVar struct { + // Name of cluster registration token (string) + Name string `pulumi:"name"` + // The taint value (string) + Value string `pulumi:"value"` } -// Machine pool control plane role? (bool) -func (o ClusterV2RkeConfigMachinePoolOutput) ControlPlaneRole() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *bool { return v.ControlPlaneRole }).(pulumi.BoolPtrOutput) -} +// ClusterV2AgentEnvVarInput is an input type that accepts ClusterV2AgentEnvVarArgs and ClusterV2AgentEnvVarOutput values. +// You can construct a concrete instance of `ClusterV2AgentEnvVarInput` via: +// +// ClusterV2AgentEnvVarArgs{...} +type ClusterV2AgentEnvVarInput interface { + pulumi.Input -// Machine Pool Drain Before Delete? (bool) -func (o ClusterV2RkeConfigMachinePoolOutput) DrainBeforeDelete() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *bool { return v.DrainBeforeDelete }).(pulumi.BoolPtrOutput) + ToClusterV2AgentEnvVarOutput() ClusterV2AgentEnvVarOutput + ToClusterV2AgentEnvVarOutputWithContext(context.Context) ClusterV2AgentEnvVarOutput } -// Machine pool etcd role? (bool) -func (o ClusterV2RkeConfigMachinePoolOutput) EtcdRole() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *bool { return v.EtcdRole }).(pulumi.BoolPtrOutput) +type ClusterV2AgentEnvVarArgs struct { + // Name of cluster registration token (string) + Name pulumi.StringInput `pulumi:"name"` + // The taint value (string) + Value pulumi.StringInput `pulumi:"value"` } -// Labels for cluster registration token object (map) -func (o ClusterV2RkeConfigMachinePoolOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +func (ClusterV2AgentEnvVarArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2AgentEnvVar)(nil)).Elem() } -// Machine pool node config (list) -func (o ClusterV2RkeConfigMachinePoolOutput) MachineConfig() ClusterV2RkeConfigMachinePoolMachineConfigOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) ClusterV2RkeConfigMachinePoolMachineConfig { - return v.MachineConfig - }).(ClusterV2RkeConfigMachinePoolMachineConfigOutput) +func (i ClusterV2AgentEnvVarArgs) ToClusterV2AgentEnvVarOutput() ClusterV2AgentEnvVarOutput { + return i.ToClusterV2AgentEnvVarOutputWithContext(context.Background()) } -// Max unhealthy nodes for automated replacement to be allowed (string) -func (o ClusterV2RkeConfigMachinePoolOutput) MaxUnhealthy() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *string { return v.MaxUnhealthy }).(pulumi.StringPtrOutput) +func (i ClusterV2AgentEnvVarArgs) ToClusterV2AgentEnvVarOutputWithContext(ctx context.Context) ClusterV2AgentEnvVarOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2AgentEnvVarOutput) } -// Name of cluster registration token (string) -func (o ClusterV2RkeConfigMachinePoolOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) string { return v.Name }).(pulumi.StringOutput) -} +// ClusterV2AgentEnvVarArrayInput is an input type that accepts ClusterV2AgentEnvVarArray and ClusterV2AgentEnvVarArrayOutput values. +// You can construct a concrete instance of `ClusterV2AgentEnvVarArrayInput` via: +// +// ClusterV2AgentEnvVarArray{ ClusterV2AgentEnvVarArgs{...} } +type ClusterV2AgentEnvVarArrayInput interface { + pulumi.Input -// Seconds a machine has to drain before deletion (int) -func (o ClusterV2RkeConfigMachinePoolOutput) NodeDrainTimeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *int { return v.NodeDrainTimeout }).(pulumi.IntPtrOutput) + ToClusterV2AgentEnvVarArrayOutput() ClusterV2AgentEnvVarArrayOutput + ToClusterV2AgentEnvVarArrayOutputWithContext(context.Context) ClusterV2AgentEnvVarArrayOutput } -// Seconds a new node has to become active before it is replaced (int) -func (o ClusterV2RkeConfigMachinePoolOutput) NodeStartupTimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *int { return v.NodeStartupTimeoutSeconds }).(pulumi.IntPtrOutput) +type ClusterV2AgentEnvVarArray []ClusterV2AgentEnvVarInput + +func (ClusterV2AgentEnvVarArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2AgentEnvVar)(nil)).Elem() } -// Machine pool paused? (bool) -func (o ClusterV2RkeConfigMachinePoolOutput) Paused() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *bool { return v.Paused }).(pulumi.BoolPtrOutput) +func (i ClusterV2AgentEnvVarArray) ToClusterV2AgentEnvVarArrayOutput() ClusterV2AgentEnvVarArrayOutput { + return i.ToClusterV2AgentEnvVarArrayOutputWithContext(context.Background()) } -// Machine pool quantity (int) -func (o ClusterV2RkeConfigMachinePoolOutput) Quantity() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *int { return v.Quantity }).(pulumi.IntPtrOutput) +func (i ClusterV2AgentEnvVarArray) ToClusterV2AgentEnvVarArrayOutputWithContext(ctx context.Context) ClusterV2AgentEnvVarArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2AgentEnvVarArrayOutput) } -// Machine pool rolling update (List maxitems:1) -func (o ClusterV2RkeConfigMachinePoolOutput) RollingUpdate() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *ClusterV2RkeConfigMachinePoolRollingUpdate { - return v.RollingUpdate - }).(ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) +type ClusterV2AgentEnvVarOutput struct{ *pulumi.OutputState } + +func (ClusterV2AgentEnvVarOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2AgentEnvVar)(nil)).Elem() } -// Machine pool taints (list) -func (o ClusterV2RkeConfigMachinePoolOutput) Taints() ClusterV2RkeConfigMachinePoolTaintArrayOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) []ClusterV2RkeConfigMachinePoolTaint { return v.Taints }).(ClusterV2RkeConfigMachinePoolTaintArrayOutput) +func (o ClusterV2AgentEnvVarOutput) ToClusterV2AgentEnvVarOutput() ClusterV2AgentEnvVarOutput { + return o } -// Seconds an unhealthy node has to become active before it is replaced (int) -func (o ClusterV2RkeConfigMachinePoolOutput) UnhealthyNodeTimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *int { return v.UnhealthyNodeTimeoutSeconds }).(pulumi.IntPtrOutput) +func (o ClusterV2AgentEnvVarOutput) ToClusterV2AgentEnvVarOutputWithContext(ctx context.Context) ClusterV2AgentEnvVarOutput { + return o } -// Range of unhealthy nodes for automated replacement to be allowed (string) -func (o ClusterV2RkeConfigMachinePoolOutput) UnhealthyRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *string { return v.UnhealthyRange }).(pulumi.StringPtrOutput) +// Name of cluster registration token (string) +func (o ClusterV2AgentEnvVarOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2AgentEnvVar) string { return v.Name }).(pulumi.StringOutput) } -// Machine pool worker role? (bool) -func (o ClusterV2RkeConfigMachinePoolOutput) WorkerRole() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *bool { return v.WorkerRole }).(pulumi.BoolPtrOutput) +// The taint value (string) +func (o ClusterV2AgentEnvVarOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2AgentEnvVar) string { return v.Value }).(pulumi.StringOutput) } -type ClusterV2RkeConfigMachinePoolArrayOutput struct{ *pulumi.OutputState } +type ClusterV2AgentEnvVarArrayOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigMachinePoolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigMachinePool)(nil)).Elem() +func (ClusterV2AgentEnvVarArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2AgentEnvVar)(nil)).Elem() } -func (o ClusterV2RkeConfigMachinePoolArrayOutput) ToClusterV2RkeConfigMachinePoolArrayOutput() ClusterV2RkeConfigMachinePoolArrayOutput { +func (o ClusterV2AgentEnvVarArrayOutput) ToClusterV2AgentEnvVarArrayOutput() ClusterV2AgentEnvVarArrayOutput { return o } -func (o ClusterV2RkeConfigMachinePoolArrayOutput) ToClusterV2RkeConfigMachinePoolArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolArrayOutput { +func (o ClusterV2AgentEnvVarArrayOutput) ToClusterV2AgentEnvVarArrayOutputWithContext(ctx context.Context) ClusterV2AgentEnvVarArrayOutput { return o } -func (o ClusterV2RkeConfigMachinePoolArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigMachinePoolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigMachinePool { - return vs[0].([]ClusterV2RkeConfigMachinePool)[vs[1].(int)] - }).(ClusterV2RkeConfigMachinePoolOutput) +func (o ClusterV2AgentEnvVarArrayOutput) Index(i pulumi.IntInput) ClusterV2AgentEnvVarOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2AgentEnvVar { + return vs[0].([]ClusterV2AgentEnvVar)[vs[1].(int)] + }).(ClusterV2AgentEnvVarOutput) } -type ClusterV2RkeConfigMachinePoolMachineConfig struct { - // Machine config kind (string) - Kind string `pulumi:"kind"` +type ClusterV2ClusterRegistrationToken struct { + // Annotations for cluster registration token object (map) + Annotations map[string]interface{} `pulumi:"annotations"` + // Cluster ID (string) + ClusterId *string `pulumi:"clusterId"` + // Command to execute in a imported k8s cluster (string) + Command *string `pulumi:"command"` + // (Computed) The ID of the resource (string) + Id *string `pulumi:"id"` + // Insecure command to execute in a imported k8s cluster (string) + InsecureCommand *string `pulumi:"insecureCommand"` + // Insecure node command to execute in a imported k8s cluster (string) + InsecureNodeCommand *string `pulumi:"insecureNodeCommand"` + // Insecure windows command to execute in a imported k8s cluster (string) + InsecureWindowsNodeCommand *string `pulumi:"insecureWindowsNodeCommand"` + // Labels for cluster registration token object (map) + Labels map[string]interface{} `pulumi:"labels"` + // K8s manifest url to execute with `kubectl` to import an existing k8s cluster (string) + ManifestUrl *string `pulumi:"manifestUrl"` // Name of cluster registration token (string) - Name string `pulumi:"name"` + Name *string `pulumi:"name"` + // Node command to execute in linux nodes for custom k8s cluster (string) + NodeCommand *string `pulumi:"nodeCommand"` + // Token for cluster registration token object (string) + Token *string `pulumi:"token"` + // Node command to execute in windows nodes for custom k8s cluster (string) + WindowsNodeCommand *string `pulumi:"windowsNodeCommand"` } -// ClusterV2RkeConfigMachinePoolMachineConfigInput is an input type that accepts ClusterV2RkeConfigMachinePoolMachineConfigArgs and ClusterV2RkeConfigMachinePoolMachineConfigOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolMachineConfigInput` via: +// ClusterV2ClusterRegistrationTokenInput is an input type that accepts ClusterV2ClusterRegistrationTokenArgs and ClusterV2ClusterRegistrationTokenOutput values. +// You can construct a concrete instance of `ClusterV2ClusterRegistrationTokenInput` via: // -// ClusterV2RkeConfigMachinePoolMachineConfigArgs{...} -type ClusterV2RkeConfigMachinePoolMachineConfigInput interface { +// ClusterV2ClusterRegistrationTokenArgs{...} +type ClusterV2ClusterRegistrationTokenInput interface { pulumi.Input - ToClusterV2RkeConfigMachinePoolMachineConfigOutput() ClusterV2RkeConfigMachinePoolMachineConfigOutput - ToClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolMachineConfigOutput + ToClusterV2ClusterRegistrationTokenOutput() ClusterV2ClusterRegistrationTokenOutput + ToClusterV2ClusterRegistrationTokenOutputWithContext(context.Context) ClusterV2ClusterRegistrationTokenOutput } -type ClusterV2RkeConfigMachinePoolMachineConfigArgs struct { - // Machine config kind (string) - Kind pulumi.StringInput `pulumi:"kind"` +type ClusterV2ClusterRegistrationTokenArgs struct { + // Annotations for cluster registration token object (map) + Annotations pulumi.MapInput `pulumi:"annotations"` + // Cluster ID (string) + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + // Command to execute in a imported k8s cluster (string) + Command pulumi.StringPtrInput `pulumi:"command"` + // (Computed) The ID of the resource (string) + Id pulumi.StringPtrInput `pulumi:"id"` + // Insecure command to execute in a imported k8s cluster (string) + InsecureCommand pulumi.StringPtrInput `pulumi:"insecureCommand"` + // Insecure node command to execute in a imported k8s cluster (string) + InsecureNodeCommand pulumi.StringPtrInput `pulumi:"insecureNodeCommand"` + // Insecure windows command to execute in a imported k8s cluster (string) + InsecureWindowsNodeCommand pulumi.StringPtrInput `pulumi:"insecureWindowsNodeCommand"` + // Labels for cluster registration token object (map) + Labels pulumi.MapInput `pulumi:"labels"` + // K8s manifest url to execute with `kubectl` to import an existing k8s cluster (string) + ManifestUrl pulumi.StringPtrInput `pulumi:"manifestUrl"` // Name of cluster registration token (string) - Name pulumi.StringInput `pulumi:"name"` + Name pulumi.StringPtrInput `pulumi:"name"` + // Node command to execute in linux nodes for custom k8s cluster (string) + NodeCommand pulumi.StringPtrInput `pulumi:"nodeCommand"` + // Token for cluster registration token object (string) + Token pulumi.StringPtrInput `pulumi:"token"` + // Node command to execute in windows nodes for custom k8s cluster (string) + WindowsNodeCommand pulumi.StringPtrInput `pulumi:"windowsNodeCommand"` } -func (ClusterV2RkeConfigMachinePoolMachineConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolMachineConfig)(nil)).Elem() +func (ClusterV2ClusterRegistrationTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2ClusterRegistrationToken)(nil)).Elem() } -func (i ClusterV2RkeConfigMachinePoolMachineConfigArgs) ToClusterV2RkeConfigMachinePoolMachineConfigOutput() ClusterV2RkeConfigMachinePoolMachineConfigOutput { - return i.ToClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(context.Background()) +func (i ClusterV2ClusterRegistrationTokenArgs) ToClusterV2ClusterRegistrationTokenOutput() ClusterV2ClusterRegistrationTokenOutput { + return i.ToClusterV2ClusterRegistrationTokenOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigMachinePoolMachineConfigArgs) ToClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolMachineConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolMachineConfigOutput) +func (i ClusterV2ClusterRegistrationTokenArgs) ToClusterV2ClusterRegistrationTokenOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2ClusterRegistrationTokenOutput) } -type ClusterV2RkeConfigMachinePoolMachineConfigOutput struct{ *pulumi.OutputState } - -func (ClusterV2RkeConfigMachinePoolMachineConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolMachineConfig)(nil)).Elem() +func (i ClusterV2ClusterRegistrationTokenArgs) ToClusterV2ClusterRegistrationTokenPtrOutput() ClusterV2ClusterRegistrationTokenPtrOutput { + return i.ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigMachinePoolMachineConfigOutput) ToClusterV2RkeConfigMachinePoolMachineConfigOutput() ClusterV2RkeConfigMachinePoolMachineConfigOutput { - return o +func (i ClusterV2ClusterRegistrationTokenArgs) ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2ClusterRegistrationTokenOutput).ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(ctx) } -func (o ClusterV2RkeConfigMachinePoolMachineConfigOutput) ToClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolMachineConfigOutput { - return o -} +// ClusterV2ClusterRegistrationTokenPtrInput is an input type that accepts ClusterV2ClusterRegistrationTokenArgs, ClusterV2ClusterRegistrationTokenPtr and ClusterV2ClusterRegistrationTokenPtrOutput values. +// You can construct a concrete instance of `ClusterV2ClusterRegistrationTokenPtrInput` via: +// +// ClusterV2ClusterRegistrationTokenArgs{...} +// +// or: +// +// nil +type ClusterV2ClusterRegistrationTokenPtrInput interface { + pulumi.Input -// Machine config kind (string) -func (o ClusterV2RkeConfigMachinePoolMachineConfigOutput) Kind() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolMachineConfig) string { return v.Kind }).(pulumi.StringOutput) + ToClusterV2ClusterRegistrationTokenPtrOutput() ClusterV2ClusterRegistrationTokenPtrOutput + ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(context.Context) ClusterV2ClusterRegistrationTokenPtrOutput } -// Name of cluster registration token (string) -func (o ClusterV2RkeConfigMachinePoolMachineConfigOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolMachineConfig) string { return v.Name }).(pulumi.StringOutput) -} +type clusterV2ClusterRegistrationTokenPtrType ClusterV2ClusterRegistrationTokenArgs -type ClusterV2RkeConfigMachinePoolRollingUpdate struct { - // Rolling update max surge (string) - MaxSurge *string `pulumi:"maxSurge"` - // Rolling update max unavailable (string) - MaxUnavailable *string `pulumi:"maxUnavailable"` +func ClusterV2ClusterRegistrationTokenPtr(v *ClusterV2ClusterRegistrationTokenArgs) ClusterV2ClusterRegistrationTokenPtrInput { + return (*clusterV2ClusterRegistrationTokenPtrType)(v) } -// ClusterV2RkeConfigMachinePoolRollingUpdateInput is an input type that accepts ClusterV2RkeConfigMachinePoolRollingUpdateArgs and ClusterV2RkeConfigMachinePoolRollingUpdateOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolRollingUpdateInput` via: -// -// ClusterV2RkeConfigMachinePoolRollingUpdateArgs{...} -type ClusterV2RkeConfigMachinePoolRollingUpdateInput interface { - pulumi.Input - - ToClusterV2RkeConfigMachinePoolRollingUpdateOutput() ClusterV2RkeConfigMachinePoolRollingUpdateOutput - ToClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolRollingUpdateOutput +func (*clusterV2ClusterRegistrationTokenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2ClusterRegistrationToken)(nil)).Elem() } -type ClusterV2RkeConfigMachinePoolRollingUpdateArgs struct { - // Rolling update max surge (string) - MaxSurge pulumi.StringPtrInput `pulumi:"maxSurge"` - // Rolling update max unavailable (string) - MaxUnavailable pulumi.StringPtrInput `pulumi:"maxUnavailable"` +func (i *clusterV2ClusterRegistrationTokenPtrType) ToClusterV2ClusterRegistrationTokenPtrOutput() ClusterV2ClusterRegistrationTokenPtrOutput { + return i.ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(context.Background()) } -func (ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() +func (i *clusterV2ClusterRegistrationTokenPtrType) ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2ClusterRegistrationTokenPtrOutput) } -func (i ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToClusterV2RkeConfigMachinePoolRollingUpdateOutput() ClusterV2RkeConfigMachinePoolRollingUpdateOutput { - return i.ToClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(context.Background()) -} +type ClusterV2ClusterRegistrationTokenOutput struct{ *pulumi.OutputState } -func (i ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolRollingUpdateOutput) +func (ClusterV2ClusterRegistrationTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2ClusterRegistrationToken)(nil)).Elem() } -func (i ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return i.ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) +func (o ClusterV2ClusterRegistrationTokenOutput) ToClusterV2ClusterRegistrationTokenOutput() ClusterV2ClusterRegistrationTokenOutput { + return o } -func (i ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolRollingUpdateOutput).ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx) +func (o ClusterV2ClusterRegistrationTokenOutput) ToClusterV2ClusterRegistrationTokenOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenOutput { + return o } -// ClusterV2RkeConfigMachinePoolRollingUpdatePtrInput is an input type that accepts ClusterV2RkeConfigMachinePoolRollingUpdateArgs, ClusterV2RkeConfigMachinePoolRollingUpdatePtr and ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolRollingUpdatePtrInput` via: -// -// ClusterV2RkeConfigMachinePoolRollingUpdateArgs{...} -// -// or: -// -// nil -type ClusterV2RkeConfigMachinePoolRollingUpdatePtrInput interface { - pulumi.Input +func (o ClusterV2ClusterRegistrationTokenOutput) ToClusterV2ClusterRegistrationTokenPtrOutput() ClusterV2ClusterRegistrationTokenPtrOutput { + return o.ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(context.Background()) +} - ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput - ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput +func (o ClusterV2ClusterRegistrationTokenOutput) ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2ClusterRegistrationToken) *ClusterV2ClusterRegistrationToken { + return &v + }).(ClusterV2ClusterRegistrationTokenPtrOutput) } -type clusterV2RkeConfigMachinePoolRollingUpdatePtrType ClusterV2RkeConfigMachinePoolRollingUpdateArgs +// Annotations for cluster registration token object (map) +func (o ClusterV2ClusterRegistrationTokenOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) +} -func ClusterV2RkeConfigMachinePoolRollingUpdatePtr(v *ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ClusterV2RkeConfigMachinePoolRollingUpdatePtrInput { - return (*clusterV2RkeConfigMachinePoolRollingUpdatePtrType)(v) +// Cluster ID (string) +func (o ClusterV2ClusterRegistrationTokenOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.ClusterId }).(pulumi.StringPtrOutput) } -func (*clusterV2RkeConfigMachinePoolRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() +// Command to execute in a imported k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenOutput) Command() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.Command }).(pulumi.StringPtrOutput) } -func (i *clusterV2RkeConfigMachinePoolRollingUpdatePtrType) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return i.ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) +// (Computed) The ID of the resource (string) +func (o ClusterV2ClusterRegistrationTokenOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (i *clusterV2RkeConfigMachinePoolRollingUpdatePtrType) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) +// Insecure command to execute in a imported k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenOutput) InsecureCommand() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.InsecureCommand }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigMachinePoolRollingUpdateOutput struct{ *pulumi.OutputState } +// Insecure node command to execute in a imported k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenOutput) InsecureNodeCommand() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.InsecureNodeCommand }).(pulumi.StringPtrOutput) +} -func (ClusterV2RkeConfigMachinePoolRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() +// Insecure windows command to execute in a imported k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenOutput) InsecureWindowsNodeCommand() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.InsecureWindowsNodeCommand }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToClusterV2RkeConfigMachinePoolRollingUpdateOutput() ClusterV2RkeConfigMachinePoolRollingUpdateOutput { - return o +// Labels for cluster registration token object (map) +func (o ClusterV2ClusterRegistrationTokenOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdateOutput { - return o +// K8s manifest url to execute with `kubectl` to import an existing k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenOutput) ManifestUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.ManifestUrl }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return o.ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) +// Name of cluster registration token (string) +func (o ClusterV2ClusterRegistrationTokenOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigMachinePoolRollingUpdate) *ClusterV2RkeConfigMachinePoolRollingUpdate { - return &v - }).(ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) +// Node command to execute in linux nodes for custom k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenOutput) NodeCommand() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.NodeCommand }).(pulumi.StringPtrOutput) } -// Rolling update max surge (string) -func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) MaxSurge() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolRollingUpdate) *string { return v.MaxSurge }).(pulumi.StringPtrOutput) +// Token for cluster registration token object (string) +func (o ClusterV2ClusterRegistrationTokenOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.Token }).(pulumi.StringPtrOutput) } -// Rolling update max unavailable (string) -func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) MaxUnavailable() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolRollingUpdate) *string { return v.MaxUnavailable }).(pulumi.StringPtrOutput) +// Node command to execute in windows nodes for custom k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenOutput) WindowsNodeCommand() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2ClusterRegistrationToken) *string { return v.WindowsNodeCommand }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput struct{ *pulumi.OutputState } +type ClusterV2ClusterRegistrationTokenPtrOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() +func (ClusterV2ClusterRegistrationTokenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2ClusterRegistrationToken)(nil)).Elem() } -func (o ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { +func (o ClusterV2ClusterRegistrationTokenPtrOutput) ToClusterV2ClusterRegistrationTokenPtrOutput() ClusterV2ClusterRegistrationTokenPtrOutput { return o } -func (o ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { +func (o ClusterV2ClusterRegistrationTokenPtrOutput) ToClusterV2ClusterRegistrationTokenPtrOutputWithContext(ctx context.Context) ClusterV2ClusterRegistrationTokenPtrOutput { return o } -func (o ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) Elem() ClusterV2RkeConfigMachinePoolRollingUpdateOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigMachinePoolRollingUpdate) ClusterV2RkeConfigMachinePoolRollingUpdate { +func (o ClusterV2ClusterRegistrationTokenPtrOutput) Elem() ClusterV2ClusterRegistrationTokenOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) ClusterV2ClusterRegistrationToken { if v != nil { return *v } - var ret ClusterV2RkeConfigMachinePoolRollingUpdate + var ret ClusterV2ClusterRegistrationToken return ret - }).(ClusterV2RkeConfigMachinePoolRollingUpdateOutput) + }).(ClusterV2ClusterRegistrationTokenOutput) } -// Rolling update max surge (string) -func (o ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) MaxSurge() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigMachinePoolRollingUpdate) *string { +// Annotations for cluster registration token object (map) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) map[string]interface{} { if v == nil { return nil } - return v.MaxSurge - }).(pulumi.StringPtrOutput) + return v.Annotations + }).(pulumi.MapOutput) } -// Rolling update max unavailable (string) -func (o ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) MaxUnavailable() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigMachinePoolRollingUpdate) *string { +// Cluster ID (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { if v == nil { return nil } - return v.MaxUnavailable + return v.ClusterId }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigMachinePoolTaint struct { - // The taint effect. Default: `\"NoExecute\"` (string) - Effect *string `pulumi:"effect"` - // Machine selector label match expressions key (string) - Key string `pulumi:"key"` - // The taint value (string) - Value string `pulumi:"value"` -} - -// ClusterV2RkeConfigMachinePoolTaintInput is an input type that accepts ClusterV2RkeConfigMachinePoolTaintArgs and ClusterV2RkeConfigMachinePoolTaintOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolTaintInput` via: -// -// ClusterV2RkeConfigMachinePoolTaintArgs{...} -type ClusterV2RkeConfigMachinePoolTaintInput interface { - pulumi.Input - - ToClusterV2RkeConfigMachinePoolTaintOutput() ClusterV2RkeConfigMachinePoolTaintOutput - ToClusterV2RkeConfigMachinePoolTaintOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolTaintOutput +// Command to execute in a imported k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) Command() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { + if v == nil { + return nil + } + return v.Command + }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigMachinePoolTaintArgs struct { - // The taint effect. Default: `\"NoExecute\"` (string) - Effect pulumi.StringPtrInput `pulumi:"effect"` - // Machine selector label match expressions key (string) - Key pulumi.StringInput `pulumi:"key"` - // The taint value (string) - Value pulumi.StringInput `pulumi:"value"` +// (Computed) The ID of the resource (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) } -func (ClusterV2RkeConfigMachinePoolTaintArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() +// Insecure command to execute in a imported k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) InsecureCommand() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { + if v == nil { + return nil + } + return v.InsecureCommand + }).(pulumi.StringPtrOutput) } -func (i ClusterV2RkeConfigMachinePoolTaintArgs) ToClusterV2RkeConfigMachinePoolTaintOutput() ClusterV2RkeConfigMachinePoolTaintOutput { - return i.ToClusterV2RkeConfigMachinePoolTaintOutputWithContext(context.Background()) +// Insecure node command to execute in a imported k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) InsecureNodeCommand() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { + if v == nil { + return nil + } + return v.InsecureNodeCommand + }).(pulumi.StringPtrOutput) } -func (i ClusterV2RkeConfigMachinePoolTaintArgs) ToClusterV2RkeConfigMachinePoolTaintOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolTaintOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolTaintOutput) +// Insecure windows command to execute in a imported k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) InsecureWindowsNodeCommand() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { + if v == nil { + return nil + } + return v.InsecureWindowsNodeCommand + }).(pulumi.StringPtrOutput) } -// ClusterV2RkeConfigMachinePoolTaintArrayInput is an input type that accepts ClusterV2RkeConfigMachinePoolTaintArray and ClusterV2RkeConfigMachinePoolTaintArrayOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolTaintArrayInput` via: -// -// ClusterV2RkeConfigMachinePoolTaintArray{ ClusterV2RkeConfigMachinePoolTaintArgs{...} } -type ClusterV2RkeConfigMachinePoolTaintArrayInput interface { - pulumi.Input - - ToClusterV2RkeConfigMachinePoolTaintArrayOutput() ClusterV2RkeConfigMachinePoolTaintArrayOutput - ToClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolTaintArrayOutput +// Labels for cluster registration token object (map) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) map[string]interface{} { + if v == nil { + return nil + } + return v.Labels + }).(pulumi.MapOutput) } -type ClusterV2RkeConfigMachinePoolTaintArray []ClusterV2RkeConfigMachinePoolTaintInput - -func (ClusterV2RkeConfigMachinePoolTaintArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() +// K8s manifest url to execute with `kubectl` to import an existing k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) ManifestUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { + if v == nil { + return nil + } + return v.ManifestUrl + }).(pulumi.StringPtrOutput) } -func (i ClusterV2RkeConfigMachinePoolTaintArray) ToClusterV2RkeConfigMachinePoolTaintArrayOutput() ClusterV2RkeConfigMachinePoolTaintArrayOutput { - return i.ToClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(context.Background()) +// Name of cluster registration token (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (i ClusterV2RkeConfigMachinePoolTaintArray) ToClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolTaintArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolTaintArrayOutput) +// Node command to execute in linux nodes for custom k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) NodeCommand() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { + if v == nil { + return nil + } + return v.NodeCommand + }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigMachinePoolTaintOutput struct{ *pulumi.OutputState } - -func (ClusterV2RkeConfigMachinePoolTaintOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() +// Token for cluster registration token object (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { + if v == nil { + return nil + } + return v.Token + }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigMachinePoolTaintOutput) ToClusterV2RkeConfigMachinePoolTaintOutput() ClusterV2RkeConfigMachinePoolTaintOutput { - return o +// Node command to execute in windows nodes for custom k8s cluster (string) +func (o ClusterV2ClusterRegistrationTokenPtrOutput) WindowsNodeCommand() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2ClusterRegistrationToken) *string { + if v == nil { + return nil + } + return v.WindowsNodeCommand + }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigMachinePoolTaintOutput) ToClusterV2RkeConfigMachinePoolTaintOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolTaintOutput { - return o +type ClusterV2LocalAuthEndpoint struct { + // CA certs for the authorized cluster endpoint (string) + CaCerts *string `pulumi:"caCerts"` + // Drain options enabled? Default `true` (bool) + Enabled *bool `pulumi:"enabled"` + // FQDN for the authorized cluster endpoint (string) + Fqdn *string `pulumi:"fqdn"` } -// The taint effect. Default: `\"NoExecute\"` (string) -func (o ClusterV2RkeConfigMachinePoolTaintOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) -} +// ClusterV2LocalAuthEndpointInput is an input type that accepts ClusterV2LocalAuthEndpointArgs and ClusterV2LocalAuthEndpointOutput values. +// You can construct a concrete instance of `ClusterV2LocalAuthEndpointInput` via: +// +// ClusterV2LocalAuthEndpointArgs{...} +type ClusterV2LocalAuthEndpointInput interface { + pulumi.Input -// Machine selector label match expressions key (string) -func (o ClusterV2RkeConfigMachinePoolTaintOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolTaint) string { return v.Key }).(pulumi.StringOutput) + ToClusterV2LocalAuthEndpointOutput() ClusterV2LocalAuthEndpointOutput + ToClusterV2LocalAuthEndpointOutputWithContext(context.Context) ClusterV2LocalAuthEndpointOutput } -// The taint value (string) -func (o ClusterV2RkeConfigMachinePoolTaintOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolTaint) string { return v.Value }).(pulumi.StringOutput) +type ClusterV2LocalAuthEndpointArgs struct { + // CA certs for the authorized cluster endpoint (string) + CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` + // Drain options enabled? Default `true` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // FQDN for the authorized cluster endpoint (string) + Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` } -type ClusterV2RkeConfigMachinePoolTaintArrayOutput struct{ *pulumi.OutputState } - -func (ClusterV2RkeConfigMachinePoolTaintArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() +func (ClusterV2LocalAuthEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2LocalAuthEndpoint)(nil)).Elem() } -func (o ClusterV2RkeConfigMachinePoolTaintArrayOutput) ToClusterV2RkeConfigMachinePoolTaintArrayOutput() ClusterV2RkeConfigMachinePoolTaintArrayOutput { - return o +func (i ClusterV2LocalAuthEndpointArgs) ToClusterV2LocalAuthEndpointOutput() ClusterV2LocalAuthEndpointOutput { + return i.ToClusterV2LocalAuthEndpointOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigMachinePoolTaintArrayOutput) ToClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolTaintArrayOutput { - return o +func (i ClusterV2LocalAuthEndpointArgs) ToClusterV2LocalAuthEndpointOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2LocalAuthEndpointOutput) } -func (o ClusterV2RkeConfigMachinePoolTaintArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigMachinePoolTaintOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigMachinePoolTaint { - return vs[0].([]ClusterV2RkeConfigMachinePoolTaint)[vs[1].(int)] - }).(ClusterV2RkeConfigMachinePoolTaintOutput) +func (i ClusterV2LocalAuthEndpointArgs) ToClusterV2LocalAuthEndpointPtrOutput() ClusterV2LocalAuthEndpointPtrOutput { + return i.ToClusterV2LocalAuthEndpointPtrOutputWithContext(context.Background()) } -type ClusterV2RkeConfigMachineSelectorConfig struct { - // Machine selector config (map) - Config map[string]interface{} `pulumi:"config"` - // Machine selector label (list maxitems:1) - MachineLabelSelector *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector `pulumi:"machineLabelSelector"` +func (i ClusterV2LocalAuthEndpointArgs) ToClusterV2LocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2LocalAuthEndpointOutput).ToClusterV2LocalAuthEndpointPtrOutputWithContext(ctx) } -// ClusterV2RkeConfigMachineSelectorConfigInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigArgs and ClusterV2RkeConfigMachineSelectorConfigOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigInput` via: +// ClusterV2LocalAuthEndpointPtrInput is an input type that accepts ClusterV2LocalAuthEndpointArgs, ClusterV2LocalAuthEndpointPtr and ClusterV2LocalAuthEndpointPtrOutput values. +// You can construct a concrete instance of `ClusterV2LocalAuthEndpointPtrInput` via: // -// ClusterV2RkeConfigMachineSelectorConfigArgs{...} -type ClusterV2RkeConfigMachineSelectorConfigInput interface { +// ClusterV2LocalAuthEndpointArgs{...} +// +// or: +// +// nil +type ClusterV2LocalAuthEndpointPtrInput interface { pulumi.Input - ToClusterV2RkeConfigMachineSelectorConfigOutput() ClusterV2RkeConfigMachineSelectorConfigOutput - ToClusterV2RkeConfigMachineSelectorConfigOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigOutput + ToClusterV2LocalAuthEndpointPtrOutput() ClusterV2LocalAuthEndpointPtrOutput + ToClusterV2LocalAuthEndpointPtrOutputWithContext(context.Context) ClusterV2LocalAuthEndpointPtrOutput } -type ClusterV2RkeConfigMachineSelectorConfigArgs struct { - // Machine selector config (map) - Config pulumi.MapInput `pulumi:"config"` - // Machine selector label (list maxitems:1) - MachineLabelSelector ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput `pulumi:"machineLabelSelector"` -} +type clusterV2LocalAuthEndpointPtrType ClusterV2LocalAuthEndpointArgs -func (ClusterV2RkeConfigMachineSelectorConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() +func ClusterV2LocalAuthEndpointPtr(v *ClusterV2LocalAuthEndpointArgs) ClusterV2LocalAuthEndpointPtrInput { + return (*clusterV2LocalAuthEndpointPtrType)(v) } -func (i ClusterV2RkeConfigMachineSelectorConfigArgs) ToClusterV2RkeConfigMachineSelectorConfigOutput() ClusterV2RkeConfigMachineSelectorConfigOutput { - return i.ToClusterV2RkeConfigMachineSelectorConfigOutputWithContext(context.Background()) +func (*clusterV2LocalAuthEndpointPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2LocalAuthEndpoint)(nil)).Elem() } -func (i ClusterV2RkeConfigMachineSelectorConfigArgs) ToClusterV2RkeConfigMachineSelectorConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigOutput) +func (i *clusterV2LocalAuthEndpointPtrType) ToClusterV2LocalAuthEndpointPtrOutput() ClusterV2LocalAuthEndpointPtrOutput { + return i.ToClusterV2LocalAuthEndpointPtrOutputWithContext(context.Background()) } -// ClusterV2RkeConfigMachineSelectorConfigArrayInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigArray and ClusterV2RkeConfigMachineSelectorConfigArrayOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigArrayInput` via: -// -// ClusterV2RkeConfigMachineSelectorConfigArray{ ClusterV2RkeConfigMachineSelectorConfigArgs{...} } -type ClusterV2RkeConfigMachineSelectorConfigArrayInput interface { - pulumi.Input - - ToClusterV2RkeConfigMachineSelectorConfigArrayOutput() ClusterV2RkeConfigMachineSelectorConfigArrayOutput - ToClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigArrayOutput +func (i *clusterV2LocalAuthEndpointPtrType) ToClusterV2LocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2LocalAuthEndpointPtrOutput) } -type ClusterV2RkeConfigMachineSelectorConfigArray []ClusterV2RkeConfigMachineSelectorConfigInput +type ClusterV2LocalAuthEndpointOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigMachineSelectorConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() +func (ClusterV2LocalAuthEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2LocalAuthEndpoint)(nil)).Elem() } -func (i ClusterV2RkeConfigMachineSelectorConfigArray) ToClusterV2RkeConfigMachineSelectorConfigArrayOutput() ClusterV2RkeConfigMachineSelectorConfigArrayOutput { - return i.ToClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(context.Background()) +func (o ClusterV2LocalAuthEndpointOutput) ToClusterV2LocalAuthEndpointOutput() ClusterV2LocalAuthEndpointOutput { + return o } -func (i ClusterV2RkeConfigMachineSelectorConfigArray) ToClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigArrayOutput) +func (o ClusterV2LocalAuthEndpointOutput) ToClusterV2LocalAuthEndpointOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointOutput { + return o } -type ClusterV2RkeConfigMachineSelectorConfigOutput struct{ *pulumi.OutputState } - -func (ClusterV2RkeConfigMachineSelectorConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() +func (o ClusterV2LocalAuthEndpointOutput) ToClusterV2LocalAuthEndpointPtrOutput() ClusterV2LocalAuthEndpointPtrOutput { + return o.ToClusterV2LocalAuthEndpointPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigMachineSelectorConfigOutput) ToClusterV2RkeConfigMachineSelectorConfigOutput() ClusterV2RkeConfigMachineSelectorConfigOutput { - return o +func (o ClusterV2LocalAuthEndpointOutput) ToClusterV2LocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2LocalAuthEndpoint) *ClusterV2LocalAuthEndpoint { + return &v + }).(ClusterV2LocalAuthEndpointPtrOutput) } -func (o ClusterV2RkeConfigMachineSelectorConfigOutput) ToClusterV2RkeConfigMachineSelectorConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigOutput { - return o +// CA certs for the authorized cluster endpoint (string) +func (o ClusterV2LocalAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2LocalAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) } -// Machine selector config (map) -func (o ClusterV2RkeConfigMachineSelectorConfigOutput) Config() pulumi.MapOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfig) map[string]interface{} { return v.Config }).(pulumi.MapOutput) +// Drain options enabled? Default `true` (bool) +func (o ClusterV2LocalAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2LocalAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -// Machine selector label (list maxitems:1) -func (o ClusterV2RkeConfigMachineSelectorConfigOutput) MachineLabelSelector() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfig) *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { - return v.MachineLabelSelector - }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) +// FQDN for the authorized cluster endpoint (string) +func (o ClusterV2LocalAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2LocalAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigMachineSelectorConfigArrayOutput struct{ *pulumi.OutputState } +type ClusterV2LocalAuthEndpointPtrOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigMachineSelectorConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() +func (ClusterV2LocalAuthEndpointPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2LocalAuthEndpoint)(nil)).Elem() } -func (o ClusterV2RkeConfigMachineSelectorConfigArrayOutput) ToClusterV2RkeConfigMachineSelectorConfigArrayOutput() ClusterV2RkeConfigMachineSelectorConfigArrayOutput { +func (o ClusterV2LocalAuthEndpointPtrOutput) ToClusterV2LocalAuthEndpointPtrOutput() ClusterV2LocalAuthEndpointPtrOutput { return o } -func (o ClusterV2RkeConfigMachineSelectorConfigArrayOutput) ToClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigArrayOutput { +func (o ClusterV2LocalAuthEndpointPtrOutput) ToClusterV2LocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2LocalAuthEndpointPtrOutput { return o } -func (o ClusterV2RkeConfigMachineSelectorConfigArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigMachineSelectorConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigMachineSelectorConfig { - return vs[0].([]ClusterV2RkeConfigMachineSelectorConfig)[vs[1].(int)] - }).(ClusterV2RkeConfigMachineSelectorConfigOutput) +func (o ClusterV2LocalAuthEndpointPtrOutput) Elem() ClusterV2LocalAuthEndpointOutput { + return o.ApplyT(func(v *ClusterV2LocalAuthEndpoint) ClusterV2LocalAuthEndpoint { + if v != nil { + return *v + } + var ret ClusterV2LocalAuthEndpoint + return ret + }).(ClusterV2LocalAuthEndpointOutput) } -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector struct { - // Machine selector label match expressions (list) - MatchExpressions []ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression `pulumi:"matchExpressions"` - // Machine selector label match labels (map) - MatchLabels map[string]interface{} `pulumi:"matchLabels"` +// CA certs for the authorized cluster endpoint (string) +func (o ClusterV2LocalAuthEndpointPtrOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2LocalAuthEndpoint) *string { + if v == nil { + return nil + } + return v.CaCerts + }).(pulumi.StringPtrOutput) } -// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs and ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput` via: +// Drain options enabled? Default `true` (bool) +func (o ClusterV2LocalAuthEndpointPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2LocalAuthEndpoint) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) +} + +// FQDN for the authorized cluster endpoint (string) +func (o ClusterV2LocalAuthEndpointPtrOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2LocalAuthEndpoint) *string { + if v == nil { + return nil + } + return v.Fqdn + }).(pulumi.StringPtrOutput) +} + +type ClusterV2RkeConfig struct { + // Cluster V2 additional manifest (string) + AdditionalManifest *string `pulumi:"additionalManifest"` + // Cluster V2 chart values. Must be in YAML format (string) + ChartValues *string `pulumi:"chartValues"` + // Cluster V2 etcd (list maxitems:1) + Etcd *ClusterV2RkeConfigEtcd `pulumi:"etcd"` + // Cluster V2 etcd snapshot create (list maxitems:1) + EtcdSnapshotCreate *ClusterV2RkeConfigEtcdSnapshotCreate `pulumi:"etcdSnapshotCreate"` + // Cluster V2 etcd snapshot restore (list maxitems:1) + EtcdSnapshotRestore *ClusterV2RkeConfigEtcdSnapshotRestore `pulumi:"etcdSnapshotRestore"` + // Use rancher2_cluster_v2.local_auth_endpoint instead + // + // Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead + LocalAuthEndpoint *ClusterV2RkeConfigLocalAuthEndpoint `pulumi:"localAuthEndpoint"` + // Cluster V2 machine global config. Must be in YAML format (string) + MachineGlobalConfig *string `pulumi:"machineGlobalConfig"` + // Cluster V2 machine pools (list) + MachinePools []ClusterV2RkeConfigMachinePool `pulumi:"machinePools"` + // Cluster V2 machine selector config (list) + MachineSelectorConfigs []ClusterV2RkeConfigMachineSelectorConfig `pulumi:"machineSelectorConfigs"` + // Cluster V2 docker registries (list maxitems:1) + Registries *ClusterV2RkeConfigRegistries `pulumi:"registries"` + // Cluster V2 certificate rotation (list maxitems:1) + RotateCertificates *ClusterV2RkeConfigRotateCertificates `pulumi:"rotateCertificates"` + // Cluster V2 upgrade strategy (list maxitems:1) + UpgradeStrategy *ClusterV2RkeConfigUpgradeStrategy `pulumi:"upgradeStrategy"` +} + +// ClusterV2RkeConfigInput is an input type that accepts ClusterV2RkeConfigArgs and ClusterV2RkeConfigOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigInput` via: // -// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs{...} -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput interface { +// ClusterV2RkeConfigArgs{...} +type ClusterV2RkeConfigInput interface { pulumi.Input - ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput - ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput + ToClusterV2RkeConfigOutput() ClusterV2RkeConfigOutput + ToClusterV2RkeConfigOutputWithContext(context.Context) ClusterV2RkeConfigOutput } -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs struct { - // Machine selector label match expressions (list) - MatchExpressions ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput `pulumi:"matchExpressions"` - // Machine selector label match labels (map) - MatchLabels pulumi.MapInput `pulumi:"matchLabels"` +type ClusterV2RkeConfigArgs struct { + // Cluster V2 additional manifest (string) + AdditionalManifest pulumi.StringPtrInput `pulumi:"additionalManifest"` + // Cluster V2 chart values. Must be in YAML format (string) + ChartValues pulumi.StringPtrInput `pulumi:"chartValues"` + // Cluster V2 etcd (list maxitems:1) + Etcd ClusterV2RkeConfigEtcdPtrInput `pulumi:"etcd"` + // Cluster V2 etcd snapshot create (list maxitems:1) + EtcdSnapshotCreate ClusterV2RkeConfigEtcdSnapshotCreatePtrInput `pulumi:"etcdSnapshotCreate"` + // Cluster V2 etcd snapshot restore (list maxitems:1) + EtcdSnapshotRestore ClusterV2RkeConfigEtcdSnapshotRestorePtrInput `pulumi:"etcdSnapshotRestore"` + // Use rancher2_cluster_v2.local_auth_endpoint instead + // + // Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead + LocalAuthEndpoint ClusterV2RkeConfigLocalAuthEndpointPtrInput `pulumi:"localAuthEndpoint"` + // Cluster V2 machine global config. Must be in YAML format (string) + MachineGlobalConfig pulumi.StringPtrInput `pulumi:"machineGlobalConfig"` + // Cluster V2 machine pools (list) + MachinePools ClusterV2RkeConfigMachinePoolArrayInput `pulumi:"machinePools"` + // Cluster V2 machine selector config (list) + MachineSelectorConfigs ClusterV2RkeConfigMachineSelectorConfigArrayInput `pulumi:"machineSelectorConfigs"` + // Cluster V2 docker registries (list maxitems:1) + Registries ClusterV2RkeConfigRegistriesPtrInput `pulumi:"registries"` + // Cluster V2 certificate rotation (list maxitems:1) + RotateCertificates ClusterV2RkeConfigRotateCertificatesPtrInput `pulumi:"rotateCertificates"` + // Cluster V2 upgrade strategy (list maxitems:1) + UpgradeStrategy ClusterV2RkeConfigUpgradeStrategyPtrInput `pulumi:"upgradeStrategy"` } -func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() +func (ClusterV2RkeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfig)(nil)).Elem() } -func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { - return i.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigArgs) ToClusterV2RkeConfigOutput() ClusterV2RkeConfigOutput { + return i.ToClusterV2RkeConfigOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) +func (i ClusterV2RkeConfigArgs) ToClusterV2RkeConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigOutput) } -func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return i.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigArgs) ToClusterV2RkeConfigPtrOutput() ClusterV2RkeConfigPtrOutput { + return i.ToClusterV2RkeConfigPtrOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput).ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigArgs) ToClusterV2RkeConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigOutput).ToClusterV2RkeConfigPtrOutputWithContext(ctx) } -// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs, ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtr and ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput` via: +// ClusterV2RkeConfigPtrInput is an input type that accepts ClusterV2RkeConfigArgs, ClusterV2RkeConfigPtr and ClusterV2RkeConfigPtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigPtrInput` via: // -// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs{...} +// ClusterV2RkeConfigArgs{...} // // or: // // nil -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput interface { +type ClusterV2RkeConfigPtrInput interface { pulumi.Input - ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput - ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput + ToClusterV2RkeConfigPtrOutput() ClusterV2RkeConfigPtrOutput + ToClusterV2RkeConfigPtrOutputWithContext(context.Context) ClusterV2RkeConfigPtrOutput } -type clusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs +type clusterV2RkeConfigPtrType ClusterV2RkeConfigArgs -func ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtr(v *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput { - return (*clusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType)(v) +func ClusterV2RkeConfigPtr(v *ClusterV2RkeConfigArgs) ClusterV2RkeConfigPtrInput { + return (*clusterV2RkeConfigPtrType)(v) } -func (*clusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() +func (*clusterV2RkeConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfig)(nil)).Elem() } -func (i *clusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return i.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) +func (i *clusterV2RkeConfigPtrType) ToClusterV2RkeConfigPtrOutput() ClusterV2RkeConfigPtrOutput { + return i.ToClusterV2RkeConfigPtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) +func (i *clusterV2RkeConfigPtrType) ToClusterV2RkeConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigPtrOutput) } -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() +func (ClusterV2RkeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfig)(nil)).Elem() } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { +func (o ClusterV2RkeConfigOutput) ToClusterV2RkeConfigOutput() ClusterV2RkeConfigOutput { return o } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { +func (o ClusterV2RkeConfigOutput) ToClusterV2RkeConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigOutput { return o } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return o.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigOutput) ToClusterV2RkeConfigPtrOutput() ClusterV2RkeConfigPtrOutput { + return o.ToClusterV2RkeConfigPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { +func (o ClusterV2RkeConfigOutput) ToClusterV2RkeConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfig) *ClusterV2RkeConfig { return &v - }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) + }).(ClusterV2RkeConfigPtrOutput) } -// Machine selector label match expressions (list) -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) MatchExpressions() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) []ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { - return v.MatchExpressions - }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) +// Cluster V2 additional manifest (string) +func (o ClusterV2RkeConfigOutput) AdditionalManifest() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) *string { return v.AdditionalManifest }).(pulumi.StringPtrOutput) } -// Machine selector label match labels (map) -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) MatchLabels() pulumi.MapOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) map[string]interface{} { - return v.MatchLabels - }).(pulumi.MapOutput) -} - -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput struct{ *pulumi.OutputState } - -func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() -} - -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return o +// Cluster V2 chart values. Must be in YAML format (string) +func (o ClusterV2RkeConfigOutput) ChartValues() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) *string { return v.ChartValues }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return o +// Cluster V2 etcd (list maxitems:1) +func (o ClusterV2RkeConfigOutput) Etcd() ClusterV2RkeConfigEtcdPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigEtcd { return v.Etcd }).(ClusterV2RkeConfigEtcdPtrOutput) } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) Elem() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { - if v != nil { - return *v - } - var ret ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector - return ret - }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) +// Cluster V2 etcd snapshot create (list maxitems:1) +func (o ClusterV2RkeConfigOutput) EtcdSnapshotCreate() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigEtcdSnapshotCreate { return v.EtcdSnapshotCreate }).(ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) } -// Machine selector label match expressions (list) -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) MatchExpressions() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) []ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { - if v == nil { - return nil - } - return v.MatchExpressions - }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) +// Cluster V2 etcd snapshot restore (list maxitems:1) +func (o ClusterV2RkeConfigOutput) EtcdSnapshotRestore() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigEtcdSnapshotRestore { return v.EtcdSnapshotRestore }).(ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) } -// Machine selector label match labels (map) -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) MatchLabels() pulumi.MapOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) map[string]interface{} { - if v == nil { - return nil - } - return v.MatchLabels - }).(pulumi.MapOutput) +// Use rancher2_cluster_v2.local_auth_endpoint instead +// +// Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead +func (o ClusterV2RkeConfigOutput) LocalAuthEndpoint() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigLocalAuthEndpoint { return v.LocalAuthEndpoint }).(ClusterV2RkeConfigLocalAuthEndpointPtrOutput) } -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression struct { - // Machine selector label match expressions key (string) - Key *string `pulumi:"key"` - // Machine selector label match expressions operator (string) - Operator *string `pulumi:"operator"` - // Machine selector label match expressions values (List string) - Values []string `pulumi:"values"` +// Cluster V2 machine global config. Must be in YAML format (string) +func (o ClusterV2RkeConfigOutput) MachineGlobalConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) *string { return v.MachineGlobalConfig }).(pulumi.StringPtrOutput) } -// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs and ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput` via: -// -// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs{...} -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput interface { - pulumi.Input - - ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput - ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput +// Cluster V2 machine pools (list) +func (o ClusterV2RkeConfigOutput) MachinePools() ClusterV2RkeConfigMachinePoolArrayOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) []ClusterV2RkeConfigMachinePool { return v.MachinePools }).(ClusterV2RkeConfigMachinePoolArrayOutput) } -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs struct { - // Machine selector label match expressions key (string) - Key pulumi.StringPtrInput `pulumi:"key"` - // Machine selector label match expressions operator (string) - Operator pulumi.StringPtrInput `pulumi:"operator"` - // Machine selector label match expressions values (List string) - Values pulumi.StringArrayInput `pulumi:"values"` +// Cluster V2 machine selector config (list) +func (o ClusterV2RkeConfigOutput) MachineSelectorConfigs() ClusterV2RkeConfigMachineSelectorConfigArrayOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) []ClusterV2RkeConfigMachineSelectorConfig { return v.MachineSelectorConfigs }).(ClusterV2RkeConfigMachineSelectorConfigArrayOutput) } -func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() +// Cluster V2 docker registries (list maxitems:1) +func (o ClusterV2RkeConfigOutput) Registries() ClusterV2RkeConfigRegistriesPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigRegistries { return v.Registries }).(ClusterV2RkeConfigRegistriesPtrOutput) } -func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { - return i.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(context.Background()) +// Cluster V2 certificate rotation (list maxitems:1) +func (o ClusterV2RkeConfigOutput) RotateCertificates() ClusterV2RkeConfigRotateCertificatesPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigRotateCertificates { return v.RotateCertificates }).(ClusterV2RkeConfigRotateCertificatesPtrOutput) } -func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) +// Cluster V2 upgrade strategy (list maxitems:1) +func (o ClusterV2RkeConfigOutput) UpgradeStrategy() ClusterV2RkeConfigUpgradeStrategyPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfig) *ClusterV2RkeConfigUpgradeStrategy { return v.UpgradeStrategy }).(ClusterV2RkeConfigUpgradeStrategyPtrOutput) } -// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray and ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput` via: -// -// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray{ ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs{...} } -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput interface { - pulumi.Input +type ClusterV2RkeConfigPtrOutput struct{ *pulumi.OutputState } - ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput - ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput +func (ClusterV2RkeConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfig)(nil)).Elem() } -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray []ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput +func (o ClusterV2RkeConfigPtrOutput) ToClusterV2RkeConfigPtrOutput() ClusterV2RkeConfigPtrOutput { + return o +} -func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() +func (o ClusterV2RkeConfigPtrOutput) ToClusterV2RkeConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigPtrOutput { + return o } -func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return i.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigPtrOutput) Elem() ClusterV2RkeConfigOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) ClusterV2RkeConfig { + if v != nil { + return *v + } + var ret ClusterV2RkeConfig + return ret + }).(ClusterV2RkeConfigOutput) } -func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) +// Cluster V2 additional manifest (string) +func (o ClusterV2RkeConfigPtrOutput) AdditionalManifest() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) *string { + if v == nil { + return nil + } + return v.AdditionalManifest + }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput struct{ *pulumi.OutputState } +// Cluster V2 chart values. Must be in YAML format (string) +func (o ClusterV2RkeConfigPtrOutput) ChartValues() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) *string { + if v == nil { + return nil + } + return v.ChartValues + }).(pulumi.StringPtrOutput) +} -func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() +// Cluster V2 etcd (list maxitems:1) +func (o ClusterV2RkeConfigPtrOutput) Etcd() ClusterV2RkeConfigEtcdPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigEtcd { + if v == nil { + return nil + } + return v.Etcd + }).(ClusterV2RkeConfigEtcdPtrOutput) } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { - return o +// Cluster V2 etcd snapshot create (list maxitems:1) +func (o ClusterV2RkeConfigPtrOutput) EtcdSnapshotCreate() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigEtcdSnapshotCreate { + if v == nil { + return nil + } + return v.EtcdSnapshotCreate + }).(ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { - return o +// Cluster V2 etcd snapshot restore (list maxitems:1) +func (o ClusterV2RkeConfigPtrOutput) EtcdSnapshotRestore() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigEtcdSnapshotRestore { + if v == nil { + return nil + } + return v.EtcdSnapshotRestore + }).(ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) } -// Machine selector label match expressions key (string) -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) *string { - return v.Key - }).(pulumi.StringPtrOutput) +// Use rancher2_cluster_v2.local_auth_endpoint instead +// +// Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead +func (o ClusterV2RkeConfigPtrOutput) LocalAuthEndpoint() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigLocalAuthEndpoint { + if v == nil { + return nil + } + return v.LocalAuthEndpoint + }).(ClusterV2RkeConfigLocalAuthEndpointPtrOutput) } -// Machine selector label match expressions operator (string) -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) *string { - return v.Operator +// Cluster V2 machine global config. Must be in YAML format (string) +func (o ClusterV2RkeConfigPtrOutput) MachineGlobalConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) *string { + if v == nil { + return nil + } + return v.MachineGlobalConfig }).(pulumi.StringPtrOutput) } -// Machine selector label match expressions values (List string) -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) []string { - return v.Values - }).(pulumi.StringArrayOutput) +// Cluster V2 machine pools (list) +func (o ClusterV2RkeConfigPtrOutput) MachinePools() ClusterV2RkeConfigMachinePoolArrayOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) []ClusterV2RkeConfigMachinePool { + if v == nil { + return nil + } + return v.MachinePools + }).(ClusterV2RkeConfigMachinePoolArrayOutput) } -type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput struct{ *pulumi.OutputState } - -func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() +// Cluster V2 machine selector config (list) +func (o ClusterV2RkeConfigPtrOutput) MachineSelectorConfigs() ClusterV2RkeConfigMachineSelectorConfigArrayOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) []ClusterV2RkeConfigMachineSelectorConfig { + if v == nil { + return nil + } + return v.MachineSelectorConfigs + }).(ClusterV2RkeConfigMachineSelectorConfigArrayOutput) } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return o +// Cluster V2 docker registries (list maxitems:1) +func (o ClusterV2RkeConfigPtrOutput) Registries() ClusterV2RkeConfigRegistriesPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigRegistries { + if v == nil { + return nil + } + return v.Registries + }).(ClusterV2RkeConfigRegistriesPtrOutput) } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return o +// Cluster V2 certificate rotation (list maxitems:1) +func (o ClusterV2RkeConfigPtrOutput) RotateCertificates() ClusterV2RkeConfigRotateCertificatesPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigRotateCertificates { + if v == nil { + return nil + } + return v.RotateCertificates + }).(ClusterV2RkeConfigRotateCertificatesPtrOutput) } -func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { - return vs[0].([]ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)[vs[1].(int)] - }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) +// Cluster V2 upgrade strategy (list maxitems:1) +func (o ClusterV2RkeConfigPtrOutput) UpgradeStrategy() ClusterV2RkeConfigUpgradeStrategyPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfig) *ClusterV2RkeConfigUpgradeStrategy { + if v == nil { + return nil + } + return v.UpgradeStrategy + }).(ClusterV2RkeConfigUpgradeStrategyPtrOutput) } -type ClusterV2RkeConfigRegistries struct { - // Cluster V2 docker registries config (list) - Configs []ClusterV2RkeConfigRegistriesConfig `pulumi:"configs"` - // Cluster V2 docker registries mirror (list) - Mirrors []ClusterV2RkeConfigRegistriesMirror `pulumi:"mirrors"` +type ClusterV2RkeConfigEtcd struct { + // Disable ETCD snapshots. Default: `false` (bool) + DisableSnapshots *bool `pulumi:"disableSnapshots"` + // Creation option for etcd service (list maxitems:1) + S3Config *ClusterV2RkeConfigEtcdS3Config `pulumi:"s3Config"` + // ETCD snapshot retention (int) + SnapshotRetention *int `pulumi:"snapshotRetention"` + // ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) + SnapshotScheduleCron *string `pulumi:"snapshotScheduleCron"` } -// ClusterV2RkeConfigRegistriesInput is an input type that accepts ClusterV2RkeConfigRegistriesArgs and ClusterV2RkeConfigRegistriesOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesInput` via: +// ClusterV2RkeConfigEtcdInput is an input type that accepts ClusterV2RkeConfigEtcdArgs and ClusterV2RkeConfigEtcdOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigEtcdInput` via: // -// ClusterV2RkeConfigRegistriesArgs{...} -type ClusterV2RkeConfigRegistriesInput interface { +// ClusterV2RkeConfigEtcdArgs{...} +type ClusterV2RkeConfigEtcdInput interface { pulumi.Input - ToClusterV2RkeConfigRegistriesOutput() ClusterV2RkeConfigRegistriesOutput - ToClusterV2RkeConfigRegistriesOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesOutput + ToClusterV2RkeConfigEtcdOutput() ClusterV2RkeConfigEtcdOutput + ToClusterV2RkeConfigEtcdOutputWithContext(context.Context) ClusterV2RkeConfigEtcdOutput } -type ClusterV2RkeConfigRegistriesArgs struct { - // Cluster V2 docker registries config (list) - Configs ClusterV2RkeConfigRegistriesConfigArrayInput `pulumi:"configs"` - // Cluster V2 docker registries mirror (list) - Mirrors ClusterV2RkeConfigRegistriesMirrorArrayInput `pulumi:"mirrors"` +type ClusterV2RkeConfigEtcdArgs struct { + // Disable ETCD snapshots. Default: `false` (bool) + DisableSnapshots pulumi.BoolPtrInput `pulumi:"disableSnapshots"` + // Creation option for etcd service (list maxitems:1) + S3Config ClusterV2RkeConfigEtcdS3ConfigPtrInput `pulumi:"s3Config"` + // ETCD snapshot retention (int) + SnapshotRetention pulumi.IntPtrInput `pulumi:"snapshotRetention"` + // ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) + SnapshotScheduleCron pulumi.StringPtrInput `pulumi:"snapshotScheduleCron"` } -func (ClusterV2RkeConfigRegistriesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigRegistries)(nil)).Elem() +func (ClusterV2RkeConfigEtcdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigEtcd)(nil)).Elem() } -func (i ClusterV2RkeConfigRegistriesArgs) ToClusterV2RkeConfigRegistriesOutput() ClusterV2RkeConfigRegistriesOutput { - return i.ToClusterV2RkeConfigRegistriesOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigEtcdArgs) ToClusterV2RkeConfigEtcdOutput() ClusterV2RkeConfigEtcdOutput { + return i.ToClusterV2RkeConfigEtcdOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigRegistriesArgs) ToClusterV2RkeConfigRegistriesOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesOutput) +func (i ClusterV2RkeConfigEtcdArgs) ToClusterV2RkeConfigEtcdOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdOutput) } -func (i ClusterV2RkeConfigRegistriesArgs) ToClusterV2RkeConfigRegistriesPtrOutput() ClusterV2RkeConfigRegistriesPtrOutput { - return i.ToClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigEtcdArgs) ToClusterV2RkeConfigEtcdPtrOutput() ClusterV2RkeConfigEtcdPtrOutput { + return i.ToClusterV2RkeConfigEtcdPtrOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigRegistriesArgs) ToClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesOutput).ToClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigEtcdArgs) ToClusterV2RkeConfigEtcdPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdOutput).ToClusterV2RkeConfigEtcdPtrOutputWithContext(ctx) } -// ClusterV2RkeConfigRegistriesPtrInput is an input type that accepts ClusterV2RkeConfigRegistriesArgs, ClusterV2RkeConfigRegistriesPtr and ClusterV2RkeConfigRegistriesPtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesPtrInput` via: +// ClusterV2RkeConfigEtcdPtrInput is an input type that accepts ClusterV2RkeConfigEtcdArgs, ClusterV2RkeConfigEtcdPtr and ClusterV2RkeConfigEtcdPtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigEtcdPtrInput` via: // -// ClusterV2RkeConfigRegistriesArgs{...} +// ClusterV2RkeConfigEtcdArgs{...} // // or: // // nil -type ClusterV2RkeConfigRegistriesPtrInput interface { +type ClusterV2RkeConfigEtcdPtrInput interface { pulumi.Input - ToClusterV2RkeConfigRegistriesPtrOutput() ClusterV2RkeConfigRegistriesPtrOutput - ToClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesPtrOutput + ToClusterV2RkeConfigEtcdPtrOutput() ClusterV2RkeConfigEtcdPtrOutput + ToClusterV2RkeConfigEtcdPtrOutputWithContext(context.Context) ClusterV2RkeConfigEtcdPtrOutput } -type clusterV2RkeConfigRegistriesPtrType ClusterV2RkeConfigRegistriesArgs +type clusterV2RkeConfigEtcdPtrType ClusterV2RkeConfigEtcdArgs -func ClusterV2RkeConfigRegistriesPtr(v *ClusterV2RkeConfigRegistriesArgs) ClusterV2RkeConfigRegistriesPtrInput { - return (*clusterV2RkeConfigRegistriesPtrType)(v) +func ClusterV2RkeConfigEtcdPtr(v *ClusterV2RkeConfigEtcdArgs) ClusterV2RkeConfigEtcdPtrInput { + return (*clusterV2RkeConfigEtcdPtrType)(v) } -func (*clusterV2RkeConfigRegistriesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigRegistries)(nil)).Elem() +func (*clusterV2RkeConfigEtcdPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigEtcd)(nil)).Elem() } -func (i *clusterV2RkeConfigRegistriesPtrType) ToClusterV2RkeConfigRegistriesPtrOutput() ClusterV2RkeConfigRegistriesPtrOutput { - return i.ToClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) +func (i *clusterV2RkeConfigEtcdPtrType) ToClusterV2RkeConfigEtcdPtrOutput() ClusterV2RkeConfigEtcdPtrOutput { + return i.ToClusterV2RkeConfigEtcdPtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigRegistriesPtrType) ToClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesPtrOutput) +func (i *clusterV2RkeConfigEtcdPtrType) ToClusterV2RkeConfigEtcdPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdPtrOutput) } -type ClusterV2RkeConfigRegistriesOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigEtcdOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigRegistriesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigRegistries)(nil)).Elem() +func (ClusterV2RkeConfigEtcdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigEtcd)(nil)).Elem() } -func (o ClusterV2RkeConfigRegistriesOutput) ToClusterV2RkeConfigRegistriesOutput() ClusterV2RkeConfigRegistriesOutput { +func (o ClusterV2RkeConfigEtcdOutput) ToClusterV2RkeConfigEtcdOutput() ClusterV2RkeConfigEtcdOutput { return o } -func (o ClusterV2RkeConfigRegistriesOutput) ToClusterV2RkeConfigRegistriesOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesOutput { +func (o ClusterV2RkeConfigEtcdOutput) ToClusterV2RkeConfigEtcdOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdOutput { return o } -func (o ClusterV2RkeConfigRegistriesOutput) ToClusterV2RkeConfigRegistriesPtrOutput() ClusterV2RkeConfigRegistriesPtrOutput { - return o.ToClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigEtcdOutput) ToClusterV2RkeConfigEtcdPtrOutput() ClusterV2RkeConfigEtcdPtrOutput { + return o.ToClusterV2RkeConfigEtcdPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigRegistriesOutput) ToClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigRegistries) *ClusterV2RkeConfigRegistries { +func (o ClusterV2RkeConfigEtcdOutput) ToClusterV2RkeConfigEtcdPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigEtcd) *ClusterV2RkeConfigEtcd { return &v - }).(ClusterV2RkeConfigRegistriesPtrOutput) + }).(ClusterV2RkeConfigEtcdPtrOutput) } -// Cluster V2 docker registries config (list) -func (o ClusterV2RkeConfigRegistriesOutput) Configs() ClusterV2RkeConfigRegistriesConfigArrayOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRegistries) []ClusterV2RkeConfigRegistriesConfig { return v.Configs }).(ClusterV2RkeConfigRegistriesConfigArrayOutput) +// Disable ETCD snapshots. Default: `false` (bool) +func (o ClusterV2RkeConfigEtcdOutput) DisableSnapshots() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcd) *bool { return v.DisableSnapshots }).(pulumi.BoolPtrOutput) } -// Cluster V2 docker registries mirror (list) -func (o ClusterV2RkeConfigRegistriesOutput) Mirrors() ClusterV2RkeConfigRegistriesMirrorArrayOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRegistries) []ClusterV2RkeConfigRegistriesMirror { return v.Mirrors }).(ClusterV2RkeConfigRegistriesMirrorArrayOutput) +// Creation option for etcd service (list maxitems:1) +func (o ClusterV2RkeConfigEtcdOutput) S3Config() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcd) *ClusterV2RkeConfigEtcdS3Config { return v.S3Config }).(ClusterV2RkeConfigEtcdS3ConfigPtrOutput) } -type ClusterV2RkeConfigRegistriesPtrOutput struct{ *pulumi.OutputState } +// ETCD snapshot retention (int) +func (o ClusterV2RkeConfigEtcdOutput) SnapshotRetention() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcd) *int { return v.SnapshotRetention }).(pulumi.IntPtrOutput) +} -func (ClusterV2RkeConfigRegistriesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigRegistries)(nil)).Elem() +// ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) +func (o ClusterV2RkeConfigEtcdOutput) SnapshotScheduleCron() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcd) *string { return v.SnapshotScheduleCron }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigRegistriesPtrOutput) ToClusterV2RkeConfigRegistriesPtrOutput() ClusterV2RkeConfigRegistriesPtrOutput { +type ClusterV2RkeConfigEtcdPtrOutput struct{ *pulumi.OutputState } + +func (ClusterV2RkeConfigEtcdPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigEtcd)(nil)).Elem() +} + +func (o ClusterV2RkeConfigEtcdPtrOutput) ToClusterV2RkeConfigEtcdPtrOutput() ClusterV2RkeConfigEtcdPtrOutput { return o } -func (o ClusterV2RkeConfigRegistriesPtrOutput) ToClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesPtrOutput { +func (o ClusterV2RkeConfigEtcdPtrOutput) ToClusterV2RkeConfigEtcdPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdPtrOutput { return o } -func (o ClusterV2RkeConfigRegistriesPtrOutput) Elem() ClusterV2RkeConfigRegistriesOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigRegistries) ClusterV2RkeConfigRegistries { +func (o ClusterV2RkeConfigEtcdPtrOutput) Elem() ClusterV2RkeConfigEtcdOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcd) ClusterV2RkeConfigEtcd { if v != nil { return *v } - var ret ClusterV2RkeConfigRegistries + var ret ClusterV2RkeConfigEtcd return ret - }).(ClusterV2RkeConfigRegistriesOutput) + }).(ClusterV2RkeConfigEtcdOutput) } -// Cluster V2 docker registries config (list) -func (o ClusterV2RkeConfigRegistriesPtrOutput) Configs() ClusterV2RkeConfigRegistriesConfigArrayOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigRegistries) []ClusterV2RkeConfigRegistriesConfig { +// Disable ETCD snapshots. Default: `false` (bool) +func (o ClusterV2RkeConfigEtcdPtrOutput) DisableSnapshots() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcd) *bool { if v == nil { return nil } - return v.Configs - }).(ClusterV2RkeConfigRegistriesConfigArrayOutput) + return v.DisableSnapshots + }).(pulumi.BoolPtrOutput) } -// Cluster V2 docker registries mirror (list) -func (o ClusterV2RkeConfigRegistriesPtrOutput) Mirrors() ClusterV2RkeConfigRegistriesMirrorArrayOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigRegistries) []ClusterV2RkeConfigRegistriesMirror { +// Creation option for etcd service (list maxitems:1) +func (o ClusterV2RkeConfigEtcdPtrOutput) S3Config() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcd) *ClusterV2RkeConfigEtcdS3Config { if v == nil { return nil } - return v.Mirrors - }).(ClusterV2RkeConfigRegistriesMirrorArrayOutput) -} - -type ClusterV2RkeConfigRegistriesConfig struct { - // Registry auth config secret name (string) - AuthConfigSecretName *string `pulumi:"authConfigSecretName"` - // Registry CA bundle (string) - CaBundle *string `pulumi:"caBundle"` - // Registry hostname (string) - Hostname string `pulumi:"hostname"` - // Registry insecure connectivity (bool) - Insecure *bool `pulumi:"insecure"` - // Registry TLS secret name. TLS is a pair of Cert/Key (string) - TlsSecretName *string `pulumi:"tlsSecretName"` + return v.S3Config + }).(ClusterV2RkeConfigEtcdS3ConfigPtrOutput) } -// ClusterV2RkeConfigRegistriesConfigInput is an input type that accepts ClusterV2RkeConfigRegistriesConfigArgs and ClusterV2RkeConfigRegistriesConfigOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesConfigInput` via: -// -// ClusterV2RkeConfigRegistriesConfigArgs{...} -type ClusterV2RkeConfigRegistriesConfigInput interface { - pulumi.Input - - ToClusterV2RkeConfigRegistriesConfigOutput() ClusterV2RkeConfigRegistriesConfigOutput - ToClusterV2RkeConfigRegistriesConfigOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesConfigOutput +// ETCD snapshot retention (int) +func (o ClusterV2RkeConfigEtcdPtrOutput) SnapshotRetention() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcd) *int { + if v == nil { + return nil + } + return v.SnapshotRetention + }).(pulumi.IntPtrOutput) } -type ClusterV2RkeConfigRegistriesConfigArgs struct { - // Registry auth config secret name (string) - AuthConfigSecretName pulumi.StringPtrInput `pulumi:"authConfigSecretName"` - // Registry CA bundle (string) - CaBundle pulumi.StringPtrInput `pulumi:"caBundle"` - // Registry hostname (string) - Hostname pulumi.StringInput `pulumi:"hostname"` - // Registry insecure connectivity (bool) - Insecure pulumi.BoolPtrInput `pulumi:"insecure"` - // Registry TLS secret name. TLS is a pair of Cert/Key (string) - TlsSecretName pulumi.StringPtrInput `pulumi:"tlsSecretName"` +// ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) +func (o ClusterV2RkeConfigEtcdPtrOutput) SnapshotScheduleCron() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcd) *string { + if v == nil { + return nil + } + return v.SnapshotScheduleCron + }).(pulumi.StringPtrOutput) } -func (ClusterV2RkeConfigRegistriesConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigRegistriesConfig)(nil)).Elem() +type ClusterV2RkeConfigEtcdS3Config struct { + // Bucket name for S3 service (string) + Bucket string `pulumi:"bucket"` + // ETCD snapshot S3 cloud credential name (string) + CloudCredentialName *string `pulumi:"cloudCredentialName"` + // ETCD snapshot S3 endpoint (string) + Endpoint string `pulumi:"endpoint"` + // ETCD snapshot S3 endpoint CA (string) + EndpointCa *string `pulumi:"endpointCa"` + // ETCD snapshot S3 folder (string) + Folder *string `pulumi:"folder"` + // ETCD snapshot S3 region (string) + Region *string `pulumi:"region"` + // Disable ETCD skip ssl verify. Default: `false` (bool) + SkipSslVerify *bool `pulumi:"skipSslVerify"` } -func (i ClusterV2RkeConfigRegistriesConfigArgs) ToClusterV2RkeConfigRegistriesConfigOutput() ClusterV2RkeConfigRegistriesConfigOutput { - return i.ToClusterV2RkeConfigRegistriesConfigOutputWithContext(context.Background()) -} +// ClusterV2RkeConfigEtcdS3ConfigInput is an input type that accepts ClusterV2RkeConfigEtcdS3ConfigArgs and ClusterV2RkeConfigEtcdS3ConfigOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigEtcdS3ConfigInput` via: +// +// ClusterV2RkeConfigEtcdS3ConfigArgs{...} +type ClusterV2RkeConfigEtcdS3ConfigInput interface { + pulumi.Input -func (i ClusterV2RkeConfigRegistriesConfigArgs) ToClusterV2RkeConfigRegistriesConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesConfigOutput) + ToClusterV2RkeConfigEtcdS3ConfigOutput() ClusterV2RkeConfigEtcdS3ConfigOutput + ToClusterV2RkeConfigEtcdS3ConfigOutputWithContext(context.Context) ClusterV2RkeConfigEtcdS3ConfigOutput } -// ClusterV2RkeConfigRegistriesConfigArrayInput is an input type that accepts ClusterV2RkeConfigRegistriesConfigArray and ClusterV2RkeConfigRegistriesConfigArrayOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesConfigArrayInput` via: -// -// ClusterV2RkeConfigRegistriesConfigArray{ ClusterV2RkeConfigRegistriesConfigArgs{...} } -type ClusterV2RkeConfigRegistriesConfigArrayInput interface { - pulumi.Input - - ToClusterV2RkeConfigRegistriesConfigArrayOutput() ClusterV2RkeConfigRegistriesConfigArrayOutput - ToClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesConfigArrayOutput +type ClusterV2RkeConfigEtcdS3ConfigArgs struct { + // Bucket name for S3 service (string) + Bucket pulumi.StringInput `pulumi:"bucket"` + // ETCD snapshot S3 cloud credential name (string) + CloudCredentialName pulumi.StringPtrInput `pulumi:"cloudCredentialName"` + // ETCD snapshot S3 endpoint (string) + Endpoint pulumi.StringInput `pulumi:"endpoint"` + // ETCD snapshot S3 endpoint CA (string) + EndpointCa pulumi.StringPtrInput `pulumi:"endpointCa"` + // ETCD snapshot S3 folder (string) + Folder pulumi.StringPtrInput `pulumi:"folder"` + // ETCD snapshot S3 region (string) + Region pulumi.StringPtrInput `pulumi:"region"` + // Disable ETCD skip ssl verify. Default: `false` (bool) + SkipSslVerify pulumi.BoolPtrInput `pulumi:"skipSslVerify"` } -type ClusterV2RkeConfigRegistriesConfigArray []ClusterV2RkeConfigRegistriesConfigInput - -func (ClusterV2RkeConfigRegistriesConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigRegistriesConfig)(nil)).Elem() +func (ClusterV2RkeConfigEtcdS3ConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigEtcdS3Config)(nil)).Elem() } -func (i ClusterV2RkeConfigRegistriesConfigArray) ToClusterV2RkeConfigRegistriesConfigArrayOutput() ClusterV2RkeConfigRegistriesConfigArrayOutput { - return i.ToClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigEtcdS3ConfigArgs) ToClusterV2RkeConfigEtcdS3ConfigOutput() ClusterV2RkeConfigEtcdS3ConfigOutput { + return i.ToClusterV2RkeConfigEtcdS3ConfigOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigRegistriesConfigArray) ToClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesConfigArrayOutput) +func (i ClusterV2RkeConfigEtcdS3ConfigArgs) ToClusterV2RkeConfigEtcdS3ConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdS3ConfigOutput) } -type ClusterV2RkeConfigRegistriesConfigOutput struct{ *pulumi.OutputState } - -func (ClusterV2RkeConfigRegistriesConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigRegistriesConfig)(nil)).Elem() +func (i ClusterV2RkeConfigEtcdS3ConfigArgs) ToClusterV2RkeConfigEtcdS3ConfigPtrOutput() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return i.ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigRegistriesConfigOutput) ToClusterV2RkeConfigRegistriesConfigOutput() ClusterV2RkeConfigRegistriesConfigOutput { - return o +func (i ClusterV2RkeConfigEtcdS3ConfigArgs) ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdS3ConfigOutput).ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx) } -func (o ClusterV2RkeConfigRegistriesConfigOutput) ToClusterV2RkeConfigRegistriesConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesConfigOutput { - return o -} +// ClusterV2RkeConfigEtcdS3ConfigPtrInput is an input type that accepts ClusterV2RkeConfigEtcdS3ConfigArgs, ClusterV2RkeConfigEtcdS3ConfigPtr and ClusterV2RkeConfigEtcdS3ConfigPtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigEtcdS3ConfigPtrInput` via: +// +// ClusterV2RkeConfigEtcdS3ConfigArgs{...} +// +// or: +// +// nil +type ClusterV2RkeConfigEtcdS3ConfigPtrInput interface { + pulumi.Input -// Registry auth config secret name (string) -func (o ClusterV2RkeConfigRegistriesConfigOutput) AuthConfigSecretName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRegistriesConfig) *string { return v.AuthConfigSecretName }).(pulumi.StringPtrOutput) + ToClusterV2RkeConfigEtcdS3ConfigPtrOutput() ClusterV2RkeConfigEtcdS3ConfigPtrOutput + ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Context) ClusterV2RkeConfigEtcdS3ConfigPtrOutput } -// Registry CA bundle (string) -func (o ClusterV2RkeConfigRegistriesConfigOutput) CaBundle() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRegistriesConfig) *string { return v.CaBundle }).(pulumi.StringPtrOutput) +type clusterV2RkeConfigEtcdS3ConfigPtrType ClusterV2RkeConfigEtcdS3ConfigArgs + +func ClusterV2RkeConfigEtcdS3ConfigPtr(v *ClusterV2RkeConfigEtcdS3ConfigArgs) ClusterV2RkeConfigEtcdS3ConfigPtrInput { + return (*clusterV2RkeConfigEtcdS3ConfigPtrType)(v) } -// Registry hostname (string) -func (o ClusterV2RkeConfigRegistriesConfigOutput) Hostname() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRegistriesConfig) string { return v.Hostname }).(pulumi.StringOutput) +func (*clusterV2RkeConfigEtcdS3ConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigEtcdS3Config)(nil)).Elem() } -// Registry insecure connectivity (bool) -func (o ClusterV2RkeConfigRegistriesConfigOutput) Insecure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRegistriesConfig) *bool { return v.Insecure }).(pulumi.BoolPtrOutput) +func (i *clusterV2RkeConfigEtcdS3ConfigPtrType) ToClusterV2RkeConfigEtcdS3ConfigPtrOutput() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return i.ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) } -// Registry TLS secret name. TLS is a pair of Cert/Key (string) -func (o ClusterV2RkeConfigRegistriesConfigOutput) TlsSecretName() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRegistriesConfig) *string { return v.TlsSecretName }).(pulumi.StringPtrOutput) +func (i *clusterV2RkeConfigEtcdS3ConfigPtrType) ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdS3ConfigPtrOutput) } -type ClusterV2RkeConfigRegistriesConfigArrayOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigEtcdS3ConfigOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigRegistriesConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigRegistriesConfig)(nil)).Elem() +func (ClusterV2RkeConfigEtcdS3ConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigEtcdS3Config)(nil)).Elem() } -func (o ClusterV2RkeConfigRegistriesConfigArrayOutput) ToClusterV2RkeConfigRegistriesConfigArrayOutput() ClusterV2RkeConfigRegistriesConfigArrayOutput { +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) ToClusterV2RkeConfigEtcdS3ConfigOutput() ClusterV2RkeConfigEtcdS3ConfigOutput { return o } -func (o ClusterV2RkeConfigRegistriesConfigArrayOutput) ToClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesConfigArrayOutput { +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) ToClusterV2RkeConfigEtcdS3ConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigOutput { return o } -func (o ClusterV2RkeConfigRegistriesConfigArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigRegistriesConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigRegistriesConfig { - return vs[0].([]ClusterV2RkeConfigRegistriesConfig)[vs[1].(int)] - }).(ClusterV2RkeConfigRegistriesConfigOutput) -} - -type ClusterV2RkeConfigRegistriesMirror struct { - // Registry mirror endpoints (List) - Endpoints []string `pulumi:"endpoints"` - // Registry hostname (string) - Hostname string `pulumi:"hostname"` - // Registry mirror rewrites (map) - Rewrites map[string]interface{} `pulumi:"rewrites"` -} - -// ClusterV2RkeConfigRegistriesMirrorInput is an input type that accepts ClusterV2RkeConfigRegistriesMirrorArgs and ClusterV2RkeConfigRegistriesMirrorOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesMirrorInput` via: -// -// ClusterV2RkeConfigRegistriesMirrorArgs{...} -type ClusterV2RkeConfigRegistriesMirrorInput interface { - pulumi.Input - - ToClusterV2RkeConfigRegistriesMirrorOutput() ClusterV2RkeConfigRegistriesMirrorOutput - ToClusterV2RkeConfigRegistriesMirrorOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesMirrorOutput +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) ToClusterV2RkeConfigEtcdS3ConfigPtrOutput() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return o.ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) } -type ClusterV2RkeConfigRegistriesMirrorArgs struct { - // Registry mirror endpoints (List) - Endpoints pulumi.StringArrayInput `pulumi:"endpoints"` - // Registry hostname (string) - Hostname pulumi.StringInput `pulumi:"hostname"` - // Registry mirror rewrites (map) - Rewrites pulumi.MapInput `pulumi:"rewrites"` +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigEtcdS3Config) *ClusterV2RkeConfigEtcdS3Config { + return &v + }).(ClusterV2RkeConfigEtcdS3ConfigPtrOutput) } -func (ClusterV2RkeConfigRegistriesMirrorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigRegistriesMirror)(nil)).Elem() +// Bucket name for S3 service (string) +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) string { return v.Bucket }).(pulumi.StringOutput) } -func (i ClusterV2RkeConfigRegistriesMirrorArgs) ToClusterV2RkeConfigRegistriesMirrorOutput() ClusterV2RkeConfigRegistriesMirrorOutput { - return i.ToClusterV2RkeConfigRegistriesMirrorOutputWithContext(context.Background()) +// ETCD snapshot S3 cloud credential name (string) +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) CloudCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) *string { return v.CloudCredentialName }).(pulumi.StringPtrOutput) } -func (i ClusterV2RkeConfigRegistriesMirrorArgs) ToClusterV2RkeConfigRegistriesMirrorOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesMirrorOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesMirrorOutput) +// ETCD snapshot S3 endpoint (string) +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) string { return v.Endpoint }).(pulumi.StringOutput) } -// ClusterV2RkeConfigRegistriesMirrorArrayInput is an input type that accepts ClusterV2RkeConfigRegistriesMirrorArray and ClusterV2RkeConfigRegistriesMirrorArrayOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesMirrorArrayInput` via: -// -// ClusterV2RkeConfigRegistriesMirrorArray{ ClusterV2RkeConfigRegistriesMirrorArgs{...} } -type ClusterV2RkeConfigRegistriesMirrorArrayInput interface { - pulumi.Input - - ToClusterV2RkeConfigRegistriesMirrorArrayOutput() ClusterV2RkeConfigRegistriesMirrorArrayOutput - ToClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesMirrorArrayOutput +// ETCD snapshot S3 endpoint CA (string) +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) EndpointCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) *string { return v.EndpointCa }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigRegistriesMirrorArray []ClusterV2RkeConfigRegistriesMirrorInput - -func (ClusterV2RkeConfigRegistriesMirrorArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigRegistriesMirror)(nil)).Elem() +// ETCD snapshot S3 folder (string) +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) *string { return v.Folder }).(pulumi.StringPtrOutput) } -func (i ClusterV2RkeConfigRegistriesMirrorArray) ToClusterV2RkeConfigRegistriesMirrorArrayOutput() ClusterV2RkeConfigRegistriesMirrorArrayOutput { - return i.ToClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(context.Background()) +// ETCD snapshot S3 region (string) +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (i ClusterV2RkeConfigRegistriesMirrorArray) ToClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesMirrorArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesMirrorArrayOutput) +// Disable ETCD skip ssl verify. Default: `false` (bool) +func (o ClusterV2RkeConfigEtcdS3ConfigOutput) SkipSslVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdS3Config) *bool { return v.SkipSslVerify }).(pulumi.BoolPtrOutput) } -type ClusterV2RkeConfigRegistriesMirrorOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigEtcdS3ConfigPtrOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigRegistriesMirrorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigRegistriesMirror)(nil)).Elem() +func (ClusterV2RkeConfigEtcdS3ConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigEtcdS3Config)(nil)).Elem() } -func (o ClusterV2RkeConfigRegistriesMirrorOutput) ToClusterV2RkeConfigRegistriesMirrorOutput() ClusterV2RkeConfigRegistriesMirrorOutput { +func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) ToClusterV2RkeConfigEtcdS3ConfigPtrOutput() ClusterV2RkeConfigEtcdS3ConfigPtrOutput { return o } -func (o ClusterV2RkeConfigRegistriesMirrorOutput) ToClusterV2RkeConfigRegistriesMirrorOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesMirrorOutput { +func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) ToClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdS3ConfigPtrOutput { return o } -// Registry mirror endpoints (List) -func (o ClusterV2RkeConfigRegistriesMirrorOutput) Endpoints() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRegistriesMirror) []string { return v.Endpoints }).(pulumi.StringArrayOutput) +func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) Elem() ClusterV2RkeConfigEtcdS3ConfigOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) ClusterV2RkeConfigEtcdS3Config { + if v != nil { + return *v + } + var ret ClusterV2RkeConfigEtcdS3Config + return ret + }).(ClusterV2RkeConfigEtcdS3ConfigOutput) } -// Registry hostname (string) -func (o ClusterV2RkeConfigRegistriesMirrorOutput) Hostname() pulumi.StringOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRegistriesMirror) string { return v.Hostname }).(pulumi.StringOutput) +// Bucket name for S3 service (string) +func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) Bucket() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return &v.Bucket + }).(pulumi.StringPtrOutput) } -// Registry mirror rewrites (map) -func (o ClusterV2RkeConfigRegistriesMirrorOutput) Rewrites() pulumi.MapOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRegistriesMirror) map[string]interface{} { return v.Rewrites }).(pulumi.MapOutput) +// ETCD snapshot S3 cloud credential name (string) +func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) CloudCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return v.CloudCredentialName + }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigRegistriesMirrorArrayOutput struct{ *pulumi.OutputState } +// ETCD snapshot S3 endpoint (string) +func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return &v.Endpoint + }).(pulumi.StringPtrOutput) +} -func (ClusterV2RkeConfigRegistriesMirrorArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ClusterV2RkeConfigRegistriesMirror)(nil)).Elem() +// ETCD snapshot S3 endpoint CA (string) +func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) EndpointCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return v.EndpointCa + }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigRegistriesMirrorArrayOutput) ToClusterV2RkeConfigRegistriesMirrorArrayOutput() ClusterV2RkeConfigRegistriesMirrorArrayOutput { - return o +// ETCD snapshot S3 folder (string) +func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return v.Folder + }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigRegistriesMirrorArrayOutput) ToClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesMirrorArrayOutput { - return o +// ETCD snapshot S3 region (string) +func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigRegistriesMirrorArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigRegistriesMirrorOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigRegistriesMirror { - return vs[0].([]ClusterV2RkeConfigRegistriesMirror)[vs[1].(int)] - }).(ClusterV2RkeConfigRegistriesMirrorOutput) +// Disable ETCD skip ssl verify. Default: `false` (bool) +func (o ClusterV2RkeConfigEtcdS3ConfigPtrOutput) SkipSslVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdS3Config) *bool { + if v == nil { + return nil + } + return v.SkipSslVerify + }).(pulumi.BoolPtrOutput) } -type ClusterV2RkeConfigRotateCertificates struct { +type ClusterV2RkeConfigEtcdSnapshotCreate struct { // ETCD snapshot desired generation (int) Generation int `pulumi:"generation"` - // Service certificates to rotate with this generation (string) - Services []string `pulumi:"services"` } -// ClusterV2RkeConfigRotateCertificatesInput is an input type that accepts ClusterV2RkeConfigRotateCertificatesArgs and ClusterV2RkeConfigRotateCertificatesOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigRotateCertificatesInput` via: +// ClusterV2RkeConfigEtcdSnapshotCreateInput is an input type that accepts ClusterV2RkeConfigEtcdSnapshotCreateArgs and ClusterV2RkeConfigEtcdSnapshotCreateOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigEtcdSnapshotCreateInput` via: // -// ClusterV2RkeConfigRotateCertificatesArgs{...} -type ClusterV2RkeConfigRotateCertificatesInput interface { +// ClusterV2RkeConfigEtcdSnapshotCreateArgs{...} +type ClusterV2RkeConfigEtcdSnapshotCreateInput interface { pulumi.Input - ToClusterV2RkeConfigRotateCertificatesOutput() ClusterV2RkeConfigRotateCertificatesOutput - ToClusterV2RkeConfigRotateCertificatesOutputWithContext(context.Context) ClusterV2RkeConfigRotateCertificatesOutput + ToClusterV2RkeConfigEtcdSnapshotCreateOutput() ClusterV2RkeConfigEtcdSnapshotCreateOutput + ToClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(context.Context) ClusterV2RkeConfigEtcdSnapshotCreateOutput } -type ClusterV2RkeConfigRotateCertificatesArgs struct { +type ClusterV2RkeConfigEtcdSnapshotCreateArgs struct { // ETCD snapshot desired generation (int) Generation pulumi.IntInput `pulumi:"generation"` - // Service certificates to rotate with this generation (string) - Services pulumi.StringArrayInput `pulumi:"services"` } -func (ClusterV2RkeConfigRotateCertificatesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigRotateCertificates)(nil)).Elem() +func (ClusterV2RkeConfigEtcdSnapshotCreateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() } -func (i ClusterV2RkeConfigRotateCertificatesArgs) ToClusterV2RkeConfigRotateCertificatesOutput() ClusterV2RkeConfigRotateCertificatesOutput { - return i.ToClusterV2RkeConfigRotateCertificatesOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigEtcdSnapshotCreateArgs) ToClusterV2RkeConfigEtcdSnapshotCreateOutput() ClusterV2RkeConfigEtcdSnapshotCreateOutput { + return i.ToClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigRotateCertificatesArgs) ToClusterV2RkeConfigRotateCertificatesOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRotateCertificatesOutput) +func (i ClusterV2RkeConfigEtcdSnapshotCreateArgs) ToClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreateOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotCreateOutput) } -func (i ClusterV2RkeConfigRotateCertificatesArgs) ToClusterV2RkeConfigRotateCertificatesPtrOutput() ClusterV2RkeConfigRotateCertificatesPtrOutput { - return i.ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigEtcdSnapshotCreateArgs) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return i.ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigRotateCertificatesArgs) ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRotateCertificatesOutput).ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigEtcdSnapshotCreateArgs) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotCreateOutput).ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx) } -// ClusterV2RkeConfigRotateCertificatesPtrInput is an input type that accepts ClusterV2RkeConfigRotateCertificatesArgs, ClusterV2RkeConfigRotateCertificatesPtr and ClusterV2RkeConfigRotateCertificatesPtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigRotateCertificatesPtrInput` via: +// ClusterV2RkeConfigEtcdSnapshotCreatePtrInput is an input type that accepts ClusterV2RkeConfigEtcdSnapshotCreateArgs, ClusterV2RkeConfigEtcdSnapshotCreatePtr and ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigEtcdSnapshotCreatePtrInput` via: // -// ClusterV2RkeConfigRotateCertificatesArgs{...} +// ClusterV2RkeConfigEtcdSnapshotCreateArgs{...} // // or: // // nil -type ClusterV2RkeConfigRotateCertificatesPtrInput interface { +type ClusterV2RkeConfigEtcdSnapshotCreatePtrInput interface { pulumi.Input - ToClusterV2RkeConfigRotateCertificatesPtrOutput() ClusterV2RkeConfigRotateCertificatesPtrOutput - ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Context) ClusterV2RkeConfigRotateCertificatesPtrOutput + ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput + ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Context) ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput } -type clusterV2RkeConfigRotateCertificatesPtrType ClusterV2RkeConfigRotateCertificatesArgs +type clusterV2RkeConfigEtcdSnapshotCreatePtrType ClusterV2RkeConfigEtcdSnapshotCreateArgs -func ClusterV2RkeConfigRotateCertificatesPtr(v *ClusterV2RkeConfigRotateCertificatesArgs) ClusterV2RkeConfigRotateCertificatesPtrInput { - return (*clusterV2RkeConfigRotateCertificatesPtrType)(v) +func ClusterV2RkeConfigEtcdSnapshotCreatePtr(v *ClusterV2RkeConfigEtcdSnapshotCreateArgs) ClusterV2RkeConfigEtcdSnapshotCreatePtrInput { + return (*clusterV2RkeConfigEtcdSnapshotCreatePtrType)(v) } -func (*clusterV2RkeConfigRotateCertificatesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigRotateCertificates)(nil)).Elem() +func (*clusterV2RkeConfigEtcdSnapshotCreatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() } -func (i *clusterV2RkeConfigRotateCertificatesPtrType) ToClusterV2RkeConfigRotateCertificatesPtrOutput() ClusterV2RkeConfigRotateCertificatesPtrOutput { - return i.ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) +func (i *clusterV2RkeConfigEtcdSnapshotCreatePtrType) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return i.ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigRotateCertificatesPtrType) ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRotateCertificatesPtrOutput) +func (i *clusterV2RkeConfigEtcdSnapshotCreatePtrType) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) } -type ClusterV2RkeConfigRotateCertificatesOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigEtcdSnapshotCreateOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigRotateCertificatesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigRotateCertificates)(nil)).Elem() +func (ClusterV2RkeConfigEtcdSnapshotCreateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() } -func (o ClusterV2RkeConfigRotateCertificatesOutput) ToClusterV2RkeConfigRotateCertificatesOutput() ClusterV2RkeConfigRotateCertificatesOutput { +func (o ClusterV2RkeConfigEtcdSnapshotCreateOutput) ToClusterV2RkeConfigEtcdSnapshotCreateOutput() ClusterV2RkeConfigEtcdSnapshotCreateOutput { return o } -func (o ClusterV2RkeConfigRotateCertificatesOutput) ToClusterV2RkeConfigRotateCertificatesOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesOutput { +func (o ClusterV2RkeConfigEtcdSnapshotCreateOutput) ToClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreateOutput { return o } -func (o ClusterV2RkeConfigRotateCertificatesOutput) ToClusterV2RkeConfigRotateCertificatesPtrOutput() ClusterV2RkeConfigRotateCertificatesPtrOutput { - return o.ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigEtcdSnapshotCreateOutput) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return o.ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigRotateCertificatesOutput) ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigRotateCertificates) *ClusterV2RkeConfigRotateCertificates { +func (o ClusterV2RkeConfigEtcdSnapshotCreateOutput) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigEtcdSnapshotCreate) *ClusterV2RkeConfigEtcdSnapshotCreate { return &v - }).(ClusterV2RkeConfigRotateCertificatesPtrOutput) + }).(ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) } // ETCD snapshot desired generation (int) -func (o ClusterV2RkeConfigRotateCertificatesOutput) Generation() pulumi.IntOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRotateCertificates) int { return v.Generation }).(pulumi.IntOutput) -} - -// Service certificates to rotate with this generation (string) -func (o ClusterV2RkeConfigRotateCertificatesOutput) Services() pulumi.StringArrayOutput { - return o.ApplyT(func(v ClusterV2RkeConfigRotateCertificates) []string { return v.Services }).(pulumi.StringArrayOutput) +func (o ClusterV2RkeConfigEtcdSnapshotCreateOutput) Generation() pulumi.IntOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdSnapshotCreate) int { return v.Generation }).(pulumi.IntOutput) } -type ClusterV2RkeConfigRotateCertificatesPtrOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigRotateCertificatesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigRotateCertificates)(nil)).Elem() +func (ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() } -func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) ToClusterV2RkeConfigRotateCertificatesPtrOutput() ClusterV2RkeConfigRotateCertificatesPtrOutput { +func (o ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { return o } -func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesPtrOutput { +func (o ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ToClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { return o } -func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) Elem() ClusterV2RkeConfigRotateCertificatesOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigRotateCertificates) ClusterV2RkeConfigRotateCertificates { +func (o ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) Elem() ClusterV2RkeConfigEtcdSnapshotCreateOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotCreate) ClusterV2RkeConfigEtcdSnapshotCreate { if v != nil { return *v } - var ret ClusterV2RkeConfigRotateCertificates + var ret ClusterV2RkeConfigEtcdSnapshotCreate return ret - }).(ClusterV2RkeConfigRotateCertificatesOutput) + }).(ClusterV2RkeConfigEtcdSnapshotCreateOutput) } // ETCD snapshot desired generation (int) -func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) Generation() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigRotateCertificates) *int { +func (o ClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) Generation() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotCreate) *int { if v == nil { return nil } @@ -43679,438 +44742,339 @@ func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) Generation() pulumi.IntPt }).(pulumi.IntPtrOutput) } -// Service certificates to rotate with this generation (string) -func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) Services() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigRotateCertificates) []string { - if v == nil { - return nil - } - return v.Services - }).(pulumi.StringArrayOutput) -} - -type ClusterV2RkeConfigUpgradeStrategy struct { - // How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string) - ControlPlaneConcurrency *string `pulumi:"controlPlaneConcurrency"` - // Controlplane nodes drain options (list maxitems:1) - ControlPlaneDrainOptions *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions `pulumi:"controlPlaneDrainOptions"` - // How many worker nodes should be upgrade at time. Percentages are also accepted (string) - WorkerConcurrency *string `pulumi:"workerConcurrency"` - // Worker nodes drain options (list maxitems:1) - WorkerDrainOptions *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions `pulumi:"workerDrainOptions"` +type ClusterV2RkeConfigEtcdSnapshotRestore struct { + // ETCD snapshot desired generation (int) + Generation int `pulumi:"generation"` + // Name of cluster registration token (string) + Name string `pulumi:"name"` + // ETCD restore RKE config (set to none, all, or kubernetesVersion) (string) + RestoreRkeConfig *string `pulumi:"restoreRkeConfig"` } -// ClusterV2RkeConfigUpgradeStrategyInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyArgs and ClusterV2RkeConfigUpgradeStrategyOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyInput` via: +// ClusterV2RkeConfigEtcdSnapshotRestoreInput is an input type that accepts ClusterV2RkeConfigEtcdSnapshotRestoreArgs and ClusterV2RkeConfigEtcdSnapshotRestoreOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigEtcdSnapshotRestoreInput` via: // -// ClusterV2RkeConfigUpgradeStrategyArgs{...} -type ClusterV2RkeConfigUpgradeStrategyInput interface { +// ClusterV2RkeConfigEtcdSnapshotRestoreArgs{...} +type ClusterV2RkeConfigEtcdSnapshotRestoreInput interface { pulumi.Input - ToClusterV2RkeConfigUpgradeStrategyOutput() ClusterV2RkeConfigUpgradeStrategyOutput - ToClusterV2RkeConfigUpgradeStrategyOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyOutput + ToClusterV2RkeConfigEtcdSnapshotRestoreOutput() ClusterV2RkeConfigEtcdSnapshotRestoreOutput + ToClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(context.Context) ClusterV2RkeConfigEtcdSnapshotRestoreOutput } -type ClusterV2RkeConfigUpgradeStrategyArgs struct { - // How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string) - ControlPlaneConcurrency pulumi.StringPtrInput `pulumi:"controlPlaneConcurrency"` - // Controlplane nodes drain options (list maxitems:1) - ControlPlaneDrainOptions ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput `pulumi:"controlPlaneDrainOptions"` - // How many worker nodes should be upgrade at time. Percentages are also accepted (string) - WorkerConcurrency pulumi.StringPtrInput `pulumi:"workerConcurrency"` - // Worker nodes drain options (list maxitems:1) - WorkerDrainOptions ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput `pulumi:"workerDrainOptions"` +type ClusterV2RkeConfigEtcdSnapshotRestoreArgs struct { + // ETCD snapshot desired generation (int) + Generation pulumi.IntInput `pulumi:"generation"` + // Name of cluster registration token (string) + Name pulumi.StringInput `pulumi:"name"` + // ETCD restore RKE config (set to none, all, or kubernetesVersion) (string) + RestoreRkeConfig pulumi.StringPtrInput `pulumi:"restoreRkeConfig"` } -func (ClusterV2RkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() +func (ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() } -func (i ClusterV2RkeConfigUpgradeStrategyArgs) ToClusterV2RkeConfigUpgradeStrategyOutput() ClusterV2RkeConfigUpgradeStrategyOutput { - return i.ToClusterV2RkeConfigUpgradeStrategyOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToClusterV2RkeConfigEtcdSnapshotRestoreOutput() ClusterV2RkeConfigEtcdSnapshotRestoreOutput { + return i.ToClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigUpgradeStrategyArgs) ToClusterV2RkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyOutput) +func (i ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestoreOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotRestoreOutput) } -func (i ClusterV2RkeConfigUpgradeStrategyArgs) ToClusterV2RkeConfigUpgradeStrategyPtrOutput() ClusterV2RkeConfigUpgradeStrategyPtrOutput { - return i.ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return i.ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigUpgradeStrategyArgs) ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyOutput).ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotRestoreOutput).ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx) } -// ClusterV2RkeConfigUpgradeStrategyPtrInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyArgs, ClusterV2RkeConfigUpgradeStrategyPtr and ClusterV2RkeConfigUpgradeStrategyPtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyPtrInput` via: +// ClusterV2RkeConfigEtcdSnapshotRestorePtrInput is an input type that accepts ClusterV2RkeConfigEtcdSnapshotRestoreArgs, ClusterV2RkeConfigEtcdSnapshotRestorePtr and ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigEtcdSnapshotRestorePtrInput` via: // -// ClusterV2RkeConfigUpgradeStrategyArgs{...} +// ClusterV2RkeConfigEtcdSnapshotRestoreArgs{...} // // or: // // nil -type ClusterV2RkeConfigUpgradeStrategyPtrInput interface { +type ClusterV2RkeConfigEtcdSnapshotRestorePtrInput interface { pulumi.Input - ToClusterV2RkeConfigUpgradeStrategyPtrOutput() ClusterV2RkeConfigUpgradeStrategyPtrOutput - ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyPtrOutput + ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput + ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Context) ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput } -type clusterV2RkeConfigUpgradeStrategyPtrType ClusterV2RkeConfigUpgradeStrategyArgs +type clusterV2RkeConfigEtcdSnapshotRestorePtrType ClusterV2RkeConfigEtcdSnapshotRestoreArgs -func ClusterV2RkeConfigUpgradeStrategyPtr(v *ClusterV2RkeConfigUpgradeStrategyArgs) ClusterV2RkeConfigUpgradeStrategyPtrInput { - return (*clusterV2RkeConfigUpgradeStrategyPtrType)(v) +func ClusterV2RkeConfigEtcdSnapshotRestorePtr(v *ClusterV2RkeConfigEtcdSnapshotRestoreArgs) ClusterV2RkeConfigEtcdSnapshotRestorePtrInput { + return (*clusterV2RkeConfigEtcdSnapshotRestorePtrType)(v) } -func (*clusterV2RkeConfigUpgradeStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() +func (*clusterV2RkeConfigEtcdSnapshotRestorePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() } -func (i *clusterV2RkeConfigUpgradeStrategyPtrType) ToClusterV2RkeConfigUpgradeStrategyPtrOutput() ClusterV2RkeConfigUpgradeStrategyPtrOutput { - return i.ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (i *clusterV2RkeConfigEtcdSnapshotRestorePtrType) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return i.ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigUpgradeStrategyPtrType) ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyPtrOutput) +func (i *clusterV2RkeConfigEtcdSnapshotRestorePtrType) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) } -type ClusterV2RkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigEtcdSnapshotRestoreOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() +func (ClusterV2RkeConfigEtcdSnapshotRestoreOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() } -func (o ClusterV2RkeConfigUpgradeStrategyOutput) ToClusterV2RkeConfigUpgradeStrategyOutput() ClusterV2RkeConfigUpgradeStrategyOutput { +func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToClusterV2RkeConfigEtcdSnapshotRestoreOutput() ClusterV2RkeConfigEtcdSnapshotRestoreOutput { return o } -func (o ClusterV2RkeConfigUpgradeStrategyOutput) ToClusterV2RkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyOutput { +func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestoreOutput { return o } -func (o ClusterV2RkeConfigUpgradeStrategyOutput) ToClusterV2RkeConfigUpgradeStrategyPtrOutput() ClusterV2RkeConfigUpgradeStrategyPtrOutput { - return o.ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return o.ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigUpgradeStrategyOutput) ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigUpgradeStrategy) *ClusterV2RkeConfigUpgradeStrategy { +func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigEtcdSnapshotRestore) *ClusterV2RkeConfigEtcdSnapshotRestore { return &v - }).(ClusterV2RkeConfigUpgradeStrategyPtrOutput) -} - -// How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string) -func (o ClusterV2RkeConfigUpgradeStrategyOutput) ControlPlaneConcurrency() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategy) *string { return v.ControlPlaneConcurrency }).(pulumi.StringPtrOutput) + }).(ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) } -// Controlplane nodes drain options (list maxitems:1) -func (o ClusterV2RkeConfigUpgradeStrategyOutput) ControlPlaneDrainOptions() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategy) *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { - return v.ControlPlaneDrainOptions - }).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) +// ETCD snapshot desired generation (int) +func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) Generation() pulumi.IntOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdSnapshotRestore) int { return v.Generation }).(pulumi.IntOutput) } -// How many worker nodes should be upgrade at time. Percentages are also accepted (string) -func (o ClusterV2RkeConfigUpgradeStrategyOutput) WorkerConcurrency() pulumi.StringPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategy) *string { return v.WorkerConcurrency }).(pulumi.StringPtrOutput) +// Name of cluster registration token (string) +func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdSnapshotRestore) string { return v.Name }).(pulumi.StringOutput) } -// Worker nodes drain options (list maxitems:1) -func (o ClusterV2RkeConfigUpgradeStrategyOutput) WorkerDrainOptions() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategy) *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { - return v.WorkerDrainOptions - }).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) +// ETCD restore RKE config (set to none, all, or kubernetesVersion) (string) +func (o ClusterV2RkeConfigEtcdSnapshotRestoreOutput) RestoreRkeConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigEtcdSnapshotRestore) *string { return v.RestoreRkeConfig }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigUpgradeStrategyPtrOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigUpgradeStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() +func (ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() } -func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) ToClusterV2RkeConfigUpgradeStrategyPtrOutput() ClusterV2RkeConfigUpgradeStrategyPtrOutput { +func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { return o } -func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyPtrOutput { +func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ToClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { return o } -func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) Elem() ClusterV2RkeConfigUpgradeStrategyOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategy) ClusterV2RkeConfigUpgradeStrategy { +func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Elem() ClusterV2RkeConfigEtcdSnapshotRestoreOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotRestore) ClusterV2RkeConfigEtcdSnapshotRestore { if v != nil { return *v } - var ret ClusterV2RkeConfigUpgradeStrategy + var ret ClusterV2RkeConfigEtcdSnapshotRestore return ret - }).(ClusterV2RkeConfigUpgradeStrategyOutput) -} - -// How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string) -func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) ControlPlaneConcurrency() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategy) *string { - if v == nil { - return nil - } - return v.ControlPlaneConcurrency - }).(pulumi.StringPtrOutput) + }).(ClusterV2RkeConfigEtcdSnapshotRestoreOutput) } -// Controlplane nodes drain options (list maxitems:1) -func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) ControlPlaneDrainOptions() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategy) *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { +// ETCD snapshot desired generation (int) +func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Generation() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotRestore) *int { if v == nil { return nil } - return v.ControlPlaneDrainOptions - }).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) + return &v.Generation + }).(pulumi.IntPtrOutput) } -// How many worker nodes should be upgrade at time. Percentages are also accepted (string) -func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) WorkerConcurrency() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategy) *string { +// Name of cluster registration token (string) +func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotRestore) *string { if v == nil { return nil } - return v.WorkerConcurrency + return &v.Name }).(pulumi.StringPtrOutput) } -// Worker nodes drain options (list maxitems:1) -func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) WorkerDrainOptions() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategy) *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { +// ETCD restore RKE config (set to none, all, or kubernetesVersion) (string) +func (o ClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) RestoreRkeConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigEtcdSnapshotRestore) *string { if v == nil { return nil } - return v.WorkerDrainOptions - }).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) + return v.RestoreRkeConfig + }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions struct { - // Drain options delete empty dir data. Default `false` (bool) - DeleteEmptyDirData *bool `pulumi:"deleteEmptyDirData"` - // Drain options disable eviction. Default `false` (bool) - DisableEviction *bool `pulumi:"disableEviction"` +type ClusterV2RkeConfigLocalAuthEndpoint struct { + // CA certs for the authorized cluster endpoint (string) + CaCerts *string `pulumi:"caCerts"` // Drain options enabled? Default `true` (bool) Enabled *bool `pulumi:"enabled"` - // Drain options force. Default `false` (bool) - Force *bool `pulumi:"force"` - // Drain options grace period (int) - GracePeriod *int `pulumi:"gracePeriod"` - // Drain options ignore daemon sets. Default `true` (bool) - IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` - // Drain options ignore errors. Default `false` (bool) - IgnoreErrors *bool `pulumi:"ignoreErrors"` - // Drain options skip wait for delete timeout seconds (int) - SkipWaitForDeleteTimeoutSeconds *int `pulumi:"skipWaitForDeleteTimeoutSeconds"` - // Drain options timeout (int) - Timeout *int `pulumi:"timeout"` + // FQDN for the authorized cluster endpoint (string) + Fqdn *string `pulumi:"fqdn"` } -// ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs and ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput` via: +// ClusterV2RkeConfigLocalAuthEndpointInput is an input type that accepts ClusterV2RkeConfigLocalAuthEndpointArgs and ClusterV2RkeConfigLocalAuthEndpointOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigLocalAuthEndpointInput` via: // -// ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs{...} -type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput interface { +// ClusterV2RkeConfigLocalAuthEndpointArgs{...} +type ClusterV2RkeConfigLocalAuthEndpointInput interface { pulumi.Input - ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput - ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput + ToClusterV2RkeConfigLocalAuthEndpointOutput() ClusterV2RkeConfigLocalAuthEndpointOutput + ToClusterV2RkeConfigLocalAuthEndpointOutputWithContext(context.Context) ClusterV2RkeConfigLocalAuthEndpointOutput } -type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs struct { - // Drain options delete empty dir data. Default `false` (bool) - DeleteEmptyDirData pulumi.BoolPtrInput `pulumi:"deleteEmptyDirData"` - // Drain options disable eviction. Default `false` (bool) - DisableEviction pulumi.BoolPtrInput `pulumi:"disableEviction"` +type ClusterV2RkeConfigLocalAuthEndpointArgs struct { + // CA certs for the authorized cluster endpoint (string) + CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` // Drain options enabled? Default `true` (bool) Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // Drain options force. Default `false` (bool) - Force pulumi.BoolPtrInput `pulumi:"force"` - // Drain options grace period (int) - GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` - // Drain options ignore daemon sets. Default `true` (bool) - IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` - // Drain options ignore errors. Default `false` (bool) - IgnoreErrors pulumi.BoolPtrInput `pulumi:"ignoreErrors"` - // Drain options skip wait for delete timeout seconds (int) - SkipWaitForDeleteTimeoutSeconds pulumi.IntPtrInput `pulumi:"skipWaitForDeleteTimeoutSeconds"` - // Drain options timeout (int) - Timeout pulumi.IntPtrInput `pulumi:"timeout"` + // FQDN for the authorized cluster endpoint (string) + Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` } -func (ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() +func (ClusterV2RkeConfigLocalAuthEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() } -func (i ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { - return i.ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigLocalAuthEndpointArgs) ToClusterV2RkeConfigLocalAuthEndpointOutput() ClusterV2RkeConfigLocalAuthEndpointOutput { + return i.ToClusterV2RkeConfigLocalAuthEndpointOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) +func (i ClusterV2RkeConfigLocalAuthEndpointArgs) ToClusterV2RkeConfigLocalAuthEndpointOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigLocalAuthEndpointOutput) } -func (i ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return i.ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigLocalAuthEndpointArgs) ToClusterV2RkeConfigLocalAuthEndpointPtrOutput() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return i.ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput).ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigLocalAuthEndpointArgs) ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigLocalAuthEndpointOutput).ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx) } -// ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs, ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtr and ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput` via: +// ClusterV2RkeConfigLocalAuthEndpointPtrInput is an input type that accepts ClusterV2RkeConfigLocalAuthEndpointArgs, ClusterV2RkeConfigLocalAuthEndpointPtr and ClusterV2RkeConfigLocalAuthEndpointPtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigLocalAuthEndpointPtrInput` via: // -// ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs{...} +// ClusterV2RkeConfigLocalAuthEndpointArgs{...} // // or: // // nil -type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput interface { +type ClusterV2RkeConfigLocalAuthEndpointPtrInput interface { pulumi.Input - ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput - ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput + ToClusterV2RkeConfigLocalAuthEndpointPtrOutput() ClusterV2RkeConfigLocalAuthEndpointPtrOutput + ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Context) ClusterV2RkeConfigLocalAuthEndpointPtrOutput } -type clusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs +type clusterV2RkeConfigLocalAuthEndpointPtrType ClusterV2RkeConfigLocalAuthEndpointArgs -func ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtr(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput { - return (*clusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType)(v) +func ClusterV2RkeConfigLocalAuthEndpointPtr(v *ClusterV2RkeConfigLocalAuthEndpointArgs) ClusterV2RkeConfigLocalAuthEndpointPtrInput { + return (*clusterV2RkeConfigLocalAuthEndpointPtrType)(v) } -func (*clusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() +func (*clusterV2RkeConfigLocalAuthEndpointPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() } -func (i *clusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return i.ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) +func (i *clusterV2RkeConfigLocalAuthEndpointPtrType) ToClusterV2RkeConfigLocalAuthEndpointPtrOutput() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return i.ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) } -func (i *clusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) +func (i *clusterV2RkeConfigLocalAuthEndpointPtrType) ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigLocalAuthEndpointPtrOutput) } -type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigLocalAuthEndpointOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() +func (ClusterV2RkeConfigLocalAuthEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() } -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { +func (o ClusterV2RkeConfigLocalAuthEndpointOutput) ToClusterV2RkeConfigLocalAuthEndpointOutput() ClusterV2RkeConfigLocalAuthEndpointOutput { return o } -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { +func (o ClusterV2RkeConfigLocalAuthEndpointOutput) ToClusterV2RkeConfigLocalAuthEndpointOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointOutput { return o } -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return o.ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigLocalAuthEndpointOutput) ToClusterV2RkeConfigLocalAuthEndpointPtrOutput() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return o.ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) } -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { +func (o ClusterV2RkeConfigLocalAuthEndpointOutput) ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigLocalAuthEndpoint) *ClusterV2RkeConfigLocalAuthEndpoint { return &v - }).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) -} - -// Drain options delete empty dir data. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.DeleteEmptyDirData }).(pulumi.BoolPtrOutput) + }).(ClusterV2RkeConfigLocalAuthEndpointPtrOutput) } -// Drain options disable eviction. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) DisableEviction() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.DisableEviction }).(pulumi.BoolPtrOutput) +// CA certs for the authorized cluster endpoint (string) +func (o ClusterV2RkeConfigLocalAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigLocalAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) } // Drain options enabled? Default `true` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) -} - -// Drain options force. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.Force }).(pulumi.BoolPtrOutput) -} - -// Drain options grace period (int) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { return v.GracePeriod }).(pulumi.IntPtrOutput) -} - -// Drain options ignore daemon sets. Default `true` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) -} - -// Drain options ignore errors. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) IgnoreErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.IgnoreErrors }).(pulumi.BoolPtrOutput) -} - -// Drain options skip wait for delete timeout seconds (int) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { - return v.SkipWaitForDeleteTimeoutSeconds - }).(pulumi.IntPtrOutput) +func (o ClusterV2RkeConfigLocalAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigLocalAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -// Drain options timeout (int) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { return v.Timeout }).(pulumi.IntPtrOutput) +// FQDN for the authorized cluster endpoint (string) +func (o ClusterV2RkeConfigLocalAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigLocalAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) } -type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigLocalAuthEndpointPtrOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() +func (ClusterV2RkeConfigLocalAuthEndpointPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() } -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { +func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) ToClusterV2RkeConfigLocalAuthEndpointPtrOutput() ClusterV2RkeConfigLocalAuthEndpointPtrOutput { return o } -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { +func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) ToClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigLocalAuthEndpointPtrOutput { return o } -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Elem() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { +func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) Elem() ClusterV2RkeConfigLocalAuthEndpointOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigLocalAuthEndpoint) ClusterV2RkeConfigLocalAuthEndpoint { if v != nil { return *v } - var ret ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions + var ret ClusterV2RkeConfigLocalAuthEndpoint return ret - }).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) -} - -// Drain options delete empty dir data. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { - if v == nil { - return nil - } - return v.DeleteEmptyDirData - }).(pulumi.BoolPtrOutput) + }).(ClusterV2RkeConfigLocalAuthEndpointOutput) } -// Drain options disable eviction. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) DisableEviction() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { +// CA certs for the authorized cluster endpoint (string) +func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigLocalAuthEndpoint) *string { if v == nil { return nil } - return v.DisableEviction - }).(pulumi.BoolPtrOutput) + return v.CaCerts + }).(pulumi.StringPtrOutput) } // Drain options enabled? Default `true` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { +func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigLocalAuthEndpoint) *bool { if v == nil { return nil } @@ -44118,7859 +45082,6892 @@ func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Enab }).(pulumi.BoolPtrOutput) } -// Drain options force. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { +// FQDN for the authorized cluster endpoint (string) +func (o ClusterV2RkeConfigLocalAuthEndpointPtrOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigLocalAuthEndpoint) *string { if v == nil { return nil } - return v.Force - }).(pulumi.BoolPtrOutput) + return v.Fqdn + }).(pulumi.StringPtrOutput) } -// Drain options grace period (int) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { - if v == nil { - return nil - } - return v.GracePeriod - }).(pulumi.IntPtrOutput) +type ClusterV2RkeConfigMachinePool struct { + // Annotations for cluster registration token object (map) + Annotations map[string]interface{} `pulumi:"annotations"` + // Cluster V2 cloud credential secret name (string) + CloudCredentialSecretName string `pulumi:"cloudCredentialSecretName"` + // Machine pool control plane role? (bool) + ControlPlaneRole *bool `pulumi:"controlPlaneRole"` + // Machine Pool Drain Before Delete? (bool) + DrainBeforeDelete *bool `pulumi:"drainBeforeDelete"` + // Machine pool etcd role? (bool) + EtcdRole *bool `pulumi:"etcdRole"` + // Labels for cluster registration token object (map) + Labels map[string]interface{} `pulumi:"labels"` + // Machine pool node config (list) + MachineConfig ClusterV2RkeConfigMachinePoolMachineConfig `pulumi:"machineConfig"` + // Labels for Machine pool nodes (map) + MachineLabels map[string]interface{} `pulumi:"machineLabels"` + // Max unhealthy nodes for automated replacement to be allowed (string) + MaxUnhealthy *string `pulumi:"maxUnhealthy"` + // Name of cluster registration token (string) + Name string `pulumi:"name"` + // Seconds a machine has to drain before deletion (int) + NodeDrainTimeout *int `pulumi:"nodeDrainTimeout"` + // Seconds a new node has to become active before it is replaced (int) + NodeStartupTimeoutSeconds *int `pulumi:"nodeStartupTimeoutSeconds"` + // Machine pool paused? (bool) + Paused *bool `pulumi:"paused"` + // Machine pool quantity (int) + Quantity *int `pulumi:"quantity"` + // Machine pool rolling update (List maxitems:1) + RollingUpdate *ClusterV2RkeConfigMachinePoolRollingUpdate `pulumi:"rollingUpdate"` + // Machine pool taints (list) + Taints []ClusterV2RkeConfigMachinePoolTaint `pulumi:"taints"` + // Seconds an unhealthy node has to become active before it is replaced (int) + UnhealthyNodeTimeoutSeconds *int `pulumi:"unhealthyNodeTimeoutSeconds"` + // Range of unhealthy nodes for automated replacement to be allowed (string) + UnhealthyRange *string `pulumi:"unhealthyRange"` + // Machine pool worker role? (bool) + WorkerRole *bool `pulumi:"workerRole"` } -// Drain options ignore daemon sets. Default `true` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { - if v == nil { - return nil - } - return v.IgnoreDaemonSets - }).(pulumi.BoolPtrOutput) +// ClusterV2RkeConfigMachinePoolInput is an input type that accepts ClusterV2RkeConfigMachinePoolArgs and ClusterV2RkeConfigMachinePoolOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolInput` via: +// +// ClusterV2RkeConfigMachinePoolArgs{...} +type ClusterV2RkeConfigMachinePoolInput interface { + pulumi.Input + + ToClusterV2RkeConfigMachinePoolOutput() ClusterV2RkeConfigMachinePoolOutput + ToClusterV2RkeConfigMachinePoolOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolOutput } -// Drain options ignore errors. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) IgnoreErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { - if v == nil { - return nil - } - return v.IgnoreErrors - }).(pulumi.BoolPtrOutput) +type ClusterV2RkeConfigMachinePoolArgs struct { + // Annotations for cluster registration token object (map) + Annotations pulumi.MapInput `pulumi:"annotations"` + // Cluster V2 cloud credential secret name (string) + CloudCredentialSecretName pulumi.StringInput `pulumi:"cloudCredentialSecretName"` + // Machine pool control plane role? (bool) + ControlPlaneRole pulumi.BoolPtrInput `pulumi:"controlPlaneRole"` + // Machine Pool Drain Before Delete? (bool) + DrainBeforeDelete pulumi.BoolPtrInput `pulumi:"drainBeforeDelete"` + // Machine pool etcd role? (bool) + EtcdRole pulumi.BoolPtrInput `pulumi:"etcdRole"` + // Labels for cluster registration token object (map) + Labels pulumi.MapInput `pulumi:"labels"` + // Machine pool node config (list) + MachineConfig ClusterV2RkeConfigMachinePoolMachineConfigInput `pulumi:"machineConfig"` + // Labels for Machine pool nodes (map) + MachineLabels pulumi.MapInput `pulumi:"machineLabels"` + // Max unhealthy nodes for automated replacement to be allowed (string) + MaxUnhealthy pulumi.StringPtrInput `pulumi:"maxUnhealthy"` + // Name of cluster registration token (string) + Name pulumi.StringInput `pulumi:"name"` + // Seconds a machine has to drain before deletion (int) + NodeDrainTimeout pulumi.IntPtrInput `pulumi:"nodeDrainTimeout"` + // Seconds a new node has to become active before it is replaced (int) + NodeStartupTimeoutSeconds pulumi.IntPtrInput `pulumi:"nodeStartupTimeoutSeconds"` + // Machine pool paused? (bool) + Paused pulumi.BoolPtrInput `pulumi:"paused"` + // Machine pool quantity (int) + Quantity pulumi.IntPtrInput `pulumi:"quantity"` + // Machine pool rolling update (List maxitems:1) + RollingUpdate ClusterV2RkeConfigMachinePoolRollingUpdatePtrInput `pulumi:"rollingUpdate"` + // Machine pool taints (list) + Taints ClusterV2RkeConfigMachinePoolTaintArrayInput `pulumi:"taints"` + // Seconds an unhealthy node has to become active before it is replaced (int) + UnhealthyNodeTimeoutSeconds pulumi.IntPtrInput `pulumi:"unhealthyNodeTimeoutSeconds"` + // Range of unhealthy nodes for automated replacement to be allowed (string) + UnhealthyRange pulumi.StringPtrInput `pulumi:"unhealthyRange"` + // Machine pool worker role? (bool) + WorkerRole pulumi.BoolPtrInput `pulumi:"workerRole"` } -// Drain options skip wait for delete timeout seconds (int) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { - if v == nil { - return nil - } - return v.SkipWaitForDeleteTimeoutSeconds - }).(pulumi.IntPtrOutput) +func (ClusterV2RkeConfigMachinePoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachinePool)(nil)).Elem() } -// Drain options timeout (int) -func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { - if v == nil { - return nil - } - return v.Timeout - }).(pulumi.IntPtrOutput) +func (i ClusterV2RkeConfigMachinePoolArgs) ToClusterV2RkeConfigMachinePoolOutput() ClusterV2RkeConfigMachinePoolOutput { + return i.ToClusterV2RkeConfigMachinePoolOutputWithContext(context.Background()) } -type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions struct { - // Drain options delete empty dir data. Default `false` (bool) - DeleteEmptyDirData *bool `pulumi:"deleteEmptyDirData"` - // Drain options disable eviction. Default `false` (bool) - DisableEviction *bool `pulumi:"disableEviction"` - // Drain options enabled? Default `true` (bool) - Enabled *bool `pulumi:"enabled"` - // Drain options force. Default `false` (bool) - Force *bool `pulumi:"force"` - // Drain options grace period (int) - GracePeriod *int `pulumi:"gracePeriod"` - // Drain options ignore daemon sets. Default `true` (bool) - IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` - // Drain options ignore errors. Default `false` (bool) - IgnoreErrors *bool `pulumi:"ignoreErrors"` - // Drain options skip wait for delete timeout seconds (int) - SkipWaitForDeleteTimeoutSeconds *int `pulumi:"skipWaitForDeleteTimeoutSeconds"` - // Drain options timeout (int) - Timeout *int `pulumi:"timeout"` +func (i ClusterV2RkeConfigMachinePoolArgs) ToClusterV2RkeConfigMachinePoolOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolOutput) } -// ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs and ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput` via: +// ClusterV2RkeConfigMachinePoolArrayInput is an input type that accepts ClusterV2RkeConfigMachinePoolArray and ClusterV2RkeConfigMachinePoolArrayOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolArrayInput` via: // -// ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs{...} -type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput interface { +// ClusterV2RkeConfigMachinePoolArray{ ClusterV2RkeConfigMachinePoolArgs{...} } +type ClusterV2RkeConfigMachinePoolArrayInput interface { pulumi.Input - ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput - ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput + ToClusterV2RkeConfigMachinePoolArrayOutput() ClusterV2RkeConfigMachinePoolArrayOutput + ToClusterV2RkeConfigMachinePoolArrayOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolArrayOutput } -type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs struct { - // Drain options delete empty dir data. Default `false` (bool) - DeleteEmptyDirData pulumi.BoolPtrInput `pulumi:"deleteEmptyDirData"` - // Drain options disable eviction. Default `false` (bool) - DisableEviction pulumi.BoolPtrInput `pulumi:"disableEviction"` - // Drain options enabled? Default `true` (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // Drain options force. Default `false` (bool) - Force pulumi.BoolPtrInput `pulumi:"force"` - // Drain options grace period (int) - GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` - // Drain options ignore daemon sets. Default `true` (bool) - IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` - // Drain options ignore errors. Default `false` (bool) - IgnoreErrors pulumi.BoolPtrInput `pulumi:"ignoreErrors"` - // Drain options skip wait for delete timeout seconds (int) - SkipWaitForDeleteTimeoutSeconds pulumi.IntPtrInput `pulumi:"skipWaitForDeleteTimeoutSeconds"` - // Drain options timeout (int) - Timeout pulumi.IntPtrInput `pulumi:"timeout"` -} +type ClusterV2RkeConfigMachinePoolArray []ClusterV2RkeConfigMachinePoolInput -func (ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() +func (ClusterV2RkeConfigMachinePoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigMachinePool)(nil)).Elem() } -func (i ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { - return i.ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigMachinePoolArray) ToClusterV2RkeConfigMachinePoolArrayOutput() ClusterV2RkeConfigMachinePoolArrayOutput { + return i.ToClusterV2RkeConfigMachinePoolArrayOutputWithContext(context.Background()) } -func (i ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) +func (i ClusterV2RkeConfigMachinePoolArray) ToClusterV2RkeConfigMachinePoolArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolArrayOutput) } -func (i ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return i.ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) -} +type ClusterV2RkeConfigMachinePoolOutput struct{ *pulumi.OutputState } -func (i ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput).ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx) +func (ClusterV2RkeConfigMachinePoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachinePool)(nil)).Elem() } -// ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs, ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtr and ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput values. -// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput` via: -// -// ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs{...} -// -// or: -// -// nil -type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput interface { - pulumi.Input - - ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput - ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput +func (o ClusterV2RkeConfigMachinePoolOutput) ToClusterV2RkeConfigMachinePoolOutput() ClusterV2RkeConfigMachinePoolOutput { + return o } -type clusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs +func (o ClusterV2RkeConfigMachinePoolOutput) ToClusterV2RkeConfigMachinePoolOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolOutput { + return o +} -func ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtr(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput { - return (*clusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType)(v) +// Annotations for cluster registration token object (map) +func (o ClusterV2RkeConfigMachinePoolOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) } -func (*clusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() +// Cluster V2 cloud credential secret name (string) +func (o ClusterV2RkeConfigMachinePoolOutput) CloudCredentialSecretName() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) string { return v.CloudCredentialSecretName }).(pulumi.StringOutput) } -func (i *clusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return i.ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) +// Machine pool control plane role? (bool) +func (o ClusterV2RkeConfigMachinePoolOutput) ControlPlaneRole() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *bool { return v.ControlPlaneRole }).(pulumi.BoolPtrOutput) } -func (i *clusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) +// Machine Pool Drain Before Delete? (bool) +func (o ClusterV2RkeConfigMachinePoolOutput) DrainBeforeDelete() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *bool { return v.DrainBeforeDelete }).(pulumi.BoolPtrOutput) } -type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput struct{ *pulumi.OutputState } +// Machine pool etcd role? (bool) +func (o ClusterV2RkeConfigMachinePoolOutput) EtcdRole() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *bool { return v.EtcdRole }).(pulumi.BoolPtrOutput) +} -func (ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() +// Labels for cluster registration token object (map) +func (o ClusterV2RkeConfigMachinePoolOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { - return o +// Machine pool node config (list) +func (o ClusterV2RkeConfigMachinePoolOutput) MachineConfig() ClusterV2RkeConfigMachinePoolMachineConfigOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) ClusterV2RkeConfigMachinePoolMachineConfig { + return v.MachineConfig + }).(ClusterV2RkeConfigMachinePoolMachineConfigOutput) } -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { - return o +// Labels for Machine pool nodes (map) +func (o ClusterV2RkeConfigMachinePoolOutput) MachineLabels() pulumi.MapOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) map[string]interface{} { return v.MachineLabels }).(pulumi.MapOutput) } -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return o.ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) +// Max unhealthy nodes for automated replacement to be allowed (string) +func (o ClusterV2RkeConfigMachinePoolOutput) MaxUnhealthy() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *string { return v.MaxUnhealthy }).(pulumi.StringPtrOutput) } -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { - return &v - }).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) +// Name of cluster registration token (string) +func (o ClusterV2RkeConfigMachinePoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) string { return v.Name }).(pulumi.StringOutput) } -// Drain options delete empty dir data. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.DeleteEmptyDirData }).(pulumi.BoolPtrOutput) +// Seconds a machine has to drain before deletion (int) +func (o ClusterV2RkeConfigMachinePoolOutput) NodeDrainTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *int { return v.NodeDrainTimeout }).(pulumi.IntPtrOutput) } -// Drain options disable eviction. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) DisableEviction() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.DisableEviction }).(pulumi.BoolPtrOutput) +// Seconds a new node has to become active before it is replaced (int) +func (o ClusterV2RkeConfigMachinePoolOutput) NodeStartupTimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *int { return v.NodeStartupTimeoutSeconds }).(pulumi.IntPtrOutput) } -// Drain options enabled? Default `true` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// Machine pool paused? (bool) +func (o ClusterV2RkeConfigMachinePoolOutput) Paused() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *bool { return v.Paused }).(pulumi.BoolPtrOutput) } -// Drain options force. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.Force }).(pulumi.BoolPtrOutput) +// Machine pool quantity (int) +func (o ClusterV2RkeConfigMachinePoolOutput) Quantity() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *int { return v.Quantity }).(pulumi.IntPtrOutput) } -// Drain options grace period (int) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { return v.GracePeriod }).(pulumi.IntPtrOutput) +// Machine pool rolling update (List maxitems:1) +func (o ClusterV2RkeConfigMachinePoolOutput) RollingUpdate() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *ClusterV2RkeConfigMachinePoolRollingUpdate { + return v.RollingUpdate + }).(ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) } -// Drain options ignore daemon sets. Default `true` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) +// Machine pool taints (list) +func (o ClusterV2RkeConfigMachinePoolOutput) Taints() ClusterV2RkeConfigMachinePoolTaintArrayOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) []ClusterV2RkeConfigMachinePoolTaint { return v.Taints }).(ClusterV2RkeConfigMachinePoolTaintArrayOutput) } -// Drain options ignore errors. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) IgnoreErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.IgnoreErrors }).(pulumi.BoolPtrOutput) +// Seconds an unhealthy node has to become active before it is replaced (int) +func (o ClusterV2RkeConfigMachinePoolOutput) UnhealthyNodeTimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *int { return v.UnhealthyNodeTimeoutSeconds }).(pulumi.IntPtrOutput) } -// Drain options skip wait for delete timeout seconds (int) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { - return v.SkipWaitForDeleteTimeoutSeconds - }).(pulumi.IntPtrOutput) +// Range of unhealthy nodes for automated replacement to be allowed (string) +func (o ClusterV2RkeConfigMachinePoolOutput) UnhealthyRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *string { return v.UnhealthyRange }).(pulumi.StringPtrOutput) } -// Drain options timeout (int) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { return v.Timeout }).(pulumi.IntPtrOutput) +// Machine pool worker role? (bool) +func (o ClusterV2RkeConfigMachinePoolOutput) WorkerRole() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePool) *bool { return v.WorkerRole }).(pulumi.BoolPtrOutput) } -type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigMachinePoolArrayOutput struct{ *pulumi.OutputState } -func (ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() +func (ClusterV2RkeConfigMachinePoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigMachinePool)(nil)).Elem() } -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { +func (o ClusterV2RkeConfigMachinePoolArrayOutput) ToClusterV2RkeConfigMachinePoolArrayOutput() ClusterV2RkeConfigMachinePoolArrayOutput { return o } -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { +func (o ClusterV2RkeConfigMachinePoolArrayOutput) ToClusterV2RkeConfigMachinePoolArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolArrayOutput { return o } -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Elem() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { - if v != nil { - return *v - } - var ret ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions - return ret - }).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) +func (o ClusterV2RkeConfigMachinePoolArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigMachinePoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigMachinePool { + return vs[0].([]ClusterV2RkeConfigMachinePool)[vs[1].(int)] + }).(ClusterV2RkeConfigMachinePoolOutput) } -// Drain options delete empty dir data. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.DeleteEmptyDirData - }).(pulumi.BoolPtrOutput) +type ClusterV2RkeConfigMachinePoolMachineConfig struct { + // Machine config kind (string) + Kind string `pulumi:"kind"` + // Name of cluster registration token (string) + Name string `pulumi:"name"` } -// Drain options disable eviction. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) DisableEviction() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.DisableEviction - }).(pulumi.BoolPtrOutput) +// ClusterV2RkeConfigMachinePoolMachineConfigInput is an input type that accepts ClusterV2RkeConfigMachinePoolMachineConfigArgs and ClusterV2RkeConfigMachinePoolMachineConfigOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolMachineConfigInput` via: +// +// ClusterV2RkeConfigMachinePoolMachineConfigArgs{...} +type ClusterV2RkeConfigMachinePoolMachineConfigInput interface { + pulumi.Input + + ToClusterV2RkeConfigMachinePoolMachineConfigOutput() ClusterV2RkeConfigMachinePoolMachineConfigOutput + ToClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolMachineConfigOutput } -// Drain options enabled? Default `true` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) +type ClusterV2RkeConfigMachinePoolMachineConfigArgs struct { + // Machine config kind (string) + Kind pulumi.StringInput `pulumi:"kind"` + // Name of cluster registration token (string) + Name pulumi.StringInput `pulumi:"name"` } -// Drain options force. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.Force - }).(pulumi.BoolPtrOutput) +func (ClusterV2RkeConfigMachinePoolMachineConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolMachineConfig)(nil)).Elem() } -// Drain options grace period (int) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { - if v == nil { - return nil - } - return v.GracePeriod - }).(pulumi.IntPtrOutput) +func (i ClusterV2RkeConfigMachinePoolMachineConfigArgs) ToClusterV2RkeConfigMachinePoolMachineConfigOutput() ClusterV2RkeConfigMachinePoolMachineConfigOutput { + return i.ToClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(context.Background()) } -// Drain options ignore daemon sets. Default `true` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.IgnoreDaemonSets - }).(pulumi.BoolPtrOutput) +func (i ClusterV2RkeConfigMachinePoolMachineConfigArgs) ToClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolMachineConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolMachineConfigOutput) } -// Drain options ignore errors. Default `false` (bool) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) IgnoreErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.IgnoreErrors - }).(pulumi.BoolPtrOutput) +type ClusterV2RkeConfigMachinePoolMachineConfigOutput struct{ *pulumi.OutputState } + +func (ClusterV2RkeConfigMachinePoolMachineConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolMachineConfig)(nil)).Elem() } -// Drain options skip wait for delete timeout seconds (int) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { - if v == nil { - return nil - } - return v.SkipWaitForDeleteTimeoutSeconds - }).(pulumi.IntPtrOutput) +func (o ClusterV2RkeConfigMachinePoolMachineConfigOutput) ToClusterV2RkeConfigMachinePoolMachineConfigOutput() ClusterV2RkeConfigMachinePoolMachineConfigOutput { + return o } -// Drain options timeout (int) -func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { - if v == nil { - return nil - } - return v.Timeout - }).(pulumi.IntPtrOutput) +func (o ClusterV2RkeConfigMachinePoolMachineConfigOutput) ToClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolMachineConfigOutput { + return o } -type EtcdBackupBackupConfig struct { - // Enable etcd backup (bool) - Enabled *bool `pulumi:"enabled"` - // Interval hours for etcd backup. Default `12` (int) - IntervalHours *int `pulumi:"intervalHours"` - // Retention for etcd backup. Default `6` (int) - Retention *int `pulumi:"retention"` - // S3 config options for etcd backup. Valid for `imported` and `rke` clusters. (list maxitems:1) - S3BackupConfig *EtcdBackupBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` - SafeTimestamp *bool `pulumi:"safeTimestamp"` - Timeout *int `pulumi:"timeout"` +// Machine config kind (string) +func (o ClusterV2RkeConfigMachinePoolMachineConfigOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolMachineConfig) string { return v.Kind }).(pulumi.StringOutput) } -// EtcdBackupBackupConfigInput is an input type that accepts EtcdBackupBackupConfigArgs and EtcdBackupBackupConfigOutput values. -// You can construct a concrete instance of `EtcdBackupBackupConfigInput` via: +// Name of cluster registration token (string) +func (o ClusterV2RkeConfigMachinePoolMachineConfigOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolMachineConfig) string { return v.Name }).(pulumi.StringOutput) +} + +type ClusterV2RkeConfigMachinePoolRollingUpdate struct { + // Rolling update max surge (string) + MaxSurge *string `pulumi:"maxSurge"` + // Rolling update max unavailable (string) + MaxUnavailable *string `pulumi:"maxUnavailable"` +} + +// ClusterV2RkeConfigMachinePoolRollingUpdateInput is an input type that accepts ClusterV2RkeConfigMachinePoolRollingUpdateArgs and ClusterV2RkeConfigMachinePoolRollingUpdateOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolRollingUpdateInput` via: // -// EtcdBackupBackupConfigArgs{...} -type EtcdBackupBackupConfigInput interface { +// ClusterV2RkeConfigMachinePoolRollingUpdateArgs{...} +type ClusterV2RkeConfigMachinePoolRollingUpdateInput interface { pulumi.Input - ToEtcdBackupBackupConfigOutput() EtcdBackupBackupConfigOutput - ToEtcdBackupBackupConfigOutputWithContext(context.Context) EtcdBackupBackupConfigOutput + ToClusterV2RkeConfigMachinePoolRollingUpdateOutput() ClusterV2RkeConfigMachinePoolRollingUpdateOutput + ToClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolRollingUpdateOutput } -type EtcdBackupBackupConfigArgs struct { - // Enable etcd backup (bool) - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // Interval hours for etcd backup. Default `12` (int) - IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` - // Retention for etcd backup. Default `6` (int) - Retention pulumi.IntPtrInput `pulumi:"retention"` - // S3 config options for etcd backup. Valid for `imported` and `rke` clusters. (list maxitems:1) - S3BackupConfig EtcdBackupBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` - SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` - Timeout pulumi.IntPtrInput `pulumi:"timeout"` +type ClusterV2RkeConfigMachinePoolRollingUpdateArgs struct { + // Rolling update max surge (string) + MaxSurge pulumi.StringPtrInput `pulumi:"maxSurge"` + // Rolling update max unavailable (string) + MaxUnavailable pulumi.StringPtrInput `pulumi:"maxUnavailable"` } -func (EtcdBackupBackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EtcdBackupBackupConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() } -func (i EtcdBackupBackupConfigArgs) ToEtcdBackupBackupConfigOutput() EtcdBackupBackupConfigOutput { - return i.ToEtcdBackupBackupConfigOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToClusterV2RkeConfigMachinePoolRollingUpdateOutput() ClusterV2RkeConfigMachinePoolRollingUpdateOutput { + return i.ToClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(context.Background()) } -func (i EtcdBackupBackupConfigArgs) ToEtcdBackupBackupConfigOutputWithContext(ctx context.Context) EtcdBackupBackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigOutput) +func (i ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolRollingUpdateOutput) } -func (i EtcdBackupBackupConfigArgs) ToEtcdBackupBackupConfigPtrOutput() EtcdBackupBackupConfigPtrOutput { - return i.ToEtcdBackupBackupConfigPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return i.ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) } -func (i EtcdBackupBackupConfigArgs) ToEtcdBackupBackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigOutput).ToEtcdBackupBackupConfigPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolRollingUpdateOutput).ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx) } -// EtcdBackupBackupConfigPtrInput is an input type that accepts EtcdBackupBackupConfigArgs, EtcdBackupBackupConfigPtr and EtcdBackupBackupConfigPtrOutput values. -// You can construct a concrete instance of `EtcdBackupBackupConfigPtrInput` via: +// ClusterV2RkeConfigMachinePoolRollingUpdatePtrInput is an input type that accepts ClusterV2RkeConfigMachinePoolRollingUpdateArgs, ClusterV2RkeConfigMachinePoolRollingUpdatePtr and ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolRollingUpdatePtrInput` via: // -// EtcdBackupBackupConfigArgs{...} +// ClusterV2RkeConfigMachinePoolRollingUpdateArgs{...} // // or: // // nil -type EtcdBackupBackupConfigPtrInput interface { +type ClusterV2RkeConfigMachinePoolRollingUpdatePtrInput interface { pulumi.Input - ToEtcdBackupBackupConfigPtrOutput() EtcdBackupBackupConfigPtrOutput - ToEtcdBackupBackupConfigPtrOutputWithContext(context.Context) EtcdBackupBackupConfigPtrOutput + ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput + ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput } -type etcdBackupBackupConfigPtrType EtcdBackupBackupConfigArgs +type clusterV2RkeConfigMachinePoolRollingUpdatePtrType ClusterV2RkeConfigMachinePoolRollingUpdateArgs -func EtcdBackupBackupConfigPtr(v *EtcdBackupBackupConfigArgs) EtcdBackupBackupConfigPtrInput { - return (*etcdBackupBackupConfigPtrType)(v) +func ClusterV2RkeConfigMachinePoolRollingUpdatePtr(v *ClusterV2RkeConfigMachinePoolRollingUpdateArgs) ClusterV2RkeConfigMachinePoolRollingUpdatePtrInput { + return (*clusterV2RkeConfigMachinePoolRollingUpdatePtrType)(v) } -func (*etcdBackupBackupConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**EtcdBackupBackupConfig)(nil)).Elem() +func (*clusterV2RkeConfigMachinePoolRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() } -func (i *etcdBackupBackupConfigPtrType) ToEtcdBackupBackupConfigPtrOutput() EtcdBackupBackupConfigPtrOutput { - return i.ToEtcdBackupBackupConfigPtrOutputWithContext(context.Background()) +func (i *clusterV2RkeConfigMachinePoolRollingUpdatePtrType) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return i.ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) } -func (i *etcdBackupBackupConfigPtrType) ToEtcdBackupBackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigPtrOutput) +func (i *clusterV2RkeConfigMachinePoolRollingUpdatePtrType) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) } -type EtcdBackupBackupConfigOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigMachinePoolRollingUpdateOutput struct{ *pulumi.OutputState } -func (EtcdBackupBackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EtcdBackupBackupConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachinePoolRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() } -func (o EtcdBackupBackupConfigOutput) ToEtcdBackupBackupConfigOutput() EtcdBackupBackupConfigOutput { +func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToClusterV2RkeConfigMachinePoolRollingUpdateOutput() ClusterV2RkeConfigMachinePoolRollingUpdateOutput { return o } -func (o EtcdBackupBackupConfigOutput) ToEtcdBackupBackupConfigOutputWithContext(ctx context.Context) EtcdBackupBackupConfigOutput { +func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdateOutput { return o } -func (o EtcdBackupBackupConfigOutput) ToEtcdBackupBackupConfigPtrOutput() EtcdBackupBackupConfigPtrOutput { - return o.ToEtcdBackupBackupConfigPtrOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return o.ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) } -func (o EtcdBackupBackupConfigOutput) ToEtcdBackupBackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v EtcdBackupBackupConfig) *EtcdBackupBackupConfig { +func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigMachinePoolRollingUpdate) *ClusterV2RkeConfigMachinePoolRollingUpdate { return &v - }).(EtcdBackupBackupConfigPtrOutput) -} - -// Enable etcd backup (bool) -func (o EtcdBackupBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) -} - -// Interval hours for etcd backup. Default `12` (int) -func (o EtcdBackupBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfig) *int { return v.IntervalHours }).(pulumi.IntPtrOutput) -} - -// Retention for etcd backup. Default `6` (int) -func (o EtcdBackupBackupConfigOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfig) *int { return v.Retention }).(pulumi.IntPtrOutput) -} - -// S3 config options for etcd backup. Valid for `imported` and `rke` clusters. (list maxitems:1) -func (o EtcdBackupBackupConfigOutput) S3BackupConfig() EtcdBackupBackupConfigS3BackupConfigPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfig) *EtcdBackupBackupConfigS3BackupConfig { return v.S3BackupConfig }).(EtcdBackupBackupConfigS3BackupConfigPtrOutput) + }).(ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) } -func (o EtcdBackupBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfig) *bool { return v.SafeTimestamp }).(pulumi.BoolPtrOutput) +// Rolling update max surge (string) +func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) MaxSurge() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolRollingUpdate) *string { return v.MaxSurge }).(pulumi.StringPtrOutput) } -func (o EtcdBackupBackupConfigOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfig) *int { return v.Timeout }).(pulumi.IntPtrOutput) +// Rolling update max unavailable (string) +func (o ClusterV2RkeConfigMachinePoolRollingUpdateOutput) MaxUnavailable() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolRollingUpdate) *string { return v.MaxUnavailable }).(pulumi.StringPtrOutput) } -type EtcdBackupBackupConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput struct{ *pulumi.OutputState } -func (EtcdBackupBackupConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**EtcdBackupBackupConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() } -func (o EtcdBackupBackupConfigPtrOutput) ToEtcdBackupBackupConfigPtrOutput() EtcdBackupBackupConfigPtrOutput { +func (o ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { return o } -func (o EtcdBackupBackupConfigPtrOutput) ToEtcdBackupBackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigPtrOutput { +func (o ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ToClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { return o } -func (o EtcdBackupBackupConfigPtrOutput) Elem() EtcdBackupBackupConfigOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfig) EtcdBackupBackupConfig { +func (o ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) Elem() ClusterV2RkeConfigMachinePoolRollingUpdateOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigMachinePoolRollingUpdate) ClusterV2RkeConfigMachinePoolRollingUpdate { if v != nil { return *v } - var ret EtcdBackupBackupConfig + var ret ClusterV2RkeConfigMachinePoolRollingUpdate return ret - }).(EtcdBackupBackupConfigOutput) + }).(ClusterV2RkeConfigMachinePoolRollingUpdateOutput) } -// Enable etcd backup (bool) -func (o EtcdBackupBackupConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfig) *bool { +// Rolling update max surge (string) +func (o ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) MaxSurge() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigMachinePoolRollingUpdate) *string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.MaxSurge + }).(pulumi.StringPtrOutput) } -// Interval hours for etcd backup. Default `12` (int) -func (o EtcdBackupBackupConfigPtrOutput) IntervalHours() pulumi.IntPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfig) *int { +// Rolling update max unavailable (string) +func (o ClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) MaxUnavailable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigMachinePoolRollingUpdate) *string { if v == nil { return nil } - return v.IntervalHours - }).(pulumi.IntPtrOutput) + return v.MaxUnavailable + }).(pulumi.StringPtrOutput) } -// Retention for etcd backup. Default `6` (int) -func (o EtcdBackupBackupConfigPtrOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfig) *int { - if v == nil { - return nil - } - return v.Retention - }).(pulumi.IntPtrOutput) +type ClusterV2RkeConfigMachinePoolTaint struct { + // The taint effect. Default: `\"NoExecute\"` (string) + Effect *string `pulumi:"effect"` + // Machine selector label match expressions key (string) + Key string `pulumi:"key"` + // The taint value (string) + Value string `pulumi:"value"` } -// S3 config options for etcd backup. Valid for `imported` and `rke` clusters. (list maxitems:1) -func (o EtcdBackupBackupConfigPtrOutput) S3BackupConfig() EtcdBackupBackupConfigS3BackupConfigPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfig) *EtcdBackupBackupConfigS3BackupConfig { - if v == nil { - return nil - } - return v.S3BackupConfig - }).(EtcdBackupBackupConfigS3BackupConfigPtrOutput) +// ClusterV2RkeConfigMachinePoolTaintInput is an input type that accepts ClusterV2RkeConfigMachinePoolTaintArgs and ClusterV2RkeConfigMachinePoolTaintOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolTaintInput` via: +// +// ClusterV2RkeConfigMachinePoolTaintArgs{...} +type ClusterV2RkeConfigMachinePoolTaintInput interface { + pulumi.Input + + ToClusterV2RkeConfigMachinePoolTaintOutput() ClusterV2RkeConfigMachinePoolTaintOutput + ToClusterV2RkeConfigMachinePoolTaintOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolTaintOutput } -func (o EtcdBackupBackupConfigPtrOutput) SafeTimestamp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfig) *bool { - if v == nil { - return nil - } - return v.SafeTimestamp - }).(pulumi.BoolPtrOutput) +type ClusterV2RkeConfigMachinePoolTaintArgs struct { + // The taint effect. Default: `\"NoExecute\"` (string) + Effect pulumi.StringPtrInput `pulumi:"effect"` + // Machine selector label match expressions key (string) + Key pulumi.StringInput `pulumi:"key"` + // The taint value (string) + Value pulumi.StringInput `pulumi:"value"` } -func (o EtcdBackupBackupConfigPtrOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfig) *int { - if v == nil { - return nil - } - return v.Timeout - }).(pulumi.IntPtrOutput) +func (ClusterV2RkeConfigMachinePoolTaintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() } -type EtcdBackupBackupConfigS3BackupConfig struct { - // Access key for S3 service (string) - AccessKey *string `pulumi:"accessKey"` - // Bucket name for S3 service (string) - BucketName string `pulumi:"bucketName"` - // Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) - CustomCa *string `pulumi:"customCa"` - // Endpoint for S3 service (string) - Endpoint string `pulumi:"endpoint"` - // Folder for S3 service. Available from Rancher v2.2.7 (string) - Folder *string `pulumi:"folder"` - // Region for S3 service (string) - Region *string `pulumi:"region"` - // Secret key for S3 service (string) - SecretKey *string `pulumi:"secretKey"` +func (i ClusterV2RkeConfigMachinePoolTaintArgs) ToClusterV2RkeConfigMachinePoolTaintOutput() ClusterV2RkeConfigMachinePoolTaintOutput { + return i.ToClusterV2RkeConfigMachinePoolTaintOutputWithContext(context.Background()) } -// EtcdBackupBackupConfigS3BackupConfigInput is an input type that accepts EtcdBackupBackupConfigS3BackupConfigArgs and EtcdBackupBackupConfigS3BackupConfigOutput values. -// You can construct a concrete instance of `EtcdBackupBackupConfigS3BackupConfigInput` via: +func (i ClusterV2RkeConfigMachinePoolTaintArgs) ToClusterV2RkeConfigMachinePoolTaintOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolTaintOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolTaintOutput) +} + +// ClusterV2RkeConfigMachinePoolTaintArrayInput is an input type that accepts ClusterV2RkeConfigMachinePoolTaintArray and ClusterV2RkeConfigMachinePoolTaintArrayOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachinePoolTaintArrayInput` via: // -// EtcdBackupBackupConfigS3BackupConfigArgs{...} -type EtcdBackupBackupConfigS3BackupConfigInput interface { +// ClusterV2RkeConfigMachinePoolTaintArray{ ClusterV2RkeConfigMachinePoolTaintArgs{...} } +type ClusterV2RkeConfigMachinePoolTaintArrayInput interface { pulumi.Input - ToEtcdBackupBackupConfigS3BackupConfigOutput() EtcdBackupBackupConfigS3BackupConfigOutput - ToEtcdBackupBackupConfigS3BackupConfigOutputWithContext(context.Context) EtcdBackupBackupConfigS3BackupConfigOutput + ToClusterV2RkeConfigMachinePoolTaintArrayOutput() ClusterV2RkeConfigMachinePoolTaintArrayOutput + ToClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(context.Context) ClusterV2RkeConfigMachinePoolTaintArrayOutput } -type EtcdBackupBackupConfigS3BackupConfigArgs struct { - // Access key for S3 service (string) - AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` - // Bucket name for S3 service (string) - BucketName pulumi.StringInput `pulumi:"bucketName"` - // Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) - CustomCa pulumi.StringPtrInput `pulumi:"customCa"` - // Endpoint for S3 service (string) - Endpoint pulumi.StringInput `pulumi:"endpoint"` - // Folder for S3 service. Available from Rancher v2.2.7 (string) - Folder pulumi.StringPtrInput `pulumi:"folder"` - // Region for S3 service (string) - Region pulumi.StringPtrInput `pulumi:"region"` - // Secret key for S3 service (string) - SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` -} +type ClusterV2RkeConfigMachinePoolTaintArray []ClusterV2RkeConfigMachinePoolTaintInput -func (EtcdBackupBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachinePoolTaintArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() } -func (i EtcdBackupBackupConfigS3BackupConfigArgs) ToEtcdBackupBackupConfigS3BackupConfigOutput() EtcdBackupBackupConfigS3BackupConfigOutput { - return i.ToEtcdBackupBackupConfigS3BackupConfigOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigMachinePoolTaintArray) ToClusterV2RkeConfigMachinePoolTaintArrayOutput() ClusterV2RkeConfigMachinePoolTaintArrayOutput { + return i.ToClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(context.Background()) } -func (i EtcdBackupBackupConfigS3BackupConfigArgs) ToEtcdBackupBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigS3BackupConfigOutput) +func (i ClusterV2RkeConfigMachinePoolTaintArray) ToClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolTaintArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachinePoolTaintArrayOutput) } -func (i EtcdBackupBackupConfigS3BackupConfigArgs) ToEtcdBackupBackupConfigS3BackupConfigPtrOutput() EtcdBackupBackupConfigS3BackupConfigPtrOutput { - return i.ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) -} +type ClusterV2RkeConfigMachinePoolTaintOutput struct{ *pulumi.OutputState } -func (i EtcdBackupBackupConfigS3BackupConfigArgs) ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigS3BackupConfigOutput).ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx) +func (ClusterV2RkeConfigMachinePoolTaintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() } -// EtcdBackupBackupConfigS3BackupConfigPtrInput is an input type that accepts EtcdBackupBackupConfigS3BackupConfigArgs, EtcdBackupBackupConfigS3BackupConfigPtr and EtcdBackupBackupConfigS3BackupConfigPtrOutput values. -// You can construct a concrete instance of `EtcdBackupBackupConfigS3BackupConfigPtrInput` via: -// -// EtcdBackupBackupConfigS3BackupConfigArgs{...} -// -// or: -// -// nil -type EtcdBackupBackupConfigS3BackupConfigPtrInput interface { - pulumi.Input - - ToEtcdBackupBackupConfigS3BackupConfigPtrOutput() EtcdBackupBackupConfigS3BackupConfigPtrOutput - ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) EtcdBackupBackupConfigS3BackupConfigPtrOutput +func (o ClusterV2RkeConfigMachinePoolTaintOutput) ToClusterV2RkeConfigMachinePoolTaintOutput() ClusterV2RkeConfigMachinePoolTaintOutput { + return o } -type etcdBackupBackupConfigS3BackupConfigPtrType EtcdBackupBackupConfigS3BackupConfigArgs - -func EtcdBackupBackupConfigS3BackupConfigPtr(v *EtcdBackupBackupConfigS3BackupConfigArgs) EtcdBackupBackupConfigS3BackupConfigPtrInput { - return (*etcdBackupBackupConfigS3BackupConfigPtrType)(v) +func (o ClusterV2RkeConfigMachinePoolTaintOutput) ToClusterV2RkeConfigMachinePoolTaintOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolTaintOutput { + return o } -func (*etcdBackupBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**EtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() +// The taint effect. Default: `\"NoExecute\"` (string) +func (o ClusterV2RkeConfigMachinePoolTaintOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) } -func (i *etcdBackupBackupConfigS3BackupConfigPtrType) ToEtcdBackupBackupConfigS3BackupConfigPtrOutput() EtcdBackupBackupConfigS3BackupConfigPtrOutput { - return i.ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +// Machine selector label match expressions key (string) +func (o ClusterV2RkeConfigMachinePoolTaintOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolTaint) string { return v.Key }).(pulumi.StringOutput) } -func (i *etcdBackupBackupConfigS3BackupConfigPtrType) ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigS3BackupConfigPtrOutput) +// The taint value (string) +func (o ClusterV2RkeConfigMachinePoolTaintOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachinePoolTaint) string { return v.Value }).(pulumi.StringOutput) } -type EtcdBackupBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigMachinePoolTaintArrayOutput struct{ *pulumi.OutputState } -func (EtcdBackupBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachinePoolTaintArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() } -func (o EtcdBackupBackupConfigS3BackupConfigOutput) ToEtcdBackupBackupConfigS3BackupConfigOutput() EtcdBackupBackupConfigS3BackupConfigOutput { +func (o ClusterV2RkeConfigMachinePoolTaintArrayOutput) ToClusterV2RkeConfigMachinePoolTaintArrayOutput() ClusterV2RkeConfigMachinePoolTaintArrayOutput { return o } -func (o EtcdBackupBackupConfigS3BackupConfigOutput) ToEtcdBackupBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigOutput { +func (o ClusterV2RkeConfigMachinePoolTaintArrayOutput) ToClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachinePoolTaintArrayOutput { return o } -func (o EtcdBackupBackupConfigS3BackupConfigOutput) ToEtcdBackupBackupConfigS3BackupConfigPtrOutput() EtcdBackupBackupConfigS3BackupConfigPtrOutput { - return o.ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigMachinePoolTaintArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigMachinePoolTaintOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigMachinePoolTaint { + return vs[0].([]ClusterV2RkeConfigMachinePoolTaint)[vs[1].(int)] + }).(ClusterV2RkeConfigMachinePoolTaintOutput) } -func (o EtcdBackupBackupConfigS3BackupConfigOutput) ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v EtcdBackupBackupConfigS3BackupConfig) *EtcdBackupBackupConfigS3BackupConfig { - return &v - }).(EtcdBackupBackupConfigS3BackupConfigPtrOutput) +type ClusterV2RkeConfigMachineSelectorConfig struct { + // Machine selector config (map) + Config map[string]interface{} `pulumi:"config"` + // Machine selector label (list maxitems:1) + MachineLabelSelector *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector `pulumi:"machineLabelSelector"` } -// Access key for S3 service (string) -func (o EtcdBackupBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) *string { return v.AccessKey }).(pulumi.StringPtrOutput) +// ClusterV2RkeConfigMachineSelectorConfigInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigArgs and ClusterV2RkeConfigMachineSelectorConfigOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigInput` via: +// +// ClusterV2RkeConfigMachineSelectorConfigArgs{...} +type ClusterV2RkeConfigMachineSelectorConfigInput interface { + pulumi.Input + + ToClusterV2RkeConfigMachineSelectorConfigOutput() ClusterV2RkeConfigMachineSelectorConfigOutput + ToClusterV2RkeConfigMachineSelectorConfigOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigOutput } -// Bucket name for S3 service (string) -func (o EtcdBackupBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { - return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) string { return v.BucketName }).(pulumi.StringOutput) +type ClusterV2RkeConfigMachineSelectorConfigArgs struct { + // Machine selector config (map) + Config pulumi.MapInput `pulumi:"config"` + // Machine selector label (list maxitems:1) + MachineLabelSelector ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput `pulumi:"machineLabelSelector"` } -// Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) -func (o EtcdBackupBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) *string { return v.CustomCa }).(pulumi.StringPtrOutput) +func (ClusterV2RkeConfigMachineSelectorConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() } -// Endpoint for S3 service (string) -func (o EtcdBackupBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) string { return v.Endpoint }).(pulumi.StringOutput) +func (i ClusterV2RkeConfigMachineSelectorConfigArgs) ToClusterV2RkeConfigMachineSelectorConfigOutput() ClusterV2RkeConfigMachineSelectorConfigOutput { + return i.ToClusterV2RkeConfigMachineSelectorConfigOutputWithContext(context.Background()) } -// Folder for S3 service. Available from Rancher v2.2.7 (string) -func (o EtcdBackupBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) +func (i ClusterV2RkeConfigMachineSelectorConfigArgs) ToClusterV2RkeConfigMachineSelectorConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigOutput) } -// Region for S3 service (string) -func (o EtcdBackupBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +// ClusterV2RkeConfigMachineSelectorConfigArrayInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigArray and ClusterV2RkeConfigMachineSelectorConfigArrayOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigArrayInput` via: +// +// ClusterV2RkeConfigMachineSelectorConfigArray{ ClusterV2RkeConfigMachineSelectorConfigArgs{...} } +type ClusterV2RkeConfigMachineSelectorConfigArrayInput interface { + pulumi.Input + + ToClusterV2RkeConfigMachineSelectorConfigArrayOutput() ClusterV2RkeConfigMachineSelectorConfigArrayOutput + ToClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigArrayOutput } -// Secret key for S3 service (string) -func (o EtcdBackupBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) *string { return v.SecretKey }).(pulumi.StringPtrOutput) +type ClusterV2RkeConfigMachineSelectorConfigArray []ClusterV2RkeConfigMachineSelectorConfigInput + +func (ClusterV2RkeConfigMachineSelectorConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() } -type EtcdBackupBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } +func (i ClusterV2RkeConfigMachineSelectorConfigArray) ToClusterV2RkeConfigMachineSelectorConfigArrayOutput() ClusterV2RkeConfigMachineSelectorConfigArrayOutput { + return i.ToClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(context.Background()) +} -func (EtcdBackupBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**EtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() +func (i ClusterV2RkeConfigMachineSelectorConfigArray) ToClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigArrayOutput) } -func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) ToEtcdBackupBackupConfigS3BackupConfigPtrOutput() EtcdBackupBackupConfigS3BackupConfigPtrOutput { - return o +type ClusterV2RkeConfigMachineSelectorConfigOutput struct{ *pulumi.OutputState } + +func (ClusterV2RkeConfigMachineSelectorConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() } -func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigPtrOutput { +func (o ClusterV2RkeConfigMachineSelectorConfigOutput) ToClusterV2RkeConfigMachineSelectorConfigOutput() ClusterV2RkeConfigMachineSelectorConfigOutput { return o } -func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) Elem() EtcdBackupBackupConfigS3BackupConfigOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) EtcdBackupBackupConfigS3BackupConfig { - if v != nil { - return *v - } - var ret EtcdBackupBackupConfigS3BackupConfig - return ret - }).(EtcdBackupBackupConfigS3BackupConfigOutput) +func (o ClusterV2RkeConfigMachineSelectorConfigOutput) ToClusterV2RkeConfigMachineSelectorConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigOutput { + return o } -// Access key for S3 service (string) -func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.AccessKey - }).(pulumi.StringPtrOutput) +// Machine selector config (map) +func (o ClusterV2RkeConfigMachineSelectorConfigOutput) Config() pulumi.MapOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfig) map[string]interface{} { return v.Config }).(pulumi.MapOutput) } -// Bucket name for S3 service (string) -func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.BucketName - }).(pulumi.StringPtrOutput) +// Machine selector label (list maxitems:1) +func (o ClusterV2RkeConfigMachineSelectorConfigOutput) MachineLabelSelector() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfig) *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { + return v.MachineLabelSelector + }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) } -// Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) -func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.CustomCa - }).(pulumi.StringPtrOutput) -} +type ClusterV2RkeConfigMachineSelectorConfigArrayOutput struct{ *pulumi.OutputState } -// Endpoint for S3 service (string) -func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) +func (ClusterV2RkeConfigMachineSelectorConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() } -// Folder for S3 service. Available from Rancher v2.2.7 (string) -func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.Folder - }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigMachineSelectorConfigArrayOutput) ToClusterV2RkeConfigMachineSelectorConfigArrayOutput() ClusterV2RkeConfigMachineSelectorConfigArrayOutput { + return o } -// Region for S3 service (string) -func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigMachineSelectorConfigArrayOutput) ToClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigArrayOutput { + return o } -// Secret key for S3 service (string) -func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.SecretKey - }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigMachineSelectorConfigArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigMachineSelectorConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigMachineSelectorConfig { + return vs[0].([]ClusterV2RkeConfigMachineSelectorConfig)[vs[1].(int)] + }).(ClusterV2RkeConfigMachineSelectorConfigOutput) } -type GlobalDnsProviderAlidnsConfig struct { - // The AWS Access key (string) - AccessKey string `pulumi:"accessKey"` - // The AWS Secret key (string) - SecretKey string `pulumi:"secretKey"` +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector struct { + // Machine selector label match expressions (list) + MatchExpressions []ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression `pulumi:"matchExpressions"` + // Machine selector label match labels (map) + MatchLabels map[string]interface{} `pulumi:"matchLabels"` } -// GlobalDnsProviderAlidnsConfigInput is an input type that accepts GlobalDnsProviderAlidnsConfigArgs and GlobalDnsProviderAlidnsConfigOutput values. -// You can construct a concrete instance of `GlobalDnsProviderAlidnsConfigInput` via: +// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs and ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput` via: // -// GlobalDnsProviderAlidnsConfigArgs{...} -type GlobalDnsProviderAlidnsConfigInput interface { +// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs{...} +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput interface { pulumi.Input - ToGlobalDnsProviderAlidnsConfigOutput() GlobalDnsProviderAlidnsConfigOutput - ToGlobalDnsProviderAlidnsConfigOutputWithContext(context.Context) GlobalDnsProviderAlidnsConfigOutput + ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput + ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput } -type GlobalDnsProviderAlidnsConfigArgs struct { - // The AWS Access key (string) - AccessKey pulumi.StringInput `pulumi:"accessKey"` - // The AWS Secret key (string) - SecretKey pulumi.StringInput `pulumi:"secretKey"` +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs struct { + // Machine selector label match expressions (list) + MatchExpressions ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput `pulumi:"matchExpressions"` + // Machine selector label match labels (map) + MatchLabels pulumi.MapInput `pulumi:"matchLabels"` } -func (GlobalDnsProviderAlidnsConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GlobalDnsProviderAlidnsConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() } -func (i GlobalDnsProviderAlidnsConfigArgs) ToGlobalDnsProviderAlidnsConfigOutput() GlobalDnsProviderAlidnsConfigOutput { - return i.ToGlobalDnsProviderAlidnsConfigOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { + return i.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(context.Background()) } -func (i GlobalDnsProviderAlidnsConfigArgs) ToGlobalDnsProviderAlidnsConfigOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderAlidnsConfigOutput) +func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) } -func (i GlobalDnsProviderAlidnsConfigArgs) ToGlobalDnsProviderAlidnsConfigPtrOutput() GlobalDnsProviderAlidnsConfigPtrOutput { - return i.ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return i.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) } -func (i GlobalDnsProviderAlidnsConfigArgs) ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderAlidnsConfigOutput).ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput).ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx) } -// GlobalDnsProviderAlidnsConfigPtrInput is an input type that accepts GlobalDnsProviderAlidnsConfigArgs, GlobalDnsProviderAlidnsConfigPtr and GlobalDnsProviderAlidnsConfigPtrOutput values. -// You can construct a concrete instance of `GlobalDnsProviderAlidnsConfigPtrInput` via: +// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs, ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtr and ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput` via: // -// GlobalDnsProviderAlidnsConfigArgs{...} +// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs{...} // // or: // // nil -type GlobalDnsProviderAlidnsConfigPtrInput interface { +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput interface { pulumi.Input - ToGlobalDnsProviderAlidnsConfigPtrOutput() GlobalDnsProviderAlidnsConfigPtrOutput - ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(context.Context) GlobalDnsProviderAlidnsConfigPtrOutput + ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput + ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput } -type globalDnsProviderAlidnsConfigPtrType GlobalDnsProviderAlidnsConfigArgs +type clusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs -func GlobalDnsProviderAlidnsConfigPtr(v *GlobalDnsProviderAlidnsConfigArgs) GlobalDnsProviderAlidnsConfigPtrInput { - return (*globalDnsProviderAlidnsConfigPtrType)(v) +func ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtr(v *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput { + return (*clusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType)(v) } -func (*globalDnsProviderAlidnsConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GlobalDnsProviderAlidnsConfig)(nil)).Elem() +func (*clusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() } -func (i *globalDnsProviderAlidnsConfigPtrType) ToGlobalDnsProviderAlidnsConfigPtrOutput() GlobalDnsProviderAlidnsConfigPtrOutput { - return i.ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(context.Background()) +func (i *clusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return i.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) } -func (i *globalDnsProviderAlidnsConfigPtrType) ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderAlidnsConfigPtrOutput) +func (i *clusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) } -type GlobalDnsProviderAlidnsConfigOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput struct{ *pulumi.OutputState } -func (GlobalDnsProviderAlidnsConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GlobalDnsProviderAlidnsConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() } -func (o GlobalDnsProviderAlidnsConfigOutput) ToGlobalDnsProviderAlidnsConfigOutput() GlobalDnsProviderAlidnsConfigOutput { +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { return o } -func (o GlobalDnsProviderAlidnsConfigOutput) ToGlobalDnsProviderAlidnsConfigOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigOutput { +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { return o } -func (o GlobalDnsProviderAlidnsConfigOutput) ToGlobalDnsProviderAlidnsConfigPtrOutput() GlobalDnsProviderAlidnsConfigPtrOutput { - return o.ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return o.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) } -func (o GlobalDnsProviderAlidnsConfigOutput) ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GlobalDnsProviderAlidnsConfig) *GlobalDnsProviderAlidnsConfig { +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { return &v - }).(GlobalDnsProviderAlidnsConfigPtrOutput) + }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) } -// The AWS Access key (string) -func (o GlobalDnsProviderAlidnsConfigOutput) AccessKey() pulumi.StringOutput { - return o.ApplyT(func(v GlobalDnsProviderAlidnsConfig) string { return v.AccessKey }).(pulumi.StringOutput) +// Machine selector label match expressions (list) +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) MatchExpressions() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) []ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { + return v.MatchExpressions + }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) } -// The AWS Secret key (string) -func (o GlobalDnsProviderAlidnsConfigOutput) SecretKey() pulumi.StringOutput { - return o.ApplyT(func(v GlobalDnsProviderAlidnsConfig) string { return v.SecretKey }).(pulumi.StringOutput) +// Machine selector label match labels (map) +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) MatchLabels() pulumi.MapOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) map[string]interface{} { + return v.MatchLabels + }).(pulumi.MapOutput) } -type GlobalDnsProviderAlidnsConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput struct{ *pulumi.OutputState } -func (GlobalDnsProviderAlidnsConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GlobalDnsProviderAlidnsConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() } -func (o GlobalDnsProviderAlidnsConfigPtrOutput) ToGlobalDnsProviderAlidnsConfigPtrOutput() GlobalDnsProviderAlidnsConfigPtrOutput { +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { return o } -func (o GlobalDnsProviderAlidnsConfigPtrOutput) ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigPtrOutput { +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { return o } -func (o GlobalDnsProviderAlidnsConfigPtrOutput) Elem() GlobalDnsProviderAlidnsConfigOutput { - return o.ApplyT(func(v *GlobalDnsProviderAlidnsConfig) GlobalDnsProviderAlidnsConfig { +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) Elem() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { if v != nil { return *v } - var ret GlobalDnsProviderAlidnsConfig + var ret ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector return ret - }).(GlobalDnsProviderAlidnsConfigOutput) + }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) } -// The AWS Access key (string) -func (o GlobalDnsProviderAlidnsConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderAlidnsConfig) *string { +// Machine selector label match expressions (list) +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) MatchExpressions() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) []ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { if v == nil { return nil } - return &v.AccessKey - }).(pulumi.StringPtrOutput) + return v.MatchExpressions + }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) } -// The AWS Secret key (string) -func (o GlobalDnsProviderAlidnsConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderAlidnsConfig) *string { +// Machine selector label match labels (map) +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) MatchLabels() pulumi.MapOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) map[string]interface{} { if v == nil { return nil } - return &v.SecretKey - }).(pulumi.StringPtrOutput) + return v.MatchLabels + }).(pulumi.MapOutput) } -type GlobalDnsProviderCloudflareConfig struct { - // The CloudFlare API Email (string) - ApiEmail string `pulumi:"apiEmail"` - // The CloudFlare API Key (string) - ApiKey string `pulumi:"apiKey"` - // CloudFlare Proxy Setting. Default: `false` (bool) - ProxySetting *bool `pulumi:"proxySetting"` +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression struct { + // Machine selector label match expressions key (string) + Key *string `pulumi:"key"` + // Machine selector label match expressions operator (string) + Operator *string `pulumi:"operator"` + // Machine selector label match expressions values (List string) + Values []string `pulumi:"values"` } -// GlobalDnsProviderCloudflareConfigInput is an input type that accepts GlobalDnsProviderCloudflareConfigArgs and GlobalDnsProviderCloudflareConfigOutput values. -// You can construct a concrete instance of `GlobalDnsProviderCloudflareConfigInput` via: +// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs and ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput` via: // -// GlobalDnsProviderCloudflareConfigArgs{...} -type GlobalDnsProviderCloudflareConfigInput interface { +// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs{...} +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput interface { pulumi.Input - ToGlobalDnsProviderCloudflareConfigOutput() GlobalDnsProviderCloudflareConfigOutput - ToGlobalDnsProviderCloudflareConfigOutputWithContext(context.Context) GlobalDnsProviderCloudflareConfigOutput -} - -type GlobalDnsProviderCloudflareConfigArgs struct { - // The CloudFlare API Email (string) - ApiEmail pulumi.StringInput `pulumi:"apiEmail"` - // The CloudFlare API Key (string) - ApiKey pulumi.StringInput `pulumi:"apiKey"` - // CloudFlare Proxy Setting. Default: `false` (bool) - ProxySetting pulumi.BoolPtrInput `pulumi:"proxySetting"` -} - -func (GlobalDnsProviderCloudflareConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GlobalDnsProviderCloudflareConfig)(nil)).Elem() + ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput + ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput } -func (i GlobalDnsProviderCloudflareConfigArgs) ToGlobalDnsProviderCloudflareConfigOutput() GlobalDnsProviderCloudflareConfigOutput { - return i.ToGlobalDnsProviderCloudflareConfigOutputWithContext(context.Background()) +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs struct { + // Machine selector label match expressions key (string) + Key pulumi.StringPtrInput `pulumi:"key"` + // Machine selector label match expressions operator (string) + Operator pulumi.StringPtrInput `pulumi:"operator"` + // Machine selector label match expressions values (List string) + Values pulumi.StringArrayInput `pulumi:"values"` } -func (i GlobalDnsProviderCloudflareConfigArgs) ToGlobalDnsProviderCloudflareConfigOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderCloudflareConfigOutput) +func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() } -func (i GlobalDnsProviderCloudflareConfigArgs) ToGlobalDnsProviderCloudflareConfigPtrOutput() GlobalDnsProviderCloudflareConfigPtrOutput { - return i.ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { + return i.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(context.Background()) } -func (i GlobalDnsProviderCloudflareConfigArgs) ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderCloudflareConfigOutput).ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) } -// GlobalDnsProviderCloudflareConfigPtrInput is an input type that accepts GlobalDnsProviderCloudflareConfigArgs, GlobalDnsProviderCloudflareConfigPtr and GlobalDnsProviderCloudflareConfigPtrOutput values. -// You can construct a concrete instance of `GlobalDnsProviderCloudflareConfigPtrInput` via: -// -// GlobalDnsProviderCloudflareConfigArgs{...} -// -// or: +// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput is an input type that accepts ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray and ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput` via: // -// nil -type GlobalDnsProviderCloudflareConfigPtrInput interface { +// ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray{ ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs{...} } +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput interface { pulumi.Input - ToGlobalDnsProviderCloudflareConfigPtrOutput() GlobalDnsProviderCloudflareConfigPtrOutput - ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(context.Context) GlobalDnsProviderCloudflareConfigPtrOutput + ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput + ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput } -type globalDnsProviderCloudflareConfigPtrType GlobalDnsProviderCloudflareConfigArgs - -func GlobalDnsProviderCloudflareConfigPtr(v *GlobalDnsProviderCloudflareConfigArgs) GlobalDnsProviderCloudflareConfigPtrInput { - return (*globalDnsProviderCloudflareConfigPtrType)(v) -} +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray []ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput -func (*globalDnsProviderCloudflareConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GlobalDnsProviderCloudflareConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() } -func (i *globalDnsProviderCloudflareConfigPtrType) ToGlobalDnsProviderCloudflareConfigPtrOutput() GlobalDnsProviderCloudflareConfigPtrOutput { - return i.ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { + return i.ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(context.Background()) } -func (i *globalDnsProviderCloudflareConfigPtrType) ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderCloudflareConfigPtrOutput) +func (i ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) } -type GlobalDnsProviderCloudflareConfigOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput struct{ *pulumi.OutputState } -func (GlobalDnsProviderCloudflareConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GlobalDnsProviderCloudflareConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() } -func (o GlobalDnsProviderCloudflareConfigOutput) ToGlobalDnsProviderCloudflareConfigOutput() GlobalDnsProviderCloudflareConfigOutput { +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { return o } -func (o GlobalDnsProviderCloudflareConfigOutput) ToGlobalDnsProviderCloudflareConfigOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigOutput { +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { return o } -func (o GlobalDnsProviderCloudflareConfigOutput) ToGlobalDnsProviderCloudflareConfigPtrOutput() GlobalDnsProviderCloudflareConfigPtrOutput { - return o.ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(context.Background()) -} - -func (o GlobalDnsProviderCloudflareConfigOutput) ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GlobalDnsProviderCloudflareConfig) *GlobalDnsProviderCloudflareConfig { - return &v - }).(GlobalDnsProviderCloudflareConfigPtrOutput) -} - -// The CloudFlare API Email (string) -func (o GlobalDnsProviderCloudflareConfigOutput) ApiEmail() pulumi.StringOutput { - return o.ApplyT(func(v GlobalDnsProviderCloudflareConfig) string { return v.ApiEmail }).(pulumi.StringOutput) +// Machine selector label match expressions key (string) +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) *string { + return v.Key + }).(pulumi.StringPtrOutput) } -// The CloudFlare API Key (string) -func (o GlobalDnsProviderCloudflareConfigOutput) ApiKey() pulumi.StringOutput { - return o.ApplyT(func(v GlobalDnsProviderCloudflareConfig) string { return v.ApiKey }).(pulumi.StringOutput) +// Machine selector label match expressions operator (string) +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) *string { + return v.Operator + }).(pulumi.StringPtrOutput) } -// CloudFlare Proxy Setting. Default: `false` (bool) -func (o GlobalDnsProviderCloudflareConfigOutput) ProxySetting() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GlobalDnsProviderCloudflareConfig) *bool { return v.ProxySetting }).(pulumi.BoolPtrOutput) +// Machine selector label match expressions values (List string) +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) []string { + return v.Values + }).(pulumi.StringArrayOutput) } -type GlobalDnsProviderCloudflareConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput struct{ *pulumi.OutputState } -func (GlobalDnsProviderCloudflareConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GlobalDnsProviderCloudflareConfig)(nil)).Elem() +func (ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() } -func (o GlobalDnsProviderCloudflareConfigPtrOutput) ToGlobalDnsProviderCloudflareConfigPtrOutput() GlobalDnsProviderCloudflareConfigPtrOutput { +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { return o } -func (o GlobalDnsProviderCloudflareConfigPtrOutput) ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigPtrOutput { +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ToClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { return o } -func (o GlobalDnsProviderCloudflareConfigPtrOutput) Elem() GlobalDnsProviderCloudflareConfigOutput { - return o.ApplyT(func(v *GlobalDnsProviderCloudflareConfig) GlobalDnsProviderCloudflareConfig { - if v != nil { - return *v - } - var ret GlobalDnsProviderCloudflareConfig - return ret - }).(GlobalDnsProviderCloudflareConfigOutput) -} - -// The CloudFlare API Email (string) -func (o GlobalDnsProviderCloudflareConfigPtrOutput) ApiEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderCloudflareConfig) *string { - if v == nil { - return nil - } - return &v.ApiEmail - }).(pulumi.StringPtrOutput) -} - -// The CloudFlare API Key (string) -func (o GlobalDnsProviderCloudflareConfigPtrOutput) ApiKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderCloudflareConfig) *string { - if v == nil { - return nil - } - return &v.ApiKey - }).(pulumi.StringPtrOutput) -} - -// CloudFlare Proxy Setting. Default: `false` (bool) -func (o GlobalDnsProviderCloudflareConfigPtrOutput) ProxySetting() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderCloudflareConfig) *bool { - if v == nil { - return nil - } - return v.ProxySetting - }).(pulumi.BoolPtrOutput) +func (o ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { + return vs[0].([]ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)[vs[1].(int)] + }).(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) } -type GlobalDnsProviderRoute53Config struct { - // The AWS Access key (string) - AccessKey string `pulumi:"accessKey"` - // The AWS credentials path. Default: `"/.aws"` (string) - CredentialsPath *string `pulumi:"credentialsPath"` - // The AWS Region. Default: `"us-west-2"` (string) - Region *string `pulumi:"region"` - // The AWS Role ARN (string) - RoleArn *string `pulumi:"roleArn"` - // The AWS Secret key (string) - SecretKey string `pulumi:"secretKey"` - // The Route53 zone type `public, private`. Default: `"public"` (string) - ZoneType *string `pulumi:"zoneType"` +type ClusterV2RkeConfigRegistries struct { + // Cluster V2 docker registries config (list) + Configs []ClusterV2RkeConfigRegistriesConfig `pulumi:"configs"` + // Cluster V2 docker registries mirror (list) + Mirrors []ClusterV2RkeConfigRegistriesMirror `pulumi:"mirrors"` } -// GlobalDnsProviderRoute53ConfigInput is an input type that accepts GlobalDnsProviderRoute53ConfigArgs and GlobalDnsProviderRoute53ConfigOutput values. -// You can construct a concrete instance of `GlobalDnsProviderRoute53ConfigInput` via: +// ClusterV2RkeConfigRegistriesInput is an input type that accepts ClusterV2RkeConfigRegistriesArgs and ClusterV2RkeConfigRegistriesOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesInput` via: // -// GlobalDnsProviderRoute53ConfigArgs{...} -type GlobalDnsProviderRoute53ConfigInput interface { +// ClusterV2RkeConfigRegistriesArgs{...} +type ClusterV2RkeConfigRegistriesInput interface { pulumi.Input - ToGlobalDnsProviderRoute53ConfigOutput() GlobalDnsProviderRoute53ConfigOutput - ToGlobalDnsProviderRoute53ConfigOutputWithContext(context.Context) GlobalDnsProviderRoute53ConfigOutput + ToClusterV2RkeConfigRegistriesOutput() ClusterV2RkeConfigRegistriesOutput + ToClusterV2RkeConfigRegistriesOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesOutput } -type GlobalDnsProviderRoute53ConfigArgs struct { - // The AWS Access key (string) - AccessKey pulumi.StringInput `pulumi:"accessKey"` - // The AWS credentials path. Default: `"/.aws"` (string) - CredentialsPath pulumi.StringPtrInput `pulumi:"credentialsPath"` - // The AWS Region. Default: `"us-west-2"` (string) - Region pulumi.StringPtrInput `pulumi:"region"` - // The AWS Role ARN (string) - RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` - // The AWS Secret key (string) - SecretKey pulumi.StringInput `pulumi:"secretKey"` - // The Route53 zone type `public, private`. Default: `"public"` (string) - ZoneType pulumi.StringPtrInput `pulumi:"zoneType"` +type ClusterV2RkeConfigRegistriesArgs struct { + // Cluster V2 docker registries config (list) + Configs ClusterV2RkeConfigRegistriesConfigArrayInput `pulumi:"configs"` + // Cluster V2 docker registries mirror (list) + Mirrors ClusterV2RkeConfigRegistriesMirrorArrayInput `pulumi:"mirrors"` } -func (GlobalDnsProviderRoute53ConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GlobalDnsProviderRoute53Config)(nil)).Elem() +func (ClusterV2RkeConfigRegistriesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigRegistries)(nil)).Elem() } -func (i GlobalDnsProviderRoute53ConfigArgs) ToGlobalDnsProviderRoute53ConfigOutput() GlobalDnsProviderRoute53ConfigOutput { - return i.ToGlobalDnsProviderRoute53ConfigOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigRegistriesArgs) ToClusterV2RkeConfigRegistriesOutput() ClusterV2RkeConfigRegistriesOutput { + return i.ToClusterV2RkeConfigRegistriesOutputWithContext(context.Background()) } -func (i GlobalDnsProviderRoute53ConfigArgs) ToGlobalDnsProviderRoute53ConfigOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderRoute53ConfigOutput) +func (i ClusterV2RkeConfigRegistriesArgs) ToClusterV2RkeConfigRegistriesOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesOutput) } -func (i GlobalDnsProviderRoute53ConfigArgs) ToGlobalDnsProviderRoute53ConfigPtrOutput() GlobalDnsProviderRoute53ConfigPtrOutput { - return i.ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigRegistriesArgs) ToClusterV2RkeConfigRegistriesPtrOutput() ClusterV2RkeConfigRegistriesPtrOutput { + return i.ToClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) } -func (i GlobalDnsProviderRoute53ConfigArgs) ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderRoute53ConfigOutput).ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigRegistriesArgs) ToClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesOutput).ToClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx) } -// GlobalDnsProviderRoute53ConfigPtrInput is an input type that accepts GlobalDnsProviderRoute53ConfigArgs, GlobalDnsProviderRoute53ConfigPtr and GlobalDnsProviderRoute53ConfigPtrOutput values. -// You can construct a concrete instance of `GlobalDnsProviderRoute53ConfigPtrInput` via: +// ClusterV2RkeConfigRegistriesPtrInput is an input type that accepts ClusterV2RkeConfigRegistriesArgs, ClusterV2RkeConfigRegistriesPtr and ClusterV2RkeConfigRegistriesPtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesPtrInput` via: // -// GlobalDnsProviderRoute53ConfigArgs{...} +// ClusterV2RkeConfigRegistriesArgs{...} // // or: // // nil -type GlobalDnsProviderRoute53ConfigPtrInput interface { +type ClusterV2RkeConfigRegistriesPtrInput interface { pulumi.Input - ToGlobalDnsProviderRoute53ConfigPtrOutput() GlobalDnsProviderRoute53ConfigPtrOutput - ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(context.Context) GlobalDnsProviderRoute53ConfigPtrOutput + ToClusterV2RkeConfigRegistriesPtrOutput() ClusterV2RkeConfigRegistriesPtrOutput + ToClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesPtrOutput } -type globalDnsProviderRoute53ConfigPtrType GlobalDnsProviderRoute53ConfigArgs +type clusterV2RkeConfigRegistriesPtrType ClusterV2RkeConfigRegistriesArgs -func GlobalDnsProviderRoute53ConfigPtr(v *GlobalDnsProviderRoute53ConfigArgs) GlobalDnsProviderRoute53ConfigPtrInput { - return (*globalDnsProviderRoute53ConfigPtrType)(v) +func ClusterV2RkeConfigRegistriesPtr(v *ClusterV2RkeConfigRegistriesArgs) ClusterV2RkeConfigRegistriesPtrInput { + return (*clusterV2RkeConfigRegistriesPtrType)(v) } -func (*globalDnsProviderRoute53ConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GlobalDnsProviderRoute53Config)(nil)).Elem() +func (*clusterV2RkeConfigRegistriesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigRegistries)(nil)).Elem() } -func (i *globalDnsProviderRoute53ConfigPtrType) ToGlobalDnsProviderRoute53ConfigPtrOutput() GlobalDnsProviderRoute53ConfigPtrOutput { - return i.ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(context.Background()) +func (i *clusterV2RkeConfigRegistriesPtrType) ToClusterV2RkeConfigRegistriesPtrOutput() ClusterV2RkeConfigRegistriesPtrOutput { + return i.ToClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) } -func (i *globalDnsProviderRoute53ConfigPtrType) ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderRoute53ConfigPtrOutput) +func (i *clusterV2RkeConfigRegistriesPtrType) ToClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesPtrOutput) } -type GlobalDnsProviderRoute53ConfigOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigRegistriesOutput struct{ *pulumi.OutputState } -func (GlobalDnsProviderRoute53ConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GlobalDnsProviderRoute53Config)(nil)).Elem() +func (ClusterV2RkeConfigRegistriesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigRegistries)(nil)).Elem() } -func (o GlobalDnsProviderRoute53ConfigOutput) ToGlobalDnsProviderRoute53ConfigOutput() GlobalDnsProviderRoute53ConfigOutput { +func (o ClusterV2RkeConfigRegistriesOutput) ToClusterV2RkeConfigRegistriesOutput() ClusterV2RkeConfigRegistriesOutput { return o } -func (o GlobalDnsProviderRoute53ConfigOutput) ToGlobalDnsProviderRoute53ConfigOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigOutput { +func (o ClusterV2RkeConfigRegistriesOutput) ToClusterV2RkeConfigRegistriesOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesOutput { return o } -func (o GlobalDnsProviderRoute53ConfigOutput) ToGlobalDnsProviderRoute53ConfigPtrOutput() GlobalDnsProviderRoute53ConfigPtrOutput { - return o.ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigRegistriesOutput) ToClusterV2RkeConfigRegistriesPtrOutput() ClusterV2RkeConfigRegistriesPtrOutput { + return o.ToClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) } -func (o GlobalDnsProviderRoute53ConfigOutput) ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GlobalDnsProviderRoute53Config) *GlobalDnsProviderRoute53Config { +func (o ClusterV2RkeConfigRegistriesOutput) ToClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigRegistries) *ClusterV2RkeConfigRegistries { return &v - }).(GlobalDnsProviderRoute53ConfigPtrOutput) -} - -// The AWS Access key (string) -func (o GlobalDnsProviderRoute53ConfigOutput) AccessKey() pulumi.StringOutput { - return o.ApplyT(func(v GlobalDnsProviderRoute53Config) string { return v.AccessKey }).(pulumi.StringOutput) -} - -// The AWS credentials path. Default: `"/.aws"` (string) -func (o GlobalDnsProviderRoute53ConfigOutput) CredentialsPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GlobalDnsProviderRoute53Config) *string { return v.CredentialsPath }).(pulumi.StringPtrOutput) -} - -// The AWS Region. Default: `"us-west-2"` (string) -func (o GlobalDnsProviderRoute53ConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GlobalDnsProviderRoute53Config) *string { return v.Region }).(pulumi.StringPtrOutput) -} - -// The AWS Role ARN (string) -func (o GlobalDnsProviderRoute53ConfigOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GlobalDnsProviderRoute53Config) *string { return v.RoleArn }).(pulumi.StringPtrOutput) + }).(ClusterV2RkeConfigRegistriesPtrOutput) } -// The AWS Secret key (string) -func (o GlobalDnsProviderRoute53ConfigOutput) SecretKey() pulumi.StringOutput { - return o.ApplyT(func(v GlobalDnsProviderRoute53Config) string { return v.SecretKey }).(pulumi.StringOutput) +// Cluster V2 docker registries config (list) +func (o ClusterV2RkeConfigRegistriesOutput) Configs() ClusterV2RkeConfigRegistriesConfigArrayOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRegistries) []ClusterV2RkeConfigRegistriesConfig { return v.Configs }).(ClusterV2RkeConfigRegistriesConfigArrayOutput) } -// The Route53 zone type `public, private`. Default: `"public"` (string) -func (o GlobalDnsProviderRoute53ConfigOutput) ZoneType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GlobalDnsProviderRoute53Config) *string { return v.ZoneType }).(pulumi.StringPtrOutput) +// Cluster V2 docker registries mirror (list) +func (o ClusterV2RkeConfigRegistriesOutput) Mirrors() ClusterV2RkeConfigRegistriesMirrorArrayOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRegistries) []ClusterV2RkeConfigRegistriesMirror { return v.Mirrors }).(ClusterV2RkeConfigRegistriesMirrorArrayOutput) } -type GlobalDnsProviderRoute53ConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigRegistriesPtrOutput struct{ *pulumi.OutputState } -func (GlobalDnsProviderRoute53ConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GlobalDnsProviderRoute53Config)(nil)).Elem() +func (ClusterV2RkeConfigRegistriesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigRegistries)(nil)).Elem() } -func (o GlobalDnsProviderRoute53ConfigPtrOutput) ToGlobalDnsProviderRoute53ConfigPtrOutput() GlobalDnsProviderRoute53ConfigPtrOutput { +func (o ClusterV2RkeConfigRegistriesPtrOutput) ToClusterV2RkeConfigRegistriesPtrOutput() ClusterV2RkeConfigRegistriesPtrOutput { return o } -func (o GlobalDnsProviderRoute53ConfigPtrOutput) ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigPtrOutput { +func (o ClusterV2RkeConfigRegistriesPtrOutput) ToClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesPtrOutput { return o } -func (o GlobalDnsProviderRoute53ConfigPtrOutput) Elem() GlobalDnsProviderRoute53ConfigOutput { - return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) GlobalDnsProviderRoute53Config { +func (o ClusterV2RkeConfigRegistriesPtrOutput) Elem() ClusterV2RkeConfigRegistriesOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigRegistries) ClusterV2RkeConfigRegistries { if v != nil { return *v } - var ret GlobalDnsProviderRoute53Config + var ret ClusterV2RkeConfigRegistries return ret - }).(GlobalDnsProviderRoute53ConfigOutput) -} - -// The AWS Access key (string) -func (o GlobalDnsProviderRoute53ConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { - if v == nil { - return nil - } - return &v.AccessKey - }).(pulumi.StringPtrOutput) -} - -// The AWS credentials path. Default: `"/.aws"` (string) -func (o GlobalDnsProviderRoute53ConfigPtrOutput) CredentialsPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { - if v == nil { - return nil - } - return v.CredentialsPath - }).(pulumi.StringPtrOutput) -} - -// The AWS Region. Default: `"us-west-2"` (string) -func (o GlobalDnsProviderRoute53ConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) -} - -// The AWS Role ARN (string) -func (o GlobalDnsProviderRoute53ConfigPtrOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { - if v == nil { - return nil - } - return v.RoleArn - }).(pulumi.StringPtrOutput) + }).(ClusterV2RkeConfigRegistriesOutput) } -// The AWS Secret key (string) -func (o GlobalDnsProviderRoute53ConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { +// Cluster V2 docker registries config (list) +func (o ClusterV2RkeConfigRegistriesPtrOutput) Configs() ClusterV2RkeConfigRegistriesConfigArrayOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigRegistries) []ClusterV2RkeConfigRegistriesConfig { if v == nil { return nil } - return &v.SecretKey - }).(pulumi.StringPtrOutput) + return v.Configs + }).(ClusterV2RkeConfigRegistriesConfigArrayOutput) } -// The Route53 zone type `public, private`. Default: `"public"` (string) -func (o GlobalDnsProviderRoute53ConfigPtrOutput) ZoneType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { +// Cluster V2 docker registries mirror (list) +func (o ClusterV2RkeConfigRegistriesPtrOutput) Mirrors() ClusterV2RkeConfigRegistriesMirrorArrayOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigRegistries) []ClusterV2RkeConfigRegistriesMirror { if v == nil { return nil } - return v.ZoneType - }).(pulumi.StringPtrOutput) + return v.Mirrors + }).(ClusterV2RkeConfigRegistriesMirrorArrayOutput) } -type GlobalRoleRule struct { - // Policy rule api groups (list) - ApiGroups []string `pulumi:"apiGroups"` - // Policy rule non resource urls (list) - NonResourceUrls []string `pulumi:"nonResourceUrls"` - // Policy rule resource names (list) - ResourceNames []string `pulumi:"resourceNames"` - // Policy rule resources (list) - Resources []string `pulumi:"resources"` - // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) - Verbs []string `pulumi:"verbs"` +type ClusterV2RkeConfigRegistriesConfig struct { + // Registry auth config secret name (string) + AuthConfigSecretName *string `pulumi:"authConfigSecretName"` + // Registry CA bundle (string) + CaBundle *string `pulumi:"caBundle"` + // Registry hostname (string) + Hostname string `pulumi:"hostname"` + // Registry insecure connectivity (bool) + Insecure *bool `pulumi:"insecure"` + // Registry TLS secret name. TLS is a pair of Cert/Key (string) + TlsSecretName *string `pulumi:"tlsSecretName"` } -// GlobalRoleRuleInput is an input type that accepts GlobalRoleRuleArgs and GlobalRoleRuleOutput values. -// You can construct a concrete instance of `GlobalRoleRuleInput` via: +// ClusterV2RkeConfigRegistriesConfigInput is an input type that accepts ClusterV2RkeConfigRegistriesConfigArgs and ClusterV2RkeConfigRegistriesConfigOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesConfigInput` via: // -// GlobalRoleRuleArgs{...} -type GlobalRoleRuleInput interface { +// ClusterV2RkeConfigRegistriesConfigArgs{...} +type ClusterV2RkeConfigRegistriesConfigInput interface { pulumi.Input - ToGlobalRoleRuleOutput() GlobalRoleRuleOutput - ToGlobalRoleRuleOutputWithContext(context.Context) GlobalRoleRuleOutput + ToClusterV2RkeConfigRegistriesConfigOutput() ClusterV2RkeConfigRegistriesConfigOutput + ToClusterV2RkeConfigRegistriesConfigOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesConfigOutput } -type GlobalRoleRuleArgs struct { - // Policy rule api groups (list) - ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` - // Policy rule non resource urls (list) - NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` - // Policy rule resource names (list) - ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` - // Policy rule resources (list) - Resources pulumi.StringArrayInput `pulumi:"resources"` - // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) - Verbs pulumi.StringArrayInput `pulumi:"verbs"` +type ClusterV2RkeConfigRegistriesConfigArgs struct { + // Registry auth config secret name (string) + AuthConfigSecretName pulumi.StringPtrInput `pulumi:"authConfigSecretName"` + // Registry CA bundle (string) + CaBundle pulumi.StringPtrInput `pulumi:"caBundle"` + // Registry hostname (string) + Hostname pulumi.StringInput `pulumi:"hostname"` + // Registry insecure connectivity (bool) + Insecure pulumi.BoolPtrInput `pulumi:"insecure"` + // Registry TLS secret name. TLS is a pair of Cert/Key (string) + TlsSecretName pulumi.StringPtrInput `pulumi:"tlsSecretName"` } -func (GlobalRoleRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GlobalRoleRule)(nil)).Elem() +func (ClusterV2RkeConfigRegistriesConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigRegistriesConfig)(nil)).Elem() } -func (i GlobalRoleRuleArgs) ToGlobalRoleRuleOutput() GlobalRoleRuleOutput { - return i.ToGlobalRoleRuleOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigRegistriesConfigArgs) ToClusterV2RkeConfigRegistriesConfigOutput() ClusterV2RkeConfigRegistriesConfigOutput { + return i.ToClusterV2RkeConfigRegistriesConfigOutputWithContext(context.Background()) } -func (i GlobalRoleRuleArgs) ToGlobalRoleRuleOutputWithContext(ctx context.Context) GlobalRoleRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalRoleRuleOutput) +func (i ClusterV2RkeConfigRegistriesConfigArgs) ToClusterV2RkeConfigRegistriesConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesConfigOutput) } -// GlobalRoleRuleArrayInput is an input type that accepts GlobalRoleRuleArray and GlobalRoleRuleArrayOutput values. -// You can construct a concrete instance of `GlobalRoleRuleArrayInput` via: +// ClusterV2RkeConfigRegistriesConfigArrayInput is an input type that accepts ClusterV2RkeConfigRegistriesConfigArray and ClusterV2RkeConfigRegistriesConfigArrayOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesConfigArrayInput` via: // -// GlobalRoleRuleArray{ GlobalRoleRuleArgs{...} } -type GlobalRoleRuleArrayInput interface { +// ClusterV2RkeConfigRegistriesConfigArray{ ClusterV2RkeConfigRegistriesConfigArgs{...} } +type ClusterV2RkeConfigRegistriesConfigArrayInput interface { pulumi.Input - ToGlobalRoleRuleArrayOutput() GlobalRoleRuleArrayOutput - ToGlobalRoleRuleArrayOutputWithContext(context.Context) GlobalRoleRuleArrayOutput + ToClusterV2RkeConfigRegistriesConfigArrayOutput() ClusterV2RkeConfigRegistriesConfigArrayOutput + ToClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesConfigArrayOutput } -type GlobalRoleRuleArray []GlobalRoleRuleInput +type ClusterV2RkeConfigRegistriesConfigArray []ClusterV2RkeConfigRegistriesConfigInput -func (GlobalRoleRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GlobalRoleRule)(nil)).Elem() +func (ClusterV2RkeConfigRegistriesConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigRegistriesConfig)(nil)).Elem() } -func (i GlobalRoleRuleArray) ToGlobalRoleRuleArrayOutput() GlobalRoleRuleArrayOutput { - return i.ToGlobalRoleRuleArrayOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigRegistriesConfigArray) ToClusterV2RkeConfigRegistriesConfigArrayOutput() ClusterV2RkeConfigRegistriesConfigArrayOutput { + return i.ToClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(context.Background()) } -func (i GlobalRoleRuleArray) ToGlobalRoleRuleArrayOutputWithContext(ctx context.Context) GlobalRoleRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GlobalRoleRuleArrayOutput) +func (i ClusterV2RkeConfigRegistriesConfigArray) ToClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesConfigArrayOutput) } -type GlobalRoleRuleOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigRegistriesConfigOutput struct{ *pulumi.OutputState } -func (GlobalRoleRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GlobalRoleRule)(nil)).Elem() +func (ClusterV2RkeConfigRegistriesConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigRegistriesConfig)(nil)).Elem() } -func (o GlobalRoleRuleOutput) ToGlobalRoleRuleOutput() GlobalRoleRuleOutput { +func (o ClusterV2RkeConfigRegistriesConfigOutput) ToClusterV2RkeConfigRegistriesConfigOutput() ClusterV2RkeConfigRegistriesConfigOutput { return o } -func (o GlobalRoleRuleOutput) ToGlobalRoleRuleOutputWithContext(ctx context.Context) GlobalRoleRuleOutput { +func (o ClusterV2RkeConfigRegistriesConfigOutput) ToClusterV2RkeConfigRegistriesConfigOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesConfigOutput { return o } -// Policy rule api groups (list) -func (o GlobalRoleRuleOutput) ApiGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v GlobalRoleRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) +// Registry auth config secret name (string) +func (o ClusterV2RkeConfigRegistriesConfigOutput) AuthConfigSecretName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRegistriesConfig) *string { return v.AuthConfigSecretName }).(pulumi.StringPtrOutput) } -// Policy rule non resource urls (list) -func (o GlobalRoleRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v GlobalRoleRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) +// Registry CA bundle (string) +func (o ClusterV2RkeConfigRegistriesConfigOutput) CaBundle() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRegistriesConfig) *string { return v.CaBundle }).(pulumi.StringPtrOutput) } -// Policy rule resource names (list) -func (o GlobalRoleRuleOutput) ResourceNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GlobalRoleRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) +// Registry hostname (string) +func (o ClusterV2RkeConfigRegistriesConfigOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRegistriesConfig) string { return v.Hostname }).(pulumi.StringOutput) } -// Policy rule resources (list) -func (o GlobalRoleRuleOutput) Resources() pulumi.StringArrayOutput { - return o.ApplyT(func(v GlobalRoleRule) []string { return v.Resources }).(pulumi.StringArrayOutput) +// Registry insecure connectivity (bool) +func (o ClusterV2RkeConfigRegistriesConfigOutput) Insecure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRegistriesConfig) *bool { return v.Insecure }).(pulumi.BoolPtrOutput) } -// Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) -func (o GlobalRoleRuleOutput) Verbs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GlobalRoleRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) +// Registry TLS secret name. TLS is a pair of Cert/Key (string) +func (o ClusterV2RkeConfigRegistriesConfigOutput) TlsSecretName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRegistriesConfig) *string { return v.TlsSecretName }).(pulumi.StringPtrOutput) } -type GlobalRoleRuleArrayOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigRegistriesConfigArrayOutput struct{ *pulumi.OutputState } -func (GlobalRoleRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GlobalRoleRule)(nil)).Elem() +func (ClusterV2RkeConfigRegistriesConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigRegistriesConfig)(nil)).Elem() } -func (o GlobalRoleRuleArrayOutput) ToGlobalRoleRuleArrayOutput() GlobalRoleRuleArrayOutput { +func (o ClusterV2RkeConfigRegistriesConfigArrayOutput) ToClusterV2RkeConfigRegistriesConfigArrayOutput() ClusterV2RkeConfigRegistriesConfigArrayOutput { return o } -func (o GlobalRoleRuleArrayOutput) ToGlobalRoleRuleArrayOutputWithContext(ctx context.Context) GlobalRoleRuleArrayOutput { +func (o ClusterV2RkeConfigRegistriesConfigArrayOutput) ToClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesConfigArrayOutput { return o } -func (o GlobalRoleRuleArrayOutput) Index(i pulumi.IntInput) GlobalRoleRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GlobalRoleRule { - return vs[0].([]GlobalRoleRule)[vs[1].(int)] - }).(GlobalRoleRuleOutput) +func (o ClusterV2RkeConfigRegistriesConfigArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigRegistriesConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigRegistriesConfig { + return vs[0].([]ClusterV2RkeConfigRegistriesConfig)[vs[1].(int)] + }).(ClusterV2RkeConfigRegistriesConfigOutput) } -type MachineConfigV2Amazonec2Config struct { - AccessKey *string `pulumi:"accessKey"` - // AWS machine image (string) - Ami string `pulumi:"ami"` - // AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) - BlockDurationMinutes *string `pulumi:"blockDurationMinutes"` - // AWS root device name. Default `/dev/sda1` (string) - DeviceName *string `pulumi:"deviceName"` - // Encrypt EBS volume. Default `false` (bool) - EncryptEbsVolume *bool `pulumi:"encryptEbsVolume"` - // Optional endpoint URL (hostname only or fully qualified URI) (string) - Endpoint *string `pulumi:"endpoint"` - // Enables or disables the HTTP metadata endpoint on your instances (string) - HttpEndpoint *string `pulumi:"httpEndpoint"` - // The state of token usage for your instance metadata requests (string) - HttpTokens *string `pulumi:"httpTokens"` - // AWS IAM Instance Profile (string) - IamInstanceProfile *string `pulumi:"iamInstanceProfile"` - // Disable SSL when sending requests (bool) - 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) - Monitoring *bool `pulumi:"monitoring"` - // Make the specified port number accessible from the Internet. (list) - OpenPorts []string `pulumi:"openPorts"` - // Only use a private IP address. Default `false` (bool) - PrivateAddressOnly *bool `pulumi:"privateAddressOnly"` - // OpenStack region name (string) - Region string `pulumi:"region"` - // Set this flag to request spot instance. Default `false` (bool) - RequestSpotInstance *bool `pulumi:"requestSpotInstance"` - // Set retry count for recoverable failures (use -1 to disable). Default `5` (string) - Retries *string `pulumi:"retries"` - // AWS root disk size (in GB). Default `16` (string) - RootSize *string `pulumi:"rootSize"` - SecretKey *string `pulumi:"secretKey"` - // Skip adding default rules to security groups (bool) - SecurityGroupReadonly *bool `pulumi:"securityGroupReadonly"` - // AWS VPC security group. (list) - SecurityGroups []string `pulumi:"securityGroups"` - // AWS Session Token (string) - SessionToken *string `pulumi:"sessionToken"` - // AWS spot instance bid price (in dollar). Default `0.50` (string) - SpotPrice *string `pulumi:"spotPrice"` - // SSH private key contents (string) - SshKeyContents *string `pulumi:"sshKeyContents"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser *string `pulumi:"sshUser"` - // AWS VPC subnet id (string) - SubnetId string `pulumi:"subnetId"` - // vSphere tags id e.g. `urn:xxx` (list) - Tags *string `pulumi:"tags"` - // Create an EBS optimized instance. Default `false` (bool) - UseEbsOptimizedInstance *bool `pulumi:"useEbsOptimizedInstance"` - // Force the usage of private IP address. Default `false` (bool) - UsePrivateAddress *bool `pulumi:"usePrivateAddress"` - // Path to file with cloud-init user-data (string) - Userdata *string `pulumi:"userdata"` - // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) - VolumeType *string `pulumi:"volumeType"` - // AWS VPC id. (string) - VpcId string `pulumi:"vpcId"` - // AWS zone for instance (i.e. a,b,c,d,e) (string) - Zone string `pulumi:"zone"` +type ClusterV2RkeConfigRegistriesMirror struct { + // Registry mirror endpoints (List) + Endpoints []string `pulumi:"endpoints"` + // Registry hostname (string) + Hostname string `pulumi:"hostname"` + // Registry mirror rewrites (map) + Rewrites map[string]interface{} `pulumi:"rewrites"` } -// MachineConfigV2Amazonec2ConfigInput is an input type that accepts MachineConfigV2Amazonec2ConfigArgs and MachineConfigV2Amazonec2ConfigOutput values. -// You can construct a concrete instance of `MachineConfigV2Amazonec2ConfigInput` via: +// ClusterV2RkeConfigRegistriesMirrorInput is an input type that accepts ClusterV2RkeConfigRegistriesMirrorArgs and ClusterV2RkeConfigRegistriesMirrorOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesMirrorInput` via: // -// MachineConfigV2Amazonec2ConfigArgs{...} -type MachineConfigV2Amazonec2ConfigInput interface { +// ClusterV2RkeConfigRegistriesMirrorArgs{...} +type ClusterV2RkeConfigRegistriesMirrorInput interface { pulumi.Input - ToMachineConfigV2Amazonec2ConfigOutput() MachineConfigV2Amazonec2ConfigOutput - ToMachineConfigV2Amazonec2ConfigOutputWithContext(context.Context) MachineConfigV2Amazonec2ConfigOutput -} - -type MachineConfigV2Amazonec2ConfigArgs struct { - AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` - // AWS machine image (string) - Ami pulumi.StringInput `pulumi:"ami"` - // AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) - BlockDurationMinutes pulumi.StringPtrInput `pulumi:"blockDurationMinutes"` - // AWS root device name. Default `/dev/sda1` (string) - DeviceName pulumi.StringPtrInput `pulumi:"deviceName"` - // Encrypt EBS volume. Default `false` (bool) - EncryptEbsVolume pulumi.BoolPtrInput `pulumi:"encryptEbsVolume"` - // Optional endpoint URL (hostname only or fully qualified URI) (string) - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - // Enables or disables the HTTP metadata endpoint on your instances (string) - HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` - // The state of token usage for your instance metadata requests (string) - HttpTokens pulumi.StringPtrInput `pulumi:"httpTokens"` - // AWS IAM Instance Profile (string) - IamInstanceProfile pulumi.StringPtrInput `pulumi:"iamInstanceProfile"` - // Disable SSL when sending requests (bool) - 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) - Monitoring pulumi.BoolPtrInput `pulumi:"monitoring"` - // Make the specified port number accessible from the Internet. (list) - OpenPorts pulumi.StringArrayInput `pulumi:"openPorts"` - // Only use a private IP address. Default `false` (bool) - PrivateAddressOnly pulumi.BoolPtrInput `pulumi:"privateAddressOnly"` - // OpenStack region name (string) - Region pulumi.StringInput `pulumi:"region"` - // Set this flag to request spot instance. Default `false` (bool) - RequestSpotInstance pulumi.BoolPtrInput `pulumi:"requestSpotInstance"` - // Set retry count for recoverable failures (use -1 to disable). Default `5` (string) - Retries pulumi.StringPtrInput `pulumi:"retries"` - // AWS root disk size (in GB). Default `16` (string) - RootSize pulumi.StringPtrInput `pulumi:"rootSize"` - SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` - // Skip adding default rules to security groups (bool) - SecurityGroupReadonly pulumi.BoolPtrInput `pulumi:"securityGroupReadonly"` - // AWS VPC security group. (list) - SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` - // AWS Session Token (string) - SessionToken pulumi.StringPtrInput `pulumi:"sessionToken"` - // AWS spot instance bid price (in dollar). Default `0.50` (string) - SpotPrice pulumi.StringPtrInput `pulumi:"spotPrice"` - // SSH private key contents (string) - SshKeyContents pulumi.StringPtrInput `pulumi:"sshKeyContents"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // AWS VPC subnet id (string) - SubnetId pulumi.StringInput `pulumi:"subnetId"` - // vSphere tags id e.g. `urn:xxx` (list) - Tags pulumi.StringPtrInput `pulumi:"tags"` - // Create an EBS optimized instance. Default `false` (bool) - UseEbsOptimizedInstance pulumi.BoolPtrInput `pulumi:"useEbsOptimizedInstance"` - // Force the usage of private IP address. Default `false` (bool) - UsePrivateAddress pulumi.BoolPtrInput `pulumi:"usePrivateAddress"` - // Path to file with cloud-init user-data (string) - Userdata pulumi.StringPtrInput `pulumi:"userdata"` - // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) - VolumeType pulumi.StringPtrInput `pulumi:"volumeType"` - // AWS VPC id. (string) - VpcId pulumi.StringInput `pulumi:"vpcId"` - // AWS zone for instance (i.e. a,b,c,d,e) (string) - Zone pulumi.StringInput `pulumi:"zone"` -} - -func (MachineConfigV2Amazonec2ConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2Amazonec2Config)(nil)).Elem() + ToClusterV2RkeConfigRegistriesMirrorOutput() ClusterV2RkeConfigRegistriesMirrorOutput + ToClusterV2RkeConfigRegistriesMirrorOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesMirrorOutput } -func (i MachineConfigV2Amazonec2ConfigArgs) ToMachineConfigV2Amazonec2ConfigOutput() MachineConfigV2Amazonec2ConfigOutput { - return i.ToMachineConfigV2Amazonec2ConfigOutputWithContext(context.Background()) +type ClusterV2RkeConfigRegistriesMirrorArgs struct { + // Registry mirror endpoints (List) + Endpoints pulumi.StringArrayInput `pulumi:"endpoints"` + // Registry hostname (string) + Hostname pulumi.StringInput `pulumi:"hostname"` + // Registry mirror rewrites (map) + Rewrites pulumi.MapInput `pulumi:"rewrites"` } -func (i MachineConfigV2Amazonec2ConfigArgs) ToMachineConfigV2Amazonec2ConfigOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2Amazonec2ConfigOutput) +func (ClusterV2RkeConfigRegistriesMirrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigRegistriesMirror)(nil)).Elem() } -func (i MachineConfigV2Amazonec2ConfigArgs) ToMachineConfigV2Amazonec2ConfigPtrOutput() MachineConfigV2Amazonec2ConfigPtrOutput { - return i.ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigRegistriesMirrorArgs) ToClusterV2RkeConfigRegistriesMirrorOutput() ClusterV2RkeConfigRegistriesMirrorOutput { + return i.ToClusterV2RkeConfigRegistriesMirrorOutputWithContext(context.Background()) } -func (i MachineConfigV2Amazonec2ConfigArgs) ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2Amazonec2ConfigOutput).ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigRegistriesMirrorArgs) ToClusterV2RkeConfigRegistriesMirrorOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesMirrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesMirrorOutput) } -// MachineConfigV2Amazonec2ConfigPtrInput is an input type that accepts MachineConfigV2Amazonec2ConfigArgs, MachineConfigV2Amazonec2ConfigPtr and MachineConfigV2Amazonec2ConfigPtrOutput values. -// You can construct a concrete instance of `MachineConfigV2Amazonec2ConfigPtrInput` via: -// -// MachineConfigV2Amazonec2ConfigArgs{...} -// -// or: +// ClusterV2RkeConfigRegistriesMirrorArrayInput is an input type that accepts ClusterV2RkeConfigRegistriesMirrorArray and ClusterV2RkeConfigRegistriesMirrorArrayOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigRegistriesMirrorArrayInput` via: // -// nil -type MachineConfigV2Amazonec2ConfigPtrInput interface { +// ClusterV2RkeConfigRegistriesMirrorArray{ ClusterV2RkeConfigRegistriesMirrorArgs{...} } +type ClusterV2RkeConfigRegistriesMirrorArrayInput interface { pulumi.Input - ToMachineConfigV2Amazonec2ConfigPtrOutput() MachineConfigV2Amazonec2ConfigPtrOutput - ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(context.Context) MachineConfigV2Amazonec2ConfigPtrOutput + ToClusterV2RkeConfigRegistriesMirrorArrayOutput() ClusterV2RkeConfigRegistriesMirrorArrayOutput + ToClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(context.Context) ClusterV2RkeConfigRegistriesMirrorArrayOutput } -type machineConfigV2Amazonec2ConfigPtrType MachineConfigV2Amazonec2ConfigArgs - -func MachineConfigV2Amazonec2ConfigPtr(v *MachineConfigV2Amazonec2ConfigArgs) MachineConfigV2Amazonec2ConfigPtrInput { - return (*machineConfigV2Amazonec2ConfigPtrType)(v) -} +type ClusterV2RkeConfigRegistriesMirrorArray []ClusterV2RkeConfigRegistriesMirrorInput -func (*machineConfigV2Amazonec2ConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2Amazonec2Config)(nil)).Elem() +func (ClusterV2RkeConfigRegistriesMirrorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigRegistriesMirror)(nil)).Elem() } -func (i *machineConfigV2Amazonec2ConfigPtrType) ToMachineConfigV2Amazonec2ConfigPtrOutput() MachineConfigV2Amazonec2ConfigPtrOutput { - return i.ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigRegistriesMirrorArray) ToClusterV2RkeConfigRegistriesMirrorArrayOutput() ClusterV2RkeConfigRegistriesMirrorArrayOutput { + return i.ToClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(context.Background()) } -func (i *machineConfigV2Amazonec2ConfigPtrType) ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2Amazonec2ConfigPtrOutput) +func (i ClusterV2RkeConfigRegistriesMirrorArray) ToClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesMirrorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRegistriesMirrorArrayOutput) } -type MachineConfigV2Amazonec2ConfigOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigRegistriesMirrorOutput struct{ *pulumi.OutputState } -func (MachineConfigV2Amazonec2ConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2Amazonec2Config)(nil)).Elem() +func (ClusterV2RkeConfigRegistriesMirrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigRegistriesMirror)(nil)).Elem() } -func (o MachineConfigV2Amazonec2ConfigOutput) ToMachineConfigV2Amazonec2ConfigOutput() MachineConfigV2Amazonec2ConfigOutput { +func (o ClusterV2RkeConfigRegistriesMirrorOutput) ToClusterV2RkeConfigRegistriesMirrorOutput() ClusterV2RkeConfigRegistriesMirrorOutput { return o } -func (o MachineConfigV2Amazonec2ConfigOutput) ToMachineConfigV2Amazonec2ConfigOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigOutput { +func (o ClusterV2RkeConfigRegistriesMirrorOutput) ToClusterV2RkeConfigRegistriesMirrorOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesMirrorOutput { return o } -func (o MachineConfigV2Amazonec2ConfigOutput) ToMachineConfigV2Amazonec2ConfigPtrOutput() MachineConfigV2Amazonec2ConfigPtrOutput { - return o.ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(context.Background()) -} - -func (o MachineConfigV2Amazonec2ConfigOutput) ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2Amazonec2Config) *MachineConfigV2Amazonec2Config { - return &v - }).(MachineConfigV2Amazonec2ConfigPtrOutput) -} - -func (o MachineConfigV2Amazonec2ConfigOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.AccessKey }).(pulumi.StringPtrOutput) -} - -// AWS machine image (string) -func (o MachineConfigV2Amazonec2ConfigOutput) Ami() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) string { return v.Ami }).(pulumi.StringOutput) -} - -// AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) -func (o MachineConfigV2Amazonec2ConfigOutput) BlockDurationMinutes() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.BlockDurationMinutes }).(pulumi.StringPtrOutput) -} - -// AWS root device name. Default `/dev/sda1` (string) -func (o MachineConfigV2Amazonec2ConfigOutput) DeviceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.DeviceName }).(pulumi.StringPtrOutput) +// Registry mirror endpoints (List) +func (o ClusterV2RkeConfigRegistriesMirrorOutput) Endpoints() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRegistriesMirror) []string { return v.Endpoints }).(pulumi.StringArrayOutput) } -// Encrypt EBS volume. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigOutput) EncryptEbsVolume() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.EncryptEbsVolume }).(pulumi.BoolPtrOutput) +// Registry hostname (string) +func (o ClusterV2RkeConfigRegistriesMirrorOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRegistriesMirror) string { return v.Hostname }).(pulumi.StringOutput) } -// Optional endpoint URL (hostname only or fully qualified URI) (string) -func (o MachineConfigV2Amazonec2ConfigOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +// Registry mirror rewrites (map) +func (o ClusterV2RkeConfigRegistriesMirrorOutput) Rewrites() pulumi.MapOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRegistriesMirror) map[string]interface{} { return v.Rewrites }).(pulumi.MapOutput) } -// Enables or disables the HTTP metadata endpoint on your instances (string) -func (o MachineConfigV2Amazonec2ConfigOutput) HttpEndpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.HttpEndpoint }).(pulumi.StringPtrOutput) -} +type ClusterV2RkeConfigRegistriesMirrorArrayOutput struct{ *pulumi.OutputState } -// The state of token usage for your instance metadata requests (string) -func (o MachineConfigV2Amazonec2ConfigOutput) HttpTokens() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.HttpTokens }).(pulumi.StringPtrOutput) +func (ClusterV2RkeConfigRegistriesMirrorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ClusterV2RkeConfigRegistriesMirror)(nil)).Elem() } -// AWS IAM Instance Profile (string) -func (o MachineConfigV2Amazonec2ConfigOutput) IamInstanceProfile() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.IamInstanceProfile }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigRegistriesMirrorArrayOutput) ToClusterV2RkeConfigRegistriesMirrorArrayOutput() ClusterV2RkeConfigRegistriesMirrorArrayOutput { + return o } -// Disable SSL when sending requests (bool) -func (o MachineConfigV2Amazonec2ConfigOutput) InsecureTransport() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.InsecureTransport }).(pulumi.BoolPtrOutput) +func (o ClusterV2RkeConfigRegistriesMirrorArrayOutput) ToClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(ctx context.Context) ClusterV2RkeConfigRegistriesMirrorArrayOutput { + return o } -// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) -func (o MachineConfigV2Amazonec2ConfigOutput) InstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.InstanceType }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigRegistriesMirrorArrayOutput) Index(i pulumi.IntInput) ClusterV2RkeConfigRegistriesMirrorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ClusterV2RkeConfigRegistriesMirror { + return vs[0].([]ClusterV2RkeConfigRegistriesMirror)[vs[1].(int)] + }).(ClusterV2RkeConfigRegistriesMirrorOutput) } -// 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) +type ClusterV2RkeConfigRotateCertificates struct { + // ETCD snapshot desired generation (int) + Generation int `pulumi:"generation"` + // Service certificates to rotate with this generation (string) + Services []string `pulumi:"services"` } -// 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) -} +// ClusterV2RkeConfigRotateCertificatesInput is an input type that accepts ClusterV2RkeConfigRotateCertificatesArgs and ClusterV2RkeConfigRotateCertificatesOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigRotateCertificatesInput` via: +// +// ClusterV2RkeConfigRotateCertificatesArgs{...} +type ClusterV2RkeConfigRotateCertificatesInput interface { + pulumi.Input -// Enable monitoring for droplet. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigOutput) Monitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.Monitoring }).(pulumi.BoolPtrOutput) + ToClusterV2RkeConfigRotateCertificatesOutput() ClusterV2RkeConfigRotateCertificatesOutput + ToClusterV2RkeConfigRotateCertificatesOutputWithContext(context.Context) ClusterV2RkeConfigRotateCertificatesOutput } -// Make the specified port number accessible from the Internet. (list) -func (o MachineConfigV2Amazonec2ConfigOutput) OpenPorts() pulumi.StringArrayOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) []string { return v.OpenPorts }).(pulumi.StringArrayOutput) +type ClusterV2RkeConfigRotateCertificatesArgs struct { + // ETCD snapshot desired generation (int) + Generation pulumi.IntInput `pulumi:"generation"` + // Service certificates to rotate with this generation (string) + Services pulumi.StringArrayInput `pulumi:"services"` } -// Only use a private IP address. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigOutput) PrivateAddressOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.PrivateAddressOnly }).(pulumi.BoolPtrOutput) +func (ClusterV2RkeConfigRotateCertificatesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigRotateCertificates)(nil)).Elem() } -// OpenStack region name (string) -func (o MachineConfigV2Amazonec2ConfigOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) string { return v.Region }).(pulumi.StringOutput) +func (i ClusterV2RkeConfigRotateCertificatesArgs) ToClusterV2RkeConfigRotateCertificatesOutput() ClusterV2RkeConfigRotateCertificatesOutput { + return i.ToClusterV2RkeConfigRotateCertificatesOutputWithContext(context.Background()) } -// Set this flag to request spot instance. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigOutput) RequestSpotInstance() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.RequestSpotInstance }).(pulumi.BoolPtrOutput) +func (i ClusterV2RkeConfigRotateCertificatesArgs) ToClusterV2RkeConfigRotateCertificatesOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRotateCertificatesOutput) } -// Set retry count for recoverable failures (use -1 to disable). Default `5` (string) -func (o MachineConfigV2Amazonec2ConfigOutput) Retries() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.Retries }).(pulumi.StringPtrOutput) +func (i ClusterV2RkeConfigRotateCertificatesArgs) ToClusterV2RkeConfigRotateCertificatesPtrOutput() ClusterV2RkeConfigRotateCertificatesPtrOutput { + return i.ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) } -// AWS root disk size (in GB). Default `16` (string) -func (o MachineConfigV2Amazonec2ConfigOutput) RootSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.RootSize }).(pulumi.StringPtrOutput) +func (i ClusterV2RkeConfigRotateCertificatesArgs) ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRotateCertificatesOutput).ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx) } -func (o MachineConfigV2Amazonec2ConfigOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.SecretKey }).(pulumi.StringPtrOutput) -} +// ClusterV2RkeConfigRotateCertificatesPtrInput is an input type that accepts ClusterV2RkeConfigRotateCertificatesArgs, ClusterV2RkeConfigRotateCertificatesPtr and ClusterV2RkeConfigRotateCertificatesPtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigRotateCertificatesPtrInput` via: +// +// ClusterV2RkeConfigRotateCertificatesArgs{...} +// +// or: +// +// nil +type ClusterV2RkeConfigRotateCertificatesPtrInput interface { + pulumi.Input -// Skip adding default rules to security groups (bool) -func (o MachineConfigV2Amazonec2ConfigOutput) SecurityGroupReadonly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.SecurityGroupReadonly }).(pulumi.BoolPtrOutput) + ToClusterV2RkeConfigRotateCertificatesPtrOutput() ClusterV2RkeConfigRotateCertificatesPtrOutput + ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Context) ClusterV2RkeConfigRotateCertificatesPtrOutput } -// AWS VPC security group. (list) -func (o MachineConfigV2Amazonec2ConfigOutput) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) -} +type clusterV2RkeConfigRotateCertificatesPtrType ClusterV2RkeConfigRotateCertificatesArgs -// AWS Session Token (string) -func (o MachineConfigV2Amazonec2ConfigOutput) SessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.SessionToken }).(pulumi.StringPtrOutput) +func ClusterV2RkeConfigRotateCertificatesPtr(v *ClusterV2RkeConfigRotateCertificatesArgs) ClusterV2RkeConfigRotateCertificatesPtrInput { + return (*clusterV2RkeConfigRotateCertificatesPtrType)(v) } -// AWS spot instance bid price (in dollar). Default `0.50` (string) -func (o MachineConfigV2Amazonec2ConfigOutput) SpotPrice() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.SpotPrice }).(pulumi.StringPtrOutput) +func (*clusterV2RkeConfigRotateCertificatesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigRotateCertificates)(nil)).Elem() } -// SSH private key contents (string) -func (o MachineConfigV2Amazonec2ConfigOutput) SshKeyContents() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.SshKeyContents }).(pulumi.StringPtrOutput) +func (i *clusterV2RkeConfigRotateCertificatesPtrType) ToClusterV2RkeConfigRotateCertificatesPtrOutput() ClusterV2RkeConfigRotateCertificatesPtrOutput { + return i.ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2Amazonec2ConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.SshUser }).(pulumi.StringPtrOutput) +func (i *clusterV2RkeConfigRotateCertificatesPtrType) ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigRotateCertificatesPtrOutput) } -// AWS VPC subnet id (string) -func (o MachineConfigV2Amazonec2ConfigOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) string { return v.SubnetId }).(pulumi.StringOutput) -} +type ClusterV2RkeConfigRotateCertificatesOutput struct{ *pulumi.OutputState } -// vSphere tags id e.g. `urn:xxx` (list) -func (o MachineConfigV2Amazonec2ConfigOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.Tags }).(pulumi.StringPtrOutput) +func (ClusterV2RkeConfigRotateCertificatesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigRotateCertificates)(nil)).Elem() } -// Create an EBS optimized instance. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigOutput) UseEbsOptimizedInstance() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.UseEbsOptimizedInstance }).(pulumi.BoolPtrOutput) +func (o ClusterV2RkeConfigRotateCertificatesOutput) ToClusterV2RkeConfigRotateCertificatesOutput() ClusterV2RkeConfigRotateCertificatesOutput { + return o } -// Force the usage of private IP address. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigOutput) UsePrivateAddress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.UsePrivateAddress }).(pulumi.BoolPtrOutput) +func (o ClusterV2RkeConfigRotateCertificatesOutput) ToClusterV2RkeConfigRotateCertificatesOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesOutput { + return o } -// Path to file with cloud-init user-data (string) -func (o MachineConfigV2Amazonec2ConfigOutput) Userdata() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.Userdata }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigRotateCertificatesOutput) ToClusterV2RkeConfigRotateCertificatesPtrOutput() ClusterV2RkeConfigRotateCertificatesPtrOutput { + return o.ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) } -// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) -func (o MachineConfigV2Amazonec2ConfigOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.VolumeType }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigRotateCertificatesOutput) ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigRotateCertificates) *ClusterV2RkeConfigRotateCertificates { + return &v + }).(ClusterV2RkeConfigRotateCertificatesPtrOutput) } -// AWS VPC id. (string) -func (o MachineConfigV2Amazonec2ConfigOutput) VpcId() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) string { return v.VpcId }).(pulumi.StringOutput) +// ETCD snapshot desired generation (int) +func (o ClusterV2RkeConfigRotateCertificatesOutput) Generation() pulumi.IntOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRotateCertificates) int { return v.Generation }).(pulumi.IntOutput) } -// AWS zone for instance (i.e. a,b,c,d,e) (string) -func (o MachineConfigV2Amazonec2ConfigOutput) Zone() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2Amazonec2Config) string { return v.Zone }).(pulumi.StringOutput) +// Service certificates to rotate with this generation (string) +func (o ClusterV2RkeConfigRotateCertificatesOutput) Services() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClusterV2RkeConfigRotateCertificates) []string { return v.Services }).(pulumi.StringArrayOutput) } -type MachineConfigV2Amazonec2ConfigPtrOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigRotateCertificatesPtrOutput struct{ *pulumi.OutputState } -func (MachineConfigV2Amazonec2ConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2Amazonec2Config)(nil)).Elem() +func (ClusterV2RkeConfigRotateCertificatesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigRotateCertificates)(nil)).Elem() } -func (o MachineConfigV2Amazonec2ConfigPtrOutput) ToMachineConfigV2Amazonec2ConfigPtrOutput() MachineConfigV2Amazonec2ConfigPtrOutput { +func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) ToClusterV2RkeConfigRotateCertificatesPtrOutput() ClusterV2RkeConfigRotateCertificatesPtrOutput { return o } -func (o MachineConfigV2Amazonec2ConfigPtrOutput) ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigPtrOutput { +func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) ToClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigRotateCertificatesPtrOutput { return o } -func (o MachineConfigV2Amazonec2ConfigPtrOutput) Elem() MachineConfigV2Amazonec2ConfigOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) MachineConfigV2Amazonec2Config { +func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) Elem() ClusterV2RkeConfigRotateCertificatesOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigRotateCertificates) ClusterV2RkeConfigRotateCertificates { if v != nil { return *v } - var ret MachineConfigV2Amazonec2Config + var ret ClusterV2RkeConfigRotateCertificates return ret - }).(MachineConfigV2Amazonec2ConfigOutput) + }).(ClusterV2RkeConfigRotateCertificatesOutput) } -func (o MachineConfigV2Amazonec2ConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { +// ETCD snapshot desired generation (int) +func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) Generation() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigRotateCertificates) *int { if v == nil { return nil } - return v.AccessKey - }).(pulumi.StringPtrOutput) + return &v.Generation + }).(pulumi.IntPtrOutput) } -// AWS machine image (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) Ami() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { +// Service certificates to rotate with this generation (string) +func (o ClusterV2RkeConfigRotateCertificatesPtrOutput) Services() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigRotateCertificates) []string { if v == nil { return nil } - return &v.Ami - }).(pulumi.StringPtrOutput) + return v.Services + }).(pulumi.StringArrayOutput) } -// AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) BlockDurationMinutes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.BlockDurationMinutes - }).(pulumi.StringPtrOutput) +type ClusterV2RkeConfigUpgradeStrategy struct { + // How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string) + ControlPlaneConcurrency *string `pulumi:"controlPlaneConcurrency"` + // Controlplane nodes drain options (list maxitems:1) + ControlPlaneDrainOptions *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions `pulumi:"controlPlaneDrainOptions"` + // How many worker nodes should be upgrade at time. Percentages are also accepted (string) + WorkerConcurrency *string `pulumi:"workerConcurrency"` + // Worker nodes drain options (list maxitems:1) + WorkerDrainOptions *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions `pulumi:"workerDrainOptions"` } -// AWS root device name. Default `/dev/sda1` (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) DeviceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.DeviceName - }).(pulumi.StringPtrOutput) +// ClusterV2RkeConfigUpgradeStrategyInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyArgs and ClusterV2RkeConfigUpgradeStrategyOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyInput` via: +// +// ClusterV2RkeConfigUpgradeStrategyArgs{...} +type ClusterV2RkeConfigUpgradeStrategyInput interface { + pulumi.Input + + ToClusterV2RkeConfigUpgradeStrategyOutput() ClusterV2RkeConfigUpgradeStrategyOutput + ToClusterV2RkeConfigUpgradeStrategyOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyOutput } -// Encrypt EBS volume. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) EncryptEbsVolume() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { - if v == nil { - return nil - } - return v.EncryptEbsVolume - }).(pulumi.BoolPtrOutput) +type ClusterV2RkeConfigUpgradeStrategyArgs struct { + // How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string) + ControlPlaneConcurrency pulumi.StringPtrInput `pulumi:"controlPlaneConcurrency"` + // Controlplane nodes drain options (list maxitems:1) + ControlPlaneDrainOptions ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput `pulumi:"controlPlaneDrainOptions"` + // How many worker nodes should be upgrade at time. Percentages are also accepted (string) + WorkerConcurrency pulumi.StringPtrInput `pulumi:"workerConcurrency"` + // Worker nodes drain options (list maxitems:1) + WorkerDrainOptions ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput `pulumi:"workerDrainOptions"` } -// Optional endpoint URL (hostname only or fully qualified URI) (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.Endpoint - }).(pulumi.StringPtrOutput) +func (ClusterV2RkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() } -// Enables or disables the HTTP metadata endpoint on your instances (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) HttpEndpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.HttpEndpoint - }).(pulumi.StringPtrOutput) +func (i ClusterV2RkeConfigUpgradeStrategyArgs) ToClusterV2RkeConfigUpgradeStrategyOutput() ClusterV2RkeConfigUpgradeStrategyOutput { + return i.ToClusterV2RkeConfigUpgradeStrategyOutputWithContext(context.Background()) } -// The state of token usage for your instance metadata requests (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) HttpTokens() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.HttpTokens - }).(pulumi.StringPtrOutput) +func (i ClusterV2RkeConfigUpgradeStrategyArgs) ToClusterV2RkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyOutput) } -// AWS IAM Instance Profile (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) IamInstanceProfile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.IamInstanceProfile - }).(pulumi.StringPtrOutput) +func (i ClusterV2RkeConfigUpgradeStrategyArgs) ToClusterV2RkeConfigUpgradeStrategyPtrOutput() ClusterV2RkeConfigUpgradeStrategyPtrOutput { + return i.ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -// Disable SSL when sending requests (bool) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) InsecureTransport() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { - if v == nil { - return nil - } - return v.InsecureTransport - }).(pulumi.BoolPtrOutput) +func (i ClusterV2RkeConfigUpgradeStrategyArgs) ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyOutput).ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx) } -// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) InstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.InstanceType - }).(pulumi.StringPtrOutput) -} +// ClusterV2RkeConfigUpgradeStrategyPtrInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyArgs, ClusterV2RkeConfigUpgradeStrategyPtr and ClusterV2RkeConfigUpgradeStrategyPtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyPtrInput` via: +// +// ClusterV2RkeConfigUpgradeStrategyArgs{...} +// +// or: +// +// nil +type ClusterV2RkeConfigUpgradeStrategyPtrInput interface { + pulumi.Input -// 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) + ToClusterV2RkeConfigUpgradeStrategyPtrOutput() ClusterV2RkeConfigUpgradeStrategyPtrOutput + ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyPtrOutput } -// Custom KMS key ID using the AWS Managed CMK (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.KmsKey - }).(pulumi.StringPtrOutput) -} +type clusterV2RkeConfigUpgradeStrategyPtrType ClusterV2RkeConfigUpgradeStrategyArgs -// Enable monitoring for droplet. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) Monitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { - if v == nil { - return nil - } - return v.Monitoring - }).(pulumi.BoolPtrOutput) +func ClusterV2RkeConfigUpgradeStrategyPtr(v *ClusterV2RkeConfigUpgradeStrategyArgs) ClusterV2RkeConfigUpgradeStrategyPtrInput { + return (*clusterV2RkeConfigUpgradeStrategyPtrType)(v) } -// Make the specified port number accessible from the Internet. (list) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) OpenPorts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) []string { - if v == nil { - return nil - } - return v.OpenPorts - }).(pulumi.StringArrayOutput) +func (*clusterV2RkeConfigUpgradeStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() } -// Only use a private IP address. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) PrivateAddressOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { - if v == nil { - return nil - } - return v.PrivateAddressOnly - }).(pulumi.BoolPtrOutput) +func (i *clusterV2RkeConfigUpgradeStrategyPtrType) ToClusterV2RkeConfigUpgradeStrategyPtrOutput() ClusterV2RkeConfigUpgradeStrategyPtrOutput { + return i.ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -// OpenStack region name (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return &v.Region - }).(pulumi.StringPtrOutput) +func (i *clusterV2RkeConfigUpgradeStrategyPtrType) ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyPtrOutput) } -// Set this flag to request spot instance. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) RequestSpotInstance() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { - if v == nil { - return nil - } - return v.RequestSpotInstance - }).(pulumi.BoolPtrOutput) -} +type ClusterV2RkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } -// Set retry count for recoverable failures (use -1 to disable). Default `5` (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) Retries() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.Retries - }).(pulumi.StringPtrOutput) +func (ClusterV2RkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() } -// AWS root disk size (in GB). Default `16` (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) RootSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.RootSize - }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigUpgradeStrategyOutput) ToClusterV2RkeConfigUpgradeStrategyOutput() ClusterV2RkeConfigUpgradeStrategyOutput { + return o } -func (o MachineConfigV2Amazonec2ConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.SecretKey - }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigUpgradeStrategyOutput) ToClusterV2RkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyOutput { + return o } -// Skip adding default rules to security groups (bool) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) SecurityGroupReadonly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { - if v == nil { - return nil - } - return v.SecurityGroupReadonly - }).(pulumi.BoolPtrOutput) +func (o ClusterV2RkeConfigUpgradeStrategyOutput) ToClusterV2RkeConfigUpgradeStrategyPtrOutput() ClusterV2RkeConfigUpgradeStrategyPtrOutput { + return o.ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -// AWS VPC security group. (list) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) []string { - if v == nil { - return nil - } - return v.SecurityGroups - }).(pulumi.StringArrayOutput) +func (o ClusterV2RkeConfigUpgradeStrategyOutput) ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigUpgradeStrategy) *ClusterV2RkeConfigUpgradeStrategy { + return &v + }).(ClusterV2RkeConfigUpgradeStrategyPtrOutput) } -// AWS Session Token (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) SessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.SessionToken - }).(pulumi.StringPtrOutput) +// How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string) +func (o ClusterV2RkeConfigUpgradeStrategyOutput) ControlPlaneConcurrency() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategy) *string { return v.ControlPlaneConcurrency }).(pulumi.StringPtrOutput) } -// AWS spot instance bid price (in dollar). Default `0.50` (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) SpotPrice() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.SpotPrice - }).(pulumi.StringPtrOutput) +// Controlplane nodes drain options (list maxitems:1) +func (o ClusterV2RkeConfigUpgradeStrategyOutput) ControlPlaneDrainOptions() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategy) *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { + return v.ControlPlaneDrainOptions + }).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) } -// SSH private key contents (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) SshKeyContents() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.SshKeyContents - }).(pulumi.StringPtrOutput) +// How many worker nodes should be upgrade at time. Percentages are also accepted (string) +func (o ClusterV2RkeConfigUpgradeStrategyOutput) WorkerConcurrency() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategy) *string { return v.WorkerConcurrency }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.SshUser - }).(pulumi.StringPtrOutput) +// Worker nodes drain options (list maxitems:1) +func (o ClusterV2RkeConfigUpgradeStrategyOutput) WorkerDrainOptions() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategy) *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { + return v.WorkerDrainOptions + }).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) } -// AWS VPC subnet id (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return &v.SubnetId - }).(pulumi.StringPtrOutput) +type ClusterV2RkeConfigUpgradeStrategyPtrOutput struct{ *pulumi.OutputState } + +func (ClusterV2RkeConfigUpgradeStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() } -// vSphere tags id e.g. `urn:xxx` (list) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { - if v == nil { - return nil - } - return v.Tags - }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) ToClusterV2RkeConfigUpgradeStrategyPtrOutput() ClusterV2RkeConfigUpgradeStrategyPtrOutput { + return o } -// Create an EBS optimized instance. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) UseEbsOptimizedInstance() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { - if v == nil { - return nil - } - return v.UseEbsOptimizedInstance - }).(pulumi.BoolPtrOutput) +func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) ToClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyPtrOutput { + return o } -// Force the usage of private IP address. Default `false` (bool) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) UsePrivateAddress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { - if v == nil { - return nil +func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) Elem() ClusterV2RkeConfigUpgradeStrategyOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategy) ClusterV2RkeConfigUpgradeStrategy { + if v != nil { + return *v } - return v.UsePrivateAddress - }).(pulumi.BoolPtrOutput) + var ret ClusterV2RkeConfigUpgradeStrategy + return ret + }).(ClusterV2RkeConfigUpgradeStrategyOutput) } -// Path to file with cloud-init user-data (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) Userdata() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { +// How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted (string) +func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) ControlPlaneConcurrency() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategy) *string { if v == nil { return nil } - return v.Userdata + return v.ControlPlaneConcurrency }).(pulumi.StringPtrOutput) } -// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { +// Controlplane nodes drain options (list maxitems:1) +func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) ControlPlaneDrainOptions() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategy) *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { if v == nil { return nil } - return v.VolumeType - }).(pulumi.StringPtrOutput) + return v.ControlPlaneDrainOptions + }).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) } -// AWS VPC id. (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) VpcId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { +// How many worker nodes should be upgrade at time. Percentages are also accepted (string) +func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) WorkerConcurrency() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategy) *string { if v == nil { return nil } - return &v.VpcId + return v.WorkerConcurrency }).(pulumi.StringPtrOutput) } -// AWS zone for instance (i.e. a,b,c,d,e) (string) -func (o MachineConfigV2Amazonec2ConfigPtrOutput) Zone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { +// Worker nodes drain options (list maxitems:1) +func (o ClusterV2RkeConfigUpgradeStrategyPtrOutput) WorkerDrainOptions() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategy) *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { if v == nil { return nil } - return &v.Zone - }).(pulumi.StringPtrOutput) + return v.WorkerDrainOptions + }).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) } -type MachineConfigV2AzureConfig struct { - // Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) - AvailabilitySet *string `pulumi:"availabilitySet"` - // Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - ClientId *string `pulumi:"clientId"` - // Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - ClientSecret *string `pulumi:"clientSecret"` - // Path to file with custom-data (string) - CustomData *string `pulumi:"customData"` - // vSphere size of disk for docker VM (in MB). Default `20480` (string) - DiskSize *string `pulumi:"diskSize"` - // A unique DNS label for the public IP adddress (string) - Dns *string `pulumi:"dns"` - // Docker Port. Default `2376` (string) - DockerPort *string `pulumi:"dockerPort"` - // Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) - Environment *string `pulumi:"environment"` - // Fault domain count to use for availability set. Default `3` (string) - FaultDomainCount *string `pulumi:"faultDomainCount"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image *string `pulumi:"image"` - // Azure region to create the virtual machine. Default `westus` (string) - Location *string `pulumi:"location"` - // Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) - ManagedDisks *bool `pulumi:"managedDisks"` - // Do not create a public IP address for the machine. Default `false` (bool) - NoPublicIp *bool `pulumi:"noPublicIp"` - // Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) - Nsg *string `pulumi:"nsg"` - // Make the specified port number accessible from the Internet. (list) - OpenPorts []string `pulumi:"openPorts"` - // Specify a static private IP address for the machine. (string) - PrivateIpAddress *string `pulumi:"privateIpAddress"` - // Azure Resource Group name (will be created if missing). Default `docker-machine` (string) - ResourceGroup *string `pulumi:"resourceGroup"` - // Digital Ocean size. Default `s-1vcpu-1gb` (string) - Size *string `pulumi:"size"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser *string `pulumi:"sshUser"` - // Assign a static public IP address to the machine. Default `false` (bool) - StaticPublicIp *bool `pulumi:"staticPublicIp"` - // Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) - StorageType *string `pulumi:"storageType"` - // Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) - Subnet *string `pulumi:"subnet"` - // Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) - SubnetPrefix *string `pulumi:"subnetPrefix"` - // Azure Subscription ID (string) - SubscriptionId *string `pulumi:"subscriptionId"` - // OpenStack tenant id. Conflicts with `tenantName` (string) - TenantId *string `pulumi:"tenantId"` - // Update domain count to use for availability set. Default `5` (string) - UpdateDomainCount *string `pulumi:"updateDomainCount"` - // Use private IP address of the machine to connect. Default `false` (bool) - UsePrivateIp *bool `pulumi:"usePrivateIp"` - // Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) - Vnet *string `pulumi:"vnet"` +type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions struct { + // Drain options delete empty dir data. Default `false` (bool) + DeleteEmptyDirData *bool `pulumi:"deleteEmptyDirData"` + // Drain options disable eviction. Default `false` (bool) + DisableEviction *bool `pulumi:"disableEviction"` + // Drain options enabled? Default `true` (bool) + Enabled *bool `pulumi:"enabled"` + // Drain options force. Default `false` (bool) + Force *bool `pulumi:"force"` + // Drain options grace period (int) + GracePeriod *int `pulumi:"gracePeriod"` + // Drain options ignore daemon sets. Default `true` (bool) + IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` + // Drain options ignore errors. Default `false` (bool) + IgnoreErrors *bool `pulumi:"ignoreErrors"` + // Drain options skip wait for delete timeout seconds (int) + SkipWaitForDeleteTimeoutSeconds *int `pulumi:"skipWaitForDeleteTimeoutSeconds"` + // Drain options timeout (int) + Timeout *int `pulumi:"timeout"` } -// MachineConfigV2AzureConfigInput is an input type that accepts MachineConfigV2AzureConfigArgs and MachineConfigV2AzureConfigOutput values. -// You can construct a concrete instance of `MachineConfigV2AzureConfigInput` via: +// ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs and ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput` via: // -// MachineConfigV2AzureConfigArgs{...} -type MachineConfigV2AzureConfigInput interface { +// ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs{...} +type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput interface { pulumi.Input - ToMachineConfigV2AzureConfigOutput() MachineConfigV2AzureConfigOutput - ToMachineConfigV2AzureConfigOutputWithContext(context.Context) MachineConfigV2AzureConfigOutput + ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput + ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput } -type MachineConfigV2AzureConfigArgs struct { - // Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) - AvailabilitySet pulumi.StringPtrInput `pulumi:"availabilitySet"` - // Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - ClientId pulumi.StringPtrInput `pulumi:"clientId"` - // Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - ClientSecret pulumi.StringPtrInput `pulumi:"clientSecret"` - // Path to file with custom-data (string) - CustomData pulumi.StringPtrInput `pulumi:"customData"` - // vSphere size of disk for docker VM (in MB). Default `20480` (string) - DiskSize pulumi.StringPtrInput `pulumi:"diskSize"` - // A unique DNS label for the public IP adddress (string) - Dns pulumi.StringPtrInput `pulumi:"dns"` - // Docker Port. Default `2376` (string) - DockerPort pulumi.StringPtrInput `pulumi:"dockerPort"` - // Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) - Environment pulumi.StringPtrInput `pulumi:"environment"` - // Fault domain count to use for availability set. Default `3` (string) - FaultDomainCount pulumi.StringPtrInput `pulumi:"faultDomainCount"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image pulumi.StringPtrInput `pulumi:"image"` - // Azure region to create the virtual machine. Default `westus` (string) - Location pulumi.StringPtrInput `pulumi:"location"` - // Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) - ManagedDisks pulumi.BoolPtrInput `pulumi:"managedDisks"` - // Do not create a public IP address for the machine. Default `false` (bool) - NoPublicIp pulumi.BoolPtrInput `pulumi:"noPublicIp"` - // Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) - Nsg pulumi.StringPtrInput `pulumi:"nsg"` - // Make the specified port number accessible from the Internet. (list) - OpenPorts pulumi.StringArrayInput `pulumi:"openPorts"` - // Specify a static private IP address for the machine. (string) - PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"` - // Azure Resource Group name (will be created if missing). Default `docker-machine` (string) - ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` - // Digital Ocean size. Default `s-1vcpu-1gb` (string) - Size pulumi.StringPtrInput `pulumi:"size"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // Assign a static public IP address to the machine. Default `false` (bool) - StaticPublicIp pulumi.BoolPtrInput `pulumi:"staticPublicIp"` - // Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) - StorageType pulumi.StringPtrInput `pulumi:"storageType"` - // Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) - Subnet pulumi.StringPtrInput `pulumi:"subnet"` - // Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) - SubnetPrefix pulumi.StringPtrInput `pulumi:"subnetPrefix"` - // Azure Subscription ID (string) - SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` - // OpenStack tenant id. Conflicts with `tenantName` (string) - TenantId pulumi.StringPtrInput `pulumi:"tenantId"` - // Update domain count to use for availability set. Default `5` (string) - UpdateDomainCount pulumi.StringPtrInput `pulumi:"updateDomainCount"` - // Use private IP address of the machine to connect. Default `false` (bool) - UsePrivateIp pulumi.BoolPtrInput `pulumi:"usePrivateIp"` - // Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) - Vnet pulumi.StringPtrInput `pulumi:"vnet"` +type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs struct { + // Drain options delete empty dir data. Default `false` (bool) + DeleteEmptyDirData pulumi.BoolPtrInput `pulumi:"deleteEmptyDirData"` + // Drain options disable eviction. Default `false` (bool) + DisableEviction pulumi.BoolPtrInput `pulumi:"disableEviction"` + // Drain options enabled? Default `true` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // Drain options force. Default `false` (bool) + Force pulumi.BoolPtrInput `pulumi:"force"` + // Drain options grace period (int) + GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` + // Drain options ignore daemon sets. Default `true` (bool) + IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` + // Drain options ignore errors. Default `false` (bool) + IgnoreErrors pulumi.BoolPtrInput `pulumi:"ignoreErrors"` + // Drain options skip wait for delete timeout seconds (int) + SkipWaitForDeleteTimeoutSeconds pulumi.IntPtrInput `pulumi:"skipWaitForDeleteTimeoutSeconds"` + // Drain options timeout (int) + Timeout pulumi.IntPtrInput `pulumi:"timeout"` } -func (MachineConfigV2AzureConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2AzureConfig)(nil)).Elem() +func (ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() } -func (i MachineConfigV2AzureConfigArgs) ToMachineConfigV2AzureConfigOutput() MachineConfigV2AzureConfigOutput { - return i.ToMachineConfigV2AzureConfigOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { + return i.ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(context.Background()) } -func (i MachineConfigV2AzureConfigArgs) ToMachineConfigV2AzureConfigOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2AzureConfigOutput) +func (i ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) } -func (i MachineConfigV2AzureConfigArgs) ToMachineConfigV2AzureConfigPtrOutput() MachineConfigV2AzureConfigPtrOutput { - return i.ToMachineConfigV2AzureConfigPtrOutputWithContext(context.Background()) +func (i ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return i.ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) } -func (i MachineConfigV2AzureConfigArgs) ToMachineConfigV2AzureConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2AzureConfigOutput).ToMachineConfigV2AzureConfigPtrOutputWithContext(ctx) +func (i ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput).ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx) } -// MachineConfigV2AzureConfigPtrInput is an input type that accepts MachineConfigV2AzureConfigArgs, MachineConfigV2AzureConfigPtr and MachineConfigV2AzureConfigPtrOutput values. -// You can construct a concrete instance of `MachineConfigV2AzureConfigPtrInput` via: +// ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs, ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtr and ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput` via: // -// MachineConfigV2AzureConfigArgs{...} +// ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs{...} // // or: // // nil -type MachineConfigV2AzureConfigPtrInput interface { +type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput interface { pulumi.Input - ToMachineConfigV2AzureConfigPtrOutput() MachineConfigV2AzureConfigPtrOutput - ToMachineConfigV2AzureConfigPtrOutputWithContext(context.Context) MachineConfigV2AzureConfigPtrOutput + ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput + ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput } -type machineConfigV2AzureConfigPtrType MachineConfigV2AzureConfigArgs +type clusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs -func MachineConfigV2AzureConfigPtr(v *MachineConfigV2AzureConfigArgs) MachineConfigV2AzureConfigPtrInput { - return (*machineConfigV2AzureConfigPtrType)(v) +func ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtr(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput { + return (*clusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType)(v) } -func (*machineConfigV2AzureConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2AzureConfig)(nil)).Elem() +func (*clusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() } -func (i *machineConfigV2AzureConfigPtrType) ToMachineConfigV2AzureConfigPtrOutput() MachineConfigV2AzureConfigPtrOutput { - return i.ToMachineConfigV2AzureConfigPtrOutputWithContext(context.Background()) +func (i *clusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return i.ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) } -func (i *machineConfigV2AzureConfigPtrType) ToMachineConfigV2AzureConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2AzureConfigPtrOutput) +func (i *clusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) } -type MachineConfigV2AzureConfigOutput struct{ *pulumi.OutputState } +type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput struct{ *pulumi.OutputState } -func (MachineConfigV2AzureConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2AzureConfig)(nil)).Elem() +func (ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() } -func (o MachineConfigV2AzureConfigOutput) ToMachineConfigV2AzureConfigOutput() MachineConfigV2AzureConfigOutput { +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { return o } -func (o MachineConfigV2AzureConfigOutput) ToMachineConfigV2AzureConfigOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigOutput { +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { return o } -func (o MachineConfigV2AzureConfigOutput) ToMachineConfigV2AzureConfigPtrOutput() MachineConfigV2AzureConfigPtrOutput { - return o.ToMachineConfigV2AzureConfigPtrOutputWithContext(context.Background()) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return o.ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) } -func (o MachineConfigV2AzureConfigOutput) ToMachineConfigV2AzureConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2AzureConfig) *MachineConfigV2AzureConfig { +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { return &v - }).(MachineConfigV2AzureConfigPtrOutput) + }).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) } -// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) -func (o MachineConfigV2AzureConfigOutput) AvailabilitySet() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.AvailabilitySet }).(pulumi.StringPtrOutput) +// Drain options delete empty dir data. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.DeleteEmptyDirData }).(pulumi.BoolPtrOutput) } -// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2AzureConfigOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.ClientId }).(pulumi.StringPtrOutput) +// Drain options disable eviction. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) DisableEviction() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.DisableEviction }).(pulumi.BoolPtrOutput) } -// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2AzureConfigOutput) ClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.ClientSecret }).(pulumi.StringPtrOutput) +// Drain options enabled? Default `true` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -// Path to file with custom-data (string) -func (o MachineConfigV2AzureConfigOutput) CustomData() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.CustomData }).(pulumi.StringPtrOutput) +// Drain options force. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.Force }).(pulumi.BoolPtrOutput) } -// vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o MachineConfigV2AzureConfigOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) +// Drain options grace period (int) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { return v.GracePeriod }).(pulumi.IntPtrOutput) } -// A unique DNS label for the public IP adddress (string) -func (o MachineConfigV2AzureConfigOutput) Dns() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Dns }).(pulumi.StringPtrOutput) +// Drain options ignore daemon sets. Default `true` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) } -// Docker Port. Default `2376` (string) -func (o MachineConfigV2AzureConfigOutput) DockerPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.DockerPort }).(pulumi.StringPtrOutput) +// Drain options ignore errors. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) IgnoreErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.IgnoreErrors }).(pulumi.BoolPtrOutput) } -// Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) -func (o MachineConfigV2AzureConfigOutput) Environment() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Environment }).(pulumi.StringPtrOutput) +// Drain options skip wait for delete timeout seconds (int) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { + return v.SkipWaitForDeleteTimeoutSeconds + }).(pulumi.IntPtrOutput) } -// Fault domain count to use for availability set. Default `3` (string) -func (o MachineConfigV2AzureConfigOutput) FaultDomainCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.FaultDomainCount }).(pulumi.StringPtrOutput) +// Drain options timeout (int) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { return v.Timeout }).(pulumi.IntPtrOutput) } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o MachineConfigV2AzureConfigOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Image }).(pulumi.StringPtrOutput) +type ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput struct{ *pulumi.OutputState } + +func (ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() } -// Azure region to create the virtual machine. Default `westus` (string) -func (o MachineConfigV2AzureConfigOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Location }).(pulumi.StringPtrOutput) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return o } -// Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) -func (o MachineConfigV2AzureConfigOutput) ManagedDisks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *bool { return v.ManagedDisks }).(pulumi.BoolPtrOutput) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ToClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return o } -// Do not create a public IP address for the machine. Default `false` (bool) -func (o MachineConfigV2AzureConfigOutput) NoPublicIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *bool { return v.NoPublicIp }).(pulumi.BoolPtrOutput) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Elem() ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { + if v != nil { + return *v + } + var ret ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions + return ret + }).(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) } -// Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) -func (o MachineConfigV2AzureConfigOutput) Nsg() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Nsg }).(pulumi.StringPtrOutput) +// Drain options delete empty dir data. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { + if v == nil { + return nil + } + return v.DeleteEmptyDirData + }).(pulumi.BoolPtrOutput) } -// Make the specified port number accessible from the Internet. (list) -func (o MachineConfigV2AzureConfigOutput) OpenPorts() pulumi.StringArrayOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) []string { return v.OpenPorts }).(pulumi.StringArrayOutput) +// Drain options disable eviction. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) DisableEviction() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { + if v == nil { + return nil + } + return v.DisableEviction + }).(pulumi.BoolPtrOutput) } -// Specify a static private IP address for the machine. (string) -func (o MachineConfigV2AzureConfigOutput) PrivateIpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.PrivateIpAddress }).(pulumi.StringPtrOutput) +// Drain options enabled? Default `true` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) } -// Azure Resource Group name (will be created if missing). Default `docker-machine` (string) -func (o MachineConfigV2AzureConfigOutput) ResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +// Drain options force. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { + if v == nil { + return nil + } + return v.Force + }).(pulumi.BoolPtrOutput) } -// Digital Ocean size. Default `s-1vcpu-1gb` (string) -func (o MachineConfigV2AzureConfigOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Size }).(pulumi.StringPtrOutput) +// Drain options grace period (int) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { + if v == nil { + return nil + } + return v.GracePeriod + }).(pulumi.IntPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2AzureConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +// Drain options ignore daemon sets. Default `true` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { + if v == nil { + return nil + } + return v.IgnoreDaemonSets + }).(pulumi.BoolPtrOutput) } -// Assign a static public IP address to the machine. Default `false` (bool) -func (o MachineConfigV2AzureConfigOutput) StaticPublicIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *bool { return v.StaticPublicIp }).(pulumi.BoolPtrOutput) +// Drain options ignore errors. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) IgnoreErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { + if v == nil { + return nil + } + return v.IgnoreErrors + }).(pulumi.BoolPtrOutput) } -// Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) -func (o MachineConfigV2AzureConfigOutput) StorageType() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.StorageType }).(pulumi.StringPtrOutput) +// Drain options skip wait for delete timeout seconds (int) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { + if v == nil { + return nil + } + return v.SkipWaitForDeleteTimeoutSeconds + }).(pulumi.IntPtrOutput) } -// Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) -func (o MachineConfigV2AzureConfigOutput) Subnet() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Subnet }).(pulumi.StringPtrOutput) +// Drain options timeout (int) +func (o ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { + if v == nil { + return nil + } + return v.Timeout + }).(pulumi.IntPtrOutput) } -// Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) -func (o MachineConfigV2AzureConfigOutput) SubnetPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.SubnetPrefix }).(pulumi.StringPtrOutput) +type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions struct { + // Drain options delete empty dir data. Default `false` (bool) + DeleteEmptyDirData *bool `pulumi:"deleteEmptyDirData"` + // Drain options disable eviction. Default `false` (bool) + DisableEviction *bool `pulumi:"disableEviction"` + // Drain options enabled? Default `true` (bool) + Enabled *bool `pulumi:"enabled"` + // Drain options force. Default `false` (bool) + Force *bool `pulumi:"force"` + // Drain options grace period (int) + GracePeriod *int `pulumi:"gracePeriod"` + // Drain options ignore daemon sets. Default `true` (bool) + IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` + // Drain options ignore errors. Default `false` (bool) + IgnoreErrors *bool `pulumi:"ignoreErrors"` + // Drain options skip wait for delete timeout seconds (int) + SkipWaitForDeleteTimeoutSeconds *int `pulumi:"skipWaitForDeleteTimeoutSeconds"` + // Drain options timeout (int) + Timeout *int `pulumi:"timeout"` } -// Azure Subscription ID (string) -func (o MachineConfigV2AzureConfigOutput) SubscriptionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +// ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs and ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput` via: +// +// ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs{...} +type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput interface { + pulumi.Input + + ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput + ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput } -// OpenStack tenant id. Conflicts with `tenantName` (string) -func (o MachineConfigV2AzureConfigOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.TenantId }).(pulumi.StringPtrOutput) +type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs struct { + // Drain options delete empty dir data. Default `false` (bool) + DeleteEmptyDirData pulumi.BoolPtrInput `pulumi:"deleteEmptyDirData"` + // Drain options disable eviction. Default `false` (bool) + DisableEviction pulumi.BoolPtrInput `pulumi:"disableEviction"` + // Drain options enabled? Default `true` (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // Drain options force. Default `false` (bool) + Force pulumi.BoolPtrInput `pulumi:"force"` + // Drain options grace period (int) + GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` + // Drain options ignore daemon sets. Default `true` (bool) + IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` + // Drain options ignore errors. Default `false` (bool) + IgnoreErrors pulumi.BoolPtrInput `pulumi:"ignoreErrors"` + // Drain options skip wait for delete timeout seconds (int) + SkipWaitForDeleteTimeoutSeconds pulumi.IntPtrInput `pulumi:"skipWaitForDeleteTimeoutSeconds"` + // Drain options timeout (int) + Timeout pulumi.IntPtrInput `pulumi:"timeout"` } -// Update domain count to use for availability set. Default `5` (string) -func (o MachineConfigV2AzureConfigOutput) UpdateDomainCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.UpdateDomainCount }).(pulumi.StringPtrOutput) +func (ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() } -// Use private IP address of the machine to connect. Default `false` (bool) -func (o MachineConfigV2AzureConfigOutput) UsePrivateIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *bool { return v.UsePrivateIp }).(pulumi.BoolPtrOutput) +func (i ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { + return i.ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(context.Background()) } -// Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) -func (o MachineConfigV2AzureConfigOutput) Vnet() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Vnet }).(pulumi.StringPtrOutput) +func (i ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) } -type MachineConfigV2AzureConfigPtrOutput struct{ *pulumi.OutputState } +func (i ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return i.ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) +} -func (MachineConfigV2AzureConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2AzureConfig)(nil)).Elem() +func (i ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput).ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx) } -func (o MachineConfigV2AzureConfigPtrOutput) ToMachineConfigV2AzureConfigPtrOutput() MachineConfigV2AzureConfigPtrOutput { +// ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput is an input type that accepts ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs, ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtr and ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput values. +// You can construct a concrete instance of `ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput` via: +// +// ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs{...} +// +// or: +// +// nil +type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput interface { + pulumi.Input + + ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput + ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput +} + +type clusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs + +func ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtr(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput { + return (*clusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType)(v) +} + +func (*clusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() +} + +func (i *clusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return i.ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) +} + +func (i *clusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) +} + +type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput struct{ *pulumi.OutputState } + +func (ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() +} + +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { return o } -func (o MachineConfigV2AzureConfigPtrOutput) ToMachineConfigV2AzureConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigPtrOutput { +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { return o } -func (o MachineConfigV2AzureConfigPtrOutput) Elem() MachineConfigV2AzureConfigOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) MachineConfigV2AzureConfig { +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return o.ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) +} + +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { + return &v + }).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) +} + +// Drain options delete empty dir data. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.DeleteEmptyDirData }).(pulumi.BoolPtrOutput) +} + +// Drain options disable eviction. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) DisableEviction() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.DisableEviction }).(pulumi.BoolPtrOutput) +} + +// Drain options enabled? Default `true` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Drain options force. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.Force }).(pulumi.BoolPtrOutput) +} + +// Drain options grace period (int) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { return v.GracePeriod }).(pulumi.IntPtrOutput) +} + +// Drain options ignore daemon sets. Default `true` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) +} + +// Drain options ignore errors. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) IgnoreErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.IgnoreErrors }).(pulumi.BoolPtrOutput) +} + +// Drain options skip wait for delete timeout seconds (int) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { + return v.SkipWaitForDeleteTimeoutSeconds + }).(pulumi.IntPtrOutput) +} + +// Drain options timeout (int) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { return v.Timeout }).(pulumi.IntPtrOutput) +} + +type ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput struct{ *pulumi.OutputState } + +func (ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() +} + +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return o +} + +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ToClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return o +} + +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Elem() ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { if v != nil { return *v } - var ret MachineConfigV2AzureConfig + var ret ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions return ret - }).(MachineConfigV2AzureConfigOutput) + }).(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) } -// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) -func (o MachineConfigV2AzureConfigPtrOutput) AvailabilitySet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Drain options delete empty dir data. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { if v == nil { return nil } - return v.AvailabilitySet - }).(pulumi.StringPtrOutput) + return v.DeleteEmptyDirData + }).(pulumi.BoolPtrOutput) } -// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2AzureConfigPtrOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Drain options disable eviction. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) DisableEviction() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { if v == nil { return nil } - return v.ClientId - }).(pulumi.StringPtrOutput) + return v.DisableEviction + }).(pulumi.BoolPtrOutput) } -// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2AzureConfigPtrOutput) ClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Drain options enabled? Default `true` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { if v == nil { return nil } - return v.ClientSecret - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -// Path to file with custom-data (string) -func (o MachineConfigV2AzureConfigPtrOutput) CustomData() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Drain options force. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { if v == nil { return nil } - return v.CustomData - }).(pulumi.StringPtrOutput) + return v.Force + }).(pulumi.BoolPtrOutput) } -// vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o MachineConfigV2AzureConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Drain options grace period (int) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { if v == nil { return nil } - return v.DiskSize - }).(pulumi.StringPtrOutput) + return v.GracePeriod + }).(pulumi.IntPtrOutput) } -// A unique DNS label for the public IP adddress (string) -func (o MachineConfigV2AzureConfigPtrOutput) Dns() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Drain options ignore daemon sets. Default `true` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { if v == nil { return nil } - return v.Dns - }).(pulumi.StringPtrOutput) + return v.IgnoreDaemonSets + }).(pulumi.BoolPtrOutput) } -// Docker Port. Default `2376` (string) -func (o MachineConfigV2AzureConfigPtrOutput) DockerPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Drain options ignore errors. Default `false` (bool) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) IgnoreErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { if v == nil { return nil } - return v.DockerPort - }).(pulumi.StringPtrOutput) + return v.IgnoreErrors + }).(pulumi.BoolPtrOutput) } -// Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) -func (o MachineConfigV2AzureConfigPtrOutput) Environment() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Drain options skip wait for delete timeout seconds (int) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { if v == nil { return nil } - return v.Environment - }).(pulumi.StringPtrOutput) + return v.SkipWaitForDeleteTimeoutSeconds + }).(pulumi.IntPtrOutput) } -// Fault domain count to use for availability set. Default `3` (string) -func (o MachineConfigV2AzureConfigPtrOutput) FaultDomainCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Drain options timeout (int) +func (o ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { if v == nil { return nil } - return v.FaultDomainCount - }).(pulumi.StringPtrOutput) + return v.Timeout + }).(pulumi.IntPtrOutput) } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o MachineConfigV2AzureConfigPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { - if v == nil { - return nil - } - return v.Image - }).(pulumi.StringPtrOutput) +type EtcdBackupBackupConfig struct { + // Enable etcd backup (bool) + Enabled *bool `pulumi:"enabled"` + // Interval hours for etcd backup. Default `12` (int) + IntervalHours *int `pulumi:"intervalHours"` + // Retention for etcd backup. Default `6` (int) + Retention *int `pulumi:"retention"` + // S3 config options for etcd backup. Valid for `imported` and `rke` clusters. (list maxitems:1) + S3BackupConfig *EtcdBackupBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` + SafeTimestamp *bool `pulumi:"safeTimestamp"` + Timeout *int `pulumi:"timeout"` } -// Azure region to create the virtual machine. Default `westus` (string) -func (o MachineConfigV2AzureConfigPtrOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { - if v == nil { - return nil - } - return v.Location - }).(pulumi.StringPtrOutput) +// EtcdBackupBackupConfigInput is an input type that accepts EtcdBackupBackupConfigArgs and EtcdBackupBackupConfigOutput values. +// You can construct a concrete instance of `EtcdBackupBackupConfigInput` via: +// +// EtcdBackupBackupConfigArgs{...} +type EtcdBackupBackupConfigInput interface { + pulumi.Input + + ToEtcdBackupBackupConfigOutput() EtcdBackupBackupConfigOutput + ToEtcdBackupBackupConfigOutputWithContext(context.Context) EtcdBackupBackupConfigOutput } -// Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) -func (o MachineConfigV2AzureConfigPtrOutput) ManagedDisks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *bool { - if v == nil { - return nil - } - return v.ManagedDisks - }).(pulumi.BoolPtrOutput) +type EtcdBackupBackupConfigArgs struct { + // Enable etcd backup (bool) + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // Interval hours for etcd backup. Default `12` (int) + IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` + // Retention for etcd backup. Default `6` (int) + Retention pulumi.IntPtrInput `pulumi:"retention"` + // S3 config options for etcd backup. Valid for `imported` and `rke` clusters. (list maxitems:1) + S3BackupConfig EtcdBackupBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` + SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` + Timeout pulumi.IntPtrInput `pulumi:"timeout"` } -// Do not create a public IP address for the machine. Default `false` (bool) -func (o MachineConfigV2AzureConfigPtrOutput) NoPublicIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *bool { - if v == nil { - return nil - } - return v.NoPublicIp - }).(pulumi.BoolPtrOutput) +func (EtcdBackupBackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EtcdBackupBackupConfig)(nil)).Elem() } -// Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) -func (o MachineConfigV2AzureConfigPtrOutput) Nsg() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { - if v == nil { - return nil - } - return v.Nsg - }).(pulumi.StringPtrOutput) +func (i EtcdBackupBackupConfigArgs) ToEtcdBackupBackupConfigOutput() EtcdBackupBackupConfigOutput { + return i.ToEtcdBackupBackupConfigOutputWithContext(context.Background()) } -// Make the specified port number accessible from the Internet. (list) -func (o MachineConfigV2AzureConfigPtrOutput) OpenPorts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) []string { - if v == nil { - return nil - } - return v.OpenPorts - }).(pulumi.StringArrayOutput) +func (i EtcdBackupBackupConfigArgs) ToEtcdBackupBackupConfigOutputWithContext(ctx context.Context) EtcdBackupBackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigOutput) } -// Specify a static private IP address for the machine. (string) -func (o MachineConfigV2AzureConfigPtrOutput) PrivateIpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { - if v == nil { - return nil - } - return v.PrivateIpAddress - }).(pulumi.StringPtrOutput) +func (i EtcdBackupBackupConfigArgs) ToEtcdBackupBackupConfigPtrOutput() EtcdBackupBackupConfigPtrOutput { + return i.ToEtcdBackupBackupConfigPtrOutputWithContext(context.Background()) } -// Azure Resource Group name (will be created if missing). Default `docker-machine` (string) -func (o MachineConfigV2AzureConfigPtrOutput) ResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { - if v == nil { - return nil - } - return v.ResourceGroup - }).(pulumi.StringPtrOutput) +func (i EtcdBackupBackupConfigArgs) ToEtcdBackupBackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigOutput).ToEtcdBackupBackupConfigPtrOutputWithContext(ctx) } -// Digital Ocean size. Default `s-1vcpu-1gb` (string) -func (o MachineConfigV2AzureConfigPtrOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { - if v == nil { - return nil - } - return v.Size - }).(pulumi.StringPtrOutput) +// EtcdBackupBackupConfigPtrInput is an input type that accepts EtcdBackupBackupConfigArgs, EtcdBackupBackupConfigPtr and EtcdBackupBackupConfigPtrOutput values. +// You can construct a concrete instance of `EtcdBackupBackupConfigPtrInput` via: +// +// EtcdBackupBackupConfigArgs{...} +// +// or: +// +// nil +type EtcdBackupBackupConfigPtrInput interface { + pulumi.Input + + ToEtcdBackupBackupConfigPtrOutput() EtcdBackupBackupConfigPtrOutput + ToEtcdBackupBackupConfigPtrOutputWithContext(context.Context) EtcdBackupBackupConfigPtrOutput } -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2AzureConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { - if v == nil { - return nil - } - return v.SshUser - }).(pulumi.StringPtrOutput) +type etcdBackupBackupConfigPtrType EtcdBackupBackupConfigArgs + +func EtcdBackupBackupConfigPtr(v *EtcdBackupBackupConfigArgs) EtcdBackupBackupConfigPtrInput { + return (*etcdBackupBackupConfigPtrType)(v) } -// Assign a static public IP address to the machine. Default `false` (bool) -func (o MachineConfigV2AzureConfigPtrOutput) StaticPublicIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *bool { - if v == nil { - return nil - } - return v.StaticPublicIp - }).(pulumi.BoolPtrOutput) +func (*etcdBackupBackupConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EtcdBackupBackupConfig)(nil)).Elem() } -// Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) -func (o MachineConfigV2AzureConfigPtrOutput) StorageType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { - if v == nil { - return nil - } - return v.StorageType - }).(pulumi.StringPtrOutput) +func (i *etcdBackupBackupConfigPtrType) ToEtcdBackupBackupConfigPtrOutput() EtcdBackupBackupConfigPtrOutput { + return i.ToEtcdBackupBackupConfigPtrOutputWithContext(context.Background()) } -// Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) -func (o MachineConfigV2AzureConfigPtrOutput) Subnet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { - if v == nil { - return nil +func (i *etcdBackupBackupConfigPtrType) ToEtcdBackupBackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigPtrOutput) +} + +type EtcdBackupBackupConfigOutput struct{ *pulumi.OutputState } + +func (EtcdBackupBackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EtcdBackupBackupConfig)(nil)).Elem() +} + +func (o EtcdBackupBackupConfigOutput) ToEtcdBackupBackupConfigOutput() EtcdBackupBackupConfigOutput { + return o +} + +func (o EtcdBackupBackupConfigOutput) ToEtcdBackupBackupConfigOutputWithContext(ctx context.Context) EtcdBackupBackupConfigOutput { + return o +} + +func (o EtcdBackupBackupConfigOutput) ToEtcdBackupBackupConfigPtrOutput() EtcdBackupBackupConfigPtrOutput { + return o.ToEtcdBackupBackupConfigPtrOutputWithContext(context.Background()) +} + +func (o EtcdBackupBackupConfigOutput) ToEtcdBackupBackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EtcdBackupBackupConfig) *EtcdBackupBackupConfig { + return &v + }).(EtcdBackupBackupConfigPtrOutput) +} + +// Enable etcd backup (bool) +func (o EtcdBackupBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Interval hours for etcd backup. Default `12` (int) +func (o EtcdBackupBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfig) *int { return v.IntervalHours }).(pulumi.IntPtrOutput) +} + +// Retention for etcd backup. Default `6` (int) +func (o EtcdBackupBackupConfigOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfig) *int { return v.Retention }).(pulumi.IntPtrOutput) +} + +// S3 config options for etcd backup. Valid for `imported` and `rke` clusters. (list maxitems:1) +func (o EtcdBackupBackupConfigOutput) S3BackupConfig() EtcdBackupBackupConfigS3BackupConfigPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfig) *EtcdBackupBackupConfigS3BackupConfig { return v.S3BackupConfig }).(EtcdBackupBackupConfigS3BackupConfigPtrOutput) +} + +func (o EtcdBackupBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfig) *bool { return v.SafeTimestamp }).(pulumi.BoolPtrOutput) +} + +func (o EtcdBackupBackupConfigOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfig) *int { return v.Timeout }).(pulumi.IntPtrOutput) +} + +type EtcdBackupBackupConfigPtrOutput struct{ *pulumi.OutputState } + +func (EtcdBackupBackupConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EtcdBackupBackupConfig)(nil)).Elem() +} + +func (o EtcdBackupBackupConfigPtrOutput) ToEtcdBackupBackupConfigPtrOutput() EtcdBackupBackupConfigPtrOutput { + return o +} + +func (o EtcdBackupBackupConfigPtrOutput) ToEtcdBackupBackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigPtrOutput { + return o +} + +func (o EtcdBackupBackupConfigPtrOutput) Elem() EtcdBackupBackupConfigOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfig) EtcdBackupBackupConfig { + if v != nil { + return *v } - return v.Subnet - }).(pulumi.StringPtrOutput) + var ret EtcdBackupBackupConfig + return ret + }).(EtcdBackupBackupConfigOutput) } -// Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) -func (o MachineConfigV2AzureConfigPtrOutput) SubnetPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Enable etcd backup (bool) +func (o EtcdBackupBackupConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfig) *bool { if v == nil { return nil } - return v.SubnetPrefix - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -// Azure Subscription ID (string) -func (o MachineConfigV2AzureConfigPtrOutput) SubscriptionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Interval hours for etcd backup. Default `12` (int) +func (o EtcdBackupBackupConfigPtrOutput) IntervalHours() pulumi.IntPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfig) *int { if v == nil { return nil } - return v.SubscriptionId - }).(pulumi.StringPtrOutput) + return v.IntervalHours + }).(pulumi.IntPtrOutput) } -// OpenStack tenant id. Conflicts with `tenantName` (string) -func (o MachineConfigV2AzureConfigPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// Retention for etcd backup. Default `6` (int) +func (o EtcdBackupBackupConfigPtrOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfig) *int { if v == nil { return nil } - return v.TenantId - }).(pulumi.StringPtrOutput) + return v.Retention + }).(pulumi.IntPtrOutput) } -// Update domain count to use for availability set. Default `5` (string) -func (o MachineConfigV2AzureConfigPtrOutput) UpdateDomainCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +// S3 config options for etcd backup. Valid for `imported` and `rke` clusters. (list maxitems:1) +func (o EtcdBackupBackupConfigPtrOutput) S3BackupConfig() EtcdBackupBackupConfigS3BackupConfigPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfig) *EtcdBackupBackupConfigS3BackupConfig { if v == nil { return nil } - return v.UpdateDomainCount - }).(pulumi.StringPtrOutput) + return v.S3BackupConfig + }).(EtcdBackupBackupConfigS3BackupConfigPtrOutput) } -// Use private IP address of the machine to connect. Default `false` (bool) -func (o MachineConfigV2AzureConfigPtrOutput) UsePrivateIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *bool { +func (o EtcdBackupBackupConfigPtrOutput) SafeTimestamp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfig) *bool { if v == nil { return nil } - return v.UsePrivateIp + return v.SafeTimestamp }).(pulumi.BoolPtrOutput) } -// Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) -func (o MachineConfigV2AzureConfigPtrOutput) Vnet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { +func (o EtcdBackupBackupConfigPtrOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfig) *int { if v == nil { return nil } - return v.Vnet - }).(pulumi.StringPtrOutput) + return v.Timeout + }).(pulumi.IntPtrOutput) } -type MachineConfigV2DigitaloceanConfig struct { - // Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - AccessToken *string `pulumi:"accessToken"` - // Enable backups for droplet. Default `false` (bool) - Backups *bool `pulumi:"backups"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image *string `pulumi:"image"` - // Enable ipv6 for droplet. Default `false` (bool) - Ipv6 *bool `pulumi:"ipv6"` - // Enable monitoring for droplet. Default `false` (bool) - Monitoring *bool `pulumi:"monitoring"` - // Enable private networking for droplet. Default `false` (bool) - PrivateNetworking *bool `pulumi:"privateNetworking"` - // OpenStack region name (string) +type EtcdBackupBackupConfigS3BackupConfig struct { + // Access key for S3 service (string) + AccessKey *string `pulumi:"accessKey"` + // Bucket name for S3 service (string) + BucketName string `pulumi:"bucketName"` + // Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) + CustomCa *string `pulumi:"customCa"` + // Endpoint for S3 service (string) + Endpoint string `pulumi:"endpoint"` + // Folder for S3 service. Available from Rancher v2.2.7 (string) + Folder *string `pulumi:"folder"` + // Region for S3 service (string) Region *string `pulumi:"region"` - // Digital Ocean size. Default `s-1vcpu-1gb` (string) - Size *string `pulumi:"size"` - // SSH private key contents (string) - SshKeyContents *string `pulumi:"sshKeyContents"` - // SSH key fingerprint (string) - SshKeyFingerprint *string `pulumi:"sshKeyFingerprint"` - // If using a non-B2D image you can specify the ssh port. Default `22` (string) - SshPort *string `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser *string `pulumi:"sshUser"` - // vSphere tags id e.g. `urn:xxx` (list) - Tags *string `pulumi:"tags"` - // Path to file with cloud-init user-data (string) - Userdata *string `pulumi:"userdata"` + // Secret key for S3 service (string) + SecretKey *string `pulumi:"secretKey"` } -// MachineConfigV2DigitaloceanConfigInput is an input type that accepts MachineConfigV2DigitaloceanConfigArgs and MachineConfigV2DigitaloceanConfigOutput values. -// You can construct a concrete instance of `MachineConfigV2DigitaloceanConfigInput` via: +// EtcdBackupBackupConfigS3BackupConfigInput is an input type that accepts EtcdBackupBackupConfigS3BackupConfigArgs and EtcdBackupBackupConfigS3BackupConfigOutput values. +// You can construct a concrete instance of `EtcdBackupBackupConfigS3BackupConfigInput` via: // -// MachineConfigV2DigitaloceanConfigArgs{...} -type MachineConfigV2DigitaloceanConfigInput interface { +// EtcdBackupBackupConfigS3BackupConfigArgs{...} +type EtcdBackupBackupConfigS3BackupConfigInput interface { pulumi.Input - ToMachineConfigV2DigitaloceanConfigOutput() MachineConfigV2DigitaloceanConfigOutput - ToMachineConfigV2DigitaloceanConfigOutputWithContext(context.Context) MachineConfigV2DigitaloceanConfigOutput + ToEtcdBackupBackupConfigS3BackupConfigOutput() EtcdBackupBackupConfigS3BackupConfigOutput + ToEtcdBackupBackupConfigS3BackupConfigOutputWithContext(context.Context) EtcdBackupBackupConfigS3BackupConfigOutput } -type MachineConfigV2DigitaloceanConfigArgs struct { - // Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - AccessToken pulumi.StringPtrInput `pulumi:"accessToken"` - // Enable backups for droplet. Default `false` (bool) - Backups pulumi.BoolPtrInput `pulumi:"backups"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image pulumi.StringPtrInput `pulumi:"image"` - // Enable ipv6 for droplet. Default `false` (bool) - Ipv6 pulumi.BoolPtrInput `pulumi:"ipv6"` - // Enable monitoring for droplet. Default `false` (bool) - Monitoring pulumi.BoolPtrInput `pulumi:"monitoring"` - // Enable private networking for droplet. Default `false` (bool) - PrivateNetworking pulumi.BoolPtrInput `pulumi:"privateNetworking"` - // OpenStack region name (string) +type EtcdBackupBackupConfigS3BackupConfigArgs struct { + // Access key for S3 service (string) + AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` + // Bucket name for S3 service (string) + BucketName pulumi.StringInput `pulumi:"bucketName"` + // Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) + CustomCa pulumi.StringPtrInput `pulumi:"customCa"` + // Endpoint for S3 service (string) + Endpoint pulumi.StringInput `pulumi:"endpoint"` + // Folder for S3 service. Available from Rancher v2.2.7 (string) + Folder pulumi.StringPtrInput `pulumi:"folder"` + // Region for S3 service (string) Region pulumi.StringPtrInput `pulumi:"region"` - // Digital Ocean size. Default `s-1vcpu-1gb` (string) - Size pulumi.StringPtrInput `pulumi:"size"` - // SSH private key contents (string) - SshKeyContents pulumi.StringPtrInput `pulumi:"sshKeyContents"` - // SSH key fingerprint (string) - SshKeyFingerprint pulumi.StringPtrInput `pulumi:"sshKeyFingerprint"` - // If using a non-B2D image you can specify the ssh port. Default `22` (string) - SshPort pulumi.StringPtrInput `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // vSphere tags id e.g. `urn:xxx` (list) - Tags pulumi.StringPtrInput `pulumi:"tags"` - // Path to file with cloud-init user-data (string) - Userdata pulumi.StringPtrInput `pulumi:"userdata"` + // Secret key for S3 service (string) + SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` } -func (MachineConfigV2DigitaloceanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2DigitaloceanConfig)(nil)).Elem() +func (EtcdBackupBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() } -func (i MachineConfigV2DigitaloceanConfigArgs) ToMachineConfigV2DigitaloceanConfigOutput() MachineConfigV2DigitaloceanConfigOutput { - return i.ToMachineConfigV2DigitaloceanConfigOutputWithContext(context.Background()) +func (i EtcdBackupBackupConfigS3BackupConfigArgs) ToEtcdBackupBackupConfigS3BackupConfigOutput() EtcdBackupBackupConfigS3BackupConfigOutput { + return i.ToEtcdBackupBackupConfigS3BackupConfigOutputWithContext(context.Background()) } -func (i MachineConfigV2DigitaloceanConfigArgs) ToMachineConfigV2DigitaloceanConfigOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2DigitaloceanConfigOutput) +func (i EtcdBackupBackupConfigS3BackupConfigArgs) ToEtcdBackupBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigS3BackupConfigOutput) } -func (i MachineConfigV2DigitaloceanConfigArgs) ToMachineConfigV2DigitaloceanConfigPtrOutput() MachineConfigV2DigitaloceanConfigPtrOutput { - return i.ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(context.Background()) +func (i EtcdBackupBackupConfigS3BackupConfigArgs) ToEtcdBackupBackupConfigS3BackupConfigPtrOutput() EtcdBackupBackupConfigS3BackupConfigPtrOutput { + return i.ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (i MachineConfigV2DigitaloceanConfigArgs) ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2DigitaloceanConfigOutput).ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(ctx) +func (i EtcdBackupBackupConfigS3BackupConfigArgs) ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigS3BackupConfigOutput).ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx) } -// MachineConfigV2DigitaloceanConfigPtrInput is an input type that accepts MachineConfigV2DigitaloceanConfigArgs, MachineConfigV2DigitaloceanConfigPtr and MachineConfigV2DigitaloceanConfigPtrOutput values. -// You can construct a concrete instance of `MachineConfigV2DigitaloceanConfigPtrInput` via: +// EtcdBackupBackupConfigS3BackupConfigPtrInput is an input type that accepts EtcdBackupBackupConfigS3BackupConfigArgs, EtcdBackupBackupConfigS3BackupConfigPtr and EtcdBackupBackupConfigS3BackupConfigPtrOutput values. +// You can construct a concrete instance of `EtcdBackupBackupConfigS3BackupConfigPtrInput` via: // -// MachineConfigV2DigitaloceanConfigArgs{...} +// EtcdBackupBackupConfigS3BackupConfigArgs{...} // // or: // // nil -type MachineConfigV2DigitaloceanConfigPtrInput interface { +type EtcdBackupBackupConfigS3BackupConfigPtrInput interface { pulumi.Input - ToMachineConfigV2DigitaloceanConfigPtrOutput() MachineConfigV2DigitaloceanConfigPtrOutput - ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(context.Context) MachineConfigV2DigitaloceanConfigPtrOutput + ToEtcdBackupBackupConfigS3BackupConfigPtrOutput() EtcdBackupBackupConfigS3BackupConfigPtrOutput + ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) EtcdBackupBackupConfigS3BackupConfigPtrOutput } -type machineConfigV2DigitaloceanConfigPtrType MachineConfigV2DigitaloceanConfigArgs +type etcdBackupBackupConfigS3BackupConfigPtrType EtcdBackupBackupConfigS3BackupConfigArgs -func MachineConfigV2DigitaloceanConfigPtr(v *MachineConfigV2DigitaloceanConfigArgs) MachineConfigV2DigitaloceanConfigPtrInput { - return (*machineConfigV2DigitaloceanConfigPtrType)(v) +func EtcdBackupBackupConfigS3BackupConfigPtr(v *EtcdBackupBackupConfigS3BackupConfigArgs) EtcdBackupBackupConfigS3BackupConfigPtrInput { + return (*etcdBackupBackupConfigS3BackupConfigPtrType)(v) } -func (*machineConfigV2DigitaloceanConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2DigitaloceanConfig)(nil)).Elem() +func (*etcdBackupBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() } -func (i *machineConfigV2DigitaloceanConfigPtrType) ToMachineConfigV2DigitaloceanConfigPtrOutput() MachineConfigV2DigitaloceanConfigPtrOutput { - return i.ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(context.Background()) +func (i *etcdBackupBackupConfigS3BackupConfigPtrType) ToEtcdBackupBackupConfigS3BackupConfigPtrOutput() EtcdBackupBackupConfigS3BackupConfigPtrOutput { + return i.ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (i *machineConfigV2DigitaloceanConfigPtrType) ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2DigitaloceanConfigPtrOutput) +func (i *etcdBackupBackupConfigS3BackupConfigPtrType) ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EtcdBackupBackupConfigS3BackupConfigPtrOutput) } -type MachineConfigV2DigitaloceanConfigOutput struct{ *pulumi.OutputState } +type EtcdBackupBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } -func (MachineConfigV2DigitaloceanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2DigitaloceanConfig)(nil)).Elem() +func (EtcdBackupBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() } -func (o MachineConfigV2DigitaloceanConfigOutput) ToMachineConfigV2DigitaloceanConfigOutput() MachineConfigV2DigitaloceanConfigOutput { +func (o EtcdBackupBackupConfigS3BackupConfigOutput) ToEtcdBackupBackupConfigS3BackupConfigOutput() EtcdBackupBackupConfigS3BackupConfigOutput { return o } -func (o MachineConfigV2DigitaloceanConfigOutput) ToMachineConfigV2DigitaloceanConfigOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigOutput { +func (o EtcdBackupBackupConfigS3BackupConfigOutput) ToEtcdBackupBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigOutput { return o } -func (o MachineConfigV2DigitaloceanConfigOutput) ToMachineConfigV2DigitaloceanConfigPtrOutput() MachineConfigV2DigitaloceanConfigPtrOutput { - return o.ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(context.Background()) +func (o EtcdBackupBackupConfigS3BackupConfigOutput) ToEtcdBackupBackupConfigS3BackupConfigPtrOutput() EtcdBackupBackupConfigS3BackupConfigPtrOutput { + return o.ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (o MachineConfigV2DigitaloceanConfigOutput) ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2DigitaloceanConfig) *MachineConfigV2DigitaloceanConfig { +func (o EtcdBackupBackupConfigS3BackupConfigOutput) ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EtcdBackupBackupConfigS3BackupConfig) *EtcdBackupBackupConfigS3BackupConfig { return &v - }).(MachineConfigV2DigitaloceanConfigPtrOutput) + }).(EtcdBackupBackupConfigS3BackupConfigPtrOutput) } -// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2DigitaloceanConfigOutput) AccessToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.AccessToken }).(pulumi.StringPtrOutput) +// Access key for S3 service (string) +func (o EtcdBackupBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) *string { return v.AccessKey }).(pulumi.StringPtrOutput) } -// Enable backups for droplet. Default `false` (bool) -func (o MachineConfigV2DigitaloceanConfigOutput) Backups() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *bool { return v.Backups }).(pulumi.BoolPtrOutput) +// Bucket name for S3 service (string) +func (o EtcdBackupBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { + return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) string { return v.BucketName }).(pulumi.StringOutput) } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o MachineConfigV2DigitaloceanConfigOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.Image }).(pulumi.StringPtrOutput) +// Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) +func (o EtcdBackupBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) *string { return v.CustomCa }).(pulumi.StringPtrOutput) } -// Enable ipv6 for droplet. Default `false` (bool) -func (o MachineConfigV2DigitaloceanConfigOutput) Ipv6() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *bool { return v.Ipv6 }).(pulumi.BoolPtrOutput) +// Endpoint for S3 service (string) +func (o EtcdBackupBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) string { return v.Endpoint }).(pulumi.StringOutput) } -// Enable monitoring for droplet. Default `false` (bool) -func (o MachineConfigV2DigitaloceanConfigOutput) Monitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *bool { return v.Monitoring }).(pulumi.BoolPtrOutput) +// Folder for S3 service. Available from Rancher v2.2.7 (string) +func (o EtcdBackupBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) } -// Enable private networking for droplet. Default `false` (bool) -func (o MachineConfigV2DigitaloceanConfigOutput) PrivateNetworking() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *bool { return v.PrivateNetworking }).(pulumi.BoolPtrOutput) +// Region for S3 service (string) +func (o EtcdBackupBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) *string { return v.Region }).(pulumi.StringPtrOutput) } -// OpenStack region name (string) -func (o MachineConfigV2DigitaloceanConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +// Secret key for S3 service (string) +func (o EtcdBackupBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v EtcdBackupBackupConfigS3BackupConfig) *string { return v.SecretKey }).(pulumi.StringPtrOutput) } -// Digital Ocean size. Default `s-1vcpu-1gb` (string) -func (o MachineConfigV2DigitaloceanConfigOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.Size }).(pulumi.StringPtrOutput) -} - -// SSH private key contents (string) -func (o MachineConfigV2DigitaloceanConfigOutput) SshKeyContents() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.SshKeyContents }).(pulumi.StringPtrOutput) -} - -// SSH key fingerprint (string) -func (o MachineConfigV2DigitaloceanConfigOutput) SshKeyFingerprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.SshKeyFingerprint }).(pulumi.StringPtrOutput) -} - -// If using a non-B2D image you can specify the ssh port. Default `22` (string) -func (o MachineConfigV2DigitaloceanConfigOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) -} - -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2DigitaloceanConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) -} - -// vSphere tags id e.g. `urn:xxx` (list) -func (o MachineConfigV2DigitaloceanConfigOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.Tags }).(pulumi.StringPtrOutput) -} - -// Path to file with cloud-init user-data (string) -func (o MachineConfigV2DigitaloceanConfigOutput) Userdata() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.Userdata }).(pulumi.StringPtrOutput) -} - -type MachineConfigV2DigitaloceanConfigPtrOutput struct{ *pulumi.OutputState } +type EtcdBackupBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } -func (MachineConfigV2DigitaloceanConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2DigitaloceanConfig)(nil)).Elem() +func (EtcdBackupBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() } -func (o MachineConfigV2DigitaloceanConfigPtrOutput) ToMachineConfigV2DigitaloceanConfigPtrOutput() MachineConfigV2DigitaloceanConfigPtrOutput { +func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) ToEtcdBackupBackupConfigS3BackupConfigPtrOutput() EtcdBackupBackupConfigS3BackupConfigPtrOutput { return o } -func (o MachineConfigV2DigitaloceanConfigPtrOutput) ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigPtrOutput { +func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) ToEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) EtcdBackupBackupConfigS3BackupConfigPtrOutput { return o } -func (o MachineConfigV2DigitaloceanConfigPtrOutput) Elem() MachineConfigV2DigitaloceanConfigOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) MachineConfigV2DigitaloceanConfig { +func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) Elem() EtcdBackupBackupConfigS3BackupConfigOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) EtcdBackupBackupConfigS3BackupConfig { if v != nil { return *v } - var ret MachineConfigV2DigitaloceanConfig + var ret EtcdBackupBackupConfigS3BackupConfig return ret - }).(MachineConfigV2DigitaloceanConfigOutput) -} - -// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) AccessToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.AccessToken - }).(pulumi.StringPtrOutput) -} - -// Enable backups for droplet. Default `false` (bool) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) Backups() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *bool { - if v == nil { - return nil - } - return v.Backups - }).(pulumi.BoolPtrOutput) -} - -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.Image - }).(pulumi.StringPtrOutput) -} - -// Enable ipv6 for droplet. Default `false` (bool) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) Ipv6() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *bool { - if v == nil { - return nil - } - return v.Ipv6 - }).(pulumi.BoolPtrOutput) -} - -// Enable monitoring for droplet. Default `false` (bool) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) Monitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *bool { - if v == nil { - return nil - } - return v.Monitoring - }).(pulumi.BoolPtrOutput) -} - -// Enable private networking for droplet. Default `false` (bool) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) PrivateNetworking() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *bool { - if v == nil { - return nil - } - return v.PrivateNetworking - }).(pulumi.BoolPtrOutput) -} - -// OpenStack region name (string) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) + }).(EtcdBackupBackupConfigS3BackupConfigOutput) } -// Digital Ocean size. Default `s-1vcpu-1gb` (string) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { +// Access key for S3 service (string) +func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.Size + return v.AccessKey }).(pulumi.StringPtrOutput) } -// SSH private key contents (string) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) SshKeyContents() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { +// Bucket name for S3 service (string) +func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.SshKeyContents + return &v.BucketName }).(pulumi.StringPtrOutput) } -// SSH key fingerprint (string) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) SshKeyFingerprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { +// Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) +func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.SshKeyFingerprint + return v.CustomCa }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh port. Default `22` (string) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { +// Endpoint for S3 service (string) +func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.SshPort + return &v.Endpoint }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { +// Folder for S3 service. Available from Rancher v2.2.7 (string) +func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.SshUser + return v.Folder }).(pulumi.StringPtrOutput) } -// vSphere tags id e.g. `urn:xxx` (list) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { +// Region for S3 service (string) +func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.Tags + return v.Region }).(pulumi.StringPtrOutput) } -// Path to file with cloud-init user-data (string) -func (o MachineConfigV2DigitaloceanConfigPtrOutput) Userdata() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { +// Secret key for S3 service (string) +func (o EtcdBackupBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EtcdBackupBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.Userdata + return v.SecretKey }).(pulumi.StringPtrOutput) } -type MachineConfigV2HarvesterConfig struct { - // vSphere CPU number for docker VM. Default `2` (string) - CpuCount *string `pulumi:"cpuCount"` - // Disk bus, Default `virtio` (string) - DiskBus *string `pulumi:"diskBus"` - // vSphere size of disk for docker VM (in MB). Default `20480` (string) - DiskSize *string `pulumi:"diskSize"` - // OpenStack image name to use for the instance. Conflicts with `imageId` (string) - ImageName string `pulumi:"imageName"` - // vSphere size of memory for docker VM (in MB). Default `2048` (string) - MemorySize *string `pulumi:"memorySize"` - // NetworkData content of cloud-init, base64 is supported (string) - NetworkData *string `pulumi:"networkData"` - // Network model, Default `virtio` (string) - NetworkModel *string `pulumi:"networkModel"` - // Network name e.g. `harvester-public/vlan1` (string) - NetworkName string `pulumi:"networkName"` - // If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) - SshPassword *string `pulumi:"sshPassword"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser string `pulumi:"sshUser"` - // UserData content of cloud-init, base64 is supported (string) - UserData *string `pulumi:"userData"` - // Virtual machine namespace e.g. `default` (string) - VmNamespace string `pulumi:"vmNamespace"` +type GlobalDnsProviderAlidnsConfig struct { + // The AWS Access key (string) + AccessKey string `pulumi:"accessKey"` + // The AWS Secret key (string) + SecretKey string `pulumi:"secretKey"` } -// MachineConfigV2HarvesterConfigInput is an input type that accepts MachineConfigV2HarvesterConfigArgs and MachineConfigV2HarvesterConfigOutput values. -// You can construct a concrete instance of `MachineConfigV2HarvesterConfigInput` via: +// GlobalDnsProviderAlidnsConfigInput is an input type that accepts GlobalDnsProviderAlidnsConfigArgs and GlobalDnsProviderAlidnsConfigOutput values. +// You can construct a concrete instance of `GlobalDnsProviderAlidnsConfigInput` via: // -// MachineConfigV2HarvesterConfigArgs{...} -type MachineConfigV2HarvesterConfigInput interface { +// GlobalDnsProviderAlidnsConfigArgs{...} +type GlobalDnsProviderAlidnsConfigInput interface { pulumi.Input - ToMachineConfigV2HarvesterConfigOutput() MachineConfigV2HarvesterConfigOutput - ToMachineConfigV2HarvesterConfigOutputWithContext(context.Context) MachineConfigV2HarvesterConfigOutput + ToGlobalDnsProviderAlidnsConfigOutput() GlobalDnsProviderAlidnsConfigOutput + ToGlobalDnsProviderAlidnsConfigOutputWithContext(context.Context) GlobalDnsProviderAlidnsConfigOutput } -type MachineConfigV2HarvesterConfigArgs struct { - // vSphere CPU number for docker VM. Default `2` (string) - CpuCount pulumi.StringPtrInput `pulumi:"cpuCount"` - // Disk bus, Default `virtio` (string) - DiskBus pulumi.StringPtrInput `pulumi:"diskBus"` - // vSphere size of disk for docker VM (in MB). Default `20480` (string) - DiskSize pulumi.StringPtrInput `pulumi:"diskSize"` - // OpenStack image name to use for the instance. Conflicts with `imageId` (string) - ImageName pulumi.StringInput `pulumi:"imageName"` - // vSphere size of memory for docker VM (in MB). Default `2048` (string) - MemorySize pulumi.StringPtrInput `pulumi:"memorySize"` - // NetworkData content of cloud-init, base64 is supported (string) - NetworkData pulumi.StringPtrInput `pulumi:"networkData"` - // Network model, Default `virtio` (string) - NetworkModel pulumi.StringPtrInput `pulumi:"networkModel"` - // Network name e.g. `harvester-public/vlan1` (string) - NetworkName pulumi.StringInput `pulumi:"networkName"` - // If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) - SshPassword pulumi.StringPtrInput `pulumi:"sshPassword"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser pulumi.StringInput `pulumi:"sshUser"` - // UserData content of cloud-init, base64 is supported (string) - UserData pulumi.StringPtrInput `pulumi:"userData"` - // Virtual machine namespace e.g. `default` (string) - VmNamespace pulumi.StringInput `pulumi:"vmNamespace"` +type GlobalDnsProviderAlidnsConfigArgs struct { + // The AWS Access key (string) + AccessKey pulumi.StringInput `pulumi:"accessKey"` + // The AWS Secret key (string) + SecretKey pulumi.StringInput `pulumi:"secretKey"` } -func (MachineConfigV2HarvesterConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2HarvesterConfig)(nil)).Elem() +func (GlobalDnsProviderAlidnsConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GlobalDnsProviderAlidnsConfig)(nil)).Elem() } -func (i MachineConfigV2HarvesterConfigArgs) ToMachineConfigV2HarvesterConfigOutput() MachineConfigV2HarvesterConfigOutput { - return i.ToMachineConfigV2HarvesterConfigOutputWithContext(context.Background()) +func (i GlobalDnsProviderAlidnsConfigArgs) ToGlobalDnsProviderAlidnsConfigOutput() GlobalDnsProviderAlidnsConfigOutput { + return i.ToGlobalDnsProviderAlidnsConfigOutputWithContext(context.Background()) } -func (i MachineConfigV2HarvesterConfigArgs) ToMachineConfigV2HarvesterConfigOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2HarvesterConfigOutput) +func (i GlobalDnsProviderAlidnsConfigArgs) ToGlobalDnsProviderAlidnsConfigOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderAlidnsConfigOutput) } -func (i MachineConfigV2HarvesterConfigArgs) ToMachineConfigV2HarvesterConfigPtrOutput() MachineConfigV2HarvesterConfigPtrOutput { - return i.ToMachineConfigV2HarvesterConfigPtrOutputWithContext(context.Background()) +func (i GlobalDnsProviderAlidnsConfigArgs) ToGlobalDnsProviderAlidnsConfigPtrOutput() GlobalDnsProviderAlidnsConfigPtrOutput { + return i.ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(context.Background()) } -func (i MachineConfigV2HarvesterConfigArgs) ToMachineConfigV2HarvesterConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2HarvesterConfigOutput).ToMachineConfigV2HarvesterConfigPtrOutputWithContext(ctx) +func (i GlobalDnsProviderAlidnsConfigArgs) ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderAlidnsConfigOutput).ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(ctx) } -// MachineConfigV2HarvesterConfigPtrInput is an input type that accepts MachineConfigV2HarvesterConfigArgs, MachineConfigV2HarvesterConfigPtr and MachineConfigV2HarvesterConfigPtrOutput values. -// You can construct a concrete instance of `MachineConfigV2HarvesterConfigPtrInput` via: +// GlobalDnsProviderAlidnsConfigPtrInput is an input type that accepts GlobalDnsProviderAlidnsConfigArgs, GlobalDnsProviderAlidnsConfigPtr and GlobalDnsProviderAlidnsConfigPtrOutput values. +// You can construct a concrete instance of `GlobalDnsProviderAlidnsConfigPtrInput` via: // -// MachineConfigV2HarvesterConfigArgs{...} +// GlobalDnsProviderAlidnsConfigArgs{...} // // or: // // nil -type MachineConfigV2HarvesterConfigPtrInput interface { +type GlobalDnsProviderAlidnsConfigPtrInput interface { pulumi.Input - ToMachineConfigV2HarvesterConfigPtrOutput() MachineConfigV2HarvesterConfigPtrOutput - ToMachineConfigV2HarvesterConfigPtrOutputWithContext(context.Context) MachineConfigV2HarvesterConfigPtrOutput + ToGlobalDnsProviderAlidnsConfigPtrOutput() GlobalDnsProviderAlidnsConfigPtrOutput + ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(context.Context) GlobalDnsProviderAlidnsConfigPtrOutput } -type machineConfigV2HarvesterConfigPtrType MachineConfigV2HarvesterConfigArgs +type globalDnsProviderAlidnsConfigPtrType GlobalDnsProviderAlidnsConfigArgs -func MachineConfigV2HarvesterConfigPtr(v *MachineConfigV2HarvesterConfigArgs) MachineConfigV2HarvesterConfigPtrInput { - return (*machineConfigV2HarvesterConfigPtrType)(v) +func GlobalDnsProviderAlidnsConfigPtr(v *GlobalDnsProviderAlidnsConfigArgs) GlobalDnsProviderAlidnsConfigPtrInput { + return (*globalDnsProviderAlidnsConfigPtrType)(v) } -func (*machineConfigV2HarvesterConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2HarvesterConfig)(nil)).Elem() +func (*globalDnsProviderAlidnsConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GlobalDnsProviderAlidnsConfig)(nil)).Elem() } -func (i *machineConfigV2HarvesterConfigPtrType) ToMachineConfigV2HarvesterConfigPtrOutput() MachineConfigV2HarvesterConfigPtrOutput { - return i.ToMachineConfigV2HarvesterConfigPtrOutputWithContext(context.Background()) +func (i *globalDnsProviderAlidnsConfigPtrType) ToGlobalDnsProviderAlidnsConfigPtrOutput() GlobalDnsProviderAlidnsConfigPtrOutput { + return i.ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(context.Background()) } -func (i *machineConfigV2HarvesterConfigPtrType) ToMachineConfigV2HarvesterConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2HarvesterConfigPtrOutput) +func (i *globalDnsProviderAlidnsConfigPtrType) ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderAlidnsConfigPtrOutput) } -type MachineConfigV2HarvesterConfigOutput struct{ *pulumi.OutputState } +type GlobalDnsProviderAlidnsConfigOutput struct{ *pulumi.OutputState } -func (MachineConfigV2HarvesterConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2HarvesterConfig)(nil)).Elem() +func (GlobalDnsProviderAlidnsConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GlobalDnsProviderAlidnsConfig)(nil)).Elem() } -func (o MachineConfigV2HarvesterConfigOutput) ToMachineConfigV2HarvesterConfigOutput() MachineConfigV2HarvesterConfigOutput { +func (o GlobalDnsProviderAlidnsConfigOutput) ToGlobalDnsProviderAlidnsConfigOutput() GlobalDnsProviderAlidnsConfigOutput { return o } -func (o MachineConfigV2HarvesterConfigOutput) ToMachineConfigV2HarvesterConfigOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigOutput { +func (o GlobalDnsProviderAlidnsConfigOutput) ToGlobalDnsProviderAlidnsConfigOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigOutput { return o } -func (o MachineConfigV2HarvesterConfigOutput) ToMachineConfigV2HarvesterConfigPtrOutput() MachineConfigV2HarvesterConfigPtrOutput { - return o.ToMachineConfigV2HarvesterConfigPtrOutputWithContext(context.Background()) +func (o GlobalDnsProviderAlidnsConfigOutput) ToGlobalDnsProviderAlidnsConfigPtrOutput() GlobalDnsProviderAlidnsConfigPtrOutput { + return o.ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(context.Background()) } -func (o MachineConfigV2HarvesterConfigOutput) ToMachineConfigV2HarvesterConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2HarvesterConfig) *MachineConfigV2HarvesterConfig { +func (o GlobalDnsProviderAlidnsConfigOutput) ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GlobalDnsProviderAlidnsConfig) *GlobalDnsProviderAlidnsConfig { return &v - }).(MachineConfigV2HarvesterConfigPtrOutput) -} - -// vSphere CPU number for docker VM. Default `2` (string) -func (o MachineConfigV2HarvesterConfigOutput) CpuCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.CpuCount }).(pulumi.StringPtrOutput) -} - -// Disk bus, Default `virtio` (string) -func (o MachineConfigV2HarvesterConfigOutput) DiskBus() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.DiskBus }).(pulumi.StringPtrOutput) -} - -// vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o MachineConfigV2HarvesterConfigOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) -} - -// OpenStack image name to use for the instance. Conflicts with `imageId` (string) -func (o MachineConfigV2HarvesterConfigOutput) ImageName() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) string { return v.ImageName }).(pulumi.StringOutput) -} - -// vSphere size of memory for docker VM (in MB). Default `2048` (string) -func (o MachineConfigV2HarvesterConfigOutput) MemorySize() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.MemorySize }).(pulumi.StringPtrOutput) -} - -// NetworkData content of cloud-init, base64 is supported (string) -func (o MachineConfigV2HarvesterConfigOutput) NetworkData() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.NetworkData }).(pulumi.StringPtrOutput) -} - -// Network model, Default `virtio` (string) -func (o MachineConfigV2HarvesterConfigOutput) NetworkModel() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.NetworkModel }).(pulumi.StringPtrOutput) -} - -// Network name e.g. `harvester-public/vlan1` (string) -func (o MachineConfigV2HarvesterConfigOutput) NetworkName() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) string { return v.NetworkName }).(pulumi.StringOutput) -} - -// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) -func (o MachineConfigV2HarvesterConfigOutput) SshPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.SshPassword }).(pulumi.StringPtrOutput) -} - -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2HarvesterConfigOutput) SshUser() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) string { return v.SshUser }).(pulumi.StringOutput) + }).(GlobalDnsProviderAlidnsConfigPtrOutput) } -// UserData content of cloud-init, base64 is supported (string) -func (o MachineConfigV2HarvesterConfigOutput) UserData() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.UserData }).(pulumi.StringPtrOutput) +// The AWS Access key (string) +func (o GlobalDnsProviderAlidnsConfigOutput) AccessKey() pulumi.StringOutput { + return o.ApplyT(func(v GlobalDnsProviderAlidnsConfig) string { return v.AccessKey }).(pulumi.StringOutput) } -// Virtual machine namespace e.g. `default` (string) -func (o MachineConfigV2HarvesterConfigOutput) VmNamespace() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2HarvesterConfig) string { return v.VmNamespace }).(pulumi.StringOutput) +// The AWS Secret key (string) +func (o GlobalDnsProviderAlidnsConfigOutput) SecretKey() pulumi.StringOutput { + return o.ApplyT(func(v GlobalDnsProviderAlidnsConfig) string { return v.SecretKey }).(pulumi.StringOutput) } -type MachineConfigV2HarvesterConfigPtrOutput struct{ *pulumi.OutputState } +type GlobalDnsProviderAlidnsConfigPtrOutput struct{ *pulumi.OutputState } -func (MachineConfigV2HarvesterConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2HarvesterConfig)(nil)).Elem() +func (GlobalDnsProviderAlidnsConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GlobalDnsProviderAlidnsConfig)(nil)).Elem() } -func (o MachineConfigV2HarvesterConfigPtrOutput) ToMachineConfigV2HarvesterConfigPtrOutput() MachineConfigV2HarvesterConfigPtrOutput { +func (o GlobalDnsProviderAlidnsConfigPtrOutput) ToGlobalDnsProviderAlidnsConfigPtrOutput() GlobalDnsProviderAlidnsConfigPtrOutput { return o } -func (o MachineConfigV2HarvesterConfigPtrOutput) ToMachineConfigV2HarvesterConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigPtrOutput { +func (o GlobalDnsProviderAlidnsConfigPtrOutput) ToGlobalDnsProviderAlidnsConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderAlidnsConfigPtrOutput { return o } -func (o MachineConfigV2HarvesterConfigPtrOutput) Elem() MachineConfigV2HarvesterConfigOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) MachineConfigV2HarvesterConfig { +func (o GlobalDnsProviderAlidnsConfigPtrOutput) Elem() GlobalDnsProviderAlidnsConfigOutput { + return o.ApplyT(func(v *GlobalDnsProviderAlidnsConfig) GlobalDnsProviderAlidnsConfig { if v != nil { return *v } - var ret MachineConfigV2HarvesterConfig + var ret GlobalDnsProviderAlidnsConfig return ret - }).(MachineConfigV2HarvesterConfigOutput) + }).(GlobalDnsProviderAlidnsConfigOutput) } -// vSphere CPU number for docker VM. Default `2` (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) CpuCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { +// The AWS Access key (string) +func (o GlobalDnsProviderAlidnsConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderAlidnsConfig) *string { if v == nil { return nil } - return v.CpuCount + return &v.AccessKey }).(pulumi.StringPtrOutput) } -// Disk bus, Default `virtio` (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) DiskBus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { +// The AWS Secret key (string) +func (o GlobalDnsProviderAlidnsConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderAlidnsConfig) *string { if v == nil { return nil } - return v.DiskBus + return &v.SecretKey }).(pulumi.StringPtrOutput) } -// vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { - if v == nil { - return nil - } - return v.DiskSize - }).(pulumi.StringPtrOutput) +type GlobalDnsProviderCloudflareConfig struct { + // The CloudFlare API Email (string) + ApiEmail string `pulumi:"apiEmail"` + // The CloudFlare API Key (string) + ApiKey string `pulumi:"apiKey"` + // CloudFlare Proxy Setting. Default: `false` (bool) + ProxySetting *bool `pulumi:"proxySetting"` } -// OpenStack image name to use for the instance. Conflicts with `imageId` (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) ImageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { - if v == nil { - return nil - } - return &v.ImageName - }).(pulumi.StringPtrOutput) +// GlobalDnsProviderCloudflareConfigInput is an input type that accepts GlobalDnsProviderCloudflareConfigArgs and GlobalDnsProviderCloudflareConfigOutput values. +// You can construct a concrete instance of `GlobalDnsProviderCloudflareConfigInput` via: +// +// GlobalDnsProviderCloudflareConfigArgs{...} +type GlobalDnsProviderCloudflareConfigInput interface { + pulumi.Input + + ToGlobalDnsProviderCloudflareConfigOutput() GlobalDnsProviderCloudflareConfigOutput + ToGlobalDnsProviderCloudflareConfigOutputWithContext(context.Context) GlobalDnsProviderCloudflareConfigOutput } -// vSphere size of memory for docker VM (in MB). Default `2048` (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) MemorySize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { - if v == nil { - return nil - } - return v.MemorySize - }).(pulumi.StringPtrOutput) +type GlobalDnsProviderCloudflareConfigArgs struct { + // The CloudFlare API Email (string) + ApiEmail pulumi.StringInput `pulumi:"apiEmail"` + // The CloudFlare API Key (string) + ApiKey pulumi.StringInput `pulumi:"apiKey"` + // CloudFlare Proxy Setting. Default: `false` (bool) + ProxySetting pulumi.BoolPtrInput `pulumi:"proxySetting"` } -// NetworkData content of cloud-init, base64 is supported (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) NetworkData() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { - if v == nil { - return nil - } - return v.NetworkData - }).(pulumi.StringPtrOutput) +func (GlobalDnsProviderCloudflareConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GlobalDnsProviderCloudflareConfig)(nil)).Elem() } -// Network model, Default `virtio` (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) NetworkModel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { - if v == nil { - return nil - } - return v.NetworkModel - }).(pulumi.StringPtrOutput) +func (i GlobalDnsProviderCloudflareConfigArgs) ToGlobalDnsProviderCloudflareConfigOutput() GlobalDnsProviderCloudflareConfigOutput { + return i.ToGlobalDnsProviderCloudflareConfigOutputWithContext(context.Background()) } -// Network name e.g. `harvester-public/vlan1` (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) NetworkName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { - if v == nil { - return nil - } - return &v.NetworkName - }).(pulumi.StringPtrOutput) +func (i GlobalDnsProviderCloudflareConfigArgs) ToGlobalDnsProviderCloudflareConfigOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderCloudflareConfigOutput) } -// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) SshPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { - if v == nil { - return nil - } - return v.SshPassword - }).(pulumi.StringPtrOutput) +func (i GlobalDnsProviderCloudflareConfigArgs) ToGlobalDnsProviderCloudflareConfigPtrOutput() GlobalDnsProviderCloudflareConfigPtrOutput { + return i.ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(context.Background()) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { - if v == nil { - return nil - } - return &v.SshUser - }).(pulumi.StringPtrOutput) +func (i GlobalDnsProviderCloudflareConfigArgs) ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderCloudflareConfigOutput).ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(ctx) } -// UserData content of cloud-init, base64 is supported (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) UserData() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { - if v == nil { - return nil - } - return v.UserData - }).(pulumi.StringPtrOutput) -} - -// Virtual machine namespace e.g. `default` (string) -func (o MachineConfigV2HarvesterConfigPtrOutput) VmNamespace() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { - if v == nil { - return nil - } - return &v.VmNamespace - }).(pulumi.StringPtrOutput) -} - -type MachineConfigV2LinodeConfig struct { - // Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) - AuthorizedUsers *string `pulumi:"authorizedUsers"` - // Create private IP for the instance. Default `false` (bool) - CreatePrivateIp *bool `pulumi:"createPrivateIp"` - // Docker Port. Default `2376` (string) - DockerPort *string `pulumi:"dockerPort"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image *string `pulumi:"image"` - // Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) - InstanceType *string `pulumi:"instanceType"` - // Linode Instance Label. (string) - Label *string `pulumi:"label"` - // OpenStack region name (string) - Region *string `pulumi:"region"` - // Root Password (string) - RootPass *string `pulumi:"rootPass"` - // If using a non-B2D image you can specify the ssh port. Default `22` (string) - SshPort *string `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser *string `pulumi:"sshUser"` - // Specifies the Linode StackScript to use to create the instance. (string) - Stackscript *string `pulumi:"stackscript"` - // A JSON string specifying data for the selected StackScript. (string) - StackscriptData *string `pulumi:"stackscriptData"` - // Linode Instance Swap Size (MB). Default `512` (string) - SwapSize *string `pulumi:"swapSize"` - // vSphere tags id e.g. `urn:xxx` (list) - Tags *string `pulumi:"tags"` - // Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Token *string `pulumi:"token"` - // Prefix the User-Agent in Linode API calls with some 'product/version' (string) - UaPrefix *string `pulumi:"uaPrefix"` -} - -// MachineConfigV2LinodeConfigInput is an input type that accepts MachineConfigV2LinodeConfigArgs and MachineConfigV2LinodeConfigOutput values. -// You can construct a concrete instance of `MachineConfigV2LinodeConfigInput` via: +// GlobalDnsProviderCloudflareConfigPtrInput is an input type that accepts GlobalDnsProviderCloudflareConfigArgs, GlobalDnsProviderCloudflareConfigPtr and GlobalDnsProviderCloudflareConfigPtrOutput values. +// You can construct a concrete instance of `GlobalDnsProviderCloudflareConfigPtrInput` via: // -// MachineConfigV2LinodeConfigArgs{...} -type MachineConfigV2LinodeConfigInput interface { +// GlobalDnsProviderCloudflareConfigArgs{...} +// +// or: +// +// nil +type GlobalDnsProviderCloudflareConfigPtrInput interface { pulumi.Input - ToMachineConfigV2LinodeConfigOutput() MachineConfigV2LinodeConfigOutput - ToMachineConfigV2LinodeConfigOutputWithContext(context.Context) MachineConfigV2LinodeConfigOutput + ToGlobalDnsProviderCloudflareConfigPtrOutput() GlobalDnsProviderCloudflareConfigPtrOutput + ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(context.Context) GlobalDnsProviderCloudflareConfigPtrOutput } -type MachineConfigV2LinodeConfigArgs struct { - // Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) - AuthorizedUsers pulumi.StringPtrInput `pulumi:"authorizedUsers"` - // Create private IP for the instance. Default `false` (bool) - CreatePrivateIp pulumi.BoolPtrInput `pulumi:"createPrivateIp"` - // Docker Port. Default `2376` (string) - DockerPort pulumi.StringPtrInput `pulumi:"dockerPort"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image pulumi.StringPtrInput `pulumi:"image"` - // Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) - InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` - // Linode Instance Label. (string) - Label pulumi.StringPtrInput `pulumi:"label"` - // OpenStack region name (string) - Region pulumi.StringPtrInput `pulumi:"region"` - // Root Password (string) - RootPass pulumi.StringPtrInput `pulumi:"rootPass"` - // If using a non-B2D image you can specify the ssh port. Default `22` (string) - SshPort pulumi.StringPtrInput `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // Specifies the Linode StackScript to use to create the instance. (string) - Stackscript pulumi.StringPtrInput `pulumi:"stackscript"` - // A JSON string specifying data for the selected StackScript. (string) - StackscriptData pulumi.StringPtrInput `pulumi:"stackscriptData"` - // Linode Instance Swap Size (MB). Default `512` (string) - SwapSize pulumi.StringPtrInput `pulumi:"swapSize"` - // vSphere tags id e.g. `urn:xxx` (list) - Tags pulumi.StringPtrInput `pulumi:"tags"` - // Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Token pulumi.StringPtrInput `pulumi:"token"` - // Prefix the User-Agent in Linode API calls with some 'product/version' (string) - UaPrefix pulumi.StringPtrInput `pulumi:"uaPrefix"` -} +type globalDnsProviderCloudflareConfigPtrType GlobalDnsProviderCloudflareConfigArgs -func (MachineConfigV2LinodeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2LinodeConfig)(nil)).Elem() +func GlobalDnsProviderCloudflareConfigPtr(v *GlobalDnsProviderCloudflareConfigArgs) GlobalDnsProviderCloudflareConfigPtrInput { + return (*globalDnsProviderCloudflareConfigPtrType)(v) } -func (i MachineConfigV2LinodeConfigArgs) ToMachineConfigV2LinodeConfigOutput() MachineConfigV2LinodeConfigOutput { - return i.ToMachineConfigV2LinodeConfigOutputWithContext(context.Background()) +func (*globalDnsProviderCloudflareConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GlobalDnsProviderCloudflareConfig)(nil)).Elem() } -func (i MachineConfigV2LinodeConfigArgs) ToMachineConfigV2LinodeConfigOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2LinodeConfigOutput) +func (i *globalDnsProviderCloudflareConfigPtrType) ToGlobalDnsProviderCloudflareConfigPtrOutput() GlobalDnsProviderCloudflareConfigPtrOutput { + return i.ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(context.Background()) } -func (i MachineConfigV2LinodeConfigArgs) ToMachineConfigV2LinodeConfigPtrOutput() MachineConfigV2LinodeConfigPtrOutput { - return i.ToMachineConfigV2LinodeConfigPtrOutputWithContext(context.Background()) +func (i *globalDnsProviderCloudflareConfigPtrType) ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderCloudflareConfigPtrOutput) } -func (i MachineConfigV2LinodeConfigArgs) ToMachineConfigV2LinodeConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2LinodeConfigOutput).ToMachineConfigV2LinodeConfigPtrOutputWithContext(ctx) +type GlobalDnsProviderCloudflareConfigOutput struct{ *pulumi.OutputState } + +func (GlobalDnsProviderCloudflareConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GlobalDnsProviderCloudflareConfig)(nil)).Elem() } -// MachineConfigV2LinodeConfigPtrInput is an input type that accepts MachineConfigV2LinodeConfigArgs, MachineConfigV2LinodeConfigPtr and MachineConfigV2LinodeConfigPtrOutput values. -// You can construct a concrete instance of `MachineConfigV2LinodeConfigPtrInput` via: -// -// MachineConfigV2LinodeConfigArgs{...} -// -// or: -// -// nil -type MachineConfigV2LinodeConfigPtrInput interface { - pulumi.Input +func (o GlobalDnsProviderCloudflareConfigOutput) ToGlobalDnsProviderCloudflareConfigOutput() GlobalDnsProviderCloudflareConfigOutput { + return o +} - ToMachineConfigV2LinodeConfigPtrOutput() MachineConfigV2LinodeConfigPtrOutput - ToMachineConfigV2LinodeConfigPtrOutputWithContext(context.Context) MachineConfigV2LinodeConfigPtrOutput +func (o GlobalDnsProviderCloudflareConfigOutput) ToGlobalDnsProviderCloudflareConfigOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigOutput { + return o } -type machineConfigV2LinodeConfigPtrType MachineConfigV2LinodeConfigArgs +func (o GlobalDnsProviderCloudflareConfigOutput) ToGlobalDnsProviderCloudflareConfigPtrOutput() GlobalDnsProviderCloudflareConfigPtrOutput { + return o.ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(context.Background()) +} -func MachineConfigV2LinodeConfigPtr(v *MachineConfigV2LinodeConfigArgs) MachineConfigV2LinodeConfigPtrInput { - return (*machineConfigV2LinodeConfigPtrType)(v) +func (o GlobalDnsProviderCloudflareConfigOutput) ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GlobalDnsProviderCloudflareConfig) *GlobalDnsProviderCloudflareConfig { + return &v + }).(GlobalDnsProviderCloudflareConfigPtrOutput) } -func (*machineConfigV2LinodeConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2LinodeConfig)(nil)).Elem() +// The CloudFlare API Email (string) +func (o GlobalDnsProviderCloudflareConfigOutput) ApiEmail() pulumi.StringOutput { + return o.ApplyT(func(v GlobalDnsProviderCloudflareConfig) string { return v.ApiEmail }).(pulumi.StringOutput) } -func (i *machineConfigV2LinodeConfigPtrType) ToMachineConfigV2LinodeConfigPtrOutput() MachineConfigV2LinodeConfigPtrOutput { - return i.ToMachineConfigV2LinodeConfigPtrOutputWithContext(context.Background()) +// The CloudFlare API Key (string) +func (o GlobalDnsProviderCloudflareConfigOutput) ApiKey() pulumi.StringOutput { + return o.ApplyT(func(v GlobalDnsProviderCloudflareConfig) string { return v.ApiKey }).(pulumi.StringOutput) } -func (i *machineConfigV2LinodeConfigPtrType) ToMachineConfigV2LinodeConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2LinodeConfigPtrOutput) +// CloudFlare Proxy Setting. Default: `false` (bool) +func (o GlobalDnsProviderCloudflareConfigOutput) ProxySetting() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GlobalDnsProviderCloudflareConfig) *bool { return v.ProxySetting }).(pulumi.BoolPtrOutput) } -type MachineConfigV2LinodeConfigOutput struct{ *pulumi.OutputState } +type GlobalDnsProviderCloudflareConfigPtrOutput struct{ *pulumi.OutputState } -func (MachineConfigV2LinodeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2LinodeConfig)(nil)).Elem() +func (GlobalDnsProviderCloudflareConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GlobalDnsProviderCloudflareConfig)(nil)).Elem() } -func (o MachineConfigV2LinodeConfigOutput) ToMachineConfigV2LinodeConfigOutput() MachineConfigV2LinodeConfigOutput { +func (o GlobalDnsProviderCloudflareConfigPtrOutput) ToGlobalDnsProviderCloudflareConfigPtrOutput() GlobalDnsProviderCloudflareConfigPtrOutput { return o } -func (o MachineConfigV2LinodeConfigOutput) ToMachineConfigV2LinodeConfigOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigOutput { +func (o GlobalDnsProviderCloudflareConfigPtrOutput) ToGlobalDnsProviderCloudflareConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderCloudflareConfigPtrOutput { return o } -func (o MachineConfigV2LinodeConfigOutput) ToMachineConfigV2LinodeConfigPtrOutput() MachineConfigV2LinodeConfigPtrOutput { - return o.ToMachineConfigV2LinodeConfigPtrOutputWithContext(context.Background()) +func (o GlobalDnsProviderCloudflareConfigPtrOutput) Elem() GlobalDnsProviderCloudflareConfigOutput { + return o.ApplyT(func(v *GlobalDnsProviderCloudflareConfig) GlobalDnsProviderCloudflareConfig { + if v != nil { + return *v + } + var ret GlobalDnsProviderCloudflareConfig + return ret + }).(GlobalDnsProviderCloudflareConfigOutput) } -func (o MachineConfigV2LinodeConfigOutput) ToMachineConfigV2LinodeConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2LinodeConfig) *MachineConfigV2LinodeConfig { - return &v - }).(MachineConfigV2LinodeConfigPtrOutput) +// The CloudFlare API Email (string) +func (o GlobalDnsProviderCloudflareConfigPtrOutput) ApiEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderCloudflareConfig) *string { + if v == nil { + return nil + } + return &v.ApiEmail + }).(pulumi.StringPtrOutput) } -// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) -func (o MachineConfigV2LinodeConfigOutput) AuthorizedUsers() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.AuthorizedUsers }).(pulumi.StringPtrOutput) +// The CloudFlare API Key (string) +func (o GlobalDnsProviderCloudflareConfigPtrOutput) ApiKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderCloudflareConfig) *string { + if v == nil { + return nil + } + return &v.ApiKey + }).(pulumi.StringPtrOutput) } -// Create private IP for the instance. Default `false` (bool) -func (o MachineConfigV2LinodeConfigOutput) CreatePrivateIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *bool { return v.CreatePrivateIp }).(pulumi.BoolPtrOutput) +// CloudFlare Proxy Setting. Default: `false` (bool) +func (o GlobalDnsProviderCloudflareConfigPtrOutput) ProxySetting() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderCloudflareConfig) *bool { + if v == nil { + return nil + } + return v.ProxySetting + }).(pulumi.BoolPtrOutput) } -// Docker Port. Default `2376` (string) -func (o MachineConfigV2LinodeConfigOutput) DockerPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.DockerPort }).(pulumi.StringPtrOutput) +type GlobalDnsProviderRoute53Config struct { + // The AWS Access key (string) + AccessKey string `pulumi:"accessKey"` + // The AWS credentials path. Default: `"/.aws"` (string) + CredentialsPath *string `pulumi:"credentialsPath"` + // The AWS Region. Default: `"us-west-2"` (string) + Region *string `pulumi:"region"` + // The AWS Role ARN (string) + RoleArn *string `pulumi:"roleArn"` + // The AWS Secret key (string) + SecretKey string `pulumi:"secretKey"` + // The Route53 zone type `public, private`. Default: `"public"` (string) + ZoneType *string `pulumi:"zoneType"` } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o MachineConfigV2LinodeConfigOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Image }).(pulumi.StringPtrOutput) -} +// GlobalDnsProviderRoute53ConfigInput is an input type that accepts GlobalDnsProviderRoute53ConfigArgs and GlobalDnsProviderRoute53ConfigOutput values. +// You can construct a concrete instance of `GlobalDnsProviderRoute53ConfigInput` via: +// +// GlobalDnsProviderRoute53ConfigArgs{...} +type GlobalDnsProviderRoute53ConfigInput interface { + pulumi.Input -// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) -func (o MachineConfigV2LinodeConfigOutput) InstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.InstanceType }).(pulumi.StringPtrOutput) + ToGlobalDnsProviderRoute53ConfigOutput() GlobalDnsProviderRoute53ConfigOutput + ToGlobalDnsProviderRoute53ConfigOutputWithContext(context.Context) GlobalDnsProviderRoute53ConfigOutput } -// Linode Instance Label. (string) -func (o MachineConfigV2LinodeConfigOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Label }).(pulumi.StringPtrOutput) +type GlobalDnsProviderRoute53ConfigArgs struct { + // The AWS Access key (string) + AccessKey pulumi.StringInput `pulumi:"accessKey"` + // The AWS credentials path. Default: `"/.aws"` (string) + CredentialsPath pulumi.StringPtrInput `pulumi:"credentialsPath"` + // The AWS Region. Default: `"us-west-2"` (string) + Region pulumi.StringPtrInput `pulumi:"region"` + // The AWS Role ARN (string) + RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` + // The AWS Secret key (string) + SecretKey pulumi.StringInput `pulumi:"secretKey"` + // The Route53 zone type `public, private`. Default: `"public"` (string) + ZoneType pulumi.StringPtrInput `pulumi:"zoneType"` } -// OpenStack region name (string) -func (o MachineConfigV2LinodeConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +func (GlobalDnsProviderRoute53ConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GlobalDnsProviderRoute53Config)(nil)).Elem() } -// Root Password (string) -func (o MachineConfigV2LinodeConfigOutput) RootPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.RootPass }).(pulumi.StringPtrOutput) +func (i GlobalDnsProviderRoute53ConfigArgs) ToGlobalDnsProviderRoute53ConfigOutput() GlobalDnsProviderRoute53ConfigOutput { + return i.ToGlobalDnsProviderRoute53ConfigOutputWithContext(context.Background()) } -// If using a non-B2D image you can specify the ssh port. Default `22` (string) -func (o MachineConfigV2LinodeConfigOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) +func (i GlobalDnsProviderRoute53ConfigArgs) ToGlobalDnsProviderRoute53ConfigOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderRoute53ConfigOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2LinodeConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +func (i GlobalDnsProviderRoute53ConfigArgs) ToGlobalDnsProviderRoute53ConfigPtrOutput() GlobalDnsProviderRoute53ConfigPtrOutput { + return i.ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(context.Background()) } -// Specifies the Linode StackScript to use to create the instance. (string) -func (o MachineConfigV2LinodeConfigOutput) Stackscript() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Stackscript }).(pulumi.StringPtrOutput) +func (i GlobalDnsProviderRoute53ConfigArgs) ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderRoute53ConfigOutput).ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(ctx) } -// A JSON string specifying data for the selected StackScript. (string) -func (o MachineConfigV2LinodeConfigOutput) StackscriptData() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.StackscriptData }).(pulumi.StringPtrOutput) +// GlobalDnsProviderRoute53ConfigPtrInput is an input type that accepts GlobalDnsProviderRoute53ConfigArgs, GlobalDnsProviderRoute53ConfigPtr and GlobalDnsProviderRoute53ConfigPtrOutput values. +// You can construct a concrete instance of `GlobalDnsProviderRoute53ConfigPtrInput` via: +// +// GlobalDnsProviderRoute53ConfigArgs{...} +// +// or: +// +// nil +type GlobalDnsProviderRoute53ConfigPtrInput interface { + pulumi.Input + + ToGlobalDnsProviderRoute53ConfigPtrOutput() GlobalDnsProviderRoute53ConfigPtrOutput + ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(context.Context) GlobalDnsProviderRoute53ConfigPtrOutput } -// Linode Instance Swap Size (MB). Default `512` (string) -func (o MachineConfigV2LinodeConfigOutput) SwapSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.SwapSize }).(pulumi.StringPtrOutput) +type globalDnsProviderRoute53ConfigPtrType GlobalDnsProviderRoute53ConfigArgs + +func GlobalDnsProviderRoute53ConfigPtr(v *GlobalDnsProviderRoute53ConfigArgs) GlobalDnsProviderRoute53ConfigPtrInput { + return (*globalDnsProviderRoute53ConfigPtrType)(v) } -// vSphere tags id e.g. `urn:xxx` (list) -func (o MachineConfigV2LinodeConfigOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Tags }).(pulumi.StringPtrOutput) +func (*globalDnsProviderRoute53ConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GlobalDnsProviderRoute53Config)(nil)).Elem() } -// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2LinodeConfigOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Token }).(pulumi.StringPtrOutput) +func (i *globalDnsProviderRoute53ConfigPtrType) ToGlobalDnsProviderRoute53ConfigPtrOutput() GlobalDnsProviderRoute53ConfigPtrOutput { + return i.ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(context.Background()) } -// Prefix the User-Agent in Linode API calls with some 'product/version' (string) -func (o MachineConfigV2LinodeConfigOutput) UaPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.UaPrefix }).(pulumi.StringPtrOutput) +func (i *globalDnsProviderRoute53ConfigPtrType) ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalDnsProviderRoute53ConfigPtrOutput) } -type MachineConfigV2LinodeConfigPtrOutput struct{ *pulumi.OutputState } +type GlobalDnsProviderRoute53ConfigOutput struct{ *pulumi.OutputState } -func (MachineConfigV2LinodeConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2LinodeConfig)(nil)).Elem() +func (GlobalDnsProviderRoute53ConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GlobalDnsProviderRoute53Config)(nil)).Elem() } -func (o MachineConfigV2LinodeConfigPtrOutput) ToMachineConfigV2LinodeConfigPtrOutput() MachineConfigV2LinodeConfigPtrOutput { +func (o GlobalDnsProviderRoute53ConfigOutput) ToGlobalDnsProviderRoute53ConfigOutput() GlobalDnsProviderRoute53ConfigOutput { return o } -func (o MachineConfigV2LinodeConfigPtrOutput) ToMachineConfigV2LinodeConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigPtrOutput { +func (o GlobalDnsProviderRoute53ConfigOutput) ToGlobalDnsProviderRoute53ConfigOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigOutput { return o } -func (o MachineConfigV2LinodeConfigPtrOutput) Elem() MachineConfigV2LinodeConfigOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) MachineConfigV2LinodeConfig { - if v != nil { - return *v - } - var ret MachineConfigV2LinodeConfig - return ret - }).(MachineConfigV2LinodeConfigOutput) +func (o GlobalDnsProviderRoute53ConfigOutput) ToGlobalDnsProviderRoute53ConfigPtrOutput() GlobalDnsProviderRoute53ConfigPtrOutput { + return o.ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(context.Background()) } -// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) -func (o MachineConfigV2LinodeConfigPtrOutput) AuthorizedUsers() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { - if v == nil { - return nil - } - return v.AuthorizedUsers - }).(pulumi.StringPtrOutput) +func (o GlobalDnsProviderRoute53ConfigOutput) ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GlobalDnsProviderRoute53Config) *GlobalDnsProviderRoute53Config { + return &v + }).(GlobalDnsProviderRoute53ConfigPtrOutput) } -// Create private IP for the instance. Default `false` (bool) -func (o MachineConfigV2LinodeConfigPtrOutput) CreatePrivateIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *bool { - if v == nil { - return nil - } - return v.CreatePrivateIp - }).(pulumi.BoolPtrOutput) +// The AWS Access key (string) +func (o GlobalDnsProviderRoute53ConfigOutput) AccessKey() pulumi.StringOutput { + return o.ApplyT(func(v GlobalDnsProviderRoute53Config) string { return v.AccessKey }).(pulumi.StringOutput) } -// Docker Port. Default `2376` (string) -func (o MachineConfigV2LinodeConfigPtrOutput) DockerPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { - if v == nil { - return nil - } - return v.DockerPort - }).(pulumi.StringPtrOutput) +// The AWS credentials path. Default: `"/.aws"` (string) +func (o GlobalDnsProviderRoute53ConfigOutput) CredentialsPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GlobalDnsProviderRoute53Config) *string { return v.CredentialsPath }).(pulumi.StringPtrOutput) } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o MachineConfigV2LinodeConfigPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { - if v == nil { - return nil - } - return v.Image - }).(pulumi.StringPtrOutput) +// The AWS Region. Default: `"us-west-2"` (string) +func (o GlobalDnsProviderRoute53ConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GlobalDnsProviderRoute53Config) *string { return v.Region }).(pulumi.StringPtrOutput) } -// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) -func (o MachineConfigV2LinodeConfigPtrOutput) InstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { - if v == nil { - return nil - } - return v.InstanceType - }).(pulumi.StringPtrOutput) +// The AWS Role ARN (string) +func (o GlobalDnsProviderRoute53ConfigOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GlobalDnsProviderRoute53Config) *string { return v.RoleArn }).(pulumi.StringPtrOutput) } -// Linode Instance Label. (string) -func (o MachineConfigV2LinodeConfigPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { - if v == nil { - return nil - } - return v.Label - }).(pulumi.StringPtrOutput) +// The AWS Secret key (string) +func (o GlobalDnsProviderRoute53ConfigOutput) SecretKey() pulumi.StringOutput { + return o.ApplyT(func(v GlobalDnsProviderRoute53Config) string { return v.SecretKey }).(pulumi.StringOutput) } -// OpenStack region name (string) -func (o MachineConfigV2LinodeConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +// The Route53 zone type `public, private`. Default: `"public"` (string) +func (o GlobalDnsProviderRoute53ConfigOutput) ZoneType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GlobalDnsProviderRoute53Config) *string { return v.ZoneType }).(pulumi.StringPtrOutput) } -// Root Password (string) -func (o MachineConfigV2LinodeConfigPtrOutput) RootPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { - if v == nil { - return nil - } - return v.RootPass - }).(pulumi.StringPtrOutput) +type GlobalDnsProviderRoute53ConfigPtrOutput struct{ *pulumi.OutputState } + +func (GlobalDnsProviderRoute53ConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GlobalDnsProviderRoute53Config)(nil)).Elem() } -// If using a non-B2D image you can specify the ssh port. Default `22` (string) -func (o MachineConfigV2LinodeConfigPtrOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { - if v == nil { - return nil +func (o GlobalDnsProviderRoute53ConfigPtrOutput) ToGlobalDnsProviderRoute53ConfigPtrOutput() GlobalDnsProviderRoute53ConfigPtrOutput { + return o +} + +func (o GlobalDnsProviderRoute53ConfigPtrOutput) ToGlobalDnsProviderRoute53ConfigPtrOutputWithContext(ctx context.Context) GlobalDnsProviderRoute53ConfigPtrOutput { + return o +} + +func (o GlobalDnsProviderRoute53ConfigPtrOutput) Elem() GlobalDnsProviderRoute53ConfigOutput { + return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) GlobalDnsProviderRoute53Config { + if v != nil { + return *v } - return v.SshPort - }).(pulumi.StringPtrOutput) + var ret GlobalDnsProviderRoute53Config + return ret + }).(GlobalDnsProviderRoute53ConfigOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2LinodeConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { +// The AWS Access key (string) +func (o GlobalDnsProviderRoute53ConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { if v == nil { return nil } - return v.SshUser + return &v.AccessKey }).(pulumi.StringPtrOutput) } -// Specifies the Linode StackScript to use to create the instance. (string) -func (o MachineConfigV2LinodeConfigPtrOutput) Stackscript() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { +// The AWS credentials path. Default: `"/.aws"` (string) +func (o GlobalDnsProviderRoute53ConfigPtrOutput) CredentialsPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { if v == nil { return nil } - return v.Stackscript + return v.CredentialsPath }).(pulumi.StringPtrOutput) } -// A JSON string specifying data for the selected StackScript. (string) -func (o MachineConfigV2LinodeConfigPtrOutput) StackscriptData() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { +// The AWS Region. Default: `"us-west-2"` (string) +func (o GlobalDnsProviderRoute53ConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { if v == nil { return nil } - return v.StackscriptData + return v.Region }).(pulumi.StringPtrOutput) } -// Linode Instance Swap Size (MB). Default `512` (string) -func (o MachineConfigV2LinodeConfigPtrOutput) SwapSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { +// The AWS Role ARN (string) +func (o GlobalDnsProviderRoute53ConfigPtrOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { if v == nil { return nil } - return v.SwapSize + return v.RoleArn }).(pulumi.StringPtrOutput) } -// vSphere tags id e.g. `urn:xxx` (list) -func (o MachineConfigV2LinodeConfigPtrOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { +// The AWS Secret key (string) +func (o GlobalDnsProviderRoute53ConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { if v == nil { return nil } - return v.Tags + return &v.SecretKey }).(pulumi.StringPtrOutput) } -// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2LinodeConfigPtrOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { +// The Route53 zone type `public, private`. Default: `"public"` (string) +func (o GlobalDnsProviderRoute53ConfigPtrOutput) ZoneType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GlobalDnsProviderRoute53Config) *string { if v == nil { return nil } - return v.Token + return v.ZoneType }).(pulumi.StringPtrOutput) } -// Prefix the User-Agent in Linode API calls with some 'product/version' (string) -func (o MachineConfigV2LinodeConfigPtrOutput) UaPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { - if v == nil { - return nil - } - return v.UaPrefix - }).(pulumi.StringPtrOutput) -} - -type MachineConfigV2OpenstackConfig struct { - // OpenStack active timeout Default `200` (string) - ActiveTimeout *string `pulumi:"activeTimeout"` - // OpenStack application credential id. Conflicts with `applicationCredentialName` (string) - ApplicationCredentialId *string `pulumi:"applicationCredentialId"` - // OpenStack application credential name. Conflicts with `applicationCredentialId` (string) - ApplicationCredentialName *string `pulumi:"applicationCredentialName"` - // OpenStack application credential secret (string) - ApplicationCredentialSecret *string `pulumi:"applicationCredentialSecret"` - // OpenStack authentication URL (string) - AuthUrl string `pulumi:"authUrl"` - // OpenStack availability zone (string) - AvailabilityZone string `pulumi:"availabilityZone"` - // Enable booting from volume. Default is `false` (bool) - BootFromVolume *bool `pulumi:"bootFromVolume"` - // CA certificate bundle to verify against (string) - Cacert *string `pulumi:"cacert"` - // Enables the OpenStack config drive for the instance. Default `false` (bool) - ConfigDrive *bool `pulumi:"configDrive"` - // OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) - DomainId *string `pulumi:"domainId"` - // OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) - DomainName *string `pulumi:"domainName"` - // OpenStack endpoint type. adminURL, internalURL or publicURL (string) - EndpointType *string `pulumi:"endpointType"` - // OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) - FlavorId *string `pulumi:"flavorId"` - // OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) - FlavorName *string `pulumi:"flavorName"` - // OpenStack floating IP pool to get an IP from to assign to the instance (string) - FloatingIpPool *string `pulumi:"floatingIpPool"` - // OpenStack image id to use for the instance. Conflicts with `imageName` (string) - ImageId *string `pulumi:"imageId"` - // OpenStack image name to use for the instance. Conflicts with `imageId` (string) - ImageName *string `pulumi:"imageName"` - // Disable TLS credential checking. Default `false` (bool) - Insecure *bool `pulumi:"insecure"` - // OpenStack version of IP address assigned for the machine Default `4` (string) - IpVersion *string `pulumi:"ipVersion"` - // OpenStack keypair to use to SSH to the instance (string) - KeypairName *string `pulumi:"keypairName"` - // OpenStack network id the machine will be connected on. Conflicts with `netName` (string) - NetId *string `pulumi:"netId"` - // OpenStack network name the machine will be connected on. Conflicts with `netId` (string) - NetName *string `pulumi:"netName"` - // Use the nova networking services instead of neutron (string) - NovaNetwork *bool `pulumi:"novaNetwork"` - // OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Password *string `pulumi:"password"` - // Private key content to use for SSH (string) - PrivateKeyFile *string `pulumi:"privateKeyFile"` - // OpenStack region name (string) - Region string `pulumi:"region"` - // OpenStack comma separated security groups for the machine (string) - SecGroups *string `pulumi:"secGroups"` - // If using a non-B2D image you can specify the ssh port. Default `22` (string) - SshPort *string `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser *string `pulumi:"sshUser"` - // OpenStack tenant domain id. Conflicts with `tenantDomainName` (string) - TenantDomainId *string `pulumi:"tenantDomainId"` - // OpenStack tenant domain name. Conflicts with `tenantDomainId` (string) - TenantDomainName *string `pulumi:"tenantDomainName"` - // OpenStack tenant id. Conflicts with `tenantName` (string) - TenantId *string `pulumi:"tenantId"` - // OpenStack tenant name. Conflicts with `tenantId` (string) - TenantName *string `pulumi:"tenantName"` - // File containing an openstack userdata script (string) - UserDataFile *string `pulumi:"userDataFile"` - // OpenStack user domain id. Conflicts with `userDomainName` (string) - UserDomainId *string `pulumi:"userDomainId"` - // OpenStack user domain name. Conflicts with `userDomainId` (string) - UserDomainName *string `pulumi:"userDomainName"` - // OpenStack username (string) - Username *string `pulumi:"username"` - // 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. - VolumeDevicePath *string `pulumi:"volumeDevicePath"` - // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) - VolumeId *string `pulumi:"volumeId"` - // OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) - VolumeName *string `pulumi:"volumeName"` - // OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) - VolumeSize *string `pulumi:"volumeSize"` - // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) - VolumeType *string `pulumi:"volumeType"` +type GlobalRoleRule struct { + // Policy rule api groups (list) + ApiGroups []string `pulumi:"apiGroups"` + // Policy rule non resource urls (list) + NonResourceUrls []string `pulumi:"nonResourceUrls"` + // Policy rule resource names (list) + ResourceNames []string `pulumi:"resourceNames"` + // Policy rule resources (list) + Resources []string `pulumi:"resources"` + // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) + Verbs []string `pulumi:"verbs"` } -// MachineConfigV2OpenstackConfigInput is an input type that accepts MachineConfigV2OpenstackConfigArgs and MachineConfigV2OpenstackConfigOutput values. -// You can construct a concrete instance of `MachineConfigV2OpenstackConfigInput` via: +// GlobalRoleRuleInput is an input type that accepts GlobalRoleRuleArgs and GlobalRoleRuleOutput values. +// You can construct a concrete instance of `GlobalRoleRuleInput` via: // -// MachineConfigV2OpenstackConfigArgs{...} -type MachineConfigV2OpenstackConfigInput interface { +// GlobalRoleRuleArgs{...} +type GlobalRoleRuleInput interface { pulumi.Input - ToMachineConfigV2OpenstackConfigOutput() MachineConfigV2OpenstackConfigOutput - ToMachineConfigV2OpenstackConfigOutputWithContext(context.Context) MachineConfigV2OpenstackConfigOutput -} - -type MachineConfigV2OpenstackConfigArgs struct { - // OpenStack active timeout Default `200` (string) - ActiveTimeout pulumi.StringPtrInput `pulumi:"activeTimeout"` - // OpenStack application credential id. Conflicts with `applicationCredentialName` (string) - ApplicationCredentialId pulumi.StringPtrInput `pulumi:"applicationCredentialId"` - // OpenStack application credential name. Conflicts with `applicationCredentialId` (string) - ApplicationCredentialName pulumi.StringPtrInput `pulumi:"applicationCredentialName"` - // OpenStack application credential secret (string) - ApplicationCredentialSecret pulumi.StringPtrInput `pulumi:"applicationCredentialSecret"` - // OpenStack authentication URL (string) - AuthUrl pulumi.StringInput `pulumi:"authUrl"` - // OpenStack availability zone (string) - AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` - // Enable booting from volume. Default is `false` (bool) - BootFromVolume pulumi.BoolPtrInput `pulumi:"bootFromVolume"` - // CA certificate bundle to verify against (string) - Cacert pulumi.StringPtrInput `pulumi:"cacert"` - // Enables the OpenStack config drive for the instance. Default `false` (bool) - ConfigDrive pulumi.BoolPtrInput `pulumi:"configDrive"` - // OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) - DomainId pulumi.StringPtrInput `pulumi:"domainId"` - // OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) - DomainName pulumi.StringPtrInput `pulumi:"domainName"` - // OpenStack endpoint type. adminURL, internalURL or publicURL (string) - EndpointType pulumi.StringPtrInput `pulumi:"endpointType"` - // OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) - FlavorId pulumi.StringPtrInput `pulumi:"flavorId"` - // OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) - FlavorName pulumi.StringPtrInput `pulumi:"flavorName"` - // OpenStack floating IP pool to get an IP from to assign to the instance (string) - FloatingIpPool pulumi.StringPtrInput `pulumi:"floatingIpPool"` - // OpenStack image id to use for the instance. Conflicts with `imageName` (string) - ImageId pulumi.StringPtrInput `pulumi:"imageId"` - // OpenStack image name to use for the instance. Conflicts with `imageId` (string) - ImageName pulumi.StringPtrInput `pulumi:"imageName"` - // Disable TLS credential checking. Default `false` (bool) - Insecure pulumi.BoolPtrInput `pulumi:"insecure"` - // OpenStack version of IP address assigned for the machine Default `4` (string) - IpVersion pulumi.StringPtrInput `pulumi:"ipVersion"` - // OpenStack keypair to use to SSH to the instance (string) - KeypairName pulumi.StringPtrInput `pulumi:"keypairName"` - // OpenStack network id the machine will be connected on. Conflicts with `netName` (string) - NetId pulumi.StringPtrInput `pulumi:"netId"` - // OpenStack network name the machine will be connected on. Conflicts with `netId` (string) - NetName pulumi.StringPtrInput `pulumi:"netName"` - // Use the nova networking services instead of neutron (string) - NovaNetwork pulumi.BoolPtrInput `pulumi:"novaNetwork"` - // OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Password pulumi.StringPtrInput `pulumi:"password"` - // Private key content to use for SSH (string) - PrivateKeyFile pulumi.StringPtrInput `pulumi:"privateKeyFile"` - // OpenStack region name (string) - Region pulumi.StringInput `pulumi:"region"` - // OpenStack comma separated security groups for the machine (string) - SecGroups pulumi.StringPtrInput `pulumi:"secGroups"` - // If using a non-B2D image you can specify the ssh port. Default `22` (string) - SshPort pulumi.StringPtrInput `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) - SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // OpenStack tenant domain id. Conflicts with `tenantDomainName` (string) - TenantDomainId pulumi.StringPtrInput `pulumi:"tenantDomainId"` - // OpenStack tenant domain name. Conflicts with `tenantDomainId` (string) - TenantDomainName pulumi.StringPtrInput `pulumi:"tenantDomainName"` - // OpenStack tenant id. Conflicts with `tenantName` (string) - TenantId pulumi.StringPtrInput `pulumi:"tenantId"` - // OpenStack tenant name. Conflicts with `tenantId` (string) - TenantName pulumi.StringPtrInput `pulumi:"tenantName"` - // File containing an openstack userdata script (string) - UserDataFile pulumi.StringPtrInput `pulumi:"userDataFile"` - // OpenStack user domain id. Conflicts with `userDomainName` (string) - UserDomainId pulumi.StringPtrInput `pulumi:"userDomainId"` - // OpenStack user domain name. Conflicts with `userDomainId` (string) - UserDomainName pulumi.StringPtrInput `pulumi:"userDomainName"` - // OpenStack username (string) - Username pulumi.StringPtrInput `pulumi:"username"` - // 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. - VolumeDevicePath pulumi.StringPtrInput `pulumi:"volumeDevicePath"` - // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) - VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` - // OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) - VolumeName pulumi.StringPtrInput `pulumi:"volumeName"` - // OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) - VolumeSize pulumi.StringPtrInput `pulumi:"volumeSize"` - // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) - VolumeType pulumi.StringPtrInput `pulumi:"volumeType"` -} - -func (MachineConfigV2OpenstackConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2OpenstackConfig)(nil)).Elem() + ToGlobalRoleRuleOutput() GlobalRoleRuleOutput + ToGlobalRoleRuleOutputWithContext(context.Context) GlobalRoleRuleOutput } -func (i MachineConfigV2OpenstackConfigArgs) ToMachineConfigV2OpenstackConfigOutput() MachineConfigV2OpenstackConfigOutput { - return i.ToMachineConfigV2OpenstackConfigOutputWithContext(context.Background()) +type GlobalRoleRuleArgs struct { + // Policy rule api groups (list) + ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` + // Policy rule non resource urls (list) + NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` + // Policy rule resource names (list) + ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` + // Policy rule resources (list) + Resources pulumi.StringArrayInput `pulumi:"resources"` + // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) + Verbs pulumi.StringArrayInput `pulumi:"verbs"` } -func (i MachineConfigV2OpenstackConfigArgs) ToMachineConfigV2OpenstackConfigOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2OpenstackConfigOutput) +func (GlobalRoleRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GlobalRoleRule)(nil)).Elem() } -func (i MachineConfigV2OpenstackConfigArgs) ToMachineConfigV2OpenstackConfigPtrOutput() MachineConfigV2OpenstackConfigPtrOutput { - return i.ToMachineConfigV2OpenstackConfigPtrOutputWithContext(context.Background()) +func (i GlobalRoleRuleArgs) ToGlobalRoleRuleOutput() GlobalRoleRuleOutput { + return i.ToGlobalRoleRuleOutputWithContext(context.Background()) } -func (i MachineConfigV2OpenstackConfigArgs) ToMachineConfigV2OpenstackConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2OpenstackConfigOutput).ToMachineConfigV2OpenstackConfigPtrOutputWithContext(ctx) +func (i GlobalRoleRuleArgs) ToGlobalRoleRuleOutputWithContext(ctx context.Context) GlobalRoleRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalRoleRuleOutput) } -// MachineConfigV2OpenstackConfigPtrInput is an input type that accepts MachineConfigV2OpenstackConfigArgs, MachineConfigV2OpenstackConfigPtr and MachineConfigV2OpenstackConfigPtrOutput values. -// You can construct a concrete instance of `MachineConfigV2OpenstackConfigPtrInput` via: -// -// MachineConfigV2OpenstackConfigArgs{...} -// -// or: +// GlobalRoleRuleArrayInput is an input type that accepts GlobalRoleRuleArray and GlobalRoleRuleArrayOutput values. +// You can construct a concrete instance of `GlobalRoleRuleArrayInput` via: // -// nil -type MachineConfigV2OpenstackConfigPtrInput interface { +// GlobalRoleRuleArray{ GlobalRoleRuleArgs{...} } +type GlobalRoleRuleArrayInput interface { pulumi.Input - ToMachineConfigV2OpenstackConfigPtrOutput() MachineConfigV2OpenstackConfigPtrOutput - ToMachineConfigV2OpenstackConfigPtrOutputWithContext(context.Context) MachineConfigV2OpenstackConfigPtrOutput -} - -type machineConfigV2OpenstackConfigPtrType MachineConfigV2OpenstackConfigArgs - -func MachineConfigV2OpenstackConfigPtr(v *MachineConfigV2OpenstackConfigArgs) MachineConfigV2OpenstackConfigPtrInput { - return (*machineConfigV2OpenstackConfigPtrType)(v) -} - -func (*machineConfigV2OpenstackConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2OpenstackConfig)(nil)).Elem() -} - -func (i *machineConfigV2OpenstackConfigPtrType) ToMachineConfigV2OpenstackConfigPtrOutput() MachineConfigV2OpenstackConfigPtrOutput { - return i.ToMachineConfigV2OpenstackConfigPtrOutputWithContext(context.Background()) -} - -func (i *machineConfigV2OpenstackConfigPtrType) ToMachineConfigV2OpenstackConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2OpenstackConfigPtrOutput) -} - -type MachineConfigV2OpenstackConfigOutput struct{ *pulumi.OutputState } - -func (MachineConfigV2OpenstackConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2OpenstackConfig)(nil)).Elem() -} - -func (o MachineConfigV2OpenstackConfigOutput) ToMachineConfigV2OpenstackConfigOutput() MachineConfigV2OpenstackConfigOutput { - return o -} - -func (o MachineConfigV2OpenstackConfigOutput) ToMachineConfigV2OpenstackConfigOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigOutput { - return o -} - -func (o MachineConfigV2OpenstackConfigOutput) ToMachineConfigV2OpenstackConfigPtrOutput() MachineConfigV2OpenstackConfigPtrOutput { - return o.ToMachineConfigV2OpenstackConfigPtrOutputWithContext(context.Background()) -} - -func (o MachineConfigV2OpenstackConfigOutput) ToMachineConfigV2OpenstackConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2OpenstackConfig) *MachineConfigV2OpenstackConfig { - return &v - }).(MachineConfigV2OpenstackConfigPtrOutput) -} - -// OpenStack active timeout Default `200` (string) -func (o MachineConfigV2OpenstackConfigOutput) ActiveTimeout() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ActiveTimeout }).(pulumi.StringPtrOutput) -} - -// OpenStack application credential id. Conflicts with `applicationCredentialName` (string) -func (o MachineConfigV2OpenstackConfigOutput) ApplicationCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ApplicationCredentialId }).(pulumi.StringPtrOutput) -} - -// OpenStack application credential name. Conflicts with `applicationCredentialId` (string) -func (o MachineConfigV2OpenstackConfigOutput) ApplicationCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ApplicationCredentialName }).(pulumi.StringPtrOutput) -} - -// OpenStack application credential secret (string) -func (o MachineConfigV2OpenstackConfigOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ApplicationCredentialSecret }).(pulumi.StringPtrOutput) -} - -// OpenStack authentication URL (string) -func (o MachineConfigV2OpenstackConfigOutput) AuthUrl() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) string { return v.AuthUrl }).(pulumi.StringOutput) -} - -// OpenStack availability zone (string) -func (o MachineConfigV2OpenstackConfigOutput) AvailabilityZone() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) string { return v.AvailabilityZone }).(pulumi.StringOutput) -} - -// Enable booting from volume. Default is `false` (bool) -func (o MachineConfigV2OpenstackConfigOutput) BootFromVolume() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *bool { return v.BootFromVolume }).(pulumi.BoolPtrOutput) -} - -// CA certificate bundle to verify against (string) -func (o MachineConfigV2OpenstackConfigOutput) Cacert() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.Cacert }).(pulumi.StringPtrOutput) -} - -// Enables the OpenStack config drive for the instance. Default `false` (bool) -func (o MachineConfigV2OpenstackConfigOutput) ConfigDrive() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *bool { return v.ConfigDrive }).(pulumi.BoolPtrOutput) -} - -// OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) -func (o MachineConfigV2OpenstackConfigOutput) DomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.DomainId }).(pulumi.StringPtrOutput) -} - -// OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) -func (o MachineConfigV2OpenstackConfigOutput) DomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.DomainName }).(pulumi.StringPtrOutput) -} - -// OpenStack endpoint type. adminURL, internalURL or publicURL (string) -func (o MachineConfigV2OpenstackConfigOutput) EndpointType() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.EndpointType }).(pulumi.StringPtrOutput) -} - -// OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) -func (o MachineConfigV2OpenstackConfigOutput) FlavorId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.FlavorId }).(pulumi.StringPtrOutput) -} - -// OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) -func (o MachineConfigV2OpenstackConfigOutput) FlavorName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.FlavorName }).(pulumi.StringPtrOutput) -} - -// OpenStack floating IP pool to get an IP from to assign to the instance (string) -func (o MachineConfigV2OpenstackConfigOutput) FloatingIpPool() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.FloatingIpPool }).(pulumi.StringPtrOutput) -} - -// OpenStack image id to use for the instance. Conflicts with `imageName` (string) -func (o MachineConfigV2OpenstackConfigOutput) ImageId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ImageId }).(pulumi.StringPtrOutput) -} - -// OpenStack image name to use for the instance. Conflicts with `imageId` (string) -func (o MachineConfigV2OpenstackConfigOutput) ImageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ImageName }).(pulumi.StringPtrOutput) -} - -// Disable TLS credential checking. Default `false` (bool) -func (o MachineConfigV2OpenstackConfigOutput) Insecure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *bool { return v.Insecure }).(pulumi.BoolPtrOutput) -} - -// OpenStack version of IP address assigned for the machine Default `4` (string) -func (o MachineConfigV2OpenstackConfigOutput) IpVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.IpVersion }).(pulumi.StringPtrOutput) -} - -// OpenStack keypair to use to SSH to the instance (string) -func (o MachineConfigV2OpenstackConfigOutput) KeypairName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.KeypairName }).(pulumi.StringPtrOutput) -} - -// OpenStack network id the machine will be connected on. Conflicts with `netName` (string) -func (o MachineConfigV2OpenstackConfigOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.NetId }).(pulumi.StringPtrOutput) -} - -// OpenStack network name the machine will be connected on. Conflicts with `netId` (string) -func (o MachineConfigV2OpenstackConfigOutput) NetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.NetName }).(pulumi.StringPtrOutput) -} - -// Use the nova networking services instead of neutron (string) -func (o MachineConfigV2OpenstackConfigOutput) NovaNetwork() pulumi.BoolPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *bool { return v.NovaNetwork }).(pulumi.BoolPtrOutput) -} - -// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2OpenstackConfigOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.Password }).(pulumi.StringPtrOutput) -} - -// Private key content to use for SSH (string) -func (o MachineConfigV2OpenstackConfigOutput) PrivateKeyFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.PrivateKeyFile }).(pulumi.StringPtrOutput) -} - -// OpenStack region name (string) -func (o MachineConfigV2OpenstackConfigOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) string { return v.Region }).(pulumi.StringOutput) -} - -// OpenStack comma separated security groups for the machine (string) -func (o MachineConfigV2OpenstackConfigOutput) SecGroups() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.SecGroups }).(pulumi.StringPtrOutput) -} - -// If using a non-B2D image you can specify the ssh port. Default `22` (string) -func (o MachineConfigV2OpenstackConfigOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) -} - -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2OpenstackConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) -} - -// OpenStack tenant domain id. Conflicts with `tenantDomainName` (string) -func (o MachineConfigV2OpenstackConfigOutput) TenantDomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.TenantDomainId }).(pulumi.StringPtrOutput) -} - -// OpenStack tenant domain name. Conflicts with `tenantDomainId` (string) -func (o MachineConfigV2OpenstackConfigOutput) TenantDomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.TenantDomainName }).(pulumi.StringPtrOutput) -} - -// OpenStack tenant id. Conflicts with `tenantName` (string) -func (o MachineConfigV2OpenstackConfigOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.TenantId }).(pulumi.StringPtrOutput) -} - -// OpenStack tenant name. Conflicts with `tenantId` (string) -func (o MachineConfigV2OpenstackConfigOutput) TenantName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.TenantName }).(pulumi.StringPtrOutput) -} - -// File containing an openstack userdata script (string) -func (o MachineConfigV2OpenstackConfigOutput) UserDataFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.UserDataFile }).(pulumi.StringPtrOutput) -} - -// OpenStack user domain id. Conflicts with `userDomainName` (string) -func (o MachineConfigV2OpenstackConfigOutput) UserDomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.UserDomainId }).(pulumi.StringPtrOutput) -} - -// OpenStack user domain name. Conflicts with `userDomainId` (string) -func (o MachineConfigV2OpenstackConfigOutput) UserDomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.UserDomainName }).(pulumi.StringPtrOutput) -} - -// OpenStack username (string) -func (o MachineConfigV2OpenstackConfigOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.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. -func (o MachineConfigV2OpenstackConfigOutput) VolumeDevicePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeDevicePath }).(pulumi.StringPtrOutput) + ToGlobalRoleRuleArrayOutput() GlobalRoleRuleArrayOutput + ToGlobalRoleRuleArrayOutputWithContext(context.Context) GlobalRoleRuleArrayOutput } -// OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) -func (o MachineConfigV2OpenstackConfigOutput) VolumeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeId }).(pulumi.StringPtrOutput) -} +type GlobalRoleRuleArray []GlobalRoleRuleInput -// OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) -func (o MachineConfigV2OpenstackConfigOutput) VolumeName() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeName }).(pulumi.StringPtrOutput) +func (GlobalRoleRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GlobalRoleRule)(nil)).Elem() } -// OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) -func (o MachineConfigV2OpenstackConfigOutput) VolumeSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeSize }).(pulumi.StringPtrOutput) +func (i GlobalRoleRuleArray) ToGlobalRoleRuleArrayOutput() GlobalRoleRuleArrayOutput { + return i.ToGlobalRoleRuleArrayOutputWithContext(context.Background()) } -// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) -func (o MachineConfigV2OpenstackConfigOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeType }).(pulumi.StringPtrOutput) +func (i GlobalRoleRuleArray) ToGlobalRoleRuleArrayOutputWithContext(ctx context.Context) GlobalRoleRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GlobalRoleRuleArrayOutput) } -type MachineConfigV2OpenstackConfigPtrOutput struct{ *pulumi.OutputState } +type GlobalRoleRuleOutput struct{ *pulumi.OutputState } -func (MachineConfigV2OpenstackConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2OpenstackConfig)(nil)).Elem() +func (GlobalRoleRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GlobalRoleRule)(nil)).Elem() } -func (o MachineConfigV2OpenstackConfigPtrOutput) ToMachineConfigV2OpenstackConfigPtrOutput() MachineConfigV2OpenstackConfigPtrOutput { +func (o GlobalRoleRuleOutput) ToGlobalRoleRuleOutput() GlobalRoleRuleOutput { return o } -func (o MachineConfigV2OpenstackConfigPtrOutput) ToMachineConfigV2OpenstackConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigPtrOutput { +func (o GlobalRoleRuleOutput) ToGlobalRoleRuleOutputWithContext(ctx context.Context) GlobalRoleRuleOutput { return o } -func (o MachineConfigV2OpenstackConfigPtrOutput) Elem() MachineConfigV2OpenstackConfigOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) MachineConfigV2OpenstackConfig { - if v != nil { - return *v - } - var ret MachineConfigV2OpenstackConfig - return ret - }).(MachineConfigV2OpenstackConfigOutput) -} - -// OpenStack active timeout Default `200` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) ActiveTimeout() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.ActiveTimeout - }).(pulumi.StringPtrOutput) -} - -// OpenStack application credential id. Conflicts with `applicationCredentialName` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) ApplicationCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.ApplicationCredentialId - }).(pulumi.StringPtrOutput) -} - -// OpenStack application credential name. Conflicts with `applicationCredentialId` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) ApplicationCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.ApplicationCredentialName - }).(pulumi.StringPtrOutput) -} - -// OpenStack application credential secret (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.ApplicationCredentialSecret - }).(pulumi.StringPtrOutput) -} - -// OpenStack authentication URL (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) AuthUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return &v.AuthUrl - }).(pulumi.StringPtrOutput) -} - -// OpenStack availability zone (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) AvailabilityZone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return &v.AvailabilityZone - }).(pulumi.StringPtrOutput) -} - -// Enable booting from volume. Default is `false` (bool) -func (o MachineConfigV2OpenstackConfigPtrOutput) BootFromVolume() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *bool { - if v == nil { - return nil - } - return v.BootFromVolume - }).(pulumi.BoolPtrOutput) -} - -// CA certificate bundle to verify against (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) Cacert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.Cacert - }).(pulumi.StringPtrOutput) -} - -// Enables the OpenStack config drive for the instance. Default `false` (bool) -func (o MachineConfigV2OpenstackConfigPtrOutput) ConfigDrive() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *bool { - if v == nil { - return nil - } - return v.ConfigDrive - }).(pulumi.BoolPtrOutput) -} - -// OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) DomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.DomainId - }).(pulumi.StringPtrOutput) -} - -// OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) DomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.DomainName - }).(pulumi.StringPtrOutput) -} - -// OpenStack endpoint type. adminURL, internalURL or publicURL (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) EndpointType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.EndpointType - }).(pulumi.StringPtrOutput) -} - -// OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) FlavorId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.FlavorId - }).(pulumi.StringPtrOutput) -} - -// OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) FlavorName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.FlavorName - }).(pulumi.StringPtrOutput) -} - -// OpenStack floating IP pool to get an IP from to assign to the instance (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) FloatingIpPool() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.FloatingIpPool - }).(pulumi.StringPtrOutput) -} - -// OpenStack image id to use for the instance. Conflicts with `imageName` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) ImageId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.ImageId - }).(pulumi.StringPtrOutput) -} - -// OpenStack image name to use for the instance. Conflicts with `imageId` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) ImageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.ImageName - }).(pulumi.StringPtrOutput) -} - -// Disable TLS credential checking. Default `false` (bool) -func (o MachineConfigV2OpenstackConfigPtrOutput) Insecure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *bool { - if v == nil { - return nil - } - return v.Insecure - }).(pulumi.BoolPtrOutput) -} - -// OpenStack version of IP address assigned for the machine Default `4` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) IpVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.IpVersion - }).(pulumi.StringPtrOutput) -} - -// OpenStack keypair to use to SSH to the instance (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) KeypairName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.KeypairName - }).(pulumi.StringPtrOutput) -} - -// OpenStack network id the machine will be connected on. Conflicts with `netName` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.NetId - }).(pulumi.StringPtrOutput) -} - -// OpenStack network name the machine will be connected on. Conflicts with `netId` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) NetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.NetName - }).(pulumi.StringPtrOutput) -} - -// Use the nova networking services instead of neutron (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) NovaNetwork() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *bool { - if v == nil { - return nil - } - return v.NovaNetwork - }).(pulumi.BoolPtrOutput) -} - -// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.Password - }).(pulumi.StringPtrOutput) -} - -// Private key content to use for SSH (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) PrivateKeyFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.PrivateKeyFile - }).(pulumi.StringPtrOutput) -} - -// OpenStack region name (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return &v.Region - }).(pulumi.StringPtrOutput) -} - -// OpenStack comma separated security groups for the machine (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) SecGroups() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.SecGroups - }).(pulumi.StringPtrOutput) -} - -// If using a non-B2D image you can specify the ssh port. Default `22` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.SshPort - }).(pulumi.StringPtrOutput) -} - -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.SshUser - }).(pulumi.StringPtrOutput) -} - -// OpenStack tenant domain id. Conflicts with `tenantDomainName` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) TenantDomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.TenantDomainId - }).(pulumi.StringPtrOutput) -} - -// OpenStack tenant domain name. Conflicts with `tenantDomainId` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) TenantDomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.TenantDomainName - }).(pulumi.StringPtrOutput) -} - -// OpenStack tenant id. Conflicts with `tenantName` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.TenantId - }).(pulumi.StringPtrOutput) -} - -// OpenStack tenant name. Conflicts with `tenantId` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) TenantName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.TenantName - }).(pulumi.StringPtrOutput) -} - -// File containing an openstack userdata script (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) UserDataFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.UserDataFile - }).(pulumi.StringPtrOutput) -} - -// OpenStack user domain id. Conflicts with `userDomainName` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) UserDomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.UserDomainId - }).(pulumi.StringPtrOutput) +// Policy rule api groups (list) +func (o GlobalRoleRuleOutput) ApiGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v GlobalRoleRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) } -// OpenStack user domain name. Conflicts with `userDomainId` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) UserDomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.UserDomainName - }).(pulumi.StringPtrOutput) +// Policy rule non resource urls (list) +func (o GlobalRoleRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v GlobalRoleRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) } -// OpenStack username (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.Username - }).(pulumi.StringPtrOutput) +// Policy rule resource names (list) +func (o GlobalRoleRuleOutput) ResourceNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GlobalRoleRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) } -// 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. -func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeDevicePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.VolumeDevicePath - }).(pulumi.StringPtrOutput) +// Policy rule resources (list) +func (o GlobalRoleRuleOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v GlobalRoleRule) []string { return v.Resources }).(pulumi.StringArrayOutput) } -// OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.VolumeId - }).(pulumi.StringPtrOutput) +// Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) +func (o GlobalRoleRuleOutput) Verbs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GlobalRoleRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) } -// OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.VolumeName - }).(pulumi.StringPtrOutput) -} +type GlobalRoleRuleArrayOutput struct{ *pulumi.OutputState } -// OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.VolumeSize - }).(pulumi.StringPtrOutput) +func (GlobalRoleRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GlobalRoleRule)(nil)).Elem() } -// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) -func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { - if v == nil { - return nil - } - return v.VolumeType - }).(pulumi.StringPtrOutput) +func (o GlobalRoleRuleArrayOutput) ToGlobalRoleRuleArrayOutput() GlobalRoleRuleArrayOutput { + return o } -type MachineConfigV2VsphereConfig struct { - // vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) - Boot2dockerUrl *string `pulumi:"boot2dockerUrl"` - // vSphere vm configuration parameters (used for guestinfo) (list) - Cfgparams []string `pulumi:"cfgparams"` - // If you choose creation type vm (clone vm) a name of what vm you want to clone is required (string) - CloneFrom *string `pulumi:"cloneFrom"` - // Filepath to a cloud-config yaml file to put into the ISO user-data (string) - CloudConfig *string `pulumi:"cloudConfig"` - // vSphere cloud-init file or url to set in the guestinfo (string) - Cloudinit *string `pulumi:"cloudinit"` - // If you choose to clone from a content library template specify the name of the library (string) - ContentLibrary *string `pulumi:"contentLibrary"` - // vSphere CPU number for docker VM. Default `2` (string) - CpuCount *string `pulumi:"cpuCount"` - // Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy` (string) - CreationType *string `pulumi:"creationType"` - // vSphere custom attributes, format key/value e.g. `200=my custom value` (List) - CustomAttributes []string `pulumi:"customAttributes"` - // vSphere datacenter for docker VM (string) - Datacenter *string `pulumi:"datacenter"` - // vSphere datastore for docker VM (string) - Datastore *string `pulumi:"datastore"` - // vSphere datastore cluster for virtual machine (string) - DatastoreCluster *string `pulumi:"datastoreCluster"` - // vSphere size of disk for docker VM (in MB). Default `20480` (string) - DiskSize *string `pulumi:"diskSize"` - // vSphere folder for the docker VM. This folder must already exist in the datacenter (string) - Folder *string `pulumi:"folder"` - // vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) - Hostsystem *string `pulumi:"hostsystem"` - // vSphere size of memory for docker VM (in MB). Default `2048` (string) - MemorySize *string `pulumi:"memorySize"` - // vSphere network where the docker VM will be attached (list) - Networks []string `pulumi:"networks"` - // OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Password *string `pulumi:"password"` - // vSphere resource pool for docker VM (string) - Pool *string `pulumi:"pool"` - // If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) - SshPassword *string `pulumi:"sshPassword"` - // If using a non-B2D image you can specify the ssh port. Default `22` (string) - SshPort *string `pulumi:"sshPort"` +func (o GlobalRoleRuleArrayOutput) ToGlobalRoleRuleArrayOutputWithContext(ctx context.Context) GlobalRoleRuleArrayOutput { + return o +} + +func (o GlobalRoleRuleArrayOutput) Index(i pulumi.IntInput) GlobalRoleRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GlobalRoleRule { + return vs[0].([]GlobalRoleRule)[vs[1].(int)] + }).(GlobalRoleRuleOutput) +} + +type MachineConfigV2Amazonec2Config struct { + AccessKey *string `pulumi:"accessKey"` + // AWS machine image (string) + Ami string `pulumi:"ami"` + // AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) + BlockDurationMinutes *string `pulumi:"blockDurationMinutes"` + // AWS root device name. Default `/dev/sda1` (string) + DeviceName *string `pulumi:"deviceName"` + // Encrypt EBS volume. Default `false` (bool) + EncryptEbsVolume *bool `pulumi:"encryptEbsVolume"` + // Optional endpoint URL (hostname only or fully qualified URI) (string) + Endpoint *string `pulumi:"endpoint"` + // Enables or disables the HTTP metadata endpoint on your instances (string) + HttpEndpoint *string `pulumi:"httpEndpoint"` + // The state of token usage for your instance metadata requests (string) + HttpTokens *string `pulumi:"httpTokens"` + // AWS IAM Instance Profile (string) + IamInstanceProfile *string `pulumi:"iamInstanceProfile"` + // Disable SSL when sending requests (bool) + 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) + Monitoring *bool `pulumi:"monitoring"` + // Make the specified port number accessible from the Internet. (list) + OpenPorts []string `pulumi:"openPorts"` + // Only use a private IP address. Default `false` (bool) + PrivateAddressOnly *bool `pulumi:"privateAddressOnly"` + // OpenStack region name (string) + Region string `pulumi:"region"` + // Set this flag to request spot instance. Default `false` (bool) + RequestSpotInstance *bool `pulumi:"requestSpotInstance"` + // Set retry count for recoverable failures (use -1 to disable). Default `5` (string) + Retries *string `pulumi:"retries"` + // AWS root disk size (in GB). Default `16` (string) + RootSize *string `pulumi:"rootSize"` + SecretKey *string `pulumi:"secretKey"` + // Skip adding default rules to security groups (bool) + SecurityGroupReadonly *bool `pulumi:"securityGroupReadonly"` + // AWS VPC security group. (list) + SecurityGroups []string `pulumi:"securityGroups"` + // AWS Session Token (string) + SessionToken *string `pulumi:"sessionToken"` + // AWS spot instance bid price (in dollar). Default `0.50` (string) + SpotPrice *string `pulumi:"spotPrice"` + // SSH private key contents (string) + SshKeyContents *string `pulumi:"sshKeyContents"` // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) SshUser *string `pulumi:"sshUser"` - // If using a non-B2D image the uploaded keys will need chown'ed. Default `staff` (string) - SshUserGroup *string `pulumi:"sshUserGroup"` + // AWS VPC subnet id (string) + SubnetId string `pulumi:"subnetId"` // vSphere tags id e.g. `urn:xxx` (list) - Tags []string `pulumi:"tags"` - // OpenStack username (string) - Username *string `pulumi:"username"` - // vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) - VappIpAllocationPolicy *string `pulumi:"vappIpAllocationPolicy"` - // vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) - VappIpProtocol *string `pulumi:"vappIpProtocol"` - // vSphere vApp properties (list) - VappProperties []string `pulumi:"vappProperties"` - // vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) - VappTransport *string `pulumi:"vappTransport"` - // vSphere IP/hostname for vCenter (string) - Vcenter *string `pulumi:"vcenter"` - // vSphere Port for vCenter Default `443` (string) - VcenterPort *string `pulumi:"vcenterPort"` + Tags *string `pulumi:"tags"` + // Create an EBS optimized instance. Default `false` (bool) + UseEbsOptimizedInstance *bool `pulumi:"useEbsOptimizedInstance"` + // Force the usage of private IP address. Default `false` (bool) + UsePrivateAddress *bool `pulumi:"usePrivateAddress"` + // Path to file with cloud-init user-data (string) + Userdata *string `pulumi:"userdata"` + // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) + VolumeType *string `pulumi:"volumeType"` + // AWS VPC id. (string) + VpcId string `pulumi:"vpcId"` + // AWS zone for instance (i.e. a,b,c,d,e) (string) + Zone string `pulumi:"zone"` } -// MachineConfigV2VsphereConfigInput is an input type that accepts MachineConfigV2VsphereConfigArgs and MachineConfigV2VsphereConfigOutput values. -// You can construct a concrete instance of `MachineConfigV2VsphereConfigInput` via: +// MachineConfigV2Amazonec2ConfigInput is an input type that accepts MachineConfigV2Amazonec2ConfigArgs and MachineConfigV2Amazonec2ConfigOutput values. +// You can construct a concrete instance of `MachineConfigV2Amazonec2ConfigInput` via: // -// MachineConfigV2VsphereConfigArgs{...} -type MachineConfigV2VsphereConfigInput interface { +// MachineConfigV2Amazonec2ConfigArgs{...} +type MachineConfigV2Amazonec2ConfigInput interface { pulumi.Input - ToMachineConfigV2VsphereConfigOutput() MachineConfigV2VsphereConfigOutput - ToMachineConfigV2VsphereConfigOutputWithContext(context.Context) MachineConfigV2VsphereConfigOutput + ToMachineConfigV2Amazonec2ConfigOutput() MachineConfigV2Amazonec2ConfigOutput + ToMachineConfigV2Amazonec2ConfigOutputWithContext(context.Context) MachineConfigV2Amazonec2ConfigOutput } -type MachineConfigV2VsphereConfigArgs struct { - // vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) - Boot2dockerUrl pulumi.StringPtrInput `pulumi:"boot2dockerUrl"` - // vSphere vm configuration parameters (used for guestinfo) (list) - Cfgparams pulumi.StringArrayInput `pulumi:"cfgparams"` - // If you choose creation type vm (clone vm) a name of what vm you want to clone is required (string) - CloneFrom pulumi.StringPtrInput `pulumi:"cloneFrom"` - // Filepath to a cloud-config yaml file to put into the ISO user-data (string) - CloudConfig pulumi.StringPtrInput `pulumi:"cloudConfig"` - // vSphere cloud-init file or url to set in the guestinfo (string) - Cloudinit pulumi.StringPtrInput `pulumi:"cloudinit"` - // If you choose to clone from a content library template specify the name of the library (string) - ContentLibrary pulumi.StringPtrInput `pulumi:"contentLibrary"` - // vSphere CPU number for docker VM. Default `2` (string) - CpuCount pulumi.StringPtrInput `pulumi:"cpuCount"` - // Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy` (string) - CreationType pulumi.StringPtrInput `pulumi:"creationType"` - // vSphere custom attributes, format key/value e.g. `200=my custom value` (List) - CustomAttributes pulumi.StringArrayInput `pulumi:"customAttributes"` - // vSphere datacenter for docker VM (string) - Datacenter pulumi.StringPtrInput `pulumi:"datacenter"` - // vSphere datastore for docker VM (string) - Datastore pulumi.StringPtrInput `pulumi:"datastore"` - // vSphere datastore cluster for virtual machine (string) - DatastoreCluster pulumi.StringPtrInput `pulumi:"datastoreCluster"` - // vSphere size of disk for docker VM (in MB). Default `20480` (string) - DiskSize pulumi.StringPtrInput `pulumi:"diskSize"` - // vSphere folder for the docker VM. This folder must already exist in the datacenter (string) - Folder pulumi.StringPtrInput `pulumi:"folder"` - // vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) - Hostsystem pulumi.StringPtrInput `pulumi:"hostsystem"` - // vSphere size of memory for docker VM (in MB). Default `2048` (string) - MemorySize pulumi.StringPtrInput `pulumi:"memorySize"` - // vSphere network where the docker VM will be attached (list) - Networks pulumi.StringArrayInput `pulumi:"networks"` - // OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Password pulumi.StringPtrInput `pulumi:"password"` - // vSphere resource pool for docker VM (string) - Pool pulumi.StringPtrInput `pulumi:"pool"` - // If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) - SshPassword pulumi.StringPtrInput `pulumi:"sshPassword"` - // If using a non-B2D image you can specify the ssh port. Default `22` (string) - SshPort pulumi.StringPtrInput `pulumi:"sshPort"` +type MachineConfigV2Amazonec2ConfigArgs struct { + AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` + // AWS machine image (string) + Ami pulumi.StringInput `pulumi:"ami"` + // AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) + BlockDurationMinutes pulumi.StringPtrInput `pulumi:"blockDurationMinutes"` + // AWS root device name. Default `/dev/sda1` (string) + DeviceName pulumi.StringPtrInput `pulumi:"deviceName"` + // Encrypt EBS volume. Default `false` (bool) + EncryptEbsVolume pulumi.BoolPtrInput `pulumi:"encryptEbsVolume"` + // Optional endpoint URL (hostname only or fully qualified URI) (string) + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + // Enables or disables the HTTP metadata endpoint on your instances (string) + HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` + // The state of token usage for your instance metadata requests (string) + HttpTokens pulumi.StringPtrInput `pulumi:"httpTokens"` + // AWS IAM Instance Profile (string) + IamInstanceProfile pulumi.StringPtrInput `pulumi:"iamInstanceProfile"` + // Disable SSL when sending requests (bool) + 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) + Monitoring pulumi.BoolPtrInput `pulumi:"monitoring"` + // Make the specified port number accessible from the Internet. (list) + OpenPorts pulumi.StringArrayInput `pulumi:"openPorts"` + // Only use a private IP address. Default `false` (bool) + PrivateAddressOnly pulumi.BoolPtrInput `pulumi:"privateAddressOnly"` + // OpenStack region name (string) + Region pulumi.StringInput `pulumi:"region"` + // Set this flag to request spot instance. Default `false` (bool) + RequestSpotInstance pulumi.BoolPtrInput `pulumi:"requestSpotInstance"` + // Set retry count for recoverable failures (use -1 to disable). Default `5` (string) + Retries pulumi.StringPtrInput `pulumi:"retries"` + // AWS root disk size (in GB). Default `16` (string) + RootSize pulumi.StringPtrInput `pulumi:"rootSize"` + SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` + // Skip adding default rules to security groups (bool) + SecurityGroupReadonly pulumi.BoolPtrInput `pulumi:"securityGroupReadonly"` + // AWS VPC security group. (list) + SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` + // AWS Session Token (string) + SessionToken pulumi.StringPtrInput `pulumi:"sessionToken"` + // AWS spot instance bid price (in dollar). Default `0.50` (string) + SpotPrice pulumi.StringPtrInput `pulumi:"spotPrice"` + // SSH private key contents (string) + SshKeyContents pulumi.StringPtrInput `pulumi:"sshKeyContents"` // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // If using a non-B2D image the uploaded keys will need chown'ed. Default `staff` (string) - SshUserGroup pulumi.StringPtrInput `pulumi:"sshUserGroup"` + // AWS VPC subnet id (string) + SubnetId pulumi.StringInput `pulumi:"subnetId"` // vSphere tags id e.g. `urn:xxx` (list) - Tags pulumi.StringArrayInput `pulumi:"tags"` - // OpenStack username (string) - Username pulumi.StringPtrInput `pulumi:"username"` - // vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) - VappIpAllocationPolicy pulumi.StringPtrInput `pulumi:"vappIpAllocationPolicy"` - // vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) - VappIpProtocol pulumi.StringPtrInput `pulumi:"vappIpProtocol"` - // vSphere vApp properties (list) - VappProperties pulumi.StringArrayInput `pulumi:"vappProperties"` - // vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) - VappTransport pulumi.StringPtrInput `pulumi:"vappTransport"` - // vSphere IP/hostname for vCenter (string) - Vcenter pulumi.StringPtrInput `pulumi:"vcenter"` - // vSphere Port for vCenter Default `443` (string) - VcenterPort pulumi.StringPtrInput `pulumi:"vcenterPort"` + Tags pulumi.StringPtrInput `pulumi:"tags"` + // Create an EBS optimized instance. Default `false` (bool) + UseEbsOptimizedInstance pulumi.BoolPtrInput `pulumi:"useEbsOptimizedInstance"` + // Force the usage of private IP address. Default `false` (bool) + UsePrivateAddress pulumi.BoolPtrInput `pulumi:"usePrivateAddress"` + // Path to file with cloud-init user-data (string) + Userdata pulumi.StringPtrInput `pulumi:"userdata"` + // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) + VolumeType pulumi.StringPtrInput `pulumi:"volumeType"` + // AWS VPC id. (string) + VpcId pulumi.StringInput `pulumi:"vpcId"` + // AWS zone for instance (i.e. a,b,c,d,e) (string) + Zone pulumi.StringInput `pulumi:"zone"` } -func (MachineConfigV2VsphereConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2VsphereConfig)(nil)).Elem() +func (MachineConfigV2Amazonec2ConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2Amazonec2Config)(nil)).Elem() } -func (i MachineConfigV2VsphereConfigArgs) ToMachineConfigV2VsphereConfigOutput() MachineConfigV2VsphereConfigOutput { - return i.ToMachineConfigV2VsphereConfigOutputWithContext(context.Background()) +func (i MachineConfigV2Amazonec2ConfigArgs) ToMachineConfigV2Amazonec2ConfigOutput() MachineConfigV2Amazonec2ConfigOutput { + return i.ToMachineConfigV2Amazonec2ConfigOutputWithContext(context.Background()) } -func (i MachineConfigV2VsphereConfigArgs) ToMachineConfigV2VsphereConfigOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2VsphereConfigOutput) +func (i MachineConfigV2Amazonec2ConfigArgs) ToMachineConfigV2Amazonec2ConfigOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2Amazonec2ConfigOutput) } -func (i MachineConfigV2VsphereConfigArgs) ToMachineConfigV2VsphereConfigPtrOutput() MachineConfigV2VsphereConfigPtrOutput { - return i.ToMachineConfigV2VsphereConfigPtrOutputWithContext(context.Background()) +func (i MachineConfigV2Amazonec2ConfigArgs) ToMachineConfigV2Amazonec2ConfigPtrOutput() MachineConfigV2Amazonec2ConfigPtrOutput { + return i.ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(context.Background()) } -func (i MachineConfigV2VsphereConfigArgs) ToMachineConfigV2VsphereConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2VsphereConfigOutput).ToMachineConfigV2VsphereConfigPtrOutputWithContext(ctx) +func (i MachineConfigV2Amazonec2ConfigArgs) ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2Amazonec2ConfigOutput).ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(ctx) } -// MachineConfigV2VsphereConfigPtrInput is an input type that accepts MachineConfigV2VsphereConfigArgs, MachineConfigV2VsphereConfigPtr and MachineConfigV2VsphereConfigPtrOutput values. -// You can construct a concrete instance of `MachineConfigV2VsphereConfigPtrInput` via: +// MachineConfigV2Amazonec2ConfigPtrInput is an input type that accepts MachineConfigV2Amazonec2ConfigArgs, MachineConfigV2Amazonec2ConfigPtr and MachineConfigV2Amazonec2ConfigPtrOutput values. +// You can construct a concrete instance of `MachineConfigV2Amazonec2ConfigPtrInput` via: // -// MachineConfigV2VsphereConfigArgs{...} +// MachineConfigV2Amazonec2ConfigArgs{...} // // or: // // nil -type MachineConfigV2VsphereConfigPtrInput interface { +type MachineConfigV2Amazonec2ConfigPtrInput interface { pulumi.Input - ToMachineConfigV2VsphereConfigPtrOutput() MachineConfigV2VsphereConfigPtrOutput - ToMachineConfigV2VsphereConfigPtrOutputWithContext(context.Context) MachineConfigV2VsphereConfigPtrOutput + ToMachineConfigV2Amazonec2ConfigPtrOutput() MachineConfigV2Amazonec2ConfigPtrOutput + ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(context.Context) MachineConfigV2Amazonec2ConfigPtrOutput } -type machineConfigV2VsphereConfigPtrType MachineConfigV2VsphereConfigArgs +type machineConfigV2Amazonec2ConfigPtrType MachineConfigV2Amazonec2ConfigArgs -func MachineConfigV2VsphereConfigPtr(v *MachineConfigV2VsphereConfigArgs) MachineConfigV2VsphereConfigPtrInput { - return (*machineConfigV2VsphereConfigPtrType)(v) +func MachineConfigV2Amazonec2ConfigPtr(v *MachineConfigV2Amazonec2ConfigArgs) MachineConfigV2Amazonec2ConfigPtrInput { + return (*machineConfigV2Amazonec2ConfigPtrType)(v) } -func (*machineConfigV2VsphereConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2VsphereConfig)(nil)).Elem() +func (*machineConfigV2Amazonec2ConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2Amazonec2Config)(nil)).Elem() } -func (i *machineConfigV2VsphereConfigPtrType) ToMachineConfigV2VsphereConfigPtrOutput() MachineConfigV2VsphereConfigPtrOutput { - return i.ToMachineConfigV2VsphereConfigPtrOutputWithContext(context.Background()) +func (i *machineConfigV2Amazonec2ConfigPtrType) ToMachineConfigV2Amazonec2ConfigPtrOutput() MachineConfigV2Amazonec2ConfigPtrOutput { + return i.ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(context.Background()) } -func (i *machineConfigV2VsphereConfigPtrType) ToMachineConfigV2VsphereConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2VsphereConfigPtrOutput) +func (i *machineConfigV2Amazonec2ConfigPtrType) ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2Amazonec2ConfigPtrOutput) } -type MachineConfigV2VsphereConfigOutput struct{ *pulumi.OutputState } +type MachineConfigV2Amazonec2ConfigOutput struct{ *pulumi.OutputState } -func (MachineConfigV2VsphereConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineConfigV2VsphereConfig)(nil)).Elem() +func (MachineConfigV2Amazonec2ConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2Amazonec2Config)(nil)).Elem() } -func (o MachineConfigV2VsphereConfigOutput) ToMachineConfigV2VsphereConfigOutput() MachineConfigV2VsphereConfigOutput { +func (o MachineConfigV2Amazonec2ConfigOutput) ToMachineConfigV2Amazonec2ConfigOutput() MachineConfigV2Amazonec2ConfigOutput { return o } -func (o MachineConfigV2VsphereConfigOutput) ToMachineConfigV2VsphereConfigOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigOutput { +func (o MachineConfigV2Amazonec2ConfigOutput) ToMachineConfigV2Amazonec2ConfigOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigOutput { return o } -func (o MachineConfigV2VsphereConfigOutput) ToMachineConfigV2VsphereConfigPtrOutput() MachineConfigV2VsphereConfigPtrOutput { - return o.ToMachineConfigV2VsphereConfigPtrOutputWithContext(context.Background()) +func (o MachineConfigV2Amazonec2ConfigOutput) ToMachineConfigV2Amazonec2ConfigPtrOutput() MachineConfigV2Amazonec2ConfigPtrOutput { + return o.ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(context.Background()) } -func (o MachineConfigV2VsphereConfigOutput) ToMachineConfigV2VsphereConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2VsphereConfig) *MachineConfigV2VsphereConfig { +func (o MachineConfigV2Amazonec2ConfigOutput) ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2Amazonec2Config) *MachineConfigV2Amazonec2Config { return &v - }).(MachineConfigV2VsphereConfigPtrOutput) + }).(MachineConfigV2Amazonec2ConfigPtrOutput) } -// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) -func (o MachineConfigV2VsphereConfigOutput) Boot2dockerUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Boot2dockerUrl }).(pulumi.StringPtrOutput) +func (o MachineConfigV2Amazonec2ConfigOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.AccessKey }).(pulumi.StringPtrOutput) } -// vSphere vm configuration parameters (used for guestinfo) (list) -func (o MachineConfigV2VsphereConfigOutput) Cfgparams() pulumi.StringArrayOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) []string { return v.Cfgparams }).(pulumi.StringArrayOutput) +// AWS machine image (string) +func (o MachineConfigV2Amazonec2ConfigOutput) Ami() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) string { return v.Ami }).(pulumi.StringOutput) } -// If you choose creation type vm (clone vm) a name of what vm you want to clone is required (string) -func (o MachineConfigV2VsphereConfigOutput) CloneFrom() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.CloneFrom }).(pulumi.StringPtrOutput) +// AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) +func (o MachineConfigV2Amazonec2ConfigOutput) BlockDurationMinutes() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.BlockDurationMinutes }).(pulumi.StringPtrOutput) } -// Filepath to a cloud-config yaml file to put into the ISO user-data (string) -func (o MachineConfigV2VsphereConfigOutput) CloudConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.CloudConfig }).(pulumi.StringPtrOutput) +// AWS root device name. Default `/dev/sda1` (string) +func (o MachineConfigV2Amazonec2ConfigOutput) DeviceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.DeviceName }).(pulumi.StringPtrOutput) } -// vSphere cloud-init file or url to set in the guestinfo (string) -func (o MachineConfigV2VsphereConfigOutput) Cloudinit() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Cloudinit }).(pulumi.StringPtrOutput) +// Encrypt EBS volume. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigOutput) EncryptEbsVolume() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.EncryptEbsVolume }).(pulumi.BoolPtrOutput) } -// If you choose to clone from a content library template specify the name of the library (string) -func (o MachineConfigV2VsphereConfigOutput) ContentLibrary() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.ContentLibrary }).(pulumi.StringPtrOutput) +// Optional endpoint URL (hostname only or fully qualified URI) (string) +func (o MachineConfigV2Amazonec2ConfigOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -// vSphere CPU number for docker VM. Default `2` (string) -func (o MachineConfigV2VsphereConfigOutput) CpuCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.CpuCount }).(pulumi.StringPtrOutput) +// Enables or disables the HTTP metadata endpoint on your instances (string) +func (o MachineConfigV2Amazonec2ConfigOutput) HttpEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.HttpEndpoint }).(pulumi.StringPtrOutput) } -// Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy` (string) -func (o MachineConfigV2VsphereConfigOutput) CreationType() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.CreationType }).(pulumi.StringPtrOutput) +// The state of token usage for your instance metadata requests (string) +func (o MachineConfigV2Amazonec2ConfigOutput) HttpTokens() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.HttpTokens }).(pulumi.StringPtrOutput) } -// vSphere custom attributes, format key/value e.g. `200=my custom value` (List) -func (o MachineConfigV2VsphereConfigOutput) CustomAttributes() pulumi.StringArrayOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) []string { return v.CustomAttributes }).(pulumi.StringArrayOutput) +// AWS IAM Instance Profile (string) +func (o MachineConfigV2Amazonec2ConfigOutput) IamInstanceProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.IamInstanceProfile }).(pulumi.StringPtrOutput) } -// vSphere datacenter for docker VM (string) -func (o MachineConfigV2VsphereConfigOutput) Datacenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Datacenter }).(pulumi.StringPtrOutput) +// Disable SSL when sending requests (bool) +func (o MachineConfigV2Amazonec2ConfigOutput) InsecureTransport() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.InsecureTransport }).(pulumi.BoolPtrOutput) } -// vSphere datastore for docker VM (string) -func (o MachineConfigV2VsphereConfigOutput) Datastore() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Datastore }).(pulumi.StringPtrOutput) +// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) +func (o MachineConfigV2Amazonec2ConfigOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.InstanceType }).(pulumi.StringPtrOutput) } -// vSphere datastore cluster for virtual machine (string) -func (o MachineConfigV2VsphereConfigOutput) DatastoreCluster() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.DatastoreCluster }).(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) } -// vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o MachineConfigV2VsphereConfigOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.DiskSize }).(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) } -// vSphere folder for the docker VM. This folder must already exist in the datacenter (string) -func (o MachineConfigV2VsphereConfigOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) +// Enable monitoring for droplet. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigOutput) Monitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.Monitoring }).(pulumi.BoolPtrOutput) } -// vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) -func (o MachineConfigV2VsphereConfigOutput) Hostsystem() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Hostsystem }).(pulumi.StringPtrOutput) +// Make the specified port number accessible from the Internet. (list) +func (o MachineConfigV2Amazonec2ConfigOutput) OpenPorts() pulumi.StringArrayOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) []string { return v.OpenPorts }).(pulumi.StringArrayOutput) } -// vSphere size of memory for docker VM (in MB). Default `2048` (string) -func (o MachineConfigV2VsphereConfigOutput) MemorySize() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.MemorySize }).(pulumi.StringPtrOutput) +// Only use a private IP address. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigOutput) PrivateAddressOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.PrivateAddressOnly }).(pulumi.BoolPtrOutput) } -// vSphere network where the docker VM will be attached (list) -func (o MachineConfigV2VsphereConfigOutput) Networks() pulumi.StringArrayOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) []string { return v.Networks }).(pulumi.StringArrayOutput) +// OpenStack region name (string) +func (o MachineConfigV2Amazonec2ConfigOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) string { return v.Region }).(pulumi.StringOutput) } -// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2VsphereConfigOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Password }).(pulumi.StringPtrOutput) +// Set this flag to request spot instance. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigOutput) RequestSpotInstance() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.RequestSpotInstance }).(pulumi.BoolPtrOutput) } -// vSphere resource pool for docker VM (string) -func (o MachineConfigV2VsphereConfigOutput) Pool() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Pool }).(pulumi.StringPtrOutput) +// Set retry count for recoverable failures (use -1 to disable). Default `5` (string) +func (o MachineConfigV2Amazonec2ConfigOutput) Retries() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.Retries }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) -func (o MachineConfigV2VsphereConfigOutput) SshPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.SshPassword }).(pulumi.StringPtrOutput) +// AWS root disk size (in GB). Default `16` (string) +func (o MachineConfigV2Amazonec2ConfigOutput) RootSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.RootSize }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh port. Default `22` (string) -func (o MachineConfigV2VsphereConfigOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) +func (o MachineConfigV2Amazonec2ConfigOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.SecretKey }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2VsphereConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +// Skip adding default rules to security groups (bool) +func (o MachineConfigV2Amazonec2ConfigOutput) SecurityGroupReadonly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.SecurityGroupReadonly }).(pulumi.BoolPtrOutput) } -// If using a non-B2D image the uploaded keys will need chown'ed. Default `staff` (string) -func (o MachineConfigV2VsphereConfigOutput) SshUserGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.SshUserGroup }).(pulumi.StringPtrOutput) +// AWS VPC security group. (list) +func (o MachineConfigV2Amazonec2ConfigOutput) SecurityGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) } -// vSphere tags id e.g. `urn:xxx` (list) -func (o MachineConfigV2VsphereConfigOutput) Tags() pulumi.StringArrayOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) []string { return v.Tags }).(pulumi.StringArrayOutput) +// AWS Session Token (string) +func (o MachineConfigV2Amazonec2ConfigOutput) SessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.SessionToken }).(pulumi.StringPtrOutput) } -// OpenStack username (string) -func (o MachineConfigV2VsphereConfigOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Username }).(pulumi.StringPtrOutput) +// AWS spot instance bid price (in dollar). Default `0.50` (string) +func (o MachineConfigV2Amazonec2ConfigOutput) SpotPrice() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.SpotPrice }).(pulumi.StringPtrOutput) +} + +// SSH private key contents (string) +func (o MachineConfigV2Amazonec2ConfigOutput) SshKeyContents() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.SshKeyContents }).(pulumi.StringPtrOutput) +} + +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2Amazonec2ConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.SshUser }).(pulumi.StringPtrOutput) +} + +// AWS VPC subnet id (string) +func (o MachineConfigV2Amazonec2ConfigOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// vSphere tags id e.g. `urn:xxx` (list) +func (o MachineConfigV2Amazonec2ConfigOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.Tags }).(pulumi.StringPtrOutput) } -// vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) -func (o MachineConfigV2VsphereConfigOutput) VappIpAllocationPolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.VappIpAllocationPolicy }).(pulumi.StringPtrOutput) +// Create an EBS optimized instance. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigOutput) UseEbsOptimizedInstance() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.UseEbsOptimizedInstance }).(pulumi.BoolPtrOutput) } -// vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) -func (o MachineConfigV2VsphereConfigOutput) VappIpProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.VappIpProtocol }).(pulumi.StringPtrOutput) +// Force the usage of private IP address. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigOutput) UsePrivateAddress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *bool { return v.UsePrivateAddress }).(pulumi.BoolPtrOutput) } -// vSphere vApp properties (list) -func (o MachineConfigV2VsphereConfigOutput) VappProperties() pulumi.StringArrayOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) []string { return v.VappProperties }).(pulumi.StringArrayOutput) +// Path to file with cloud-init user-data (string) +func (o MachineConfigV2Amazonec2ConfigOutput) Userdata() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.Userdata }).(pulumi.StringPtrOutput) } -// vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) -func (o MachineConfigV2VsphereConfigOutput) VappTransport() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.VappTransport }).(pulumi.StringPtrOutput) +// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) +func (o MachineConfigV2Amazonec2ConfigOutput) VolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) *string { return v.VolumeType }).(pulumi.StringPtrOutput) } -// vSphere IP/hostname for vCenter (string) -func (o MachineConfigV2VsphereConfigOutput) Vcenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Vcenter }).(pulumi.StringPtrOutput) +// AWS VPC id. (string) +func (o MachineConfigV2Amazonec2ConfigOutput) VpcId() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) string { return v.VpcId }).(pulumi.StringOutput) } -// vSphere Port for vCenter Default `443` (string) -func (o MachineConfigV2VsphereConfigOutput) VcenterPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.VcenterPort }).(pulumi.StringPtrOutput) +// AWS zone for instance (i.e. a,b,c,d,e) (string) +func (o MachineConfigV2Amazonec2ConfigOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2Amazonec2Config) string { return v.Zone }).(pulumi.StringOutput) } -type MachineConfigV2VsphereConfigPtrOutput struct{ *pulumi.OutputState } +type MachineConfigV2Amazonec2ConfigPtrOutput struct{ *pulumi.OutputState } -func (MachineConfigV2VsphereConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineConfigV2VsphereConfig)(nil)).Elem() +func (MachineConfigV2Amazonec2ConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2Amazonec2Config)(nil)).Elem() } -func (o MachineConfigV2VsphereConfigPtrOutput) ToMachineConfigV2VsphereConfigPtrOutput() MachineConfigV2VsphereConfigPtrOutput { +func (o MachineConfigV2Amazonec2ConfigPtrOutput) ToMachineConfigV2Amazonec2ConfigPtrOutput() MachineConfigV2Amazonec2ConfigPtrOutput { return o } -func (o MachineConfigV2VsphereConfigPtrOutput) ToMachineConfigV2VsphereConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigPtrOutput { +func (o MachineConfigV2Amazonec2ConfigPtrOutput) ToMachineConfigV2Amazonec2ConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2Amazonec2ConfigPtrOutput { return o } -func (o MachineConfigV2VsphereConfigPtrOutput) Elem() MachineConfigV2VsphereConfigOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) MachineConfigV2VsphereConfig { +func (o MachineConfigV2Amazonec2ConfigPtrOutput) Elem() MachineConfigV2Amazonec2ConfigOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) MachineConfigV2Amazonec2Config { if v != nil { return *v } - var ret MachineConfigV2VsphereConfig + var ret MachineConfigV2Amazonec2Config return ret - }).(MachineConfigV2VsphereConfigOutput) + }).(MachineConfigV2Amazonec2ConfigOutput) } -// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) Boot2dockerUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +func (o MachineConfigV2Amazonec2ConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.Boot2dockerUrl + return v.AccessKey }).(pulumi.StringPtrOutput) } -// vSphere vm configuration parameters (used for guestinfo) (list) -func (o MachineConfigV2VsphereConfigPtrOutput) Cfgparams() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) []string { - if v == nil { - return nil - } - return v.Cfgparams - }).(pulumi.StringArrayOutput) -} - -// If you choose creation type vm (clone vm) a name of what vm you want to clone is required (string) -func (o MachineConfigV2VsphereConfigPtrOutput) CloneFrom() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// AWS machine image (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) Ami() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.CloneFrom + return &v.Ami }).(pulumi.StringPtrOutput) } -// Filepath to a cloud-config yaml file to put into the ISO user-data (string) -func (o MachineConfigV2VsphereConfigPtrOutput) CloudConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) BlockDurationMinutes() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.CloudConfig + return v.BlockDurationMinutes }).(pulumi.StringPtrOutput) } -// vSphere cloud-init file or url to set in the guestinfo (string) -func (o MachineConfigV2VsphereConfigPtrOutput) Cloudinit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// AWS root device name. Default `/dev/sda1` (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) DeviceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.Cloudinit + return v.DeviceName }).(pulumi.StringPtrOutput) } -// If you choose to clone from a content library template specify the name of the library (string) -func (o MachineConfigV2VsphereConfigPtrOutput) ContentLibrary() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Encrypt EBS volume. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) EncryptEbsVolume() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { if v == nil { return nil } - return v.ContentLibrary - }).(pulumi.StringPtrOutput) + return v.EncryptEbsVolume + }).(pulumi.BoolPtrOutput) } -// vSphere CPU number for docker VM. Default `2` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) CpuCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Optional endpoint URL (hostname only or fully qualified URI) (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.CpuCount + return v.Endpoint }).(pulumi.StringPtrOutput) } -// Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) CreationType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Enables or disables the HTTP metadata endpoint on your instances (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) HttpEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.CreationType + return v.HttpEndpoint }).(pulumi.StringPtrOutput) } -// vSphere custom attributes, format key/value e.g. `200=my custom value` (List) -func (o MachineConfigV2VsphereConfigPtrOutput) CustomAttributes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) []string { - if v == nil { - return nil - } - return v.CustomAttributes - }).(pulumi.StringArrayOutput) -} - -// vSphere datacenter for docker VM (string) -func (o MachineConfigV2VsphereConfigPtrOutput) Datacenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// The state of token usage for your instance metadata requests (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) HttpTokens() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.Datacenter + return v.HttpTokens }).(pulumi.StringPtrOutput) } -// vSphere datastore for docker VM (string) -func (o MachineConfigV2VsphereConfigPtrOutput) Datastore() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// AWS IAM Instance Profile (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) IamInstanceProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.Datastore + return v.IamInstanceProfile }).(pulumi.StringPtrOutput) } -// vSphere datastore cluster for virtual machine (string) -func (o MachineConfigV2VsphereConfigPtrOutput) DatastoreCluster() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Disable SSL when sending requests (bool) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) InsecureTransport() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { if v == nil { return nil } - return v.DatastoreCluster - }).(pulumi.StringPtrOutput) + return v.InsecureTransport + }).(pulumi.BoolPtrOutput) } -// vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.DiskSize + return v.InstanceType }).(pulumi.StringPtrOutput) } -// vSphere folder for the docker VM. This folder must already exist in the datacenter (string) -func (o MachineConfigV2VsphereConfigPtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// 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.Folder + return v.KeypairName }).(pulumi.StringPtrOutput) } -// vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) -func (o MachineConfigV2VsphereConfigPtrOutput) Hostsystem() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Custom KMS key ID using the AWS Managed CMK (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.Hostsystem + return v.KmsKey }).(pulumi.StringPtrOutput) } -// vSphere size of memory for docker VM (in MB). Default `2048` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) MemorySize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Enable monitoring for droplet. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) Monitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { if v == nil { return nil } - return v.MemorySize - }).(pulumi.StringPtrOutput) + return v.Monitoring + }).(pulumi.BoolPtrOutput) } -// vSphere network where the docker VM will be attached (list) -func (o MachineConfigV2VsphereConfigPtrOutput) Networks() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) []string { +// Make the specified port number accessible from the Internet. (list) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) OpenPorts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) []string { if v == nil { return nil } - return v.Networks + return v.OpenPorts }).(pulumi.StringArrayOutput) } -// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o MachineConfigV2VsphereConfigPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { - if v == nil { - return nil - } - return v.Password - }).(pulumi.StringPtrOutput) -} - -// vSphere resource pool for docker VM (string) -func (o MachineConfigV2VsphereConfigPtrOutput) Pool() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { - if v == nil { - return nil - } - return v.Pool - }).(pulumi.StringPtrOutput) -} - -// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) SshPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Only use a private IP address. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) PrivateAddressOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { if v == nil { return nil } - return v.SshPassword - }).(pulumi.StringPtrOutput) + return v.PrivateAddressOnly + }).(pulumi.BoolPtrOutput) } -// If using a non-B2D image you can specify the ssh port. Default `22` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// OpenStack region name (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.SshPort + return &v.Region }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) -func (o MachineConfigV2VsphereConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Set this flag to request spot instance. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) RequestSpotInstance() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { if v == nil { return nil } - return v.SshUser - }).(pulumi.StringPtrOutput) + return v.RequestSpotInstance + }).(pulumi.BoolPtrOutput) } -// If using a non-B2D image the uploaded keys will need chown'ed. Default `staff` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) SshUserGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Set retry count for recoverable failures (use -1 to disable). Default `5` (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) Retries() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.SshUserGroup + return v.Retries }).(pulumi.StringPtrOutput) } -// vSphere tags id e.g. `urn:xxx` (list) -func (o MachineConfigV2VsphereConfigPtrOutput) Tags() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) []string { - if v == nil { - return nil - } - return v.Tags - }).(pulumi.StringArrayOutput) -} - -// OpenStack username (string) -func (o MachineConfigV2VsphereConfigPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// AWS root disk size (in GB). Default `16` (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) RootSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.Username + return v.RootSize }).(pulumi.StringPtrOutput) } -// vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) VappIpAllocationPolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +func (o MachineConfigV2Amazonec2ConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.VappIpAllocationPolicy + return v.SecretKey }).(pulumi.StringPtrOutput) } -// vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) VappIpProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// Skip adding default rules to security groups (bool) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) SecurityGroupReadonly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { if v == nil { return nil } - return v.VappIpProtocol - }).(pulumi.StringPtrOutput) + return v.SecurityGroupReadonly + }).(pulumi.BoolPtrOutput) } -// vSphere vApp properties (list) -func (o MachineConfigV2VsphereConfigPtrOutput) VappProperties() pulumi.StringArrayOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) []string { +// AWS VPC security group. (list) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) SecurityGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) []string { if v == nil { return nil } - return v.VappProperties + return v.SecurityGroups }).(pulumi.StringArrayOutput) } -// vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) VappTransport() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { - if v == nil { - return nil - } - return v.VappTransport - }).(pulumi.StringPtrOutput) -} - -// vSphere IP/hostname for vCenter (string) -func (o MachineConfigV2VsphereConfigPtrOutput) Vcenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// AWS Session Token (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) SessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.Vcenter + return v.SessionToken }).(pulumi.StringPtrOutput) } -// vSphere Port for vCenter Default `443` (string) -func (o MachineConfigV2VsphereConfigPtrOutput) VcenterPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { +// AWS spot instance bid price (in dollar). Default `0.50` (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) SpotPrice() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { if v == nil { return nil } - return v.VcenterPort + return v.SpotPrice }).(pulumi.StringPtrOutput) } -type MultiClusterAppAnswer struct { - // Cluster ID for answer (string) - ClusterId *string `pulumi:"clusterId"` - // Project ID for target (string) - ProjectId *string `pulumi:"projectId"` - // Key/values for answer (map) - Values map[string]interface{} `pulumi:"values"` -} - -// MultiClusterAppAnswerInput is an input type that accepts MultiClusterAppAnswerArgs and MultiClusterAppAnswerOutput values. -// You can construct a concrete instance of `MultiClusterAppAnswerInput` via: -// -// MultiClusterAppAnswerArgs{...} -type MultiClusterAppAnswerInput interface { - pulumi.Input - - ToMultiClusterAppAnswerOutput() MultiClusterAppAnswerOutput - ToMultiClusterAppAnswerOutputWithContext(context.Context) MultiClusterAppAnswerOutput -} - -type MultiClusterAppAnswerArgs struct { - // Cluster ID for answer (string) - ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` - // Project ID for target (string) - ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // Key/values for answer (map) - Values pulumi.MapInput `pulumi:"values"` -} - -func (MultiClusterAppAnswerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MultiClusterAppAnswer)(nil)).Elem() -} - -func (i MultiClusterAppAnswerArgs) ToMultiClusterAppAnswerOutput() MultiClusterAppAnswerOutput { - return i.ToMultiClusterAppAnswerOutputWithContext(context.Background()) -} - -func (i MultiClusterAppAnswerArgs) ToMultiClusterAppAnswerOutputWithContext(ctx context.Context) MultiClusterAppAnswerOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppAnswerOutput) -} - -// MultiClusterAppAnswerArrayInput is an input type that accepts MultiClusterAppAnswerArray and MultiClusterAppAnswerArrayOutput values. -// You can construct a concrete instance of `MultiClusterAppAnswerArrayInput` via: -// -// MultiClusterAppAnswerArray{ MultiClusterAppAnswerArgs{...} } -type MultiClusterAppAnswerArrayInput interface { - pulumi.Input - - ToMultiClusterAppAnswerArrayOutput() MultiClusterAppAnswerArrayOutput - ToMultiClusterAppAnswerArrayOutputWithContext(context.Context) MultiClusterAppAnswerArrayOutput -} - -type MultiClusterAppAnswerArray []MultiClusterAppAnswerInput - -func (MultiClusterAppAnswerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MultiClusterAppAnswer)(nil)).Elem() -} - -func (i MultiClusterAppAnswerArray) ToMultiClusterAppAnswerArrayOutput() MultiClusterAppAnswerArrayOutput { - return i.ToMultiClusterAppAnswerArrayOutputWithContext(context.Background()) -} - -func (i MultiClusterAppAnswerArray) ToMultiClusterAppAnswerArrayOutputWithContext(ctx context.Context) MultiClusterAppAnswerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppAnswerArrayOutput) -} - -type MultiClusterAppAnswerOutput struct{ *pulumi.OutputState } - -func (MultiClusterAppAnswerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MultiClusterAppAnswer)(nil)).Elem() -} - -func (o MultiClusterAppAnswerOutput) ToMultiClusterAppAnswerOutput() MultiClusterAppAnswerOutput { - return o -} - -func (o MultiClusterAppAnswerOutput) ToMultiClusterAppAnswerOutputWithContext(ctx context.Context) MultiClusterAppAnswerOutput { - return o -} - -// Cluster ID for answer (string) -func (o MultiClusterAppAnswerOutput) ClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MultiClusterAppAnswer) *string { return v.ClusterId }).(pulumi.StringPtrOutput) -} - -// Project ID for target (string) -func (o MultiClusterAppAnswerOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MultiClusterAppAnswer) *string { return v.ProjectId }).(pulumi.StringPtrOutput) -} - -// Key/values for answer (map) -func (o MultiClusterAppAnswerOutput) Values() pulumi.MapOutput { - return o.ApplyT(func(v MultiClusterAppAnswer) map[string]interface{} { return v.Values }).(pulumi.MapOutput) -} - -type MultiClusterAppAnswerArrayOutput struct{ *pulumi.OutputState } - -func (MultiClusterAppAnswerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MultiClusterAppAnswer)(nil)).Elem() -} - -func (o MultiClusterAppAnswerArrayOutput) ToMultiClusterAppAnswerArrayOutput() MultiClusterAppAnswerArrayOutput { - return o -} - -func (o MultiClusterAppAnswerArrayOutput) ToMultiClusterAppAnswerArrayOutputWithContext(ctx context.Context) MultiClusterAppAnswerArrayOutput { - return o -} - -func (o MultiClusterAppAnswerArrayOutput) Index(i pulumi.IntInput) MultiClusterAppAnswerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MultiClusterAppAnswer { - return vs[0].([]MultiClusterAppAnswer)[vs[1].(int)] - }).(MultiClusterAppAnswerOutput) -} - -type MultiClusterAppMember struct { - // Member access type. Valid values: `["member" | "owner" | "read-only"]` (string) - AccessType *string `pulumi:"accessType"` - // Member group principal id (string) - GroupPrincipalId *string `pulumi:"groupPrincipalId"` - // Member user principal id (string) - UserPrincipalId *string `pulumi:"userPrincipalId"` -} - -// MultiClusterAppMemberInput is an input type that accepts MultiClusterAppMemberArgs and MultiClusterAppMemberOutput values. -// You can construct a concrete instance of `MultiClusterAppMemberInput` via: -// -// MultiClusterAppMemberArgs{...} -type MultiClusterAppMemberInput interface { - pulumi.Input - - ToMultiClusterAppMemberOutput() MultiClusterAppMemberOutput - ToMultiClusterAppMemberOutputWithContext(context.Context) MultiClusterAppMemberOutput -} - -type MultiClusterAppMemberArgs struct { - // Member access type. Valid values: `["member" | "owner" | "read-only"]` (string) - AccessType pulumi.StringPtrInput `pulumi:"accessType"` - // Member group principal id (string) - GroupPrincipalId pulumi.StringPtrInput `pulumi:"groupPrincipalId"` - // Member user principal id (string) - UserPrincipalId pulumi.StringPtrInput `pulumi:"userPrincipalId"` -} - -func (MultiClusterAppMemberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MultiClusterAppMember)(nil)).Elem() -} - -func (i MultiClusterAppMemberArgs) ToMultiClusterAppMemberOutput() MultiClusterAppMemberOutput { - return i.ToMultiClusterAppMemberOutputWithContext(context.Background()) -} - -func (i MultiClusterAppMemberArgs) ToMultiClusterAppMemberOutputWithContext(ctx context.Context) MultiClusterAppMemberOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppMemberOutput) -} - -// MultiClusterAppMemberArrayInput is an input type that accepts MultiClusterAppMemberArray and MultiClusterAppMemberArrayOutput values. -// You can construct a concrete instance of `MultiClusterAppMemberArrayInput` via: -// -// MultiClusterAppMemberArray{ MultiClusterAppMemberArgs{...} } -type MultiClusterAppMemberArrayInput interface { - pulumi.Input - - ToMultiClusterAppMemberArrayOutput() MultiClusterAppMemberArrayOutput - ToMultiClusterAppMemberArrayOutputWithContext(context.Context) MultiClusterAppMemberArrayOutput -} - -type MultiClusterAppMemberArray []MultiClusterAppMemberInput - -func (MultiClusterAppMemberArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MultiClusterAppMember)(nil)).Elem() -} - -func (i MultiClusterAppMemberArray) ToMultiClusterAppMemberArrayOutput() MultiClusterAppMemberArrayOutput { - return i.ToMultiClusterAppMemberArrayOutputWithContext(context.Background()) -} - -func (i MultiClusterAppMemberArray) ToMultiClusterAppMemberArrayOutputWithContext(ctx context.Context) MultiClusterAppMemberArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppMemberArrayOutput) -} - -type MultiClusterAppMemberOutput struct{ *pulumi.OutputState } - -func (MultiClusterAppMemberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MultiClusterAppMember)(nil)).Elem() -} - -func (o MultiClusterAppMemberOutput) ToMultiClusterAppMemberOutput() MultiClusterAppMemberOutput { - return o +// SSH private key contents (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) SshKeyContents() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { + if v == nil { + return nil + } + return v.SshKeyContents + }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppMemberOutput) ToMultiClusterAppMemberOutputWithContext(ctx context.Context) MultiClusterAppMemberOutput { - return o +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { + if v == nil { + return nil + } + return v.SshUser + }).(pulumi.StringPtrOutput) } -// Member access type. Valid values: `["member" | "owner" | "read-only"]` (string) -func (o MultiClusterAppMemberOutput) AccessType() pulumi.StringPtrOutput { - return o.ApplyT(func(v MultiClusterAppMember) *string { return v.AccessType }).(pulumi.StringPtrOutput) +// AWS VPC subnet id (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { + if v == nil { + return nil + } + return &v.SubnetId + }).(pulumi.StringPtrOutput) } -// Member group principal id (string) -func (o MultiClusterAppMemberOutput) GroupPrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MultiClusterAppMember) *string { return v.GroupPrincipalId }).(pulumi.StringPtrOutput) +// vSphere tags id e.g. `urn:xxx` (list) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { + if v == nil { + return nil + } + return v.Tags + }).(pulumi.StringPtrOutput) } -// Member user principal id (string) -func (o MultiClusterAppMemberOutput) UserPrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MultiClusterAppMember) *string { return v.UserPrincipalId }).(pulumi.StringPtrOutput) +// Create an EBS optimized instance. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) UseEbsOptimizedInstance() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { + if v == nil { + return nil + } + return v.UseEbsOptimizedInstance + }).(pulumi.BoolPtrOutput) } -type MultiClusterAppMemberArrayOutput struct{ *pulumi.OutputState } +// Force the usage of private IP address. Default `false` (bool) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) UsePrivateAddress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *bool { + if v == nil { + return nil + } + return v.UsePrivateAddress + }).(pulumi.BoolPtrOutput) +} -func (MultiClusterAppMemberArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MultiClusterAppMember)(nil)).Elem() +// Path to file with cloud-init user-data (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) Userdata() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { + if v == nil { + return nil + } + return v.Userdata + }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppMemberArrayOutput) ToMultiClusterAppMemberArrayOutput() MultiClusterAppMemberArrayOutput { - return o +// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) VolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { + if v == nil { + return nil + } + return v.VolumeType + }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppMemberArrayOutput) ToMultiClusterAppMemberArrayOutputWithContext(ctx context.Context) MultiClusterAppMemberArrayOutput { - return o +// AWS VPC id. (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) VpcId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { + if v == nil { + return nil + } + return &v.VpcId + }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppMemberArrayOutput) Index(i pulumi.IntInput) MultiClusterAppMemberOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MultiClusterAppMember { - return vs[0].([]MultiClusterAppMember)[vs[1].(int)] - }).(MultiClusterAppMemberOutput) +// AWS zone for instance (i.e. a,b,c,d,e) (string) +func (o MachineConfigV2Amazonec2ConfigPtrOutput) Zone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2Amazonec2Config) *string { + if v == nil { + return nil + } + return &v.Zone + }).(pulumi.StringPtrOutput) } -type MultiClusterAppTarget struct { - // App ID for target (string) - AppId *string `pulumi:"appId"` - // App health state for target (string) - HealthState *string `pulumi:"healthState"` - // Project ID for target (string) - ProjectId string `pulumi:"projectId"` - // App state for target (string) - State *string `pulumi:"state"` +type MachineConfigV2AzureConfig struct { + // Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) + AvailabilitySet *string `pulumi:"availabilitySet"` + // Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + ClientId *string `pulumi:"clientId"` + // Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + ClientSecret *string `pulumi:"clientSecret"` + // Path to file with custom-data (string) + CustomData *string `pulumi:"customData"` + // vSphere size of disk for docker VM (in MB). Default `20480` (string) + DiskSize *string `pulumi:"diskSize"` + // A unique DNS label for the public IP adddress (string) + Dns *string `pulumi:"dns"` + // Docker Port. Default `2376` (string) + DockerPort *string `pulumi:"dockerPort"` + // Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) + Environment *string `pulumi:"environment"` + // Fault domain count to use for availability set. Default `3` (string) + FaultDomainCount *string `pulumi:"faultDomainCount"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image *string `pulumi:"image"` + // Azure region to create the virtual machine. Default `westus` (string) + Location *string `pulumi:"location"` + // Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) + ManagedDisks *bool `pulumi:"managedDisks"` + // Do not create a public IP address for the machine. Default `false` (bool) + NoPublicIp *bool `pulumi:"noPublicIp"` + // Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) + Nsg *string `pulumi:"nsg"` + // Make the specified port number accessible from the Internet. (list) + OpenPorts []string `pulumi:"openPorts"` + // Only use a private IP address. Default `false` (bool) + PrivateAddressOnly *bool `pulumi:"privateAddressOnly"` + // Specify a static private IP address for the machine. (string) + PrivateIpAddress *string `pulumi:"privateIpAddress"` + // Azure Resource Group name (will be created if missing). Default `docker-machine` (string) + ResourceGroup *string `pulumi:"resourceGroup"` + // Digital Ocean size. Default `s-1vcpu-1gb` (string) + Size *string `pulumi:"size"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) + SshUser *string `pulumi:"sshUser"` + // Assign a static public IP address to the machine. Default `false` (bool) + StaticPublicIp *bool `pulumi:"staticPublicIp"` + // Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) + StorageType *string `pulumi:"storageType"` + // Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) + Subnet *string `pulumi:"subnet"` + // Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) + SubnetPrefix *string `pulumi:"subnetPrefix"` + // Azure Subscription ID (string) + SubscriptionId *string `pulumi:"subscriptionId"` + // OpenStack tenant id. Conflicts with `tenantName` (string) + TenantId *string `pulumi:"tenantId"` + // Update domain count to use for availability set. Default `5` (string) + UpdateDomainCount *string `pulumi:"updateDomainCount"` + // Use private IP address of the machine to connect. Default `false` (bool) + UsePrivateIp *bool `pulumi:"usePrivateIp"` + // Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) + Vnet *string `pulumi:"vnet"` } -// MultiClusterAppTargetInput is an input type that accepts MultiClusterAppTargetArgs and MultiClusterAppTargetOutput values. -// You can construct a concrete instance of `MultiClusterAppTargetInput` via: +// MachineConfigV2AzureConfigInput is an input type that accepts MachineConfigV2AzureConfigArgs and MachineConfigV2AzureConfigOutput values. +// You can construct a concrete instance of `MachineConfigV2AzureConfigInput` via: // -// MultiClusterAppTargetArgs{...} -type MultiClusterAppTargetInput interface { +// MachineConfigV2AzureConfigArgs{...} +type MachineConfigV2AzureConfigInput interface { pulumi.Input - ToMultiClusterAppTargetOutput() MultiClusterAppTargetOutput - ToMultiClusterAppTargetOutputWithContext(context.Context) MultiClusterAppTargetOutput + ToMachineConfigV2AzureConfigOutput() MachineConfigV2AzureConfigOutput + ToMachineConfigV2AzureConfigOutputWithContext(context.Context) MachineConfigV2AzureConfigOutput } -type MultiClusterAppTargetArgs struct { - // App ID for target (string) - AppId pulumi.StringPtrInput `pulumi:"appId"` - // App health state for target (string) - HealthState pulumi.StringPtrInput `pulumi:"healthState"` - // Project ID for target (string) - ProjectId pulumi.StringInput `pulumi:"projectId"` - // App state for target (string) - State pulumi.StringPtrInput `pulumi:"state"` +type MachineConfigV2AzureConfigArgs struct { + // Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) + AvailabilitySet pulumi.StringPtrInput `pulumi:"availabilitySet"` + // Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + ClientId pulumi.StringPtrInput `pulumi:"clientId"` + // Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + ClientSecret pulumi.StringPtrInput `pulumi:"clientSecret"` + // Path to file with custom-data (string) + CustomData pulumi.StringPtrInput `pulumi:"customData"` + // vSphere size of disk for docker VM (in MB). Default `20480` (string) + DiskSize pulumi.StringPtrInput `pulumi:"diskSize"` + // A unique DNS label for the public IP adddress (string) + Dns pulumi.StringPtrInput `pulumi:"dns"` + // Docker Port. Default `2376` (string) + DockerPort pulumi.StringPtrInput `pulumi:"dockerPort"` + // Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) + Environment pulumi.StringPtrInput `pulumi:"environment"` + // Fault domain count to use for availability set. Default `3` (string) + FaultDomainCount pulumi.StringPtrInput `pulumi:"faultDomainCount"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image pulumi.StringPtrInput `pulumi:"image"` + // Azure region to create the virtual machine. Default `westus` (string) + Location pulumi.StringPtrInput `pulumi:"location"` + // Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) + ManagedDisks pulumi.BoolPtrInput `pulumi:"managedDisks"` + // Do not create a public IP address for the machine. Default `false` (bool) + NoPublicIp pulumi.BoolPtrInput `pulumi:"noPublicIp"` + // Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) + Nsg pulumi.StringPtrInput `pulumi:"nsg"` + // Make the specified port number accessible from the Internet. (list) + OpenPorts pulumi.StringArrayInput `pulumi:"openPorts"` + // Only use a private IP address. Default `false` (bool) + PrivateAddressOnly pulumi.BoolPtrInput `pulumi:"privateAddressOnly"` + // Specify a static private IP address for the machine. (string) + PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"` + // Azure Resource Group name (will be created if missing). Default `docker-machine` (string) + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + // Digital Ocean size. Default `s-1vcpu-1gb` (string) + Size pulumi.StringPtrInput `pulumi:"size"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) + SshUser pulumi.StringPtrInput `pulumi:"sshUser"` + // Assign a static public IP address to the machine. Default `false` (bool) + StaticPublicIp pulumi.BoolPtrInput `pulumi:"staticPublicIp"` + // Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) + StorageType pulumi.StringPtrInput `pulumi:"storageType"` + // Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) + Subnet pulumi.StringPtrInput `pulumi:"subnet"` + // Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) + SubnetPrefix pulumi.StringPtrInput `pulumi:"subnetPrefix"` + // Azure Subscription ID (string) + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` + // OpenStack tenant id. Conflicts with `tenantName` (string) + TenantId pulumi.StringPtrInput `pulumi:"tenantId"` + // Update domain count to use for availability set. Default `5` (string) + UpdateDomainCount pulumi.StringPtrInput `pulumi:"updateDomainCount"` + // Use private IP address of the machine to connect. Default `false` (bool) + UsePrivateIp pulumi.BoolPtrInput `pulumi:"usePrivateIp"` + // Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) + Vnet pulumi.StringPtrInput `pulumi:"vnet"` } -func (MultiClusterAppTargetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MultiClusterAppTarget)(nil)).Elem() +func (MachineConfigV2AzureConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2AzureConfig)(nil)).Elem() } -func (i MultiClusterAppTargetArgs) ToMultiClusterAppTargetOutput() MultiClusterAppTargetOutput { - return i.ToMultiClusterAppTargetOutputWithContext(context.Background()) +func (i MachineConfigV2AzureConfigArgs) ToMachineConfigV2AzureConfigOutput() MachineConfigV2AzureConfigOutput { + return i.ToMachineConfigV2AzureConfigOutputWithContext(context.Background()) } -func (i MultiClusterAppTargetArgs) ToMultiClusterAppTargetOutputWithContext(ctx context.Context) MultiClusterAppTargetOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppTargetOutput) +func (i MachineConfigV2AzureConfigArgs) ToMachineConfigV2AzureConfigOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2AzureConfigOutput) } -// MultiClusterAppTargetArrayInput is an input type that accepts MultiClusterAppTargetArray and MultiClusterAppTargetArrayOutput values. -// You can construct a concrete instance of `MultiClusterAppTargetArrayInput` via: +func (i MachineConfigV2AzureConfigArgs) ToMachineConfigV2AzureConfigPtrOutput() MachineConfigV2AzureConfigPtrOutput { + return i.ToMachineConfigV2AzureConfigPtrOutputWithContext(context.Background()) +} + +func (i MachineConfigV2AzureConfigArgs) ToMachineConfigV2AzureConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2AzureConfigOutput).ToMachineConfigV2AzureConfigPtrOutputWithContext(ctx) +} + +// MachineConfigV2AzureConfigPtrInput is an input type that accepts MachineConfigV2AzureConfigArgs, MachineConfigV2AzureConfigPtr and MachineConfigV2AzureConfigPtrOutput values. +// You can construct a concrete instance of `MachineConfigV2AzureConfigPtrInput` via: // -// MultiClusterAppTargetArray{ MultiClusterAppTargetArgs{...} } -type MultiClusterAppTargetArrayInput interface { +// MachineConfigV2AzureConfigArgs{...} +// +// or: +// +// nil +type MachineConfigV2AzureConfigPtrInput interface { pulumi.Input - ToMultiClusterAppTargetArrayOutput() MultiClusterAppTargetArrayOutput - ToMultiClusterAppTargetArrayOutputWithContext(context.Context) MultiClusterAppTargetArrayOutput + ToMachineConfigV2AzureConfigPtrOutput() MachineConfigV2AzureConfigPtrOutput + ToMachineConfigV2AzureConfigPtrOutputWithContext(context.Context) MachineConfigV2AzureConfigPtrOutput } -type MultiClusterAppTargetArray []MultiClusterAppTargetInput +type machineConfigV2AzureConfigPtrType MachineConfigV2AzureConfigArgs -func (MultiClusterAppTargetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]MultiClusterAppTarget)(nil)).Elem() +func MachineConfigV2AzureConfigPtr(v *MachineConfigV2AzureConfigArgs) MachineConfigV2AzureConfigPtrInput { + return (*machineConfigV2AzureConfigPtrType)(v) } -func (i MultiClusterAppTargetArray) ToMultiClusterAppTargetArrayOutput() MultiClusterAppTargetArrayOutput { - return i.ToMultiClusterAppTargetArrayOutputWithContext(context.Background()) +func (*machineConfigV2AzureConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2AzureConfig)(nil)).Elem() } -func (i MultiClusterAppTargetArray) ToMultiClusterAppTargetArrayOutputWithContext(ctx context.Context) MultiClusterAppTargetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppTargetArrayOutput) +func (i *machineConfigV2AzureConfigPtrType) ToMachineConfigV2AzureConfigPtrOutput() MachineConfigV2AzureConfigPtrOutput { + return i.ToMachineConfigV2AzureConfigPtrOutputWithContext(context.Background()) } -type MultiClusterAppTargetOutput struct{ *pulumi.OutputState } +func (i *machineConfigV2AzureConfigPtrType) ToMachineConfigV2AzureConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2AzureConfigPtrOutput) +} -func (MultiClusterAppTargetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MultiClusterAppTarget)(nil)).Elem() +type MachineConfigV2AzureConfigOutput struct{ *pulumi.OutputState } + +func (MachineConfigV2AzureConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2AzureConfig)(nil)).Elem() } -func (o MultiClusterAppTargetOutput) ToMultiClusterAppTargetOutput() MultiClusterAppTargetOutput { +func (o MachineConfigV2AzureConfigOutput) ToMachineConfigV2AzureConfigOutput() MachineConfigV2AzureConfigOutput { return o } -func (o MultiClusterAppTargetOutput) ToMultiClusterAppTargetOutputWithContext(ctx context.Context) MultiClusterAppTargetOutput { +func (o MachineConfigV2AzureConfigOutput) ToMachineConfigV2AzureConfigOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigOutput { return o } -// App ID for target (string) -func (o MultiClusterAppTargetOutput) AppId() pulumi.StringPtrOutput { - return o.ApplyT(func(v MultiClusterAppTarget) *string { return v.AppId }).(pulumi.StringPtrOutput) +func (o MachineConfigV2AzureConfigOutput) ToMachineConfigV2AzureConfigPtrOutput() MachineConfigV2AzureConfigPtrOutput { + return o.ToMachineConfigV2AzureConfigPtrOutputWithContext(context.Background()) } -// App health state for target (string) -func (o MultiClusterAppTargetOutput) HealthState() pulumi.StringPtrOutput { - return o.ApplyT(func(v MultiClusterAppTarget) *string { return v.HealthState }).(pulumi.StringPtrOutput) +func (o MachineConfigV2AzureConfigOutput) ToMachineConfigV2AzureConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2AzureConfig) *MachineConfigV2AzureConfig { + return &v + }).(MachineConfigV2AzureConfigPtrOutput) } -// Project ID for target (string) -func (o MultiClusterAppTargetOutput) ProjectId() pulumi.StringOutput { - return o.ApplyT(func(v MultiClusterAppTarget) string { return v.ProjectId }).(pulumi.StringOutput) +// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) +func (o MachineConfigV2AzureConfigOutput) AvailabilitySet() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.AvailabilitySet }).(pulumi.StringPtrOutput) } -// App state for target (string) -func (o MultiClusterAppTargetOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v MultiClusterAppTarget) *string { return v.State }).(pulumi.StringPtrOutput) +// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2AzureConfigOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.ClientId }).(pulumi.StringPtrOutput) } -type MultiClusterAppTargetArrayOutput struct{ *pulumi.OutputState } - -func (MultiClusterAppTargetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]MultiClusterAppTarget)(nil)).Elem() +// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2AzureConfigOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.ClientSecret }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppTargetArrayOutput) ToMultiClusterAppTargetArrayOutput() MultiClusterAppTargetArrayOutput { - return o +// Path to file with custom-data (string) +func (o MachineConfigV2AzureConfigOutput) CustomData() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.CustomData }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppTargetArrayOutput) ToMultiClusterAppTargetArrayOutputWithContext(ctx context.Context) MultiClusterAppTargetArrayOutput { - return o +// vSphere size of disk for docker VM (in MB). Default `20480` (string) +func (o MachineConfigV2AzureConfigOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppTargetArrayOutput) Index(i pulumi.IntInput) MultiClusterAppTargetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) MultiClusterAppTarget { - return vs[0].([]MultiClusterAppTarget)[vs[1].(int)] - }).(MultiClusterAppTargetOutput) +// A unique DNS label for the public IP adddress (string) +func (o MachineConfigV2AzureConfigOutput) Dns() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Dns }).(pulumi.StringPtrOutput) } -type MultiClusterAppUpgradeStrategy struct { - // Upgrade strategy rolling update (list MaxItems:1) - RollingUpdate *MultiClusterAppUpgradeStrategyRollingUpdate `pulumi:"rollingUpdate"` +// Docker Port. Default `2376` (string) +func (o MachineConfigV2AzureConfigOutput) DockerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.DockerPort }).(pulumi.StringPtrOutput) } -// MultiClusterAppUpgradeStrategyInput is an input type that accepts MultiClusterAppUpgradeStrategyArgs and MultiClusterAppUpgradeStrategyOutput values. -// You can construct a concrete instance of `MultiClusterAppUpgradeStrategyInput` via: -// -// MultiClusterAppUpgradeStrategyArgs{...} -type MultiClusterAppUpgradeStrategyInput interface { - pulumi.Input +// Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) +func (o MachineConfigV2AzureConfigOutput) Environment() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Environment }).(pulumi.StringPtrOutput) +} - ToMultiClusterAppUpgradeStrategyOutput() MultiClusterAppUpgradeStrategyOutput - ToMultiClusterAppUpgradeStrategyOutputWithContext(context.Context) MultiClusterAppUpgradeStrategyOutput +// Fault domain count to use for availability set. Default `3` (string) +func (o MachineConfigV2AzureConfigOutput) FaultDomainCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.FaultDomainCount }).(pulumi.StringPtrOutput) } -type MultiClusterAppUpgradeStrategyArgs struct { - // Upgrade strategy rolling update (list MaxItems:1) - RollingUpdate MultiClusterAppUpgradeStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o MachineConfigV2AzureConfigOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Image }).(pulumi.StringPtrOutput) } -func (MultiClusterAppUpgradeStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MultiClusterAppUpgradeStrategy)(nil)).Elem() +// Azure region to create the virtual machine. Default `westus` (string) +func (o MachineConfigV2AzureConfigOutput) Location() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Location }).(pulumi.StringPtrOutput) } -func (i MultiClusterAppUpgradeStrategyArgs) ToMultiClusterAppUpgradeStrategyOutput() MultiClusterAppUpgradeStrategyOutput { - return i.ToMultiClusterAppUpgradeStrategyOutputWithContext(context.Background()) +// Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) +func (o MachineConfigV2AzureConfigOutput) ManagedDisks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *bool { return v.ManagedDisks }).(pulumi.BoolPtrOutput) } -func (i MultiClusterAppUpgradeStrategyArgs) ToMultiClusterAppUpgradeStrategyOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyOutput) +// Do not create a public IP address for the machine. Default `false` (bool) +func (o MachineConfigV2AzureConfigOutput) NoPublicIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *bool { return v.NoPublicIp }).(pulumi.BoolPtrOutput) } -func (i MultiClusterAppUpgradeStrategyArgs) ToMultiClusterAppUpgradeStrategyPtrOutput() MultiClusterAppUpgradeStrategyPtrOutput { - return i.ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(context.Background()) +// Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) +func (o MachineConfigV2AzureConfigOutput) Nsg() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Nsg }).(pulumi.StringPtrOutput) } -func (i MultiClusterAppUpgradeStrategyArgs) ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyOutput).ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(ctx) +// Make the specified port number accessible from the Internet. (list) +func (o MachineConfigV2AzureConfigOutput) OpenPorts() pulumi.StringArrayOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) []string { return v.OpenPorts }).(pulumi.StringArrayOutput) } -// MultiClusterAppUpgradeStrategyPtrInput is an input type that accepts MultiClusterAppUpgradeStrategyArgs, MultiClusterAppUpgradeStrategyPtr and MultiClusterAppUpgradeStrategyPtrOutput values. -// You can construct a concrete instance of `MultiClusterAppUpgradeStrategyPtrInput` via: -// -// MultiClusterAppUpgradeStrategyArgs{...} -// -// or: -// -// nil -type MultiClusterAppUpgradeStrategyPtrInput interface { - pulumi.Input +// Only use a private IP address. Default `false` (bool) +func (o MachineConfigV2AzureConfigOutput) PrivateAddressOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *bool { return v.PrivateAddressOnly }).(pulumi.BoolPtrOutput) +} - ToMultiClusterAppUpgradeStrategyPtrOutput() MultiClusterAppUpgradeStrategyPtrOutput - ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(context.Context) MultiClusterAppUpgradeStrategyPtrOutput +// Specify a static private IP address for the machine. (string) +func (o MachineConfigV2AzureConfigOutput) PrivateIpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.PrivateIpAddress }).(pulumi.StringPtrOutput) } -type multiClusterAppUpgradeStrategyPtrType MultiClusterAppUpgradeStrategyArgs +// Azure Resource Group name (will be created if missing). Default `docker-machine` (string) +func (o MachineConfigV2AzureConfigOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +} -func MultiClusterAppUpgradeStrategyPtr(v *MultiClusterAppUpgradeStrategyArgs) MultiClusterAppUpgradeStrategyPtrInput { - return (*multiClusterAppUpgradeStrategyPtrType)(v) +// Digital Ocean size. Default `s-1vcpu-1gb` (string) +func (o MachineConfigV2AzureConfigOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Size }).(pulumi.StringPtrOutput) } -func (*multiClusterAppUpgradeStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MultiClusterAppUpgradeStrategy)(nil)).Elem() +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2AzureConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) } -func (i *multiClusterAppUpgradeStrategyPtrType) ToMultiClusterAppUpgradeStrategyPtrOutput() MultiClusterAppUpgradeStrategyPtrOutput { - return i.ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(context.Background()) +// Assign a static public IP address to the machine. Default `false` (bool) +func (o MachineConfigV2AzureConfigOutput) StaticPublicIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *bool { return v.StaticPublicIp }).(pulumi.BoolPtrOutput) } -func (i *multiClusterAppUpgradeStrategyPtrType) ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyPtrOutput) +// Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) +func (o MachineConfigV2AzureConfigOutput) StorageType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.StorageType }).(pulumi.StringPtrOutput) } -type MultiClusterAppUpgradeStrategyOutput struct{ *pulumi.OutputState } +// Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) +func (o MachineConfigV2AzureConfigOutput) Subnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Subnet }).(pulumi.StringPtrOutput) +} -func (MultiClusterAppUpgradeStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MultiClusterAppUpgradeStrategy)(nil)).Elem() +// Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) +func (o MachineConfigV2AzureConfigOutput) SubnetPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.SubnetPrefix }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppUpgradeStrategyOutput) ToMultiClusterAppUpgradeStrategyOutput() MultiClusterAppUpgradeStrategyOutput { - return o +// Azure Subscription ID (string) +func (o MachineConfigV2AzureConfigOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppUpgradeStrategyOutput) ToMultiClusterAppUpgradeStrategyOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyOutput { - return o +// OpenStack tenant id. Conflicts with `tenantName` (string) +func (o MachineConfigV2AzureConfigOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.TenantId }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppUpgradeStrategyOutput) ToMultiClusterAppUpgradeStrategyPtrOutput() MultiClusterAppUpgradeStrategyPtrOutput { - return o.ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(context.Background()) +// Update domain count to use for availability set. Default `5` (string) +func (o MachineConfigV2AzureConfigOutput) UpdateDomainCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.UpdateDomainCount }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppUpgradeStrategyOutput) ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MultiClusterAppUpgradeStrategy) *MultiClusterAppUpgradeStrategy { - return &v - }).(MultiClusterAppUpgradeStrategyPtrOutput) +// Use private IP address of the machine to connect. Default `false` (bool) +func (o MachineConfigV2AzureConfigOutput) UsePrivateIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *bool { return v.UsePrivateIp }).(pulumi.BoolPtrOutput) } -// Upgrade strategy rolling update (list MaxItems:1) -func (o MultiClusterAppUpgradeStrategyOutput) RollingUpdate() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v MultiClusterAppUpgradeStrategy) *MultiClusterAppUpgradeStrategyRollingUpdate { - return v.RollingUpdate - }).(MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) +// Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) +func (o MachineConfigV2AzureConfigOutput) Vnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2AzureConfig) *string { return v.Vnet }).(pulumi.StringPtrOutput) } -type MultiClusterAppUpgradeStrategyPtrOutput struct{ *pulumi.OutputState } +type MachineConfigV2AzureConfigPtrOutput struct{ *pulumi.OutputState } -func (MultiClusterAppUpgradeStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MultiClusterAppUpgradeStrategy)(nil)).Elem() +func (MachineConfigV2AzureConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2AzureConfig)(nil)).Elem() } -func (o MultiClusterAppUpgradeStrategyPtrOutput) ToMultiClusterAppUpgradeStrategyPtrOutput() MultiClusterAppUpgradeStrategyPtrOutput { +func (o MachineConfigV2AzureConfigPtrOutput) ToMachineConfigV2AzureConfigPtrOutput() MachineConfigV2AzureConfigPtrOutput { return o } -func (o MultiClusterAppUpgradeStrategyPtrOutput) ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyPtrOutput { +func (o MachineConfigV2AzureConfigPtrOutput) ToMachineConfigV2AzureConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2AzureConfigPtrOutput { return o } - -func (o MultiClusterAppUpgradeStrategyPtrOutput) Elem() MultiClusterAppUpgradeStrategyOutput { - return o.ApplyT(func(v *MultiClusterAppUpgradeStrategy) MultiClusterAppUpgradeStrategy { + +func (o MachineConfigV2AzureConfigPtrOutput) Elem() MachineConfigV2AzureConfigOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) MachineConfigV2AzureConfig { if v != nil { return *v } - var ret MultiClusterAppUpgradeStrategy + var ret MachineConfigV2AzureConfig return ret - }).(MultiClusterAppUpgradeStrategyOutput) + }).(MachineConfigV2AzureConfigOutput) } -// Upgrade strategy rolling update (list MaxItems:1) -func (o MultiClusterAppUpgradeStrategyPtrOutput) RollingUpdate() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v *MultiClusterAppUpgradeStrategy) *MultiClusterAppUpgradeStrategyRollingUpdate { +// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) +func (o MachineConfigV2AzureConfigPtrOutput) AvailabilitySet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { if v == nil { return nil } - return v.RollingUpdate - }).(MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) + return v.AvailabilitySet + }).(pulumi.StringPtrOutput) } -type MultiClusterAppUpgradeStrategyRollingUpdate struct { - // Rolling update batch size. Default `1` (int) - BatchSize *int `pulumi:"batchSize"` - // Rolling update interval. Default `1` (int) - Interval *int `pulumi:"interval"` +// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2AzureConfigPtrOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.ClientId + }).(pulumi.StringPtrOutput) } -// MultiClusterAppUpgradeStrategyRollingUpdateInput is an input type that accepts MultiClusterAppUpgradeStrategyRollingUpdateArgs and MultiClusterAppUpgradeStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `MultiClusterAppUpgradeStrategyRollingUpdateInput` via: -// -// MultiClusterAppUpgradeStrategyRollingUpdateArgs{...} -type MultiClusterAppUpgradeStrategyRollingUpdateInput interface { - pulumi.Input - - ToMultiClusterAppUpgradeStrategyRollingUpdateOutput() MultiClusterAppUpgradeStrategyRollingUpdateOutput - ToMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(context.Context) MultiClusterAppUpgradeStrategyRollingUpdateOutput +// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2AzureConfigPtrOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.ClientSecret + }).(pulumi.StringPtrOutput) } -type MultiClusterAppUpgradeStrategyRollingUpdateArgs struct { - // Rolling update batch size. Default `1` (int) - BatchSize pulumi.IntPtrInput `pulumi:"batchSize"` - // Rolling update interval. Default `1` (int) - Interval pulumi.IntPtrInput `pulumi:"interval"` +// Path to file with custom-data (string) +func (o MachineConfigV2AzureConfigPtrOutput) CustomData() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.CustomData + }).(pulumi.StringPtrOutput) } -func (MultiClusterAppUpgradeStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() +// vSphere size of disk for docker VM (in MB). Default `20480` (string) +func (o MachineConfigV2AzureConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.DiskSize + }).(pulumi.StringPtrOutput) } -func (i MultiClusterAppUpgradeStrategyRollingUpdateArgs) ToMultiClusterAppUpgradeStrategyRollingUpdateOutput() MultiClusterAppUpgradeStrategyRollingUpdateOutput { - return i.ToMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(context.Background()) +// A unique DNS label for the public IP adddress (string) +func (o MachineConfigV2AzureConfigPtrOutput) Dns() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.Dns + }).(pulumi.StringPtrOutput) } -func (i MultiClusterAppUpgradeStrategyRollingUpdateArgs) ToMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyRollingUpdateOutput) +// Docker Port. Default `2376` (string) +func (o MachineConfigV2AzureConfigPtrOutput) DockerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.DockerPort + }).(pulumi.StringPtrOutput) } -func (i MultiClusterAppUpgradeStrategyRollingUpdateArgs) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return i.ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) +// Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) +func (o MachineConfigV2AzureConfigPtrOutput) Environment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.Environment + }).(pulumi.StringPtrOutput) } -func (i MultiClusterAppUpgradeStrategyRollingUpdateArgs) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyRollingUpdateOutput).ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx) +// Fault domain count to use for availability set. Default `3` (string) +func (o MachineConfigV2AzureConfigPtrOutput) FaultDomainCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.FaultDomainCount + }).(pulumi.StringPtrOutput) } -// MultiClusterAppUpgradeStrategyRollingUpdatePtrInput is an input type that accepts MultiClusterAppUpgradeStrategyRollingUpdateArgs, MultiClusterAppUpgradeStrategyRollingUpdatePtr and MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `MultiClusterAppUpgradeStrategyRollingUpdatePtrInput` via: -// -// MultiClusterAppUpgradeStrategyRollingUpdateArgs{...} -// -// or: -// -// nil -type MultiClusterAppUpgradeStrategyRollingUpdatePtrInput interface { - pulumi.Input - - ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput - ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Context) MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o MachineConfigV2AzureConfigPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.Image + }).(pulumi.StringPtrOutput) } -type multiClusterAppUpgradeStrategyRollingUpdatePtrType MultiClusterAppUpgradeStrategyRollingUpdateArgs - -func MultiClusterAppUpgradeStrategyRollingUpdatePtr(v *MultiClusterAppUpgradeStrategyRollingUpdateArgs) MultiClusterAppUpgradeStrategyRollingUpdatePtrInput { - return (*multiClusterAppUpgradeStrategyRollingUpdatePtrType)(v) +// Azure region to create the virtual machine. Default `westus` (string) +func (o MachineConfigV2AzureConfigPtrOutput) Location() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.Location + }).(pulumi.StringPtrOutput) } -func (*multiClusterAppUpgradeStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() +// Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) +func (o MachineConfigV2AzureConfigPtrOutput) ManagedDisks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *bool { + if v == nil { + return nil + } + return v.ManagedDisks + }).(pulumi.BoolPtrOutput) } -func (i *multiClusterAppUpgradeStrategyRollingUpdatePtrType) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return i.ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) +// Do not create a public IP address for the machine. Default `false` (bool) +func (o MachineConfigV2AzureConfigPtrOutput) NoPublicIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *bool { + if v == nil { + return nil + } + return v.NoPublicIp + }).(pulumi.BoolPtrOutput) } -func (i *multiClusterAppUpgradeStrategyRollingUpdatePtrType) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) +// Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) +func (o MachineConfigV2AzureConfigPtrOutput) Nsg() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.Nsg + }).(pulumi.StringPtrOutput) } -type MultiClusterAppUpgradeStrategyRollingUpdateOutput struct{ *pulumi.OutputState } +// Make the specified port number accessible from the Internet. (list) +func (o MachineConfigV2AzureConfigPtrOutput) OpenPorts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) []string { + if v == nil { + return nil + } + return v.OpenPorts + }).(pulumi.StringArrayOutput) +} -func (MultiClusterAppUpgradeStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() +// Only use a private IP address. Default `false` (bool) +func (o MachineConfigV2AzureConfigPtrOutput) PrivateAddressOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *bool { + if v == nil { + return nil + } + return v.PrivateAddressOnly + }).(pulumi.BoolPtrOutput) } -func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) ToMultiClusterAppUpgradeStrategyRollingUpdateOutput() MultiClusterAppUpgradeStrategyRollingUpdateOutput { - return o +// Specify a static private IP address for the machine. (string) +func (o MachineConfigV2AzureConfigPtrOutput) PrivateIpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.PrivateIpAddress + }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) ToMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdateOutput { - return o +// Azure Resource Group name (will be created if missing). Default `docker-machine` (string) +func (o MachineConfigV2AzureConfigPtrOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.ResourceGroup + }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o.ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) +// Digital Ocean size. Default `s-1vcpu-1gb` (string) +func (o MachineConfigV2AzureConfigPtrOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.Size + }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MultiClusterAppUpgradeStrategyRollingUpdate) *MultiClusterAppUpgradeStrategyRollingUpdate { - return &v - }).(MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2AzureConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.SshUser + }).(pulumi.StringPtrOutput) } -// Rolling update batch size. Default `1` (int) -func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) BatchSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v MultiClusterAppUpgradeStrategyRollingUpdate) *int { return v.BatchSize }).(pulumi.IntPtrOutput) +// Assign a static public IP address to the machine. Default `false` (bool) +func (o MachineConfigV2AzureConfigPtrOutput) StaticPublicIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *bool { + if v == nil { + return nil + } + return v.StaticPublicIp + }).(pulumi.BoolPtrOutput) } -// Rolling update interval. Default `1` (int) -func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v MultiClusterAppUpgradeStrategyRollingUpdate) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) +func (o MachineConfigV2AzureConfigPtrOutput) StorageType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.StorageType + }).(pulumi.StringPtrOutput) } -type MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } +// Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) +func (o MachineConfigV2AzureConfigPtrOutput) Subnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.Subnet + }).(pulumi.StringPtrOutput) +} -func (MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() +// Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) +func (o MachineConfigV2AzureConfigPtrOutput) SubnetPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.SubnetPrefix + }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o +// Azure Subscription ID (string) +func (o MachineConfigV2AzureConfigPtrOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.SubscriptionId + }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o +// OpenStack tenant id. Conflicts with `tenantName` (string) +func (o MachineConfigV2AzureConfigPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil + } + return v.TenantId + }).(pulumi.StringPtrOutput) } -func (o MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) Elem() MultiClusterAppUpgradeStrategyRollingUpdateOutput { - return o.ApplyT(func(v *MultiClusterAppUpgradeStrategyRollingUpdate) MultiClusterAppUpgradeStrategyRollingUpdate { - if v != nil { - return *v +// Update domain count to use for availability set. Default `5` (string) +func (o MachineConfigV2AzureConfigPtrOutput) UpdateDomainCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { + if v == nil { + return nil } - var ret MultiClusterAppUpgradeStrategyRollingUpdate - return ret - }).(MultiClusterAppUpgradeStrategyRollingUpdateOutput) + return v.UpdateDomainCount + }).(pulumi.StringPtrOutput) } -// Rolling update batch size. Default `1` (int) -func (o MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) BatchSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *MultiClusterAppUpgradeStrategyRollingUpdate) *int { +// Use private IP address of the machine to connect. Default `false` (bool) +func (o MachineConfigV2AzureConfigPtrOutput) UsePrivateIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *bool { if v == nil { return nil } - return v.BatchSize - }).(pulumi.IntPtrOutput) + return v.UsePrivateIp + }).(pulumi.BoolPtrOutput) } -// Rolling update interval. Default `1` (int) -func (o MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *MultiClusterAppUpgradeStrategyRollingUpdate) *int { +// Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) +func (o MachineConfigV2AzureConfigPtrOutput) Vnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2AzureConfig) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return v.Vnet + }).(pulumi.StringPtrOutput) } -type NamespaceContainerResourceLimit struct { - // Limit for limits cpu in namespace (string) - LimitsCpu *string `pulumi:"limitsCpu"` - // Limit for limits memory in namespace (string) - LimitsMemory *string `pulumi:"limitsMemory"` - // Limit for requests cpu in namespace (string) - RequestsCpu *string `pulumi:"requestsCpu"` - // Limit for requests memory in namespace (string) - RequestsMemory *string `pulumi:"requestsMemory"` +type MachineConfigV2DigitaloceanConfig struct { + // Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + AccessToken *string `pulumi:"accessToken"` + // Enable backups for droplet. Default `false` (bool) + Backups *bool `pulumi:"backups"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image *string `pulumi:"image"` + // Enable ipv6 for droplet. Default `false` (bool) + Ipv6 *bool `pulumi:"ipv6"` + // Enable monitoring for droplet. Default `false` (bool) + Monitoring *bool `pulumi:"monitoring"` + // Enable private networking for droplet. Default `false` (bool) + PrivateNetworking *bool `pulumi:"privateNetworking"` + // OpenStack region name (string) + Region *string `pulumi:"region"` + // Digital Ocean size. Default `s-1vcpu-1gb` (string) + Size *string `pulumi:"size"` + // SSH private key contents (string) + SshKeyContents *string `pulumi:"sshKeyContents"` + // SSH key fingerprint (string) + SshKeyFingerprint *string `pulumi:"sshKeyFingerprint"` + // If using a non-B2D image you can specify the ssh port. Default `22` (string) + SshPort *string `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) + SshUser *string `pulumi:"sshUser"` + // vSphere tags id e.g. `urn:xxx` (list) + Tags *string `pulumi:"tags"` + // Path to file with cloud-init user-data (string) + Userdata *string `pulumi:"userdata"` } -// NamespaceContainerResourceLimitInput is an input type that accepts NamespaceContainerResourceLimitArgs and NamespaceContainerResourceLimitOutput values. -// You can construct a concrete instance of `NamespaceContainerResourceLimitInput` via: +// MachineConfigV2DigitaloceanConfigInput is an input type that accepts MachineConfigV2DigitaloceanConfigArgs and MachineConfigV2DigitaloceanConfigOutput values. +// You can construct a concrete instance of `MachineConfigV2DigitaloceanConfigInput` via: // -// NamespaceContainerResourceLimitArgs{...} -type NamespaceContainerResourceLimitInput interface { +// MachineConfigV2DigitaloceanConfigArgs{...} +type MachineConfigV2DigitaloceanConfigInput interface { pulumi.Input - ToNamespaceContainerResourceLimitOutput() NamespaceContainerResourceLimitOutput - ToNamespaceContainerResourceLimitOutputWithContext(context.Context) NamespaceContainerResourceLimitOutput + ToMachineConfigV2DigitaloceanConfigOutput() MachineConfigV2DigitaloceanConfigOutput + ToMachineConfigV2DigitaloceanConfigOutputWithContext(context.Context) MachineConfigV2DigitaloceanConfigOutput } -type NamespaceContainerResourceLimitArgs struct { - // Limit for limits cpu in namespace (string) - LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` - // Limit for limits memory in namespace (string) - LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` - // Limit for requests cpu in namespace (string) - RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` - // Limit for requests memory in namespace (string) - RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` +type MachineConfigV2DigitaloceanConfigArgs struct { + // Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + AccessToken pulumi.StringPtrInput `pulumi:"accessToken"` + // Enable backups for droplet. Default `false` (bool) + Backups pulumi.BoolPtrInput `pulumi:"backups"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image pulumi.StringPtrInput `pulumi:"image"` + // Enable ipv6 for droplet. Default `false` (bool) + Ipv6 pulumi.BoolPtrInput `pulumi:"ipv6"` + // Enable monitoring for droplet. Default `false` (bool) + Monitoring pulumi.BoolPtrInput `pulumi:"monitoring"` + // Enable private networking for droplet. Default `false` (bool) + PrivateNetworking pulumi.BoolPtrInput `pulumi:"privateNetworking"` + // OpenStack region name (string) + Region pulumi.StringPtrInput `pulumi:"region"` + // Digital Ocean size. Default `s-1vcpu-1gb` (string) + Size pulumi.StringPtrInput `pulumi:"size"` + // SSH private key contents (string) + SshKeyContents pulumi.StringPtrInput `pulumi:"sshKeyContents"` + // SSH key fingerprint (string) + SshKeyFingerprint pulumi.StringPtrInput `pulumi:"sshKeyFingerprint"` + // If using a non-B2D image you can specify the ssh port. Default `22` (string) + SshPort pulumi.StringPtrInput `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) + SshUser pulumi.StringPtrInput `pulumi:"sshUser"` + // vSphere tags id e.g. `urn:xxx` (list) + Tags pulumi.StringPtrInput `pulumi:"tags"` + // Path to file with cloud-init user-data (string) + Userdata pulumi.StringPtrInput `pulumi:"userdata"` } -func (NamespaceContainerResourceLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NamespaceContainerResourceLimit)(nil)).Elem() +func (MachineConfigV2DigitaloceanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2DigitaloceanConfig)(nil)).Elem() } -func (i NamespaceContainerResourceLimitArgs) ToNamespaceContainerResourceLimitOutput() NamespaceContainerResourceLimitOutput { - return i.ToNamespaceContainerResourceLimitOutputWithContext(context.Background()) +func (i MachineConfigV2DigitaloceanConfigArgs) ToMachineConfigV2DigitaloceanConfigOutput() MachineConfigV2DigitaloceanConfigOutput { + return i.ToMachineConfigV2DigitaloceanConfigOutputWithContext(context.Background()) } -func (i NamespaceContainerResourceLimitArgs) ToNamespaceContainerResourceLimitOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(NamespaceContainerResourceLimitOutput) +func (i MachineConfigV2DigitaloceanConfigArgs) ToMachineConfigV2DigitaloceanConfigOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2DigitaloceanConfigOutput) } -func (i NamespaceContainerResourceLimitArgs) ToNamespaceContainerResourceLimitPtrOutput() NamespaceContainerResourceLimitPtrOutput { - return i.ToNamespaceContainerResourceLimitPtrOutputWithContext(context.Background()) +func (i MachineConfigV2DigitaloceanConfigArgs) ToMachineConfigV2DigitaloceanConfigPtrOutput() MachineConfigV2DigitaloceanConfigPtrOutput { + return i.ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(context.Background()) } -func (i NamespaceContainerResourceLimitArgs) ToNamespaceContainerResourceLimitPtrOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NamespaceContainerResourceLimitOutput).ToNamespaceContainerResourceLimitPtrOutputWithContext(ctx) +func (i MachineConfigV2DigitaloceanConfigArgs) ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2DigitaloceanConfigOutput).ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(ctx) } -// NamespaceContainerResourceLimitPtrInput is an input type that accepts NamespaceContainerResourceLimitArgs, NamespaceContainerResourceLimitPtr and NamespaceContainerResourceLimitPtrOutput values. -// You can construct a concrete instance of `NamespaceContainerResourceLimitPtrInput` via: +// MachineConfigV2DigitaloceanConfigPtrInput is an input type that accepts MachineConfigV2DigitaloceanConfigArgs, MachineConfigV2DigitaloceanConfigPtr and MachineConfigV2DigitaloceanConfigPtrOutput values. +// You can construct a concrete instance of `MachineConfigV2DigitaloceanConfigPtrInput` via: // -// NamespaceContainerResourceLimitArgs{...} +// MachineConfigV2DigitaloceanConfigArgs{...} // // or: // // nil -type NamespaceContainerResourceLimitPtrInput interface { +type MachineConfigV2DigitaloceanConfigPtrInput interface { pulumi.Input - ToNamespaceContainerResourceLimitPtrOutput() NamespaceContainerResourceLimitPtrOutput - ToNamespaceContainerResourceLimitPtrOutputWithContext(context.Context) NamespaceContainerResourceLimitPtrOutput + ToMachineConfigV2DigitaloceanConfigPtrOutput() MachineConfigV2DigitaloceanConfigPtrOutput + ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(context.Context) MachineConfigV2DigitaloceanConfigPtrOutput } -type namespaceContainerResourceLimitPtrType NamespaceContainerResourceLimitArgs +type machineConfigV2DigitaloceanConfigPtrType MachineConfigV2DigitaloceanConfigArgs -func NamespaceContainerResourceLimitPtr(v *NamespaceContainerResourceLimitArgs) NamespaceContainerResourceLimitPtrInput { - return (*namespaceContainerResourceLimitPtrType)(v) +func MachineConfigV2DigitaloceanConfigPtr(v *MachineConfigV2DigitaloceanConfigArgs) MachineConfigV2DigitaloceanConfigPtrInput { + return (*machineConfigV2DigitaloceanConfigPtrType)(v) } -func (*namespaceContainerResourceLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NamespaceContainerResourceLimit)(nil)).Elem() +func (*machineConfigV2DigitaloceanConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2DigitaloceanConfig)(nil)).Elem() } -func (i *namespaceContainerResourceLimitPtrType) ToNamespaceContainerResourceLimitPtrOutput() NamespaceContainerResourceLimitPtrOutput { - return i.ToNamespaceContainerResourceLimitPtrOutputWithContext(context.Background()) +func (i *machineConfigV2DigitaloceanConfigPtrType) ToMachineConfigV2DigitaloceanConfigPtrOutput() MachineConfigV2DigitaloceanConfigPtrOutput { + return i.ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(context.Background()) } -func (i *namespaceContainerResourceLimitPtrType) ToNamespaceContainerResourceLimitPtrOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NamespaceContainerResourceLimitPtrOutput) +func (i *machineConfigV2DigitaloceanConfigPtrType) ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2DigitaloceanConfigPtrOutput) +} + +type MachineConfigV2DigitaloceanConfigOutput struct{ *pulumi.OutputState } + +func (MachineConfigV2DigitaloceanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2DigitaloceanConfig)(nil)).Elem() +} + +func (o MachineConfigV2DigitaloceanConfigOutput) ToMachineConfigV2DigitaloceanConfigOutput() MachineConfigV2DigitaloceanConfigOutput { + return o +} + +func (o MachineConfigV2DigitaloceanConfigOutput) ToMachineConfigV2DigitaloceanConfigOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigOutput { + return o +} + +func (o MachineConfigV2DigitaloceanConfigOutput) ToMachineConfigV2DigitaloceanConfigPtrOutput() MachineConfigV2DigitaloceanConfigPtrOutput { + return o.ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(context.Background()) +} + +func (o MachineConfigV2DigitaloceanConfigOutput) ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2DigitaloceanConfig) *MachineConfigV2DigitaloceanConfig { + return &v + }).(MachineConfigV2DigitaloceanConfigPtrOutput) +} + +// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2DigitaloceanConfigOutput) AccessToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.AccessToken }).(pulumi.StringPtrOutput) +} + +// Enable backups for droplet. Default `false` (bool) +func (o MachineConfigV2DigitaloceanConfigOutput) Backups() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *bool { return v.Backups }).(pulumi.BoolPtrOutput) +} + +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o MachineConfigV2DigitaloceanConfigOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.Image }).(pulumi.StringPtrOutput) +} + +// Enable ipv6 for droplet. Default `false` (bool) +func (o MachineConfigV2DigitaloceanConfigOutput) Ipv6() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *bool { return v.Ipv6 }).(pulumi.BoolPtrOutput) } -type NamespaceContainerResourceLimitOutput struct{ *pulumi.OutputState } +// Enable monitoring for droplet. Default `false` (bool) +func (o MachineConfigV2DigitaloceanConfigOutput) Monitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *bool { return v.Monitoring }).(pulumi.BoolPtrOutput) +} -func (NamespaceContainerResourceLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NamespaceContainerResourceLimit)(nil)).Elem() +// Enable private networking for droplet. Default `false` (bool) +func (o MachineConfigV2DigitaloceanConfigOutput) PrivateNetworking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *bool { return v.PrivateNetworking }).(pulumi.BoolPtrOutput) } -func (o NamespaceContainerResourceLimitOutput) ToNamespaceContainerResourceLimitOutput() NamespaceContainerResourceLimitOutput { - return o +// OpenStack region name (string) +func (o MachineConfigV2DigitaloceanConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o NamespaceContainerResourceLimitOutput) ToNamespaceContainerResourceLimitOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitOutput { - return o +// Digital Ocean size. Default `s-1vcpu-1gb` (string) +func (o MachineConfigV2DigitaloceanConfigOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.Size }).(pulumi.StringPtrOutput) } -func (o NamespaceContainerResourceLimitOutput) ToNamespaceContainerResourceLimitPtrOutput() NamespaceContainerResourceLimitPtrOutput { - return o.ToNamespaceContainerResourceLimitPtrOutputWithContext(context.Background()) +// SSH private key contents (string) +func (o MachineConfigV2DigitaloceanConfigOutput) SshKeyContents() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.SshKeyContents }).(pulumi.StringPtrOutput) } -func (o NamespaceContainerResourceLimitOutput) ToNamespaceContainerResourceLimitPtrOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NamespaceContainerResourceLimit) *NamespaceContainerResourceLimit { - return &v - }).(NamespaceContainerResourceLimitPtrOutput) +// SSH key fingerprint (string) +func (o MachineConfigV2DigitaloceanConfigOutput) SshKeyFingerprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.SshKeyFingerprint }).(pulumi.StringPtrOutput) } -// Limit for limits cpu in namespace (string) -func (o NamespaceContainerResourceLimitOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceContainerResourceLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) +// If using a non-B2D image you can specify the ssh port. Default `22` (string) +func (o MachineConfigV2DigitaloceanConfigOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) } -// Limit for limits memory in namespace (string) -func (o NamespaceContainerResourceLimitOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceContainerResourceLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2DigitaloceanConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) } -// Limit for requests cpu in namespace (string) -func (o NamespaceContainerResourceLimitOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceContainerResourceLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +// vSphere tags id e.g. `urn:xxx` (list) +func (o MachineConfigV2DigitaloceanConfigOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.Tags }).(pulumi.StringPtrOutput) } -// Limit for requests memory in namespace (string) -func (o NamespaceContainerResourceLimitOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceContainerResourceLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +// Path to file with cloud-init user-data (string) +func (o MachineConfigV2DigitaloceanConfigOutput) Userdata() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2DigitaloceanConfig) *string { return v.Userdata }).(pulumi.StringPtrOutput) } -type NamespaceContainerResourceLimitPtrOutput struct{ *pulumi.OutputState } +type MachineConfigV2DigitaloceanConfigPtrOutput struct{ *pulumi.OutputState } -func (NamespaceContainerResourceLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NamespaceContainerResourceLimit)(nil)).Elem() +func (MachineConfigV2DigitaloceanConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2DigitaloceanConfig)(nil)).Elem() } -func (o NamespaceContainerResourceLimitPtrOutput) ToNamespaceContainerResourceLimitPtrOutput() NamespaceContainerResourceLimitPtrOutput { +func (o MachineConfigV2DigitaloceanConfigPtrOutput) ToMachineConfigV2DigitaloceanConfigPtrOutput() MachineConfigV2DigitaloceanConfigPtrOutput { return o } -func (o NamespaceContainerResourceLimitPtrOutput) ToNamespaceContainerResourceLimitPtrOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitPtrOutput { +func (o MachineConfigV2DigitaloceanConfigPtrOutput) ToMachineConfigV2DigitaloceanConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2DigitaloceanConfigPtrOutput { return o } -func (o NamespaceContainerResourceLimitPtrOutput) Elem() NamespaceContainerResourceLimitOutput { - return o.ApplyT(func(v *NamespaceContainerResourceLimit) NamespaceContainerResourceLimit { +func (o MachineConfigV2DigitaloceanConfigPtrOutput) Elem() MachineConfigV2DigitaloceanConfigOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) MachineConfigV2DigitaloceanConfig { if v != nil { return *v } - var ret NamespaceContainerResourceLimit + var ret MachineConfigV2DigitaloceanConfig return ret - }).(NamespaceContainerResourceLimitOutput) + }).(MachineConfigV2DigitaloceanConfigOutput) } -// Limit for limits cpu in namespace (string) -func (o NamespaceContainerResourceLimitPtrOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceContainerResourceLimit) *string { +// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) AccessToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { if v == nil { return nil } - return v.LimitsCpu + return v.AccessToken }).(pulumi.StringPtrOutput) } -// Limit for limits memory in namespace (string) -func (o NamespaceContainerResourceLimitPtrOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceContainerResourceLimit) *string { +// Enable backups for droplet. Default `false` (bool) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) Backups() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *bool { if v == nil { return nil } - return v.LimitsMemory - }).(pulumi.StringPtrOutput) + return v.Backups + }).(pulumi.BoolPtrOutput) } -// Limit for requests cpu in namespace (string) -func (o NamespaceContainerResourceLimitPtrOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceContainerResourceLimit) *string { +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { if v == nil { return nil } - return v.RequestsCpu + return v.Image }).(pulumi.StringPtrOutput) } -// Limit for requests memory in namespace (string) -func (o NamespaceContainerResourceLimitPtrOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceContainerResourceLimit) *string { +// Enable ipv6 for droplet. Default `false` (bool) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) Ipv6() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *bool { if v == nil { return nil } - return v.RequestsMemory - }).(pulumi.StringPtrOutput) -} - -type NamespaceResourceQuota struct { - // Resource quota limit for namespace (list maxitems:1) - Limit NamespaceResourceQuotaLimit `pulumi:"limit"` -} - -// NamespaceResourceQuotaInput is an input type that accepts NamespaceResourceQuotaArgs and NamespaceResourceQuotaOutput values. -// You can construct a concrete instance of `NamespaceResourceQuotaInput` via: -// -// NamespaceResourceQuotaArgs{...} -type NamespaceResourceQuotaInput interface { - pulumi.Input - - ToNamespaceResourceQuotaOutput() NamespaceResourceQuotaOutput - ToNamespaceResourceQuotaOutputWithContext(context.Context) NamespaceResourceQuotaOutput -} - -type NamespaceResourceQuotaArgs struct { - // Resource quota limit for namespace (list maxitems:1) - Limit NamespaceResourceQuotaLimitInput `pulumi:"limit"` -} - -func (NamespaceResourceQuotaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NamespaceResourceQuota)(nil)).Elem() -} - -func (i NamespaceResourceQuotaArgs) ToNamespaceResourceQuotaOutput() NamespaceResourceQuotaOutput { - return i.ToNamespaceResourceQuotaOutputWithContext(context.Background()) -} - -func (i NamespaceResourceQuotaArgs) ToNamespaceResourceQuotaOutputWithContext(ctx context.Context) NamespaceResourceQuotaOutput { - return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaOutput) -} - -func (i NamespaceResourceQuotaArgs) ToNamespaceResourceQuotaPtrOutput() NamespaceResourceQuotaPtrOutput { - return i.ToNamespaceResourceQuotaPtrOutputWithContext(context.Background()) -} - -func (i NamespaceResourceQuotaArgs) ToNamespaceResourceQuotaPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaOutput).ToNamespaceResourceQuotaPtrOutputWithContext(ctx) -} - -// NamespaceResourceQuotaPtrInput is an input type that accepts NamespaceResourceQuotaArgs, NamespaceResourceQuotaPtr and NamespaceResourceQuotaPtrOutput values. -// You can construct a concrete instance of `NamespaceResourceQuotaPtrInput` via: -// -// NamespaceResourceQuotaArgs{...} -// -// or: -// -// nil -type NamespaceResourceQuotaPtrInput interface { - pulumi.Input - - ToNamespaceResourceQuotaPtrOutput() NamespaceResourceQuotaPtrOutput - ToNamespaceResourceQuotaPtrOutputWithContext(context.Context) NamespaceResourceQuotaPtrOutput -} - -type namespaceResourceQuotaPtrType NamespaceResourceQuotaArgs - -func NamespaceResourceQuotaPtr(v *NamespaceResourceQuotaArgs) NamespaceResourceQuotaPtrInput { - return (*namespaceResourceQuotaPtrType)(v) -} - -func (*namespaceResourceQuotaPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NamespaceResourceQuota)(nil)).Elem() -} - -func (i *namespaceResourceQuotaPtrType) ToNamespaceResourceQuotaPtrOutput() NamespaceResourceQuotaPtrOutput { - return i.ToNamespaceResourceQuotaPtrOutputWithContext(context.Background()) -} - -func (i *namespaceResourceQuotaPtrType) ToNamespaceResourceQuotaPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaPtrOutput) -} - -type NamespaceResourceQuotaOutput struct{ *pulumi.OutputState } - -func (NamespaceResourceQuotaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NamespaceResourceQuota)(nil)).Elem() + return v.Ipv6 + }).(pulumi.BoolPtrOutput) } -func (o NamespaceResourceQuotaOutput) ToNamespaceResourceQuotaOutput() NamespaceResourceQuotaOutput { - return o +// Enable monitoring for droplet. Default `false` (bool) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) Monitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *bool { + if v == nil { + return nil + } + return v.Monitoring + }).(pulumi.BoolPtrOutput) } -func (o NamespaceResourceQuotaOutput) ToNamespaceResourceQuotaOutputWithContext(ctx context.Context) NamespaceResourceQuotaOutput { - return o +// Enable private networking for droplet. Default `false` (bool) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) PrivateNetworking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *bool { + if v == nil { + return nil + } + return v.PrivateNetworking + }).(pulumi.BoolPtrOutput) } -func (o NamespaceResourceQuotaOutput) ToNamespaceResourceQuotaPtrOutput() NamespaceResourceQuotaPtrOutput { - return o.ToNamespaceResourceQuotaPtrOutputWithContext(context.Background()) +// OpenStack region name (string) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (o NamespaceResourceQuotaOutput) ToNamespaceResourceQuotaPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NamespaceResourceQuota) *NamespaceResourceQuota { - return &v - }).(NamespaceResourceQuotaPtrOutput) +// Digital Ocean size. Default `s-1vcpu-1gb` (string) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { + if v == nil { + return nil + } + return v.Size + }).(pulumi.StringPtrOutput) } -// Resource quota limit for namespace (list maxitems:1) -func (o NamespaceResourceQuotaOutput) Limit() NamespaceResourceQuotaLimitOutput { - return o.ApplyT(func(v NamespaceResourceQuota) NamespaceResourceQuotaLimit { return v.Limit }).(NamespaceResourceQuotaLimitOutput) +// SSH private key contents (string) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) SshKeyContents() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { + if v == nil { + return nil + } + return v.SshKeyContents + }).(pulumi.StringPtrOutput) } -type NamespaceResourceQuotaPtrOutput struct{ *pulumi.OutputState } - -func (NamespaceResourceQuotaPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NamespaceResourceQuota)(nil)).Elem() +// SSH key fingerprint (string) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) SshKeyFingerprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { + if v == nil { + return nil + } + return v.SshKeyFingerprint + }).(pulumi.StringPtrOutput) } -func (o NamespaceResourceQuotaPtrOutput) ToNamespaceResourceQuotaPtrOutput() NamespaceResourceQuotaPtrOutput { - return o +// If using a non-B2D image you can specify the ssh port. Default `22` (string) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { + if v == nil { + return nil + } + return v.SshPort + }).(pulumi.StringPtrOutput) } -func (o NamespaceResourceQuotaPtrOutput) ToNamespaceResourceQuotaPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaPtrOutput { - return o +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { + if v == nil { + return nil + } + return v.SshUser + }).(pulumi.StringPtrOutput) } -func (o NamespaceResourceQuotaPtrOutput) Elem() NamespaceResourceQuotaOutput { - return o.ApplyT(func(v *NamespaceResourceQuota) NamespaceResourceQuota { - if v != nil { - return *v +// vSphere tags id e.g. `urn:xxx` (list) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { + if v == nil { + return nil } - var ret NamespaceResourceQuota - return ret - }).(NamespaceResourceQuotaOutput) + return v.Tags + }).(pulumi.StringPtrOutput) } -// Resource quota limit for namespace (list maxitems:1) -func (o NamespaceResourceQuotaPtrOutput) Limit() NamespaceResourceQuotaLimitPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuota) *NamespaceResourceQuotaLimit { +// Path to file with cloud-init user-data (string) +func (o MachineConfigV2DigitaloceanConfigPtrOutput) Userdata() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2DigitaloceanConfig) *string { if v == nil { return nil } - return &v.Limit - }).(NamespaceResourceQuotaLimitPtrOutput) + return v.Userdata + }).(pulumi.StringPtrOutput) } -type NamespaceResourceQuotaLimit struct { - // Limit for config maps in namespace (string) - ConfigMaps *string `pulumi:"configMaps"` - // Limit for limits cpu in namespace (string) - LimitsCpu *string `pulumi:"limitsCpu"` - // Limit for limits memory in namespace (string) - LimitsMemory *string `pulumi:"limitsMemory"` - // Limit for persistent volume claims in namespace (string) - PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` - // Limit for pods in namespace (string) - Pods *string `pulumi:"pods"` - // Limit for replication controllers in namespace (string) - ReplicationControllers *string `pulumi:"replicationControllers"` - // Limit for requests cpu in namespace (string) - RequestsCpu *string `pulumi:"requestsCpu"` - // Limit for requests memory in namespace (string) - RequestsMemory *string `pulumi:"requestsMemory"` - // Limit for requests storage in namespace (string) - RequestsStorage *string `pulumi:"requestsStorage"` - // Limit for secrets in namespace (string) - Secrets *string `pulumi:"secrets"` - Services *string `pulumi:"services"` - // Limit for services load balancers in namespace (string) - ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` - // Limit for services node ports in namespace (string) - ServicesNodePorts *string `pulumi:"servicesNodePorts"` +type MachineConfigV2HarvesterConfig struct { + // vSphere CPU number for docker VM. Default `2` (string) + CpuCount *string `pulumi:"cpuCount"` + // Disk bus, Default `virtio` (string) + DiskBus *string `pulumi:"diskBus"` + // vSphere size of disk for docker VM (in MB). Default `20480` (string) + DiskSize *string `pulumi:"diskSize"` + // OpenStack image name to use for the instance. Conflicts with `imageId` (string) + ImageName string `pulumi:"imageName"` + // vSphere size of memory for docker VM (in MB). Default `2048` (string) + MemorySize *string `pulumi:"memorySize"` + // NetworkData content of cloud-init, base64 is supported (string) + NetworkData *string `pulumi:"networkData"` + // Network model, Default `virtio` (string) + NetworkModel *string `pulumi:"networkModel"` + // Network name e.g. `harvester-public/vlan1` (string) + NetworkName string `pulumi:"networkName"` + // If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) + SshPassword *string `pulumi:"sshPassword"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) + SshUser string `pulumi:"sshUser"` + // UserData content of cloud-init, base64 is supported (string) + UserData *string `pulumi:"userData"` + // Virtual machine namespace e.g. `default` (string) + VmNamespace string `pulumi:"vmNamespace"` } -// NamespaceResourceQuotaLimitInput is an input type that accepts NamespaceResourceQuotaLimitArgs and NamespaceResourceQuotaLimitOutput values. -// You can construct a concrete instance of `NamespaceResourceQuotaLimitInput` via: +// MachineConfigV2HarvesterConfigInput is an input type that accepts MachineConfigV2HarvesterConfigArgs and MachineConfigV2HarvesterConfigOutput values. +// You can construct a concrete instance of `MachineConfigV2HarvesterConfigInput` via: // -// NamespaceResourceQuotaLimitArgs{...} -type NamespaceResourceQuotaLimitInput interface { +// MachineConfigV2HarvesterConfigArgs{...} +type MachineConfigV2HarvesterConfigInput interface { pulumi.Input - ToNamespaceResourceQuotaLimitOutput() NamespaceResourceQuotaLimitOutput - ToNamespaceResourceQuotaLimitOutputWithContext(context.Context) NamespaceResourceQuotaLimitOutput + ToMachineConfigV2HarvesterConfigOutput() MachineConfigV2HarvesterConfigOutput + ToMachineConfigV2HarvesterConfigOutputWithContext(context.Context) MachineConfigV2HarvesterConfigOutput } -type NamespaceResourceQuotaLimitArgs struct { - // Limit for config maps in namespace (string) - ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` - // Limit for limits cpu in namespace (string) - LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` - // Limit for limits memory in namespace (string) - LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` - // Limit for persistent volume claims in namespace (string) - PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` - // Limit for pods in namespace (string) - Pods pulumi.StringPtrInput `pulumi:"pods"` - // Limit for replication controllers in namespace (string) - ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` - // Limit for requests cpu in namespace (string) - RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` - // Limit for requests memory in namespace (string) - RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` - // Limit for requests storage in namespace (string) - RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` - // Limit for secrets in namespace (string) - Secrets pulumi.StringPtrInput `pulumi:"secrets"` - Services pulumi.StringPtrInput `pulumi:"services"` - // Limit for services load balancers in namespace (string) - ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` - // Limit for services node ports in namespace (string) - ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` +type MachineConfigV2HarvesterConfigArgs struct { + // vSphere CPU number for docker VM. Default `2` (string) + CpuCount pulumi.StringPtrInput `pulumi:"cpuCount"` + // Disk bus, Default `virtio` (string) + DiskBus pulumi.StringPtrInput `pulumi:"diskBus"` + // vSphere size of disk for docker VM (in MB). Default `20480` (string) + DiskSize pulumi.StringPtrInput `pulumi:"diskSize"` + // OpenStack image name to use for the instance. Conflicts with `imageId` (string) + ImageName pulumi.StringInput `pulumi:"imageName"` + // vSphere size of memory for docker VM (in MB). Default `2048` (string) + MemorySize pulumi.StringPtrInput `pulumi:"memorySize"` + // NetworkData content of cloud-init, base64 is supported (string) + NetworkData pulumi.StringPtrInput `pulumi:"networkData"` + // Network model, Default `virtio` (string) + NetworkModel pulumi.StringPtrInput `pulumi:"networkModel"` + // Network name e.g. `harvester-public/vlan1` (string) + NetworkName pulumi.StringInput `pulumi:"networkName"` + // If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) + SshPassword pulumi.StringPtrInput `pulumi:"sshPassword"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) + SshUser pulumi.StringInput `pulumi:"sshUser"` + // UserData content of cloud-init, base64 is supported (string) + UserData pulumi.StringPtrInput `pulumi:"userData"` + // Virtual machine namespace e.g. `default` (string) + VmNamespace pulumi.StringInput `pulumi:"vmNamespace"` } -func (NamespaceResourceQuotaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NamespaceResourceQuotaLimit)(nil)).Elem() +func (MachineConfigV2HarvesterConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2HarvesterConfig)(nil)).Elem() } -func (i NamespaceResourceQuotaLimitArgs) ToNamespaceResourceQuotaLimitOutput() NamespaceResourceQuotaLimitOutput { - return i.ToNamespaceResourceQuotaLimitOutputWithContext(context.Background()) +func (i MachineConfigV2HarvesterConfigArgs) ToMachineConfigV2HarvesterConfigOutput() MachineConfigV2HarvesterConfigOutput { + return i.ToMachineConfigV2HarvesterConfigOutputWithContext(context.Background()) } -func (i NamespaceResourceQuotaLimitArgs) ToNamespaceResourceQuotaLimitOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaLimitOutput) +func (i MachineConfigV2HarvesterConfigArgs) ToMachineConfigV2HarvesterConfigOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2HarvesterConfigOutput) } -func (i NamespaceResourceQuotaLimitArgs) ToNamespaceResourceQuotaLimitPtrOutput() NamespaceResourceQuotaLimitPtrOutput { - return i.ToNamespaceResourceQuotaLimitPtrOutputWithContext(context.Background()) +func (i MachineConfigV2HarvesterConfigArgs) ToMachineConfigV2HarvesterConfigPtrOutput() MachineConfigV2HarvesterConfigPtrOutput { + return i.ToMachineConfigV2HarvesterConfigPtrOutputWithContext(context.Background()) } -func (i NamespaceResourceQuotaLimitArgs) ToNamespaceResourceQuotaLimitPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaLimitOutput).ToNamespaceResourceQuotaLimitPtrOutputWithContext(ctx) +func (i MachineConfigV2HarvesterConfigArgs) ToMachineConfigV2HarvesterConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2HarvesterConfigOutput).ToMachineConfigV2HarvesterConfigPtrOutputWithContext(ctx) } -// NamespaceResourceQuotaLimitPtrInput is an input type that accepts NamespaceResourceQuotaLimitArgs, NamespaceResourceQuotaLimitPtr and NamespaceResourceQuotaLimitPtrOutput values. -// You can construct a concrete instance of `NamespaceResourceQuotaLimitPtrInput` via: +// MachineConfigV2HarvesterConfigPtrInput is an input type that accepts MachineConfigV2HarvesterConfigArgs, MachineConfigV2HarvesterConfigPtr and MachineConfigV2HarvesterConfigPtrOutput values. +// You can construct a concrete instance of `MachineConfigV2HarvesterConfigPtrInput` via: // -// NamespaceResourceQuotaLimitArgs{...} +// MachineConfigV2HarvesterConfigArgs{...} // // or: // // nil -type NamespaceResourceQuotaLimitPtrInput interface { +type MachineConfigV2HarvesterConfigPtrInput interface { pulumi.Input - ToNamespaceResourceQuotaLimitPtrOutput() NamespaceResourceQuotaLimitPtrOutput - ToNamespaceResourceQuotaLimitPtrOutputWithContext(context.Context) NamespaceResourceQuotaLimitPtrOutput + ToMachineConfigV2HarvesterConfigPtrOutput() MachineConfigV2HarvesterConfigPtrOutput + ToMachineConfigV2HarvesterConfigPtrOutputWithContext(context.Context) MachineConfigV2HarvesterConfigPtrOutput } -type namespaceResourceQuotaLimitPtrType NamespaceResourceQuotaLimitArgs +type machineConfigV2HarvesterConfigPtrType MachineConfigV2HarvesterConfigArgs -func NamespaceResourceQuotaLimitPtr(v *NamespaceResourceQuotaLimitArgs) NamespaceResourceQuotaLimitPtrInput { - return (*namespaceResourceQuotaLimitPtrType)(v) +func MachineConfigV2HarvesterConfigPtr(v *MachineConfigV2HarvesterConfigArgs) MachineConfigV2HarvesterConfigPtrInput { + return (*machineConfigV2HarvesterConfigPtrType)(v) } -func (*namespaceResourceQuotaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NamespaceResourceQuotaLimit)(nil)).Elem() +func (*machineConfigV2HarvesterConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2HarvesterConfig)(nil)).Elem() } -func (i *namespaceResourceQuotaLimitPtrType) ToNamespaceResourceQuotaLimitPtrOutput() NamespaceResourceQuotaLimitPtrOutput { - return i.ToNamespaceResourceQuotaLimitPtrOutputWithContext(context.Background()) +func (i *machineConfigV2HarvesterConfigPtrType) ToMachineConfigV2HarvesterConfigPtrOutput() MachineConfigV2HarvesterConfigPtrOutput { + return i.ToMachineConfigV2HarvesterConfigPtrOutputWithContext(context.Background()) } -func (i *namespaceResourceQuotaLimitPtrType) ToNamespaceResourceQuotaLimitPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaLimitPtrOutput) +func (i *machineConfigV2HarvesterConfigPtrType) ToMachineConfigV2HarvesterConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2HarvesterConfigPtrOutput) } -type NamespaceResourceQuotaLimitOutput struct{ *pulumi.OutputState } +type MachineConfigV2HarvesterConfigOutput struct{ *pulumi.OutputState } -func (NamespaceResourceQuotaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NamespaceResourceQuotaLimit)(nil)).Elem() +func (MachineConfigV2HarvesterConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2HarvesterConfig)(nil)).Elem() } -func (o NamespaceResourceQuotaLimitOutput) ToNamespaceResourceQuotaLimitOutput() NamespaceResourceQuotaLimitOutput { +func (o MachineConfigV2HarvesterConfigOutput) ToMachineConfigV2HarvesterConfigOutput() MachineConfigV2HarvesterConfigOutput { return o } -func (o NamespaceResourceQuotaLimitOutput) ToNamespaceResourceQuotaLimitOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitOutput { +func (o MachineConfigV2HarvesterConfigOutput) ToMachineConfigV2HarvesterConfigOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigOutput { return o } -func (o NamespaceResourceQuotaLimitOutput) ToNamespaceResourceQuotaLimitPtrOutput() NamespaceResourceQuotaLimitPtrOutput { - return o.ToNamespaceResourceQuotaLimitPtrOutputWithContext(context.Background()) +func (o MachineConfigV2HarvesterConfigOutput) ToMachineConfigV2HarvesterConfigPtrOutput() MachineConfigV2HarvesterConfigPtrOutput { + return o.ToMachineConfigV2HarvesterConfigPtrOutputWithContext(context.Background()) } -func (o NamespaceResourceQuotaLimitOutput) ToNamespaceResourceQuotaLimitPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NamespaceResourceQuotaLimit) *NamespaceResourceQuotaLimit { +func (o MachineConfigV2HarvesterConfigOutput) ToMachineConfigV2HarvesterConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2HarvesterConfig) *MachineConfigV2HarvesterConfig { return &v - }).(NamespaceResourceQuotaLimitPtrOutput) -} - -// Limit for config maps in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) ConfigMaps() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) + }).(MachineConfigV2HarvesterConfigPtrOutput) } -// Limit for limits cpu in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) +// vSphere CPU number for docker VM. Default `2` (string) +func (o MachineConfigV2HarvesterConfigOutput) CpuCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.CpuCount }).(pulumi.StringPtrOutput) } -// Limit for limits memory in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) +// Disk bus, Default `virtio` (string) +func (o MachineConfigV2HarvesterConfigOutput) DiskBus() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.DiskBus }).(pulumi.StringPtrOutput) } -// Limit for persistent volume claims in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) +// vSphere size of disk for docker VM (in MB). Default `20480` (string) +func (o MachineConfigV2HarvesterConfigOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) } -// Limit for pods in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) Pods() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) +// OpenStack image name to use for the instance. Conflicts with `imageId` (string) +func (o MachineConfigV2HarvesterConfigOutput) ImageName() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) string { return v.ImageName }).(pulumi.StringOutput) } -// Limit for replication controllers in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) +// vSphere size of memory for docker VM (in MB). Default `2048` (string) +func (o MachineConfigV2HarvesterConfigOutput) MemorySize() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.MemorySize }).(pulumi.StringPtrOutput) } -// Limit for requests cpu in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +// NetworkData content of cloud-init, base64 is supported (string) +func (o MachineConfigV2HarvesterConfigOutput) NetworkData() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.NetworkData }).(pulumi.StringPtrOutput) } -// Limit for requests memory in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +// Network model, Default `virtio` (string) +func (o MachineConfigV2HarvesterConfigOutput) NetworkModel() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.NetworkModel }).(pulumi.StringPtrOutput) } -// Limit for requests storage in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) RequestsStorage() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) +// Network name e.g. `harvester-public/vlan1` (string) +func (o MachineConfigV2HarvesterConfigOutput) NetworkName() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) string { return v.NetworkName }).(pulumi.StringOutput) } -// Limit for secrets in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) Secrets() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) +// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) +func (o MachineConfigV2HarvesterConfigOutput) SshPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.SshPassword }).(pulumi.StringPtrOutput) } -func (o NamespaceResourceQuotaLimitOutput) Services() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.Services }).(pulumi.StringPtrOutput) +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2HarvesterConfigOutput) SshUser() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) string { return v.SshUser }).(pulumi.StringOutput) } -// Limit for services load balancers in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) +// UserData content of cloud-init, base64 is supported (string) +func (o MachineConfigV2HarvesterConfigOutput) UserData() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) *string { return v.UserData }).(pulumi.StringPtrOutput) } -// Limit for services node ports in namespace (string) -func (o NamespaceResourceQuotaLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { - return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) +// Virtual machine namespace e.g. `default` (string) +func (o MachineConfigV2HarvesterConfigOutput) VmNamespace() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2HarvesterConfig) string { return v.VmNamespace }).(pulumi.StringOutput) } -type NamespaceResourceQuotaLimitPtrOutput struct{ *pulumi.OutputState } +type MachineConfigV2HarvesterConfigPtrOutput struct{ *pulumi.OutputState } -func (NamespaceResourceQuotaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NamespaceResourceQuotaLimit)(nil)).Elem() +func (MachineConfigV2HarvesterConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2HarvesterConfig)(nil)).Elem() } -func (o NamespaceResourceQuotaLimitPtrOutput) ToNamespaceResourceQuotaLimitPtrOutput() NamespaceResourceQuotaLimitPtrOutput { +func (o MachineConfigV2HarvesterConfigPtrOutput) ToMachineConfigV2HarvesterConfigPtrOutput() MachineConfigV2HarvesterConfigPtrOutput { return o } -func (o NamespaceResourceQuotaLimitPtrOutput) ToNamespaceResourceQuotaLimitPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitPtrOutput { +func (o MachineConfigV2HarvesterConfigPtrOutput) ToMachineConfigV2HarvesterConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2HarvesterConfigPtrOutput { return o } -func (o NamespaceResourceQuotaLimitPtrOutput) Elem() NamespaceResourceQuotaLimitOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) NamespaceResourceQuotaLimit { +func (o MachineConfigV2HarvesterConfigPtrOutput) Elem() MachineConfigV2HarvesterConfigOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) MachineConfigV2HarvesterConfig { if v != nil { return *v } - var ret NamespaceResourceQuotaLimit + var ret MachineConfigV2HarvesterConfig return ret - }).(NamespaceResourceQuotaLimitOutput) -} - -// Limit for config maps in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) ConfigMaps() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { - if v == nil { - return nil - } - return v.ConfigMaps - }).(pulumi.StringPtrOutput) + }).(MachineConfigV2HarvesterConfigOutput) } -// Limit for limits cpu in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// vSphere CPU number for docker VM. Default `2` (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) CpuCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.LimitsCpu + return v.CpuCount }).(pulumi.StringPtrOutput) } -// Limit for limits memory in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// Disk bus, Default `virtio` (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) DiskBus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.LimitsMemory + return v.DiskBus }).(pulumi.StringPtrOutput) } -// Limit for persistent volume claims in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// vSphere size of disk for docker VM (in MB). Default `20480` (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.PersistentVolumeClaims + return v.DiskSize }).(pulumi.StringPtrOutput) } -// Limit for pods in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) Pods() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// OpenStack image name to use for the instance. Conflicts with `imageId` (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) ImageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.Pods + return &v.ImageName }).(pulumi.StringPtrOutput) } -// Limit for replication controllers in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) ReplicationControllers() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// vSphere size of memory for docker VM (in MB). Default `2048` (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) MemorySize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.ReplicationControllers + return v.MemorySize }).(pulumi.StringPtrOutput) } -// Limit for requests cpu in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// NetworkData content of cloud-init, base64 is supported (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) NetworkData() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.RequestsCpu + return v.NetworkData }).(pulumi.StringPtrOutput) } -// Limit for requests memory in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// Network model, Default `virtio` (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) NetworkModel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.RequestsMemory + return v.NetworkModel }).(pulumi.StringPtrOutput) } -// Limit for requests storage in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) RequestsStorage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// Network name e.g. `harvester-public/vlan1` (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) NetworkName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.RequestsStorage + return &v.NetworkName }).(pulumi.StringPtrOutput) } -// Limit for secrets in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) Secrets() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) SshPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.Secrets + return v.SshPassword }).(pulumi.StringPtrOutput) } -func (o NamespaceResourceQuotaLimitPtrOutput) Services() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.Services + return &v.SshUser }).(pulumi.StringPtrOutput) } -// Limit for services load balancers in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// UserData content of cloud-init, base64 is supported (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) UserData() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.ServicesLoadBalancers + return v.UserData }).(pulumi.StringPtrOutput) } -// Limit for services node ports in namespace (string) -func (o NamespaceResourceQuotaLimitPtrOutput) ServicesNodePorts() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { +// Virtual machine namespace e.g. `default` (string) +func (o MachineConfigV2HarvesterConfigPtrOutput) VmNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2HarvesterConfig) *string { if v == nil { return nil } - return v.ServicesNodePorts + return &v.VmNamespace }).(pulumi.StringPtrOutput) } -type NodePoolNodeTaint struct { - // Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) - Effect *string `pulumi:"effect"` - // Taint key (string) - Key string `pulumi:"key"` - // Taint time added (string) - TimeAdded *string `pulumi:"timeAdded"` - // Taint value (string) - Value string `pulumi:"value"` +type MachineConfigV2LinodeConfig struct { + // Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) + AuthorizedUsers *string `pulumi:"authorizedUsers"` + // Create private IP for the instance. Default `false` (bool) + CreatePrivateIp *bool `pulumi:"createPrivateIp"` + // Docker Port. Default `2376` (string) + DockerPort *string `pulumi:"dockerPort"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image *string `pulumi:"image"` + // Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + InstanceType *string `pulumi:"instanceType"` + // Linode Instance Label. (string) + Label *string `pulumi:"label"` + // OpenStack region name (string) + Region *string `pulumi:"region"` + // Root Password (string) + RootPass *string `pulumi:"rootPass"` + // If using a non-B2D image you can specify the ssh port. Default `22` (string) + SshPort *string `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) + SshUser *string `pulumi:"sshUser"` + // Specifies the Linode StackScript to use to create the instance. (string) + Stackscript *string `pulumi:"stackscript"` + // A JSON string specifying data for the selected StackScript. (string) + StackscriptData *string `pulumi:"stackscriptData"` + // Linode Instance Swap Size (MB). Default `512` (string) + SwapSize *string `pulumi:"swapSize"` + // vSphere tags id e.g. `urn:xxx` (list) + Tags *string `pulumi:"tags"` + // Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Token *string `pulumi:"token"` + // Prefix the User-Agent in Linode API calls with some 'product/version' (string) + UaPrefix *string `pulumi:"uaPrefix"` } -// NodePoolNodeTaintInput is an input type that accepts NodePoolNodeTaintArgs and NodePoolNodeTaintOutput values. -// You can construct a concrete instance of `NodePoolNodeTaintInput` via: +// MachineConfigV2LinodeConfigInput is an input type that accepts MachineConfigV2LinodeConfigArgs and MachineConfigV2LinodeConfigOutput values. +// You can construct a concrete instance of `MachineConfigV2LinodeConfigInput` via: // -// NodePoolNodeTaintArgs{...} -type NodePoolNodeTaintInput interface { +// MachineConfigV2LinodeConfigArgs{...} +type MachineConfigV2LinodeConfigInput interface { pulumi.Input - ToNodePoolNodeTaintOutput() NodePoolNodeTaintOutput - ToNodePoolNodeTaintOutputWithContext(context.Context) NodePoolNodeTaintOutput + ToMachineConfigV2LinodeConfigOutput() MachineConfigV2LinodeConfigOutput + ToMachineConfigV2LinodeConfigOutputWithContext(context.Context) MachineConfigV2LinodeConfigOutput } -type NodePoolNodeTaintArgs struct { - // Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) - Effect pulumi.StringPtrInput `pulumi:"effect"` - // Taint key (string) - Key pulumi.StringInput `pulumi:"key"` - // Taint time added (string) - TimeAdded pulumi.StringPtrInput `pulumi:"timeAdded"` - // Taint value (string) - Value pulumi.StringInput `pulumi:"value"` +type MachineConfigV2LinodeConfigArgs struct { + // Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) + AuthorizedUsers pulumi.StringPtrInput `pulumi:"authorizedUsers"` + // Create private IP for the instance. Default `false` (bool) + CreatePrivateIp pulumi.BoolPtrInput `pulumi:"createPrivateIp"` + // Docker Port. Default `2376` (string) + DockerPort pulumi.StringPtrInput `pulumi:"dockerPort"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image pulumi.StringPtrInput `pulumi:"image"` + // Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` + // Linode Instance Label. (string) + Label pulumi.StringPtrInput `pulumi:"label"` + // OpenStack region name (string) + Region pulumi.StringPtrInput `pulumi:"region"` + // Root Password (string) + RootPass pulumi.StringPtrInput `pulumi:"rootPass"` + // If using a non-B2D image you can specify the ssh port. Default `22` (string) + SshPort pulumi.StringPtrInput `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) + SshUser pulumi.StringPtrInput `pulumi:"sshUser"` + // Specifies the Linode StackScript to use to create the instance. (string) + Stackscript pulumi.StringPtrInput `pulumi:"stackscript"` + // A JSON string specifying data for the selected StackScript. (string) + StackscriptData pulumi.StringPtrInput `pulumi:"stackscriptData"` + // Linode Instance Swap Size (MB). Default `512` (string) + SwapSize pulumi.StringPtrInput `pulumi:"swapSize"` + // vSphere tags id e.g. `urn:xxx` (list) + Tags pulumi.StringPtrInput `pulumi:"tags"` + // Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Token pulumi.StringPtrInput `pulumi:"token"` + // Prefix the User-Agent in Linode API calls with some 'product/version' (string) + UaPrefix pulumi.StringPtrInput `pulumi:"uaPrefix"` } -func (NodePoolNodeTaintArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodePoolNodeTaint)(nil)).Elem() +func (MachineConfigV2LinodeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2LinodeConfig)(nil)).Elem() } -func (i NodePoolNodeTaintArgs) ToNodePoolNodeTaintOutput() NodePoolNodeTaintOutput { - return i.ToNodePoolNodeTaintOutputWithContext(context.Background()) +func (i MachineConfigV2LinodeConfigArgs) ToMachineConfigV2LinodeConfigOutput() MachineConfigV2LinodeConfigOutput { + return i.ToMachineConfigV2LinodeConfigOutputWithContext(context.Background()) } -func (i NodePoolNodeTaintArgs) ToNodePoolNodeTaintOutputWithContext(ctx context.Context) NodePoolNodeTaintOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodePoolNodeTaintOutput) +func (i MachineConfigV2LinodeConfigArgs) ToMachineConfigV2LinodeConfigOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2LinodeConfigOutput) } -// NodePoolNodeTaintArrayInput is an input type that accepts NodePoolNodeTaintArray and NodePoolNodeTaintArrayOutput values. -// You can construct a concrete instance of `NodePoolNodeTaintArrayInput` via: +func (i MachineConfigV2LinodeConfigArgs) ToMachineConfigV2LinodeConfigPtrOutput() MachineConfigV2LinodeConfigPtrOutput { + return i.ToMachineConfigV2LinodeConfigPtrOutputWithContext(context.Background()) +} + +func (i MachineConfigV2LinodeConfigArgs) ToMachineConfigV2LinodeConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2LinodeConfigOutput).ToMachineConfigV2LinodeConfigPtrOutputWithContext(ctx) +} + +// MachineConfigV2LinodeConfigPtrInput is an input type that accepts MachineConfigV2LinodeConfigArgs, MachineConfigV2LinodeConfigPtr and MachineConfigV2LinodeConfigPtrOutput values. +// You can construct a concrete instance of `MachineConfigV2LinodeConfigPtrInput` via: // -// NodePoolNodeTaintArray{ NodePoolNodeTaintArgs{...} } -type NodePoolNodeTaintArrayInput interface { +// MachineConfigV2LinodeConfigArgs{...} +// +// or: +// +// nil +type MachineConfigV2LinodeConfigPtrInput interface { pulumi.Input - ToNodePoolNodeTaintArrayOutput() NodePoolNodeTaintArrayOutput - ToNodePoolNodeTaintArrayOutputWithContext(context.Context) NodePoolNodeTaintArrayOutput + ToMachineConfigV2LinodeConfigPtrOutput() MachineConfigV2LinodeConfigPtrOutput + ToMachineConfigV2LinodeConfigPtrOutputWithContext(context.Context) MachineConfigV2LinodeConfigPtrOutput } -type NodePoolNodeTaintArray []NodePoolNodeTaintInput +type machineConfigV2LinodeConfigPtrType MachineConfigV2LinodeConfigArgs -func (NodePoolNodeTaintArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NodePoolNodeTaint)(nil)).Elem() +func MachineConfigV2LinodeConfigPtr(v *MachineConfigV2LinodeConfigArgs) MachineConfigV2LinodeConfigPtrInput { + return (*machineConfigV2LinodeConfigPtrType)(v) } -func (i NodePoolNodeTaintArray) ToNodePoolNodeTaintArrayOutput() NodePoolNodeTaintArrayOutput { - return i.ToNodePoolNodeTaintArrayOutputWithContext(context.Background()) +func (*machineConfigV2LinodeConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2LinodeConfig)(nil)).Elem() } -func (i NodePoolNodeTaintArray) ToNodePoolNodeTaintArrayOutputWithContext(ctx context.Context) NodePoolNodeTaintArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodePoolNodeTaintArrayOutput) +func (i *machineConfigV2LinodeConfigPtrType) ToMachineConfigV2LinodeConfigPtrOutput() MachineConfigV2LinodeConfigPtrOutput { + return i.ToMachineConfigV2LinodeConfigPtrOutputWithContext(context.Background()) } -type NodePoolNodeTaintOutput struct{ *pulumi.OutputState } +func (i *machineConfigV2LinodeConfigPtrType) ToMachineConfigV2LinodeConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2LinodeConfigPtrOutput) +} -func (NodePoolNodeTaintOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodePoolNodeTaint)(nil)).Elem() +type MachineConfigV2LinodeConfigOutput struct{ *pulumi.OutputState } + +func (MachineConfigV2LinodeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2LinodeConfig)(nil)).Elem() } -func (o NodePoolNodeTaintOutput) ToNodePoolNodeTaintOutput() NodePoolNodeTaintOutput { +func (o MachineConfigV2LinodeConfigOutput) ToMachineConfigV2LinodeConfigOutput() MachineConfigV2LinodeConfigOutput { + return o +} + +func (o MachineConfigV2LinodeConfigOutput) ToMachineConfigV2LinodeConfigOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigOutput { + return o +} + +func (o MachineConfigV2LinodeConfigOutput) ToMachineConfigV2LinodeConfigPtrOutput() MachineConfigV2LinodeConfigPtrOutput { + return o.ToMachineConfigV2LinodeConfigPtrOutputWithContext(context.Background()) +} + +func (o MachineConfigV2LinodeConfigOutput) ToMachineConfigV2LinodeConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2LinodeConfig) *MachineConfigV2LinodeConfig { + return &v + }).(MachineConfigV2LinodeConfigPtrOutput) +} + +// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) +func (o MachineConfigV2LinodeConfigOutput) AuthorizedUsers() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.AuthorizedUsers }).(pulumi.StringPtrOutput) +} + +// Create private IP for the instance. Default `false` (bool) +func (o MachineConfigV2LinodeConfigOutput) CreatePrivateIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *bool { return v.CreatePrivateIp }).(pulumi.BoolPtrOutput) +} + +// Docker Port. Default `2376` (string) +func (o MachineConfigV2LinodeConfigOutput) DockerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.DockerPort }).(pulumi.StringPtrOutput) +} + +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o MachineConfigV2LinodeConfigOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Image }).(pulumi.StringPtrOutput) +} + +// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) +func (o MachineConfigV2LinodeConfigOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.InstanceType }).(pulumi.StringPtrOutput) +} + +// Linode Instance Label. (string) +func (o MachineConfigV2LinodeConfigOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// OpenStack region name (string) +func (o MachineConfigV2LinodeConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +// Root Password (string) +func (o MachineConfigV2LinodeConfigOutput) RootPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.RootPass }).(pulumi.StringPtrOutput) +} + +// If using a non-B2D image you can specify the ssh port. Default `22` (string) +func (o MachineConfigV2LinodeConfigOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) +} + +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2LinodeConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +} + +// Specifies the Linode StackScript to use to create the instance. (string) +func (o MachineConfigV2LinodeConfigOutput) Stackscript() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Stackscript }).(pulumi.StringPtrOutput) +} + +// A JSON string specifying data for the selected StackScript. (string) +func (o MachineConfigV2LinodeConfigOutput) StackscriptData() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.StackscriptData }).(pulumi.StringPtrOutput) +} + +// Linode Instance Swap Size (MB). Default `512` (string) +func (o MachineConfigV2LinodeConfigOutput) SwapSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.SwapSize }).(pulumi.StringPtrOutput) +} + +// vSphere tags id e.g. `urn:xxx` (list) +func (o MachineConfigV2LinodeConfigOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Tags }).(pulumi.StringPtrOutput) +} + +// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2LinodeConfigOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.Token }).(pulumi.StringPtrOutput) +} + +// Prefix the User-Agent in Linode API calls with some 'product/version' (string) +func (o MachineConfigV2LinodeConfigOutput) UaPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2LinodeConfig) *string { return v.UaPrefix }).(pulumi.StringPtrOutput) +} + +type MachineConfigV2LinodeConfigPtrOutput struct{ *pulumi.OutputState } + +func (MachineConfigV2LinodeConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2LinodeConfig)(nil)).Elem() +} + +func (o MachineConfigV2LinodeConfigPtrOutput) ToMachineConfigV2LinodeConfigPtrOutput() MachineConfigV2LinodeConfigPtrOutput { return o } -func (o NodePoolNodeTaintOutput) ToNodePoolNodeTaintOutputWithContext(ctx context.Context) NodePoolNodeTaintOutput { - return o +func (o MachineConfigV2LinodeConfigPtrOutput) ToMachineConfigV2LinodeConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2LinodeConfigPtrOutput { + return o +} + +func (o MachineConfigV2LinodeConfigPtrOutput) Elem() MachineConfigV2LinodeConfigOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) MachineConfigV2LinodeConfig { + if v != nil { + return *v + } + var ret MachineConfigV2LinodeConfig + return ret + }).(MachineConfigV2LinodeConfigOutput) +} + +// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) +func (o MachineConfigV2LinodeConfigPtrOutput) AuthorizedUsers() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.AuthorizedUsers + }).(pulumi.StringPtrOutput) +} + +// Create private IP for the instance. Default `false` (bool) +func (o MachineConfigV2LinodeConfigPtrOutput) CreatePrivateIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *bool { + if v == nil { + return nil + } + return v.CreatePrivateIp + }).(pulumi.BoolPtrOutput) +} + +// Docker Port. Default `2376` (string) +func (o MachineConfigV2LinodeConfigPtrOutput) DockerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.DockerPort + }).(pulumi.StringPtrOutput) +} + +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o MachineConfigV2LinodeConfigPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.Image + }).(pulumi.StringPtrOutput) +} + +// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) +func (o MachineConfigV2LinodeConfigPtrOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.InstanceType + }).(pulumi.StringPtrOutput) +} + +// Linode Instance Label. (string) +func (o MachineConfigV2LinodeConfigPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +// OpenStack region name (string) +func (o MachineConfigV2LinodeConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +// Root Password (string) +func (o MachineConfigV2LinodeConfigPtrOutput) RootPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.RootPass + }).(pulumi.StringPtrOutput) } -// Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) -func (o NodePoolNodeTaintOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodePoolNodeTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) +// If using a non-B2D image you can specify the ssh port. Default `22` (string) +func (o MachineConfigV2LinodeConfigPtrOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.SshPort + }).(pulumi.StringPtrOutput) } -// Taint key (string) -func (o NodePoolNodeTaintOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v NodePoolNodeTaint) string { return v.Key }).(pulumi.StringOutput) +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2LinodeConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.SshUser + }).(pulumi.StringPtrOutput) } -// Taint time added (string) -func (o NodePoolNodeTaintOutput) TimeAdded() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodePoolNodeTaint) *string { return v.TimeAdded }).(pulumi.StringPtrOutput) +// Specifies the Linode StackScript to use to create the instance. (string) +func (o MachineConfigV2LinodeConfigPtrOutput) Stackscript() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.Stackscript + }).(pulumi.StringPtrOutput) } -// Taint value (string) -func (o NodePoolNodeTaintOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v NodePoolNodeTaint) string { return v.Value }).(pulumi.StringOutput) +// A JSON string specifying data for the selected StackScript. (string) +func (o MachineConfigV2LinodeConfigPtrOutput) StackscriptData() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.StackscriptData + }).(pulumi.StringPtrOutput) } -type NodePoolNodeTaintArrayOutput struct{ *pulumi.OutputState } - -func (NodePoolNodeTaintArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NodePoolNodeTaint)(nil)).Elem() +// Linode Instance Swap Size (MB). Default `512` (string) +func (o MachineConfigV2LinodeConfigPtrOutput) SwapSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.SwapSize + }).(pulumi.StringPtrOutput) } -func (o NodePoolNodeTaintArrayOutput) ToNodePoolNodeTaintArrayOutput() NodePoolNodeTaintArrayOutput { - return o +// vSphere tags id e.g. `urn:xxx` (list) +func (o MachineConfigV2LinodeConfigPtrOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.Tags + }).(pulumi.StringPtrOutput) } -func (o NodePoolNodeTaintArrayOutput) ToNodePoolNodeTaintArrayOutputWithContext(ctx context.Context) NodePoolNodeTaintArrayOutput { - return o +// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2LinodeConfigPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.Token + }).(pulumi.StringPtrOutput) } -func (o NodePoolNodeTaintArrayOutput) Index(i pulumi.IntInput) NodePoolNodeTaintOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodePoolNodeTaint { - return vs[0].([]NodePoolNodeTaint)[vs[1].(int)] - }).(NodePoolNodeTaintOutput) +// Prefix the User-Agent in Linode API calls with some 'product/version' (string) +func (o MachineConfigV2LinodeConfigPtrOutput) UaPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2LinodeConfig) *string { + if v == nil { + return nil + } + return v.UaPrefix + }).(pulumi.StringPtrOutput) } -type NodeTemplateAmazonec2Config struct { - // AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - AccessKey *string `pulumi:"accessKey"` - // AWS machine image (string) - Ami string `pulumi:"ami"` - // AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) - BlockDurationMinutes *string `pulumi:"blockDurationMinutes"` - // AWS root device name. Default `/dev/sda1` (string) - DeviceName *string `pulumi:"deviceName"` - // Encrypt EBS volume. Default `false` (bool) - EncryptEbsVolume *bool `pulumi:"encryptEbsVolume"` - // Optional endpoint URL (hostname only or fully qualified URI) (string) - Endpoint *string `pulumi:"endpoint"` - // AWS IAM Instance Profile (string) - IamInstanceProfile *string `pulumi:"iamInstanceProfile"` - // Disable SSL when sending requests (bool) - 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"` +type MachineConfigV2OpenstackConfig struct { + // OpenStack active timeout Default `200` (string) + ActiveTimeout *string `pulumi:"activeTimeout"` + // OpenStack application credential id. Conflicts with `applicationCredentialName` (string) + ApplicationCredentialId *string `pulumi:"applicationCredentialId"` + // OpenStack application credential name. Conflicts with `applicationCredentialId` (string) + ApplicationCredentialName *string `pulumi:"applicationCredentialName"` + // OpenStack application credential secret (string) + ApplicationCredentialSecret *string `pulumi:"applicationCredentialSecret"` + // OpenStack authentication URL (string) + AuthUrl string `pulumi:"authUrl"` + // OpenStack availability zone (string) + AvailabilityZone string `pulumi:"availabilityZone"` + // Enable booting from volume. Default is `false` (bool) + BootFromVolume *bool `pulumi:"bootFromVolume"` + // CA certificate bundle to verify against (string) + Cacert *string `pulumi:"cacert"` + // Enables the OpenStack config drive for the instance. Default `false` (bool) + ConfigDrive *bool `pulumi:"configDrive"` + // OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) + DomainId *string `pulumi:"domainId"` + // OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) + DomainName *string `pulumi:"domainName"` + // OpenStack endpoint type. adminURL, internalURL or publicURL (string) + EndpointType *string `pulumi:"endpointType"` + // OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) + FlavorId *string `pulumi:"flavorId"` + // OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) + FlavorName *string `pulumi:"flavorName"` + // OpenStack floating IP pool to get an IP from to assign to the instance (string) + FloatingIpPool *string `pulumi:"floatingIpPool"` + // OpenStack image id to use for the instance. Conflicts with `imageName` (string) + ImageId *string `pulumi:"imageId"` + // OpenStack image name to use for the instance. Conflicts with `imageId` (string) + ImageName *string `pulumi:"imageName"` + // Disable TLS credential checking. Default `false` (bool) + Insecure *bool `pulumi:"insecure"` + // OpenStack version of IP address assigned for the machine Default `4` (string) + IpVersion *string `pulumi:"ipVersion"` // 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) - Monitoring *bool `pulumi:"monitoring"` - // Make the specified port number accessible from the Internet. (list) - OpenPorts []string `pulumi:"openPorts"` - // Only use a private IP address. Default `false` (bool) - PrivateAddressOnly *bool `pulumi:"privateAddressOnly"` + // OpenStack network id the machine will be connected on. Conflicts with `netName` (string) + NetId *string `pulumi:"netId"` + // OpenStack network name the machine will be connected on. Conflicts with `netId` (string) + NetName *string `pulumi:"netName"` + // Use the nova networking services instead of neutron (string) + NovaNetwork *bool `pulumi:"novaNetwork"` + // OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Password *string `pulumi:"password"` + // Private key content to use for SSH (string) + PrivateKeyFile *string `pulumi:"privateKeyFile"` // OpenStack region name (string) Region string `pulumi:"region"` - // Set this flag to request spot instance. Default `false` (bool) - RequestSpotInstance *bool `pulumi:"requestSpotInstance"` - // Set retry count for recoverable failures (use -1 to disable). Default `5` (string) - Retries *string `pulumi:"retries"` - // AWS root disk size (in GB). Default `16` (string) - RootSize *string `pulumi:"rootSize"` - // AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - SecretKey *string `pulumi:"secretKey"` - // Skip adding default rules to security groups (bool) - SecurityGroupReadonly *bool `pulumi:"securityGroupReadonly"` - // AWS VPC security group. (list) - SecurityGroups []string `pulumi:"securityGroups"` - // AWS Session Token (string) - SessionToken *string `pulumi:"sessionToken"` - // AWS spot instance bid price (in dollar). Default `0.50` (string) - SpotPrice *string `pulumi:"spotPrice"` - // SSH Key for Instance (string) - SshKeypath *string `pulumi:"sshKeypath"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + // OpenStack comma separated security groups for the machine (string) + SecGroups *string `pulumi:"secGroups"` + // If using a non-B2D image you can specify the ssh port. Default `22` (string) + SshPort *string `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) SshUser *string `pulumi:"sshUser"` - // AWS VPC subnet id (string) - SubnetId string `pulumi:"subnetId"` - // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) - Tags *string `pulumi:"tags"` - // Create an EBS optimized instance. Default `false` (bool) - UseEbsOptimizedInstance *bool `pulumi:"useEbsOptimizedInstance"` - // Force the usage of private IP address. Default `false` (bool) - UsePrivateAddress *bool `pulumi:"usePrivateAddress"` - // Path to file with cloud-init user-data (string) - Userdata *string `pulumi:"userdata"` + // OpenStack tenant domain id. Conflicts with `tenantDomainName` (string) + TenantDomainId *string `pulumi:"tenantDomainId"` + // OpenStack tenant domain name. Conflicts with `tenantDomainId` (string) + TenantDomainName *string `pulumi:"tenantDomainName"` + // OpenStack tenant id. Conflicts with `tenantName` (string) + TenantId *string `pulumi:"tenantId"` + // OpenStack tenant name. Conflicts with `tenantId` (string) + TenantName *string `pulumi:"tenantName"` + // File containing an openstack userdata script (string) + UserDataFile *string `pulumi:"userDataFile"` + // OpenStack user domain id. Conflicts with `userDomainName` (string) + UserDomainId *string `pulumi:"userDomainId"` + // OpenStack user domain name. Conflicts with `userDomainId` (string) + UserDomainName *string `pulumi:"userDomainName"` + // OpenStack username (string) + Username *string `pulumi:"username"` + // 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. + VolumeDevicePath *string `pulumi:"volumeDevicePath"` + // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) + VolumeId *string `pulumi:"volumeId"` + // OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) + VolumeName *string `pulumi:"volumeName"` + // OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) + VolumeSize *string `pulumi:"volumeSize"` // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) VolumeType *string `pulumi:"volumeType"` - // AWS VPC id. (string) - VpcId string `pulumi:"vpcId"` - // AWS zone for instance (i.e. a,b,c,d,e) (string) - Zone string `pulumi:"zone"` } -// NodeTemplateAmazonec2ConfigInput is an input type that accepts NodeTemplateAmazonec2ConfigArgs and NodeTemplateAmazonec2ConfigOutput values. -// You can construct a concrete instance of `NodeTemplateAmazonec2ConfigInput` via: +// MachineConfigV2OpenstackConfigInput is an input type that accepts MachineConfigV2OpenstackConfigArgs and MachineConfigV2OpenstackConfigOutput values. +// You can construct a concrete instance of `MachineConfigV2OpenstackConfigInput` via: // -// NodeTemplateAmazonec2ConfigArgs{...} -type NodeTemplateAmazonec2ConfigInput interface { +// MachineConfigV2OpenstackConfigArgs{...} +type MachineConfigV2OpenstackConfigInput interface { pulumi.Input - ToNodeTemplateAmazonec2ConfigOutput() NodeTemplateAmazonec2ConfigOutput - ToNodeTemplateAmazonec2ConfigOutputWithContext(context.Context) NodeTemplateAmazonec2ConfigOutput + ToMachineConfigV2OpenstackConfigOutput() MachineConfigV2OpenstackConfigOutput + ToMachineConfigV2OpenstackConfigOutputWithContext(context.Context) MachineConfigV2OpenstackConfigOutput } -type NodeTemplateAmazonec2ConfigArgs struct { - // AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` - // AWS machine image (string) - Ami pulumi.StringInput `pulumi:"ami"` - // AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) - BlockDurationMinutes pulumi.StringPtrInput `pulumi:"blockDurationMinutes"` - // AWS root device name. Default `/dev/sda1` (string) - DeviceName pulumi.StringPtrInput `pulumi:"deviceName"` - // Encrypt EBS volume. Default `false` (bool) - EncryptEbsVolume pulumi.BoolPtrInput `pulumi:"encryptEbsVolume"` - // Optional endpoint URL (hostname only or fully qualified URI) (string) - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - // AWS IAM Instance Profile (string) - IamInstanceProfile pulumi.StringPtrInput `pulumi:"iamInstanceProfile"` - // Disable SSL when sending requests (bool) - 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"` +type MachineConfigV2OpenstackConfigArgs struct { + // OpenStack active timeout Default `200` (string) + ActiveTimeout pulumi.StringPtrInput `pulumi:"activeTimeout"` + // OpenStack application credential id. Conflicts with `applicationCredentialName` (string) + ApplicationCredentialId pulumi.StringPtrInput `pulumi:"applicationCredentialId"` + // OpenStack application credential name. Conflicts with `applicationCredentialId` (string) + ApplicationCredentialName pulumi.StringPtrInput `pulumi:"applicationCredentialName"` + // OpenStack application credential secret (string) + ApplicationCredentialSecret pulumi.StringPtrInput `pulumi:"applicationCredentialSecret"` + // OpenStack authentication URL (string) + AuthUrl pulumi.StringInput `pulumi:"authUrl"` + // OpenStack availability zone (string) + AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` + // Enable booting from volume. Default is `false` (bool) + BootFromVolume pulumi.BoolPtrInput `pulumi:"bootFromVolume"` + // CA certificate bundle to verify against (string) + Cacert pulumi.StringPtrInput `pulumi:"cacert"` + // Enables the OpenStack config drive for the instance. Default `false` (bool) + ConfigDrive pulumi.BoolPtrInput `pulumi:"configDrive"` + // OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) + DomainId pulumi.StringPtrInput `pulumi:"domainId"` + // OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) + DomainName pulumi.StringPtrInput `pulumi:"domainName"` + // OpenStack endpoint type. adminURL, internalURL or publicURL (string) + EndpointType pulumi.StringPtrInput `pulumi:"endpointType"` + // OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) + FlavorId pulumi.StringPtrInput `pulumi:"flavorId"` + // OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) + FlavorName pulumi.StringPtrInput `pulumi:"flavorName"` + // OpenStack floating IP pool to get an IP from to assign to the instance (string) + FloatingIpPool pulumi.StringPtrInput `pulumi:"floatingIpPool"` + // OpenStack image id to use for the instance. Conflicts with `imageName` (string) + ImageId pulumi.StringPtrInput `pulumi:"imageId"` + // OpenStack image name to use for the instance. Conflicts with `imageId` (string) + ImageName pulumi.StringPtrInput `pulumi:"imageName"` + // Disable TLS credential checking. Default `false` (bool) + Insecure pulumi.BoolPtrInput `pulumi:"insecure"` + // OpenStack version of IP address assigned for the machine Default `4` (string) + IpVersion pulumi.StringPtrInput `pulumi:"ipVersion"` // 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) - Monitoring pulumi.BoolPtrInput `pulumi:"monitoring"` - // Make the specified port number accessible from the Internet. (list) - OpenPorts pulumi.StringArrayInput `pulumi:"openPorts"` - // Only use a private IP address. Default `false` (bool) - PrivateAddressOnly pulumi.BoolPtrInput `pulumi:"privateAddressOnly"` + // OpenStack network id the machine will be connected on. Conflicts with `netName` (string) + NetId pulumi.StringPtrInput `pulumi:"netId"` + // OpenStack network name the machine will be connected on. Conflicts with `netId` (string) + NetName pulumi.StringPtrInput `pulumi:"netName"` + // Use the nova networking services instead of neutron (string) + NovaNetwork pulumi.BoolPtrInput `pulumi:"novaNetwork"` + // OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Password pulumi.StringPtrInput `pulumi:"password"` + // Private key content to use for SSH (string) + PrivateKeyFile pulumi.StringPtrInput `pulumi:"privateKeyFile"` // OpenStack region name (string) Region pulumi.StringInput `pulumi:"region"` - // Set this flag to request spot instance. Default `false` (bool) - RequestSpotInstance pulumi.BoolPtrInput `pulumi:"requestSpotInstance"` - // Set retry count for recoverable failures (use -1 to disable). Default `5` (string) - Retries pulumi.StringPtrInput `pulumi:"retries"` - // AWS root disk size (in GB). Default `16` (string) - RootSize pulumi.StringPtrInput `pulumi:"rootSize"` - // AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` - // Skip adding default rules to security groups (bool) - SecurityGroupReadonly pulumi.BoolPtrInput `pulumi:"securityGroupReadonly"` - // AWS VPC security group. (list) - SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` - // AWS Session Token (string) - SessionToken pulumi.StringPtrInput `pulumi:"sessionToken"` - // AWS spot instance bid price (in dollar). Default `0.50` (string) - SpotPrice pulumi.StringPtrInput `pulumi:"spotPrice"` - // SSH Key for Instance (string) - SshKeypath pulumi.StringPtrInput `pulumi:"sshKeypath"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + // OpenStack comma separated security groups for the machine (string) + SecGroups pulumi.StringPtrInput `pulumi:"secGroups"` + // If using a non-B2D image you can specify the ssh port. Default `22` (string) + SshPort pulumi.StringPtrInput `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // AWS VPC subnet id (string) - SubnetId pulumi.StringInput `pulumi:"subnetId"` - // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) - Tags pulumi.StringPtrInput `pulumi:"tags"` - // Create an EBS optimized instance. Default `false` (bool) - UseEbsOptimizedInstance pulumi.BoolPtrInput `pulumi:"useEbsOptimizedInstance"` - // Force the usage of private IP address. Default `false` (bool) - UsePrivateAddress pulumi.BoolPtrInput `pulumi:"usePrivateAddress"` - // Path to file with cloud-init user-data (string) - Userdata pulumi.StringPtrInput `pulumi:"userdata"` + // OpenStack tenant domain id. Conflicts with `tenantDomainName` (string) + TenantDomainId pulumi.StringPtrInput `pulumi:"tenantDomainId"` + // OpenStack tenant domain name. Conflicts with `tenantDomainId` (string) + TenantDomainName pulumi.StringPtrInput `pulumi:"tenantDomainName"` + // OpenStack tenant id. Conflicts with `tenantName` (string) + TenantId pulumi.StringPtrInput `pulumi:"tenantId"` + // OpenStack tenant name. Conflicts with `tenantId` (string) + TenantName pulumi.StringPtrInput `pulumi:"tenantName"` + // File containing an openstack userdata script (string) + UserDataFile pulumi.StringPtrInput `pulumi:"userDataFile"` + // OpenStack user domain id. Conflicts with `userDomainName` (string) + UserDomainId pulumi.StringPtrInput `pulumi:"userDomainId"` + // OpenStack user domain name. Conflicts with `userDomainId` (string) + UserDomainName pulumi.StringPtrInput `pulumi:"userDomainName"` + // OpenStack username (string) + Username pulumi.StringPtrInput `pulumi:"username"` + // 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. + VolumeDevicePath pulumi.StringPtrInput `pulumi:"volumeDevicePath"` + // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) + VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` + // OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) + VolumeName pulumi.StringPtrInput `pulumi:"volumeName"` + // OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) + VolumeSize pulumi.StringPtrInput `pulumi:"volumeSize"` // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) VolumeType pulumi.StringPtrInput `pulumi:"volumeType"` - // AWS VPC id. (string) - VpcId pulumi.StringInput `pulumi:"vpcId"` - // AWS zone for instance (i.e. a,b,c,d,e) (string) - Zone pulumi.StringInput `pulumi:"zone"` } -func (NodeTemplateAmazonec2ConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateAmazonec2Config)(nil)).Elem() +func (MachineConfigV2OpenstackConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2OpenstackConfig)(nil)).Elem() } -func (i NodeTemplateAmazonec2ConfigArgs) ToNodeTemplateAmazonec2ConfigOutput() NodeTemplateAmazonec2ConfigOutput { - return i.ToNodeTemplateAmazonec2ConfigOutputWithContext(context.Background()) +func (i MachineConfigV2OpenstackConfigArgs) ToMachineConfigV2OpenstackConfigOutput() MachineConfigV2OpenstackConfigOutput { + return i.ToMachineConfigV2OpenstackConfigOutputWithContext(context.Background()) } -func (i NodeTemplateAmazonec2ConfigArgs) ToNodeTemplateAmazonec2ConfigOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAmazonec2ConfigOutput) +func (i MachineConfigV2OpenstackConfigArgs) ToMachineConfigV2OpenstackConfigOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2OpenstackConfigOutput) } -func (i NodeTemplateAmazonec2ConfigArgs) ToNodeTemplateAmazonec2ConfigPtrOutput() NodeTemplateAmazonec2ConfigPtrOutput { - return i.ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(context.Background()) +func (i MachineConfigV2OpenstackConfigArgs) ToMachineConfigV2OpenstackConfigPtrOutput() MachineConfigV2OpenstackConfigPtrOutput { + return i.ToMachineConfigV2OpenstackConfigPtrOutputWithContext(context.Background()) } -func (i NodeTemplateAmazonec2ConfigArgs) ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAmazonec2ConfigOutput).ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(ctx) +func (i MachineConfigV2OpenstackConfigArgs) ToMachineConfigV2OpenstackConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2OpenstackConfigOutput).ToMachineConfigV2OpenstackConfigPtrOutputWithContext(ctx) } -// NodeTemplateAmazonec2ConfigPtrInput is an input type that accepts NodeTemplateAmazonec2ConfigArgs, NodeTemplateAmazonec2ConfigPtr and NodeTemplateAmazonec2ConfigPtrOutput values. -// You can construct a concrete instance of `NodeTemplateAmazonec2ConfigPtrInput` via: +// MachineConfigV2OpenstackConfigPtrInput is an input type that accepts MachineConfigV2OpenstackConfigArgs, MachineConfigV2OpenstackConfigPtr and MachineConfigV2OpenstackConfigPtrOutput values. +// You can construct a concrete instance of `MachineConfigV2OpenstackConfigPtrInput` via: // -// NodeTemplateAmazonec2ConfigArgs{...} +// MachineConfigV2OpenstackConfigArgs{...} // // or: // // nil -type NodeTemplateAmazonec2ConfigPtrInput interface { +type MachineConfigV2OpenstackConfigPtrInput interface { pulumi.Input - ToNodeTemplateAmazonec2ConfigPtrOutput() NodeTemplateAmazonec2ConfigPtrOutput - ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(context.Context) NodeTemplateAmazonec2ConfigPtrOutput + ToMachineConfigV2OpenstackConfigPtrOutput() MachineConfigV2OpenstackConfigPtrOutput + ToMachineConfigV2OpenstackConfigPtrOutputWithContext(context.Context) MachineConfigV2OpenstackConfigPtrOutput } -type nodeTemplateAmazonec2ConfigPtrType NodeTemplateAmazonec2ConfigArgs +type machineConfigV2OpenstackConfigPtrType MachineConfigV2OpenstackConfigArgs -func NodeTemplateAmazonec2ConfigPtr(v *NodeTemplateAmazonec2ConfigArgs) NodeTemplateAmazonec2ConfigPtrInput { - return (*nodeTemplateAmazonec2ConfigPtrType)(v) +func MachineConfigV2OpenstackConfigPtr(v *MachineConfigV2OpenstackConfigArgs) MachineConfigV2OpenstackConfigPtrInput { + return (*machineConfigV2OpenstackConfigPtrType)(v) } -func (*nodeTemplateAmazonec2ConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateAmazonec2Config)(nil)).Elem() +func (*machineConfigV2OpenstackConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2OpenstackConfig)(nil)).Elem() } -func (i *nodeTemplateAmazonec2ConfigPtrType) ToNodeTemplateAmazonec2ConfigPtrOutput() NodeTemplateAmazonec2ConfigPtrOutput { - return i.ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(context.Background()) +func (i *machineConfigV2OpenstackConfigPtrType) ToMachineConfigV2OpenstackConfigPtrOutput() MachineConfigV2OpenstackConfigPtrOutput { + return i.ToMachineConfigV2OpenstackConfigPtrOutputWithContext(context.Background()) } -func (i *nodeTemplateAmazonec2ConfigPtrType) ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAmazonec2ConfigPtrOutput) +func (i *machineConfigV2OpenstackConfigPtrType) ToMachineConfigV2OpenstackConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2OpenstackConfigPtrOutput) } -type NodeTemplateAmazonec2ConfigOutput struct{ *pulumi.OutputState } +type MachineConfigV2OpenstackConfigOutput struct{ *pulumi.OutputState } -func (NodeTemplateAmazonec2ConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateAmazonec2Config)(nil)).Elem() +func (MachineConfigV2OpenstackConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2OpenstackConfig)(nil)).Elem() } -func (o NodeTemplateAmazonec2ConfigOutput) ToNodeTemplateAmazonec2ConfigOutput() NodeTemplateAmazonec2ConfigOutput { +func (o MachineConfigV2OpenstackConfigOutput) ToMachineConfigV2OpenstackConfigOutput() MachineConfigV2OpenstackConfigOutput { return o } -func (o NodeTemplateAmazonec2ConfigOutput) ToNodeTemplateAmazonec2ConfigOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigOutput { +func (o MachineConfigV2OpenstackConfigOutput) ToMachineConfigV2OpenstackConfigOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigOutput { return o } -func (o NodeTemplateAmazonec2ConfigOutput) ToNodeTemplateAmazonec2ConfigPtrOutput() NodeTemplateAmazonec2ConfigPtrOutput { - return o.ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(context.Background()) +func (o MachineConfigV2OpenstackConfigOutput) ToMachineConfigV2OpenstackConfigPtrOutput() MachineConfigV2OpenstackConfigPtrOutput { + return o.ToMachineConfigV2OpenstackConfigPtrOutputWithContext(context.Background()) } -func (o NodeTemplateAmazonec2ConfigOutput) ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateAmazonec2Config) *NodeTemplateAmazonec2Config { +func (o MachineConfigV2OpenstackConfigOutput) ToMachineConfigV2OpenstackConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2OpenstackConfig) *MachineConfigV2OpenstackConfig { return &v - }).(NodeTemplateAmazonec2ConfigPtrOutput) + }).(MachineConfigV2OpenstackConfigPtrOutput) } -// AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateAmazonec2ConfigOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.AccessKey }).(pulumi.StringPtrOutput) +// OpenStack active timeout Default `200` (string) +func (o MachineConfigV2OpenstackConfigOutput) ActiveTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ActiveTimeout }).(pulumi.StringPtrOutput) } -// AWS machine image (string) -func (o NodeTemplateAmazonec2ConfigOutput) Ami() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) string { return v.Ami }).(pulumi.StringOutput) +// OpenStack application credential id. Conflicts with `applicationCredentialName` (string) +func (o MachineConfigV2OpenstackConfigOutput) ApplicationCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ApplicationCredentialId }).(pulumi.StringPtrOutput) +} + +// OpenStack application credential name. Conflicts with `applicationCredentialId` (string) +func (o MachineConfigV2OpenstackConfigOutput) ApplicationCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ApplicationCredentialName }).(pulumi.StringPtrOutput) +} + +// OpenStack application credential secret (string) +func (o MachineConfigV2OpenstackConfigOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ApplicationCredentialSecret }).(pulumi.StringPtrOutput) +} + +// OpenStack authentication URL (string) +func (o MachineConfigV2OpenstackConfigOutput) AuthUrl() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) string { return v.AuthUrl }).(pulumi.StringOutput) +} + +// OpenStack availability zone (string) +func (o MachineConfigV2OpenstackConfigOutput) AvailabilityZone() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) string { return v.AvailabilityZone }).(pulumi.StringOutput) +} + +// Enable booting from volume. Default is `false` (bool) +func (o MachineConfigV2OpenstackConfigOutput) BootFromVolume() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *bool { return v.BootFromVolume }).(pulumi.BoolPtrOutput) +} + +// CA certificate bundle to verify against (string) +func (o MachineConfigV2OpenstackConfigOutput) Cacert() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.Cacert }).(pulumi.StringPtrOutput) +} + +// Enables the OpenStack config drive for the instance. Default `false` (bool) +func (o MachineConfigV2OpenstackConfigOutput) ConfigDrive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *bool { return v.ConfigDrive }).(pulumi.BoolPtrOutput) +} + +// OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) +func (o MachineConfigV2OpenstackConfigOutput) DomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.DomainId }).(pulumi.StringPtrOutput) +} + +// OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) +func (o MachineConfigV2OpenstackConfigOutput) DomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.DomainName }).(pulumi.StringPtrOutput) } -// AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) -func (o NodeTemplateAmazonec2ConfigOutput) BlockDurationMinutes() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.BlockDurationMinutes }).(pulumi.StringPtrOutput) +// OpenStack endpoint type. adminURL, internalURL or publicURL (string) +func (o MachineConfigV2OpenstackConfigOutput) EndpointType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.EndpointType }).(pulumi.StringPtrOutput) } -// AWS root device name. Default `/dev/sda1` (string) -func (o NodeTemplateAmazonec2ConfigOutput) DeviceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.DeviceName }).(pulumi.StringPtrOutput) +// OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) +func (o MachineConfigV2OpenstackConfigOutput) FlavorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.FlavorId }).(pulumi.StringPtrOutput) } -// Encrypt EBS volume. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigOutput) EncryptEbsVolume() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.EncryptEbsVolume }).(pulumi.BoolPtrOutput) +// OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) +func (o MachineConfigV2OpenstackConfigOutput) FlavorName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.FlavorName }).(pulumi.StringPtrOutput) } -// Optional endpoint URL (hostname only or fully qualified URI) (string) -func (o NodeTemplateAmazonec2ConfigOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.Endpoint }).(pulumi.StringPtrOutput) +// OpenStack floating IP pool to get an IP from to assign to the instance (string) +func (o MachineConfigV2OpenstackConfigOutput) FloatingIpPool() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.FloatingIpPool }).(pulumi.StringPtrOutput) } -// AWS IAM Instance Profile (string) -func (o NodeTemplateAmazonec2ConfigOutput) IamInstanceProfile() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.IamInstanceProfile }).(pulumi.StringPtrOutput) +// OpenStack image id to use for the instance. Conflicts with `imageName` (string) +func (o MachineConfigV2OpenstackConfigOutput) ImageId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ImageId }).(pulumi.StringPtrOutput) } -// Disable SSL when sending requests (bool) -func (o NodeTemplateAmazonec2ConfigOutput) InsecureTransport() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.InsecureTransport }).(pulumi.BoolPtrOutput) +// OpenStack image name to use for the instance. Conflicts with `imageId` (string) +func (o MachineConfigV2OpenstackConfigOutput) ImageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.ImageName }).(pulumi.StringPtrOutput) } -// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) -func (o NodeTemplateAmazonec2ConfigOutput) InstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.InstanceType }).(pulumi.StringPtrOutput) +// Disable TLS credential checking. Default `false` (bool) +func (o MachineConfigV2OpenstackConfigOutput) Insecure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *bool { return v.Insecure }).(pulumi.BoolPtrOutput) } -// 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) +// OpenStack version of IP address assigned for the machine Default `4` (string) +func (o MachineConfigV2OpenstackConfigOutput) IpVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.IpVersion }).(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) +// OpenStack keypair to use to SSH to the instance (string) +func (o MachineConfigV2OpenstackConfigOutput) KeypairName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.KeypairName }).(pulumi.StringPtrOutput) } -// Enable monitoring for droplet. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigOutput) Monitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.Monitoring }).(pulumi.BoolPtrOutput) +// OpenStack network id the machine will be connected on. Conflicts with `netName` (string) +func (o MachineConfigV2OpenstackConfigOutput) NetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.NetId }).(pulumi.StringPtrOutput) } -// Make the specified port number accessible from the Internet. (list) -func (o NodeTemplateAmazonec2ConfigOutput) OpenPorts() pulumi.StringArrayOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) []string { return v.OpenPorts }).(pulumi.StringArrayOutput) +// OpenStack network name the machine will be connected on. Conflicts with `netId` (string) +func (o MachineConfigV2OpenstackConfigOutput) NetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.NetName }).(pulumi.StringPtrOutput) } -// Only use a private IP address. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigOutput) PrivateAddressOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.PrivateAddressOnly }).(pulumi.BoolPtrOutput) +// Use the nova networking services instead of neutron (string) +func (o MachineConfigV2OpenstackConfigOutput) NovaNetwork() pulumi.BoolPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *bool { return v.NovaNetwork }).(pulumi.BoolPtrOutput) } -// OpenStack region name (string) -func (o NodeTemplateAmazonec2ConfigOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) string { return v.Region }).(pulumi.StringOutput) +// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2OpenstackConfigOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.Password }).(pulumi.StringPtrOutput) } -// Set this flag to request spot instance. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigOutput) RequestSpotInstance() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.RequestSpotInstance }).(pulumi.BoolPtrOutput) +// Private key content to use for SSH (string) +func (o MachineConfigV2OpenstackConfigOutput) PrivateKeyFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.PrivateKeyFile }).(pulumi.StringPtrOutput) } -// Set retry count for recoverable failures (use -1 to disable). Default `5` (string) -func (o NodeTemplateAmazonec2ConfigOutput) Retries() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.Retries }).(pulumi.StringPtrOutput) +// OpenStack region name (string) +func (o MachineConfigV2OpenstackConfigOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) string { return v.Region }).(pulumi.StringOutput) } -// AWS root disk size (in GB). Default `16` (string) -func (o NodeTemplateAmazonec2ConfigOutput) RootSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.RootSize }).(pulumi.StringPtrOutput) +// OpenStack comma separated security groups for the machine (string) +func (o MachineConfigV2OpenstackConfigOutput) SecGroups() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.SecGroups }).(pulumi.StringPtrOutput) } -// AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateAmazonec2ConfigOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.SecretKey }).(pulumi.StringPtrOutput) +// If using a non-B2D image you can specify the ssh port. Default `22` (string) +func (o MachineConfigV2OpenstackConfigOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) } -// Skip adding default rules to security groups (bool) -func (o NodeTemplateAmazonec2ConfigOutput) SecurityGroupReadonly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.SecurityGroupReadonly }).(pulumi.BoolPtrOutput) +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2OpenstackConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) } -// AWS VPC security group. (list) -func (o NodeTemplateAmazonec2ConfigOutput) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) +// OpenStack tenant domain id. Conflicts with `tenantDomainName` (string) +func (o MachineConfigV2OpenstackConfigOutput) TenantDomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.TenantDomainId }).(pulumi.StringPtrOutput) } -// AWS Session Token (string) -func (o NodeTemplateAmazonec2ConfigOutput) SessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.SessionToken }).(pulumi.StringPtrOutput) +// OpenStack tenant domain name. Conflicts with `tenantDomainId` (string) +func (o MachineConfigV2OpenstackConfigOutput) TenantDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.TenantDomainName }).(pulumi.StringPtrOutput) } -// AWS spot instance bid price (in dollar). Default `0.50` (string) -func (o NodeTemplateAmazonec2ConfigOutput) SpotPrice() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.SpotPrice }).(pulumi.StringPtrOutput) +// OpenStack tenant id. Conflicts with `tenantName` (string) +func (o MachineConfigV2OpenstackConfigOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.TenantId }).(pulumi.StringPtrOutput) } -// SSH Key for Instance (string) -func (o NodeTemplateAmazonec2ConfigOutput) SshKeypath() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.SshKeypath }).(pulumi.StringPtrOutput) +// OpenStack tenant name. Conflicts with `tenantId` (string) +func (o MachineConfigV2OpenstackConfigOutput) TenantName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.TenantName }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateAmazonec2ConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.SshUser }).(pulumi.StringPtrOutput) +// File containing an openstack userdata script (string) +func (o MachineConfigV2OpenstackConfigOutput) UserDataFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.UserDataFile }).(pulumi.StringPtrOutput) } -// AWS VPC subnet id (string) -func (o NodeTemplateAmazonec2ConfigOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) string { return v.SubnetId }).(pulumi.StringOutput) +// OpenStack user domain id. Conflicts with `userDomainName` (string) +func (o MachineConfigV2OpenstackConfigOutput) UserDomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.UserDomainId }).(pulumi.StringPtrOutput) } -// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) -func (o NodeTemplateAmazonec2ConfigOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.Tags }).(pulumi.StringPtrOutput) +// OpenStack user domain name. Conflicts with `userDomainId` (string) +func (o MachineConfigV2OpenstackConfigOutput) UserDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.UserDomainName }).(pulumi.StringPtrOutput) } -// Create an EBS optimized instance. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigOutput) UseEbsOptimizedInstance() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.UseEbsOptimizedInstance }).(pulumi.BoolPtrOutput) +// OpenStack username (string) +func (o MachineConfigV2OpenstackConfigOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.Username }).(pulumi.StringPtrOutput) } -// Force the usage of private IP address. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigOutput) UsePrivateAddress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.UsePrivateAddress }).(pulumi.BoolPtrOutput) +// 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. +func (o MachineConfigV2OpenstackConfigOutput) VolumeDevicePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeDevicePath }).(pulumi.StringPtrOutput) } -// Path to file with cloud-init user-data (string) -func (o NodeTemplateAmazonec2ConfigOutput) Userdata() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.Userdata }).(pulumi.StringPtrOutput) +// OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) +func (o MachineConfigV2OpenstackConfigOutput) VolumeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeId }).(pulumi.StringPtrOutput) } -// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) -func (o NodeTemplateAmazonec2ConfigOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.VolumeType }).(pulumi.StringPtrOutput) +// OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) +func (o MachineConfigV2OpenstackConfigOutput) VolumeName() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeName }).(pulumi.StringPtrOutput) } -// AWS VPC id. (string) -func (o NodeTemplateAmazonec2ConfigOutput) VpcId() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) string { return v.VpcId }).(pulumi.StringOutput) +// OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) +func (o MachineConfigV2OpenstackConfigOutput) VolumeSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeSize }).(pulumi.StringPtrOutput) } -// AWS zone for instance (i.e. a,b,c,d,e) (string) -func (o NodeTemplateAmazonec2ConfigOutput) Zone() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateAmazonec2Config) string { return v.Zone }).(pulumi.StringOutput) +// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) +func (o MachineConfigV2OpenstackConfigOutput) VolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2OpenstackConfig) *string { return v.VolumeType }).(pulumi.StringPtrOutput) } -type NodeTemplateAmazonec2ConfigPtrOutput struct{ *pulumi.OutputState } +type MachineConfigV2OpenstackConfigPtrOutput struct{ *pulumi.OutputState } -func (NodeTemplateAmazonec2ConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateAmazonec2Config)(nil)).Elem() +func (MachineConfigV2OpenstackConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2OpenstackConfig)(nil)).Elem() } -func (o NodeTemplateAmazonec2ConfigPtrOutput) ToNodeTemplateAmazonec2ConfigPtrOutput() NodeTemplateAmazonec2ConfigPtrOutput { +func (o MachineConfigV2OpenstackConfigPtrOutput) ToMachineConfigV2OpenstackConfigPtrOutput() MachineConfigV2OpenstackConfigPtrOutput { return o } -func (o NodeTemplateAmazonec2ConfigPtrOutput) ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigPtrOutput { +func (o MachineConfigV2OpenstackConfigPtrOutput) ToMachineConfigV2OpenstackConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2OpenstackConfigPtrOutput { return o } -func (o NodeTemplateAmazonec2ConfigPtrOutput) Elem() NodeTemplateAmazonec2ConfigOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) NodeTemplateAmazonec2Config { +func (o MachineConfigV2OpenstackConfigPtrOutput) Elem() MachineConfigV2OpenstackConfigOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) MachineConfigV2OpenstackConfig { if v != nil { return *v } - var ret NodeTemplateAmazonec2Config + var ret MachineConfigV2OpenstackConfig return ret - }).(NodeTemplateAmazonec2ConfigOutput) + }).(MachineConfigV2OpenstackConfigOutput) } -// AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack active timeout Default `200` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) ActiveTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.AccessKey + return v.ActiveTimeout }).(pulumi.StringPtrOutput) } -// AWS machine image (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) Ami() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack application credential id. Conflicts with `applicationCredentialName` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) ApplicationCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return &v.Ami + return v.ApplicationCredentialId }).(pulumi.StringPtrOutput) } -// AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) BlockDurationMinutes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack application credential name. Conflicts with `applicationCredentialId` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) ApplicationCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.BlockDurationMinutes + return v.ApplicationCredentialName }).(pulumi.StringPtrOutput) } -// AWS root device name. Default `/dev/sda1` (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) DeviceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack application credential secret (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.DeviceName + return v.ApplicationCredentialSecret }).(pulumi.StringPtrOutput) } -// Encrypt EBS volume. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigPtrOutput) EncryptEbsVolume() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { +// OpenStack authentication URL (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) AuthUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.EncryptEbsVolume - }).(pulumi.BoolPtrOutput) + return &v.AuthUrl + }).(pulumi.StringPtrOutput) } -// Optional endpoint URL (hostname only or fully qualified URI) (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack availability zone (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) AvailabilityZone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.Endpoint + return &v.AvailabilityZone }).(pulumi.StringPtrOutput) } -// AWS IAM Instance Profile (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) IamInstanceProfile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// Enable booting from volume. Default is `false` (bool) +func (o MachineConfigV2OpenstackConfigPtrOutput) BootFromVolume() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *bool { if v == nil { return nil } - return v.IamInstanceProfile + return v.BootFromVolume + }).(pulumi.BoolPtrOutput) +} + +// CA certificate bundle to verify against (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) Cacert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { + if v == nil { + return nil + } + return v.Cacert }).(pulumi.StringPtrOutput) } -// Disable SSL when sending requests (bool) -func (o NodeTemplateAmazonec2ConfigPtrOutput) InsecureTransport() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { +// Enables the OpenStack config drive for the instance. Default `false` (bool) +func (o MachineConfigV2OpenstackConfigPtrOutput) ConfigDrive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *bool { if v == nil { return nil } - return v.InsecureTransport + return v.ConfigDrive }).(pulumi.BoolPtrOutput) } -// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) InstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) DomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.InstanceType + return v.DomainId }).(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 { +// OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) DomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.KeypairName + return v.DomainName }).(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 { +// OpenStack endpoint type. adminURL, internalURL or publicURL (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) EndpointType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.KmsKey + return v.EndpointType }).(pulumi.StringPtrOutput) } -// Enable monitoring for droplet. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigPtrOutput) Monitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { +// OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) FlavorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.Monitoring - }).(pulumi.BoolPtrOutput) + return v.FlavorId + }).(pulumi.StringPtrOutput) } -// Make the specified port number accessible from the Internet. (list) -func (o NodeTemplateAmazonec2ConfigPtrOutput) OpenPorts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) []string { +// OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) FlavorName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.OpenPorts - }).(pulumi.StringArrayOutput) + return v.FlavorName + }).(pulumi.StringPtrOutput) } -// Only use a private IP address. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigPtrOutput) PrivateAddressOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { +// OpenStack floating IP pool to get an IP from to assign to the instance (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) FloatingIpPool() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.PrivateAddressOnly - }).(pulumi.BoolPtrOutput) + return v.FloatingIpPool + }).(pulumi.StringPtrOutput) } -// OpenStack region name (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack image id to use for the instance. Conflicts with `imageName` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) ImageId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return &v.Region + return v.ImageId }).(pulumi.StringPtrOutput) } -// Set this flag to request spot instance. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigPtrOutput) RequestSpotInstance() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { +// OpenStack image name to use for the instance. Conflicts with `imageId` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) ImageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.RequestSpotInstance + return v.ImageName + }).(pulumi.StringPtrOutput) +} + +// Disable TLS credential checking. Default `false` (bool) +func (o MachineConfigV2OpenstackConfigPtrOutput) Insecure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *bool { + if v == nil { + return nil + } + return v.Insecure }).(pulumi.BoolPtrOutput) } -// Set retry count for recoverable failures (use -1 to disable). Default `5` (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) Retries() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack version of IP address assigned for the machine Default `4` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) IpVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.Retries + return v.IpVersion }).(pulumi.StringPtrOutput) } -// AWS root disk size (in GB). Default `16` (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) RootSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack keypair to use to SSH to the instance (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) KeypairName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.RootSize + return v.KeypairName }).(pulumi.StringPtrOutput) } -// AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack network id the machine will be connected on. Conflicts with `netName` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) NetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.SecretKey + return v.NetId }).(pulumi.StringPtrOutput) } -// Skip adding default rules to security groups (bool) -func (o NodeTemplateAmazonec2ConfigPtrOutput) SecurityGroupReadonly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { +// OpenStack network name the machine will be connected on. Conflicts with `netId` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) NetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.SecurityGroupReadonly + return v.NetName + }).(pulumi.StringPtrOutput) +} + +// Use the nova networking services instead of neutron (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) NovaNetwork() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *bool { + if v == nil { + return nil + } + return v.NovaNetwork }).(pulumi.BoolPtrOutput) } -// AWS VPC security group. (list) -func (o NodeTemplateAmazonec2ConfigPtrOutput) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) []string { +// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.SecurityGroups - }).(pulumi.StringArrayOutput) + return v.Password + }).(pulumi.StringPtrOutput) } -// AWS Session Token (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) SessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// Private key content to use for SSH (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) PrivateKeyFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.SessionToken + return v.PrivateKeyFile }).(pulumi.StringPtrOutput) } -// AWS spot instance bid price (in dollar). Default `0.50` (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) SpotPrice() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack region name (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.SpotPrice + return &v.Region }).(pulumi.StringPtrOutput) } -// SSH Key for Instance (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) SshKeypath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack comma separated security groups for the machine (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) SecGroups() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.SshKeypath + return v.SecGroups }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// If using a non-B2D image you can specify the ssh port. Default `22` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { + if v == nil { + return nil + } + return v.SshPort + }).(pulumi.StringPtrOutput) +} + +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } @@ -51978,499 +51975,658 @@ func (o NodeTemplateAmazonec2ConfigPtrOutput) SshUser() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// AWS VPC subnet id (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack tenant domain id. Conflicts with `tenantDomainName` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) TenantDomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return &v.SubnetId + return v.TenantDomainId }).(pulumi.StringPtrOutput) } -// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) -func (o NodeTemplateAmazonec2ConfigPtrOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack tenant domain name. Conflicts with `tenantDomainId` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) TenantDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { + if v == nil { + return nil + } + return v.TenantDomainName + }).(pulumi.StringPtrOutput) +} + +// OpenStack tenant id. Conflicts with `tenantName` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { + if v == nil { + return nil + } + return v.TenantId + }).(pulumi.StringPtrOutput) +} + +// OpenStack tenant name. Conflicts with `tenantId` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) TenantName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { + if v == nil { + return nil + } + return v.TenantName + }).(pulumi.StringPtrOutput) +} + +// File containing an openstack userdata script (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) UserDataFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { + if v == nil { + return nil + } + return v.UserDataFile + }).(pulumi.StringPtrOutput) +} + +// OpenStack user domain id. Conflicts with `userDomainName` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) UserDomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { + if v == nil { + return nil + } + return v.UserDomainId + }).(pulumi.StringPtrOutput) +} + +// OpenStack user domain name. Conflicts with `userDomainId` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) UserDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.Tags + return v.UserDomainName }).(pulumi.StringPtrOutput) } -// Create an EBS optimized instance. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigPtrOutput) UseEbsOptimizedInstance() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { +// OpenStack username (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.UseEbsOptimizedInstance - }).(pulumi.BoolPtrOutput) + return v.Username + }).(pulumi.StringPtrOutput) } -// Force the usage of private IP address. Default `false` (bool) -func (o NodeTemplateAmazonec2ConfigPtrOutput) UsePrivateAddress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { +// 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. +func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeDevicePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.UsePrivateAddress - }).(pulumi.BoolPtrOutput) + return v.VolumeDevicePath + }).(pulumi.StringPtrOutput) } -// Path to file with cloud-init user-data (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) Userdata() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.Userdata + return v.VolumeId }).(pulumi.StringPtrOutput) } -// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return v.VolumeType + return v.VolumeName }).(pulumi.StringPtrOutput) } -// AWS VPC id. (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) VpcId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return &v.VpcId + return v.VolumeSize }).(pulumi.StringPtrOutput) } -// AWS zone for instance (i.e. a,b,c,d,e) (string) -func (o NodeTemplateAmazonec2ConfigPtrOutput) Zone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { +// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) +func (o MachineConfigV2OpenstackConfigPtrOutput) VolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2OpenstackConfig) *string { if v == nil { return nil } - return &v.Zone + return v.VolumeType }).(pulumi.StringPtrOutput) } -type NodeTemplateAzureConfig struct { - // Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) - AvailabilitySet *string `pulumi:"availabilitySet"` - // Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - ClientId *string `pulumi:"clientId"` - // Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - ClientSecret *string `pulumi:"clientSecret"` - // Path to file with custom-data (string) - CustomData *string `pulumi:"customData"` +type MachineConfigV2VsphereConfig struct { + // vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) + Boot2dockerUrl *string `pulumi:"boot2dockerUrl"` + // vSphere vm configuration parameters (used for guestinfo) (list) + Cfgparams []string `pulumi:"cfgparams"` + // If you choose creation type vm (clone vm) a name of what vm you want to clone is required (string) + CloneFrom *string `pulumi:"cloneFrom"` + // Filepath to a cloud-config yaml file to put into the ISO user-data (string) + CloudConfig *string `pulumi:"cloudConfig"` + // vSphere cloud-init file or url to set in the guestinfo (string) + Cloudinit *string `pulumi:"cloudinit"` + // If you choose to clone from a content library template specify the name of the library (string) + ContentLibrary *string `pulumi:"contentLibrary"` + // vSphere CPU number for docker VM. Default `2` (string) + CpuCount *string `pulumi:"cpuCount"` + // Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy` (string) + CreationType *string `pulumi:"creationType"` + // vSphere custom attributes, format key/value e.g. `200=my custom value` (List) + CustomAttributes []string `pulumi:"customAttributes"` + // vSphere datacenter for docker VM (string) + Datacenter *string `pulumi:"datacenter"` + // vSphere datastore for docker VM (string) + Datastore *string `pulumi:"datastore"` + // vSphere datastore cluster for virtual machine (string) + DatastoreCluster *string `pulumi:"datastoreCluster"` // vSphere size of disk for docker VM (in MB). Default `20480` (string) DiskSize *string `pulumi:"diskSize"` - // A unique DNS label for the public IP adddress (string) - Dns *string `pulumi:"dns"` - // Docker Port. Default `2376` (string) - DockerPort *string `pulumi:"dockerPort"` - // Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) - Environment *string `pulumi:"environment"` - // Fault domain count to use for availability set. Default `3` (string) - FaultDomainCount *string `pulumi:"faultDomainCount"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image *string `pulumi:"image"` - // Azure region to create the virtual machine. Default `westus` (string) - Location *string `pulumi:"location"` - // Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) - ManagedDisks *bool `pulumi:"managedDisks"` - // Do not create a public IP address for the machine. Default `false` (bool) - NoPublicIp *bool `pulumi:"noPublicIp"` - // Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) - Nsg *string `pulumi:"nsg"` - // Make the specified port number accessible from the Internet. (list) - OpenPorts []string `pulumi:"openPorts"` - // Azure marketplace purchase plan for Azure Virtual Machine. Format is `::`. Just for Rancher v2.6.3 and above. (string) - Plan *string `pulumi:"plan"` - // Specify a static private IP address for the machine. (string) - PrivateIpAddress *string `pulumi:"privateIpAddress"` - // Azure Resource Group name (will be created if missing). Default `docker-machine` (string) - ResourceGroup *string `pulumi:"resourceGroup"` - // Digital Ocean size. Default `s-1vcpu-1gb` (string) - Size *string `pulumi:"size"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + // vSphere folder for the docker VM. This folder must already exist in the datacenter (string) + Folder *string `pulumi:"folder"` + // vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) + Hostsystem *string `pulumi:"hostsystem"` + // vSphere size of memory for docker VM (in MB). Default `2048` (string) + MemorySize *string `pulumi:"memorySize"` + // vSphere network where the docker VM will be attached (list) + Networks []string `pulumi:"networks"` + // OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Password *string `pulumi:"password"` + // vSphere resource pool for docker VM (string) + Pool *string `pulumi:"pool"` + // If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) + SshPassword *string `pulumi:"sshPassword"` + // If using a non-B2D image you can specify the ssh port. Default `22` (string) + SshPort *string `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) SshUser *string `pulumi:"sshUser"` - // Assign a static public IP address to the machine. Default `false` (bool) - StaticPublicIp *bool `pulumi:"staticPublicIp"` - // Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) - StorageType *string `pulumi:"storageType"` - // Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) - Subnet *string `pulumi:"subnet"` - // Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) - SubnetPrefix *string `pulumi:"subnetPrefix"` - // Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - SubscriptionId *string `pulumi:"subscriptionId"` - // Update domain count to use for availability set. Default `5` (string) - UpdateDomainCount *string `pulumi:"updateDomainCount"` - // Use private IP address of the machine to connect. Default `false` (bool) - UsePrivateIp *bool `pulumi:"usePrivateIp"` - // Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) - Vnet *string `pulumi:"vnet"` + // If using a non-B2D image the uploaded keys will need chown'ed. Default `staff` (string) + SshUserGroup *string `pulumi:"sshUserGroup"` + // vSphere tags id e.g. `urn:xxx` (list) + Tags []string `pulumi:"tags"` + // OpenStack username (string) + Username *string `pulumi:"username"` + // vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) + VappIpAllocationPolicy *string `pulumi:"vappIpAllocationPolicy"` + // vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) + VappIpProtocol *string `pulumi:"vappIpProtocol"` + // vSphere vApp properties (list) + VappProperties []string `pulumi:"vappProperties"` + // vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) + VappTransport *string `pulumi:"vappTransport"` + // vSphere IP/hostname for vCenter (string) + Vcenter *string `pulumi:"vcenter"` + // vSphere Port for vCenter Default `443` (string) + VcenterPort *string `pulumi:"vcenterPort"` } -// NodeTemplateAzureConfigInput is an input type that accepts NodeTemplateAzureConfigArgs and NodeTemplateAzureConfigOutput values. -// You can construct a concrete instance of `NodeTemplateAzureConfigInput` via: +// MachineConfigV2VsphereConfigInput is an input type that accepts MachineConfigV2VsphereConfigArgs and MachineConfigV2VsphereConfigOutput values. +// You can construct a concrete instance of `MachineConfigV2VsphereConfigInput` via: // -// NodeTemplateAzureConfigArgs{...} -type NodeTemplateAzureConfigInput interface { +// MachineConfigV2VsphereConfigArgs{...} +type MachineConfigV2VsphereConfigInput interface { pulumi.Input - ToNodeTemplateAzureConfigOutput() NodeTemplateAzureConfigOutput - ToNodeTemplateAzureConfigOutputWithContext(context.Context) NodeTemplateAzureConfigOutput + ToMachineConfigV2VsphereConfigOutput() MachineConfigV2VsphereConfigOutput + ToMachineConfigV2VsphereConfigOutputWithContext(context.Context) MachineConfigV2VsphereConfigOutput } -type NodeTemplateAzureConfigArgs struct { - // Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) - AvailabilitySet pulumi.StringPtrInput `pulumi:"availabilitySet"` - // Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - ClientId pulumi.StringPtrInput `pulumi:"clientId"` - // Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - ClientSecret pulumi.StringPtrInput `pulumi:"clientSecret"` - // Path to file with custom-data (string) - CustomData pulumi.StringPtrInput `pulumi:"customData"` +type MachineConfigV2VsphereConfigArgs struct { + // vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) + Boot2dockerUrl pulumi.StringPtrInput `pulumi:"boot2dockerUrl"` + // vSphere vm configuration parameters (used for guestinfo) (list) + Cfgparams pulumi.StringArrayInput `pulumi:"cfgparams"` + // If you choose creation type vm (clone vm) a name of what vm you want to clone is required (string) + CloneFrom pulumi.StringPtrInput `pulumi:"cloneFrom"` + // Filepath to a cloud-config yaml file to put into the ISO user-data (string) + CloudConfig pulumi.StringPtrInput `pulumi:"cloudConfig"` + // vSphere cloud-init file or url to set in the guestinfo (string) + Cloudinit pulumi.StringPtrInput `pulumi:"cloudinit"` + // If you choose to clone from a content library template specify the name of the library (string) + ContentLibrary pulumi.StringPtrInput `pulumi:"contentLibrary"` + // vSphere CPU number for docker VM. Default `2` (string) + CpuCount pulumi.StringPtrInput `pulumi:"cpuCount"` + // Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy` (string) + CreationType pulumi.StringPtrInput `pulumi:"creationType"` + // vSphere custom attributes, format key/value e.g. `200=my custom value` (List) + CustomAttributes pulumi.StringArrayInput `pulumi:"customAttributes"` + // vSphere datacenter for docker VM (string) + Datacenter pulumi.StringPtrInput `pulumi:"datacenter"` + // vSphere datastore for docker VM (string) + Datastore pulumi.StringPtrInput `pulumi:"datastore"` + // vSphere datastore cluster for virtual machine (string) + DatastoreCluster pulumi.StringPtrInput `pulumi:"datastoreCluster"` // vSphere size of disk for docker VM (in MB). Default `20480` (string) DiskSize pulumi.StringPtrInput `pulumi:"diskSize"` - // A unique DNS label for the public IP adddress (string) - Dns pulumi.StringPtrInput `pulumi:"dns"` - // Docker Port. Default `2376` (string) - DockerPort pulumi.StringPtrInput `pulumi:"dockerPort"` - // Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) - Environment pulumi.StringPtrInput `pulumi:"environment"` - // Fault domain count to use for availability set. Default `3` (string) - FaultDomainCount pulumi.StringPtrInput `pulumi:"faultDomainCount"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image pulumi.StringPtrInput `pulumi:"image"` - // Azure region to create the virtual machine. Default `westus` (string) - Location pulumi.StringPtrInput `pulumi:"location"` - // Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) - ManagedDisks pulumi.BoolPtrInput `pulumi:"managedDisks"` - // Do not create a public IP address for the machine. Default `false` (bool) - NoPublicIp pulumi.BoolPtrInput `pulumi:"noPublicIp"` - // Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) - Nsg pulumi.StringPtrInput `pulumi:"nsg"` - // Make the specified port number accessible from the Internet. (list) - OpenPorts pulumi.StringArrayInput `pulumi:"openPorts"` - // Azure marketplace purchase plan for Azure Virtual Machine. Format is `::`. Just for Rancher v2.6.3 and above. (string) - Plan pulumi.StringPtrInput `pulumi:"plan"` - // Specify a static private IP address for the machine. (string) - PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"` - // Azure Resource Group name (will be created if missing). Default `docker-machine` (string) - ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` - // Digital Ocean size. Default `s-1vcpu-1gb` (string) - Size pulumi.StringPtrInput `pulumi:"size"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + // vSphere folder for the docker VM. This folder must already exist in the datacenter (string) + Folder pulumi.StringPtrInput `pulumi:"folder"` + // vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) + Hostsystem pulumi.StringPtrInput `pulumi:"hostsystem"` + // vSphere size of memory for docker VM (in MB). Default `2048` (string) + MemorySize pulumi.StringPtrInput `pulumi:"memorySize"` + // vSphere network where the docker VM will be attached (list) + Networks pulumi.StringArrayInput `pulumi:"networks"` + // OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Password pulumi.StringPtrInput `pulumi:"password"` + // vSphere resource pool for docker VM (string) + Pool pulumi.StringPtrInput `pulumi:"pool"` + // If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) + SshPassword pulumi.StringPtrInput `pulumi:"sshPassword"` + // If using a non-B2D image you can specify the ssh port. Default `22` (string) + SshPort pulumi.StringPtrInput `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. (string) SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // Assign a static public IP address to the machine. Default `false` (bool) - StaticPublicIp pulumi.BoolPtrInput `pulumi:"staticPublicIp"` - // Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) - StorageType pulumi.StringPtrInput `pulumi:"storageType"` - // Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) - Subnet pulumi.StringPtrInput `pulumi:"subnet"` - // Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) - SubnetPrefix pulumi.StringPtrInput `pulumi:"subnetPrefix"` - // Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` - // Update domain count to use for availability set. Default `5` (string) - UpdateDomainCount pulumi.StringPtrInput `pulumi:"updateDomainCount"` - // Use private IP address of the machine to connect. Default `false` (bool) - UsePrivateIp pulumi.BoolPtrInput `pulumi:"usePrivateIp"` - // Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) - Vnet pulumi.StringPtrInput `pulumi:"vnet"` + // If using a non-B2D image the uploaded keys will need chown'ed. Default `staff` (string) + SshUserGroup pulumi.StringPtrInput `pulumi:"sshUserGroup"` + // vSphere tags id e.g. `urn:xxx` (list) + Tags pulumi.StringArrayInput `pulumi:"tags"` + // OpenStack username (string) + Username pulumi.StringPtrInput `pulumi:"username"` + // vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) + VappIpAllocationPolicy pulumi.StringPtrInput `pulumi:"vappIpAllocationPolicy"` + // vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) + VappIpProtocol pulumi.StringPtrInput `pulumi:"vappIpProtocol"` + // vSphere vApp properties (list) + VappProperties pulumi.StringArrayInput `pulumi:"vappProperties"` + // vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) + VappTransport pulumi.StringPtrInput `pulumi:"vappTransport"` + // vSphere IP/hostname for vCenter (string) + Vcenter pulumi.StringPtrInput `pulumi:"vcenter"` + // vSphere Port for vCenter Default `443` (string) + VcenterPort pulumi.StringPtrInput `pulumi:"vcenterPort"` } -func (NodeTemplateAzureConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateAzureConfig)(nil)).Elem() +func (MachineConfigV2VsphereConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2VsphereConfig)(nil)).Elem() } -func (i NodeTemplateAzureConfigArgs) ToNodeTemplateAzureConfigOutput() NodeTemplateAzureConfigOutput { - return i.ToNodeTemplateAzureConfigOutputWithContext(context.Background()) +func (i MachineConfigV2VsphereConfigArgs) ToMachineConfigV2VsphereConfigOutput() MachineConfigV2VsphereConfigOutput { + return i.ToMachineConfigV2VsphereConfigOutputWithContext(context.Background()) } -func (i NodeTemplateAzureConfigArgs) ToNodeTemplateAzureConfigOutputWithContext(ctx context.Context) NodeTemplateAzureConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAzureConfigOutput) +func (i MachineConfigV2VsphereConfigArgs) ToMachineConfigV2VsphereConfigOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2VsphereConfigOutput) } -func (i NodeTemplateAzureConfigArgs) ToNodeTemplateAzureConfigPtrOutput() NodeTemplateAzureConfigPtrOutput { - return i.ToNodeTemplateAzureConfigPtrOutputWithContext(context.Background()) +func (i MachineConfigV2VsphereConfigArgs) ToMachineConfigV2VsphereConfigPtrOutput() MachineConfigV2VsphereConfigPtrOutput { + return i.ToMachineConfigV2VsphereConfigPtrOutputWithContext(context.Background()) } -func (i NodeTemplateAzureConfigArgs) ToNodeTemplateAzureConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAzureConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAzureConfigOutput).ToNodeTemplateAzureConfigPtrOutputWithContext(ctx) +func (i MachineConfigV2VsphereConfigArgs) ToMachineConfigV2VsphereConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2VsphereConfigOutput).ToMachineConfigV2VsphereConfigPtrOutputWithContext(ctx) } -// NodeTemplateAzureConfigPtrInput is an input type that accepts NodeTemplateAzureConfigArgs, NodeTemplateAzureConfigPtr and NodeTemplateAzureConfigPtrOutput values. -// You can construct a concrete instance of `NodeTemplateAzureConfigPtrInput` via: +// MachineConfigV2VsphereConfigPtrInput is an input type that accepts MachineConfigV2VsphereConfigArgs, MachineConfigV2VsphereConfigPtr and MachineConfigV2VsphereConfigPtrOutput values. +// You can construct a concrete instance of `MachineConfigV2VsphereConfigPtrInput` via: // -// NodeTemplateAzureConfigArgs{...} +// MachineConfigV2VsphereConfigArgs{...} // // or: // // nil -type NodeTemplateAzureConfigPtrInput interface { +type MachineConfigV2VsphereConfigPtrInput interface { pulumi.Input - ToNodeTemplateAzureConfigPtrOutput() NodeTemplateAzureConfigPtrOutput - ToNodeTemplateAzureConfigPtrOutputWithContext(context.Context) NodeTemplateAzureConfigPtrOutput + ToMachineConfigV2VsphereConfigPtrOutput() MachineConfigV2VsphereConfigPtrOutput + ToMachineConfigV2VsphereConfigPtrOutputWithContext(context.Context) MachineConfigV2VsphereConfigPtrOutput } -type nodeTemplateAzureConfigPtrType NodeTemplateAzureConfigArgs +type machineConfigV2VsphereConfigPtrType MachineConfigV2VsphereConfigArgs -func NodeTemplateAzureConfigPtr(v *NodeTemplateAzureConfigArgs) NodeTemplateAzureConfigPtrInput { - return (*nodeTemplateAzureConfigPtrType)(v) +func MachineConfigV2VsphereConfigPtr(v *MachineConfigV2VsphereConfigArgs) MachineConfigV2VsphereConfigPtrInput { + return (*machineConfigV2VsphereConfigPtrType)(v) } -func (*nodeTemplateAzureConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateAzureConfig)(nil)).Elem() +func (*machineConfigV2VsphereConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2VsphereConfig)(nil)).Elem() } -func (i *nodeTemplateAzureConfigPtrType) ToNodeTemplateAzureConfigPtrOutput() NodeTemplateAzureConfigPtrOutput { - return i.ToNodeTemplateAzureConfigPtrOutputWithContext(context.Background()) +func (i *machineConfigV2VsphereConfigPtrType) ToMachineConfigV2VsphereConfigPtrOutput() MachineConfigV2VsphereConfigPtrOutput { + return i.ToMachineConfigV2VsphereConfigPtrOutputWithContext(context.Background()) } -func (i *nodeTemplateAzureConfigPtrType) ToNodeTemplateAzureConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAzureConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAzureConfigPtrOutput) +func (i *machineConfigV2VsphereConfigPtrType) ToMachineConfigV2VsphereConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineConfigV2VsphereConfigPtrOutput) } -type NodeTemplateAzureConfigOutput struct{ *pulumi.OutputState } +type MachineConfigV2VsphereConfigOutput struct{ *pulumi.OutputState } -func (NodeTemplateAzureConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateAzureConfig)(nil)).Elem() +func (MachineConfigV2VsphereConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MachineConfigV2VsphereConfig)(nil)).Elem() } -func (o NodeTemplateAzureConfigOutput) ToNodeTemplateAzureConfigOutput() NodeTemplateAzureConfigOutput { +func (o MachineConfigV2VsphereConfigOutput) ToMachineConfigV2VsphereConfigOutput() MachineConfigV2VsphereConfigOutput { return o } -func (o NodeTemplateAzureConfigOutput) ToNodeTemplateAzureConfigOutputWithContext(ctx context.Context) NodeTemplateAzureConfigOutput { +func (o MachineConfigV2VsphereConfigOutput) ToMachineConfigV2VsphereConfigOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigOutput { return o } -func (o NodeTemplateAzureConfigOutput) ToNodeTemplateAzureConfigPtrOutput() NodeTemplateAzureConfigPtrOutput { - return o.ToNodeTemplateAzureConfigPtrOutputWithContext(context.Background()) +func (o MachineConfigV2VsphereConfigOutput) ToMachineConfigV2VsphereConfigPtrOutput() MachineConfigV2VsphereConfigPtrOutput { + return o.ToMachineConfigV2VsphereConfigPtrOutputWithContext(context.Background()) } -func (o NodeTemplateAzureConfigOutput) ToNodeTemplateAzureConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAzureConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateAzureConfig) *NodeTemplateAzureConfig { +func (o MachineConfigV2VsphereConfigOutput) ToMachineConfigV2VsphereConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineConfigV2VsphereConfig) *MachineConfigV2VsphereConfig { return &v - }).(NodeTemplateAzureConfigPtrOutput) + }).(MachineConfigV2VsphereConfigPtrOutput) } -// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) -func (o NodeTemplateAzureConfigOutput) AvailabilitySet() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.AvailabilitySet }).(pulumi.StringPtrOutput) +// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) +func (o MachineConfigV2VsphereConfigOutput) Boot2dockerUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Boot2dockerUrl }).(pulumi.StringPtrOutput) } -// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateAzureConfigOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.ClientId }).(pulumi.StringPtrOutput) +// vSphere vm configuration parameters (used for guestinfo) (list) +func (o MachineConfigV2VsphereConfigOutput) Cfgparams() pulumi.StringArrayOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) []string { return v.Cfgparams }).(pulumi.StringArrayOutput) } -// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateAzureConfigOutput) ClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.ClientSecret }).(pulumi.StringPtrOutput) +// If you choose creation type vm (clone vm) a name of what vm you want to clone is required (string) +func (o MachineConfigV2VsphereConfigOutput) CloneFrom() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.CloneFrom }).(pulumi.StringPtrOutput) } -// Path to file with custom-data (string) -func (o NodeTemplateAzureConfigOutput) CustomData() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.CustomData }).(pulumi.StringPtrOutput) +// Filepath to a cloud-config yaml file to put into the ISO user-data (string) +func (o MachineConfigV2VsphereConfigOutput) CloudConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.CloudConfig }).(pulumi.StringPtrOutput) +} + +// vSphere cloud-init file or url to set in the guestinfo (string) +func (o MachineConfigV2VsphereConfigOutput) Cloudinit() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Cloudinit }).(pulumi.StringPtrOutput) +} + +// If you choose to clone from a content library template specify the name of the library (string) +func (o MachineConfigV2VsphereConfigOutput) ContentLibrary() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.ContentLibrary }).(pulumi.StringPtrOutput) +} + +// vSphere CPU number for docker VM. Default `2` (string) +func (o MachineConfigV2VsphereConfigOutput) CpuCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.CpuCount }).(pulumi.StringPtrOutput) +} + +// Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy` (string) +func (o MachineConfigV2VsphereConfigOutput) CreationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.CreationType }).(pulumi.StringPtrOutput) +} + +// vSphere custom attributes, format key/value e.g. `200=my custom value` (List) +func (o MachineConfigV2VsphereConfigOutput) CustomAttributes() pulumi.StringArrayOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) []string { return v.CustomAttributes }).(pulumi.StringArrayOutput) +} + +// vSphere datacenter for docker VM (string) +func (o MachineConfigV2VsphereConfigOutput) Datacenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Datacenter }).(pulumi.StringPtrOutput) +} + +// vSphere datastore for docker VM (string) +func (o MachineConfigV2VsphereConfigOutput) Datastore() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Datastore }).(pulumi.StringPtrOutput) +} + +// vSphere datastore cluster for virtual machine (string) +func (o MachineConfigV2VsphereConfigOutput) DatastoreCluster() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.DatastoreCluster }).(pulumi.StringPtrOutput) } // vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o NodeTemplateAzureConfigOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) +func (o MachineConfigV2VsphereConfigOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) } -// A unique DNS label for the public IP adddress (string) -func (o NodeTemplateAzureConfigOutput) Dns() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Dns }).(pulumi.StringPtrOutput) +// vSphere folder for the docker VM. This folder must already exist in the datacenter (string) +func (o MachineConfigV2VsphereConfigOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) } -// Docker Port. Default `2376` (string) -func (o NodeTemplateAzureConfigOutput) DockerPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.DockerPort }).(pulumi.StringPtrOutput) +// vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) +func (o MachineConfigV2VsphereConfigOutput) Hostsystem() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Hostsystem }).(pulumi.StringPtrOutput) } -// Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) -func (o NodeTemplateAzureConfigOutput) Environment() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Environment }).(pulumi.StringPtrOutput) +// vSphere size of memory for docker VM (in MB). Default `2048` (string) +func (o MachineConfigV2VsphereConfigOutput) MemorySize() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.MemorySize }).(pulumi.StringPtrOutput) } -// Fault domain count to use for availability set. Default `3` (string) -func (o NodeTemplateAzureConfigOutput) FaultDomainCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.FaultDomainCount }).(pulumi.StringPtrOutput) +// vSphere network where the docker VM will be attached (list) +func (o MachineConfigV2VsphereConfigOutput) Networks() pulumi.StringArrayOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) []string { return v.Networks }).(pulumi.StringArrayOutput) } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o NodeTemplateAzureConfigOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Image }).(pulumi.StringPtrOutput) +// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2VsphereConfigOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Password }).(pulumi.StringPtrOutput) } -// Azure region to create the virtual machine. Default `westus` (string) -func (o NodeTemplateAzureConfigOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Location }).(pulumi.StringPtrOutput) +// vSphere resource pool for docker VM (string) +func (o MachineConfigV2VsphereConfigOutput) Pool() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Pool }).(pulumi.StringPtrOutput) } -// Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) -func (o NodeTemplateAzureConfigOutput) ManagedDisks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *bool { return v.ManagedDisks }).(pulumi.BoolPtrOutput) +// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) +func (o MachineConfigV2VsphereConfigOutput) SshPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.SshPassword }).(pulumi.StringPtrOutput) } -// Do not create a public IP address for the machine. Default `false` (bool) -func (o NodeTemplateAzureConfigOutput) NoPublicIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *bool { return v.NoPublicIp }).(pulumi.BoolPtrOutput) +// If using a non-B2D image you can specify the ssh port. Default `22` (string) +func (o MachineConfigV2VsphereConfigOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) } -// Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) -func (o NodeTemplateAzureConfigOutput) Nsg() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Nsg }).(pulumi.StringPtrOutput) +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2VsphereConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) } -// Make the specified port number accessible from the Internet. (list) -func (o NodeTemplateAzureConfigOutput) OpenPorts() pulumi.StringArrayOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) []string { return v.OpenPorts }).(pulumi.StringArrayOutput) +// If using a non-B2D image the uploaded keys will need chown'ed. Default `staff` (string) +func (o MachineConfigV2VsphereConfigOutput) SshUserGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.SshUserGroup }).(pulumi.StringPtrOutput) } -// Azure marketplace purchase plan for Azure Virtual Machine. Format is `::`. Just for Rancher v2.6.3 and above. (string) -func (o NodeTemplateAzureConfigOutput) Plan() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Plan }).(pulumi.StringPtrOutput) +// vSphere tags id e.g. `urn:xxx` (list) +func (o MachineConfigV2VsphereConfigOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) []string { return v.Tags }).(pulumi.StringArrayOutput) +} + +// OpenStack username (string) +func (o MachineConfigV2VsphereConfigOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +// vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) +func (o MachineConfigV2VsphereConfigOutput) VappIpAllocationPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.VappIpAllocationPolicy }).(pulumi.StringPtrOutput) } -// Specify a static private IP address for the machine. (string) -func (o NodeTemplateAzureConfigOutput) PrivateIpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.PrivateIpAddress }).(pulumi.StringPtrOutput) +// vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) +func (o MachineConfigV2VsphereConfigOutput) VappIpProtocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.VappIpProtocol }).(pulumi.StringPtrOutput) } -// Azure Resource Group name (will be created if missing). Default `docker-machine` (string) -func (o NodeTemplateAzureConfigOutput) ResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +// vSphere vApp properties (list) +func (o MachineConfigV2VsphereConfigOutput) VappProperties() pulumi.StringArrayOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) []string { return v.VappProperties }).(pulumi.StringArrayOutput) } -// Digital Ocean size. Default `s-1vcpu-1gb` (string) -func (o NodeTemplateAzureConfigOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Size }).(pulumi.StringPtrOutput) +// vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) +func (o MachineConfigV2VsphereConfigOutput) VappTransport() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.VappTransport }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateAzureConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +// vSphere IP/hostname for vCenter (string) +func (o MachineConfigV2VsphereConfigOutput) Vcenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.Vcenter }).(pulumi.StringPtrOutput) } -// Assign a static public IP address to the machine. Default `false` (bool) -func (o NodeTemplateAzureConfigOutput) StaticPublicIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *bool { return v.StaticPublicIp }).(pulumi.BoolPtrOutput) +// vSphere Port for vCenter Default `443` (string) +func (o MachineConfigV2VsphereConfigOutput) VcenterPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v MachineConfigV2VsphereConfig) *string { return v.VcenterPort }).(pulumi.StringPtrOutput) } -// Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) -func (o NodeTemplateAzureConfigOutput) StorageType() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.StorageType }).(pulumi.StringPtrOutput) -} +type MachineConfigV2VsphereConfigPtrOutput struct{ *pulumi.OutputState } -// Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) -func (o NodeTemplateAzureConfigOutput) Subnet() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Subnet }).(pulumi.StringPtrOutput) +func (MachineConfigV2VsphereConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MachineConfigV2VsphereConfig)(nil)).Elem() } -// Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) -func (o NodeTemplateAzureConfigOutput) SubnetPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.SubnetPrefix }).(pulumi.StringPtrOutput) +func (o MachineConfigV2VsphereConfigPtrOutput) ToMachineConfigV2VsphereConfigPtrOutput() MachineConfigV2VsphereConfigPtrOutput { + return o } -// Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateAzureConfigOutput) SubscriptionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) +func (o MachineConfigV2VsphereConfigPtrOutput) ToMachineConfigV2VsphereConfigPtrOutputWithContext(ctx context.Context) MachineConfigV2VsphereConfigPtrOutput { + return o } -// Update domain count to use for availability set. Default `5` (string) -func (o NodeTemplateAzureConfigOutput) UpdateDomainCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.UpdateDomainCount }).(pulumi.StringPtrOutput) +func (o MachineConfigV2VsphereConfigPtrOutput) Elem() MachineConfigV2VsphereConfigOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) MachineConfigV2VsphereConfig { + if v != nil { + return *v + } + var ret MachineConfigV2VsphereConfig + return ret + }).(MachineConfigV2VsphereConfigOutput) } -// Use private IP address of the machine to connect. Default `false` (bool) -func (o NodeTemplateAzureConfigOutput) UsePrivateIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *bool { return v.UsePrivateIp }).(pulumi.BoolPtrOutput) +// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) Boot2dockerUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { + if v == nil { + return nil + } + return v.Boot2dockerUrl + }).(pulumi.StringPtrOutput) } -// Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) -func (o NodeTemplateAzureConfigOutput) Vnet() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Vnet }).(pulumi.StringPtrOutput) +// vSphere vm configuration parameters (used for guestinfo) (list) +func (o MachineConfigV2VsphereConfigPtrOutput) Cfgparams() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) []string { + if v == nil { + return nil + } + return v.Cfgparams + }).(pulumi.StringArrayOutput) } -type NodeTemplateAzureConfigPtrOutput struct{ *pulumi.OutputState } +// If you choose creation type vm (clone vm) a name of what vm you want to clone is required (string) +func (o MachineConfigV2VsphereConfigPtrOutput) CloneFrom() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { + if v == nil { + return nil + } + return v.CloneFrom + }).(pulumi.StringPtrOutput) +} -func (NodeTemplateAzureConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateAzureConfig)(nil)).Elem() +// Filepath to a cloud-config yaml file to put into the ISO user-data (string) +func (o MachineConfigV2VsphereConfigPtrOutput) CloudConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { + if v == nil { + return nil + } + return v.CloudConfig + }).(pulumi.StringPtrOutput) } -func (o NodeTemplateAzureConfigPtrOutput) ToNodeTemplateAzureConfigPtrOutput() NodeTemplateAzureConfigPtrOutput { - return o +// vSphere cloud-init file or url to set in the guestinfo (string) +func (o MachineConfigV2VsphereConfigPtrOutput) Cloudinit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { + if v == nil { + return nil + } + return v.Cloudinit + }).(pulumi.StringPtrOutput) } -func (o NodeTemplateAzureConfigPtrOutput) ToNodeTemplateAzureConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAzureConfigPtrOutput { - return o +// If you choose to clone from a content library template specify the name of the library (string) +func (o MachineConfigV2VsphereConfigPtrOutput) ContentLibrary() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { + if v == nil { + return nil + } + return v.ContentLibrary + }).(pulumi.StringPtrOutput) } -func (o NodeTemplateAzureConfigPtrOutput) Elem() NodeTemplateAzureConfigOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) NodeTemplateAzureConfig { - if v != nil { - return *v +// vSphere CPU number for docker VM. Default `2` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) CpuCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { + if v == nil { + return nil } - var ret NodeTemplateAzureConfig - return ret - }).(NodeTemplateAzureConfigOutput) + return v.CpuCount + }).(pulumi.StringPtrOutput) } -// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) -func (o NodeTemplateAzureConfigPtrOutput) AvailabilitySet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) CreationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.AvailabilitySet + return v.CreationType }).(pulumi.StringPtrOutput) } -// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateAzureConfigPtrOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere custom attributes, format key/value e.g. `200=my custom value` (List) +func (o MachineConfigV2VsphereConfigPtrOutput) CustomAttributes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) []string { if v == nil { return nil } - return v.ClientId + return v.CustomAttributes + }).(pulumi.StringArrayOutput) +} + +// vSphere datacenter for docker VM (string) +func (o MachineConfigV2VsphereConfigPtrOutput) Datacenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { + if v == nil { + return nil + } + return v.Datacenter }).(pulumi.StringPtrOutput) } -// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateAzureConfigPtrOutput) ClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere datastore for docker VM (string) +func (o MachineConfigV2VsphereConfigPtrOutput) Datastore() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.ClientSecret + return v.Datastore }).(pulumi.StringPtrOutput) } -// Path to file with custom-data (string) -func (o NodeTemplateAzureConfigPtrOutput) CustomData() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere datastore cluster for virtual machine (string) +func (o MachineConfigV2VsphereConfigPtrOutput) DatastoreCluster() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.CustomData + return v.DatastoreCluster }).(pulumi.StringPtrOutput) } // vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o NodeTemplateAzureConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +func (o MachineConfigV2VsphereConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } @@ -52478,1678 +52634,1528 @@ func (o NodeTemplateAzureConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// A unique DNS label for the public IP adddress (string) -func (o NodeTemplateAzureConfigPtrOutput) Dns() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere folder for the docker VM. This folder must already exist in the datacenter (string) +func (o MachineConfigV2VsphereConfigPtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.Dns + return v.Folder }).(pulumi.StringPtrOutput) } -// Docker Port. Default `2376` (string) -func (o NodeTemplateAzureConfigPtrOutput) DockerPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) +func (o MachineConfigV2VsphereConfigPtrOutput) Hostsystem() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.DockerPort + return v.Hostsystem }).(pulumi.StringPtrOutput) } -// Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) -func (o NodeTemplateAzureConfigPtrOutput) Environment() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere size of memory for docker VM (in MB). Default `2048` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) MemorySize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.Environment + return v.MemorySize }).(pulumi.StringPtrOutput) } -// Fault domain count to use for availability set. Default `3` (string) -func (o NodeTemplateAzureConfigPtrOutput) FaultDomainCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere network where the docker VM will be attached (list) +func (o MachineConfigV2VsphereConfigPtrOutput) Networks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) []string { if v == nil { return nil } - return v.FaultDomainCount + return v.Networks + }).(pulumi.StringArrayOutput) +} + +// OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o MachineConfigV2VsphereConfigPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { + if v == nil { + return nil + } + return v.Password }).(pulumi.StringPtrOutput) } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o NodeTemplateAzureConfigPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere resource pool for docker VM (string) +func (o MachineConfigV2VsphereConfigPtrOutput) Pool() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.Image + return v.Pool }).(pulumi.StringPtrOutput) } -// Azure region to create the virtual machine. Default `westus` (string) -func (o NodeTemplateAzureConfigPtrOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// If using a non-B2D image you can specify the ssh password. Default `tcuser` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) SshPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.Location + return v.SshPassword }).(pulumi.StringPtrOutput) } -// Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) -func (o NodeTemplateAzureConfigPtrOutput) ManagedDisks() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *bool { +// If using a non-B2D image you can specify the ssh port. Default `22` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.ManagedDisks - }).(pulumi.BoolPtrOutput) + return v.SshPort + }).(pulumi.StringPtrOutput) } -// Do not create a public IP address for the machine. Default `false` (bool) -func (o NodeTemplateAzureConfigPtrOutput) NoPublicIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *bool { +// If using a non-B2D image you can specify the ssh user. Default `docker`. (string) +func (o MachineConfigV2VsphereConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.NoPublicIp - }).(pulumi.BoolPtrOutput) + return v.SshUser + }).(pulumi.StringPtrOutput) } -// Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) -func (o NodeTemplateAzureConfigPtrOutput) Nsg() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// If using a non-B2D image the uploaded keys will need chown'ed. Default `staff` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) SshUserGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.Nsg + return v.SshUserGroup }).(pulumi.StringPtrOutput) } -// Make the specified port number accessible from the Internet. (list) -func (o NodeTemplateAzureConfigPtrOutput) OpenPorts() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) []string { +// vSphere tags id e.g. `urn:xxx` (list) +func (o MachineConfigV2VsphereConfigPtrOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) []string { if v == nil { return nil } - return v.OpenPorts + return v.Tags }).(pulumi.StringArrayOutput) } -// Azure marketplace purchase plan for Azure Virtual Machine. Format is `::`. Just for Rancher v2.6.3 and above. (string) -func (o NodeTemplateAzureConfigPtrOutput) Plan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// OpenStack username (string) +func (o MachineConfigV2VsphereConfigPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.Plan + return v.Username }).(pulumi.StringPtrOutput) } -// Specify a static private IP address for the machine. (string) -func (o NodeTemplateAzureConfigPtrOutput) PrivateIpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) VappIpAllocationPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.PrivateIpAddress + return v.VappIpAllocationPolicy }).(pulumi.StringPtrOutput) } -// Azure Resource Group name (will be created if missing). Default `docker-machine` (string) -func (o NodeTemplateAzureConfigPtrOutput) ResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) VappIpProtocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.ResourceGroup + return v.VappIpProtocol }).(pulumi.StringPtrOutput) } -// Digital Ocean size. Default `s-1vcpu-1gb` (string) -func (o NodeTemplateAzureConfigPtrOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere vApp properties (list) +func (o MachineConfigV2VsphereConfigPtrOutput) VappProperties() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) []string { if v == nil { return nil } - return v.Size + return v.VappProperties + }).(pulumi.StringArrayOutput) +} + +// vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) VappTransport() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { + if v == nil { + return nil + } + return v.VappTransport }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateAzureConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { +// vSphere IP/hostname for vCenter (string) +func (o MachineConfigV2VsphereConfigPtrOutput) Vcenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.SshUser + return v.Vcenter }).(pulumi.StringPtrOutput) } -// Assign a static public IP address to the machine. Default `false` (bool) -func (o NodeTemplateAzureConfigPtrOutput) StaticPublicIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *bool { +// vSphere Port for vCenter Default `443` (string) +func (o MachineConfigV2VsphereConfigPtrOutput) VcenterPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MachineConfigV2VsphereConfig) *string { if v == nil { return nil } - return v.StaticPublicIp - }).(pulumi.BoolPtrOutput) + return v.VcenterPort + }).(pulumi.StringPtrOutput) +} + +type MultiClusterAppAnswer struct { + // Cluster ID for answer (string) + ClusterId *string `pulumi:"clusterId"` + // Project ID for target (string) + ProjectId *string `pulumi:"projectId"` + // Key/values for answer (map) + Values map[string]interface{} `pulumi:"values"` +} + +// MultiClusterAppAnswerInput is an input type that accepts MultiClusterAppAnswerArgs and MultiClusterAppAnswerOutput values. +// You can construct a concrete instance of `MultiClusterAppAnswerInput` via: +// +// MultiClusterAppAnswerArgs{...} +type MultiClusterAppAnswerInput interface { + pulumi.Input + + ToMultiClusterAppAnswerOutput() MultiClusterAppAnswerOutput + ToMultiClusterAppAnswerOutputWithContext(context.Context) MultiClusterAppAnswerOutput +} + +type MultiClusterAppAnswerArgs struct { + // Cluster ID for answer (string) + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + // Project ID for target (string) + ProjectId pulumi.StringPtrInput `pulumi:"projectId"` + // Key/values for answer (map) + Values pulumi.MapInput `pulumi:"values"` +} + +func (MultiClusterAppAnswerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MultiClusterAppAnswer)(nil)).Elem() +} + +func (i MultiClusterAppAnswerArgs) ToMultiClusterAppAnswerOutput() MultiClusterAppAnswerOutput { + return i.ToMultiClusterAppAnswerOutputWithContext(context.Background()) +} + +func (i MultiClusterAppAnswerArgs) ToMultiClusterAppAnswerOutputWithContext(ctx context.Context) MultiClusterAppAnswerOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppAnswerOutput) +} + +// MultiClusterAppAnswerArrayInput is an input type that accepts MultiClusterAppAnswerArray and MultiClusterAppAnswerArrayOutput values. +// You can construct a concrete instance of `MultiClusterAppAnswerArrayInput` via: +// +// MultiClusterAppAnswerArray{ MultiClusterAppAnswerArgs{...} } +type MultiClusterAppAnswerArrayInput interface { + pulumi.Input + + ToMultiClusterAppAnswerArrayOutput() MultiClusterAppAnswerArrayOutput + ToMultiClusterAppAnswerArrayOutputWithContext(context.Context) MultiClusterAppAnswerArrayOutput +} + +type MultiClusterAppAnswerArray []MultiClusterAppAnswerInput + +func (MultiClusterAppAnswerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MultiClusterAppAnswer)(nil)).Elem() +} + +func (i MultiClusterAppAnswerArray) ToMultiClusterAppAnswerArrayOutput() MultiClusterAppAnswerArrayOutput { + return i.ToMultiClusterAppAnswerArrayOutputWithContext(context.Background()) +} + +func (i MultiClusterAppAnswerArray) ToMultiClusterAppAnswerArrayOutputWithContext(ctx context.Context) MultiClusterAppAnswerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppAnswerArrayOutput) +} + +type MultiClusterAppAnswerOutput struct{ *pulumi.OutputState } + +func (MultiClusterAppAnswerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MultiClusterAppAnswer)(nil)).Elem() +} + +func (o MultiClusterAppAnswerOutput) ToMultiClusterAppAnswerOutput() MultiClusterAppAnswerOutput { + return o +} + +func (o MultiClusterAppAnswerOutput) ToMultiClusterAppAnswerOutputWithContext(ctx context.Context) MultiClusterAppAnswerOutput { + return o +} + +// Cluster ID for answer (string) +func (o MultiClusterAppAnswerOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MultiClusterAppAnswer) *string { return v.ClusterId }).(pulumi.StringPtrOutput) +} + +// Project ID for target (string) +func (o MultiClusterAppAnswerOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MultiClusterAppAnswer) *string { return v.ProjectId }).(pulumi.StringPtrOutput) +} + +// Key/values for answer (map) +func (o MultiClusterAppAnswerOutput) Values() pulumi.MapOutput { + return o.ApplyT(func(v MultiClusterAppAnswer) map[string]interface{} { return v.Values }).(pulumi.MapOutput) +} + +type MultiClusterAppAnswerArrayOutput struct{ *pulumi.OutputState } + +func (MultiClusterAppAnswerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MultiClusterAppAnswer)(nil)).Elem() +} + +func (o MultiClusterAppAnswerArrayOutput) ToMultiClusterAppAnswerArrayOutput() MultiClusterAppAnswerArrayOutput { + return o +} + +func (o MultiClusterAppAnswerArrayOutput) ToMultiClusterAppAnswerArrayOutputWithContext(ctx context.Context) MultiClusterAppAnswerArrayOutput { + return o +} + +func (o MultiClusterAppAnswerArrayOutput) Index(i pulumi.IntInput) MultiClusterAppAnswerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MultiClusterAppAnswer { + return vs[0].([]MultiClusterAppAnswer)[vs[1].(int)] + }).(MultiClusterAppAnswerOutput) +} + +type MultiClusterAppMember struct { + // Member access type. Valid values: `["member" | "owner" | "read-only"]` (string) + AccessType *string `pulumi:"accessType"` + // Member group principal id (string) + GroupPrincipalId *string `pulumi:"groupPrincipalId"` + // Member user principal id (string) + UserPrincipalId *string `pulumi:"userPrincipalId"` +} + +// MultiClusterAppMemberInput is an input type that accepts MultiClusterAppMemberArgs and MultiClusterAppMemberOutput values. +// You can construct a concrete instance of `MultiClusterAppMemberInput` via: +// +// MultiClusterAppMemberArgs{...} +type MultiClusterAppMemberInput interface { + pulumi.Input + + ToMultiClusterAppMemberOutput() MultiClusterAppMemberOutput + ToMultiClusterAppMemberOutputWithContext(context.Context) MultiClusterAppMemberOutput +} + +type MultiClusterAppMemberArgs struct { + // Member access type. Valid values: `["member" | "owner" | "read-only"]` (string) + AccessType pulumi.StringPtrInput `pulumi:"accessType"` + // Member group principal id (string) + GroupPrincipalId pulumi.StringPtrInput `pulumi:"groupPrincipalId"` + // Member user principal id (string) + UserPrincipalId pulumi.StringPtrInput `pulumi:"userPrincipalId"` +} + +func (MultiClusterAppMemberArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MultiClusterAppMember)(nil)).Elem() +} + +func (i MultiClusterAppMemberArgs) ToMultiClusterAppMemberOutput() MultiClusterAppMemberOutput { + return i.ToMultiClusterAppMemberOutputWithContext(context.Background()) +} + +func (i MultiClusterAppMemberArgs) ToMultiClusterAppMemberOutputWithContext(ctx context.Context) MultiClusterAppMemberOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppMemberOutput) +} + +// MultiClusterAppMemberArrayInput is an input type that accepts MultiClusterAppMemberArray and MultiClusterAppMemberArrayOutput values. +// You can construct a concrete instance of `MultiClusterAppMemberArrayInput` via: +// +// MultiClusterAppMemberArray{ MultiClusterAppMemberArgs{...} } +type MultiClusterAppMemberArrayInput interface { + pulumi.Input + + ToMultiClusterAppMemberArrayOutput() MultiClusterAppMemberArrayOutput + ToMultiClusterAppMemberArrayOutputWithContext(context.Context) MultiClusterAppMemberArrayOutput +} + +type MultiClusterAppMemberArray []MultiClusterAppMemberInput + +func (MultiClusterAppMemberArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MultiClusterAppMember)(nil)).Elem() +} + +func (i MultiClusterAppMemberArray) ToMultiClusterAppMemberArrayOutput() MultiClusterAppMemberArrayOutput { + return i.ToMultiClusterAppMemberArrayOutputWithContext(context.Background()) } -// Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) -func (o NodeTemplateAzureConfigPtrOutput) StorageType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { - if v == nil { - return nil - } - return v.StorageType - }).(pulumi.StringPtrOutput) +func (i MultiClusterAppMemberArray) ToMultiClusterAppMemberArrayOutputWithContext(ctx context.Context) MultiClusterAppMemberArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppMemberArrayOutput) } -// Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) -func (o NodeTemplateAzureConfigPtrOutput) Subnet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { - if v == nil { - return nil - } - return v.Subnet - }).(pulumi.StringPtrOutput) +type MultiClusterAppMemberOutput struct{ *pulumi.OutputState } + +func (MultiClusterAppMemberOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MultiClusterAppMember)(nil)).Elem() } -// Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) -func (o NodeTemplateAzureConfigPtrOutput) SubnetPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { - if v == nil { - return nil - } - return v.SubnetPrefix - }).(pulumi.StringPtrOutput) +func (o MultiClusterAppMemberOutput) ToMultiClusterAppMemberOutput() MultiClusterAppMemberOutput { + return o } -// Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateAzureConfigPtrOutput) SubscriptionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { - if v == nil { - return nil - } - return v.SubscriptionId - }).(pulumi.StringPtrOutput) +func (o MultiClusterAppMemberOutput) ToMultiClusterAppMemberOutputWithContext(ctx context.Context) MultiClusterAppMemberOutput { + return o } -// Update domain count to use for availability set. Default `5` (string) -func (o NodeTemplateAzureConfigPtrOutput) UpdateDomainCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { - if v == nil { - return nil - } - return v.UpdateDomainCount - }).(pulumi.StringPtrOutput) +// Member access type. Valid values: `["member" | "owner" | "read-only"]` (string) +func (o MultiClusterAppMemberOutput) AccessType() pulumi.StringPtrOutput { + return o.ApplyT(func(v MultiClusterAppMember) *string { return v.AccessType }).(pulumi.StringPtrOutput) } -// Use private IP address of the machine to connect. Default `false` (bool) -func (o NodeTemplateAzureConfigPtrOutput) UsePrivateIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *bool { - if v == nil { - return nil - } - return v.UsePrivateIp - }).(pulumi.BoolPtrOutput) +// Member group principal id (string) +func (o MultiClusterAppMemberOutput) GroupPrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MultiClusterAppMember) *string { return v.GroupPrincipalId }).(pulumi.StringPtrOutput) } -// Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) -func (o NodeTemplateAzureConfigPtrOutput) Vnet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { - if v == nil { - return nil - } - return v.Vnet - }).(pulumi.StringPtrOutput) +// Member user principal id (string) +func (o MultiClusterAppMemberOutput) UserPrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MultiClusterAppMember) *string { return v.UserPrincipalId }).(pulumi.StringPtrOutput) } -type NodeTemplateDigitaloceanConfig struct { - // Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - AccessToken *string `pulumi:"accessToken"` - // Enable backups for droplet. Default `false` (bool) - Backups *bool `pulumi:"backups"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image *string `pulumi:"image"` - // Enable ipv6 for droplet. Default `false` (bool) - Ipv6 *bool `pulumi:"ipv6"` - // Enable monitoring for droplet. Default `false` (bool) - Monitoring *bool `pulumi:"monitoring"` - // Enable private networking for droplet. Default `false` (bool) - PrivateNetworking *bool `pulumi:"privateNetworking"` - // OpenStack region name (string) - Region *string `pulumi:"region"` - // Digital Ocean size. Default `s-1vcpu-1gb` (string) - Size *string `pulumi:"size"` - // SSH key fingerprint (string) - SshKeyFingerprint *string `pulumi:"sshKeyFingerprint"` - // SSH private key path (string) - SshKeyPath *string `pulumi:"sshKeyPath"` - // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) - SshPort *string `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) - SshUser *string `pulumi:"sshUser"` - // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) - Tags *string `pulumi:"tags"` - // Path to file with cloud-init user-data (string) - Userdata *string `pulumi:"userdata"` +type MultiClusterAppMemberArrayOutput struct{ *pulumi.OutputState } + +func (MultiClusterAppMemberArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MultiClusterAppMember)(nil)).Elem() } -// NodeTemplateDigitaloceanConfigInput is an input type that accepts NodeTemplateDigitaloceanConfigArgs and NodeTemplateDigitaloceanConfigOutput values. -// You can construct a concrete instance of `NodeTemplateDigitaloceanConfigInput` via: -// -// NodeTemplateDigitaloceanConfigArgs{...} -type NodeTemplateDigitaloceanConfigInput interface { - pulumi.Input +func (o MultiClusterAppMemberArrayOutput) ToMultiClusterAppMemberArrayOutput() MultiClusterAppMemberArrayOutput { + return o +} - ToNodeTemplateDigitaloceanConfigOutput() NodeTemplateDigitaloceanConfigOutput - ToNodeTemplateDigitaloceanConfigOutputWithContext(context.Context) NodeTemplateDigitaloceanConfigOutput +func (o MultiClusterAppMemberArrayOutput) ToMultiClusterAppMemberArrayOutputWithContext(ctx context.Context) MultiClusterAppMemberArrayOutput { + return o } -type NodeTemplateDigitaloceanConfigArgs struct { - // Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - AccessToken pulumi.StringPtrInput `pulumi:"accessToken"` - // Enable backups for droplet. Default `false` (bool) - Backups pulumi.BoolPtrInput `pulumi:"backups"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image pulumi.StringPtrInput `pulumi:"image"` - // Enable ipv6 for droplet. Default `false` (bool) - Ipv6 pulumi.BoolPtrInput `pulumi:"ipv6"` - // Enable monitoring for droplet. Default `false` (bool) - Monitoring pulumi.BoolPtrInput `pulumi:"monitoring"` - // Enable private networking for droplet. Default `false` (bool) - PrivateNetworking pulumi.BoolPtrInput `pulumi:"privateNetworking"` - // OpenStack region name (string) - Region pulumi.StringPtrInput `pulumi:"region"` - // Digital Ocean size. Default `s-1vcpu-1gb` (string) - Size pulumi.StringPtrInput `pulumi:"size"` - // SSH key fingerprint (string) - SshKeyFingerprint pulumi.StringPtrInput `pulumi:"sshKeyFingerprint"` - // SSH private key path (string) - SshKeyPath pulumi.StringPtrInput `pulumi:"sshKeyPath"` - // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) - SshPort pulumi.StringPtrInput `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) - SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) - Tags pulumi.StringPtrInput `pulumi:"tags"` - // Path to file with cloud-init user-data (string) - Userdata pulumi.StringPtrInput `pulumi:"userdata"` +func (o MultiClusterAppMemberArrayOutput) Index(i pulumi.IntInput) MultiClusterAppMemberOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MultiClusterAppMember { + return vs[0].([]MultiClusterAppMember)[vs[1].(int)] + }).(MultiClusterAppMemberOutput) } -func (NodeTemplateDigitaloceanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateDigitaloceanConfig)(nil)).Elem() +type MultiClusterAppTarget struct { + // App ID for target (string) + AppId *string `pulumi:"appId"` + // App health state for target (string) + HealthState *string `pulumi:"healthState"` + // Project ID for target (string) + ProjectId string `pulumi:"projectId"` + // App state for target (string) + State *string `pulumi:"state"` } -func (i NodeTemplateDigitaloceanConfigArgs) ToNodeTemplateDigitaloceanConfigOutput() NodeTemplateDigitaloceanConfigOutput { - return i.ToNodeTemplateDigitaloceanConfigOutputWithContext(context.Background()) +// MultiClusterAppTargetInput is an input type that accepts MultiClusterAppTargetArgs and MultiClusterAppTargetOutput values. +// You can construct a concrete instance of `MultiClusterAppTargetInput` via: +// +// MultiClusterAppTargetArgs{...} +type MultiClusterAppTargetInput interface { + pulumi.Input + + ToMultiClusterAppTargetOutput() MultiClusterAppTargetOutput + ToMultiClusterAppTargetOutputWithContext(context.Context) MultiClusterAppTargetOutput } -func (i NodeTemplateDigitaloceanConfigArgs) ToNodeTemplateDigitaloceanConfigOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateDigitaloceanConfigOutput) +type MultiClusterAppTargetArgs struct { + // App ID for target (string) + AppId pulumi.StringPtrInput `pulumi:"appId"` + // App health state for target (string) + HealthState pulumi.StringPtrInput `pulumi:"healthState"` + // Project ID for target (string) + ProjectId pulumi.StringInput `pulumi:"projectId"` + // App state for target (string) + State pulumi.StringPtrInput `pulumi:"state"` } -func (i NodeTemplateDigitaloceanConfigArgs) ToNodeTemplateDigitaloceanConfigPtrOutput() NodeTemplateDigitaloceanConfigPtrOutput { - return i.ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(context.Background()) +func (MultiClusterAppTargetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MultiClusterAppTarget)(nil)).Elem() } -func (i NodeTemplateDigitaloceanConfigArgs) ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateDigitaloceanConfigOutput).ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(ctx) +func (i MultiClusterAppTargetArgs) ToMultiClusterAppTargetOutput() MultiClusterAppTargetOutput { + return i.ToMultiClusterAppTargetOutputWithContext(context.Background()) } -// NodeTemplateDigitaloceanConfigPtrInput is an input type that accepts NodeTemplateDigitaloceanConfigArgs, NodeTemplateDigitaloceanConfigPtr and NodeTemplateDigitaloceanConfigPtrOutput values. -// You can construct a concrete instance of `NodeTemplateDigitaloceanConfigPtrInput` via: -// -// NodeTemplateDigitaloceanConfigArgs{...} -// -// or: +func (i MultiClusterAppTargetArgs) ToMultiClusterAppTargetOutputWithContext(ctx context.Context) MultiClusterAppTargetOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppTargetOutput) +} + +// MultiClusterAppTargetArrayInput is an input type that accepts MultiClusterAppTargetArray and MultiClusterAppTargetArrayOutput values. +// You can construct a concrete instance of `MultiClusterAppTargetArrayInput` via: // -// nil -type NodeTemplateDigitaloceanConfigPtrInput interface { +// MultiClusterAppTargetArray{ MultiClusterAppTargetArgs{...} } +type MultiClusterAppTargetArrayInput interface { pulumi.Input - ToNodeTemplateDigitaloceanConfigPtrOutput() NodeTemplateDigitaloceanConfigPtrOutput - ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(context.Context) NodeTemplateDigitaloceanConfigPtrOutput + ToMultiClusterAppTargetArrayOutput() MultiClusterAppTargetArrayOutput + ToMultiClusterAppTargetArrayOutputWithContext(context.Context) MultiClusterAppTargetArrayOutput } -type nodeTemplateDigitaloceanConfigPtrType NodeTemplateDigitaloceanConfigArgs - -func NodeTemplateDigitaloceanConfigPtr(v *NodeTemplateDigitaloceanConfigArgs) NodeTemplateDigitaloceanConfigPtrInput { - return (*nodeTemplateDigitaloceanConfigPtrType)(v) -} +type MultiClusterAppTargetArray []MultiClusterAppTargetInput -func (*nodeTemplateDigitaloceanConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateDigitaloceanConfig)(nil)).Elem() +func (MultiClusterAppTargetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MultiClusterAppTarget)(nil)).Elem() } -func (i *nodeTemplateDigitaloceanConfigPtrType) ToNodeTemplateDigitaloceanConfigPtrOutput() NodeTemplateDigitaloceanConfigPtrOutput { - return i.ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(context.Background()) +func (i MultiClusterAppTargetArray) ToMultiClusterAppTargetArrayOutput() MultiClusterAppTargetArrayOutput { + return i.ToMultiClusterAppTargetArrayOutputWithContext(context.Background()) } -func (i *nodeTemplateDigitaloceanConfigPtrType) ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateDigitaloceanConfigPtrOutput) +func (i MultiClusterAppTargetArray) ToMultiClusterAppTargetArrayOutputWithContext(ctx context.Context) MultiClusterAppTargetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppTargetArrayOutput) } -type NodeTemplateDigitaloceanConfigOutput struct{ *pulumi.OutputState } +type MultiClusterAppTargetOutput struct{ *pulumi.OutputState } -func (NodeTemplateDigitaloceanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateDigitaloceanConfig)(nil)).Elem() +func (MultiClusterAppTargetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MultiClusterAppTarget)(nil)).Elem() } -func (o NodeTemplateDigitaloceanConfigOutput) ToNodeTemplateDigitaloceanConfigOutput() NodeTemplateDigitaloceanConfigOutput { +func (o MultiClusterAppTargetOutput) ToMultiClusterAppTargetOutput() MultiClusterAppTargetOutput { return o } -func (o NodeTemplateDigitaloceanConfigOutput) ToNodeTemplateDigitaloceanConfigOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigOutput { +func (o MultiClusterAppTargetOutput) ToMultiClusterAppTargetOutputWithContext(ctx context.Context) MultiClusterAppTargetOutput { return o } -func (o NodeTemplateDigitaloceanConfigOutput) ToNodeTemplateDigitaloceanConfigPtrOutput() NodeTemplateDigitaloceanConfigPtrOutput { - return o.ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(context.Background()) +// App ID for target (string) +func (o MultiClusterAppTargetOutput) AppId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MultiClusterAppTarget) *string { return v.AppId }).(pulumi.StringPtrOutput) } -func (o NodeTemplateDigitaloceanConfigOutput) ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateDigitaloceanConfig) *NodeTemplateDigitaloceanConfig { - return &v - }).(NodeTemplateDigitaloceanConfigPtrOutput) +// App health state for target (string) +func (o MultiClusterAppTargetOutput) HealthState() pulumi.StringPtrOutput { + return o.ApplyT(func(v MultiClusterAppTarget) *string { return v.HealthState }).(pulumi.StringPtrOutput) } -// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateDigitaloceanConfigOutput) AccessToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.AccessToken }).(pulumi.StringPtrOutput) +// Project ID for target (string) +func (o MultiClusterAppTargetOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v MultiClusterAppTarget) string { return v.ProjectId }).(pulumi.StringOutput) } -// Enable backups for droplet. Default `false` (bool) -func (o NodeTemplateDigitaloceanConfigOutput) Backups() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *bool { return v.Backups }).(pulumi.BoolPtrOutput) +// App state for target (string) +func (o MultiClusterAppTargetOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v MultiClusterAppTarget) *string { return v.State }).(pulumi.StringPtrOutput) } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o NodeTemplateDigitaloceanConfigOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.Image }).(pulumi.StringPtrOutput) +type MultiClusterAppTargetArrayOutput struct{ *pulumi.OutputState } + +func (MultiClusterAppTargetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MultiClusterAppTarget)(nil)).Elem() } -// Enable ipv6 for droplet. Default `false` (bool) -func (o NodeTemplateDigitaloceanConfigOutput) Ipv6() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *bool { return v.Ipv6 }).(pulumi.BoolPtrOutput) +func (o MultiClusterAppTargetArrayOutput) ToMultiClusterAppTargetArrayOutput() MultiClusterAppTargetArrayOutput { + return o } -// Enable monitoring for droplet. Default `false` (bool) -func (o NodeTemplateDigitaloceanConfigOutput) Monitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *bool { return v.Monitoring }).(pulumi.BoolPtrOutput) +func (o MultiClusterAppTargetArrayOutput) ToMultiClusterAppTargetArrayOutputWithContext(ctx context.Context) MultiClusterAppTargetArrayOutput { + return o } -// Enable private networking for droplet. Default `false` (bool) -func (o NodeTemplateDigitaloceanConfigOutput) PrivateNetworking() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *bool { return v.PrivateNetworking }).(pulumi.BoolPtrOutput) +func (o MultiClusterAppTargetArrayOutput) Index(i pulumi.IntInput) MultiClusterAppTargetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MultiClusterAppTarget { + return vs[0].([]MultiClusterAppTarget)[vs[1].(int)] + }).(MultiClusterAppTargetOutput) } -// OpenStack region name (string) -func (o NodeTemplateDigitaloceanConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +type MultiClusterAppUpgradeStrategy struct { + // Upgrade strategy rolling update (list MaxItems:1) + RollingUpdate *MultiClusterAppUpgradeStrategyRollingUpdate `pulumi:"rollingUpdate"` } -// Digital Ocean size. Default `s-1vcpu-1gb` (string) -func (o NodeTemplateDigitaloceanConfigOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.Size }).(pulumi.StringPtrOutput) +// MultiClusterAppUpgradeStrategyInput is an input type that accepts MultiClusterAppUpgradeStrategyArgs and MultiClusterAppUpgradeStrategyOutput values. +// You can construct a concrete instance of `MultiClusterAppUpgradeStrategyInput` via: +// +// MultiClusterAppUpgradeStrategyArgs{...} +type MultiClusterAppUpgradeStrategyInput interface { + pulumi.Input + + ToMultiClusterAppUpgradeStrategyOutput() MultiClusterAppUpgradeStrategyOutput + ToMultiClusterAppUpgradeStrategyOutputWithContext(context.Context) MultiClusterAppUpgradeStrategyOutput } -// SSH key fingerprint (string) -func (o NodeTemplateDigitaloceanConfigOutput) SshKeyFingerprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.SshKeyFingerprint }).(pulumi.StringPtrOutput) +type MultiClusterAppUpgradeStrategyArgs struct { + // Upgrade strategy rolling update (list MaxItems:1) + RollingUpdate MultiClusterAppUpgradeStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` } -// SSH private key path (string) -func (o NodeTemplateDigitaloceanConfigOutput) SshKeyPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.SshKeyPath }).(pulumi.StringPtrOutput) +func (MultiClusterAppUpgradeStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MultiClusterAppUpgradeStrategy)(nil)).Elem() } -// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) -func (o NodeTemplateDigitaloceanConfigOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) +func (i MultiClusterAppUpgradeStrategyArgs) ToMultiClusterAppUpgradeStrategyOutput() MultiClusterAppUpgradeStrategyOutput { + return i.ToMultiClusterAppUpgradeStrategyOutputWithContext(context.Background()) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateDigitaloceanConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +func (i MultiClusterAppUpgradeStrategyArgs) ToMultiClusterAppUpgradeStrategyOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyOutput) } -// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) -func (o NodeTemplateDigitaloceanConfigOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.Tags }).(pulumi.StringPtrOutput) +func (i MultiClusterAppUpgradeStrategyArgs) ToMultiClusterAppUpgradeStrategyPtrOutput() MultiClusterAppUpgradeStrategyPtrOutput { + return i.ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(context.Background()) } -// Path to file with cloud-init user-data (string) -func (o NodeTemplateDigitaloceanConfigOutput) Userdata() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.Userdata }).(pulumi.StringPtrOutput) +func (i MultiClusterAppUpgradeStrategyArgs) ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyOutput).ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(ctx) } -type NodeTemplateDigitaloceanConfigPtrOutput struct{ *pulumi.OutputState } +// MultiClusterAppUpgradeStrategyPtrInput is an input type that accepts MultiClusterAppUpgradeStrategyArgs, MultiClusterAppUpgradeStrategyPtr and MultiClusterAppUpgradeStrategyPtrOutput values. +// You can construct a concrete instance of `MultiClusterAppUpgradeStrategyPtrInput` via: +// +// MultiClusterAppUpgradeStrategyArgs{...} +// +// or: +// +// nil +type MultiClusterAppUpgradeStrategyPtrInput interface { + pulumi.Input -func (NodeTemplateDigitaloceanConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateDigitaloceanConfig)(nil)).Elem() + ToMultiClusterAppUpgradeStrategyPtrOutput() MultiClusterAppUpgradeStrategyPtrOutput + ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(context.Context) MultiClusterAppUpgradeStrategyPtrOutput } -func (o NodeTemplateDigitaloceanConfigPtrOutput) ToNodeTemplateDigitaloceanConfigPtrOutput() NodeTemplateDigitaloceanConfigPtrOutput { - return o -} +type multiClusterAppUpgradeStrategyPtrType MultiClusterAppUpgradeStrategyArgs -func (o NodeTemplateDigitaloceanConfigPtrOutput) ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigPtrOutput { - return o +func MultiClusterAppUpgradeStrategyPtr(v *MultiClusterAppUpgradeStrategyArgs) MultiClusterAppUpgradeStrategyPtrInput { + return (*multiClusterAppUpgradeStrategyPtrType)(v) } -func (o NodeTemplateDigitaloceanConfigPtrOutput) Elem() NodeTemplateDigitaloceanConfigOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) NodeTemplateDigitaloceanConfig { - if v != nil { - return *v - } - var ret NodeTemplateDigitaloceanConfig - return ret - }).(NodeTemplateDigitaloceanConfigOutput) +func (*multiClusterAppUpgradeStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MultiClusterAppUpgradeStrategy)(nil)).Elem() } -// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateDigitaloceanConfigPtrOutput) AccessToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.AccessToken - }).(pulumi.StringPtrOutput) +func (i *multiClusterAppUpgradeStrategyPtrType) ToMultiClusterAppUpgradeStrategyPtrOutput() MultiClusterAppUpgradeStrategyPtrOutput { + return i.ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(context.Background()) } -// Enable backups for droplet. Default `false` (bool) -func (o NodeTemplateDigitaloceanConfigPtrOutput) Backups() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *bool { - if v == nil { - return nil - } - return v.Backups - }).(pulumi.BoolPtrOutput) +func (i *multiClusterAppUpgradeStrategyPtrType) ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyPtrOutput) } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o NodeTemplateDigitaloceanConfigPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.Image - }).(pulumi.StringPtrOutput) -} +type MultiClusterAppUpgradeStrategyOutput struct{ *pulumi.OutputState } -// Enable ipv6 for droplet. Default `false` (bool) -func (o NodeTemplateDigitaloceanConfigPtrOutput) Ipv6() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *bool { - if v == nil { - return nil - } - return v.Ipv6 - }).(pulumi.BoolPtrOutput) +func (MultiClusterAppUpgradeStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MultiClusterAppUpgradeStrategy)(nil)).Elem() } -// Enable monitoring for droplet. Default `false` (bool) -func (o NodeTemplateDigitaloceanConfigPtrOutput) Monitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *bool { - if v == nil { - return nil - } - return v.Monitoring - }).(pulumi.BoolPtrOutput) +func (o MultiClusterAppUpgradeStrategyOutput) ToMultiClusterAppUpgradeStrategyOutput() MultiClusterAppUpgradeStrategyOutput { + return o } -// Enable private networking for droplet. Default `false` (bool) -func (o NodeTemplateDigitaloceanConfigPtrOutput) PrivateNetworking() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *bool { - if v == nil { - return nil - } - return v.PrivateNetworking - }).(pulumi.BoolPtrOutput) +func (o MultiClusterAppUpgradeStrategyOutput) ToMultiClusterAppUpgradeStrategyOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyOutput { + return o } -// OpenStack region name (string) -func (o NodeTemplateDigitaloceanConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (o MultiClusterAppUpgradeStrategyOutput) ToMultiClusterAppUpgradeStrategyPtrOutput() MultiClusterAppUpgradeStrategyPtrOutput { + return o.ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(context.Background()) } -// Digital Ocean size. Default `s-1vcpu-1gb` (string) -func (o NodeTemplateDigitaloceanConfigPtrOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.Size - }).(pulumi.StringPtrOutput) +func (o MultiClusterAppUpgradeStrategyOutput) ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MultiClusterAppUpgradeStrategy) *MultiClusterAppUpgradeStrategy { + return &v + }).(MultiClusterAppUpgradeStrategyPtrOutput) } -// SSH key fingerprint (string) -func (o NodeTemplateDigitaloceanConfigPtrOutput) SshKeyFingerprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.SshKeyFingerprint - }).(pulumi.StringPtrOutput) +// Upgrade strategy rolling update (list MaxItems:1) +func (o MultiClusterAppUpgradeStrategyOutput) RollingUpdate() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v MultiClusterAppUpgradeStrategy) *MultiClusterAppUpgradeStrategyRollingUpdate { + return v.RollingUpdate + }).(MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) } -// SSH private key path (string) -func (o NodeTemplateDigitaloceanConfigPtrOutput) SshKeyPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.SshKeyPath - }).(pulumi.StringPtrOutput) +type MultiClusterAppUpgradeStrategyPtrOutput struct{ *pulumi.OutputState } + +func (MultiClusterAppUpgradeStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MultiClusterAppUpgradeStrategy)(nil)).Elem() } -// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) -func (o NodeTemplateDigitaloceanConfigPtrOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.SshPort - }).(pulumi.StringPtrOutput) +func (o MultiClusterAppUpgradeStrategyPtrOutput) ToMultiClusterAppUpgradeStrategyPtrOutput() MultiClusterAppUpgradeStrategyPtrOutput { + return o } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateDigitaloceanConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { - if v == nil { - return nil - } - return v.SshUser - }).(pulumi.StringPtrOutput) +func (o MultiClusterAppUpgradeStrategyPtrOutput) ToMultiClusterAppUpgradeStrategyPtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyPtrOutput { + return o } -// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) -func (o NodeTemplateDigitaloceanConfigPtrOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { - if v == nil { - return nil +func (o MultiClusterAppUpgradeStrategyPtrOutput) Elem() MultiClusterAppUpgradeStrategyOutput { + return o.ApplyT(func(v *MultiClusterAppUpgradeStrategy) MultiClusterAppUpgradeStrategy { + if v != nil { + return *v } - return v.Tags - }).(pulumi.StringPtrOutput) + var ret MultiClusterAppUpgradeStrategy + return ret + }).(MultiClusterAppUpgradeStrategyOutput) } -// Path to file with cloud-init user-data (string) -func (o NodeTemplateDigitaloceanConfigPtrOutput) Userdata() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { +// Upgrade strategy rolling update (list MaxItems:1) +func (o MultiClusterAppUpgradeStrategyPtrOutput) RollingUpdate() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v *MultiClusterAppUpgradeStrategy) *MultiClusterAppUpgradeStrategyRollingUpdate { if v == nil { return nil } - return v.Userdata - }).(pulumi.StringPtrOutput) + return v.RollingUpdate + }).(MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) } -type NodeTemplateHarvesterConfig struct { - // vSphere CPU number for docker VM. Default `2` (string) - CpuCount *string `pulumi:"cpuCount"` - // Disk bus, Default `virtio` (string) - DiskBus *string `pulumi:"diskBus"` - // vSphere size of disk for docker VM (in MB). Default `20480` (string) - DiskSize *string `pulumi:"diskSize"` - // OpenStack image name to use for the instance. Conflicts with `imageId` (string) - ImageName string `pulumi:"imageName"` - // vSphere size of memory for docker VM (in MB). Default `2048` (string) - MemorySize *string `pulumi:"memorySize"` - // NetworkData content of cloud-init, base64 is supported (string) - NetworkData *string `pulumi:"networkData"` - // Network model, Default `virtio` (string) - NetworkModel *string `pulumi:"networkModel"` - // Opennebula network to connect the machine to. Conflicts with `networkId` (string) - NetworkName string `pulumi:"networkName"` - // If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) - SshPassword *string `pulumi:"sshPassword"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) - SshUser string `pulumi:"sshUser"` - // UserData content of cloud-init, base64 is supported (string) - UserData *string `pulumi:"userData"` - // Virtual machine namespace e.g. `default` (string) - VmNamespace string `pulumi:"vmNamespace"` +type MultiClusterAppUpgradeStrategyRollingUpdate struct { + // Rolling update batch size. Default `1` (int) + BatchSize *int `pulumi:"batchSize"` + // Rolling update interval. Default `1` (int) + Interval *int `pulumi:"interval"` } -// NodeTemplateHarvesterConfigInput is an input type that accepts NodeTemplateHarvesterConfigArgs and NodeTemplateHarvesterConfigOutput values. -// You can construct a concrete instance of `NodeTemplateHarvesterConfigInput` via: +// MultiClusterAppUpgradeStrategyRollingUpdateInput is an input type that accepts MultiClusterAppUpgradeStrategyRollingUpdateArgs and MultiClusterAppUpgradeStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `MultiClusterAppUpgradeStrategyRollingUpdateInput` via: // -// NodeTemplateHarvesterConfigArgs{...} -type NodeTemplateHarvesterConfigInput interface { +// MultiClusterAppUpgradeStrategyRollingUpdateArgs{...} +type MultiClusterAppUpgradeStrategyRollingUpdateInput interface { pulumi.Input - ToNodeTemplateHarvesterConfigOutput() NodeTemplateHarvesterConfigOutput - ToNodeTemplateHarvesterConfigOutputWithContext(context.Context) NodeTemplateHarvesterConfigOutput + ToMultiClusterAppUpgradeStrategyRollingUpdateOutput() MultiClusterAppUpgradeStrategyRollingUpdateOutput + ToMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(context.Context) MultiClusterAppUpgradeStrategyRollingUpdateOutput } -type NodeTemplateHarvesterConfigArgs struct { - // vSphere CPU number for docker VM. Default `2` (string) - CpuCount pulumi.StringPtrInput `pulumi:"cpuCount"` - // Disk bus, Default `virtio` (string) - DiskBus pulumi.StringPtrInput `pulumi:"diskBus"` - // vSphere size of disk for docker VM (in MB). Default `20480` (string) - DiskSize pulumi.StringPtrInput `pulumi:"diskSize"` - // OpenStack image name to use for the instance. Conflicts with `imageId` (string) - ImageName pulumi.StringInput `pulumi:"imageName"` - // vSphere size of memory for docker VM (in MB). Default `2048` (string) - MemorySize pulumi.StringPtrInput `pulumi:"memorySize"` - // NetworkData content of cloud-init, base64 is supported (string) - NetworkData pulumi.StringPtrInput `pulumi:"networkData"` - // Network model, Default `virtio` (string) - NetworkModel pulumi.StringPtrInput `pulumi:"networkModel"` - // Opennebula network to connect the machine to. Conflicts with `networkId` (string) - NetworkName pulumi.StringInput `pulumi:"networkName"` - // If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) - SshPassword pulumi.StringPtrInput `pulumi:"sshPassword"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) - SshUser pulumi.StringInput `pulumi:"sshUser"` - // UserData content of cloud-init, base64 is supported (string) - UserData pulumi.StringPtrInput `pulumi:"userData"` - // Virtual machine namespace e.g. `default` (string) - VmNamespace pulumi.StringInput `pulumi:"vmNamespace"` +type MultiClusterAppUpgradeStrategyRollingUpdateArgs struct { + // Rolling update batch size. Default `1` (int) + BatchSize pulumi.IntPtrInput `pulumi:"batchSize"` + // Rolling update interval. Default `1` (int) + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (NodeTemplateHarvesterConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateHarvesterConfig)(nil)).Elem() +func (MultiClusterAppUpgradeStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() } -func (i NodeTemplateHarvesterConfigArgs) ToNodeTemplateHarvesterConfigOutput() NodeTemplateHarvesterConfigOutput { - return i.ToNodeTemplateHarvesterConfigOutputWithContext(context.Background()) +func (i MultiClusterAppUpgradeStrategyRollingUpdateArgs) ToMultiClusterAppUpgradeStrategyRollingUpdateOutput() MultiClusterAppUpgradeStrategyRollingUpdateOutput { + return i.ToMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(context.Background()) } -func (i NodeTemplateHarvesterConfigArgs) ToNodeTemplateHarvesterConfigOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHarvesterConfigOutput) +func (i MultiClusterAppUpgradeStrategyRollingUpdateArgs) ToMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyRollingUpdateOutput) } -func (i NodeTemplateHarvesterConfigArgs) ToNodeTemplateHarvesterConfigPtrOutput() NodeTemplateHarvesterConfigPtrOutput { - return i.ToNodeTemplateHarvesterConfigPtrOutputWithContext(context.Background()) +func (i MultiClusterAppUpgradeStrategyRollingUpdateArgs) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return i.ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i NodeTemplateHarvesterConfigArgs) ToNodeTemplateHarvesterConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHarvesterConfigOutput).ToNodeTemplateHarvesterConfigPtrOutputWithContext(ctx) +func (i MultiClusterAppUpgradeStrategyRollingUpdateArgs) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyRollingUpdateOutput).ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx) } -// NodeTemplateHarvesterConfigPtrInput is an input type that accepts NodeTemplateHarvesterConfigArgs, NodeTemplateHarvesterConfigPtr and NodeTemplateHarvesterConfigPtrOutput values. -// You can construct a concrete instance of `NodeTemplateHarvesterConfigPtrInput` via: +// MultiClusterAppUpgradeStrategyRollingUpdatePtrInput is an input type that accepts MultiClusterAppUpgradeStrategyRollingUpdateArgs, MultiClusterAppUpgradeStrategyRollingUpdatePtr and MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `MultiClusterAppUpgradeStrategyRollingUpdatePtrInput` via: // -// NodeTemplateHarvesterConfigArgs{...} +// MultiClusterAppUpgradeStrategyRollingUpdateArgs{...} // // or: // // nil -type NodeTemplateHarvesterConfigPtrInput interface { +type MultiClusterAppUpgradeStrategyRollingUpdatePtrInput interface { pulumi.Input - ToNodeTemplateHarvesterConfigPtrOutput() NodeTemplateHarvesterConfigPtrOutput - ToNodeTemplateHarvesterConfigPtrOutputWithContext(context.Context) NodeTemplateHarvesterConfigPtrOutput + ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput + ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Context) MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput } -type nodeTemplateHarvesterConfigPtrType NodeTemplateHarvesterConfigArgs +type multiClusterAppUpgradeStrategyRollingUpdatePtrType MultiClusterAppUpgradeStrategyRollingUpdateArgs -func NodeTemplateHarvesterConfigPtr(v *NodeTemplateHarvesterConfigArgs) NodeTemplateHarvesterConfigPtrInput { - return (*nodeTemplateHarvesterConfigPtrType)(v) +func MultiClusterAppUpgradeStrategyRollingUpdatePtr(v *MultiClusterAppUpgradeStrategyRollingUpdateArgs) MultiClusterAppUpgradeStrategyRollingUpdatePtrInput { + return (*multiClusterAppUpgradeStrategyRollingUpdatePtrType)(v) } -func (*nodeTemplateHarvesterConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateHarvesterConfig)(nil)).Elem() +func (*multiClusterAppUpgradeStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() } -func (i *nodeTemplateHarvesterConfigPtrType) ToNodeTemplateHarvesterConfigPtrOutput() NodeTemplateHarvesterConfigPtrOutput { - return i.ToNodeTemplateHarvesterConfigPtrOutputWithContext(context.Background()) +func (i *multiClusterAppUpgradeStrategyRollingUpdatePtrType) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return i.ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i *nodeTemplateHarvesterConfigPtrType) ToNodeTemplateHarvesterConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHarvesterConfigPtrOutput) +func (i *multiClusterAppUpgradeStrategyRollingUpdatePtrType) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) } -type NodeTemplateHarvesterConfigOutput struct{ *pulumi.OutputState } +type MultiClusterAppUpgradeStrategyRollingUpdateOutput struct{ *pulumi.OutputState } -func (NodeTemplateHarvesterConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateHarvesterConfig)(nil)).Elem() +func (MultiClusterAppUpgradeStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() } -func (o NodeTemplateHarvesterConfigOutput) ToNodeTemplateHarvesterConfigOutput() NodeTemplateHarvesterConfigOutput { +func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) ToMultiClusterAppUpgradeStrategyRollingUpdateOutput() MultiClusterAppUpgradeStrategyRollingUpdateOutput { return o } -func (o NodeTemplateHarvesterConfigOutput) ToNodeTemplateHarvesterConfigOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigOutput { +func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) ToMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdateOutput { return o } -func (o NodeTemplateHarvesterConfigOutput) ToNodeTemplateHarvesterConfigPtrOutput() NodeTemplateHarvesterConfigPtrOutput { - return o.ToNodeTemplateHarvesterConfigPtrOutputWithContext(context.Background()) +func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o.ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o NodeTemplateHarvesterConfigOutput) ToNodeTemplateHarvesterConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateHarvesterConfig) *NodeTemplateHarvesterConfig { +func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MultiClusterAppUpgradeStrategyRollingUpdate) *MultiClusterAppUpgradeStrategyRollingUpdate { return &v - }).(NodeTemplateHarvesterConfigPtrOutput) + }).(MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) } -// vSphere CPU number for docker VM. Default `2` (string) -func (o NodeTemplateHarvesterConfigOutput) CpuCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.CpuCount }).(pulumi.StringPtrOutput) +// Rolling update batch size. Default `1` (int) +func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) BatchSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v MultiClusterAppUpgradeStrategyRollingUpdate) *int { return v.BatchSize }).(pulumi.IntPtrOutput) } -// Disk bus, Default `virtio` (string) -func (o NodeTemplateHarvesterConfigOutput) DiskBus() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.DiskBus }).(pulumi.StringPtrOutput) +// Rolling update interval. Default `1` (int) +func (o MultiClusterAppUpgradeStrategyRollingUpdateOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v MultiClusterAppUpgradeStrategyRollingUpdate) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o NodeTemplateHarvesterConfigOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) +type MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } + +func (MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() } -// OpenStack image name to use for the instance. Conflicts with `imageId` (string) -func (o NodeTemplateHarvesterConfigOutput) ImageName() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) string { return v.ImageName }).(pulumi.StringOutput) +func (o MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o } -// vSphere size of memory for docker VM (in MB). Default `2048` (string) -func (o NodeTemplateHarvesterConfigOutput) MemorySize() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.MemorySize }).(pulumi.StringPtrOutput) +func (o MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ToMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o } -// NetworkData content of cloud-init, base64 is supported (string) -func (o NodeTemplateHarvesterConfigOutput) NetworkData() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.NetworkData }).(pulumi.StringPtrOutput) +func (o MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) Elem() MultiClusterAppUpgradeStrategyRollingUpdateOutput { + return o.ApplyT(func(v *MultiClusterAppUpgradeStrategyRollingUpdate) MultiClusterAppUpgradeStrategyRollingUpdate { + if v != nil { + return *v + } + var ret MultiClusterAppUpgradeStrategyRollingUpdate + return ret + }).(MultiClusterAppUpgradeStrategyRollingUpdateOutput) } -// Network model, Default `virtio` (string) -func (o NodeTemplateHarvesterConfigOutput) NetworkModel() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.NetworkModel }).(pulumi.StringPtrOutput) +// Rolling update batch size. Default `1` (int) +func (o MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) BatchSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *MultiClusterAppUpgradeStrategyRollingUpdate) *int { + if v == nil { + return nil + } + return v.BatchSize + }).(pulumi.IntPtrOutput) } -// Opennebula network to connect the machine to. Conflicts with `networkId` (string) -func (o NodeTemplateHarvesterConfigOutput) NetworkName() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) string { return v.NetworkName }).(pulumi.StringOutput) +// Rolling update interval. Default `1` (int) +func (o MultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *MultiClusterAppUpgradeStrategyRollingUpdate) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) -func (o NodeTemplateHarvesterConfigOutput) SshPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.SshPassword }).(pulumi.StringPtrOutput) +type NamespaceContainerResourceLimit struct { + // Limit for limits cpu in namespace (string) + LimitsCpu *string `pulumi:"limitsCpu"` + // Limit for limits memory in namespace (string) + LimitsMemory *string `pulumi:"limitsMemory"` + // Limit for requests cpu in namespace (string) + RequestsCpu *string `pulumi:"requestsCpu"` + // Limit for requests memory in namespace (string) + RequestsMemory *string `pulumi:"requestsMemory"` } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateHarvesterConfigOutput) SshUser() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) string { return v.SshUser }).(pulumi.StringOutput) +// NamespaceContainerResourceLimitInput is an input type that accepts NamespaceContainerResourceLimitArgs and NamespaceContainerResourceLimitOutput values. +// You can construct a concrete instance of `NamespaceContainerResourceLimitInput` via: +// +// NamespaceContainerResourceLimitArgs{...} +type NamespaceContainerResourceLimitInput interface { + pulumi.Input + + ToNamespaceContainerResourceLimitOutput() NamespaceContainerResourceLimitOutput + ToNamespaceContainerResourceLimitOutputWithContext(context.Context) NamespaceContainerResourceLimitOutput } -// UserData content of cloud-init, base64 is supported (string) -func (o NodeTemplateHarvesterConfigOutput) UserData() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.UserData }).(pulumi.StringPtrOutput) +type NamespaceContainerResourceLimitArgs struct { + // Limit for limits cpu in namespace (string) + LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` + // Limit for limits memory in namespace (string) + LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` + // Limit for requests cpu in namespace (string) + RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` + // Limit for requests memory in namespace (string) + RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` } -// Virtual machine namespace e.g. `default` (string) -func (o NodeTemplateHarvesterConfigOutput) VmNamespace() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateHarvesterConfig) string { return v.VmNamespace }).(pulumi.StringOutput) +func (NamespaceContainerResourceLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceContainerResourceLimit)(nil)).Elem() } -type NodeTemplateHarvesterConfigPtrOutput struct{ *pulumi.OutputState } +func (i NamespaceContainerResourceLimitArgs) ToNamespaceContainerResourceLimitOutput() NamespaceContainerResourceLimitOutput { + return i.ToNamespaceContainerResourceLimitOutputWithContext(context.Background()) +} -func (NodeTemplateHarvesterConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateHarvesterConfig)(nil)).Elem() +func (i NamespaceContainerResourceLimitArgs) ToNamespaceContainerResourceLimitOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceContainerResourceLimitOutput) } -func (o NodeTemplateHarvesterConfigPtrOutput) ToNodeTemplateHarvesterConfigPtrOutput() NodeTemplateHarvesterConfigPtrOutput { +func (i NamespaceContainerResourceLimitArgs) ToNamespaceContainerResourceLimitPtrOutput() NamespaceContainerResourceLimitPtrOutput { + return i.ToNamespaceContainerResourceLimitPtrOutputWithContext(context.Background()) +} + +func (i NamespaceContainerResourceLimitArgs) ToNamespaceContainerResourceLimitPtrOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceContainerResourceLimitOutput).ToNamespaceContainerResourceLimitPtrOutputWithContext(ctx) +} + +// NamespaceContainerResourceLimitPtrInput is an input type that accepts NamespaceContainerResourceLimitArgs, NamespaceContainerResourceLimitPtr and NamespaceContainerResourceLimitPtrOutput values. +// You can construct a concrete instance of `NamespaceContainerResourceLimitPtrInput` via: +// +// NamespaceContainerResourceLimitArgs{...} +// +// or: +// +// nil +type NamespaceContainerResourceLimitPtrInput interface { + pulumi.Input + + ToNamespaceContainerResourceLimitPtrOutput() NamespaceContainerResourceLimitPtrOutput + ToNamespaceContainerResourceLimitPtrOutputWithContext(context.Context) NamespaceContainerResourceLimitPtrOutput +} + +type namespaceContainerResourceLimitPtrType NamespaceContainerResourceLimitArgs + +func NamespaceContainerResourceLimitPtr(v *NamespaceContainerResourceLimitArgs) NamespaceContainerResourceLimitPtrInput { + return (*namespaceContainerResourceLimitPtrType)(v) +} + +func (*namespaceContainerResourceLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NamespaceContainerResourceLimit)(nil)).Elem() +} + +func (i *namespaceContainerResourceLimitPtrType) ToNamespaceContainerResourceLimitPtrOutput() NamespaceContainerResourceLimitPtrOutput { + return i.ToNamespaceContainerResourceLimitPtrOutputWithContext(context.Background()) +} + +func (i *namespaceContainerResourceLimitPtrType) ToNamespaceContainerResourceLimitPtrOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceContainerResourceLimitPtrOutput) +} + +type NamespaceContainerResourceLimitOutput struct{ *pulumi.OutputState } + +func (NamespaceContainerResourceLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceContainerResourceLimit)(nil)).Elem() +} + +func (o NamespaceContainerResourceLimitOutput) ToNamespaceContainerResourceLimitOutput() NamespaceContainerResourceLimitOutput { return o } -func (o NodeTemplateHarvesterConfigPtrOutput) ToNodeTemplateHarvesterConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigPtrOutput { +func (o NamespaceContainerResourceLimitOutput) ToNamespaceContainerResourceLimitOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitOutput { return o } -func (o NodeTemplateHarvesterConfigPtrOutput) Elem() NodeTemplateHarvesterConfigOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) NodeTemplateHarvesterConfig { - if v != nil { - return *v - } - var ret NodeTemplateHarvesterConfig - return ret - }).(NodeTemplateHarvesterConfigOutput) +func (o NamespaceContainerResourceLimitOutput) ToNamespaceContainerResourceLimitPtrOutput() NamespaceContainerResourceLimitPtrOutput { + return o.ToNamespaceContainerResourceLimitPtrOutputWithContext(context.Background()) } -// vSphere CPU number for docker VM. Default `2` (string) -func (o NodeTemplateHarvesterConfigPtrOutput) CpuCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { - if v == nil { - return nil - } - return v.CpuCount - }).(pulumi.StringPtrOutput) +func (o NamespaceContainerResourceLimitOutput) ToNamespaceContainerResourceLimitPtrOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NamespaceContainerResourceLimit) *NamespaceContainerResourceLimit { + return &v + }).(NamespaceContainerResourceLimitPtrOutput) } -// Disk bus, Default `virtio` (string) -func (o NodeTemplateHarvesterConfigPtrOutput) DiskBus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { - if v == nil { - return nil - } - return v.DiskBus - }).(pulumi.StringPtrOutput) +// Limit for limits cpu in namespace (string) +func (o NamespaceContainerResourceLimitOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceContainerResourceLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) } -// vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o NodeTemplateHarvesterConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { - if v == nil { - return nil - } - return v.DiskSize - }).(pulumi.StringPtrOutput) +// Limit for limits memory in namespace (string) +func (o NamespaceContainerResourceLimitOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceContainerResourceLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) } -// OpenStack image name to use for the instance. Conflicts with `imageId` (string) -func (o NodeTemplateHarvesterConfigPtrOutput) ImageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { - if v == nil { - return nil - } - return &v.ImageName - }).(pulumi.StringPtrOutput) +// Limit for requests cpu in namespace (string) +func (o NamespaceContainerResourceLimitOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceContainerResourceLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) } -// vSphere size of memory for docker VM (in MB). Default `2048` (string) -func (o NodeTemplateHarvesterConfigPtrOutput) MemorySize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { - if v == nil { - return nil - } - return v.MemorySize - }).(pulumi.StringPtrOutput) +// Limit for requests memory in namespace (string) +func (o NamespaceContainerResourceLimitOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceContainerResourceLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) } -// NetworkData content of cloud-init, base64 is supported (string) -func (o NodeTemplateHarvesterConfigPtrOutput) NetworkData() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { - if v == nil { - return nil - } - return v.NetworkData - }).(pulumi.StringPtrOutput) +type NamespaceContainerResourceLimitPtrOutput struct{ *pulumi.OutputState } + +func (NamespaceContainerResourceLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NamespaceContainerResourceLimit)(nil)).Elem() } -// Network model, Default `virtio` (string) -func (o NodeTemplateHarvesterConfigPtrOutput) NetworkModel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { - if v == nil { - return nil - } - return v.NetworkModel - }).(pulumi.StringPtrOutput) +func (o NamespaceContainerResourceLimitPtrOutput) ToNamespaceContainerResourceLimitPtrOutput() NamespaceContainerResourceLimitPtrOutput { + return o } -// Opennebula network to connect the machine to. Conflicts with `networkId` (string) -func (o NodeTemplateHarvesterConfigPtrOutput) NetworkName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { - if v == nil { - return nil +func (o NamespaceContainerResourceLimitPtrOutput) ToNamespaceContainerResourceLimitPtrOutputWithContext(ctx context.Context) NamespaceContainerResourceLimitPtrOutput { + return o +} + +func (o NamespaceContainerResourceLimitPtrOutput) Elem() NamespaceContainerResourceLimitOutput { + return o.ApplyT(func(v *NamespaceContainerResourceLimit) NamespaceContainerResourceLimit { + if v != nil { + return *v } - return &v.NetworkName - }).(pulumi.StringPtrOutput) + var ret NamespaceContainerResourceLimit + return ret + }).(NamespaceContainerResourceLimitOutput) } -// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) -func (o NodeTemplateHarvesterConfigPtrOutput) SshPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { +// Limit for limits cpu in namespace (string) +func (o NamespaceContainerResourceLimitPtrOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceContainerResourceLimit) *string { if v == nil { return nil } - return v.SshPassword + return v.LimitsCpu }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateHarvesterConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { +// Limit for limits memory in namespace (string) +func (o NamespaceContainerResourceLimitPtrOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceContainerResourceLimit) *string { if v == nil { return nil } - return &v.SshUser + return v.LimitsMemory }).(pulumi.StringPtrOutput) } -// UserData content of cloud-init, base64 is supported (string) -func (o NodeTemplateHarvesterConfigPtrOutput) UserData() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { +// Limit for requests cpu in namespace (string) +func (o NamespaceContainerResourceLimitPtrOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceContainerResourceLimit) *string { if v == nil { return nil } - return v.UserData + return v.RequestsCpu }).(pulumi.StringPtrOutput) } -// Virtual machine namespace e.g. `default` (string) -func (o NodeTemplateHarvesterConfigPtrOutput) VmNamespace() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { +// Limit for requests memory in namespace (string) +func (o NamespaceContainerResourceLimitPtrOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceContainerResourceLimit) *string { if v == nil { return nil } - return &v.VmNamespace + return v.RequestsMemory }).(pulumi.StringPtrOutput) } -type NodeTemplateHetznerConfig struct { - // Hetzner Cloud project API token (string) - ApiToken string `pulumi:"apiToken"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image *string `pulumi:"image"` - // Comma-separated list of network IDs or names which should be attached to the server private network interface (string) - Networks *string `pulumi:"networks"` - // Map of the labels which will be assigned to the server. This argument is only available on [Hetzner Docker Node Driver:v3.6.0](https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/tag/3.6.0) and above (map) - ServerLabels map[string]interface{} `pulumi:"serverLabels"` - // Hetzner Cloud datacenter. Default `nbg1` (string) - ServerLocation *string `pulumi:"serverLocation"` - // Hetzner Cloud server type. Default `cx11` (string) - ServerType *string `pulumi:"serverType"` - // Use private network. Default `false` (bool) - UsePrivateNetwork *bool `pulumi:"usePrivateNetwork"` - // Path to file with cloud-init user-data (string) - Userdata *string `pulumi:"userdata"` - // Comma-separated list of volume IDs or names which should be attached to the server (string) - Volumes *string `pulumi:"volumes"` +type NamespaceResourceQuota struct { + // Resource quota limit for namespace (list maxitems:1) + Limit NamespaceResourceQuotaLimit `pulumi:"limit"` } -// NodeTemplateHetznerConfigInput is an input type that accepts NodeTemplateHetznerConfigArgs and NodeTemplateHetznerConfigOutput values. -// You can construct a concrete instance of `NodeTemplateHetznerConfigInput` via: +// NamespaceResourceQuotaInput is an input type that accepts NamespaceResourceQuotaArgs and NamespaceResourceQuotaOutput values. +// You can construct a concrete instance of `NamespaceResourceQuotaInput` via: // -// NodeTemplateHetznerConfigArgs{...} -type NodeTemplateHetznerConfigInput interface { - pulumi.Input - - ToNodeTemplateHetznerConfigOutput() NodeTemplateHetznerConfigOutput - ToNodeTemplateHetznerConfigOutputWithContext(context.Context) NodeTemplateHetznerConfigOutput -} - -type NodeTemplateHetznerConfigArgs struct { - // Hetzner Cloud project API token (string) - ApiToken pulumi.StringInput `pulumi:"apiToken"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image pulumi.StringPtrInput `pulumi:"image"` - // Comma-separated list of network IDs or names which should be attached to the server private network interface (string) - Networks pulumi.StringPtrInput `pulumi:"networks"` - // Map of the labels which will be assigned to the server. This argument is only available on [Hetzner Docker Node Driver:v3.6.0](https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/tag/3.6.0) and above (map) - ServerLabels pulumi.MapInput `pulumi:"serverLabels"` - // Hetzner Cloud datacenter. Default `nbg1` (string) - ServerLocation pulumi.StringPtrInput `pulumi:"serverLocation"` - // Hetzner Cloud server type. Default `cx11` (string) - ServerType pulumi.StringPtrInput `pulumi:"serverType"` - // Use private network. Default `false` (bool) - UsePrivateNetwork pulumi.BoolPtrInput `pulumi:"usePrivateNetwork"` - // Path to file with cloud-init user-data (string) - Userdata pulumi.StringPtrInput `pulumi:"userdata"` - // Comma-separated list of volume IDs or names which should be attached to the server (string) - Volumes pulumi.StringPtrInput `pulumi:"volumes"` +// NamespaceResourceQuotaArgs{...} +type NamespaceResourceQuotaInput interface { + pulumi.Input + + ToNamespaceResourceQuotaOutput() NamespaceResourceQuotaOutput + ToNamespaceResourceQuotaOutputWithContext(context.Context) NamespaceResourceQuotaOutput } -func (NodeTemplateHetznerConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateHetznerConfig)(nil)).Elem() +type NamespaceResourceQuotaArgs struct { + // Resource quota limit for namespace (list maxitems:1) + Limit NamespaceResourceQuotaLimitInput `pulumi:"limit"` } -func (i NodeTemplateHetznerConfigArgs) ToNodeTemplateHetznerConfigOutput() NodeTemplateHetznerConfigOutput { - return i.ToNodeTemplateHetznerConfigOutputWithContext(context.Background()) +func (NamespaceResourceQuotaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceResourceQuota)(nil)).Elem() } -func (i NodeTemplateHetznerConfigArgs) ToNodeTemplateHetznerConfigOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHetznerConfigOutput) +func (i NamespaceResourceQuotaArgs) ToNamespaceResourceQuotaOutput() NamespaceResourceQuotaOutput { + return i.ToNamespaceResourceQuotaOutputWithContext(context.Background()) } -func (i NodeTemplateHetznerConfigArgs) ToNodeTemplateHetznerConfigPtrOutput() NodeTemplateHetznerConfigPtrOutput { - return i.ToNodeTemplateHetznerConfigPtrOutputWithContext(context.Background()) +func (i NamespaceResourceQuotaArgs) ToNamespaceResourceQuotaOutputWithContext(ctx context.Context) NamespaceResourceQuotaOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaOutput) } -func (i NodeTemplateHetznerConfigArgs) ToNodeTemplateHetznerConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHetznerConfigOutput).ToNodeTemplateHetznerConfigPtrOutputWithContext(ctx) +func (i NamespaceResourceQuotaArgs) ToNamespaceResourceQuotaPtrOutput() NamespaceResourceQuotaPtrOutput { + return i.ToNamespaceResourceQuotaPtrOutputWithContext(context.Background()) } -// NodeTemplateHetznerConfigPtrInput is an input type that accepts NodeTemplateHetznerConfigArgs, NodeTemplateHetznerConfigPtr and NodeTemplateHetznerConfigPtrOutput values. -// You can construct a concrete instance of `NodeTemplateHetznerConfigPtrInput` via: +func (i NamespaceResourceQuotaArgs) ToNamespaceResourceQuotaPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaOutput).ToNamespaceResourceQuotaPtrOutputWithContext(ctx) +} + +// NamespaceResourceQuotaPtrInput is an input type that accepts NamespaceResourceQuotaArgs, NamespaceResourceQuotaPtr and NamespaceResourceQuotaPtrOutput values. +// You can construct a concrete instance of `NamespaceResourceQuotaPtrInput` via: // -// NodeTemplateHetznerConfigArgs{...} +// NamespaceResourceQuotaArgs{...} // // or: // // nil -type NodeTemplateHetznerConfigPtrInput interface { +type NamespaceResourceQuotaPtrInput interface { pulumi.Input - ToNodeTemplateHetznerConfigPtrOutput() NodeTemplateHetznerConfigPtrOutput - ToNodeTemplateHetznerConfigPtrOutputWithContext(context.Context) NodeTemplateHetznerConfigPtrOutput + ToNamespaceResourceQuotaPtrOutput() NamespaceResourceQuotaPtrOutput + ToNamespaceResourceQuotaPtrOutputWithContext(context.Context) NamespaceResourceQuotaPtrOutput } -type nodeTemplateHetznerConfigPtrType NodeTemplateHetznerConfigArgs +type namespaceResourceQuotaPtrType NamespaceResourceQuotaArgs -func NodeTemplateHetznerConfigPtr(v *NodeTemplateHetznerConfigArgs) NodeTemplateHetznerConfigPtrInput { - return (*nodeTemplateHetznerConfigPtrType)(v) +func NamespaceResourceQuotaPtr(v *NamespaceResourceQuotaArgs) NamespaceResourceQuotaPtrInput { + return (*namespaceResourceQuotaPtrType)(v) } -func (*nodeTemplateHetznerConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateHetznerConfig)(nil)).Elem() +func (*namespaceResourceQuotaPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NamespaceResourceQuota)(nil)).Elem() } -func (i *nodeTemplateHetznerConfigPtrType) ToNodeTemplateHetznerConfigPtrOutput() NodeTemplateHetznerConfigPtrOutput { - return i.ToNodeTemplateHetznerConfigPtrOutputWithContext(context.Background()) +func (i *namespaceResourceQuotaPtrType) ToNamespaceResourceQuotaPtrOutput() NamespaceResourceQuotaPtrOutput { + return i.ToNamespaceResourceQuotaPtrOutputWithContext(context.Background()) } -func (i *nodeTemplateHetznerConfigPtrType) ToNodeTemplateHetznerConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHetznerConfigPtrOutput) +func (i *namespaceResourceQuotaPtrType) ToNamespaceResourceQuotaPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaPtrOutput) } -type NodeTemplateHetznerConfigOutput struct{ *pulumi.OutputState } +type NamespaceResourceQuotaOutput struct{ *pulumi.OutputState } -func (NodeTemplateHetznerConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateHetznerConfig)(nil)).Elem() +func (NamespaceResourceQuotaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceResourceQuota)(nil)).Elem() } -func (o NodeTemplateHetznerConfigOutput) ToNodeTemplateHetznerConfigOutput() NodeTemplateHetznerConfigOutput { +func (o NamespaceResourceQuotaOutput) ToNamespaceResourceQuotaOutput() NamespaceResourceQuotaOutput { return o } -func (o NodeTemplateHetznerConfigOutput) ToNodeTemplateHetznerConfigOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigOutput { +func (o NamespaceResourceQuotaOutput) ToNamespaceResourceQuotaOutputWithContext(ctx context.Context) NamespaceResourceQuotaOutput { return o } -func (o NodeTemplateHetznerConfigOutput) ToNodeTemplateHetznerConfigPtrOutput() NodeTemplateHetznerConfigPtrOutput { - return o.ToNodeTemplateHetznerConfigPtrOutputWithContext(context.Background()) +func (o NamespaceResourceQuotaOutput) ToNamespaceResourceQuotaPtrOutput() NamespaceResourceQuotaPtrOutput { + return o.ToNamespaceResourceQuotaPtrOutputWithContext(context.Background()) } -func (o NodeTemplateHetznerConfigOutput) ToNodeTemplateHetznerConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateHetznerConfig) *NodeTemplateHetznerConfig { +func (o NamespaceResourceQuotaOutput) ToNamespaceResourceQuotaPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NamespaceResourceQuota) *NamespaceResourceQuota { return &v - }).(NodeTemplateHetznerConfigPtrOutput) -} - -// Hetzner Cloud project API token (string) -func (o NodeTemplateHetznerConfigOutput) ApiToken() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateHetznerConfig) string { return v.ApiToken }).(pulumi.StringOutput) -} - -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o NodeTemplateHetznerConfigOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.Image }).(pulumi.StringPtrOutput) -} - -// Comma-separated list of network IDs or names which should be attached to the server private network interface (string) -func (o NodeTemplateHetznerConfigOutput) Networks() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.Networks }).(pulumi.StringPtrOutput) -} - -// Map of the labels which will be assigned to the server. This argument is only available on [Hetzner Docker Node Driver:v3.6.0](https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/tag/3.6.0) and above (map) -func (o NodeTemplateHetznerConfigOutput) ServerLabels() pulumi.MapOutput { - return o.ApplyT(func(v NodeTemplateHetznerConfig) map[string]interface{} { return v.ServerLabels }).(pulumi.MapOutput) -} - -// Hetzner Cloud datacenter. Default `nbg1` (string) -func (o NodeTemplateHetznerConfigOutput) ServerLocation() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.ServerLocation }).(pulumi.StringPtrOutput) -} - -// Hetzner Cloud server type. Default `cx11` (string) -func (o NodeTemplateHetznerConfigOutput) ServerType() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.ServerType }).(pulumi.StringPtrOutput) -} - -// Use private network. Default `false` (bool) -func (o NodeTemplateHetznerConfigOutput) UsePrivateNetwork() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateHetznerConfig) *bool { return v.UsePrivateNetwork }).(pulumi.BoolPtrOutput) -} - -// Path to file with cloud-init user-data (string) -func (o NodeTemplateHetznerConfigOutput) Userdata() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.Userdata }).(pulumi.StringPtrOutput) + }).(NamespaceResourceQuotaPtrOutput) } -// Comma-separated list of volume IDs or names which should be attached to the server (string) -func (o NodeTemplateHetznerConfigOutput) Volumes() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.Volumes }).(pulumi.StringPtrOutput) +// Resource quota limit for namespace (list maxitems:1) +func (o NamespaceResourceQuotaOutput) Limit() NamespaceResourceQuotaLimitOutput { + return o.ApplyT(func(v NamespaceResourceQuota) NamespaceResourceQuotaLimit { return v.Limit }).(NamespaceResourceQuotaLimitOutput) } -type NodeTemplateHetznerConfigPtrOutput struct{ *pulumi.OutputState } +type NamespaceResourceQuotaPtrOutput struct{ *pulumi.OutputState } -func (NodeTemplateHetznerConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateHetznerConfig)(nil)).Elem() +func (NamespaceResourceQuotaPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NamespaceResourceQuota)(nil)).Elem() } -func (o NodeTemplateHetznerConfigPtrOutput) ToNodeTemplateHetznerConfigPtrOutput() NodeTemplateHetznerConfigPtrOutput { +func (o NamespaceResourceQuotaPtrOutput) ToNamespaceResourceQuotaPtrOutput() NamespaceResourceQuotaPtrOutput { return o } -func (o NodeTemplateHetznerConfigPtrOutput) ToNodeTemplateHetznerConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigPtrOutput { +func (o NamespaceResourceQuotaPtrOutput) ToNamespaceResourceQuotaPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaPtrOutput { return o } -func (o NodeTemplateHetznerConfigPtrOutput) Elem() NodeTemplateHetznerConfigOutput { - return o.ApplyT(func(v *NodeTemplateHetznerConfig) NodeTemplateHetznerConfig { +func (o NamespaceResourceQuotaPtrOutput) Elem() NamespaceResourceQuotaOutput { + return o.ApplyT(func(v *NamespaceResourceQuota) NamespaceResourceQuota { if v != nil { return *v } - var ret NodeTemplateHetznerConfig + var ret NamespaceResourceQuota return ret - }).(NodeTemplateHetznerConfigOutput) -} - -// Hetzner Cloud project API token (string) -func (o NodeTemplateHetznerConfigPtrOutput) ApiToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { - if v == nil { - return nil - } - return &v.ApiToken - }).(pulumi.StringPtrOutput) -} - -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o NodeTemplateHetznerConfigPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { - if v == nil { - return nil - } - return v.Image - }).(pulumi.StringPtrOutput) -} - -// Comma-separated list of network IDs or names which should be attached to the server private network interface (string) -func (o NodeTemplateHetznerConfigPtrOutput) Networks() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { - if v == nil { - return nil - } - return v.Networks - }).(pulumi.StringPtrOutput) -} - -// Map of the labels which will be assigned to the server. This argument is only available on [Hetzner Docker Node Driver:v3.6.0](https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/tag/3.6.0) and above (map) -func (o NodeTemplateHetznerConfigPtrOutput) ServerLabels() pulumi.MapOutput { - return o.ApplyT(func(v *NodeTemplateHetznerConfig) map[string]interface{} { - if v == nil { - return nil - } - return v.ServerLabels - }).(pulumi.MapOutput) -} - -// Hetzner Cloud datacenter. Default `nbg1` (string) -func (o NodeTemplateHetznerConfigPtrOutput) ServerLocation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { - if v == nil { - return nil - } - return v.ServerLocation - }).(pulumi.StringPtrOutput) -} - -// Hetzner Cloud server type. Default `cx11` (string) -func (o NodeTemplateHetznerConfigPtrOutput) ServerType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { - if v == nil { - return nil - } - return v.ServerType - }).(pulumi.StringPtrOutput) -} - -// Use private network. Default `false` (bool) -func (o NodeTemplateHetznerConfigPtrOutput) UsePrivateNetwork() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateHetznerConfig) *bool { - if v == nil { - return nil - } - return v.UsePrivateNetwork - }).(pulumi.BoolPtrOutput) -} - -// Path to file with cloud-init user-data (string) -func (o NodeTemplateHetznerConfigPtrOutput) Userdata() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { - if v == nil { - return nil - } - return v.Userdata - }).(pulumi.StringPtrOutput) + }).(NamespaceResourceQuotaOutput) } -// Comma-separated list of volume IDs or names which should be attached to the server (string) -func (o NodeTemplateHetznerConfigPtrOutput) Volumes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { +// Resource quota limit for namespace (list maxitems:1) +func (o NamespaceResourceQuotaPtrOutput) Limit() NamespaceResourceQuotaLimitPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuota) *NamespaceResourceQuotaLimit { if v == nil { return nil } - return v.Volumes - }).(pulumi.StringPtrOutput) + return &v.Limit + }).(NamespaceResourceQuotaLimitPtrOutput) } -type NodeTemplateLinodeConfig struct { - // Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) - AuthorizedUsers *string `pulumi:"authorizedUsers"` - // Create private IP for the instance. Default `false` (bool) - CreatePrivateIp *bool `pulumi:"createPrivateIp"` - // Docker Port. Default `2376` (string) - DockerPort *string `pulumi:"dockerPort"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image *string `pulumi:"image"` - // Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) - InstanceType *string `pulumi:"instanceType"` - // Linode Instance Label. (string) - Label *string `pulumi:"label"` - // OpenStack region name (string) - Region *string `pulumi:"region"` - // Root Password (string) - RootPass *string `pulumi:"rootPass"` - // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) - SshPort *string `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) - SshUser *string `pulumi:"sshUser"` - // Specifies the Linode StackScript to use to create the instance. (string) - Stackscript *string `pulumi:"stackscript"` - // A JSON string specifying data for the selected StackScript. (string) - StackscriptData *string `pulumi:"stackscriptData"` - // Linode Instance Swap Size (MB). Default `512` (string) - SwapSize *string `pulumi:"swapSize"` - // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) - Tags *string `pulumi:"tags"` - // Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Token *string `pulumi:"token"` - // Prefix the User-Agent in Linode API calls with some 'product/version' (string) - UaPrefix *string `pulumi:"uaPrefix"` +type NamespaceResourceQuotaLimit struct { + // Limit for config maps in namespace (string) + ConfigMaps *string `pulumi:"configMaps"` + // Limit for limits cpu in namespace (string) + LimitsCpu *string `pulumi:"limitsCpu"` + // Limit for limits memory in namespace (string) + LimitsMemory *string `pulumi:"limitsMemory"` + // Limit for persistent volume claims in namespace (string) + PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` + // Limit for pods in namespace (string) + Pods *string `pulumi:"pods"` + // Limit for replication controllers in namespace (string) + ReplicationControllers *string `pulumi:"replicationControllers"` + // Limit for requests cpu in namespace (string) + RequestsCpu *string `pulumi:"requestsCpu"` + // Limit for requests memory in namespace (string) + RequestsMemory *string `pulumi:"requestsMemory"` + // Limit for requests storage in namespace (string) + RequestsStorage *string `pulumi:"requestsStorage"` + // Limit for secrets in namespace (string) + Secrets *string `pulumi:"secrets"` + Services *string `pulumi:"services"` + // Limit for services load balancers in namespace (string) + ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` + // Limit for services node ports in namespace (string) + ServicesNodePorts *string `pulumi:"servicesNodePorts"` } -// NodeTemplateLinodeConfigInput is an input type that accepts NodeTemplateLinodeConfigArgs and NodeTemplateLinodeConfigOutput values. -// You can construct a concrete instance of `NodeTemplateLinodeConfigInput` via: +// NamespaceResourceQuotaLimitInput is an input type that accepts NamespaceResourceQuotaLimitArgs and NamespaceResourceQuotaLimitOutput values. +// You can construct a concrete instance of `NamespaceResourceQuotaLimitInput` via: // -// NodeTemplateLinodeConfigArgs{...} -type NodeTemplateLinodeConfigInput interface { +// NamespaceResourceQuotaLimitArgs{...} +type NamespaceResourceQuotaLimitInput interface { pulumi.Input - ToNodeTemplateLinodeConfigOutput() NodeTemplateLinodeConfigOutput - ToNodeTemplateLinodeConfigOutputWithContext(context.Context) NodeTemplateLinodeConfigOutput + ToNamespaceResourceQuotaLimitOutput() NamespaceResourceQuotaLimitOutput + ToNamespaceResourceQuotaLimitOutputWithContext(context.Context) NamespaceResourceQuotaLimitOutput } -type NodeTemplateLinodeConfigArgs struct { - // Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) - AuthorizedUsers pulumi.StringPtrInput `pulumi:"authorizedUsers"` - // Create private IP for the instance. Default `false` (bool) - CreatePrivateIp pulumi.BoolPtrInput `pulumi:"createPrivateIp"` - // Docker Port. Default `2376` (string) - DockerPort pulumi.StringPtrInput `pulumi:"dockerPort"` - // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - Image pulumi.StringPtrInput `pulumi:"image"` - // Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) - InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` - // Linode Instance Label. (string) - Label pulumi.StringPtrInput `pulumi:"label"` - // OpenStack region name (string) - Region pulumi.StringPtrInput `pulumi:"region"` - // Root Password (string) - RootPass pulumi.StringPtrInput `pulumi:"rootPass"` - // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) - SshPort pulumi.StringPtrInput `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) - SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // Specifies the Linode StackScript to use to create the instance. (string) - Stackscript pulumi.StringPtrInput `pulumi:"stackscript"` - // A JSON string specifying data for the selected StackScript. (string) - StackscriptData pulumi.StringPtrInput `pulumi:"stackscriptData"` - // Linode Instance Swap Size (MB). Default `512` (string) - SwapSize pulumi.StringPtrInput `pulumi:"swapSize"` - // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) - Tags pulumi.StringPtrInput `pulumi:"tags"` - // Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Token pulumi.StringPtrInput `pulumi:"token"` - // Prefix the User-Agent in Linode API calls with some 'product/version' (string) - UaPrefix pulumi.StringPtrInput `pulumi:"uaPrefix"` +type NamespaceResourceQuotaLimitArgs struct { + // Limit for config maps in namespace (string) + ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` + // Limit for limits cpu in namespace (string) + LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` + // Limit for limits memory in namespace (string) + LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` + // Limit for persistent volume claims in namespace (string) + PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` + // Limit for pods in namespace (string) + Pods pulumi.StringPtrInput `pulumi:"pods"` + // Limit for replication controllers in namespace (string) + ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` + // Limit for requests cpu in namespace (string) + RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` + // Limit for requests memory in namespace (string) + RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` + // Limit for requests storage in namespace (string) + RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` + // Limit for secrets in namespace (string) + Secrets pulumi.StringPtrInput `pulumi:"secrets"` + Services pulumi.StringPtrInput `pulumi:"services"` + // Limit for services load balancers in namespace (string) + ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` + // Limit for services node ports in namespace (string) + ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` } -func (NodeTemplateLinodeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateLinodeConfig)(nil)).Elem() +func (NamespaceResourceQuotaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceResourceQuotaLimit)(nil)).Elem() } -func (i NodeTemplateLinodeConfigArgs) ToNodeTemplateLinodeConfigOutput() NodeTemplateLinodeConfigOutput { - return i.ToNodeTemplateLinodeConfigOutputWithContext(context.Background()) +func (i NamespaceResourceQuotaLimitArgs) ToNamespaceResourceQuotaLimitOutput() NamespaceResourceQuotaLimitOutput { + return i.ToNamespaceResourceQuotaLimitOutputWithContext(context.Background()) } -func (i NodeTemplateLinodeConfigArgs) ToNodeTemplateLinodeConfigOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateLinodeConfigOutput) +func (i NamespaceResourceQuotaLimitArgs) ToNamespaceResourceQuotaLimitOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaLimitOutput) } -func (i NodeTemplateLinodeConfigArgs) ToNodeTemplateLinodeConfigPtrOutput() NodeTemplateLinodeConfigPtrOutput { - return i.ToNodeTemplateLinodeConfigPtrOutputWithContext(context.Background()) +func (i NamespaceResourceQuotaLimitArgs) ToNamespaceResourceQuotaLimitPtrOutput() NamespaceResourceQuotaLimitPtrOutput { + return i.ToNamespaceResourceQuotaLimitPtrOutputWithContext(context.Background()) } -func (i NodeTemplateLinodeConfigArgs) ToNodeTemplateLinodeConfigPtrOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateLinodeConfigOutput).ToNodeTemplateLinodeConfigPtrOutputWithContext(ctx) +func (i NamespaceResourceQuotaLimitArgs) ToNamespaceResourceQuotaLimitPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaLimitOutput).ToNamespaceResourceQuotaLimitPtrOutputWithContext(ctx) } -// NodeTemplateLinodeConfigPtrInput is an input type that accepts NodeTemplateLinodeConfigArgs, NodeTemplateLinodeConfigPtr and NodeTemplateLinodeConfigPtrOutput values. -// You can construct a concrete instance of `NodeTemplateLinodeConfigPtrInput` via: +// NamespaceResourceQuotaLimitPtrInput is an input type that accepts NamespaceResourceQuotaLimitArgs, NamespaceResourceQuotaLimitPtr and NamespaceResourceQuotaLimitPtrOutput values. +// You can construct a concrete instance of `NamespaceResourceQuotaLimitPtrInput` via: // -// NodeTemplateLinodeConfigArgs{...} +// NamespaceResourceQuotaLimitArgs{...} // // or: // // nil -type NodeTemplateLinodeConfigPtrInput interface { +type NamespaceResourceQuotaLimitPtrInput interface { pulumi.Input - ToNodeTemplateLinodeConfigPtrOutput() NodeTemplateLinodeConfigPtrOutput - ToNodeTemplateLinodeConfigPtrOutputWithContext(context.Context) NodeTemplateLinodeConfigPtrOutput + ToNamespaceResourceQuotaLimitPtrOutput() NamespaceResourceQuotaLimitPtrOutput + ToNamespaceResourceQuotaLimitPtrOutputWithContext(context.Context) NamespaceResourceQuotaLimitPtrOutput } -type nodeTemplateLinodeConfigPtrType NodeTemplateLinodeConfigArgs +type namespaceResourceQuotaLimitPtrType NamespaceResourceQuotaLimitArgs -func NodeTemplateLinodeConfigPtr(v *NodeTemplateLinodeConfigArgs) NodeTemplateLinodeConfigPtrInput { - return (*nodeTemplateLinodeConfigPtrType)(v) +func NamespaceResourceQuotaLimitPtr(v *NamespaceResourceQuotaLimitArgs) NamespaceResourceQuotaLimitPtrInput { + return (*namespaceResourceQuotaLimitPtrType)(v) } -func (*nodeTemplateLinodeConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateLinodeConfig)(nil)).Elem() +func (*namespaceResourceQuotaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NamespaceResourceQuotaLimit)(nil)).Elem() } -func (i *nodeTemplateLinodeConfigPtrType) ToNodeTemplateLinodeConfigPtrOutput() NodeTemplateLinodeConfigPtrOutput { - return i.ToNodeTemplateLinodeConfigPtrOutputWithContext(context.Background()) +func (i *namespaceResourceQuotaLimitPtrType) ToNamespaceResourceQuotaLimitPtrOutput() NamespaceResourceQuotaLimitPtrOutput { + return i.ToNamespaceResourceQuotaLimitPtrOutputWithContext(context.Background()) } -func (i *nodeTemplateLinodeConfigPtrType) ToNodeTemplateLinodeConfigPtrOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateLinodeConfigPtrOutput) +func (i *namespaceResourceQuotaLimitPtrType) ToNamespaceResourceQuotaLimitPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NamespaceResourceQuotaLimitPtrOutput) } -type NodeTemplateLinodeConfigOutput struct{ *pulumi.OutputState } +type NamespaceResourceQuotaLimitOutput struct{ *pulumi.OutputState } -func (NodeTemplateLinodeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateLinodeConfig)(nil)).Elem() +func (NamespaceResourceQuotaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NamespaceResourceQuotaLimit)(nil)).Elem() } -func (o NodeTemplateLinodeConfigOutput) ToNodeTemplateLinodeConfigOutput() NodeTemplateLinodeConfigOutput { +func (o NamespaceResourceQuotaLimitOutput) ToNamespaceResourceQuotaLimitOutput() NamespaceResourceQuotaLimitOutput { return o } -func (o NodeTemplateLinodeConfigOutput) ToNodeTemplateLinodeConfigOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigOutput { +func (o NamespaceResourceQuotaLimitOutput) ToNamespaceResourceQuotaLimitOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitOutput { return o } -func (o NodeTemplateLinodeConfigOutput) ToNodeTemplateLinodeConfigPtrOutput() NodeTemplateLinodeConfigPtrOutput { - return o.ToNodeTemplateLinodeConfigPtrOutputWithContext(context.Background()) +func (o NamespaceResourceQuotaLimitOutput) ToNamespaceResourceQuotaLimitPtrOutput() NamespaceResourceQuotaLimitPtrOutput { + return o.ToNamespaceResourceQuotaLimitPtrOutputWithContext(context.Background()) } -func (o NodeTemplateLinodeConfigOutput) ToNodeTemplateLinodeConfigPtrOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateLinodeConfig) *NodeTemplateLinodeConfig { +func (o NamespaceResourceQuotaLimitOutput) ToNamespaceResourceQuotaLimitPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NamespaceResourceQuotaLimit) *NamespaceResourceQuotaLimit { return &v - }).(NodeTemplateLinodeConfigPtrOutput) -} - -// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) -func (o NodeTemplateLinodeConfigOutput) AuthorizedUsers() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.AuthorizedUsers }).(pulumi.StringPtrOutput) -} - -// Create private IP for the instance. Default `false` (bool) -func (o NodeTemplateLinodeConfigOutput) CreatePrivateIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *bool { return v.CreatePrivateIp }).(pulumi.BoolPtrOutput) -} - -// Docker Port. Default `2376` (string) -func (o NodeTemplateLinodeConfigOutput) DockerPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.DockerPort }).(pulumi.StringPtrOutput) + }).(NamespaceResourceQuotaLimitPtrOutput) } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o NodeTemplateLinodeConfigOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Image }).(pulumi.StringPtrOutput) +// Limit for config maps in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) ConfigMaps() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) } -// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) -func (o NodeTemplateLinodeConfigOutput) InstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.InstanceType }).(pulumi.StringPtrOutput) +// Limit for limits cpu in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) } -// Linode Instance Label. (string) -func (o NodeTemplateLinodeConfigOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Label }).(pulumi.StringPtrOutput) +// Limit for limits memory in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) } -// OpenStack region name (string) -func (o NodeTemplateLinodeConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +// Limit for persistent volume claims in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) } -// Root Password (string) -func (o NodeTemplateLinodeConfigOutput) RootPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.RootPass }).(pulumi.StringPtrOutput) +// Limit for pods in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) Pods() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) -func (o NodeTemplateLinodeConfigOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) +// Limit for replication controllers in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateLinodeConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +// Limit for requests cpu in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) } -// Specifies the Linode StackScript to use to create the instance. (string) -func (o NodeTemplateLinodeConfigOutput) Stackscript() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Stackscript }).(pulumi.StringPtrOutput) +// Limit for requests memory in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) } -// A JSON string specifying data for the selected StackScript. (string) -func (o NodeTemplateLinodeConfigOutput) StackscriptData() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.StackscriptData }).(pulumi.StringPtrOutput) +// Limit for requests storage in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) RequestsStorage() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) } -// Linode Instance Swap Size (MB). Default `512` (string) -func (o NodeTemplateLinodeConfigOutput) SwapSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.SwapSize }).(pulumi.StringPtrOutput) +// Limit for secrets in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) Secrets() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) } - -// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) -func (o NodeTemplateLinodeConfigOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Tags }).(pulumi.StringPtrOutput) + +func (o NamespaceResourceQuotaLimitOutput) Services() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.Services }).(pulumi.StringPtrOutput) } -// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateLinodeConfigOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Token }).(pulumi.StringPtrOutput) +// Limit for services load balancers in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) } -// Prefix the User-Agent in Linode API calls with some 'product/version' (string) -func (o NodeTemplateLinodeConfigOutput) UaPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.UaPrefix }).(pulumi.StringPtrOutput) +// Limit for services node ports in namespace (string) +func (o NamespaceResourceQuotaLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { + return o.ApplyT(func(v NamespaceResourceQuotaLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) } -type NodeTemplateLinodeConfigPtrOutput struct{ *pulumi.OutputState } +type NamespaceResourceQuotaLimitPtrOutput struct{ *pulumi.OutputState } -func (NodeTemplateLinodeConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateLinodeConfig)(nil)).Elem() +func (NamespaceResourceQuotaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NamespaceResourceQuotaLimit)(nil)).Elem() } -func (o NodeTemplateLinodeConfigPtrOutput) ToNodeTemplateLinodeConfigPtrOutput() NodeTemplateLinodeConfigPtrOutput { +func (o NamespaceResourceQuotaLimitPtrOutput) ToNamespaceResourceQuotaLimitPtrOutput() NamespaceResourceQuotaLimitPtrOutput { return o } -func (o NodeTemplateLinodeConfigPtrOutput) ToNodeTemplateLinodeConfigPtrOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigPtrOutput { +func (o NamespaceResourceQuotaLimitPtrOutput) ToNamespaceResourceQuotaLimitPtrOutputWithContext(ctx context.Context) NamespaceResourceQuotaLimitPtrOutput { return o } -func (o NodeTemplateLinodeConfigPtrOutput) Elem() NodeTemplateLinodeConfigOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) NodeTemplateLinodeConfig { +func (o NamespaceResourceQuotaLimitPtrOutput) Elem() NamespaceResourceQuotaLimitOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) NamespaceResourceQuotaLimit { if v != nil { return *v } - var ret NodeTemplateLinodeConfig + var ret NamespaceResourceQuotaLimit return ret - }).(NodeTemplateLinodeConfigOutput) -} - -// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) -func (o NodeTemplateLinodeConfigPtrOutput) AuthorizedUsers() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { - if v == nil { - return nil - } - return v.AuthorizedUsers - }).(pulumi.StringPtrOutput) -} - -// Create private IP for the instance. Default `false` (bool) -func (o NodeTemplateLinodeConfigPtrOutput) CreatePrivateIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *bool { - if v == nil { - return nil - } - return v.CreatePrivateIp - }).(pulumi.BoolPtrOutput) -} - -// Docker Port. Default `2376` (string) -func (o NodeTemplateLinodeConfigPtrOutput) DockerPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { - if v == nil { - return nil - } - return v.DockerPort - }).(pulumi.StringPtrOutput) + }).(NamespaceResourceQuotaLimitOutput) } -// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) -func (o NodeTemplateLinodeConfigPtrOutput) Image() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for config maps in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) ConfigMaps() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.Image + return v.ConfigMaps }).(pulumi.StringPtrOutput) } -// Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) -func (o NodeTemplateLinodeConfigPtrOutput) InstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for limits cpu in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.InstanceType + return v.LimitsCpu }).(pulumi.StringPtrOutput) } -// Linode Instance Label. (string) -func (o NodeTemplateLinodeConfigPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for limits memory in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.Label + return v.LimitsMemory }).(pulumi.StringPtrOutput) } -// OpenStack region name (string) -func (o NodeTemplateLinodeConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for persistent volume claims in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.Region + return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) } -// Root Password (string) -func (o NodeTemplateLinodeConfigPtrOutput) RootPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for pods in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) Pods() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.RootPass + return v.Pods }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) -func (o NodeTemplateLinodeConfigPtrOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for replication controllers in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) ReplicationControllers() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.SshPort + return v.ReplicationControllers }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateLinodeConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for requests cpu in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.SshUser + return v.RequestsCpu }).(pulumi.StringPtrOutput) } -// Specifies the Linode StackScript to use to create the instance. (string) -func (o NodeTemplateLinodeConfigPtrOutput) Stackscript() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for requests memory in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.Stackscript + return v.RequestsMemory }).(pulumi.StringPtrOutput) } -// A JSON string specifying data for the selected StackScript. (string) -func (o NodeTemplateLinodeConfigPtrOutput) StackscriptData() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for requests storage in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) RequestsStorage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.StackscriptData + return v.RequestsStorage }).(pulumi.StringPtrOutput) } -// Linode Instance Swap Size (MB). Default `512` (string) -func (o NodeTemplateLinodeConfigPtrOutput) SwapSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for secrets in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) Secrets() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.SwapSize + return v.Secrets }).(pulumi.StringPtrOutput) } -// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) -func (o NodeTemplateLinodeConfigPtrOutput) Tags() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +func (o NamespaceResourceQuotaLimitPtrOutput) Services() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.Tags + return v.Services }).(pulumi.StringPtrOutput) } -// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateLinodeConfigPtrOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for services load balancers in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.Token + return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) } -// Prefix the User-Agent in Linode API calls with some 'product/version' (string) -func (o NodeTemplateLinodeConfigPtrOutput) UaPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { +// Limit for services node ports in namespace (string) +func (o NamespaceResourceQuotaLimitPtrOutput) ServicesNodePorts() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NamespaceResourceQuotaLimit) *string { if v == nil { return nil } - return v.UaPrefix + return v.ServicesNodePorts }).(pulumi.StringPtrOutput) } -type NodeTemplateNodeTaint struct { +type NodePoolNodeTaint struct { // Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) Effect *string `pulumi:"effect"` // Taint key (string) @@ -54160,18 +54166,18 @@ type NodeTemplateNodeTaint struct { Value string `pulumi:"value"` } -// NodeTemplateNodeTaintInput is an input type that accepts NodeTemplateNodeTaintArgs and NodeTemplateNodeTaintOutput values. -// You can construct a concrete instance of `NodeTemplateNodeTaintInput` via: +// NodePoolNodeTaintInput is an input type that accepts NodePoolNodeTaintArgs and NodePoolNodeTaintOutput values. +// You can construct a concrete instance of `NodePoolNodeTaintInput` via: // -// NodeTemplateNodeTaintArgs{...} -type NodeTemplateNodeTaintInput interface { +// NodePoolNodeTaintArgs{...} +type NodePoolNodeTaintInput interface { pulumi.Input - ToNodeTemplateNodeTaintOutput() NodeTemplateNodeTaintOutput - ToNodeTemplateNodeTaintOutputWithContext(context.Context) NodeTemplateNodeTaintOutput + ToNodePoolNodeTaintOutput() NodePoolNodeTaintOutput + ToNodePoolNodeTaintOutputWithContext(context.Context) NodePoolNodeTaintOutput } -type NodeTemplateNodeTaintArgs struct { +type NodePoolNodeTaintArgs struct { // Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) Effect pulumi.StringPtrInput `pulumi:"effect"` // Taint key (string) @@ -54182,519 +54188,789 @@ type NodeTemplateNodeTaintArgs struct { Value pulumi.StringInput `pulumi:"value"` } -func (NodeTemplateNodeTaintArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateNodeTaint)(nil)).Elem() +func (NodePoolNodeTaintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodePoolNodeTaint)(nil)).Elem() } -func (i NodeTemplateNodeTaintArgs) ToNodeTemplateNodeTaintOutput() NodeTemplateNodeTaintOutput { - return i.ToNodeTemplateNodeTaintOutputWithContext(context.Background()) +func (i NodePoolNodeTaintArgs) ToNodePoolNodeTaintOutput() NodePoolNodeTaintOutput { + return i.ToNodePoolNodeTaintOutputWithContext(context.Background()) } -func (i NodeTemplateNodeTaintArgs) ToNodeTemplateNodeTaintOutputWithContext(ctx context.Context) NodeTemplateNodeTaintOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateNodeTaintOutput) +func (i NodePoolNodeTaintArgs) ToNodePoolNodeTaintOutputWithContext(ctx context.Context) NodePoolNodeTaintOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodePoolNodeTaintOutput) } -// NodeTemplateNodeTaintArrayInput is an input type that accepts NodeTemplateNodeTaintArray and NodeTemplateNodeTaintArrayOutput values. -// You can construct a concrete instance of `NodeTemplateNodeTaintArrayInput` via: +// NodePoolNodeTaintArrayInput is an input type that accepts NodePoolNodeTaintArray and NodePoolNodeTaintArrayOutput values. +// You can construct a concrete instance of `NodePoolNodeTaintArrayInput` via: // -// NodeTemplateNodeTaintArray{ NodeTemplateNodeTaintArgs{...} } -type NodeTemplateNodeTaintArrayInput interface { +// NodePoolNodeTaintArray{ NodePoolNodeTaintArgs{...} } +type NodePoolNodeTaintArrayInput interface { pulumi.Input - ToNodeTemplateNodeTaintArrayOutput() NodeTemplateNodeTaintArrayOutput - ToNodeTemplateNodeTaintArrayOutputWithContext(context.Context) NodeTemplateNodeTaintArrayOutput + ToNodePoolNodeTaintArrayOutput() NodePoolNodeTaintArrayOutput + ToNodePoolNodeTaintArrayOutputWithContext(context.Context) NodePoolNodeTaintArrayOutput } -type NodeTemplateNodeTaintArray []NodeTemplateNodeTaintInput +type NodePoolNodeTaintArray []NodePoolNodeTaintInput -func (NodeTemplateNodeTaintArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]NodeTemplateNodeTaint)(nil)).Elem() +func (NodePoolNodeTaintArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NodePoolNodeTaint)(nil)).Elem() } -func (i NodeTemplateNodeTaintArray) ToNodeTemplateNodeTaintArrayOutput() NodeTemplateNodeTaintArrayOutput { - return i.ToNodeTemplateNodeTaintArrayOutputWithContext(context.Background()) +func (i NodePoolNodeTaintArray) ToNodePoolNodeTaintArrayOutput() NodePoolNodeTaintArrayOutput { + return i.ToNodePoolNodeTaintArrayOutputWithContext(context.Background()) } -func (i NodeTemplateNodeTaintArray) ToNodeTemplateNodeTaintArrayOutputWithContext(ctx context.Context) NodeTemplateNodeTaintArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateNodeTaintArrayOutput) +func (i NodePoolNodeTaintArray) ToNodePoolNodeTaintArrayOutputWithContext(ctx context.Context) NodePoolNodeTaintArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodePoolNodeTaintArrayOutput) } -type NodeTemplateNodeTaintOutput struct{ *pulumi.OutputState } +type NodePoolNodeTaintOutput struct{ *pulumi.OutputState } -func (NodeTemplateNodeTaintOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateNodeTaint)(nil)).Elem() +func (NodePoolNodeTaintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodePoolNodeTaint)(nil)).Elem() } -func (o NodeTemplateNodeTaintOutput) ToNodeTemplateNodeTaintOutput() NodeTemplateNodeTaintOutput { +func (o NodePoolNodeTaintOutput) ToNodePoolNodeTaintOutput() NodePoolNodeTaintOutput { return o } -func (o NodeTemplateNodeTaintOutput) ToNodeTemplateNodeTaintOutputWithContext(ctx context.Context) NodeTemplateNodeTaintOutput { +func (o NodePoolNodeTaintOutput) ToNodePoolNodeTaintOutputWithContext(ctx context.Context) NodePoolNodeTaintOutput { return o } // Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) -func (o NodeTemplateNodeTaintOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateNodeTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) +func (o NodePoolNodeTaintOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodePoolNodeTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) } // Taint key (string) -func (o NodeTemplateNodeTaintOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateNodeTaint) string { return v.Key }).(pulumi.StringOutput) +func (o NodePoolNodeTaintOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v NodePoolNodeTaint) string { return v.Key }).(pulumi.StringOutput) } // Taint time added (string) -func (o NodeTemplateNodeTaintOutput) TimeAdded() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateNodeTaint) *string { return v.TimeAdded }).(pulumi.StringPtrOutput) +func (o NodePoolNodeTaintOutput) TimeAdded() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodePoolNodeTaint) *string { return v.TimeAdded }).(pulumi.StringPtrOutput) } // Taint value (string) -func (o NodeTemplateNodeTaintOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateNodeTaint) string { return v.Value }).(pulumi.StringOutput) +func (o NodePoolNodeTaintOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v NodePoolNodeTaint) string { return v.Value }).(pulumi.StringOutput) } -type NodeTemplateNodeTaintArrayOutput struct{ *pulumi.OutputState } +type NodePoolNodeTaintArrayOutput struct{ *pulumi.OutputState } -func (NodeTemplateNodeTaintArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]NodeTemplateNodeTaint)(nil)).Elem() +func (NodePoolNodeTaintArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NodePoolNodeTaint)(nil)).Elem() } -func (o NodeTemplateNodeTaintArrayOutput) ToNodeTemplateNodeTaintArrayOutput() NodeTemplateNodeTaintArrayOutput { +func (o NodePoolNodeTaintArrayOutput) ToNodePoolNodeTaintArrayOutput() NodePoolNodeTaintArrayOutput { return o } -func (o NodeTemplateNodeTaintArrayOutput) ToNodeTemplateNodeTaintArrayOutputWithContext(ctx context.Context) NodeTemplateNodeTaintArrayOutput { +func (o NodePoolNodeTaintArrayOutput) ToNodePoolNodeTaintArrayOutputWithContext(ctx context.Context) NodePoolNodeTaintArrayOutput { return o } -func (o NodeTemplateNodeTaintArrayOutput) Index(i pulumi.IntInput) NodeTemplateNodeTaintOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeTemplateNodeTaint { - return vs[0].([]NodeTemplateNodeTaint)[vs[1].(int)] - }).(NodeTemplateNodeTaintOutput) +func (o NodePoolNodeTaintArrayOutput) Index(i pulumi.IntInput) NodePoolNodeTaintOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodePoolNodeTaint { + return vs[0].([]NodePoolNodeTaint)[vs[1].(int)] + }).(NodePoolNodeTaintOutput) } -type NodeTemplateOpennebulaConfig struct { - // Size of the Volatile disk in MB - only for b2d (string) - B2dSize *string `pulumi:"b2dSize"` - // CPU value for the VM (string) - Cpu *string `pulumi:"cpu"` - // Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string) - DevPrefix *string `pulumi:"devPrefix"` - // VNC is enabled by default. Disable it with this flag (bool) - DisableVnc *bool `pulumi:"disableVnc"` - // Size of the disk for the VM in MB (string) - DiskResize *string `pulumi:"diskResize"` - // OpenStack image id to use for the instance. Conflicts with `imageName` (string) - ImageId *string `pulumi:"imageId"` - // OpenStack image name to use for the instance. Conflicts with `imageId` (string) - ImageName *string `pulumi:"imageName"` - // Owner of the image to use as the VM OS (string) - ImageOwner *string `pulumi:"imageOwner"` - // Size of the memory for the VM in MB (string) - Memory *string `pulumi:"memory"` - // Opennebula network ID to connect the machine to. Conflicts with `networkName` (string) - NetworkId *string `pulumi:"networkId"` - // Opennebula network to connect the machine to. Conflicts with `networkId` (string) - NetworkName *string `pulumi:"networkName"` - // Opennebula user ID of the Network to connect the machine to (string) - NetworkOwner *string `pulumi:"networkOwner"` - // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Password string `pulumi:"password"` +type NodeTemplateAmazonec2Config struct { + // Outscale Access Key (string) + AccessKey *string `pulumi:"accessKey"` + // AWS machine image (string) + Ami string `pulumi:"ami"` + // AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) + BlockDurationMinutes *string `pulumi:"blockDurationMinutes"` + // AWS root device name. Default `/dev/sda1` (string) + DeviceName *string `pulumi:"deviceName"` + // Encrypt EBS volume. Default `false` (bool) + EncryptEbsVolume *bool `pulumi:"encryptEbsVolume"` + // Optional endpoint URL (hostname only or fully qualified URI) (string) + Endpoint *string `pulumi:"endpoint"` + // Enables or disables the HTTP metadata endpoint on your instances (string) + HttpEndpoint *string `pulumi:"httpEndpoint"` + // The state of token usage for your instance metadata requests (string) + HttpTokens *string `pulumi:"httpTokens"` + // AWS IAM Instance Profile (string) + IamInstanceProfile *string `pulumi:"iamInstanceProfile"` + // Disable SSL when sending requests (bool) + 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) + Monitoring *bool `pulumi:"monitoring"` + // Make the specified port number accessible from the Internet. (list) + OpenPorts []string `pulumi:"openPorts"` + // Only use a private IP address. Default `false` (bool) + PrivateAddressOnly *bool `pulumi:"privateAddressOnly"` + // AWS region. Default `eu-west-2` (string) + Region string `pulumi:"region"` + // Set this flag to request spot instance. Default `false` (bool) + RequestSpotInstance *bool `pulumi:"requestSpotInstance"` + // Set retry count for recoverable failures (use -1 to disable). Default `5` (string) + Retries *string `pulumi:"retries"` + // AWS root disk size (in GB). Default `16` (string) + RootSize *string `pulumi:"rootSize"` + // Outscale Secret Key (string) + SecretKey *string `pulumi:"secretKey"` + // Skip adding default rules to security groups (bool) + SecurityGroupReadonly *bool `pulumi:"securityGroupReadonly"` + // AWS VPC security group. (list) + SecurityGroups []string `pulumi:"securityGroups"` + // AWS Session Token (string) + SessionToken *string `pulumi:"sessionToken"` + // AWS spot instance bid price (in dollar). Default `0.50` (string) + SpotPrice *string `pulumi:"spotPrice"` + SshKeypath *string `pulumi:"sshKeypath"` // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) SshUser *string `pulumi:"sshUser"` - // Opennebula template ID to use. Conflicts with `templateName` (string) - TemplateId *string `pulumi:"templateId"` - // Name of the Opennbula template to use. Conflicts with `templateId` (string) - TemplateName *string `pulumi:"templateName"` - // Set the user for the XML-RPC API authentication (string) - User string `pulumi:"user"` - // VCPUs for the VM (string) - Vcpu *string `pulumi:"vcpu"` - // Set the url for the Opennebula XML-RPC API (string) - XmlRpcUrl string `pulumi:"xmlRpcUrl"` + // AWS VPC subnet id (string) + SubnetId string `pulumi:"subnetId"` + // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) + Tags *string `pulumi:"tags"` + // Create an EBS optimized instance. Default `false` (bool) + UseEbsOptimizedInstance *bool `pulumi:"useEbsOptimizedInstance"` + // Force the usage of private IP address. Default `false` (bool) + UsePrivateAddress *bool `pulumi:"usePrivateAddress"` + // Path to file with cloud-init user-data (string) + Userdata *string `pulumi:"userdata"` + // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) + VolumeType *string `pulumi:"volumeType"` + // AWS VPC id. (string) + VpcId string `pulumi:"vpcId"` + // AWS zone for instance (i.e. a,b,c,d,e) (string) + Zone string `pulumi:"zone"` } -// NodeTemplateOpennebulaConfigInput is an input type that accepts NodeTemplateOpennebulaConfigArgs and NodeTemplateOpennebulaConfigOutput values. -// You can construct a concrete instance of `NodeTemplateOpennebulaConfigInput` via: +// NodeTemplateAmazonec2ConfigInput is an input type that accepts NodeTemplateAmazonec2ConfigArgs and NodeTemplateAmazonec2ConfigOutput values. +// You can construct a concrete instance of `NodeTemplateAmazonec2ConfigInput` via: // -// NodeTemplateOpennebulaConfigArgs{...} -type NodeTemplateOpennebulaConfigInput interface { +// NodeTemplateAmazonec2ConfigArgs{...} +type NodeTemplateAmazonec2ConfigInput interface { pulumi.Input - ToNodeTemplateOpennebulaConfigOutput() NodeTemplateOpennebulaConfigOutput - ToNodeTemplateOpennebulaConfigOutputWithContext(context.Context) NodeTemplateOpennebulaConfigOutput + ToNodeTemplateAmazonec2ConfigOutput() NodeTemplateAmazonec2ConfigOutput + ToNodeTemplateAmazonec2ConfigOutputWithContext(context.Context) NodeTemplateAmazonec2ConfigOutput } -type NodeTemplateOpennebulaConfigArgs struct { - // Size of the Volatile disk in MB - only for b2d (string) - B2dSize pulumi.StringPtrInput `pulumi:"b2dSize"` - // CPU value for the VM (string) - Cpu pulumi.StringPtrInput `pulumi:"cpu"` - // Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string) - DevPrefix pulumi.StringPtrInput `pulumi:"devPrefix"` - // VNC is enabled by default. Disable it with this flag (bool) - DisableVnc pulumi.BoolPtrInput `pulumi:"disableVnc"` - // Size of the disk for the VM in MB (string) - DiskResize pulumi.StringPtrInput `pulumi:"diskResize"` - // OpenStack image id to use for the instance. Conflicts with `imageName` (string) - ImageId pulumi.StringPtrInput `pulumi:"imageId"` - // OpenStack image name to use for the instance. Conflicts with `imageId` (string) - ImageName pulumi.StringPtrInput `pulumi:"imageName"` - // Owner of the image to use as the VM OS (string) - ImageOwner pulumi.StringPtrInput `pulumi:"imageOwner"` - // Size of the memory for the VM in MB (string) - Memory pulumi.StringPtrInput `pulumi:"memory"` - // Opennebula network ID to connect the machine to. Conflicts with `networkName` (string) - NetworkId pulumi.StringPtrInput `pulumi:"networkId"` - // Opennebula network to connect the machine to. Conflicts with `networkId` (string) - NetworkName pulumi.StringPtrInput `pulumi:"networkName"` - // Opennebula user ID of the Network to connect the machine to (string) - NetworkOwner pulumi.StringPtrInput `pulumi:"networkOwner"` - // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Password pulumi.StringInput `pulumi:"password"` +type NodeTemplateAmazonec2ConfigArgs struct { + // Outscale Access Key (string) + AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` + // AWS machine image (string) + Ami pulumi.StringInput `pulumi:"ami"` + // AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) + BlockDurationMinutes pulumi.StringPtrInput `pulumi:"blockDurationMinutes"` + // AWS root device name. Default `/dev/sda1` (string) + DeviceName pulumi.StringPtrInput `pulumi:"deviceName"` + // Encrypt EBS volume. Default `false` (bool) + EncryptEbsVolume pulumi.BoolPtrInput `pulumi:"encryptEbsVolume"` + // Optional endpoint URL (hostname only or fully qualified URI) (string) + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + // Enables or disables the HTTP metadata endpoint on your instances (string) + HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` + // The state of token usage for your instance metadata requests (string) + HttpTokens pulumi.StringPtrInput `pulumi:"httpTokens"` + // AWS IAM Instance Profile (string) + IamInstanceProfile pulumi.StringPtrInput `pulumi:"iamInstanceProfile"` + // Disable SSL when sending requests (bool) + 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) + Monitoring pulumi.BoolPtrInput `pulumi:"monitoring"` + // Make the specified port number accessible from the Internet. (list) + OpenPorts pulumi.StringArrayInput `pulumi:"openPorts"` + // Only use a private IP address. Default `false` (bool) + PrivateAddressOnly pulumi.BoolPtrInput `pulumi:"privateAddressOnly"` + // AWS region. Default `eu-west-2` (string) + Region pulumi.StringInput `pulumi:"region"` + // Set this flag to request spot instance. Default `false` (bool) + RequestSpotInstance pulumi.BoolPtrInput `pulumi:"requestSpotInstance"` + // Set retry count for recoverable failures (use -1 to disable). Default `5` (string) + Retries pulumi.StringPtrInput `pulumi:"retries"` + // AWS root disk size (in GB). Default `16` (string) + RootSize pulumi.StringPtrInput `pulumi:"rootSize"` + // Outscale Secret Key (string) + SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` + // Skip adding default rules to security groups (bool) + SecurityGroupReadonly pulumi.BoolPtrInput `pulumi:"securityGroupReadonly"` + // AWS VPC security group. (list) + SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` + // AWS Session Token (string) + SessionToken pulumi.StringPtrInput `pulumi:"sessionToken"` + // AWS spot instance bid price (in dollar). Default `0.50` (string) + SpotPrice pulumi.StringPtrInput `pulumi:"spotPrice"` + SshKeypath pulumi.StringPtrInput `pulumi:"sshKeypath"` // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // Opennebula template ID to use. Conflicts with `templateName` (string) - TemplateId pulumi.StringPtrInput `pulumi:"templateId"` - // Name of the Opennbula template to use. Conflicts with `templateId` (string) - TemplateName pulumi.StringPtrInput `pulumi:"templateName"` - // Set the user for the XML-RPC API authentication (string) - User pulumi.StringInput `pulumi:"user"` - // VCPUs for the VM (string) - Vcpu pulumi.StringPtrInput `pulumi:"vcpu"` - // Set the url for the Opennebula XML-RPC API (string) - XmlRpcUrl pulumi.StringInput `pulumi:"xmlRpcUrl"` + // AWS VPC subnet id (string) + SubnetId pulumi.StringInput `pulumi:"subnetId"` + // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) + Tags pulumi.StringPtrInput `pulumi:"tags"` + // Create an EBS optimized instance. Default `false` (bool) + UseEbsOptimizedInstance pulumi.BoolPtrInput `pulumi:"useEbsOptimizedInstance"` + // Force the usage of private IP address. Default `false` (bool) + UsePrivateAddress pulumi.BoolPtrInput `pulumi:"usePrivateAddress"` + // Path to file with cloud-init user-data (string) + Userdata pulumi.StringPtrInput `pulumi:"userdata"` + // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) + VolumeType pulumi.StringPtrInput `pulumi:"volumeType"` + // AWS VPC id. (string) + VpcId pulumi.StringInput `pulumi:"vpcId"` + // AWS zone for instance (i.e. a,b,c,d,e) (string) + Zone pulumi.StringInput `pulumi:"zone"` +} + +func (NodeTemplateAmazonec2ConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateAmazonec2Config)(nil)).Elem() +} + +func (i NodeTemplateAmazonec2ConfigArgs) ToNodeTemplateAmazonec2ConfigOutput() NodeTemplateAmazonec2ConfigOutput { + return i.ToNodeTemplateAmazonec2ConfigOutputWithContext(context.Background()) +} + +func (i NodeTemplateAmazonec2ConfigArgs) ToNodeTemplateAmazonec2ConfigOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAmazonec2ConfigOutput) +} + +func (i NodeTemplateAmazonec2ConfigArgs) ToNodeTemplateAmazonec2ConfigPtrOutput() NodeTemplateAmazonec2ConfigPtrOutput { + return i.ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(context.Background()) +} + +func (i NodeTemplateAmazonec2ConfigArgs) ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAmazonec2ConfigOutput).ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(ctx) +} + +// NodeTemplateAmazonec2ConfigPtrInput is an input type that accepts NodeTemplateAmazonec2ConfigArgs, NodeTemplateAmazonec2ConfigPtr and NodeTemplateAmazonec2ConfigPtrOutput values. +// You can construct a concrete instance of `NodeTemplateAmazonec2ConfigPtrInput` via: +// +// NodeTemplateAmazonec2ConfigArgs{...} +// +// or: +// +// nil +type NodeTemplateAmazonec2ConfigPtrInput interface { + pulumi.Input + + ToNodeTemplateAmazonec2ConfigPtrOutput() NodeTemplateAmazonec2ConfigPtrOutput + ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(context.Context) NodeTemplateAmazonec2ConfigPtrOutput +} + +type nodeTemplateAmazonec2ConfigPtrType NodeTemplateAmazonec2ConfigArgs + +func NodeTemplateAmazonec2ConfigPtr(v *NodeTemplateAmazonec2ConfigArgs) NodeTemplateAmazonec2ConfigPtrInput { + return (*nodeTemplateAmazonec2ConfigPtrType)(v) } -func (NodeTemplateOpennebulaConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateOpennebulaConfig)(nil)).Elem() +func (*nodeTemplateAmazonec2ConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateAmazonec2Config)(nil)).Elem() } -func (i NodeTemplateOpennebulaConfigArgs) ToNodeTemplateOpennebulaConfigOutput() NodeTemplateOpennebulaConfigOutput { - return i.ToNodeTemplateOpennebulaConfigOutputWithContext(context.Background()) +func (i *nodeTemplateAmazonec2ConfigPtrType) ToNodeTemplateAmazonec2ConfigPtrOutput() NodeTemplateAmazonec2ConfigPtrOutput { + return i.ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(context.Background()) } -func (i NodeTemplateOpennebulaConfigArgs) ToNodeTemplateOpennebulaConfigOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpennebulaConfigOutput) +func (i *nodeTemplateAmazonec2ConfigPtrType) ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAmazonec2ConfigPtrOutput) } -func (i NodeTemplateOpennebulaConfigArgs) ToNodeTemplateOpennebulaConfigPtrOutput() NodeTemplateOpennebulaConfigPtrOutput { - return i.ToNodeTemplateOpennebulaConfigPtrOutputWithContext(context.Background()) +type NodeTemplateAmazonec2ConfigOutput struct{ *pulumi.OutputState } + +func (NodeTemplateAmazonec2ConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateAmazonec2Config)(nil)).Elem() } -func (i NodeTemplateOpennebulaConfigArgs) ToNodeTemplateOpennebulaConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpennebulaConfigOutput).ToNodeTemplateOpennebulaConfigPtrOutputWithContext(ctx) +func (o NodeTemplateAmazonec2ConfigOutput) ToNodeTemplateAmazonec2ConfigOutput() NodeTemplateAmazonec2ConfigOutput { + return o } -// NodeTemplateOpennebulaConfigPtrInput is an input type that accepts NodeTemplateOpennebulaConfigArgs, NodeTemplateOpennebulaConfigPtr and NodeTemplateOpennebulaConfigPtrOutput values. -// You can construct a concrete instance of `NodeTemplateOpennebulaConfigPtrInput` via: -// -// NodeTemplateOpennebulaConfigArgs{...} -// -// or: -// -// nil -type NodeTemplateOpennebulaConfigPtrInput interface { - pulumi.Input +func (o NodeTemplateAmazonec2ConfigOutput) ToNodeTemplateAmazonec2ConfigOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigOutput { + return o +} - ToNodeTemplateOpennebulaConfigPtrOutput() NodeTemplateOpennebulaConfigPtrOutput - ToNodeTemplateOpennebulaConfigPtrOutputWithContext(context.Context) NodeTemplateOpennebulaConfigPtrOutput +func (o NodeTemplateAmazonec2ConfigOutput) ToNodeTemplateAmazonec2ConfigPtrOutput() NodeTemplateAmazonec2ConfigPtrOutput { + return o.ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(context.Background()) } -type nodeTemplateOpennebulaConfigPtrType NodeTemplateOpennebulaConfigArgs +func (o NodeTemplateAmazonec2ConfigOutput) ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateAmazonec2Config) *NodeTemplateAmazonec2Config { + return &v + }).(NodeTemplateAmazonec2ConfigPtrOutput) +} -func NodeTemplateOpennebulaConfigPtr(v *NodeTemplateOpennebulaConfigArgs) NodeTemplateOpennebulaConfigPtrInput { - return (*nodeTemplateOpennebulaConfigPtrType)(v) +// Outscale Access Key (string) +func (o NodeTemplateAmazonec2ConfigOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.AccessKey }).(pulumi.StringPtrOutput) } -func (*nodeTemplateOpennebulaConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateOpennebulaConfig)(nil)).Elem() +// AWS machine image (string) +func (o NodeTemplateAmazonec2ConfigOutput) Ami() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) string { return v.Ami }).(pulumi.StringOutput) } -func (i *nodeTemplateOpennebulaConfigPtrType) ToNodeTemplateOpennebulaConfigPtrOutput() NodeTemplateOpennebulaConfigPtrOutput { - return i.ToNodeTemplateOpennebulaConfigPtrOutputWithContext(context.Background()) +// AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) +func (o NodeTemplateAmazonec2ConfigOutput) BlockDurationMinutes() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.BlockDurationMinutes }).(pulumi.StringPtrOutput) } -func (i *nodeTemplateOpennebulaConfigPtrType) ToNodeTemplateOpennebulaConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpennebulaConfigPtrOutput) +// AWS root device name. Default `/dev/sda1` (string) +func (o NodeTemplateAmazonec2ConfigOutput) DeviceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.DeviceName }).(pulumi.StringPtrOutput) } -type NodeTemplateOpennebulaConfigOutput struct{ *pulumi.OutputState } +// Encrypt EBS volume. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigOutput) EncryptEbsVolume() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.EncryptEbsVolume }).(pulumi.BoolPtrOutput) +} -func (NodeTemplateOpennebulaConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateOpennebulaConfig)(nil)).Elem() +// Optional endpoint URL (hostname only or fully qualified URI) (string) +func (o NodeTemplateAmazonec2ConfigOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.Endpoint }).(pulumi.StringPtrOutput) } -func (o NodeTemplateOpennebulaConfigOutput) ToNodeTemplateOpennebulaConfigOutput() NodeTemplateOpennebulaConfigOutput { - return o +// Enables or disables the HTTP metadata endpoint on your instances (string) +func (o NodeTemplateAmazonec2ConfigOutput) HttpEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.HttpEndpoint }).(pulumi.StringPtrOutput) } -func (o NodeTemplateOpennebulaConfigOutput) ToNodeTemplateOpennebulaConfigOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigOutput { - return o +// The state of token usage for your instance metadata requests (string) +func (o NodeTemplateAmazonec2ConfigOutput) HttpTokens() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.HttpTokens }).(pulumi.StringPtrOutput) } -func (o NodeTemplateOpennebulaConfigOutput) ToNodeTemplateOpennebulaConfigPtrOutput() NodeTemplateOpennebulaConfigPtrOutput { - return o.ToNodeTemplateOpennebulaConfigPtrOutputWithContext(context.Background()) +// AWS IAM Instance Profile (string) +func (o NodeTemplateAmazonec2ConfigOutput) IamInstanceProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.IamInstanceProfile }).(pulumi.StringPtrOutput) } -func (o NodeTemplateOpennebulaConfigOutput) ToNodeTemplateOpennebulaConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateOpennebulaConfig) *NodeTemplateOpennebulaConfig { - return &v - }).(NodeTemplateOpennebulaConfigPtrOutput) +// Disable SSL when sending requests (bool) +func (o NodeTemplateAmazonec2ConfigOutput) InsecureTransport() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.InsecureTransport }).(pulumi.BoolPtrOutput) } -// Size of the Volatile disk in MB - only for b2d (string) -func (o NodeTemplateOpennebulaConfigOutput) B2dSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.B2dSize }).(pulumi.StringPtrOutput) +// Outscale VM type. Default `tinav2.c1r2p3` (string) +func (o NodeTemplateAmazonec2ConfigOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.InstanceType }).(pulumi.StringPtrOutput) } -// CPU value for the VM (string) -func (o NodeTemplateOpennebulaConfigOutput) Cpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.Cpu }).(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) } -// Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string) -func (o NodeTemplateOpennebulaConfigOutput) DevPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.DevPrefix }).(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) } -// VNC is enabled by default. Disable it with this flag (bool) -func (o NodeTemplateOpennebulaConfigOutput) DisableVnc() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *bool { return v.DisableVnc }).(pulumi.BoolPtrOutput) +// Enable monitoring for droplet. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigOutput) Monitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.Monitoring }).(pulumi.BoolPtrOutput) } -// Size of the disk for the VM in MB (string) -func (o NodeTemplateOpennebulaConfigOutput) DiskResize() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.DiskResize }).(pulumi.StringPtrOutput) +// Make the specified port number accessible from the Internet. (list) +func (o NodeTemplateAmazonec2ConfigOutput) OpenPorts() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) []string { return v.OpenPorts }).(pulumi.StringArrayOutput) } -// OpenStack image id to use for the instance. Conflicts with `imageName` (string) -func (o NodeTemplateOpennebulaConfigOutput) ImageId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.ImageId }).(pulumi.StringPtrOutput) +// Only use a private IP address. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigOutput) PrivateAddressOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.PrivateAddressOnly }).(pulumi.BoolPtrOutput) } -// OpenStack image name to use for the instance. Conflicts with `imageId` (string) -func (o NodeTemplateOpennebulaConfigOutput) ImageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.ImageName }).(pulumi.StringPtrOutput) +// AWS region. Default `eu-west-2` (string) +func (o NodeTemplateAmazonec2ConfigOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) string { return v.Region }).(pulumi.StringOutput) } -// Owner of the image to use as the VM OS (string) -func (o NodeTemplateOpennebulaConfigOutput) ImageOwner() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.ImageOwner }).(pulumi.StringPtrOutput) +// Set this flag to request spot instance. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigOutput) RequestSpotInstance() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.RequestSpotInstance }).(pulumi.BoolPtrOutput) } -// Size of the memory for the VM in MB (string) -func (o NodeTemplateOpennebulaConfigOutput) Memory() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.Memory }).(pulumi.StringPtrOutput) +// Set retry count for recoverable failures (use -1 to disable). Default `5` (string) +func (o NodeTemplateAmazonec2ConfigOutput) Retries() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.Retries }).(pulumi.StringPtrOutput) } -// Opennebula network ID to connect the machine to. Conflicts with `networkName` (string) -func (o NodeTemplateOpennebulaConfigOutput) NetworkId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.NetworkId }).(pulumi.StringPtrOutput) +// AWS root disk size (in GB). Default `16` (string) +func (o NodeTemplateAmazonec2ConfigOutput) RootSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.RootSize }).(pulumi.StringPtrOutput) } -// Opennebula network to connect the machine to. Conflicts with `networkId` (string) -func (o NodeTemplateOpennebulaConfigOutput) NetworkName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.NetworkName }).(pulumi.StringPtrOutput) +// Outscale Secret Key (string) +func (o NodeTemplateAmazonec2ConfigOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.SecretKey }).(pulumi.StringPtrOutput) } -// Opennebula user ID of the Network to connect the machine to (string) -func (o NodeTemplateOpennebulaConfigOutput) NetworkOwner() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.NetworkOwner }).(pulumi.StringPtrOutput) +// Skip adding default rules to security groups (bool) +func (o NodeTemplateAmazonec2ConfigOutput) SecurityGroupReadonly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.SecurityGroupReadonly }).(pulumi.BoolPtrOutput) } -// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateOpennebulaConfigOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) string { return v.Password }).(pulumi.StringOutput) +// AWS VPC security group. (list) +func (o NodeTemplateAmazonec2ConfigOutput) SecurityGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) +} + +// AWS Session Token (string) +func (o NodeTemplateAmazonec2ConfigOutput) SessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.SessionToken }).(pulumi.StringPtrOutput) +} + +// AWS spot instance bid price (in dollar). Default `0.50` (string) +func (o NodeTemplateAmazonec2ConfigOutput) SpotPrice() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.SpotPrice }).(pulumi.StringPtrOutput) +} + +func (o NodeTemplateAmazonec2ConfigOutput) SshKeypath() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.SshKeypath }).(pulumi.StringPtrOutput) } // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateOpennebulaConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +func (o NodeTemplateAmazonec2ConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.SshUser }).(pulumi.StringPtrOutput) } -// Opennebula template ID to use. Conflicts with `templateName` (string) -func (o NodeTemplateOpennebulaConfigOutput) TemplateId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.TemplateId }).(pulumi.StringPtrOutput) +// AWS VPC subnet id (string) +func (o NodeTemplateAmazonec2ConfigOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) string { return v.SubnetId }).(pulumi.StringOutput) } -// Name of the Opennbula template to use. Conflicts with `templateId` (string) -func (o NodeTemplateOpennebulaConfigOutput) TemplateName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.TemplateName }).(pulumi.StringPtrOutput) +// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) +func (o NodeTemplateAmazonec2ConfigOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.Tags }).(pulumi.StringPtrOutput) } -// Set the user for the XML-RPC API authentication (string) -func (o NodeTemplateOpennebulaConfigOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) string { return v.User }).(pulumi.StringOutput) +// Create an EBS optimized instance. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigOutput) UseEbsOptimizedInstance() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.UseEbsOptimizedInstance }).(pulumi.BoolPtrOutput) } -// VCPUs for the VM (string) -func (o NodeTemplateOpennebulaConfigOutput) Vcpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.Vcpu }).(pulumi.StringPtrOutput) +// Force the usage of private IP address. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigOutput) UsePrivateAddress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *bool { return v.UsePrivateAddress }).(pulumi.BoolPtrOutput) } -// Set the url for the Opennebula XML-RPC API (string) -func (o NodeTemplateOpennebulaConfigOutput) XmlRpcUrl() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateOpennebulaConfig) string { return v.XmlRpcUrl }).(pulumi.StringOutput) +// Path to file with cloud-init user-data (string) +func (o NodeTemplateAmazonec2ConfigOutput) Userdata() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.Userdata }).(pulumi.StringPtrOutput) } -type NodeTemplateOpennebulaConfigPtrOutput struct{ *pulumi.OutputState } +// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) +func (o NodeTemplateAmazonec2ConfigOutput) VolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) *string { return v.VolumeType }).(pulumi.StringPtrOutput) +} -func (NodeTemplateOpennebulaConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateOpennebulaConfig)(nil)).Elem() +// AWS VPC id. (string) +func (o NodeTemplateAmazonec2ConfigOutput) VpcId() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) string { return v.VpcId }).(pulumi.StringOutput) } -func (o NodeTemplateOpennebulaConfigPtrOutput) ToNodeTemplateOpennebulaConfigPtrOutput() NodeTemplateOpennebulaConfigPtrOutput { +// AWS zone for instance (i.e. a,b,c,d,e) (string) +func (o NodeTemplateAmazonec2ConfigOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateAmazonec2Config) string { return v.Zone }).(pulumi.StringOutput) +} + +type NodeTemplateAmazonec2ConfigPtrOutput struct{ *pulumi.OutputState } + +func (NodeTemplateAmazonec2ConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateAmazonec2Config)(nil)).Elem() +} + +func (o NodeTemplateAmazonec2ConfigPtrOutput) ToNodeTemplateAmazonec2ConfigPtrOutput() NodeTemplateAmazonec2ConfigPtrOutput { return o } -func (o NodeTemplateOpennebulaConfigPtrOutput) ToNodeTemplateOpennebulaConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigPtrOutput { +func (o NodeTemplateAmazonec2ConfigPtrOutput) ToNodeTemplateAmazonec2ConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAmazonec2ConfigPtrOutput { return o } -func (o NodeTemplateOpennebulaConfigPtrOutput) Elem() NodeTemplateOpennebulaConfigOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) NodeTemplateOpennebulaConfig { +func (o NodeTemplateAmazonec2ConfigPtrOutput) Elem() NodeTemplateAmazonec2ConfigOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) NodeTemplateAmazonec2Config { if v != nil { return *v } - var ret NodeTemplateOpennebulaConfig + var ret NodeTemplateAmazonec2Config return ret - }).(NodeTemplateOpennebulaConfigOutput) + }).(NodeTemplateAmazonec2ConfigOutput) } -// Size of the Volatile disk in MB - only for b2d (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) B2dSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// Outscale Access Key (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.B2dSize + return v.AccessKey }).(pulumi.StringPtrOutput) } -// CPU value for the VM (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) Cpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// AWS machine image (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) Ami() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.Cpu + return &v.Ami }).(pulumi.StringPtrOutput) } -// Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) DevPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) BlockDurationMinutes() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.DevPrefix + return v.BlockDurationMinutes }).(pulumi.StringPtrOutput) } -// VNC is enabled by default. Disable it with this flag (bool) -func (o NodeTemplateOpennebulaConfigPtrOutput) DisableVnc() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *bool { +// AWS root device name. Default `/dev/sda1` (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) DeviceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.DisableVnc + return v.DeviceName + }).(pulumi.StringPtrOutput) +} + +// Encrypt EBS volume. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigPtrOutput) EncryptEbsVolume() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { + if v == nil { + return nil + } + return v.EncryptEbsVolume }).(pulumi.BoolPtrOutput) } -// Size of the disk for the VM in MB (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) DiskResize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// Optional endpoint URL (hostname only or fully qualified URI) (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.DiskResize + return v.Endpoint }).(pulumi.StringPtrOutput) } -// OpenStack image id to use for the instance. Conflicts with `imageName` (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) ImageId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// Enables or disables the HTTP metadata endpoint on your instances (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) HttpEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.ImageId + return v.HttpEndpoint }).(pulumi.StringPtrOutput) } -// OpenStack image name to use for the instance. Conflicts with `imageId` (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) ImageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// The state of token usage for your instance metadata requests (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) HttpTokens() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.ImageName + return v.HttpTokens }).(pulumi.StringPtrOutput) } -// Owner of the image to use as the VM OS (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) ImageOwner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// AWS IAM Instance Profile (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) IamInstanceProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.ImageOwner + return v.IamInstanceProfile }).(pulumi.StringPtrOutput) } -// Size of the memory for the VM in MB (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) Memory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// Disable SSL when sending requests (bool) +func (o NodeTemplateAmazonec2ConfigPtrOutput) InsecureTransport() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { if v == nil { return nil } - return v.Memory + return v.InsecureTransport + }).(pulumi.BoolPtrOutput) +} + +// Outscale VM type. Default `tinav2.c1r2p3` (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { + if v == nil { + return nil + } + return v.InstanceType }).(pulumi.StringPtrOutput) } -// Opennebula network ID to connect the machine to. Conflicts with `networkName` (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) NetworkId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// 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.NetworkId + return v.KeypairName }).(pulumi.StringPtrOutput) } -// Opennebula network to connect the machine to. Conflicts with `networkId` (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) NetworkName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// Custom KMS key ID using the AWS Managed CMK (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.NetworkName + return v.KmsKey }).(pulumi.StringPtrOutput) } -// Opennebula user ID of the Network to connect the machine to (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) NetworkOwner() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// Enable monitoring for droplet. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigPtrOutput) Monitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { if v == nil { return nil } - return v.NetworkOwner + return v.Monitoring + }).(pulumi.BoolPtrOutput) +} + +// Make the specified port number accessible from the Internet. (list) +func (o NodeTemplateAmazonec2ConfigPtrOutput) OpenPorts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) []string { + if v == nil { + return nil + } + return v.OpenPorts + }).(pulumi.StringArrayOutput) +} + +// Only use a private IP address. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigPtrOutput) PrivateAddressOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { + if v == nil { + return nil + } + return v.PrivateAddressOnly + }).(pulumi.BoolPtrOutput) +} + +// AWS region. Default `eu-west-2` (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { + if v == nil { + return nil + } + return &v.Region }).(pulumi.StringPtrOutput) } -// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// Set this flag to request spot instance. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigPtrOutput) RequestSpotInstance() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { if v == nil { return nil } - return &v.Password + return v.RequestSpotInstance + }).(pulumi.BoolPtrOutput) +} + +// Set retry count for recoverable failures (use -1 to disable). Default `5` (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) Retries() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { + if v == nil { + return nil + } + return v.Retries + }).(pulumi.StringPtrOutput) +} + +// AWS root disk size (in GB). Default `16` (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) RootSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { + if v == nil { + return nil + } + return v.RootSize + }).(pulumi.StringPtrOutput) +} + +// Outscale Secret Key (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { + if v == nil { + return nil + } + return v.SecretKey + }).(pulumi.StringPtrOutput) +} + +// Skip adding default rules to security groups (bool) +func (o NodeTemplateAmazonec2ConfigPtrOutput) SecurityGroupReadonly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { + if v == nil { + return nil + } + return v.SecurityGroupReadonly + }).(pulumi.BoolPtrOutput) +} + +// AWS VPC security group. (list) +func (o NodeTemplateAmazonec2ConfigPtrOutput) SecurityGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) []string { + if v == nil { + return nil + } + return v.SecurityGroups + }).(pulumi.StringArrayOutput) +} + +// AWS Session Token (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) SessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { + if v == nil { + return nil + } + return v.SessionToken + }).(pulumi.StringPtrOutput) +} + +// AWS spot instance bid price (in dollar). Default `0.50` (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) SpotPrice() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { + if v == nil { + return nil + } + return v.SpotPrice + }).(pulumi.StringPtrOutput) +} + +func (o NodeTemplateAmazonec2ConfigPtrOutput) SshKeypath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { + if v == nil { + return nil + } + return v.SshKeypath }).(pulumi.StringPtrOutput) } // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +func (o NodeTemplateAmazonec2ConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } @@ -54702,8377 +54978,8778 @@ func (o NodeTemplateOpennebulaConfigPtrOutput) SshUser() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } -// Opennebula template ID to use. Conflicts with `templateName` (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) TemplateId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// AWS VPC subnet id (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { + if v == nil { + return nil + } + return &v.SubnetId + }).(pulumi.StringPtrOutput) +} + +// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) +func (o NodeTemplateAmazonec2ConfigPtrOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { + if v == nil { + return nil + } + return v.Tags + }).(pulumi.StringPtrOutput) +} + +// Create an EBS optimized instance. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigPtrOutput) UseEbsOptimizedInstance() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { + if v == nil { + return nil + } + return v.UseEbsOptimizedInstance + }).(pulumi.BoolPtrOutput) +} + +// Force the usage of private IP address. Default `false` (bool) +func (o NodeTemplateAmazonec2ConfigPtrOutput) UsePrivateAddress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *bool { if v == nil { return nil } - return v.TemplateId - }).(pulumi.StringPtrOutput) + return v.UsePrivateAddress + }).(pulumi.BoolPtrOutput) } -// Name of the Opennbula template to use. Conflicts with `templateId` (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) TemplateName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// Path to file with cloud-init user-data (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) Userdata() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.TemplateName + return v.Userdata }).(pulumi.StringPtrOutput) } -// Set the user for the XML-RPC API authentication (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) VolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return &v.User + return v.VolumeType }).(pulumi.StringPtrOutput) } -// VCPUs for the VM (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) Vcpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// AWS VPC id. (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) VpcId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return v.Vcpu + return &v.VpcId }).(pulumi.StringPtrOutput) } -// Set the url for the Opennebula XML-RPC API (string) -func (o NodeTemplateOpennebulaConfigPtrOutput) XmlRpcUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { +// AWS zone for instance (i.e. a,b,c,d,e) (string) +func (o NodeTemplateAmazonec2ConfigPtrOutput) Zone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAmazonec2Config) *string { if v == nil { return nil } - return &v.XmlRpcUrl + return &v.Zone }).(pulumi.StringPtrOutput) } -type NodeTemplateOpenstackConfig struct { - // OpenStack active timeout Default `200` (string) - ActiveTimeout *string `pulumi:"activeTimeout"` - // OpenStack application credential id. Conflicts with `applicationCredentialName` (string) - ApplicationCredentialId *string `pulumi:"applicationCredentialId"` - // OpenStack application credential name. Conflicts with `applicationCredentialId` (string) - ApplicationCredentialName *string `pulumi:"applicationCredentialName"` - // OpenStack application credential secret (string) - ApplicationCredentialSecret *string `pulumi:"applicationCredentialSecret"` - // OpenStack authentication URL (string) - AuthUrl string `pulumi:"authUrl"` - // OpenStack availability zone (string) - AvailabilityZone string `pulumi:"availabilityZone"` - // Enable booting from volume. Default is `false` (bool) - BootFromVolume *bool `pulumi:"bootFromVolume"` - // CA certificate bundle to verify against (string) - Cacert *string `pulumi:"cacert"` - // Enables the OpenStack config drive for the instance. Default `false` (bool) - ConfigDrive *bool `pulumi:"configDrive"` - // OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) - DomainId *string `pulumi:"domainId"` - // OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) - DomainName *string `pulumi:"domainName"` - // OpenStack endpoint type. adminURL, internalURL or publicURL (string) - EndpointType *string `pulumi:"endpointType"` - // OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) - FlavorId *string `pulumi:"flavorId"` - // OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) - FlavorName *string `pulumi:"flavorName"` - // OpenStack floating IP pool to get an IP from to assign to the instance (string) - FloatingIpPool *string `pulumi:"floatingIpPool"` - // OpenStack image id to use for the instance. Conflicts with `imageName` (string) - ImageId *string `pulumi:"imageId"` - // OpenStack image name to use for the instance. Conflicts with `imageId` (string) - ImageName *string `pulumi:"imageName"` - // Disable TLS credential checking. Default `false` (bool) - Insecure *bool `pulumi:"insecure"` - // OpenStack version of IP address assigned for the machine Default `4` (string) - IpVersion *string `pulumi:"ipVersion"` - // OpenStack keypair to use to SSH to the instance (string) - KeypairName *string `pulumi:"keypairName"` - // OpenStack network id the machine will be connected on. Conflicts with `netName` (string) - NetId *string `pulumi:"netId"` - // OpenStack network name the machine will be connected on. Conflicts with `netId` (string) - NetName *string `pulumi:"netName"` - // Use the nova networking services instead of neutron (string) - NovaNetwork *bool `pulumi:"novaNetwork"` - // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Password *string `pulumi:"password"` - // Private key content to use for SSH (string) - PrivateKeyFile *string `pulumi:"privateKeyFile"` - // OpenStack region name (string) - Region string `pulumi:"region"` - // OpenStack comma separated security groups for the machine (string) - SecGroups *string `pulumi:"secGroups"` - // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) - SshPort *string `pulumi:"sshPort"` +type NodeTemplateAzureConfig struct { + // Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) + AvailabilitySet *string `pulumi:"availabilitySet"` + // Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + ClientId *string `pulumi:"clientId"` + // Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + ClientSecret *string `pulumi:"clientSecret"` + // Path to file with custom-data (string) + CustomData *string `pulumi:"customData"` + // vSphere size of disk for docker VM (in MB). Default `20480` (string) + DiskSize *string `pulumi:"diskSize"` + // A unique DNS label for the public IP adddress (string) + Dns *string `pulumi:"dns"` + // Docker Port. Default `2376` (string) + DockerPort *string `pulumi:"dockerPort"` + // Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) + Environment *string `pulumi:"environment"` + // Fault domain count to use for availability set. Default `3` (string) + FaultDomainCount *string `pulumi:"faultDomainCount"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image *string `pulumi:"image"` + // Azure region to create the virtual machine. Default `westus` (string) + Location *string `pulumi:"location"` + // Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) + ManagedDisks *bool `pulumi:"managedDisks"` + // Do not create a public IP address for the machine. Default `false` (bool) + NoPublicIp *bool `pulumi:"noPublicIp"` + // Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) + Nsg *string `pulumi:"nsg"` + // Make the specified port number accessible from the Internet. (list) + OpenPorts []string `pulumi:"openPorts"` + // Azure marketplace purchase plan for Azure Virtual Machine. Format is `::`. Just for Rancher v2.6.3 and above. (string) + Plan *string `pulumi:"plan"` + // Specify a static private IP address for the machine. (string) + PrivateIpAddress *string `pulumi:"privateIpAddress"` + // Azure Resource Group name (will be created if missing). Default `docker-machine` (string) + ResourceGroup *string `pulumi:"resourceGroup"` + // Digital Ocean size. Default `s-1vcpu-1gb` (string) + Size *string `pulumi:"size"` // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) SshUser *string `pulumi:"sshUser"` - // OpenStack tenant id. Conflicts with `tenantName` (string) - TenantId *string `pulumi:"tenantId"` - // OpenStack tenant name. Conflicts with `tenantId` (string) - TenantName *string `pulumi:"tenantName"` - // File containing an openstack userdata script (string) - UserDataFile *string `pulumi:"userDataFile"` - // vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Username *string `pulumi:"username"` - // OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) - VolumeDevicePath *string `pulumi:"volumeDevicePath"` - // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) - VolumeId *string `pulumi:"volumeId"` - // OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) - VolumeName *string `pulumi:"volumeName"` - // OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) - VolumeSize *string `pulumi:"volumeSize"` - // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) - VolumeType *string `pulumi:"volumeType"` + // Assign a static public IP address to the machine. Default `false` (bool) + StaticPublicIp *bool `pulumi:"staticPublicIp"` + // Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) + StorageType *string `pulumi:"storageType"` + // Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) + Subnet *string `pulumi:"subnet"` + // Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) + SubnetPrefix *string `pulumi:"subnetPrefix"` + // Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + SubscriptionId *string `pulumi:"subscriptionId"` + // Update domain count to use for availability set. Default `5` (string) + UpdateDomainCount *string `pulumi:"updateDomainCount"` + // Use private IP address of the machine to connect. Default `false` (bool) + UsePrivateIp *bool `pulumi:"usePrivateIp"` + // Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) + Vnet *string `pulumi:"vnet"` } -// NodeTemplateOpenstackConfigInput is an input type that accepts NodeTemplateOpenstackConfigArgs and NodeTemplateOpenstackConfigOutput values. -// You can construct a concrete instance of `NodeTemplateOpenstackConfigInput` via: +// NodeTemplateAzureConfigInput is an input type that accepts NodeTemplateAzureConfigArgs and NodeTemplateAzureConfigOutput values. +// You can construct a concrete instance of `NodeTemplateAzureConfigInput` via: // -// NodeTemplateOpenstackConfigArgs{...} -type NodeTemplateOpenstackConfigInput interface { +// NodeTemplateAzureConfigArgs{...} +type NodeTemplateAzureConfigInput interface { pulumi.Input - ToNodeTemplateOpenstackConfigOutput() NodeTemplateOpenstackConfigOutput - ToNodeTemplateOpenstackConfigOutputWithContext(context.Context) NodeTemplateOpenstackConfigOutput + ToNodeTemplateAzureConfigOutput() NodeTemplateAzureConfigOutput + ToNodeTemplateAzureConfigOutputWithContext(context.Context) NodeTemplateAzureConfigOutput } -type NodeTemplateOpenstackConfigArgs struct { - // OpenStack active timeout Default `200` (string) - ActiveTimeout pulumi.StringPtrInput `pulumi:"activeTimeout"` - // OpenStack application credential id. Conflicts with `applicationCredentialName` (string) - ApplicationCredentialId pulumi.StringPtrInput `pulumi:"applicationCredentialId"` - // OpenStack application credential name. Conflicts with `applicationCredentialId` (string) - ApplicationCredentialName pulumi.StringPtrInput `pulumi:"applicationCredentialName"` - // OpenStack application credential secret (string) - ApplicationCredentialSecret pulumi.StringPtrInput `pulumi:"applicationCredentialSecret"` - // OpenStack authentication URL (string) - AuthUrl pulumi.StringInput `pulumi:"authUrl"` - // OpenStack availability zone (string) - AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` - // Enable booting from volume. Default is `false` (bool) - BootFromVolume pulumi.BoolPtrInput `pulumi:"bootFromVolume"` - // CA certificate bundle to verify against (string) - Cacert pulumi.StringPtrInput `pulumi:"cacert"` - // Enables the OpenStack config drive for the instance. Default `false` (bool) - ConfigDrive pulumi.BoolPtrInput `pulumi:"configDrive"` - // OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) - DomainId pulumi.StringPtrInput `pulumi:"domainId"` - // OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) - DomainName pulumi.StringPtrInput `pulumi:"domainName"` - // OpenStack endpoint type. adminURL, internalURL or publicURL (string) - EndpointType pulumi.StringPtrInput `pulumi:"endpointType"` - // OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) - FlavorId pulumi.StringPtrInput `pulumi:"flavorId"` - // OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) - FlavorName pulumi.StringPtrInput `pulumi:"flavorName"` - // OpenStack floating IP pool to get an IP from to assign to the instance (string) - FloatingIpPool pulumi.StringPtrInput `pulumi:"floatingIpPool"` - // OpenStack image id to use for the instance. Conflicts with `imageName` (string) - ImageId pulumi.StringPtrInput `pulumi:"imageId"` - // OpenStack image name to use for the instance. Conflicts with `imageId` (string) - ImageName pulumi.StringPtrInput `pulumi:"imageName"` - // Disable TLS credential checking. Default `false` (bool) - Insecure pulumi.BoolPtrInput `pulumi:"insecure"` - // OpenStack version of IP address assigned for the machine Default `4` (string) - IpVersion pulumi.StringPtrInput `pulumi:"ipVersion"` - // OpenStack keypair to use to SSH to the instance (string) - KeypairName pulumi.StringPtrInput `pulumi:"keypairName"` - // OpenStack network id the machine will be connected on. Conflicts with `netName` (string) - NetId pulumi.StringPtrInput `pulumi:"netId"` - // OpenStack network name the machine will be connected on. Conflicts with `netId` (string) - NetName pulumi.StringPtrInput `pulumi:"netName"` - // Use the nova networking services instead of neutron (string) - NovaNetwork pulumi.BoolPtrInput `pulumi:"novaNetwork"` - // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Password pulumi.StringPtrInput `pulumi:"password"` - // Private key content to use for SSH (string) - PrivateKeyFile pulumi.StringPtrInput `pulumi:"privateKeyFile"` - // OpenStack region name (string) - Region pulumi.StringInput `pulumi:"region"` - // OpenStack comma separated security groups for the machine (string) - SecGroups pulumi.StringPtrInput `pulumi:"secGroups"` - // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) - SshPort pulumi.StringPtrInput `pulumi:"sshPort"` +type NodeTemplateAzureConfigArgs struct { + // Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) + AvailabilitySet pulumi.StringPtrInput `pulumi:"availabilitySet"` + // Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + ClientId pulumi.StringPtrInput `pulumi:"clientId"` + // Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + ClientSecret pulumi.StringPtrInput `pulumi:"clientSecret"` + // Path to file with custom-data (string) + CustomData pulumi.StringPtrInput `pulumi:"customData"` + // vSphere size of disk for docker VM (in MB). Default `20480` (string) + DiskSize pulumi.StringPtrInput `pulumi:"diskSize"` + // A unique DNS label for the public IP adddress (string) + Dns pulumi.StringPtrInput `pulumi:"dns"` + // Docker Port. Default `2376` (string) + DockerPort pulumi.StringPtrInput `pulumi:"dockerPort"` + // Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) + Environment pulumi.StringPtrInput `pulumi:"environment"` + // Fault domain count to use for availability set. Default `3` (string) + FaultDomainCount pulumi.StringPtrInput `pulumi:"faultDomainCount"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image pulumi.StringPtrInput `pulumi:"image"` + // Azure region to create the virtual machine. Default `westus` (string) + Location pulumi.StringPtrInput `pulumi:"location"` + // Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) + ManagedDisks pulumi.BoolPtrInput `pulumi:"managedDisks"` + // Do not create a public IP address for the machine. Default `false` (bool) + NoPublicIp pulumi.BoolPtrInput `pulumi:"noPublicIp"` + // Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) + Nsg pulumi.StringPtrInput `pulumi:"nsg"` + // Make the specified port number accessible from the Internet. (list) + OpenPorts pulumi.StringArrayInput `pulumi:"openPorts"` + // Azure marketplace purchase plan for Azure Virtual Machine. Format is `::`. Just for Rancher v2.6.3 and above. (string) + Plan pulumi.StringPtrInput `pulumi:"plan"` + // Specify a static private IP address for the machine. (string) + PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"` + // Azure Resource Group name (will be created if missing). Default `docker-machine` (string) + ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` + // Digital Ocean size. Default `s-1vcpu-1gb` (string) + Size pulumi.StringPtrInput `pulumi:"size"` // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // OpenStack tenant id. Conflicts with `tenantName` (string) - TenantId pulumi.StringPtrInput `pulumi:"tenantId"` - // OpenStack tenant name. Conflicts with `tenantId` (string) - TenantName pulumi.StringPtrInput `pulumi:"tenantName"` - // File containing an openstack userdata script (string) - UserDataFile pulumi.StringPtrInput `pulumi:"userDataFile"` - // vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Username pulumi.StringPtrInput `pulumi:"username"` - // OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) - VolumeDevicePath pulumi.StringPtrInput `pulumi:"volumeDevicePath"` - // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) - VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` - // OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) - VolumeName pulumi.StringPtrInput `pulumi:"volumeName"` - // OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) - VolumeSize pulumi.StringPtrInput `pulumi:"volumeSize"` - // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) - VolumeType pulumi.StringPtrInput `pulumi:"volumeType"` + // Assign a static public IP address to the machine. Default `false` (bool) + StaticPublicIp pulumi.BoolPtrInput `pulumi:"staticPublicIp"` + // Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) + StorageType pulumi.StringPtrInput `pulumi:"storageType"` + // Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) + Subnet pulumi.StringPtrInput `pulumi:"subnet"` + // Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) + SubnetPrefix pulumi.StringPtrInput `pulumi:"subnetPrefix"` + // Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"` + // Update domain count to use for availability set. Default `5` (string) + UpdateDomainCount pulumi.StringPtrInput `pulumi:"updateDomainCount"` + // Use private IP address of the machine to connect. Default `false` (bool) + UsePrivateIp pulumi.BoolPtrInput `pulumi:"usePrivateIp"` + // Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) + Vnet pulumi.StringPtrInput `pulumi:"vnet"` } -func (NodeTemplateOpenstackConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateOpenstackConfig)(nil)).Elem() +func (NodeTemplateAzureConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateAzureConfig)(nil)).Elem() } -func (i NodeTemplateOpenstackConfigArgs) ToNodeTemplateOpenstackConfigOutput() NodeTemplateOpenstackConfigOutput { - return i.ToNodeTemplateOpenstackConfigOutputWithContext(context.Background()) +func (i NodeTemplateAzureConfigArgs) ToNodeTemplateAzureConfigOutput() NodeTemplateAzureConfigOutput { + return i.ToNodeTemplateAzureConfigOutputWithContext(context.Background()) } -func (i NodeTemplateOpenstackConfigArgs) ToNodeTemplateOpenstackConfigOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpenstackConfigOutput) +func (i NodeTemplateAzureConfigArgs) ToNodeTemplateAzureConfigOutputWithContext(ctx context.Context) NodeTemplateAzureConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAzureConfigOutput) } -func (i NodeTemplateOpenstackConfigArgs) ToNodeTemplateOpenstackConfigPtrOutput() NodeTemplateOpenstackConfigPtrOutput { - return i.ToNodeTemplateOpenstackConfigPtrOutputWithContext(context.Background()) +func (i NodeTemplateAzureConfigArgs) ToNodeTemplateAzureConfigPtrOutput() NodeTemplateAzureConfigPtrOutput { + return i.ToNodeTemplateAzureConfigPtrOutputWithContext(context.Background()) } -func (i NodeTemplateOpenstackConfigArgs) ToNodeTemplateOpenstackConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpenstackConfigOutput).ToNodeTemplateOpenstackConfigPtrOutputWithContext(ctx) +func (i NodeTemplateAzureConfigArgs) ToNodeTemplateAzureConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAzureConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAzureConfigOutput).ToNodeTemplateAzureConfigPtrOutputWithContext(ctx) } -// NodeTemplateOpenstackConfigPtrInput is an input type that accepts NodeTemplateOpenstackConfigArgs, NodeTemplateOpenstackConfigPtr and NodeTemplateOpenstackConfigPtrOutput values. -// You can construct a concrete instance of `NodeTemplateOpenstackConfigPtrInput` via: +// NodeTemplateAzureConfigPtrInput is an input type that accepts NodeTemplateAzureConfigArgs, NodeTemplateAzureConfigPtr and NodeTemplateAzureConfigPtrOutput values. +// You can construct a concrete instance of `NodeTemplateAzureConfigPtrInput` via: // -// NodeTemplateOpenstackConfigArgs{...} +// NodeTemplateAzureConfigArgs{...} // // or: // // nil -type NodeTemplateOpenstackConfigPtrInput interface { +type NodeTemplateAzureConfigPtrInput interface { pulumi.Input - ToNodeTemplateOpenstackConfigPtrOutput() NodeTemplateOpenstackConfigPtrOutput - ToNodeTemplateOpenstackConfigPtrOutputWithContext(context.Context) NodeTemplateOpenstackConfigPtrOutput + ToNodeTemplateAzureConfigPtrOutput() NodeTemplateAzureConfigPtrOutput + ToNodeTemplateAzureConfigPtrOutputWithContext(context.Context) NodeTemplateAzureConfigPtrOutput } -type nodeTemplateOpenstackConfigPtrType NodeTemplateOpenstackConfigArgs +type nodeTemplateAzureConfigPtrType NodeTemplateAzureConfigArgs -func NodeTemplateOpenstackConfigPtr(v *NodeTemplateOpenstackConfigArgs) NodeTemplateOpenstackConfigPtrInput { - return (*nodeTemplateOpenstackConfigPtrType)(v) +func NodeTemplateAzureConfigPtr(v *NodeTemplateAzureConfigArgs) NodeTemplateAzureConfigPtrInput { + return (*nodeTemplateAzureConfigPtrType)(v) } -func (*nodeTemplateOpenstackConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateOpenstackConfig)(nil)).Elem() +func (*nodeTemplateAzureConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateAzureConfig)(nil)).Elem() } -func (i *nodeTemplateOpenstackConfigPtrType) ToNodeTemplateOpenstackConfigPtrOutput() NodeTemplateOpenstackConfigPtrOutput { - return i.ToNodeTemplateOpenstackConfigPtrOutputWithContext(context.Background()) +func (i *nodeTemplateAzureConfigPtrType) ToNodeTemplateAzureConfigPtrOutput() NodeTemplateAzureConfigPtrOutput { + return i.ToNodeTemplateAzureConfigPtrOutputWithContext(context.Background()) } -func (i *nodeTemplateOpenstackConfigPtrType) ToNodeTemplateOpenstackConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpenstackConfigPtrOutput) +func (i *nodeTemplateAzureConfigPtrType) ToNodeTemplateAzureConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAzureConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateAzureConfigPtrOutput) } -type NodeTemplateOpenstackConfigOutput struct{ *pulumi.OutputState } +type NodeTemplateAzureConfigOutput struct{ *pulumi.OutputState } -func (NodeTemplateOpenstackConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateOpenstackConfig)(nil)).Elem() +func (NodeTemplateAzureConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateAzureConfig)(nil)).Elem() } -func (o NodeTemplateOpenstackConfigOutput) ToNodeTemplateOpenstackConfigOutput() NodeTemplateOpenstackConfigOutput { +func (o NodeTemplateAzureConfigOutput) ToNodeTemplateAzureConfigOutput() NodeTemplateAzureConfigOutput { return o } -func (o NodeTemplateOpenstackConfigOutput) ToNodeTemplateOpenstackConfigOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigOutput { +func (o NodeTemplateAzureConfigOutput) ToNodeTemplateAzureConfigOutputWithContext(ctx context.Context) NodeTemplateAzureConfigOutput { return o } -func (o NodeTemplateOpenstackConfigOutput) ToNodeTemplateOpenstackConfigPtrOutput() NodeTemplateOpenstackConfigPtrOutput { - return o.ToNodeTemplateOpenstackConfigPtrOutputWithContext(context.Background()) +func (o NodeTemplateAzureConfigOutput) ToNodeTemplateAzureConfigPtrOutput() NodeTemplateAzureConfigPtrOutput { + return o.ToNodeTemplateAzureConfigPtrOutputWithContext(context.Background()) } -func (o NodeTemplateOpenstackConfigOutput) ToNodeTemplateOpenstackConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateOpenstackConfig) *NodeTemplateOpenstackConfig { +func (o NodeTemplateAzureConfigOutput) ToNodeTemplateAzureConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAzureConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateAzureConfig) *NodeTemplateAzureConfig { return &v - }).(NodeTemplateOpenstackConfigPtrOutput) + }).(NodeTemplateAzureConfigPtrOutput) } -// OpenStack active timeout Default `200` (string) -func (o NodeTemplateOpenstackConfigOutput) ActiveTimeout() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ActiveTimeout }).(pulumi.StringPtrOutput) +// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) +func (o NodeTemplateAzureConfigOutput) AvailabilitySet() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.AvailabilitySet }).(pulumi.StringPtrOutput) } -// OpenStack application credential id. Conflicts with `applicationCredentialName` (string) -func (o NodeTemplateOpenstackConfigOutput) ApplicationCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ApplicationCredentialId }).(pulumi.StringPtrOutput) +// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateAzureConfigOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.ClientId }).(pulumi.StringPtrOutput) } -// OpenStack application credential name. Conflicts with `applicationCredentialId` (string) -func (o NodeTemplateOpenstackConfigOutput) ApplicationCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ApplicationCredentialName }).(pulumi.StringPtrOutput) +// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateAzureConfigOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.ClientSecret }).(pulumi.StringPtrOutput) } -// OpenStack application credential secret (string) -func (o NodeTemplateOpenstackConfigOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ApplicationCredentialSecret }).(pulumi.StringPtrOutput) +// Path to file with custom-data (string) +func (o NodeTemplateAzureConfigOutput) CustomData() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.CustomData }).(pulumi.StringPtrOutput) } -// OpenStack authentication URL (string) -func (o NodeTemplateOpenstackConfigOutput) AuthUrl() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) string { return v.AuthUrl }).(pulumi.StringOutput) +// vSphere size of disk for docker VM (in MB). Default `20480` (string) +func (o NodeTemplateAzureConfigOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) } -// OpenStack availability zone (string) -func (o NodeTemplateOpenstackConfigOutput) AvailabilityZone() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) string { return v.AvailabilityZone }).(pulumi.StringOutput) +// A unique DNS label for the public IP adddress (string) +func (o NodeTemplateAzureConfigOutput) Dns() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Dns }).(pulumi.StringPtrOutput) } -// Enable booting from volume. Default is `false` (bool) -func (o NodeTemplateOpenstackConfigOutput) BootFromVolume() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *bool { return v.BootFromVolume }).(pulumi.BoolPtrOutput) +// Docker Port. Default `2376` (string) +func (o NodeTemplateAzureConfigOutput) DockerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.DockerPort }).(pulumi.StringPtrOutput) } -// CA certificate bundle to verify against (string) -func (o NodeTemplateOpenstackConfigOutput) Cacert() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.Cacert }).(pulumi.StringPtrOutput) +// Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) +func (o NodeTemplateAzureConfigOutput) Environment() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Environment }).(pulumi.StringPtrOutput) } -// Enables the OpenStack config drive for the instance. Default `false` (bool) -func (o NodeTemplateOpenstackConfigOutput) ConfigDrive() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *bool { return v.ConfigDrive }).(pulumi.BoolPtrOutput) +// Fault domain count to use for availability set. Default `3` (string) +func (o NodeTemplateAzureConfigOutput) FaultDomainCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.FaultDomainCount }).(pulumi.StringPtrOutput) } -// OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) -func (o NodeTemplateOpenstackConfigOutput) DomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.DomainId }).(pulumi.StringPtrOutput) +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o NodeTemplateAzureConfigOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Image }).(pulumi.StringPtrOutput) } -// OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) -func (o NodeTemplateOpenstackConfigOutput) DomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.DomainName }).(pulumi.StringPtrOutput) +// Azure region to create the virtual machine. Default `westus` (string) +func (o NodeTemplateAzureConfigOutput) Location() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Location }).(pulumi.StringPtrOutput) } -// OpenStack endpoint type. adminURL, internalURL or publicURL (string) -func (o NodeTemplateOpenstackConfigOutput) EndpointType() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.EndpointType }).(pulumi.StringPtrOutput) +// Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) +func (o NodeTemplateAzureConfigOutput) ManagedDisks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *bool { return v.ManagedDisks }).(pulumi.BoolPtrOutput) } -// OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) -func (o NodeTemplateOpenstackConfigOutput) FlavorId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.FlavorId }).(pulumi.StringPtrOutput) +// Do not create a public IP address for the machine. Default `false` (bool) +func (o NodeTemplateAzureConfigOutput) NoPublicIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *bool { return v.NoPublicIp }).(pulumi.BoolPtrOutput) } -// OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) -func (o NodeTemplateOpenstackConfigOutput) FlavorName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.FlavorName }).(pulumi.StringPtrOutput) +// Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) +func (o NodeTemplateAzureConfigOutput) Nsg() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Nsg }).(pulumi.StringPtrOutput) } -// OpenStack floating IP pool to get an IP from to assign to the instance (string) -func (o NodeTemplateOpenstackConfigOutput) FloatingIpPool() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.FloatingIpPool }).(pulumi.StringPtrOutput) +// Make the specified port number accessible from the Internet. (list) +func (o NodeTemplateAzureConfigOutput) OpenPorts() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) []string { return v.OpenPorts }).(pulumi.StringArrayOutput) } -// OpenStack image id to use for the instance. Conflicts with `imageName` (string) -func (o NodeTemplateOpenstackConfigOutput) ImageId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ImageId }).(pulumi.StringPtrOutput) +// Azure marketplace purchase plan for Azure Virtual Machine. Format is `::`. Just for Rancher v2.6.3 and above. (string) +func (o NodeTemplateAzureConfigOutput) Plan() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Plan }).(pulumi.StringPtrOutput) +} + +// Specify a static private IP address for the machine. (string) +func (o NodeTemplateAzureConfigOutput) PrivateIpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.PrivateIpAddress }).(pulumi.StringPtrOutput) +} + +// Azure Resource Group name (will be created if missing). Default `docker-machine` (string) +func (o NodeTemplateAzureConfigOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.ResourceGroup }).(pulumi.StringPtrOutput) +} + +// Digital Ocean size. Default `s-1vcpu-1gb` (string) +func (o NodeTemplateAzureConfigOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Size }).(pulumi.StringPtrOutput) +} + +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateAzureConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +} + +// Assign a static public IP address to the machine. Default `false` (bool) +func (o NodeTemplateAzureConfigOutput) StaticPublicIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *bool { return v.StaticPublicIp }).(pulumi.BoolPtrOutput) +} + +// Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) +func (o NodeTemplateAzureConfigOutput) StorageType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.StorageType }).(pulumi.StringPtrOutput) } -// OpenStack image name to use for the instance. Conflicts with `imageId` (string) -func (o NodeTemplateOpenstackConfigOutput) ImageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ImageName }).(pulumi.StringPtrOutput) +// Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) +func (o NodeTemplateAzureConfigOutput) Subnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Subnet }).(pulumi.StringPtrOutput) } -// Disable TLS credential checking. Default `false` (bool) -func (o NodeTemplateOpenstackConfigOutput) Insecure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *bool { return v.Insecure }).(pulumi.BoolPtrOutput) +// Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) +func (o NodeTemplateAzureConfigOutput) SubnetPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.SubnetPrefix }).(pulumi.StringPtrOutput) } -// OpenStack version of IP address assigned for the machine Default `4` (string) -func (o NodeTemplateOpenstackConfigOutput) IpVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.IpVersion }).(pulumi.StringPtrOutput) +// Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateAzureConfigOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.SubscriptionId }).(pulumi.StringPtrOutput) } -// OpenStack keypair to use to SSH to the instance (string) -func (o NodeTemplateOpenstackConfigOutput) KeypairName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.KeypairName }).(pulumi.StringPtrOutput) +// Update domain count to use for availability set. Default `5` (string) +func (o NodeTemplateAzureConfigOutput) UpdateDomainCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.UpdateDomainCount }).(pulumi.StringPtrOutput) } -// OpenStack network id the machine will be connected on. Conflicts with `netName` (string) -func (o NodeTemplateOpenstackConfigOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.NetId }).(pulumi.StringPtrOutput) +// Use private IP address of the machine to connect. Default `false` (bool) +func (o NodeTemplateAzureConfigOutput) UsePrivateIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *bool { return v.UsePrivateIp }).(pulumi.BoolPtrOutput) } -// OpenStack network name the machine will be connected on. Conflicts with `netId` (string) -func (o NodeTemplateOpenstackConfigOutput) NetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.NetName }).(pulumi.StringPtrOutput) +// Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) +func (o NodeTemplateAzureConfigOutput) Vnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateAzureConfig) *string { return v.Vnet }).(pulumi.StringPtrOutput) } -// Use the nova networking services instead of neutron (string) -func (o NodeTemplateOpenstackConfigOutput) NovaNetwork() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *bool { return v.NovaNetwork }).(pulumi.BoolPtrOutput) +type NodeTemplateAzureConfigPtrOutput struct{ *pulumi.OutputState } + +func (NodeTemplateAzureConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateAzureConfig)(nil)).Elem() } -// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateOpenstackConfigOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.Password }).(pulumi.StringPtrOutput) +func (o NodeTemplateAzureConfigPtrOutput) ToNodeTemplateAzureConfigPtrOutput() NodeTemplateAzureConfigPtrOutput { + return o } -// Private key content to use for SSH (string) -func (o NodeTemplateOpenstackConfigOutput) PrivateKeyFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.PrivateKeyFile }).(pulumi.StringPtrOutput) +func (o NodeTemplateAzureConfigPtrOutput) ToNodeTemplateAzureConfigPtrOutputWithContext(ctx context.Context) NodeTemplateAzureConfigPtrOutput { + return o } -// OpenStack region name (string) -func (o NodeTemplateOpenstackConfigOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) string { return v.Region }).(pulumi.StringOutput) +func (o NodeTemplateAzureConfigPtrOutput) Elem() NodeTemplateAzureConfigOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) NodeTemplateAzureConfig { + if v != nil { + return *v + } + var ret NodeTemplateAzureConfig + return ret + }).(NodeTemplateAzureConfigOutput) } -// OpenStack comma separated security groups for the machine (string) -func (o NodeTemplateOpenstackConfigOutput) SecGroups() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.SecGroups }).(pulumi.StringPtrOutput) +// Azure Availability Set to place the virtual machine into. Default `docker-machine` (string) +func (o NodeTemplateAzureConfigPtrOutput) AvailabilitySet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.AvailabilitySet + }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) -func (o NodeTemplateOpenstackConfigOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) +// Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateAzureConfigPtrOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.ClientId + }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateOpenstackConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +// Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateAzureConfigPtrOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.ClientSecret + }).(pulumi.StringPtrOutput) } -// OpenStack tenant id. Conflicts with `tenantName` (string) -func (o NodeTemplateOpenstackConfigOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.TenantId }).(pulumi.StringPtrOutput) +// Path to file with custom-data (string) +func (o NodeTemplateAzureConfigPtrOutput) CustomData() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.CustomData + }).(pulumi.StringPtrOutput) } -// OpenStack tenant name. Conflicts with `tenantId` (string) -func (o NodeTemplateOpenstackConfigOutput) TenantName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.TenantName }).(pulumi.StringPtrOutput) +// vSphere size of disk for docker VM (in MB). Default `20480` (string) +func (o NodeTemplateAzureConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.DiskSize + }).(pulumi.StringPtrOutput) } -// File containing an openstack userdata script (string) -func (o NodeTemplateOpenstackConfigOutput) UserDataFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.UserDataFile }).(pulumi.StringPtrOutput) +// A unique DNS label for the public IP adddress (string) +func (o NodeTemplateAzureConfigPtrOutput) Dns() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.Dns + }).(pulumi.StringPtrOutput) } -// vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateOpenstackConfigOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.Username }).(pulumi.StringPtrOutput) +// Docker Port. Default `2376` (string) +func (o NodeTemplateAzureConfigPtrOutput) DockerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.DockerPort + }).(pulumi.StringPtrOutput) } -// OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) -func (o NodeTemplateOpenstackConfigOutput) VolumeDevicePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeDevicePath }).(pulumi.StringPtrOutput) +// Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string) +func (o NodeTemplateAzureConfigPtrOutput) Environment() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.Environment + }).(pulumi.StringPtrOutput) } -// OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) -func (o NodeTemplateOpenstackConfigOutput) VolumeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeId }).(pulumi.StringPtrOutput) +// Fault domain count to use for availability set. Default `3` (string) +func (o NodeTemplateAzureConfigPtrOutput) FaultDomainCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.FaultDomainCount + }).(pulumi.StringPtrOutput) } -// OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) -func (o NodeTemplateOpenstackConfigOutput) VolumeName() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeName }).(pulumi.StringPtrOutput) +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o NodeTemplateAzureConfigPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.Image + }).(pulumi.StringPtrOutput) } -// OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) -func (o NodeTemplateOpenstackConfigOutput) VolumeSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeSize }).(pulumi.StringPtrOutput) +// Azure region to create the virtual machine. Default `westus` (string) +func (o NodeTemplateAzureConfigPtrOutput) Location() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.Location + }).(pulumi.StringPtrOutput) } -// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) -func (o NodeTemplateOpenstackConfigOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeType }).(pulumi.StringPtrOutput) +// Configures VM and availability set for managed disks. Just for Rancher v2.3.x and above. Default `false` (bool) +func (o NodeTemplateAzureConfigPtrOutput) ManagedDisks() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *bool { + if v == nil { + return nil + } + return v.ManagedDisks + }).(pulumi.BoolPtrOutput) } -type NodeTemplateOpenstackConfigPtrOutput struct{ *pulumi.OutputState } +// Do not create a public IP address for the machine. Default `false` (bool) +func (o NodeTemplateAzureConfigPtrOutput) NoPublicIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *bool { + if v == nil { + return nil + } + return v.NoPublicIp + }).(pulumi.BoolPtrOutput) +} -func (NodeTemplateOpenstackConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateOpenstackConfig)(nil)).Elem() +// Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) +func (o NodeTemplateAzureConfigPtrOutput) Nsg() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.Nsg + }).(pulumi.StringPtrOutput) } -func (o NodeTemplateOpenstackConfigPtrOutput) ToNodeTemplateOpenstackConfigPtrOutput() NodeTemplateOpenstackConfigPtrOutput { - return o +// Make the specified port number accessible from the Internet. (list) +func (o NodeTemplateAzureConfigPtrOutput) OpenPorts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) []string { + if v == nil { + return nil + } + return v.OpenPorts + }).(pulumi.StringArrayOutput) } -func (o NodeTemplateOpenstackConfigPtrOutput) ToNodeTemplateOpenstackConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigPtrOutput { - return o +// Azure marketplace purchase plan for Azure Virtual Machine. Format is `::`. Just for Rancher v2.6.3 and above. (string) +func (o NodeTemplateAzureConfigPtrOutput) Plan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.Plan + }).(pulumi.StringPtrOutput) } -func (o NodeTemplateOpenstackConfigPtrOutput) Elem() NodeTemplateOpenstackConfigOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) NodeTemplateOpenstackConfig { - if v != nil { - return *v +// Specify a static private IP address for the machine. (string) +func (o NodeTemplateAzureConfigPtrOutput) PrivateIpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil } - var ret NodeTemplateOpenstackConfig - return ret - }).(NodeTemplateOpenstackConfigOutput) + return v.PrivateIpAddress + }).(pulumi.StringPtrOutput) } -// OpenStack active timeout Default `200` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) ActiveTimeout() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Azure Resource Group name (will be created if missing). Default `docker-machine` (string) +func (o NodeTemplateAzureConfigPtrOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { if v == nil { return nil } - return v.ActiveTimeout + return v.ResourceGroup }).(pulumi.StringPtrOutput) } -// OpenStack application credential id. Conflicts with `applicationCredentialName` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) ApplicationCredentialId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Digital Ocean size. Default `s-1vcpu-1gb` (string) +func (o NodeTemplateAzureConfigPtrOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { if v == nil { return nil } - return v.ApplicationCredentialId + return v.Size }).(pulumi.StringPtrOutput) } -// OpenStack application credential name. Conflicts with `applicationCredentialId` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) ApplicationCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateAzureConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { if v == nil { return nil } - return v.ApplicationCredentialName + return v.SshUser }).(pulumi.StringPtrOutput) } -// OpenStack application credential secret (string) -func (o NodeTemplateOpenstackConfigPtrOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Assign a static public IP address to the machine. Default `false` (bool) +func (o NodeTemplateAzureConfigPtrOutput) StaticPublicIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *bool { if v == nil { return nil } - return v.ApplicationCredentialSecret + return v.StaticPublicIp + }).(pulumi.BoolPtrOutput) +} + +// Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string) +func (o NodeTemplateAzureConfigPtrOutput) StorageType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.StorageType }).(pulumi.StringPtrOutput) } -// OpenStack authentication URL (string) -func (o NodeTemplateOpenstackConfigPtrOutput) AuthUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Azure Subnet Name to be used within the Virtual Network. Default `docker-machine` (string) +func (o NodeTemplateAzureConfigPtrOutput) Subnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { if v == nil { return nil } - return &v.AuthUrl + return v.Subnet }).(pulumi.StringPtrOutput) } -// OpenStack availability zone (string) -func (o NodeTemplateOpenstackConfigPtrOutput) AvailabilityZone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Private CIDR block to be used for the new subnet, should comply RFC 1918. Default `192.168.0.0/16` (string) +func (o NodeTemplateAzureConfigPtrOutput) SubnetPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { if v == nil { return nil } - return &v.AvailabilityZone + return v.SubnetPrefix }).(pulumi.StringPtrOutput) } -// Enable booting from volume. Default is `false` (bool) -func (o NodeTemplateOpenstackConfigPtrOutput) BootFromVolume() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *bool { +// Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateAzureConfigPtrOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { if v == nil { return nil } - return v.BootFromVolume - }).(pulumi.BoolPtrOutput) + return v.SubscriptionId + }).(pulumi.StringPtrOutput) } -// CA certificate bundle to verify against (string) -func (o NodeTemplateOpenstackConfigPtrOutput) Cacert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Update domain count to use for availability set. Default `5` (string) +func (o NodeTemplateAzureConfigPtrOutput) UpdateDomainCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { if v == nil { return nil } - return v.Cacert + return v.UpdateDomainCount }).(pulumi.StringPtrOutput) } -// Enables the OpenStack config drive for the instance. Default `false` (bool) -func (o NodeTemplateOpenstackConfigPtrOutput) ConfigDrive() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *bool { +// Use private IP address of the machine to connect. Default `false` (bool) +func (o NodeTemplateAzureConfigPtrOutput) UsePrivateIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *bool { if v == nil { return nil } - return v.ConfigDrive + return v.UsePrivateIp }).(pulumi.BoolPtrOutput) } -// OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) DomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.DomainId - }).(pulumi.StringPtrOutput) +// Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format). Default `docker-machine-vnet` (string) +func (o NodeTemplateAzureConfigPtrOutput) Vnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateAzureConfig) *string { + if v == nil { + return nil + } + return v.Vnet + }).(pulumi.StringPtrOutput) +} + +type NodeTemplateDigitaloceanConfig struct { + // Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + AccessToken *string `pulumi:"accessToken"` + // Enable backups for droplet. Default `false` (bool) + Backups *bool `pulumi:"backups"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image *string `pulumi:"image"` + // Enable ipv6 for droplet. Default `false` (bool) + Ipv6 *bool `pulumi:"ipv6"` + // Enable monitoring for droplet. Default `false` (bool) + Monitoring *bool `pulumi:"monitoring"` + // Enable private networking for droplet. Default `false` (bool) + PrivateNetworking *bool `pulumi:"privateNetworking"` + // AWS region. Default `eu-west-2` (string) + Region *string `pulumi:"region"` + // Digital Ocean size. Default `s-1vcpu-1gb` (string) + Size *string `pulumi:"size"` + // SSH key fingerprint (string) + SshKeyFingerprint *string `pulumi:"sshKeyFingerprint"` + // SSH private key path (string) + SshKeyPath *string `pulumi:"sshKeyPath"` + // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) + SshPort *string `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser *string `pulumi:"sshUser"` + // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) + Tags *string `pulumi:"tags"` + // Path to file with cloud-init user-data (string) + Userdata *string `pulumi:"userdata"` +} + +// NodeTemplateDigitaloceanConfigInput is an input type that accepts NodeTemplateDigitaloceanConfigArgs and NodeTemplateDigitaloceanConfigOutput values. +// You can construct a concrete instance of `NodeTemplateDigitaloceanConfigInput` via: +// +// NodeTemplateDigitaloceanConfigArgs{...} +type NodeTemplateDigitaloceanConfigInput interface { + pulumi.Input + + ToNodeTemplateDigitaloceanConfigOutput() NodeTemplateDigitaloceanConfigOutput + ToNodeTemplateDigitaloceanConfigOutputWithContext(context.Context) NodeTemplateDigitaloceanConfigOutput +} + +type NodeTemplateDigitaloceanConfigArgs struct { + // Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + AccessToken pulumi.StringPtrInput `pulumi:"accessToken"` + // Enable backups for droplet. Default `false` (bool) + Backups pulumi.BoolPtrInput `pulumi:"backups"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image pulumi.StringPtrInput `pulumi:"image"` + // Enable ipv6 for droplet. Default `false` (bool) + Ipv6 pulumi.BoolPtrInput `pulumi:"ipv6"` + // Enable monitoring for droplet. Default `false` (bool) + Monitoring pulumi.BoolPtrInput `pulumi:"monitoring"` + // Enable private networking for droplet. Default `false` (bool) + PrivateNetworking pulumi.BoolPtrInput `pulumi:"privateNetworking"` + // AWS region. Default `eu-west-2` (string) + Region pulumi.StringPtrInput `pulumi:"region"` + // Digital Ocean size. Default `s-1vcpu-1gb` (string) + Size pulumi.StringPtrInput `pulumi:"size"` + // SSH key fingerprint (string) + SshKeyFingerprint pulumi.StringPtrInput `pulumi:"sshKeyFingerprint"` + // SSH private key path (string) + SshKeyPath pulumi.StringPtrInput `pulumi:"sshKeyPath"` + // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) + SshPort pulumi.StringPtrInput `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser pulumi.StringPtrInput `pulumi:"sshUser"` + // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) + Tags pulumi.StringPtrInput `pulumi:"tags"` + // Path to file with cloud-init user-data (string) + Userdata pulumi.StringPtrInput `pulumi:"userdata"` +} + +func (NodeTemplateDigitaloceanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateDigitaloceanConfig)(nil)).Elem() +} + +func (i NodeTemplateDigitaloceanConfigArgs) ToNodeTemplateDigitaloceanConfigOutput() NodeTemplateDigitaloceanConfigOutput { + return i.ToNodeTemplateDigitaloceanConfigOutputWithContext(context.Background()) +} + +func (i NodeTemplateDigitaloceanConfigArgs) ToNodeTemplateDigitaloceanConfigOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateDigitaloceanConfigOutput) +} + +func (i NodeTemplateDigitaloceanConfigArgs) ToNodeTemplateDigitaloceanConfigPtrOutput() NodeTemplateDigitaloceanConfigPtrOutput { + return i.ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(context.Background()) +} + +func (i NodeTemplateDigitaloceanConfigArgs) ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateDigitaloceanConfigOutput).ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(ctx) +} + +// NodeTemplateDigitaloceanConfigPtrInput is an input type that accepts NodeTemplateDigitaloceanConfigArgs, NodeTemplateDigitaloceanConfigPtr and NodeTemplateDigitaloceanConfigPtrOutput values. +// You can construct a concrete instance of `NodeTemplateDigitaloceanConfigPtrInput` via: +// +// NodeTemplateDigitaloceanConfigArgs{...} +// +// or: +// +// nil +type NodeTemplateDigitaloceanConfigPtrInput interface { + pulumi.Input + + ToNodeTemplateDigitaloceanConfigPtrOutput() NodeTemplateDigitaloceanConfigPtrOutput + ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(context.Context) NodeTemplateDigitaloceanConfigPtrOutput +} + +type nodeTemplateDigitaloceanConfigPtrType NodeTemplateDigitaloceanConfigArgs + +func NodeTemplateDigitaloceanConfigPtr(v *NodeTemplateDigitaloceanConfigArgs) NodeTemplateDigitaloceanConfigPtrInput { + return (*nodeTemplateDigitaloceanConfigPtrType)(v) +} + +func (*nodeTemplateDigitaloceanConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateDigitaloceanConfig)(nil)).Elem() +} + +func (i *nodeTemplateDigitaloceanConfigPtrType) ToNodeTemplateDigitaloceanConfigPtrOutput() NodeTemplateDigitaloceanConfigPtrOutput { + return i.ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(context.Background()) +} + +func (i *nodeTemplateDigitaloceanConfigPtrType) ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateDigitaloceanConfigPtrOutput) +} + +type NodeTemplateDigitaloceanConfigOutput struct{ *pulumi.OutputState } + +func (NodeTemplateDigitaloceanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateDigitaloceanConfig)(nil)).Elem() +} + +func (o NodeTemplateDigitaloceanConfigOutput) ToNodeTemplateDigitaloceanConfigOutput() NodeTemplateDigitaloceanConfigOutput { + return o +} + +func (o NodeTemplateDigitaloceanConfigOutput) ToNodeTemplateDigitaloceanConfigOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigOutput { + return o +} + +func (o NodeTemplateDigitaloceanConfigOutput) ToNodeTemplateDigitaloceanConfigPtrOutput() NodeTemplateDigitaloceanConfigPtrOutput { + return o.ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(context.Background()) +} + +func (o NodeTemplateDigitaloceanConfigOutput) ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateDigitaloceanConfig) *NodeTemplateDigitaloceanConfig { + return &v + }).(NodeTemplateDigitaloceanConfigPtrOutput) +} + +// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateDigitaloceanConfigOutput) AccessToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.AccessToken }).(pulumi.StringPtrOutput) +} + +// Enable backups for droplet. Default `false` (bool) +func (o NodeTemplateDigitaloceanConfigOutput) Backups() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *bool { return v.Backups }).(pulumi.BoolPtrOutput) +} + +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o NodeTemplateDigitaloceanConfigOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.Image }).(pulumi.StringPtrOutput) +} + +// Enable ipv6 for droplet. Default `false` (bool) +func (o NodeTemplateDigitaloceanConfigOutput) Ipv6() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *bool { return v.Ipv6 }).(pulumi.BoolPtrOutput) +} + +// Enable monitoring for droplet. Default `false` (bool) +func (o NodeTemplateDigitaloceanConfigOutput) Monitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *bool { return v.Monitoring }).(pulumi.BoolPtrOutput) } -// OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) DomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.DomainName - }).(pulumi.StringPtrOutput) +// Enable private networking for droplet. Default `false` (bool) +func (o NodeTemplateDigitaloceanConfigOutput) PrivateNetworking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *bool { return v.PrivateNetworking }).(pulumi.BoolPtrOutput) } -// OpenStack endpoint type. adminURL, internalURL or publicURL (string) -func (o NodeTemplateOpenstackConfigPtrOutput) EndpointType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.EndpointType - }).(pulumi.StringPtrOutput) +// AWS region. Default `eu-west-2` (string) +func (o NodeTemplateDigitaloceanConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.Region }).(pulumi.StringPtrOutput) } -// OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) FlavorId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.FlavorId - }).(pulumi.StringPtrOutput) +// Digital Ocean size. Default `s-1vcpu-1gb` (string) +func (o NodeTemplateDigitaloceanConfigOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.Size }).(pulumi.StringPtrOutput) } -// OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) FlavorName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.FlavorName - }).(pulumi.StringPtrOutput) +// SSH key fingerprint (string) +func (o NodeTemplateDigitaloceanConfigOutput) SshKeyFingerprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.SshKeyFingerprint }).(pulumi.StringPtrOutput) } -// OpenStack floating IP pool to get an IP from to assign to the instance (string) -func (o NodeTemplateOpenstackConfigPtrOutput) FloatingIpPool() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.FloatingIpPool - }).(pulumi.StringPtrOutput) +// SSH private key path (string) +func (o NodeTemplateDigitaloceanConfigOutput) SshKeyPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.SshKeyPath }).(pulumi.StringPtrOutput) } -// OpenStack image id to use for the instance. Conflicts with `imageName` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) ImageId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.ImageId - }).(pulumi.StringPtrOutput) +// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) +func (o NodeTemplateDigitaloceanConfigOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) } -// OpenStack image name to use for the instance. Conflicts with `imageId` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) ImageName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.ImageName - }).(pulumi.StringPtrOutput) +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateDigitaloceanConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) } -// Disable TLS credential checking. Default `false` (bool) -func (o NodeTemplateOpenstackConfigPtrOutput) Insecure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *bool { - if v == nil { - return nil - } - return v.Insecure - }).(pulumi.BoolPtrOutput) +// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) +func (o NodeTemplateDigitaloceanConfigOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.Tags }).(pulumi.StringPtrOutput) } -// OpenStack version of IP address assigned for the machine Default `4` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) IpVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.IpVersion - }).(pulumi.StringPtrOutput) +// Path to file with cloud-init user-data (string) +func (o NodeTemplateDigitaloceanConfigOutput) Userdata() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateDigitaloceanConfig) *string { return v.Userdata }).(pulumi.StringPtrOutput) } -// OpenStack keypair to use to SSH to the instance (string) -func (o NodeTemplateOpenstackConfigPtrOutput) KeypairName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.KeypairName - }).(pulumi.StringPtrOutput) -} +type NodeTemplateDigitaloceanConfigPtrOutput struct{ *pulumi.OutputState } -// OpenStack network id the machine will be connected on. Conflicts with `netName` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) NetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.NetId - }).(pulumi.StringPtrOutput) +func (NodeTemplateDigitaloceanConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateDigitaloceanConfig)(nil)).Elem() } -// OpenStack network name the machine will be connected on. Conflicts with `netId` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) NetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil - } - return v.NetName - }).(pulumi.StringPtrOutput) +func (o NodeTemplateDigitaloceanConfigPtrOutput) ToNodeTemplateDigitaloceanConfigPtrOutput() NodeTemplateDigitaloceanConfigPtrOutput { + return o } -// Use the nova networking services instead of neutron (string) -func (o NodeTemplateOpenstackConfigPtrOutput) NovaNetwork() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *bool { - if v == nil { - return nil - } - return v.NovaNetwork - }).(pulumi.BoolPtrOutput) +func (o NodeTemplateDigitaloceanConfigPtrOutput) ToNodeTemplateDigitaloceanConfigPtrOutputWithContext(ctx context.Context) NodeTemplateDigitaloceanConfigPtrOutput { + return o } -// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateOpenstackConfigPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { - if v == nil { - return nil +func (o NodeTemplateDigitaloceanConfigPtrOutput) Elem() NodeTemplateDigitaloceanConfigOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) NodeTemplateDigitaloceanConfig { + if v != nil { + return *v } - return v.Password - }).(pulumi.StringPtrOutput) + var ret NodeTemplateDigitaloceanConfig + return ret + }).(NodeTemplateDigitaloceanConfigOutput) } -// Private key content to use for SSH (string) -func (o NodeTemplateOpenstackConfigPtrOutput) PrivateKeyFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateDigitaloceanConfigPtrOutput) AccessToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { if v == nil { return nil } - return v.PrivateKeyFile + return v.AccessToken }).(pulumi.StringPtrOutput) } -// OpenStack region name (string) -func (o NodeTemplateOpenstackConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Enable backups for droplet. Default `false` (bool) +func (o NodeTemplateDigitaloceanConfigPtrOutput) Backups() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *bool { if v == nil { return nil } - return &v.Region - }).(pulumi.StringPtrOutput) + return v.Backups + }).(pulumi.BoolPtrOutput) } -// OpenStack comma separated security groups for the machine (string) -func (o NodeTemplateOpenstackConfigPtrOutput) SecGroups() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o NodeTemplateDigitaloceanConfigPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { if v == nil { return nil } - return v.SecGroups + return v.Image }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) -func (o NodeTemplateOpenstackConfigPtrOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Enable ipv6 for droplet. Default `false` (bool) +func (o NodeTemplateDigitaloceanConfigPtrOutput) Ipv6() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *bool { if v == nil { return nil } - return v.SshPort - }).(pulumi.StringPtrOutput) + return v.Ipv6 + }).(pulumi.BoolPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateOpenstackConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Enable monitoring for droplet. Default `false` (bool) +func (o NodeTemplateDigitaloceanConfigPtrOutput) Monitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *bool { if v == nil { return nil } - return v.SshUser - }).(pulumi.StringPtrOutput) + return v.Monitoring + }).(pulumi.BoolPtrOutput) } -// OpenStack tenant id. Conflicts with `tenantName` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Enable private networking for droplet. Default `false` (bool) +func (o NodeTemplateDigitaloceanConfigPtrOutput) PrivateNetworking() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *bool { if v == nil { return nil } - return v.TenantId - }).(pulumi.StringPtrOutput) + return v.PrivateNetworking + }).(pulumi.BoolPtrOutput) } -// OpenStack tenant name. Conflicts with `tenantId` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) TenantName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// AWS region. Default `eu-west-2` (string) +func (o NodeTemplateDigitaloceanConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { if v == nil { return nil } - return v.TenantName + return v.Region }).(pulumi.StringPtrOutput) } -// File containing an openstack userdata script (string) -func (o NodeTemplateOpenstackConfigPtrOutput) UserDataFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Digital Ocean size. Default `s-1vcpu-1gb` (string) +func (o NodeTemplateDigitaloceanConfigPtrOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { if v == nil { return nil } - return v.UserDataFile + return v.Size }).(pulumi.StringPtrOutput) } -// vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateOpenstackConfigPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// SSH key fingerprint (string) +func (o NodeTemplateDigitaloceanConfigPtrOutput) SshKeyFingerprint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { if v == nil { return nil } - return v.Username + return v.SshKeyFingerprint }).(pulumi.StringPtrOutput) } -// OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) -func (o NodeTemplateOpenstackConfigPtrOutput) VolumeDevicePath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// SSH private key path (string) +func (o NodeTemplateDigitaloceanConfigPtrOutput) SshKeyPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { if v == nil { return nil } - return v.VolumeDevicePath + return v.SshKeyPath }).(pulumi.StringPtrOutput) } -// OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) VolumeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) +func (o NodeTemplateDigitaloceanConfigPtrOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { if v == nil { return nil } - return v.VolumeId + return v.SshPort }).(pulumi.StringPtrOutput) } -// OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) VolumeName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateDigitaloceanConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { if v == nil { return nil } - return v.VolumeName + return v.SshUser }).(pulumi.StringPtrOutput) } -// OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) -func (o NodeTemplateOpenstackConfigPtrOutput) VolumeSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) +func (o NodeTemplateDigitaloceanConfigPtrOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { if v == nil { return nil } - return v.VolumeSize + return v.Tags }).(pulumi.StringPtrOutput) } -// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) -func (o NodeTemplateOpenstackConfigPtrOutput) VolumeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { +// Path to file with cloud-init user-data (string) +func (o NodeTemplateDigitaloceanConfigPtrOutput) Userdata() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateDigitaloceanConfig) *string { if v == nil { return nil } - return v.VolumeType + return v.Userdata }).(pulumi.StringPtrOutput) } -type NodeTemplateVsphereConfig struct { - // vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) - Boot2dockerUrl *string `pulumi:"boot2dockerUrl"` - // vSphere vm configuration parameters (used for guestinfo) (list) - Cfgparams []string `pulumi:"cfgparams"` - // If you choose creation type vm (clone vm) a name of what vm you want to clone is required. From Rancher v2.3.3 (string) - CloneFrom *string `pulumi:"cloneFrom"` - // Cloud Config YAML content to inject as user-data. From Rancher v2.3.3 (string) - CloudConfig *string `pulumi:"cloudConfig"` - // vSphere cloud-init file or url to set in the guestinfo (string) - Cloudinit *string `pulumi:"cloudinit"` - // If you choose to clone from a content library template specify the name of the library. From Rancher v2.3.3 (string) - ContentLibrary *string `pulumi:"contentLibrary"` +type NodeTemplateHarvesterConfig struct { // vSphere CPU number for docker VM. Default `2` (string) CpuCount *string `pulumi:"cpuCount"` - // Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy`. From Rancher v2.3.3 (string) - CreationType *string `pulumi:"creationType"` - // vSphere custom attributes, format key/value e.g. `200=my custom value`. From Rancher v2.3.3 (List) - CustomAttributes []string `pulumi:"customAttributes"` - // vSphere datacenter for docker VM (string) - Datacenter *string `pulumi:"datacenter"` - // vSphere datastore for docker VM (string) - Datastore *string `pulumi:"datastore"` - // vSphere datastore cluster for virtual machine. From Rancher v2.3.3 (string) - DatastoreCluster *string `pulumi:"datastoreCluster"` + // Disk bus, Default `virtio` (string) + DiskBus *string `pulumi:"diskBus"` // vSphere size of disk for docker VM (in MB). Default `20480` (string) DiskSize *string `pulumi:"diskSize"` - // vSphere folder for the docker VM. This folder must already exist in the datacenter (string) - Folder *string `pulumi:"folder"` - // vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) - Hostsystem *string `pulumi:"hostsystem"` + // OpenStack image name to use for the instance. Conflicts with `imageId` (string) + ImageName string `pulumi:"imageName"` // vSphere size of memory for docker VM (in MB). Default `2048` (string) MemorySize *string `pulumi:"memorySize"` - // vSphere network where the docker VM will be attached (list) - Networks []string `pulumi:"networks"` - // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Password *string `pulumi:"password"` - // vSphere resource pool for docker VM (string) - Pool *string `pulumi:"pool"` + // NetworkData content of cloud-init, base64 is supported (string) + NetworkData *string `pulumi:"networkData"` + // Network model, Default `virtio` (string) + NetworkModel *string `pulumi:"networkModel"` + // Opennebula network to connect the machine to. Conflicts with `networkId` (string) + NetworkName string `pulumi:"networkName"` // If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) SshPassword *string `pulumi:"sshPassword"` - // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) - SshPort *string `pulumi:"sshPort"` // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) - SshUser *string `pulumi:"sshUser"` - // If using a non-B2D image the uploaded keys will need chown'ed. Default `staff`. From Rancher v2.3.3 (string) - SshUserGroup *string `pulumi:"sshUserGroup"` - // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) - Tags []string `pulumi:"tags"` - // vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Username *string `pulumi:"username"` - // vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) - VappIpAllocationPolicy *string `pulumi:"vappIpAllocationPolicy"` - // vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) - VappIpProtocol *string `pulumi:"vappIpProtocol"` - // vSphere vApp properties (list) - VappProperties []string `pulumi:"vappProperties"` - // vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) - VappTransport *string `pulumi:"vappTransport"` - // vSphere IP/hostname for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Vcenter *string `pulumi:"vcenter"` - // vSphere Port for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x. Default `443` (string) - VcenterPort *string `pulumi:"vcenterPort"` + SshUser string `pulumi:"sshUser"` + // UserData content of cloud-init, base64 is supported (string) + UserData *string `pulumi:"userData"` + // Virtual machine namespace e.g. `default` (string) + VmNamespace string `pulumi:"vmNamespace"` } -// NodeTemplateVsphereConfigInput is an input type that accepts NodeTemplateVsphereConfigArgs and NodeTemplateVsphereConfigOutput values. -// You can construct a concrete instance of `NodeTemplateVsphereConfigInput` via: +// NodeTemplateHarvesterConfigInput is an input type that accepts NodeTemplateHarvesterConfigArgs and NodeTemplateHarvesterConfigOutput values. +// You can construct a concrete instance of `NodeTemplateHarvesterConfigInput` via: // -// NodeTemplateVsphereConfigArgs{...} -type NodeTemplateVsphereConfigInput interface { +// NodeTemplateHarvesterConfigArgs{...} +type NodeTemplateHarvesterConfigInput interface { pulumi.Input - ToNodeTemplateVsphereConfigOutput() NodeTemplateVsphereConfigOutput - ToNodeTemplateVsphereConfigOutputWithContext(context.Context) NodeTemplateVsphereConfigOutput + ToNodeTemplateHarvesterConfigOutput() NodeTemplateHarvesterConfigOutput + ToNodeTemplateHarvesterConfigOutputWithContext(context.Context) NodeTemplateHarvesterConfigOutput } -type NodeTemplateVsphereConfigArgs struct { - // vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) - Boot2dockerUrl pulumi.StringPtrInput `pulumi:"boot2dockerUrl"` - // vSphere vm configuration parameters (used for guestinfo) (list) - Cfgparams pulumi.StringArrayInput `pulumi:"cfgparams"` - // If you choose creation type vm (clone vm) a name of what vm you want to clone is required. From Rancher v2.3.3 (string) - CloneFrom pulumi.StringPtrInput `pulumi:"cloneFrom"` - // Cloud Config YAML content to inject as user-data. From Rancher v2.3.3 (string) - CloudConfig pulumi.StringPtrInput `pulumi:"cloudConfig"` - // vSphere cloud-init file or url to set in the guestinfo (string) - Cloudinit pulumi.StringPtrInput `pulumi:"cloudinit"` - // If you choose to clone from a content library template specify the name of the library. From Rancher v2.3.3 (string) - ContentLibrary pulumi.StringPtrInput `pulumi:"contentLibrary"` +type NodeTemplateHarvesterConfigArgs struct { // vSphere CPU number for docker VM. Default `2` (string) CpuCount pulumi.StringPtrInput `pulumi:"cpuCount"` - // Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy`. From Rancher v2.3.3 (string) - CreationType pulumi.StringPtrInput `pulumi:"creationType"` - // vSphere custom attributes, format key/value e.g. `200=my custom value`. From Rancher v2.3.3 (List) - CustomAttributes pulumi.StringArrayInput `pulumi:"customAttributes"` - // vSphere datacenter for docker VM (string) - Datacenter pulumi.StringPtrInput `pulumi:"datacenter"` - // vSphere datastore for docker VM (string) - Datastore pulumi.StringPtrInput `pulumi:"datastore"` - // vSphere datastore cluster for virtual machine. From Rancher v2.3.3 (string) - DatastoreCluster pulumi.StringPtrInput `pulumi:"datastoreCluster"` + // Disk bus, Default `virtio` (string) + DiskBus pulumi.StringPtrInput `pulumi:"diskBus"` // vSphere size of disk for docker VM (in MB). Default `20480` (string) DiskSize pulumi.StringPtrInput `pulumi:"diskSize"` - // vSphere folder for the docker VM. This folder must already exist in the datacenter (string) - Folder pulumi.StringPtrInput `pulumi:"folder"` - // vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) - Hostsystem pulumi.StringPtrInput `pulumi:"hostsystem"` + // OpenStack image name to use for the instance. Conflicts with `imageId` (string) + ImageName pulumi.StringInput `pulumi:"imageName"` // vSphere size of memory for docker VM (in MB). Default `2048` (string) MemorySize pulumi.StringPtrInput `pulumi:"memorySize"` - // vSphere network where the docker VM will be attached (list) - Networks pulumi.StringArrayInput `pulumi:"networks"` - // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Password pulumi.StringPtrInput `pulumi:"password"` - // vSphere resource pool for docker VM (string) - Pool pulumi.StringPtrInput `pulumi:"pool"` - // If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) - SshPassword pulumi.StringPtrInput `pulumi:"sshPassword"` - // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) - SshPort pulumi.StringPtrInput `pulumi:"sshPort"` - // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) - SshUser pulumi.StringPtrInput `pulumi:"sshUser"` - // If using a non-B2D image the uploaded keys will need chown'ed. Default `staff`. From Rancher v2.3.3 (string) - SshUserGroup pulumi.StringPtrInput `pulumi:"sshUserGroup"` - // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) - Tags pulumi.StringArrayInput `pulumi:"tags"` - // vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Username pulumi.StringPtrInput `pulumi:"username"` - // vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) - VappIpAllocationPolicy pulumi.StringPtrInput `pulumi:"vappIpAllocationPolicy"` - // vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) - VappIpProtocol pulumi.StringPtrInput `pulumi:"vappIpProtocol"` - // vSphere vApp properties (list) - VappProperties pulumi.StringArrayInput `pulumi:"vappProperties"` - // vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) - VappTransport pulumi.StringPtrInput `pulumi:"vappTransport"` - // vSphere IP/hostname for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) - Vcenter pulumi.StringPtrInput `pulumi:"vcenter"` - // vSphere Port for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x. Default `443` (string) - VcenterPort pulumi.StringPtrInput `pulumi:"vcenterPort"` -} - -func (NodeTemplateVsphereConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateVsphereConfig)(nil)).Elem() -} - -func (i NodeTemplateVsphereConfigArgs) ToNodeTemplateVsphereConfigOutput() NodeTemplateVsphereConfigOutput { - return i.ToNodeTemplateVsphereConfigOutputWithContext(context.Background()) -} - -func (i NodeTemplateVsphereConfigArgs) ToNodeTemplateVsphereConfigOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateVsphereConfigOutput) -} - -func (i NodeTemplateVsphereConfigArgs) ToNodeTemplateVsphereConfigPtrOutput() NodeTemplateVsphereConfigPtrOutput { - return i.ToNodeTemplateVsphereConfigPtrOutputWithContext(context.Background()) -} - -func (i NodeTemplateVsphereConfigArgs) ToNodeTemplateVsphereConfigPtrOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateVsphereConfigOutput).ToNodeTemplateVsphereConfigPtrOutputWithContext(ctx) -} - -// NodeTemplateVsphereConfigPtrInput is an input type that accepts NodeTemplateVsphereConfigArgs, NodeTemplateVsphereConfigPtr and NodeTemplateVsphereConfigPtrOutput values. -// You can construct a concrete instance of `NodeTemplateVsphereConfigPtrInput` via: -// -// NodeTemplateVsphereConfigArgs{...} -// -// or: -// -// nil -type NodeTemplateVsphereConfigPtrInput interface { - pulumi.Input - - ToNodeTemplateVsphereConfigPtrOutput() NodeTemplateVsphereConfigPtrOutput - ToNodeTemplateVsphereConfigPtrOutputWithContext(context.Context) NodeTemplateVsphereConfigPtrOutput -} - -type nodeTemplateVsphereConfigPtrType NodeTemplateVsphereConfigArgs - -func NodeTemplateVsphereConfigPtr(v *NodeTemplateVsphereConfigArgs) NodeTemplateVsphereConfigPtrInput { - return (*nodeTemplateVsphereConfigPtrType)(v) -} - -func (*nodeTemplateVsphereConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateVsphereConfig)(nil)).Elem() -} - -func (i *nodeTemplateVsphereConfigPtrType) ToNodeTemplateVsphereConfigPtrOutput() NodeTemplateVsphereConfigPtrOutput { - return i.ToNodeTemplateVsphereConfigPtrOutputWithContext(context.Background()) -} - -func (i *nodeTemplateVsphereConfigPtrType) ToNodeTemplateVsphereConfigPtrOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateVsphereConfigPtrOutput) -} - -type NodeTemplateVsphereConfigOutput struct{ *pulumi.OutputState } - -func (NodeTemplateVsphereConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NodeTemplateVsphereConfig)(nil)).Elem() -} - -func (o NodeTemplateVsphereConfigOutput) ToNodeTemplateVsphereConfigOutput() NodeTemplateVsphereConfigOutput { - return o -} - -func (o NodeTemplateVsphereConfigOutput) ToNodeTemplateVsphereConfigOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigOutput { - return o -} - -func (o NodeTemplateVsphereConfigOutput) ToNodeTemplateVsphereConfigPtrOutput() NodeTemplateVsphereConfigPtrOutput { - return o.ToNodeTemplateVsphereConfigPtrOutputWithContext(context.Background()) -} - -func (o NodeTemplateVsphereConfigOutput) ToNodeTemplateVsphereConfigPtrOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateVsphereConfig) *NodeTemplateVsphereConfig { - return &v - }).(NodeTemplateVsphereConfigPtrOutput) -} - -// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) -func (o NodeTemplateVsphereConfigOutput) Boot2dockerUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Boot2dockerUrl }).(pulumi.StringPtrOutput) + // NetworkData content of cloud-init, base64 is supported (string) + NetworkData pulumi.StringPtrInput `pulumi:"networkData"` + // Network model, Default `virtio` (string) + NetworkModel pulumi.StringPtrInput `pulumi:"networkModel"` + // Opennebula network to connect the machine to. Conflicts with `networkId` (string) + NetworkName pulumi.StringInput `pulumi:"networkName"` + // If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) + SshPassword pulumi.StringPtrInput `pulumi:"sshPassword"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser pulumi.StringInput `pulumi:"sshUser"` + // UserData content of cloud-init, base64 is supported (string) + UserData pulumi.StringPtrInput `pulumi:"userData"` + // Virtual machine namespace e.g. `default` (string) + VmNamespace pulumi.StringInput `pulumi:"vmNamespace"` } -// vSphere vm configuration parameters (used for guestinfo) (list) -func (o NodeTemplateVsphereConfigOutput) Cfgparams() pulumi.StringArrayOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) []string { return v.Cfgparams }).(pulumi.StringArrayOutput) +func (NodeTemplateHarvesterConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateHarvesterConfig)(nil)).Elem() } -// If you choose creation type vm (clone vm) a name of what vm you want to clone is required. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigOutput) CloneFrom() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.CloneFrom }).(pulumi.StringPtrOutput) +func (i NodeTemplateHarvesterConfigArgs) ToNodeTemplateHarvesterConfigOutput() NodeTemplateHarvesterConfigOutput { + return i.ToNodeTemplateHarvesterConfigOutputWithContext(context.Background()) } -// Cloud Config YAML content to inject as user-data. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigOutput) CloudConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.CloudConfig }).(pulumi.StringPtrOutput) +func (i NodeTemplateHarvesterConfigArgs) ToNodeTemplateHarvesterConfigOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHarvesterConfigOutput) } -// vSphere cloud-init file or url to set in the guestinfo (string) -func (o NodeTemplateVsphereConfigOutput) Cloudinit() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Cloudinit }).(pulumi.StringPtrOutput) +func (i NodeTemplateHarvesterConfigArgs) ToNodeTemplateHarvesterConfigPtrOutput() NodeTemplateHarvesterConfigPtrOutput { + return i.ToNodeTemplateHarvesterConfigPtrOutputWithContext(context.Background()) } -// If you choose to clone from a content library template specify the name of the library. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigOutput) ContentLibrary() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.ContentLibrary }).(pulumi.StringPtrOutput) +func (i NodeTemplateHarvesterConfigArgs) ToNodeTemplateHarvesterConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHarvesterConfigOutput).ToNodeTemplateHarvesterConfigPtrOutputWithContext(ctx) } -// vSphere CPU number for docker VM. Default `2` (string) -func (o NodeTemplateVsphereConfigOutput) CpuCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.CpuCount }).(pulumi.StringPtrOutput) -} +// NodeTemplateHarvesterConfigPtrInput is an input type that accepts NodeTemplateHarvesterConfigArgs, NodeTemplateHarvesterConfigPtr and NodeTemplateHarvesterConfigPtrOutput values. +// You can construct a concrete instance of `NodeTemplateHarvesterConfigPtrInput` via: +// +// NodeTemplateHarvesterConfigArgs{...} +// +// or: +// +// nil +type NodeTemplateHarvesterConfigPtrInput interface { + pulumi.Input -// Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy`. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigOutput) CreationType() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.CreationType }).(pulumi.StringPtrOutput) + ToNodeTemplateHarvesterConfigPtrOutput() NodeTemplateHarvesterConfigPtrOutput + ToNodeTemplateHarvesterConfigPtrOutputWithContext(context.Context) NodeTemplateHarvesterConfigPtrOutput } -// vSphere custom attributes, format key/value e.g. `200=my custom value`. From Rancher v2.3.3 (List) -func (o NodeTemplateVsphereConfigOutput) CustomAttributes() pulumi.StringArrayOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) []string { return v.CustomAttributes }).(pulumi.StringArrayOutput) -} +type nodeTemplateHarvesterConfigPtrType NodeTemplateHarvesterConfigArgs -// vSphere datacenter for docker VM (string) -func (o NodeTemplateVsphereConfigOutput) Datacenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Datacenter }).(pulumi.StringPtrOutput) +func NodeTemplateHarvesterConfigPtr(v *NodeTemplateHarvesterConfigArgs) NodeTemplateHarvesterConfigPtrInput { + return (*nodeTemplateHarvesterConfigPtrType)(v) } -// vSphere datastore for docker VM (string) -func (o NodeTemplateVsphereConfigOutput) Datastore() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Datastore }).(pulumi.StringPtrOutput) +func (*nodeTemplateHarvesterConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateHarvesterConfig)(nil)).Elem() } -// vSphere datastore cluster for virtual machine. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigOutput) DatastoreCluster() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.DatastoreCluster }).(pulumi.StringPtrOutput) +func (i *nodeTemplateHarvesterConfigPtrType) ToNodeTemplateHarvesterConfigPtrOutput() NodeTemplateHarvesterConfigPtrOutput { + return i.ToNodeTemplateHarvesterConfigPtrOutputWithContext(context.Background()) } -// vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o NodeTemplateVsphereConfigOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) +func (i *nodeTemplateHarvesterConfigPtrType) ToNodeTemplateHarvesterConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHarvesterConfigPtrOutput) } -// vSphere folder for the docker VM. This folder must already exist in the datacenter (string) -func (o NodeTemplateVsphereConfigOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) -} +type NodeTemplateHarvesterConfigOutput struct{ *pulumi.OutputState } -// vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) -func (o NodeTemplateVsphereConfigOutput) Hostsystem() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Hostsystem }).(pulumi.StringPtrOutput) +func (NodeTemplateHarvesterConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateHarvesterConfig)(nil)).Elem() } -// vSphere size of memory for docker VM (in MB). Default `2048` (string) -func (o NodeTemplateVsphereConfigOutput) MemorySize() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.MemorySize }).(pulumi.StringPtrOutput) +func (o NodeTemplateHarvesterConfigOutput) ToNodeTemplateHarvesterConfigOutput() NodeTemplateHarvesterConfigOutput { + return o } -// vSphere network where the docker VM will be attached (list) -func (o NodeTemplateVsphereConfigOutput) Networks() pulumi.StringArrayOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) []string { return v.Networks }).(pulumi.StringArrayOutput) +func (o NodeTemplateHarvesterConfigOutput) ToNodeTemplateHarvesterConfigOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigOutput { + return o } -// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateVsphereConfigOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Password }).(pulumi.StringPtrOutput) +func (o NodeTemplateHarvesterConfigOutput) ToNodeTemplateHarvesterConfigPtrOutput() NodeTemplateHarvesterConfigPtrOutput { + return o.ToNodeTemplateHarvesterConfigPtrOutputWithContext(context.Background()) } -// vSphere resource pool for docker VM (string) -func (o NodeTemplateVsphereConfigOutput) Pool() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Pool }).(pulumi.StringPtrOutput) +func (o NodeTemplateHarvesterConfigOutput) ToNodeTemplateHarvesterConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateHarvesterConfig) *NodeTemplateHarvesterConfig { + return &v + }).(NodeTemplateHarvesterConfigPtrOutput) } -// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigOutput) SshPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.SshPassword }).(pulumi.StringPtrOutput) +// vSphere CPU number for docker VM. Default `2` (string) +func (o NodeTemplateHarvesterConfigOutput) CpuCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.CpuCount }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) +// Disk bus, Default `virtio` (string) +func (o NodeTemplateHarvesterConfigOutput) DiskBus() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.DiskBus }).(pulumi.StringPtrOutput) } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +// vSphere size of disk for docker VM (in MB). Default `20480` (string) +func (o NodeTemplateHarvesterConfigOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) } -// If using a non-B2D image the uploaded keys will need chown'ed. Default `staff`. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigOutput) SshUserGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.SshUserGroup }).(pulumi.StringPtrOutput) +// OpenStack image name to use for the instance. Conflicts with `imageId` (string) +func (o NodeTemplateHarvesterConfigOutput) ImageName() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) string { return v.ImageName }).(pulumi.StringOutput) } -// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) -func (o NodeTemplateVsphereConfigOutput) Tags() pulumi.StringArrayOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) []string { return v.Tags }).(pulumi.StringArrayOutput) +// vSphere size of memory for docker VM (in MB). Default `2048` (string) +func (o NodeTemplateHarvesterConfigOutput) MemorySize() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.MemorySize }).(pulumi.StringPtrOutput) } -// vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateVsphereConfigOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Username }).(pulumi.StringPtrOutput) +// NetworkData content of cloud-init, base64 is supported (string) +func (o NodeTemplateHarvesterConfigOutput) NetworkData() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.NetworkData }).(pulumi.StringPtrOutput) } -// vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) -func (o NodeTemplateVsphereConfigOutput) VappIpAllocationPolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.VappIpAllocationPolicy }).(pulumi.StringPtrOutput) +// Network model, Default `virtio` (string) +func (o NodeTemplateHarvesterConfigOutput) NetworkModel() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.NetworkModel }).(pulumi.StringPtrOutput) } -// vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) -func (o NodeTemplateVsphereConfigOutput) VappIpProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.VappIpProtocol }).(pulumi.StringPtrOutput) +// Opennebula network to connect the machine to. Conflicts with `networkId` (string) +func (o NodeTemplateHarvesterConfigOutput) NetworkName() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) string { return v.NetworkName }).(pulumi.StringOutput) } -// vSphere vApp properties (list) -func (o NodeTemplateVsphereConfigOutput) VappProperties() pulumi.StringArrayOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) []string { return v.VappProperties }).(pulumi.StringArrayOutput) +// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) +func (o NodeTemplateHarvesterConfigOutput) SshPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.SshPassword }).(pulumi.StringPtrOutput) } -// vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) -func (o NodeTemplateVsphereConfigOutput) VappTransport() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.VappTransport }).(pulumi.StringPtrOutput) +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateHarvesterConfigOutput) SshUser() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) string { return v.SshUser }).(pulumi.StringOutput) } -// vSphere IP/hostname for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateVsphereConfigOutput) Vcenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Vcenter }).(pulumi.StringPtrOutput) +// UserData content of cloud-init, base64 is supported (string) +func (o NodeTemplateHarvesterConfigOutput) UserData() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) *string { return v.UserData }).(pulumi.StringPtrOutput) } -// vSphere Port for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x. Default `443` (string) -func (o NodeTemplateVsphereConfigOutput) VcenterPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.VcenterPort }).(pulumi.StringPtrOutput) +// Virtual machine namespace e.g. `default` (string) +func (o NodeTemplateHarvesterConfigOutput) VmNamespace() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateHarvesterConfig) string { return v.VmNamespace }).(pulumi.StringOutput) } -type NodeTemplateVsphereConfigPtrOutput struct{ *pulumi.OutputState } +type NodeTemplateHarvesterConfigPtrOutput struct{ *pulumi.OutputState } -func (NodeTemplateVsphereConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NodeTemplateVsphereConfig)(nil)).Elem() +func (NodeTemplateHarvesterConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateHarvesterConfig)(nil)).Elem() } -func (o NodeTemplateVsphereConfigPtrOutput) ToNodeTemplateVsphereConfigPtrOutput() NodeTemplateVsphereConfigPtrOutput { +func (o NodeTemplateHarvesterConfigPtrOutput) ToNodeTemplateHarvesterConfigPtrOutput() NodeTemplateHarvesterConfigPtrOutput { return o } -func (o NodeTemplateVsphereConfigPtrOutput) ToNodeTemplateVsphereConfigPtrOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigPtrOutput { +func (o NodeTemplateHarvesterConfigPtrOutput) ToNodeTemplateHarvesterConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHarvesterConfigPtrOutput { return o } -func (o NodeTemplateVsphereConfigPtrOutput) Elem() NodeTemplateVsphereConfigOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) NodeTemplateVsphereConfig { +func (o NodeTemplateHarvesterConfigPtrOutput) Elem() NodeTemplateHarvesterConfigOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) NodeTemplateHarvesterConfig { if v != nil { return *v } - var ret NodeTemplateVsphereConfig + var ret NodeTemplateHarvesterConfig return ret - }).(NodeTemplateVsphereConfigOutput) + }).(NodeTemplateHarvesterConfigOutput) } -// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) -func (o NodeTemplateVsphereConfigPtrOutput) Boot2dockerUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// vSphere CPU number for docker VM. Default `2` (string) +func (o NodeTemplateHarvesterConfigPtrOutput) CpuCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.Boot2dockerUrl + return v.CpuCount }).(pulumi.StringPtrOutput) } -// vSphere vm configuration parameters (used for guestinfo) (list) -func (o NodeTemplateVsphereConfigPtrOutput) Cfgparams() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) []string { +// Disk bus, Default `virtio` (string) +func (o NodeTemplateHarvesterConfigPtrOutput) DiskBus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.Cfgparams - }).(pulumi.StringArrayOutput) + return v.DiskBus + }).(pulumi.StringPtrOutput) } -// If you choose creation type vm (clone vm) a name of what vm you want to clone is required. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigPtrOutput) CloneFrom() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// vSphere size of disk for docker VM (in MB). Default `20480` (string) +func (o NodeTemplateHarvesterConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.CloneFrom + return v.DiskSize }).(pulumi.StringPtrOutput) } -// Cloud Config YAML content to inject as user-data. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigPtrOutput) CloudConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// OpenStack image name to use for the instance. Conflicts with `imageId` (string) +func (o NodeTemplateHarvesterConfigPtrOutput) ImageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.CloudConfig + return &v.ImageName }).(pulumi.StringPtrOutput) } -// vSphere cloud-init file or url to set in the guestinfo (string) -func (o NodeTemplateVsphereConfigPtrOutput) Cloudinit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// vSphere size of memory for docker VM (in MB). Default `2048` (string) +func (o NodeTemplateHarvesterConfigPtrOutput) MemorySize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.Cloudinit + return v.MemorySize }).(pulumi.StringPtrOutput) } -// If you choose to clone from a content library template specify the name of the library. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigPtrOutput) ContentLibrary() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// NetworkData content of cloud-init, base64 is supported (string) +func (o NodeTemplateHarvesterConfigPtrOutput) NetworkData() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.ContentLibrary + return v.NetworkData }).(pulumi.StringPtrOutput) } -// vSphere CPU number for docker VM. Default `2` (string) -func (o NodeTemplateVsphereConfigPtrOutput) CpuCount() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// Network model, Default `virtio` (string) +func (o NodeTemplateHarvesterConfigPtrOutput) NetworkModel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.CpuCount + return v.NetworkModel }).(pulumi.StringPtrOutput) } -// Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy`. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigPtrOutput) CreationType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// Opennebula network to connect the machine to. Conflicts with `networkId` (string) +func (o NodeTemplateHarvesterConfigPtrOutput) NetworkName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.CreationType + return &v.NetworkName }).(pulumi.StringPtrOutput) } -// vSphere custom attributes, format key/value e.g. `200=my custom value`. From Rancher v2.3.3 (List) -func (o NodeTemplateVsphereConfigPtrOutput) CustomAttributes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) []string { +// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) +func (o NodeTemplateHarvesterConfigPtrOutput) SshPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.CustomAttributes - }).(pulumi.StringArrayOutput) + return v.SshPassword + }).(pulumi.StringPtrOutput) } -// vSphere datacenter for docker VM (string) -func (o NodeTemplateVsphereConfigPtrOutput) Datacenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateHarvesterConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.Datacenter + return &v.SshUser }).(pulumi.StringPtrOutput) } -// vSphere datastore for docker VM (string) -func (o NodeTemplateVsphereConfigPtrOutput) Datastore() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// UserData content of cloud-init, base64 is supported (string) +func (o NodeTemplateHarvesterConfigPtrOutput) UserData() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.Datastore + return v.UserData }).(pulumi.StringPtrOutput) } -// vSphere datastore cluster for virtual machine. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigPtrOutput) DatastoreCluster() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// Virtual machine namespace e.g. `default` (string) +func (o NodeTemplateHarvesterConfigPtrOutput) VmNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHarvesterConfig) *string { if v == nil { return nil } - return v.DatastoreCluster + return &v.VmNamespace }).(pulumi.StringPtrOutput) } -// vSphere size of disk for docker VM (in MB). Default `20480` (string) -func (o NodeTemplateVsphereConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { - if v == nil { - return nil - } - return v.DiskSize - }).(pulumi.StringPtrOutput) +type NodeTemplateHetznerConfig struct { + // Hetzner Cloud project API token (string) + ApiToken string `pulumi:"apiToken"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image *string `pulumi:"image"` + // Comma-separated list of network IDs or names which should be attached to the server private network interface (string) + Networks *string `pulumi:"networks"` + // Map of the labels which will be assigned to the server. This argument is only available on [Hetzner Docker Node Driver:v3.6.0](https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/tag/3.6.0) and above (map) + ServerLabels map[string]interface{} `pulumi:"serverLabels"` + // Hetzner Cloud datacenter. Default `nbg1` (string) + ServerLocation *string `pulumi:"serverLocation"` + // Hetzner Cloud server type. Default `cx11` (string) + ServerType *string `pulumi:"serverType"` + // Use private network. Default `false` (bool) + UsePrivateNetwork *bool `pulumi:"usePrivateNetwork"` + // Path to file with cloud-init user-data (string) + Userdata *string `pulumi:"userdata"` + // Comma-separated list of volume IDs or names which should be attached to the server (string) + Volumes *string `pulumi:"volumes"` } -// vSphere folder for the docker VM. This folder must already exist in the datacenter (string) -func (o NodeTemplateVsphereConfigPtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { - if v == nil { - return nil - } - return v.Folder - }).(pulumi.StringPtrOutput) +// NodeTemplateHetznerConfigInput is an input type that accepts NodeTemplateHetznerConfigArgs and NodeTemplateHetznerConfigOutput values. +// You can construct a concrete instance of `NodeTemplateHetznerConfigInput` via: +// +// NodeTemplateHetznerConfigArgs{...} +type NodeTemplateHetznerConfigInput interface { + pulumi.Input + + ToNodeTemplateHetznerConfigOutput() NodeTemplateHetznerConfigOutput + ToNodeTemplateHetznerConfigOutputWithContext(context.Context) NodeTemplateHetznerConfigOutput } -// vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) -func (o NodeTemplateVsphereConfigPtrOutput) Hostsystem() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { - if v == nil { - return nil - } - return v.Hostsystem - }).(pulumi.StringPtrOutput) +type NodeTemplateHetznerConfigArgs struct { + // Hetzner Cloud project API token (string) + ApiToken pulumi.StringInput `pulumi:"apiToken"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image pulumi.StringPtrInput `pulumi:"image"` + // Comma-separated list of network IDs or names which should be attached to the server private network interface (string) + Networks pulumi.StringPtrInput `pulumi:"networks"` + // Map of the labels which will be assigned to the server. This argument is only available on [Hetzner Docker Node Driver:v3.6.0](https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/tag/3.6.0) and above (map) + ServerLabels pulumi.MapInput `pulumi:"serverLabels"` + // Hetzner Cloud datacenter. Default `nbg1` (string) + ServerLocation pulumi.StringPtrInput `pulumi:"serverLocation"` + // Hetzner Cloud server type. Default `cx11` (string) + ServerType pulumi.StringPtrInput `pulumi:"serverType"` + // Use private network. Default `false` (bool) + UsePrivateNetwork pulumi.BoolPtrInput `pulumi:"usePrivateNetwork"` + // Path to file with cloud-init user-data (string) + Userdata pulumi.StringPtrInput `pulumi:"userdata"` + // Comma-separated list of volume IDs or names which should be attached to the server (string) + Volumes pulumi.StringPtrInput `pulumi:"volumes"` } -// vSphere size of memory for docker VM (in MB). Default `2048` (string) -func (o NodeTemplateVsphereConfigPtrOutput) MemorySize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { - if v == nil { - return nil - } - return v.MemorySize - }).(pulumi.StringPtrOutput) +func (NodeTemplateHetznerConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateHetznerConfig)(nil)).Elem() } -// vSphere network where the docker VM will be attached (list) -func (o NodeTemplateVsphereConfigPtrOutput) Networks() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) []string { - if v == nil { - return nil - } - return v.Networks - }).(pulumi.StringArrayOutput) +func (i NodeTemplateHetznerConfigArgs) ToNodeTemplateHetznerConfigOutput() NodeTemplateHetznerConfigOutput { + return i.ToNodeTemplateHetznerConfigOutputWithContext(context.Background()) } -// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateVsphereConfigPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { - if v == nil { - return nil - } - return v.Password - }).(pulumi.StringPtrOutput) +func (i NodeTemplateHetznerConfigArgs) ToNodeTemplateHetznerConfigOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHetznerConfigOutput) +} + +func (i NodeTemplateHetznerConfigArgs) ToNodeTemplateHetznerConfigPtrOutput() NodeTemplateHetznerConfigPtrOutput { + return i.ToNodeTemplateHetznerConfigPtrOutputWithContext(context.Background()) +} + +func (i NodeTemplateHetznerConfigArgs) ToNodeTemplateHetznerConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHetznerConfigOutput).ToNodeTemplateHetznerConfigPtrOutputWithContext(ctx) +} + +// NodeTemplateHetznerConfigPtrInput is an input type that accepts NodeTemplateHetznerConfigArgs, NodeTemplateHetznerConfigPtr and NodeTemplateHetznerConfigPtrOutput values. +// You can construct a concrete instance of `NodeTemplateHetznerConfigPtrInput` via: +// +// NodeTemplateHetznerConfigArgs{...} +// +// or: +// +// nil +type NodeTemplateHetznerConfigPtrInput interface { + pulumi.Input + + ToNodeTemplateHetznerConfigPtrOutput() NodeTemplateHetznerConfigPtrOutput + ToNodeTemplateHetznerConfigPtrOutputWithContext(context.Context) NodeTemplateHetznerConfigPtrOutput +} + +type nodeTemplateHetznerConfigPtrType NodeTemplateHetznerConfigArgs + +func NodeTemplateHetznerConfigPtr(v *NodeTemplateHetznerConfigArgs) NodeTemplateHetznerConfigPtrInput { + return (*nodeTemplateHetznerConfigPtrType)(v) +} + +func (*nodeTemplateHetznerConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateHetznerConfig)(nil)).Elem() +} + +func (i *nodeTemplateHetznerConfigPtrType) ToNodeTemplateHetznerConfigPtrOutput() NodeTemplateHetznerConfigPtrOutput { + return i.ToNodeTemplateHetznerConfigPtrOutputWithContext(context.Background()) +} + +func (i *nodeTemplateHetznerConfigPtrType) ToNodeTemplateHetznerConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateHetznerConfigPtrOutput) +} + +type NodeTemplateHetznerConfigOutput struct{ *pulumi.OutputState } + +func (NodeTemplateHetznerConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateHetznerConfig)(nil)).Elem() +} + +func (o NodeTemplateHetznerConfigOutput) ToNodeTemplateHetznerConfigOutput() NodeTemplateHetznerConfigOutput { + return o +} + +func (o NodeTemplateHetznerConfigOutput) ToNodeTemplateHetznerConfigOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigOutput { + return o +} + +func (o NodeTemplateHetznerConfigOutput) ToNodeTemplateHetznerConfigPtrOutput() NodeTemplateHetznerConfigPtrOutput { + return o.ToNodeTemplateHetznerConfigPtrOutputWithContext(context.Background()) +} + +func (o NodeTemplateHetznerConfigOutput) ToNodeTemplateHetznerConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateHetznerConfig) *NodeTemplateHetznerConfig { + return &v + }).(NodeTemplateHetznerConfigPtrOutput) +} + +// Hetzner Cloud project API token (string) +func (o NodeTemplateHetznerConfigOutput) ApiToken() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateHetznerConfig) string { return v.ApiToken }).(pulumi.StringOutput) +} + +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o NodeTemplateHetznerConfigOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.Image }).(pulumi.StringPtrOutput) +} + +// Comma-separated list of network IDs or names which should be attached to the server private network interface (string) +func (o NodeTemplateHetznerConfigOutput) Networks() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.Networks }).(pulumi.StringPtrOutput) +} + +// Map of the labels which will be assigned to the server. This argument is only available on [Hetzner Docker Node Driver:v3.6.0](https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/tag/3.6.0) and above (map) +func (o NodeTemplateHetznerConfigOutput) ServerLabels() pulumi.MapOutput { + return o.ApplyT(func(v NodeTemplateHetznerConfig) map[string]interface{} { return v.ServerLabels }).(pulumi.MapOutput) +} + +// Hetzner Cloud datacenter. Default `nbg1` (string) +func (o NodeTemplateHetznerConfigOutput) ServerLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.ServerLocation }).(pulumi.StringPtrOutput) +} + +// Hetzner Cloud server type. Default `cx11` (string) +func (o NodeTemplateHetznerConfigOutput) ServerType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.ServerType }).(pulumi.StringPtrOutput) +} + +// Use private network. Default `false` (bool) +func (o NodeTemplateHetznerConfigOutput) UsePrivateNetwork() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateHetznerConfig) *bool { return v.UsePrivateNetwork }).(pulumi.BoolPtrOutput) +} + +// Path to file with cloud-init user-data (string) +func (o NodeTemplateHetznerConfigOutput) Userdata() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.Userdata }).(pulumi.StringPtrOutput) +} + +// Comma-separated list of volume IDs or names which should be attached to the server (string) +func (o NodeTemplateHetznerConfigOutput) Volumes() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateHetznerConfig) *string { return v.Volumes }).(pulumi.StringPtrOutput) } -// vSphere resource pool for docker VM (string) -func (o NodeTemplateVsphereConfigPtrOutput) Pool() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { - if v == nil { - return nil - } - return v.Pool - }).(pulumi.StringPtrOutput) +type NodeTemplateHetznerConfigPtrOutput struct{ *pulumi.OutputState } + +func (NodeTemplateHetznerConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateHetznerConfig)(nil)).Elem() } -// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigPtrOutput) SshPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { - if v == nil { - return nil - } - return v.SshPassword - }).(pulumi.StringPtrOutput) +func (o NodeTemplateHetznerConfigPtrOutput) ToNodeTemplateHetznerConfigPtrOutput() NodeTemplateHetznerConfigPtrOutput { + return o } -// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigPtrOutput) SshPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { - if v == nil { - return nil - } - return v.SshPort - }).(pulumi.StringPtrOutput) +func (o NodeTemplateHetznerConfigPtrOutput) ToNodeTemplateHetznerConfigPtrOutputWithContext(ctx context.Context) NodeTemplateHetznerConfigPtrOutput { + return o } -// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigPtrOutput) SshUser() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { - if v == nil { - return nil +func (o NodeTemplateHetznerConfigPtrOutput) Elem() NodeTemplateHetznerConfigOutput { + return o.ApplyT(func(v *NodeTemplateHetznerConfig) NodeTemplateHetznerConfig { + if v != nil { + return *v } - return v.SshUser - }).(pulumi.StringPtrOutput) + var ret NodeTemplateHetznerConfig + return ret + }).(NodeTemplateHetznerConfigOutput) } -// If using a non-B2D image the uploaded keys will need chown'ed. Default `staff`. From Rancher v2.3.3 (string) -func (o NodeTemplateVsphereConfigPtrOutput) SshUserGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// Hetzner Cloud project API token (string) +func (o NodeTemplateHetznerConfigPtrOutput) ApiToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { if v == nil { return nil } - return v.SshUserGroup + return &v.ApiToken }).(pulumi.StringPtrOutput) } -// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) -func (o NodeTemplateVsphereConfigPtrOutput) Tags() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) []string { +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o NodeTemplateHetznerConfigPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { if v == nil { return nil } - return v.Tags - }).(pulumi.StringArrayOutput) + return v.Image + }).(pulumi.StringPtrOutput) } -// vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateVsphereConfigPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// Comma-separated list of network IDs or names which should be attached to the server private network interface (string) +func (o NodeTemplateHetznerConfigPtrOutput) Networks() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { if v == nil { return nil } - return v.Username + return v.Networks }).(pulumi.StringPtrOutput) } -// vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) -func (o NodeTemplateVsphereConfigPtrOutput) VappIpAllocationPolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// Map of the labels which will be assigned to the server. This argument is only available on [Hetzner Docker Node Driver:v3.6.0](https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/tag/3.6.0) and above (map) +func (o NodeTemplateHetznerConfigPtrOutput) ServerLabels() pulumi.MapOutput { + return o.ApplyT(func(v *NodeTemplateHetznerConfig) map[string]interface{} { if v == nil { return nil } - return v.VappIpAllocationPolicy - }).(pulumi.StringPtrOutput) + return v.ServerLabels + }).(pulumi.MapOutput) } -// vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) -func (o NodeTemplateVsphereConfigPtrOutput) VappIpProtocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// Hetzner Cloud datacenter. Default `nbg1` (string) +func (o NodeTemplateHetznerConfigPtrOutput) ServerLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { if v == nil { return nil } - return v.VappIpProtocol + return v.ServerLocation }).(pulumi.StringPtrOutput) } -// vSphere vApp properties (list) -func (o NodeTemplateVsphereConfigPtrOutput) VappProperties() pulumi.StringArrayOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) []string { +// Hetzner Cloud server type. Default `cx11` (string) +func (o NodeTemplateHetznerConfigPtrOutput) ServerType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { if v == nil { return nil } - return v.VappProperties - }).(pulumi.StringArrayOutput) + return v.ServerType + }).(pulumi.StringPtrOutput) } -// vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) -func (o NodeTemplateVsphereConfigPtrOutput) VappTransport() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// Use private network. Default `false` (bool) +func (o NodeTemplateHetznerConfigPtrOutput) UsePrivateNetwork() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateHetznerConfig) *bool { if v == nil { return nil } - return v.VappTransport - }).(pulumi.StringPtrOutput) + return v.UsePrivateNetwork + }).(pulumi.BoolPtrOutput) } -// vSphere IP/hostname for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) -func (o NodeTemplateVsphereConfigPtrOutput) Vcenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// Path to file with cloud-init user-data (string) +func (o NodeTemplateHetznerConfigPtrOutput) Userdata() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { if v == nil { return nil } - return v.Vcenter + return v.Userdata }).(pulumi.StringPtrOutput) } -// vSphere Port for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x. Default `443` (string) -func (o NodeTemplateVsphereConfigPtrOutput) VcenterPort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { +// Comma-separated list of volume IDs or names which should be attached to the server (string) +func (o NodeTemplateHetznerConfigPtrOutput) Volumes() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateHetznerConfig) *string { if v == nil { return nil } - return v.VcenterPort + return v.Volumes }).(pulumi.StringPtrOutput) } -type NotifierDingtalkConfig struct { - // Wechat proxy url (string) - ProxyUrl *string `pulumi:"proxyUrl"` - // Wechat agent ID (string) - Secret *string `pulumi:"secret"` - // Webhook url (string) - Url string `pulumi:"url"` +type NodeTemplateLinodeConfig struct { + // Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) + AuthorizedUsers *string `pulumi:"authorizedUsers"` + // Create private IP for the instance. Default `false` (bool) + CreatePrivateIp *bool `pulumi:"createPrivateIp"` + // Docker Port. Default `2376` (string) + DockerPort *string `pulumi:"dockerPort"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image *string `pulumi:"image"` + // Outscale VM type. Default `tinav2.c1r2p3` (string) + InstanceType *string `pulumi:"instanceType"` + // Linode Instance Label. (string) + Label *string `pulumi:"label"` + // AWS region. Default `eu-west-2` (string) + Region *string `pulumi:"region"` + // Root Password (string) + RootPass *string `pulumi:"rootPass"` + // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) + SshPort *string `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser *string `pulumi:"sshUser"` + // Specifies the Linode StackScript to use to create the instance. (string) + Stackscript *string `pulumi:"stackscript"` + // A JSON string specifying data for the selected StackScript. (string) + StackscriptData *string `pulumi:"stackscriptData"` + // Linode Instance Swap Size (MB). Default `512` (string) + SwapSize *string `pulumi:"swapSize"` + // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) + Tags *string `pulumi:"tags"` + // Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Token *string `pulumi:"token"` + // Prefix the User-Agent in Linode API calls with some 'product/version' (string) + UaPrefix *string `pulumi:"uaPrefix"` } -// NotifierDingtalkConfigInput is an input type that accepts NotifierDingtalkConfigArgs and NotifierDingtalkConfigOutput values. -// You can construct a concrete instance of `NotifierDingtalkConfigInput` via: +// NodeTemplateLinodeConfigInput is an input type that accepts NodeTemplateLinodeConfigArgs and NodeTemplateLinodeConfigOutput values. +// You can construct a concrete instance of `NodeTemplateLinodeConfigInput` via: // -// NotifierDingtalkConfigArgs{...} -type NotifierDingtalkConfigInput interface { +// NodeTemplateLinodeConfigArgs{...} +type NodeTemplateLinodeConfigInput interface { pulumi.Input - ToNotifierDingtalkConfigOutput() NotifierDingtalkConfigOutput - ToNotifierDingtalkConfigOutputWithContext(context.Context) NotifierDingtalkConfigOutput + ToNodeTemplateLinodeConfigOutput() NodeTemplateLinodeConfigOutput + ToNodeTemplateLinodeConfigOutputWithContext(context.Context) NodeTemplateLinodeConfigOutput } -type NotifierDingtalkConfigArgs struct { - // Wechat proxy url (string) - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - // Wechat agent ID (string) - Secret pulumi.StringPtrInput `pulumi:"secret"` - // Webhook url (string) - Url pulumi.StringInput `pulumi:"url"` +type NodeTemplateLinodeConfigArgs struct { + // Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) + AuthorizedUsers pulumi.StringPtrInput `pulumi:"authorizedUsers"` + // Create private IP for the instance. Default `false` (bool) + CreatePrivateIp pulumi.BoolPtrInput `pulumi:"createPrivateIp"` + // Docker Port. Default `2376` (string) + DockerPort pulumi.StringPtrInput `pulumi:"dockerPort"` + // Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) + Image pulumi.StringPtrInput `pulumi:"image"` + // Outscale VM type. Default `tinav2.c1r2p3` (string) + InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` + // Linode Instance Label. (string) + Label pulumi.StringPtrInput `pulumi:"label"` + // AWS region. Default `eu-west-2` (string) + Region pulumi.StringPtrInput `pulumi:"region"` + // Root Password (string) + RootPass pulumi.StringPtrInput `pulumi:"rootPass"` + // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) + SshPort pulumi.StringPtrInput `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser pulumi.StringPtrInput `pulumi:"sshUser"` + // Specifies the Linode StackScript to use to create the instance. (string) + Stackscript pulumi.StringPtrInput `pulumi:"stackscript"` + // A JSON string specifying data for the selected StackScript. (string) + StackscriptData pulumi.StringPtrInput `pulumi:"stackscriptData"` + // Linode Instance Swap Size (MB). Default `512` (string) + SwapSize pulumi.StringPtrInput `pulumi:"swapSize"` + // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) + Tags pulumi.StringPtrInput `pulumi:"tags"` + // Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Token pulumi.StringPtrInput `pulumi:"token"` + // Prefix the User-Agent in Linode API calls with some 'product/version' (string) + UaPrefix pulumi.StringPtrInput `pulumi:"uaPrefix"` } -func (NotifierDingtalkConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierDingtalkConfig)(nil)).Elem() +func (NodeTemplateLinodeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateLinodeConfig)(nil)).Elem() } -func (i NotifierDingtalkConfigArgs) ToNotifierDingtalkConfigOutput() NotifierDingtalkConfigOutput { - return i.ToNotifierDingtalkConfigOutputWithContext(context.Background()) +func (i NodeTemplateLinodeConfigArgs) ToNodeTemplateLinodeConfigOutput() NodeTemplateLinodeConfigOutput { + return i.ToNodeTemplateLinodeConfigOutputWithContext(context.Background()) } -func (i NotifierDingtalkConfigArgs) ToNotifierDingtalkConfigOutputWithContext(ctx context.Context) NotifierDingtalkConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierDingtalkConfigOutput) +func (i NodeTemplateLinodeConfigArgs) ToNodeTemplateLinodeConfigOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateLinodeConfigOutput) } -func (i NotifierDingtalkConfigArgs) ToNotifierDingtalkConfigPtrOutput() NotifierDingtalkConfigPtrOutput { - return i.ToNotifierDingtalkConfigPtrOutputWithContext(context.Background()) +func (i NodeTemplateLinodeConfigArgs) ToNodeTemplateLinodeConfigPtrOutput() NodeTemplateLinodeConfigPtrOutput { + return i.ToNodeTemplateLinodeConfigPtrOutputWithContext(context.Background()) } -func (i NotifierDingtalkConfigArgs) ToNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) NotifierDingtalkConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierDingtalkConfigOutput).ToNotifierDingtalkConfigPtrOutputWithContext(ctx) +func (i NodeTemplateLinodeConfigArgs) ToNodeTemplateLinodeConfigPtrOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateLinodeConfigOutput).ToNodeTemplateLinodeConfigPtrOutputWithContext(ctx) } -// NotifierDingtalkConfigPtrInput is an input type that accepts NotifierDingtalkConfigArgs, NotifierDingtalkConfigPtr and NotifierDingtalkConfigPtrOutput values. -// You can construct a concrete instance of `NotifierDingtalkConfigPtrInput` via: +// NodeTemplateLinodeConfigPtrInput is an input type that accepts NodeTemplateLinodeConfigArgs, NodeTemplateLinodeConfigPtr and NodeTemplateLinodeConfigPtrOutput values. +// You can construct a concrete instance of `NodeTemplateLinodeConfigPtrInput` via: // -// NotifierDingtalkConfigArgs{...} +// NodeTemplateLinodeConfigArgs{...} // // or: // // nil -type NotifierDingtalkConfigPtrInput interface { +type NodeTemplateLinodeConfigPtrInput interface { pulumi.Input - ToNotifierDingtalkConfigPtrOutput() NotifierDingtalkConfigPtrOutput - ToNotifierDingtalkConfigPtrOutputWithContext(context.Context) NotifierDingtalkConfigPtrOutput + ToNodeTemplateLinodeConfigPtrOutput() NodeTemplateLinodeConfigPtrOutput + ToNodeTemplateLinodeConfigPtrOutputWithContext(context.Context) NodeTemplateLinodeConfigPtrOutput } -type notifierDingtalkConfigPtrType NotifierDingtalkConfigArgs +type nodeTemplateLinodeConfigPtrType NodeTemplateLinodeConfigArgs -func NotifierDingtalkConfigPtr(v *NotifierDingtalkConfigArgs) NotifierDingtalkConfigPtrInput { - return (*notifierDingtalkConfigPtrType)(v) +func NodeTemplateLinodeConfigPtr(v *NodeTemplateLinodeConfigArgs) NodeTemplateLinodeConfigPtrInput { + return (*nodeTemplateLinodeConfigPtrType)(v) } -func (*notifierDingtalkConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierDingtalkConfig)(nil)).Elem() +func (*nodeTemplateLinodeConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateLinodeConfig)(nil)).Elem() } -func (i *notifierDingtalkConfigPtrType) ToNotifierDingtalkConfigPtrOutput() NotifierDingtalkConfigPtrOutput { - return i.ToNotifierDingtalkConfigPtrOutputWithContext(context.Background()) +func (i *nodeTemplateLinodeConfigPtrType) ToNodeTemplateLinodeConfigPtrOutput() NodeTemplateLinodeConfigPtrOutput { + return i.ToNodeTemplateLinodeConfigPtrOutputWithContext(context.Background()) } -func (i *notifierDingtalkConfigPtrType) ToNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) NotifierDingtalkConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierDingtalkConfigPtrOutput) +func (i *nodeTemplateLinodeConfigPtrType) ToNodeTemplateLinodeConfigPtrOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateLinodeConfigPtrOutput) } -type NotifierDingtalkConfigOutput struct{ *pulumi.OutputState } +type NodeTemplateLinodeConfigOutput struct{ *pulumi.OutputState } -func (NotifierDingtalkConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierDingtalkConfig)(nil)).Elem() +func (NodeTemplateLinodeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateLinodeConfig)(nil)).Elem() } -func (o NotifierDingtalkConfigOutput) ToNotifierDingtalkConfigOutput() NotifierDingtalkConfigOutput { +func (o NodeTemplateLinodeConfigOutput) ToNodeTemplateLinodeConfigOutput() NodeTemplateLinodeConfigOutput { return o } -func (o NotifierDingtalkConfigOutput) ToNotifierDingtalkConfigOutputWithContext(ctx context.Context) NotifierDingtalkConfigOutput { +func (o NodeTemplateLinodeConfigOutput) ToNodeTemplateLinodeConfigOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigOutput { return o } -func (o NotifierDingtalkConfigOutput) ToNotifierDingtalkConfigPtrOutput() NotifierDingtalkConfigPtrOutput { - return o.ToNotifierDingtalkConfigPtrOutputWithContext(context.Background()) +func (o NodeTemplateLinodeConfigOutput) ToNodeTemplateLinodeConfigPtrOutput() NodeTemplateLinodeConfigPtrOutput { + return o.ToNodeTemplateLinodeConfigPtrOutputWithContext(context.Background()) } -func (o NotifierDingtalkConfigOutput) ToNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) NotifierDingtalkConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierDingtalkConfig) *NotifierDingtalkConfig { +func (o NodeTemplateLinodeConfigOutput) ToNodeTemplateLinodeConfigPtrOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateLinodeConfig) *NodeTemplateLinodeConfig { return &v - }).(NotifierDingtalkConfigPtrOutput) + }).(NodeTemplateLinodeConfigPtrOutput) } -// Wechat proxy url (string) -func (o NotifierDingtalkConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotifierDingtalkConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) +func (o NodeTemplateLinodeConfigOutput) AuthorizedUsers() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.AuthorizedUsers }).(pulumi.StringPtrOutput) } -// Wechat agent ID (string) -func (o NotifierDingtalkConfigOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotifierDingtalkConfig) *string { return v.Secret }).(pulumi.StringPtrOutput) +// Create private IP for the instance. Default `false` (bool) +func (o NodeTemplateLinodeConfigOutput) CreatePrivateIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *bool { return v.CreatePrivateIp }).(pulumi.BoolPtrOutput) } -// Webhook url (string) -func (o NotifierDingtalkConfigOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v NotifierDingtalkConfig) string { return v.Url }).(pulumi.StringOutput) +// Docker Port. Default `2376` (string) +func (o NodeTemplateLinodeConfigOutput) DockerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.DockerPort }).(pulumi.StringPtrOutput) } -type NotifierDingtalkConfigPtrOutput struct{ *pulumi.OutputState } +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o NodeTemplateLinodeConfigOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Image }).(pulumi.StringPtrOutput) +} -func (NotifierDingtalkConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierDingtalkConfig)(nil)).Elem() +// Outscale VM type. Default `tinav2.c1r2p3` (string) +func (o NodeTemplateLinodeConfigOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.InstanceType }).(pulumi.StringPtrOutput) } -func (o NotifierDingtalkConfigPtrOutput) ToNotifierDingtalkConfigPtrOutput() NotifierDingtalkConfigPtrOutput { +// Linode Instance Label. (string) +func (o NodeTemplateLinodeConfigOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// AWS region. Default `eu-west-2` (string) +func (o NodeTemplateLinodeConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +// Root Password (string) +func (o NodeTemplateLinodeConfigOutput) RootPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.RootPass }).(pulumi.StringPtrOutput) +} + +// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) +func (o NodeTemplateLinodeConfigOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) +} + +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateLinodeConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +} + +// Specifies the Linode StackScript to use to create the instance. (string) +func (o NodeTemplateLinodeConfigOutput) Stackscript() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Stackscript }).(pulumi.StringPtrOutput) +} + +// A JSON string specifying data for the selected StackScript. (string) +func (o NodeTemplateLinodeConfigOutput) StackscriptData() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.StackscriptData }).(pulumi.StringPtrOutput) +} + +// Linode Instance Swap Size (MB). Default `512` (string) +func (o NodeTemplateLinodeConfigOutput) SwapSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.SwapSize }).(pulumi.StringPtrOutput) +} + +// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) +func (o NodeTemplateLinodeConfigOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Tags }).(pulumi.StringPtrOutput) +} + +// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateLinodeConfigOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.Token }).(pulumi.StringPtrOutput) +} + +// Prefix the User-Agent in Linode API calls with some 'product/version' (string) +func (o NodeTemplateLinodeConfigOutput) UaPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateLinodeConfig) *string { return v.UaPrefix }).(pulumi.StringPtrOutput) +} + +type NodeTemplateLinodeConfigPtrOutput struct{ *pulumi.OutputState } + +func (NodeTemplateLinodeConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateLinodeConfig)(nil)).Elem() +} + +func (o NodeTemplateLinodeConfigPtrOutput) ToNodeTemplateLinodeConfigPtrOutput() NodeTemplateLinodeConfigPtrOutput { return o } -func (o NotifierDingtalkConfigPtrOutput) ToNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) NotifierDingtalkConfigPtrOutput { +func (o NodeTemplateLinodeConfigPtrOutput) ToNodeTemplateLinodeConfigPtrOutputWithContext(ctx context.Context) NodeTemplateLinodeConfigPtrOutput { return o } -func (o NotifierDingtalkConfigPtrOutput) Elem() NotifierDingtalkConfigOutput { - return o.ApplyT(func(v *NotifierDingtalkConfig) NotifierDingtalkConfig { +func (o NodeTemplateLinodeConfigPtrOutput) Elem() NodeTemplateLinodeConfigOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) NodeTemplateLinodeConfig { if v != nil { return *v } - var ret NotifierDingtalkConfig + var ret NodeTemplateLinodeConfig return ret - }).(NotifierDingtalkConfigOutput) + }).(NodeTemplateLinodeConfigOutput) } -// Wechat proxy url (string) -func (o NotifierDingtalkConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierDingtalkConfig) *string { +// Linode user accounts (seperated by commas) whose Linode SSH keys will be permitted root access to the created node. (string) +func (o NodeTemplateLinodeConfigPtrOutput) AuthorizedUsers() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.AuthorizedUsers + }).(pulumi.StringPtrOutput) +} + +// Create private IP for the instance. Default `false` (bool) +func (o NodeTemplateLinodeConfigPtrOutput) CreatePrivateIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *bool { + if v == nil { + return nil + } + return v.CreatePrivateIp + }).(pulumi.BoolPtrOutput) +} + +// Docker Port. Default `2376` (string) +func (o NodeTemplateLinodeConfigPtrOutput) DockerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.DockerPort + }).(pulumi.StringPtrOutput) +} + +// Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) +func (o NodeTemplateLinodeConfigPtrOutput) Image() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.Image + }).(pulumi.StringPtrOutput) +} + +// Outscale VM type. Default `tinav2.c1r2p3` (string) +func (o NodeTemplateLinodeConfigPtrOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.InstanceType + }).(pulumi.StringPtrOutput) +} + +// Linode Instance Label. (string) +func (o NodeTemplateLinodeConfigPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +// AWS region. Default `eu-west-2` (string) +func (o NodeTemplateLinodeConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +// Root Password (string) +func (o NodeTemplateLinodeConfigPtrOutput) RootPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.RootPass + }).(pulumi.StringPtrOutput) +} + +// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) +func (o NodeTemplateLinodeConfigPtrOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.SshPort + }).(pulumi.StringPtrOutput) +} + +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateLinodeConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.SshUser + }).(pulumi.StringPtrOutput) +} + +// Specifies the Linode StackScript to use to create the instance. (string) +func (o NodeTemplateLinodeConfigPtrOutput) Stackscript() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.Stackscript + }).(pulumi.StringPtrOutput) +} + +// A JSON string specifying data for the selected StackScript. (string) +func (o NodeTemplateLinodeConfigPtrOutput) StackscriptData() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.StackscriptData + }).(pulumi.StringPtrOutput) +} + +// Linode Instance Swap Size (MB). Default `512` (string) +func (o NodeTemplateLinodeConfigPtrOutput) SwapSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { + if v == nil { + return nil + } + return v.SwapSize + }).(pulumi.StringPtrOutput) +} + +// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) +func (o NodeTemplateLinodeConfigPtrOutput) Tags() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { if v == nil { return nil } - return v.ProxyUrl + return v.Tags }).(pulumi.StringPtrOutput) } -// Wechat agent ID (string) -func (o NotifierDingtalkConfigPtrOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierDingtalkConfig) *string { +// Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateLinodeConfigPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { if v == nil { return nil } - return v.Secret + return v.Token }).(pulumi.StringPtrOutput) } -// Webhook url (string) -func (o NotifierDingtalkConfigPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierDingtalkConfig) *string { +// Prefix the User-Agent in Linode API calls with some 'product/version' (string) +func (o NodeTemplateLinodeConfigPtrOutput) UaPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateLinodeConfig) *string { if v == nil { return nil } - return &v.Url + return v.UaPrefix }).(pulumi.StringPtrOutput) } -type NotifierMsteamsConfig struct { - // Wechat proxy url (string) - ProxyUrl *string `pulumi:"proxyUrl"` - // Webhook url (string) - Url string `pulumi:"url"` +type NodeTemplateNodeTaint struct { + // Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) + Effect *string `pulumi:"effect"` + // Taint key (string) + Key string `pulumi:"key"` + // Taint time added (string) + TimeAdded *string `pulumi:"timeAdded"` + // Taint value (string) + Value string `pulumi:"value"` } -// NotifierMsteamsConfigInput is an input type that accepts NotifierMsteamsConfigArgs and NotifierMsteamsConfigOutput values. -// You can construct a concrete instance of `NotifierMsteamsConfigInput` via: +// NodeTemplateNodeTaintInput is an input type that accepts NodeTemplateNodeTaintArgs and NodeTemplateNodeTaintOutput values. +// You can construct a concrete instance of `NodeTemplateNodeTaintInput` via: // -// NotifierMsteamsConfigArgs{...} -type NotifierMsteamsConfigInput interface { +// NodeTemplateNodeTaintArgs{...} +type NodeTemplateNodeTaintInput interface { pulumi.Input - ToNotifierMsteamsConfigOutput() NotifierMsteamsConfigOutput - ToNotifierMsteamsConfigOutputWithContext(context.Context) NotifierMsteamsConfigOutput -} - -type NotifierMsteamsConfigArgs struct { - // Wechat proxy url (string) - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - // Webhook url (string) - Url pulumi.StringInput `pulumi:"url"` -} - -func (NotifierMsteamsConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierMsteamsConfig)(nil)).Elem() + ToNodeTemplateNodeTaintOutput() NodeTemplateNodeTaintOutput + ToNodeTemplateNodeTaintOutputWithContext(context.Context) NodeTemplateNodeTaintOutput } -func (i NotifierMsteamsConfigArgs) ToNotifierMsteamsConfigOutput() NotifierMsteamsConfigOutput { - return i.ToNotifierMsteamsConfigOutputWithContext(context.Background()) +type NodeTemplateNodeTaintArgs struct { + // Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) + Effect pulumi.StringPtrInput `pulumi:"effect"` + // Taint key (string) + Key pulumi.StringInput `pulumi:"key"` + // Taint time added (string) + TimeAdded pulumi.StringPtrInput `pulumi:"timeAdded"` + // Taint value (string) + Value pulumi.StringInput `pulumi:"value"` } -func (i NotifierMsteamsConfigArgs) ToNotifierMsteamsConfigOutputWithContext(ctx context.Context) NotifierMsteamsConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierMsteamsConfigOutput) +func (NodeTemplateNodeTaintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateNodeTaint)(nil)).Elem() } -func (i NotifierMsteamsConfigArgs) ToNotifierMsteamsConfigPtrOutput() NotifierMsteamsConfigPtrOutput { - return i.ToNotifierMsteamsConfigPtrOutputWithContext(context.Background()) +func (i NodeTemplateNodeTaintArgs) ToNodeTemplateNodeTaintOutput() NodeTemplateNodeTaintOutput { + return i.ToNodeTemplateNodeTaintOutputWithContext(context.Background()) } -func (i NotifierMsteamsConfigArgs) ToNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) NotifierMsteamsConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierMsteamsConfigOutput).ToNotifierMsteamsConfigPtrOutputWithContext(ctx) +func (i NodeTemplateNodeTaintArgs) ToNodeTemplateNodeTaintOutputWithContext(ctx context.Context) NodeTemplateNodeTaintOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateNodeTaintOutput) } -// NotifierMsteamsConfigPtrInput is an input type that accepts NotifierMsteamsConfigArgs, NotifierMsteamsConfigPtr and NotifierMsteamsConfigPtrOutput values. -// You can construct a concrete instance of `NotifierMsteamsConfigPtrInput` via: -// -// NotifierMsteamsConfigArgs{...} -// -// or: +// NodeTemplateNodeTaintArrayInput is an input type that accepts NodeTemplateNodeTaintArray and NodeTemplateNodeTaintArrayOutput values. +// You can construct a concrete instance of `NodeTemplateNodeTaintArrayInput` via: // -// nil -type NotifierMsteamsConfigPtrInput interface { +// NodeTemplateNodeTaintArray{ NodeTemplateNodeTaintArgs{...} } +type NodeTemplateNodeTaintArrayInput interface { pulumi.Input - ToNotifierMsteamsConfigPtrOutput() NotifierMsteamsConfigPtrOutput - ToNotifierMsteamsConfigPtrOutputWithContext(context.Context) NotifierMsteamsConfigPtrOutput + ToNodeTemplateNodeTaintArrayOutput() NodeTemplateNodeTaintArrayOutput + ToNodeTemplateNodeTaintArrayOutputWithContext(context.Context) NodeTemplateNodeTaintArrayOutput } -type notifierMsteamsConfigPtrType NotifierMsteamsConfigArgs - -func NotifierMsteamsConfigPtr(v *NotifierMsteamsConfigArgs) NotifierMsteamsConfigPtrInput { - return (*notifierMsteamsConfigPtrType)(v) -} +type NodeTemplateNodeTaintArray []NodeTemplateNodeTaintInput -func (*notifierMsteamsConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierMsteamsConfig)(nil)).Elem() +func (NodeTemplateNodeTaintArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NodeTemplateNodeTaint)(nil)).Elem() } -func (i *notifierMsteamsConfigPtrType) ToNotifierMsteamsConfigPtrOutput() NotifierMsteamsConfigPtrOutput { - return i.ToNotifierMsteamsConfigPtrOutputWithContext(context.Background()) +func (i NodeTemplateNodeTaintArray) ToNodeTemplateNodeTaintArrayOutput() NodeTemplateNodeTaintArrayOutput { + return i.ToNodeTemplateNodeTaintArrayOutputWithContext(context.Background()) } -func (i *notifierMsteamsConfigPtrType) ToNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) NotifierMsteamsConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierMsteamsConfigPtrOutput) +func (i NodeTemplateNodeTaintArray) ToNodeTemplateNodeTaintArrayOutputWithContext(ctx context.Context) NodeTemplateNodeTaintArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateNodeTaintArrayOutput) } -type NotifierMsteamsConfigOutput struct{ *pulumi.OutputState } +type NodeTemplateNodeTaintOutput struct{ *pulumi.OutputState } -func (NotifierMsteamsConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierMsteamsConfig)(nil)).Elem() +func (NodeTemplateNodeTaintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateNodeTaint)(nil)).Elem() } -func (o NotifierMsteamsConfigOutput) ToNotifierMsteamsConfigOutput() NotifierMsteamsConfigOutput { +func (o NodeTemplateNodeTaintOutput) ToNodeTemplateNodeTaintOutput() NodeTemplateNodeTaintOutput { return o } -func (o NotifierMsteamsConfigOutput) ToNotifierMsteamsConfigOutputWithContext(ctx context.Context) NotifierMsteamsConfigOutput { +func (o NodeTemplateNodeTaintOutput) ToNodeTemplateNodeTaintOutputWithContext(ctx context.Context) NodeTemplateNodeTaintOutput { return o } -func (o NotifierMsteamsConfigOutput) ToNotifierMsteamsConfigPtrOutput() NotifierMsteamsConfigPtrOutput { - return o.ToNotifierMsteamsConfigPtrOutputWithContext(context.Background()) +// Taint effect. Supported values : `"NoExecute" | "NoSchedule" | "PreferNoSchedule"` (string) +func (o NodeTemplateNodeTaintOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateNodeTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) } -func (o NotifierMsteamsConfigOutput) ToNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) NotifierMsteamsConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierMsteamsConfig) *NotifierMsteamsConfig { - return &v - }).(NotifierMsteamsConfigPtrOutput) +// Taint key (string) +func (o NodeTemplateNodeTaintOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateNodeTaint) string { return v.Key }).(pulumi.StringOutput) } -// Wechat proxy url (string) -func (o NotifierMsteamsConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotifierMsteamsConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +// Taint time added (string) +func (o NodeTemplateNodeTaintOutput) TimeAdded() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateNodeTaint) *string { return v.TimeAdded }).(pulumi.StringPtrOutput) } -// Webhook url (string) -func (o NotifierMsteamsConfigOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v NotifierMsteamsConfig) string { return v.Url }).(pulumi.StringOutput) +// Taint value (string) +func (o NodeTemplateNodeTaintOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateNodeTaint) string { return v.Value }).(pulumi.StringOutput) } -type NotifierMsteamsConfigPtrOutput struct{ *pulumi.OutputState } +type NodeTemplateNodeTaintArrayOutput struct{ *pulumi.OutputState } -func (NotifierMsteamsConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierMsteamsConfig)(nil)).Elem() +func (NodeTemplateNodeTaintArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NodeTemplateNodeTaint)(nil)).Elem() } -func (o NotifierMsteamsConfigPtrOutput) ToNotifierMsteamsConfigPtrOutput() NotifierMsteamsConfigPtrOutput { +func (o NodeTemplateNodeTaintArrayOutput) ToNodeTemplateNodeTaintArrayOutput() NodeTemplateNodeTaintArrayOutput { return o } -func (o NotifierMsteamsConfigPtrOutput) ToNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) NotifierMsteamsConfigPtrOutput { +func (o NodeTemplateNodeTaintArrayOutput) ToNodeTemplateNodeTaintArrayOutputWithContext(ctx context.Context) NodeTemplateNodeTaintArrayOutput { return o } -func (o NotifierMsteamsConfigPtrOutput) Elem() NotifierMsteamsConfigOutput { - return o.ApplyT(func(v *NotifierMsteamsConfig) NotifierMsteamsConfig { - if v != nil { - return *v - } - var ret NotifierMsteamsConfig - return ret - }).(NotifierMsteamsConfigOutput) -} - -// Wechat proxy url (string) -func (o NotifierMsteamsConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierMsteamsConfig) *string { - if v == nil { - return nil - } - return v.ProxyUrl - }).(pulumi.StringPtrOutput) -} - -// Webhook url (string) -func (o NotifierMsteamsConfigPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierMsteamsConfig) *string { - if v == nil { - return nil - } - return &v.Url - }).(pulumi.StringPtrOutput) +func (o NodeTemplateNodeTaintArrayOutput) Index(i pulumi.IntInput) NodeTemplateNodeTaintOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NodeTemplateNodeTaint { + return vs[0].([]NodeTemplateNodeTaint)[vs[1].(int)] + }).(NodeTemplateNodeTaintOutput) } -type NotifierPagerdutyConfig struct { - // Wechat proxy url (string) - ProxyUrl *string `pulumi:"proxyUrl"` - // Pagerduty service key (string) - ServiceKey string `pulumi:"serviceKey"` +type NodeTemplateOpennebulaConfig struct { + // Size of the Volatile disk in MB - only for b2d (string) + B2dSize *string `pulumi:"b2dSize"` + // CPU value for the VM (string) + Cpu *string `pulumi:"cpu"` + // Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string) + DevPrefix *string `pulumi:"devPrefix"` + // VNC is enabled by default. Disable it with this flag (bool) + DisableVnc *bool `pulumi:"disableVnc"` + // Size of the disk for the VM in MB (string) + DiskResize *string `pulumi:"diskResize"` + // OpenStack image id to use for the instance. Conflicts with `imageName` (string) + ImageId *string `pulumi:"imageId"` + // OpenStack image name to use for the instance. Conflicts with `imageId` (string) + ImageName *string `pulumi:"imageName"` + // Owner of the image to use as the VM OS (string) + ImageOwner *string `pulumi:"imageOwner"` + // Size of the memory for the VM in MB (string) + Memory *string `pulumi:"memory"` + // Opennebula network ID to connect the machine to. Conflicts with `networkName` (string) + NetworkId *string `pulumi:"networkId"` + // Opennebula network to connect the machine to. Conflicts with `networkId` (string) + NetworkName *string `pulumi:"networkName"` + // Opennebula user ID of the Network to connect the machine to (string) + NetworkOwner *string `pulumi:"networkOwner"` + // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Password string `pulumi:"password"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser *string `pulumi:"sshUser"` + // Opennebula template ID to use. Conflicts with `templateName` (string) + TemplateId *string `pulumi:"templateId"` + // Name of the Opennbula template to use. Conflicts with `templateId` (string) + TemplateName *string `pulumi:"templateName"` + // Set the user for the XML-RPC API authentication (string) + User string `pulumi:"user"` + // VCPUs for the VM (string) + Vcpu *string `pulumi:"vcpu"` + // Set the url for the Opennebula XML-RPC API (string) + XmlRpcUrl string `pulumi:"xmlRpcUrl"` } -// NotifierPagerdutyConfigInput is an input type that accepts NotifierPagerdutyConfigArgs and NotifierPagerdutyConfigOutput values. -// You can construct a concrete instance of `NotifierPagerdutyConfigInput` via: +// NodeTemplateOpennebulaConfigInput is an input type that accepts NodeTemplateOpennebulaConfigArgs and NodeTemplateOpennebulaConfigOutput values. +// You can construct a concrete instance of `NodeTemplateOpennebulaConfigInput` via: // -// NotifierPagerdutyConfigArgs{...} -type NotifierPagerdutyConfigInput interface { +// NodeTemplateOpennebulaConfigArgs{...} +type NodeTemplateOpennebulaConfigInput interface { pulumi.Input - ToNotifierPagerdutyConfigOutput() NotifierPagerdutyConfigOutput - ToNotifierPagerdutyConfigOutputWithContext(context.Context) NotifierPagerdutyConfigOutput + ToNodeTemplateOpennebulaConfigOutput() NodeTemplateOpennebulaConfigOutput + ToNodeTemplateOpennebulaConfigOutputWithContext(context.Context) NodeTemplateOpennebulaConfigOutput } -type NotifierPagerdutyConfigArgs struct { - // Wechat proxy url (string) - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - // Pagerduty service key (string) - ServiceKey pulumi.StringInput `pulumi:"serviceKey"` +type NodeTemplateOpennebulaConfigArgs struct { + // Size of the Volatile disk in MB - only for b2d (string) + B2dSize pulumi.StringPtrInput `pulumi:"b2dSize"` + // CPU value for the VM (string) + Cpu pulumi.StringPtrInput `pulumi:"cpu"` + // Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string) + DevPrefix pulumi.StringPtrInput `pulumi:"devPrefix"` + // VNC is enabled by default. Disable it with this flag (bool) + DisableVnc pulumi.BoolPtrInput `pulumi:"disableVnc"` + // Size of the disk for the VM in MB (string) + DiskResize pulumi.StringPtrInput `pulumi:"diskResize"` + // OpenStack image id to use for the instance. Conflicts with `imageName` (string) + ImageId pulumi.StringPtrInput `pulumi:"imageId"` + // OpenStack image name to use for the instance. Conflicts with `imageId` (string) + ImageName pulumi.StringPtrInput `pulumi:"imageName"` + // Owner of the image to use as the VM OS (string) + ImageOwner pulumi.StringPtrInput `pulumi:"imageOwner"` + // Size of the memory for the VM in MB (string) + Memory pulumi.StringPtrInput `pulumi:"memory"` + // Opennebula network ID to connect the machine to. Conflicts with `networkName` (string) + NetworkId pulumi.StringPtrInput `pulumi:"networkId"` + // Opennebula network to connect the machine to. Conflicts with `networkId` (string) + NetworkName pulumi.StringPtrInput `pulumi:"networkName"` + // Opennebula user ID of the Network to connect the machine to (string) + NetworkOwner pulumi.StringPtrInput `pulumi:"networkOwner"` + // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Password pulumi.StringInput `pulumi:"password"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser pulumi.StringPtrInput `pulumi:"sshUser"` + // Opennebula template ID to use. Conflicts with `templateName` (string) + TemplateId pulumi.StringPtrInput `pulumi:"templateId"` + // Name of the Opennbula template to use. Conflicts with `templateId` (string) + TemplateName pulumi.StringPtrInput `pulumi:"templateName"` + // Set the user for the XML-RPC API authentication (string) + User pulumi.StringInput `pulumi:"user"` + // VCPUs for the VM (string) + Vcpu pulumi.StringPtrInput `pulumi:"vcpu"` + // Set the url for the Opennebula XML-RPC API (string) + XmlRpcUrl pulumi.StringInput `pulumi:"xmlRpcUrl"` } -func (NotifierPagerdutyConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierPagerdutyConfig)(nil)).Elem() +func (NodeTemplateOpennebulaConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateOpennebulaConfig)(nil)).Elem() } -func (i NotifierPagerdutyConfigArgs) ToNotifierPagerdutyConfigOutput() NotifierPagerdutyConfigOutput { - return i.ToNotifierPagerdutyConfigOutputWithContext(context.Background()) +func (i NodeTemplateOpennebulaConfigArgs) ToNodeTemplateOpennebulaConfigOutput() NodeTemplateOpennebulaConfigOutput { + return i.ToNodeTemplateOpennebulaConfigOutputWithContext(context.Background()) } -func (i NotifierPagerdutyConfigArgs) ToNotifierPagerdutyConfigOutputWithContext(ctx context.Context) NotifierPagerdutyConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierPagerdutyConfigOutput) +func (i NodeTemplateOpennebulaConfigArgs) ToNodeTemplateOpennebulaConfigOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpennebulaConfigOutput) } -func (i NotifierPagerdutyConfigArgs) ToNotifierPagerdutyConfigPtrOutput() NotifierPagerdutyConfigPtrOutput { - return i.ToNotifierPagerdutyConfigPtrOutputWithContext(context.Background()) +func (i NodeTemplateOpennebulaConfigArgs) ToNodeTemplateOpennebulaConfigPtrOutput() NodeTemplateOpennebulaConfigPtrOutput { + return i.ToNodeTemplateOpennebulaConfigPtrOutputWithContext(context.Background()) } -func (i NotifierPagerdutyConfigArgs) ToNotifierPagerdutyConfigPtrOutputWithContext(ctx context.Context) NotifierPagerdutyConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierPagerdutyConfigOutput).ToNotifierPagerdutyConfigPtrOutputWithContext(ctx) +func (i NodeTemplateOpennebulaConfigArgs) ToNodeTemplateOpennebulaConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpennebulaConfigOutput).ToNodeTemplateOpennebulaConfigPtrOutputWithContext(ctx) } -// NotifierPagerdutyConfigPtrInput is an input type that accepts NotifierPagerdutyConfigArgs, NotifierPagerdutyConfigPtr and NotifierPagerdutyConfigPtrOutput values. -// You can construct a concrete instance of `NotifierPagerdutyConfigPtrInput` via: +// NodeTemplateOpennebulaConfigPtrInput is an input type that accepts NodeTemplateOpennebulaConfigArgs, NodeTemplateOpennebulaConfigPtr and NodeTemplateOpennebulaConfigPtrOutput values. +// You can construct a concrete instance of `NodeTemplateOpennebulaConfigPtrInput` via: // -// NotifierPagerdutyConfigArgs{...} +// NodeTemplateOpennebulaConfigArgs{...} // // or: // // nil -type NotifierPagerdutyConfigPtrInput interface { +type NodeTemplateOpennebulaConfigPtrInput interface { pulumi.Input - ToNotifierPagerdutyConfigPtrOutput() NotifierPagerdutyConfigPtrOutput - ToNotifierPagerdutyConfigPtrOutputWithContext(context.Context) NotifierPagerdutyConfigPtrOutput + ToNodeTemplateOpennebulaConfigPtrOutput() NodeTemplateOpennebulaConfigPtrOutput + ToNodeTemplateOpennebulaConfigPtrOutputWithContext(context.Context) NodeTemplateOpennebulaConfigPtrOutput } -type notifierPagerdutyConfigPtrType NotifierPagerdutyConfigArgs +type nodeTemplateOpennebulaConfigPtrType NodeTemplateOpennebulaConfigArgs -func NotifierPagerdutyConfigPtr(v *NotifierPagerdutyConfigArgs) NotifierPagerdutyConfigPtrInput { - return (*notifierPagerdutyConfigPtrType)(v) +func NodeTemplateOpennebulaConfigPtr(v *NodeTemplateOpennebulaConfigArgs) NodeTemplateOpennebulaConfigPtrInput { + return (*nodeTemplateOpennebulaConfigPtrType)(v) } -func (*notifierPagerdutyConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierPagerdutyConfig)(nil)).Elem() +func (*nodeTemplateOpennebulaConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateOpennebulaConfig)(nil)).Elem() } -func (i *notifierPagerdutyConfigPtrType) ToNotifierPagerdutyConfigPtrOutput() NotifierPagerdutyConfigPtrOutput { - return i.ToNotifierPagerdutyConfigPtrOutputWithContext(context.Background()) +func (i *nodeTemplateOpennebulaConfigPtrType) ToNodeTemplateOpennebulaConfigPtrOutput() NodeTemplateOpennebulaConfigPtrOutput { + return i.ToNodeTemplateOpennebulaConfigPtrOutputWithContext(context.Background()) } -func (i *notifierPagerdutyConfigPtrType) ToNotifierPagerdutyConfigPtrOutputWithContext(ctx context.Context) NotifierPagerdutyConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierPagerdutyConfigPtrOutput) +func (i *nodeTemplateOpennebulaConfigPtrType) ToNodeTemplateOpennebulaConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpennebulaConfigPtrOutput) } -type NotifierPagerdutyConfigOutput struct{ *pulumi.OutputState } +type NodeTemplateOpennebulaConfigOutput struct{ *pulumi.OutputState } -func (NotifierPagerdutyConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierPagerdutyConfig)(nil)).Elem() +func (NodeTemplateOpennebulaConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateOpennebulaConfig)(nil)).Elem() } -func (o NotifierPagerdutyConfigOutput) ToNotifierPagerdutyConfigOutput() NotifierPagerdutyConfigOutput { +func (o NodeTemplateOpennebulaConfigOutput) ToNodeTemplateOpennebulaConfigOutput() NodeTemplateOpennebulaConfigOutput { return o } -func (o NotifierPagerdutyConfigOutput) ToNotifierPagerdutyConfigOutputWithContext(ctx context.Context) NotifierPagerdutyConfigOutput { +func (o NodeTemplateOpennebulaConfigOutput) ToNodeTemplateOpennebulaConfigOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigOutput { return o } -func (o NotifierPagerdutyConfigOutput) ToNotifierPagerdutyConfigPtrOutput() NotifierPagerdutyConfigPtrOutput { - return o.ToNotifierPagerdutyConfigPtrOutputWithContext(context.Background()) +func (o NodeTemplateOpennebulaConfigOutput) ToNodeTemplateOpennebulaConfigPtrOutput() NodeTemplateOpennebulaConfigPtrOutput { + return o.ToNodeTemplateOpennebulaConfigPtrOutputWithContext(context.Background()) } -func (o NotifierPagerdutyConfigOutput) ToNotifierPagerdutyConfigPtrOutputWithContext(ctx context.Context) NotifierPagerdutyConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierPagerdutyConfig) *NotifierPagerdutyConfig { +func (o NodeTemplateOpennebulaConfigOutput) ToNodeTemplateOpennebulaConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateOpennebulaConfig) *NodeTemplateOpennebulaConfig { return &v - }).(NotifierPagerdutyConfigPtrOutput) + }).(NodeTemplateOpennebulaConfigPtrOutput) } -// Wechat proxy url (string) -func (o NotifierPagerdutyConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotifierPagerdutyConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +// Size of the Volatile disk in MB - only for b2d (string) +func (o NodeTemplateOpennebulaConfigOutput) B2dSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.B2dSize }).(pulumi.StringPtrOutput) } -// Pagerduty service key (string) -func (o NotifierPagerdutyConfigOutput) ServiceKey() pulumi.StringOutput { - return o.ApplyT(func(v NotifierPagerdutyConfig) string { return v.ServiceKey }).(pulumi.StringOutput) +// CPU value for the VM (string) +func (o NodeTemplateOpennebulaConfigOutput) Cpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.Cpu }).(pulumi.StringPtrOutput) } -type NotifierPagerdutyConfigPtrOutput struct{ *pulumi.OutputState } +// Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string) +func (o NodeTemplateOpennebulaConfigOutput) DevPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.DevPrefix }).(pulumi.StringPtrOutput) +} -func (NotifierPagerdutyConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierPagerdutyConfig)(nil)).Elem() +// VNC is enabled by default. Disable it with this flag (bool) +func (o NodeTemplateOpennebulaConfigOutput) DisableVnc() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *bool { return v.DisableVnc }).(pulumi.BoolPtrOutput) } -func (o NotifierPagerdutyConfigPtrOutput) ToNotifierPagerdutyConfigPtrOutput() NotifierPagerdutyConfigPtrOutput { - return o +// Size of the disk for the VM in MB (string) +func (o NodeTemplateOpennebulaConfigOutput) DiskResize() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.DiskResize }).(pulumi.StringPtrOutput) } -func (o NotifierPagerdutyConfigPtrOutput) ToNotifierPagerdutyConfigPtrOutputWithContext(ctx context.Context) NotifierPagerdutyConfigPtrOutput { - return o +// OpenStack image id to use for the instance. Conflicts with `imageName` (string) +func (o NodeTemplateOpennebulaConfigOutput) ImageId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.ImageId }).(pulumi.StringPtrOutput) } -func (o NotifierPagerdutyConfigPtrOutput) Elem() NotifierPagerdutyConfigOutput { - return o.ApplyT(func(v *NotifierPagerdutyConfig) NotifierPagerdutyConfig { - if v != nil { - return *v - } - var ret NotifierPagerdutyConfig - return ret - }).(NotifierPagerdutyConfigOutput) +// OpenStack image name to use for the instance. Conflicts with `imageId` (string) +func (o NodeTemplateOpennebulaConfigOutput) ImageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.ImageName }).(pulumi.StringPtrOutput) } -// Wechat proxy url (string) -func (o NotifierPagerdutyConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierPagerdutyConfig) *string { - if v == nil { - return nil - } - return v.ProxyUrl - }).(pulumi.StringPtrOutput) +// Owner of the image to use as the VM OS (string) +func (o NodeTemplateOpennebulaConfigOutput) ImageOwner() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.ImageOwner }).(pulumi.StringPtrOutput) } -// Pagerduty service key (string) -func (o NotifierPagerdutyConfigPtrOutput) ServiceKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierPagerdutyConfig) *string { - if v == nil { - return nil - } - return &v.ServiceKey - }).(pulumi.StringPtrOutput) +// Size of the memory for the VM in MB (string) +func (o NodeTemplateOpennebulaConfigOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.Memory }).(pulumi.StringPtrOutput) } -type NotifierSlackConfig struct { - // Wechat default recipient (string) - DefaultRecipient string `pulumi:"defaultRecipient"` - // Wechat proxy url (string) - ProxyUrl *string `pulumi:"proxyUrl"` - // Webhook url (string) - Url string `pulumi:"url"` +// Opennebula network ID to connect the machine to. Conflicts with `networkName` (string) +func (o NodeTemplateOpennebulaConfigOutput) NetworkId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.NetworkId }).(pulumi.StringPtrOutput) } -// NotifierSlackConfigInput is an input type that accepts NotifierSlackConfigArgs and NotifierSlackConfigOutput values. -// You can construct a concrete instance of `NotifierSlackConfigInput` via: -// -// NotifierSlackConfigArgs{...} -type NotifierSlackConfigInput interface { - pulumi.Input +// Opennebula network to connect the machine to. Conflicts with `networkId` (string) +func (o NodeTemplateOpennebulaConfigOutput) NetworkName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.NetworkName }).(pulumi.StringPtrOutput) +} - ToNotifierSlackConfigOutput() NotifierSlackConfigOutput - ToNotifierSlackConfigOutputWithContext(context.Context) NotifierSlackConfigOutput +// Opennebula user ID of the Network to connect the machine to (string) +func (o NodeTemplateOpennebulaConfigOutput) NetworkOwner() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.NetworkOwner }).(pulumi.StringPtrOutput) } -type NotifierSlackConfigArgs struct { - // Wechat default recipient (string) - DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` - // Wechat proxy url (string) - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - // Webhook url (string) - Url pulumi.StringInput `pulumi:"url"` +// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateOpennebulaConfigOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) string { return v.Password }).(pulumi.StringOutput) } -func (NotifierSlackConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierSlackConfig)(nil)).Elem() +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateOpennebulaConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) } -func (i NotifierSlackConfigArgs) ToNotifierSlackConfigOutput() NotifierSlackConfigOutput { - return i.ToNotifierSlackConfigOutputWithContext(context.Background()) +// Opennebula template ID to use. Conflicts with `templateName` (string) +func (o NodeTemplateOpennebulaConfigOutput) TemplateId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.TemplateId }).(pulumi.StringPtrOutput) } -func (i NotifierSlackConfigArgs) ToNotifierSlackConfigOutputWithContext(ctx context.Context) NotifierSlackConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierSlackConfigOutput) +// Name of the Opennbula template to use. Conflicts with `templateId` (string) +func (o NodeTemplateOpennebulaConfigOutput) TemplateName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.TemplateName }).(pulumi.StringPtrOutput) } -func (i NotifierSlackConfigArgs) ToNotifierSlackConfigPtrOutput() NotifierSlackConfigPtrOutput { - return i.ToNotifierSlackConfigPtrOutputWithContext(context.Background()) +// Set the user for the XML-RPC API authentication (string) +func (o NodeTemplateOpennebulaConfigOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) string { return v.User }).(pulumi.StringOutput) } -func (i NotifierSlackConfigArgs) ToNotifierSlackConfigPtrOutputWithContext(ctx context.Context) NotifierSlackConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierSlackConfigOutput).ToNotifierSlackConfigPtrOutputWithContext(ctx) +// VCPUs for the VM (string) +func (o NodeTemplateOpennebulaConfigOutput) Vcpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) *string { return v.Vcpu }).(pulumi.StringPtrOutput) } -// NotifierSlackConfigPtrInput is an input type that accepts NotifierSlackConfigArgs, NotifierSlackConfigPtr and NotifierSlackConfigPtrOutput values. -// You can construct a concrete instance of `NotifierSlackConfigPtrInput` via: -// -// NotifierSlackConfigArgs{...} -// -// or: -// -// nil -type NotifierSlackConfigPtrInput interface { - pulumi.Input +// Set the url for the Opennebula XML-RPC API (string) +func (o NodeTemplateOpennebulaConfigOutput) XmlRpcUrl() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateOpennebulaConfig) string { return v.XmlRpcUrl }).(pulumi.StringOutput) +} - ToNotifierSlackConfigPtrOutput() NotifierSlackConfigPtrOutput - ToNotifierSlackConfigPtrOutputWithContext(context.Context) NotifierSlackConfigPtrOutput +type NodeTemplateOpennebulaConfigPtrOutput struct{ *pulumi.OutputState } + +func (NodeTemplateOpennebulaConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateOpennebulaConfig)(nil)).Elem() } -type notifierSlackConfigPtrType NotifierSlackConfigArgs +func (o NodeTemplateOpennebulaConfigPtrOutput) ToNodeTemplateOpennebulaConfigPtrOutput() NodeTemplateOpennebulaConfigPtrOutput { + return o +} -func NotifierSlackConfigPtr(v *NotifierSlackConfigArgs) NotifierSlackConfigPtrInput { - return (*notifierSlackConfigPtrType)(v) +func (o NodeTemplateOpennebulaConfigPtrOutput) ToNodeTemplateOpennebulaConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpennebulaConfigPtrOutput { + return o } -func (*notifierSlackConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierSlackConfig)(nil)).Elem() +func (o NodeTemplateOpennebulaConfigPtrOutput) Elem() NodeTemplateOpennebulaConfigOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) NodeTemplateOpennebulaConfig { + if v != nil { + return *v + } + var ret NodeTemplateOpennebulaConfig + return ret + }).(NodeTemplateOpennebulaConfigOutput) } -func (i *notifierSlackConfigPtrType) ToNotifierSlackConfigPtrOutput() NotifierSlackConfigPtrOutput { - return i.ToNotifierSlackConfigPtrOutputWithContext(context.Background()) +// Size of the Volatile disk in MB - only for b2d (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) B2dSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.B2dSize + }).(pulumi.StringPtrOutput) } -func (i *notifierSlackConfigPtrType) ToNotifierSlackConfigPtrOutputWithContext(ctx context.Context) NotifierSlackConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierSlackConfigPtrOutput) +// CPU value for the VM (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) Cpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.Cpu + }).(pulumi.StringPtrOutput) } -type NotifierSlackConfigOutput struct{ *pulumi.OutputState } +// Dev prefix to use for the images. E.g.: 'vd', 'sd', 'hd' (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) DevPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.DevPrefix + }).(pulumi.StringPtrOutput) +} -func (NotifierSlackConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierSlackConfig)(nil)).Elem() +// VNC is enabled by default. Disable it with this flag (bool) +func (o NodeTemplateOpennebulaConfigPtrOutput) DisableVnc() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *bool { + if v == nil { + return nil + } + return v.DisableVnc + }).(pulumi.BoolPtrOutput) } -func (o NotifierSlackConfigOutput) ToNotifierSlackConfigOutput() NotifierSlackConfigOutput { - return o +// Size of the disk for the VM in MB (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) DiskResize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.DiskResize + }).(pulumi.StringPtrOutput) } -func (o NotifierSlackConfigOutput) ToNotifierSlackConfigOutputWithContext(ctx context.Context) NotifierSlackConfigOutput { - return o +// OpenStack image id to use for the instance. Conflicts with `imageName` (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) ImageId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.ImageId + }).(pulumi.StringPtrOutput) } -func (o NotifierSlackConfigOutput) ToNotifierSlackConfigPtrOutput() NotifierSlackConfigPtrOutput { - return o.ToNotifierSlackConfigPtrOutputWithContext(context.Background()) +// OpenStack image name to use for the instance. Conflicts with `imageId` (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) ImageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.ImageName + }).(pulumi.StringPtrOutput) } -func (o NotifierSlackConfigOutput) ToNotifierSlackConfigPtrOutputWithContext(ctx context.Context) NotifierSlackConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierSlackConfig) *NotifierSlackConfig { - return &v - }).(NotifierSlackConfigPtrOutput) +// Owner of the image to use as the VM OS (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) ImageOwner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.ImageOwner + }).(pulumi.StringPtrOutput) } -// Wechat default recipient (string) -func (o NotifierSlackConfigOutput) DefaultRecipient() pulumi.StringOutput { - return o.ApplyT(func(v NotifierSlackConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) +// Size of the memory for the VM in MB (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) Memory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.Memory + }).(pulumi.StringPtrOutput) } -// Wechat proxy url (string) -func (o NotifierSlackConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotifierSlackConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +// Opennebula network ID to connect the machine to. Conflicts with `networkName` (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) NetworkId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.NetworkId + }).(pulumi.StringPtrOutput) } -// Webhook url (string) -func (o NotifierSlackConfigOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v NotifierSlackConfig) string { return v.Url }).(pulumi.StringOutput) +// Opennebula network to connect the machine to. Conflicts with `networkId` (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) NetworkName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.NetworkName + }).(pulumi.StringPtrOutput) } -type NotifierSlackConfigPtrOutput struct{ *pulumi.OutputState } +// Opennebula user ID of the Network to connect the machine to (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) NetworkOwner() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.NetworkOwner + }).(pulumi.StringPtrOutput) +} -func (NotifierSlackConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierSlackConfig)(nil)).Elem() +// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) } -func (o NotifierSlackConfigPtrOutput) ToNotifierSlackConfigPtrOutput() NotifierSlackConfigPtrOutput { - return o +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.SshUser + }).(pulumi.StringPtrOutput) } -func (o NotifierSlackConfigPtrOutput) ToNotifierSlackConfigPtrOutputWithContext(ctx context.Context) NotifierSlackConfigPtrOutput { - return o +// Opennebula template ID to use. Conflicts with `templateName` (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) TemplateId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil + } + return v.TemplateId + }).(pulumi.StringPtrOutput) } -func (o NotifierSlackConfigPtrOutput) Elem() NotifierSlackConfigOutput { - return o.ApplyT(func(v *NotifierSlackConfig) NotifierSlackConfig { - if v != nil { - return *v +// Name of the Opennbula template to use. Conflicts with `templateId` (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) TemplateName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { + if v == nil { + return nil } - var ret NotifierSlackConfig - return ret - }).(NotifierSlackConfigOutput) + return v.TemplateName + }).(pulumi.StringPtrOutput) } -// Wechat default recipient (string) -func (o NotifierSlackConfigPtrOutput) DefaultRecipient() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierSlackConfig) *string { +// Set the user for the XML-RPC API authentication (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { if v == nil { return nil } - return &v.DefaultRecipient + return &v.User }).(pulumi.StringPtrOutput) } -// Wechat proxy url (string) -func (o NotifierSlackConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierSlackConfig) *string { +// VCPUs for the VM (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) Vcpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { if v == nil { return nil } - return v.ProxyUrl + return v.Vcpu }).(pulumi.StringPtrOutput) } -// Webhook url (string) -func (o NotifierSlackConfigPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierSlackConfig) *string { +// Set the url for the Opennebula XML-RPC API (string) +func (o NodeTemplateOpennebulaConfigPtrOutput) XmlRpcUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpennebulaConfig) *string { if v == nil { return nil } - return &v.Url + return &v.XmlRpcUrl }).(pulumi.StringPtrOutput) } -type NotifierSmtpConfig struct { - // Wechat default recipient (string) - DefaultRecipient string `pulumi:"defaultRecipient"` - // SMTP host (string) - Host string `pulumi:"host"` - // SMTP password (string) +type NodeTemplateOpenstackConfig struct { + // OpenStack active timeout Default `200` (string) + ActiveTimeout *string `pulumi:"activeTimeout"` + // OpenStack application credential id. Conflicts with `applicationCredentialName` (string) + ApplicationCredentialId *string `pulumi:"applicationCredentialId"` + // OpenStack application credential name. Conflicts with `applicationCredentialId` (string) + ApplicationCredentialName *string `pulumi:"applicationCredentialName"` + // OpenStack application credential secret (string) + ApplicationCredentialSecret *string `pulumi:"applicationCredentialSecret"` + // OpenStack authentication URL (string) + AuthUrl string `pulumi:"authUrl"` + // OpenStack availability zone (string) + AvailabilityZone string `pulumi:"availabilityZone"` + // Enable booting from volume. Default is `false` (bool) + BootFromVolume *bool `pulumi:"bootFromVolume"` + // CA certificate bundle to verify against (string) + Cacert *string `pulumi:"cacert"` + // Enables the OpenStack config drive for the instance. Default `false` (bool) + ConfigDrive *bool `pulumi:"configDrive"` + // OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) + DomainId *string `pulumi:"domainId"` + // OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) + DomainName *string `pulumi:"domainName"` + // OpenStack endpoint type. adminURL, internalURL or publicURL (string) + EndpointType *string `pulumi:"endpointType"` + // OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) + FlavorId *string `pulumi:"flavorId"` + // OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) + FlavorName *string `pulumi:"flavorName"` + // OpenStack floating IP pool to get an IP from to assign to the instance (string) + FloatingIpPool *string `pulumi:"floatingIpPool"` + // OpenStack image id to use for the instance. Conflicts with `imageName` (string) + ImageId *string `pulumi:"imageId"` + // OpenStack image name to use for the instance. Conflicts with `imageId` (string) + ImageName *string `pulumi:"imageName"` + // Disable TLS credential checking. Default `false` (bool) + Insecure *bool `pulumi:"insecure"` + // OpenStack version of IP address assigned for the machine Default `4` (string) + IpVersion *string `pulumi:"ipVersion"` + // OpenStack keypair to use to SSH to the instance (string) + KeypairName *string `pulumi:"keypairName"` + // OpenStack network id the machine will be connected on. Conflicts with `netName` (string) + NetId *string `pulumi:"netId"` + // OpenStack network name the machine will be connected on. Conflicts with `netId` (string) + NetName *string `pulumi:"netName"` + // Use the nova networking services instead of neutron (string) + NovaNetwork *bool `pulumi:"novaNetwork"` + // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) Password *string `pulumi:"password"` - // SMTP port (int) - Port int `pulumi:"port"` - // SMTP sender (string) - Sender string `pulumi:"sender"` - // SMTP tls. Default `true` (bool) - Tls *bool `pulumi:"tls"` - // SMTP username (string) + // Private key content to use for SSH (string) + PrivateKeyFile *string `pulumi:"privateKeyFile"` + // AWS region. Default `eu-west-2` (string) + Region string `pulumi:"region"` + // OpenStack comma separated security groups for the machine (string) + SecGroups *string `pulumi:"secGroups"` + // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) + SshPort *string `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser *string `pulumi:"sshUser"` + // OpenStack tenant id. Conflicts with `tenantName` (string) + TenantId *string `pulumi:"tenantId"` + // OpenStack tenant name. Conflicts with `tenantId` (string) + TenantName *string `pulumi:"tenantName"` + // File containing an openstack userdata script (string) + UserDataFile *string `pulumi:"userDataFile"` + // vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) Username *string `pulumi:"username"` + // OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) + VolumeDevicePath *string `pulumi:"volumeDevicePath"` + // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) + VolumeId *string `pulumi:"volumeId"` + // OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) + VolumeName *string `pulumi:"volumeName"` + // OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) + VolumeSize *string `pulumi:"volumeSize"` + // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) + VolumeType *string `pulumi:"volumeType"` } -// NotifierSmtpConfigInput is an input type that accepts NotifierSmtpConfigArgs and NotifierSmtpConfigOutput values. -// You can construct a concrete instance of `NotifierSmtpConfigInput` via: +// NodeTemplateOpenstackConfigInput is an input type that accepts NodeTemplateOpenstackConfigArgs and NodeTemplateOpenstackConfigOutput values. +// You can construct a concrete instance of `NodeTemplateOpenstackConfigInput` via: // -// NotifierSmtpConfigArgs{...} -type NotifierSmtpConfigInput interface { +// NodeTemplateOpenstackConfigArgs{...} +type NodeTemplateOpenstackConfigInput interface { pulumi.Input - ToNotifierSmtpConfigOutput() NotifierSmtpConfigOutput - ToNotifierSmtpConfigOutputWithContext(context.Context) NotifierSmtpConfigOutput + ToNodeTemplateOpenstackConfigOutput() NodeTemplateOpenstackConfigOutput + ToNodeTemplateOpenstackConfigOutputWithContext(context.Context) NodeTemplateOpenstackConfigOutput } -type NotifierSmtpConfigArgs struct { - // Wechat default recipient (string) - DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` - // SMTP host (string) - Host pulumi.StringInput `pulumi:"host"` - // SMTP password (string) +type NodeTemplateOpenstackConfigArgs struct { + // OpenStack active timeout Default `200` (string) + ActiveTimeout pulumi.StringPtrInput `pulumi:"activeTimeout"` + // OpenStack application credential id. Conflicts with `applicationCredentialName` (string) + ApplicationCredentialId pulumi.StringPtrInput `pulumi:"applicationCredentialId"` + // OpenStack application credential name. Conflicts with `applicationCredentialId` (string) + ApplicationCredentialName pulumi.StringPtrInput `pulumi:"applicationCredentialName"` + // OpenStack application credential secret (string) + ApplicationCredentialSecret pulumi.StringPtrInput `pulumi:"applicationCredentialSecret"` + // OpenStack authentication URL (string) + AuthUrl pulumi.StringInput `pulumi:"authUrl"` + // OpenStack availability zone (string) + AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` + // Enable booting from volume. Default is `false` (bool) + BootFromVolume pulumi.BoolPtrInput `pulumi:"bootFromVolume"` + // CA certificate bundle to verify against (string) + Cacert pulumi.StringPtrInput `pulumi:"cacert"` + // Enables the OpenStack config drive for the instance. Default `false` (bool) + ConfigDrive pulumi.BoolPtrInput `pulumi:"configDrive"` + // OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) + DomainId pulumi.StringPtrInput `pulumi:"domainId"` + // OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) + DomainName pulumi.StringPtrInput `pulumi:"domainName"` + // OpenStack endpoint type. adminURL, internalURL or publicURL (string) + EndpointType pulumi.StringPtrInput `pulumi:"endpointType"` + // OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) + FlavorId pulumi.StringPtrInput `pulumi:"flavorId"` + // OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) + FlavorName pulumi.StringPtrInput `pulumi:"flavorName"` + // OpenStack floating IP pool to get an IP from to assign to the instance (string) + FloatingIpPool pulumi.StringPtrInput `pulumi:"floatingIpPool"` + // OpenStack image id to use for the instance. Conflicts with `imageName` (string) + ImageId pulumi.StringPtrInput `pulumi:"imageId"` + // OpenStack image name to use for the instance. Conflicts with `imageId` (string) + ImageName pulumi.StringPtrInput `pulumi:"imageName"` + // Disable TLS credential checking. Default `false` (bool) + Insecure pulumi.BoolPtrInput `pulumi:"insecure"` + // OpenStack version of IP address assigned for the machine Default `4` (string) + IpVersion pulumi.StringPtrInput `pulumi:"ipVersion"` + // OpenStack keypair to use to SSH to the instance (string) + KeypairName pulumi.StringPtrInput `pulumi:"keypairName"` + // OpenStack network id the machine will be connected on. Conflicts with `netName` (string) + NetId pulumi.StringPtrInput `pulumi:"netId"` + // OpenStack network name the machine will be connected on. Conflicts with `netId` (string) + NetName pulumi.StringPtrInput `pulumi:"netName"` + // Use the nova networking services instead of neutron (string) + NovaNetwork pulumi.BoolPtrInput `pulumi:"novaNetwork"` + // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) Password pulumi.StringPtrInput `pulumi:"password"` - // SMTP port (int) - Port pulumi.IntInput `pulumi:"port"` - // SMTP sender (string) - Sender pulumi.StringInput `pulumi:"sender"` - // SMTP tls. Default `true` (bool) - Tls pulumi.BoolPtrInput `pulumi:"tls"` - // SMTP username (string) + // Private key content to use for SSH (string) + PrivateKeyFile pulumi.StringPtrInput `pulumi:"privateKeyFile"` + // AWS region. Default `eu-west-2` (string) + Region pulumi.StringInput `pulumi:"region"` + // OpenStack comma separated security groups for the machine (string) + SecGroups pulumi.StringPtrInput `pulumi:"secGroups"` + // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) + SshPort pulumi.StringPtrInput `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser pulumi.StringPtrInput `pulumi:"sshUser"` + // OpenStack tenant id. Conflicts with `tenantName` (string) + TenantId pulumi.StringPtrInput `pulumi:"tenantId"` + // OpenStack tenant name. Conflicts with `tenantId` (string) + TenantName pulumi.StringPtrInput `pulumi:"tenantName"` + // File containing an openstack userdata script (string) + UserDataFile pulumi.StringPtrInput `pulumi:"userDataFile"` + // vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) Username pulumi.StringPtrInput `pulumi:"username"` + // OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) + VolumeDevicePath pulumi.StringPtrInput `pulumi:"volumeDevicePath"` + // OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) + VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` + // OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) + VolumeName pulumi.StringPtrInput `pulumi:"volumeName"` + // OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) + VolumeSize pulumi.StringPtrInput `pulumi:"volumeSize"` + // OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) + VolumeType pulumi.StringPtrInput `pulumi:"volumeType"` } -func (NotifierSmtpConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierSmtpConfig)(nil)).Elem() +func (NodeTemplateOpenstackConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateOpenstackConfig)(nil)).Elem() } -func (i NotifierSmtpConfigArgs) ToNotifierSmtpConfigOutput() NotifierSmtpConfigOutput { - return i.ToNotifierSmtpConfigOutputWithContext(context.Background()) +func (i NodeTemplateOpenstackConfigArgs) ToNodeTemplateOpenstackConfigOutput() NodeTemplateOpenstackConfigOutput { + return i.ToNodeTemplateOpenstackConfigOutputWithContext(context.Background()) } -func (i NotifierSmtpConfigArgs) ToNotifierSmtpConfigOutputWithContext(ctx context.Context) NotifierSmtpConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierSmtpConfigOutput) +func (i NodeTemplateOpenstackConfigArgs) ToNodeTemplateOpenstackConfigOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpenstackConfigOutput) } -func (i NotifierSmtpConfigArgs) ToNotifierSmtpConfigPtrOutput() NotifierSmtpConfigPtrOutput { - return i.ToNotifierSmtpConfigPtrOutputWithContext(context.Background()) +func (i NodeTemplateOpenstackConfigArgs) ToNodeTemplateOpenstackConfigPtrOutput() NodeTemplateOpenstackConfigPtrOutput { + return i.ToNodeTemplateOpenstackConfigPtrOutputWithContext(context.Background()) } -func (i NotifierSmtpConfigArgs) ToNotifierSmtpConfigPtrOutputWithContext(ctx context.Context) NotifierSmtpConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierSmtpConfigOutput).ToNotifierSmtpConfigPtrOutputWithContext(ctx) +func (i NodeTemplateOpenstackConfigArgs) ToNodeTemplateOpenstackConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpenstackConfigOutput).ToNodeTemplateOpenstackConfigPtrOutputWithContext(ctx) } -// NotifierSmtpConfigPtrInput is an input type that accepts NotifierSmtpConfigArgs, NotifierSmtpConfigPtr and NotifierSmtpConfigPtrOutput values. -// You can construct a concrete instance of `NotifierSmtpConfigPtrInput` via: +// NodeTemplateOpenstackConfigPtrInput is an input type that accepts NodeTemplateOpenstackConfigArgs, NodeTemplateOpenstackConfigPtr and NodeTemplateOpenstackConfigPtrOutput values. +// You can construct a concrete instance of `NodeTemplateOpenstackConfigPtrInput` via: // -// NotifierSmtpConfigArgs{...} +// NodeTemplateOpenstackConfigArgs{...} // // or: // // nil -type NotifierSmtpConfigPtrInput interface { +type NodeTemplateOpenstackConfigPtrInput interface { pulumi.Input - ToNotifierSmtpConfigPtrOutput() NotifierSmtpConfigPtrOutput - ToNotifierSmtpConfigPtrOutputWithContext(context.Context) NotifierSmtpConfigPtrOutput + ToNodeTemplateOpenstackConfigPtrOutput() NodeTemplateOpenstackConfigPtrOutput + ToNodeTemplateOpenstackConfigPtrOutputWithContext(context.Context) NodeTemplateOpenstackConfigPtrOutput } -type notifierSmtpConfigPtrType NotifierSmtpConfigArgs +type nodeTemplateOpenstackConfigPtrType NodeTemplateOpenstackConfigArgs -func NotifierSmtpConfigPtr(v *NotifierSmtpConfigArgs) NotifierSmtpConfigPtrInput { - return (*notifierSmtpConfigPtrType)(v) +func NodeTemplateOpenstackConfigPtr(v *NodeTemplateOpenstackConfigArgs) NodeTemplateOpenstackConfigPtrInput { + return (*nodeTemplateOpenstackConfigPtrType)(v) } -func (*notifierSmtpConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierSmtpConfig)(nil)).Elem() +func (*nodeTemplateOpenstackConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateOpenstackConfig)(nil)).Elem() } -func (i *notifierSmtpConfigPtrType) ToNotifierSmtpConfigPtrOutput() NotifierSmtpConfigPtrOutput { - return i.ToNotifierSmtpConfigPtrOutputWithContext(context.Background()) +func (i *nodeTemplateOpenstackConfigPtrType) ToNodeTemplateOpenstackConfigPtrOutput() NodeTemplateOpenstackConfigPtrOutput { + return i.ToNodeTemplateOpenstackConfigPtrOutputWithContext(context.Background()) } -func (i *notifierSmtpConfigPtrType) ToNotifierSmtpConfigPtrOutputWithContext(ctx context.Context) NotifierSmtpConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierSmtpConfigPtrOutput) +func (i *nodeTemplateOpenstackConfigPtrType) ToNodeTemplateOpenstackConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOpenstackConfigPtrOutput) } -type NotifierSmtpConfigOutput struct{ *pulumi.OutputState } +type NodeTemplateOpenstackConfigOutput struct{ *pulumi.OutputState } -func (NotifierSmtpConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierSmtpConfig)(nil)).Elem() +func (NodeTemplateOpenstackConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateOpenstackConfig)(nil)).Elem() } -func (o NotifierSmtpConfigOutput) ToNotifierSmtpConfigOutput() NotifierSmtpConfigOutput { +func (o NodeTemplateOpenstackConfigOutput) ToNodeTemplateOpenstackConfigOutput() NodeTemplateOpenstackConfigOutput { return o } -func (o NotifierSmtpConfigOutput) ToNotifierSmtpConfigOutputWithContext(ctx context.Context) NotifierSmtpConfigOutput { +func (o NodeTemplateOpenstackConfigOutput) ToNodeTemplateOpenstackConfigOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigOutput { return o } -func (o NotifierSmtpConfigOutput) ToNotifierSmtpConfigPtrOutput() NotifierSmtpConfigPtrOutput { - return o.ToNotifierSmtpConfigPtrOutputWithContext(context.Background()) +func (o NodeTemplateOpenstackConfigOutput) ToNodeTemplateOpenstackConfigPtrOutput() NodeTemplateOpenstackConfigPtrOutput { + return o.ToNodeTemplateOpenstackConfigPtrOutputWithContext(context.Background()) } -func (o NotifierSmtpConfigOutput) ToNotifierSmtpConfigPtrOutputWithContext(ctx context.Context) NotifierSmtpConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierSmtpConfig) *NotifierSmtpConfig { +func (o NodeTemplateOpenstackConfigOutput) ToNodeTemplateOpenstackConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateOpenstackConfig) *NodeTemplateOpenstackConfig { return &v - }).(NotifierSmtpConfigPtrOutput) + }).(NodeTemplateOpenstackConfigPtrOutput) } -// Wechat default recipient (string) -func (o NotifierSmtpConfigOutput) DefaultRecipient() pulumi.StringOutput { - return o.ApplyT(func(v NotifierSmtpConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) +// OpenStack active timeout Default `200` (string) +func (o NodeTemplateOpenstackConfigOutput) ActiveTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ActiveTimeout }).(pulumi.StringPtrOutput) } -// SMTP host (string) -func (o NotifierSmtpConfigOutput) Host() pulumi.StringOutput { - return o.ApplyT(func(v NotifierSmtpConfig) string { return v.Host }).(pulumi.StringOutput) +// OpenStack application credential id. Conflicts with `applicationCredentialName` (string) +func (o NodeTemplateOpenstackConfigOutput) ApplicationCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ApplicationCredentialId }).(pulumi.StringPtrOutput) } -// SMTP password (string) -func (o NotifierSmtpConfigOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotifierSmtpConfig) *string { return v.Password }).(pulumi.StringPtrOutput) +// OpenStack application credential name. Conflicts with `applicationCredentialId` (string) +func (o NodeTemplateOpenstackConfigOutput) ApplicationCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ApplicationCredentialName }).(pulumi.StringPtrOutput) } -// SMTP port (int) -func (o NotifierSmtpConfigOutput) Port() pulumi.IntOutput { - return o.ApplyT(func(v NotifierSmtpConfig) int { return v.Port }).(pulumi.IntOutput) +// OpenStack application credential secret (string) +func (o NodeTemplateOpenstackConfigOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ApplicationCredentialSecret }).(pulumi.StringPtrOutput) } -// SMTP sender (string) -func (o NotifierSmtpConfigOutput) Sender() pulumi.StringOutput { - return o.ApplyT(func(v NotifierSmtpConfig) string { return v.Sender }).(pulumi.StringOutput) +// OpenStack authentication URL (string) +func (o NodeTemplateOpenstackConfigOutput) AuthUrl() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) string { return v.AuthUrl }).(pulumi.StringOutput) } -// SMTP tls. Default `true` (bool) -func (o NotifierSmtpConfigOutput) Tls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v NotifierSmtpConfig) *bool { return v.Tls }).(pulumi.BoolPtrOutput) +// OpenStack availability zone (string) +func (o NodeTemplateOpenstackConfigOutput) AvailabilityZone() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) string { return v.AvailabilityZone }).(pulumi.StringOutput) } -// SMTP username (string) -func (o NotifierSmtpConfigOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotifierSmtpConfig) *string { return v.Username }).(pulumi.StringPtrOutput) +// Enable booting from volume. Default is `false` (bool) +func (o NodeTemplateOpenstackConfigOutput) BootFromVolume() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *bool { return v.BootFromVolume }).(pulumi.BoolPtrOutput) } -type NotifierSmtpConfigPtrOutput struct{ *pulumi.OutputState } - -func (NotifierSmtpConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierSmtpConfig)(nil)).Elem() +// CA certificate bundle to verify against (string) +func (o NodeTemplateOpenstackConfigOutput) Cacert() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.Cacert }).(pulumi.StringPtrOutput) } -func (o NotifierSmtpConfigPtrOutput) ToNotifierSmtpConfigPtrOutput() NotifierSmtpConfigPtrOutput { - return o +// Enables the OpenStack config drive for the instance. Default `false` (bool) +func (o NodeTemplateOpenstackConfigOutput) ConfigDrive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *bool { return v.ConfigDrive }).(pulumi.BoolPtrOutput) } -func (o NotifierSmtpConfigPtrOutput) ToNotifierSmtpConfigPtrOutputWithContext(ctx context.Context) NotifierSmtpConfigPtrOutput { - return o +// OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) +func (o NodeTemplateOpenstackConfigOutput) DomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.DomainId }).(pulumi.StringPtrOutput) } -func (o NotifierSmtpConfigPtrOutput) Elem() NotifierSmtpConfigOutput { - return o.ApplyT(func(v *NotifierSmtpConfig) NotifierSmtpConfig { - if v != nil { - return *v - } - var ret NotifierSmtpConfig - return ret - }).(NotifierSmtpConfigOutput) +// OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) +func (o NodeTemplateOpenstackConfigOutput) DomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.DomainName }).(pulumi.StringPtrOutput) } -// Wechat default recipient (string) -func (o NotifierSmtpConfigPtrOutput) DefaultRecipient() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierSmtpConfig) *string { - if v == nil { - return nil - } - return &v.DefaultRecipient - }).(pulumi.StringPtrOutput) +// OpenStack endpoint type. adminURL, internalURL or publicURL (string) +func (o NodeTemplateOpenstackConfigOutput) EndpointType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.EndpointType }).(pulumi.StringPtrOutput) } -// SMTP host (string) -func (o NotifierSmtpConfigPtrOutput) Host() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierSmtpConfig) *string { - if v == nil { - return nil - } - return &v.Host - }).(pulumi.StringPtrOutput) +// OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) +func (o NodeTemplateOpenstackConfigOutput) FlavorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.FlavorId }).(pulumi.StringPtrOutput) } -// SMTP password (string) -func (o NotifierSmtpConfigPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierSmtpConfig) *string { - if v == nil { - return nil - } - return v.Password - }).(pulumi.StringPtrOutput) +// OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) +func (o NodeTemplateOpenstackConfigOutput) FlavorName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.FlavorName }).(pulumi.StringPtrOutput) } -// SMTP port (int) -func (o NotifierSmtpConfigPtrOutput) Port() pulumi.IntPtrOutput { - return o.ApplyT(func(v *NotifierSmtpConfig) *int { - if v == nil { - return nil - } - return &v.Port - }).(pulumi.IntPtrOutput) +// OpenStack floating IP pool to get an IP from to assign to the instance (string) +func (o NodeTemplateOpenstackConfigOutput) FloatingIpPool() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.FloatingIpPool }).(pulumi.StringPtrOutput) } -// SMTP sender (string) -func (o NotifierSmtpConfigPtrOutput) Sender() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierSmtpConfig) *string { - if v == nil { - return nil - } - return &v.Sender - }).(pulumi.StringPtrOutput) +// OpenStack image id to use for the instance. Conflicts with `imageName` (string) +func (o NodeTemplateOpenstackConfigOutput) ImageId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ImageId }).(pulumi.StringPtrOutput) } -// SMTP tls. Default `true` (bool) -func (o NotifierSmtpConfigPtrOutput) Tls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *NotifierSmtpConfig) *bool { - if v == nil { - return nil - } - return v.Tls - }).(pulumi.BoolPtrOutput) +// OpenStack image name to use for the instance. Conflicts with `imageId` (string) +func (o NodeTemplateOpenstackConfigOutput) ImageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.ImageName }).(pulumi.StringPtrOutput) } -// SMTP username (string) -func (o NotifierSmtpConfigPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierSmtpConfig) *string { - if v == nil { - return nil - } - return v.Username - }).(pulumi.StringPtrOutput) +// Disable TLS credential checking. Default `false` (bool) +func (o NodeTemplateOpenstackConfigOutput) Insecure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *bool { return v.Insecure }).(pulumi.BoolPtrOutput) } -type NotifierWebhookConfig struct { - // Wechat proxy url (string) - ProxyUrl *string `pulumi:"proxyUrl"` - // Webhook url (string) - Url string `pulumi:"url"` +// OpenStack version of IP address assigned for the machine Default `4` (string) +func (o NodeTemplateOpenstackConfigOutput) IpVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.IpVersion }).(pulumi.StringPtrOutput) } -// NotifierWebhookConfigInput is an input type that accepts NotifierWebhookConfigArgs and NotifierWebhookConfigOutput values. -// You can construct a concrete instance of `NotifierWebhookConfigInput` via: -// -// NotifierWebhookConfigArgs{...} -type NotifierWebhookConfigInput interface { - pulumi.Input - - ToNotifierWebhookConfigOutput() NotifierWebhookConfigOutput - ToNotifierWebhookConfigOutputWithContext(context.Context) NotifierWebhookConfigOutput +// OpenStack keypair to use to SSH to the instance (string) +func (o NodeTemplateOpenstackConfigOutput) KeypairName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.KeypairName }).(pulumi.StringPtrOutput) } -type NotifierWebhookConfigArgs struct { - // Wechat proxy url (string) - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - // Webhook url (string) - Url pulumi.StringInput `pulumi:"url"` +// OpenStack network id the machine will be connected on. Conflicts with `netName` (string) +func (o NodeTemplateOpenstackConfigOutput) NetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.NetId }).(pulumi.StringPtrOutput) } -func (NotifierWebhookConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierWebhookConfig)(nil)).Elem() +// OpenStack network name the machine will be connected on. Conflicts with `netId` (string) +func (o NodeTemplateOpenstackConfigOutput) NetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.NetName }).(pulumi.StringPtrOutput) } -func (i NotifierWebhookConfigArgs) ToNotifierWebhookConfigOutput() NotifierWebhookConfigOutput { - return i.ToNotifierWebhookConfigOutputWithContext(context.Background()) +// Use the nova networking services instead of neutron (string) +func (o NodeTemplateOpenstackConfigOutput) NovaNetwork() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *bool { return v.NovaNetwork }).(pulumi.BoolPtrOutput) } -func (i NotifierWebhookConfigArgs) ToNotifierWebhookConfigOutputWithContext(ctx context.Context) NotifierWebhookConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierWebhookConfigOutput) +// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateOpenstackConfigOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (i NotifierWebhookConfigArgs) ToNotifierWebhookConfigPtrOutput() NotifierWebhookConfigPtrOutput { - return i.ToNotifierWebhookConfigPtrOutputWithContext(context.Background()) +// Private key content to use for SSH (string) +func (o NodeTemplateOpenstackConfigOutput) PrivateKeyFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.PrivateKeyFile }).(pulumi.StringPtrOutput) } -func (i NotifierWebhookConfigArgs) ToNotifierWebhookConfigPtrOutputWithContext(ctx context.Context) NotifierWebhookConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierWebhookConfigOutput).ToNotifierWebhookConfigPtrOutputWithContext(ctx) +// AWS region. Default `eu-west-2` (string) +func (o NodeTemplateOpenstackConfigOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) string { return v.Region }).(pulumi.StringOutput) } -// NotifierWebhookConfigPtrInput is an input type that accepts NotifierWebhookConfigArgs, NotifierWebhookConfigPtr and NotifierWebhookConfigPtrOutput values. -// You can construct a concrete instance of `NotifierWebhookConfigPtrInput` via: -// -// NotifierWebhookConfigArgs{...} -// -// or: -// -// nil -type NotifierWebhookConfigPtrInput interface { - pulumi.Input - - ToNotifierWebhookConfigPtrOutput() NotifierWebhookConfigPtrOutput - ToNotifierWebhookConfigPtrOutputWithContext(context.Context) NotifierWebhookConfigPtrOutput +// OpenStack comma separated security groups for the machine (string) +func (o NodeTemplateOpenstackConfigOutput) SecGroups() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.SecGroups }).(pulumi.StringPtrOutput) } -type notifierWebhookConfigPtrType NotifierWebhookConfigArgs - -func NotifierWebhookConfigPtr(v *NotifierWebhookConfigArgs) NotifierWebhookConfigPtrInput { - return (*notifierWebhookConfigPtrType)(v) +// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) +func (o NodeTemplateOpenstackConfigOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) } -func (*notifierWebhookConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierWebhookConfig)(nil)).Elem() +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateOpenstackConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) } -func (i *notifierWebhookConfigPtrType) ToNotifierWebhookConfigPtrOutput() NotifierWebhookConfigPtrOutput { - return i.ToNotifierWebhookConfigPtrOutputWithContext(context.Background()) +// OpenStack tenant id. Conflicts with `tenantName` (string) +func (o NodeTemplateOpenstackConfigOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.TenantId }).(pulumi.StringPtrOutput) } -func (i *notifierWebhookConfigPtrType) ToNotifierWebhookConfigPtrOutputWithContext(ctx context.Context) NotifierWebhookConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierWebhookConfigPtrOutput) +// OpenStack tenant name. Conflicts with `tenantId` (string) +func (o NodeTemplateOpenstackConfigOutput) TenantName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.TenantName }).(pulumi.StringPtrOutput) } -type NotifierWebhookConfigOutput struct{ *pulumi.OutputState } - -func (NotifierWebhookConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierWebhookConfig)(nil)).Elem() +// File containing an openstack userdata script (string) +func (o NodeTemplateOpenstackConfigOutput) UserDataFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.UserDataFile }).(pulumi.StringPtrOutput) } -func (o NotifierWebhookConfigOutput) ToNotifierWebhookConfigOutput() NotifierWebhookConfigOutput { - return o +// vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateOpenstackConfigOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o NotifierWebhookConfigOutput) ToNotifierWebhookConfigOutputWithContext(ctx context.Context) NotifierWebhookConfigOutput { - return o +// OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) +func (o NodeTemplateOpenstackConfigOutput) VolumeDevicePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeDevicePath }).(pulumi.StringPtrOutput) } -func (o NotifierWebhookConfigOutput) ToNotifierWebhookConfigPtrOutput() NotifierWebhookConfigPtrOutput { - return o.ToNotifierWebhookConfigPtrOutputWithContext(context.Background()) +// OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) +func (o NodeTemplateOpenstackConfigOutput) VolumeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeId }).(pulumi.StringPtrOutput) } -func (o NotifierWebhookConfigOutput) ToNotifierWebhookConfigPtrOutputWithContext(ctx context.Context) NotifierWebhookConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierWebhookConfig) *NotifierWebhookConfig { - return &v - }).(NotifierWebhookConfigPtrOutput) +// OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) +func (o NodeTemplateOpenstackConfigOutput) VolumeName() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeName }).(pulumi.StringPtrOutput) } -// Wechat proxy url (string) -func (o NotifierWebhookConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotifierWebhookConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +// OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) +func (o NodeTemplateOpenstackConfigOutput) VolumeSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeSize }).(pulumi.StringPtrOutput) } -// Webhook url (string) -func (o NotifierWebhookConfigOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v NotifierWebhookConfig) string { return v.Url }).(pulumi.StringOutput) +// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) +func (o NodeTemplateOpenstackConfigOutput) VolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOpenstackConfig) *string { return v.VolumeType }).(pulumi.StringPtrOutput) } -type NotifierWebhookConfigPtrOutput struct{ *pulumi.OutputState } +type NodeTemplateOpenstackConfigPtrOutput struct{ *pulumi.OutputState } -func (NotifierWebhookConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierWebhookConfig)(nil)).Elem() +func (NodeTemplateOpenstackConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateOpenstackConfig)(nil)).Elem() } -func (o NotifierWebhookConfigPtrOutput) ToNotifierWebhookConfigPtrOutput() NotifierWebhookConfigPtrOutput { +func (o NodeTemplateOpenstackConfigPtrOutput) ToNodeTemplateOpenstackConfigPtrOutput() NodeTemplateOpenstackConfigPtrOutput { return o } -func (o NotifierWebhookConfigPtrOutput) ToNotifierWebhookConfigPtrOutputWithContext(ctx context.Context) NotifierWebhookConfigPtrOutput { +func (o NodeTemplateOpenstackConfigPtrOutput) ToNodeTemplateOpenstackConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOpenstackConfigPtrOutput { return o } -func (o NotifierWebhookConfigPtrOutput) Elem() NotifierWebhookConfigOutput { - return o.ApplyT(func(v *NotifierWebhookConfig) NotifierWebhookConfig { +func (o NodeTemplateOpenstackConfigPtrOutput) Elem() NodeTemplateOpenstackConfigOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) NodeTemplateOpenstackConfig { if v != nil { return *v } - var ret NotifierWebhookConfig + var ret NodeTemplateOpenstackConfig return ret - }).(NotifierWebhookConfigOutput) + }).(NodeTemplateOpenstackConfigOutput) } -// Wechat proxy url (string) -func (o NotifierWebhookConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierWebhookConfig) *string { +// OpenStack active timeout Default `200` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) ActiveTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { if v == nil { return nil } - return v.ProxyUrl + return v.ActiveTimeout }).(pulumi.StringPtrOutput) } -// Webhook url (string) -func (o NotifierWebhookConfigPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierWebhookConfig) *string { +// OpenStack application credential id. Conflicts with `applicationCredentialName` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) ApplicationCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { if v == nil { return nil } - return &v.Url + return v.ApplicationCredentialId }).(pulumi.StringPtrOutput) } -type NotifierWechatConfig struct { - // Wechat agent ID (string) - Agent string `pulumi:"agent"` - // Wechat corporation ID (string) - Corp string `pulumi:"corp"` - // Wechat default recipient (string) - DefaultRecipient string `pulumi:"defaultRecipient"` - // Wechat proxy url (string) - ProxyUrl *string `pulumi:"proxyUrl"` - // Wechat recipient type. Allowed values: `party` | `tag` | `user` (string) - RecipientType *string `pulumi:"recipientType"` - // Wechat agent ID (string) - Secret string `pulumi:"secret"` +// OpenStack application credential name. Conflicts with `applicationCredentialId` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) ApplicationCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.ApplicationCredentialName + }).(pulumi.StringPtrOutput) } -// NotifierWechatConfigInput is an input type that accepts NotifierWechatConfigArgs and NotifierWechatConfigOutput values. -// You can construct a concrete instance of `NotifierWechatConfigInput` via: -// -// NotifierWechatConfigArgs{...} -type NotifierWechatConfigInput interface { - pulumi.Input - - ToNotifierWechatConfigOutput() NotifierWechatConfigOutput - ToNotifierWechatConfigOutputWithContext(context.Context) NotifierWechatConfigOutput +// OpenStack application credential secret (string) +func (o NodeTemplateOpenstackConfigPtrOutput) ApplicationCredentialSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.ApplicationCredentialSecret + }).(pulumi.StringPtrOutput) } -type NotifierWechatConfigArgs struct { - // Wechat agent ID (string) - Agent pulumi.StringInput `pulumi:"agent"` - // Wechat corporation ID (string) - Corp pulumi.StringInput `pulumi:"corp"` - // Wechat default recipient (string) - DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` - // Wechat proxy url (string) - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - // Wechat recipient type. Allowed values: `party` | `tag` | `user` (string) - RecipientType pulumi.StringPtrInput `pulumi:"recipientType"` - // Wechat agent ID (string) - Secret pulumi.StringInput `pulumi:"secret"` +// OpenStack authentication URL (string) +func (o NodeTemplateOpenstackConfigPtrOutput) AuthUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return &v.AuthUrl + }).(pulumi.StringPtrOutput) } -func (NotifierWechatConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierWechatConfig)(nil)).Elem() +// OpenStack availability zone (string) +func (o NodeTemplateOpenstackConfigPtrOutput) AvailabilityZone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return &v.AvailabilityZone + }).(pulumi.StringPtrOutput) } -func (i NotifierWechatConfigArgs) ToNotifierWechatConfigOutput() NotifierWechatConfigOutput { - return i.ToNotifierWechatConfigOutputWithContext(context.Background()) +// Enable booting from volume. Default is `false` (bool) +func (o NodeTemplateOpenstackConfigPtrOutput) BootFromVolume() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *bool { + if v == nil { + return nil + } + return v.BootFromVolume + }).(pulumi.BoolPtrOutput) } -func (i NotifierWechatConfigArgs) ToNotifierWechatConfigOutputWithContext(ctx context.Context) NotifierWechatConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierWechatConfigOutput) +// CA certificate bundle to verify against (string) +func (o NodeTemplateOpenstackConfigPtrOutput) Cacert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.Cacert + }).(pulumi.StringPtrOutput) } -func (i NotifierWechatConfigArgs) ToNotifierWechatConfigPtrOutput() NotifierWechatConfigPtrOutput { - return i.ToNotifierWechatConfigPtrOutputWithContext(context.Background()) +// Enables the OpenStack config drive for the instance. Default `false` (bool) +func (o NodeTemplateOpenstackConfigPtrOutput) ConfigDrive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *bool { + if v == nil { + return nil + } + return v.ConfigDrive + }).(pulumi.BoolPtrOutput) } -func (i NotifierWechatConfigArgs) ToNotifierWechatConfigPtrOutputWithContext(ctx context.Context) NotifierWechatConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierWechatConfigOutput).ToNotifierWechatConfigPtrOutputWithContext(ctx) +// OpenStack domain ID. Identity v3 only. Conflicts with `domainName` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) DomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.DomainId + }).(pulumi.StringPtrOutput) } -// NotifierWechatConfigPtrInput is an input type that accepts NotifierWechatConfigArgs, NotifierWechatConfigPtr and NotifierWechatConfigPtrOutput values. -// You can construct a concrete instance of `NotifierWechatConfigPtrInput` via: -// -// NotifierWechatConfigArgs{...} -// -// or: -// -// nil -type NotifierWechatConfigPtrInput interface { - pulumi.Input - - ToNotifierWechatConfigPtrOutput() NotifierWechatConfigPtrOutput - ToNotifierWechatConfigPtrOutputWithContext(context.Context) NotifierWechatConfigPtrOutput +// OpenStack domain name. Identity v3 only. Conflicts with `domainId` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) DomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.DomainName + }).(pulumi.StringPtrOutput) } -type notifierWechatConfigPtrType NotifierWechatConfigArgs +// OpenStack endpoint type. adminURL, internalURL or publicURL (string) +func (o NodeTemplateOpenstackConfigPtrOutput) EndpointType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.EndpointType + }).(pulumi.StringPtrOutput) +} -func NotifierWechatConfigPtr(v *NotifierWechatConfigArgs) NotifierWechatConfigPtrInput { - return (*notifierWechatConfigPtrType)(v) +// OpenStack flavor id to use for the instance. Conflicts with `flavorName` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) FlavorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.FlavorId + }).(pulumi.StringPtrOutput) } -func (*notifierWechatConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierWechatConfig)(nil)).Elem() +// OpenStack flavor name to use for the instance. Conflicts with `flavorId` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) FlavorName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.FlavorName + }).(pulumi.StringPtrOutput) } -func (i *notifierWechatConfigPtrType) ToNotifierWechatConfigPtrOutput() NotifierWechatConfigPtrOutput { - return i.ToNotifierWechatConfigPtrOutputWithContext(context.Background()) +// OpenStack floating IP pool to get an IP from to assign to the instance (string) +func (o NodeTemplateOpenstackConfigPtrOutput) FloatingIpPool() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.FloatingIpPool + }).(pulumi.StringPtrOutput) } -func (i *notifierWechatConfigPtrType) ToNotifierWechatConfigPtrOutputWithContext(ctx context.Context) NotifierWechatConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(NotifierWechatConfigPtrOutput) +// OpenStack image id to use for the instance. Conflicts with `imageName` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) ImageId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.ImageId + }).(pulumi.StringPtrOutput) } -type NotifierWechatConfigOutput struct{ *pulumi.OutputState } +// OpenStack image name to use for the instance. Conflicts with `imageId` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) ImageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.ImageName + }).(pulumi.StringPtrOutput) +} -func (NotifierWechatConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*NotifierWechatConfig)(nil)).Elem() +// Disable TLS credential checking. Default `false` (bool) +func (o NodeTemplateOpenstackConfigPtrOutput) Insecure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *bool { + if v == nil { + return nil + } + return v.Insecure + }).(pulumi.BoolPtrOutput) } -func (o NotifierWechatConfigOutput) ToNotifierWechatConfigOutput() NotifierWechatConfigOutput { - return o +// OpenStack version of IP address assigned for the machine Default `4` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) IpVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.IpVersion + }).(pulumi.StringPtrOutput) } -func (o NotifierWechatConfigOutput) ToNotifierWechatConfigOutputWithContext(ctx context.Context) NotifierWechatConfigOutput { - return o +// OpenStack keypair to use to SSH to the instance (string) +func (o NodeTemplateOpenstackConfigPtrOutput) KeypairName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.KeypairName + }).(pulumi.StringPtrOutput) } -func (o NotifierWechatConfigOutput) ToNotifierWechatConfigPtrOutput() NotifierWechatConfigPtrOutput { - return o.ToNotifierWechatConfigPtrOutputWithContext(context.Background()) +// OpenStack network id the machine will be connected on. Conflicts with `netName` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) NetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.NetId + }).(pulumi.StringPtrOutput) } -func (o NotifierWechatConfigOutput) ToNotifierWechatConfigPtrOutputWithContext(ctx context.Context) NotifierWechatConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierWechatConfig) *NotifierWechatConfig { - return &v - }).(NotifierWechatConfigPtrOutput) +// OpenStack network name the machine will be connected on. Conflicts with `netId` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) NetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.NetName + }).(pulumi.StringPtrOutput) } -// Wechat agent ID (string) -func (o NotifierWechatConfigOutput) Agent() pulumi.StringOutput { - return o.ApplyT(func(v NotifierWechatConfig) string { return v.Agent }).(pulumi.StringOutput) +// Use the nova networking services instead of neutron (string) +func (o NodeTemplateOpenstackConfigPtrOutput) NovaNetwork() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *bool { + if v == nil { + return nil + } + return v.NovaNetwork + }).(pulumi.BoolPtrOutput) } -// Wechat corporation ID (string) -func (o NotifierWechatConfigOutput) Corp() pulumi.StringOutput { - return o.ApplyT(func(v NotifierWechatConfig) string { return v.Corp }).(pulumi.StringOutput) +// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateOpenstackConfigPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) } -// Wechat default recipient (string) -func (o NotifierWechatConfigOutput) DefaultRecipient() pulumi.StringOutput { - return o.ApplyT(func(v NotifierWechatConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) +// Private key content to use for SSH (string) +func (o NodeTemplateOpenstackConfigPtrOutput) PrivateKeyFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.PrivateKeyFile + }).(pulumi.StringPtrOutput) } -// Wechat proxy url (string) -func (o NotifierWechatConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotifierWechatConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +// AWS region. Default `eu-west-2` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return &v.Region + }).(pulumi.StringPtrOutput) } -// Wechat recipient type. Allowed values: `party` | `tag` | `user` (string) -func (o NotifierWechatConfigOutput) RecipientType() pulumi.StringPtrOutput { - return o.ApplyT(func(v NotifierWechatConfig) *string { return v.RecipientType }).(pulumi.StringPtrOutput) +// OpenStack comma separated security groups for the machine (string) +func (o NodeTemplateOpenstackConfigPtrOutput) SecGroups() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.SecGroups + }).(pulumi.StringPtrOutput) } -// Wechat agent ID (string) -func (o NotifierWechatConfigOutput) Secret() pulumi.StringOutput { - return o.ApplyT(func(v NotifierWechatConfig) string { return v.Secret }).(pulumi.StringOutput) +// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) +func (o NodeTemplateOpenstackConfigPtrOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.SshPort + }).(pulumi.StringPtrOutput) } -type NotifierWechatConfigPtrOutput struct{ *pulumi.OutputState } - -func (NotifierWechatConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**NotifierWechatConfig)(nil)).Elem() +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateOpenstackConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.SshUser + }).(pulumi.StringPtrOutput) } -func (o NotifierWechatConfigPtrOutput) ToNotifierWechatConfigPtrOutput() NotifierWechatConfigPtrOutput { - return o +// OpenStack tenant id. Conflicts with `tenantName` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.TenantId + }).(pulumi.StringPtrOutput) } -func (o NotifierWechatConfigPtrOutput) ToNotifierWechatConfigPtrOutputWithContext(ctx context.Context) NotifierWechatConfigPtrOutput { - return o +// OpenStack tenant name. Conflicts with `tenantId` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) TenantName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil + } + return v.TenantName + }).(pulumi.StringPtrOutput) } -func (o NotifierWechatConfigPtrOutput) Elem() NotifierWechatConfigOutput { - return o.ApplyT(func(v *NotifierWechatConfig) NotifierWechatConfig { - if v != nil { - return *v +// File containing an openstack userdata script (string) +func (o NodeTemplateOpenstackConfigPtrOutput) UserDataFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { + if v == nil { + return nil } - var ret NotifierWechatConfig - return ret - }).(NotifierWechatConfigOutput) + return v.UserDataFile + }).(pulumi.StringPtrOutput) } -// Wechat agent ID (string) -func (o NotifierWechatConfigPtrOutput) Agent() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierWechatConfig) *string { +// vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateOpenstackConfigPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { if v == nil { return nil } - return &v.Agent + return v.Username }).(pulumi.StringPtrOutput) } -// Wechat corporation ID (string) -func (o NotifierWechatConfigPtrOutput) Corp() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierWechatConfig) *string { +// OpenStack volume device path (attaching). Applicable only when `bootFromVolume` is `true`. Omit for auto `/dev/vdb`. (string) +func (o NodeTemplateOpenstackConfigPtrOutput) VolumeDevicePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { if v == nil { return nil } - return &v.Corp + return v.VolumeDevicePath }).(pulumi.StringPtrOutput) } -// Wechat default recipient (string) -func (o NotifierWechatConfigPtrOutput) DefaultRecipient() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierWechatConfig) *string { +// OpenStack volume id of existing volume. Applicable only when `bootFromVolume` is `true` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) VolumeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { if v == nil { return nil } - return &v.DefaultRecipient + return v.VolumeId }).(pulumi.StringPtrOutput) } -// Wechat proxy url (string) -func (o NotifierWechatConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierWechatConfig) *string { +// OpenStack volume name of existing volume. Applicable only when `bootFromVolume` is `true` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) VolumeName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { if v == nil { return nil } - return v.ProxyUrl + return v.VolumeName }).(pulumi.StringPtrOutput) } -// Wechat recipient type. Allowed values: `party` | `tag` | `user` (string) -func (o NotifierWechatConfigPtrOutput) RecipientType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierWechatConfig) *string { +// OpenStack volume size (GiB). Required when `bootFromVolume` is `true` (string) +func (o NodeTemplateOpenstackConfigPtrOutput) VolumeSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { if v == nil { return nil } - return v.RecipientType + return v.VolumeSize }).(pulumi.StringPtrOutput) } -// Wechat agent ID (string) -func (o NotifierWechatConfigPtrOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *NotifierWechatConfig) *string { +// OpenStack volume type. Required when `bootFromVolume` is `true` and openstack cloud does not have a default volume type (string) +func (o NodeTemplateOpenstackConfigPtrOutput) VolumeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOpenstackConfig) *string { if v == nil { return nil } - return &v.Secret + return v.VolumeType }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateAllowedCsiDriver struct { - // The name of the PodSecurityPolicyTemplate (string) - Name string `pulumi:"name"` +type NodeTemplateOutscaleConfig struct { + // Outscale Access Key (string) + AccessKey string `pulumi:"accessKey"` + // Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + ExtraTagsAlls []string `pulumi:"extraTagsAlls"` + // Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + ExtraTagsInstances []string `pulumi:"extraTagsInstances"` + // Outscale VM type. Default `tinav2.c1r2p3` (string) + InstanceType *string `pulumi:"instanceType"` + // AWS region. Default `eu-west-2` (string) + Region *string `pulumi:"region"` + // Iops for io1 Root Disk. From 1 to 13000. + RootDiskIops *int `pulumi:"rootDiskIops"` + // Size of the Root Disk (in GB). From 1 to 14901. + RootDiskSize *int `pulumi:"rootDiskSize"` + // Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + RootDiskType *string `pulumi:"rootDiskType"` + // Outscale Secret Key (string) + SecretKey string `pulumi:"secretKey"` + // Ids of user defined Security Groups to add to the machine. (list) + SecurityGroupIds []string `pulumi:"securityGroupIds"` + // Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + SourceOmi *string `pulumi:"sourceOmi"` } -// PodSecurityPolicyTemplateAllowedCsiDriverInput is an input type that accepts PodSecurityPolicyTemplateAllowedCsiDriverArgs and PodSecurityPolicyTemplateAllowedCsiDriverOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedCsiDriverInput` via: +// NodeTemplateOutscaleConfigInput is an input type that accepts NodeTemplateOutscaleConfigArgs and NodeTemplateOutscaleConfigOutput values. +// You can construct a concrete instance of `NodeTemplateOutscaleConfigInput` via: // -// PodSecurityPolicyTemplateAllowedCsiDriverArgs{...} -type PodSecurityPolicyTemplateAllowedCsiDriverInput interface { +// NodeTemplateOutscaleConfigArgs{...} +type NodeTemplateOutscaleConfigInput interface { pulumi.Input - ToPodSecurityPolicyTemplateAllowedCsiDriverOutput() PodSecurityPolicyTemplateAllowedCsiDriverOutput - ToPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedCsiDriverOutput + ToNodeTemplateOutscaleConfigOutput() NodeTemplateOutscaleConfigOutput + ToNodeTemplateOutscaleConfigOutputWithContext(context.Context) NodeTemplateOutscaleConfigOutput } -type PodSecurityPolicyTemplateAllowedCsiDriverArgs struct { - // The name of the PodSecurityPolicyTemplate (string) - Name pulumi.StringInput `pulumi:"name"` +type NodeTemplateOutscaleConfigArgs struct { + // Outscale Access Key (string) + AccessKey pulumi.StringInput `pulumi:"accessKey"` + // Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + ExtraTagsAlls pulumi.StringArrayInput `pulumi:"extraTagsAlls"` + // Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + ExtraTagsInstances pulumi.StringArrayInput `pulumi:"extraTagsInstances"` + // Outscale VM type. Default `tinav2.c1r2p3` (string) + InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` + // AWS region. Default `eu-west-2` (string) + Region pulumi.StringPtrInput `pulumi:"region"` + // Iops for io1 Root Disk. From 1 to 13000. + RootDiskIops pulumi.IntPtrInput `pulumi:"rootDiskIops"` + // Size of the Root Disk (in GB). From 1 to 14901. + RootDiskSize pulumi.IntPtrInput `pulumi:"rootDiskSize"` + // Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + RootDiskType pulumi.StringPtrInput `pulumi:"rootDiskType"` + // Outscale Secret Key (string) + SecretKey pulumi.StringInput `pulumi:"secretKey"` + // Ids of user defined Security Groups to add to the machine. (list) + SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` + // Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + SourceOmi pulumi.StringPtrInput `pulumi:"sourceOmi"` } -func (PodSecurityPolicyTemplateAllowedCsiDriverArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +func (NodeTemplateOutscaleConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateOutscaleConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateAllowedCsiDriverArgs) ToPodSecurityPolicyTemplateAllowedCsiDriverOutput() PodSecurityPolicyTemplateAllowedCsiDriverOutput { - return i.ToPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(context.Background()) +func (i NodeTemplateOutscaleConfigArgs) ToNodeTemplateOutscaleConfigOutput() NodeTemplateOutscaleConfigOutput { + return i.ToNodeTemplateOutscaleConfigOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateAllowedCsiDriverArgs) ToPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedCsiDriverOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedCsiDriverOutput) +func (i NodeTemplateOutscaleConfigArgs) ToNodeTemplateOutscaleConfigOutputWithContext(ctx context.Context) NodeTemplateOutscaleConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOutscaleConfigOutput) } -// PodSecurityPolicyTemplateAllowedCsiDriverArrayInput is an input type that accepts PodSecurityPolicyTemplateAllowedCsiDriverArray and PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedCsiDriverArrayInput` via: +func (i NodeTemplateOutscaleConfigArgs) ToNodeTemplateOutscaleConfigPtrOutput() NodeTemplateOutscaleConfigPtrOutput { + return i.ToNodeTemplateOutscaleConfigPtrOutputWithContext(context.Background()) +} + +func (i NodeTemplateOutscaleConfigArgs) ToNodeTemplateOutscaleConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOutscaleConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOutscaleConfigOutput).ToNodeTemplateOutscaleConfigPtrOutputWithContext(ctx) +} + +// NodeTemplateOutscaleConfigPtrInput is an input type that accepts NodeTemplateOutscaleConfigArgs, NodeTemplateOutscaleConfigPtr and NodeTemplateOutscaleConfigPtrOutput values. +// You can construct a concrete instance of `NodeTemplateOutscaleConfigPtrInput` via: // -// PodSecurityPolicyTemplateAllowedCsiDriverArray{ PodSecurityPolicyTemplateAllowedCsiDriverArgs{...} } -type PodSecurityPolicyTemplateAllowedCsiDriverArrayInput interface { +// NodeTemplateOutscaleConfigArgs{...} +// +// or: +// +// nil +type NodeTemplateOutscaleConfigPtrInput interface { pulumi.Input - ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput - ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput + ToNodeTemplateOutscaleConfigPtrOutput() NodeTemplateOutscaleConfigPtrOutput + ToNodeTemplateOutscaleConfigPtrOutputWithContext(context.Context) NodeTemplateOutscaleConfigPtrOutput } -type PodSecurityPolicyTemplateAllowedCsiDriverArray []PodSecurityPolicyTemplateAllowedCsiDriverInput +type nodeTemplateOutscaleConfigPtrType NodeTemplateOutscaleConfigArgs -func (PodSecurityPolicyTemplateAllowedCsiDriverArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +func NodeTemplateOutscaleConfigPtr(v *NodeTemplateOutscaleConfigArgs) NodeTemplateOutscaleConfigPtrInput { + return (*nodeTemplateOutscaleConfigPtrType)(v) } -func (i PodSecurityPolicyTemplateAllowedCsiDriverArray) ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { - return i.ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(context.Background()) +func (*nodeTemplateOutscaleConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateOutscaleConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateAllowedCsiDriverArray) ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) +func (i *nodeTemplateOutscaleConfigPtrType) ToNodeTemplateOutscaleConfigPtrOutput() NodeTemplateOutscaleConfigPtrOutput { + return i.ToNodeTemplateOutscaleConfigPtrOutputWithContext(context.Background()) } -type PodSecurityPolicyTemplateAllowedCsiDriverOutput struct{ *pulumi.OutputState } +func (i *nodeTemplateOutscaleConfigPtrType) ToNodeTemplateOutscaleConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOutscaleConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateOutscaleConfigPtrOutput) +} -func (PodSecurityPolicyTemplateAllowedCsiDriverOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +type NodeTemplateOutscaleConfigOutput struct{ *pulumi.OutputState } + +func (NodeTemplateOutscaleConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateOutscaleConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateAllowedCsiDriverOutput) ToPodSecurityPolicyTemplateAllowedCsiDriverOutput() PodSecurityPolicyTemplateAllowedCsiDriverOutput { +func (o NodeTemplateOutscaleConfigOutput) ToNodeTemplateOutscaleConfigOutput() NodeTemplateOutscaleConfigOutput { return o } -func (o PodSecurityPolicyTemplateAllowedCsiDriverOutput) ToPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedCsiDriverOutput { +func (o NodeTemplateOutscaleConfigOutput) ToNodeTemplateOutscaleConfigOutputWithContext(ctx context.Context) NodeTemplateOutscaleConfigOutput { return o } -// The name of the PodSecurityPolicyTemplate (string) -func (o PodSecurityPolicyTemplateAllowedCsiDriverOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateAllowedCsiDriver) string { return v.Name }).(pulumi.StringOutput) +func (o NodeTemplateOutscaleConfigOutput) ToNodeTemplateOutscaleConfigPtrOutput() NodeTemplateOutscaleConfigPtrOutput { + return o.ToNodeTemplateOutscaleConfigPtrOutputWithContext(context.Background()) } -type PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput struct{ *pulumi.OutputState } +func (o NodeTemplateOutscaleConfigOutput) ToNodeTemplateOutscaleConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOutscaleConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateOutscaleConfig) *NodeTemplateOutscaleConfig { + return &v + }).(NodeTemplateOutscaleConfigPtrOutput) +} -func (PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +// Outscale Access Key (string) +func (o NodeTemplateOutscaleConfigOutput) AccessKey() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) string { return v.AccessKey }).(pulumi.StringOutput) } -func (o PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { - return o +// Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) +func (o NodeTemplateOutscaleConfigOutput) ExtraTagsAlls() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) []string { return v.ExtraTagsAlls }).(pulumi.StringArrayOutput) } -func (o PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { - return o +// Extra tags only for instances (e.g. key1=value1,key2=value2) (list) +func (o NodeTemplateOutscaleConfigOutput) ExtraTagsInstances() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) []string { return v.ExtraTagsInstances }).(pulumi.StringArrayOutput) } -func (o PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateAllowedCsiDriverOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateAllowedCsiDriver { - return vs[0].([]PodSecurityPolicyTemplateAllowedCsiDriver)[vs[1].(int)] - }).(PodSecurityPolicyTemplateAllowedCsiDriverOutput) +// Outscale VM type. Default `tinav2.c1r2p3` (string) +func (o NodeTemplateOutscaleConfigOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) *string { return v.InstanceType }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateAllowedFlexVolume struct { - Driver string `pulumi:"driver"` +// AWS region. Default `eu-west-2` (string) +func (o NodeTemplateOutscaleConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) *string { return v.Region }).(pulumi.StringPtrOutput) } -// PodSecurityPolicyTemplateAllowedFlexVolumeInput is an input type that accepts PodSecurityPolicyTemplateAllowedFlexVolumeArgs and PodSecurityPolicyTemplateAllowedFlexVolumeOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedFlexVolumeInput` via: -// -// PodSecurityPolicyTemplateAllowedFlexVolumeArgs{...} -type PodSecurityPolicyTemplateAllowedFlexVolumeInput interface { - pulumi.Input +// Iops for io1 Root Disk. From 1 to 13000. +func (o NodeTemplateOutscaleConfigOutput) RootDiskIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) *int { return v.RootDiskIops }).(pulumi.IntPtrOutput) +} - ToPodSecurityPolicyTemplateAllowedFlexVolumeOutput() PodSecurityPolicyTemplateAllowedFlexVolumeOutput - ToPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeOutput +// Size of the Root Disk (in GB). From 1 to 14901. +func (o NodeTemplateOutscaleConfigOutput) RootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) *int { return v.RootDiskSize }).(pulumi.IntPtrOutput) } -type PodSecurityPolicyTemplateAllowedFlexVolumeArgs struct { - Driver pulumi.StringInput `pulumi:"driver"` +// Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. +func (o NodeTemplateOutscaleConfigOutput) RootDiskType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) *string { return v.RootDiskType }).(pulumi.StringPtrOutput) } -func (PodSecurityPolicyTemplateAllowedFlexVolumeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +// Outscale Secret Key (string) +func (o NodeTemplateOutscaleConfigOutput) SecretKey() pulumi.StringOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) string { return v.SecretKey }).(pulumi.StringOutput) } -func (i PodSecurityPolicyTemplateAllowedFlexVolumeArgs) ToPodSecurityPolicyTemplateAllowedFlexVolumeOutput() PodSecurityPolicyTemplateAllowedFlexVolumeOutput { - return i.ToPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(context.Background()) +// Ids of user defined Security Groups to add to the machine. (list) +func (o NodeTemplateOutscaleConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) []string { return v.SecurityGroupIds }).(pulumi.StringArrayOutput) } -func (i PodSecurityPolicyTemplateAllowedFlexVolumeArgs) ToPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedFlexVolumeOutput) +// Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) +func (o NodeTemplateOutscaleConfigOutput) SourceOmi() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateOutscaleConfig) *string { return v.SourceOmi }).(pulumi.StringPtrOutput) } -// PodSecurityPolicyTemplateAllowedFlexVolumeArrayInput is an input type that accepts PodSecurityPolicyTemplateAllowedFlexVolumeArray and PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedFlexVolumeArrayInput` via: -// -// PodSecurityPolicyTemplateAllowedFlexVolumeArray{ PodSecurityPolicyTemplateAllowedFlexVolumeArgs{...} } -type PodSecurityPolicyTemplateAllowedFlexVolumeArrayInput interface { - pulumi.Input +type NodeTemplateOutscaleConfigPtrOutput struct{ *pulumi.OutputState } - ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput - ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput +func (NodeTemplateOutscaleConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateOutscaleConfig)(nil)).Elem() } -type PodSecurityPolicyTemplateAllowedFlexVolumeArray []PodSecurityPolicyTemplateAllowedFlexVolumeInput +func (o NodeTemplateOutscaleConfigPtrOutput) ToNodeTemplateOutscaleConfigPtrOutput() NodeTemplateOutscaleConfigPtrOutput { + return o +} -func (PodSecurityPolicyTemplateAllowedFlexVolumeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +func (o NodeTemplateOutscaleConfigPtrOutput) ToNodeTemplateOutscaleConfigPtrOutputWithContext(ctx context.Context) NodeTemplateOutscaleConfigPtrOutput { + return o } -func (i PodSecurityPolicyTemplateAllowedFlexVolumeArray) ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { - return i.ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(context.Background()) +func (o NodeTemplateOutscaleConfigPtrOutput) Elem() NodeTemplateOutscaleConfigOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) NodeTemplateOutscaleConfig { + if v != nil { + return *v + } + var ret NodeTemplateOutscaleConfig + return ret + }).(NodeTemplateOutscaleConfigOutput) } -func (i PodSecurityPolicyTemplateAllowedFlexVolumeArray) ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) +// Outscale Access Key (string) +func (o NodeTemplateOutscaleConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) *string { + if v == nil { + return nil + } + return &v.AccessKey + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateAllowedFlexVolumeOutput struct{ *pulumi.OutputState } +// Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) +func (o NodeTemplateOutscaleConfigPtrOutput) ExtraTagsAlls() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) []string { + if v == nil { + return nil + } + return v.ExtraTagsAlls + }).(pulumi.StringArrayOutput) +} -func (PodSecurityPolicyTemplateAllowedFlexVolumeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +// Extra tags only for instances (e.g. key1=value1,key2=value2) (list) +func (o NodeTemplateOutscaleConfigPtrOutput) ExtraTagsInstances() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) []string { + if v == nil { + return nil + } + return v.ExtraTagsInstances + }).(pulumi.StringArrayOutput) } -func (o PodSecurityPolicyTemplateAllowedFlexVolumeOutput) ToPodSecurityPolicyTemplateAllowedFlexVolumeOutput() PodSecurityPolicyTemplateAllowedFlexVolumeOutput { - return o +// Outscale VM type. Default `tinav2.c1r2p3` (string) +func (o NodeTemplateOutscaleConfigPtrOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) *string { + if v == nil { + return nil + } + return v.InstanceType + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateAllowedFlexVolumeOutput) ToPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeOutput { - return o +// AWS region. Default `eu-west-2` (string) +func (o NodeTemplateOutscaleConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateAllowedFlexVolumeOutput) Driver() pulumi.StringOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateAllowedFlexVolume) string { return v.Driver }).(pulumi.StringOutput) +// Iops for io1 Root Disk. From 1 to 13000. +func (o NodeTemplateOutscaleConfigPtrOutput) RootDiskIops() pulumi.IntPtrOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) *int { + if v == nil { + return nil + } + return v.RootDiskIops + }).(pulumi.IntPtrOutput) } -type PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput struct{ *pulumi.OutputState } +// Size of the Root Disk (in GB). From 1 to 14901. +func (o NodeTemplateOutscaleConfigPtrOutput) RootDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) *int { + if v == nil { + return nil + } + return v.RootDiskSize + }).(pulumi.IntPtrOutput) +} -func (PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +// Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. +func (o NodeTemplateOutscaleConfigPtrOutput) RootDiskType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) *string { + if v == nil { + return nil + } + return v.RootDiskType + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { - return o +// Outscale Secret Key (string) +func (o NodeTemplateOutscaleConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) *string { + if v == nil { + return nil + } + return &v.SecretKey + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { - return o +// Ids of user defined Security Groups to add to the machine. (list) +func (o NodeTemplateOutscaleConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) []string { + if v == nil { + return nil + } + return v.SecurityGroupIds + }).(pulumi.StringArrayOutput) } -func (o PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateAllowedFlexVolumeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateAllowedFlexVolume { - return vs[0].([]PodSecurityPolicyTemplateAllowedFlexVolume)[vs[1].(int)] - }).(PodSecurityPolicyTemplateAllowedFlexVolumeOutput) +// Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) +func (o NodeTemplateOutscaleConfigPtrOutput) SourceOmi() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateOutscaleConfig) *string { + if v == nil { + return nil + } + return v.SourceOmi + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateAllowedHostPath struct { - // (string) - PathPrefix string `pulumi:"pathPrefix"` - // (string) - ReadOnly *bool `pulumi:"readOnly"` +type NodeTemplateVsphereConfig struct { + // vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) + Boot2dockerUrl *string `pulumi:"boot2dockerUrl"` + // vSphere vm configuration parameters (used for guestinfo) (list) + Cfgparams []string `pulumi:"cfgparams"` + // If you choose creation type vm (clone vm) a name of what vm you want to clone is required. From Rancher v2.3.3 (string) + CloneFrom *string `pulumi:"cloneFrom"` + // Cloud Config YAML content to inject as user-data. From Rancher v2.3.3 (string) + CloudConfig *string `pulumi:"cloudConfig"` + // vSphere cloud-init file or url to set in the guestinfo (string) + Cloudinit *string `pulumi:"cloudinit"` + // If you choose to clone from a content library template specify the name of the library. From Rancher v2.3.3 (string) + ContentLibrary *string `pulumi:"contentLibrary"` + // vSphere CPU number for docker VM. Default `2` (string) + CpuCount *string `pulumi:"cpuCount"` + // Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy`. From Rancher v2.3.3 (string) + CreationType *string `pulumi:"creationType"` + // vSphere custom attributes, format key/value e.g. `200=my custom value`. From Rancher v2.3.3 (List) + CustomAttributes []string `pulumi:"customAttributes"` + // vSphere datacenter for docker VM (string) + Datacenter *string `pulumi:"datacenter"` + // vSphere datastore for docker VM (string) + Datastore *string `pulumi:"datastore"` + // vSphere datastore cluster for virtual machine. From Rancher v2.3.3 (string) + DatastoreCluster *string `pulumi:"datastoreCluster"` + // vSphere size of disk for docker VM (in MB). Default `20480` (string) + DiskSize *string `pulumi:"diskSize"` + // vSphere folder for the docker VM. This folder must already exist in the datacenter (string) + Folder *string `pulumi:"folder"` + // vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) + Hostsystem *string `pulumi:"hostsystem"` + // vSphere size of memory for docker VM (in MB). Default `2048` (string) + MemorySize *string `pulumi:"memorySize"` + // vSphere network where the docker VM will be attached (list) + Networks []string `pulumi:"networks"` + // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Password *string `pulumi:"password"` + // vSphere resource pool for docker VM (string) + Pool *string `pulumi:"pool"` + // If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) + SshPassword *string `pulumi:"sshPassword"` + // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) + SshPort *string `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser *string `pulumi:"sshUser"` + // If using a non-B2D image the uploaded keys will need chown'ed. Default `staff`. From Rancher v2.3.3 (string) + SshUserGroup *string `pulumi:"sshUserGroup"` + // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) + Tags []string `pulumi:"tags"` + // vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Username *string `pulumi:"username"` + // vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) + VappIpAllocationPolicy *string `pulumi:"vappIpAllocationPolicy"` + // vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) + VappIpProtocol *string `pulumi:"vappIpProtocol"` + // vSphere vApp properties (list) + VappProperties []string `pulumi:"vappProperties"` + // vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) + VappTransport *string `pulumi:"vappTransport"` + // vSphere IP/hostname for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Vcenter *string `pulumi:"vcenter"` + // vSphere Port for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x. Default `443` (string) + VcenterPort *string `pulumi:"vcenterPort"` } -// PodSecurityPolicyTemplateAllowedHostPathInput is an input type that accepts PodSecurityPolicyTemplateAllowedHostPathArgs and PodSecurityPolicyTemplateAllowedHostPathOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedHostPathInput` via: +// NodeTemplateVsphereConfigInput is an input type that accepts NodeTemplateVsphereConfigArgs and NodeTemplateVsphereConfigOutput values. +// You can construct a concrete instance of `NodeTemplateVsphereConfigInput` via: // -// PodSecurityPolicyTemplateAllowedHostPathArgs{...} -type PodSecurityPolicyTemplateAllowedHostPathInput interface { +// NodeTemplateVsphereConfigArgs{...} +type NodeTemplateVsphereConfigInput interface { pulumi.Input - ToPodSecurityPolicyTemplateAllowedHostPathOutput() PodSecurityPolicyTemplateAllowedHostPathOutput - ToPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedHostPathOutput + ToNodeTemplateVsphereConfigOutput() NodeTemplateVsphereConfigOutput + ToNodeTemplateVsphereConfigOutputWithContext(context.Context) NodeTemplateVsphereConfigOutput } -type PodSecurityPolicyTemplateAllowedHostPathArgs struct { - // (string) - PathPrefix pulumi.StringInput `pulumi:"pathPrefix"` - // (string) - ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` +type NodeTemplateVsphereConfigArgs struct { + // vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) + Boot2dockerUrl pulumi.StringPtrInput `pulumi:"boot2dockerUrl"` + // vSphere vm configuration parameters (used for guestinfo) (list) + Cfgparams pulumi.StringArrayInput `pulumi:"cfgparams"` + // If you choose creation type vm (clone vm) a name of what vm you want to clone is required. From Rancher v2.3.3 (string) + CloneFrom pulumi.StringPtrInput `pulumi:"cloneFrom"` + // Cloud Config YAML content to inject as user-data. From Rancher v2.3.3 (string) + CloudConfig pulumi.StringPtrInput `pulumi:"cloudConfig"` + // vSphere cloud-init file or url to set in the guestinfo (string) + Cloudinit pulumi.StringPtrInput `pulumi:"cloudinit"` + // If you choose to clone from a content library template specify the name of the library. From Rancher v2.3.3 (string) + ContentLibrary pulumi.StringPtrInput `pulumi:"contentLibrary"` + // vSphere CPU number for docker VM. Default `2` (string) + CpuCount pulumi.StringPtrInput `pulumi:"cpuCount"` + // Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy`. From Rancher v2.3.3 (string) + CreationType pulumi.StringPtrInput `pulumi:"creationType"` + // vSphere custom attributes, format key/value e.g. `200=my custom value`. From Rancher v2.3.3 (List) + CustomAttributes pulumi.StringArrayInput `pulumi:"customAttributes"` + // vSphere datacenter for docker VM (string) + Datacenter pulumi.StringPtrInput `pulumi:"datacenter"` + // vSphere datastore for docker VM (string) + Datastore pulumi.StringPtrInput `pulumi:"datastore"` + // vSphere datastore cluster for virtual machine. From Rancher v2.3.3 (string) + DatastoreCluster pulumi.StringPtrInput `pulumi:"datastoreCluster"` + // vSphere size of disk for docker VM (in MB). Default `20480` (string) + DiskSize pulumi.StringPtrInput `pulumi:"diskSize"` + // vSphere folder for the docker VM. This folder must already exist in the datacenter (string) + Folder pulumi.StringPtrInput `pulumi:"folder"` + // vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) + Hostsystem pulumi.StringPtrInput `pulumi:"hostsystem"` + // vSphere size of memory for docker VM (in MB). Default `2048` (string) + MemorySize pulumi.StringPtrInput `pulumi:"memorySize"` + // vSphere network where the docker VM will be attached (list) + Networks pulumi.StringArrayInput `pulumi:"networks"` + // vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Password pulumi.StringPtrInput `pulumi:"password"` + // vSphere resource pool for docker VM (string) + Pool pulumi.StringPtrInput `pulumi:"pool"` + // If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) + SshPassword pulumi.StringPtrInput `pulumi:"sshPassword"` + // If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) + SshPort pulumi.StringPtrInput `pulumi:"sshPort"` + // If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) + SshUser pulumi.StringPtrInput `pulumi:"sshUser"` + // If using a non-B2D image the uploaded keys will need chown'ed. Default `staff`. From Rancher v2.3.3 (string) + SshUserGroup pulumi.StringPtrInput `pulumi:"sshUserGroup"` + // vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) + Tags pulumi.StringArrayInput `pulumi:"tags"` + // vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Username pulumi.StringPtrInput `pulumi:"username"` + // vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) + VappIpAllocationPolicy pulumi.StringPtrInput `pulumi:"vappIpAllocationPolicy"` + // vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) + VappIpProtocol pulumi.StringPtrInput `pulumi:"vappIpProtocol"` + // vSphere vApp properties (list) + VappProperties pulumi.StringArrayInput `pulumi:"vappProperties"` + // vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) + VappTransport pulumi.StringPtrInput `pulumi:"vappTransport"` + // vSphere IP/hostname for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Vcenter pulumi.StringPtrInput `pulumi:"vcenter"` + // vSphere Port for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x. Default `443` (string) + VcenterPort pulumi.StringPtrInput `pulumi:"vcenterPort"` } -func (PodSecurityPolicyTemplateAllowedHostPathArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +func (NodeTemplateVsphereConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateVsphereConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateAllowedHostPathArgs) ToPodSecurityPolicyTemplateAllowedHostPathOutput() PodSecurityPolicyTemplateAllowedHostPathOutput { - return i.ToPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(context.Background()) +func (i NodeTemplateVsphereConfigArgs) ToNodeTemplateVsphereConfigOutput() NodeTemplateVsphereConfigOutput { + return i.ToNodeTemplateVsphereConfigOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateAllowedHostPathArgs) ToPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedHostPathOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedHostPathOutput) +func (i NodeTemplateVsphereConfigArgs) ToNodeTemplateVsphereConfigOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateVsphereConfigOutput) } -// PodSecurityPolicyTemplateAllowedHostPathArrayInput is an input type that accepts PodSecurityPolicyTemplateAllowedHostPathArray and PodSecurityPolicyTemplateAllowedHostPathArrayOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedHostPathArrayInput` via: +func (i NodeTemplateVsphereConfigArgs) ToNodeTemplateVsphereConfigPtrOutput() NodeTemplateVsphereConfigPtrOutput { + return i.ToNodeTemplateVsphereConfigPtrOutputWithContext(context.Background()) +} + +func (i NodeTemplateVsphereConfigArgs) ToNodeTemplateVsphereConfigPtrOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateVsphereConfigOutput).ToNodeTemplateVsphereConfigPtrOutputWithContext(ctx) +} + +// NodeTemplateVsphereConfigPtrInput is an input type that accepts NodeTemplateVsphereConfigArgs, NodeTemplateVsphereConfigPtr and NodeTemplateVsphereConfigPtrOutput values. +// You can construct a concrete instance of `NodeTemplateVsphereConfigPtrInput` via: // -// PodSecurityPolicyTemplateAllowedHostPathArray{ PodSecurityPolicyTemplateAllowedHostPathArgs{...} } -type PodSecurityPolicyTemplateAllowedHostPathArrayInput interface { +// NodeTemplateVsphereConfigArgs{...} +// +// or: +// +// nil +type NodeTemplateVsphereConfigPtrInput interface { pulumi.Input - ToPodSecurityPolicyTemplateAllowedHostPathArrayOutput() PodSecurityPolicyTemplateAllowedHostPathArrayOutput - ToPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedHostPathArrayOutput + ToNodeTemplateVsphereConfigPtrOutput() NodeTemplateVsphereConfigPtrOutput + ToNodeTemplateVsphereConfigPtrOutputWithContext(context.Context) NodeTemplateVsphereConfigPtrOutput } -type PodSecurityPolicyTemplateAllowedHostPathArray []PodSecurityPolicyTemplateAllowedHostPathInput +type nodeTemplateVsphereConfigPtrType NodeTemplateVsphereConfigArgs -func (PodSecurityPolicyTemplateAllowedHostPathArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +func NodeTemplateVsphereConfigPtr(v *NodeTemplateVsphereConfigArgs) NodeTemplateVsphereConfigPtrInput { + return (*nodeTemplateVsphereConfigPtrType)(v) } -func (i PodSecurityPolicyTemplateAllowedHostPathArray) ToPodSecurityPolicyTemplateAllowedHostPathArrayOutput() PodSecurityPolicyTemplateAllowedHostPathArrayOutput { - return i.ToPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(context.Background()) +func (*nodeTemplateVsphereConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateVsphereConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateAllowedHostPathArray) ToPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedHostPathArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedHostPathArrayOutput) +func (i *nodeTemplateVsphereConfigPtrType) ToNodeTemplateVsphereConfigPtrOutput() NodeTemplateVsphereConfigPtrOutput { + return i.ToNodeTemplateVsphereConfigPtrOutputWithContext(context.Background()) } -type PodSecurityPolicyTemplateAllowedHostPathOutput struct{ *pulumi.OutputState } +func (i *nodeTemplateVsphereConfigPtrType) ToNodeTemplateVsphereConfigPtrOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NodeTemplateVsphereConfigPtrOutput) +} -func (PodSecurityPolicyTemplateAllowedHostPathOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +type NodeTemplateVsphereConfigOutput struct{ *pulumi.OutputState } + +func (NodeTemplateVsphereConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NodeTemplateVsphereConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateAllowedHostPathOutput) ToPodSecurityPolicyTemplateAllowedHostPathOutput() PodSecurityPolicyTemplateAllowedHostPathOutput { +func (o NodeTemplateVsphereConfigOutput) ToNodeTemplateVsphereConfigOutput() NodeTemplateVsphereConfigOutput { return o } -func (o PodSecurityPolicyTemplateAllowedHostPathOutput) ToPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedHostPathOutput { +func (o NodeTemplateVsphereConfigOutput) ToNodeTemplateVsphereConfigOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigOutput { return o } -// (string) -func (o PodSecurityPolicyTemplateAllowedHostPathOutput) PathPrefix() pulumi.StringOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateAllowedHostPath) string { return v.PathPrefix }).(pulumi.StringOutput) +func (o NodeTemplateVsphereConfigOutput) ToNodeTemplateVsphereConfigPtrOutput() NodeTemplateVsphereConfigPtrOutput { + return o.ToNodeTemplateVsphereConfigPtrOutputWithContext(context.Background()) } -// (string) -func (o PodSecurityPolicyTemplateAllowedHostPathOutput) ReadOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateAllowedHostPath) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) +func (o NodeTemplateVsphereConfigOutput) ToNodeTemplateVsphereConfigPtrOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NodeTemplateVsphereConfig) *NodeTemplateVsphereConfig { + return &v + }).(NodeTemplateVsphereConfigPtrOutput) } -type PodSecurityPolicyTemplateAllowedHostPathArrayOutput struct{ *pulumi.OutputState } +// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) +func (o NodeTemplateVsphereConfigOutput) Boot2dockerUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Boot2dockerUrl }).(pulumi.StringPtrOutput) +} -func (PodSecurityPolicyTemplateAllowedHostPathArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +// vSphere vm configuration parameters (used for guestinfo) (list) +func (o NodeTemplateVsphereConfigOutput) Cfgparams() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) []string { return v.Cfgparams }).(pulumi.StringArrayOutput) } -func (o PodSecurityPolicyTemplateAllowedHostPathArrayOutput) ToPodSecurityPolicyTemplateAllowedHostPathArrayOutput() PodSecurityPolicyTemplateAllowedHostPathArrayOutput { - return o +// If you choose creation type vm (clone vm) a name of what vm you want to clone is required. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigOutput) CloneFrom() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.CloneFrom }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateAllowedHostPathArrayOutput) ToPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedHostPathArrayOutput { - return o +// Cloud Config YAML content to inject as user-data. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigOutput) CloudConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.CloudConfig }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateAllowedHostPathArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateAllowedHostPathOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateAllowedHostPath { - return vs[0].([]PodSecurityPolicyTemplateAllowedHostPath)[vs[1].(int)] - }).(PodSecurityPolicyTemplateAllowedHostPathOutput) +// vSphere cloud-init file or url to set in the guestinfo (string) +func (o NodeTemplateVsphereConfigOutput) Cloudinit() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Cloudinit }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateFsGroup struct { - // (list) - Ranges []PodSecurityPolicyTemplateFsGroupRange `pulumi:"ranges"` - // (string) - Rule *string `pulumi:"rule"` +// If you choose to clone from a content library template specify the name of the library. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigOutput) ContentLibrary() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.ContentLibrary }).(pulumi.StringPtrOutput) } -// PodSecurityPolicyTemplateFsGroupInput is an input type that accepts PodSecurityPolicyTemplateFsGroupArgs and PodSecurityPolicyTemplateFsGroupOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateFsGroupInput` via: -// -// PodSecurityPolicyTemplateFsGroupArgs{...} -type PodSecurityPolicyTemplateFsGroupInput interface { - pulumi.Input +// vSphere CPU number for docker VM. Default `2` (string) +func (o NodeTemplateVsphereConfigOutput) CpuCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.CpuCount }).(pulumi.StringPtrOutput) +} - ToPodSecurityPolicyTemplateFsGroupOutput() PodSecurityPolicyTemplateFsGroupOutput - ToPodSecurityPolicyTemplateFsGroupOutputWithContext(context.Context) PodSecurityPolicyTemplateFsGroupOutput +// Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy`. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigOutput) CreationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.CreationType }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateFsGroupArgs struct { - // (list) - Ranges PodSecurityPolicyTemplateFsGroupRangeArrayInput `pulumi:"ranges"` - // (string) - Rule pulumi.StringPtrInput `pulumi:"rule"` +// vSphere custom attributes, format key/value e.g. `200=my custom value`. From Rancher v2.3.3 (List) +func (o NodeTemplateVsphereConfigOutput) CustomAttributes() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) []string { return v.CustomAttributes }).(pulumi.StringArrayOutput) } -func (PodSecurityPolicyTemplateFsGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateFsGroup)(nil)).Elem() +// vSphere datacenter for docker VM (string) +func (o NodeTemplateVsphereConfigOutput) Datacenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Datacenter }).(pulumi.StringPtrOutput) } -func (i PodSecurityPolicyTemplateFsGroupArgs) ToPodSecurityPolicyTemplateFsGroupOutput() PodSecurityPolicyTemplateFsGroupOutput { - return i.ToPodSecurityPolicyTemplateFsGroupOutputWithContext(context.Background()) +// vSphere datastore for docker VM (string) +func (o NodeTemplateVsphereConfigOutput) Datastore() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Datastore }).(pulumi.StringPtrOutput) } -func (i PodSecurityPolicyTemplateFsGroupArgs) ToPodSecurityPolicyTemplateFsGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateFsGroupOutput) +// vSphere datastore cluster for virtual machine. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigOutput) DatastoreCluster() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.DatastoreCluster }).(pulumi.StringPtrOutput) } -func (i PodSecurityPolicyTemplateFsGroupArgs) ToPodSecurityPolicyTemplateFsGroupPtrOutput() PodSecurityPolicyTemplateFsGroupPtrOutput { - return i.ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) +// vSphere size of disk for docker VM (in MB). Default `20480` (string) +func (o NodeTemplateVsphereConfigOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.DiskSize }).(pulumi.StringPtrOutput) } -func (i PodSecurityPolicyTemplateFsGroupArgs) ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateFsGroupOutput).ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx) +// vSphere folder for the docker VM. This folder must already exist in the datacenter (string) +func (o NodeTemplateVsphereConfigOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) } -// PodSecurityPolicyTemplateFsGroupPtrInput is an input type that accepts PodSecurityPolicyTemplateFsGroupArgs, PodSecurityPolicyTemplateFsGroupPtr and PodSecurityPolicyTemplateFsGroupPtrOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateFsGroupPtrInput` via: -// -// PodSecurityPolicyTemplateFsGroupArgs{...} -// -// or: -// -// nil -type PodSecurityPolicyTemplateFsGroupPtrInput interface { - pulumi.Input +// vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) +func (o NodeTemplateVsphereConfigOutput) Hostsystem() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Hostsystem }).(pulumi.StringPtrOutput) +} - ToPodSecurityPolicyTemplateFsGroupPtrOutput() PodSecurityPolicyTemplateFsGroupPtrOutput - ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateFsGroupPtrOutput +// vSphere size of memory for docker VM (in MB). Default `2048` (string) +func (o NodeTemplateVsphereConfigOutput) MemorySize() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.MemorySize }).(pulumi.StringPtrOutput) } -type podSecurityPolicyTemplateFsGroupPtrType PodSecurityPolicyTemplateFsGroupArgs +// vSphere network where the docker VM will be attached (list) +func (o NodeTemplateVsphereConfigOutput) Networks() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) []string { return v.Networks }).(pulumi.StringArrayOutput) +} -func PodSecurityPolicyTemplateFsGroupPtr(v *PodSecurityPolicyTemplateFsGroupArgs) PodSecurityPolicyTemplateFsGroupPtrInput { - return (*podSecurityPolicyTemplateFsGroupPtrType)(v) +// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateVsphereConfigOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (*podSecurityPolicyTemplateFsGroupPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateFsGroup)(nil)).Elem() +// vSphere resource pool for docker VM (string) +func (o NodeTemplateVsphereConfigOutput) Pool() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Pool }).(pulumi.StringPtrOutput) } -func (i *podSecurityPolicyTemplateFsGroupPtrType) ToPodSecurityPolicyTemplateFsGroupPtrOutput() PodSecurityPolicyTemplateFsGroupPtrOutput { - return i.ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) +// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigOutput) SshPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.SshPassword }).(pulumi.StringPtrOutput) } -func (i *podSecurityPolicyTemplateFsGroupPtrType) ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateFsGroupPtrOutput) +// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.SshPort }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateFsGroupOutput struct{ *pulumi.OutputState } +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.SshUser }).(pulumi.StringPtrOutput) +} -func (PodSecurityPolicyTemplateFsGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateFsGroup)(nil)).Elem() +// If using a non-B2D image the uploaded keys will need chown'ed. Default `staff`. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigOutput) SshUserGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.SshUserGroup }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateFsGroupOutput) ToPodSecurityPolicyTemplateFsGroupOutput() PodSecurityPolicyTemplateFsGroupOutput { - return o +// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) +func (o NodeTemplateVsphereConfigOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) []string { return v.Tags }).(pulumi.StringArrayOutput) } -func (o PodSecurityPolicyTemplateFsGroupOutput) ToPodSecurityPolicyTemplateFsGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupOutput { - return o +// vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateVsphereConfigOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateFsGroupOutput) ToPodSecurityPolicyTemplateFsGroupPtrOutput() PodSecurityPolicyTemplateFsGroupPtrOutput { - return o.ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) +// vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) +func (o NodeTemplateVsphereConfigOutput) VappIpAllocationPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.VappIpAllocationPolicy }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateFsGroupOutput) ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateFsGroup) *PodSecurityPolicyTemplateFsGroup { - return &v - }).(PodSecurityPolicyTemplateFsGroupPtrOutput) +// vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) +func (o NodeTemplateVsphereConfigOutput) VappIpProtocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.VappIpProtocol }).(pulumi.StringPtrOutput) } -// (list) -func (o PodSecurityPolicyTemplateFsGroupOutput) Ranges() PodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateFsGroup) []PodSecurityPolicyTemplateFsGroupRange { return v.Ranges }).(PodSecurityPolicyTemplateFsGroupRangeArrayOutput) +// vSphere vApp properties (list) +func (o NodeTemplateVsphereConfigOutput) VappProperties() pulumi.StringArrayOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) []string { return v.VappProperties }).(pulumi.StringArrayOutput) } -// (string) -func (o PodSecurityPolicyTemplateFsGroupOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateFsGroup) *string { return v.Rule }).(pulumi.StringPtrOutput) +// vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) +func (o NodeTemplateVsphereConfigOutput) VappTransport() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.VappTransport }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateFsGroupPtrOutput struct{ *pulumi.OutputState } +// vSphere IP/hostname for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateVsphereConfigOutput) Vcenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.Vcenter }).(pulumi.StringPtrOutput) +} -func (PodSecurityPolicyTemplateFsGroupPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateFsGroup)(nil)).Elem() +// vSphere Port for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x. Default `443` (string) +func (o NodeTemplateVsphereConfigOutput) VcenterPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v NodeTemplateVsphereConfig) *string { return v.VcenterPort }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateFsGroupPtrOutput) ToPodSecurityPolicyTemplateFsGroupPtrOutput() PodSecurityPolicyTemplateFsGroupPtrOutput { +type NodeTemplateVsphereConfigPtrOutput struct{ *pulumi.OutputState } + +func (NodeTemplateVsphereConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NodeTemplateVsphereConfig)(nil)).Elem() +} + +func (o NodeTemplateVsphereConfigPtrOutput) ToNodeTemplateVsphereConfigPtrOutput() NodeTemplateVsphereConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateFsGroupPtrOutput) ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupPtrOutput { +func (o NodeTemplateVsphereConfigPtrOutput) ToNodeTemplateVsphereConfigPtrOutputWithContext(ctx context.Context) NodeTemplateVsphereConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateFsGroupPtrOutput) Elem() PodSecurityPolicyTemplateFsGroupOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateFsGroup) PodSecurityPolicyTemplateFsGroup { +func (o NodeTemplateVsphereConfigPtrOutput) Elem() NodeTemplateVsphereConfigOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) NodeTemplateVsphereConfig { if v != nil { return *v } - var ret PodSecurityPolicyTemplateFsGroup + var ret NodeTemplateVsphereConfig return ret - }).(PodSecurityPolicyTemplateFsGroupOutput) + }).(NodeTemplateVsphereConfigOutput) } -// (list) -func (o PodSecurityPolicyTemplateFsGroupPtrOutput) Ranges() PodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateFsGroup) []PodSecurityPolicyTemplateFsGroupRange { +// vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) +func (o NodeTemplateVsphereConfigPtrOutput) Boot2dockerUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { if v == nil { return nil } - return v.Ranges - }).(PodSecurityPolicyTemplateFsGroupRangeArrayOutput) + return v.Boot2dockerUrl + }).(pulumi.StringPtrOutput) } -// (string) -func (o PodSecurityPolicyTemplateFsGroupPtrOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateFsGroup) *string { +// vSphere vm configuration parameters (used for guestinfo) (list) +func (o NodeTemplateVsphereConfigPtrOutput) Cfgparams() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) []string { if v == nil { return nil } - return v.Rule - }).(pulumi.StringPtrOutput) -} - -type PodSecurityPolicyTemplateFsGroupRange struct { - // (int) - Max int `pulumi:"max"` - // (int) - Min int `pulumi:"min"` -} - -// PodSecurityPolicyTemplateFsGroupRangeInput is an input type that accepts PodSecurityPolicyTemplateFsGroupRangeArgs and PodSecurityPolicyTemplateFsGroupRangeOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateFsGroupRangeInput` via: -// -// PodSecurityPolicyTemplateFsGroupRangeArgs{...} -type PodSecurityPolicyTemplateFsGroupRangeInput interface { - pulumi.Input - - ToPodSecurityPolicyTemplateFsGroupRangeOutput() PodSecurityPolicyTemplateFsGroupRangeOutput - ToPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(context.Context) PodSecurityPolicyTemplateFsGroupRangeOutput -} - -type PodSecurityPolicyTemplateFsGroupRangeArgs struct { - // (int) - Max pulumi.IntInput `pulumi:"max"` - // (int) - Min pulumi.IntInput `pulumi:"min"` -} - -func (PodSecurityPolicyTemplateFsGroupRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() -} - -func (i PodSecurityPolicyTemplateFsGroupRangeArgs) ToPodSecurityPolicyTemplateFsGroupRangeOutput() PodSecurityPolicyTemplateFsGroupRangeOutput { - return i.ToPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(context.Background()) -} - -func (i PodSecurityPolicyTemplateFsGroupRangeArgs) ToPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateFsGroupRangeOutput) -} - -// PodSecurityPolicyTemplateFsGroupRangeArrayInput is an input type that accepts PodSecurityPolicyTemplateFsGroupRangeArray and PodSecurityPolicyTemplateFsGroupRangeArrayOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateFsGroupRangeArrayInput` via: -// -// PodSecurityPolicyTemplateFsGroupRangeArray{ PodSecurityPolicyTemplateFsGroupRangeArgs{...} } -type PodSecurityPolicyTemplateFsGroupRangeArrayInput interface { - pulumi.Input - - ToPodSecurityPolicyTemplateFsGroupRangeArrayOutput() PodSecurityPolicyTemplateFsGroupRangeArrayOutput - ToPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateFsGroupRangeArrayOutput -} - -type PodSecurityPolicyTemplateFsGroupRangeArray []PodSecurityPolicyTemplateFsGroupRangeInput - -func (PodSecurityPolicyTemplateFsGroupRangeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() -} - -func (i PodSecurityPolicyTemplateFsGroupRangeArray) ToPodSecurityPolicyTemplateFsGroupRangeArrayOutput() PodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return i.ToPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(context.Background()) -} - -func (i PodSecurityPolicyTemplateFsGroupRangeArray) ToPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateFsGroupRangeArrayOutput) + return v.Cfgparams + }).(pulumi.StringArrayOutput) } -type PodSecurityPolicyTemplateFsGroupRangeOutput struct{ *pulumi.OutputState } - -func (PodSecurityPolicyTemplateFsGroupRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() +// If you choose creation type vm (clone vm) a name of what vm you want to clone is required. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigPtrOutput) CloneFrom() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.CloneFrom + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateFsGroupRangeOutput) ToPodSecurityPolicyTemplateFsGroupRangeOutput() PodSecurityPolicyTemplateFsGroupRangeOutput { - return o +// Cloud Config YAML content to inject as user-data. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigPtrOutput) CloudConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.CloudConfig + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateFsGroupRangeOutput) ToPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupRangeOutput { - return o +// vSphere cloud-init file or url to set in the guestinfo (string) +func (o NodeTemplateVsphereConfigPtrOutput) Cloudinit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.Cloudinit + }).(pulumi.StringPtrOutput) } -// (int) -func (o PodSecurityPolicyTemplateFsGroupRangeOutput) Max() pulumi.IntOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateFsGroupRange) int { return v.Max }).(pulumi.IntOutput) +// If you choose to clone from a content library template specify the name of the library. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigPtrOutput) ContentLibrary() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.ContentLibrary + }).(pulumi.StringPtrOutput) } -// (int) -func (o PodSecurityPolicyTemplateFsGroupRangeOutput) Min() pulumi.IntOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateFsGroupRange) int { return v.Min }).(pulumi.IntOutput) +// vSphere CPU number for docker VM. Default `2` (string) +func (o NodeTemplateVsphereConfigPtrOutput) CpuCount() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.CpuCount + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateFsGroupRangeArrayOutput struct{ *pulumi.OutputState } - -func (PodSecurityPolicyTemplateFsGroupRangeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() +// Creation type when creating a new virtual machine. Supported values: vm, template, library, legacy. Default `legacy`. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigPtrOutput) CreationType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.CreationType + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateFsGroupRangeArrayOutput) ToPodSecurityPolicyTemplateFsGroupRangeArrayOutput() PodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return o +// vSphere custom attributes, format key/value e.g. `200=my custom value`. From Rancher v2.3.3 (List) +func (o NodeTemplateVsphereConfigPtrOutput) CustomAttributes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) []string { + if v == nil { + return nil + } + return v.CustomAttributes + }).(pulumi.StringArrayOutput) } -func (o PodSecurityPolicyTemplateFsGroupRangeArrayOutput) ToPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return o +// vSphere datacenter for docker VM (string) +func (o NodeTemplateVsphereConfigPtrOutput) Datacenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.Datacenter + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateFsGroupRangeArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateFsGroupRangeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateFsGroupRange { - return vs[0].([]PodSecurityPolicyTemplateFsGroupRange)[vs[1].(int)] - }).(PodSecurityPolicyTemplateFsGroupRangeOutput) +// vSphere datastore for docker VM (string) +func (o NodeTemplateVsphereConfigPtrOutput) Datastore() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.Datastore + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateHostPort struct { - // (int) - Max int `pulumi:"max"` - // (int) - Min int `pulumi:"min"` +// vSphere datastore cluster for virtual machine. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigPtrOutput) DatastoreCluster() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.DatastoreCluster + }).(pulumi.StringPtrOutput) } -// PodSecurityPolicyTemplateHostPortInput is an input type that accepts PodSecurityPolicyTemplateHostPortArgs and PodSecurityPolicyTemplateHostPortOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateHostPortInput` via: -// -// PodSecurityPolicyTemplateHostPortArgs{...} -type PodSecurityPolicyTemplateHostPortInput interface { - pulumi.Input - - ToPodSecurityPolicyTemplateHostPortOutput() PodSecurityPolicyTemplateHostPortOutput - ToPodSecurityPolicyTemplateHostPortOutputWithContext(context.Context) PodSecurityPolicyTemplateHostPortOutput +// vSphere size of disk for docker VM (in MB). Default `20480` (string) +func (o NodeTemplateVsphereConfigPtrOutput) DiskSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.DiskSize + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateHostPortArgs struct { - // (int) - Max pulumi.IntInput `pulumi:"max"` - // (int) - Min pulumi.IntInput `pulumi:"min"` +// vSphere folder for the docker VM. This folder must already exist in the datacenter (string) +func (o NodeTemplateVsphereConfigPtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.Folder + }).(pulumi.StringPtrOutput) } -func (PodSecurityPolicyTemplateHostPortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateHostPort)(nil)).Elem() +// vSphere compute resource where the docker VM will be instantiated. This can be omitted if using a cluster with DRS (string) +func (o NodeTemplateVsphereConfigPtrOutput) Hostsystem() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.Hostsystem + }).(pulumi.StringPtrOutput) } -func (i PodSecurityPolicyTemplateHostPortArgs) ToPodSecurityPolicyTemplateHostPortOutput() PodSecurityPolicyTemplateHostPortOutput { - return i.ToPodSecurityPolicyTemplateHostPortOutputWithContext(context.Background()) +// vSphere size of memory for docker VM (in MB). Default `2048` (string) +func (o NodeTemplateVsphereConfigPtrOutput) MemorySize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.MemorySize + }).(pulumi.StringPtrOutput) } -func (i PodSecurityPolicyTemplateHostPortArgs) ToPodSecurityPolicyTemplateHostPortOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateHostPortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateHostPortOutput) +// vSphere network where the docker VM will be attached (list) +func (o NodeTemplateVsphereConfigPtrOutput) Networks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) []string { + if v == nil { + return nil + } + return v.Networks + }).(pulumi.StringArrayOutput) } -// PodSecurityPolicyTemplateHostPortArrayInput is an input type that accepts PodSecurityPolicyTemplateHostPortArray and PodSecurityPolicyTemplateHostPortArrayOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateHostPortArrayInput` via: -// -// PodSecurityPolicyTemplateHostPortArray{ PodSecurityPolicyTemplateHostPortArgs{...} } -type PodSecurityPolicyTemplateHostPortArrayInput interface { - pulumi.Input - - ToPodSecurityPolicyTemplateHostPortArrayOutput() PodSecurityPolicyTemplateHostPortArrayOutput - ToPodSecurityPolicyTemplateHostPortArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateHostPortArrayOutput +// vSphere password. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateVsphereConfigPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateHostPortArray []PodSecurityPolicyTemplateHostPortInput - -func (PodSecurityPolicyTemplateHostPortArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateHostPort)(nil)).Elem() +// vSphere resource pool for docker VM (string) +func (o NodeTemplateVsphereConfigPtrOutput) Pool() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.Pool + }).(pulumi.StringPtrOutput) } -func (i PodSecurityPolicyTemplateHostPortArray) ToPodSecurityPolicyTemplateHostPortArrayOutput() PodSecurityPolicyTemplateHostPortArrayOutput { - return i.ToPodSecurityPolicyTemplateHostPortArrayOutputWithContext(context.Background()) +// If using a non-B2D image you can specify the ssh password. Default `tcuser`. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigPtrOutput) SshPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.SshPassword + }).(pulumi.StringPtrOutput) } -func (i PodSecurityPolicyTemplateHostPortArray) ToPodSecurityPolicyTemplateHostPortArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateHostPortArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateHostPortArrayOutput) +// If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigPtrOutput) SshPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.SshPort + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateHostPortOutput struct{ *pulumi.OutputState } - -func (PodSecurityPolicyTemplateHostPortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateHostPort)(nil)).Elem() +// If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigPtrOutput) SshUser() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.SshUser + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateHostPortOutput) ToPodSecurityPolicyTemplateHostPortOutput() PodSecurityPolicyTemplateHostPortOutput { - return o +// If using a non-B2D image the uploaded keys will need chown'ed. Default `staff`. From Rancher v2.3.3 (string) +func (o NodeTemplateVsphereConfigPtrOutput) SshUserGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.SshUserGroup + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateHostPortOutput) ToPodSecurityPolicyTemplateHostPortOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateHostPortOutput { - return o +// vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) +func (o NodeTemplateVsphereConfigPtrOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) []string { + if v == nil { + return nil + } + return v.Tags + }).(pulumi.StringArrayOutput) } -// (int) -func (o PodSecurityPolicyTemplateHostPortOutput) Max() pulumi.IntOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateHostPort) int { return v.Max }).(pulumi.IntOutput) +// vSphere username. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateVsphereConfigPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) } -// (int) -func (o PodSecurityPolicyTemplateHostPortOutput) Min() pulumi.IntOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateHostPort) int { return v.Min }).(pulumi.IntOutput) +// vSphere vApp IP allocation policy. Supported values are: `dhcp`, `fixed`, `transient` and `fixedAllocated` (string) +func (o NodeTemplateVsphereConfigPtrOutput) VappIpAllocationPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.VappIpAllocationPolicy + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateHostPortArrayOutput struct{ *pulumi.OutputState } +// vSphere vApp IP protocol for this deployment. Supported values are: `IPv4` and `IPv6` (string) +func (o NodeTemplateVsphereConfigPtrOutput) VappIpProtocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.VappIpProtocol + }).(pulumi.StringPtrOutput) +} -func (PodSecurityPolicyTemplateHostPortArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateHostPort)(nil)).Elem() +// vSphere vApp properties (list) +func (o NodeTemplateVsphereConfigPtrOutput) VappProperties() pulumi.StringArrayOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) []string { + if v == nil { + return nil + } + return v.VappProperties + }).(pulumi.StringArrayOutput) } -func (o PodSecurityPolicyTemplateHostPortArrayOutput) ToPodSecurityPolicyTemplateHostPortArrayOutput() PodSecurityPolicyTemplateHostPortArrayOutput { - return o +// vSphere OVF environment transports to use for properties. Supported values are: `iso` and `com.vmware.guestInfo` (string) +func (o NodeTemplateVsphereConfigPtrOutput) VappTransport() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.VappTransport + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateHostPortArrayOutput) ToPodSecurityPolicyTemplateHostPortArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateHostPortArrayOutput { - return o +// vSphere IP/hostname for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) +func (o NodeTemplateVsphereConfigPtrOutput) Vcenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.Vcenter + }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateHostPortArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateHostPortOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateHostPort { - return vs[0].([]PodSecurityPolicyTemplateHostPort)[vs[1].(int)] - }).(PodSecurityPolicyTemplateHostPortOutput) +// vSphere Port for vCenter. Mandatory on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x. Default `443` (string) +func (o NodeTemplateVsphereConfigPtrOutput) VcenterPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NodeTemplateVsphereConfig) *string { + if v == nil { + return nil + } + return v.VcenterPort + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateRunAsGroup struct { - // (list) - Ranges []PodSecurityPolicyTemplateRunAsGroupRange `pulumi:"ranges"` - // (string) - Rule string `pulumi:"rule"` +type NotifierDingtalkConfig struct { + // Wechat proxy url (string) + ProxyUrl *string `pulumi:"proxyUrl"` + // Wechat agent ID (string) + Secret *string `pulumi:"secret"` + // Webhook url (string) + Url string `pulumi:"url"` } -// PodSecurityPolicyTemplateRunAsGroupInput is an input type that accepts PodSecurityPolicyTemplateRunAsGroupArgs and PodSecurityPolicyTemplateRunAsGroupOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsGroupInput` via: +// NotifierDingtalkConfigInput is an input type that accepts NotifierDingtalkConfigArgs and NotifierDingtalkConfigOutput values. +// You can construct a concrete instance of `NotifierDingtalkConfigInput` via: // -// PodSecurityPolicyTemplateRunAsGroupArgs{...} -type PodSecurityPolicyTemplateRunAsGroupInput interface { +// NotifierDingtalkConfigArgs{...} +type NotifierDingtalkConfigInput interface { pulumi.Input - ToPodSecurityPolicyTemplateRunAsGroupOutput() PodSecurityPolicyTemplateRunAsGroupOutput - ToPodSecurityPolicyTemplateRunAsGroupOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsGroupOutput + ToNotifierDingtalkConfigOutput() NotifierDingtalkConfigOutput + ToNotifierDingtalkConfigOutputWithContext(context.Context) NotifierDingtalkConfigOutput } -type PodSecurityPolicyTemplateRunAsGroupArgs struct { - // (list) - Ranges PodSecurityPolicyTemplateRunAsGroupRangeArrayInput `pulumi:"ranges"` - // (string) - Rule pulumi.StringInput `pulumi:"rule"` +type NotifierDingtalkConfigArgs struct { + // Wechat proxy url (string) + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + // Wechat agent ID (string) + Secret pulumi.StringPtrInput `pulumi:"secret"` + // Webhook url (string) + Url pulumi.StringInput `pulumi:"url"` } -func (PodSecurityPolicyTemplateRunAsGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +func (NotifierDingtalkConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierDingtalkConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateRunAsGroupArgs) ToPodSecurityPolicyTemplateRunAsGroupOutput() PodSecurityPolicyTemplateRunAsGroupOutput { - return i.ToPodSecurityPolicyTemplateRunAsGroupOutputWithContext(context.Background()) +func (i NotifierDingtalkConfigArgs) ToNotifierDingtalkConfigOutput() NotifierDingtalkConfigOutput { + return i.ToNotifierDingtalkConfigOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateRunAsGroupArgs) ToPodSecurityPolicyTemplateRunAsGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsGroupOutput) +func (i NotifierDingtalkConfigArgs) ToNotifierDingtalkConfigOutputWithContext(ctx context.Context) NotifierDingtalkConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierDingtalkConfigOutput) } -func (i PodSecurityPolicyTemplateRunAsGroupArgs) ToPodSecurityPolicyTemplateRunAsGroupPtrOutput() PodSecurityPolicyTemplateRunAsGroupPtrOutput { - return i.ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) +func (i NotifierDingtalkConfigArgs) ToNotifierDingtalkConfigPtrOutput() NotifierDingtalkConfigPtrOutput { + return i.ToNotifierDingtalkConfigPtrOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateRunAsGroupArgs) ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsGroupOutput).ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx) +func (i NotifierDingtalkConfigArgs) ToNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) NotifierDingtalkConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierDingtalkConfigOutput).ToNotifierDingtalkConfigPtrOutputWithContext(ctx) } -// PodSecurityPolicyTemplateRunAsGroupPtrInput is an input type that accepts PodSecurityPolicyTemplateRunAsGroupArgs, PodSecurityPolicyTemplateRunAsGroupPtr and PodSecurityPolicyTemplateRunAsGroupPtrOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsGroupPtrInput` via: +// NotifierDingtalkConfigPtrInput is an input type that accepts NotifierDingtalkConfigArgs, NotifierDingtalkConfigPtr and NotifierDingtalkConfigPtrOutput values. +// You can construct a concrete instance of `NotifierDingtalkConfigPtrInput` via: // -// PodSecurityPolicyTemplateRunAsGroupArgs{...} +// NotifierDingtalkConfigArgs{...} // // or: // // nil -type PodSecurityPolicyTemplateRunAsGroupPtrInput interface { +type NotifierDingtalkConfigPtrInput interface { pulumi.Input - ToPodSecurityPolicyTemplateRunAsGroupPtrOutput() PodSecurityPolicyTemplateRunAsGroupPtrOutput - ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsGroupPtrOutput + ToNotifierDingtalkConfigPtrOutput() NotifierDingtalkConfigPtrOutput + ToNotifierDingtalkConfigPtrOutputWithContext(context.Context) NotifierDingtalkConfigPtrOutput } -type podSecurityPolicyTemplateRunAsGroupPtrType PodSecurityPolicyTemplateRunAsGroupArgs +type notifierDingtalkConfigPtrType NotifierDingtalkConfigArgs -func PodSecurityPolicyTemplateRunAsGroupPtr(v *PodSecurityPolicyTemplateRunAsGroupArgs) PodSecurityPolicyTemplateRunAsGroupPtrInput { - return (*podSecurityPolicyTemplateRunAsGroupPtrType)(v) +func NotifierDingtalkConfigPtr(v *NotifierDingtalkConfigArgs) NotifierDingtalkConfigPtrInput { + return (*notifierDingtalkConfigPtrType)(v) } -func (*podSecurityPolicyTemplateRunAsGroupPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +func (*notifierDingtalkConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierDingtalkConfig)(nil)).Elem() } -func (i *podSecurityPolicyTemplateRunAsGroupPtrType) ToPodSecurityPolicyTemplateRunAsGroupPtrOutput() PodSecurityPolicyTemplateRunAsGroupPtrOutput { - return i.ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) +func (i *notifierDingtalkConfigPtrType) ToNotifierDingtalkConfigPtrOutput() NotifierDingtalkConfigPtrOutput { + return i.ToNotifierDingtalkConfigPtrOutputWithContext(context.Background()) } -func (i *podSecurityPolicyTemplateRunAsGroupPtrType) ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsGroupPtrOutput) +func (i *notifierDingtalkConfigPtrType) ToNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) NotifierDingtalkConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierDingtalkConfigPtrOutput) } -type PodSecurityPolicyTemplateRunAsGroupOutput struct{ *pulumi.OutputState } +type NotifierDingtalkConfigOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateRunAsGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +func (NotifierDingtalkConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierDingtalkConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateRunAsGroupOutput) ToPodSecurityPolicyTemplateRunAsGroupOutput() PodSecurityPolicyTemplateRunAsGroupOutput { +func (o NotifierDingtalkConfigOutput) ToNotifierDingtalkConfigOutput() NotifierDingtalkConfigOutput { return o } -func (o PodSecurityPolicyTemplateRunAsGroupOutput) ToPodSecurityPolicyTemplateRunAsGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupOutput { +func (o NotifierDingtalkConfigOutput) ToNotifierDingtalkConfigOutputWithContext(ctx context.Context) NotifierDingtalkConfigOutput { return o } -func (o PodSecurityPolicyTemplateRunAsGroupOutput) ToPodSecurityPolicyTemplateRunAsGroupPtrOutput() PodSecurityPolicyTemplateRunAsGroupPtrOutput { - return o.ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) +func (o NotifierDingtalkConfigOutput) ToNotifierDingtalkConfigPtrOutput() NotifierDingtalkConfigPtrOutput { + return o.ToNotifierDingtalkConfigPtrOutputWithContext(context.Background()) } -func (o PodSecurityPolicyTemplateRunAsGroupOutput) ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateRunAsGroup) *PodSecurityPolicyTemplateRunAsGroup { +func (o NotifierDingtalkConfigOutput) ToNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) NotifierDingtalkConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierDingtalkConfig) *NotifierDingtalkConfig { return &v - }).(PodSecurityPolicyTemplateRunAsGroupPtrOutput) + }).(NotifierDingtalkConfigPtrOutput) } -// (list) -func (o PodSecurityPolicyTemplateRunAsGroupOutput) Ranges() PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsGroup) []PodSecurityPolicyTemplateRunAsGroupRange { - return v.Ranges - }).(PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) +// Wechat proxy url (string) +func (o NotifierDingtalkConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotifierDingtalkConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) } -// (string) -func (o PodSecurityPolicyTemplateRunAsGroupOutput) Rule() pulumi.StringOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsGroup) string { return v.Rule }).(pulumi.StringOutput) +// Wechat agent ID (string) +func (o NotifierDingtalkConfigOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotifierDingtalkConfig) *string { return v.Secret }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateRunAsGroupPtrOutput struct{ *pulumi.OutputState } +// Webhook url (string) +func (o NotifierDingtalkConfigOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v NotifierDingtalkConfig) string { return v.Url }).(pulumi.StringOutput) +} -func (PodSecurityPolicyTemplateRunAsGroupPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +type NotifierDingtalkConfigPtrOutput struct{ *pulumi.OutputState } + +func (NotifierDingtalkConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierDingtalkConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateRunAsGroupPtrOutput) ToPodSecurityPolicyTemplateRunAsGroupPtrOutput() PodSecurityPolicyTemplateRunAsGroupPtrOutput { +func (o NotifierDingtalkConfigPtrOutput) ToNotifierDingtalkConfigPtrOutput() NotifierDingtalkConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateRunAsGroupPtrOutput) ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupPtrOutput { +func (o NotifierDingtalkConfigPtrOutput) ToNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) NotifierDingtalkConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateRunAsGroupPtrOutput) Elem() PodSecurityPolicyTemplateRunAsGroupOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsGroup) PodSecurityPolicyTemplateRunAsGroup { +func (o NotifierDingtalkConfigPtrOutput) Elem() NotifierDingtalkConfigOutput { + return o.ApplyT(func(v *NotifierDingtalkConfig) NotifierDingtalkConfig { if v != nil { return *v } - var ret PodSecurityPolicyTemplateRunAsGroup + var ret NotifierDingtalkConfig return ret - }).(PodSecurityPolicyTemplateRunAsGroupOutput) + }).(NotifierDingtalkConfigOutput) } -// (list) -func (o PodSecurityPolicyTemplateRunAsGroupPtrOutput) Ranges() PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsGroup) []PodSecurityPolicyTemplateRunAsGroupRange { +// Wechat proxy url (string) +func (o NotifierDingtalkConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierDingtalkConfig) *string { if v == nil { return nil } - return v.Ranges - }).(PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) + return v.ProxyUrl + }).(pulumi.StringPtrOutput) } -// (string) -func (o PodSecurityPolicyTemplateRunAsGroupPtrOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsGroup) *string { +// Wechat agent ID (string) +func (o NotifierDingtalkConfigPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierDingtalkConfig) *string { if v == nil { return nil } - return &v.Rule + return v.Secret }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateRunAsGroupRange struct { - // (int) - Max int `pulumi:"max"` - // (int) - Min int `pulumi:"min"` -} - -// PodSecurityPolicyTemplateRunAsGroupRangeInput is an input type that accepts PodSecurityPolicyTemplateRunAsGroupRangeArgs and PodSecurityPolicyTemplateRunAsGroupRangeOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsGroupRangeInput` via: -// -// PodSecurityPolicyTemplateRunAsGroupRangeArgs{...} -type PodSecurityPolicyTemplateRunAsGroupRangeInput interface { - pulumi.Input - - ToPodSecurityPolicyTemplateRunAsGroupRangeOutput() PodSecurityPolicyTemplateRunAsGroupRangeOutput - ToPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsGroupRangeOutput -} - -type PodSecurityPolicyTemplateRunAsGroupRangeArgs struct { - // (int) - Max pulumi.IntInput `pulumi:"max"` - // (int) - Min pulumi.IntInput `pulumi:"min"` -} - -func (PodSecurityPolicyTemplateRunAsGroupRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() -} - -func (i PodSecurityPolicyTemplateRunAsGroupRangeArgs) ToPodSecurityPolicyTemplateRunAsGroupRangeOutput() PodSecurityPolicyTemplateRunAsGroupRangeOutput { - return i.ToPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(context.Background()) -} - -func (i PodSecurityPolicyTemplateRunAsGroupRangeArgs) ToPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsGroupRangeOutput) -} - -// PodSecurityPolicyTemplateRunAsGroupRangeArrayInput is an input type that accepts PodSecurityPolicyTemplateRunAsGroupRangeArray and PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsGroupRangeArrayInput` via: -// -// PodSecurityPolicyTemplateRunAsGroupRangeArray{ PodSecurityPolicyTemplateRunAsGroupRangeArgs{...} } -type PodSecurityPolicyTemplateRunAsGroupRangeArrayInput interface { - pulumi.Input - - ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput - ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput -} - -type PodSecurityPolicyTemplateRunAsGroupRangeArray []PodSecurityPolicyTemplateRunAsGroupRangeInput - -func (PodSecurityPolicyTemplateRunAsGroupRangeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() -} - -func (i PodSecurityPolicyTemplateRunAsGroupRangeArray) ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return i.ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(context.Background()) -} - -func (i PodSecurityPolicyTemplateRunAsGroupRangeArray) ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) -} - -type PodSecurityPolicyTemplateRunAsGroupRangeOutput struct{ *pulumi.OutputState } - -func (PodSecurityPolicyTemplateRunAsGroupRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() -} - -func (o PodSecurityPolicyTemplateRunAsGroupRangeOutput) ToPodSecurityPolicyTemplateRunAsGroupRangeOutput() PodSecurityPolicyTemplateRunAsGroupRangeOutput { - return o -} - -func (o PodSecurityPolicyTemplateRunAsGroupRangeOutput) ToPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupRangeOutput { - return o -} - -// (int) -func (o PodSecurityPolicyTemplateRunAsGroupRangeOutput) Max() pulumi.IntOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsGroupRange) int { return v.Max }).(pulumi.IntOutput) -} - -// (int) -func (o PodSecurityPolicyTemplateRunAsGroupRangeOutput) Min() pulumi.IntOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsGroupRange) int { return v.Min }).(pulumi.IntOutput) -} - -type PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput struct{ *pulumi.OutputState } - -func (PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() -} - -func (o PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return o -} - -func (o PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return o -} - -func (o PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateRunAsGroupRangeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateRunAsGroupRange { - return vs[0].([]PodSecurityPolicyTemplateRunAsGroupRange)[vs[1].(int)] - }).(PodSecurityPolicyTemplateRunAsGroupRangeOutput) +// Webhook url (string) +func (o NotifierDingtalkConfigPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierDingtalkConfig) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateRunAsUser struct { - // (list) - Ranges []PodSecurityPolicyTemplateRunAsUserRange `pulumi:"ranges"` - // (string) - Rule string `pulumi:"rule"` +type NotifierMsteamsConfig struct { + // Wechat proxy url (string) + ProxyUrl *string `pulumi:"proxyUrl"` + // Webhook url (string) + Url string `pulumi:"url"` } -// PodSecurityPolicyTemplateRunAsUserInput is an input type that accepts PodSecurityPolicyTemplateRunAsUserArgs and PodSecurityPolicyTemplateRunAsUserOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsUserInput` via: +// NotifierMsteamsConfigInput is an input type that accepts NotifierMsteamsConfigArgs and NotifierMsteamsConfigOutput values. +// You can construct a concrete instance of `NotifierMsteamsConfigInput` via: // -// PodSecurityPolicyTemplateRunAsUserArgs{...} -type PodSecurityPolicyTemplateRunAsUserInput interface { +// NotifierMsteamsConfigArgs{...} +type NotifierMsteamsConfigInput interface { pulumi.Input - ToPodSecurityPolicyTemplateRunAsUserOutput() PodSecurityPolicyTemplateRunAsUserOutput - ToPodSecurityPolicyTemplateRunAsUserOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsUserOutput + ToNotifierMsteamsConfigOutput() NotifierMsteamsConfigOutput + ToNotifierMsteamsConfigOutputWithContext(context.Context) NotifierMsteamsConfigOutput } -type PodSecurityPolicyTemplateRunAsUserArgs struct { - // (list) - Ranges PodSecurityPolicyTemplateRunAsUserRangeArrayInput `pulumi:"ranges"` - // (string) - Rule pulumi.StringInput `pulumi:"rule"` +type NotifierMsteamsConfigArgs struct { + // Wechat proxy url (string) + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + // Webhook url (string) + Url pulumi.StringInput `pulumi:"url"` } -func (PodSecurityPolicyTemplateRunAsUserArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsUser)(nil)).Elem() +func (NotifierMsteamsConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierMsteamsConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateRunAsUserArgs) ToPodSecurityPolicyTemplateRunAsUserOutput() PodSecurityPolicyTemplateRunAsUserOutput { - return i.ToPodSecurityPolicyTemplateRunAsUserOutputWithContext(context.Background()) +func (i NotifierMsteamsConfigArgs) ToNotifierMsteamsConfigOutput() NotifierMsteamsConfigOutput { + return i.ToNotifierMsteamsConfigOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateRunAsUserArgs) ToPodSecurityPolicyTemplateRunAsUserOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsUserOutput) +func (i NotifierMsteamsConfigArgs) ToNotifierMsteamsConfigOutputWithContext(ctx context.Context) NotifierMsteamsConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierMsteamsConfigOutput) } -func (i PodSecurityPolicyTemplateRunAsUserArgs) ToPodSecurityPolicyTemplateRunAsUserPtrOutput() PodSecurityPolicyTemplateRunAsUserPtrOutput { - return i.ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) +func (i NotifierMsteamsConfigArgs) ToNotifierMsteamsConfigPtrOutput() NotifierMsteamsConfigPtrOutput { + return i.ToNotifierMsteamsConfigPtrOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateRunAsUserArgs) ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsUserOutput).ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx) +func (i NotifierMsteamsConfigArgs) ToNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) NotifierMsteamsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierMsteamsConfigOutput).ToNotifierMsteamsConfigPtrOutputWithContext(ctx) } -// PodSecurityPolicyTemplateRunAsUserPtrInput is an input type that accepts PodSecurityPolicyTemplateRunAsUserArgs, PodSecurityPolicyTemplateRunAsUserPtr and PodSecurityPolicyTemplateRunAsUserPtrOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsUserPtrInput` via: +// NotifierMsteamsConfigPtrInput is an input type that accepts NotifierMsteamsConfigArgs, NotifierMsteamsConfigPtr and NotifierMsteamsConfigPtrOutput values. +// You can construct a concrete instance of `NotifierMsteamsConfigPtrInput` via: // -// PodSecurityPolicyTemplateRunAsUserArgs{...} +// NotifierMsteamsConfigArgs{...} // // or: // // nil -type PodSecurityPolicyTemplateRunAsUserPtrInput interface { +type NotifierMsteamsConfigPtrInput interface { pulumi.Input - ToPodSecurityPolicyTemplateRunAsUserPtrOutput() PodSecurityPolicyTemplateRunAsUserPtrOutput - ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsUserPtrOutput + ToNotifierMsteamsConfigPtrOutput() NotifierMsteamsConfigPtrOutput + ToNotifierMsteamsConfigPtrOutputWithContext(context.Context) NotifierMsteamsConfigPtrOutput } -type podSecurityPolicyTemplateRunAsUserPtrType PodSecurityPolicyTemplateRunAsUserArgs +type notifierMsteamsConfigPtrType NotifierMsteamsConfigArgs -func PodSecurityPolicyTemplateRunAsUserPtr(v *PodSecurityPolicyTemplateRunAsUserArgs) PodSecurityPolicyTemplateRunAsUserPtrInput { - return (*podSecurityPolicyTemplateRunAsUserPtrType)(v) +func NotifierMsteamsConfigPtr(v *NotifierMsteamsConfigArgs) NotifierMsteamsConfigPtrInput { + return (*notifierMsteamsConfigPtrType)(v) } -func (*podSecurityPolicyTemplateRunAsUserPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateRunAsUser)(nil)).Elem() +func (*notifierMsteamsConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierMsteamsConfig)(nil)).Elem() } -func (i *podSecurityPolicyTemplateRunAsUserPtrType) ToPodSecurityPolicyTemplateRunAsUserPtrOutput() PodSecurityPolicyTemplateRunAsUserPtrOutput { - return i.ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) +func (i *notifierMsteamsConfigPtrType) ToNotifierMsteamsConfigPtrOutput() NotifierMsteamsConfigPtrOutput { + return i.ToNotifierMsteamsConfigPtrOutputWithContext(context.Background()) } -func (i *podSecurityPolicyTemplateRunAsUserPtrType) ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsUserPtrOutput) +func (i *notifierMsteamsConfigPtrType) ToNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) NotifierMsteamsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierMsteamsConfigPtrOutput) } -type PodSecurityPolicyTemplateRunAsUserOutput struct{ *pulumi.OutputState } +type NotifierMsteamsConfigOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateRunAsUserOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsUser)(nil)).Elem() +func (NotifierMsteamsConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierMsteamsConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateRunAsUserOutput) ToPodSecurityPolicyTemplateRunAsUserOutput() PodSecurityPolicyTemplateRunAsUserOutput { +func (o NotifierMsteamsConfigOutput) ToNotifierMsteamsConfigOutput() NotifierMsteamsConfigOutput { return o } -func (o PodSecurityPolicyTemplateRunAsUserOutput) ToPodSecurityPolicyTemplateRunAsUserOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserOutput { +func (o NotifierMsteamsConfigOutput) ToNotifierMsteamsConfigOutputWithContext(ctx context.Context) NotifierMsteamsConfigOutput { return o } -func (o PodSecurityPolicyTemplateRunAsUserOutput) ToPodSecurityPolicyTemplateRunAsUserPtrOutput() PodSecurityPolicyTemplateRunAsUserPtrOutput { - return o.ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) +func (o NotifierMsteamsConfigOutput) ToNotifierMsteamsConfigPtrOutput() NotifierMsteamsConfigPtrOutput { + return o.ToNotifierMsteamsConfigPtrOutputWithContext(context.Background()) } - -func (o PodSecurityPolicyTemplateRunAsUserOutput) ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateRunAsUser) *PodSecurityPolicyTemplateRunAsUser { + +func (o NotifierMsteamsConfigOutput) ToNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) NotifierMsteamsConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierMsteamsConfig) *NotifierMsteamsConfig { return &v - }).(PodSecurityPolicyTemplateRunAsUserPtrOutput) + }).(NotifierMsteamsConfigPtrOutput) } -// (list) -func (o PodSecurityPolicyTemplateRunAsUserOutput) Ranges() PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsUser) []PodSecurityPolicyTemplateRunAsUserRange { return v.Ranges }).(PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) +// Wechat proxy url (string) +func (o NotifierMsteamsConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotifierMsteamsConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) } -// (string) -func (o PodSecurityPolicyTemplateRunAsUserOutput) Rule() pulumi.StringOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsUser) string { return v.Rule }).(pulumi.StringOutput) +// Webhook url (string) +func (o NotifierMsteamsConfigOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v NotifierMsteamsConfig) string { return v.Url }).(pulumi.StringOutput) } -type PodSecurityPolicyTemplateRunAsUserPtrOutput struct{ *pulumi.OutputState } +type NotifierMsteamsConfigPtrOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateRunAsUserPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateRunAsUser)(nil)).Elem() +func (NotifierMsteamsConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierMsteamsConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateRunAsUserPtrOutput) ToPodSecurityPolicyTemplateRunAsUserPtrOutput() PodSecurityPolicyTemplateRunAsUserPtrOutput { +func (o NotifierMsteamsConfigPtrOutput) ToNotifierMsteamsConfigPtrOutput() NotifierMsteamsConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateRunAsUserPtrOutput) ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserPtrOutput { +func (o NotifierMsteamsConfigPtrOutput) ToNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) NotifierMsteamsConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateRunAsUserPtrOutput) Elem() PodSecurityPolicyTemplateRunAsUserOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsUser) PodSecurityPolicyTemplateRunAsUser { +func (o NotifierMsteamsConfigPtrOutput) Elem() NotifierMsteamsConfigOutput { + return o.ApplyT(func(v *NotifierMsteamsConfig) NotifierMsteamsConfig { if v != nil { return *v } - var ret PodSecurityPolicyTemplateRunAsUser + var ret NotifierMsteamsConfig return ret - }).(PodSecurityPolicyTemplateRunAsUserOutput) + }).(NotifierMsteamsConfigOutput) } -// (list) -func (o PodSecurityPolicyTemplateRunAsUserPtrOutput) Ranges() PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsUser) []PodSecurityPolicyTemplateRunAsUserRange { +// Wechat proxy url (string) +func (o NotifierMsteamsConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierMsteamsConfig) *string { if v == nil { return nil } - return v.Ranges - }).(PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) + return v.ProxyUrl + }).(pulumi.StringPtrOutput) } -// (string) -func (o PodSecurityPolicyTemplateRunAsUserPtrOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsUser) *string { +// Webhook url (string) +func (o NotifierMsteamsConfigPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierMsteamsConfig) *string { if v == nil { return nil } - return &v.Rule + return &v.Url }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateRunAsUserRange struct { - // (int) - Max int `pulumi:"max"` - // (int) - Min int `pulumi:"min"` +type NotifierPagerdutyConfig struct { + // Wechat proxy url (string) + ProxyUrl *string `pulumi:"proxyUrl"` + // Pagerduty service key (string) + ServiceKey string `pulumi:"serviceKey"` } -// PodSecurityPolicyTemplateRunAsUserRangeInput is an input type that accepts PodSecurityPolicyTemplateRunAsUserRangeArgs and PodSecurityPolicyTemplateRunAsUserRangeOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsUserRangeInput` via: +// NotifierPagerdutyConfigInput is an input type that accepts NotifierPagerdutyConfigArgs and NotifierPagerdutyConfigOutput values. +// You can construct a concrete instance of `NotifierPagerdutyConfigInput` via: // -// PodSecurityPolicyTemplateRunAsUserRangeArgs{...} -type PodSecurityPolicyTemplateRunAsUserRangeInput interface { +// NotifierPagerdutyConfigArgs{...} +type NotifierPagerdutyConfigInput interface { pulumi.Input - ToPodSecurityPolicyTemplateRunAsUserRangeOutput() PodSecurityPolicyTemplateRunAsUserRangeOutput - ToPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsUserRangeOutput + ToNotifierPagerdutyConfigOutput() NotifierPagerdutyConfigOutput + ToNotifierPagerdutyConfigOutputWithContext(context.Context) NotifierPagerdutyConfigOutput } -type PodSecurityPolicyTemplateRunAsUserRangeArgs struct { - // (int) - Max pulumi.IntInput `pulumi:"max"` - // (int) - Min pulumi.IntInput `pulumi:"min"` +type NotifierPagerdutyConfigArgs struct { + // Wechat proxy url (string) + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + // Pagerduty service key (string) + ServiceKey pulumi.StringInput `pulumi:"serviceKey"` } -func (PodSecurityPolicyTemplateRunAsUserRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +func (NotifierPagerdutyConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierPagerdutyConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateRunAsUserRangeArgs) ToPodSecurityPolicyTemplateRunAsUserRangeOutput() PodSecurityPolicyTemplateRunAsUserRangeOutput { - return i.ToPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(context.Background()) +func (i NotifierPagerdutyConfigArgs) ToNotifierPagerdutyConfigOutput() NotifierPagerdutyConfigOutput { + return i.ToNotifierPagerdutyConfigOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateRunAsUserRangeArgs) ToPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsUserRangeOutput) +func (i NotifierPagerdutyConfigArgs) ToNotifierPagerdutyConfigOutputWithContext(ctx context.Context) NotifierPagerdutyConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierPagerdutyConfigOutput) } -// PodSecurityPolicyTemplateRunAsUserRangeArrayInput is an input type that accepts PodSecurityPolicyTemplateRunAsUserRangeArray and PodSecurityPolicyTemplateRunAsUserRangeArrayOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsUserRangeArrayInput` via: +func (i NotifierPagerdutyConfigArgs) ToNotifierPagerdutyConfigPtrOutput() NotifierPagerdutyConfigPtrOutput { + return i.ToNotifierPagerdutyConfigPtrOutputWithContext(context.Background()) +} + +func (i NotifierPagerdutyConfigArgs) ToNotifierPagerdutyConfigPtrOutputWithContext(ctx context.Context) NotifierPagerdutyConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierPagerdutyConfigOutput).ToNotifierPagerdutyConfigPtrOutputWithContext(ctx) +} + +// NotifierPagerdutyConfigPtrInput is an input type that accepts NotifierPagerdutyConfigArgs, NotifierPagerdutyConfigPtr and NotifierPagerdutyConfigPtrOutput values. +// You can construct a concrete instance of `NotifierPagerdutyConfigPtrInput` via: // -// PodSecurityPolicyTemplateRunAsUserRangeArray{ PodSecurityPolicyTemplateRunAsUserRangeArgs{...} } -type PodSecurityPolicyTemplateRunAsUserRangeArrayInput interface { +// NotifierPagerdutyConfigArgs{...} +// +// or: +// +// nil +type NotifierPagerdutyConfigPtrInput interface { pulumi.Input - ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() PodSecurityPolicyTemplateRunAsUserRangeArrayOutput - ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsUserRangeArrayOutput + ToNotifierPagerdutyConfigPtrOutput() NotifierPagerdutyConfigPtrOutput + ToNotifierPagerdutyConfigPtrOutputWithContext(context.Context) NotifierPagerdutyConfigPtrOutput } -type PodSecurityPolicyTemplateRunAsUserRangeArray []PodSecurityPolicyTemplateRunAsUserRangeInput +type notifierPagerdutyConfigPtrType NotifierPagerdutyConfigArgs -func (PodSecurityPolicyTemplateRunAsUserRangeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +func NotifierPagerdutyConfigPtr(v *NotifierPagerdutyConfigArgs) NotifierPagerdutyConfigPtrInput { + return (*notifierPagerdutyConfigPtrType)(v) } -func (i PodSecurityPolicyTemplateRunAsUserRangeArray) ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { - return i.ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(context.Background()) +func (*notifierPagerdutyConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierPagerdutyConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateRunAsUserRangeArray) ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) +func (i *notifierPagerdutyConfigPtrType) ToNotifierPagerdutyConfigPtrOutput() NotifierPagerdutyConfigPtrOutput { + return i.ToNotifierPagerdutyConfigPtrOutputWithContext(context.Background()) } -type PodSecurityPolicyTemplateRunAsUserRangeOutput struct{ *pulumi.OutputState } +func (i *notifierPagerdutyConfigPtrType) ToNotifierPagerdutyConfigPtrOutputWithContext(ctx context.Context) NotifierPagerdutyConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierPagerdutyConfigPtrOutput) +} -func (PodSecurityPolicyTemplateRunAsUserRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +type NotifierPagerdutyConfigOutput struct{ *pulumi.OutputState } + +func (NotifierPagerdutyConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierPagerdutyConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateRunAsUserRangeOutput) ToPodSecurityPolicyTemplateRunAsUserRangeOutput() PodSecurityPolicyTemplateRunAsUserRangeOutput { +func (o NotifierPagerdutyConfigOutput) ToNotifierPagerdutyConfigOutput() NotifierPagerdutyConfigOutput { return o } -func (o PodSecurityPolicyTemplateRunAsUserRangeOutput) ToPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserRangeOutput { +func (o NotifierPagerdutyConfigOutput) ToNotifierPagerdutyConfigOutputWithContext(ctx context.Context) NotifierPagerdutyConfigOutput { return o } -// (int) -func (o PodSecurityPolicyTemplateRunAsUserRangeOutput) Max() pulumi.IntOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsUserRange) int { return v.Max }).(pulumi.IntOutput) +func (o NotifierPagerdutyConfigOutput) ToNotifierPagerdutyConfigPtrOutput() NotifierPagerdutyConfigPtrOutput { + return o.ToNotifierPagerdutyConfigPtrOutputWithContext(context.Background()) } -// (int) -func (o PodSecurityPolicyTemplateRunAsUserRangeOutput) Min() pulumi.IntOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsUserRange) int { return v.Min }).(pulumi.IntOutput) +func (o NotifierPagerdutyConfigOutput) ToNotifierPagerdutyConfigPtrOutputWithContext(ctx context.Context) NotifierPagerdutyConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierPagerdutyConfig) *NotifierPagerdutyConfig { + return &v + }).(NotifierPagerdutyConfigPtrOutput) } -type PodSecurityPolicyTemplateRunAsUserRangeArrayOutput struct{ *pulumi.OutputState } +// Wechat proxy url (string) +func (o NotifierPagerdutyConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotifierPagerdutyConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} -func (PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +// Pagerduty service key (string) +func (o NotifierPagerdutyConfigOutput) ServiceKey() pulumi.StringOutput { + return o.ApplyT(func(v NotifierPagerdutyConfig) string { return v.ServiceKey }).(pulumi.StringOutput) } -func (o PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { +type NotifierPagerdutyConfigPtrOutput struct{ *pulumi.OutputState } + +func (NotifierPagerdutyConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierPagerdutyConfig)(nil)).Elem() +} + +func (o NotifierPagerdutyConfigPtrOutput) ToNotifierPagerdutyConfigPtrOutput() NotifierPagerdutyConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { +func (o NotifierPagerdutyConfigPtrOutput) ToNotifierPagerdutyConfigPtrOutputWithContext(ctx context.Context) NotifierPagerdutyConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateRunAsUserRangeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateRunAsUserRange { - return vs[0].([]PodSecurityPolicyTemplateRunAsUserRange)[vs[1].(int)] - }).(PodSecurityPolicyTemplateRunAsUserRangeOutput) +func (o NotifierPagerdutyConfigPtrOutput) Elem() NotifierPagerdutyConfigOutput { + return o.ApplyT(func(v *NotifierPagerdutyConfig) NotifierPagerdutyConfig { + if v != nil { + return *v + } + var ret NotifierPagerdutyConfig + return ret + }).(NotifierPagerdutyConfigOutput) } -type PodSecurityPolicyTemplateRuntimeClass struct { - // (list) - AllowedRuntimeClassNames []string `pulumi:"allowedRuntimeClassNames"` - // (string) - DefaultRuntimeClassName *string `pulumi:"defaultRuntimeClassName"` +// Wechat proxy url (string) +func (o NotifierPagerdutyConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierPagerdutyConfig) *string { + if v == nil { + return nil + } + return v.ProxyUrl + }).(pulumi.StringPtrOutput) } -// PodSecurityPolicyTemplateRuntimeClassInput is an input type that accepts PodSecurityPolicyTemplateRuntimeClassArgs and PodSecurityPolicyTemplateRuntimeClassOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateRuntimeClassInput` via: +// Pagerduty service key (string) +func (o NotifierPagerdutyConfigPtrOutput) ServiceKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierPagerdutyConfig) *string { + if v == nil { + return nil + } + return &v.ServiceKey + }).(pulumi.StringPtrOutput) +} + +type NotifierSlackConfig struct { + // Wechat default recipient (string) + DefaultRecipient string `pulumi:"defaultRecipient"` + // Wechat proxy url (string) + ProxyUrl *string `pulumi:"proxyUrl"` + // Webhook url (string) + Url string `pulumi:"url"` +} + +// NotifierSlackConfigInput is an input type that accepts NotifierSlackConfigArgs and NotifierSlackConfigOutput values. +// You can construct a concrete instance of `NotifierSlackConfigInput` via: // -// PodSecurityPolicyTemplateRuntimeClassArgs{...} -type PodSecurityPolicyTemplateRuntimeClassInput interface { +// NotifierSlackConfigArgs{...} +type NotifierSlackConfigInput interface { pulumi.Input - ToPodSecurityPolicyTemplateRuntimeClassOutput() PodSecurityPolicyTemplateRuntimeClassOutput - ToPodSecurityPolicyTemplateRuntimeClassOutputWithContext(context.Context) PodSecurityPolicyTemplateRuntimeClassOutput + ToNotifierSlackConfigOutput() NotifierSlackConfigOutput + ToNotifierSlackConfigOutputWithContext(context.Context) NotifierSlackConfigOutput } -type PodSecurityPolicyTemplateRuntimeClassArgs struct { - // (list) - AllowedRuntimeClassNames pulumi.StringArrayInput `pulumi:"allowedRuntimeClassNames"` - // (string) - DefaultRuntimeClassName pulumi.StringPtrInput `pulumi:"defaultRuntimeClassName"` +type NotifierSlackConfigArgs struct { + // Wechat default recipient (string) + DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` + // Wechat proxy url (string) + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + // Webhook url (string) + Url pulumi.StringInput `pulumi:"url"` } -func (PodSecurityPolicyTemplateRuntimeClassArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +func (NotifierSlackConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierSlackConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateRuntimeClassArgs) ToPodSecurityPolicyTemplateRuntimeClassOutput() PodSecurityPolicyTemplateRuntimeClassOutput { - return i.ToPodSecurityPolicyTemplateRuntimeClassOutputWithContext(context.Background()) +func (i NotifierSlackConfigArgs) ToNotifierSlackConfigOutput() NotifierSlackConfigOutput { + return i.ToNotifierSlackConfigOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateRuntimeClassArgs) ToPodSecurityPolicyTemplateRuntimeClassOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRuntimeClassOutput) +func (i NotifierSlackConfigArgs) ToNotifierSlackConfigOutputWithContext(ctx context.Context) NotifierSlackConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierSlackConfigOutput) } -func (i PodSecurityPolicyTemplateRuntimeClassArgs) ToPodSecurityPolicyTemplateRuntimeClassPtrOutput() PodSecurityPolicyTemplateRuntimeClassPtrOutput { - return i.ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) +func (i NotifierSlackConfigArgs) ToNotifierSlackConfigPtrOutput() NotifierSlackConfigPtrOutput { + return i.ToNotifierSlackConfigPtrOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateRuntimeClassArgs) ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRuntimeClassOutput).ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx) +func (i NotifierSlackConfigArgs) ToNotifierSlackConfigPtrOutputWithContext(ctx context.Context) NotifierSlackConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierSlackConfigOutput).ToNotifierSlackConfigPtrOutputWithContext(ctx) } -// PodSecurityPolicyTemplateRuntimeClassPtrInput is an input type that accepts PodSecurityPolicyTemplateRuntimeClassArgs, PodSecurityPolicyTemplateRuntimeClassPtr and PodSecurityPolicyTemplateRuntimeClassPtrOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateRuntimeClassPtrInput` via: +// NotifierSlackConfigPtrInput is an input type that accepts NotifierSlackConfigArgs, NotifierSlackConfigPtr and NotifierSlackConfigPtrOutput values. +// You can construct a concrete instance of `NotifierSlackConfigPtrInput` via: // -// PodSecurityPolicyTemplateRuntimeClassArgs{...} +// NotifierSlackConfigArgs{...} // // or: // // nil -type PodSecurityPolicyTemplateRuntimeClassPtrInput interface { +type NotifierSlackConfigPtrInput interface { pulumi.Input - ToPodSecurityPolicyTemplateRuntimeClassPtrOutput() PodSecurityPolicyTemplateRuntimeClassPtrOutput - ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateRuntimeClassPtrOutput + ToNotifierSlackConfigPtrOutput() NotifierSlackConfigPtrOutput + ToNotifierSlackConfigPtrOutputWithContext(context.Context) NotifierSlackConfigPtrOutput } -type podSecurityPolicyTemplateRuntimeClassPtrType PodSecurityPolicyTemplateRuntimeClassArgs +type notifierSlackConfigPtrType NotifierSlackConfigArgs -func PodSecurityPolicyTemplateRuntimeClassPtr(v *PodSecurityPolicyTemplateRuntimeClassArgs) PodSecurityPolicyTemplateRuntimeClassPtrInput { - return (*podSecurityPolicyTemplateRuntimeClassPtrType)(v) +func NotifierSlackConfigPtr(v *NotifierSlackConfigArgs) NotifierSlackConfigPtrInput { + return (*notifierSlackConfigPtrType)(v) } -func (*podSecurityPolicyTemplateRuntimeClassPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +func (*notifierSlackConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierSlackConfig)(nil)).Elem() } -func (i *podSecurityPolicyTemplateRuntimeClassPtrType) ToPodSecurityPolicyTemplateRuntimeClassPtrOutput() PodSecurityPolicyTemplateRuntimeClassPtrOutput { - return i.ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) +func (i *notifierSlackConfigPtrType) ToNotifierSlackConfigPtrOutput() NotifierSlackConfigPtrOutput { + return i.ToNotifierSlackConfigPtrOutputWithContext(context.Background()) } -func (i *podSecurityPolicyTemplateRuntimeClassPtrType) ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRuntimeClassPtrOutput) +func (i *notifierSlackConfigPtrType) ToNotifierSlackConfigPtrOutputWithContext(ctx context.Context) NotifierSlackConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierSlackConfigPtrOutput) } -type PodSecurityPolicyTemplateRuntimeClassOutput struct{ *pulumi.OutputState } +type NotifierSlackConfigOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateRuntimeClassOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +func (NotifierSlackConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierSlackConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateRuntimeClassOutput) ToPodSecurityPolicyTemplateRuntimeClassOutput() PodSecurityPolicyTemplateRuntimeClassOutput { +func (o NotifierSlackConfigOutput) ToNotifierSlackConfigOutput() NotifierSlackConfigOutput { return o } -func (o PodSecurityPolicyTemplateRuntimeClassOutput) ToPodSecurityPolicyTemplateRuntimeClassOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassOutput { +func (o NotifierSlackConfigOutput) ToNotifierSlackConfigOutputWithContext(ctx context.Context) NotifierSlackConfigOutput { return o } -func (o PodSecurityPolicyTemplateRuntimeClassOutput) ToPodSecurityPolicyTemplateRuntimeClassPtrOutput() PodSecurityPolicyTemplateRuntimeClassPtrOutput { - return o.ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) +func (o NotifierSlackConfigOutput) ToNotifierSlackConfigPtrOutput() NotifierSlackConfigPtrOutput { + return o.ToNotifierSlackConfigPtrOutputWithContext(context.Background()) } -func (o PodSecurityPolicyTemplateRuntimeClassOutput) ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateRuntimeClass) *PodSecurityPolicyTemplateRuntimeClass { +func (o NotifierSlackConfigOutput) ToNotifierSlackConfigPtrOutputWithContext(ctx context.Context) NotifierSlackConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierSlackConfig) *NotifierSlackConfig { return &v - }).(PodSecurityPolicyTemplateRuntimeClassPtrOutput) + }).(NotifierSlackConfigPtrOutput) } -// (list) -func (o PodSecurityPolicyTemplateRuntimeClassOutput) AllowedRuntimeClassNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateRuntimeClass) []string { return v.AllowedRuntimeClassNames }).(pulumi.StringArrayOutput) +// Wechat default recipient (string) +func (o NotifierSlackConfigOutput) DefaultRecipient() pulumi.StringOutput { + return o.ApplyT(func(v NotifierSlackConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) } -// (string) -func (o PodSecurityPolicyTemplateRuntimeClassOutput) DefaultRuntimeClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateRuntimeClass) *string { return v.DefaultRuntimeClassName }).(pulumi.StringPtrOutput) +// Wechat proxy url (string) +func (o NotifierSlackConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotifierSlackConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateRuntimeClassPtrOutput struct{ *pulumi.OutputState } +// Webhook url (string) +func (o NotifierSlackConfigOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v NotifierSlackConfig) string { return v.Url }).(pulumi.StringOutput) +} -func (PodSecurityPolicyTemplateRuntimeClassPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +type NotifierSlackConfigPtrOutput struct{ *pulumi.OutputState } + +func (NotifierSlackConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierSlackConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateRuntimeClassPtrOutput) ToPodSecurityPolicyTemplateRuntimeClassPtrOutput() PodSecurityPolicyTemplateRuntimeClassPtrOutput { +func (o NotifierSlackConfigPtrOutput) ToNotifierSlackConfigPtrOutput() NotifierSlackConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateRuntimeClassPtrOutput) ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassPtrOutput { +func (o NotifierSlackConfigPtrOutput) ToNotifierSlackConfigPtrOutputWithContext(ctx context.Context) NotifierSlackConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateRuntimeClassPtrOutput) Elem() PodSecurityPolicyTemplateRuntimeClassOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateRuntimeClass) PodSecurityPolicyTemplateRuntimeClass { +func (o NotifierSlackConfigPtrOutput) Elem() NotifierSlackConfigOutput { + return o.ApplyT(func(v *NotifierSlackConfig) NotifierSlackConfig { if v != nil { return *v } - var ret PodSecurityPolicyTemplateRuntimeClass + var ret NotifierSlackConfig return ret - }).(PodSecurityPolicyTemplateRuntimeClassOutput) + }).(NotifierSlackConfigOutput) } -// (list) -func (o PodSecurityPolicyTemplateRuntimeClassPtrOutput) AllowedRuntimeClassNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateRuntimeClass) []string { +// Wechat default recipient (string) +func (o NotifierSlackConfigPtrOutput) DefaultRecipient() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierSlackConfig) *string { if v == nil { return nil } - return v.AllowedRuntimeClassNames - }).(pulumi.StringArrayOutput) + return &v.DefaultRecipient + }).(pulumi.StringPtrOutput) } -// (string) -func (o PodSecurityPolicyTemplateRuntimeClassPtrOutput) DefaultRuntimeClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateRuntimeClass) *string { +// Wechat proxy url (string) +func (o NotifierSlackConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierSlackConfig) *string { if v == nil { return nil } - return v.DefaultRuntimeClassName + return v.ProxyUrl }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateSeLinux struct { - // (string) - Rule string `pulumi:"rule"` - // (list maxitems:1) - SeLinuxOption *PodSecurityPolicyTemplateSeLinuxSeLinuxOption `pulumi:"seLinuxOption"` +// Webhook url (string) +func (o NotifierSlackConfigPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierSlackConfig) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) } -// PodSecurityPolicyTemplateSeLinuxInput is an input type that accepts PodSecurityPolicyTemplateSeLinuxArgs and PodSecurityPolicyTemplateSeLinuxOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateSeLinuxInput` via: +type NotifierSmtpConfig struct { + // Wechat default recipient (string) + DefaultRecipient string `pulumi:"defaultRecipient"` + // SMTP host (string) + Host string `pulumi:"host"` + // SMTP password (string) + Password *string `pulumi:"password"` + // SMTP port (int) + Port int `pulumi:"port"` + // SMTP sender (string) + Sender string `pulumi:"sender"` + // SMTP tls. Default `true` (bool) + Tls *bool `pulumi:"tls"` + // SMTP username (string) + Username *string `pulumi:"username"` +} + +// NotifierSmtpConfigInput is an input type that accepts NotifierSmtpConfigArgs and NotifierSmtpConfigOutput values. +// You can construct a concrete instance of `NotifierSmtpConfigInput` via: // -// PodSecurityPolicyTemplateSeLinuxArgs{...} -type PodSecurityPolicyTemplateSeLinuxInput interface { +// NotifierSmtpConfigArgs{...} +type NotifierSmtpConfigInput interface { pulumi.Input - ToPodSecurityPolicyTemplateSeLinuxOutput() PodSecurityPolicyTemplateSeLinuxOutput - ToPodSecurityPolicyTemplateSeLinuxOutputWithContext(context.Context) PodSecurityPolicyTemplateSeLinuxOutput + ToNotifierSmtpConfigOutput() NotifierSmtpConfigOutput + ToNotifierSmtpConfigOutputWithContext(context.Context) NotifierSmtpConfigOutput } -type PodSecurityPolicyTemplateSeLinuxArgs struct { - // (string) - Rule pulumi.StringInput `pulumi:"rule"` - // (list maxitems:1) - SeLinuxOption PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput `pulumi:"seLinuxOption"` +type NotifierSmtpConfigArgs struct { + // Wechat default recipient (string) + DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` + // SMTP host (string) + Host pulumi.StringInput `pulumi:"host"` + // SMTP password (string) + Password pulumi.StringPtrInput `pulumi:"password"` + // SMTP port (int) + Port pulumi.IntInput `pulumi:"port"` + // SMTP sender (string) + Sender pulumi.StringInput `pulumi:"sender"` + // SMTP tls. Default `true` (bool) + Tls pulumi.BoolPtrInput `pulumi:"tls"` + // SMTP username (string) + Username pulumi.StringPtrInput `pulumi:"username"` } -func (PodSecurityPolicyTemplateSeLinuxArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateSeLinux)(nil)).Elem() +func (NotifierSmtpConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierSmtpConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateSeLinuxArgs) ToPodSecurityPolicyTemplateSeLinuxOutput() PodSecurityPolicyTemplateSeLinuxOutput { - return i.ToPodSecurityPolicyTemplateSeLinuxOutputWithContext(context.Background()) +func (i NotifierSmtpConfigArgs) ToNotifierSmtpConfigOutput() NotifierSmtpConfigOutput { + return i.ToNotifierSmtpConfigOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateSeLinuxArgs) ToPodSecurityPolicyTemplateSeLinuxOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxOutput) +func (i NotifierSmtpConfigArgs) ToNotifierSmtpConfigOutputWithContext(ctx context.Context) NotifierSmtpConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierSmtpConfigOutput) } -func (i PodSecurityPolicyTemplateSeLinuxArgs) ToPodSecurityPolicyTemplateSeLinuxPtrOutput() PodSecurityPolicyTemplateSeLinuxPtrOutput { - return i.ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) +func (i NotifierSmtpConfigArgs) ToNotifierSmtpConfigPtrOutput() NotifierSmtpConfigPtrOutput { + return i.ToNotifierSmtpConfigPtrOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateSeLinuxArgs) ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxOutput).ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx) +func (i NotifierSmtpConfigArgs) ToNotifierSmtpConfigPtrOutputWithContext(ctx context.Context) NotifierSmtpConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierSmtpConfigOutput).ToNotifierSmtpConfigPtrOutputWithContext(ctx) } -// PodSecurityPolicyTemplateSeLinuxPtrInput is an input type that accepts PodSecurityPolicyTemplateSeLinuxArgs, PodSecurityPolicyTemplateSeLinuxPtr and PodSecurityPolicyTemplateSeLinuxPtrOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateSeLinuxPtrInput` via: +// NotifierSmtpConfigPtrInput is an input type that accepts NotifierSmtpConfigArgs, NotifierSmtpConfigPtr and NotifierSmtpConfigPtrOutput values. +// You can construct a concrete instance of `NotifierSmtpConfigPtrInput` via: // -// PodSecurityPolicyTemplateSeLinuxArgs{...} +// NotifierSmtpConfigArgs{...} // // or: // // nil -type PodSecurityPolicyTemplateSeLinuxPtrInput interface { +type NotifierSmtpConfigPtrInput interface { pulumi.Input - ToPodSecurityPolicyTemplateSeLinuxPtrOutput() PodSecurityPolicyTemplateSeLinuxPtrOutput - ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateSeLinuxPtrOutput + ToNotifierSmtpConfigPtrOutput() NotifierSmtpConfigPtrOutput + ToNotifierSmtpConfigPtrOutputWithContext(context.Context) NotifierSmtpConfigPtrOutput } -type podSecurityPolicyTemplateSeLinuxPtrType PodSecurityPolicyTemplateSeLinuxArgs +type notifierSmtpConfigPtrType NotifierSmtpConfigArgs -func PodSecurityPolicyTemplateSeLinuxPtr(v *PodSecurityPolicyTemplateSeLinuxArgs) PodSecurityPolicyTemplateSeLinuxPtrInput { - return (*podSecurityPolicyTemplateSeLinuxPtrType)(v) +func NotifierSmtpConfigPtr(v *NotifierSmtpConfigArgs) NotifierSmtpConfigPtrInput { + return (*notifierSmtpConfigPtrType)(v) } -func (*podSecurityPolicyTemplateSeLinuxPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateSeLinux)(nil)).Elem() +func (*notifierSmtpConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierSmtpConfig)(nil)).Elem() } -func (i *podSecurityPolicyTemplateSeLinuxPtrType) ToPodSecurityPolicyTemplateSeLinuxPtrOutput() PodSecurityPolicyTemplateSeLinuxPtrOutput { - return i.ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) +func (i *notifierSmtpConfigPtrType) ToNotifierSmtpConfigPtrOutput() NotifierSmtpConfigPtrOutput { + return i.ToNotifierSmtpConfigPtrOutputWithContext(context.Background()) } -func (i *podSecurityPolicyTemplateSeLinuxPtrType) ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxPtrOutput) +func (i *notifierSmtpConfigPtrType) ToNotifierSmtpConfigPtrOutputWithContext(ctx context.Context) NotifierSmtpConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierSmtpConfigPtrOutput) } -type PodSecurityPolicyTemplateSeLinuxOutput struct{ *pulumi.OutputState } +type NotifierSmtpConfigOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateSeLinuxOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateSeLinux)(nil)).Elem() +func (NotifierSmtpConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierSmtpConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateSeLinuxOutput) ToPodSecurityPolicyTemplateSeLinuxOutput() PodSecurityPolicyTemplateSeLinuxOutput { +func (o NotifierSmtpConfigOutput) ToNotifierSmtpConfigOutput() NotifierSmtpConfigOutput { + return o +} + +func (o NotifierSmtpConfigOutput) ToNotifierSmtpConfigOutputWithContext(ctx context.Context) NotifierSmtpConfigOutput { return o } -func (o PodSecurityPolicyTemplateSeLinuxOutput) ToPodSecurityPolicyTemplateSeLinuxOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxOutput { - return o +func (o NotifierSmtpConfigOutput) ToNotifierSmtpConfigPtrOutput() NotifierSmtpConfigPtrOutput { + return o.ToNotifierSmtpConfigPtrOutputWithContext(context.Background()) +} + +func (o NotifierSmtpConfigOutput) ToNotifierSmtpConfigPtrOutputWithContext(ctx context.Context) NotifierSmtpConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierSmtpConfig) *NotifierSmtpConfig { + return &v + }).(NotifierSmtpConfigPtrOutput) +} + +// Wechat default recipient (string) +func (o NotifierSmtpConfigOutput) DefaultRecipient() pulumi.StringOutput { + return o.ApplyT(func(v NotifierSmtpConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) +} + +// SMTP host (string) +func (o NotifierSmtpConfigOutput) Host() pulumi.StringOutput { + return o.ApplyT(func(v NotifierSmtpConfig) string { return v.Host }).(pulumi.StringOutput) +} + +// SMTP password (string) +func (o NotifierSmtpConfigOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotifierSmtpConfig) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateSeLinuxOutput) ToPodSecurityPolicyTemplateSeLinuxPtrOutput() PodSecurityPolicyTemplateSeLinuxPtrOutput { - return o.ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) +// SMTP port (int) +func (o NotifierSmtpConfigOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v NotifierSmtpConfig) int { return v.Port }).(pulumi.IntOutput) } -func (o PodSecurityPolicyTemplateSeLinuxOutput) ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateSeLinux) *PodSecurityPolicyTemplateSeLinux { - return &v - }).(PodSecurityPolicyTemplateSeLinuxPtrOutput) +// SMTP sender (string) +func (o NotifierSmtpConfigOutput) Sender() pulumi.StringOutput { + return o.ApplyT(func(v NotifierSmtpConfig) string { return v.Sender }).(pulumi.StringOutput) } -// (string) -func (o PodSecurityPolicyTemplateSeLinuxOutput) Rule() pulumi.StringOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinux) string { return v.Rule }).(pulumi.StringOutput) +// SMTP tls. Default `true` (bool) +func (o NotifierSmtpConfigOutput) Tls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v NotifierSmtpConfig) *bool { return v.Tls }).(pulumi.BoolPtrOutput) } -// (list maxitems:1) -func (o PodSecurityPolicyTemplateSeLinuxOutput) SeLinuxOption() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinux) *PodSecurityPolicyTemplateSeLinuxSeLinuxOption { - return v.SeLinuxOption - }).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) +// SMTP username (string) +func (o NotifierSmtpConfigOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotifierSmtpConfig) *string { return v.Username }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateSeLinuxPtrOutput struct{ *pulumi.OutputState } +type NotifierSmtpConfigPtrOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateSeLinuxPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateSeLinux)(nil)).Elem() +func (NotifierSmtpConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierSmtpConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateSeLinuxPtrOutput) ToPodSecurityPolicyTemplateSeLinuxPtrOutput() PodSecurityPolicyTemplateSeLinuxPtrOutput { +func (o NotifierSmtpConfigPtrOutput) ToNotifierSmtpConfigPtrOutput() NotifierSmtpConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateSeLinuxPtrOutput) ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxPtrOutput { +func (o NotifierSmtpConfigPtrOutput) ToNotifierSmtpConfigPtrOutputWithContext(ctx context.Context) NotifierSmtpConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateSeLinuxPtrOutput) Elem() PodSecurityPolicyTemplateSeLinuxOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinux) PodSecurityPolicyTemplateSeLinux { +func (o NotifierSmtpConfigPtrOutput) Elem() NotifierSmtpConfigOutput { + return o.ApplyT(func(v *NotifierSmtpConfig) NotifierSmtpConfig { if v != nil { return *v } - var ret PodSecurityPolicyTemplateSeLinux + var ret NotifierSmtpConfig return ret - }).(PodSecurityPolicyTemplateSeLinuxOutput) + }).(NotifierSmtpConfigOutput) } -// (string) -func (o PodSecurityPolicyTemplateSeLinuxPtrOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinux) *string { +// Wechat default recipient (string) +func (o NotifierSmtpConfigPtrOutput) DefaultRecipient() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierSmtpConfig) *string { if v == nil { return nil } - return &v.Rule + return &v.DefaultRecipient }).(pulumi.StringPtrOutput) } -// (list maxitems:1) -func (o PodSecurityPolicyTemplateSeLinuxPtrOutput) SeLinuxOption() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinux) *PodSecurityPolicyTemplateSeLinuxSeLinuxOption { +// SMTP host (string) +func (o NotifierSmtpConfigPtrOutput) Host() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierSmtpConfig) *string { if v == nil { return nil } - return v.SeLinuxOption - }).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) + return &v.Host + }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateSeLinuxSeLinuxOption struct { - // (string) - Level *string `pulumi:"level"` - // (string) - Role *string `pulumi:"role"` - // (string) - Type *string `pulumi:"type"` - // (string) - User *string `pulumi:"user"` +// SMTP password (string) +func (o NotifierSmtpConfigPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierSmtpConfig) *string { + if v == nil { + return nil + } + return v.Password + }).(pulumi.StringPtrOutput) } -// PodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput is an input type that accepts PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs and PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput` via: +// SMTP port (int) +func (o NotifierSmtpConfigPtrOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *NotifierSmtpConfig) *int { + if v == nil { + return nil + } + return &v.Port + }).(pulumi.IntPtrOutput) +} + +// SMTP sender (string) +func (o NotifierSmtpConfigPtrOutput) Sender() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierSmtpConfig) *string { + if v == nil { + return nil + } + return &v.Sender + }).(pulumi.StringPtrOutput) +} + +// SMTP tls. Default `true` (bool) +func (o NotifierSmtpConfigPtrOutput) Tls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *NotifierSmtpConfig) *bool { + if v == nil { + return nil + } + return v.Tls + }).(pulumi.BoolPtrOutput) +} + +// SMTP username (string) +func (o NotifierSmtpConfigPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierSmtpConfig) *string { + if v == nil { + return nil + } + return v.Username + }).(pulumi.StringPtrOutput) +} + +type NotifierWebhookConfig struct { + // Wechat proxy url (string) + ProxyUrl *string `pulumi:"proxyUrl"` + // Webhook url (string) + Url string `pulumi:"url"` +} + +// NotifierWebhookConfigInput is an input type that accepts NotifierWebhookConfigArgs and NotifierWebhookConfigOutput values. +// You can construct a concrete instance of `NotifierWebhookConfigInput` via: // -// PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{...} -type PodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput interface { +// NotifierWebhookConfigArgs{...} +type NotifierWebhookConfigInput interface { pulumi.Input - ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput - ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput + ToNotifierWebhookConfigOutput() NotifierWebhookConfigOutput + ToNotifierWebhookConfigOutputWithContext(context.Context) NotifierWebhookConfigOutput } -type PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs struct { - // (string) - Level pulumi.StringPtrInput `pulumi:"level"` - // (string) - Role pulumi.StringPtrInput `pulumi:"role"` - // (string) - Type pulumi.StringPtrInput `pulumi:"type"` - // (string) - User pulumi.StringPtrInput `pulumi:"user"` +type NotifierWebhookConfigArgs struct { + // Wechat proxy url (string) + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + // Webhook url (string) + Url pulumi.StringInput `pulumi:"url"` } -func (PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +func (NotifierWebhookConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierWebhookConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { - return i.ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(context.Background()) +func (i NotifierWebhookConfigArgs) ToNotifierWebhookConfigOutput() NotifierWebhookConfigOutput { + return i.ToNotifierWebhookConfigOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) +func (i NotifierWebhookConfigArgs) ToNotifierWebhookConfigOutputWithContext(ctx context.Context) NotifierWebhookConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierWebhookConfigOutput) } -func (i PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return i.ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) +func (i NotifierWebhookConfigArgs) ToNotifierWebhookConfigPtrOutput() NotifierWebhookConfigPtrOutput { + return i.ToNotifierWebhookConfigPtrOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput).ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx) +func (i NotifierWebhookConfigArgs) ToNotifierWebhookConfigPtrOutputWithContext(ctx context.Context) NotifierWebhookConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierWebhookConfigOutput).ToNotifierWebhookConfigPtrOutputWithContext(ctx) } -// PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput is an input type that accepts PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs, PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtr and PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput` via: +// NotifierWebhookConfigPtrInput is an input type that accepts NotifierWebhookConfigArgs, NotifierWebhookConfigPtr and NotifierWebhookConfigPtrOutput values. +// You can construct a concrete instance of `NotifierWebhookConfigPtrInput` via: // -// PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{...} +// NotifierWebhookConfigArgs{...} // // or: // // nil -type PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput interface { +type NotifierWebhookConfigPtrInput interface { pulumi.Input - ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput - ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput + ToNotifierWebhookConfigPtrOutput() NotifierWebhookConfigPtrOutput + ToNotifierWebhookConfigPtrOutputWithContext(context.Context) NotifierWebhookConfigPtrOutput } -type podSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs +type notifierWebhookConfigPtrType NotifierWebhookConfigArgs -func PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtr(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput { - return (*podSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType)(v) +func NotifierWebhookConfigPtr(v *NotifierWebhookConfigArgs) NotifierWebhookConfigPtrInput { + return (*notifierWebhookConfigPtrType)(v) } -func (*podSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +func (*notifierWebhookConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierWebhookConfig)(nil)).Elem() } -func (i *podSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return i.ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) +func (i *notifierWebhookConfigPtrType) ToNotifierWebhookConfigPtrOutput() NotifierWebhookConfigPtrOutput { + return i.ToNotifierWebhookConfigPtrOutputWithContext(context.Background()) } -func (i *podSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) +func (i *notifierWebhookConfigPtrType) ToNotifierWebhookConfigPtrOutputWithContext(ctx context.Context) NotifierWebhookConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierWebhookConfigPtrOutput) } -type PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput struct{ *pulumi.OutputState } +type NotifierWebhookConfigOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +func (NotifierWebhookConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierWebhookConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { +func (o NotifierWebhookConfigOutput) ToNotifierWebhookConfigOutput() NotifierWebhookConfigOutput { return o } -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { +func (o NotifierWebhookConfigOutput) ToNotifierWebhookConfigOutputWithContext(ctx context.Context) NotifierWebhookConfigOutput { return o } -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return o.ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) +func (o NotifierWebhookConfigOutput) ToNotifierWebhookConfigPtrOutput() NotifierWebhookConfigPtrOutput { + return o.ToNotifierWebhookConfigPtrOutputWithContext(context.Background()) } -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *PodSecurityPolicyTemplateSeLinuxSeLinuxOption { +func (o NotifierWebhookConfigOutput) ToNotifierWebhookConfigPtrOutputWithContext(ctx context.Context) NotifierWebhookConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierWebhookConfig) *NotifierWebhookConfig { return &v - }).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) -} - -// (string) -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Level() pulumi.StringPtrOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Level }).(pulumi.StringPtrOutput) -} - -// (string) -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Role() pulumi.StringPtrOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Role }).(pulumi.StringPtrOutput) + }).(NotifierWebhookConfigPtrOutput) } -// (string) -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Type }).(pulumi.StringPtrOutput) +// Wechat proxy url (string) +func (o NotifierWebhookConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotifierWebhookConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) } -// (string) -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.User }).(pulumi.StringPtrOutput) +// Webhook url (string) +func (o NotifierWebhookConfigOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v NotifierWebhookConfig) string { return v.Url }).(pulumi.StringOutput) } -type PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput struct{ *pulumi.OutputState } +type NotifierWebhookConfigPtrOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +func (NotifierWebhookConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierWebhookConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { +func (o NotifierWebhookConfigPtrOutput) ToNotifierWebhookConfigPtrOutput() NotifierWebhookConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { +func (o NotifierWebhookConfigPtrOutput) ToNotifierWebhookConfigPtrOutputWithContext(ctx context.Context) NotifierWebhookConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Elem() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOption) PodSecurityPolicyTemplateSeLinuxSeLinuxOption { +func (o NotifierWebhookConfigPtrOutput) Elem() NotifierWebhookConfigOutput { + return o.ApplyT(func(v *NotifierWebhookConfig) NotifierWebhookConfig { if v != nil { return *v } - var ret PodSecurityPolicyTemplateSeLinuxSeLinuxOption + var ret NotifierWebhookConfig return ret - }).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) -} - -// (string) -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Level() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { - if v == nil { - return nil - } - return v.Level - }).(pulumi.StringPtrOutput) -} - -// (string) -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Role() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { - if v == nil { - return nil - } - return v.Role - }).(pulumi.StringPtrOutput) + }).(NotifierWebhookConfigOutput) } -// (string) -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { +// Wechat proxy url (string) +func (o NotifierWebhookConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierWebhookConfig) *string { if v == nil { return nil } - return v.Type + return v.ProxyUrl }).(pulumi.StringPtrOutput) } -// (string) -func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { +// Webhook url (string) +func (o NotifierWebhookConfigPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierWebhookConfig) *string { if v == nil { return nil } - return v.User + return &v.Url }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateSupplementalGroup struct { - // (list) - Ranges []PodSecurityPolicyTemplateSupplementalGroupRange `pulumi:"ranges"` - // (string) - Rule *string `pulumi:"rule"` +type NotifierWechatConfig struct { + // Wechat agent ID (string) + Agent string `pulumi:"agent"` + // Wechat corporation ID (string) + Corp string `pulumi:"corp"` + // Wechat default recipient (string) + DefaultRecipient string `pulumi:"defaultRecipient"` + // Wechat proxy url (string) + ProxyUrl *string `pulumi:"proxyUrl"` + // Wechat recipient type. Allowed values: `party` | `tag` | `user` (string) + RecipientType *string `pulumi:"recipientType"` + // Wechat agent ID (string) + Secret string `pulumi:"secret"` } -// PodSecurityPolicyTemplateSupplementalGroupInput is an input type that accepts PodSecurityPolicyTemplateSupplementalGroupArgs and PodSecurityPolicyTemplateSupplementalGroupOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateSupplementalGroupInput` via: +// NotifierWechatConfigInput is an input type that accepts NotifierWechatConfigArgs and NotifierWechatConfigOutput values. +// You can construct a concrete instance of `NotifierWechatConfigInput` via: // -// PodSecurityPolicyTemplateSupplementalGroupArgs{...} -type PodSecurityPolicyTemplateSupplementalGroupInput interface { +// NotifierWechatConfigArgs{...} +type NotifierWechatConfigInput interface { pulumi.Input - ToPodSecurityPolicyTemplateSupplementalGroupOutput() PodSecurityPolicyTemplateSupplementalGroupOutput - ToPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(context.Context) PodSecurityPolicyTemplateSupplementalGroupOutput + ToNotifierWechatConfigOutput() NotifierWechatConfigOutput + ToNotifierWechatConfigOutputWithContext(context.Context) NotifierWechatConfigOutput } -type PodSecurityPolicyTemplateSupplementalGroupArgs struct { - // (list) - Ranges PodSecurityPolicyTemplateSupplementalGroupRangeArrayInput `pulumi:"ranges"` - // (string) - Rule pulumi.StringPtrInput `pulumi:"rule"` +type NotifierWechatConfigArgs struct { + // Wechat agent ID (string) + Agent pulumi.StringInput `pulumi:"agent"` + // Wechat corporation ID (string) + Corp pulumi.StringInput `pulumi:"corp"` + // Wechat default recipient (string) + DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` + // Wechat proxy url (string) + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + // Wechat recipient type. Allowed values: `party` | `tag` | `user` (string) + RecipientType pulumi.StringPtrInput `pulumi:"recipientType"` + // Wechat agent ID (string) + Secret pulumi.StringInput `pulumi:"secret"` } -func (PodSecurityPolicyTemplateSupplementalGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +func (NotifierWechatConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierWechatConfig)(nil)).Elem() } -func (i PodSecurityPolicyTemplateSupplementalGroupArgs) ToPodSecurityPolicyTemplateSupplementalGroupOutput() PodSecurityPolicyTemplateSupplementalGroupOutput { - return i.ToPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(context.Background()) +func (i NotifierWechatConfigArgs) ToNotifierWechatConfigOutput() NotifierWechatConfigOutput { + return i.ToNotifierWechatConfigOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateSupplementalGroupArgs) ToPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSupplementalGroupOutput) +func (i NotifierWechatConfigArgs) ToNotifierWechatConfigOutputWithContext(ctx context.Context) NotifierWechatConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierWechatConfigOutput) } -func (i PodSecurityPolicyTemplateSupplementalGroupArgs) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutput() PodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return i.ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) +func (i NotifierWechatConfigArgs) ToNotifierWechatConfigPtrOutput() NotifierWechatConfigPtrOutput { + return i.ToNotifierWechatConfigPtrOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateSupplementalGroupArgs) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSupplementalGroupOutput).ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx) +func (i NotifierWechatConfigArgs) ToNotifierWechatConfigPtrOutputWithContext(ctx context.Context) NotifierWechatConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierWechatConfigOutput).ToNotifierWechatConfigPtrOutputWithContext(ctx) } -// PodSecurityPolicyTemplateSupplementalGroupPtrInput is an input type that accepts PodSecurityPolicyTemplateSupplementalGroupArgs, PodSecurityPolicyTemplateSupplementalGroupPtr and PodSecurityPolicyTemplateSupplementalGroupPtrOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateSupplementalGroupPtrInput` via: +// NotifierWechatConfigPtrInput is an input type that accepts NotifierWechatConfigArgs, NotifierWechatConfigPtr and NotifierWechatConfigPtrOutput values. +// You can construct a concrete instance of `NotifierWechatConfigPtrInput` via: // -// PodSecurityPolicyTemplateSupplementalGroupArgs{...} +// NotifierWechatConfigArgs{...} // // or: // // nil -type PodSecurityPolicyTemplateSupplementalGroupPtrInput interface { +type NotifierWechatConfigPtrInput interface { pulumi.Input - ToPodSecurityPolicyTemplateSupplementalGroupPtrOutput() PodSecurityPolicyTemplateSupplementalGroupPtrOutput - ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateSupplementalGroupPtrOutput + ToNotifierWechatConfigPtrOutput() NotifierWechatConfigPtrOutput + ToNotifierWechatConfigPtrOutputWithContext(context.Context) NotifierWechatConfigPtrOutput } -type podSecurityPolicyTemplateSupplementalGroupPtrType PodSecurityPolicyTemplateSupplementalGroupArgs +type notifierWechatConfigPtrType NotifierWechatConfigArgs -func PodSecurityPolicyTemplateSupplementalGroupPtr(v *PodSecurityPolicyTemplateSupplementalGroupArgs) PodSecurityPolicyTemplateSupplementalGroupPtrInput { - return (*podSecurityPolicyTemplateSupplementalGroupPtrType)(v) +func NotifierWechatConfigPtr(v *NotifierWechatConfigArgs) NotifierWechatConfigPtrInput { + return (*notifierWechatConfigPtrType)(v) } -func (*podSecurityPolicyTemplateSupplementalGroupPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +func (*notifierWechatConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierWechatConfig)(nil)).Elem() } -func (i *podSecurityPolicyTemplateSupplementalGroupPtrType) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutput() PodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return i.ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) +func (i *notifierWechatConfigPtrType) ToNotifierWechatConfigPtrOutput() NotifierWechatConfigPtrOutput { + return i.ToNotifierWechatConfigPtrOutputWithContext(context.Background()) } -func (i *podSecurityPolicyTemplateSupplementalGroupPtrType) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSupplementalGroupPtrOutput) +func (i *notifierWechatConfigPtrType) ToNotifierWechatConfigPtrOutputWithContext(ctx context.Context) NotifierWechatConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(NotifierWechatConfigPtrOutput) } -type PodSecurityPolicyTemplateSupplementalGroupOutput struct{ *pulumi.OutputState } +type NotifierWechatConfigOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateSupplementalGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +func (NotifierWechatConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NotifierWechatConfig)(nil)).Elem() } -func (o PodSecurityPolicyTemplateSupplementalGroupOutput) ToPodSecurityPolicyTemplateSupplementalGroupOutput() PodSecurityPolicyTemplateSupplementalGroupOutput { +func (o NotifierWechatConfigOutput) ToNotifierWechatConfigOutput() NotifierWechatConfigOutput { return o } -func (o PodSecurityPolicyTemplateSupplementalGroupOutput) ToPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupOutput { +func (o NotifierWechatConfigOutput) ToNotifierWechatConfigOutputWithContext(ctx context.Context) NotifierWechatConfigOutput { return o } -func (o PodSecurityPolicyTemplateSupplementalGroupOutput) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutput() PodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return o.ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) +func (o NotifierWechatConfigOutput) ToNotifierWechatConfigPtrOutput() NotifierWechatConfigPtrOutput { + return o.ToNotifierWechatConfigPtrOutputWithContext(context.Background()) } -func (o PodSecurityPolicyTemplateSupplementalGroupOutput) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateSupplementalGroup) *PodSecurityPolicyTemplateSupplementalGroup { +func (o NotifierWechatConfigOutput) ToNotifierWechatConfigPtrOutputWithContext(ctx context.Context) NotifierWechatConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v NotifierWechatConfig) *NotifierWechatConfig { return &v - }).(PodSecurityPolicyTemplateSupplementalGroupPtrOutput) + }).(NotifierWechatConfigPtrOutput) } -// (list) -func (o PodSecurityPolicyTemplateSupplementalGroupOutput) Ranges() PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateSupplementalGroup) []PodSecurityPolicyTemplateSupplementalGroupRange { - return v.Ranges - }).(PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) +// Wechat agent ID (string) +func (o NotifierWechatConfigOutput) Agent() pulumi.StringOutput { + return o.ApplyT(func(v NotifierWechatConfig) string { return v.Agent }).(pulumi.StringOutput) } -// (string) -func (o PodSecurityPolicyTemplateSupplementalGroupOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateSupplementalGroup) *string { return v.Rule }).(pulumi.StringPtrOutput) +// Wechat corporation ID (string) +func (o NotifierWechatConfigOutput) Corp() pulumi.StringOutput { + return o.ApplyT(func(v NotifierWechatConfig) string { return v.Corp }).(pulumi.StringOutput) } -type PodSecurityPolicyTemplateSupplementalGroupPtrOutput struct{ *pulumi.OutputState } +// Wechat default recipient (string) +func (o NotifierWechatConfigOutput) DefaultRecipient() pulumi.StringOutput { + return o.ApplyT(func(v NotifierWechatConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) +} -func (PodSecurityPolicyTemplateSupplementalGroupPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +// Wechat proxy url (string) +func (o NotifierWechatConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotifierWechatConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) } -func (o PodSecurityPolicyTemplateSupplementalGroupPtrOutput) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutput() PodSecurityPolicyTemplateSupplementalGroupPtrOutput { +// Wechat recipient type. Allowed values: `party` | `tag` | `user` (string) +func (o NotifierWechatConfigOutput) RecipientType() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotifierWechatConfig) *string { return v.RecipientType }).(pulumi.StringPtrOutput) +} + +// Wechat agent ID (string) +func (o NotifierWechatConfigOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v NotifierWechatConfig) string { return v.Secret }).(pulumi.StringOutput) +} + +type NotifierWechatConfigPtrOutput struct{ *pulumi.OutputState } + +func (NotifierWechatConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**NotifierWechatConfig)(nil)).Elem() +} + +func (o NotifierWechatConfigPtrOutput) ToNotifierWechatConfigPtrOutput() NotifierWechatConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateSupplementalGroupPtrOutput) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupPtrOutput { +func (o NotifierWechatConfigPtrOutput) ToNotifierWechatConfigPtrOutputWithContext(ctx context.Context) NotifierWechatConfigPtrOutput { return o } -func (o PodSecurityPolicyTemplateSupplementalGroupPtrOutput) Elem() PodSecurityPolicyTemplateSupplementalGroupOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSupplementalGroup) PodSecurityPolicyTemplateSupplementalGroup { +func (o NotifierWechatConfigPtrOutput) Elem() NotifierWechatConfigOutput { + return o.ApplyT(func(v *NotifierWechatConfig) NotifierWechatConfig { if v != nil { return *v } - var ret PodSecurityPolicyTemplateSupplementalGroup - return ret - }).(PodSecurityPolicyTemplateSupplementalGroupOutput) + var ret NotifierWechatConfig + return ret + }).(NotifierWechatConfigOutput) +} + +// Wechat agent ID (string) +func (o NotifierWechatConfigPtrOutput) Agent() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierWechatConfig) *string { + if v == nil { + return nil + } + return &v.Agent + }).(pulumi.StringPtrOutput) +} + +// Wechat corporation ID (string) +func (o NotifierWechatConfigPtrOutput) Corp() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierWechatConfig) *string { + if v == nil { + return nil + } + return &v.Corp + }).(pulumi.StringPtrOutput) +} + +// Wechat default recipient (string) +func (o NotifierWechatConfigPtrOutput) DefaultRecipient() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierWechatConfig) *string { + if v == nil { + return nil + } + return &v.DefaultRecipient + }).(pulumi.StringPtrOutput) +} + +// Wechat proxy url (string) +func (o NotifierWechatConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierWechatConfig) *string { + if v == nil { + return nil + } + return v.ProxyUrl + }).(pulumi.StringPtrOutput) } -// (list) -func (o PodSecurityPolicyTemplateSupplementalGroupPtrOutput) Ranges() PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSupplementalGroup) []PodSecurityPolicyTemplateSupplementalGroupRange { +// Wechat recipient type. Allowed values: `party` | `tag` | `user` (string) +func (o NotifierWechatConfigPtrOutput) RecipientType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierWechatConfig) *string { if v == nil { return nil } - return v.Ranges - }).(PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) + return v.RecipientType + }).(pulumi.StringPtrOutput) } -// (string) -func (o PodSecurityPolicyTemplateSupplementalGroupPtrOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PodSecurityPolicyTemplateSupplementalGroup) *string { +// Wechat agent ID (string) +func (o NotifierWechatConfigPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotifierWechatConfig) *string { if v == nil { return nil } - return v.Rule + return &v.Secret }).(pulumi.StringPtrOutput) } -type PodSecurityPolicyTemplateSupplementalGroupRange struct { - // (int) - Max int `pulumi:"max"` - // (int) - Min int `pulumi:"min"` +type PodSecurityPolicyTemplateAllowedCsiDriver struct { + // The name of the PodSecurityPolicyTemplate (string) + Name string `pulumi:"name"` } -// PodSecurityPolicyTemplateSupplementalGroupRangeInput is an input type that accepts PodSecurityPolicyTemplateSupplementalGroupRangeArgs and PodSecurityPolicyTemplateSupplementalGroupRangeOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateSupplementalGroupRangeInput` via: +// PodSecurityPolicyTemplateAllowedCsiDriverInput is an input type that accepts PodSecurityPolicyTemplateAllowedCsiDriverArgs and PodSecurityPolicyTemplateAllowedCsiDriverOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedCsiDriverInput` via: // -// PodSecurityPolicyTemplateSupplementalGroupRangeArgs{...} -type PodSecurityPolicyTemplateSupplementalGroupRangeInput interface { +// PodSecurityPolicyTemplateAllowedCsiDriverArgs{...} +type PodSecurityPolicyTemplateAllowedCsiDriverInput interface { pulumi.Input - ToPodSecurityPolicyTemplateSupplementalGroupRangeOutput() PodSecurityPolicyTemplateSupplementalGroupRangeOutput - ToPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeOutput + ToPodSecurityPolicyTemplateAllowedCsiDriverOutput() PodSecurityPolicyTemplateAllowedCsiDriverOutput + ToPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedCsiDriverOutput } -type PodSecurityPolicyTemplateSupplementalGroupRangeArgs struct { - // (int) - Max pulumi.IntInput `pulumi:"max"` - // (int) - Min pulumi.IntInput `pulumi:"min"` +type PodSecurityPolicyTemplateAllowedCsiDriverArgs struct { + // The name of the PodSecurityPolicyTemplate (string) + Name pulumi.StringInput `pulumi:"name"` } -func (PodSecurityPolicyTemplateSupplementalGroupRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedCsiDriverArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() } -func (i PodSecurityPolicyTemplateSupplementalGroupRangeArgs) ToPodSecurityPolicyTemplateSupplementalGroupRangeOutput() PodSecurityPolicyTemplateSupplementalGroupRangeOutput { - return i.ToPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateAllowedCsiDriverArgs) ToPodSecurityPolicyTemplateAllowedCsiDriverOutput() PodSecurityPolicyTemplateAllowedCsiDriverOutput { + return i.ToPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateSupplementalGroupRangeArgs) ToPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSupplementalGroupRangeOutput) +func (i PodSecurityPolicyTemplateAllowedCsiDriverArgs) ToPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedCsiDriverOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedCsiDriverOutput) } -// PodSecurityPolicyTemplateSupplementalGroupRangeArrayInput is an input type that accepts PodSecurityPolicyTemplateSupplementalGroupRangeArray and PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput values. -// You can construct a concrete instance of `PodSecurityPolicyTemplateSupplementalGroupRangeArrayInput` via: +// PodSecurityPolicyTemplateAllowedCsiDriverArrayInput is an input type that accepts PodSecurityPolicyTemplateAllowedCsiDriverArray and PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedCsiDriverArrayInput` via: // -// PodSecurityPolicyTemplateSupplementalGroupRangeArray{ PodSecurityPolicyTemplateSupplementalGroupRangeArgs{...} } -type PodSecurityPolicyTemplateSupplementalGroupRangeArrayInput interface { +// PodSecurityPolicyTemplateAllowedCsiDriverArray{ PodSecurityPolicyTemplateAllowedCsiDriverArgs{...} } +type PodSecurityPolicyTemplateAllowedCsiDriverArrayInput interface { pulumi.Input - ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput - ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput + ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput + ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput } -type PodSecurityPolicyTemplateSupplementalGroupRangeArray []PodSecurityPolicyTemplateSupplementalGroupRangeInput +type PodSecurityPolicyTemplateAllowedCsiDriverArray []PodSecurityPolicyTemplateAllowedCsiDriverInput -func (PodSecurityPolicyTemplateSupplementalGroupRangeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedCsiDriverArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() } -func (i PodSecurityPolicyTemplateSupplementalGroupRangeArray) ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { - return i.ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateAllowedCsiDriverArray) ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { + return i.ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(context.Background()) } -func (i PodSecurityPolicyTemplateSupplementalGroupRangeArray) ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) +func (i PodSecurityPolicyTemplateAllowedCsiDriverArray) ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) } -type PodSecurityPolicyTemplateSupplementalGroupRangeOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateAllowedCsiDriverOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateSupplementalGroupRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedCsiDriverOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() } -func (o PodSecurityPolicyTemplateSupplementalGroupRangeOutput) ToPodSecurityPolicyTemplateSupplementalGroupRangeOutput() PodSecurityPolicyTemplateSupplementalGroupRangeOutput { +func (o PodSecurityPolicyTemplateAllowedCsiDriverOutput) ToPodSecurityPolicyTemplateAllowedCsiDriverOutput() PodSecurityPolicyTemplateAllowedCsiDriverOutput { return o } -func (o PodSecurityPolicyTemplateSupplementalGroupRangeOutput) ToPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeOutput { +func (o PodSecurityPolicyTemplateAllowedCsiDriverOutput) ToPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedCsiDriverOutput { return o } -// (int) -func (o PodSecurityPolicyTemplateSupplementalGroupRangeOutput) Max() pulumi.IntOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateSupplementalGroupRange) int { return v.Max }).(pulumi.IntOutput) -} - -// (int) -func (o PodSecurityPolicyTemplateSupplementalGroupRangeOutput) Min() pulumi.IntOutput { - return o.ApplyT(func(v PodSecurityPolicyTemplateSupplementalGroupRange) int { return v.Min }).(pulumi.IntOutput) +// The name of the PodSecurityPolicyTemplate (string) +func (o PodSecurityPolicyTemplateAllowedCsiDriverOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateAllowedCsiDriver) string { return v.Name }).(pulumi.StringOutput) } -type PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput struct{ *pulumi.OutputState } -func (PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() } -func (o PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { +func (o PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { return o } -func (o PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { +func (o PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ToPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { return o } -func (o PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateSupplementalGroupRangeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateSupplementalGroupRange { - return vs[0].([]PodSecurityPolicyTemplateSupplementalGroupRange)[vs[1].(int)] - }).(PodSecurityPolicyTemplateSupplementalGroupRangeOutput) +func (o PodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateAllowedCsiDriverOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateAllowedCsiDriver { + return vs[0].([]PodSecurityPolicyTemplateAllowedCsiDriver)[vs[1].(int)] + }).(PodSecurityPolicyTemplateAllowedCsiDriverOutput) } -type ProjectAlertGroupRecipient struct { - DefaultRecipient *bool `pulumi:"defaultRecipient"` - // Recipient notifier ID (string) - NotifierId string `pulumi:"notifierId"` - // Recipient notifier ID. Supported values : `"pagerduty" | "slack" | "email" | "webhook" | "wechat"` (string) - NotifierType *string `pulumi:"notifierType"` - // Recipient (string) - Recipient *string `pulumi:"recipient"` +type PodSecurityPolicyTemplateAllowedFlexVolume struct { + Driver string `pulumi:"driver"` } -// ProjectAlertGroupRecipientInput is an input type that accepts ProjectAlertGroupRecipientArgs and ProjectAlertGroupRecipientOutput values. -// You can construct a concrete instance of `ProjectAlertGroupRecipientInput` via: +// PodSecurityPolicyTemplateAllowedFlexVolumeInput is an input type that accepts PodSecurityPolicyTemplateAllowedFlexVolumeArgs and PodSecurityPolicyTemplateAllowedFlexVolumeOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedFlexVolumeInput` via: // -// ProjectAlertGroupRecipientArgs{...} -type ProjectAlertGroupRecipientInput interface { +// PodSecurityPolicyTemplateAllowedFlexVolumeArgs{...} +type PodSecurityPolicyTemplateAllowedFlexVolumeInput interface { pulumi.Input - ToProjectAlertGroupRecipientOutput() ProjectAlertGroupRecipientOutput - ToProjectAlertGroupRecipientOutputWithContext(context.Context) ProjectAlertGroupRecipientOutput + ToPodSecurityPolicyTemplateAllowedFlexVolumeOutput() PodSecurityPolicyTemplateAllowedFlexVolumeOutput + ToPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeOutput } -type ProjectAlertGroupRecipientArgs struct { - DefaultRecipient pulumi.BoolPtrInput `pulumi:"defaultRecipient"` - // Recipient notifier ID (string) - NotifierId pulumi.StringInput `pulumi:"notifierId"` - // Recipient notifier ID. Supported values : `"pagerduty" | "slack" | "email" | "webhook" | "wechat"` (string) - NotifierType pulumi.StringPtrInput `pulumi:"notifierType"` - // Recipient (string) - Recipient pulumi.StringPtrInput `pulumi:"recipient"` +type PodSecurityPolicyTemplateAllowedFlexVolumeArgs struct { + Driver pulumi.StringInput `pulumi:"driver"` } -func (ProjectAlertGroupRecipientArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectAlertGroupRecipient)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedFlexVolumeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() } -func (i ProjectAlertGroupRecipientArgs) ToProjectAlertGroupRecipientOutput() ProjectAlertGroupRecipientOutput { - return i.ToProjectAlertGroupRecipientOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateAllowedFlexVolumeArgs) ToPodSecurityPolicyTemplateAllowedFlexVolumeOutput() PodSecurityPolicyTemplateAllowedFlexVolumeOutput { + return i.ToPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(context.Background()) } -func (i ProjectAlertGroupRecipientArgs) ToProjectAlertGroupRecipientOutputWithContext(ctx context.Context) ProjectAlertGroupRecipientOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertGroupRecipientOutput) +func (i PodSecurityPolicyTemplateAllowedFlexVolumeArgs) ToPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedFlexVolumeOutput) } -// ProjectAlertGroupRecipientArrayInput is an input type that accepts ProjectAlertGroupRecipientArray and ProjectAlertGroupRecipientArrayOutput values. -// You can construct a concrete instance of `ProjectAlertGroupRecipientArrayInput` via: +// PodSecurityPolicyTemplateAllowedFlexVolumeArrayInput is an input type that accepts PodSecurityPolicyTemplateAllowedFlexVolumeArray and PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedFlexVolumeArrayInput` via: // -// ProjectAlertGroupRecipientArray{ ProjectAlertGroupRecipientArgs{...} } -type ProjectAlertGroupRecipientArrayInput interface { +// PodSecurityPolicyTemplateAllowedFlexVolumeArray{ PodSecurityPolicyTemplateAllowedFlexVolumeArgs{...} } +type PodSecurityPolicyTemplateAllowedFlexVolumeArrayInput interface { pulumi.Input - ToProjectAlertGroupRecipientArrayOutput() ProjectAlertGroupRecipientArrayOutput - ToProjectAlertGroupRecipientArrayOutputWithContext(context.Context) ProjectAlertGroupRecipientArrayOutput + ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput + ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput } -type ProjectAlertGroupRecipientArray []ProjectAlertGroupRecipientInput +type PodSecurityPolicyTemplateAllowedFlexVolumeArray []PodSecurityPolicyTemplateAllowedFlexVolumeInput -func (ProjectAlertGroupRecipientArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProjectAlertGroupRecipient)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedFlexVolumeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() } -func (i ProjectAlertGroupRecipientArray) ToProjectAlertGroupRecipientArrayOutput() ProjectAlertGroupRecipientArrayOutput { - return i.ToProjectAlertGroupRecipientArrayOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateAllowedFlexVolumeArray) ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { + return i.ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(context.Background()) } -func (i ProjectAlertGroupRecipientArray) ToProjectAlertGroupRecipientArrayOutputWithContext(ctx context.Context) ProjectAlertGroupRecipientArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertGroupRecipientArrayOutput) +func (i PodSecurityPolicyTemplateAllowedFlexVolumeArray) ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) } -type ProjectAlertGroupRecipientOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateAllowedFlexVolumeOutput struct{ *pulumi.OutputState } -func (ProjectAlertGroupRecipientOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectAlertGroupRecipient)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedFlexVolumeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() } -func (o ProjectAlertGroupRecipientOutput) ToProjectAlertGroupRecipientOutput() ProjectAlertGroupRecipientOutput { +func (o PodSecurityPolicyTemplateAllowedFlexVolumeOutput) ToPodSecurityPolicyTemplateAllowedFlexVolumeOutput() PodSecurityPolicyTemplateAllowedFlexVolumeOutput { return o } -func (o ProjectAlertGroupRecipientOutput) ToProjectAlertGroupRecipientOutputWithContext(ctx context.Context) ProjectAlertGroupRecipientOutput { +func (o PodSecurityPolicyTemplateAllowedFlexVolumeOutput) ToPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeOutput { return o } -func (o ProjectAlertGroupRecipientOutput) DefaultRecipient() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ProjectAlertGroupRecipient) *bool { return v.DefaultRecipient }).(pulumi.BoolPtrOutput) -} - -// Recipient notifier ID (string) -func (o ProjectAlertGroupRecipientOutput) NotifierId() pulumi.StringOutput { - return o.ApplyT(func(v ProjectAlertGroupRecipient) string { return v.NotifierId }).(pulumi.StringOutput) -} - -// Recipient notifier ID. Supported values : `"pagerduty" | "slack" | "email" | "webhook" | "wechat"` (string) -func (o ProjectAlertGroupRecipientOutput) NotifierType() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectAlertGroupRecipient) *string { return v.NotifierType }).(pulumi.StringPtrOutput) -} - -// Recipient (string) -func (o ProjectAlertGroupRecipientOutput) Recipient() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectAlertGroupRecipient) *string { return v.Recipient }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateAllowedFlexVolumeOutput) Driver() pulumi.StringOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateAllowedFlexVolume) string { return v.Driver }).(pulumi.StringOutput) } -type ProjectAlertGroupRecipientArrayOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput struct{ *pulumi.OutputState } -func (ProjectAlertGroupRecipientArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProjectAlertGroupRecipient)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() } -func (o ProjectAlertGroupRecipientArrayOutput) ToProjectAlertGroupRecipientArrayOutput() ProjectAlertGroupRecipientArrayOutput { +func (o PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { return o } -func (o ProjectAlertGroupRecipientArrayOutput) ToProjectAlertGroupRecipientArrayOutputWithContext(ctx context.Context) ProjectAlertGroupRecipientArrayOutput { +func (o PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ToPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { return o } -func (o ProjectAlertGroupRecipientArrayOutput) Index(i pulumi.IntInput) ProjectAlertGroupRecipientOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProjectAlertGroupRecipient { - return vs[0].([]ProjectAlertGroupRecipient)[vs[1].(int)] - }).(ProjectAlertGroupRecipientOutput) +func (o PodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateAllowedFlexVolumeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateAllowedFlexVolume { + return vs[0].([]PodSecurityPolicyTemplateAllowedFlexVolume)[vs[1].(int)] + }).(PodSecurityPolicyTemplateAllowedFlexVolumeOutput) } -type ProjectAlertRuleMetricRule struct { - // Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) - Comparison *string `pulumi:"comparison"` - // Metric rule description (string) - Description *string `pulumi:"description"` - // Metric rule duration (string) - Duration string `pulumi:"duration"` - // Metric rule expression (string) - Expression string `pulumi:"expression"` - // Metric rule threshold value (float64) - ThresholdValue float64 `pulumi:"thresholdValue"` +type PodSecurityPolicyTemplateAllowedHostPath struct { + // (string) + PathPrefix string `pulumi:"pathPrefix"` + // (string) + ReadOnly *bool `pulumi:"readOnly"` } -// ProjectAlertRuleMetricRuleInput is an input type that accepts ProjectAlertRuleMetricRuleArgs and ProjectAlertRuleMetricRuleOutput values. -// You can construct a concrete instance of `ProjectAlertRuleMetricRuleInput` via: +// PodSecurityPolicyTemplateAllowedHostPathInput is an input type that accepts PodSecurityPolicyTemplateAllowedHostPathArgs and PodSecurityPolicyTemplateAllowedHostPathOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedHostPathInput` via: // -// ProjectAlertRuleMetricRuleArgs{...} -type ProjectAlertRuleMetricRuleInput interface { +// PodSecurityPolicyTemplateAllowedHostPathArgs{...} +type PodSecurityPolicyTemplateAllowedHostPathInput interface { pulumi.Input - ToProjectAlertRuleMetricRuleOutput() ProjectAlertRuleMetricRuleOutput - ToProjectAlertRuleMetricRuleOutputWithContext(context.Context) ProjectAlertRuleMetricRuleOutput -} - -type ProjectAlertRuleMetricRuleArgs struct { - // Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) - Comparison pulumi.StringPtrInput `pulumi:"comparison"` - // Metric rule description (string) - Description pulumi.StringPtrInput `pulumi:"description"` - // Metric rule duration (string) - Duration pulumi.StringInput `pulumi:"duration"` - // Metric rule expression (string) - Expression pulumi.StringInput `pulumi:"expression"` - // Metric rule threshold value (float64) - ThresholdValue pulumi.Float64Input `pulumi:"thresholdValue"` -} - -func (ProjectAlertRuleMetricRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectAlertRuleMetricRule)(nil)).Elem() + ToPodSecurityPolicyTemplateAllowedHostPathOutput() PodSecurityPolicyTemplateAllowedHostPathOutput + ToPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedHostPathOutput } -func (i ProjectAlertRuleMetricRuleArgs) ToProjectAlertRuleMetricRuleOutput() ProjectAlertRuleMetricRuleOutput { - return i.ToProjectAlertRuleMetricRuleOutputWithContext(context.Background()) +type PodSecurityPolicyTemplateAllowedHostPathArgs struct { + // (string) + PathPrefix pulumi.StringInput `pulumi:"pathPrefix"` + // (string) + ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` } -func (i ProjectAlertRuleMetricRuleArgs) ToProjectAlertRuleMetricRuleOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleMetricRuleOutput) +func (PodSecurityPolicyTemplateAllowedHostPathArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() } -func (i ProjectAlertRuleMetricRuleArgs) ToProjectAlertRuleMetricRulePtrOutput() ProjectAlertRuleMetricRulePtrOutput { - return i.ToProjectAlertRuleMetricRulePtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateAllowedHostPathArgs) ToPodSecurityPolicyTemplateAllowedHostPathOutput() PodSecurityPolicyTemplateAllowedHostPathOutput { + return i.ToPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(context.Background()) } -func (i ProjectAlertRuleMetricRuleArgs) ToProjectAlertRuleMetricRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleMetricRuleOutput).ToProjectAlertRuleMetricRulePtrOutputWithContext(ctx) +func (i PodSecurityPolicyTemplateAllowedHostPathArgs) ToPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedHostPathOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedHostPathOutput) } -// ProjectAlertRuleMetricRulePtrInput is an input type that accepts ProjectAlertRuleMetricRuleArgs, ProjectAlertRuleMetricRulePtr and ProjectAlertRuleMetricRulePtrOutput values. -// You can construct a concrete instance of `ProjectAlertRuleMetricRulePtrInput` via: -// -// ProjectAlertRuleMetricRuleArgs{...} -// -// or: +// PodSecurityPolicyTemplateAllowedHostPathArrayInput is an input type that accepts PodSecurityPolicyTemplateAllowedHostPathArray and PodSecurityPolicyTemplateAllowedHostPathArrayOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateAllowedHostPathArrayInput` via: // -// nil -type ProjectAlertRuleMetricRulePtrInput interface { +// PodSecurityPolicyTemplateAllowedHostPathArray{ PodSecurityPolicyTemplateAllowedHostPathArgs{...} } +type PodSecurityPolicyTemplateAllowedHostPathArrayInput interface { pulumi.Input - ToProjectAlertRuleMetricRulePtrOutput() ProjectAlertRuleMetricRulePtrOutput - ToProjectAlertRuleMetricRulePtrOutputWithContext(context.Context) ProjectAlertRuleMetricRulePtrOutput + ToPodSecurityPolicyTemplateAllowedHostPathArrayOutput() PodSecurityPolicyTemplateAllowedHostPathArrayOutput + ToPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateAllowedHostPathArrayOutput } -type projectAlertRuleMetricRulePtrType ProjectAlertRuleMetricRuleArgs - -func ProjectAlertRuleMetricRulePtr(v *ProjectAlertRuleMetricRuleArgs) ProjectAlertRuleMetricRulePtrInput { - return (*projectAlertRuleMetricRulePtrType)(v) -} +type PodSecurityPolicyTemplateAllowedHostPathArray []PodSecurityPolicyTemplateAllowedHostPathInput -func (*projectAlertRuleMetricRulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectAlertRuleMetricRule)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedHostPathArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() } -func (i *projectAlertRuleMetricRulePtrType) ToProjectAlertRuleMetricRulePtrOutput() ProjectAlertRuleMetricRulePtrOutput { - return i.ToProjectAlertRuleMetricRulePtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateAllowedHostPathArray) ToPodSecurityPolicyTemplateAllowedHostPathArrayOutput() PodSecurityPolicyTemplateAllowedHostPathArrayOutput { + return i.ToPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(context.Background()) } -func (i *projectAlertRuleMetricRulePtrType) ToProjectAlertRuleMetricRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleMetricRulePtrOutput) +func (i PodSecurityPolicyTemplateAllowedHostPathArray) ToPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedHostPathArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateAllowedHostPathArrayOutput) } -type ProjectAlertRuleMetricRuleOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateAllowedHostPathOutput struct{ *pulumi.OutputState } -func (ProjectAlertRuleMetricRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectAlertRuleMetricRule)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedHostPathOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() } -func (o ProjectAlertRuleMetricRuleOutput) ToProjectAlertRuleMetricRuleOutput() ProjectAlertRuleMetricRuleOutput { +func (o PodSecurityPolicyTemplateAllowedHostPathOutput) ToPodSecurityPolicyTemplateAllowedHostPathOutput() PodSecurityPolicyTemplateAllowedHostPathOutput { return o } -func (o ProjectAlertRuleMetricRuleOutput) ToProjectAlertRuleMetricRuleOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRuleOutput { +func (o PodSecurityPolicyTemplateAllowedHostPathOutput) ToPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedHostPathOutput { return o } -func (o ProjectAlertRuleMetricRuleOutput) ToProjectAlertRuleMetricRulePtrOutput() ProjectAlertRuleMetricRulePtrOutput { - return o.ToProjectAlertRuleMetricRulePtrOutputWithContext(context.Background()) -} - -func (o ProjectAlertRuleMetricRuleOutput) ToProjectAlertRuleMetricRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectAlertRuleMetricRule) *ProjectAlertRuleMetricRule { - return &v - }).(ProjectAlertRuleMetricRulePtrOutput) -} - -// Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) -func (o ProjectAlertRuleMetricRuleOutput) Comparison() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectAlertRuleMetricRule) *string { return v.Comparison }).(pulumi.StringPtrOutput) -} - -// Metric rule description (string) -func (o ProjectAlertRuleMetricRuleOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectAlertRuleMetricRule) *string { return v.Description }).(pulumi.StringPtrOutput) -} - -// Metric rule duration (string) -func (o ProjectAlertRuleMetricRuleOutput) Duration() pulumi.StringOutput { - return o.ApplyT(func(v ProjectAlertRuleMetricRule) string { return v.Duration }).(pulumi.StringOutput) -} - -// Metric rule expression (string) -func (o ProjectAlertRuleMetricRuleOutput) Expression() pulumi.StringOutput { - return o.ApplyT(func(v ProjectAlertRuleMetricRule) string { return v.Expression }).(pulumi.StringOutput) +// (string) +func (o PodSecurityPolicyTemplateAllowedHostPathOutput) PathPrefix() pulumi.StringOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateAllowedHostPath) string { return v.PathPrefix }).(pulumi.StringOutput) } -// Metric rule threshold value (float64) -func (o ProjectAlertRuleMetricRuleOutput) ThresholdValue() pulumi.Float64Output { - return o.ApplyT(func(v ProjectAlertRuleMetricRule) float64 { return v.ThresholdValue }).(pulumi.Float64Output) +// (string) +func (o PodSecurityPolicyTemplateAllowedHostPathOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateAllowedHostPath) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) } -type ProjectAlertRuleMetricRulePtrOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateAllowedHostPathArrayOutput struct{ *pulumi.OutputState } -func (ProjectAlertRuleMetricRulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectAlertRuleMetricRule)(nil)).Elem() +func (PodSecurityPolicyTemplateAllowedHostPathArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() } -func (o ProjectAlertRuleMetricRulePtrOutput) ToProjectAlertRuleMetricRulePtrOutput() ProjectAlertRuleMetricRulePtrOutput { +func (o PodSecurityPolicyTemplateAllowedHostPathArrayOutput) ToPodSecurityPolicyTemplateAllowedHostPathArrayOutput() PodSecurityPolicyTemplateAllowedHostPathArrayOutput { return o } -func (o ProjectAlertRuleMetricRulePtrOutput) ToProjectAlertRuleMetricRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRulePtrOutput { +func (o PodSecurityPolicyTemplateAllowedHostPathArrayOutput) ToPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateAllowedHostPathArrayOutput { return o } -func (o ProjectAlertRuleMetricRulePtrOutput) Elem() ProjectAlertRuleMetricRuleOutput { - return o.ApplyT(func(v *ProjectAlertRuleMetricRule) ProjectAlertRuleMetricRule { - if v != nil { - return *v - } - var ret ProjectAlertRuleMetricRule - return ret - }).(ProjectAlertRuleMetricRuleOutput) -} - -// Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) -func (o ProjectAlertRuleMetricRulePtrOutput) Comparison() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectAlertRuleMetricRule) *string { - if v == nil { - return nil - } - return v.Comparison - }).(pulumi.StringPtrOutput) -} - -// Metric rule description (string) -func (o ProjectAlertRuleMetricRulePtrOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectAlertRuleMetricRule) *string { - if v == nil { - return nil - } - return v.Description - }).(pulumi.StringPtrOutput) -} - -// Metric rule duration (string) -func (o ProjectAlertRuleMetricRulePtrOutput) Duration() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectAlertRuleMetricRule) *string { - if v == nil { - return nil - } - return &v.Duration - }).(pulumi.StringPtrOutput) -} - -// Metric rule expression (string) -func (o ProjectAlertRuleMetricRulePtrOutput) Expression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectAlertRuleMetricRule) *string { - if v == nil { - return nil - } - return &v.Expression - }).(pulumi.StringPtrOutput) -} - -// Metric rule threshold value (float64) -func (o ProjectAlertRuleMetricRulePtrOutput) ThresholdValue() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *ProjectAlertRuleMetricRule) *float64 { - if v == nil { - return nil - } - return &v.ThresholdValue - }).(pulumi.Float64PtrOutput) +func (o PodSecurityPolicyTemplateAllowedHostPathArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateAllowedHostPathOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateAllowedHostPath { + return vs[0].([]PodSecurityPolicyTemplateAllowedHostPath)[vs[1].(int)] + }).(PodSecurityPolicyTemplateAllowedHostPathOutput) } -type ProjectAlertRulePodRule struct { - // Pod rule condition. Supported values : `"notrunning" | "notscheduled" | "restarts"`. Default: `notrunning` (string) - Condition *string `pulumi:"condition"` - // Pod ID (string) - PodId string `pulumi:"podId"` - // Pod rule restart interval seconds. Default: `300` (int) - RestartIntervalSeconds *int `pulumi:"restartIntervalSeconds"` - // Pod rule restart times. Default: `3` (int) - RestartTimes *int `pulumi:"restartTimes"` +type PodSecurityPolicyTemplateFsGroup struct { + // (list) + Ranges []PodSecurityPolicyTemplateFsGroupRange `pulumi:"ranges"` + // (string) + Rule *string `pulumi:"rule"` } -// ProjectAlertRulePodRuleInput is an input type that accepts ProjectAlertRulePodRuleArgs and ProjectAlertRulePodRuleOutput values. -// You can construct a concrete instance of `ProjectAlertRulePodRuleInput` via: +// PodSecurityPolicyTemplateFsGroupInput is an input type that accepts PodSecurityPolicyTemplateFsGroupArgs and PodSecurityPolicyTemplateFsGroupOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateFsGroupInput` via: // -// ProjectAlertRulePodRuleArgs{...} -type ProjectAlertRulePodRuleInput interface { +// PodSecurityPolicyTemplateFsGroupArgs{...} +type PodSecurityPolicyTemplateFsGroupInput interface { pulumi.Input - ToProjectAlertRulePodRuleOutput() ProjectAlertRulePodRuleOutput - ToProjectAlertRulePodRuleOutputWithContext(context.Context) ProjectAlertRulePodRuleOutput + ToPodSecurityPolicyTemplateFsGroupOutput() PodSecurityPolicyTemplateFsGroupOutput + ToPodSecurityPolicyTemplateFsGroupOutputWithContext(context.Context) PodSecurityPolicyTemplateFsGroupOutput } -type ProjectAlertRulePodRuleArgs struct { - // Pod rule condition. Supported values : `"notrunning" | "notscheduled" | "restarts"`. Default: `notrunning` (string) - Condition pulumi.StringPtrInput `pulumi:"condition"` - // Pod ID (string) - PodId pulumi.StringInput `pulumi:"podId"` - // Pod rule restart interval seconds. Default: `300` (int) - RestartIntervalSeconds pulumi.IntPtrInput `pulumi:"restartIntervalSeconds"` - // Pod rule restart times. Default: `3` (int) - RestartTimes pulumi.IntPtrInput `pulumi:"restartTimes"` +type PodSecurityPolicyTemplateFsGroupArgs struct { + // (list) + Ranges PodSecurityPolicyTemplateFsGroupRangeArrayInput `pulumi:"ranges"` + // (string) + Rule pulumi.StringPtrInput `pulumi:"rule"` } -func (ProjectAlertRulePodRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectAlertRulePodRule)(nil)).Elem() +func (PodSecurityPolicyTemplateFsGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateFsGroup)(nil)).Elem() } -func (i ProjectAlertRulePodRuleArgs) ToProjectAlertRulePodRuleOutput() ProjectAlertRulePodRuleOutput { - return i.ToProjectAlertRulePodRuleOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateFsGroupArgs) ToPodSecurityPolicyTemplateFsGroupOutput() PodSecurityPolicyTemplateFsGroupOutput { + return i.ToPodSecurityPolicyTemplateFsGroupOutputWithContext(context.Background()) } -func (i ProjectAlertRulePodRuleArgs) ToProjectAlertRulePodRuleOutputWithContext(ctx context.Context) ProjectAlertRulePodRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRulePodRuleOutput) +func (i PodSecurityPolicyTemplateFsGroupArgs) ToPodSecurityPolicyTemplateFsGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateFsGroupOutput) } -func (i ProjectAlertRulePodRuleArgs) ToProjectAlertRulePodRulePtrOutput() ProjectAlertRulePodRulePtrOutput { - return i.ToProjectAlertRulePodRulePtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateFsGroupArgs) ToPodSecurityPolicyTemplateFsGroupPtrOutput() PodSecurityPolicyTemplateFsGroupPtrOutput { + return i.ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) } -func (i ProjectAlertRulePodRuleArgs) ToProjectAlertRulePodRulePtrOutputWithContext(ctx context.Context) ProjectAlertRulePodRulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRulePodRuleOutput).ToProjectAlertRulePodRulePtrOutputWithContext(ctx) +func (i PodSecurityPolicyTemplateFsGroupArgs) ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateFsGroupOutput).ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx) } -// ProjectAlertRulePodRulePtrInput is an input type that accepts ProjectAlertRulePodRuleArgs, ProjectAlertRulePodRulePtr and ProjectAlertRulePodRulePtrOutput values. -// You can construct a concrete instance of `ProjectAlertRulePodRulePtrInput` via: +// PodSecurityPolicyTemplateFsGroupPtrInput is an input type that accepts PodSecurityPolicyTemplateFsGroupArgs, PodSecurityPolicyTemplateFsGroupPtr and PodSecurityPolicyTemplateFsGroupPtrOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateFsGroupPtrInput` via: // -// ProjectAlertRulePodRuleArgs{...} +// PodSecurityPolicyTemplateFsGroupArgs{...} // // or: // // nil -type ProjectAlertRulePodRulePtrInput interface { +type PodSecurityPolicyTemplateFsGroupPtrInput interface { pulumi.Input - ToProjectAlertRulePodRulePtrOutput() ProjectAlertRulePodRulePtrOutput - ToProjectAlertRulePodRulePtrOutputWithContext(context.Context) ProjectAlertRulePodRulePtrOutput + ToPodSecurityPolicyTemplateFsGroupPtrOutput() PodSecurityPolicyTemplateFsGroupPtrOutput + ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateFsGroupPtrOutput } -type projectAlertRulePodRulePtrType ProjectAlertRulePodRuleArgs +type podSecurityPolicyTemplateFsGroupPtrType PodSecurityPolicyTemplateFsGroupArgs -func ProjectAlertRulePodRulePtr(v *ProjectAlertRulePodRuleArgs) ProjectAlertRulePodRulePtrInput { - return (*projectAlertRulePodRulePtrType)(v) +func PodSecurityPolicyTemplateFsGroupPtr(v *PodSecurityPolicyTemplateFsGroupArgs) PodSecurityPolicyTemplateFsGroupPtrInput { + return (*podSecurityPolicyTemplateFsGroupPtrType)(v) } -func (*projectAlertRulePodRulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectAlertRulePodRule)(nil)).Elem() +func (*podSecurityPolicyTemplateFsGroupPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateFsGroup)(nil)).Elem() } -func (i *projectAlertRulePodRulePtrType) ToProjectAlertRulePodRulePtrOutput() ProjectAlertRulePodRulePtrOutput { - return i.ToProjectAlertRulePodRulePtrOutputWithContext(context.Background()) +func (i *podSecurityPolicyTemplateFsGroupPtrType) ToPodSecurityPolicyTemplateFsGroupPtrOutput() PodSecurityPolicyTemplateFsGroupPtrOutput { + return i.ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) } -func (i *projectAlertRulePodRulePtrType) ToProjectAlertRulePodRulePtrOutputWithContext(ctx context.Context) ProjectAlertRulePodRulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRulePodRulePtrOutput) +func (i *podSecurityPolicyTemplateFsGroupPtrType) ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateFsGroupPtrOutput) } -type ProjectAlertRulePodRuleOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateFsGroupOutput struct{ *pulumi.OutputState } -func (ProjectAlertRulePodRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectAlertRulePodRule)(nil)).Elem() +func (PodSecurityPolicyTemplateFsGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateFsGroup)(nil)).Elem() } -func (o ProjectAlertRulePodRuleOutput) ToProjectAlertRulePodRuleOutput() ProjectAlertRulePodRuleOutput { +func (o PodSecurityPolicyTemplateFsGroupOutput) ToPodSecurityPolicyTemplateFsGroupOutput() PodSecurityPolicyTemplateFsGroupOutput { return o } -func (o ProjectAlertRulePodRuleOutput) ToProjectAlertRulePodRuleOutputWithContext(ctx context.Context) ProjectAlertRulePodRuleOutput { +func (o PodSecurityPolicyTemplateFsGroupOutput) ToPodSecurityPolicyTemplateFsGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupOutput { return o } -func (o ProjectAlertRulePodRuleOutput) ToProjectAlertRulePodRulePtrOutput() ProjectAlertRulePodRulePtrOutput { - return o.ToProjectAlertRulePodRulePtrOutputWithContext(context.Background()) +func (o PodSecurityPolicyTemplateFsGroupOutput) ToPodSecurityPolicyTemplateFsGroupPtrOutput() PodSecurityPolicyTemplateFsGroupPtrOutput { + return o.ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) } -func (o ProjectAlertRulePodRuleOutput) ToProjectAlertRulePodRulePtrOutputWithContext(ctx context.Context) ProjectAlertRulePodRulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectAlertRulePodRule) *ProjectAlertRulePodRule { +func (o PodSecurityPolicyTemplateFsGroupOutput) ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateFsGroup) *PodSecurityPolicyTemplateFsGroup { return &v - }).(ProjectAlertRulePodRulePtrOutput) -} - -// Pod rule condition. Supported values : `"notrunning" | "notscheduled" | "restarts"`. Default: `notrunning` (string) -func (o ProjectAlertRulePodRuleOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectAlertRulePodRule) *string { return v.Condition }).(pulumi.StringPtrOutput) -} - -// Pod ID (string) -func (o ProjectAlertRulePodRuleOutput) PodId() pulumi.StringOutput { - return o.ApplyT(func(v ProjectAlertRulePodRule) string { return v.PodId }).(pulumi.StringOutput) + }).(PodSecurityPolicyTemplateFsGroupPtrOutput) } -// Pod rule restart interval seconds. Default: `300` (int) -func (o ProjectAlertRulePodRuleOutput) RestartIntervalSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v ProjectAlertRulePodRule) *int { return v.RestartIntervalSeconds }).(pulumi.IntPtrOutput) +// (list) +func (o PodSecurityPolicyTemplateFsGroupOutput) Ranges() PodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateFsGroup) []PodSecurityPolicyTemplateFsGroupRange { return v.Ranges }).(PodSecurityPolicyTemplateFsGroupRangeArrayOutput) } -// Pod rule restart times. Default: `3` (int) -func (o ProjectAlertRulePodRuleOutput) RestartTimes() pulumi.IntPtrOutput { - return o.ApplyT(func(v ProjectAlertRulePodRule) *int { return v.RestartTimes }).(pulumi.IntPtrOutput) +// (string) +func (o PodSecurityPolicyTemplateFsGroupOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateFsGroup) *string { return v.Rule }).(pulumi.StringPtrOutput) } -type ProjectAlertRulePodRulePtrOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateFsGroupPtrOutput struct{ *pulumi.OutputState } -func (ProjectAlertRulePodRulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectAlertRulePodRule)(nil)).Elem() +func (PodSecurityPolicyTemplateFsGroupPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateFsGroup)(nil)).Elem() } -func (o ProjectAlertRulePodRulePtrOutput) ToProjectAlertRulePodRulePtrOutput() ProjectAlertRulePodRulePtrOutput { +func (o PodSecurityPolicyTemplateFsGroupPtrOutput) ToPodSecurityPolicyTemplateFsGroupPtrOutput() PodSecurityPolicyTemplateFsGroupPtrOutput { return o } -func (o ProjectAlertRulePodRulePtrOutput) ToProjectAlertRulePodRulePtrOutputWithContext(ctx context.Context) ProjectAlertRulePodRulePtrOutput { +func (o PodSecurityPolicyTemplateFsGroupPtrOutput) ToPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupPtrOutput { return o } -func (o ProjectAlertRulePodRulePtrOutput) Elem() ProjectAlertRulePodRuleOutput { - return o.ApplyT(func(v *ProjectAlertRulePodRule) ProjectAlertRulePodRule { +func (o PodSecurityPolicyTemplateFsGroupPtrOutput) Elem() PodSecurityPolicyTemplateFsGroupOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateFsGroup) PodSecurityPolicyTemplateFsGroup { if v != nil { return *v } - var ret ProjectAlertRulePodRule + var ret PodSecurityPolicyTemplateFsGroup return ret - }).(ProjectAlertRulePodRuleOutput) + }).(PodSecurityPolicyTemplateFsGroupOutput) } -// Pod rule condition. Supported values : `"notrunning" | "notscheduled" | "restarts"`. Default: `notrunning` (string) -func (o ProjectAlertRulePodRulePtrOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectAlertRulePodRule) *string { +// (list) +func (o PodSecurityPolicyTemplateFsGroupPtrOutput) Ranges() PodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateFsGroup) []PodSecurityPolicyTemplateFsGroupRange { if v == nil { return nil } - return v.Condition - }).(pulumi.StringPtrOutput) + return v.Ranges + }).(PodSecurityPolicyTemplateFsGroupRangeArrayOutput) } -// Pod ID (string) -func (o ProjectAlertRulePodRulePtrOutput) PodId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectAlertRulePodRule) *string { +// (string) +func (o PodSecurityPolicyTemplateFsGroupPtrOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateFsGroup) *string { if v == nil { return nil } - return &v.PodId + return v.Rule }).(pulumi.StringPtrOutput) } -// Pod rule restart interval seconds. Default: `300` (int) -func (o ProjectAlertRulePodRulePtrOutput) RestartIntervalSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ProjectAlertRulePodRule) *int { - if v == nil { - return nil - } - return v.RestartIntervalSeconds - }).(pulumi.IntPtrOutput) +type PodSecurityPolicyTemplateFsGroupRange struct { + // (int) + Max int `pulumi:"max"` + // (int) + Min int `pulumi:"min"` } -// Pod rule restart times. Default: `3` (int) -func (o ProjectAlertRulePodRulePtrOutput) RestartTimes() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ProjectAlertRulePodRule) *int { - if v == nil { - return nil - } - return v.RestartTimes - }).(pulumi.IntPtrOutput) +// PodSecurityPolicyTemplateFsGroupRangeInput is an input type that accepts PodSecurityPolicyTemplateFsGroupRangeArgs and PodSecurityPolicyTemplateFsGroupRangeOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateFsGroupRangeInput` via: +// +// PodSecurityPolicyTemplateFsGroupRangeArgs{...} +type PodSecurityPolicyTemplateFsGroupRangeInput interface { + pulumi.Input + + ToPodSecurityPolicyTemplateFsGroupRangeOutput() PodSecurityPolicyTemplateFsGroupRangeOutput + ToPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(context.Context) PodSecurityPolicyTemplateFsGroupRangeOutput } -type ProjectAlertRuleWorkloadRule struct { - // Workload rule available percentage. Default: `70` (int) - AvailablePercentage *int `pulumi:"availablePercentage"` - // Workload rule selector (map) - Selector map[string]interface{} `pulumi:"selector"` - // Workload ID (string) - WorkloadId *string `pulumi:"workloadId"` +type PodSecurityPolicyTemplateFsGroupRangeArgs struct { + // (int) + Max pulumi.IntInput `pulumi:"max"` + // (int) + Min pulumi.IntInput `pulumi:"min"` } -// ProjectAlertRuleWorkloadRuleInput is an input type that accepts ProjectAlertRuleWorkloadRuleArgs and ProjectAlertRuleWorkloadRuleOutput values. -// You can construct a concrete instance of `ProjectAlertRuleWorkloadRuleInput` via: +func (PodSecurityPolicyTemplateFsGroupRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() +} + +func (i PodSecurityPolicyTemplateFsGroupRangeArgs) ToPodSecurityPolicyTemplateFsGroupRangeOutput() PodSecurityPolicyTemplateFsGroupRangeOutput { + return i.ToPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(context.Background()) +} + +func (i PodSecurityPolicyTemplateFsGroupRangeArgs) ToPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateFsGroupRangeOutput) +} + +// PodSecurityPolicyTemplateFsGroupRangeArrayInput is an input type that accepts PodSecurityPolicyTemplateFsGroupRangeArray and PodSecurityPolicyTemplateFsGroupRangeArrayOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateFsGroupRangeArrayInput` via: // -// ProjectAlertRuleWorkloadRuleArgs{...} -type ProjectAlertRuleWorkloadRuleInput interface { +// PodSecurityPolicyTemplateFsGroupRangeArray{ PodSecurityPolicyTemplateFsGroupRangeArgs{...} } +type PodSecurityPolicyTemplateFsGroupRangeArrayInput interface { pulumi.Input - ToProjectAlertRuleWorkloadRuleOutput() ProjectAlertRuleWorkloadRuleOutput - ToProjectAlertRuleWorkloadRuleOutputWithContext(context.Context) ProjectAlertRuleWorkloadRuleOutput + ToPodSecurityPolicyTemplateFsGroupRangeArrayOutput() PodSecurityPolicyTemplateFsGroupRangeArrayOutput + ToPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateFsGroupRangeArrayOutput } -type ProjectAlertRuleWorkloadRuleArgs struct { - // Workload rule available percentage. Default: `70` (int) - AvailablePercentage pulumi.IntPtrInput `pulumi:"availablePercentage"` - // Workload rule selector (map) - Selector pulumi.MapInput `pulumi:"selector"` - // Workload ID (string) - WorkloadId pulumi.StringPtrInput `pulumi:"workloadId"` +type PodSecurityPolicyTemplateFsGroupRangeArray []PodSecurityPolicyTemplateFsGroupRangeInput + +func (PodSecurityPolicyTemplateFsGroupRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() } -func (ProjectAlertRuleWorkloadRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectAlertRuleWorkloadRule)(nil)).Elem() +func (i PodSecurityPolicyTemplateFsGroupRangeArray) ToPodSecurityPolicyTemplateFsGroupRangeArrayOutput() PodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return i.ToPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(context.Background()) } -func (i ProjectAlertRuleWorkloadRuleArgs) ToProjectAlertRuleWorkloadRuleOutput() ProjectAlertRuleWorkloadRuleOutput { - return i.ToProjectAlertRuleWorkloadRuleOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateFsGroupRangeArray) ToPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateFsGroupRangeArrayOutput) } -func (i ProjectAlertRuleWorkloadRuleArgs) ToProjectAlertRuleWorkloadRuleOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleWorkloadRuleOutput) +type PodSecurityPolicyTemplateFsGroupRangeOutput struct{ *pulumi.OutputState } + +func (PodSecurityPolicyTemplateFsGroupRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() } -func (i ProjectAlertRuleWorkloadRuleArgs) ToProjectAlertRuleWorkloadRulePtrOutput() ProjectAlertRuleWorkloadRulePtrOutput { - return i.ToProjectAlertRuleWorkloadRulePtrOutputWithContext(context.Background()) +func (o PodSecurityPolicyTemplateFsGroupRangeOutput) ToPodSecurityPolicyTemplateFsGroupRangeOutput() PodSecurityPolicyTemplateFsGroupRangeOutput { + return o } -func (i ProjectAlertRuleWorkloadRuleArgs) ToProjectAlertRuleWorkloadRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleWorkloadRuleOutput).ToProjectAlertRuleWorkloadRulePtrOutputWithContext(ctx) +func (o PodSecurityPolicyTemplateFsGroupRangeOutput) ToPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupRangeOutput { + return o } -// ProjectAlertRuleWorkloadRulePtrInput is an input type that accepts ProjectAlertRuleWorkloadRuleArgs, ProjectAlertRuleWorkloadRulePtr and ProjectAlertRuleWorkloadRulePtrOutput values. -// You can construct a concrete instance of `ProjectAlertRuleWorkloadRulePtrInput` via: -// -// ProjectAlertRuleWorkloadRuleArgs{...} -// -// or: -// -// nil -type ProjectAlertRuleWorkloadRulePtrInput interface { - pulumi.Input +// (int) +func (o PodSecurityPolicyTemplateFsGroupRangeOutput) Max() pulumi.IntOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateFsGroupRange) int { return v.Max }).(pulumi.IntOutput) +} - ToProjectAlertRuleWorkloadRulePtrOutput() ProjectAlertRuleWorkloadRulePtrOutput - ToProjectAlertRuleWorkloadRulePtrOutputWithContext(context.Context) ProjectAlertRuleWorkloadRulePtrOutput +// (int) +func (o PodSecurityPolicyTemplateFsGroupRangeOutput) Min() pulumi.IntOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateFsGroupRange) int { return v.Min }).(pulumi.IntOutput) } -type projectAlertRuleWorkloadRulePtrType ProjectAlertRuleWorkloadRuleArgs +type PodSecurityPolicyTemplateFsGroupRangeArrayOutput struct{ *pulumi.OutputState } -func ProjectAlertRuleWorkloadRulePtr(v *ProjectAlertRuleWorkloadRuleArgs) ProjectAlertRuleWorkloadRulePtrInput { - return (*projectAlertRuleWorkloadRulePtrType)(v) +func (PodSecurityPolicyTemplateFsGroupRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() } -func (*projectAlertRuleWorkloadRulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectAlertRuleWorkloadRule)(nil)).Elem() +func (o PodSecurityPolicyTemplateFsGroupRangeArrayOutput) ToPodSecurityPolicyTemplateFsGroupRangeArrayOutput() PodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return o } -func (i *projectAlertRuleWorkloadRulePtrType) ToProjectAlertRuleWorkloadRulePtrOutput() ProjectAlertRuleWorkloadRulePtrOutput { - return i.ToProjectAlertRuleWorkloadRulePtrOutputWithContext(context.Background()) +func (o PodSecurityPolicyTemplateFsGroupRangeArrayOutput) ToPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return o } -func (i *projectAlertRuleWorkloadRulePtrType) ToProjectAlertRuleWorkloadRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleWorkloadRulePtrOutput) +func (o PodSecurityPolicyTemplateFsGroupRangeArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateFsGroupRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateFsGroupRange { + return vs[0].([]PodSecurityPolicyTemplateFsGroupRange)[vs[1].(int)] + }).(PodSecurityPolicyTemplateFsGroupRangeOutput) } -type ProjectAlertRuleWorkloadRuleOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateHostPort struct { + // (int) + Max int `pulumi:"max"` + // (int) + Min int `pulumi:"min"` +} -func (ProjectAlertRuleWorkloadRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectAlertRuleWorkloadRule)(nil)).Elem() +// PodSecurityPolicyTemplateHostPortInput is an input type that accepts PodSecurityPolicyTemplateHostPortArgs and PodSecurityPolicyTemplateHostPortOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateHostPortInput` via: +// +// PodSecurityPolicyTemplateHostPortArgs{...} +type PodSecurityPolicyTemplateHostPortInput interface { + pulumi.Input + + ToPodSecurityPolicyTemplateHostPortOutput() PodSecurityPolicyTemplateHostPortOutput + ToPodSecurityPolicyTemplateHostPortOutputWithContext(context.Context) PodSecurityPolicyTemplateHostPortOutput } -func (o ProjectAlertRuleWorkloadRuleOutput) ToProjectAlertRuleWorkloadRuleOutput() ProjectAlertRuleWorkloadRuleOutput { - return o +type PodSecurityPolicyTemplateHostPortArgs struct { + // (int) + Max pulumi.IntInput `pulumi:"max"` + // (int) + Min pulumi.IntInput `pulumi:"min"` } -func (o ProjectAlertRuleWorkloadRuleOutput) ToProjectAlertRuleWorkloadRuleOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRuleOutput { - return o +func (PodSecurityPolicyTemplateHostPortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateHostPort)(nil)).Elem() } -func (o ProjectAlertRuleWorkloadRuleOutput) ToProjectAlertRuleWorkloadRulePtrOutput() ProjectAlertRuleWorkloadRulePtrOutput { - return o.ToProjectAlertRuleWorkloadRulePtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateHostPortArgs) ToPodSecurityPolicyTemplateHostPortOutput() PodSecurityPolicyTemplateHostPortOutput { + return i.ToPodSecurityPolicyTemplateHostPortOutputWithContext(context.Background()) } -func (o ProjectAlertRuleWorkloadRuleOutput) ToProjectAlertRuleWorkloadRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectAlertRuleWorkloadRule) *ProjectAlertRuleWorkloadRule { - return &v - }).(ProjectAlertRuleWorkloadRulePtrOutput) +func (i PodSecurityPolicyTemplateHostPortArgs) ToPodSecurityPolicyTemplateHostPortOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateHostPortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateHostPortOutput) } -// Workload rule available percentage. Default: `70` (int) -func (o ProjectAlertRuleWorkloadRuleOutput) AvailablePercentage() pulumi.IntPtrOutput { - return o.ApplyT(func(v ProjectAlertRuleWorkloadRule) *int { return v.AvailablePercentage }).(pulumi.IntPtrOutput) +// PodSecurityPolicyTemplateHostPortArrayInput is an input type that accepts PodSecurityPolicyTemplateHostPortArray and PodSecurityPolicyTemplateHostPortArrayOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateHostPortArrayInput` via: +// +// PodSecurityPolicyTemplateHostPortArray{ PodSecurityPolicyTemplateHostPortArgs{...} } +type PodSecurityPolicyTemplateHostPortArrayInput interface { + pulumi.Input + + ToPodSecurityPolicyTemplateHostPortArrayOutput() PodSecurityPolicyTemplateHostPortArrayOutput + ToPodSecurityPolicyTemplateHostPortArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateHostPortArrayOutput } -// Workload rule selector (map) -func (o ProjectAlertRuleWorkloadRuleOutput) Selector() pulumi.MapOutput { - return o.ApplyT(func(v ProjectAlertRuleWorkloadRule) map[string]interface{} { return v.Selector }).(pulumi.MapOutput) +type PodSecurityPolicyTemplateHostPortArray []PodSecurityPolicyTemplateHostPortInput + +func (PodSecurityPolicyTemplateHostPortArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateHostPort)(nil)).Elem() } -// Workload ID (string) -func (o ProjectAlertRuleWorkloadRuleOutput) WorkloadId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectAlertRuleWorkloadRule) *string { return v.WorkloadId }).(pulumi.StringPtrOutput) +func (i PodSecurityPolicyTemplateHostPortArray) ToPodSecurityPolicyTemplateHostPortArrayOutput() PodSecurityPolicyTemplateHostPortArrayOutput { + return i.ToPodSecurityPolicyTemplateHostPortArrayOutputWithContext(context.Background()) } -type ProjectAlertRuleWorkloadRulePtrOutput struct{ *pulumi.OutputState } +func (i PodSecurityPolicyTemplateHostPortArray) ToPodSecurityPolicyTemplateHostPortArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateHostPortArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateHostPortArrayOutput) +} -func (ProjectAlertRuleWorkloadRulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectAlertRuleWorkloadRule)(nil)).Elem() +type PodSecurityPolicyTemplateHostPortOutput struct{ *pulumi.OutputState } + +func (PodSecurityPolicyTemplateHostPortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateHostPort)(nil)).Elem() } -func (o ProjectAlertRuleWorkloadRulePtrOutput) ToProjectAlertRuleWorkloadRulePtrOutput() ProjectAlertRuleWorkloadRulePtrOutput { +func (o PodSecurityPolicyTemplateHostPortOutput) ToPodSecurityPolicyTemplateHostPortOutput() PodSecurityPolicyTemplateHostPortOutput { return o } -func (o ProjectAlertRuleWorkloadRulePtrOutput) ToProjectAlertRuleWorkloadRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRulePtrOutput { +func (o PodSecurityPolicyTemplateHostPortOutput) ToPodSecurityPolicyTemplateHostPortOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateHostPortOutput { return o } -func (o ProjectAlertRuleWorkloadRulePtrOutput) Elem() ProjectAlertRuleWorkloadRuleOutput { - return o.ApplyT(func(v *ProjectAlertRuleWorkloadRule) ProjectAlertRuleWorkloadRule { - if v != nil { - return *v - } - var ret ProjectAlertRuleWorkloadRule - return ret - }).(ProjectAlertRuleWorkloadRuleOutput) +// (int) +func (o PodSecurityPolicyTemplateHostPortOutput) Max() pulumi.IntOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateHostPort) int { return v.Max }).(pulumi.IntOutput) } -// Workload rule available percentage. Default: `70` (int) -func (o ProjectAlertRuleWorkloadRulePtrOutput) AvailablePercentage() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ProjectAlertRuleWorkloadRule) *int { - if v == nil { - return nil - } - return v.AvailablePercentage - }).(pulumi.IntPtrOutput) +// (int) +func (o PodSecurityPolicyTemplateHostPortOutput) Min() pulumi.IntOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateHostPort) int { return v.Min }).(pulumi.IntOutput) } -// Workload rule selector (map) -func (o ProjectAlertRuleWorkloadRulePtrOutput) Selector() pulumi.MapOutput { - return o.ApplyT(func(v *ProjectAlertRuleWorkloadRule) map[string]interface{} { - if v == nil { - return nil - } - return v.Selector - }).(pulumi.MapOutput) +type PodSecurityPolicyTemplateHostPortArrayOutput struct{ *pulumi.OutputState } + +func (PodSecurityPolicyTemplateHostPortArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateHostPort)(nil)).Elem() } -// Workload ID (string) -func (o ProjectAlertRuleWorkloadRulePtrOutput) WorkloadId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectAlertRuleWorkloadRule) *string { - if v == nil { - return nil - } - return v.WorkloadId - }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateHostPortArrayOutput) ToPodSecurityPolicyTemplateHostPortArrayOutput() PodSecurityPolicyTemplateHostPortArrayOutput { + return o } -type ProjectContainerResourceLimit struct { - // Limit for limits cpu in project (string) - LimitsCpu *string `pulumi:"limitsCpu"` - // Limit for limits memory in project (string) - LimitsMemory *string `pulumi:"limitsMemory"` - // Limit for requests cpu in project (string) - RequestsCpu *string `pulumi:"requestsCpu"` - // Limit for requests memory in project (string) - RequestsMemory *string `pulumi:"requestsMemory"` +func (o PodSecurityPolicyTemplateHostPortArrayOutput) ToPodSecurityPolicyTemplateHostPortArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateHostPortArrayOutput { + return o } -// ProjectContainerResourceLimitInput is an input type that accepts ProjectContainerResourceLimitArgs and ProjectContainerResourceLimitOutput values. -// You can construct a concrete instance of `ProjectContainerResourceLimitInput` via: +func (o PodSecurityPolicyTemplateHostPortArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateHostPortOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateHostPort { + return vs[0].([]PodSecurityPolicyTemplateHostPort)[vs[1].(int)] + }).(PodSecurityPolicyTemplateHostPortOutput) +} + +type PodSecurityPolicyTemplateRunAsGroup struct { + // (list) + Ranges []PodSecurityPolicyTemplateRunAsGroupRange `pulumi:"ranges"` + // (string) + Rule string `pulumi:"rule"` +} + +// PodSecurityPolicyTemplateRunAsGroupInput is an input type that accepts PodSecurityPolicyTemplateRunAsGroupArgs and PodSecurityPolicyTemplateRunAsGroupOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsGroupInput` via: // -// ProjectContainerResourceLimitArgs{...} -type ProjectContainerResourceLimitInput interface { +// PodSecurityPolicyTemplateRunAsGroupArgs{...} +type PodSecurityPolicyTemplateRunAsGroupInput interface { pulumi.Input - ToProjectContainerResourceLimitOutput() ProjectContainerResourceLimitOutput - ToProjectContainerResourceLimitOutputWithContext(context.Context) ProjectContainerResourceLimitOutput + ToPodSecurityPolicyTemplateRunAsGroupOutput() PodSecurityPolicyTemplateRunAsGroupOutput + ToPodSecurityPolicyTemplateRunAsGroupOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsGroupOutput } -type ProjectContainerResourceLimitArgs struct { - // Limit for limits cpu in project (string) - LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` - // Limit for limits memory in project (string) - LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` - // Limit for requests cpu in project (string) - RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` - // Limit for requests memory in project (string) - RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` +type PodSecurityPolicyTemplateRunAsGroupArgs struct { + // (list) + Ranges PodSecurityPolicyTemplateRunAsGroupRangeArrayInput `pulumi:"ranges"` + // (string) + Rule pulumi.StringInput `pulumi:"rule"` } -func (ProjectContainerResourceLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectContainerResourceLimit)(nil)).Elem() +func (PodSecurityPolicyTemplateRunAsGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() } -func (i ProjectContainerResourceLimitArgs) ToProjectContainerResourceLimitOutput() ProjectContainerResourceLimitOutput { - return i.ToProjectContainerResourceLimitOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateRunAsGroupArgs) ToPodSecurityPolicyTemplateRunAsGroupOutput() PodSecurityPolicyTemplateRunAsGroupOutput { + return i.ToPodSecurityPolicyTemplateRunAsGroupOutputWithContext(context.Background()) } -func (i ProjectContainerResourceLimitArgs) ToProjectContainerResourceLimitOutputWithContext(ctx context.Context) ProjectContainerResourceLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectContainerResourceLimitOutput) +func (i PodSecurityPolicyTemplateRunAsGroupArgs) ToPodSecurityPolicyTemplateRunAsGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsGroupOutput) } -func (i ProjectContainerResourceLimitArgs) ToProjectContainerResourceLimitPtrOutput() ProjectContainerResourceLimitPtrOutput { - return i.ToProjectContainerResourceLimitPtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateRunAsGroupArgs) ToPodSecurityPolicyTemplateRunAsGroupPtrOutput() PodSecurityPolicyTemplateRunAsGroupPtrOutput { + return i.ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) } -func (i ProjectContainerResourceLimitArgs) ToProjectContainerResourceLimitPtrOutputWithContext(ctx context.Context) ProjectContainerResourceLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectContainerResourceLimitOutput).ToProjectContainerResourceLimitPtrOutputWithContext(ctx) +func (i PodSecurityPolicyTemplateRunAsGroupArgs) ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsGroupOutput).ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx) } -// ProjectContainerResourceLimitPtrInput is an input type that accepts ProjectContainerResourceLimitArgs, ProjectContainerResourceLimitPtr and ProjectContainerResourceLimitPtrOutput values. -// You can construct a concrete instance of `ProjectContainerResourceLimitPtrInput` via: +// PodSecurityPolicyTemplateRunAsGroupPtrInput is an input type that accepts PodSecurityPolicyTemplateRunAsGroupArgs, PodSecurityPolicyTemplateRunAsGroupPtr and PodSecurityPolicyTemplateRunAsGroupPtrOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsGroupPtrInput` via: // -// ProjectContainerResourceLimitArgs{...} +// PodSecurityPolicyTemplateRunAsGroupArgs{...} // // or: // // nil -type ProjectContainerResourceLimitPtrInput interface { +type PodSecurityPolicyTemplateRunAsGroupPtrInput interface { pulumi.Input - ToProjectContainerResourceLimitPtrOutput() ProjectContainerResourceLimitPtrOutput - ToProjectContainerResourceLimitPtrOutputWithContext(context.Context) ProjectContainerResourceLimitPtrOutput + ToPodSecurityPolicyTemplateRunAsGroupPtrOutput() PodSecurityPolicyTemplateRunAsGroupPtrOutput + ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsGroupPtrOutput } -type projectContainerResourceLimitPtrType ProjectContainerResourceLimitArgs +type podSecurityPolicyTemplateRunAsGroupPtrType PodSecurityPolicyTemplateRunAsGroupArgs -func ProjectContainerResourceLimitPtr(v *ProjectContainerResourceLimitArgs) ProjectContainerResourceLimitPtrInput { - return (*projectContainerResourceLimitPtrType)(v) +func PodSecurityPolicyTemplateRunAsGroupPtr(v *PodSecurityPolicyTemplateRunAsGroupArgs) PodSecurityPolicyTemplateRunAsGroupPtrInput { + return (*podSecurityPolicyTemplateRunAsGroupPtrType)(v) } -func (*projectContainerResourceLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectContainerResourceLimit)(nil)).Elem() +func (*podSecurityPolicyTemplateRunAsGroupPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() } -func (i *projectContainerResourceLimitPtrType) ToProjectContainerResourceLimitPtrOutput() ProjectContainerResourceLimitPtrOutput { - return i.ToProjectContainerResourceLimitPtrOutputWithContext(context.Background()) +func (i *podSecurityPolicyTemplateRunAsGroupPtrType) ToPodSecurityPolicyTemplateRunAsGroupPtrOutput() PodSecurityPolicyTemplateRunAsGroupPtrOutput { + return i.ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) } -func (i *projectContainerResourceLimitPtrType) ToProjectContainerResourceLimitPtrOutputWithContext(ctx context.Context) ProjectContainerResourceLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectContainerResourceLimitPtrOutput) +func (i *podSecurityPolicyTemplateRunAsGroupPtrType) ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsGroupPtrOutput) } -type ProjectContainerResourceLimitOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateRunAsGroupOutput struct{ *pulumi.OutputState } -func (ProjectContainerResourceLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectContainerResourceLimit)(nil)).Elem() +func (PodSecurityPolicyTemplateRunAsGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() } -func (o ProjectContainerResourceLimitOutput) ToProjectContainerResourceLimitOutput() ProjectContainerResourceLimitOutput { +func (o PodSecurityPolicyTemplateRunAsGroupOutput) ToPodSecurityPolicyTemplateRunAsGroupOutput() PodSecurityPolicyTemplateRunAsGroupOutput { return o } -func (o ProjectContainerResourceLimitOutput) ToProjectContainerResourceLimitOutputWithContext(ctx context.Context) ProjectContainerResourceLimitOutput { +func (o PodSecurityPolicyTemplateRunAsGroupOutput) ToPodSecurityPolicyTemplateRunAsGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupOutput { return o } -func (o ProjectContainerResourceLimitOutput) ToProjectContainerResourceLimitPtrOutput() ProjectContainerResourceLimitPtrOutput { - return o.ToProjectContainerResourceLimitPtrOutputWithContext(context.Background()) +func (o PodSecurityPolicyTemplateRunAsGroupOutput) ToPodSecurityPolicyTemplateRunAsGroupPtrOutput() PodSecurityPolicyTemplateRunAsGroupPtrOutput { + return o.ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) } -func (o ProjectContainerResourceLimitOutput) ToProjectContainerResourceLimitPtrOutputWithContext(ctx context.Context) ProjectContainerResourceLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectContainerResourceLimit) *ProjectContainerResourceLimit { +func (o PodSecurityPolicyTemplateRunAsGroupOutput) ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateRunAsGroup) *PodSecurityPolicyTemplateRunAsGroup { return &v - }).(ProjectContainerResourceLimitPtrOutput) -} - -// Limit for limits cpu in project (string) -func (o ProjectContainerResourceLimitOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectContainerResourceLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) -} - -// Limit for limits memory in project (string) -func (o ProjectContainerResourceLimitOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectContainerResourceLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) + }).(PodSecurityPolicyTemplateRunAsGroupPtrOutput) } -// Limit for requests cpu in project (string) -func (o ProjectContainerResourceLimitOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectContainerResourceLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +// (list) +func (o PodSecurityPolicyTemplateRunAsGroupOutput) Ranges() PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsGroup) []PodSecurityPolicyTemplateRunAsGroupRange { + return v.Ranges + }).(PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) } -// Limit for requests memory in project (string) -func (o ProjectContainerResourceLimitOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectContainerResourceLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +// (string) +func (o PodSecurityPolicyTemplateRunAsGroupOutput) Rule() pulumi.StringOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsGroup) string { return v.Rule }).(pulumi.StringOutput) } -type ProjectContainerResourceLimitPtrOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateRunAsGroupPtrOutput struct{ *pulumi.OutputState } -func (ProjectContainerResourceLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectContainerResourceLimit)(nil)).Elem() +func (PodSecurityPolicyTemplateRunAsGroupPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() } -func (o ProjectContainerResourceLimitPtrOutput) ToProjectContainerResourceLimitPtrOutput() ProjectContainerResourceLimitPtrOutput { +func (o PodSecurityPolicyTemplateRunAsGroupPtrOutput) ToPodSecurityPolicyTemplateRunAsGroupPtrOutput() PodSecurityPolicyTemplateRunAsGroupPtrOutput { return o } -func (o ProjectContainerResourceLimitPtrOutput) ToProjectContainerResourceLimitPtrOutputWithContext(ctx context.Context) ProjectContainerResourceLimitPtrOutput { +func (o PodSecurityPolicyTemplateRunAsGroupPtrOutput) ToPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupPtrOutput { return o } -func (o ProjectContainerResourceLimitPtrOutput) Elem() ProjectContainerResourceLimitOutput { - return o.ApplyT(func(v *ProjectContainerResourceLimit) ProjectContainerResourceLimit { +func (o PodSecurityPolicyTemplateRunAsGroupPtrOutput) Elem() PodSecurityPolicyTemplateRunAsGroupOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsGroup) PodSecurityPolicyTemplateRunAsGroup { if v != nil { return *v } - var ret ProjectContainerResourceLimit + var ret PodSecurityPolicyTemplateRunAsGroup return ret - }).(ProjectContainerResourceLimitOutput) -} - -// Limit for limits cpu in project (string) -func (o ProjectContainerResourceLimitPtrOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectContainerResourceLimit) *string { - if v == nil { - return nil - } - return v.LimitsCpu - }).(pulumi.StringPtrOutput) -} - -// Limit for limits memory in project (string) -func (o ProjectContainerResourceLimitPtrOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectContainerResourceLimit) *string { - if v == nil { - return nil - } - return v.LimitsMemory - }).(pulumi.StringPtrOutput) + }).(PodSecurityPolicyTemplateRunAsGroupOutput) } -// Limit for requests cpu in project (string) -func (o ProjectContainerResourceLimitPtrOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectContainerResourceLimit) *string { +// (list) +func (o PodSecurityPolicyTemplateRunAsGroupPtrOutput) Ranges() PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsGroup) []PodSecurityPolicyTemplateRunAsGroupRange { if v == nil { return nil } - return v.RequestsCpu - }).(pulumi.StringPtrOutput) + return v.Ranges + }).(PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) } -// Limit for requests memory in project (string) -func (o ProjectContainerResourceLimitPtrOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectContainerResourceLimit) *string { +// (string) +func (o PodSecurityPolicyTemplateRunAsGroupPtrOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsGroup) *string { if v == nil { return nil } - return v.RequestsMemory + return &v.Rule }).(pulumi.StringPtrOutput) } -type ProjectLoggingCustomTargetConfig struct { - // SSL certificate for the syslog service (string) - Certificate *string `pulumi:"certificate"` - // SSL client certificate for the syslog service (string) - ClientCert *string `pulumi:"clientCert"` - // SSL client key for the syslog service (string) - ClientKey *string `pulumi:"clientKey"` - // Custom target config content (string) - Content string `pulumi:"content"` +type PodSecurityPolicyTemplateRunAsGroupRange struct { + // (int) + Max int `pulumi:"max"` + // (int) + Min int `pulumi:"min"` } -// ProjectLoggingCustomTargetConfigInput is an input type that accepts ProjectLoggingCustomTargetConfigArgs and ProjectLoggingCustomTargetConfigOutput values. -// You can construct a concrete instance of `ProjectLoggingCustomTargetConfigInput` via: +// PodSecurityPolicyTemplateRunAsGroupRangeInput is an input type that accepts PodSecurityPolicyTemplateRunAsGroupRangeArgs and PodSecurityPolicyTemplateRunAsGroupRangeOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsGroupRangeInput` via: // -// ProjectLoggingCustomTargetConfigArgs{...} -type ProjectLoggingCustomTargetConfigInput interface { +// PodSecurityPolicyTemplateRunAsGroupRangeArgs{...} +type PodSecurityPolicyTemplateRunAsGroupRangeInput interface { pulumi.Input - ToProjectLoggingCustomTargetConfigOutput() ProjectLoggingCustomTargetConfigOutput - ToProjectLoggingCustomTargetConfigOutputWithContext(context.Context) ProjectLoggingCustomTargetConfigOutput -} - -type ProjectLoggingCustomTargetConfigArgs struct { - // SSL certificate for the syslog service (string) - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - // SSL client certificate for the syslog service (string) - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - // SSL client key for the syslog service (string) - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - // Custom target config content (string) - Content pulumi.StringInput `pulumi:"content"` -} - -func (ProjectLoggingCustomTargetConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingCustomTargetConfig)(nil)).Elem() + ToPodSecurityPolicyTemplateRunAsGroupRangeOutput() PodSecurityPolicyTemplateRunAsGroupRangeOutput + ToPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsGroupRangeOutput } -func (i ProjectLoggingCustomTargetConfigArgs) ToProjectLoggingCustomTargetConfigOutput() ProjectLoggingCustomTargetConfigOutput { - return i.ToProjectLoggingCustomTargetConfigOutputWithContext(context.Background()) +type PodSecurityPolicyTemplateRunAsGroupRangeArgs struct { + // (int) + Max pulumi.IntInput `pulumi:"max"` + // (int) + Min pulumi.IntInput `pulumi:"min"` } -func (i ProjectLoggingCustomTargetConfigArgs) ToProjectLoggingCustomTargetConfigOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingCustomTargetConfigOutput) +func (PodSecurityPolicyTemplateRunAsGroupRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() } -func (i ProjectLoggingCustomTargetConfigArgs) ToProjectLoggingCustomTargetConfigPtrOutput() ProjectLoggingCustomTargetConfigPtrOutput { - return i.ToProjectLoggingCustomTargetConfigPtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateRunAsGroupRangeArgs) ToPodSecurityPolicyTemplateRunAsGroupRangeOutput() PodSecurityPolicyTemplateRunAsGroupRangeOutput { + return i.ToPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(context.Background()) } -func (i ProjectLoggingCustomTargetConfigArgs) ToProjectLoggingCustomTargetConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingCustomTargetConfigOutput).ToProjectLoggingCustomTargetConfigPtrOutputWithContext(ctx) +func (i PodSecurityPolicyTemplateRunAsGroupRangeArgs) ToPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsGroupRangeOutput) } -// ProjectLoggingCustomTargetConfigPtrInput is an input type that accepts ProjectLoggingCustomTargetConfigArgs, ProjectLoggingCustomTargetConfigPtr and ProjectLoggingCustomTargetConfigPtrOutput values. -// You can construct a concrete instance of `ProjectLoggingCustomTargetConfigPtrInput` via: -// -// ProjectLoggingCustomTargetConfigArgs{...} -// -// or: +// PodSecurityPolicyTemplateRunAsGroupRangeArrayInput is an input type that accepts PodSecurityPolicyTemplateRunAsGroupRangeArray and PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsGroupRangeArrayInput` via: // -// nil -type ProjectLoggingCustomTargetConfigPtrInput interface { +// PodSecurityPolicyTemplateRunAsGroupRangeArray{ PodSecurityPolicyTemplateRunAsGroupRangeArgs{...} } +type PodSecurityPolicyTemplateRunAsGroupRangeArrayInput interface { pulumi.Input - ToProjectLoggingCustomTargetConfigPtrOutput() ProjectLoggingCustomTargetConfigPtrOutput - ToProjectLoggingCustomTargetConfigPtrOutputWithContext(context.Context) ProjectLoggingCustomTargetConfigPtrOutput + ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput + ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput } -type projectLoggingCustomTargetConfigPtrType ProjectLoggingCustomTargetConfigArgs - -func ProjectLoggingCustomTargetConfigPtr(v *ProjectLoggingCustomTargetConfigArgs) ProjectLoggingCustomTargetConfigPtrInput { - return (*projectLoggingCustomTargetConfigPtrType)(v) -} +type PodSecurityPolicyTemplateRunAsGroupRangeArray []PodSecurityPolicyTemplateRunAsGroupRangeInput -func (*projectLoggingCustomTargetConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingCustomTargetConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateRunAsGroupRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() } -func (i *projectLoggingCustomTargetConfigPtrType) ToProjectLoggingCustomTargetConfigPtrOutput() ProjectLoggingCustomTargetConfigPtrOutput { - return i.ToProjectLoggingCustomTargetConfigPtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateRunAsGroupRangeArray) ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { + return i.ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(context.Background()) } -func (i *projectLoggingCustomTargetConfigPtrType) ToProjectLoggingCustomTargetConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingCustomTargetConfigPtrOutput) +func (i PodSecurityPolicyTemplateRunAsGroupRangeArray) ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) } -type ProjectLoggingCustomTargetConfigOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateRunAsGroupRangeOutput struct{ *pulumi.OutputState } -func (ProjectLoggingCustomTargetConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingCustomTargetConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateRunAsGroupRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() } -func (o ProjectLoggingCustomTargetConfigOutput) ToProjectLoggingCustomTargetConfigOutput() ProjectLoggingCustomTargetConfigOutput { +func (o PodSecurityPolicyTemplateRunAsGroupRangeOutput) ToPodSecurityPolicyTemplateRunAsGroupRangeOutput() PodSecurityPolicyTemplateRunAsGroupRangeOutput { return o } -func (o ProjectLoggingCustomTargetConfigOutput) ToProjectLoggingCustomTargetConfigOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigOutput { +func (o PodSecurityPolicyTemplateRunAsGroupRangeOutput) ToPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupRangeOutput { return o } -func (o ProjectLoggingCustomTargetConfigOutput) ToProjectLoggingCustomTargetConfigPtrOutput() ProjectLoggingCustomTargetConfigPtrOutput { - return o.ToProjectLoggingCustomTargetConfigPtrOutputWithContext(context.Background()) -} - -func (o ProjectLoggingCustomTargetConfigOutput) ToProjectLoggingCustomTargetConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingCustomTargetConfig) *ProjectLoggingCustomTargetConfig { - return &v - }).(ProjectLoggingCustomTargetConfigPtrOutput) -} - -// SSL certificate for the syslog service (string) -func (o ProjectLoggingCustomTargetConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingCustomTargetConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) -} - -// SSL client certificate for the syslog service (string) -func (o ProjectLoggingCustomTargetConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingCustomTargetConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) -} - -// SSL client key for the syslog service (string) -func (o ProjectLoggingCustomTargetConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingCustomTargetConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +// (int) +func (o PodSecurityPolicyTemplateRunAsGroupRangeOutput) Max() pulumi.IntOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsGroupRange) int { return v.Max }).(pulumi.IntOutput) } -// Custom target config content (string) -func (o ProjectLoggingCustomTargetConfigOutput) Content() pulumi.StringOutput { - return o.ApplyT(func(v ProjectLoggingCustomTargetConfig) string { return v.Content }).(pulumi.StringOutput) +// (int) +func (o PodSecurityPolicyTemplateRunAsGroupRangeOutput) Min() pulumi.IntOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsGroupRange) int { return v.Min }).(pulumi.IntOutput) } -type ProjectLoggingCustomTargetConfigPtrOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput struct{ *pulumi.OutputState } -func (ProjectLoggingCustomTargetConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingCustomTargetConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() } -func (o ProjectLoggingCustomTargetConfigPtrOutput) ToProjectLoggingCustomTargetConfigPtrOutput() ProjectLoggingCustomTargetConfigPtrOutput { +func (o PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { return o } -func (o ProjectLoggingCustomTargetConfigPtrOutput) ToProjectLoggingCustomTargetConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigPtrOutput { +func (o PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ToPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { return o } -func (o ProjectLoggingCustomTargetConfigPtrOutput) Elem() ProjectLoggingCustomTargetConfigOutput { - return o.ApplyT(func(v *ProjectLoggingCustomTargetConfig) ProjectLoggingCustomTargetConfig { - if v != nil { - return *v - } - var ret ProjectLoggingCustomTargetConfig - return ret - }).(ProjectLoggingCustomTargetConfigOutput) -} - -// SSL certificate for the syslog service (string) -func (o ProjectLoggingCustomTargetConfigPtrOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingCustomTargetConfig) *string { - if v == nil { - return nil - } - return v.Certificate - }).(pulumi.StringPtrOutput) -} - -// SSL client certificate for the syslog service (string) -func (o ProjectLoggingCustomTargetConfigPtrOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingCustomTargetConfig) *string { - if v == nil { - return nil - } - return v.ClientCert - }).(pulumi.StringPtrOutput) -} - -// SSL client key for the syslog service (string) -func (o ProjectLoggingCustomTargetConfigPtrOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingCustomTargetConfig) *string { - if v == nil { - return nil - } - return v.ClientKey - }).(pulumi.StringPtrOutput) -} - -// Custom target config content (string) -func (o ProjectLoggingCustomTargetConfigPtrOutput) Content() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingCustomTargetConfig) *string { - if v == nil { - return nil - } - return &v.Content - }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateRunAsGroupRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateRunAsGroupRange { + return vs[0].([]PodSecurityPolicyTemplateRunAsGroupRange)[vs[1].(int)] + }).(PodSecurityPolicyTemplateRunAsGroupRangeOutput) } -type ProjectLoggingElasticsearchConfig struct { - // User password for the elascticsearch service (string) - AuthPassword *string `pulumi:"authPassword"` - // Username for the elascticsearch service (string) - AuthUsername *string `pulumi:"authUsername"` - // SSL certificate for the syslog service (string) - Certificate *string `pulumi:"certificate"` - // SSL client certificate for the syslog service (string) - ClientCert *string `pulumi:"clientCert"` - // SSL client key for the syslog service (string) - ClientKey *string `pulumi:"clientKey"` - // SSL client key password for the splunk service (string) - ClientKeyPass *string `pulumi:"clientKeyPass"` - // Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) - DateFormat *string `pulumi:"dateFormat"` - // Endpoint of the syslog service (string) - Endpoint string `pulumi:"endpoint"` - // Index prefix for the elascticsearch logs. Default: `local` (string) - IndexPrefix *string `pulumi:"indexPrefix"` - // SSL verify for the syslog service (bool) - SslVerify *bool `pulumi:"sslVerify"` - // SSL version for the elascticsearch service (string) - SslVersion *string `pulumi:"sslVersion"` +type PodSecurityPolicyTemplateRunAsUser struct { + // (list) + Ranges []PodSecurityPolicyTemplateRunAsUserRange `pulumi:"ranges"` + // (string) + Rule string `pulumi:"rule"` } -// ProjectLoggingElasticsearchConfigInput is an input type that accepts ProjectLoggingElasticsearchConfigArgs and ProjectLoggingElasticsearchConfigOutput values. -// You can construct a concrete instance of `ProjectLoggingElasticsearchConfigInput` via: +// PodSecurityPolicyTemplateRunAsUserInput is an input type that accepts PodSecurityPolicyTemplateRunAsUserArgs and PodSecurityPolicyTemplateRunAsUserOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsUserInput` via: // -// ProjectLoggingElasticsearchConfigArgs{...} -type ProjectLoggingElasticsearchConfigInput interface { +// PodSecurityPolicyTemplateRunAsUserArgs{...} +type PodSecurityPolicyTemplateRunAsUserInput interface { pulumi.Input - ToProjectLoggingElasticsearchConfigOutput() ProjectLoggingElasticsearchConfigOutput - ToProjectLoggingElasticsearchConfigOutputWithContext(context.Context) ProjectLoggingElasticsearchConfigOutput + ToPodSecurityPolicyTemplateRunAsUserOutput() PodSecurityPolicyTemplateRunAsUserOutput + ToPodSecurityPolicyTemplateRunAsUserOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsUserOutput } -type ProjectLoggingElasticsearchConfigArgs struct { - // User password for the elascticsearch service (string) - AuthPassword pulumi.StringPtrInput `pulumi:"authPassword"` - // Username for the elascticsearch service (string) - AuthUsername pulumi.StringPtrInput `pulumi:"authUsername"` - // SSL certificate for the syslog service (string) - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - // SSL client certificate for the syslog service (string) - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - // SSL client key for the syslog service (string) - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - // SSL client key password for the splunk service (string) - ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` - // Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) - DateFormat pulumi.StringPtrInput `pulumi:"dateFormat"` - // Endpoint of the syslog service (string) - Endpoint pulumi.StringInput `pulumi:"endpoint"` - // Index prefix for the elascticsearch logs. Default: `local` (string) - IndexPrefix pulumi.StringPtrInput `pulumi:"indexPrefix"` - // SSL verify for the syslog service (bool) - SslVerify pulumi.BoolPtrInput `pulumi:"sslVerify"` - // SSL version for the elascticsearch service (string) - SslVersion pulumi.StringPtrInput `pulumi:"sslVersion"` +type PodSecurityPolicyTemplateRunAsUserArgs struct { + // (list) + Ranges PodSecurityPolicyTemplateRunAsUserRangeArrayInput `pulumi:"ranges"` + // (string) + Rule pulumi.StringInput `pulumi:"rule"` } -func (ProjectLoggingElasticsearchConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingElasticsearchConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateRunAsUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsUser)(nil)).Elem() } -func (i ProjectLoggingElasticsearchConfigArgs) ToProjectLoggingElasticsearchConfigOutput() ProjectLoggingElasticsearchConfigOutput { - return i.ToProjectLoggingElasticsearchConfigOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateRunAsUserArgs) ToPodSecurityPolicyTemplateRunAsUserOutput() PodSecurityPolicyTemplateRunAsUserOutput { + return i.ToPodSecurityPolicyTemplateRunAsUserOutputWithContext(context.Background()) } -func (i ProjectLoggingElasticsearchConfigArgs) ToProjectLoggingElasticsearchConfigOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingElasticsearchConfigOutput) +func (i PodSecurityPolicyTemplateRunAsUserArgs) ToPodSecurityPolicyTemplateRunAsUserOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsUserOutput) } -func (i ProjectLoggingElasticsearchConfigArgs) ToProjectLoggingElasticsearchConfigPtrOutput() ProjectLoggingElasticsearchConfigPtrOutput { - return i.ToProjectLoggingElasticsearchConfigPtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateRunAsUserArgs) ToPodSecurityPolicyTemplateRunAsUserPtrOutput() PodSecurityPolicyTemplateRunAsUserPtrOutput { + return i.ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) } -func (i ProjectLoggingElasticsearchConfigArgs) ToProjectLoggingElasticsearchConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingElasticsearchConfigOutput).ToProjectLoggingElasticsearchConfigPtrOutputWithContext(ctx) +func (i PodSecurityPolicyTemplateRunAsUserArgs) ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsUserOutput).ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx) } -// ProjectLoggingElasticsearchConfigPtrInput is an input type that accepts ProjectLoggingElasticsearchConfigArgs, ProjectLoggingElasticsearchConfigPtr and ProjectLoggingElasticsearchConfigPtrOutput values. -// You can construct a concrete instance of `ProjectLoggingElasticsearchConfigPtrInput` via: +// PodSecurityPolicyTemplateRunAsUserPtrInput is an input type that accepts PodSecurityPolicyTemplateRunAsUserArgs, PodSecurityPolicyTemplateRunAsUserPtr and PodSecurityPolicyTemplateRunAsUserPtrOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsUserPtrInput` via: // -// ProjectLoggingElasticsearchConfigArgs{...} +// PodSecurityPolicyTemplateRunAsUserArgs{...} // // or: // // nil -type ProjectLoggingElasticsearchConfigPtrInput interface { +type PodSecurityPolicyTemplateRunAsUserPtrInput interface { pulumi.Input - ToProjectLoggingElasticsearchConfigPtrOutput() ProjectLoggingElasticsearchConfigPtrOutput - ToProjectLoggingElasticsearchConfigPtrOutputWithContext(context.Context) ProjectLoggingElasticsearchConfigPtrOutput + ToPodSecurityPolicyTemplateRunAsUserPtrOutput() PodSecurityPolicyTemplateRunAsUserPtrOutput + ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsUserPtrOutput } -type projectLoggingElasticsearchConfigPtrType ProjectLoggingElasticsearchConfigArgs +type podSecurityPolicyTemplateRunAsUserPtrType PodSecurityPolicyTemplateRunAsUserArgs -func ProjectLoggingElasticsearchConfigPtr(v *ProjectLoggingElasticsearchConfigArgs) ProjectLoggingElasticsearchConfigPtrInput { - return (*projectLoggingElasticsearchConfigPtrType)(v) +func PodSecurityPolicyTemplateRunAsUserPtr(v *PodSecurityPolicyTemplateRunAsUserArgs) PodSecurityPolicyTemplateRunAsUserPtrInput { + return (*podSecurityPolicyTemplateRunAsUserPtrType)(v) } -func (*projectLoggingElasticsearchConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingElasticsearchConfig)(nil)).Elem() +func (*podSecurityPolicyTemplateRunAsUserPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateRunAsUser)(nil)).Elem() } -func (i *projectLoggingElasticsearchConfigPtrType) ToProjectLoggingElasticsearchConfigPtrOutput() ProjectLoggingElasticsearchConfigPtrOutput { - return i.ToProjectLoggingElasticsearchConfigPtrOutputWithContext(context.Background()) +func (i *podSecurityPolicyTemplateRunAsUserPtrType) ToPodSecurityPolicyTemplateRunAsUserPtrOutput() PodSecurityPolicyTemplateRunAsUserPtrOutput { + return i.ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) } -func (i *projectLoggingElasticsearchConfigPtrType) ToProjectLoggingElasticsearchConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingElasticsearchConfigPtrOutput) +func (i *podSecurityPolicyTemplateRunAsUserPtrType) ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsUserPtrOutput) } -type ProjectLoggingElasticsearchConfigOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateRunAsUserOutput struct{ *pulumi.OutputState } -func (ProjectLoggingElasticsearchConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingElasticsearchConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateRunAsUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsUser)(nil)).Elem() } -func (o ProjectLoggingElasticsearchConfigOutput) ToProjectLoggingElasticsearchConfigOutput() ProjectLoggingElasticsearchConfigOutput { +func (o PodSecurityPolicyTemplateRunAsUserOutput) ToPodSecurityPolicyTemplateRunAsUserOutput() PodSecurityPolicyTemplateRunAsUserOutput { return o } -func (o ProjectLoggingElasticsearchConfigOutput) ToProjectLoggingElasticsearchConfigOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigOutput { +func (o PodSecurityPolicyTemplateRunAsUserOutput) ToPodSecurityPolicyTemplateRunAsUserOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserOutput { return o } -func (o ProjectLoggingElasticsearchConfigOutput) ToProjectLoggingElasticsearchConfigPtrOutput() ProjectLoggingElasticsearchConfigPtrOutput { - return o.ToProjectLoggingElasticsearchConfigPtrOutputWithContext(context.Background()) +func (o PodSecurityPolicyTemplateRunAsUserOutput) ToPodSecurityPolicyTemplateRunAsUserPtrOutput() PodSecurityPolicyTemplateRunAsUserPtrOutput { + return o.ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) } -func (o ProjectLoggingElasticsearchConfigOutput) ToProjectLoggingElasticsearchConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingElasticsearchConfig) *ProjectLoggingElasticsearchConfig { +func (o PodSecurityPolicyTemplateRunAsUserOutput) ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateRunAsUser) *PodSecurityPolicyTemplateRunAsUser { return &v - }).(ProjectLoggingElasticsearchConfigPtrOutput) + }).(PodSecurityPolicyTemplateRunAsUserPtrOutput) } -// User password for the elascticsearch service (string) -func (o ProjectLoggingElasticsearchConfigOutput) AuthPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.AuthPassword }).(pulumi.StringPtrOutput) +// (list) +func (o PodSecurityPolicyTemplateRunAsUserOutput) Ranges() PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsUser) []PodSecurityPolicyTemplateRunAsUserRange { return v.Ranges }).(PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) } -// Username for the elascticsearch service (string) -func (o ProjectLoggingElasticsearchConfigOutput) AuthUsername() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.AuthUsername }).(pulumi.StringPtrOutput) +// (string) +func (o PodSecurityPolicyTemplateRunAsUserOutput) Rule() pulumi.StringOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsUser) string { return v.Rule }).(pulumi.StringOutput) } -// SSL certificate for the syslog service (string) -func (o ProjectLoggingElasticsearchConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +type PodSecurityPolicyTemplateRunAsUserPtrOutput struct{ *pulumi.OutputState } + +func (PodSecurityPolicyTemplateRunAsUserPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateRunAsUser)(nil)).Elem() } -// SSL client certificate for the syslog service (string) -func (o ProjectLoggingElasticsearchConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateRunAsUserPtrOutput) ToPodSecurityPolicyTemplateRunAsUserPtrOutput() PodSecurityPolicyTemplateRunAsUserPtrOutput { + return o } -// SSL client key for the syslog service (string) -func (o ProjectLoggingElasticsearchConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateRunAsUserPtrOutput) ToPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserPtrOutput { + return o } -// SSL client key password for the splunk service (string) -func (o ProjectLoggingElasticsearchConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateRunAsUserPtrOutput) Elem() PodSecurityPolicyTemplateRunAsUserOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsUser) PodSecurityPolicyTemplateRunAsUser { + if v != nil { + return *v + } + var ret PodSecurityPolicyTemplateRunAsUser + return ret + }).(PodSecurityPolicyTemplateRunAsUserOutput) } -// Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) -func (o ProjectLoggingElasticsearchConfigOutput) DateFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.DateFormat }).(pulumi.StringPtrOutput) +// (list) +func (o PodSecurityPolicyTemplateRunAsUserPtrOutput) Ranges() PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsUser) []PodSecurityPolicyTemplateRunAsUserRange { + if v == nil { + return nil + } + return v.Ranges + }).(PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) } -// Endpoint of the syslog service (string) -func (o ProjectLoggingElasticsearchConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) string { return v.Endpoint }).(pulumi.StringOutput) +// (string) +func (o PodSecurityPolicyTemplateRunAsUserPtrOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateRunAsUser) *string { + if v == nil { + return nil + } + return &v.Rule + }).(pulumi.StringPtrOutput) } -// Index prefix for the elascticsearch logs. Default: `local` (string) -func (o ProjectLoggingElasticsearchConfigOutput) IndexPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.IndexPrefix }).(pulumi.StringPtrOutput) +type PodSecurityPolicyTemplateRunAsUserRange struct { + // (int) + Max int `pulumi:"max"` + // (int) + Min int `pulumi:"min"` } -// SSL verify for the syslog service (bool) -func (o ProjectLoggingElasticsearchConfigOutput) SslVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *bool { return v.SslVerify }).(pulumi.BoolPtrOutput) +// PodSecurityPolicyTemplateRunAsUserRangeInput is an input type that accepts PodSecurityPolicyTemplateRunAsUserRangeArgs and PodSecurityPolicyTemplateRunAsUserRangeOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsUserRangeInput` via: +// +// PodSecurityPolicyTemplateRunAsUserRangeArgs{...} +type PodSecurityPolicyTemplateRunAsUserRangeInput interface { + pulumi.Input + + ToPodSecurityPolicyTemplateRunAsUserRangeOutput() PodSecurityPolicyTemplateRunAsUserRangeOutput + ToPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsUserRangeOutput } -// SSL version for the elascticsearch service (string) -func (o ProjectLoggingElasticsearchConfigOutput) SslVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.SslVersion }).(pulumi.StringPtrOutput) +type PodSecurityPolicyTemplateRunAsUserRangeArgs struct { + // (int) + Max pulumi.IntInput `pulumi:"max"` + // (int) + Min pulumi.IntInput `pulumi:"min"` } -type ProjectLoggingElasticsearchConfigPtrOutput struct{ *pulumi.OutputState } +func (PodSecurityPolicyTemplateRunAsUserRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +} + +func (i PodSecurityPolicyTemplateRunAsUserRangeArgs) ToPodSecurityPolicyTemplateRunAsUserRangeOutput() PodSecurityPolicyTemplateRunAsUserRangeOutput { + return i.ToPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(context.Background()) +} + +func (i PodSecurityPolicyTemplateRunAsUserRangeArgs) ToPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsUserRangeOutput) +} + +// PodSecurityPolicyTemplateRunAsUserRangeArrayInput is an input type that accepts PodSecurityPolicyTemplateRunAsUserRangeArray and PodSecurityPolicyTemplateRunAsUserRangeArrayOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateRunAsUserRangeArrayInput` via: +// +// PodSecurityPolicyTemplateRunAsUserRangeArray{ PodSecurityPolicyTemplateRunAsUserRangeArgs{...} } +type PodSecurityPolicyTemplateRunAsUserRangeArrayInput interface { + pulumi.Input -func (ProjectLoggingElasticsearchConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingElasticsearchConfig)(nil)).Elem() + ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() PodSecurityPolicyTemplateRunAsUserRangeArrayOutput + ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateRunAsUserRangeArrayOutput } -func (o ProjectLoggingElasticsearchConfigPtrOutput) ToProjectLoggingElasticsearchConfigPtrOutput() ProjectLoggingElasticsearchConfigPtrOutput { - return o -} +type PodSecurityPolicyTemplateRunAsUserRangeArray []PodSecurityPolicyTemplateRunAsUserRangeInput -func (o ProjectLoggingElasticsearchConfigPtrOutput) ToProjectLoggingElasticsearchConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigPtrOutput { - return o +func (PodSecurityPolicyTemplateRunAsUserRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() } -func (o ProjectLoggingElasticsearchConfigPtrOutput) Elem() ProjectLoggingElasticsearchConfigOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) ProjectLoggingElasticsearchConfig { - if v != nil { - return *v - } - var ret ProjectLoggingElasticsearchConfig - return ret - }).(ProjectLoggingElasticsearchConfigOutput) +func (i PodSecurityPolicyTemplateRunAsUserRangeArray) ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return i.ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(context.Background()) } -// User password for the elascticsearch service (string) -func (o ProjectLoggingElasticsearchConfigPtrOutput) AuthPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { - if v == nil { - return nil - } - return v.AuthPassword - }).(pulumi.StringPtrOutput) +func (i PodSecurityPolicyTemplateRunAsUserRangeArray) ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) } -// Username for the elascticsearch service (string) -func (o ProjectLoggingElasticsearchConfigPtrOutput) AuthUsername() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { - if v == nil { - return nil - } - return v.AuthUsername - }).(pulumi.StringPtrOutput) -} +type PodSecurityPolicyTemplateRunAsUserRangeOutput struct{ *pulumi.OutputState } -// SSL certificate for the syslog service (string) -func (o ProjectLoggingElasticsearchConfigPtrOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { - if v == nil { - return nil - } - return v.Certificate - }).(pulumi.StringPtrOutput) +func (PodSecurityPolicyTemplateRunAsUserRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() } -// SSL client certificate for the syslog service (string) -func (o ProjectLoggingElasticsearchConfigPtrOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { - if v == nil { - return nil - } - return v.ClientCert - }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateRunAsUserRangeOutput) ToPodSecurityPolicyTemplateRunAsUserRangeOutput() PodSecurityPolicyTemplateRunAsUserRangeOutput { + return o } -// SSL client key for the syslog service (string) -func (o ProjectLoggingElasticsearchConfigPtrOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { - if v == nil { - return nil - } - return v.ClientKey - }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateRunAsUserRangeOutput) ToPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserRangeOutput { + return o } -// SSL client key password for the splunk service (string) -func (o ProjectLoggingElasticsearchConfigPtrOutput) ClientKeyPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { - if v == nil { - return nil - } - return v.ClientKeyPass - }).(pulumi.StringPtrOutput) +// (int) +func (o PodSecurityPolicyTemplateRunAsUserRangeOutput) Max() pulumi.IntOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsUserRange) int { return v.Max }).(pulumi.IntOutput) } -// Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) -func (o ProjectLoggingElasticsearchConfigPtrOutput) DateFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { - if v == nil { - return nil - } - return v.DateFormat - }).(pulumi.StringPtrOutput) +// (int) +func (o PodSecurityPolicyTemplateRunAsUserRangeOutput) Min() pulumi.IntOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateRunAsUserRange) int { return v.Min }).(pulumi.IntOutput) } -// Endpoint of the syslog service (string) -func (o ProjectLoggingElasticsearchConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) +type PodSecurityPolicyTemplateRunAsUserRangeArrayOutput struct{ *pulumi.OutputState } + +func (PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() } -// Index prefix for the elascticsearch logs. Default: `local` (string) -func (o ProjectLoggingElasticsearchConfigPtrOutput) IndexPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { - if v == nil { - return nil - } - return v.IndexPrefix - }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return o } -// SSL verify for the syslog service (bool) -func (o ProjectLoggingElasticsearchConfigPtrOutput) SslVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *bool { - if v == nil { - return nil - } - return v.SslVerify - }).(pulumi.BoolPtrOutput) +func (o PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ToPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return o } -// SSL version for the elascticsearch service (string) -func (o ProjectLoggingElasticsearchConfigPtrOutput) SslVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { - if v == nil { - return nil - } - return v.SslVersion - }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateRunAsUserRangeArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateRunAsUserRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateRunAsUserRange { + return vs[0].([]PodSecurityPolicyTemplateRunAsUserRange)[vs[1].(int)] + }).(PodSecurityPolicyTemplateRunAsUserRangeOutput) } -type ProjectLoggingFluentdConfig struct { - // SSL certificate for the syslog service (string) - Certificate *string `pulumi:"certificate"` - // Compress data for the fluentd service (bool) - Compress *bool `pulumi:"compress"` - // Enable TLS for the fluentd service (bool) - EnableTls *bool `pulumi:"enableTls"` - // Servers for the fluentd service (list) - FluentServers []ProjectLoggingFluentdConfigFluentServer `pulumi:"fluentServers"` +type PodSecurityPolicyTemplateRuntimeClass struct { + // (list) + AllowedRuntimeClassNames []string `pulumi:"allowedRuntimeClassNames"` + // (string) + DefaultRuntimeClassName *string `pulumi:"defaultRuntimeClassName"` } -// ProjectLoggingFluentdConfigInput is an input type that accepts ProjectLoggingFluentdConfigArgs and ProjectLoggingFluentdConfigOutput values. -// You can construct a concrete instance of `ProjectLoggingFluentdConfigInput` via: +// PodSecurityPolicyTemplateRuntimeClassInput is an input type that accepts PodSecurityPolicyTemplateRuntimeClassArgs and PodSecurityPolicyTemplateRuntimeClassOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateRuntimeClassInput` via: // -// ProjectLoggingFluentdConfigArgs{...} -type ProjectLoggingFluentdConfigInput interface { +// PodSecurityPolicyTemplateRuntimeClassArgs{...} +type PodSecurityPolicyTemplateRuntimeClassInput interface { pulumi.Input - ToProjectLoggingFluentdConfigOutput() ProjectLoggingFluentdConfigOutput - ToProjectLoggingFluentdConfigOutputWithContext(context.Context) ProjectLoggingFluentdConfigOutput + ToPodSecurityPolicyTemplateRuntimeClassOutput() PodSecurityPolicyTemplateRuntimeClassOutput + ToPodSecurityPolicyTemplateRuntimeClassOutputWithContext(context.Context) PodSecurityPolicyTemplateRuntimeClassOutput } -type ProjectLoggingFluentdConfigArgs struct { - // SSL certificate for the syslog service (string) - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - // Compress data for the fluentd service (bool) - Compress pulumi.BoolPtrInput `pulumi:"compress"` - // Enable TLS for the fluentd service (bool) - EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` - // Servers for the fluentd service (list) - FluentServers ProjectLoggingFluentdConfigFluentServerArrayInput `pulumi:"fluentServers"` +type PodSecurityPolicyTemplateRuntimeClassArgs struct { + // (list) + AllowedRuntimeClassNames pulumi.StringArrayInput `pulumi:"allowedRuntimeClassNames"` + // (string) + DefaultRuntimeClassName pulumi.StringPtrInput `pulumi:"defaultRuntimeClassName"` } -func (ProjectLoggingFluentdConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingFluentdConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateRuntimeClassArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() } -func (i ProjectLoggingFluentdConfigArgs) ToProjectLoggingFluentdConfigOutput() ProjectLoggingFluentdConfigOutput { - return i.ToProjectLoggingFluentdConfigOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateRuntimeClassArgs) ToPodSecurityPolicyTemplateRuntimeClassOutput() PodSecurityPolicyTemplateRuntimeClassOutput { + return i.ToPodSecurityPolicyTemplateRuntimeClassOutputWithContext(context.Background()) } -func (i ProjectLoggingFluentdConfigArgs) ToProjectLoggingFluentdConfigOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingFluentdConfigOutput) +func (i PodSecurityPolicyTemplateRuntimeClassArgs) ToPodSecurityPolicyTemplateRuntimeClassOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRuntimeClassOutput) } -func (i ProjectLoggingFluentdConfigArgs) ToProjectLoggingFluentdConfigPtrOutput() ProjectLoggingFluentdConfigPtrOutput { - return i.ToProjectLoggingFluentdConfigPtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateRuntimeClassArgs) ToPodSecurityPolicyTemplateRuntimeClassPtrOutput() PodSecurityPolicyTemplateRuntimeClassPtrOutput { + return i.ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) } -func (i ProjectLoggingFluentdConfigArgs) ToProjectLoggingFluentdConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingFluentdConfigOutput).ToProjectLoggingFluentdConfigPtrOutputWithContext(ctx) +func (i PodSecurityPolicyTemplateRuntimeClassArgs) ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRuntimeClassOutput).ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx) } -// ProjectLoggingFluentdConfigPtrInput is an input type that accepts ProjectLoggingFluentdConfigArgs, ProjectLoggingFluentdConfigPtr and ProjectLoggingFluentdConfigPtrOutput values. -// You can construct a concrete instance of `ProjectLoggingFluentdConfigPtrInput` via: +// PodSecurityPolicyTemplateRuntimeClassPtrInput is an input type that accepts PodSecurityPolicyTemplateRuntimeClassArgs, PodSecurityPolicyTemplateRuntimeClassPtr and PodSecurityPolicyTemplateRuntimeClassPtrOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateRuntimeClassPtrInput` via: // -// ProjectLoggingFluentdConfigArgs{...} +// PodSecurityPolicyTemplateRuntimeClassArgs{...} // // or: // // nil -type ProjectLoggingFluentdConfigPtrInput interface { +type PodSecurityPolicyTemplateRuntimeClassPtrInput interface { pulumi.Input - ToProjectLoggingFluentdConfigPtrOutput() ProjectLoggingFluentdConfigPtrOutput - ToProjectLoggingFluentdConfigPtrOutputWithContext(context.Context) ProjectLoggingFluentdConfigPtrOutput + ToPodSecurityPolicyTemplateRuntimeClassPtrOutput() PodSecurityPolicyTemplateRuntimeClassPtrOutput + ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateRuntimeClassPtrOutput } -type projectLoggingFluentdConfigPtrType ProjectLoggingFluentdConfigArgs +type podSecurityPolicyTemplateRuntimeClassPtrType PodSecurityPolicyTemplateRuntimeClassArgs -func ProjectLoggingFluentdConfigPtr(v *ProjectLoggingFluentdConfigArgs) ProjectLoggingFluentdConfigPtrInput { - return (*projectLoggingFluentdConfigPtrType)(v) +func PodSecurityPolicyTemplateRuntimeClassPtr(v *PodSecurityPolicyTemplateRuntimeClassArgs) PodSecurityPolicyTemplateRuntimeClassPtrInput { + return (*podSecurityPolicyTemplateRuntimeClassPtrType)(v) } -func (*projectLoggingFluentdConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingFluentdConfig)(nil)).Elem() +func (*podSecurityPolicyTemplateRuntimeClassPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() } -func (i *projectLoggingFluentdConfigPtrType) ToProjectLoggingFluentdConfigPtrOutput() ProjectLoggingFluentdConfigPtrOutput { - return i.ToProjectLoggingFluentdConfigPtrOutputWithContext(context.Background()) +func (i *podSecurityPolicyTemplateRuntimeClassPtrType) ToPodSecurityPolicyTemplateRuntimeClassPtrOutput() PodSecurityPolicyTemplateRuntimeClassPtrOutput { + return i.ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) } -func (i *projectLoggingFluentdConfigPtrType) ToProjectLoggingFluentdConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingFluentdConfigPtrOutput) +func (i *podSecurityPolicyTemplateRuntimeClassPtrType) ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateRuntimeClassPtrOutput) } -type ProjectLoggingFluentdConfigOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateRuntimeClassOutput struct{ *pulumi.OutputState } -func (ProjectLoggingFluentdConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingFluentdConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateRuntimeClassOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() } -func (o ProjectLoggingFluentdConfigOutput) ToProjectLoggingFluentdConfigOutput() ProjectLoggingFluentdConfigOutput { +func (o PodSecurityPolicyTemplateRuntimeClassOutput) ToPodSecurityPolicyTemplateRuntimeClassOutput() PodSecurityPolicyTemplateRuntimeClassOutput { return o } -func (o ProjectLoggingFluentdConfigOutput) ToProjectLoggingFluentdConfigOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigOutput { +func (o PodSecurityPolicyTemplateRuntimeClassOutput) ToPodSecurityPolicyTemplateRuntimeClassOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassOutput { return o } -func (o ProjectLoggingFluentdConfigOutput) ToProjectLoggingFluentdConfigPtrOutput() ProjectLoggingFluentdConfigPtrOutput { - return o.ToProjectLoggingFluentdConfigPtrOutputWithContext(context.Background()) +func (o PodSecurityPolicyTemplateRuntimeClassOutput) ToPodSecurityPolicyTemplateRuntimeClassPtrOutput() PodSecurityPolicyTemplateRuntimeClassPtrOutput { + return o.ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) } -func (o ProjectLoggingFluentdConfigOutput) ToProjectLoggingFluentdConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingFluentdConfig) *ProjectLoggingFluentdConfig { +func (o PodSecurityPolicyTemplateRuntimeClassOutput) ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateRuntimeClass) *PodSecurityPolicyTemplateRuntimeClass { return &v - }).(ProjectLoggingFluentdConfigPtrOutput) -} - -// SSL certificate for the syslog service (string) -func (o ProjectLoggingFluentdConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) -} - -// Compress data for the fluentd service (bool) -func (o ProjectLoggingFluentdConfigOutput) Compress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfig) *bool { return v.Compress }).(pulumi.BoolPtrOutput) + }).(PodSecurityPolicyTemplateRuntimeClassPtrOutput) } -// Enable TLS for the fluentd service (bool) -func (o ProjectLoggingFluentdConfigOutput) EnableTls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) +// (list) +func (o PodSecurityPolicyTemplateRuntimeClassOutput) AllowedRuntimeClassNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateRuntimeClass) []string { return v.AllowedRuntimeClassNames }).(pulumi.StringArrayOutput) } -// Servers for the fluentd service (list) -func (o ProjectLoggingFluentdConfigOutput) FluentServers() ProjectLoggingFluentdConfigFluentServerArrayOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfig) []ProjectLoggingFluentdConfigFluentServer { return v.FluentServers }).(ProjectLoggingFluentdConfigFluentServerArrayOutput) +// (string) +func (o PodSecurityPolicyTemplateRuntimeClassOutput) DefaultRuntimeClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateRuntimeClass) *string { return v.DefaultRuntimeClassName }).(pulumi.StringPtrOutput) } -type ProjectLoggingFluentdConfigPtrOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateRuntimeClassPtrOutput struct{ *pulumi.OutputState } -func (ProjectLoggingFluentdConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingFluentdConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateRuntimeClassPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() } -func (o ProjectLoggingFluentdConfigPtrOutput) ToProjectLoggingFluentdConfigPtrOutput() ProjectLoggingFluentdConfigPtrOutput { +func (o PodSecurityPolicyTemplateRuntimeClassPtrOutput) ToPodSecurityPolicyTemplateRuntimeClassPtrOutput() PodSecurityPolicyTemplateRuntimeClassPtrOutput { return o } -func (o ProjectLoggingFluentdConfigPtrOutput) ToProjectLoggingFluentdConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigPtrOutput { +func (o PodSecurityPolicyTemplateRuntimeClassPtrOutput) ToPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateRuntimeClassPtrOutput { return o } -func (o ProjectLoggingFluentdConfigPtrOutput) Elem() ProjectLoggingFluentdConfigOutput { - return o.ApplyT(func(v *ProjectLoggingFluentdConfig) ProjectLoggingFluentdConfig { +func (o PodSecurityPolicyTemplateRuntimeClassPtrOutput) Elem() PodSecurityPolicyTemplateRuntimeClassOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateRuntimeClass) PodSecurityPolicyTemplateRuntimeClass { if v != nil { return *v } - var ret ProjectLoggingFluentdConfig + var ret PodSecurityPolicyTemplateRuntimeClass return ret - }).(ProjectLoggingFluentdConfigOutput) + }).(PodSecurityPolicyTemplateRuntimeClassOutput) } -// SSL certificate for the syslog service (string) -func (o ProjectLoggingFluentdConfigPtrOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingFluentdConfig) *string { +// (list) +func (o PodSecurityPolicyTemplateRuntimeClassPtrOutput) AllowedRuntimeClassNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateRuntimeClass) []string { if v == nil { return nil } - return v.Certificate - }).(pulumi.StringPtrOutput) + return v.AllowedRuntimeClassNames + }).(pulumi.StringArrayOutput) } -// Compress data for the fluentd service (bool) -func (o ProjectLoggingFluentdConfigPtrOutput) Compress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ProjectLoggingFluentdConfig) *bool { +// (string) +func (o PodSecurityPolicyTemplateRuntimeClassPtrOutput) DefaultRuntimeClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateRuntimeClass) *string { if v == nil { return nil } - return v.Compress - }).(pulumi.BoolPtrOutput) + return v.DefaultRuntimeClassName + }).(pulumi.StringPtrOutput) } -// Enable TLS for the fluentd service (bool) -func (o ProjectLoggingFluentdConfigPtrOutput) EnableTls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ProjectLoggingFluentdConfig) *bool { - if v == nil { - return nil - } - return v.EnableTls - }).(pulumi.BoolPtrOutput) +type PodSecurityPolicyTemplateSeLinux struct { + // (string) + Rule string `pulumi:"rule"` + // (list maxitems:1) + SeLinuxOption *PodSecurityPolicyTemplateSeLinuxSeLinuxOption `pulumi:"seLinuxOption"` } -// Servers for the fluentd service (list) -func (o ProjectLoggingFluentdConfigPtrOutput) FluentServers() ProjectLoggingFluentdConfigFluentServerArrayOutput { - return o.ApplyT(func(v *ProjectLoggingFluentdConfig) []ProjectLoggingFluentdConfigFluentServer { - if v == nil { - return nil - } - return v.FluentServers - }).(ProjectLoggingFluentdConfigFluentServerArrayOutput) -} +// PodSecurityPolicyTemplateSeLinuxInput is an input type that accepts PodSecurityPolicyTemplateSeLinuxArgs and PodSecurityPolicyTemplateSeLinuxOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateSeLinuxInput` via: +// +// PodSecurityPolicyTemplateSeLinuxArgs{...} +type PodSecurityPolicyTemplateSeLinuxInput interface { + pulumi.Input -type ProjectLoggingFluentdConfigFluentServer struct { - // Endpoint of the syslog service (string) - Endpoint string `pulumi:"endpoint"` - // Hostname of the fluentd service (string) - Hostname *string `pulumi:"hostname"` - // User password of the fluentd service (string) - Password *string `pulumi:"password"` - // Shared key of the fluentd service (string) - SharedKey *string `pulumi:"sharedKey"` - // Standby server of the fluentd service (bool) - Standby *bool `pulumi:"standby"` - // Username of the fluentd service (string) - Username *string `pulumi:"username"` - // Weight of the fluentd server (int) - Weight *int `pulumi:"weight"` + ToPodSecurityPolicyTemplateSeLinuxOutput() PodSecurityPolicyTemplateSeLinuxOutput + ToPodSecurityPolicyTemplateSeLinuxOutputWithContext(context.Context) PodSecurityPolicyTemplateSeLinuxOutput } -// ProjectLoggingFluentdConfigFluentServerInput is an input type that accepts ProjectLoggingFluentdConfigFluentServerArgs and ProjectLoggingFluentdConfigFluentServerOutput values. -// You can construct a concrete instance of `ProjectLoggingFluentdConfigFluentServerInput` via: -// -// ProjectLoggingFluentdConfigFluentServerArgs{...} -type ProjectLoggingFluentdConfigFluentServerInput interface { - pulumi.Input +type PodSecurityPolicyTemplateSeLinuxArgs struct { + // (string) + Rule pulumi.StringInput `pulumi:"rule"` + // (list maxitems:1) + SeLinuxOption PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput `pulumi:"seLinuxOption"` +} - ToProjectLoggingFluentdConfigFluentServerOutput() ProjectLoggingFluentdConfigFluentServerOutput - ToProjectLoggingFluentdConfigFluentServerOutputWithContext(context.Context) ProjectLoggingFluentdConfigFluentServerOutput +func (PodSecurityPolicyTemplateSeLinuxArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateSeLinux)(nil)).Elem() } -type ProjectLoggingFluentdConfigFluentServerArgs struct { - // Endpoint of the syslog service (string) - Endpoint pulumi.StringInput `pulumi:"endpoint"` - // Hostname of the fluentd service (string) - Hostname pulumi.StringPtrInput `pulumi:"hostname"` - // User password of the fluentd service (string) - Password pulumi.StringPtrInput `pulumi:"password"` - // Shared key of the fluentd service (string) - SharedKey pulumi.StringPtrInput `pulumi:"sharedKey"` - // Standby server of the fluentd service (bool) - Standby pulumi.BoolPtrInput `pulumi:"standby"` - // Username of the fluentd service (string) - Username pulumi.StringPtrInput `pulumi:"username"` - // Weight of the fluentd server (int) - Weight pulumi.IntPtrInput `pulumi:"weight"` +func (i PodSecurityPolicyTemplateSeLinuxArgs) ToPodSecurityPolicyTemplateSeLinuxOutput() PodSecurityPolicyTemplateSeLinuxOutput { + return i.ToPodSecurityPolicyTemplateSeLinuxOutputWithContext(context.Background()) } -func (ProjectLoggingFluentdConfigFluentServerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +func (i PodSecurityPolicyTemplateSeLinuxArgs) ToPodSecurityPolicyTemplateSeLinuxOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxOutput) } -func (i ProjectLoggingFluentdConfigFluentServerArgs) ToProjectLoggingFluentdConfigFluentServerOutput() ProjectLoggingFluentdConfigFluentServerOutput { - return i.ToProjectLoggingFluentdConfigFluentServerOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateSeLinuxArgs) ToPodSecurityPolicyTemplateSeLinuxPtrOutput() PodSecurityPolicyTemplateSeLinuxPtrOutput { + return i.ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) } -func (i ProjectLoggingFluentdConfigFluentServerArgs) ToProjectLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigFluentServerOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingFluentdConfigFluentServerOutput) +func (i PodSecurityPolicyTemplateSeLinuxArgs) ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxOutput).ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx) } -// ProjectLoggingFluentdConfigFluentServerArrayInput is an input type that accepts ProjectLoggingFluentdConfigFluentServerArray and ProjectLoggingFluentdConfigFluentServerArrayOutput values. -// You can construct a concrete instance of `ProjectLoggingFluentdConfigFluentServerArrayInput` via: +// PodSecurityPolicyTemplateSeLinuxPtrInput is an input type that accepts PodSecurityPolicyTemplateSeLinuxArgs, PodSecurityPolicyTemplateSeLinuxPtr and PodSecurityPolicyTemplateSeLinuxPtrOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateSeLinuxPtrInput` via: // -// ProjectLoggingFluentdConfigFluentServerArray{ ProjectLoggingFluentdConfigFluentServerArgs{...} } -type ProjectLoggingFluentdConfigFluentServerArrayInput interface { +// PodSecurityPolicyTemplateSeLinuxArgs{...} +// +// or: +// +// nil +type PodSecurityPolicyTemplateSeLinuxPtrInput interface { pulumi.Input - ToProjectLoggingFluentdConfigFluentServerArrayOutput() ProjectLoggingFluentdConfigFluentServerArrayOutput - ToProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Context) ProjectLoggingFluentdConfigFluentServerArrayOutput + ToPodSecurityPolicyTemplateSeLinuxPtrOutput() PodSecurityPolicyTemplateSeLinuxPtrOutput + ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateSeLinuxPtrOutput } -type ProjectLoggingFluentdConfigFluentServerArray []ProjectLoggingFluentdConfigFluentServerInput +type podSecurityPolicyTemplateSeLinuxPtrType PodSecurityPolicyTemplateSeLinuxArgs -func (ProjectLoggingFluentdConfigFluentServerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +func PodSecurityPolicyTemplateSeLinuxPtr(v *PodSecurityPolicyTemplateSeLinuxArgs) PodSecurityPolicyTemplateSeLinuxPtrInput { + return (*podSecurityPolicyTemplateSeLinuxPtrType)(v) } -func (i ProjectLoggingFluentdConfigFluentServerArray) ToProjectLoggingFluentdConfigFluentServerArrayOutput() ProjectLoggingFluentdConfigFluentServerArrayOutput { - return i.ToProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Background()) +func (*podSecurityPolicyTemplateSeLinuxPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateSeLinux)(nil)).Elem() } -func (i ProjectLoggingFluentdConfigFluentServerArray) ToProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigFluentServerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingFluentdConfigFluentServerArrayOutput) +func (i *podSecurityPolicyTemplateSeLinuxPtrType) ToPodSecurityPolicyTemplateSeLinuxPtrOutput() PodSecurityPolicyTemplateSeLinuxPtrOutput { + return i.ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) } -type ProjectLoggingFluentdConfigFluentServerOutput struct{ *pulumi.OutputState } - -func (ProjectLoggingFluentdConfigFluentServerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +func (i *podSecurityPolicyTemplateSeLinuxPtrType) ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxPtrOutput) } -func (o ProjectLoggingFluentdConfigFluentServerOutput) ToProjectLoggingFluentdConfigFluentServerOutput() ProjectLoggingFluentdConfigFluentServerOutput { - return o +type PodSecurityPolicyTemplateSeLinuxOutput struct{ *pulumi.OutputState } + +func (PodSecurityPolicyTemplateSeLinuxOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateSeLinux)(nil)).Elem() } -func (o ProjectLoggingFluentdConfigFluentServerOutput) ToProjectLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigFluentServerOutput { +func (o PodSecurityPolicyTemplateSeLinuxOutput) ToPodSecurityPolicyTemplateSeLinuxOutput() PodSecurityPolicyTemplateSeLinuxOutput { return o } -// Endpoint of the syslog service (string) -func (o ProjectLoggingFluentdConfigFluentServerOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) string { return v.Endpoint }).(pulumi.StringOutput) +func (o PodSecurityPolicyTemplateSeLinuxOutput) ToPodSecurityPolicyTemplateSeLinuxOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxOutput { + return o } -// Hostname of the fluentd service (string) -func (o ProjectLoggingFluentdConfigFluentServerOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *string { return v.Hostname }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateSeLinuxOutput) ToPodSecurityPolicyTemplateSeLinuxPtrOutput() PodSecurityPolicyTemplateSeLinuxPtrOutput { + return o.ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) } -// User password of the fluentd service (string) -func (o ProjectLoggingFluentdConfigFluentServerOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *string { return v.Password }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateSeLinuxOutput) ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateSeLinux) *PodSecurityPolicyTemplateSeLinux { + return &v + }).(PodSecurityPolicyTemplateSeLinuxPtrOutput) } -// Shared key of the fluentd service (string) -func (o ProjectLoggingFluentdConfigFluentServerOutput) SharedKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *string { return v.SharedKey }).(pulumi.StringPtrOutput) +// (string) +func (o PodSecurityPolicyTemplateSeLinuxOutput) Rule() pulumi.StringOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinux) string { return v.Rule }).(pulumi.StringOutput) } -// Standby server of the fluentd service (bool) -func (o ProjectLoggingFluentdConfigFluentServerOutput) Standby() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *bool { return v.Standby }).(pulumi.BoolPtrOutput) +// (list maxitems:1) +func (o PodSecurityPolicyTemplateSeLinuxOutput) SeLinuxOption() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinux) *PodSecurityPolicyTemplateSeLinuxSeLinuxOption { + return v.SeLinuxOption + }).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) } -// Username of the fluentd service (string) -func (o ProjectLoggingFluentdConfigFluentServerOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *string { return v.Username }).(pulumi.StringPtrOutput) -} +type PodSecurityPolicyTemplateSeLinuxPtrOutput struct{ *pulumi.OutputState } -// Weight of the fluentd server (int) -func (o ProjectLoggingFluentdConfigFluentServerOutput) Weight() pulumi.IntPtrOutput { - return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *int { return v.Weight }).(pulumi.IntPtrOutput) +func (PodSecurityPolicyTemplateSeLinuxPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateSeLinux)(nil)).Elem() } -type ProjectLoggingFluentdConfigFluentServerArrayOutput struct{ *pulumi.OutputState } - -func (ProjectLoggingFluentdConfigFluentServerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +func (o PodSecurityPolicyTemplateSeLinuxPtrOutput) ToPodSecurityPolicyTemplateSeLinuxPtrOutput() PodSecurityPolicyTemplateSeLinuxPtrOutput { + return o } -func (o ProjectLoggingFluentdConfigFluentServerArrayOutput) ToProjectLoggingFluentdConfigFluentServerArrayOutput() ProjectLoggingFluentdConfigFluentServerArrayOutput { +func (o PodSecurityPolicyTemplateSeLinuxPtrOutput) ToPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxPtrOutput { return o } -func (o ProjectLoggingFluentdConfigFluentServerArrayOutput) ToProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigFluentServerArrayOutput { - return o +func (o PodSecurityPolicyTemplateSeLinuxPtrOutput) Elem() PodSecurityPolicyTemplateSeLinuxOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinux) PodSecurityPolicyTemplateSeLinux { + if v != nil { + return *v + } + var ret PodSecurityPolicyTemplateSeLinux + return ret + }).(PodSecurityPolicyTemplateSeLinuxOutput) } -func (o ProjectLoggingFluentdConfigFluentServerArrayOutput) Index(i pulumi.IntInput) ProjectLoggingFluentdConfigFluentServerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProjectLoggingFluentdConfigFluentServer { - return vs[0].([]ProjectLoggingFluentdConfigFluentServer)[vs[1].(int)] - }).(ProjectLoggingFluentdConfigFluentServerOutput) +// (string) +func (o PodSecurityPolicyTemplateSeLinuxPtrOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinux) *string { + if v == nil { + return nil + } + return &v.Rule + }).(pulumi.StringPtrOutput) } -type ProjectLoggingKafkaConfig struct { - // Kafka endpoints for kafka service. Conflicts with `zookeeperEndpoint` (list) - BrokerEndpoints []string `pulumi:"brokerEndpoints"` - // SSL certificate for the syslog service (string) - Certificate *string `pulumi:"certificate"` - // SSL client certificate for the syslog service (string) - ClientCert *string `pulumi:"clientCert"` - // SSL client key for the syslog service (string) - ClientKey *string `pulumi:"clientKey"` - // Topic to publish on the kafka service (string) - Topic string `pulumi:"topic"` - // Zookeeper endpoint for kafka service. Conflicts with `brokerEndpoints` (string) - ZookeeperEndpoint *string `pulumi:"zookeeperEndpoint"` +// (list maxitems:1) +func (o PodSecurityPolicyTemplateSeLinuxPtrOutput) SeLinuxOption() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinux) *PodSecurityPolicyTemplateSeLinuxSeLinuxOption { + if v == nil { + return nil + } + return v.SeLinuxOption + }).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) } -// ProjectLoggingKafkaConfigInput is an input type that accepts ProjectLoggingKafkaConfigArgs and ProjectLoggingKafkaConfigOutput values. -// You can construct a concrete instance of `ProjectLoggingKafkaConfigInput` via: +type PodSecurityPolicyTemplateSeLinuxSeLinuxOption struct { + // (string) + Level *string `pulumi:"level"` + // (string) + Role *string `pulumi:"role"` + // (string) + Type *string `pulumi:"type"` + // (string) + User *string `pulumi:"user"` +} + +// PodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput is an input type that accepts PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs and PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput` via: // -// ProjectLoggingKafkaConfigArgs{...} -type ProjectLoggingKafkaConfigInput interface { +// PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{...} +type PodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput interface { pulumi.Input - ToProjectLoggingKafkaConfigOutput() ProjectLoggingKafkaConfigOutput - ToProjectLoggingKafkaConfigOutputWithContext(context.Context) ProjectLoggingKafkaConfigOutput + ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput + ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput } -type ProjectLoggingKafkaConfigArgs struct { - // Kafka endpoints for kafka service. Conflicts with `zookeeperEndpoint` (list) - BrokerEndpoints pulumi.StringArrayInput `pulumi:"brokerEndpoints"` - // SSL certificate for the syslog service (string) - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - // SSL client certificate for the syslog service (string) - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - // SSL client key for the syslog service (string) - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - // Topic to publish on the kafka service (string) - Topic pulumi.StringInput `pulumi:"topic"` - // Zookeeper endpoint for kafka service. Conflicts with `brokerEndpoints` (string) - ZookeeperEndpoint pulumi.StringPtrInput `pulumi:"zookeeperEndpoint"` +type PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs struct { + // (string) + Level pulumi.StringPtrInput `pulumi:"level"` + // (string) + Role pulumi.StringPtrInput `pulumi:"role"` + // (string) + Type pulumi.StringPtrInput `pulumi:"type"` + // (string) + User pulumi.StringPtrInput `pulumi:"user"` } -func (ProjectLoggingKafkaConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingKafkaConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() } -func (i ProjectLoggingKafkaConfigArgs) ToProjectLoggingKafkaConfigOutput() ProjectLoggingKafkaConfigOutput { - return i.ToProjectLoggingKafkaConfigOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { + return i.ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(context.Background()) } -func (i ProjectLoggingKafkaConfigArgs) ToProjectLoggingKafkaConfigOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingKafkaConfigOutput) +func (i PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) } -func (i ProjectLoggingKafkaConfigArgs) ToProjectLoggingKafkaConfigPtrOutput() ProjectLoggingKafkaConfigPtrOutput { - return i.ToProjectLoggingKafkaConfigPtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return i.ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) } -func (i ProjectLoggingKafkaConfigArgs) ToProjectLoggingKafkaConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingKafkaConfigOutput).ToProjectLoggingKafkaConfigPtrOutputWithContext(ctx) +func (i PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput).ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx) } -// ProjectLoggingKafkaConfigPtrInput is an input type that accepts ProjectLoggingKafkaConfigArgs, ProjectLoggingKafkaConfigPtr and ProjectLoggingKafkaConfigPtrOutput values. -// You can construct a concrete instance of `ProjectLoggingKafkaConfigPtrInput` via: +// PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput is an input type that accepts PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs, PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtr and PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput` via: // -// ProjectLoggingKafkaConfigArgs{...} +// PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{...} // // or: // // nil -type ProjectLoggingKafkaConfigPtrInput interface { +type PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput interface { pulumi.Input - ToProjectLoggingKafkaConfigPtrOutput() ProjectLoggingKafkaConfigPtrOutput - ToProjectLoggingKafkaConfigPtrOutputWithContext(context.Context) ProjectLoggingKafkaConfigPtrOutput + ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput + ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput } -type projectLoggingKafkaConfigPtrType ProjectLoggingKafkaConfigArgs +type podSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs -func ProjectLoggingKafkaConfigPtr(v *ProjectLoggingKafkaConfigArgs) ProjectLoggingKafkaConfigPtrInput { - return (*projectLoggingKafkaConfigPtrType)(v) +func PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtr(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput { + return (*podSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType)(v) } -func (*projectLoggingKafkaConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingKafkaConfig)(nil)).Elem() +func (*podSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() } -func (i *projectLoggingKafkaConfigPtrType) ToProjectLoggingKafkaConfigPtrOutput() ProjectLoggingKafkaConfigPtrOutput { - return i.ToProjectLoggingKafkaConfigPtrOutputWithContext(context.Background()) +func (i *podSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return i.ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) } -func (i *projectLoggingKafkaConfigPtrType) ToProjectLoggingKafkaConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingKafkaConfigPtrOutput) +func (i *podSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) } -type ProjectLoggingKafkaConfigOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput struct{ *pulumi.OutputState } -func (ProjectLoggingKafkaConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingKafkaConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() } -func (o ProjectLoggingKafkaConfigOutput) ToProjectLoggingKafkaConfigOutput() ProjectLoggingKafkaConfigOutput { +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { return o } -func (o ProjectLoggingKafkaConfigOutput) ToProjectLoggingKafkaConfigOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigOutput { +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { return o } -func (o ProjectLoggingKafkaConfigOutput) ToProjectLoggingKafkaConfigPtrOutput() ProjectLoggingKafkaConfigPtrOutput { - return o.ToProjectLoggingKafkaConfigPtrOutputWithContext(context.Background()) +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return o.ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) } -func (o ProjectLoggingKafkaConfigOutput) ToProjectLoggingKafkaConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingKafkaConfig) *ProjectLoggingKafkaConfig { +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *PodSecurityPolicyTemplateSeLinuxSeLinuxOption { return &v - }).(ProjectLoggingKafkaConfigPtrOutput) -} - -// Kafka endpoints for kafka service. Conflicts with `zookeeperEndpoint` (list) -func (o ProjectLoggingKafkaConfigOutput) BrokerEndpoints() pulumi.StringArrayOutput { - return o.ApplyT(func(v ProjectLoggingKafkaConfig) []string { return v.BrokerEndpoints }).(pulumi.StringArrayOutput) -} - -// SSL certificate for the syslog service (string) -func (o ProjectLoggingKafkaConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingKafkaConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) + }).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) } -// SSL client certificate for the syslog service (string) -func (o ProjectLoggingKafkaConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingKafkaConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +// (string) +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Level() pulumi.StringPtrOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Level }).(pulumi.StringPtrOutput) } -// SSL client key for the syslog service (string) -func (o ProjectLoggingKafkaConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingKafkaConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +// (string) +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Role() pulumi.StringPtrOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Role }).(pulumi.StringPtrOutput) } -// Topic to publish on the kafka service (string) -func (o ProjectLoggingKafkaConfigOutput) Topic() pulumi.StringOutput { - return o.ApplyT(func(v ProjectLoggingKafkaConfig) string { return v.Topic }).(pulumi.StringOutput) +// (string) +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Type }).(pulumi.StringPtrOutput) } -// Zookeeper endpoint for kafka service. Conflicts with `brokerEndpoints` (string) -func (o ProjectLoggingKafkaConfigOutput) ZookeeperEndpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingKafkaConfig) *string { return v.ZookeeperEndpoint }).(pulumi.StringPtrOutput) +// (string) +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.User }).(pulumi.StringPtrOutput) } -type ProjectLoggingKafkaConfigPtrOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput struct{ *pulumi.OutputState } -func (ProjectLoggingKafkaConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingKafkaConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() } -func (o ProjectLoggingKafkaConfigPtrOutput) ToProjectLoggingKafkaConfigPtrOutput() ProjectLoggingKafkaConfigPtrOutput { +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { return o } -func (o ProjectLoggingKafkaConfigPtrOutput) ToProjectLoggingKafkaConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigPtrOutput { +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ToPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { return o } -func (o ProjectLoggingKafkaConfigPtrOutput) Elem() ProjectLoggingKafkaConfigOutput { - return o.ApplyT(func(v *ProjectLoggingKafkaConfig) ProjectLoggingKafkaConfig { +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Elem() PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOption) PodSecurityPolicyTemplateSeLinuxSeLinuxOption { if v != nil { return *v } - var ret ProjectLoggingKafkaConfig + var ret PodSecurityPolicyTemplateSeLinuxSeLinuxOption return ret - }).(ProjectLoggingKafkaConfigOutput) -} - -// Kafka endpoints for kafka service. Conflicts with `zookeeperEndpoint` (list) -func (o ProjectLoggingKafkaConfigPtrOutput) BrokerEndpoints() pulumi.StringArrayOutput { - return o.ApplyT(func(v *ProjectLoggingKafkaConfig) []string { - if v == nil { - return nil - } - return v.BrokerEndpoints - }).(pulumi.StringArrayOutput) -} - -// SSL certificate for the syslog service (string) -func (o ProjectLoggingKafkaConfigPtrOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingKafkaConfig) *string { - if v == nil { - return nil - } - return v.Certificate - }).(pulumi.StringPtrOutput) + }).(PodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) } -// SSL client certificate for the syslog service (string) -func (o ProjectLoggingKafkaConfigPtrOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingKafkaConfig) *string { +// (string) +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Level() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { if v == nil { return nil } - return v.ClientCert + return v.Level }).(pulumi.StringPtrOutput) } -// SSL client key for the syslog service (string) -func (o ProjectLoggingKafkaConfigPtrOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingKafkaConfig) *string { +// (string) +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Role() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { if v == nil { return nil } - return v.ClientKey + return v.Role }).(pulumi.StringPtrOutput) } -// Topic to publish on the kafka service (string) -func (o ProjectLoggingKafkaConfigPtrOutput) Topic() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingKafkaConfig) *string { +// (string) +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { if v == nil { return nil } - return &v.Topic + return v.Type }).(pulumi.StringPtrOutput) } -// Zookeeper endpoint for kafka service. Conflicts with `brokerEndpoints` (string) -func (o ProjectLoggingKafkaConfigPtrOutput) ZookeeperEndpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingKafkaConfig) *string { +// (string) +func (o PodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { if v == nil { return nil } - return v.ZookeeperEndpoint + return v.User }).(pulumi.StringPtrOutput) } -type ProjectLoggingSplunkConfig struct { - // SSL certificate for the syslog service (string) - Certificate *string `pulumi:"certificate"` - // SSL client certificate for the syslog service (string) - ClientCert *string `pulumi:"clientCert"` - // SSL client key for the syslog service (string) - ClientKey *string `pulumi:"clientKey"` - // SSL client key password for the splunk service (string) - ClientKeyPass *string `pulumi:"clientKeyPass"` - // Endpoint of the syslog service (string) - Endpoint string `pulumi:"endpoint"` - // Index prefix for the splunk logs (string) - Index *string `pulumi:"index"` - // Date format for the splunk logs (string) - Source *string `pulumi:"source"` - // SSL verify for the syslog service (bool) - SslVerify *bool `pulumi:"sslVerify"` - // Token for the syslog service (string) - Token string `pulumi:"token"` +type PodSecurityPolicyTemplateSupplementalGroup struct { + // (list) + Ranges []PodSecurityPolicyTemplateSupplementalGroupRange `pulumi:"ranges"` + // (string) + Rule *string `pulumi:"rule"` } -// ProjectLoggingSplunkConfigInput is an input type that accepts ProjectLoggingSplunkConfigArgs and ProjectLoggingSplunkConfigOutput values. -// You can construct a concrete instance of `ProjectLoggingSplunkConfigInput` via: +// PodSecurityPolicyTemplateSupplementalGroupInput is an input type that accepts PodSecurityPolicyTemplateSupplementalGroupArgs and PodSecurityPolicyTemplateSupplementalGroupOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateSupplementalGroupInput` via: // -// ProjectLoggingSplunkConfigArgs{...} -type ProjectLoggingSplunkConfigInput interface { +// PodSecurityPolicyTemplateSupplementalGroupArgs{...} +type PodSecurityPolicyTemplateSupplementalGroupInput interface { pulumi.Input - ToProjectLoggingSplunkConfigOutput() ProjectLoggingSplunkConfigOutput - ToProjectLoggingSplunkConfigOutputWithContext(context.Context) ProjectLoggingSplunkConfigOutput + ToPodSecurityPolicyTemplateSupplementalGroupOutput() PodSecurityPolicyTemplateSupplementalGroupOutput + ToPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(context.Context) PodSecurityPolicyTemplateSupplementalGroupOutput } -type ProjectLoggingSplunkConfigArgs struct { - // SSL certificate for the syslog service (string) - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - // SSL client certificate for the syslog service (string) - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - // SSL client key for the syslog service (string) - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - // SSL client key password for the splunk service (string) - ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` - // Endpoint of the syslog service (string) - Endpoint pulumi.StringInput `pulumi:"endpoint"` - // Index prefix for the splunk logs (string) - Index pulumi.StringPtrInput `pulumi:"index"` - // Date format for the splunk logs (string) - Source pulumi.StringPtrInput `pulumi:"source"` - // SSL verify for the syslog service (bool) - SslVerify pulumi.BoolPtrInput `pulumi:"sslVerify"` - // Token for the syslog service (string) - Token pulumi.StringInput `pulumi:"token"` +type PodSecurityPolicyTemplateSupplementalGroupArgs struct { + // (list) + Ranges PodSecurityPolicyTemplateSupplementalGroupRangeArrayInput `pulumi:"ranges"` + // (string) + Rule pulumi.StringPtrInput `pulumi:"rule"` } -func (ProjectLoggingSplunkConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingSplunkConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateSupplementalGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() } -func (i ProjectLoggingSplunkConfigArgs) ToProjectLoggingSplunkConfigOutput() ProjectLoggingSplunkConfigOutput { - return i.ToProjectLoggingSplunkConfigOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateSupplementalGroupArgs) ToPodSecurityPolicyTemplateSupplementalGroupOutput() PodSecurityPolicyTemplateSupplementalGroupOutput { + return i.ToPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(context.Background()) } -func (i ProjectLoggingSplunkConfigArgs) ToProjectLoggingSplunkConfigOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSplunkConfigOutput) +func (i PodSecurityPolicyTemplateSupplementalGroupArgs) ToPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSupplementalGroupOutput) } -func (i ProjectLoggingSplunkConfigArgs) ToProjectLoggingSplunkConfigPtrOutput() ProjectLoggingSplunkConfigPtrOutput { - return i.ToProjectLoggingSplunkConfigPtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateSupplementalGroupArgs) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutput() PodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return i.ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) } -func (i ProjectLoggingSplunkConfigArgs) ToProjectLoggingSplunkConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSplunkConfigOutput).ToProjectLoggingSplunkConfigPtrOutputWithContext(ctx) +func (i PodSecurityPolicyTemplateSupplementalGroupArgs) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSupplementalGroupOutput).ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx) } -// ProjectLoggingSplunkConfigPtrInput is an input type that accepts ProjectLoggingSplunkConfigArgs, ProjectLoggingSplunkConfigPtr and ProjectLoggingSplunkConfigPtrOutput values. -// You can construct a concrete instance of `ProjectLoggingSplunkConfigPtrInput` via: +// PodSecurityPolicyTemplateSupplementalGroupPtrInput is an input type that accepts PodSecurityPolicyTemplateSupplementalGroupArgs, PodSecurityPolicyTemplateSupplementalGroupPtr and PodSecurityPolicyTemplateSupplementalGroupPtrOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateSupplementalGroupPtrInput` via: // -// ProjectLoggingSplunkConfigArgs{...} +// PodSecurityPolicyTemplateSupplementalGroupArgs{...} // // or: // // nil -type ProjectLoggingSplunkConfigPtrInput interface { +type PodSecurityPolicyTemplateSupplementalGroupPtrInput interface { pulumi.Input - ToProjectLoggingSplunkConfigPtrOutput() ProjectLoggingSplunkConfigPtrOutput - ToProjectLoggingSplunkConfigPtrOutputWithContext(context.Context) ProjectLoggingSplunkConfigPtrOutput + ToPodSecurityPolicyTemplateSupplementalGroupPtrOutput() PodSecurityPolicyTemplateSupplementalGroupPtrOutput + ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Context) PodSecurityPolicyTemplateSupplementalGroupPtrOutput } -type projectLoggingSplunkConfigPtrType ProjectLoggingSplunkConfigArgs +type podSecurityPolicyTemplateSupplementalGroupPtrType PodSecurityPolicyTemplateSupplementalGroupArgs -func ProjectLoggingSplunkConfigPtr(v *ProjectLoggingSplunkConfigArgs) ProjectLoggingSplunkConfigPtrInput { - return (*projectLoggingSplunkConfigPtrType)(v) +func PodSecurityPolicyTemplateSupplementalGroupPtr(v *PodSecurityPolicyTemplateSupplementalGroupArgs) PodSecurityPolicyTemplateSupplementalGroupPtrInput { + return (*podSecurityPolicyTemplateSupplementalGroupPtrType)(v) } -func (*projectLoggingSplunkConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingSplunkConfig)(nil)).Elem() +func (*podSecurityPolicyTemplateSupplementalGroupPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() } -func (i *projectLoggingSplunkConfigPtrType) ToProjectLoggingSplunkConfigPtrOutput() ProjectLoggingSplunkConfigPtrOutput { - return i.ToProjectLoggingSplunkConfigPtrOutputWithContext(context.Background()) +func (i *podSecurityPolicyTemplateSupplementalGroupPtrType) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutput() PodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return i.ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) } -func (i *projectLoggingSplunkConfigPtrType) ToProjectLoggingSplunkConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSplunkConfigPtrOutput) +func (i *podSecurityPolicyTemplateSupplementalGroupPtrType) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSupplementalGroupPtrOutput) } -type ProjectLoggingSplunkConfigOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateSupplementalGroupOutput struct{ *pulumi.OutputState } -func (ProjectLoggingSplunkConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingSplunkConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateSupplementalGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() } -func (o ProjectLoggingSplunkConfigOutput) ToProjectLoggingSplunkConfigOutput() ProjectLoggingSplunkConfigOutput { +func (o PodSecurityPolicyTemplateSupplementalGroupOutput) ToPodSecurityPolicyTemplateSupplementalGroupOutput() PodSecurityPolicyTemplateSupplementalGroupOutput { return o } -func (o ProjectLoggingSplunkConfigOutput) ToProjectLoggingSplunkConfigOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigOutput { +func (o PodSecurityPolicyTemplateSupplementalGroupOutput) ToPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupOutput { return o } -func (o ProjectLoggingSplunkConfigOutput) ToProjectLoggingSplunkConfigPtrOutput() ProjectLoggingSplunkConfigPtrOutput { - return o.ToProjectLoggingSplunkConfigPtrOutputWithContext(context.Background()) +func (o PodSecurityPolicyTemplateSupplementalGroupOutput) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutput() PodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return o.ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) } -func (o ProjectLoggingSplunkConfigOutput) ToProjectLoggingSplunkConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingSplunkConfig) *ProjectLoggingSplunkConfig { +func (o PodSecurityPolicyTemplateSupplementalGroupOutput) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PodSecurityPolicyTemplateSupplementalGroup) *PodSecurityPolicyTemplateSupplementalGroup { return &v - }).(ProjectLoggingSplunkConfigPtrOutput) -} - -// SSL certificate for the syslog service (string) -func (o ProjectLoggingSplunkConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) -} - -// SSL client certificate for the syslog service (string) -func (o ProjectLoggingSplunkConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) -} - -// SSL client key for the syslog service (string) -func (o ProjectLoggingSplunkConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) -} - -// SSL client key password for the splunk service (string) -func (o ProjectLoggingSplunkConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) -} - -// Endpoint of the syslog service (string) -func (o ProjectLoggingSplunkConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v ProjectLoggingSplunkConfig) string { return v.Endpoint }).(pulumi.StringOutput) -} - -// Index prefix for the splunk logs (string) -func (o ProjectLoggingSplunkConfigOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.Index }).(pulumi.StringPtrOutput) -} - -// Date format for the splunk logs (string) -func (o ProjectLoggingSplunkConfigOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.Source }).(pulumi.StringPtrOutput) + }).(PodSecurityPolicyTemplateSupplementalGroupPtrOutput) } -// SSL verify for the syslog service (bool) -func (o ProjectLoggingSplunkConfigOutput) SslVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ProjectLoggingSplunkConfig) *bool { return v.SslVerify }).(pulumi.BoolPtrOutput) +// (list) +func (o PodSecurityPolicyTemplateSupplementalGroupOutput) Ranges() PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateSupplementalGroup) []PodSecurityPolicyTemplateSupplementalGroupRange { + return v.Ranges + }).(PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) } -// Token for the syslog service (string) -func (o ProjectLoggingSplunkConfigOutput) Token() pulumi.StringOutput { - return o.ApplyT(func(v ProjectLoggingSplunkConfig) string { return v.Token }).(pulumi.StringOutput) +// (string) +func (o PodSecurityPolicyTemplateSupplementalGroupOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateSupplementalGroup) *string { return v.Rule }).(pulumi.StringPtrOutput) } -type ProjectLoggingSplunkConfigPtrOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateSupplementalGroupPtrOutput struct{ *pulumi.OutputState } -func (ProjectLoggingSplunkConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingSplunkConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateSupplementalGroupPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() } -func (o ProjectLoggingSplunkConfigPtrOutput) ToProjectLoggingSplunkConfigPtrOutput() ProjectLoggingSplunkConfigPtrOutput { +func (o PodSecurityPolicyTemplateSupplementalGroupPtrOutput) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutput() PodSecurityPolicyTemplateSupplementalGroupPtrOutput { return o } -func (o ProjectLoggingSplunkConfigPtrOutput) ToProjectLoggingSplunkConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigPtrOutput { +func (o PodSecurityPolicyTemplateSupplementalGroupPtrOutput) ToPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupPtrOutput { return o } -func (o ProjectLoggingSplunkConfigPtrOutput) Elem() ProjectLoggingSplunkConfigOutput { - return o.ApplyT(func(v *ProjectLoggingSplunkConfig) ProjectLoggingSplunkConfig { +func (o PodSecurityPolicyTemplateSupplementalGroupPtrOutput) Elem() PodSecurityPolicyTemplateSupplementalGroupOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSupplementalGroup) PodSecurityPolicyTemplateSupplementalGroup { if v != nil { return *v } - var ret ProjectLoggingSplunkConfig + var ret PodSecurityPolicyTemplateSupplementalGroup return ret - }).(ProjectLoggingSplunkConfigOutput) -} - -// SSL certificate for the syslog service (string) -func (o ProjectLoggingSplunkConfigPtrOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { - if v == nil { - return nil - } - return v.Certificate - }).(pulumi.StringPtrOutput) -} - -// SSL client certificate for the syslog service (string) -func (o ProjectLoggingSplunkConfigPtrOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { - if v == nil { - return nil - } - return v.ClientCert - }).(pulumi.StringPtrOutput) -} - -// SSL client key for the syslog service (string) -func (o ProjectLoggingSplunkConfigPtrOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { - if v == nil { - return nil - } - return v.ClientKey - }).(pulumi.StringPtrOutput) -} - -// SSL client key password for the splunk service (string) -func (o ProjectLoggingSplunkConfigPtrOutput) ClientKeyPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { - if v == nil { - return nil - } - return v.ClientKeyPass - }).(pulumi.StringPtrOutput) -} - -// Endpoint of the syslog service (string) -func (o ProjectLoggingSplunkConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) -} - -// Index prefix for the splunk logs (string) -func (o ProjectLoggingSplunkConfigPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { - if v == nil { - return nil - } - return v.Index - }).(pulumi.StringPtrOutput) -} - -// Date format for the splunk logs (string) -func (o ProjectLoggingSplunkConfigPtrOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { - if v == nil { - return nil - } - return v.Source - }).(pulumi.StringPtrOutput) + }).(PodSecurityPolicyTemplateSupplementalGroupOutput) } -// SSL verify for the syslog service (bool) -func (o ProjectLoggingSplunkConfigPtrOutput) SslVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *bool { +// (list) +func (o PodSecurityPolicyTemplateSupplementalGroupPtrOutput) Ranges() PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSupplementalGroup) []PodSecurityPolicyTemplateSupplementalGroupRange { if v == nil { return nil } - return v.SslVerify - }).(pulumi.BoolPtrOutput) + return v.Ranges + }).(PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) } -// Token for the syslog service (string) -func (o ProjectLoggingSplunkConfigPtrOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { +// (string) +func (o PodSecurityPolicyTemplateSupplementalGroupPtrOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PodSecurityPolicyTemplateSupplementalGroup) *string { if v == nil { return nil } - return &v.Token + return v.Rule }).(pulumi.StringPtrOutput) } -type ProjectLoggingSyslogConfig struct { - // SSL certificate for the syslog service (string) - Certificate *string `pulumi:"certificate"` - // SSL client certificate for the syslog service (string) - ClientCert *string `pulumi:"clientCert"` - // SSL client key for the syslog service (string) - ClientKey *string `pulumi:"clientKey"` - // Enable TLS for the fluentd service (bool) - EnableTls *bool `pulumi:"enableTls"` - // Endpoint of the syslog service (string) - Endpoint string `pulumi:"endpoint"` - // Program for the syslog service (string) - Program *string `pulumi:"program"` - // Protocol for the syslog service. `tcp` and `udp` are supported. Default: `udp` (string) - Protocol *string `pulumi:"protocol"` - // Date format for the syslog logs. `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info` and `debug` are supported. Default: `notice` (string) - Severity *string `pulumi:"severity"` - // SSL verify for the syslog service (bool) - SslVerify *bool `pulumi:"sslVerify"` - // Token for the syslog service (string) - Token *string `pulumi:"token"` +type PodSecurityPolicyTemplateSupplementalGroupRange struct { + // (int) + Max int `pulumi:"max"` + // (int) + Min int `pulumi:"min"` } -// ProjectLoggingSyslogConfigInput is an input type that accepts ProjectLoggingSyslogConfigArgs and ProjectLoggingSyslogConfigOutput values. -// You can construct a concrete instance of `ProjectLoggingSyslogConfigInput` via: +// PodSecurityPolicyTemplateSupplementalGroupRangeInput is an input type that accepts PodSecurityPolicyTemplateSupplementalGroupRangeArgs and PodSecurityPolicyTemplateSupplementalGroupRangeOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateSupplementalGroupRangeInput` via: // -// ProjectLoggingSyslogConfigArgs{...} -type ProjectLoggingSyslogConfigInput interface { +// PodSecurityPolicyTemplateSupplementalGroupRangeArgs{...} +type PodSecurityPolicyTemplateSupplementalGroupRangeInput interface { pulumi.Input - ToProjectLoggingSyslogConfigOutput() ProjectLoggingSyslogConfigOutput - ToProjectLoggingSyslogConfigOutputWithContext(context.Context) ProjectLoggingSyslogConfigOutput -} - -type ProjectLoggingSyslogConfigArgs struct { - // SSL certificate for the syslog service (string) - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - // SSL client certificate for the syslog service (string) - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - // SSL client key for the syslog service (string) - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - // Enable TLS for the fluentd service (bool) - EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` - // Endpoint of the syslog service (string) - Endpoint pulumi.StringInput `pulumi:"endpoint"` - // Program for the syslog service (string) - Program pulumi.StringPtrInput `pulumi:"program"` - // Protocol for the syslog service. `tcp` and `udp` are supported. Default: `udp` (string) - Protocol pulumi.StringPtrInput `pulumi:"protocol"` - // Date format for the syslog logs. `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info` and `debug` are supported. Default: `notice` (string) - Severity pulumi.StringPtrInput `pulumi:"severity"` - // SSL verify for the syslog service (bool) - SslVerify pulumi.BoolPtrInput `pulumi:"sslVerify"` - // Token for the syslog service (string) - Token pulumi.StringPtrInput `pulumi:"token"` -} - -func (ProjectLoggingSyslogConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingSyslogConfig)(nil)).Elem() + ToPodSecurityPolicyTemplateSupplementalGroupRangeOutput() PodSecurityPolicyTemplateSupplementalGroupRangeOutput + ToPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeOutput } -func (i ProjectLoggingSyslogConfigArgs) ToProjectLoggingSyslogConfigOutput() ProjectLoggingSyslogConfigOutput { - return i.ToProjectLoggingSyslogConfigOutputWithContext(context.Background()) +type PodSecurityPolicyTemplateSupplementalGroupRangeArgs struct { + // (int) + Max pulumi.IntInput `pulumi:"max"` + // (int) + Min pulumi.IntInput `pulumi:"min"` } -func (i ProjectLoggingSyslogConfigArgs) ToProjectLoggingSyslogConfigOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSyslogConfigOutput) +func (PodSecurityPolicyTemplateSupplementalGroupRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() } -func (i ProjectLoggingSyslogConfigArgs) ToProjectLoggingSyslogConfigPtrOutput() ProjectLoggingSyslogConfigPtrOutput { - return i.ToProjectLoggingSyslogConfigPtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateSupplementalGroupRangeArgs) ToPodSecurityPolicyTemplateSupplementalGroupRangeOutput() PodSecurityPolicyTemplateSupplementalGroupRangeOutput { + return i.ToPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(context.Background()) } -func (i ProjectLoggingSyslogConfigArgs) ToProjectLoggingSyslogConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSyslogConfigOutput).ToProjectLoggingSyslogConfigPtrOutputWithContext(ctx) +func (i PodSecurityPolicyTemplateSupplementalGroupRangeArgs) ToPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSupplementalGroupRangeOutput) } -// ProjectLoggingSyslogConfigPtrInput is an input type that accepts ProjectLoggingSyslogConfigArgs, ProjectLoggingSyslogConfigPtr and ProjectLoggingSyslogConfigPtrOutput values. -// You can construct a concrete instance of `ProjectLoggingSyslogConfigPtrInput` via: -// -// ProjectLoggingSyslogConfigArgs{...} -// -// or: +// PodSecurityPolicyTemplateSupplementalGroupRangeArrayInput is an input type that accepts PodSecurityPolicyTemplateSupplementalGroupRangeArray and PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput values. +// You can construct a concrete instance of `PodSecurityPolicyTemplateSupplementalGroupRangeArrayInput` via: // -// nil -type ProjectLoggingSyslogConfigPtrInput interface { +// PodSecurityPolicyTemplateSupplementalGroupRangeArray{ PodSecurityPolicyTemplateSupplementalGroupRangeArgs{...} } +type PodSecurityPolicyTemplateSupplementalGroupRangeArrayInput interface { pulumi.Input - ToProjectLoggingSyslogConfigPtrOutput() ProjectLoggingSyslogConfigPtrOutput - ToProjectLoggingSyslogConfigPtrOutputWithContext(context.Context) ProjectLoggingSyslogConfigPtrOutput + ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput + ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput } -type projectLoggingSyslogConfigPtrType ProjectLoggingSyslogConfigArgs - -func ProjectLoggingSyslogConfigPtr(v *ProjectLoggingSyslogConfigArgs) ProjectLoggingSyslogConfigPtrInput { - return (*projectLoggingSyslogConfigPtrType)(v) -} +type PodSecurityPolicyTemplateSupplementalGroupRangeArray []PodSecurityPolicyTemplateSupplementalGroupRangeInput -func (*projectLoggingSyslogConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingSyslogConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateSupplementalGroupRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() } -func (i *projectLoggingSyslogConfigPtrType) ToProjectLoggingSyslogConfigPtrOutput() ProjectLoggingSyslogConfigPtrOutput { - return i.ToProjectLoggingSyslogConfigPtrOutputWithContext(context.Background()) +func (i PodSecurityPolicyTemplateSupplementalGroupRangeArray) ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return i.ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(context.Background()) } -func (i *projectLoggingSyslogConfigPtrType) ToProjectLoggingSyslogConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSyslogConfigPtrOutput) +func (i PodSecurityPolicyTemplateSupplementalGroupRangeArray) ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) } -type ProjectLoggingSyslogConfigOutput struct{ *pulumi.OutputState } +type PodSecurityPolicyTemplateSupplementalGroupRangeOutput struct{ *pulumi.OutputState } -func (ProjectLoggingSyslogConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectLoggingSyslogConfig)(nil)).Elem() +func (PodSecurityPolicyTemplateSupplementalGroupRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() } -func (o ProjectLoggingSyslogConfigOutput) ToProjectLoggingSyslogConfigOutput() ProjectLoggingSyslogConfigOutput { +func (o PodSecurityPolicyTemplateSupplementalGroupRangeOutput) ToPodSecurityPolicyTemplateSupplementalGroupRangeOutput() PodSecurityPolicyTemplateSupplementalGroupRangeOutput { return o } -func (o ProjectLoggingSyslogConfigOutput) ToProjectLoggingSyslogConfigOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigOutput { +func (o PodSecurityPolicyTemplateSupplementalGroupRangeOutput) ToPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeOutput { return o } -func (o ProjectLoggingSyslogConfigOutput) ToProjectLoggingSyslogConfigPtrOutput() ProjectLoggingSyslogConfigPtrOutput { - return o.ToProjectLoggingSyslogConfigPtrOutputWithContext(context.Background()) +// (int) +func (o PodSecurityPolicyTemplateSupplementalGroupRangeOutput) Max() pulumi.IntOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateSupplementalGroupRange) int { return v.Max }).(pulumi.IntOutput) } -func (o ProjectLoggingSyslogConfigOutput) ToProjectLoggingSyslogConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingSyslogConfig) *ProjectLoggingSyslogConfig { - return &v - }).(ProjectLoggingSyslogConfigPtrOutput) +// (int) +func (o PodSecurityPolicyTemplateSupplementalGroupRangeOutput) Min() pulumi.IntOutput { + return o.ApplyT(func(v PodSecurityPolicyTemplateSupplementalGroupRange) int { return v.Min }).(pulumi.IntOutput) } -// SSL certificate for the syslog service (string) -func (o ProjectLoggingSyslogConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +type PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput struct{ *pulumi.OutputState } + +func (PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() } -// SSL client certificate for the syslog service (string) -func (o ProjectLoggingSyslogConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return o } -// SSL client key for the syslog service (string) -func (o ProjectLoggingSyslogConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +func (o PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ToPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(ctx context.Context) PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return o } -// Enable TLS for the fluentd service (bool) -func (o ProjectLoggingSyslogConfigOutput) EnableTls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ProjectLoggingSyslogConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) +func (o PodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) Index(i pulumi.IntInput) PodSecurityPolicyTemplateSupplementalGroupRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PodSecurityPolicyTemplateSupplementalGroupRange { + return vs[0].([]PodSecurityPolicyTemplateSupplementalGroupRange)[vs[1].(int)] + }).(PodSecurityPolicyTemplateSupplementalGroupRangeOutput) } -// Endpoint of the syslog service (string) -func (o ProjectLoggingSyslogConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v ProjectLoggingSyslogConfig) string { return v.Endpoint }).(pulumi.StringOutput) +type ProjectAlertGroupRecipient struct { + DefaultRecipient *bool `pulumi:"defaultRecipient"` + // Recipient notifier ID (string) + NotifierId string `pulumi:"notifierId"` + // Recipient notifier ID. Supported values : `"pagerduty" | "slack" | "email" | "webhook" | "wechat"` (string) + NotifierType *string `pulumi:"notifierType"` + // Recipient (string) + Recipient *string `pulumi:"recipient"` } -// Program for the syslog service (string) -func (o ProjectLoggingSyslogConfigOutput) Program() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.Program }).(pulumi.StringPtrOutput) +// ProjectAlertGroupRecipientInput is an input type that accepts ProjectAlertGroupRecipientArgs and ProjectAlertGroupRecipientOutput values. +// You can construct a concrete instance of `ProjectAlertGroupRecipientInput` via: +// +// ProjectAlertGroupRecipientArgs{...} +type ProjectAlertGroupRecipientInput interface { + pulumi.Input + + ToProjectAlertGroupRecipientOutput() ProjectAlertGroupRecipientOutput + ToProjectAlertGroupRecipientOutputWithContext(context.Context) ProjectAlertGroupRecipientOutput } -// Protocol for the syslog service. `tcp` and `udp` are supported. Default: `udp` (string) -func (o ProjectLoggingSyslogConfigOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.Protocol }).(pulumi.StringPtrOutput) +type ProjectAlertGroupRecipientArgs struct { + DefaultRecipient pulumi.BoolPtrInput `pulumi:"defaultRecipient"` + // Recipient notifier ID (string) + NotifierId pulumi.StringInput `pulumi:"notifierId"` + // Recipient notifier ID. Supported values : `"pagerduty" | "slack" | "email" | "webhook" | "wechat"` (string) + NotifierType pulumi.StringPtrInput `pulumi:"notifierType"` + // Recipient (string) + Recipient pulumi.StringPtrInput `pulumi:"recipient"` } -// Date format for the syslog logs. `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info` and `debug` are supported. Default: `notice` (string) -func (o ProjectLoggingSyslogConfigOutput) Severity() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.Severity }).(pulumi.StringPtrOutput) +func (ProjectAlertGroupRecipientArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectAlertGroupRecipient)(nil)).Elem() } -// SSL verify for the syslog service (bool) -func (o ProjectLoggingSyslogConfigOutput) SslVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v ProjectLoggingSyslogConfig) *bool { return v.SslVerify }).(pulumi.BoolPtrOutput) +func (i ProjectAlertGroupRecipientArgs) ToProjectAlertGroupRecipientOutput() ProjectAlertGroupRecipientOutput { + return i.ToProjectAlertGroupRecipientOutputWithContext(context.Background()) } -// Token for the syslog service (string) -func (o ProjectLoggingSyslogConfigOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.Token }).(pulumi.StringPtrOutput) +func (i ProjectAlertGroupRecipientArgs) ToProjectAlertGroupRecipientOutputWithContext(ctx context.Context) ProjectAlertGroupRecipientOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertGroupRecipientOutput) } -type ProjectLoggingSyslogConfigPtrOutput struct{ *pulumi.OutputState } +// ProjectAlertGroupRecipientArrayInput is an input type that accepts ProjectAlertGroupRecipientArray and ProjectAlertGroupRecipientArrayOutput values. +// You can construct a concrete instance of `ProjectAlertGroupRecipientArrayInput` via: +// +// ProjectAlertGroupRecipientArray{ ProjectAlertGroupRecipientArgs{...} } +type ProjectAlertGroupRecipientArrayInput interface { + pulumi.Input -func (ProjectLoggingSyslogConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectLoggingSyslogConfig)(nil)).Elem() + ToProjectAlertGroupRecipientArrayOutput() ProjectAlertGroupRecipientArrayOutput + ToProjectAlertGroupRecipientArrayOutputWithContext(context.Context) ProjectAlertGroupRecipientArrayOutput } -func (o ProjectLoggingSyslogConfigPtrOutput) ToProjectLoggingSyslogConfigPtrOutput() ProjectLoggingSyslogConfigPtrOutput { - return o +type ProjectAlertGroupRecipientArray []ProjectAlertGroupRecipientInput + +func (ProjectAlertGroupRecipientArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProjectAlertGroupRecipient)(nil)).Elem() } -func (o ProjectLoggingSyslogConfigPtrOutput) ToProjectLoggingSyslogConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigPtrOutput { - return o +func (i ProjectAlertGroupRecipientArray) ToProjectAlertGroupRecipientArrayOutput() ProjectAlertGroupRecipientArrayOutput { + return i.ToProjectAlertGroupRecipientArrayOutputWithContext(context.Background()) } -func (o ProjectLoggingSyslogConfigPtrOutput) Elem() ProjectLoggingSyslogConfigOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) ProjectLoggingSyslogConfig { - if v != nil { - return *v - } - var ret ProjectLoggingSyslogConfig - return ret - }).(ProjectLoggingSyslogConfigOutput) +func (i ProjectAlertGroupRecipientArray) ToProjectAlertGroupRecipientArrayOutputWithContext(ctx context.Context) ProjectAlertGroupRecipientArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertGroupRecipientArrayOutput) } -// SSL certificate for the syslog service (string) -func (o ProjectLoggingSyslogConfigPtrOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { - if v == nil { - return nil - } - return v.Certificate - }).(pulumi.StringPtrOutput) +type ProjectAlertGroupRecipientOutput struct{ *pulumi.OutputState } + +func (ProjectAlertGroupRecipientOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectAlertGroupRecipient)(nil)).Elem() } -// SSL client certificate for the syslog service (string) -func (o ProjectLoggingSyslogConfigPtrOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { - if v == nil { - return nil - } - return v.ClientCert - }).(pulumi.StringPtrOutput) +func (o ProjectAlertGroupRecipientOutput) ToProjectAlertGroupRecipientOutput() ProjectAlertGroupRecipientOutput { + return o } -// SSL client key for the syslog service (string) -func (o ProjectLoggingSyslogConfigPtrOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { - if v == nil { - return nil - } - return v.ClientKey - }).(pulumi.StringPtrOutput) +func (o ProjectAlertGroupRecipientOutput) ToProjectAlertGroupRecipientOutputWithContext(ctx context.Context) ProjectAlertGroupRecipientOutput { + return o } -// Enable TLS for the fluentd service (bool) -func (o ProjectLoggingSyslogConfigPtrOutput) EnableTls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *bool { - if v == nil { - return nil - } - return v.EnableTls - }).(pulumi.BoolPtrOutput) +func (o ProjectAlertGroupRecipientOutput) DefaultRecipient() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProjectAlertGroupRecipient) *bool { return v.DefaultRecipient }).(pulumi.BoolPtrOutput) } -// Endpoint of the syslog service (string) -func (o ProjectLoggingSyslogConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) +// Recipient notifier ID (string) +func (o ProjectAlertGroupRecipientOutput) NotifierId() pulumi.StringOutput { + return o.ApplyT(func(v ProjectAlertGroupRecipient) string { return v.NotifierId }).(pulumi.StringOutput) } -// Program for the syslog service (string) -func (o ProjectLoggingSyslogConfigPtrOutput) Program() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { - if v == nil { - return nil - } - return v.Program - }).(pulumi.StringPtrOutput) +// Recipient notifier ID. Supported values : `"pagerduty" | "slack" | "email" | "webhook" | "wechat"` (string) +func (o ProjectAlertGroupRecipientOutput) NotifierType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectAlertGroupRecipient) *string { return v.NotifierType }).(pulumi.StringPtrOutput) } -// Protocol for the syslog service. `tcp` and `udp` are supported. Default: `udp` (string) -func (o ProjectLoggingSyslogConfigPtrOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { - if v == nil { - return nil - } - return v.Protocol - }).(pulumi.StringPtrOutput) +// Recipient (string) +func (o ProjectAlertGroupRecipientOutput) Recipient() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectAlertGroupRecipient) *string { return v.Recipient }).(pulumi.StringPtrOutput) } -// Date format for the syslog logs. `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info` and `debug` are supported. Default: `notice` (string) -func (o ProjectLoggingSyslogConfigPtrOutput) Severity() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { - if v == nil { - return nil - } - return v.Severity - }).(pulumi.StringPtrOutput) +type ProjectAlertGroupRecipientArrayOutput struct{ *pulumi.OutputState } + +func (ProjectAlertGroupRecipientArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProjectAlertGroupRecipient)(nil)).Elem() } -// SSL verify for the syslog service (bool) -func (o ProjectLoggingSyslogConfigPtrOutput) SslVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *bool { - if v == nil { - return nil - } - return v.SslVerify - }).(pulumi.BoolPtrOutput) +func (o ProjectAlertGroupRecipientArrayOutput) ToProjectAlertGroupRecipientArrayOutput() ProjectAlertGroupRecipientArrayOutput { + return o } -// Token for the syslog service (string) -func (o ProjectLoggingSyslogConfigPtrOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { - if v == nil { - return nil - } - return v.Token - }).(pulumi.StringPtrOutput) +func (o ProjectAlertGroupRecipientArrayOutput) ToProjectAlertGroupRecipientArrayOutputWithContext(ctx context.Context) ProjectAlertGroupRecipientArrayOutput { + return o } -type ProjectProjectMonitoringInput struct { - // Key/value answers for monitor input (map) - Answers map[string]interface{} `pulumi:"answers"` - // rancher-monitoring chart version (string) - Version *string `pulumi:"version"` +func (o ProjectAlertGroupRecipientArrayOutput) Index(i pulumi.IntInput) ProjectAlertGroupRecipientOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProjectAlertGroupRecipient { + return vs[0].([]ProjectAlertGroupRecipient)[vs[1].(int)] + }).(ProjectAlertGroupRecipientOutput) } -// ProjectProjectMonitoringInputInput is an input type that accepts ProjectProjectMonitoringInputArgs and ProjectProjectMonitoringInputOutput values. -// You can construct a concrete instance of `ProjectProjectMonitoringInputInput` via: +type ProjectAlertRuleMetricRule struct { + // Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) + Comparison *string `pulumi:"comparison"` + // Metric rule description (string) + Description *string `pulumi:"description"` + // Metric rule duration (string) + Duration string `pulumi:"duration"` + // Metric rule expression (string) + Expression string `pulumi:"expression"` + // Metric rule threshold value (float64) + ThresholdValue float64 `pulumi:"thresholdValue"` +} + +// ProjectAlertRuleMetricRuleInput is an input type that accepts ProjectAlertRuleMetricRuleArgs and ProjectAlertRuleMetricRuleOutput values. +// You can construct a concrete instance of `ProjectAlertRuleMetricRuleInput` via: // -// ProjectProjectMonitoringInputArgs{...} -type ProjectProjectMonitoringInputInput interface { +// ProjectAlertRuleMetricRuleArgs{...} +type ProjectAlertRuleMetricRuleInput interface { pulumi.Input - ToProjectProjectMonitoringInputOutput() ProjectProjectMonitoringInputOutput - ToProjectProjectMonitoringInputOutputWithContext(context.Context) ProjectProjectMonitoringInputOutput + ToProjectAlertRuleMetricRuleOutput() ProjectAlertRuleMetricRuleOutput + ToProjectAlertRuleMetricRuleOutputWithContext(context.Context) ProjectAlertRuleMetricRuleOutput } -type ProjectProjectMonitoringInputArgs struct { - // Key/value answers for monitor input (map) - Answers pulumi.MapInput `pulumi:"answers"` - // rancher-monitoring chart version (string) - Version pulumi.StringPtrInput `pulumi:"version"` +type ProjectAlertRuleMetricRuleArgs struct { + // Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) + Comparison pulumi.StringPtrInput `pulumi:"comparison"` + // Metric rule description (string) + Description pulumi.StringPtrInput `pulumi:"description"` + // Metric rule duration (string) + Duration pulumi.StringInput `pulumi:"duration"` + // Metric rule expression (string) + Expression pulumi.StringInput `pulumi:"expression"` + // Metric rule threshold value (float64) + ThresholdValue pulumi.Float64Input `pulumi:"thresholdValue"` } -func (ProjectProjectMonitoringInputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectProjectMonitoringInput)(nil)).Elem() +func (ProjectAlertRuleMetricRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectAlertRuleMetricRule)(nil)).Elem() } -func (i ProjectProjectMonitoringInputArgs) ToProjectProjectMonitoringInputOutput() ProjectProjectMonitoringInputOutput { - return i.ToProjectProjectMonitoringInputOutputWithContext(context.Background()) +func (i ProjectAlertRuleMetricRuleArgs) ToProjectAlertRuleMetricRuleOutput() ProjectAlertRuleMetricRuleOutput { + return i.ToProjectAlertRuleMetricRuleOutputWithContext(context.Background()) } -func (i ProjectProjectMonitoringInputArgs) ToProjectProjectMonitoringInputOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectProjectMonitoringInputOutput) +func (i ProjectAlertRuleMetricRuleArgs) ToProjectAlertRuleMetricRuleOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleMetricRuleOutput) } -func (i ProjectProjectMonitoringInputArgs) ToProjectProjectMonitoringInputPtrOutput() ProjectProjectMonitoringInputPtrOutput { - return i.ToProjectProjectMonitoringInputPtrOutputWithContext(context.Background()) +func (i ProjectAlertRuleMetricRuleArgs) ToProjectAlertRuleMetricRulePtrOutput() ProjectAlertRuleMetricRulePtrOutput { + return i.ToProjectAlertRuleMetricRulePtrOutputWithContext(context.Background()) } -func (i ProjectProjectMonitoringInputArgs) ToProjectProjectMonitoringInputPtrOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectProjectMonitoringInputOutput).ToProjectProjectMonitoringInputPtrOutputWithContext(ctx) +func (i ProjectAlertRuleMetricRuleArgs) ToProjectAlertRuleMetricRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleMetricRuleOutput).ToProjectAlertRuleMetricRulePtrOutputWithContext(ctx) } -// ProjectProjectMonitoringInputPtrInput is an input type that accepts ProjectProjectMonitoringInputArgs, ProjectProjectMonitoringInputPtr and ProjectProjectMonitoringInputPtrOutput values. -// You can construct a concrete instance of `ProjectProjectMonitoringInputPtrInput` via: +// ProjectAlertRuleMetricRulePtrInput is an input type that accepts ProjectAlertRuleMetricRuleArgs, ProjectAlertRuleMetricRulePtr and ProjectAlertRuleMetricRulePtrOutput values. +// You can construct a concrete instance of `ProjectAlertRuleMetricRulePtrInput` via: // -// ProjectProjectMonitoringInputArgs{...} +// ProjectAlertRuleMetricRuleArgs{...} // // or: // // nil -type ProjectProjectMonitoringInputPtrInput interface { +type ProjectAlertRuleMetricRulePtrInput interface { pulumi.Input - ToProjectProjectMonitoringInputPtrOutput() ProjectProjectMonitoringInputPtrOutput - ToProjectProjectMonitoringInputPtrOutputWithContext(context.Context) ProjectProjectMonitoringInputPtrOutput + ToProjectAlertRuleMetricRulePtrOutput() ProjectAlertRuleMetricRulePtrOutput + ToProjectAlertRuleMetricRulePtrOutputWithContext(context.Context) ProjectAlertRuleMetricRulePtrOutput } -type projectProjectMonitoringInputPtrType ProjectProjectMonitoringInputArgs +type projectAlertRuleMetricRulePtrType ProjectAlertRuleMetricRuleArgs -func ProjectProjectMonitoringInputPtr(v *ProjectProjectMonitoringInputArgs) ProjectProjectMonitoringInputPtrInput { - return (*projectProjectMonitoringInputPtrType)(v) +func ProjectAlertRuleMetricRulePtr(v *ProjectAlertRuleMetricRuleArgs) ProjectAlertRuleMetricRulePtrInput { + return (*projectAlertRuleMetricRulePtrType)(v) } -func (*projectProjectMonitoringInputPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectProjectMonitoringInput)(nil)).Elem() +func (*projectAlertRuleMetricRulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectAlertRuleMetricRule)(nil)).Elem() } -func (i *projectProjectMonitoringInputPtrType) ToProjectProjectMonitoringInputPtrOutput() ProjectProjectMonitoringInputPtrOutput { - return i.ToProjectProjectMonitoringInputPtrOutputWithContext(context.Background()) +func (i *projectAlertRuleMetricRulePtrType) ToProjectAlertRuleMetricRulePtrOutput() ProjectAlertRuleMetricRulePtrOutput { + return i.ToProjectAlertRuleMetricRulePtrOutputWithContext(context.Background()) } -func (i *projectProjectMonitoringInputPtrType) ToProjectProjectMonitoringInputPtrOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectProjectMonitoringInputPtrOutput) +func (i *projectAlertRuleMetricRulePtrType) ToProjectAlertRuleMetricRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleMetricRulePtrOutput) } -type ProjectProjectMonitoringInputOutput struct{ *pulumi.OutputState } +type ProjectAlertRuleMetricRuleOutput struct{ *pulumi.OutputState } -func (ProjectProjectMonitoringInputOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectProjectMonitoringInput)(nil)).Elem() +func (ProjectAlertRuleMetricRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectAlertRuleMetricRule)(nil)).Elem() } -func (o ProjectProjectMonitoringInputOutput) ToProjectProjectMonitoringInputOutput() ProjectProjectMonitoringInputOutput { +func (o ProjectAlertRuleMetricRuleOutput) ToProjectAlertRuleMetricRuleOutput() ProjectAlertRuleMetricRuleOutput { return o } -func (o ProjectProjectMonitoringInputOutput) ToProjectProjectMonitoringInputOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputOutput { +func (o ProjectAlertRuleMetricRuleOutput) ToProjectAlertRuleMetricRuleOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRuleOutput { return o } -func (o ProjectProjectMonitoringInputOutput) ToProjectProjectMonitoringInputPtrOutput() ProjectProjectMonitoringInputPtrOutput { - return o.ToProjectProjectMonitoringInputPtrOutputWithContext(context.Background()) +func (o ProjectAlertRuleMetricRuleOutput) ToProjectAlertRuleMetricRulePtrOutput() ProjectAlertRuleMetricRulePtrOutput { + return o.ToProjectAlertRuleMetricRulePtrOutputWithContext(context.Background()) } -func (o ProjectProjectMonitoringInputOutput) ToProjectProjectMonitoringInputPtrOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectProjectMonitoringInput) *ProjectProjectMonitoringInput { +func (o ProjectAlertRuleMetricRuleOutput) ToProjectAlertRuleMetricRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectAlertRuleMetricRule) *ProjectAlertRuleMetricRule { return &v - }).(ProjectProjectMonitoringInputPtrOutput) + }).(ProjectAlertRuleMetricRulePtrOutput) } -// Key/value answers for monitor input (map) -func (o ProjectProjectMonitoringInputOutput) Answers() pulumi.MapOutput { - return o.ApplyT(func(v ProjectProjectMonitoringInput) map[string]interface{} { return v.Answers }).(pulumi.MapOutput) +// Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) +func (o ProjectAlertRuleMetricRuleOutput) Comparison() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectAlertRuleMetricRule) *string { return v.Comparison }).(pulumi.StringPtrOutput) } -// rancher-monitoring chart version (string) -func (o ProjectProjectMonitoringInputOutput) Version() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectProjectMonitoringInput) *string { return v.Version }).(pulumi.StringPtrOutput) +// Metric rule description (string) +func (o ProjectAlertRuleMetricRuleOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectAlertRuleMetricRule) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// Metric rule duration (string) +func (o ProjectAlertRuleMetricRuleOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v ProjectAlertRuleMetricRule) string { return v.Duration }).(pulumi.StringOutput) +} + +// Metric rule expression (string) +func (o ProjectAlertRuleMetricRuleOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v ProjectAlertRuleMetricRule) string { return v.Expression }).(pulumi.StringOutput) +} + +// Metric rule threshold value (float64) +func (o ProjectAlertRuleMetricRuleOutput) ThresholdValue() pulumi.Float64Output { + return o.ApplyT(func(v ProjectAlertRuleMetricRule) float64 { return v.ThresholdValue }).(pulumi.Float64Output) } -type ProjectProjectMonitoringInputPtrOutput struct{ *pulumi.OutputState } +type ProjectAlertRuleMetricRulePtrOutput struct{ *pulumi.OutputState } -func (ProjectProjectMonitoringInputPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectProjectMonitoringInput)(nil)).Elem() +func (ProjectAlertRuleMetricRulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectAlertRuleMetricRule)(nil)).Elem() } -func (o ProjectProjectMonitoringInputPtrOutput) ToProjectProjectMonitoringInputPtrOutput() ProjectProjectMonitoringInputPtrOutput { +func (o ProjectAlertRuleMetricRulePtrOutput) ToProjectAlertRuleMetricRulePtrOutput() ProjectAlertRuleMetricRulePtrOutput { return o } -func (o ProjectProjectMonitoringInputPtrOutput) ToProjectProjectMonitoringInputPtrOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputPtrOutput { +func (o ProjectAlertRuleMetricRulePtrOutput) ToProjectAlertRuleMetricRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleMetricRulePtrOutput { return o } -func (o ProjectProjectMonitoringInputPtrOutput) Elem() ProjectProjectMonitoringInputOutput { - return o.ApplyT(func(v *ProjectProjectMonitoringInput) ProjectProjectMonitoringInput { +func (o ProjectAlertRuleMetricRulePtrOutput) Elem() ProjectAlertRuleMetricRuleOutput { + return o.ApplyT(func(v *ProjectAlertRuleMetricRule) ProjectAlertRuleMetricRule { if v != nil { return *v } - var ret ProjectProjectMonitoringInput + var ret ProjectAlertRuleMetricRule return ret - }).(ProjectProjectMonitoringInputOutput) + }).(ProjectAlertRuleMetricRuleOutput) } -// Key/value answers for monitor input (map) -func (o ProjectProjectMonitoringInputPtrOutput) Answers() pulumi.MapOutput { - return o.ApplyT(func(v *ProjectProjectMonitoringInput) map[string]interface{} { +// Metric rule comparison. Supported values : `"equal" | "greater-or-equal" | "greater-than" | "less-or-equal" | "less-than" | "not-equal" | "has-value"`. Default: `equal` (string) +func (o ProjectAlertRuleMetricRulePtrOutput) Comparison() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectAlertRuleMetricRule) *string { if v == nil { return nil } - return v.Answers - }).(pulumi.MapOutput) + return v.Comparison + }).(pulumi.StringPtrOutput) } -// rancher-monitoring chart version (string) -func (o ProjectProjectMonitoringInputPtrOutput) Version() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectProjectMonitoringInput) *string { +// Metric rule description (string) +func (o ProjectAlertRuleMetricRulePtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectAlertRuleMetricRule) *string { if v == nil { return nil } - return v.Version + return v.Description }).(pulumi.StringPtrOutput) } -type ProjectResourceQuota struct { - // Default resource quota limit for namespaces in project (list maxitems:1) - NamespaceDefaultLimit ProjectResourceQuotaNamespaceDefaultLimit `pulumi:"namespaceDefaultLimit"` - // Resource quota limit for project (list maxitems:1) - ProjectLimit ProjectResourceQuotaProjectLimit `pulumi:"projectLimit"` +// Metric rule duration (string) +func (o ProjectAlertRuleMetricRulePtrOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectAlertRuleMetricRule) *string { + if v == nil { + return nil + } + return &v.Duration + }).(pulumi.StringPtrOutput) } -// ProjectResourceQuotaInput is an input type that accepts ProjectResourceQuotaArgs and ProjectResourceQuotaOutput values. -// You can construct a concrete instance of `ProjectResourceQuotaInput` via: +// Metric rule expression (string) +func (o ProjectAlertRuleMetricRulePtrOutput) Expression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectAlertRuleMetricRule) *string { + if v == nil { + return nil + } + return &v.Expression + }).(pulumi.StringPtrOutput) +} + +// Metric rule threshold value (float64) +func (o ProjectAlertRuleMetricRulePtrOutput) ThresholdValue() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *ProjectAlertRuleMetricRule) *float64 { + if v == nil { + return nil + } + return &v.ThresholdValue + }).(pulumi.Float64PtrOutput) +} + +type ProjectAlertRulePodRule struct { + // Pod rule condition. Supported values : `"notrunning" | "notscheduled" | "restarts"`. Default: `notrunning` (string) + Condition *string `pulumi:"condition"` + // Pod ID (string) + PodId string `pulumi:"podId"` + // Pod rule restart interval seconds. Default: `300` (int) + RestartIntervalSeconds *int `pulumi:"restartIntervalSeconds"` + // Pod rule restart times. Default: `3` (int) + RestartTimes *int `pulumi:"restartTimes"` +} + +// ProjectAlertRulePodRuleInput is an input type that accepts ProjectAlertRulePodRuleArgs and ProjectAlertRulePodRuleOutput values. +// You can construct a concrete instance of `ProjectAlertRulePodRuleInput` via: // -// ProjectResourceQuotaArgs{...} -type ProjectResourceQuotaInput interface { +// ProjectAlertRulePodRuleArgs{...} +type ProjectAlertRulePodRuleInput interface { pulumi.Input - ToProjectResourceQuotaOutput() ProjectResourceQuotaOutput - ToProjectResourceQuotaOutputWithContext(context.Context) ProjectResourceQuotaOutput + ToProjectAlertRulePodRuleOutput() ProjectAlertRulePodRuleOutput + ToProjectAlertRulePodRuleOutputWithContext(context.Context) ProjectAlertRulePodRuleOutput } -type ProjectResourceQuotaArgs struct { - // Default resource quota limit for namespaces in project (list maxitems:1) - NamespaceDefaultLimit ProjectResourceQuotaNamespaceDefaultLimitInput `pulumi:"namespaceDefaultLimit"` - // Resource quota limit for project (list maxitems:1) - ProjectLimit ProjectResourceQuotaProjectLimitInput `pulumi:"projectLimit"` +type ProjectAlertRulePodRuleArgs struct { + // Pod rule condition. Supported values : `"notrunning" | "notscheduled" | "restarts"`. Default: `notrunning` (string) + Condition pulumi.StringPtrInput `pulumi:"condition"` + // Pod ID (string) + PodId pulumi.StringInput `pulumi:"podId"` + // Pod rule restart interval seconds. Default: `300` (int) + RestartIntervalSeconds pulumi.IntPtrInput `pulumi:"restartIntervalSeconds"` + // Pod rule restart times. Default: `3` (int) + RestartTimes pulumi.IntPtrInput `pulumi:"restartTimes"` } -func (ProjectResourceQuotaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectResourceQuota)(nil)).Elem() +func (ProjectAlertRulePodRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectAlertRulePodRule)(nil)).Elem() } -func (i ProjectResourceQuotaArgs) ToProjectResourceQuotaOutput() ProjectResourceQuotaOutput { - return i.ToProjectResourceQuotaOutputWithContext(context.Background()) +func (i ProjectAlertRulePodRuleArgs) ToProjectAlertRulePodRuleOutput() ProjectAlertRulePodRuleOutput { + return i.ToProjectAlertRulePodRuleOutputWithContext(context.Background()) } -func (i ProjectResourceQuotaArgs) ToProjectResourceQuotaOutputWithContext(ctx context.Context) ProjectResourceQuotaOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaOutput) +func (i ProjectAlertRulePodRuleArgs) ToProjectAlertRulePodRuleOutputWithContext(ctx context.Context) ProjectAlertRulePodRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRulePodRuleOutput) } -func (i ProjectResourceQuotaArgs) ToProjectResourceQuotaPtrOutput() ProjectResourceQuotaPtrOutput { - return i.ToProjectResourceQuotaPtrOutputWithContext(context.Background()) +func (i ProjectAlertRulePodRuleArgs) ToProjectAlertRulePodRulePtrOutput() ProjectAlertRulePodRulePtrOutput { + return i.ToProjectAlertRulePodRulePtrOutputWithContext(context.Background()) } -func (i ProjectResourceQuotaArgs) ToProjectResourceQuotaPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaOutput).ToProjectResourceQuotaPtrOutputWithContext(ctx) +func (i ProjectAlertRulePodRuleArgs) ToProjectAlertRulePodRulePtrOutputWithContext(ctx context.Context) ProjectAlertRulePodRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRulePodRuleOutput).ToProjectAlertRulePodRulePtrOutputWithContext(ctx) } -// ProjectResourceQuotaPtrInput is an input type that accepts ProjectResourceQuotaArgs, ProjectResourceQuotaPtr and ProjectResourceQuotaPtrOutput values. -// You can construct a concrete instance of `ProjectResourceQuotaPtrInput` via: +// ProjectAlertRulePodRulePtrInput is an input type that accepts ProjectAlertRulePodRuleArgs, ProjectAlertRulePodRulePtr and ProjectAlertRulePodRulePtrOutput values. +// You can construct a concrete instance of `ProjectAlertRulePodRulePtrInput` via: // -// ProjectResourceQuotaArgs{...} +// ProjectAlertRulePodRuleArgs{...} // // or: // // nil -type ProjectResourceQuotaPtrInput interface { +type ProjectAlertRulePodRulePtrInput interface { pulumi.Input - ToProjectResourceQuotaPtrOutput() ProjectResourceQuotaPtrOutput - ToProjectResourceQuotaPtrOutputWithContext(context.Context) ProjectResourceQuotaPtrOutput + ToProjectAlertRulePodRulePtrOutput() ProjectAlertRulePodRulePtrOutput + ToProjectAlertRulePodRulePtrOutputWithContext(context.Context) ProjectAlertRulePodRulePtrOutput } -type projectResourceQuotaPtrType ProjectResourceQuotaArgs +type projectAlertRulePodRulePtrType ProjectAlertRulePodRuleArgs -func ProjectResourceQuotaPtr(v *ProjectResourceQuotaArgs) ProjectResourceQuotaPtrInput { - return (*projectResourceQuotaPtrType)(v) +func ProjectAlertRulePodRulePtr(v *ProjectAlertRulePodRuleArgs) ProjectAlertRulePodRulePtrInput { + return (*projectAlertRulePodRulePtrType)(v) } -func (*projectResourceQuotaPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectResourceQuota)(nil)).Elem() +func (*projectAlertRulePodRulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectAlertRulePodRule)(nil)).Elem() } -func (i *projectResourceQuotaPtrType) ToProjectResourceQuotaPtrOutput() ProjectResourceQuotaPtrOutput { - return i.ToProjectResourceQuotaPtrOutputWithContext(context.Background()) +func (i *projectAlertRulePodRulePtrType) ToProjectAlertRulePodRulePtrOutput() ProjectAlertRulePodRulePtrOutput { + return i.ToProjectAlertRulePodRulePtrOutputWithContext(context.Background()) } -func (i *projectResourceQuotaPtrType) ToProjectResourceQuotaPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaPtrOutput) +func (i *projectAlertRulePodRulePtrType) ToProjectAlertRulePodRulePtrOutputWithContext(ctx context.Context) ProjectAlertRulePodRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRulePodRulePtrOutput) } -type ProjectResourceQuotaOutput struct{ *pulumi.OutputState } +type ProjectAlertRulePodRuleOutput struct{ *pulumi.OutputState } -func (ProjectResourceQuotaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectResourceQuota)(nil)).Elem() +func (ProjectAlertRulePodRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectAlertRulePodRule)(nil)).Elem() } -func (o ProjectResourceQuotaOutput) ToProjectResourceQuotaOutput() ProjectResourceQuotaOutput { +func (o ProjectAlertRulePodRuleOutput) ToProjectAlertRulePodRuleOutput() ProjectAlertRulePodRuleOutput { return o } -func (o ProjectResourceQuotaOutput) ToProjectResourceQuotaOutputWithContext(ctx context.Context) ProjectResourceQuotaOutput { +func (o ProjectAlertRulePodRuleOutput) ToProjectAlertRulePodRuleOutputWithContext(ctx context.Context) ProjectAlertRulePodRuleOutput { return o } -func (o ProjectResourceQuotaOutput) ToProjectResourceQuotaPtrOutput() ProjectResourceQuotaPtrOutput { - return o.ToProjectResourceQuotaPtrOutputWithContext(context.Background()) +func (o ProjectAlertRulePodRuleOutput) ToProjectAlertRulePodRulePtrOutput() ProjectAlertRulePodRulePtrOutput { + return o.ToProjectAlertRulePodRulePtrOutputWithContext(context.Background()) } -func (o ProjectResourceQuotaOutput) ToProjectResourceQuotaPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectResourceQuota) *ProjectResourceQuota { +func (o ProjectAlertRulePodRuleOutput) ToProjectAlertRulePodRulePtrOutputWithContext(ctx context.Context) ProjectAlertRulePodRulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectAlertRulePodRule) *ProjectAlertRulePodRule { return &v - }).(ProjectResourceQuotaPtrOutput) + }).(ProjectAlertRulePodRulePtrOutput) } -// Default resource quota limit for namespaces in project (list maxitems:1) -func (o ProjectResourceQuotaOutput) NamespaceDefaultLimit() ProjectResourceQuotaNamespaceDefaultLimitOutput { - return o.ApplyT(func(v ProjectResourceQuota) ProjectResourceQuotaNamespaceDefaultLimit { return v.NamespaceDefaultLimit }).(ProjectResourceQuotaNamespaceDefaultLimitOutput) +// Pod rule condition. Supported values : `"notrunning" | "notscheduled" | "restarts"`. Default: `notrunning` (string) +func (o ProjectAlertRulePodRuleOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectAlertRulePodRule) *string { return v.Condition }).(pulumi.StringPtrOutput) } -// Resource quota limit for project (list maxitems:1) -func (o ProjectResourceQuotaOutput) ProjectLimit() ProjectResourceQuotaProjectLimitOutput { - return o.ApplyT(func(v ProjectResourceQuota) ProjectResourceQuotaProjectLimit { return v.ProjectLimit }).(ProjectResourceQuotaProjectLimitOutput) +// Pod ID (string) +func (o ProjectAlertRulePodRuleOutput) PodId() pulumi.StringOutput { + return o.ApplyT(func(v ProjectAlertRulePodRule) string { return v.PodId }).(pulumi.StringOutput) } -type ProjectResourceQuotaPtrOutput struct{ *pulumi.OutputState } +// Pod rule restart interval seconds. Default: `300` (int) +func (o ProjectAlertRulePodRuleOutput) RestartIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v ProjectAlertRulePodRule) *int { return v.RestartIntervalSeconds }).(pulumi.IntPtrOutput) +} -func (ProjectResourceQuotaPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectResourceQuota)(nil)).Elem() +// Pod rule restart times. Default: `3` (int) +func (o ProjectAlertRulePodRuleOutput) RestartTimes() pulumi.IntPtrOutput { + return o.ApplyT(func(v ProjectAlertRulePodRule) *int { return v.RestartTimes }).(pulumi.IntPtrOutput) } -func (o ProjectResourceQuotaPtrOutput) ToProjectResourceQuotaPtrOutput() ProjectResourceQuotaPtrOutput { +type ProjectAlertRulePodRulePtrOutput struct{ *pulumi.OutputState } + +func (ProjectAlertRulePodRulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectAlertRulePodRule)(nil)).Elem() +} + +func (o ProjectAlertRulePodRulePtrOutput) ToProjectAlertRulePodRulePtrOutput() ProjectAlertRulePodRulePtrOutput { return o } -func (o ProjectResourceQuotaPtrOutput) ToProjectResourceQuotaPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaPtrOutput { +func (o ProjectAlertRulePodRulePtrOutput) ToProjectAlertRulePodRulePtrOutputWithContext(ctx context.Context) ProjectAlertRulePodRulePtrOutput { return o } -func (o ProjectResourceQuotaPtrOutput) Elem() ProjectResourceQuotaOutput { - return o.ApplyT(func(v *ProjectResourceQuota) ProjectResourceQuota { +func (o ProjectAlertRulePodRulePtrOutput) Elem() ProjectAlertRulePodRuleOutput { + return o.ApplyT(func(v *ProjectAlertRulePodRule) ProjectAlertRulePodRule { if v != nil { return *v } - var ret ProjectResourceQuota + var ret ProjectAlertRulePodRule return ret - }).(ProjectResourceQuotaOutput) + }).(ProjectAlertRulePodRuleOutput) } -// Default resource quota limit for namespaces in project (list maxitems:1) -func (o ProjectResourceQuotaPtrOutput) NamespaceDefaultLimit() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuota) *ProjectResourceQuotaNamespaceDefaultLimit { +// Pod rule condition. Supported values : `"notrunning" | "notscheduled" | "restarts"`. Default: `notrunning` (string) +func (o ProjectAlertRulePodRulePtrOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectAlertRulePodRule) *string { if v == nil { return nil } - return &v.NamespaceDefaultLimit - }).(ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) + return v.Condition + }).(pulumi.StringPtrOutput) } -// Resource quota limit for project (list maxitems:1) -func (o ProjectResourceQuotaPtrOutput) ProjectLimit() ProjectResourceQuotaProjectLimitPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuota) *ProjectResourceQuotaProjectLimit { +// Pod ID (string) +func (o ProjectAlertRulePodRulePtrOutput) PodId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectAlertRulePodRule) *string { if v == nil { return nil } - return &v.ProjectLimit - }).(ProjectResourceQuotaProjectLimitPtrOutput) + return &v.PodId + }).(pulumi.StringPtrOutput) } -type ProjectResourceQuotaNamespaceDefaultLimit struct { - // Limit for config maps in project (string) - ConfigMaps *string `pulumi:"configMaps"` - // Limit for limits cpu in project (string) - LimitsCpu *string `pulumi:"limitsCpu"` - // Limit for limits memory in project (string) - LimitsMemory *string `pulumi:"limitsMemory"` - // Limit for persistent volume claims in project (string) - PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` - // Limit for pods in project (string) - Pods *string `pulumi:"pods"` - // Limit for replication controllers in project (string) - ReplicationControllers *string `pulumi:"replicationControllers"` - // Limit for requests cpu in project (string) - RequestsCpu *string `pulumi:"requestsCpu"` - // Limit for requests memory in project (string) - RequestsMemory *string `pulumi:"requestsMemory"` - // Limit for requests storage in project (string) - RequestsStorage *string `pulumi:"requestsStorage"` - // Limit for secrets in project (string) - Secrets *string `pulumi:"secrets"` - Services *string `pulumi:"services"` - // Limit for services load balancers in project (string) - ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` - // Limit for services node ports in project (string) - ServicesNodePorts *string `pulumi:"servicesNodePorts"` +// Pod rule restart interval seconds. Default: `300` (int) +func (o ProjectAlertRulePodRulePtrOutput) RestartIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectAlertRulePodRule) *int { + if v == nil { + return nil + } + return v.RestartIntervalSeconds + }).(pulumi.IntPtrOutput) } -// ProjectResourceQuotaNamespaceDefaultLimitInput is an input type that accepts ProjectResourceQuotaNamespaceDefaultLimitArgs and ProjectResourceQuotaNamespaceDefaultLimitOutput values. -// You can construct a concrete instance of `ProjectResourceQuotaNamespaceDefaultLimitInput` via: +// Pod rule restart times. Default: `3` (int) +func (o ProjectAlertRulePodRulePtrOutput) RestartTimes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectAlertRulePodRule) *int { + if v == nil { + return nil + } + return v.RestartTimes + }).(pulumi.IntPtrOutput) +} + +type ProjectAlertRuleWorkloadRule struct { + // Workload rule available percentage. Default: `70` (int) + AvailablePercentage *int `pulumi:"availablePercentage"` + // Workload rule selector (map) + Selector map[string]interface{} `pulumi:"selector"` + // Workload ID (string) + WorkloadId *string `pulumi:"workloadId"` +} + +// ProjectAlertRuleWorkloadRuleInput is an input type that accepts ProjectAlertRuleWorkloadRuleArgs and ProjectAlertRuleWorkloadRuleOutput values. +// You can construct a concrete instance of `ProjectAlertRuleWorkloadRuleInput` via: // -// ProjectResourceQuotaNamespaceDefaultLimitArgs{...} -type ProjectResourceQuotaNamespaceDefaultLimitInput interface { +// ProjectAlertRuleWorkloadRuleArgs{...} +type ProjectAlertRuleWorkloadRuleInput interface { pulumi.Input - ToProjectResourceQuotaNamespaceDefaultLimitOutput() ProjectResourceQuotaNamespaceDefaultLimitOutput - ToProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(context.Context) ProjectResourceQuotaNamespaceDefaultLimitOutput + ToProjectAlertRuleWorkloadRuleOutput() ProjectAlertRuleWorkloadRuleOutput + ToProjectAlertRuleWorkloadRuleOutputWithContext(context.Context) ProjectAlertRuleWorkloadRuleOutput } -type ProjectResourceQuotaNamespaceDefaultLimitArgs struct { - // Limit for config maps in project (string) - ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` - // Limit for limits cpu in project (string) - LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` - // Limit for limits memory in project (string) - LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` - // Limit for persistent volume claims in project (string) - PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` - // Limit for pods in project (string) - Pods pulumi.StringPtrInput `pulumi:"pods"` - // Limit for replication controllers in project (string) - ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` - // Limit for requests cpu in project (string) - RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` - // Limit for requests memory in project (string) - RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` - // Limit for requests storage in project (string) - RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` - // Limit for secrets in project (string) - Secrets pulumi.StringPtrInput `pulumi:"secrets"` - Services pulumi.StringPtrInput `pulumi:"services"` - // Limit for services load balancers in project (string) - ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` - // Limit for services node ports in project (string) - ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` +type ProjectAlertRuleWorkloadRuleArgs struct { + // Workload rule available percentage. Default: `70` (int) + AvailablePercentage pulumi.IntPtrInput `pulumi:"availablePercentage"` + // Workload rule selector (map) + Selector pulumi.MapInput `pulumi:"selector"` + // Workload ID (string) + WorkloadId pulumi.StringPtrInput `pulumi:"workloadId"` } -func (ProjectResourceQuotaNamespaceDefaultLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() +func (ProjectAlertRuleWorkloadRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectAlertRuleWorkloadRule)(nil)).Elem() } -func (i ProjectResourceQuotaNamespaceDefaultLimitArgs) ToProjectResourceQuotaNamespaceDefaultLimitOutput() ProjectResourceQuotaNamespaceDefaultLimitOutput { - return i.ToProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(context.Background()) +func (i ProjectAlertRuleWorkloadRuleArgs) ToProjectAlertRuleWorkloadRuleOutput() ProjectAlertRuleWorkloadRuleOutput { + return i.ToProjectAlertRuleWorkloadRuleOutputWithContext(context.Background()) } -func (i ProjectResourceQuotaNamespaceDefaultLimitArgs) ToProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaNamespaceDefaultLimitOutput) +func (i ProjectAlertRuleWorkloadRuleArgs) ToProjectAlertRuleWorkloadRuleOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleWorkloadRuleOutput) } -func (i ProjectResourceQuotaNamespaceDefaultLimitArgs) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutput() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { - return i.ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(context.Background()) +func (i ProjectAlertRuleWorkloadRuleArgs) ToProjectAlertRuleWorkloadRulePtrOutput() ProjectAlertRuleWorkloadRulePtrOutput { + return i.ToProjectAlertRuleWorkloadRulePtrOutputWithContext(context.Background()) } -func (i ProjectResourceQuotaNamespaceDefaultLimitArgs) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaNamespaceDefaultLimitOutput).ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(ctx) +func (i ProjectAlertRuleWorkloadRuleArgs) ToProjectAlertRuleWorkloadRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleWorkloadRuleOutput).ToProjectAlertRuleWorkloadRulePtrOutputWithContext(ctx) } -// ProjectResourceQuotaNamespaceDefaultLimitPtrInput is an input type that accepts ProjectResourceQuotaNamespaceDefaultLimitArgs, ProjectResourceQuotaNamespaceDefaultLimitPtr and ProjectResourceQuotaNamespaceDefaultLimitPtrOutput values. -// You can construct a concrete instance of `ProjectResourceQuotaNamespaceDefaultLimitPtrInput` via: +// ProjectAlertRuleWorkloadRulePtrInput is an input type that accepts ProjectAlertRuleWorkloadRuleArgs, ProjectAlertRuleWorkloadRulePtr and ProjectAlertRuleWorkloadRulePtrOutput values. +// You can construct a concrete instance of `ProjectAlertRuleWorkloadRulePtrInput` via: // -// ProjectResourceQuotaNamespaceDefaultLimitArgs{...} +// ProjectAlertRuleWorkloadRuleArgs{...} // // or: // // nil -type ProjectResourceQuotaNamespaceDefaultLimitPtrInput interface { +type ProjectAlertRuleWorkloadRulePtrInput interface { pulumi.Input - ToProjectResourceQuotaNamespaceDefaultLimitPtrOutput() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput - ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(context.Context) ProjectResourceQuotaNamespaceDefaultLimitPtrOutput -} - -type projectResourceQuotaNamespaceDefaultLimitPtrType ProjectResourceQuotaNamespaceDefaultLimitArgs - -func ProjectResourceQuotaNamespaceDefaultLimitPtr(v *ProjectResourceQuotaNamespaceDefaultLimitArgs) ProjectResourceQuotaNamespaceDefaultLimitPtrInput { - return (*projectResourceQuotaNamespaceDefaultLimitPtrType)(v) -} - -func (*projectResourceQuotaNamespaceDefaultLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() -} - -func (i *projectResourceQuotaNamespaceDefaultLimitPtrType) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutput() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { - return i.ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(context.Background()) -} - -func (i *projectResourceQuotaNamespaceDefaultLimitPtrType) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) -} - -type ProjectResourceQuotaNamespaceDefaultLimitOutput struct{ *pulumi.OutputState } - -func (ProjectResourceQuotaNamespaceDefaultLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() -} - -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ToProjectResourceQuotaNamespaceDefaultLimitOutput() ProjectResourceQuotaNamespaceDefaultLimitOutput { - return o -} - -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ToProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitOutput { - return o -} - -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutput() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { - return o.ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(context.Background()) -} - -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectResourceQuotaNamespaceDefaultLimit) *ProjectResourceQuotaNamespaceDefaultLimit { - return &v - }).(ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) -} - -// Limit for config maps in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ConfigMaps() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) -} - -// Limit for limits cpu in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) -} - -// Limit for limits memory in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) -} - -// Limit for persistent volume claims in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) -} - -// Limit for pods in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) Pods() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) -} - -// Limit for replication controllers in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) -} - -// Limit for requests cpu in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) -} - -// Limit for requests memory in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) + ToProjectAlertRuleWorkloadRulePtrOutput() ProjectAlertRuleWorkloadRulePtrOutput + ToProjectAlertRuleWorkloadRulePtrOutputWithContext(context.Context) ProjectAlertRuleWorkloadRulePtrOutput } -// Limit for requests storage in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsStorage() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) -} +type projectAlertRuleWorkloadRulePtrType ProjectAlertRuleWorkloadRuleArgs -// Limit for secrets in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) Secrets() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) +func ProjectAlertRuleWorkloadRulePtr(v *ProjectAlertRuleWorkloadRuleArgs) ProjectAlertRuleWorkloadRulePtrInput { + return (*projectAlertRuleWorkloadRulePtrType)(v) } -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) Services() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Services }).(pulumi.StringPtrOutput) +func (*projectAlertRuleWorkloadRulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectAlertRuleWorkloadRule)(nil)).Elem() } -// Limit for services load balancers in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) +func (i *projectAlertRuleWorkloadRulePtrType) ToProjectAlertRuleWorkloadRulePtrOutput() ProjectAlertRuleWorkloadRulePtrOutput { + return i.ToProjectAlertRuleWorkloadRulePtrOutputWithContext(context.Background()) } -// Limit for services node ports in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) +func (i *projectAlertRuleWorkloadRulePtrType) ToProjectAlertRuleWorkloadRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectAlertRuleWorkloadRulePtrOutput) } -type ProjectResourceQuotaNamespaceDefaultLimitPtrOutput struct{ *pulumi.OutputState } +type ProjectAlertRuleWorkloadRuleOutput struct{ *pulumi.OutputState } -func (ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() +func (ProjectAlertRuleWorkloadRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectAlertRuleWorkloadRule)(nil)).Elem() } -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutput() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { +func (o ProjectAlertRuleWorkloadRuleOutput) ToProjectAlertRuleWorkloadRuleOutput() ProjectAlertRuleWorkloadRuleOutput { return o } -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { +func (o ProjectAlertRuleWorkloadRuleOutput) ToProjectAlertRuleWorkloadRuleOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRuleOutput { return o } -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) Elem() ProjectResourceQuotaNamespaceDefaultLimitOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) ProjectResourceQuotaNamespaceDefaultLimit { - if v != nil { - return *v - } - var ret ProjectResourceQuotaNamespaceDefaultLimit - return ret - }).(ProjectResourceQuotaNamespaceDefaultLimitOutput) -} - -// Limit for config maps in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ConfigMaps() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { - if v == nil { - return nil - } - return v.ConfigMaps - }).(pulumi.StringPtrOutput) -} - -// Limit for limits cpu in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { - if v == nil { - return nil - } - return v.LimitsCpu - }).(pulumi.StringPtrOutput) +func (o ProjectAlertRuleWorkloadRuleOutput) ToProjectAlertRuleWorkloadRulePtrOutput() ProjectAlertRuleWorkloadRulePtrOutput { + return o.ToProjectAlertRuleWorkloadRulePtrOutputWithContext(context.Background()) } -// Limit for limits memory in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { - if v == nil { - return nil - } - return v.LimitsMemory - }).(pulumi.StringPtrOutput) +func (o ProjectAlertRuleWorkloadRuleOutput) ToProjectAlertRuleWorkloadRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectAlertRuleWorkloadRule) *ProjectAlertRuleWorkloadRule { + return &v + }).(ProjectAlertRuleWorkloadRulePtrOutput) } -// Limit for persistent volume claims in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { - if v == nil { - return nil - } - return v.PersistentVolumeClaims - }).(pulumi.StringPtrOutput) +// Workload rule available percentage. Default: `70` (int) +func (o ProjectAlertRuleWorkloadRuleOutput) AvailablePercentage() pulumi.IntPtrOutput { + return o.ApplyT(func(v ProjectAlertRuleWorkloadRule) *int { return v.AvailablePercentage }).(pulumi.IntPtrOutput) } -// Limit for pods in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) Pods() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { - if v == nil { - return nil - } - return v.Pods - }).(pulumi.StringPtrOutput) +// Workload rule selector (map) +func (o ProjectAlertRuleWorkloadRuleOutput) Selector() pulumi.MapOutput { + return o.ApplyT(func(v ProjectAlertRuleWorkloadRule) map[string]interface{} { return v.Selector }).(pulumi.MapOutput) } -// Limit for replication controllers in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ReplicationControllers() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { - if v == nil { - return nil - } - return v.ReplicationControllers - }).(pulumi.StringPtrOutput) +// Workload ID (string) +func (o ProjectAlertRuleWorkloadRuleOutput) WorkloadId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectAlertRuleWorkloadRule) *string { return v.WorkloadId }).(pulumi.StringPtrOutput) } -// Limit for requests cpu in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { - if v == nil { - return nil - } - return v.RequestsCpu - }).(pulumi.StringPtrOutput) +type ProjectAlertRuleWorkloadRulePtrOutput struct{ *pulumi.OutputState } + +func (ProjectAlertRuleWorkloadRulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectAlertRuleWorkloadRule)(nil)).Elem() } -// Limit for requests memory in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { - if v == nil { - return nil - } - return v.RequestsMemory - }).(pulumi.StringPtrOutput) +func (o ProjectAlertRuleWorkloadRulePtrOutput) ToProjectAlertRuleWorkloadRulePtrOutput() ProjectAlertRuleWorkloadRulePtrOutput { + return o } -// Limit for requests storage in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) RequestsStorage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { - if v == nil { - return nil - } - return v.RequestsStorage - }).(pulumi.StringPtrOutput) +func (o ProjectAlertRuleWorkloadRulePtrOutput) ToProjectAlertRuleWorkloadRulePtrOutputWithContext(ctx context.Context) ProjectAlertRuleWorkloadRulePtrOutput { + return o } -// Limit for secrets in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) Secrets() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { - if v == nil { - return nil +func (o ProjectAlertRuleWorkloadRulePtrOutput) Elem() ProjectAlertRuleWorkloadRuleOutput { + return o.ApplyT(func(v *ProjectAlertRuleWorkloadRule) ProjectAlertRuleWorkloadRule { + if v != nil { + return *v } - return v.Secrets - }).(pulumi.StringPtrOutput) + var ret ProjectAlertRuleWorkloadRule + return ret + }).(ProjectAlertRuleWorkloadRuleOutput) } -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) Services() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { +// Workload rule available percentage. Default: `70` (int) +func (o ProjectAlertRuleWorkloadRulePtrOutput) AvailablePercentage() pulumi.IntPtrOutput { + return o.ApplyT(func(v *ProjectAlertRuleWorkloadRule) *int { if v == nil { return nil } - return v.Services - }).(pulumi.StringPtrOutput) + return v.AvailablePercentage + }).(pulumi.IntPtrOutput) } -// Limit for services load balancers in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { +// Workload rule selector (map) +func (o ProjectAlertRuleWorkloadRulePtrOutput) Selector() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectAlertRuleWorkloadRule) map[string]interface{} { if v == nil { return nil } - return v.ServicesLoadBalancers - }).(pulumi.StringPtrOutput) + return v.Selector + }).(pulumi.MapOutput) } -// Limit for services node ports in project (string) -func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ServicesNodePorts() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { +// Workload ID (string) +func (o ProjectAlertRuleWorkloadRulePtrOutput) WorkloadId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectAlertRuleWorkloadRule) *string { if v == nil { return nil } - return v.ServicesNodePorts + return v.WorkloadId }).(pulumi.StringPtrOutput) } -type ProjectResourceQuotaProjectLimit struct { - // Limit for config maps in project (string) - ConfigMaps *string `pulumi:"configMaps"` +type ProjectContainerResourceLimit struct { // Limit for limits cpu in project (string) LimitsCpu *string `pulumi:"limitsCpu"` // Limit for limits memory in project (string) LimitsMemory *string `pulumi:"limitsMemory"` - // Limit for persistent volume claims in project (string) - PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` - // Limit for pods in project (string) - Pods *string `pulumi:"pods"` - // Limit for replication controllers in project (string) - ReplicationControllers *string `pulumi:"replicationControllers"` // Limit for requests cpu in project (string) RequestsCpu *string `pulumi:"requestsCpu"` // Limit for requests memory in project (string) RequestsMemory *string `pulumi:"requestsMemory"` - // Limit for requests storage in project (string) - RequestsStorage *string `pulumi:"requestsStorage"` - // Limit for secrets in project (string) - Secrets *string `pulumi:"secrets"` - Services *string `pulumi:"services"` - // Limit for services load balancers in project (string) - ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` - // Limit for services node ports in project (string) - ServicesNodePorts *string `pulumi:"servicesNodePorts"` } -// ProjectResourceQuotaProjectLimitInput is an input type that accepts ProjectResourceQuotaProjectLimitArgs and ProjectResourceQuotaProjectLimitOutput values. -// You can construct a concrete instance of `ProjectResourceQuotaProjectLimitInput` via: +// ProjectContainerResourceLimitInput is an input type that accepts ProjectContainerResourceLimitArgs and ProjectContainerResourceLimitOutput values. +// You can construct a concrete instance of `ProjectContainerResourceLimitInput` via: // -// ProjectResourceQuotaProjectLimitArgs{...} -type ProjectResourceQuotaProjectLimitInput interface { +// ProjectContainerResourceLimitArgs{...} +type ProjectContainerResourceLimitInput interface { pulumi.Input - ToProjectResourceQuotaProjectLimitOutput() ProjectResourceQuotaProjectLimitOutput - ToProjectResourceQuotaProjectLimitOutputWithContext(context.Context) ProjectResourceQuotaProjectLimitOutput + ToProjectContainerResourceLimitOutput() ProjectContainerResourceLimitOutput + ToProjectContainerResourceLimitOutputWithContext(context.Context) ProjectContainerResourceLimitOutput } -type ProjectResourceQuotaProjectLimitArgs struct { - // Limit for config maps in project (string) - ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` +type ProjectContainerResourceLimitArgs struct { // Limit for limits cpu in project (string) LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` // Limit for limits memory in project (string) LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` - // Limit for persistent volume claims in project (string) - PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` - // Limit for pods in project (string) - Pods pulumi.StringPtrInput `pulumi:"pods"` - // Limit for replication controllers in project (string) - ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` // Limit for requests cpu in project (string) RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` // Limit for requests memory in project (string) RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` - // Limit for requests storage in project (string) - RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` - // Limit for secrets in project (string) - Secrets pulumi.StringPtrInput `pulumi:"secrets"` - Services pulumi.StringPtrInput `pulumi:"services"` - // Limit for services load balancers in project (string) - ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` - // Limit for services node ports in project (string) - ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` } -func (ProjectResourceQuotaProjectLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectResourceQuotaProjectLimit)(nil)).Elem() +func (ProjectContainerResourceLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectContainerResourceLimit)(nil)).Elem() } -func (i ProjectResourceQuotaProjectLimitArgs) ToProjectResourceQuotaProjectLimitOutput() ProjectResourceQuotaProjectLimitOutput { - return i.ToProjectResourceQuotaProjectLimitOutputWithContext(context.Background()) +func (i ProjectContainerResourceLimitArgs) ToProjectContainerResourceLimitOutput() ProjectContainerResourceLimitOutput { + return i.ToProjectContainerResourceLimitOutputWithContext(context.Background()) } -func (i ProjectResourceQuotaProjectLimitArgs) ToProjectResourceQuotaProjectLimitOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaProjectLimitOutput) +func (i ProjectContainerResourceLimitArgs) ToProjectContainerResourceLimitOutputWithContext(ctx context.Context) ProjectContainerResourceLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectContainerResourceLimitOutput) } -func (i ProjectResourceQuotaProjectLimitArgs) ToProjectResourceQuotaProjectLimitPtrOutput() ProjectResourceQuotaProjectLimitPtrOutput { - return i.ToProjectResourceQuotaProjectLimitPtrOutputWithContext(context.Background()) +func (i ProjectContainerResourceLimitArgs) ToProjectContainerResourceLimitPtrOutput() ProjectContainerResourceLimitPtrOutput { + return i.ToProjectContainerResourceLimitPtrOutputWithContext(context.Background()) } -func (i ProjectResourceQuotaProjectLimitArgs) ToProjectResourceQuotaProjectLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaProjectLimitOutput).ToProjectResourceQuotaProjectLimitPtrOutputWithContext(ctx) +func (i ProjectContainerResourceLimitArgs) ToProjectContainerResourceLimitPtrOutputWithContext(ctx context.Context) ProjectContainerResourceLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectContainerResourceLimitOutput).ToProjectContainerResourceLimitPtrOutputWithContext(ctx) } -// ProjectResourceQuotaProjectLimitPtrInput is an input type that accepts ProjectResourceQuotaProjectLimitArgs, ProjectResourceQuotaProjectLimitPtr and ProjectResourceQuotaProjectLimitPtrOutput values. -// You can construct a concrete instance of `ProjectResourceQuotaProjectLimitPtrInput` via: +// ProjectContainerResourceLimitPtrInput is an input type that accepts ProjectContainerResourceLimitArgs, ProjectContainerResourceLimitPtr and ProjectContainerResourceLimitPtrOutput values. +// You can construct a concrete instance of `ProjectContainerResourceLimitPtrInput` via: // -// ProjectResourceQuotaProjectLimitArgs{...} +// ProjectContainerResourceLimitArgs{...} // // or: // // nil -type ProjectResourceQuotaProjectLimitPtrInput interface { +type ProjectContainerResourceLimitPtrInput interface { pulumi.Input - ToProjectResourceQuotaProjectLimitPtrOutput() ProjectResourceQuotaProjectLimitPtrOutput - ToProjectResourceQuotaProjectLimitPtrOutputWithContext(context.Context) ProjectResourceQuotaProjectLimitPtrOutput + ToProjectContainerResourceLimitPtrOutput() ProjectContainerResourceLimitPtrOutput + ToProjectContainerResourceLimitPtrOutputWithContext(context.Context) ProjectContainerResourceLimitPtrOutput } -type projectResourceQuotaProjectLimitPtrType ProjectResourceQuotaProjectLimitArgs +type projectContainerResourceLimitPtrType ProjectContainerResourceLimitArgs -func ProjectResourceQuotaProjectLimitPtr(v *ProjectResourceQuotaProjectLimitArgs) ProjectResourceQuotaProjectLimitPtrInput { - return (*projectResourceQuotaProjectLimitPtrType)(v) +func ProjectContainerResourceLimitPtr(v *ProjectContainerResourceLimitArgs) ProjectContainerResourceLimitPtrInput { + return (*projectContainerResourceLimitPtrType)(v) } -func (*projectResourceQuotaProjectLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectResourceQuotaProjectLimit)(nil)).Elem() +func (*projectContainerResourceLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectContainerResourceLimit)(nil)).Elem() } -func (i *projectResourceQuotaProjectLimitPtrType) ToProjectResourceQuotaProjectLimitPtrOutput() ProjectResourceQuotaProjectLimitPtrOutput { - return i.ToProjectResourceQuotaProjectLimitPtrOutputWithContext(context.Background()) +func (i *projectContainerResourceLimitPtrType) ToProjectContainerResourceLimitPtrOutput() ProjectContainerResourceLimitPtrOutput { + return i.ToProjectContainerResourceLimitPtrOutputWithContext(context.Background()) } -func (i *projectResourceQuotaProjectLimitPtrType) ToProjectResourceQuotaProjectLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaProjectLimitPtrOutput) +func (i *projectContainerResourceLimitPtrType) ToProjectContainerResourceLimitPtrOutputWithContext(ctx context.Context) ProjectContainerResourceLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectContainerResourceLimitPtrOutput) } -type ProjectResourceQuotaProjectLimitOutput struct{ *pulumi.OutputState } +type ProjectContainerResourceLimitOutput struct{ *pulumi.OutputState } -func (ProjectResourceQuotaProjectLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProjectResourceQuotaProjectLimit)(nil)).Elem() +func (ProjectContainerResourceLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectContainerResourceLimit)(nil)).Elem() } -func (o ProjectResourceQuotaProjectLimitOutput) ToProjectResourceQuotaProjectLimitOutput() ProjectResourceQuotaProjectLimitOutput { +func (o ProjectContainerResourceLimitOutput) ToProjectContainerResourceLimitOutput() ProjectContainerResourceLimitOutput { return o } -func (o ProjectResourceQuotaProjectLimitOutput) ToProjectResourceQuotaProjectLimitOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitOutput { +func (o ProjectContainerResourceLimitOutput) ToProjectContainerResourceLimitOutputWithContext(ctx context.Context) ProjectContainerResourceLimitOutput { return o } -func (o ProjectResourceQuotaProjectLimitOutput) ToProjectResourceQuotaProjectLimitPtrOutput() ProjectResourceQuotaProjectLimitPtrOutput { - return o.ToProjectResourceQuotaProjectLimitPtrOutputWithContext(context.Background()) +func (o ProjectContainerResourceLimitOutput) ToProjectContainerResourceLimitPtrOutput() ProjectContainerResourceLimitPtrOutput { + return o.ToProjectContainerResourceLimitPtrOutputWithContext(context.Background()) } -func (o ProjectResourceQuotaProjectLimitOutput) ToProjectResourceQuotaProjectLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectResourceQuotaProjectLimit) *ProjectResourceQuotaProjectLimit { +func (o ProjectContainerResourceLimitOutput) ToProjectContainerResourceLimitPtrOutputWithContext(ctx context.Context) ProjectContainerResourceLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectContainerResourceLimit) *ProjectContainerResourceLimit { return &v - }).(ProjectResourceQuotaProjectLimitPtrOutput) -} - -// Limit for config maps in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) ConfigMaps() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) + }).(ProjectContainerResourceLimitPtrOutput) } // Limit for limits cpu in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) +func (o ProjectContainerResourceLimitOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectContainerResourceLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) } // Limit for limits memory in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) -} - -// Limit for persistent volume claims in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) -} - -// Limit for pods in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) Pods() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) -} - -// Limit for replication controllers in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) +func (o ProjectContainerResourceLimitOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectContainerResourceLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) } // Limit for requests cpu in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +func (o ProjectContainerResourceLimitOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectContainerResourceLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) } // Limit for requests memory in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) -} - -// Limit for requests storage in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) RequestsStorage() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) -} - -// Limit for secrets in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) Secrets() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) -} - -func (o ProjectResourceQuotaProjectLimitOutput) Services() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.Services }).(pulumi.StringPtrOutput) -} - -// Limit for services load balancers in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) -} - -// Limit for services node ports in project (string) -func (o ProjectResourceQuotaProjectLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { - return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) +func (o ProjectContainerResourceLimitOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectContainerResourceLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) } -type ProjectResourceQuotaProjectLimitPtrOutput struct{ *pulumi.OutputState } +type ProjectContainerResourceLimitPtrOutput struct{ *pulumi.OutputState } -func (ProjectResourceQuotaProjectLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProjectResourceQuotaProjectLimit)(nil)).Elem() +func (ProjectContainerResourceLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectContainerResourceLimit)(nil)).Elem() } -func (o ProjectResourceQuotaProjectLimitPtrOutput) ToProjectResourceQuotaProjectLimitPtrOutput() ProjectResourceQuotaProjectLimitPtrOutput { +func (o ProjectContainerResourceLimitPtrOutput) ToProjectContainerResourceLimitPtrOutput() ProjectContainerResourceLimitPtrOutput { return o } -func (o ProjectResourceQuotaProjectLimitPtrOutput) ToProjectResourceQuotaProjectLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitPtrOutput { +func (o ProjectContainerResourceLimitPtrOutput) ToProjectContainerResourceLimitPtrOutputWithContext(ctx context.Context) ProjectContainerResourceLimitPtrOutput { return o } -func (o ProjectResourceQuotaProjectLimitPtrOutput) Elem() ProjectResourceQuotaProjectLimitOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) ProjectResourceQuotaProjectLimit { +func (o ProjectContainerResourceLimitPtrOutput) Elem() ProjectContainerResourceLimitOutput { + return o.ApplyT(func(v *ProjectContainerResourceLimit) ProjectContainerResourceLimit { if v != nil { return *v } - var ret ProjectResourceQuotaProjectLimit + var ret ProjectContainerResourceLimit return ret - }).(ProjectResourceQuotaProjectLimitOutput) -} - -// Limit for config maps in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) ConfigMaps() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { - if v == nil { - return nil - } - return v.ConfigMaps - }).(pulumi.StringPtrOutput) + }).(ProjectContainerResourceLimitOutput) } // Limit for limits cpu in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { +func (o ProjectContainerResourceLimitPtrOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectContainerResourceLimit) *string { if v == nil { return nil } @@ -63081,8 +63758,8 @@ func (o ProjectResourceQuotaProjectLimitPtrOutput) LimitsCpu() pulumi.StringPtrO } // Limit for limits memory in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { +func (o ProjectContainerResourceLimitPtrOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectContainerResourceLimit) *string { if v == nil { return nil } @@ -63090,39 +63767,9 @@ func (o ProjectResourceQuotaProjectLimitPtrOutput) LimitsMemory() pulumi.StringP }).(pulumi.StringPtrOutput) } -// Limit for persistent volume claims in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { - if v == nil { - return nil - } - return v.PersistentVolumeClaims - }).(pulumi.StringPtrOutput) -} - -// Limit for pods in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) Pods() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { - if v == nil { - return nil - } - return v.Pods - }).(pulumi.StringPtrOutput) -} - -// Limit for replication controllers in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) ReplicationControllers() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { - if v == nil { - return nil - } - return v.ReplicationControllers - }).(pulumi.StringPtrOutput) -} - // Limit for requests cpu in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { +func (o ProjectContainerResourceLimitPtrOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectContainerResourceLimit) *string { if v == nil { return nil } @@ -63131,8 +63778,8 @@ func (o ProjectResourceQuotaProjectLimitPtrOutput) RequestsCpu() pulumi.StringPt } // Limit for requests memory in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { +func (o ProjectContainerResourceLimitPtrOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectContainerResourceLimit) *string { if v == nil { return nil } @@ -63140,33318 +63787,34326 @@ func (o ProjectResourceQuotaProjectLimitPtrOutput) RequestsMemory() pulumi.Strin }).(pulumi.StringPtrOutput) } -// Limit for requests storage in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) RequestsStorage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { - if v == nil { - return nil - } - return v.RequestsStorage - }).(pulumi.StringPtrOutput) -} - -// Limit for secrets in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) Secrets() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { - if v == nil { - return nil - } - return v.Secrets - }).(pulumi.StringPtrOutput) -} - -func (o ProjectResourceQuotaProjectLimitPtrOutput) Services() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { - if v == nil { - return nil - } - return v.Services - }).(pulumi.StringPtrOutput) -} - -// Limit for services load balancers in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { - if v == nil { - return nil - } - return v.ServicesLoadBalancers - }).(pulumi.StringPtrOutput) -} - -// Limit for services node ports in project (string) -func (o ProjectResourceQuotaProjectLimitPtrOutput) ServicesNodePorts() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { - if v == nil { - return nil - } - return v.ServicesNodePorts - }).(pulumi.StringPtrOutput) -} - -type RegistryRegistry struct { - // Address for registry. - Address string `pulumi:"address"` - // Password for the registry (string) - Password *string `pulumi:"password"` - // Username for the registry (string) - Username *string `pulumi:"username"` -} - -// RegistryRegistryInput is an input type that accepts RegistryRegistryArgs and RegistryRegistryOutput values. -// You can construct a concrete instance of `RegistryRegistryInput` via: -// -// RegistryRegistryArgs{...} -type RegistryRegistryInput interface { - pulumi.Input - - ToRegistryRegistryOutput() RegistryRegistryOutput - ToRegistryRegistryOutputWithContext(context.Context) RegistryRegistryOutput -} - -type RegistryRegistryArgs struct { - // Address for registry. - Address pulumi.StringInput `pulumi:"address"` - // Password for the registry (string) - Password pulumi.StringPtrInput `pulumi:"password"` - // Username for the registry (string) - Username pulumi.StringPtrInput `pulumi:"username"` -} - -func (RegistryRegistryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RegistryRegistry)(nil)).Elem() -} - -func (i RegistryRegistryArgs) ToRegistryRegistryOutput() RegistryRegistryOutput { - return i.ToRegistryRegistryOutputWithContext(context.Background()) -} - -func (i RegistryRegistryArgs) ToRegistryRegistryOutputWithContext(ctx context.Context) RegistryRegistryOutput { - return pulumi.ToOutputWithContext(ctx, i).(RegistryRegistryOutput) +type ProjectLoggingCustomTargetConfig struct { + // SSL certificate for the syslog service (string) + Certificate *string `pulumi:"certificate"` + // SSL client certificate for the syslog service (string) + ClientCert *string `pulumi:"clientCert"` + // SSL client key for the syslog service (string) + ClientKey *string `pulumi:"clientKey"` + // Custom target config content (string) + Content string `pulumi:"content"` } -// RegistryRegistryArrayInput is an input type that accepts RegistryRegistryArray and RegistryRegistryArrayOutput values. -// You can construct a concrete instance of `RegistryRegistryArrayInput` via: +// ProjectLoggingCustomTargetConfigInput is an input type that accepts ProjectLoggingCustomTargetConfigArgs and ProjectLoggingCustomTargetConfigOutput values. +// You can construct a concrete instance of `ProjectLoggingCustomTargetConfigInput` via: // -// RegistryRegistryArray{ RegistryRegistryArgs{...} } -type RegistryRegistryArrayInput interface { +// ProjectLoggingCustomTargetConfigArgs{...} +type ProjectLoggingCustomTargetConfigInput interface { pulumi.Input - ToRegistryRegistryArrayOutput() RegistryRegistryArrayOutput - ToRegistryRegistryArrayOutputWithContext(context.Context) RegistryRegistryArrayOutput -} - -type RegistryRegistryArray []RegistryRegistryInput - -func (RegistryRegistryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RegistryRegistry)(nil)).Elem() -} - -func (i RegistryRegistryArray) ToRegistryRegistryArrayOutput() RegistryRegistryArrayOutput { - return i.ToRegistryRegistryArrayOutputWithContext(context.Background()) -} - -func (i RegistryRegistryArray) ToRegistryRegistryArrayOutputWithContext(ctx context.Context) RegistryRegistryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RegistryRegistryArrayOutput) + ToProjectLoggingCustomTargetConfigOutput() ProjectLoggingCustomTargetConfigOutput + ToProjectLoggingCustomTargetConfigOutputWithContext(context.Context) ProjectLoggingCustomTargetConfigOutput } -type RegistryRegistryOutput struct{ *pulumi.OutputState } - -func (RegistryRegistryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RegistryRegistry)(nil)).Elem() +type ProjectLoggingCustomTargetConfigArgs struct { + // SSL certificate for the syslog service (string) + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + // SSL client certificate for the syslog service (string) + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + // SSL client key for the syslog service (string) + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + // Custom target config content (string) + Content pulumi.StringInput `pulumi:"content"` } -func (o RegistryRegistryOutput) ToRegistryRegistryOutput() RegistryRegistryOutput { - return o +func (ProjectLoggingCustomTargetConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingCustomTargetConfig)(nil)).Elem() } -func (o RegistryRegistryOutput) ToRegistryRegistryOutputWithContext(ctx context.Context) RegistryRegistryOutput { - return o +func (i ProjectLoggingCustomTargetConfigArgs) ToProjectLoggingCustomTargetConfigOutput() ProjectLoggingCustomTargetConfigOutput { + return i.ToProjectLoggingCustomTargetConfigOutputWithContext(context.Background()) } -// Address for registry. -func (o RegistryRegistryOutput) Address() pulumi.StringOutput { - return o.ApplyT(func(v RegistryRegistry) string { return v.Address }).(pulumi.StringOutput) +func (i ProjectLoggingCustomTargetConfigArgs) ToProjectLoggingCustomTargetConfigOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingCustomTargetConfigOutput) } -// Password for the registry (string) -func (o RegistryRegistryOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v RegistryRegistry) *string { return v.Password }).(pulumi.StringPtrOutput) +func (i ProjectLoggingCustomTargetConfigArgs) ToProjectLoggingCustomTargetConfigPtrOutput() ProjectLoggingCustomTargetConfigPtrOutput { + return i.ToProjectLoggingCustomTargetConfigPtrOutputWithContext(context.Background()) } -// Username for the registry (string) -func (o RegistryRegistryOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v RegistryRegistry) *string { return v.Username }).(pulumi.StringPtrOutput) +func (i ProjectLoggingCustomTargetConfigArgs) ToProjectLoggingCustomTargetConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingCustomTargetConfigOutput).ToProjectLoggingCustomTargetConfigPtrOutputWithContext(ctx) } -type RegistryRegistryArrayOutput struct{ *pulumi.OutputState } +// ProjectLoggingCustomTargetConfigPtrInput is an input type that accepts ProjectLoggingCustomTargetConfigArgs, ProjectLoggingCustomTargetConfigPtr and ProjectLoggingCustomTargetConfigPtrOutput values. +// You can construct a concrete instance of `ProjectLoggingCustomTargetConfigPtrInput` via: +// +// ProjectLoggingCustomTargetConfigArgs{...} +// +// or: +// +// nil +type ProjectLoggingCustomTargetConfigPtrInput interface { + pulumi.Input -func (RegistryRegistryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RegistryRegistry)(nil)).Elem() + ToProjectLoggingCustomTargetConfigPtrOutput() ProjectLoggingCustomTargetConfigPtrOutput + ToProjectLoggingCustomTargetConfigPtrOutputWithContext(context.Context) ProjectLoggingCustomTargetConfigPtrOutput } -func (o RegistryRegistryArrayOutput) ToRegistryRegistryArrayOutput() RegistryRegistryArrayOutput { - return o +type projectLoggingCustomTargetConfigPtrType ProjectLoggingCustomTargetConfigArgs + +func ProjectLoggingCustomTargetConfigPtr(v *ProjectLoggingCustomTargetConfigArgs) ProjectLoggingCustomTargetConfigPtrInput { + return (*projectLoggingCustomTargetConfigPtrType)(v) } -func (o RegistryRegistryArrayOutput) ToRegistryRegistryArrayOutputWithContext(ctx context.Context) RegistryRegistryArrayOutput { - return o +func (*projectLoggingCustomTargetConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingCustomTargetConfig)(nil)).Elem() } -func (o RegistryRegistryArrayOutput) Index(i pulumi.IntInput) RegistryRegistryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistryRegistry { - return vs[0].([]RegistryRegistry)[vs[1].(int)] - }).(RegistryRegistryOutput) +func (i *projectLoggingCustomTargetConfigPtrType) ToProjectLoggingCustomTargetConfigPtrOutput() ProjectLoggingCustomTargetConfigPtrOutput { + return i.ToProjectLoggingCustomTargetConfigPtrOutputWithContext(context.Background()) } -type RoleTempalteRule struct { - // Policy rule api groups (list) - ApiGroups []string `pulumi:"apiGroups"` - // Policy rule non resource urls (list) - NonResourceUrls []string `pulumi:"nonResourceUrls"` - // Policy rule resource names (list) - ResourceNames []string `pulumi:"resourceNames"` - // Policy rule resources (list) - Resources []string `pulumi:"resources"` - // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) - Verbs []string `pulumi:"verbs"` +func (i *projectLoggingCustomTargetConfigPtrType) ToProjectLoggingCustomTargetConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingCustomTargetConfigPtrOutput) } -// RoleTempalteRuleInput is an input type that accepts RoleTempalteRuleArgs and RoleTempalteRuleOutput values. -// You can construct a concrete instance of `RoleTempalteRuleInput` via: -// -// RoleTempalteRuleArgs{...} -type RoleTempalteRuleInput interface { - pulumi.Input +type ProjectLoggingCustomTargetConfigOutput struct{ *pulumi.OutputState } - ToRoleTempalteRuleOutput() RoleTempalteRuleOutput - ToRoleTempalteRuleOutputWithContext(context.Context) RoleTempalteRuleOutput +func (ProjectLoggingCustomTargetConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingCustomTargetConfig)(nil)).Elem() } -type RoleTempalteRuleArgs struct { - // Policy rule api groups (list) - ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` - // Policy rule non resource urls (list) - NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` - // Policy rule resource names (list) - ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` - // Policy rule resources (list) - Resources pulumi.StringArrayInput `pulumi:"resources"` - // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) - Verbs pulumi.StringArrayInput `pulumi:"verbs"` +func (o ProjectLoggingCustomTargetConfigOutput) ToProjectLoggingCustomTargetConfigOutput() ProjectLoggingCustomTargetConfigOutput { + return o } -func (RoleTempalteRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RoleTempalteRule)(nil)).Elem() +func (o ProjectLoggingCustomTargetConfigOutput) ToProjectLoggingCustomTargetConfigOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigOutput { + return o } -func (i RoleTempalteRuleArgs) ToRoleTempalteRuleOutput() RoleTempalteRuleOutput { - return i.ToRoleTempalteRuleOutputWithContext(context.Background()) +func (o ProjectLoggingCustomTargetConfigOutput) ToProjectLoggingCustomTargetConfigPtrOutput() ProjectLoggingCustomTargetConfigPtrOutput { + return o.ToProjectLoggingCustomTargetConfigPtrOutputWithContext(context.Background()) } -func (i RoleTempalteRuleArgs) ToRoleTempalteRuleOutputWithContext(ctx context.Context) RoleTempalteRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(RoleTempalteRuleOutput) +func (o ProjectLoggingCustomTargetConfigOutput) ToProjectLoggingCustomTargetConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingCustomTargetConfig) *ProjectLoggingCustomTargetConfig { + return &v + }).(ProjectLoggingCustomTargetConfigPtrOutput) } -// RoleTempalteRuleArrayInput is an input type that accepts RoleTempalteRuleArray and RoleTempalteRuleArrayOutput values. -// You can construct a concrete instance of `RoleTempalteRuleArrayInput` via: -// -// RoleTempalteRuleArray{ RoleTempalteRuleArgs{...} } -type RoleTempalteRuleArrayInput interface { - pulumi.Input - - ToRoleTempalteRuleArrayOutput() RoleTempalteRuleArrayOutput - ToRoleTempalteRuleArrayOutputWithContext(context.Context) RoleTempalteRuleArrayOutput +// SSL certificate for the syslog service (string) +func (o ProjectLoggingCustomTargetConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingCustomTargetConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -type RoleTempalteRuleArray []RoleTempalteRuleInput - -func (RoleTempalteRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RoleTempalteRule)(nil)).Elem() +// SSL client certificate for the syslog service (string) +func (o ProjectLoggingCustomTargetConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingCustomTargetConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) } -func (i RoleTempalteRuleArray) ToRoleTempalteRuleArrayOutput() RoleTempalteRuleArrayOutput { - return i.ToRoleTempalteRuleArrayOutputWithContext(context.Background()) +// SSL client key for the syslog service (string) +func (o ProjectLoggingCustomTargetConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingCustomTargetConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) } -func (i RoleTempalteRuleArray) ToRoleTempalteRuleArrayOutputWithContext(ctx context.Context) RoleTempalteRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RoleTempalteRuleArrayOutput) +// Custom target config content (string) +func (o ProjectLoggingCustomTargetConfigOutput) Content() pulumi.StringOutput { + return o.ApplyT(func(v ProjectLoggingCustomTargetConfig) string { return v.Content }).(pulumi.StringOutput) } -type RoleTempalteRuleOutput struct{ *pulumi.OutputState } +type ProjectLoggingCustomTargetConfigPtrOutput struct{ *pulumi.OutputState } -func (RoleTempalteRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RoleTempalteRule)(nil)).Elem() +func (ProjectLoggingCustomTargetConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingCustomTargetConfig)(nil)).Elem() } -func (o RoleTempalteRuleOutput) ToRoleTempalteRuleOutput() RoleTempalteRuleOutput { +func (o ProjectLoggingCustomTargetConfigPtrOutput) ToProjectLoggingCustomTargetConfigPtrOutput() ProjectLoggingCustomTargetConfigPtrOutput { return o } -func (o RoleTempalteRuleOutput) ToRoleTempalteRuleOutputWithContext(ctx context.Context) RoleTempalteRuleOutput { +func (o ProjectLoggingCustomTargetConfigPtrOutput) ToProjectLoggingCustomTargetConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingCustomTargetConfigPtrOutput { return o } -// Policy rule api groups (list) -func (o RoleTempalteRuleOutput) ApiGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v RoleTempalteRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) -} - -// Policy rule non resource urls (list) -func (o RoleTempalteRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v RoleTempalteRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) +func (o ProjectLoggingCustomTargetConfigPtrOutput) Elem() ProjectLoggingCustomTargetConfigOutput { + return o.ApplyT(func(v *ProjectLoggingCustomTargetConfig) ProjectLoggingCustomTargetConfig { + if v != nil { + return *v + } + var ret ProjectLoggingCustomTargetConfig + return ret + }).(ProjectLoggingCustomTargetConfigOutput) } -// Policy rule resource names (list) -func (o RoleTempalteRuleOutput) ResourceNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v RoleTempalteRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) +// SSL certificate for the syslog service (string) +func (o ProjectLoggingCustomTargetConfigPtrOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingCustomTargetConfig) *string { + if v == nil { + return nil + } + return v.Certificate + }).(pulumi.StringPtrOutput) } -// Policy rule resources (list) -func (o RoleTempalteRuleOutput) Resources() pulumi.StringArrayOutput { - return o.ApplyT(func(v RoleTempalteRule) []string { return v.Resources }).(pulumi.StringArrayOutput) +// SSL client certificate for the syslog service (string) +func (o ProjectLoggingCustomTargetConfigPtrOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingCustomTargetConfig) *string { + if v == nil { + return nil + } + return v.ClientCert + }).(pulumi.StringPtrOutput) } -// Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) -func (o RoleTempalteRuleOutput) Verbs() pulumi.StringArrayOutput { - return o.ApplyT(func(v RoleTempalteRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) +// SSL client key for the syslog service (string) +func (o ProjectLoggingCustomTargetConfigPtrOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingCustomTargetConfig) *string { + if v == nil { + return nil + } + return v.ClientKey + }).(pulumi.StringPtrOutput) } -type RoleTempalteRuleArrayOutput struct{ *pulumi.OutputState } - -func (RoleTempalteRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RoleTempalteRule)(nil)).Elem() +// Custom target config content (string) +func (o ProjectLoggingCustomTargetConfigPtrOutput) Content() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingCustomTargetConfig) *string { + if v == nil { + return nil + } + return &v.Content + }).(pulumi.StringPtrOutput) } -func (o RoleTempalteRuleArrayOutput) ToRoleTempalteRuleArrayOutput() RoleTempalteRuleArrayOutput { - return o +type ProjectLoggingElasticsearchConfig struct { + // User password for the elascticsearch service (string) + AuthPassword *string `pulumi:"authPassword"` + // Username for the elascticsearch service (string) + AuthUsername *string `pulumi:"authUsername"` + // SSL certificate for the syslog service (string) + Certificate *string `pulumi:"certificate"` + // SSL client certificate for the syslog service (string) + ClientCert *string `pulumi:"clientCert"` + // SSL client key for the syslog service (string) + ClientKey *string `pulumi:"clientKey"` + // SSL client key password for the splunk service (string) + ClientKeyPass *string `pulumi:"clientKeyPass"` + // Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) + DateFormat *string `pulumi:"dateFormat"` + // Endpoint of the syslog service (string) + Endpoint string `pulumi:"endpoint"` + // Index prefix for the elascticsearch logs. Default: `local` (string) + IndexPrefix *string `pulumi:"indexPrefix"` + // SSL verify for the syslog service (bool) + SslVerify *bool `pulumi:"sslVerify"` + // SSL version for the elascticsearch service (string) + SslVersion *string `pulumi:"sslVersion"` } -func (o RoleTempalteRuleArrayOutput) ToRoleTempalteRuleArrayOutputWithContext(ctx context.Context) RoleTempalteRuleArrayOutput { - return o -} +// ProjectLoggingElasticsearchConfigInput is an input type that accepts ProjectLoggingElasticsearchConfigArgs and ProjectLoggingElasticsearchConfigOutput values. +// You can construct a concrete instance of `ProjectLoggingElasticsearchConfigInput` via: +// +// ProjectLoggingElasticsearchConfigArgs{...} +type ProjectLoggingElasticsearchConfigInput interface { + pulumi.Input -func (o RoleTempalteRuleArrayOutput) Index(i pulumi.IntInput) RoleTempalteRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoleTempalteRule { - return vs[0].([]RoleTempalteRule)[vs[1].(int)] - }).(RoleTempalteRuleOutput) + ToProjectLoggingElasticsearchConfigOutput() ProjectLoggingElasticsearchConfigOutput + ToProjectLoggingElasticsearchConfigOutputWithContext(context.Context) ProjectLoggingElasticsearchConfigOutput } -type RoleTemplateRule struct { - // Policy rule api groups (list) - ApiGroups []string `pulumi:"apiGroups"` - // Policy rule non resource urls (list) - NonResourceUrls []string `pulumi:"nonResourceUrls"` - // Policy rule resource names (list) - ResourceNames []string `pulumi:"resourceNames"` - // Policy rule resources (list) - Resources []string `pulumi:"resources"` - // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) - Verbs []string `pulumi:"verbs"` +type ProjectLoggingElasticsearchConfigArgs struct { + // User password for the elascticsearch service (string) + AuthPassword pulumi.StringPtrInput `pulumi:"authPassword"` + // Username for the elascticsearch service (string) + AuthUsername pulumi.StringPtrInput `pulumi:"authUsername"` + // SSL certificate for the syslog service (string) + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + // SSL client certificate for the syslog service (string) + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + // SSL client key for the syslog service (string) + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + // SSL client key password for the splunk service (string) + ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` + // Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) + DateFormat pulumi.StringPtrInput `pulumi:"dateFormat"` + // Endpoint of the syslog service (string) + Endpoint pulumi.StringInput `pulumi:"endpoint"` + // Index prefix for the elascticsearch logs. Default: `local` (string) + IndexPrefix pulumi.StringPtrInput `pulumi:"indexPrefix"` + // SSL verify for the syslog service (bool) + SslVerify pulumi.BoolPtrInput `pulumi:"sslVerify"` + // SSL version for the elascticsearch service (string) + SslVersion pulumi.StringPtrInput `pulumi:"sslVersion"` } -// RoleTemplateRuleInput is an input type that accepts RoleTemplateRuleArgs and RoleTemplateRuleOutput values. -// You can construct a concrete instance of `RoleTemplateRuleInput` via: -// -// RoleTemplateRuleArgs{...} -type RoleTemplateRuleInput interface { - pulumi.Input - - ToRoleTemplateRuleOutput() RoleTemplateRuleOutput - ToRoleTemplateRuleOutputWithContext(context.Context) RoleTemplateRuleOutput +func (ProjectLoggingElasticsearchConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingElasticsearchConfig)(nil)).Elem() } -type RoleTemplateRuleArgs struct { - // Policy rule api groups (list) - ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` - // Policy rule non resource urls (list) - NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` - // Policy rule resource names (list) - ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` - // Policy rule resources (list) - Resources pulumi.StringArrayInput `pulumi:"resources"` - // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) - Verbs pulumi.StringArrayInput `pulumi:"verbs"` +func (i ProjectLoggingElasticsearchConfigArgs) ToProjectLoggingElasticsearchConfigOutput() ProjectLoggingElasticsearchConfigOutput { + return i.ToProjectLoggingElasticsearchConfigOutputWithContext(context.Background()) } -func (RoleTemplateRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RoleTemplateRule)(nil)).Elem() +func (i ProjectLoggingElasticsearchConfigArgs) ToProjectLoggingElasticsearchConfigOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingElasticsearchConfigOutput) } -func (i RoleTemplateRuleArgs) ToRoleTemplateRuleOutput() RoleTemplateRuleOutput { - return i.ToRoleTemplateRuleOutputWithContext(context.Background()) +func (i ProjectLoggingElasticsearchConfigArgs) ToProjectLoggingElasticsearchConfigPtrOutput() ProjectLoggingElasticsearchConfigPtrOutput { + return i.ToProjectLoggingElasticsearchConfigPtrOutputWithContext(context.Background()) } -func (i RoleTemplateRuleArgs) ToRoleTemplateRuleOutputWithContext(ctx context.Context) RoleTemplateRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(RoleTemplateRuleOutput) +func (i ProjectLoggingElasticsearchConfigArgs) ToProjectLoggingElasticsearchConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingElasticsearchConfigOutput).ToProjectLoggingElasticsearchConfigPtrOutputWithContext(ctx) } -// RoleTemplateRuleArrayInput is an input type that accepts RoleTemplateRuleArray and RoleTemplateRuleArrayOutput values. -// You can construct a concrete instance of `RoleTemplateRuleArrayInput` via: +// ProjectLoggingElasticsearchConfigPtrInput is an input type that accepts ProjectLoggingElasticsearchConfigArgs, ProjectLoggingElasticsearchConfigPtr and ProjectLoggingElasticsearchConfigPtrOutput values. +// You can construct a concrete instance of `ProjectLoggingElasticsearchConfigPtrInput` via: // -// RoleTemplateRuleArray{ RoleTemplateRuleArgs{...} } -type RoleTemplateRuleArrayInput interface { +// ProjectLoggingElasticsearchConfigArgs{...} +// +// or: +// +// nil +type ProjectLoggingElasticsearchConfigPtrInput interface { pulumi.Input - ToRoleTemplateRuleArrayOutput() RoleTemplateRuleArrayOutput - ToRoleTemplateRuleArrayOutputWithContext(context.Context) RoleTemplateRuleArrayOutput + ToProjectLoggingElasticsearchConfigPtrOutput() ProjectLoggingElasticsearchConfigPtrOutput + ToProjectLoggingElasticsearchConfigPtrOutputWithContext(context.Context) ProjectLoggingElasticsearchConfigPtrOutput } -type RoleTemplateRuleArray []RoleTemplateRuleInput +type projectLoggingElasticsearchConfigPtrType ProjectLoggingElasticsearchConfigArgs -func (RoleTemplateRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RoleTemplateRule)(nil)).Elem() +func ProjectLoggingElasticsearchConfigPtr(v *ProjectLoggingElasticsearchConfigArgs) ProjectLoggingElasticsearchConfigPtrInput { + return (*projectLoggingElasticsearchConfigPtrType)(v) } -func (i RoleTemplateRuleArray) ToRoleTemplateRuleArrayOutput() RoleTemplateRuleArrayOutput { - return i.ToRoleTemplateRuleArrayOutputWithContext(context.Background()) +func (*projectLoggingElasticsearchConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingElasticsearchConfig)(nil)).Elem() } -func (i RoleTemplateRuleArray) ToRoleTemplateRuleArrayOutputWithContext(ctx context.Context) RoleTemplateRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RoleTemplateRuleArrayOutput) +func (i *projectLoggingElasticsearchConfigPtrType) ToProjectLoggingElasticsearchConfigPtrOutput() ProjectLoggingElasticsearchConfigPtrOutput { + return i.ToProjectLoggingElasticsearchConfigPtrOutputWithContext(context.Background()) } -type RoleTemplateRuleOutput struct{ *pulumi.OutputState } - -func (RoleTemplateRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RoleTemplateRule)(nil)).Elem() +func (i *projectLoggingElasticsearchConfigPtrType) ToProjectLoggingElasticsearchConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingElasticsearchConfigPtrOutput) } -func (o RoleTemplateRuleOutput) ToRoleTemplateRuleOutput() RoleTemplateRuleOutput { - return o -} +type ProjectLoggingElasticsearchConfigOutput struct{ *pulumi.OutputState } -func (o RoleTemplateRuleOutput) ToRoleTemplateRuleOutputWithContext(ctx context.Context) RoleTemplateRuleOutput { - return o +func (ProjectLoggingElasticsearchConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingElasticsearchConfig)(nil)).Elem() } -// Policy rule api groups (list) -func (o RoleTemplateRuleOutput) ApiGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v RoleTemplateRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) +func (o ProjectLoggingElasticsearchConfigOutput) ToProjectLoggingElasticsearchConfigOutput() ProjectLoggingElasticsearchConfigOutput { + return o } -// Policy rule non resource urls (list) -func (o RoleTemplateRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v RoleTemplateRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) +func (o ProjectLoggingElasticsearchConfigOutput) ToProjectLoggingElasticsearchConfigOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigOutput { + return o } -// Policy rule resource names (list) -func (o RoleTemplateRuleOutput) ResourceNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v RoleTemplateRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) +func (o ProjectLoggingElasticsearchConfigOutput) ToProjectLoggingElasticsearchConfigPtrOutput() ProjectLoggingElasticsearchConfigPtrOutput { + return o.ToProjectLoggingElasticsearchConfigPtrOutputWithContext(context.Background()) } -// Policy rule resources (list) -func (o RoleTemplateRuleOutput) Resources() pulumi.StringArrayOutput { - return o.ApplyT(func(v RoleTemplateRule) []string { return v.Resources }).(pulumi.StringArrayOutput) +func (o ProjectLoggingElasticsearchConfigOutput) ToProjectLoggingElasticsearchConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingElasticsearchConfig) *ProjectLoggingElasticsearchConfig { + return &v + }).(ProjectLoggingElasticsearchConfigPtrOutput) } -// Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) -func (o RoleTemplateRuleOutput) Verbs() pulumi.StringArrayOutput { - return o.ApplyT(func(v RoleTemplateRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) +// User password for the elascticsearch service (string) +func (o ProjectLoggingElasticsearchConfigOutput) AuthPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.AuthPassword }).(pulumi.StringPtrOutput) } -type RoleTemplateRuleArrayOutput struct{ *pulumi.OutputState } - -func (RoleTemplateRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RoleTemplateRule)(nil)).Elem() +// Username for the elascticsearch service (string) +func (o ProjectLoggingElasticsearchConfigOutput) AuthUsername() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.AuthUsername }).(pulumi.StringPtrOutput) } -func (o RoleTemplateRuleArrayOutput) ToRoleTemplateRuleArrayOutput() RoleTemplateRuleArrayOutput { - return o +// SSL certificate for the syslog service (string) +func (o ProjectLoggingElasticsearchConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -func (o RoleTemplateRuleArrayOutput) ToRoleTemplateRuleArrayOutputWithContext(ctx context.Context) RoleTemplateRuleArrayOutput { - return o +// SSL client certificate for the syslog service (string) +func (o ProjectLoggingElasticsearchConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) } -func (o RoleTemplateRuleArrayOutput) Index(i pulumi.IntInput) RoleTemplateRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoleTemplateRule { - return vs[0].([]RoleTemplateRule)[vs[1].(int)] - }).(RoleTemplateRuleOutput) +// SSL client key for the syslog service (string) +func (o ProjectLoggingElasticsearchConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) } -type GetClusterAksConfig struct { - AadServerAppSecret *string `pulumi:"aadServerAppSecret"` - AadTenantId *string `pulumi:"aadTenantId"` - AddClientAppId *string `pulumi:"addClientAppId"` - AddServerAppId *string `pulumi:"addServerAppId"` - AdminUsername *string `pulumi:"adminUsername"` - AgentDnsPrefix string `pulumi:"agentDnsPrefix"` - AgentOsDiskSize *int `pulumi:"agentOsDiskSize"` - AgentPoolName *string `pulumi:"agentPoolName"` - AgentStorageProfile *string `pulumi:"agentStorageProfile"` - AgentVmSize *string `pulumi:"agentVmSize"` - AuthBaseUrl *string `pulumi:"authBaseUrl"` - BaseUrl *string `pulumi:"baseUrl"` - ClientId string `pulumi:"clientId"` - ClientSecret string `pulumi:"clientSecret"` - Count *int `pulumi:"count"` - DnsServiceIp *string `pulumi:"dnsServiceIp"` - DockerBridgeCidr *string `pulumi:"dockerBridgeCidr"` - EnableHttpApplicationRouting *bool `pulumi:"enableHttpApplicationRouting"` - EnableMonitoring *bool `pulumi:"enableMonitoring"` - KubernetesVersion string `pulumi:"kubernetesVersion"` - LoadBalancerSku string `pulumi:"loadBalancerSku"` - Location *string `pulumi:"location"` - LogAnalyticsWorkspace *string `pulumi:"logAnalyticsWorkspace"` - LogAnalyticsWorkspaceResourceGroup *string `pulumi:"logAnalyticsWorkspaceResourceGroup"` - MasterDnsPrefix string `pulumi:"masterDnsPrefix"` - MaxPods *int `pulumi:"maxPods"` - NetworkPlugin *string `pulumi:"networkPlugin"` - NetworkPolicy *string `pulumi:"networkPolicy"` - PodCidr *string `pulumi:"podCidr"` - ResourceGroup string `pulumi:"resourceGroup"` - ServiceCidr *string `pulumi:"serviceCidr"` - SshPublicKeyContents string `pulumi:"sshPublicKeyContents"` - Subnet string `pulumi:"subnet"` - SubscriptionId string `pulumi:"subscriptionId"` - // Deprecated: Use tags argument instead as []string - Tag map[string]interface{} `pulumi:"tag"` - Tags []string `pulumi:"tags"` - TenantId string `pulumi:"tenantId"` - VirtualNetwork string `pulumi:"virtualNetwork"` - VirtualNetworkResourceGroup string `pulumi:"virtualNetworkResourceGroup"` +// SSL client key password for the splunk service (string) +func (o ProjectLoggingElasticsearchConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) } -// GetClusterAksConfigInput is an input type that accepts GetClusterAksConfigArgs and GetClusterAksConfigOutput values. -// You can construct a concrete instance of `GetClusterAksConfigInput` via: -// -// GetClusterAksConfigArgs{...} -type GetClusterAksConfigInput interface { - pulumi.Input - - ToGetClusterAksConfigOutput() GetClusterAksConfigOutput - ToGetClusterAksConfigOutputWithContext(context.Context) GetClusterAksConfigOutput +// Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) +func (o ProjectLoggingElasticsearchConfigOutput) DateFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.DateFormat }).(pulumi.StringPtrOutput) } -type GetClusterAksConfigArgs struct { - AadServerAppSecret pulumi.StringPtrInput `pulumi:"aadServerAppSecret"` - AadTenantId pulumi.StringPtrInput `pulumi:"aadTenantId"` - AddClientAppId pulumi.StringPtrInput `pulumi:"addClientAppId"` - AddServerAppId pulumi.StringPtrInput `pulumi:"addServerAppId"` - AdminUsername pulumi.StringPtrInput `pulumi:"adminUsername"` - AgentDnsPrefix pulumi.StringInput `pulumi:"agentDnsPrefix"` - AgentOsDiskSize pulumi.IntPtrInput `pulumi:"agentOsDiskSize"` - AgentPoolName pulumi.StringPtrInput `pulumi:"agentPoolName"` - AgentStorageProfile pulumi.StringPtrInput `pulumi:"agentStorageProfile"` - AgentVmSize pulumi.StringPtrInput `pulumi:"agentVmSize"` - AuthBaseUrl pulumi.StringPtrInput `pulumi:"authBaseUrl"` - BaseUrl pulumi.StringPtrInput `pulumi:"baseUrl"` - ClientId pulumi.StringInput `pulumi:"clientId"` - ClientSecret pulumi.StringInput `pulumi:"clientSecret"` - Count pulumi.IntPtrInput `pulumi:"count"` - DnsServiceIp pulumi.StringPtrInput `pulumi:"dnsServiceIp"` - DockerBridgeCidr pulumi.StringPtrInput `pulumi:"dockerBridgeCidr"` - EnableHttpApplicationRouting pulumi.BoolPtrInput `pulumi:"enableHttpApplicationRouting"` - EnableMonitoring pulumi.BoolPtrInput `pulumi:"enableMonitoring"` - KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` - LoadBalancerSku pulumi.StringInput `pulumi:"loadBalancerSku"` - Location pulumi.StringPtrInput `pulumi:"location"` - LogAnalyticsWorkspace pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspace"` - LogAnalyticsWorkspaceResourceGroup pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceResourceGroup"` - MasterDnsPrefix pulumi.StringInput `pulumi:"masterDnsPrefix"` - MaxPods pulumi.IntPtrInput `pulumi:"maxPods"` - NetworkPlugin pulumi.StringPtrInput `pulumi:"networkPlugin"` - NetworkPolicy pulumi.StringPtrInput `pulumi:"networkPolicy"` - PodCidr pulumi.StringPtrInput `pulumi:"podCidr"` - ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` - ServiceCidr pulumi.StringPtrInput `pulumi:"serviceCidr"` - SshPublicKeyContents pulumi.StringInput `pulumi:"sshPublicKeyContents"` - Subnet pulumi.StringInput `pulumi:"subnet"` - SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` - // Deprecated: Use tags argument instead as []string - Tag pulumi.MapInput `pulumi:"tag"` - Tags pulumi.StringArrayInput `pulumi:"tags"` - TenantId pulumi.StringInput `pulumi:"tenantId"` - VirtualNetwork pulumi.StringInput `pulumi:"virtualNetwork"` - VirtualNetworkResourceGroup pulumi.StringInput `pulumi:"virtualNetworkResourceGroup"` +// Endpoint of the syslog service (string) +func (o ProjectLoggingElasticsearchConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) string { return v.Endpoint }).(pulumi.StringOutput) } -func (GetClusterAksConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAksConfig)(nil)).Elem() +// Index prefix for the elascticsearch logs. Default: `local` (string) +func (o ProjectLoggingElasticsearchConfigOutput) IndexPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.IndexPrefix }).(pulumi.StringPtrOutput) } -func (i GetClusterAksConfigArgs) ToGetClusterAksConfigOutput() GetClusterAksConfigOutput { - return i.ToGetClusterAksConfigOutputWithContext(context.Background()) +// SSL verify for the syslog service (bool) +func (o ProjectLoggingElasticsearchConfigOutput) SslVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *bool { return v.SslVerify }).(pulumi.BoolPtrOutput) } -func (i GetClusterAksConfigArgs) ToGetClusterAksConfigOutputWithContext(ctx context.Context) GetClusterAksConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterAksConfigOutput) +// SSL version for the elascticsearch service (string) +func (o ProjectLoggingElasticsearchConfigOutput) SslVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingElasticsearchConfig) *string { return v.SslVersion }).(pulumi.StringPtrOutput) } -type GetClusterAksConfigOutput struct{ *pulumi.OutputState } +type ProjectLoggingElasticsearchConfigPtrOutput struct{ *pulumi.OutputState } -func (GetClusterAksConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAksConfig)(nil)).Elem() +func (ProjectLoggingElasticsearchConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingElasticsearchConfig)(nil)).Elem() } -func (o GetClusterAksConfigOutput) ToGetClusterAksConfigOutput() GetClusterAksConfigOutput { +func (o ProjectLoggingElasticsearchConfigPtrOutput) ToProjectLoggingElasticsearchConfigPtrOutput() ProjectLoggingElasticsearchConfigPtrOutput { return o } -func (o GetClusterAksConfigOutput) ToGetClusterAksConfigOutputWithContext(ctx context.Context) GetClusterAksConfigOutput { +func (o ProjectLoggingElasticsearchConfigPtrOutput) ToProjectLoggingElasticsearchConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingElasticsearchConfigPtrOutput { return o } -func (o GetClusterAksConfigOutput) AadServerAppSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AadServerAppSecret }).(pulumi.StringPtrOutput) -} - -func (o GetClusterAksConfigOutput) AadTenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AadTenantId }).(pulumi.StringPtrOutput) -} - -func (o GetClusterAksConfigOutput) AddClientAppId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AddClientAppId }).(pulumi.StringPtrOutput) +func (o ProjectLoggingElasticsearchConfigPtrOutput) Elem() ProjectLoggingElasticsearchConfigOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) ProjectLoggingElasticsearchConfig { + if v != nil { + return *v + } + var ret ProjectLoggingElasticsearchConfig + return ret + }).(ProjectLoggingElasticsearchConfigOutput) } -func (o GetClusterAksConfigOutput) AddServerAppId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AddServerAppId }).(pulumi.StringPtrOutput) +// User password for the elascticsearch service (string) +func (o ProjectLoggingElasticsearchConfigPtrOutput) AuthPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { + if v == nil { + return nil + } + return v.AuthPassword + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) AdminUsername() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AdminUsername }).(pulumi.StringPtrOutput) +// Username for the elascticsearch service (string) +func (o ProjectLoggingElasticsearchConfigPtrOutput) AuthUsername() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { + if v == nil { + return nil + } + return v.AuthUsername + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) AgentDnsPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.AgentDnsPrefix }).(pulumi.StringOutput) +// SSL certificate for the syslog service (string) +func (o ProjectLoggingElasticsearchConfigPtrOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { + if v == nil { + return nil + } + return v.Certificate + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) AgentOsDiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *int { return v.AgentOsDiskSize }).(pulumi.IntPtrOutput) +// SSL client certificate for the syslog service (string) +func (o ProjectLoggingElasticsearchConfigPtrOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { + if v == nil { + return nil + } + return v.ClientCert + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) AgentPoolName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AgentPoolName }).(pulumi.StringPtrOutput) +// SSL client key for the syslog service (string) +func (o ProjectLoggingElasticsearchConfigPtrOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { + if v == nil { + return nil + } + return v.ClientKey + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) AgentStorageProfile() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AgentStorageProfile }).(pulumi.StringPtrOutput) +// SSL client key password for the splunk service (string) +func (o ProjectLoggingElasticsearchConfigPtrOutput) ClientKeyPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { + if v == nil { + return nil + } + return v.ClientKeyPass + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) AgentVmSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AgentVmSize }).(pulumi.StringPtrOutput) +// Date format for the elascticsearch logs. Default: `YYYY-MM-DD` (string) +func (o ProjectLoggingElasticsearchConfigPtrOutput) DateFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { + if v == nil { + return nil + } + return v.DateFormat + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) AuthBaseUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AuthBaseUrl }).(pulumi.StringPtrOutput) +// Endpoint of the syslog service (string) +func (o ProjectLoggingElasticsearchConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { + if v == nil { + return nil + } + return &v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) BaseUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.BaseUrl }).(pulumi.StringPtrOutput) +// Index prefix for the elascticsearch logs. Default: `local` (string) +func (o ProjectLoggingElasticsearchConfigPtrOutput) IndexPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { + if v == nil { + return nil + } + return v.IndexPrefix + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) ClientId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.ClientId }).(pulumi.StringOutput) +// SSL verify for the syslog service (bool) +func (o ProjectLoggingElasticsearchConfigPtrOutput) SslVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *bool { + if v == nil { + return nil + } + return v.SslVerify + }).(pulumi.BoolPtrOutput) } -func (o GetClusterAksConfigOutput) ClientSecret() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.ClientSecret }).(pulumi.StringOutput) +// SSL version for the elascticsearch service (string) +func (o ProjectLoggingElasticsearchConfigPtrOutput) SslVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingElasticsearchConfig) *string { + if v == nil { + return nil + } + return v.SslVersion + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *int { return v.Count }).(pulumi.IntPtrOutput) +type ProjectLoggingFluentdConfig struct { + // SSL certificate for the syslog service (string) + Certificate *string `pulumi:"certificate"` + // Compress data for the fluentd service (bool) + Compress *bool `pulumi:"compress"` + // Enable TLS for the fluentd service (bool) + EnableTls *bool `pulumi:"enableTls"` + // Servers for the fluentd service (list) + FluentServers []ProjectLoggingFluentdConfigFluentServer `pulumi:"fluentServers"` } -func (o GetClusterAksConfigOutput) DnsServiceIp() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.DnsServiceIp }).(pulumi.StringPtrOutput) -} +// ProjectLoggingFluentdConfigInput is an input type that accepts ProjectLoggingFluentdConfigArgs and ProjectLoggingFluentdConfigOutput values. +// You can construct a concrete instance of `ProjectLoggingFluentdConfigInput` via: +// +// ProjectLoggingFluentdConfigArgs{...} +type ProjectLoggingFluentdConfigInput interface { + pulumi.Input -func (o GetClusterAksConfigOutput) DockerBridgeCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.DockerBridgeCidr }).(pulumi.StringPtrOutput) + ToProjectLoggingFluentdConfigOutput() ProjectLoggingFluentdConfigOutput + ToProjectLoggingFluentdConfigOutputWithContext(context.Context) ProjectLoggingFluentdConfigOutput } -func (o GetClusterAksConfigOutput) EnableHttpApplicationRouting() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *bool { return v.EnableHttpApplicationRouting }).(pulumi.BoolPtrOutput) +type ProjectLoggingFluentdConfigArgs struct { + // SSL certificate for the syslog service (string) + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + // Compress data for the fluentd service (bool) + Compress pulumi.BoolPtrInput `pulumi:"compress"` + // Enable TLS for the fluentd service (bool) + EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` + // Servers for the fluentd service (list) + FluentServers ProjectLoggingFluentdConfigFluentServerArrayInput `pulumi:"fluentServers"` } -func (o GetClusterAksConfigOutput) EnableMonitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *bool { return v.EnableMonitoring }).(pulumi.BoolPtrOutput) +func (ProjectLoggingFluentdConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingFluentdConfig)(nil)).Elem() } -func (o GetClusterAksConfigOutput) KubernetesVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.KubernetesVersion }).(pulumi.StringOutput) +func (i ProjectLoggingFluentdConfigArgs) ToProjectLoggingFluentdConfigOutput() ProjectLoggingFluentdConfigOutput { + return i.ToProjectLoggingFluentdConfigOutputWithContext(context.Background()) } -func (o GetClusterAksConfigOutput) LoadBalancerSku() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.LoadBalancerSku }).(pulumi.StringOutput) +func (i ProjectLoggingFluentdConfigArgs) ToProjectLoggingFluentdConfigOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingFluentdConfigOutput) } -func (o GetClusterAksConfigOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.Location }).(pulumi.StringPtrOutput) +func (i ProjectLoggingFluentdConfigArgs) ToProjectLoggingFluentdConfigPtrOutput() ProjectLoggingFluentdConfigPtrOutput { + return i.ToProjectLoggingFluentdConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterAksConfigOutput) LogAnalyticsWorkspace() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.LogAnalyticsWorkspace }).(pulumi.StringPtrOutput) +func (i ProjectLoggingFluentdConfigArgs) ToProjectLoggingFluentdConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingFluentdConfigOutput).ToProjectLoggingFluentdConfigPtrOutputWithContext(ctx) } -func (o GetClusterAksConfigOutput) LogAnalyticsWorkspaceResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.LogAnalyticsWorkspaceResourceGroup }).(pulumi.StringPtrOutput) -} +// ProjectLoggingFluentdConfigPtrInput is an input type that accepts ProjectLoggingFluentdConfigArgs, ProjectLoggingFluentdConfigPtr and ProjectLoggingFluentdConfigPtrOutput values. +// You can construct a concrete instance of `ProjectLoggingFluentdConfigPtrInput` via: +// +// ProjectLoggingFluentdConfigArgs{...} +// +// or: +// +// nil +type ProjectLoggingFluentdConfigPtrInput interface { + pulumi.Input -func (o GetClusterAksConfigOutput) MasterDnsPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.MasterDnsPrefix }).(pulumi.StringOutput) + ToProjectLoggingFluentdConfigPtrOutput() ProjectLoggingFluentdConfigPtrOutput + ToProjectLoggingFluentdConfigPtrOutputWithContext(context.Context) ProjectLoggingFluentdConfigPtrOutput } -func (o GetClusterAksConfigOutput) MaxPods() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *int { return v.MaxPods }).(pulumi.IntPtrOutput) -} +type projectLoggingFluentdConfigPtrType ProjectLoggingFluentdConfigArgs -func (o GetClusterAksConfigOutput) NetworkPlugin() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.NetworkPlugin }).(pulumi.StringPtrOutput) +func ProjectLoggingFluentdConfigPtr(v *ProjectLoggingFluentdConfigArgs) ProjectLoggingFluentdConfigPtrInput { + return (*projectLoggingFluentdConfigPtrType)(v) } -func (o GetClusterAksConfigOutput) NetworkPolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.NetworkPolicy }).(pulumi.StringPtrOutput) +func (*projectLoggingFluentdConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingFluentdConfig)(nil)).Elem() } -func (o GetClusterAksConfigOutput) PodCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.PodCidr }).(pulumi.StringPtrOutput) +func (i *projectLoggingFluentdConfigPtrType) ToProjectLoggingFluentdConfigPtrOutput() ProjectLoggingFluentdConfigPtrOutput { + return i.ToProjectLoggingFluentdConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterAksConfigOutput) ResourceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.ResourceGroup }).(pulumi.StringOutput) +func (i *projectLoggingFluentdConfigPtrType) ToProjectLoggingFluentdConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingFluentdConfigPtrOutput) } -func (o GetClusterAksConfigOutput) ServiceCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfig) *string { return v.ServiceCidr }).(pulumi.StringPtrOutput) -} +type ProjectLoggingFluentdConfigOutput struct{ *pulumi.OutputState } -func (o GetClusterAksConfigOutput) SshPublicKeyContents() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.SshPublicKeyContents }).(pulumi.StringOutput) +func (ProjectLoggingFluentdConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingFluentdConfig)(nil)).Elem() } -func (o GetClusterAksConfigOutput) Subnet() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.Subnet }).(pulumi.StringOutput) +func (o ProjectLoggingFluentdConfigOutput) ToProjectLoggingFluentdConfigOutput() ProjectLoggingFluentdConfigOutput { + return o } -func (o GetClusterAksConfigOutput) SubscriptionId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.SubscriptionId }).(pulumi.StringOutput) +func (o ProjectLoggingFluentdConfigOutput) ToProjectLoggingFluentdConfigOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigOutput { + return o } -// Deprecated: Use tags argument instead as []string -func (o GetClusterAksConfigOutput) Tag() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterAksConfig) map[string]interface{} { return v.Tag }).(pulumi.MapOutput) +func (o ProjectLoggingFluentdConfigOutput) ToProjectLoggingFluentdConfigPtrOutput() ProjectLoggingFluentdConfigPtrOutput { + return o.ToProjectLoggingFluentdConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterAksConfigOutput) Tags() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterAksConfig) []string { return v.Tags }).(pulumi.StringArrayOutput) +func (o ProjectLoggingFluentdConfigOutput) ToProjectLoggingFluentdConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingFluentdConfig) *ProjectLoggingFluentdConfig { + return &v + }).(ProjectLoggingFluentdConfigPtrOutput) } -func (o GetClusterAksConfigOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.TenantId }).(pulumi.StringOutput) +// SSL certificate for the syslog service (string) +func (o ProjectLoggingFluentdConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigOutput) VirtualNetwork() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.VirtualNetwork }).(pulumi.StringOutput) +// Compress data for the fluentd service (bool) +func (o ProjectLoggingFluentdConfigOutput) Compress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfig) *bool { return v.Compress }).(pulumi.BoolPtrOutput) } -func (o GetClusterAksConfigOutput) VirtualNetworkResourceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfig) string { return v.VirtualNetworkResourceGroup }).(pulumi.StringOutput) +// Enable TLS for the fluentd service (bool) +func (o ProjectLoggingFluentdConfigOutput) EnableTls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) } -type GetClusterAksConfigV2 struct { - AuthBaseUrl *string `pulumi:"authBaseUrl"` - AuthorizedIpRanges []string `pulumi:"authorizedIpRanges"` - BaseUrl *string `pulumi:"baseUrl"` - CloudCredentialId string `pulumi:"cloudCredentialId"` - DnsPrefix *string `pulumi:"dnsPrefix"` - HttpApplicationRouting bool `pulumi:"httpApplicationRouting"` - Imported *bool `pulumi:"imported"` - KubernetesVersion *string `pulumi:"kubernetesVersion"` - LinuxAdminUsername string `pulumi:"linuxAdminUsername"` - LinuxSshPublicKey string `pulumi:"linuxSshPublicKey"` - LoadBalancerSku string `pulumi:"loadBalancerSku"` - LogAnalyticsWorkspaceGroup string `pulumi:"logAnalyticsWorkspaceGroup"` - LogAnalyticsWorkspaceName string `pulumi:"logAnalyticsWorkspaceName"` - Monitoring bool `pulumi:"monitoring"` - // The name of the Cluster (string) - Name string `pulumi:"name"` - NetworkDnsServiceIp string `pulumi:"networkDnsServiceIp"` - NetworkDockerBridgeCidr string `pulumi:"networkDockerBridgeCidr"` - NetworkPlugin *string `pulumi:"networkPlugin"` - NetworkPodCidr string `pulumi:"networkPodCidr"` - NetworkPolicy string `pulumi:"networkPolicy"` - NetworkServiceCidr string `pulumi:"networkServiceCidr"` - NodePools []GetClusterAksConfigV2NodePool `pulumi:"nodePools"` - PrivateCluster bool `pulumi:"privateCluster"` - ResourceGroup string `pulumi:"resourceGroup"` - ResourceLocation string `pulumi:"resourceLocation"` - Subnet string `pulumi:"subnet"` - Tags map[string]interface{} `pulumi:"tags"` - VirtualNetwork string `pulumi:"virtualNetwork"` - VirtualNetworkResourceGroup string `pulumi:"virtualNetworkResourceGroup"` +// Servers for the fluentd service (list) +func (o ProjectLoggingFluentdConfigOutput) FluentServers() ProjectLoggingFluentdConfigFluentServerArrayOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfig) []ProjectLoggingFluentdConfigFluentServer { return v.FluentServers }).(ProjectLoggingFluentdConfigFluentServerArrayOutput) } -// GetClusterAksConfigV2Input is an input type that accepts GetClusterAksConfigV2Args and GetClusterAksConfigV2Output values. -// You can construct a concrete instance of `GetClusterAksConfigV2Input` via: -// -// GetClusterAksConfigV2Args{...} -type GetClusterAksConfigV2Input interface { - pulumi.Input +type ProjectLoggingFluentdConfigPtrOutput struct{ *pulumi.OutputState } - ToGetClusterAksConfigV2Output() GetClusterAksConfigV2Output - ToGetClusterAksConfigV2OutputWithContext(context.Context) GetClusterAksConfigV2Output +func (ProjectLoggingFluentdConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingFluentdConfig)(nil)).Elem() } -type GetClusterAksConfigV2Args struct { - AuthBaseUrl pulumi.StringPtrInput `pulumi:"authBaseUrl"` - AuthorizedIpRanges pulumi.StringArrayInput `pulumi:"authorizedIpRanges"` - BaseUrl pulumi.StringPtrInput `pulumi:"baseUrl"` - CloudCredentialId pulumi.StringInput `pulumi:"cloudCredentialId"` - DnsPrefix pulumi.StringPtrInput `pulumi:"dnsPrefix"` - HttpApplicationRouting pulumi.BoolInput `pulumi:"httpApplicationRouting"` - Imported pulumi.BoolPtrInput `pulumi:"imported"` - KubernetesVersion pulumi.StringPtrInput `pulumi:"kubernetesVersion"` - LinuxAdminUsername pulumi.StringInput `pulumi:"linuxAdminUsername"` - LinuxSshPublicKey pulumi.StringInput `pulumi:"linuxSshPublicKey"` - LoadBalancerSku pulumi.StringInput `pulumi:"loadBalancerSku"` - LogAnalyticsWorkspaceGroup pulumi.StringInput `pulumi:"logAnalyticsWorkspaceGroup"` - LogAnalyticsWorkspaceName pulumi.StringInput `pulumi:"logAnalyticsWorkspaceName"` - Monitoring pulumi.BoolInput `pulumi:"monitoring"` - // The name of the Cluster (string) - Name pulumi.StringInput `pulumi:"name"` - NetworkDnsServiceIp pulumi.StringInput `pulumi:"networkDnsServiceIp"` - NetworkDockerBridgeCidr pulumi.StringInput `pulumi:"networkDockerBridgeCidr"` - NetworkPlugin pulumi.StringPtrInput `pulumi:"networkPlugin"` - NetworkPodCidr pulumi.StringInput `pulumi:"networkPodCidr"` - NetworkPolicy pulumi.StringInput `pulumi:"networkPolicy"` - NetworkServiceCidr pulumi.StringInput `pulumi:"networkServiceCidr"` - NodePools GetClusterAksConfigV2NodePoolArrayInput `pulumi:"nodePools"` - PrivateCluster pulumi.BoolInput `pulumi:"privateCluster"` - ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` - ResourceLocation pulumi.StringInput `pulumi:"resourceLocation"` - Subnet pulumi.StringInput `pulumi:"subnet"` - Tags pulumi.MapInput `pulumi:"tags"` - VirtualNetwork pulumi.StringInput `pulumi:"virtualNetwork"` - VirtualNetworkResourceGroup pulumi.StringInput `pulumi:"virtualNetworkResourceGroup"` +func (o ProjectLoggingFluentdConfigPtrOutput) ToProjectLoggingFluentdConfigPtrOutput() ProjectLoggingFluentdConfigPtrOutput { + return o } -func (GetClusterAksConfigV2Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAksConfigV2)(nil)).Elem() +func (o ProjectLoggingFluentdConfigPtrOutput) ToProjectLoggingFluentdConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigPtrOutput { + return o } -func (i GetClusterAksConfigV2Args) ToGetClusterAksConfigV2Output() GetClusterAksConfigV2Output { - return i.ToGetClusterAksConfigV2OutputWithContext(context.Background()) +func (o ProjectLoggingFluentdConfigPtrOutput) Elem() ProjectLoggingFluentdConfigOutput { + return o.ApplyT(func(v *ProjectLoggingFluentdConfig) ProjectLoggingFluentdConfig { + if v != nil { + return *v + } + var ret ProjectLoggingFluentdConfig + return ret + }).(ProjectLoggingFluentdConfigOutput) } -func (i GetClusterAksConfigV2Args) ToGetClusterAksConfigV2OutputWithContext(ctx context.Context) GetClusterAksConfigV2Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterAksConfigV2Output) +// SSL certificate for the syslog service (string) +func (o ProjectLoggingFluentdConfigPtrOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingFluentdConfig) *string { + if v == nil { + return nil + } + return v.Certificate + }).(pulumi.StringPtrOutput) } -type GetClusterAksConfigV2Output struct{ *pulumi.OutputState } - -func (GetClusterAksConfigV2Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAksConfigV2)(nil)).Elem() +// Compress data for the fluentd service (bool) +func (o ProjectLoggingFluentdConfigPtrOutput) Compress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProjectLoggingFluentdConfig) *bool { + if v == nil { + return nil + } + return v.Compress + }).(pulumi.BoolPtrOutput) } -func (o GetClusterAksConfigV2Output) ToGetClusterAksConfigV2Output() GetClusterAksConfigV2Output { - return o +// Enable TLS for the fluentd service (bool) +func (o ProjectLoggingFluentdConfigPtrOutput) EnableTls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProjectLoggingFluentdConfig) *bool { + if v == nil { + return nil + } + return v.EnableTls + }).(pulumi.BoolPtrOutput) } -func (o GetClusterAksConfigV2Output) ToGetClusterAksConfigV2OutputWithContext(ctx context.Context) GetClusterAksConfigV2Output { - return o +// Servers for the fluentd service (list) +func (o ProjectLoggingFluentdConfigPtrOutput) FluentServers() ProjectLoggingFluentdConfigFluentServerArrayOutput { + return o.ApplyT(func(v *ProjectLoggingFluentdConfig) []ProjectLoggingFluentdConfigFluentServer { + if v == nil { + return nil + } + return v.FluentServers + }).(ProjectLoggingFluentdConfigFluentServerArrayOutput) } -func (o GetClusterAksConfigV2Output) AuthBaseUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) *string { return v.AuthBaseUrl }).(pulumi.StringPtrOutput) +type ProjectLoggingFluentdConfigFluentServer struct { + // Endpoint of the syslog service (string) + Endpoint string `pulumi:"endpoint"` + // Hostname of the fluentd service (string) + Hostname *string `pulumi:"hostname"` + // User password of the fluentd service (string) + Password *string `pulumi:"password"` + // Shared key of the fluentd service (string) + SharedKey *string `pulumi:"sharedKey"` + // Standby server of the fluentd service (bool) + Standby *bool `pulumi:"standby"` + // Username of the fluentd service (string) + Username *string `pulumi:"username"` + // Weight of the fluentd server (int) + Weight *int `pulumi:"weight"` } -func (o GetClusterAksConfigV2Output) AuthorizedIpRanges() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) []string { return v.AuthorizedIpRanges }).(pulumi.StringArrayOutput) -} +// ProjectLoggingFluentdConfigFluentServerInput is an input type that accepts ProjectLoggingFluentdConfigFluentServerArgs and ProjectLoggingFluentdConfigFluentServerOutput values. +// You can construct a concrete instance of `ProjectLoggingFluentdConfigFluentServerInput` via: +// +// ProjectLoggingFluentdConfigFluentServerArgs{...} +type ProjectLoggingFluentdConfigFluentServerInput interface { + pulumi.Input -func (o GetClusterAksConfigV2Output) BaseUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) *string { return v.BaseUrl }).(pulumi.StringPtrOutput) + ToProjectLoggingFluentdConfigFluentServerOutput() ProjectLoggingFluentdConfigFluentServerOutput + ToProjectLoggingFluentdConfigFluentServerOutputWithContext(context.Context) ProjectLoggingFluentdConfigFluentServerOutput } -func (o GetClusterAksConfigV2Output) CloudCredentialId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.CloudCredentialId }).(pulumi.StringOutput) +type ProjectLoggingFluentdConfigFluentServerArgs struct { + // Endpoint of the syslog service (string) + Endpoint pulumi.StringInput `pulumi:"endpoint"` + // Hostname of the fluentd service (string) + Hostname pulumi.StringPtrInput `pulumi:"hostname"` + // User password of the fluentd service (string) + Password pulumi.StringPtrInput `pulumi:"password"` + // Shared key of the fluentd service (string) + SharedKey pulumi.StringPtrInput `pulumi:"sharedKey"` + // Standby server of the fluentd service (bool) + Standby pulumi.BoolPtrInput `pulumi:"standby"` + // Username of the fluentd service (string) + Username pulumi.StringPtrInput `pulumi:"username"` + // Weight of the fluentd server (int) + Weight pulumi.IntPtrInput `pulumi:"weight"` } -func (o GetClusterAksConfigV2Output) DnsPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) *string { return v.DnsPrefix }).(pulumi.StringPtrOutput) +func (ProjectLoggingFluentdConfigFluentServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingFluentdConfigFluentServer)(nil)).Elem() } -func (o GetClusterAksConfigV2Output) HttpApplicationRouting() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) bool { return v.HttpApplicationRouting }).(pulumi.BoolOutput) +func (i ProjectLoggingFluentdConfigFluentServerArgs) ToProjectLoggingFluentdConfigFluentServerOutput() ProjectLoggingFluentdConfigFluentServerOutput { + return i.ToProjectLoggingFluentdConfigFluentServerOutputWithContext(context.Background()) } -func (o GetClusterAksConfigV2Output) Imported() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) *bool { return v.Imported }).(pulumi.BoolPtrOutput) +func (i ProjectLoggingFluentdConfigFluentServerArgs) ToProjectLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigFluentServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingFluentdConfigFluentServerOutput) } -func (o GetClusterAksConfigV2Output) KubernetesVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) *string { return v.KubernetesVersion }).(pulumi.StringPtrOutput) -} +// ProjectLoggingFluentdConfigFluentServerArrayInput is an input type that accepts ProjectLoggingFluentdConfigFluentServerArray and ProjectLoggingFluentdConfigFluentServerArrayOutput values. +// You can construct a concrete instance of `ProjectLoggingFluentdConfigFluentServerArrayInput` via: +// +// ProjectLoggingFluentdConfigFluentServerArray{ ProjectLoggingFluentdConfigFluentServerArgs{...} } +type ProjectLoggingFluentdConfigFluentServerArrayInput interface { + pulumi.Input -func (o GetClusterAksConfigV2Output) LinuxAdminUsername() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.LinuxAdminUsername }).(pulumi.StringOutput) + ToProjectLoggingFluentdConfigFluentServerArrayOutput() ProjectLoggingFluentdConfigFluentServerArrayOutput + ToProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Context) ProjectLoggingFluentdConfigFluentServerArrayOutput } -func (o GetClusterAksConfigV2Output) LinuxSshPublicKey() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.LinuxSshPublicKey }).(pulumi.StringOutput) -} +type ProjectLoggingFluentdConfigFluentServerArray []ProjectLoggingFluentdConfigFluentServerInput -func (o GetClusterAksConfigV2Output) LoadBalancerSku() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.LoadBalancerSku }).(pulumi.StringOutput) +func (ProjectLoggingFluentdConfigFluentServerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProjectLoggingFluentdConfigFluentServer)(nil)).Elem() } -func (o GetClusterAksConfigV2Output) LogAnalyticsWorkspaceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.LogAnalyticsWorkspaceGroup }).(pulumi.StringOutput) +func (i ProjectLoggingFluentdConfigFluentServerArray) ToProjectLoggingFluentdConfigFluentServerArrayOutput() ProjectLoggingFluentdConfigFluentServerArrayOutput { + return i.ToProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Background()) } -func (o GetClusterAksConfigV2Output) LogAnalyticsWorkspaceName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.LogAnalyticsWorkspaceName }).(pulumi.StringOutput) +func (i ProjectLoggingFluentdConfigFluentServerArray) ToProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigFluentServerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingFluentdConfigFluentServerArrayOutput) } -func (o GetClusterAksConfigV2Output) Monitoring() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) bool { return v.Monitoring }).(pulumi.BoolOutput) -} +type ProjectLoggingFluentdConfigFluentServerOutput struct{ *pulumi.OutputState } -// The name of the Cluster (string) -func (o GetClusterAksConfigV2Output) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.Name }).(pulumi.StringOutput) +func (ProjectLoggingFluentdConfigFluentServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingFluentdConfigFluentServer)(nil)).Elem() } -func (o GetClusterAksConfigV2Output) NetworkDnsServiceIp() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.NetworkDnsServiceIp }).(pulumi.StringOutput) +func (o ProjectLoggingFluentdConfigFluentServerOutput) ToProjectLoggingFluentdConfigFluentServerOutput() ProjectLoggingFluentdConfigFluentServerOutput { + return o } -func (o GetClusterAksConfigV2Output) NetworkDockerBridgeCidr() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.NetworkDockerBridgeCidr }).(pulumi.StringOutput) +func (o ProjectLoggingFluentdConfigFluentServerOutput) ToProjectLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigFluentServerOutput { + return o } -func (o GetClusterAksConfigV2Output) NetworkPlugin() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) *string { return v.NetworkPlugin }).(pulumi.StringPtrOutput) +// Endpoint of the syslog service (string) +func (o ProjectLoggingFluentdConfigFluentServerOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) string { return v.Endpoint }).(pulumi.StringOutput) } -func (o GetClusterAksConfigV2Output) NetworkPodCidr() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.NetworkPodCidr }).(pulumi.StringOutput) +// Hostname of the fluentd service (string) +func (o ProjectLoggingFluentdConfigFluentServerOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *string { return v.Hostname }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2Output) NetworkPolicy() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.NetworkPolicy }).(pulumi.StringOutput) +// User password of the fluentd service (string) +func (o ProjectLoggingFluentdConfigFluentServerOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2Output) NetworkServiceCidr() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.NetworkServiceCidr }).(pulumi.StringOutput) +// Shared key of the fluentd service (string) +func (o ProjectLoggingFluentdConfigFluentServerOutput) SharedKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *string { return v.SharedKey }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2Output) NodePools() GetClusterAksConfigV2NodePoolArrayOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) []GetClusterAksConfigV2NodePool { return v.NodePools }).(GetClusterAksConfigV2NodePoolArrayOutput) +// Standby server of the fluentd service (bool) +func (o ProjectLoggingFluentdConfigFluentServerOutput) Standby() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *bool { return v.Standby }).(pulumi.BoolPtrOutput) } -func (o GetClusterAksConfigV2Output) PrivateCluster() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) bool { return v.PrivateCluster }).(pulumi.BoolOutput) +// Username of the fluentd service (string) +func (o ProjectLoggingFluentdConfigFluentServerOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2Output) ResourceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.ResourceGroup }).(pulumi.StringOutput) +// Weight of the fluentd server (int) +func (o ProjectLoggingFluentdConfigFluentServerOutput) Weight() pulumi.IntPtrOutput { + return o.ApplyT(func(v ProjectLoggingFluentdConfigFluentServer) *int { return v.Weight }).(pulumi.IntPtrOutput) } -func (o GetClusterAksConfigV2Output) ResourceLocation() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.ResourceLocation }).(pulumi.StringOutput) -} +type ProjectLoggingFluentdConfigFluentServerArrayOutput struct{ *pulumi.OutputState } -func (o GetClusterAksConfigV2Output) Subnet() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.Subnet }).(pulumi.StringOutput) +func (ProjectLoggingFluentdConfigFluentServerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ProjectLoggingFluentdConfigFluentServer)(nil)).Elem() } -func (o GetClusterAksConfigV2Output) Tags() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) map[string]interface{} { return v.Tags }).(pulumi.MapOutput) +func (o ProjectLoggingFluentdConfigFluentServerArrayOutput) ToProjectLoggingFluentdConfigFluentServerArrayOutput() ProjectLoggingFluentdConfigFluentServerArrayOutput { + return o } -func (o GetClusterAksConfigV2Output) VirtualNetwork() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.VirtualNetwork }).(pulumi.StringOutput) +func (o ProjectLoggingFluentdConfigFluentServerArrayOutput) ToProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) ProjectLoggingFluentdConfigFluentServerArrayOutput { + return o } -func (o GetClusterAksConfigV2Output) VirtualNetworkResourceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.VirtualNetworkResourceGroup }).(pulumi.StringOutput) +func (o ProjectLoggingFluentdConfigFluentServerArrayOutput) Index(i pulumi.IntInput) ProjectLoggingFluentdConfigFluentServerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProjectLoggingFluentdConfigFluentServer { + return vs[0].([]ProjectLoggingFluentdConfigFluentServer)[vs[1].(int)] + }).(ProjectLoggingFluentdConfigFluentServerOutput) } -type GetClusterAksConfigV2NodePool struct { - AvailabilityZones []string `pulumi:"availabilityZones"` - Count *int `pulumi:"count"` - EnableAutoScaling *bool `pulumi:"enableAutoScaling"` - MaxCount *int `pulumi:"maxCount"` - MaxPods *int `pulumi:"maxPods"` - MinCount *int `pulumi:"minCount"` - Mode *string `pulumi:"mode"` - // The name of the Cluster (string) - Name string `pulumi:"name"` - OrchestratorVersion *string `pulumi:"orchestratorVersion"` - OsDiskSizeGb *int `pulumi:"osDiskSizeGb"` - OsDiskType *string `pulumi:"osDiskType"` - OsType *string `pulumi:"osType"` - VmSize string `pulumi:"vmSize"` +type ProjectLoggingKafkaConfig struct { + // Kafka endpoints for kafka service. Conflicts with `zookeeperEndpoint` (list) + BrokerEndpoints []string `pulumi:"brokerEndpoints"` + // SSL certificate for the syslog service (string) + Certificate *string `pulumi:"certificate"` + // SSL client certificate for the syslog service (string) + ClientCert *string `pulumi:"clientCert"` + // SSL client key for the syslog service (string) + ClientKey *string `pulumi:"clientKey"` + // Topic to publish on the kafka service (string) + Topic string `pulumi:"topic"` + // Zookeeper endpoint for kafka service. Conflicts with `brokerEndpoints` (string) + ZookeeperEndpoint *string `pulumi:"zookeeperEndpoint"` } -// GetClusterAksConfigV2NodePoolInput is an input type that accepts GetClusterAksConfigV2NodePoolArgs and GetClusterAksConfigV2NodePoolOutput values. -// You can construct a concrete instance of `GetClusterAksConfigV2NodePoolInput` via: +// ProjectLoggingKafkaConfigInput is an input type that accepts ProjectLoggingKafkaConfigArgs and ProjectLoggingKafkaConfigOutput values. +// You can construct a concrete instance of `ProjectLoggingKafkaConfigInput` via: // -// GetClusterAksConfigV2NodePoolArgs{...} -type GetClusterAksConfigV2NodePoolInput interface { +// ProjectLoggingKafkaConfigArgs{...} +type ProjectLoggingKafkaConfigInput interface { pulumi.Input - ToGetClusterAksConfigV2NodePoolOutput() GetClusterAksConfigV2NodePoolOutput - ToGetClusterAksConfigV2NodePoolOutputWithContext(context.Context) GetClusterAksConfigV2NodePoolOutput + ToProjectLoggingKafkaConfigOutput() ProjectLoggingKafkaConfigOutput + ToProjectLoggingKafkaConfigOutputWithContext(context.Context) ProjectLoggingKafkaConfigOutput } -type GetClusterAksConfigV2NodePoolArgs struct { - AvailabilityZones pulumi.StringArrayInput `pulumi:"availabilityZones"` - Count pulumi.IntPtrInput `pulumi:"count"` - EnableAutoScaling pulumi.BoolPtrInput `pulumi:"enableAutoScaling"` - MaxCount pulumi.IntPtrInput `pulumi:"maxCount"` - MaxPods pulumi.IntPtrInput `pulumi:"maxPods"` - MinCount pulumi.IntPtrInput `pulumi:"minCount"` - Mode pulumi.StringPtrInput `pulumi:"mode"` - // The name of the Cluster (string) - Name pulumi.StringInput `pulumi:"name"` - OrchestratorVersion pulumi.StringPtrInput `pulumi:"orchestratorVersion"` - OsDiskSizeGb pulumi.IntPtrInput `pulumi:"osDiskSizeGb"` - OsDiskType pulumi.StringPtrInput `pulumi:"osDiskType"` - OsType pulumi.StringPtrInput `pulumi:"osType"` - VmSize pulumi.StringInput `pulumi:"vmSize"` +type ProjectLoggingKafkaConfigArgs struct { + // Kafka endpoints for kafka service. Conflicts with `zookeeperEndpoint` (list) + BrokerEndpoints pulumi.StringArrayInput `pulumi:"brokerEndpoints"` + // SSL certificate for the syslog service (string) + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + // SSL client certificate for the syslog service (string) + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + // SSL client key for the syslog service (string) + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + // Topic to publish on the kafka service (string) + Topic pulumi.StringInput `pulumi:"topic"` + // Zookeeper endpoint for kafka service. Conflicts with `brokerEndpoints` (string) + ZookeeperEndpoint pulumi.StringPtrInput `pulumi:"zookeeperEndpoint"` } -func (GetClusterAksConfigV2NodePoolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAksConfigV2NodePool)(nil)).Elem() +func (ProjectLoggingKafkaConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingKafkaConfig)(nil)).Elem() } -func (i GetClusterAksConfigV2NodePoolArgs) ToGetClusterAksConfigV2NodePoolOutput() GetClusterAksConfigV2NodePoolOutput { - return i.ToGetClusterAksConfigV2NodePoolOutputWithContext(context.Background()) +func (i ProjectLoggingKafkaConfigArgs) ToProjectLoggingKafkaConfigOutput() ProjectLoggingKafkaConfigOutput { + return i.ToProjectLoggingKafkaConfigOutputWithContext(context.Background()) } -func (i GetClusterAksConfigV2NodePoolArgs) ToGetClusterAksConfigV2NodePoolOutputWithContext(ctx context.Context) GetClusterAksConfigV2NodePoolOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterAksConfigV2NodePoolOutput) +func (i ProjectLoggingKafkaConfigArgs) ToProjectLoggingKafkaConfigOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingKafkaConfigOutput) } -// GetClusterAksConfigV2NodePoolArrayInput is an input type that accepts GetClusterAksConfigV2NodePoolArray and GetClusterAksConfigV2NodePoolArrayOutput values. -// You can construct a concrete instance of `GetClusterAksConfigV2NodePoolArrayInput` via: +func (i ProjectLoggingKafkaConfigArgs) ToProjectLoggingKafkaConfigPtrOutput() ProjectLoggingKafkaConfigPtrOutput { + return i.ToProjectLoggingKafkaConfigPtrOutputWithContext(context.Background()) +} + +func (i ProjectLoggingKafkaConfigArgs) ToProjectLoggingKafkaConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingKafkaConfigOutput).ToProjectLoggingKafkaConfigPtrOutputWithContext(ctx) +} + +// ProjectLoggingKafkaConfigPtrInput is an input type that accepts ProjectLoggingKafkaConfigArgs, ProjectLoggingKafkaConfigPtr and ProjectLoggingKafkaConfigPtrOutput values. +// You can construct a concrete instance of `ProjectLoggingKafkaConfigPtrInput` via: // -// GetClusterAksConfigV2NodePoolArray{ GetClusterAksConfigV2NodePoolArgs{...} } -type GetClusterAksConfigV2NodePoolArrayInput interface { +// ProjectLoggingKafkaConfigArgs{...} +// +// or: +// +// nil +type ProjectLoggingKafkaConfigPtrInput interface { pulumi.Input - ToGetClusterAksConfigV2NodePoolArrayOutput() GetClusterAksConfigV2NodePoolArrayOutput - ToGetClusterAksConfigV2NodePoolArrayOutputWithContext(context.Context) GetClusterAksConfigV2NodePoolArrayOutput + ToProjectLoggingKafkaConfigPtrOutput() ProjectLoggingKafkaConfigPtrOutput + ToProjectLoggingKafkaConfigPtrOutputWithContext(context.Context) ProjectLoggingKafkaConfigPtrOutput } -type GetClusterAksConfigV2NodePoolArray []GetClusterAksConfigV2NodePoolInput +type projectLoggingKafkaConfigPtrType ProjectLoggingKafkaConfigArgs -func (GetClusterAksConfigV2NodePoolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterAksConfigV2NodePool)(nil)).Elem() +func ProjectLoggingKafkaConfigPtr(v *ProjectLoggingKafkaConfigArgs) ProjectLoggingKafkaConfigPtrInput { + return (*projectLoggingKafkaConfigPtrType)(v) } -func (i GetClusterAksConfigV2NodePoolArray) ToGetClusterAksConfigV2NodePoolArrayOutput() GetClusterAksConfigV2NodePoolArrayOutput { - return i.ToGetClusterAksConfigV2NodePoolArrayOutputWithContext(context.Background()) +func (*projectLoggingKafkaConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingKafkaConfig)(nil)).Elem() } -func (i GetClusterAksConfigV2NodePoolArray) ToGetClusterAksConfigV2NodePoolArrayOutputWithContext(ctx context.Context) GetClusterAksConfigV2NodePoolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterAksConfigV2NodePoolArrayOutput) +func (i *projectLoggingKafkaConfigPtrType) ToProjectLoggingKafkaConfigPtrOutput() ProjectLoggingKafkaConfigPtrOutput { + return i.ToProjectLoggingKafkaConfigPtrOutputWithContext(context.Background()) } -type GetClusterAksConfigV2NodePoolOutput struct{ *pulumi.OutputState } +func (i *projectLoggingKafkaConfigPtrType) ToProjectLoggingKafkaConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingKafkaConfigPtrOutput) +} -func (GetClusterAksConfigV2NodePoolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAksConfigV2NodePool)(nil)).Elem() +type ProjectLoggingKafkaConfigOutput struct{ *pulumi.OutputState } + +func (ProjectLoggingKafkaConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingKafkaConfig)(nil)).Elem() } -func (o GetClusterAksConfigV2NodePoolOutput) ToGetClusterAksConfigV2NodePoolOutput() GetClusterAksConfigV2NodePoolOutput { +func (o ProjectLoggingKafkaConfigOutput) ToProjectLoggingKafkaConfigOutput() ProjectLoggingKafkaConfigOutput { return o } -func (o GetClusterAksConfigV2NodePoolOutput) ToGetClusterAksConfigV2NodePoolOutputWithContext(ctx context.Context) GetClusterAksConfigV2NodePoolOutput { +func (o ProjectLoggingKafkaConfigOutput) ToProjectLoggingKafkaConfigOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigOutput { return o } -func (o GetClusterAksConfigV2NodePoolOutput) AvailabilityZones() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) []string { return v.AvailabilityZones }).(pulumi.StringArrayOutput) +func (o ProjectLoggingKafkaConfigOutput) ToProjectLoggingKafkaConfigPtrOutput() ProjectLoggingKafkaConfigPtrOutput { + return o.ToProjectLoggingKafkaConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterAksConfigV2NodePoolOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *int { return v.Count }).(pulumi.IntPtrOutput) +func (o ProjectLoggingKafkaConfigOutput) ToProjectLoggingKafkaConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingKafkaConfig) *ProjectLoggingKafkaConfig { + return &v + }).(ProjectLoggingKafkaConfigPtrOutput) } -func (o GetClusterAksConfigV2NodePoolOutput) EnableAutoScaling() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *bool { return v.EnableAutoScaling }).(pulumi.BoolPtrOutput) +// Kafka endpoints for kafka service. Conflicts with `zookeeperEndpoint` (list) +func (o ProjectLoggingKafkaConfigOutput) BrokerEndpoints() pulumi.StringArrayOutput { + return o.ApplyT(func(v ProjectLoggingKafkaConfig) []string { return v.BrokerEndpoints }).(pulumi.StringArrayOutput) } -func (o GetClusterAksConfigV2NodePoolOutput) MaxCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *int { return v.MaxCount }).(pulumi.IntPtrOutput) +// SSL certificate for the syslog service (string) +func (o ProjectLoggingKafkaConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingKafkaConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2NodePoolOutput) MaxPods() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *int { return v.MaxPods }).(pulumi.IntPtrOutput) +// SSL client certificate for the syslog service (string) +func (o ProjectLoggingKafkaConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingKafkaConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2NodePoolOutput) MinCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *int { return v.MinCount }).(pulumi.IntPtrOutput) +// SSL client key for the syslog service (string) +func (o ProjectLoggingKafkaConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingKafkaConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2NodePoolOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *string { return v.Mode }).(pulumi.StringPtrOutput) +// Topic to publish on the kafka service (string) +func (o ProjectLoggingKafkaConfigOutput) Topic() pulumi.StringOutput { + return o.ApplyT(func(v ProjectLoggingKafkaConfig) string { return v.Topic }).(pulumi.StringOutput) } -// The name of the Cluster (string) -func (o GetClusterAksConfigV2NodePoolOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) string { return v.Name }).(pulumi.StringOutput) +// Zookeeper endpoint for kafka service. Conflicts with `brokerEndpoints` (string) +func (o ProjectLoggingKafkaConfigOutput) ZookeeperEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingKafkaConfig) *string { return v.ZookeeperEndpoint }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2NodePoolOutput) OrchestratorVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *string { return v.OrchestratorVersion }).(pulumi.StringPtrOutput) +type ProjectLoggingKafkaConfigPtrOutput struct{ *pulumi.OutputState } + +func (ProjectLoggingKafkaConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingKafkaConfig)(nil)).Elem() } -func (o GetClusterAksConfigV2NodePoolOutput) OsDiskSizeGb() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *int { return v.OsDiskSizeGb }).(pulumi.IntPtrOutput) +func (o ProjectLoggingKafkaConfigPtrOutput) ToProjectLoggingKafkaConfigPtrOutput() ProjectLoggingKafkaConfigPtrOutput { + return o } -func (o GetClusterAksConfigV2NodePoolOutput) OsDiskType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *string { return v.OsDiskType }).(pulumi.StringPtrOutput) +func (o ProjectLoggingKafkaConfigPtrOutput) ToProjectLoggingKafkaConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingKafkaConfigPtrOutput { + return o } -func (o GetClusterAksConfigV2NodePoolOutput) OsType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *string { return v.OsType }).(pulumi.StringPtrOutput) +func (o ProjectLoggingKafkaConfigPtrOutput) Elem() ProjectLoggingKafkaConfigOutput { + return o.ApplyT(func(v *ProjectLoggingKafkaConfig) ProjectLoggingKafkaConfig { + if v != nil { + return *v + } + var ret ProjectLoggingKafkaConfig + return ret + }).(ProjectLoggingKafkaConfigOutput) } -func (o GetClusterAksConfigV2NodePoolOutput) VmSize() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAksConfigV2NodePool) string { return v.VmSize }).(pulumi.StringOutput) +// Kafka endpoints for kafka service. Conflicts with `zookeeperEndpoint` (list) +func (o ProjectLoggingKafkaConfigPtrOutput) BrokerEndpoints() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ProjectLoggingKafkaConfig) []string { + if v == nil { + return nil + } + return v.BrokerEndpoints + }).(pulumi.StringArrayOutput) } -type GetClusterAksConfigV2NodePoolArrayOutput struct{ *pulumi.OutputState } +// SSL certificate for the syslog service (string) +func (o ProjectLoggingKafkaConfigPtrOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingKafkaConfig) *string { + if v == nil { + return nil + } + return v.Certificate + }).(pulumi.StringPtrOutput) +} -func (GetClusterAksConfigV2NodePoolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterAksConfigV2NodePool)(nil)).Elem() +// SSL client certificate for the syslog service (string) +func (o ProjectLoggingKafkaConfigPtrOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingKafkaConfig) *string { + if v == nil { + return nil + } + return v.ClientCert + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2NodePoolArrayOutput) ToGetClusterAksConfigV2NodePoolArrayOutput() GetClusterAksConfigV2NodePoolArrayOutput { - return o +// SSL client key for the syslog service (string) +func (o ProjectLoggingKafkaConfigPtrOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingKafkaConfig) *string { + if v == nil { + return nil + } + return v.ClientKey + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2NodePoolArrayOutput) ToGetClusterAksConfigV2NodePoolArrayOutputWithContext(ctx context.Context) GetClusterAksConfigV2NodePoolArrayOutput { - return o +// Topic to publish on the kafka service (string) +func (o ProjectLoggingKafkaConfigPtrOutput) Topic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingKafkaConfig) *string { + if v == nil { + return nil + } + return &v.Topic + }).(pulumi.StringPtrOutput) } -func (o GetClusterAksConfigV2NodePoolArrayOutput) Index(i pulumi.IntInput) GetClusterAksConfigV2NodePoolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterAksConfigV2NodePool { - return vs[0].([]GetClusterAksConfigV2NodePool)[vs[1].(int)] - }).(GetClusterAksConfigV2NodePoolOutput) +// Zookeeper endpoint for kafka service. Conflicts with `brokerEndpoints` (string) +func (o ProjectLoggingKafkaConfigPtrOutput) ZookeeperEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingKafkaConfig) *string { + if v == nil { + return nil + } + return v.ZookeeperEndpoint + }).(pulumi.StringPtrOutput) } -type GetClusterAlertGroupRecipient struct { - DefaultRecipient *bool `pulumi:"defaultRecipient"` - NotifierId string `pulumi:"notifierId"` - NotifierType string `pulumi:"notifierType"` - Recipient string `pulumi:"recipient"` +type ProjectLoggingSplunkConfig struct { + // SSL certificate for the syslog service (string) + Certificate *string `pulumi:"certificate"` + // SSL client certificate for the syslog service (string) + ClientCert *string `pulumi:"clientCert"` + // SSL client key for the syslog service (string) + ClientKey *string `pulumi:"clientKey"` + // SSL client key password for the splunk service (string) + ClientKeyPass *string `pulumi:"clientKeyPass"` + // Endpoint of the syslog service (string) + Endpoint string `pulumi:"endpoint"` + // Index prefix for the splunk logs (string) + Index *string `pulumi:"index"` + // Date format for the splunk logs (string) + Source *string `pulumi:"source"` + // SSL verify for the syslog service (bool) + SslVerify *bool `pulumi:"sslVerify"` + // Token for the syslog service (string) + Token string `pulumi:"token"` } -// GetClusterAlertGroupRecipientInput is an input type that accepts GetClusterAlertGroupRecipientArgs and GetClusterAlertGroupRecipientOutput values. -// You can construct a concrete instance of `GetClusterAlertGroupRecipientInput` via: +// ProjectLoggingSplunkConfigInput is an input type that accepts ProjectLoggingSplunkConfigArgs and ProjectLoggingSplunkConfigOutput values. +// You can construct a concrete instance of `ProjectLoggingSplunkConfigInput` via: // -// GetClusterAlertGroupRecipientArgs{...} -type GetClusterAlertGroupRecipientInput interface { +// ProjectLoggingSplunkConfigArgs{...} +type ProjectLoggingSplunkConfigInput interface { pulumi.Input - ToGetClusterAlertGroupRecipientOutput() GetClusterAlertGroupRecipientOutput - ToGetClusterAlertGroupRecipientOutputWithContext(context.Context) GetClusterAlertGroupRecipientOutput + ToProjectLoggingSplunkConfigOutput() ProjectLoggingSplunkConfigOutput + ToProjectLoggingSplunkConfigOutputWithContext(context.Context) ProjectLoggingSplunkConfigOutput } -type GetClusterAlertGroupRecipientArgs struct { - DefaultRecipient pulumi.BoolPtrInput `pulumi:"defaultRecipient"` - NotifierId pulumi.StringInput `pulumi:"notifierId"` - NotifierType pulumi.StringInput `pulumi:"notifierType"` - Recipient pulumi.StringInput `pulumi:"recipient"` +type ProjectLoggingSplunkConfigArgs struct { + // SSL certificate for the syslog service (string) + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + // SSL client certificate for the syslog service (string) + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + // SSL client key for the syslog service (string) + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + // SSL client key password for the splunk service (string) + ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` + // Endpoint of the syslog service (string) + Endpoint pulumi.StringInput `pulumi:"endpoint"` + // Index prefix for the splunk logs (string) + Index pulumi.StringPtrInput `pulumi:"index"` + // Date format for the splunk logs (string) + Source pulumi.StringPtrInput `pulumi:"source"` + // SSL verify for the syslog service (bool) + SslVerify pulumi.BoolPtrInput `pulumi:"sslVerify"` + // Token for the syslog service (string) + Token pulumi.StringInput `pulumi:"token"` } -func (GetClusterAlertGroupRecipientArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAlertGroupRecipient)(nil)).Elem() +func (ProjectLoggingSplunkConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingSplunkConfig)(nil)).Elem() } -func (i GetClusterAlertGroupRecipientArgs) ToGetClusterAlertGroupRecipientOutput() GetClusterAlertGroupRecipientOutput { - return i.ToGetClusterAlertGroupRecipientOutputWithContext(context.Background()) +func (i ProjectLoggingSplunkConfigArgs) ToProjectLoggingSplunkConfigOutput() ProjectLoggingSplunkConfigOutput { + return i.ToProjectLoggingSplunkConfigOutputWithContext(context.Background()) } -func (i GetClusterAlertGroupRecipientArgs) ToGetClusterAlertGroupRecipientOutputWithContext(ctx context.Context) GetClusterAlertGroupRecipientOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlertGroupRecipientOutput) +func (i ProjectLoggingSplunkConfigArgs) ToProjectLoggingSplunkConfigOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSplunkConfigOutput) } -// GetClusterAlertGroupRecipientArrayInput is an input type that accepts GetClusterAlertGroupRecipientArray and GetClusterAlertGroupRecipientArrayOutput values. -// You can construct a concrete instance of `GetClusterAlertGroupRecipientArrayInput` via: -// -// GetClusterAlertGroupRecipientArray{ GetClusterAlertGroupRecipientArgs{...} } -type GetClusterAlertGroupRecipientArrayInput interface { - pulumi.Input - - ToGetClusterAlertGroupRecipientArrayOutput() GetClusterAlertGroupRecipientArrayOutput - ToGetClusterAlertGroupRecipientArrayOutputWithContext(context.Context) GetClusterAlertGroupRecipientArrayOutput +func (i ProjectLoggingSplunkConfigArgs) ToProjectLoggingSplunkConfigPtrOutput() ProjectLoggingSplunkConfigPtrOutput { + return i.ToProjectLoggingSplunkConfigPtrOutputWithContext(context.Background()) } -type GetClusterAlertGroupRecipientArray []GetClusterAlertGroupRecipientInput - -func (GetClusterAlertGroupRecipientArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterAlertGroupRecipient)(nil)).Elem() +func (i ProjectLoggingSplunkConfigArgs) ToProjectLoggingSplunkConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSplunkConfigOutput).ToProjectLoggingSplunkConfigPtrOutputWithContext(ctx) } -func (i GetClusterAlertGroupRecipientArray) ToGetClusterAlertGroupRecipientArrayOutput() GetClusterAlertGroupRecipientArrayOutput { - return i.ToGetClusterAlertGroupRecipientArrayOutputWithContext(context.Background()) -} +// ProjectLoggingSplunkConfigPtrInput is an input type that accepts ProjectLoggingSplunkConfigArgs, ProjectLoggingSplunkConfigPtr and ProjectLoggingSplunkConfigPtrOutput values. +// You can construct a concrete instance of `ProjectLoggingSplunkConfigPtrInput` via: +// +// ProjectLoggingSplunkConfigArgs{...} +// +// or: +// +// nil +type ProjectLoggingSplunkConfigPtrInput interface { + pulumi.Input -func (i GetClusterAlertGroupRecipientArray) ToGetClusterAlertGroupRecipientArrayOutputWithContext(ctx context.Context) GetClusterAlertGroupRecipientArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlertGroupRecipientArrayOutput) + ToProjectLoggingSplunkConfigPtrOutput() ProjectLoggingSplunkConfigPtrOutput + ToProjectLoggingSplunkConfigPtrOutputWithContext(context.Context) ProjectLoggingSplunkConfigPtrOutput } -type GetClusterAlertGroupRecipientOutput struct{ *pulumi.OutputState } +type projectLoggingSplunkConfigPtrType ProjectLoggingSplunkConfigArgs -func (GetClusterAlertGroupRecipientOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAlertGroupRecipient)(nil)).Elem() +func ProjectLoggingSplunkConfigPtr(v *ProjectLoggingSplunkConfigArgs) ProjectLoggingSplunkConfigPtrInput { + return (*projectLoggingSplunkConfigPtrType)(v) } -func (o GetClusterAlertGroupRecipientOutput) ToGetClusterAlertGroupRecipientOutput() GetClusterAlertGroupRecipientOutput { - return o +func (*projectLoggingSplunkConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingSplunkConfig)(nil)).Elem() } -func (o GetClusterAlertGroupRecipientOutput) ToGetClusterAlertGroupRecipientOutputWithContext(ctx context.Context) GetClusterAlertGroupRecipientOutput { - return o +func (i *projectLoggingSplunkConfigPtrType) ToProjectLoggingSplunkConfigPtrOutput() ProjectLoggingSplunkConfigPtrOutput { + return i.ToProjectLoggingSplunkConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterAlertGroupRecipientOutput) DefaultRecipient() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterAlertGroupRecipient) *bool { return v.DefaultRecipient }).(pulumi.BoolPtrOutput) +func (i *projectLoggingSplunkConfigPtrType) ToProjectLoggingSplunkConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSplunkConfigPtrOutput) } -func (o GetClusterAlertGroupRecipientOutput) NotifierId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAlertGroupRecipient) string { return v.NotifierId }).(pulumi.StringOutput) -} +type ProjectLoggingSplunkConfigOutput struct{ *pulumi.OutputState } -func (o GetClusterAlertGroupRecipientOutput) NotifierType() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAlertGroupRecipient) string { return v.NotifierType }).(pulumi.StringOutput) +func (ProjectLoggingSplunkConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingSplunkConfig)(nil)).Elem() } -func (o GetClusterAlertGroupRecipientOutput) Recipient() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAlertGroupRecipient) string { return v.Recipient }).(pulumi.StringOutput) +func (o ProjectLoggingSplunkConfigOutput) ToProjectLoggingSplunkConfigOutput() ProjectLoggingSplunkConfigOutput { + return o } -type GetClusterAlertGroupRecipientArrayOutput struct{ *pulumi.OutputState } +func (o ProjectLoggingSplunkConfigOutput) ToProjectLoggingSplunkConfigOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigOutput { + return o +} -func (GetClusterAlertGroupRecipientArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterAlertGroupRecipient)(nil)).Elem() +func (o ProjectLoggingSplunkConfigOutput) ToProjectLoggingSplunkConfigPtrOutput() ProjectLoggingSplunkConfigPtrOutput { + return o.ToProjectLoggingSplunkConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterAlertGroupRecipientArrayOutput) ToGetClusterAlertGroupRecipientArrayOutput() GetClusterAlertGroupRecipientArrayOutput { - return o +func (o ProjectLoggingSplunkConfigOutput) ToProjectLoggingSplunkConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingSplunkConfig) *ProjectLoggingSplunkConfig { + return &v + }).(ProjectLoggingSplunkConfigPtrOutput) } -func (o GetClusterAlertGroupRecipientArrayOutput) ToGetClusterAlertGroupRecipientArrayOutputWithContext(ctx context.Context) GetClusterAlertGroupRecipientArrayOutput { - return o +// SSL certificate for the syslog service (string) +func (o ProjectLoggingSplunkConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -func (o GetClusterAlertGroupRecipientArrayOutput) Index(i pulumi.IntInput) GetClusterAlertGroupRecipientOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterAlertGroupRecipient { - return vs[0].([]GetClusterAlertGroupRecipient)[vs[1].(int)] - }).(GetClusterAlertGroupRecipientOutput) +// SSL client certificate for the syslog service (string) +func (o ProjectLoggingSplunkConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) } -type GetClusterAlterRuleEventRule struct { - EventType *string `pulumi:"eventType"` - ResourceKind string `pulumi:"resourceKind"` +// SSL client key for the syslog service (string) +func (o ProjectLoggingSplunkConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) } -// GetClusterAlterRuleEventRuleInput is an input type that accepts GetClusterAlterRuleEventRuleArgs and GetClusterAlterRuleEventRuleOutput values. -// You can construct a concrete instance of `GetClusterAlterRuleEventRuleInput` via: -// -// GetClusterAlterRuleEventRuleArgs{...} -type GetClusterAlterRuleEventRuleInput interface { - pulumi.Input +// SSL client key password for the splunk service (string) +func (o ProjectLoggingSplunkConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) +} - ToGetClusterAlterRuleEventRuleOutput() GetClusterAlterRuleEventRuleOutput - ToGetClusterAlterRuleEventRuleOutputWithContext(context.Context) GetClusterAlterRuleEventRuleOutput +// Endpoint of the syslog service (string) +func (o ProjectLoggingSplunkConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v ProjectLoggingSplunkConfig) string { return v.Endpoint }).(pulumi.StringOutput) } -type GetClusterAlterRuleEventRuleArgs struct { - EventType pulumi.StringPtrInput `pulumi:"eventType"` - ResourceKind pulumi.StringInput `pulumi:"resourceKind"` +// Index prefix for the splunk logs (string) +func (o ProjectLoggingSplunkConfigOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.Index }).(pulumi.StringPtrOutput) } -func (GetClusterAlterRuleEventRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAlterRuleEventRule)(nil)).Elem() +// Date format for the splunk logs (string) +func (o ProjectLoggingSplunkConfigOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSplunkConfig) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (i GetClusterAlterRuleEventRuleArgs) ToGetClusterAlterRuleEventRuleOutput() GetClusterAlterRuleEventRuleOutput { - return i.ToGetClusterAlterRuleEventRuleOutputWithContext(context.Background()) +// SSL verify for the syslog service (bool) +func (o ProjectLoggingSplunkConfigOutput) SslVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProjectLoggingSplunkConfig) *bool { return v.SslVerify }).(pulumi.BoolPtrOutput) } -func (i GetClusterAlterRuleEventRuleArgs) ToGetClusterAlterRuleEventRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleEventRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlterRuleEventRuleOutput) +// Token for the syslog service (string) +func (o ProjectLoggingSplunkConfigOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v ProjectLoggingSplunkConfig) string { return v.Token }).(pulumi.StringOutput) } -type GetClusterAlterRuleEventRuleOutput struct{ *pulumi.OutputState } +type ProjectLoggingSplunkConfigPtrOutput struct{ *pulumi.OutputState } -func (GetClusterAlterRuleEventRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAlterRuleEventRule)(nil)).Elem() +func (ProjectLoggingSplunkConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingSplunkConfig)(nil)).Elem() } -func (o GetClusterAlterRuleEventRuleOutput) ToGetClusterAlterRuleEventRuleOutput() GetClusterAlterRuleEventRuleOutput { +func (o ProjectLoggingSplunkConfigPtrOutput) ToProjectLoggingSplunkConfigPtrOutput() ProjectLoggingSplunkConfigPtrOutput { return o } -func (o GetClusterAlterRuleEventRuleOutput) ToGetClusterAlterRuleEventRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleEventRuleOutput { +func (o ProjectLoggingSplunkConfigPtrOutput) ToProjectLoggingSplunkConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSplunkConfigPtrOutput { return o } -func (o GetClusterAlterRuleEventRuleOutput) EventType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAlterRuleEventRule) *string { return v.EventType }).(pulumi.StringPtrOutput) +func (o ProjectLoggingSplunkConfigPtrOutput) Elem() ProjectLoggingSplunkConfigOutput { + return o.ApplyT(func(v *ProjectLoggingSplunkConfig) ProjectLoggingSplunkConfig { + if v != nil { + return *v + } + var ret ProjectLoggingSplunkConfig + return ret + }).(ProjectLoggingSplunkConfigOutput) } -func (o GetClusterAlterRuleEventRuleOutput) ResourceKind() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAlterRuleEventRule) string { return v.ResourceKind }).(pulumi.StringOutput) +// SSL certificate for the syslog service (string) +func (o ProjectLoggingSplunkConfigPtrOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { + if v == nil { + return nil + } + return v.Certificate + }).(pulumi.StringPtrOutput) } -type GetClusterAlterRuleMetricRule struct { - Comparison *string `pulumi:"comparison"` - Description *string `pulumi:"description"` - Duration string `pulumi:"duration"` - Expression string `pulumi:"expression"` - ThresholdValue float64 `pulumi:"thresholdValue"` +// SSL client certificate for the syslog service (string) +func (o ProjectLoggingSplunkConfigPtrOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { + if v == nil { + return nil + } + return v.ClientCert + }).(pulumi.StringPtrOutput) } -// GetClusterAlterRuleMetricRuleInput is an input type that accepts GetClusterAlterRuleMetricRuleArgs and GetClusterAlterRuleMetricRuleOutput values. -// You can construct a concrete instance of `GetClusterAlterRuleMetricRuleInput` via: -// -// GetClusterAlterRuleMetricRuleArgs{...} -type GetClusterAlterRuleMetricRuleInput interface { - pulumi.Input - - ToGetClusterAlterRuleMetricRuleOutput() GetClusterAlterRuleMetricRuleOutput - ToGetClusterAlterRuleMetricRuleOutputWithContext(context.Context) GetClusterAlterRuleMetricRuleOutput +// SSL client key for the syslog service (string) +func (o ProjectLoggingSplunkConfigPtrOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { + if v == nil { + return nil + } + return v.ClientKey + }).(pulumi.StringPtrOutput) } -type GetClusterAlterRuleMetricRuleArgs struct { - Comparison pulumi.StringPtrInput `pulumi:"comparison"` - Description pulumi.StringPtrInput `pulumi:"description"` - Duration pulumi.StringInput `pulumi:"duration"` - Expression pulumi.StringInput `pulumi:"expression"` - ThresholdValue pulumi.Float64Input `pulumi:"thresholdValue"` +// SSL client key password for the splunk service (string) +func (o ProjectLoggingSplunkConfigPtrOutput) ClientKeyPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { + if v == nil { + return nil + } + return v.ClientKeyPass + }).(pulumi.StringPtrOutput) } -func (GetClusterAlterRuleMetricRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAlterRuleMetricRule)(nil)).Elem() +// Endpoint of the syslog service (string) +func (o ProjectLoggingSplunkConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { + if v == nil { + return nil + } + return &v.Endpoint + }).(pulumi.StringPtrOutput) } -func (i GetClusterAlterRuleMetricRuleArgs) ToGetClusterAlterRuleMetricRuleOutput() GetClusterAlterRuleMetricRuleOutput { - return i.ToGetClusterAlterRuleMetricRuleOutputWithContext(context.Background()) +// Index prefix for the splunk logs (string) +func (o ProjectLoggingSplunkConfigPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { + if v == nil { + return nil + } + return v.Index + }).(pulumi.StringPtrOutput) } -func (i GetClusterAlterRuleMetricRuleArgs) ToGetClusterAlterRuleMetricRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleMetricRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlterRuleMetricRuleOutput) +// Date format for the splunk logs (string) +func (o ProjectLoggingSplunkConfigPtrOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { + if v == nil { + return nil + } + return v.Source + }).(pulumi.StringPtrOutput) } -type GetClusterAlterRuleMetricRuleOutput struct{ *pulumi.OutputState } +// SSL verify for the syslog service (bool) +func (o ProjectLoggingSplunkConfigPtrOutput) SslVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *bool { + if v == nil { + return nil + } + return v.SslVerify + }).(pulumi.BoolPtrOutput) +} -func (GetClusterAlterRuleMetricRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAlterRuleMetricRule)(nil)).Elem() +// Token for the syslog service (string) +func (o ProjectLoggingSplunkConfigPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSplunkConfig) *string { + if v == nil { + return nil + } + return &v.Token + }).(pulumi.StringPtrOutput) } -func (o GetClusterAlterRuleMetricRuleOutput) ToGetClusterAlterRuleMetricRuleOutput() GetClusterAlterRuleMetricRuleOutput { - return o +type ProjectLoggingSyslogConfig struct { + // SSL certificate for the syslog service (string) + Certificate *string `pulumi:"certificate"` + // SSL client certificate for the syslog service (string) + ClientCert *string `pulumi:"clientCert"` + // SSL client key for the syslog service (string) + ClientKey *string `pulumi:"clientKey"` + // Enable TLS for the fluentd service (bool) + EnableTls *bool `pulumi:"enableTls"` + // Endpoint of the syslog service (string) + Endpoint string `pulumi:"endpoint"` + // Program for the syslog service (string) + Program *string `pulumi:"program"` + // Protocol for the syslog service. `tcp` and `udp` are supported. Default: `udp` (string) + Protocol *string `pulumi:"protocol"` + // Date format for the syslog logs. `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info` and `debug` are supported. Default: `notice` (string) + Severity *string `pulumi:"severity"` + // SSL verify for the syslog service (bool) + SslVerify *bool `pulumi:"sslVerify"` + // Token for the syslog service (string) + Token *string `pulumi:"token"` } -func (o GetClusterAlterRuleMetricRuleOutput) ToGetClusterAlterRuleMetricRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleMetricRuleOutput { - return o +// ProjectLoggingSyslogConfigInput is an input type that accepts ProjectLoggingSyslogConfigArgs and ProjectLoggingSyslogConfigOutput values. +// You can construct a concrete instance of `ProjectLoggingSyslogConfigInput` via: +// +// ProjectLoggingSyslogConfigArgs{...} +type ProjectLoggingSyslogConfigInput interface { + pulumi.Input + + ToProjectLoggingSyslogConfigOutput() ProjectLoggingSyslogConfigOutput + ToProjectLoggingSyslogConfigOutputWithContext(context.Context) ProjectLoggingSyslogConfigOutput } -func (o GetClusterAlterRuleMetricRuleOutput) Comparison() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAlterRuleMetricRule) *string { return v.Comparison }).(pulumi.StringPtrOutput) +type ProjectLoggingSyslogConfigArgs struct { + // SSL certificate for the syslog service (string) + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + // SSL client certificate for the syslog service (string) + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + // SSL client key for the syslog service (string) + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + // Enable TLS for the fluentd service (bool) + EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` + // Endpoint of the syslog service (string) + Endpoint pulumi.StringInput `pulumi:"endpoint"` + // Program for the syslog service (string) + Program pulumi.StringPtrInput `pulumi:"program"` + // Protocol for the syslog service. `tcp` and `udp` are supported. Default: `udp` (string) + Protocol pulumi.StringPtrInput `pulumi:"protocol"` + // Date format for the syslog logs. `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info` and `debug` are supported. Default: `notice` (string) + Severity pulumi.StringPtrInput `pulumi:"severity"` + // SSL verify for the syslog service (bool) + SslVerify pulumi.BoolPtrInput `pulumi:"sslVerify"` + // Token for the syslog service (string) + Token pulumi.StringPtrInput `pulumi:"token"` } -func (o GetClusterAlterRuleMetricRuleOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAlterRuleMetricRule) *string { return v.Description }).(pulumi.StringPtrOutput) +func (ProjectLoggingSyslogConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingSyslogConfig)(nil)).Elem() } -func (o GetClusterAlterRuleMetricRuleOutput) Duration() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAlterRuleMetricRule) string { return v.Duration }).(pulumi.StringOutput) +func (i ProjectLoggingSyslogConfigArgs) ToProjectLoggingSyslogConfigOutput() ProjectLoggingSyslogConfigOutput { + return i.ToProjectLoggingSyslogConfigOutputWithContext(context.Background()) } -func (o GetClusterAlterRuleMetricRuleOutput) Expression() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterAlterRuleMetricRule) string { return v.Expression }).(pulumi.StringOutput) +func (i ProjectLoggingSyslogConfigArgs) ToProjectLoggingSyslogConfigOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSyslogConfigOutput) } -func (o GetClusterAlterRuleMetricRuleOutput) ThresholdValue() pulumi.Float64Output { - return o.ApplyT(func(v GetClusterAlterRuleMetricRule) float64 { return v.ThresholdValue }).(pulumi.Float64Output) +func (i ProjectLoggingSyslogConfigArgs) ToProjectLoggingSyslogConfigPtrOutput() ProjectLoggingSyslogConfigPtrOutput { + return i.ToProjectLoggingSyslogConfigPtrOutputWithContext(context.Background()) } -type GetClusterAlterRuleNodeRule struct { - Condition *string `pulumi:"condition"` - CpuThreshold *int `pulumi:"cpuThreshold"` - MemThreshold *int `pulumi:"memThreshold"` - NodeId *string `pulumi:"nodeId"` - Selector map[string]interface{} `pulumi:"selector"` +func (i ProjectLoggingSyslogConfigArgs) ToProjectLoggingSyslogConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSyslogConfigOutput).ToProjectLoggingSyslogConfigPtrOutputWithContext(ctx) } -// GetClusterAlterRuleNodeRuleInput is an input type that accepts GetClusterAlterRuleNodeRuleArgs and GetClusterAlterRuleNodeRuleOutput values. -// You can construct a concrete instance of `GetClusterAlterRuleNodeRuleInput` via: +// ProjectLoggingSyslogConfigPtrInput is an input type that accepts ProjectLoggingSyslogConfigArgs, ProjectLoggingSyslogConfigPtr and ProjectLoggingSyslogConfigPtrOutput values. +// You can construct a concrete instance of `ProjectLoggingSyslogConfigPtrInput` via: // -// GetClusterAlterRuleNodeRuleArgs{...} -type GetClusterAlterRuleNodeRuleInput interface { +// ProjectLoggingSyslogConfigArgs{...} +// +// or: +// +// nil +type ProjectLoggingSyslogConfigPtrInput interface { pulumi.Input - ToGetClusterAlterRuleNodeRuleOutput() GetClusterAlterRuleNodeRuleOutput - ToGetClusterAlterRuleNodeRuleOutputWithContext(context.Context) GetClusterAlterRuleNodeRuleOutput + ToProjectLoggingSyslogConfigPtrOutput() ProjectLoggingSyslogConfigPtrOutput + ToProjectLoggingSyslogConfigPtrOutputWithContext(context.Context) ProjectLoggingSyslogConfigPtrOutput } -type GetClusterAlterRuleNodeRuleArgs struct { - Condition pulumi.StringPtrInput `pulumi:"condition"` - CpuThreshold pulumi.IntPtrInput `pulumi:"cpuThreshold"` - MemThreshold pulumi.IntPtrInput `pulumi:"memThreshold"` - NodeId pulumi.StringPtrInput `pulumi:"nodeId"` - Selector pulumi.MapInput `pulumi:"selector"` +type projectLoggingSyslogConfigPtrType ProjectLoggingSyslogConfigArgs + +func ProjectLoggingSyslogConfigPtr(v *ProjectLoggingSyslogConfigArgs) ProjectLoggingSyslogConfigPtrInput { + return (*projectLoggingSyslogConfigPtrType)(v) } -func (GetClusterAlterRuleNodeRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAlterRuleNodeRule)(nil)).Elem() +func (*projectLoggingSyslogConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingSyslogConfig)(nil)).Elem() } -func (i GetClusterAlterRuleNodeRuleArgs) ToGetClusterAlterRuleNodeRuleOutput() GetClusterAlterRuleNodeRuleOutput { - return i.ToGetClusterAlterRuleNodeRuleOutputWithContext(context.Background()) +func (i *projectLoggingSyslogConfigPtrType) ToProjectLoggingSyslogConfigPtrOutput() ProjectLoggingSyslogConfigPtrOutput { + return i.ToProjectLoggingSyslogConfigPtrOutputWithContext(context.Background()) } -func (i GetClusterAlterRuleNodeRuleArgs) ToGetClusterAlterRuleNodeRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleNodeRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlterRuleNodeRuleOutput) +func (i *projectLoggingSyslogConfigPtrType) ToProjectLoggingSyslogConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectLoggingSyslogConfigPtrOutput) } -type GetClusterAlterRuleNodeRuleOutput struct{ *pulumi.OutputState } +type ProjectLoggingSyslogConfigOutput struct{ *pulumi.OutputState } -func (GetClusterAlterRuleNodeRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAlterRuleNodeRule)(nil)).Elem() +func (ProjectLoggingSyslogConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectLoggingSyslogConfig)(nil)).Elem() } -func (o GetClusterAlterRuleNodeRuleOutput) ToGetClusterAlterRuleNodeRuleOutput() GetClusterAlterRuleNodeRuleOutput { +func (o ProjectLoggingSyslogConfigOutput) ToProjectLoggingSyslogConfigOutput() ProjectLoggingSyslogConfigOutput { return o } -func (o GetClusterAlterRuleNodeRuleOutput) ToGetClusterAlterRuleNodeRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleNodeRuleOutput { +func (o ProjectLoggingSyslogConfigOutput) ToProjectLoggingSyslogConfigOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigOutput { return o } -func (o GetClusterAlterRuleNodeRuleOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAlterRuleNodeRule) *string { return v.Condition }).(pulumi.StringPtrOutput) +func (o ProjectLoggingSyslogConfigOutput) ToProjectLoggingSyslogConfigPtrOutput() ProjectLoggingSyslogConfigPtrOutput { + return o.ToProjectLoggingSyslogConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterAlterRuleNodeRuleOutput) CpuThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterAlterRuleNodeRule) *int { return v.CpuThreshold }).(pulumi.IntPtrOutput) +func (o ProjectLoggingSyslogConfigOutput) ToProjectLoggingSyslogConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectLoggingSyslogConfig) *ProjectLoggingSyslogConfig { + return &v + }).(ProjectLoggingSyslogConfigPtrOutput) } -func (o GetClusterAlterRuleNodeRuleOutput) MemThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterAlterRuleNodeRule) *int { return v.MemThreshold }).(pulumi.IntPtrOutput) +// SSL certificate for the syslog service (string) +func (o ProjectLoggingSyslogConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -func (o GetClusterAlterRuleNodeRuleOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAlterRuleNodeRule) *string { return v.NodeId }).(pulumi.StringPtrOutput) +// SSL client certificate for the syslog service (string) +func (o ProjectLoggingSyslogConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) } -func (o GetClusterAlterRuleNodeRuleOutput) Selector() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterAlterRuleNodeRule) map[string]interface{} { return v.Selector }).(pulumi.MapOutput) +// SSL client key for the syslog service (string) +func (o ProjectLoggingSyslogConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) } -type GetClusterAlterRuleSystemServiceRule struct { - Condition *string `pulumi:"condition"` +// Enable TLS for the fluentd service (bool) +func (o ProjectLoggingSyslogConfigOutput) EnableTls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProjectLoggingSyslogConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) } -// GetClusterAlterRuleSystemServiceRuleInput is an input type that accepts GetClusterAlterRuleSystemServiceRuleArgs and GetClusterAlterRuleSystemServiceRuleOutput values. -// You can construct a concrete instance of `GetClusterAlterRuleSystemServiceRuleInput` via: -// -// GetClusterAlterRuleSystemServiceRuleArgs{...} -type GetClusterAlterRuleSystemServiceRuleInput interface { - pulumi.Input +// Endpoint of the syslog service (string) +func (o ProjectLoggingSyslogConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v ProjectLoggingSyslogConfig) string { return v.Endpoint }).(pulumi.StringOutput) +} - ToGetClusterAlterRuleSystemServiceRuleOutput() GetClusterAlterRuleSystemServiceRuleOutput - ToGetClusterAlterRuleSystemServiceRuleOutputWithContext(context.Context) GetClusterAlterRuleSystemServiceRuleOutput +// Program for the syslog service (string) +func (o ProjectLoggingSyslogConfigOutput) Program() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.Program }).(pulumi.StringPtrOutput) } -type GetClusterAlterRuleSystemServiceRuleArgs struct { - Condition pulumi.StringPtrInput `pulumi:"condition"` +// Protocol for the syslog service. `tcp` and `udp` are supported. Default: `udp` (string) +func (o ProjectLoggingSyslogConfigOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.Protocol }).(pulumi.StringPtrOutput) } -func (GetClusterAlterRuleSystemServiceRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAlterRuleSystemServiceRule)(nil)).Elem() +// Date format for the syslog logs. `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info` and `debug` are supported. Default: `notice` (string) +func (o ProjectLoggingSyslogConfigOutput) Severity() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.Severity }).(pulumi.StringPtrOutput) } -func (i GetClusterAlterRuleSystemServiceRuleArgs) ToGetClusterAlterRuleSystemServiceRuleOutput() GetClusterAlterRuleSystemServiceRuleOutput { - return i.ToGetClusterAlterRuleSystemServiceRuleOutputWithContext(context.Background()) +// SSL verify for the syslog service (bool) +func (o ProjectLoggingSyslogConfigOutput) SslVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ProjectLoggingSyslogConfig) *bool { return v.SslVerify }).(pulumi.BoolPtrOutput) } -func (i GetClusterAlterRuleSystemServiceRuleArgs) ToGetClusterAlterRuleSystemServiceRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleSystemServiceRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlterRuleSystemServiceRuleOutput) +// Token for the syslog service (string) +func (o ProjectLoggingSyslogConfigOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectLoggingSyslogConfig) *string { return v.Token }).(pulumi.StringPtrOutput) } -type GetClusterAlterRuleSystemServiceRuleOutput struct{ *pulumi.OutputState } +type ProjectLoggingSyslogConfigPtrOutput struct{ *pulumi.OutputState } -func (GetClusterAlterRuleSystemServiceRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterAlterRuleSystemServiceRule)(nil)).Elem() +func (ProjectLoggingSyslogConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectLoggingSyslogConfig)(nil)).Elem() } -func (o GetClusterAlterRuleSystemServiceRuleOutput) ToGetClusterAlterRuleSystemServiceRuleOutput() GetClusterAlterRuleSystemServiceRuleOutput { +func (o ProjectLoggingSyslogConfigPtrOutput) ToProjectLoggingSyslogConfigPtrOutput() ProjectLoggingSyslogConfigPtrOutput { return o } -func (o GetClusterAlterRuleSystemServiceRuleOutput) ToGetClusterAlterRuleSystemServiceRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleSystemServiceRuleOutput { +func (o ProjectLoggingSyslogConfigPtrOutput) ToProjectLoggingSyslogConfigPtrOutputWithContext(ctx context.Context) ProjectLoggingSyslogConfigPtrOutput { return o } -func (o GetClusterAlterRuleSystemServiceRuleOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterAlterRuleSystemServiceRule) *string { return v.Condition }).(pulumi.StringPtrOutput) -} - -type GetClusterClusterAuthEndpoint struct { - CaCerts *string `pulumi:"caCerts"` - Enabled *bool `pulumi:"enabled"` - Fqdn *string `pulumi:"fqdn"` -} - -// GetClusterClusterAuthEndpointInput is an input type that accepts GetClusterClusterAuthEndpointArgs and GetClusterClusterAuthEndpointOutput values. -// You can construct a concrete instance of `GetClusterClusterAuthEndpointInput` via: -// -// GetClusterClusterAuthEndpointArgs{...} -type GetClusterClusterAuthEndpointInput interface { - pulumi.Input - - ToGetClusterClusterAuthEndpointOutput() GetClusterClusterAuthEndpointOutput - ToGetClusterClusterAuthEndpointOutputWithContext(context.Context) GetClusterClusterAuthEndpointOutput +func (o ProjectLoggingSyslogConfigPtrOutput) Elem() ProjectLoggingSyslogConfigOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) ProjectLoggingSyslogConfig { + if v != nil { + return *v + } + var ret ProjectLoggingSyslogConfig + return ret + }).(ProjectLoggingSyslogConfigOutput) } -type GetClusterClusterAuthEndpointArgs struct { - CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` +// SSL certificate for the syslog service (string) +func (o ProjectLoggingSyslogConfigPtrOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { + if v == nil { + return nil + } + return v.Certificate + }).(pulumi.StringPtrOutput) } -func (GetClusterClusterAuthEndpointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterAuthEndpoint)(nil)).Elem() +// SSL client certificate for the syslog service (string) +func (o ProjectLoggingSyslogConfigPtrOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { + if v == nil { + return nil + } + return v.ClientCert + }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterAuthEndpointArgs) ToGetClusterClusterAuthEndpointOutput() GetClusterClusterAuthEndpointOutput { - return i.ToGetClusterClusterAuthEndpointOutputWithContext(context.Background()) +// SSL client key for the syslog service (string) +func (o ProjectLoggingSyslogConfigPtrOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { + if v == nil { + return nil + } + return v.ClientKey + }).(pulumi.StringPtrOutput) } -func (i GetClusterClusterAuthEndpointArgs) ToGetClusterClusterAuthEndpointOutputWithContext(ctx context.Context) GetClusterClusterAuthEndpointOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterAuthEndpointOutput) +// Enable TLS for the fluentd service (bool) +func (o ProjectLoggingSyslogConfigPtrOutput) EnableTls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *bool { + if v == nil { + return nil + } + return v.EnableTls + }).(pulumi.BoolPtrOutput) } -type GetClusterClusterAuthEndpointOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterAuthEndpointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterAuthEndpoint)(nil)).Elem() +// Endpoint of the syslog service (string) +func (o ProjectLoggingSyslogConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { + if v == nil { + return nil + } + return &v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterAuthEndpointOutput) ToGetClusterClusterAuthEndpointOutput() GetClusterClusterAuthEndpointOutput { - return o +// Program for the syslog service (string) +func (o ProjectLoggingSyslogConfigPtrOutput) Program() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { + if v == nil { + return nil + } + return v.Program + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterAuthEndpointOutput) ToGetClusterClusterAuthEndpointOutputWithContext(ctx context.Context) GetClusterClusterAuthEndpointOutput { - return o +// Protocol for the syslog service. `tcp` and `udp` are supported. Default: `udp` (string) +func (o ProjectLoggingSyslogConfigPtrOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { + if v == nil { + return nil + } + return v.Protocol + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) +// Date format for the syslog logs. `emergency`, `alert`, `critical`, `error`, `warning`, `notice`, `info` and `debug` are supported. Default: `notice` (string) +func (o ProjectLoggingSyslogConfigPtrOutput) Severity() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { + if v == nil { + return nil + } + return v.Severity + }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +// SSL verify for the syslog service (bool) +func (o ProjectLoggingSyslogConfigPtrOutput) SslVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *bool { + if v == nil { + return nil + } + return v.SslVerify + }).(pulumi.BoolPtrOutput) } -func (o GetClusterClusterAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +// Token for the syslog service (string) +func (o ProjectLoggingSyslogConfigPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectLoggingSyslogConfig) *string { + if v == nil { + return nil + } + return v.Token + }).(pulumi.StringPtrOutput) } -type GetClusterClusterMonitoringInput struct { +type ProjectProjectMonitoringInput struct { + // Key/value answers for monitor input (map) Answers map[string]interface{} `pulumi:"answers"` - Version *string `pulumi:"version"` + // rancher-monitoring chart version (string) + Version *string `pulumi:"version"` } -// GetClusterClusterMonitoringInputInput is an input type that accepts GetClusterClusterMonitoringInputArgs and GetClusterClusterMonitoringInputOutput values. -// You can construct a concrete instance of `GetClusterClusterMonitoringInputInput` via: +// ProjectProjectMonitoringInputInput is an input type that accepts ProjectProjectMonitoringInputArgs and ProjectProjectMonitoringInputOutput values. +// You can construct a concrete instance of `ProjectProjectMonitoringInputInput` via: // -// GetClusterClusterMonitoringInputArgs{...} -type GetClusterClusterMonitoringInputInput interface { +// ProjectProjectMonitoringInputArgs{...} +type ProjectProjectMonitoringInputInput interface { pulumi.Input - ToGetClusterClusterMonitoringInputOutput() GetClusterClusterMonitoringInputOutput - ToGetClusterClusterMonitoringInputOutputWithContext(context.Context) GetClusterClusterMonitoringInputOutput -} - -type GetClusterClusterMonitoringInputArgs struct { - Answers pulumi.MapInput `pulumi:"answers"` - Version pulumi.StringPtrInput `pulumi:"version"` -} - -func (GetClusterClusterMonitoringInputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterMonitoringInput)(nil)).Elem() -} - -func (i GetClusterClusterMonitoringInputArgs) ToGetClusterClusterMonitoringInputOutput() GetClusterClusterMonitoringInputOutput { - return i.ToGetClusterClusterMonitoringInputOutputWithContext(context.Background()) -} - -func (i GetClusterClusterMonitoringInputArgs) ToGetClusterClusterMonitoringInputOutputWithContext(ctx context.Context) GetClusterClusterMonitoringInputOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterMonitoringInputOutput) -} - -type GetClusterClusterMonitoringInputOutput struct{ *pulumi.OutputState } + ToProjectProjectMonitoringInputOutput() ProjectProjectMonitoringInputOutput + ToProjectProjectMonitoringInputOutputWithContext(context.Context) ProjectProjectMonitoringInputOutput +} -func (GetClusterClusterMonitoringInputOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterMonitoringInput)(nil)).Elem() +type ProjectProjectMonitoringInputArgs struct { + // Key/value answers for monitor input (map) + Answers pulumi.MapInput `pulumi:"answers"` + // rancher-monitoring chart version (string) + Version pulumi.StringPtrInput `pulumi:"version"` } -func (o GetClusterClusterMonitoringInputOutput) ToGetClusterClusterMonitoringInputOutput() GetClusterClusterMonitoringInputOutput { - return o +func (ProjectProjectMonitoringInputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectProjectMonitoringInput)(nil)).Elem() } -func (o GetClusterClusterMonitoringInputOutput) ToGetClusterClusterMonitoringInputOutputWithContext(ctx context.Context) GetClusterClusterMonitoringInputOutput { - return o +func (i ProjectProjectMonitoringInputArgs) ToProjectProjectMonitoringInputOutput() ProjectProjectMonitoringInputOutput { + return i.ToProjectProjectMonitoringInputOutputWithContext(context.Background()) } -func (o GetClusterClusterMonitoringInputOutput) Answers() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterMonitoringInput) map[string]interface{} { return v.Answers }).(pulumi.MapOutput) +func (i ProjectProjectMonitoringInputArgs) ToProjectProjectMonitoringInputOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectProjectMonitoringInputOutput) } -func (o GetClusterClusterMonitoringInputOutput) Version() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterMonitoringInput) *string { return v.Version }).(pulumi.StringPtrOutput) +func (i ProjectProjectMonitoringInputArgs) ToProjectProjectMonitoringInputPtrOutput() ProjectProjectMonitoringInputPtrOutput { + return i.ToProjectProjectMonitoringInputPtrOutputWithContext(context.Background()) } -type GetClusterClusterRegistrationToken struct { - // (Computed) Annotations for Node Pool object (map) - Annotations map[string]interface{} `pulumi:"annotations"` - ClusterId string `pulumi:"clusterId"` - Command string `pulumi:"command"` - // (Computed) The ID of the resource (string) - Id string `pulumi:"id"` - InsecureCommand string `pulumi:"insecureCommand"` - InsecureNodeCommand string `pulumi:"insecureNodeCommand"` - InsecureWindowsNodeCommand string `pulumi:"insecureWindowsNodeCommand"` - // (Computed) Labels for Node Pool object (map) - Labels map[string]interface{} `pulumi:"labels"` - ManifestUrl string `pulumi:"manifestUrl"` - // The name of the Cluster (string) - Name string `pulumi:"name"` - NodeCommand string `pulumi:"nodeCommand"` - Token string `pulumi:"token"` - WindowsNodeCommand string `pulumi:"windowsNodeCommand"` +func (i ProjectProjectMonitoringInputArgs) ToProjectProjectMonitoringInputPtrOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectProjectMonitoringInputOutput).ToProjectProjectMonitoringInputPtrOutputWithContext(ctx) } -// GetClusterClusterRegistrationTokenInput is an input type that accepts GetClusterClusterRegistrationTokenArgs and GetClusterClusterRegistrationTokenOutput values. -// You can construct a concrete instance of `GetClusterClusterRegistrationTokenInput` via: +// ProjectProjectMonitoringInputPtrInput is an input type that accepts ProjectProjectMonitoringInputArgs, ProjectProjectMonitoringInputPtr and ProjectProjectMonitoringInputPtrOutput values. +// You can construct a concrete instance of `ProjectProjectMonitoringInputPtrInput` via: // -// GetClusterClusterRegistrationTokenArgs{...} -type GetClusterClusterRegistrationTokenInput interface { +// ProjectProjectMonitoringInputArgs{...} +// +// or: +// +// nil +type ProjectProjectMonitoringInputPtrInput interface { pulumi.Input - ToGetClusterClusterRegistrationTokenOutput() GetClusterClusterRegistrationTokenOutput - ToGetClusterClusterRegistrationTokenOutputWithContext(context.Context) GetClusterClusterRegistrationTokenOutput + ToProjectProjectMonitoringInputPtrOutput() ProjectProjectMonitoringInputPtrOutput + ToProjectProjectMonitoringInputPtrOutputWithContext(context.Context) ProjectProjectMonitoringInputPtrOutput } -type GetClusterClusterRegistrationTokenArgs struct { - // (Computed) Annotations for Node Pool object (map) - Annotations pulumi.MapInput `pulumi:"annotations"` - ClusterId pulumi.StringInput `pulumi:"clusterId"` - Command pulumi.StringInput `pulumi:"command"` - // (Computed) The ID of the resource (string) - Id pulumi.StringInput `pulumi:"id"` - InsecureCommand pulumi.StringInput `pulumi:"insecureCommand"` - InsecureNodeCommand pulumi.StringInput `pulumi:"insecureNodeCommand"` - InsecureWindowsNodeCommand pulumi.StringInput `pulumi:"insecureWindowsNodeCommand"` - // (Computed) Labels for Node Pool object (map) - Labels pulumi.MapInput `pulumi:"labels"` - ManifestUrl pulumi.StringInput `pulumi:"manifestUrl"` - // The name of the Cluster (string) - Name pulumi.StringInput `pulumi:"name"` - NodeCommand pulumi.StringInput `pulumi:"nodeCommand"` - Token pulumi.StringInput `pulumi:"token"` - WindowsNodeCommand pulumi.StringInput `pulumi:"windowsNodeCommand"` +type projectProjectMonitoringInputPtrType ProjectProjectMonitoringInputArgs + +func ProjectProjectMonitoringInputPtr(v *ProjectProjectMonitoringInputArgs) ProjectProjectMonitoringInputPtrInput { + return (*projectProjectMonitoringInputPtrType)(v) } -func (GetClusterClusterRegistrationTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterRegistrationToken)(nil)).Elem() +func (*projectProjectMonitoringInputPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectProjectMonitoringInput)(nil)).Elem() } -func (i GetClusterClusterRegistrationTokenArgs) ToGetClusterClusterRegistrationTokenOutput() GetClusterClusterRegistrationTokenOutput { - return i.ToGetClusterClusterRegistrationTokenOutputWithContext(context.Background()) +func (i *projectProjectMonitoringInputPtrType) ToProjectProjectMonitoringInputPtrOutput() ProjectProjectMonitoringInputPtrOutput { + return i.ToProjectProjectMonitoringInputPtrOutputWithContext(context.Background()) } -func (i GetClusterClusterRegistrationTokenArgs) ToGetClusterClusterRegistrationTokenOutputWithContext(ctx context.Context) GetClusterClusterRegistrationTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterRegistrationTokenOutput) +func (i *projectProjectMonitoringInputPtrType) ToProjectProjectMonitoringInputPtrOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectProjectMonitoringInputPtrOutput) } -type GetClusterClusterRegistrationTokenOutput struct{ *pulumi.OutputState } +type ProjectProjectMonitoringInputOutput struct{ *pulumi.OutputState } -func (GetClusterClusterRegistrationTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterRegistrationToken)(nil)).Elem() +func (ProjectProjectMonitoringInputOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectProjectMonitoringInput)(nil)).Elem() } -func (o GetClusterClusterRegistrationTokenOutput) ToGetClusterClusterRegistrationTokenOutput() GetClusterClusterRegistrationTokenOutput { +func (o ProjectProjectMonitoringInputOutput) ToProjectProjectMonitoringInputOutput() ProjectProjectMonitoringInputOutput { return o } -func (o GetClusterClusterRegistrationTokenOutput) ToGetClusterClusterRegistrationTokenOutputWithContext(ctx context.Context) GetClusterClusterRegistrationTokenOutput { +func (o ProjectProjectMonitoringInputOutput) ToProjectProjectMonitoringInputOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputOutput { return o } -// (Computed) Annotations for Node Pool object (map) -func (o GetClusterClusterRegistrationTokenOutput) Annotations() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) -} - -func (o GetClusterClusterRegistrationTokenOutput) ClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.ClusterId }).(pulumi.StringOutput) -} - -func (o GetClusterClusterRegistrationTokenOutput) Command() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.Command }).(pulumi.StringOutput) +func (o ProjectProjectMonitoringInputOutput) ToProjectProjectMonitoringInputPtrOutput() ProjectProjectMonitoringInputPtrOutput { + return o.ToProjectProjectMonitoringInputPtrOutputWithContext(context.Background()) } -// (Computed) The ID of the resource (string) -func (o GetClusterClusterRegistrationTokenOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.Id }).(pulumi.StringOutput) +func (o ProjectProjectMonitoringInputOutput) ToProjectProjectMonitoringInputPtrOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectProjectMonitoringInput) *ProjectProjectMonitoringInput { + return &v + }).(ProjectProjectMonitoringInputPtrOutput) } -func (o GetClusterClusterRegistrationTokenOutput) InsecureCommand() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.InsecureCommand }).(pulumi.StringOutput) +// Key/value answers for monitor input (map) +func (o ProjectProjectMonitoringInputOutput) Answers() pulumi.MapOutput { + return o.ApplyT(func(v ProjectProjectMonitoringInput) map[string]interface{} { return v.Answers }).(pulumi.MapOutput) } -func (o GetClusterClusterRegistrationTokenOutput) InsecureNodeCommand() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.InsecureNodeCommand }).(pulumi.StringOutput) +// rancher-monitoring chart version (string) +func (o ProjectProjectMonitoringInputOutput) Version() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectProjectMonitoringInput) *string { return v.Version }).(pulumi.StringPtrOutput) } -func (o GetClusterClusterRegistrationTokenOutput) InsecureWindowsNodeCommand() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.InsecureWindowsNodeCommand }).(pulumi.StringOutput) -} +type ProjectProjectMonitoringInputPtrOutput struct{ *pulumi.OutputState } -// (Computed) Labels for Node Pool object (map) -func (o GetClusterClusterRegistrationTokenOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +func (ProjectProjectMonitoringInputPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectProjectMonitoringInput)(nil)).Elem() } -func (o GetClusterClusterRegistrationTokenOutput) ManifestUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.ManifestUrl }).(pulumi.StringOutput) +func (o ProjectProjectMonitoringInputPtrOutput) ToProjectProjectMonitoringInputPtrOutput() ProjectProjectMonitoringInputPtrOutput { + return o } -// The name of the Cluster (string) -func (o GetClusterClusterRegistrationTokenOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.Name }).(pulumi.StringOutput) +func (o ProjectProjectMonitoringInputPtrOutput) ToProjectProjectMonitoringInputPtrOutputWithContext(ctx context.Context) ProjectProjectMonitoringInputPtrOutput { + return o } -func (o GetClusterClusterRegistrationTokenOutput) NodeCommand() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.NodeCommand }).(pulumi.StringOutput) +func (o ProjectProjectMonitoringInputPtrOutput) Elem() ProjectProjectMonitoringInputOutput { + return o.ApplyT(func(v *ProjectProjectMonitoringInput) ProjectProjectMonitoringInput { + if v != nil { + return *v + } + var ret ProjectProjectMonitoringInput + return ret + }).(ProjectProjectMonitoringInputOutput) } -func (o GetClusterClusterRegistrationTokenOutput) Token() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.Token }).(pulumi.StringOutput) +// Key/value answers for monitor input (map) +func (o ProjectProjectMonitoringInputPtrOutput) Answers() pulumi.MapOutput { + return o.ApplyT(func(v *ProjectProjectMonitoringInput) map[string]interface{} { + if v == nil { + return nil + } + return v.Answers + }).(pulumi.MapOutput) } -func (o GetClusterClusterRegistrationTokenOutput) WindowsNodeCommand() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.WindowsNodeCommand }).(pulumi.StringOutput) +// rancher-monitoring chart version (string) +func (o ProjectProjectMonitoringInputPtrOutput) Version() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectProjectMonitoringInput) *string { + if v == nil { + return nil + } + return v.Version + }).(pulumi.StringPtrOutput) } -type GetClusterClusterTemplateAnswers struct { - ClusterId string `pulumi:"clusterId"` - ProjectId string `pulumi:"projectId"` - Values map[string]interface{} `pulumi:"values"` +type ProjectResourceQuota struct { + // Default resource quota limit for namespaces in project (list maxitems:1) + NamespaceDefaultLimit ProjectResourceQuotaNamespaceDefaultLimit `pulumi:"namespaceDefaultLimit"` + // Resource quota limit for project (list maxitems:1) + ProjectLimit ProjectResourceQuotaProjectLimit `pulumi:"projectLimit"` } -// GetClusterClusterTemplateAnswersInput is an input type that accepts GetClusterClusterTemplateAnswersArgs and GetClusterClusterTemplateAnswersOutput values. -// You can construct a concrete instance of `GetClusterClusterTemplateAnswersInput` via: +// ProjectResourceQuotaInput is an input type that accepts ProjectResourceQuotaArgs and ProjectResourceQuotaOutput values. +// You can construct a concrete instance of `ProjectResourceQuotaInput` via: // -// GetClusterClusterTemplateAnswersArgs{...} -type GetClusterClusterTemplateAnswersInput interface { +// ProjectResourceQuotaArgs{...} +type ProjectResourceQuotaInput interface { pulumi.Input - ToGetClusterClusterTemplateAnswersOutput() GetClusterClusterTemplateAnswersOutput - ToGetClusterClusterTemplateAnswersOutputWithContext(context.Context) GetClusterClusterTemplateAnswersOutput + ToProjectResourceQuotaOutput() ProjectResourceQuotaOutput + ToProjectResourceQuotaOutputWithContext(context.Context) ProjectResourceQuotaOutput } -type GetClusterClusterTemplateAnswersArgs struct { - ClusterId pulumi.StringInput `pulumi:"clusterId"` - ProjectId pulumi.StringInput `pulumi:"projectId"` - Values pulumi.MapInput `pulumi:"values"` +type ProjectResourceQuotaArgs struct { + // Default resource quota limit for namespaces in project (list maxitems:1) + NamespaceDefaultLimit ProjectResourceQuotaNamespaceDefaultLimitInput `pulumi:"namespaceDefaultLimit"` + // Resource quota limit for project (list maxitems:1) + ProjectLimit ProjectResourceQuotaProjectLimitInput `pulumi:"projectLimit"` } -func (GetClusterClusterTemplateAnswersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterTemplateAnswers)(nil)).Elem() +func (ProjectResourceQuotaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectResourceQuota)(nil)).Elem() } -func (i GetClusterClusterTemplateAnswersArgs) ToGetClusterClusterTemplateAnswersOutput() GetClusterClusterTemplateAnswersOutput { - return i.ToGetClusterClusterTemplateAnswersOutputWithContext(context.Background()) +func (i ProjectResourceQuotaArgs) ToProjectResourceQuotaOutput() ProjectResourceQuotaOutput { + return i.ToProjectResourceQuotaOutputWithContext(context.Background()) } -func (i GetClusterClusterTemplateAnswersArgs) ToGetClusterClusterTemplateAnswersOutputWithContext(ctx context.Context) GetClusterClusterTemplateAnswersOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterTemplateAnswersOutput) +func (i ProjectResourceQuotaArgs) ToProjectResourceQuotaOutputWithContext(ctx context.Context) ProjectResourceQuotaOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaOutput) } -type GetClusterClusterTemplateAnswersOutput struct{ *pulumi.OutputState } - -func (GetClusterClusterTemplateAnswersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterTemplateAnswers)(nil)).Elem() +func (i ProjectResourceQuotaArgs) ToProjectResourceQuotaPtrOutput() ProjectResourceQuotaPtrOutput { + return i.ToProjectResourceQuotaPtrOutputWithContext(context.Background()) } -func (o GetClusterClusterTemplateAnswersOutput) ToGetClusterClusterTemplateAnswersOutput() GetClusterClusterTemplateAnswersOutput { - return o +func (i ProjectResourceQuotaArgs) ToProjectResourceQuotaPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaOutput).ToProjectResourceQuotaPtrOutputWithContext(ctx) } -func (o GetClusterClusterTemplateAnswersOutput) ToGetClusterClusterTemplateAnswersOutputWithContext(ctx context.Context) GetClusterClusterTemplateAnswersOutput { - return o -} +// ProjectResourceQuotaPtrInput is an input type that accepts ProjectResourceQuotaArgs, ProjectResourceQuotaPtr and ProjectResourceQuotaPtrOutput values. +// You can construct a concrete instance of `ProjectResourceQuotaPtrInput` via: +// +// ProjectResourceQuotaArgs{...} +// +// or: +// +// nil +type ProjectResourceQuotaPtrInput interface { + pulumi.Input -func (o GetClusterClusterTemplateAnswersOutput) ClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterTemplateAnswers) string { return v.ClusterId }).(pulumi.StringOutput) + ToProjectResourceQuotaPtrOutput() ProjectResourceQuotaPtrOutput + ToProjectResourceQuotaPtrOutputWithContext(context.Context) ProjectResourceQuotaPtrOutput } -func (o GetClusterClusterTemplateAnswersOutput) ProjectId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterTemplateAnswers) string { return v.ProjectId }).(pulumi.StringOutput) -} +type projectResourceQuotaPtrType ProjectResourceQuotaArgs -func (o GetClusterClusterTemplateAnswersOutput) Values() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterClusterTemplateAnswers) map[string]interface{} { return v.Values }).(pulumi.MapOutput) +func ProjectResourceQuotaPtr(v *ProjectResourceQuotaArgs) ProjectResourceQuotaPtrInput { + return (*projectResourceQuotaPtrType)(v) } -type GetClusterClusterTemplateQuestion struct { - Default string `pulumi:"default"` - Required *bool `pulumi:"required"` - Type *string `pulumi:"type"` - Variable string `pulumi:"variable"` +func (*projectResourceQuotaPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectResourceQuota)(nil)).Elem() } -// GetClusterClusterTemplateQuestionInput is an input type that accepts GetClusterClusterTemplateQuestionArgs and GetClusterClusterTemplateQuestionOutput values. -// You can construct a concrete instance of `GetClusterClusterTemplateQuestionInput` via: -// -// GetClusterClusterTemplateQuestionArgs{...} -type GetClusterClusterTemplateQuestionInput interface { - pulumi.Input - - ToGetClusterClusterTemplateQuestionOutput() GetClusterClusterTemplateQuestionOutput - ToGetClusterClusterTemplateQuestionOutputWithContext(context.Context) GetClusterClusterTemplateQuestionOutput +func (i *projectResourceQuotaPtrType) ToProjectResourceQuotaPtrOutput() ProjectResourceQuotaPtrOutput { + return i.ToProjectResourceQuotaPtrOutputWithContext(context.Background()) } -type GetClusterClusterTemplateQuestionArgs struct { - Default pulumi.StringInput `pulumi:"default"` - Required pulumi.BoolPtrInput `pulumi:"required"` - Type pulumi.StringPtrInput `pulumi:"type"` - Variable pulumi.StringInput `pulumi:"variable"` +func (i *projectResourceQuotaPtrType) ToProjectResourceQuotaPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaPtrOutput) } -func (GetClusterClusterTemplateQuestionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterTemplateQuestion)(nil)).Elem() -} +type ProjectResourceQuotaOutput struct{ *pulumi.OutputState } -func (i GetClusterClusterTemplateQuestionArgs) ToGetClusterClusterTemplateQuestionOutput() GetClusterClusterTemplateQuestionOutput { - return i.ToGetClusterClusterTemplateQuestionOutputWithContext(context.Background()) +func (ProjectResourceQuotaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectResourceQuota)(nil)).Elem() } -func (i GetClusterClusterTemplateQuestionArgs) ToGetClusterClusterTemplateQuestionOutputWithContext(ctx context.Context) GetClusterClusterTemplateQuestionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterTemplateQuestionOutput) +func (o ProjectResourceQuotaOutput) ToProjectResourceQuotaOutput() ProjectResourceQuotaOutput { + return o } -// GetClusterClusterTemplateQuestionArrayInput is an input type that accepts GetClusterClusterTemplateQuestionArray and GetClusterClusterTemplateQuestionArrayOutput values. -// You can construct a concrete instance of `GetClusterClusterTemplateQuestionArrayInput` via: -// -// GetClusterClusterTemplateQuestionArray{ GetClusterClusterTemplateQuestionArgs{...} } -type GetClusterClusterTemplateQuestionArrayInput interface { - pulumi.Input - - ToGetClusterClusterTemplateQuestionArrayOutput() GetClusterClusterTemplateQuestionArrayOutput - ToGetClusterClusterTemplateQuestionArrayOutputWithContext(context.Context) GetClusterClusterTemplateQuestionArrayOutput +func (o ProjectResourceQuotaOutput) ToProjectResourceQuotaOutputWithContext(ctx context.Context) ProjectResourceQuotaOutput { + return o } -type GetClusterClusterTemplateQuestionArray []GetClusterClusterTemplateQuestionInput +func (o ProjectResourceQuotaOutput) ToProjectResourceQuotaPtrOutput() ProjectResourceQuotaPtrOutput { + return o.ToProjectResourceQuotaPtrOutputWithContext(context.Background()) +} -func (GetClusterClusterTemplateQuestionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterTemplateQuestion)(nil)).Elem() +func (o ProjectResourceQuotaOutput) ToProjectResourceQuotaPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectResourceQuota) *ProjectResourceQuota { + return &v + }).(ProjectResourceQuotaPtrOutput) } -func (i GetClusterClusterTemplateQuestionArray) ToGetClusterClusterTemplateQuestionArrayOutput() GetClusterClusterTemplateQuestionArrayOutput { - return i.ToGetClusterClusterTemplateQuestionArrayOutputWithContext(context.Background()) +// Default resource quota limit for namespaces in project (list maxitems:1) +func (o ProjectResourceQuotaOutput) NamespaceDefaultLimit() ProjectResourceQuotaNamespaceDefaultLimitOutput { + return o.ApplyT(func(v ProjectResourceQuota) ProjectResourceQuotaNamespaceDefaultLimit { return v.NamespaceDefaultLimit }).(ProjectResourceQuotaNamespaceDefaultLimitOutput) } -func (i GetClusterClusterTemplateQuestionArray) ToGetClusterClusterTemplateQuestionArrayOutputWithContext(ctx context.Context) GetClusterClusterTemplateQuestionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterTemplateQuestionArrayOutput) +// Resource quota limit for project (list maxitems:1) +func (o ProjectResourceQuotaOutput) ProjectLimit() ProjectResourceQuotaProjectLimitOutput { + return o.ApplyT(func(v ProjectResourceQuota) ProjectResourceQuotaProjectLimit { return v.ProjectLimit }).(ProjectResourceQuotaProjectLimitOutput) } -type GetClusterClusterTemplateQuestionOutput struct{ *pulumi.OutputState } +type ProjectResourceQuotaPtrOutput struct{ *pulumi.OutputState } -func (GetClusterClusterTemplateQuestionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterClusterTemplateQuestion)(nil)).Elem() +func (ProjectResourceQuotaPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectResourceQuota)(nil)).Elem() } -func (o GetClusterClusterTemplateQuestionOutput) ToGetClusterClusterTemplateQuestionOutput() GetClusterClusterTemplateQuestionOutput { +func (o ProjectResourceQuotaPtrOutput) ToProjectResourceQuotaPtrOutput() ProjectResourceQuotaPtrOutput { return o } -func (o GetClusterClusterTemplateQuestionOutput) ToGetClusterClusterTemplateQuestionOutputWithContext(ctx context.Context) GetClusterClusterTemplateQuestionOutput { +func (o ProjectResourceQuotaPtrOutput) ToProjectResourceQuotaPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaPtrOutput { return o } -func (o GetClusterClusterTemplateQuestionOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterTemplateQuestion) string { return v.Default }).(pulumi.StringOutput) +func (o ProjectResourceQuotaPtrOutput) Elem() ProjectResourceQuotaOutput { + return o.ApplyT(func(v *ProjectResourceQuota) ProjectResourceQuota { + if v != nil { + return *v + } + var ret ProjectResourceQuota + return ret + }).(ProjectResourceQuotaOutput) } -func (o GetClusterClusterTemplateQuestionOutput) Required() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterClusterTemplateQuestion) *bool { return v.Required }).(pulumi.BoolPtrOutput) +// Default resource quota limit for namespaces in project (list maxitems:1) +func (o ProjectResourceQuotaPtrOutput) NamespaceDefaultLimit() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuota) *ProjectResourceQuotaNamespaceDefaultLimit { + if v == nil { + return nil + } + return &v.NamespaceDefaultLimit + }).(ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) } -func (o GetClusterClusterTemplateQuestionOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterClusterTemplateQuestion) *string { return v.Type }).(pulumi.StringPtrOutput) +// Resource quota limit for project (list maxitems:1) +func (o ProjectResourceQuotaPtrOutput) ProjectLimit() ProjectResourceQuotaProjectLimitPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuota) *ProjectResourceQuotaProjectLimit { + if v == nil { + return nil + } + return &v.ProjectLimit + }).(ProjectResourceQuotaProjectLimitPtrOutput) } -func (o GetClusterClusterTemplateQuestionOutput) Variable() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterClusterTemplateQuestion) string { return v.Variable }).(pulumi.StringOutput) +type ProjectResourceQuotaNamespaceDefaultLimit struct { + // Limit for config maps in project (string) + ConfigMaps *string `pulumi:"configMaps"` + // Limit for limits cpu in project (string) + LimitsCpu *string `pulumi:"limitsCpu"` + // Limit for limits memory in project (string) + LimitsMemory *string `pulumi:"limitsMemory"` + // Limit for persistent volume claims in project (string) + PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` + // Limit for pods in project (string) + Pods *string `pulumi:"pods"` + // Limit for replication controllers in project (string) + ReplicationControllers *string `pulumi:"replicationControllers"` + // Limit for requests cpu in project (string) + RequestsCpu *string `pulumi:"requestsCpu"` + // Limit for requests memory in project (string) + RequestsMemory *string `pulumi:"requestsMemory"` + // Limit for requests storage in project (string) + RequestsStorage *string `pulumi:"requestsStorage"` + // Limit for secrets in project (string) + Secrets *string `pulumi:"secrets"` + Services *string `pulumi:"services"` + // Limit for services load balancers in project (string) + ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` + // Limit for services node ports in project (string) + ServicesNodePorts *string `pulumi:"servicesNodePorts"` } -type GetClusterClusterTemplateQuestionArrayOutput struct{ *pulumi.OutputState } +// ProjectResourceQuotaNamespaceDefaultLimitInput is an input type that accepts ProjectResourceQuotaNamespaceDefaultLimitArgs and ProjectResourceQuotaNamespaceDefaultLimitOutput values. +// You can construct a concrete instance of `ProjectResourceQuotaNamespaceDefaultLimitInput` via: +// +// ProjectResourceQuotaNamespaceDefaultLimitArgs{...} +type ProjectResourceQuotaNamespaceDefaultLimitInput interface { + pulumi.Input -func (GetClusterClusterTemplateQuestionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterClusterTemplateQuestion)(nil)).Elem() + ToProjectResourceQuotaNamespaceDefaultLimitOutput() ProjectResourceQuotaNamespaceDefaultLimitOutput + ToProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(context.Context) ProjectResourceQuotaNamespaceDefaultLimitOutput } -func (o GetClusterClusterTemplateQuestionArrayOutput) ToGetClusterClusterTemplateQuestionArrayOutput() GetClusterClusterTemplateQuestionArrayOutput { - return o +type ProjectResourceQuotaNamespaceDefaultLimitArgs struct { + // Limit for config maps in project (string) + ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` + // Limit for limits cpu in project (string) + LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` + // Limit for limits memory in project (string) + LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` + // Limit for persistent volume claims in project (string) + PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` + // Limit for pods in project (string) + Pods pulumi.StringPtrInput `pulumi:"pods"` + // Limit for replication controllers in project (string) + ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` + // Limit for requests cpu in project (string) + RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` + // Limit for requests memory in project (string) + RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` + // Limit for requests storage in project (string) + RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` + // Limit for secrets in project (string) + Secrets pulumi.StringPtrInput `pulumi:"secrets"` + Services pulumi.StringPtrInput `pulumi:"services"` + // Limit for services load balancers in project (string) + ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` + // Limit for services node ports in project (string) + ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` } -func (o GetClusterClusterTemplateQuestionArrayOutput) ToGetClusterClusterTemplateQuestionArrayOutputWithContext(ctx context.Context) GetClusterClusterTemplateQuestionArrayOutput { - return o +func (ProjectResourceQuotaNamespaceDefaultLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() } -func (o GetClusterClusterTemplateQuestionArrayOutput) Index(i pulumi.IntInput) GetClusterClusterTemplateQuestionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterTemplateQuestion { - return vs[0].([]GetClusterClusterTemplateQuestion)[vs[1].(int)] - }).(GetClusterClusterTemplateQuestionOutput) +func (i ProjectResourceQuotaNamespaceDefaultLimitArgs) ToProjectResourceQuotaNamespaceDefaultLimitOutput() ProjectResourceQuotaNamespaceDefaultLimitOutput { + return i.ToProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(context.Background()) } -type GetClusterEksConfig struct { - AccessKey string `pulumi:"accessKey"` - Ami *string `pulumi:"ami"` - AssociateWorkerNodePublicIp *bool `pulumi:"associateWorkerNodePublicIp"` - DesiredNodes *int `pulumi:"desiredNodes"` - EbsEncryption *bool `pulumi:"ebsEncryption"` - InstanceType *string `pulumi:"instanceType"` - KeyPairName *string `pulumi:"keyPairName"` - KubernetesVersion string `pulumi:"kubernetesVersion"` - MaximumNodes *int `pulumi:"maximumNodes"` - MinimumNodes *int `pulumi:"minimumNodes"` - NodeVolumeSize *int `pulumi:"nodeVolumeSize"` - Region *string `pulumi:"region"` - SecretKey string `pulumi:"secretKey"` - SecurityGroups []string `pulumi:"securityGroups"` - ServiceRole *string `pulumi:"serviceRole"` - SessionToken *string `pulumi:"sessionToken"` - Subnets []string `pulumi:"subnets"` - UserData string `pulumi:"userData"` - VirtualNetwork *string `pulumi:"virtualNetwork"` +func (i ProjectResourceQuotaNamespaceDefaultLimitArgs) ToProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaNamespaceDefaultLimitOutput) } -// GetClusterEksConfigInput is an input type that accepts GetClusterEksConfigArgs and GetClusterEksConfigOutput values. -// You can construct a concrete instance of `GetClusterEksConfigInput` via: -// -// GetClusterEksConfigArgs{...} -type GetClusterEksConfigInput interface { - pulumi.Input +func (i ProjectResourceQuotaNamespaceDefaultLimitArgs) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutput() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { + return i.ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(context.Background()) +} - ToGetClusterEksConfigOutput() GetClusterEksConfigOutput - ToGetClusterEksConfigOutputWithContext(context.Context) GetClusterEksConfigOutput +func (i ProjectResourceQuotaNamespaceDefaultLimitArgs) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaNamespaceDefaultLimitOutput).ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(ctx) } -type GetClusterEksConfigArgs struct { - AccessKey pulumi.StringInput `pulumi:"accessKey"` - Ami pulumi.StringPtrInput `pulumi:"ami"` - AssociateWorkerNodePublicIp pulumi.BoolPtrInput `pulumi:"associateWorkerNodePublicIp"` - DesiredNodes pulumi.IntPtrInput `pulumi:"desiredNodes"` - EbsEncryption pulumi.BoolPtrInput `pulumi:"ebsEncryption"` - InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` - KeyPairName pulumi.StringPtrInput `pulumi:"keyPairName"` - KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` - MaximumNodes pulumi.IntPtrInput `pulumi:"maximumNodes"` - MinimumNodes pulumi.IntPtrInput `pulumi:"minimumNodes"` - NodeVolumeSize pulumi.IntPtrInput `pulumi:"nodeVolumeSize"` - Region pulumi.StringPtrInput `pulumi:"region"` - SecretKey pulumi.StringInput `pulumi:"secretKey"` - SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` - ServiceRole pulumi.StringPtrInput `pulumi:"serviceRole"` - SessionToken pulumi.StringPtrInput `pulumi:"sessionToken"` - Subnets pulumi.StringArrayInput `pulumi:"subnets"` - UserData pulumi.StringInput `pulumi:"userData"` - VirtualNetwork pulumi.StringPtrInput `pulumi:"virtualNetwork"` +// ProjectResourceQuotaNamespaceDefaultLimitPtrInput is an input type that accepts ProjectResourceQuotaNamespaceDefaultLimitArgs, ProjectResourceQuotaNamespaceDefaultLimitPtr and ProjectResourceQuotaNamespaceDefaultLimitPtrOutput values. +// You can construct a concrete instance of `ProjectResourceQuotaNamespaceDefaultLimitPtrInput` via: +// +// ProjectResourceQuotaNamespaceDefaultLimitArgs{...} +// +// or: +// +// nil +type ProjectResourceQuotaNamespaceDefaultLimitPtrInput interface { + pulumi.Input + + ToProjectResourceQuotaNamespaceDefaultLimitPtrOutput() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput + ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(context.Context) ProjectResourceQuotaNamespaceDefaultLimitPtrOutput } -func (GetClusterEksConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterEksConfig)(nil)).Elem() +type projectResourceQuotaNamespaceDefaultLimitPtrType ProjectResourceQuotaNamespaceDefaultLimitArgs + +func ProjectResourceQuotaNamespaceDefaultLimitPtr(v *ProjectResourceQuotaNamespaceDefaultLimitArgs) ProjectResourceQuotaNamespaceDefaultLimitPtrInput { + return (*projectResourceQuotaNamespaceDefaultLimitPtrType)(v) } -func (i GetClusterEksConfigArgs) ToGetClusterEksConfigOutput() GetClusterEksConfigOutput { - return i.ToGetClusterEksConfigOutputWithContext(context.Background()) +func (*projectResourceQuotaNamespaceDefaultLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() } -func (i GetClusterEksConfigArgs) ToGetClusterEksConfigOutputWithContext(ctx context.Context) GetClusterEksConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigOutput) +func (i *projectResourceQuotaNamespaceDefaultLimitPtrType) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutput() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { + return i.ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(context.Background()) } -type GetClusterEksConfigOutput struct{ *pulumi.OutputState } +func (i *projectResourceQuotaNamespaceDefaultLimitPtrType) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) +} -func (GetClusterEksConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterEksConfig)(nil)).Elem() +type ProjectResourceQuotaNamespaceDefaultLimitOutput struct{ *pulumi.OutputState } + +func (ProjectResourceQuotaNamespaceDefaultLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() } -func (o GetClusterEksConfigOutput) ToGetClusterEksConfigOutput() GetClusterEksConfigOutput { +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ToProjectResourceQuotaNamespaceDefaultLimitOutput() ProjectResourceQuotaNamespaceDefaultLimitOutput { return o } -func (o GetClusterEksConfigOutput) ToGetClusterEksConfigOutputWithContext(ctx context.Context) GetClusterEksConfigOutput { +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ToProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitOutput { return o } -func (o GetClusterEksConfigOutput) AccessKey() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfig) string { return v.AccessKey }).(pulumi.StringOutput) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutput() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { + return o.ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(context.Background()) } -func (o GetClusterEksConfigOutput) Ami() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *string { return v.Ami }).(pulumi.StringPtrOutput) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectResourceQuotaNamespaceDefaultLimit) *ProjectResourceQuotaNamespaceDefaultLimit { + return &v + }).(ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) } -func (o GetClusterEksConfigOutput) AssociateWorkerNodePublicIp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *bool { return v.AssociateWorkerNodePublicIp }).(pulumi.BoolPtrOutput) +// Limit for config maps in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ConfigMaps() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) DesiredNodes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *int { return v.DesiredNodes }).(pulumi.IntPtrOutput) +// Limit for limits cpu in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) EbsEncryption() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *bool { return v.EbsEncryption }).(pulumi.BoolPtrOutput) +// Limit for limits memory in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) InstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *string { return v.InstanceType }).(pulumi.StringPtrOutput) +// Limit for persistent volume claims in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) KeyPairName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *string { return v.KeyPairName }).(pulumi.StringPtrOutput) +// Limit for pods in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) Pods() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) KubernetesVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfig) string { return v.KubernetesVersion }).(pulumi.StringOutput) +// Limit for replication controllers in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) MaximumNodes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *int { return v.MaximumNodes }).(pulumi.IntPtrOutput) +// Limit for requests cpu in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) MinimumNodes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *int { return v.MinimumNodes }).(pulumi.IntPtrOutput) +// Limit for requests memory in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) NodeVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *int { return v.NodeVolumeSize }).(pulumi.IntPtrOutput) +// Limit for requests storage in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsStorage() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +// Limit for secrets in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) Secrets() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) SecretKey() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfig) string { return v.SecretKey }).(pulumi.StringOutput) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) Services() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Services }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterEksConfig) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) +// Limit for services load balancers in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) ServiceRole() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *string { return v.ServiceRole }).(pulumi.StringPtrOutput) +// Limit for services node ports in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigOutput) SessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *string { return v.SessionToken }).(pulumi.StringPtrOutput) -} +type ProjectResourceQuotaNamespaceDefaultLimitPtrOutput struct{ *pulumi.OutputState } -func (o GetClusterEksConfigOutput) Subnets() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterEksConfig) []string { return v.Subnets }).(pulumi.StringArrayOutput) +func (ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() } -func (o GetClusterEksConfigOutput) UserData() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfig) string { return v.UserData }).(pulumi.StringOutput) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutput() ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { + return o } -func (o GetClusterEksConfigOutput) VirtualNetwork() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfig) *string { return v.VirtualNetwork }).(pulumi.StringPtrOutput) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ToProjectResourceQuotaNamespaceDefaultLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaNamespaceDefaultLimitPtrOutput { + return o } -type GetClusterEksConfigV2 struct { - CloudCredentialId string `pulumi:"cloudCredentialId"` - Imported *bool `pulumi:"imported"` - KmsKey *string `pulumi:"kmsKey"` - KubernetesVersion string `pulumi:"kubernetesVersion"` - LoggingTypes []string `pulumi:"loggingTypes"` - // The name of the Cluster (string) - Name string `pulumi:"name"` - NodeGroups []GetClusterEksConfigV2NodeGroup `pulumi:"nodeGroups"` - PrivateAccess bool `pulumi:"privateAccess"` - PublicAccess bool `pulumi:"publicAccess"` - PublicAccessSources []string `pulumi:"publicAccessSources"` - Region *string `pulumi:"region"` - SecretsEncryption bool `pulumi:"secretsEncryption"` - SecurityGroups []string `pulumi:"securityGroups"` - ServiceRole *string `pulumi:"serviceRole"` - Subnets []string `pulumi:"subnets"` - Tags map[string]interface{} `pulumi:"tags"` +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) Elem() ProjectResourceQuotaNamespaceDefaultLimitOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) ProjectResourceQuotaNamespaceDefaultLimit { + if v != nil { + return *v + } + var ret ProjectResourceQuotaNamespaceDefaultLimit + return ret + }).(ProjectResourceQuotaNamespaceDefaultLimitOutput) } -// GetClusterEksConfigV2Input is an input type that accepts GetClusterEksConfigV2Args and GetClusterEksConfigV2Output values. -// You can construct a concrete instance of `GetClusterEksConfigV2Input` via: -// -// GetClusterEksConfigV2Args{...} -type GetClusterEksConfigV2Input interface { - pulumi.Input - - ToGetClusterEksConfigV2Output() GetClusterEksConfigV2Output - ToGetClusterEksConfigV2OutputWithContext(context.Context) GetClusterEksConfigV2Output +// Limit for config maps in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ConfigMaps() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.ConfigMaps + }).(pulumi.StringPtrOutput) } -type GetClusterEksConfigV2Args struct { - CloudCredentialId pulumi.StringInput `pulumi:"cloudCredentialId"` - Imported pulumi.BoolPtrInput `pulumi:"imported"` - KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` - KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` - LoggingTypes pulumi.StringArrayInput `pulumi:"loggingTypes"` - // The name of the Cluster (string) - Name pulumi.StringInput `pulumi:"name"` - NodeGroups GetClusterEksConfigV2NodeGroupArrayInput `pulumi:"nodeGroups"` - PrivateAccess pulumi.BoolInput `pulumi:"privateAccess"` - PublicAccess pulumi.BoolInput `pulumi:"publicAccess"` - PublicAccessSources pulumi.StringArrayInput `pulumi:"publicAccessSources"` - Region pulumi.StringPtrInput `pulumi:"region"` - SecretsEncryption pulumi.BoolInput `pulumi:"secretsEncryption"` - SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` - ServiceRole pulumi.StringPtrInput `pulumi:"serviceRole"` - Subnets pulumi.StringArrayInput `pulumi:"subnets"` - Tags pulumi.MapInput `pulumi:"tags"` +// Limit for limits cpu in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.LimitsCpu + }).(pulumi.StringPtrOutput) } -func (GetClusterEksConfigV2Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterEksConfigV2)(nil)).Elem() +// Limit for limits memory in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.LimitsMemory + }).(pulumi.StringPtrOutput) } -func (i GetClusterEksConfigV2Args) ToGetClusterEksConfigV2Output() GetClusterEksConfigV2Output { - return i.ToGetClusterEksConfigV2OutputWithContext(context.Background()) +// Limit for persistent volume claims in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.PersistentVolumeClaims + }).(pulumi.StringPtrOutput) } -func (i GetClusterEksConfigV2Args) ToGetClusterEksConfigV2OutputWithContext(ctx context.Context) GetClusterEksConfigV2Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigV2Output) +// Limit for pods in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) Pods() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.Pods + }).(pulumi.StringPtrOutput) } -type GetClusterEksConfigV2Output struct{ *pulumi.OutputState } +// Limit for replication controllers in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ReplicationControllers() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.ReplicationControllers + }).(pulumi.StringPtrOutput) +} -func (GetClusterEksConfigV2Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterEksConfigV2)(nil)).Elem() +// Limit for requests cpu in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.RequestsCpu + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2Output) ToGetClusterEksConfigV2Output() GetClusterEksConfigV2Output { - return o +// Limit for requests memory in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.RequestsMemory + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2Output) ToGetClusterEksConfigV2OutputWithContext(ctx context.Context) GetClusterEksConfigV2Output { - return o +// Limit for requests storage in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) RequestsStorage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.RequestsStorage + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2Output) CloudCredentialId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) string { return v.CloudCredentialId }).(pulumi.StringOutput) +// Limit for secrets in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) Secrets() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2Output) Imported() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) *bool { return v.Imported }).(pulumi.BoolPtrOutput) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) Services() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.Services + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2Output) KmsKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) *string { return v.KmsKey }).(pulumi.StringPtrOutput) +// Limit for services load balancers in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.ServicesLoadBalancers + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2Output) KubernetesVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) string { return v.KubernetesVersion }).(pulumi.StringOutput) +// Limit for services node ports in project (string) +func (o ProjectResourceQuotaNamespaceDefaultLimitPtrOutput) ServicesNodePorts() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaNamespaceDefaultLimit) *string { + if v == nil { + return nil + } + return v.ServicesNodePorts + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2Output) LoggingTypes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) []string { return v.LoggingTypes }).(pulumi.StringArrayOutput) +type ProjectResourceQuotaProjectLimit struct { + // Limit for config maps in project (string) + ConfigMaps *string `pulumi:"configMaps"` + // Limit for limits cpu in project (string) + LimitsCpu *string `pulumi:"limitsCpu"` + // Limit for limits memory in project (string) + LimitsMemory *string `pulumi:"limitsMemory"` + // Limit for persistent volume claims in project (string) + PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` + // Limit for pods in project (string) + Pods *string `pulumi:"pods"` + // Limit for replication controllers in project (string) + ReplicationControllers *string `pulumi:"replicationControllers"` + // Limit for requests cpu in project (string) + RequestsCpu *string `pulumi:"requestsCpu"` + // Limit for requests memory in project (string) + RequestsMemory *string `pulumi:"requestsMemory"` + // Limit for requests storage in project (string) + RequestsStorage *string `pulumi:"requestsStorage"` + // Limit for secrets in project (string) + Secrets *string `pulumi:"secrets"` + Services *string `pulumi:"services"` + // Limit for services load balancers in project (string) + ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` + // Limit for services node ports in project (string) + ServicesNodePorts *string `pulumi:"servicesNodePorts"` } -// The name of the Cluster (string) -func (o GetClusterEksConfigV2Output) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) string { return v.Name }).(pulumi.StringOutput) +// ProjectResourceQuotaProjectLimitInput is an input type that accepts ProjectResourceQuotaProjectLimitArgs and ProjectResourceQuotaProjectLimitOutput values. +// You can construct a concrete instance of `ProjectResourceQuotaProjectLimitInput` via: +// +// ProjectResourceQuotaProjectLimitArgs{...} +type ProjectResourceQuotaProjectLimitInput interface { + pulumi.Input + + ToProjectResourceQuotaProjectLimitOutput() ProjectResourceQuotaProjectLimitOutput + ToProjectResourceQuotaProjectLimitOutputWithContext(context.Context) ProjectResourceQuotaProjectLimitOutput } -func (o GetClusterEksConfigV2Output) NodeGroups() GetClusterEksConfigV2NodeGroupArrayOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) []GetClusterEksConfigV2NodeGroup { return v.NodeGroups }).(GetClusterEksConfigV2NodeGroupArrayOutput) +type ProjectResourceQuotaProjectLimitArgs struct { + // Limit for config maps in project (string) + ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` + // Limit for limits cpu in project (string) + LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` + // Limit for limits memory in project (string) + LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` + // Limit for persistent volume claims in project (string) + PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` + // Limit for pods in project (string) + Pods pulumi.StringPtrInput `pulumi:"pods"` + // Limit for replication controllers in project (string) + ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` + // Limit for requests cpu in project (string) + RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` + // Limit for requests memory in project (string) + RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` + // Limit for requests storage in project (string) + RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` + // Limit for secrets in project (string) + Secrets pulumi.StringPtrInput `pulumi:"secrets"` + Services pulumi.StringPtrInput `pulumi:"services"` + // Limit for services load balancers in project (string) + ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` + // Limit for services node ports in project (string) + ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` } -func (o GetClusterEksConfigV2Output) PrivateAccess() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) bool { return v.PrivateAccess }).(pulumi.BoolOutput) +func (ProjectResourceQuotaProjectLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectResourceQuotaProjectLimit)(nil)).Elem() } -func (o GetClusterEksConfigV2Output) PublicAccess() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) bool { return v.PublicAccess }).(pulumi.BoolOutput) +func (i ProjectResourceQuotaProjectLimitArgs) ToProjectResourceQuotaProjectLimitOutput() ProjectResourceQuotaProjectLimitOutput { + return i.ToProjectResourceQuotaProjectLimitOutputWithContext(context.Background()) } -func (o GetClusterEksConfigV2Output) PublicAccessSources() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) []string { return v.PublicAccessSources }).(pulumi.StringArrayOutput) +func (i ProjectResourceQuotaProjectLimitArgs) ToProjectResourceQuotaProjectLimitOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaProjectLimitOutput) } -func (o GetClusterEksConfigV2Output) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) *string { return v.Region }).(pulumi.StringPtrOutput) +func (i ProjectResourceQuotaProjectLimitArgs) ToProjectResourceQuotaProjectLimitPtrOutput() ProjectResourceQuotaProjectLimitPtrOutput { + return i.ToProjectResourceQuotaProjectLimitPtrOutputWithContext(context.Background()) } -func (o GetClusterEksConfigV2Output) SecretsEncryption() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) bool { return v.SecretsEncryption }).(pulumi.BoolOutput) +func (i ProjectResourceQuotaProjectLimitArgs) ToProjectResourceQuotaProjectLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaProjectLimitOutput).ToProjectResourceQuotaProjectLimitPtrOutputWithContext(ctx) } -func (o GetClusterEksConfigV2Output) SecurityGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) +// ProjectResourceQuotaProjectLimitPtrInput is an input type that accepts ProjectResourceQuotaProjectLimitArgs, ProjectResourceQuotaProjectLimitPtr and ProjectResourceQuotaProjectLimitPtrOutput values. +// You can construct a concrete instance of `ProjectResourceQuotaProjectLimitPtrInput` via: +// +// ProjectResourceQuotaProjectLimitArgs{...} +// +// or: +// +// nil +type ProjectResourceQuotaProjectLimitPtrInput interface { + pulumi.Input + + ToProjectResourceQuotaProjectLimitPtrOutput() ProjectResourceQuotaProjectLimitPtrOutput + ToProjectResourceQuotaProjectLimitPtrOutputWithContext(context.Context) ProjectResourceQuotaProjectLimitPtrOutput } -func (o GetClusterEksConfigV2Output) ServiceRole() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) *string { return v.ServiceRole }).(pulumi.StringPtrOutput) +type projectResourceQuotaProjectLimitPtrType ProjectResourceQuotaProjectLimitArgs + +func ProjectResourceQuotaProjectLimitPtr(v *ProjectResourceQuotaProjectLimitArgs) ProjectResourceQuotaProjectLimitPtrInput { + return (*projectResourceQuotaProjectLimitPtrType)(v) } -func (o GetClusterEksConfigV2Output) Subnets() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) []string { return v.Subnets }).(pulumi.StringArrayOutput) +func (*projectResourceQuotaProjectLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectResourceQuotaProjectLimit)(nil)).Elem() } -func (o GetClusterEksConfigV2Output) Tags() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterEksConfigV2) map[string]interface{} { return v.Tags }).(pulumi.MapOutput) +func (i *projectResourceQuotaProjectLimitPtrType) ToProjectResourceQuotaProjectLimitPtrOutput() ProjectResourceQuotaProjectLimitPtrOutput { + return i.ToProjectResourceQuotaProjectLimitPtrOutputWithContext(context.Background()) } -type GetClusterEksConfigV2NodeGroup struct { - DesiredSize *int `pulumi:"desiredSize"` - DiskSize *int `pulumi:"diskSize"` - Ec2SshKey *string `pulumi:"ec2SshKey"` - Gpu *bool `pulumi:"gpu"` - ImageId *string `pulumi:"imageId"` - InstanceType *string `pulumi:"instanceType"` - // (Computed) Labels for Node Pool object (map) - Labels map[string]interface{} `pulumi:"labels"` - LaunchTemplates []GetClusterEksConfigV2NodeGroupLaunchTemplate `pulumi:"launchTemplates"` - MaxSize *int `pulumi:"maxSize"` - MinSize *int `pulumi:"minSize"` - // The name of the Cluster (string) - Name string `pulumi:"name"` - RequestSpotInstances *bool `pulumi:"requestSpotInstances"` - ResourceTags map[string]interface{} `pulumi:"resourceTags"` - SpotInstanceTypes []string `pulumi:"spotInstanceTypes"` - Subnets []string `pulumi:"subnets"` - Tags map[string]interface{} `pulumi:"tags"` - UserData string `pulumi:"userData"` - Version string `pulumi:"version"` +func (i *projectResourceQuotaProjectLimitPtrType) ToProjectResourceQuotaProjectLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProjectResourceQuotaProjectLimitPtrOutput) } -// GetClusterEksConfigV2NodeGroupInput is an input type that accepts GetClusterEksConfigV2NodeGroupArgs and GetClusterEksConfigV2NodeGroupOutput values. -// You can construct a concrete instance of `GetClusterEksConfigV2NodeGroupInput` via: -// -// GetClusterEksConfigV2NodeGroupArgs{...} -type GetClusterEksConfigV2NodeGroupInput interface { - pulumi.Input +type ProjectResourceQuotaProjectLimitOutput struct{ *pulumi.OutputState } - ToGetClusterEksConfigV2NodeGroupOutput() GetClusterEksConfigV2NodeGroupOutput - ToGetClusterEksConfigV2NodeGroupOutputWithContext(context.Context) GetClusterEksConfigV2NodeGroupOutput +func (ProjectResourceQuotaProjectLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProjectResourceQuotaProjectLimit)(nil)).Elem() } -type GetClusterEksConfigV2NodeGroupArgs struct { - DesiredSize pulumi.IntPtrInput `pulumi:"desiredSize"` - DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` - Ec2SshKey pulumi.StringPtrInput `pulumi:"ec2SshKey"` - Gpu pulumi.BoolPtrInput `pulumi:"gpu"` - ImageId pulumi.StringPtrInput `pulumi:"imageId"` - InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` - // (Computed) Labels for Node Pool object (map) - Labels pulumi.MapInput `pulumi:"labels"` - LaunchTemplates GetClusterEksConfigV2NodeGroupLaunchTemplateArrayInput `pulumi:"launchTemplates"` - MaxSize pulumi.IntPtrInput `pulumi:"maxSize"` - MinSize pulumi.IntPtrInput `pulumi:"minSize"` - // The name of the Cluster (string) - Name pulumi.StringInput `pulumi:"name"` - RequestSpotInstances pulumi.BoolPtrInput `pulumi:"requestSpotInstances"` - ResourceTags pulumi.MapInput `pulumi:"resourceTags"` - SpotInstanceTypes pulumi.StringArrayInput `pulumi:"spotInstanceTypes"` - Subnets pulumi.StringArrayInput `pulumi:"subnets"` - Tags pulumi.MapInput `pulumi:"tags"` - UserData pulumi.StringInput `pulumi:"userData"` - Version pulumi.StringInput `pulumi:"version"` +func (o ProjectResourceQuotaProjectLimitOutput) ToProjectResourceQuotaProjectLimitOutput() ProjectResourceQuotaProjectLimitOutput { + return o } -func (GetClusterEksConfigV2NodeGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterEksConfigV2NodeGroup)(nil)).Elem() +func (o ProjectResourceQuotaProjectLimitOutput) ToProjectResourceQuotaProjectLimitOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitOutput { + return o } -func (i GetClusterEksConfigV2NodeGroupArgs) ToGetClusterEksConfigV2NodeGroupOutput() GetClusterEksConfigV2NodeGroupOutput { - return i.ToGetClusterEksConfigV2NodeGroupOutputWithContext(context.Background()) +func (o ProjectResourceQuotaProjectLimitOutput) ToProjectResourceQuotaProjectLimitPtrOutput() ProjectResourceQuotaProjectLimitPtrOutput { + return o.ToProjectResourceQuotaProjectLimitPtrOutputWithContext(context.Background()) } -func (i GetClusterEksConfigV2NodeGroupArgs) ToGetClusterEksConfigV2NodeGroupOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigV2NodeGroupOutput) +func (o ProjectResourceQuotaProjectLimitOutput) ToProjectResourceQuotaProjectLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProjectResourceQuotaProjectLimit) *ProjectResourceQuotaProjectLimit { + return &v + }).(ProjectResourceQuotaProjectLimitPtrOutput) } -// GetClusterEksConfigV2NodeGroupArrayInput is an input type that accepts GetClusterEksConfigV2NodeGroupArray and GetClusterEksConfigV2NodeGroupArrayOutput values. -// You can construct a concrete instance of `GetClusterEksConfigV2NodeGroupArrayInput` via: -// -// GetClusterEksConfigV2NodeGroupArray{ GetClusterEksConfigV2NodeGroupArgs{...} } -type GetClusterEksConfigV2NodeGroupArrayInput interface { - pulumi.Input +// Limit for config maps in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) ConfigMaps() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) +} - ToGetClusterEksConfigV2NodeGroupArrayOutput() GetClusterEksConfigV2NodeGroupArrayOutput - ToGetClusterEksConfigV2NodeGroupArrayOutputWithContext(context.Context) GetClusterEksConfigV2NodeGroupArrayOutput +// Limit for limits cpu in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) } -type GetClusterEksConfigV2NodeGroupArray []GetClusterEksConfigV2NodeGroupInput +// Limit for limits memory in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) +} -func (GetClusterEksConfigV2NodeGroupArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterEksConfigV2NodeGroup)(nil)).Elem() +// Limit for persistent volume claims in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) } -func (i GetClusterEksConfigV2NodeGroupArray) ToGetClusterEksConfigV2NodeGroupArrayOutput() GetClusterEksConfigV2NodeGroupArrayOutput { - return i.ToGetClusterEksConfigV2NodeGroupArrayOutputWithContext(context.Background()) +// Limit for pods in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) Pods() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) } -func (i GetClusterEksConfigV2NodeGroupArray) ToGetClusterEksConfigV2NodeGroupArrayOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigV2NodeGroupArrayOutput) +// Limit for replication controllers in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) } -type GetClusterEksConfigV2NodeGroupOutput struct{ *pulumi.OutputState } - -func (GetClusterEksConfigV2NodeGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterEksConfigV2NodeGroup)(nil)).Elem() +// Limit for requests cpu in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) ToGetClusterEksConfigV2NodeGroupOutput() GetClusterEksConfigV2NodeGroupOutput { - return o +// Limit for requests memory in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) ToGetClusterEksConfigV2NodeGroupOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupOutput { - return o +// Limit for requests storage in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) RequestsStorage() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) DesiredSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *int { return v.DesiredSize }).(pulumi.IntPtrOutput) +// Limit for secrets in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) Secrets() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) DiskSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *int { return v.DiskSize }).(pulumi.IntPtrOutput) +func (o ProjectResourceQuotaProjectLimitOutput) Services() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.Services }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) Ec2SshKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *string { return v.Ec2SshKey }).(pulumi.StringPtrOutput) +// Limit for services load balancers in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) Gpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *bool { return v.Gpu }).(pulumi.BoolPtrOutput) +// Limit for services node ports in project (string) +func (o ProjectResourceQuotaProjectLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { + return o.ApplyT(func(v ProjectResourceQuotaProjectLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) ImageId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *string { return v.ImageId }).(pulumi.StringPtrOutput) -} +type ProjectResourceQuotaProjectLimitPtrOutput struct{ *pulumi.OutputState } -func (o GetClusterEksConfigV2NodeGroupOutput) InstanceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *string { return v.InstanceType }).(pulumi.StringPtrOutput) +func (ProjectResourceQuotaProjectLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProjectResourceQuotaProjectLimit)(nil)).Elem() } -// (Computed) Labels for Node Pool object (map) -func (o GetClusterEksConfigV2NodeGroupOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +func (o ProjectResourceQuotaProjectLimitPtrOutput) ToProjectResourceQuotaProjectLimitPtrOutput() ProjectResourceQuotaProjectLimitPtrOutput { + return o } -func (o GetClusterEksConfigV2NodeGroupOutput) LaunchTemplates() GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) []GetClusterEksConfigV2NodeGroupLaunchTemplate { - return v.LaunchTemplates - }).(GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) +func (o ProjectResourceQuotaProjectLimitPtrOutput) ToProjectResourceQuotaProjectLimitPtrOutputWithContext(ctx context.Context) ProjectResourceQuotaProjectLimitPtrOutput { + return o } -func (o GetClusterEksConfigV2NodeGroupOutput) MaxSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *int { return v.MaxSize }).(pulumi.IntPtrOutput) +func (o ProjectResourceQuotaProjectLimitPtrOutput) Elem() ProjectResourceQuotaProjectLimitOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) ProjectResourceQuotaProjectLimit { + if v != nil { + return *v + } + var ret ProjectResourceQuotaProjectLimit + return ret + }).(ProjectResourceQuotaProjectLimitOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) MinSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *int { return v.MinSize }).(pulumi.IntPtrOutput) +// Limit for config maps in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) ConfigMaps() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.ConfigMaps + }).(pulumi.StringPtrOutput) } -// The name of the Cluster (string) -func (o GetClusterEksConfigV2NodeGroupOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) string { return v.Name }).(pulumi.StringOutput) +// Limit for limits cpu in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.LimitsCpu + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) RequestSpotInstances() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *bool { return v.RequestSpotInstances }).(pulumi.BoolPtrOutput) +// Limit for limits memory in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.LimitsMemory + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) ResourceTags() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) map[string]interface{} { return v.ResourceTags }).(pulumi.MapOutput) +// Limit for persistent volume claims in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.PersistentVolumeClaims + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) SpotInstanceTypes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) []string { return v.SpotInstanceTypes }).(pulumi.StringArrayOutput) +// Limit for pods in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) Pods() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.Pods + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) Subnets() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) []string { return v.Subnets }).(pulumi.StringArrayOutput) +// Limit for replication controllers in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) ReplicationControllers() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.ReplicationControllers + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) Tags() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) map[string]interface{} { return v.Tags }).(pulumi.MapOutput) +// Limit for requests cpu in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.RequestsCpu + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) UserData() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) string { return v.UserData }).(pulumi.StringOutput) +// Limit for requests memory in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.RequestsMemory + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) string { return v.Version }).(pulumi.StringOutput) +// Limit for requests storage in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) RequestsStorage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.RequestsStorage + }).(pulumi.StringPtrOutput) } -type GetClusterEksConfigV2NodeGroupArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterEksConfigV2NodeGroupArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterEksConfigV2NodeGroup)(nil)).Elem() +// Limit for secrets in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) Secrets() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.Secrets + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupArrayOutput) ToGetClusterEksConfigV2NodeGroupArrayOutput() GetClusterEksConfigV2NodeGroupArrayOutput { - return o +func (o ProjectResourceQuotaProjectLimitPtrOutput) Services() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.Services + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupArrayOutput) ToGetClusterEksConfigV2NodeGroupArrayOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupArrayOutput { - return o +// Limit for services load balancers in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.ServicesLoadBalancers + }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupArrayOutput) Index(i pulumi.IntInput) GetClusterEksConfigV2NodeGroupOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterEksConfigV2NodeGroup { - return vs[0].([]GetClusterEksConfigV2NodeGroup)[vs[1].(int)] - }).(GetClusterEksConfigV2NodeGroupOutput) +// Limit for services node ports in project (string) +func (o ProjectResourceQuotaProjectLimitPtrOutput) ServicesNodePorts() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ProjectResourceQuotaProjectLimit) *string { + if v == nil { + return nil + } + return v.ServicesNodePorts + }).(pulumi.StringPtrOutput) } -type GetClusterEksConfigV2NodeGroupLaunchTemplate struct { - // (Computed) The ID of the resource (string) - Id string `pulumi:"id"` - // The name of the Cluster (string) - Name string `pulumi:"name"` - Version *int `pulumi:"version"` +type RegistryRegistry struct { + // Address for registry. + Address string `pulumi:"address"` + // Password for the registry (string) + Password *string `pulumi:"password"` + // Username for the registry (string) + Username *string `pulumi:"username"` } -// GetClusterEksConfigV2NodeGroupLaunchTemplateInput is an input type that accepts GetClusterEksConfigV2NodeGroupLaunchTemplateArgs and GetClusterEksConfigV2NodeGroupLaunchTemplateOutput values. -// You can construct a concrete instance of `GetClusterEksConfigV2NodeGroupLaunchTemplateInput` via: +// RegistryRegistryInput is an input type that accepts RegistryRegistryArgs and RegistryRegistryOutput values. +// You can construct a concrete instance of `RegistryRegistryInput` via: // -// GetClusterEksConfigV2NodeGroupLaunchTemplateArgs{...} -type GetClusterEksConfigV2NodeGroupLaunchTemplateInput interface { +// RegistryRegistryArgs{...} +type RegistryRegistryInput interface { pulumi.Input - ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateOutput - ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutputWithContext(context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateOutput + ToRegistryRegistryOutput() RegistryRegistryOutput + ToRegistryRegistryOutputWithContext(context.Context) RegistryRegistryOutput } -type GetClusterEksConfigV2NodeGroupLaunchTemplateArgs struct { - // (Computed) The ID of the resource (string) - Id pulumi.StringInput `pulumi:"id"` - // The name of the Cluster (string) - Name pulumi.StringInput `pulumi:"name"` - Version pulumi.IntPtrInput `pulumi:"version"` +type RegistryRegistryArgs struct { + // Address for registry. + Address pulumi.StringInput `pulumi:"address"` + // Password for the registry (string) + Password pulumi.StringPtrInput `pulumi:"password"` + // Username for the registry (string) + Username pulumi.StringPtrInput `pulumi:"username"` } -func (GetClusterEksConfigV2NodeGroupLaunchTemplateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterEksConfigV2NodeGroupLaunchTemplate)(nil)).Elem() +func (RegistryRegistryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RegistryRegistry)(nil)).Elem() } -func (i GetClusterEksConfigV2NodeGroupLaunchTemplateArgs) ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateOutput { - return i.ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutputWithContext(context.Background()) +func (i RegistryRegistryArgs) ToRegistryRegistryOutput() RegistryRegistryOutput { + return i.ToRegistryRegistryOutputWithContext(context.Background()) } -func (i GetClusterEksConfigV2NodeGroupLaunchTemplateArgs) ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) +func (i RegistryRegistryArgs) ToRegistryRegistryOutputWithContext(ctx context.Context) RegistryRegistryOutput { + return pulumi.ToOutputWithContext(ctx, i).(RegistryRegistryOutput) } -// GetClusterEksConfigV2NodeGroupLaunchTemplateArrayInput is an input type that accepts GetClusterEksConfigV2NodeGroupLaunchTemplateArray and GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput values. -// You can construct a concrete instance of `GetClusterEksConfigV2NodeGroupLaunchTemplateArrayInput` via: +// RegistryRegistryArrayInput is an input type that accepts RegistryRegistryArray and RegistryRegistryArrayOutput values. +// You can construct a concrete instance of `RegistryRegistryArrayInput` via: // -// GetClusterEksConfigV2NodeGroupLaunchTemplateArray{ GetClusterEksConfigV2NodeGroupLaunchTemplateArgs{...} } -type GetClusterEksConfigV2NodeGroupLaunchTemplateArrayInput interface { +// RegistryRegistryArray{ RegistryRegistryArgs{...} } +type RegistryRegistryArrayInput interface { pulumi.Input - ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput - ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutputWithContext(context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput + ToRegistryRegistryArrayOutput() RegistryRegistryArrayOutput + ToRegistryRegistryArrayOutputWithContext(context.Context) RegistryRegistryArrayOutput } -type GetClusterEksConfigV2NodeGroupLaunchTemplateArray []GetClusterEksConfigV2NodeGroupLaunchTemplateInput +type RegistryRegistryArray []RegistryRegistryInput -func (GetClusterEksConfigV2NodeGroupLaunchTemplateArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterEksConfigV2NodeGroupLaunchTemplate)(nil)).Elem() +func (RegistryRegistryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RegistryRegistry)(nil)).Elem() } -func (i GetClusterEksConfigV2NodeGroupLaunchTemplateArray) ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput { - return i.ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutputWithContext(context.Background()) +func (i RegistryRegistryArray) ToRegistryRegistryArrayOutput() RegistryRegistryArrayOutput { + return i.ToRegistryRegistryArrayOutputWithContext(context.Background()) } -func (i GetClusterEksConfigV2NodeGroupLaunchTemplateArray) ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) +func (i RegistryRegistryArray) ToRegistryRegistryArrayOutputWithContext(ctx context.Context) RegistryRegistryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RegistryRegistryArrayOutput) } -type GetClusterEksConfigV2NodeGroupLaunchTemplateOutput struct{ *pulumi.OutputState } +type RegistryRegistryOutput struct{ *pulumi.OutputState } -func (GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterEksConfigV2NodeGroupLaunchTemplate)(nil)).Elem() +func (RegistryRegistryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RegistryRegistry)(nil)).Elem() } -func (o GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateOutput { +func (o RegistryRegistryOutput) ToRegistryRegistryOutput() RegistryRegistryOutput { return o } -func (o GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateOutput { +func (o RegistryRegistryOutput) ToRegistryRegistryOutputWithContext(ctx context.Context) RegistryRegistryOutput { return o } -// (Computed) The ID of the resource (string) -func (o GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroupLaunchTemplate) string { return v.Id }).(pulumi.StringOutput) +// Address for registry. +func (o RegistryRegistryOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v RegistryRegistry) string { return v.Address }).(pulumi.StringOutput) } -// The name of the Cluster (string) -func (o GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroupLaunchTemplate) string { return v.Name }).(pulumi.StringOutput) +// Password for the registry (string) +func (o RegistryRegistryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v RegistryRegistry) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) Version() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterEksConfigV2NodeGroupLaunchTemplate) *int { return v.Version }).(pulumi.IntPtrOutput) +// Username for the registry (string) +func (o RegistryRegistryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v RegistryRegistry) *string { return v.Username }).(pulumi.StringPtrOutput) } -type GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput struct{ *pulumi.OutputState } +type RegistryRegistryArrayOutput struct{ *pulumi.OutputState } -func (GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterEksConfigV2NodeGroupLaunchTemplate)(nil)).Elem() +func (RegistryRegistryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RegistryRegistry)(nil)).Elem() } -func (o GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput { +func (o RegistryRegistryArrayOutput) ToRegistryRegistryArrayOutput() RegistryRegistryArrayOutput { return o } -func (o GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput { +func (o RegistryRegistryArrayOutput) ToRegistryRegistryArrayOutputWithContext(ctx context.Context) RegistryRegistryArrayOutput { return o } -func (o GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) Index(i pulumi.IntInput) GetClusterEksConfigV2NodeGroupLaunchTemplateOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterEksConfigV2NodeGroupLaunchTemplate { - return vs[0].([]GetClusterEksConfigV2NodeGroupLaunchTemplate)[vs[1].(int)] - }).(GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) +func (o RegistryRegistryArrayOutput) Index(i pulumi.IntInput) RegistryRegistryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RegistryRegistry { + return vs[0].([]RegistryRegistry)[vs[1].(int)] + }).(RegistryRegistryOutput) } -type GetClusterGkeConfig struct { - ClusterIpv4Cidr string `pulumi:"clusterIpv4Cidr"` - Credential string `pulumi:"credential"` - // (Computed) The description for Cluster (string) - Description *string `pulumi:"description"` - DiskSizeGb *int `pulumi:"diskSizeGb"` - DiskType string `pulumi:"diskType"` - EnableAlphaFeature *bool `pulumi:"enableAlphaFeature"` - EnableAutoRepair *bool `pulumi:"enableAutoRepair"` - EnableAutoUpgrade *bool `pulumi:"enableAutoUpgrade"` - EnableHorizontalPodAutoscaling *bool `pulumi:"enableHorizontalPodAutoscaling"` - EnableHttpLoadBalancing *bool `pulumi:"enableHttpLoadBalancing"` - EnableKubernetesDashboard *bool `pulumi:"enableKubernetesDashboard"` - EnableLegacyAbac *bool `pulumi:"enableLegacyAbac"` - EnableMasterAuthorizedNetwork *bool `pulumi:"enableMasterAuthorizedNetwork"` - EnableNetworkPolicyConfig *bool `pulumi:"enableNetworkPolicyConfig"` - EnableNodepoolAutoscaling *bool `pulumi:"enableNodepoolAutoscaling"` - EnablePrivateEndpoint *bool `pulumi:"enablePrivateEndpoint"` - EnablePrivateNodes *bool `pulumi:"enablePrivateNodes"` - EnableStackdriverLogging *bool `pulumi:"enableStackdriverLogging"` - EnableStackdriverMonitoring *bool `pulumi:"enableStackdriverMonitoring"` - ImageType string `pulumi:"imageType"` - IpPolicyClusterIpv4CidrBlock string `pulumi:"ipPolicyClusterIpv4CidrBlock"` - IpPolicyClusterSecondaryRangeName string `pulumi:"ipPolicyClusterSecondaryRangeName"` - IpPolicyCreateSubnetwork *bool `pulumi:"ipPolicyCreateSubnetwork"` - IpPolicyNodeIpv4CidrBlock string `pulumi:"ipPolicyNodeIpv4CidrBlock"` - IpPolicyServicesIpv4CidrBlock string `pulumi:"ipPolicyServicesIpv4CidrBlock"` - IpPolicyServicesSecondaryRangeName string `pulumi:"ipPolicyServicesSecondaryRangeName"` - IpPolicySubnetworkName string `pulumi:"ipPolicySubnetworkName"` - IssueClientCertificate *bool `pulumi:"issueClientCertificate"` - KubernetesDashboard *bool `pulumi:"kubernetesDashboard"` - // (Computed) Labels for Node Pool object (map) - Labels map[string]interface{} `pulumi:"labels"` - LocalSsdCount *int `pulumi:"localSsdCount"` - Locations []string `pulumi:"locations"` - MachineType string `pulumi:"machineType"` - MaintenanceWindow string `pulumi:"maintenanceWindow"` - MasterAuthorizedNetworkCidrBlocks []string `pulumi:"masterAuthorizedNetworkCidrBlocks"` - MasterIpv4CidrBlock string `pulumi:"masterIpv4CidrBlock"` - MasterVersion string `pulumi:"masterVersion"` - MaxNodeCount *int `pulumi:"maxNodeCount"` - MinNodeCount *int `pulumi:"minNodeCount"` - Network string `pulumi:"network"` - NodeCount *int `pulumi:"nodeCount"` - NodePool string `pulumi:"nodePool"` - NodeVersion string `pulumi:"nodeVersion"` - OauthScopes []string `pulumi:"oauthScopes"` - Preemptible *bool `pulumi:"preemptible"` - ProjectId string `pulumi:"projectId"` - Region *string `pulumi:"region"` - ResourceLabels map[string]interface{} `pulumi:"resourceLabels"` - ServiceAccount string `pulumi:"serviceAccount"` - SubNetwork string `pulumi:"subNetwork"` - Taints []string `pulumi:"taints"` - UseIpAliases *bool `pulumi:"useIpAliases"` - Zone *string `pulumi:"zone"` +type RoleTempalteRule struct { + // Policy rule api groups (list) + ApiGroups []string `pulumi:"apiGroups"` + // Policy rule non resource urls (list) + NonResourceUrls []string `pulumi:"nonResourceUrls"` + // Policy rule resource names (list) + ResourceNames []string `pulumi:"resourceNames"` + // Policy rule resources (list) + Resources []string `pulumi:"resources"` + // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) + Verbs []string `pulumi:"verbs"` } -// GetClusterGkeConfigInput is an input type that accepts GetClusterGkeConfigArgs and GetClusterGkeConfigOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigInput` via: +// RoleTempalteRuleInput is an input type that accepts RoleTempalteRuleArgs and RoleTempalteRuleOutput values. +// You can construct a concrete instance of `RoleTempalteRuleInput` via: // -// GetClusterGkeConfigArgs{...} -type GetClusterGkeConfigInput interface { +// RoleTempalteRuleArgs{...} +type RoleTempalteRuleInput interface { pulumi.Input - ToGetClusterGkeConfigOutput() GetClusterGkeConfigOutput - ToGetClusterGkeConfigOutputWithContext(context.Context) GetClusterGkeConfigOutput + ToRoleTempalteRuleOutput() RoleTempalteRuleOutput + ToRoleTempalteRuleOutputWithContext(context.Context) RoleTempalteRuleOutput } -type GetClusterGkeConfigArgs struct { - ClusterIpv4Cidr pulumi.StringInput `pulumi:"clusterIpv4Cidr"` - Credential pulumi.StringInput `pulumi:"credential"` - // (Computed) The description for Cluster (string) - Description pulumi.StringPtrInput `pulumi:"description"` - DiskSizeGb pulumi.IntPtrInput `pulumi:"diskSizeGb"` - DiskType pulumi.StringInput `pulumi:"diskType"` - EnableAlphaFeature pulumi.BoolPtrInput `pulumi:"enableAlphaFeature"` - EnableAutoRepair pulumi.BoolPtrInput `pulumi:"enableAutoRepair"` - EnableAutoUpgrade pulumi.BoolPtrInput `pulumi:"enableAutoUpgrade"` - EnableHorizontalPodAutoscaling pulumi.BoolPtrInput `pulumi:"enableHorizontalPodAutoscaling"` - EnableHttpLoadBalancing pulumi.BoolPtrInput `pulumi:"enableHttpLoadBalancing"` - EnableKubernetesDashboard pulumi.BoolPtrInput `pulumi:"enableKubernetesDashboard"` - EnableLegacyAbac pulumi.BoolPtrInput `pulumi:"enableLegacyAbac"` - EnableMasterAuthorizedNetwork pulumi.BoolPtrInput `pulumi:"enableMasterAuthorizedNetwork"` - EnableNetworkPolicyConfig pulumi.BoolPtrInput `pulumi:"enableNetworkPolicyConfig"` - EnableNodepoolAutoscaling pulumi.BoolPtrInput `pulumi:"enableNodepoolAutoscaling"` - EnablePrivateEndpoint pulumi.BoolPtrInput `pulumi:"enablePrivateEndpoint"` - EnablePrivateNodes pulumi.BoolPtrInput `pulumi:"enablePrivateNodes"` - EnableStackdriverLogging pulumi.BoolPtrInput `pulumi:"enableStackdriverLogging"` - EnableStackdriverMonitoring pulumi.BoolPtrInput `pulumi:"enableStackdriverMonitoring"` - ImageType pulumi.StringInput `pulumi:"imageType"` - IpPolicyClusterIpv4CidrBlock pulumi.StringInput `pulumi:"ipPolicyClusterIpv4CidrBlock"` - IpPolicyClusterSecondaryRangeName pulumi.StringInput `pulumi:"ipPolicyClusterSecondaryRangeName"` - IpPolicyCreateSubnetwork pulumi.BoolPtrInput `pulumi:"ipPolicyCreateSubnetwork"` - IpPolicyNodeIpv4CidrBlock pulumi.StringInput `pulumi:"ipPolicyNodeIpv4CidrBlock"` - IpPolicyServicesIpv4CidrBlock pulumi.StringInput `pulumi:"ipPolicyServicesIpv4CidrBlock"` - IpPolicyServicesSecondaryRangeName pulumi.StringInput `pulumi:"ipPolicyServicesSecondaryRangeName"` - IpPolicySubnetworkName pulumi.StringInput `pulumi:"ipPolicySubnetworkName"` - IssueClientCertificate pulumi.BoolPtrInput `pulumi:"issueClientCertificate"` - KubernetesDashboard pulumi.BoolPtrInput `pulumi:"kubernetesDashboard"` - // (Computed) Labels for Node Pool object (map) - Labels pulumi.MapInput `pulumi:"labels"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - Locations pulumi.StringArrayInput `pulumi:"locations"` - MachineType pulumi.StringInput `pulumi:"machineType"` - MaintenanceWindow pulumi.StringInput `pulumi:"maintenanceWindow"` - MasterAuthorizedNetworkCidrBlocks pulumi.StringArrayInput `pulumi:"masterAuthorizedNetworkCidrBlocks"` - MasterIpv4CidrBlock pulumi.StringInput `pulumi:"masterIpv4CidrBlock"` - MasterVersion pulumi.StringInput `pulumi:"masterVersion"` - MaxNodeCount pulumi.IntPtrInput `pulumi:"maxNodeCount"` - MinNodeCount pulumi.IntPtrInput `pulumi:"minNodeCount"` - Network pulumi.StringInput `pulumi:"network"` - NodeCount pulumi.IntPtrInput `pulumi:"nodeCount"` - NodePool pulumi.StringInput `pulumi:"nodePool"` - NodeVersion pulumi.StringInput `pulumi:"nodeVersion"` - OauthScopes pulumi.StringArrayInput `pulumi:"oauthScopes"` - Preemptible pulumi.BoolPtrInput `pulumi:"preemptible"` - ProjectId pulumi.StringInput `pulumi:"projectId"` - Region pulumi.StringPtrInput `pulumi:"region"` - ResourceLabels pulumi.MapInput `pulumi:"resourceLabels"` - ServiceAccount pulumi.StringInput `pulumi:"serviceAccount"` - SubNetwork pulumi.StringInput `pulumi:"subNetwork"` - Taints pulumi.StringArrayInput `pulumi:"taints"` - UseIpAliases pulumi.BoolPtrInput `pulumi:"useIpAliases"` - Zone pulumi.StringPtrInput `pulumi:"zone"` +type RoleTempalteRuleArgs struct { + // Policy rule api groups (list) + ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` + // Policy rule non resource urls (list) + NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` + // Policy rule resource names (list) + ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` + // Policy rule resources (list) + Resources pulumi.StringArrayInput `pulumi:"resources"` + // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) + Verbs pulumi.StringArrayInput `pulumi:"verbs"` +} + +func (RoleTempalteRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoleTempalteRule)(nil)).Elem() +} + +func (i RoleTempalteRuleArgs) ToRoleTempalteRuleOutput() RoleTempalteRuleOutput { + return i.ToRoleTempalteRuleOutputWithContext(context.Background()) +} + +func (i RoleTempalteRuleArgs) ToRoleTempalteRuleOutputWithContext(ctx context.Context) RoleTempalteRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoleTempalteRuleOutput) +} + +// RoleTempalteRuleArrayInput is an input type that accepts RoleTempalteRuleArray and RoleTempalteRuleArrayOutput values. +// You can construct a concrete instance of `RoleTempalteRuleArrayInput` via: +// +// RoleTempalteRuleArray{ RoleTempalteRuleArgs{...} } +type RoleTempalteRuleArrayInput interface { + pulumi.Input + + ToRoleTempalteRuleArrayOutput() RoleTempalteRuleArrayOutput + ToRoleTempalteRuleArrayOutputWithContext(context.Context) RoleTempalteRuleArrayOutput +} + +type RoleTempalteRuleArray []RoleTempalteRuleInput + +func (RoleTempalteRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoleTempalteRule)(nil)).Elem() +} + +func (i RoleTempalteRuleArray) ToRoleTempalteRuleArrayOutput() RoleTempalteRuleArrayOutput { + return i.ToRoleTempalteRuleArrayOutputWithContext(context.Background()) +} + +func (i RoleTempalteRuleArray) ToRoleTempalteRuleArrayOutputWithContext(ctx context.Context) RoleTempalteRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoleTempalteRuleArrayOutput) } -func (GetClusterGkeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfig)(nil)).Elem() -} +type RoleTempalteRuleOutput struct{ *pulumi.OutputState } -func (i GetClusterGkeConfigArgs) ToGetClusterGkeConfigOutput() GetClusterGkeConfigOutput { - return i.ToGetClusterGkeConfigOutputWithContext(context.Background()) +func (RoleTempalteRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoleTempalteRule)(nil)).Elem() } -func (i GetClusterGkeConfigArgs) ToGetClusterGkeConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigOutput) +func (o RoleTempalteRuleOutput) ToRoleTempalteRuleOutput() RoleTempalteRuleOutput { + return o } -type GetClusterGkeConfigOutput struct{ *pulumi.OutputState } +func (o RoleTempalteRuleOutput) ToRoleTempalteRuleOutputWithContext(ctx context.Context) RoleTempalteRuleOutput { + return o +} -func (GetClusterGkeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfig)(nil)).Elem() +// Policy rule api groups (list) +func (o RoleTempalteRuleOutput) ApiGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoleTempalteRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigOutput) ToGetClusterGkeConfigOutput() GetClusterGkeConfigOutput { - return o +// Policy rule non resource urls (list) +func (o RoleTempalteRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoleTempalteRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigOutput) ToGetClusterGkeConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigOutput { - return o +// Policy rule resource names (list) +func (o RoleTempalteRuleOutput) ResourceNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoleTempalteRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigOutput) ClusterIpv4Cidr() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.ClusterIpv4Cidr }).(pulumi.StringOutput) +// Policy rule resources (list) +func (o RoleTempalteRuleOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoleTempalteRule) []string { return v.Resources }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigOutput) Credential() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.Credential }).(pulumi.StringOutput) +// Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) +func (o RoleTempalteRuleOutput) Verbs() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoleTempalteRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) } -// (Computed) The description for Cluster (string) -func (o GetClusterGkeConfigOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *string { return v.Description }).(pulumi.StringPtrOutput) +type RoleTempalteRuleArrayOutput struct{ *pulumi.OutputState } + +func (RoleTempalteRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoleTempalteRule)(nil)).Elem() } -func (o GetClusterGkeConfigOutput) DiskSizeGb() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *int { return v.DiskSizeGb }).(pulumi.IntPtrOutput) +func (o RoleTempalteRuleArrayOutput) ToRoleTempalteRuleArrayOutput() RoleTempalteRuleArrayOutput { + return o } -func (o GetClusterGkeConfigOutput) DiskType() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.DiskType }).(pulumi.StringOutput) +func (o RoleTempalteRuleArrayOutput) ToRoleTempalteRuleArrayOutputWithContext(ctx context.Context) RoleTempalteRuleArrayOutput { + return o } -func (o GetClusterGkeConfigOutput) EnableAlphaFeature() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableAlphaFeature }).(pulumi.BoolPtrOutput) +func (o RoleTempalteRuleArrayOutput) Index(i pulumi.IntInput) RoleTempalteRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoleTempalteRule { + return vs[0].([]RoleTempalteRule)[vs[1].(int)] + }).(RoleTempalteRuleOutput) } -func (o GetClusterGkeConfigOutput) EnableAutoRepair() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableAutoRepair }).(pulumi.BoolPtrOutput) +type RoleTemplateRule struct { + // Policy rule api groups (list) + ApiGroups []string `pulumi:"apiGroups"` + // Policy rule non resource urls (list) + NonResourceUrls []string `pulumi:"nonResourceUrls"` + // Policy rule resource names (list) + ResourceNames []string `pulumi:"resourceNames"` + // Policy rule resources (list) + Resources []string `pulumi:"resources"` + // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) + Verbs []string `pulumi:"verbs"` } -func (o GetClusterGkeConfigOutput) EnableAutoUpgrade() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableAutoUpgrade }).(pulumi.BoolPtrOutput) +// RoleTemplateRuleInput is an input type that accepts RoleTemplateRuleArgs and RoleTemplateRuleOutput values. +// You can construct a concrete instance of `RoleTemplateRuleInput` via: +// +// RoleTemplateRuleArgs{...} +type RoleTemplateRuleInput interface { + pulumi.Input + + ToRoleTemplateRuleOutput() RoleTemplateRuleOutput + ToRoleTemplateRuleOutputWithContext(context.Context) RoleTemplateRuleOutput } -func (o GetClusterGkeConfigOutput) EnableHorizontalPodAutoscaling() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableHorizontalPodAutoscaling }).(pulumi.BoolPtrOutput) +type RoleTemplateRuleArgs struct { + // Policy rule api groups (list) + ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` + // Policy rule non resource urls (list) + NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` + // Policy rule resource names (list) + ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` + // Policy rule resources (list) + Resources pulumi.StringArrayInput `pulumi:"resources"` + // Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) + Verbs pulumi.StringArrayInput `pulumi:"verbs"` } -func (o GetClusterGkeConfigOutput) EnableHttpLoadBalancing() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableHttpLoadBalancing }).(pulumi.BoolPtrOutput) +func (RoleTemplateRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RoleTemplateRule)(nil)).Elem() } -func (o GetClusterGkeConfigOutput) EnableKubernetesDashboard() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableKubernetesDashboard }).(pulumi.BoolPtrOutput) +func (i RoleTemplateRuleArgs) ToRoleTemplateRuleOutput() RoleTemplateRuleOutput { + return i.ToRoleTemplateRuleOutputWithContext(context.Background()) } -func (o GetClusterGkeConfigOutput) EnableLegacyAbac() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableLegacyAbac }).(pulumi.BoolPtrOutput) +func (i RoleTemplateRuleArgs) ToRoleTemplateRuleOutputWithContext(ctx context.Context) RoleTemplateRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoleTemplateRuleOutput) } -func (o GetClusterGkeConfigOutput) EnableMasterAuthorizedNetwork() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableMasterAuthorizedNetwork }).(pulumi.BoolPtrOutput) +// RoleTemplateRuleArrayInput is an input type that accepts RoleTemplateRuleArray and RoleTemplateRuleArrayOutput values. +// You can construct a concrete instance of `RoleTemplateRuleArrayInput` via: +// +// RoleTemplateRuleArray{ RoleTemplateRuleArgs{...} } +type RoleTemplateRuleArrayInput interface { + pulumi.Input + + ToRoleTemplateRuleArrayOutput() RoleTemplateRuleArrayOutput + ToRoleTemplateRuleArrayOutputWithContext(context.Context) RoleTemplateRuleArrayOutput } -func (o GetClusterGkeConfigOutput) EnableNetworkPolicyConfig() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableNetworkPolicyConfig }).(pulumi.BoolPtrOutput) +type RoleTemplateRuleArray []RoleTemplateRuleInput + +func (RoleTemplateRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoleTemplateRule)(nil)).Elem() } -func (o GetClusterGkeConfigOutput) EnableNodepoolAutoscaling() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableNodepoolAutoscaling }).(pulumi.BoolPtrOutput) +func (i RoleTemplateRuleArray) ToRoleTemplateRuleArrayOutput() RoleTemplateRuleArrayOutput { + return i.ToRoleTemplateRuleArrayOutputWithContext(context.Background()) } -func (o GetClusterGkeConfigOutput) EnablePrivateEndpoint() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnablePrivateEndpoint }).(pulumi.BoolPtrOutput) +func (i RoleTemplateRuleArray) ToRoleTemplateRuleArrayOutputWithContext(ctx context.Context) RoleTemplateRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RoleTemplateRuleArrayOutput) } -func (o GetClusterGkeConfigOutput) EnablePrivateNodes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnablePrivateNodes }).(pulumi.BoolPtrOutput) +type RoleTemplateRuleOutput struct{ *pulumi.OutputState } + +func (RoleTemplateRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RoleTemplateRule)(nil)).Elem() } -func (o GetClusterGkeConfigOutput) EnableStackdriverLogging() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableStackdriverLogging }).(pulumi.BoolPtrOutput) +func (o RoleTemplateRuleOutput) ToRoleTemplateRuleOutput() RoleTemplateRuleOutput { + return o } -func (o GetClusterGkeConfigOutput) EnableStackdriverMonitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableStackdriverMonitoring }).(pulumi.BoolPtrOutput) +func (o RoleTemplateRuleOutput) ToRoleTemplateRuleOutputWithContext(ctx context.Context) RoleTemplateRuleOutput { + return o } -func (o GetClusterGkeConfigOutput) ImageType() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.ImageType }).(pulumi.StringOutput) +// Policy rule api groups (list) +func (o RoleTemplateRuleOutput) ApiGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoleTemplateRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigOutput) IpPolicyClusterIpv4CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicyClusterIpv4CidrBlock }).(pulumi.StringOutput) +// Policy rule non resource urls (list) +func (o RoleTemplateRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoleTemplateRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigOutput) IpPolicyClusterSecondaryRangeName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicyClusterSecondaryRangeName }).(pulumi.StringOutput) +// Policy rule resource names (list) +func (o RoleTemplateRuleOutput) ResourceNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoleTemplateRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigOutput) IpPolicyCreateSubnetwork() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.IpPolicyCreateSubnetwork }).(pulumi.BoolPtrOutput) +// Policy rule resources (list) +func (o RoleTemplateRuleOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoleTemplateRule) []string { return v.Resources }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigOutput) IpPolicyNodeIpv4CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicyNodeIpv4CidrBlock }).(pulumi.StringOutput) +// Policy rule verbs. `bind`, `create`, `delete`, `deletecollection`, `escalate`, `get`, `impersonate`, `list`, `patch`, `update`, `use`, `view`, `watch`, `own` and `*` values are supported (list) +func (o RoleTemplateRuleOutput) Verbs() pulumi.StringArrayOutput { + return o.ApplyT(func(v RoleTemplateRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigOutput) IpPolicyServicesIpv4CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicyServicesIpv4CidrBlock }).(pulumi.StringOutput) +type RoleTemplateRuleArrayOutput struct{ *pulumi.OutputState } + +func (RoleTemplateRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RoleTemplateRule)(nil)).Elem() } -func (o GetClusterGkeConfigOutput) IpPolicyServicesSecondaryRangeName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicyServicesSecondaryRangeName }).(pulumi.StringOutput) +func (o RoleTemplateRuleArrayOutput) ToRoleTemplateRuleArrayOutput() RoleTemplateRuleArrayOutput { + return o } -func (o GetClusterGkeConfigOutput) IpPolicySubnetworkName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicySubnetworkName }).(pulumi.StringOutput) +func (o RoleTemplateRuleArrayOutput) ToRoleTemplateRuleArrayOutputWithContext(ctx context.Context) RoleTemplateRuleArrayOutput { + return o } -func (o GetClusterGkeConfigOutput) IssueClientCertificate() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.IssueClientCertificate }).(pulumi.BoolPtrOutput) +func (o RoleTemplateRuleArrayOutput) Index(i pulumi.IntInput) RoleTemplateRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RoleTemplateRule { + return vs[0].([]RoleTemplateRule)[vs[1].(int)] + }).(RoleTemplateRuleOutput) } -func (o GetClusterGkeConfigOutput) KubernetesDashboard() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.KubernetesDashboard }).(pulumi.BoolPtrOutput) +type GetClusterAksConfig struct { + AadServerAppSecret *string `pulumi:"aadServerAppSecret"` + AadTenantId *string `pulumi:"aadTenantId"` + AddClientAppId *string `pulumi:"addClientAppId"` + AddServerAppId *string `pulumi:"addServerAppId"` + AdminUsername *string `pulumi:"adminUsername"` + AgentDnsPrefix string `pulumi:"agentDnsPrefix"` + AgentOsDiskSize *int `pulumi:"agentOsDiskSize"` + AgentPoolName *string `pulumi:"agentPoolName"` + AgentStorageProfile *string `pulumi:"agentStorageProfile"` + AgentVmSize *string `pulumi:"agentVmSize"` + AuthBaseUrl *string `pulumi:"authBaseUrl"` + BaseUrl *string `pulumi:"baseUrl"` + ClientId string `pulumi:"clientId"` + ClientSecret string `pulumi:"clientSecret"` + Count *int `pulumi:"count"` + DnsServiceIp *string `pulumi:"dnsServiceIp"` + DockerBridgeCidr *string `pulumi:"dockerBridgeCidr"` + EnableHttpApplicationRouting *bool `pulumi:"enableHttpApplicationRouting"` + EnableMonitoring *bool `pulumi:"enableMonitoring"` + KubernetesVersion string `pulumi:"kubernetesVersion"` + LoadBalancerSku string `pulumi:"loadBalancerSku"` + Location *string `pulumi:"location"` + LogAnalyticsWorkspace *string `pulumi:"logAnalyticsWorkspace"` + LogAnalyticsWorkspaceResourceGroup *string `pulumi:"logAnalyticsWorkspaceResourceGroup"` + MasterDnsPrefix string `pulumi:"masterDnsPrefix"` + MaxPods *int `pulumi:"maxPods"` + NetworkPlugin *string `pulumi:"networkPlugin"` + NetworkPolicy *string `pulumi:"networkPolicy"` + PodCidr *string `pulumi:"podCidr"` + ResourceGroup string `pulumi:"resourceGroup"` + ServiceCidr *string `pulumi:"serviceCidr"` + SshPublicKeyContents string `pulumi:"sshPublicKeyContents"` + Subnet string `pulumi:"subnet"` + SubscriptionId string `pulumi:"subscriptionId"` + // Deprecated: Use tags argument instead as []string + Tag map[string]interface{} `pulumi:"tag"` + Tags []string `pulumi:"tags"` + TenantId string `pulumi:"tenantId"` + VirtualNetwork string `pulumi:"virtualNetwork"` + VirtualNetworkResourceGroup string `pulumi:"virtualNetworkResourceGroup"` } -// (Computed) Labels for Node Pool object (map) -func (o GetClusterGkeConfigOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterGkeConfig) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +// GetClusterAksConfigInput is an input type that accepts GetClusterAksConfigArgs and GetClusterAksConfigOutput values. +// You can construct a concrete instance of `GetClusterAksConfigInput` via: +// +// GetClusterAksConfigArgs{...} +type GetClusterAksConfigInput interface { + pulumi.Input + + ToGetClusterAksConfigOutput() GetClusterAksConfigOutput + ToGetClusterAksConfigOutputWithContext(context.Context) GetClusterAksConfigOutput } -func (o GetClusterGkeConfigOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +type GetClusterAksConfigArgs struct { + AadServerAppSecret pulumi.StringPtrInput `pulumi:"aadServerAppSecret"` + AadTenantId pulumi.StringPtrInput `pulumi:"aadTenantId"` + AddClientAppId pulumi.StringPtrInput `pulumi:"addClientAppId"` + AddServerAppId pulumi.StringPtrInput `pulumi:"addServerAppId"` + AdminUsername pulumi.StringPtrInput `pulumi:"adminUsername"` + AgentDnsPrefix pulumi.StringInput `pulumi:"agentDnsPrefix"` + AgentOsDiskSize pulumi.IntPtrInput `pulumi:"agentOsDiskSize"` + AgentPoolName pulumi.StringPtrInput `pulumi:"agentPoolName"` + AgentStorageProfile pulumi.StringPtrInput `pulumi:"agentStorageProfile"` + AgentVmSize pulumi.StringPtrInput `pulumi:"agentVmSize"` + AuthBaseUrl pulumi.StringPtrInput `pulumi:"authBaseUrl"` + BaseUrl pulumi.StringPtrInput `pulumi:"baseUrl"` + ClientId pulumi.StringInput `pulumi:"clientId"` + ClientSecret pulumi.StringInput `pulumi:"clientSecret"` + Count pulumi.IntPtrInput `pulumi:"count"` + DnsServiceIp pulumi.StringPtrInput `pulumi:"dnsServiceIp"` + DockerBridgeCidr pulumi.StringPtrInput `pulumi:"dockerBridgeCidr"` + EnableHttpApplicationRouting pulumi.BoolPtrInput `pulumi:"enableHttpApplicationRouting"` + EnableMonitoring pulumi.BoolPtrInput `pulumi:"enableMonitoring"` + KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` + LoadBalancerSku pulumi.StringInput `pulumi:"loadBalancerSku"` + Location pulumi.StringPtrInput `pulumi:"location"` + LogAnalyticsWorkspace pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspace"` + LogAnalyticsWorkspaceResourceGroup pulumi.StringPtrInput `pulumi:"logAnalyticsWorkspaceResourceGroup"` + MasterDnsPrefix pulumi.StringInput `pulumi:"masterDnsPrefix"` + MaxPods pulumi.IntPtrInput `pulumi:"maxPods"` + NetworkPlugin pulumi.StringPtrInput `pulumi:"networkPlugin"` + NetworkPolicy pulumi.StringPtrInput `pulumi:"networkPolicy"` + PodCidr pulumi.StringPtrInput `pulumi:"podCidr"` + ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` + ServiceCidr pulumi.StringPtrInput `pulumi:"serviceCidr"` + SshPublicKeyContents pulumi.StringInput `pulumi:"sshPublicKeyContents"` + Subnet pulumi.StringInput `pulumi:"subnet"` + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` + // Deprecated: Use tags argument instead as []string + Tag pulumi.MapInput `pulumi:"tag"` + Tags pulumi.StringArrayInput `pulumi:"tags"` + TenantId pulumi.StringInput `pulumi:"tenantId"` + VirtualNetwork pulumi.StringInput `pulumi:"virtualNetwork"` + VirtualNetworkResourceGroup pulumi.StringInput `pulumi:"virtualNetworkResourceGroup"` } -func (o GetClusterGkeConfigOutput) Locations() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterGkeConfig) []string { return v.Locations }).(pulumi.StringArrayOutput) +func (GetClusterAksConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAksConfig)(nil)).Elem() } -func (o GetClusterGkeConfigOutput) MachineType() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.MachineType }).(pulumi.StringOutput) +func (i GetClusterAksConfigArgs) ToGetClusterAksConfigOutput() GetClusterAksConfigOutput { + return i.ToGetClusterAksConfigOutputWithContext(context.Background()) } -func (o GetClusterGkeConfigOutput) MaintenanceWindow() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.MaintenanceWindow }).(pulumi.StringOutput) +func (i GetClusterAksConfigArgs) ToGetClusterAksConfigOutputWithContext(ctx context.Context) GetClusterAksConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterAksConfigOutput) } -func (o GetClusterGkeConfigOutput) MasterAuthorizedNetworkCidrBlocks() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterGkeConfig) []string { return v.MasterAuthorizedNetworkCidrBlocks }).(pulumi.StringArrayOutput) +type GetClusterAksConfigOutput struct{ *pulumi.OutputState } + +func (GetClusterAksConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAksConfig)(nil)).Elem() } -func (o GetClusterGkeConfigOutput) MasterIpv4CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.MasterIpv4CidrBlock }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) ToGetClusterAksConfigOutput() GetClusterAksConfigOutput { + return o } -func (o GetClusterGkeConfigOutput) MasterVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.MasterVersion }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) ToGetClusterAksConfigOutputWithContext(ctx context.Context) GetClusterAksConfigOutput { + return o } -func (o GetClusterGkeConfigOutput) MaxNodeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *int { return v.MaxNodeCount }).(pulumi.IntPtrOutput) +func (o GetClusterAksConfigOutput) AadServerAppSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AadServerAppSecret }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigOutput) MinNodeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *int { return v.MinNodeCount }).(pulumi.IntPtrOutput) +func (o GetClusterAksConfigOutput) AadTenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AadTenantId }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigOutput) Network() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.Network }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) AddClientAppId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AddClientAppId }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigOutput) NodeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *int { return v.NodeCount }).(pulumi.IntPtrOutput) +func (o GetClusterAksConfigOutput) AddServerAppId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AddServerAppId }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigOutput) NodePool() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.NodePool }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) AdminUsername() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AdminUsername }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigOutput) NodeVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.NodeVersion }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) AgentDnsPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.AgentDnsPrefix }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigOutput) OauthScopes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterGkeConfig) []string { return v.OauthScopes }).(pulumi.StringArrayOutput) +func (o GetClusterAksConfigOutput) AgentOsDiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *int { return v.AgentOsDiskSize }).(pulumi.IntPtrOutput) } -func (o GetClusterGkeConfigOutput) Preemptible() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.Preemptible }).(pulumi.BoolPtrOutput) +func (o GetClusterAksConfigOutput) AgentPoolName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AgentPoolName }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigOutput) ProjectId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.ProjectId }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) AgentStorageProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AgentStorageProfile }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetClusterAksConfigOutput) AgentVmSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AgentVmSize }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigOutput) ResourceLabels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterGkeConfig) map[string]interface{} { return v.ResourceLabels }).(pulumi.MapOutput) +func (o GetClusterAksConfigOutput) AuthBaseUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.AuthBaseUrl }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigOutput) ServiceAccount() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.ServiceAccount }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) BaseUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.BaseUrl }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigOutput) SubNetwork() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfig) string { return v.SubNetwork }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.ClientId }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigOutput) Taints() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterGkeConfig) []string { return v.Taints }).(pulumi.StringArrayOutput) +func (o GetClusterAksConfigOutput) ClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.ClientSecret }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigOutput) UseIpAliases() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.UseIpAliases }).(pulumi.BoolPtrOutput) +func (o GetClusterAksConfigOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *int { return v.Count }).(pulumi.IntPtrOutput) } -func (o GetClusterGkeConfigOutput) Zone() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfig) *string { return v.Zone }).(pulumi.StringPtrOutput) +func (o GetClusterAksConfigOutput) DnsServiceIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.DnsServiceIp }).(pulumi.StringPtrOutput) } -type GetClusterGkeConfigV2 struct { - ClusterAddons GetClusterGkeConfigV2ClusterAddons `pulumi:"clusterAddons"` - ClusterIpv4CidrBlock string `pulumi:"clusterIpv4CidrBlock"` - // (Computed) The description for Cluster (string) - Description string `pulumi:"description"` - EnableKubernetesAlpha bool `pulumi:"enableKubernetesAlpha"` - GoogleCredentialSecret string `pulumi:"googleCredentialSecret"` - Imported *bool `pulumi:"imported"` - IpAllocationPolicy GetClusterGkeConfigV2IpAllocationPolicy `pulumi:"ipAllocationPolicy"` - KubernetesVersion string `pulumi:"kubernetesVersion"` - // (Computed) Labels for Node Pool object (map) - Labels map[string]interface{} `pulumi:"labels"` - Locations []string `pulumi:"locations"` - LoggingService string `pulumi:"loggingService"` - MaintenanceWindow string `pulumi:"maintenanceWindow"` - MasterAuthorizedNetworksConfig GetClusterGkeConfigV2MasterAuthorizedNetworksConfig `pulumi:"masterAuthorizedNetworksConfig"` - MonitoringService string `pulumi:"monitoringService"` - // The name of the Cluster (string) - Name string `pulumi:"name"` - Network string `pulumi:"network"` - NetworkPolicyEnabled bool `pulumi:"networkPolicyEnabled"` - NodePools []GetClusterGkeConfigV2NodePool `pulumi:"nodePools"` - PrivateClusterConfig GetClusterGkeConfigV2PrivateClusterConfig `pulumi:"privateClusterConfig"` - ProjectId string `pulumi:"projectId"` - Region string `pulumi:"region"` - Subnetwork string `pulumi:"subnetwork"` - Zone string `pulumi:"zone"` +func (o GetClusterAksConfigOutput) DockerBridgeCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.DockerBridgeCidr }).(pulumi.StringPtrOutput) } -// GetClusterGkeConfigV2Input is an input type that accepts GetClusterGkeConfigV2Args and GetClusterGkeConfigV2Output values. -// You can construct a concrete instance of `GetClusterGkeConfigV2Input` via: -// -// GetClusterGkeConfigV2Args{...} -type GetClusterGkeConfigV2Input interface { - pulumi.Input +func (o GetClusterAksConfigOutput) EnableHttpApplicationRouting() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *bool { return v.EnableHttpApplicationRouting }).(pulumi.BoolPtrOutput) +} - ToGetClusterGkeConfigV2Output() GetClusterGkeConfigV2Output - ToGetClusterGkeConfigV2OutputWithContext(context.Context) GetClusterGkeConfigV2Output +func (o GetClusterAksConfigOutput) EnableMonitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *bool { return v.EnableMonitoring }).(pulumi.BoolPtrOutput) } -type GetClusterGkeConfigV2Args struct { - ClusterAddons GetClusterGkeConfigV2ClusterAddonsInput `pulumi:"clusterAddons"` - ClusterIpv4CidrBlock pulumi.StringInput `pulumi:"clusterIpv4CidrBlock"` - // (Computed) The description for Cluster (string) - Description pulumi.StringInput `pulumi:"description"` - EnableKubernetesAlpha pulumi.BoolInput `pulumi:"enableKubernetesAlpha"` - GoogleCredentialSecret pulumi.StringInput `pulumi:"googleCredentialSecret"` - Imported pulumi.BoolPtrInput `pulumi:"imported"` - IpAllocationPolicy GetClusterGkeConfigV2IpAllocationPolicyInput `pulumi:"ipAllocationPolicy"` - KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` - // (Computed) Labels for Node Pool object (map) - Labels pulumi.MapInput `pulumi:"labels"` - Locations pulumi.StringArrayInput `pulumi:"locations"` - LoggingService pulumi.StringInput `pulumi:"loggingService"` - MaintenanceWindow pulumi.StringInput `pulumi:"maintenanceWindow"` - MasterAuthorizedNetworksConfig GetClusterGkeConfigV2MasterAuthorizedNetworksConfigInput `pulumi:"masterAuthorizedNetworksConfig"` - MonitoringService pulumi.StringInput `pulumi:"monitoringService"` - // The name of the Cluster (string) - Name pulumi.StringInput `pulumi:"name"` - Network pulumi.StringInput `pulumi:"network"` - NetworkPolicyEnabled pulumi.BoolInput `pulumi:"networkPolicyEnabled"` - NodePools GetClusterGkeConfigV2NodePoolArrayInput `pulumi:"nodePools"` - PrivateClusterConfig GetClusterGkeConfigV2PrivateClusterConfigInput `pulumi:"privateClusterConfig"` - ProjectId pulumi.StringInput `pulumi:"projectId"` - Region pulumi.StringInput `pulumi:"region"` - Subnetwork pulumi.StringInput `pulumi:"subnetwork"` - Zone pulumi.StringInput `pulumi:"zone"` +func (o GetClusterAksConfigOutput) KubernetesVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.KubernetesVersion }).(pulumi.StringOutput) } -func (GetClusterGkeConfigV2Args) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2)(nil)).Elem() +func (o GetClusterAksConfigOutput) LoadBalancerSku() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.LoadBalancerSku }).(pulumi.StringOutput) } -func (i GetClusterGkeConfigV2Args) ToGetClusterGkeConfigV2Output() GetClusterGkeConfigV2Output { - return i.ToGetClusterGkeConfigV2OutputWithContext(context.Background()) +func (o GetClusterAksConfigOutput) Location() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.Location }).(pulumi.StringPtrOutput) } -func (i GetClusterGkeConfigV2Args) ToGetClusterGkeConfigV2OutputWithContext(ctx context.Context) GetClusterGkeConfigV2Output { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2Output) +func (o GetClusterAksConfigOutput) LogAnalyticsWorkspace() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.LogAnalyticsWorkspace }).(pulumi.StringPtrOutput) } -type GetClusterGkeConfigV2Output struct{ *pulumi.OutputState } +func (o GetClusterAksConfigOutput) LogAnalyticsWorkspaceResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.LogAnalyticsWorkspaceResourceGroup }).(pulumi.StringPtrOutput) +} -func (GetClusterGkeConfigV2Output) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2)(nil)).Elem() +func (o GetClusterAksConfigOutput) MasterDnsPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.MasterDnsPrefix }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2Output) ToGetClusterGkeConfigV2Output() GetClusterGkeConfigV2Output { - return o +func (o GetClusterAksConfigOutput) MaxPods() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *int { return v.MaxPods }).(pulumi.IntPtrOutput) } -func (o GetClusterGkeConfigV2Output) ToGetClusterGkeConfigV2OutputWithContext(ctx context.Context) GetClusterGkeConfigV2Output { - return o +func (o GetClusterAksConfigOutput) NetworkPlugin() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.NetworkPlugin }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigV2Output) ClusterAddons() GetClusterGkeConfigV2ClusterAddonsOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) GetClusterGkeConfigV2ClusterAddons { return v.ClusterAddons }).(GetClusterGkeConfigV2ClusterAddonsOutput) +func (o GetClusterAksConfigOutput) NetworkPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.NetworkPolicy }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigV2Output) ClusterIpv4CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.ClusterIpv4CidrBlock }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) PodCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.PodCidr }).(pulumi.StringPtrOutput) } -// (Computed) The description for Cluster (string) -func (o GetClusterGkeConfigV2Output) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Description }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) ResourceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.ResourceGroup }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2Output) EnableKubernetesAlpha() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) bool { return v.EnableKubernetesAlpha }).(pulumi.BoolOutput) +func (o GetClusterAksConfigOutput) ServiceCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfig) *string { return v.ServiceCidr }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigV2Output) GoogleCredentialSecret() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.GoogleCredentialSecret }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) SshPublicKeyContents() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.SshPublicKeyContents }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2Output) Imported() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) *bool { return v.Imported }).(pulumi.BoolPtrOutput) +func (o GetClusterAksConfigOutput) Subnet() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.Subnet }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2Output) IpAllocationPolicy() GetClusterGkeConfigV2IpAllocationPolicyOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) GetClusterGkeConfigV2IpAllocationPolicy { return v.IpAllocationPolicy }).(GetClusterGkeConfigV2IpAllocationPolicyOutput) +func (o GetClusterAksConfigOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.SubscriptionId }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2Output) KubernetesVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.KubernetesVersion }).(pulumi.StringOutput) +// Deprecated: Use tags argument instead as []string +func (o GetClusterAksConfigOutput) Tag() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterAksConfig) map[string]interface{} { return v.Tag }).(pulumi.MapOutput) } -// (Computed) Labels for Node Pool object (map) -func (o GetClusterGkeConfigV2Output) Labels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +func (o GetClusterAksConfigOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterAksConfig) []string { return v.Tags }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigV2Output) Locations() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) []string { return v.Locations }).(pulumi.StringArrayOutput) +func (o GetClusterAksConfigOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.TenantId }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2Output) LoggingService() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.LoggingService }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) VirtualNetwork() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.VirtualNetwork }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2Output) MaintenanceWindow() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.MaintenanceWindow }).(pulumi.StringOutput) +func (o GetClusterAksConfigOutput) VirtualNetworkResourceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfig) string { return v.VirtualNetworkResourceGroup }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2Output) MasterAuthorizedNetworksConfig() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) GetClusterGkeConfigV2MasterAuthorizedNetworksConfig { - return v.MasterAuthorizedNetworksConfig - }).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) +type GetClusterAksConfigV2 struct { + AuthBaseUrl *string `pulumi:"authBaseUrl"` + AuthorizedIpRanges []string `pulumi:"authorizedIpRanges"` + BaseUrl *string `pulumi:"baseUrl"` + CloudCredentialId string `pulumi:"cloudCredentialId"` + DnsPrefix *string `pulumi:"dnsPrefix"` + HttpApplicationRouting bool `pulumi:"httpApplicationRouting"` + Imported *bool `pulumi:"imported"` + KubernetesVersion *string `pulumi:"kubernetesVersion"` + LinuxAdminUsername string `pulumi:"linuxAdminUsername"` + LinuxSshPublicKey string `pulumi:"linuxSshPublicKey"` + LoadBalancerSku string `pulumi:"loadBalancerSku"` + LogAnalyticsWorkspaceGroup string `pulumi:"logAnalyticsWorkspaceGroup"` + LogAnalyticsWorkspaceName string `pulumi:"logAnalyticsWorkspaceName"` + Monitoring bool `pulumi:"monitoring"` + // The name of the Cluster (string) + Name string `pulumi:"name"` + NetworkDnsServiceIp string `pulumi:"networkDnsServiceIp"` + NetworkDockerBridgeCidr string `pulumi:"networkDockerBridgeCidr"` + NetworkPlugin *string `pulumi:"networkPlugin"` + NetworkPodCidr string `pulumi:"networkPodCidr"` + NetworkPolicy string `pulumi:"networkPolicy"` + NetworkServiceCidr string `pulumi:"networkServiceCidr"` + NodePools []GetClusterAksConfigV2NodePool `pulumi:"nodePools"` + PrivateCluster bool `pulumi:"privateCluster"` + ResourceGroup string `pulumi:"resourceGroup"` + ResourceLocation string `pulumi:"resourceLocation"` + Subnet string `pulumi:"subnet"` + Tags map[string]interface{} `pulumi:"tags"` + VirtualNetwork string `pulumi:"virtualNetwork"` + VirtualNetworkResourceGroup string `pulumi:"virtualNetworkResourceGroup"` } -func (o GetClusterGkeConfigV2Output) MonitoringService() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.MonitoringService }).(pulumi.StringOutput) -} +// GetClusterAksConfigV2Input is an input type that accepts GetClusterAksConfigV2Args and GetClusterAksConfigV2Output values. +// You can construct a concrete instance of `GetClusterAksConfigV2Input` via: +// +// GetClusterAksConfigV2Args{...} +type GetClusterAksConfigV2Input interface { + pulumi.Input -// The name of the Cluster (string) -func (o GetClusterGkeConfigV2Output) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Name }).(pulumi.StringOutput) + ToGetClusterAksConfigV2Output() GetClusterAksConfigV2Output + ToGetClusterAksConfigV2OutputWithContext(context.Context) GetClusterAksConfigV2Output } -func (o GetClusterGkeConfigV2Output) Network() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Network }).(pulumi.StringOutput) +type GetClusterAksConfigV2Args struct { + AuthBaseUrl pulumi.StringPtrInput `pulumi:"authBaseUrl"` + AuthorizedIpRanges pulumi.StringArrayInput `pulumi:"authorizedIpRanges"` + BaseUrl pulumi.StringPtrInput `pulumi:"baseUrl"` + CloudCredentialId pulumi.StringInput `pulumi:"cloudCredentialId"` + DnsPrefix pulumi.StringPtrInput `pulumi:"dnsPrefix"` + HttpApplicationRouting pulumi.BoolInput `pulumi:"httpApplicationRouting"` + Imported pulumi.BoolPtrInput `pulumi:"imported"` + KubernetesVersion pulumi.StringPtrInput `pulumi:"kubernetesVersion"` + LinuxAdminUsername pulumi.StringInput `pulumi:"linuxAdminUsername"` + LinuxSshPublicKey pulumi.StringInput `pulumi:"linuxSshPublicKey"` + LoadBalancerSku pulumi.StringInput `pulumi:"loadBalancerSku"` + LogAnalyticsWorkspaceGroup pulumi.StringInput `pulumi:"logAnalyticsWorkspaceGroup"` + LogAnalyticsWorkspaceName pulumi.StringInput `pulumi:"logAnalyticsWorkspaceName"` + Monitoring pulumi.BoolInput `pulumi:"monitoring"` + // The name of the Cluster (string) + Name pulumi.StringInput `pulumi:"name"` + NetworkDnsServiceIp pulumi.StringInput `pulumi:"networkDnsServiceIp"` + NetworkDockerBridgeCidr pulumi.StringInput `pulumi:"networkDockerBridgeCidr"` + NetworkPlugin pulumi.StringPtrInput `pulumi:"networkPlugin"` + NetworkPodCidr pulumi.StringInput `pulumi:"networkPodCidr"` + NetworkPolicy pulumi.StringInput `pulumi:"networkPolicy"` + NetworkServiceCidr pulumi.StringInput `pulumi:"networkServiceCidr"` + NodePools GetClusterAksConfigV2NodePoolArrayInput `pulumi:"nodePools"` + PrivateCluster pulumi.BoolInput `pulumi:"privateCluster"` + ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` + ResourceLocation pulumi.StringInput `pulumi:"resourceLocation"` + Subnet pulumi.StringInput `pulumi:"subnet"` + Tags pulumi.MapInput `pulumi:"tags"` + VirtualNetwork pulumi.StringInput `pulumi:"virtualNetwork"` + VirtualNetworkResourceGroup pulumi.StringInput `pulumi:"virtualNetworkResourceGroup"` } -func (o GetClusterGkeConfigV2Output) NetworkPolicyEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) bool { return v.NetworkPolicyEnabled }).(pulumi.BoolOutput) +func (GetClusterAksConfigV2Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAksConfigV2)(nil)).Elem() } -func (o GetClusterGkeConfigV2Output) NodePools() GetClusterGkeConfigV2NodePoolArrayOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) []GetClusterGkeConfigV2NodePool { return v.NodePools }).(GetClusterGkeConfigV2NodePoolArrayOutput) +func (i GetClusterAksConfigV2Args) ToGetClusterAksConfigV2Output() GetClusterAksConfigV2Output { + return i.ToGetClusterAksConfigV2OutputWithContext(context.Background()) } -func (o GetClusterGkeConfigV2Output) PrivateClusterConfig() GetClusterGkeConfigV2PrivateClusterConfigOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) GetClusterGkeConfigV2PrivateClusterConfig { return v.PrivateClusterConfig }).(GetClusterGkeConfigV2PrivateClusterConfigOutput) +func (i GetClusterAksConfigV2Args) ToGetClusterAksConfigV2OutputWithContext(ctx context.Context) GetClusterAksConfigV2Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterAksConfigV2Output) } -func (o GetClusterGkeConfigV2Output) ProjectId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.ProjectId }).(pulumi.StringOutput) +type GetClusterAksConfigV2Output struct{ *pulumi.OutputState } + +func (GetClusterAksConfigV2Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAksConfigV2)(nil)).Elem() } -func (o GetClusterGkeConfigV2Output) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Region }).(pulumi.StringOutput) +func (o GetClusterAksConfigV2Output) ToGetClusterAksConfigV2Output() GetClusterAksConfigV2Output { + return o } -func (o GetClusterGkeConfigV2Output) Subnetwork() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Subnetwork }).(pulumi.StringOutput) +func (o GetClusterAksConfigV2Output) ToGetClusterAksConfigV2OutputWithContext(ctx context.Context) GetClusterAksConfigV2Output { + return o } -func (o GetClusterGkeConfigV2Output) Zone() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Zone }).(pulumi.StringOutput) +func (o GetClusterAksConfigV2Output) AuthBaseUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) *string { return v.AuthBaseUrl }).(pulumi.StringPtrOutput) } -type GetClusterGkeConfigV2ClusterAddons struct { - HorizontalPodAutoscaling bool `pulumi:"horizontalPodAutoscaling"` - HttpLoadBalancing bool `pulumi:"httpLoadBalancing"` - NetworkPolicyConfig bool `pulumi:"networkPolicyConfig"` +func (o GetClusterAksConfigV2Output) AuthorizedIpRanges() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) []string { return v.AuthorizedIpRanges }).(pulumi.StringArrayOutput) } -// GetClusterGkeConfigV2ClusterAddonsInput is an input type that accepts GetClusterGkeConfigV2ClusterAddonsArgs and GetClusterGkeConfigV2ClusterAddonsOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2ClusterAddonsInput` via: -// -// GetClusterGkeConfigV2ClusterAddonsArgs{...} -type GetClusterGkeConfigV2ClusterAddonsInput interface { - pulumi.Input +func (o GetClusterAksConfigV2Output) BaseUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) *string { return v.BaseUrl }).(pulumi.StringPtrOutput) +} - ToGetClusterGkeConfigV2ClusterAddonsOutput() GetClusterGkeConfigV2ClusterAddonsOutput - ToGetClusterGkeConfigV2ClusterAddonsOutputWithContext(context.Context) GetClusterGkeConfigV2ClusterAddonsOutput +func (o GetClusterAksConfigV2Output) CloudCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.CloudCredentialId }).(pulumi.StringOutput) } -type GetClusterGkeConfigV2ClusterAddonsArgs struct { - HorizontalPodAutoscaling pulumi.BoolInput `pulumi:"horizontalPodAutoscaling"` - HttpLoadBalancing pulumi.BoolInput `pulumi:"httpLoadBalancing"` - NetworkPolicyConfig pulumi.BoolInput `pulumi:"networkPolicyConfig"` +func (o GetClusterAksConfigV2Output) DnsPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) *string { return v.DnsPrefix }).(pulumi.StringPtrOutput) } -func (GetClusterGkeConfigV2ClusterAddonsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2ClusterAddons)(nil)).Elem() +func (o GetClusterAksConfigV2Output) HttpApplicationRouting() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) bool { return v.HttpApplicationRouting }).(pulumi.BoolOutput) } -func (i GetClusterGkeConfigV2ClusterAddonsArgs) ToGetClusterGkeConfigV2ClusterAddonsOutput() GetClusterGkeConfigV2ClusterAddonsOutput { - return i.ToGetClusterGkeConfigV2ClusterAddonsOutputWithContext(context.Background()) +func (o GetClusterAksConfigV2Output) Imported() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) *bool { return v.Imported }).(pulumi.BoolPtrOutput) } -func (i GetClusterGkeConfigV2ClusterAddonsArgs) ToGetClusterGkeConfigV2ClusterAddonsOutputWithContext(ctx context.Context) GetClusterGkeConfigV2ClusterAddonsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2ClusterAddonsOutput) +func (o GetClusterAksConfigV2Output) KubernetesVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) *string { return v.KubernetesVersion }).(pulumi.StringPtrOutput) } -type GetClusterGkeConfigV2ClusterAddonsOutput struct{ *pulumi.OutputState } +func (o GetClusterAksConfigV2Output) LinuxAdminUsername() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.LinuxAdminUsername }).(pulumi.StringOutput) +} -func (GetClusterGkeConfigV2ClusterAddonsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2ClusterAddons)(nil)).Elem() +func (o GetClusterAksConfigV2Output) LinuxSshPublicKey() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.LinuxSshPublicKey }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2ClusterAddonsOutput) ToGetClusterGkeConfigV2ClusterAddonsOutput() GetClusterGkeConfigV2ClusterAddonsOutput { - return o +func (o GetClusterAksConfigV2Output) LoadBalancerSku() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.LoadBalancerSku }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2ClusterAddonsOutput) ToGetClusterGkeConfigV2ClusterAddonsOutputWithContext(ctx context.Context) GetClusterGkeConfigV2ClusterAddonsOutput { - return o +func (o GetClusterAksConfigV2Output) LogAnalyticsWorkspaceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.LogAnalyticsWorkspaceGroup }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2ClusterAddonsOutput) HorizontalPodAutoscaling() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2ClusterAddons) bool { return v.HorizontalPodAutoscaling }).(pulumi.BoolOutput) +func (o GetClusterAksConfigV2Output) LogAnalyticsWorkspaceName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.LogAnalyticsWorkspaceName }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2ClusterAddonsOutput) HttpLoadBalancing() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2ClusterAddons) bool { return v.HttpLoadBalancing }).(pulumi.BoolOutput) +func (o GetClusterAksConfigV2Output) Monitoring() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) bool { return v.Monitoring }).(pulumi.BoolOutput) } -func (o GetClusterGkeConfigV2ClusterAddonsOutput) NetworkPolicyConfig() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2ClusterAddons) bool { return v.NetworkPolicyConfig }).(pulumi.BoolOutput) +// The name of the Cluster (string) +func (o GetClusterAksConfigV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.Name }).(pulumi.StringOutput) } -type GetClusterGkeConfigV2IpAllocationPolicy struct { - ClusterIpv4CidrBlock string `pulumi:"clusterIpv4CidrBlock"` - ClusterSecondaryRangeName string `pulumi:"clusterSecondaryRangeName"` - CreateSubnetwork bool `pulumi:"createSubnetwork"` - NodeIpv4CidrBlock string `pulumi:"nodeIpv4CidrBlock"` - ServicesIpv4CidrBlock string `pulumi:"servicesIpv4CidrBlock"` - ServicesSecondaryRangeName string `pulumi:"servicesSecondaryRangeName"` - SubnetworkName string `pulumi:"subnetworkName"` - UseIpAliases bool `pulumi:"useIpAliases"` +func (o GetClusterAksConfigV2Output) NetworkDnsServiceIp() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.NetworkDnsServiceIp }).(pulumi.StringOutput) } -// GetClusterGkeConfigV2IpAllocationPolicyInput is an input type that accepts GetClusterGkeConfigV2IpAllocationPolicyArgs and GetClusterGkeConfigV2IpAllocationPolicyOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2IpAllocationPolicyInput` via: -// -// GetClusterGkeConfigV2IpAllocationPolicyArgs{...} -type GetClusterGkeConfigV2IpAllocationPolicyInput interface { - pulumi.Input +func (o GetClusterAksConfigV2Output) NetworkDockerBridgeCidr() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.NetworkDockerBridgeCidr }).(pulumi.StringOutput) +} - ToGetClusterGkeConfigV2IpAllocationPolicyOutput() GetClusterGkeConfigV2IpAllocationPolicyOutput - ToGetClusterGkeConfigV2IpAllocationPolicyOutputWithContext(context.Context) GetClusterGkeConfigV2IpAllocationPolicyOutput +func (o GetClusterAksConfigV2Output) NetworkPlugin() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) *string { return v.NetworkPlugin }).(pulumi.StringPtrOutput) } -type GetClusterGkeConfigV2IpAllocationPolicyArgs struct { - ClusterIpv4CidrBlock pulumi.StringInput `pulumi:"clusterIpv4CidrBlock"` - ClusterSecondaryRangeName pulumi.StringInput `pulumi:"clusterSecondaryRangeName"` - CreateSubnetwork pulumi.BoolInput `pulumi:"createSubnetwork"` - NodeIpv4CidrBlock pulumi.StringInput `pulumi:"nodeIpv4CidrBlock"` - ServicesIpv4CidrBlock pulumi.StringInput `pulumi:"servicesIpv4CidrBlock"` - ServicesSecondaryRangeName pulumi.StringInput `pulumi:"servicesSecondaryRangeName"` - SubnetworkName pulumi.StringInput `pulumi:"subnetworkName"` - UseIpAliases pulumi.BoolInput `pulumi:"useIpAliases"` +func (o GetClusterAksConfigV2Output) NetworkPodCidr() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.NetworkPodCidr }).(pulumi.StringOutput) } -func (GetClusterGkeConfigV2IpAllocationPolicyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2IpAllocationPolicy)(nil)).Elem() +func (o GetClusterAksConfigV2Output) NetworkPolicy() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.NetworkPolicy }).(pulumi.StringOutput) } -func (i GetClusterGkeConfigV2IpAllocationPolicyArgs) ToGetClusterGkeConfigV2IpAllocationPolicyOutput() GetClusterGkeConfigV2IpAllocationPolicyOutput { - return i.ToGetClusterGkeConfigV2IpAllocationPolicyOutputWithContext(context.Background()) +func (o GetClusterAksConfigV2Output) NetworkServiceCidr() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.NetworkServiceCidr }).(pulumi.StringOutput) } -func (i GetClusterGkeConfigV2IpAllocationPolicyArgs) ToGetClusterGkeConfigV2IpAllocationPolicyOutputWithContext(ctx context.Context) GetClusterGkeConfigV2IpAllocationPolicyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2IpAllocationPolicyOutput) +func (o GetClusterAksConfigV2Output) NodePools() GetClusterAksConfigV2NodePoolArrayOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) []GetClusterAksConfigV2NodePool { return v.NodePools }).(GetClusterAksConfigV2NodePoolArrayOutput) } -type GetClusterGkeConfigV2IpAllocationPolicyOutput struct{ *pulumi.OutputState } +func (o GetClusterAksConfigV2Output) PrivateCluster() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) bool { return v.PrivateCluster }).(pulumi.BoolOutput) +} -func (GetClusterGkeConfigV2IpAllocationPolicyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2IpAllocationPolicy)(nil)).Elem() +func (o GetClusterAksConfigV2Output) ResourceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.ResourceGroup }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ToGetClusterGkeConfigV2IpAllocationPolicyOutput() GetClusterGkeConfigV2IpAllocationPolicyOutput { - return o +func (o GetClusterAksConfigV2Output) ResourceLocation() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.ResourceLocation }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ToGetClusterGkeConfigV2IpAllocationPolicyOutputWithContext(ctx context.Context) GetClusterGkeConfigV2IpAllocationPolicyOutput { - return o +func (o GetClusterAksConfigV2Output) Subnet() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.Subnet }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ClusterIpv4CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.ClusterIpv4CidrBlock }).(pulumi.StringOutput) +func (o GetClusterAksConfigV2Output) Tags() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) map[string]interface{} { return v.Tags }).(pulumi.MapOutput) } -func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ClusterSecondaryRangeName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.ClusterSecondaryRangeName }).(pulumi.StringOutput) +func (o GetClusterAksConfigV2Output) VirtualNetwork() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.VirtualNetwork }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) CreateSubnetwork() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) bool { return v.CreateSubnetwork }).(pulumi.BoolOutput) +func (o GetClusterAksConfigV2Output) VirtualNetworkResourceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2) string { return v.VirtualNetworkResourceGroup }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) NodeIpv4CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.NodeIpv4CidrBlock }).(pulumi.StringOutput) +type GetClusterAksConfigV2NodePool struct { + AvailabilityZones []string `pulumi:"availabilityZones"` + Count *int `pulumi:"count"` + EnableAutoScaling *bool `pulumi:"enableAutoScaling"` + MaxCount *int `pulumi:"maxCount"` + MaxPods *int `pulumi:"maxPods"` + MinCount *int `pulumi:"minCount"` + Mode *string `pulumi:"mode"` + // The name of the Cluster (string) + Name string `pulumi:"name"` + OrchestratorVersion *string `pulumi:"orchestratorVersion"` + OsDiskSizeGb *int `pulumi:"osDiskSizeGb"` + OsDiskType *string `pulumi:"osDiskType"` + OsType *string `pulumi:"osType"` + VmSize string `pulumi:"vmSize"` } -func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ServicesIpv4CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.ServicesIpv4CidrBlock }).(pulumi.StringOutput) +// GetClusterAksConfigV2NodePoolInput is an input type that accepts GetClusterAksConfigV2NodePoolArgs and GetClusterAksConfigV2NodePoolOutput values. +// You can construct a concrete instance of `GetClusterAksConfigV2NodePoolInput` via: +// +// GetClusterAksConfigV2NodePoolArgs{...} +type GetClusterAksConfigV2NodePoolInput interface { + pulumi.Input + + ToGetClusterAksConfigV2NodePoolOutput() GetClusterAksConfigV2NodePoolOutput + ToGetClusterAksConfigV2NodePoolOutputWithContext(context.Context) GetClusterAksConfigV2NodePoolOutput } -func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ServicesSecondaryRangeName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.ServicesSecondaryRangeName }).(pulumi.StringOutput) +type GetClusterAksConfigV2NodePoolArgs struct { + AvailabilityZones pulumi.StringArrayInput `pulumi:"availabilityZones"` + Count pulumi.IntPtrInput `pulumi:"count"` + EnableAutoScaling pulumi.BoolPtrInput `pulumi:"enableAutoScaling"` + MaxCount pulumi.IntPtrInput `pulumi:"maxCount"` + MaxPods pulumi.IntPtrInput `pulumi:"maxPods"` + MinCount pulumi.IntPtrInput `pulumi:"minCount"` + Mode pulumi.StringPtrInput `pulumi:"mode"` + // The name of the Cluster (string) + Name pulumi.StringInput `pulumi:"name"` + OrchestratorVersion pulumi.StringPtrInput `pulumi:"orchestratorVersion"` + OsDiskSizeGb pulumi.IntPtrInput `pulumi:"osDiskSizeGb"` + OsDiskType pulumi.StringPtrInput `pulumi:"osDiskType"` + OsType pulumi.StringPtrInput `pulumi:"osType"` + VmSize pulumi.StringInput `pulumi:"vmSize"` } -func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) SubnetworkName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.SubnetworkName }).(pulumi.StringOutput) +func (GetClusterAksConfigV2NodePoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAksConfigV2NodePool)(nil)).Elem() } -func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) UseIpAliases() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) bool { return v.UseIpAliases }).(pulumi.BoolOutput) +func (i GetClusterAksConfigV2NodePoolArgs) ToGetClusterAksConfigV2NodePoolOutput() GetClusterAksConfigV2NodePoolOutput { + return i.ToGetClusterAksConfigV2NodePoolOutputWithContext(context.Background()) } -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfig struct { - CidrBlocks []GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock `pulumi:"cidrBlocks"` - Enabled *bool `pulumi:"enabled"` +func (i GetClusterAksConfigV2NodePoolArgs) ToGetClusterAksConfigV2NodePoolOutputWithContext(ctx context.Context) GetClusterAksConfigV2NodePoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterAksConfigV2NodePoolOutput) } -// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigInput is an input type that accepts GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs and GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2MasterAuthorizedNetworksConfigInput` via: +// GetClusterAksConfigV2NodePoolArrayInput is an input type that accepts GetClusterAksConfigV2NodePoolArray and GetClusterAksConfigV2NodePoolArrayOutput values. +// You can construct a concrete instance of `GetClusterAksConfigV2NodePoolArrayInput` via: // -// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs{...} -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigInput interface { +// GetClusterAksConfigV2NodePoolArray{ GetClusterAksConfigV2NodePoolArgs{...} } +type GetClusterAksConfigV2NodePoolArrayInput interface { pulumi.Input - ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput - ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutputWithContext(context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput + ToGetClusterAksConfigV2NodePoolArrayOutput() GetClusterAksConfigV2NodePoolArrayOutput + ToGetClusterAksConfigV2NodePoolArrayOutputWithContext(context.Context) GetClusterAksConfigV2NodePoolArrayOutput } -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs struct { - CidrBlocks GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayInput `pulumi:"cidrBlocks"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` -} +type GetClusterAksConfigV2NodePoolArray []GetClusterAksConfigV2NodePoolInput -func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2MasterAuthorizedNetworksConfig)(nil)).Elem() +func (GetClusterAksConfigV2NodePoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterAksConfigV2NodePool)(nil)).Elem() } -func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput { - return i.ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutputWithContext(context.Background()) +func (i GetClusterAksConfigV2NodePoolArray) ToGetClusterAksConfigV2NodePoolArrayOutput() GetClusterAksConfigV2NodePoolArrayOutput { + return i.ToGetClusterAksConfigV2NodePoolArrayOutputWithContext(context.Background()) } -func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) +func (i GetClusterAksConfigV2NodePoolArray) ToGetClusterAksConfigV2NodePoolArrayOutputWithContext(ctx context.Context) GetClusterAksConfigV2NodePoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterAksConfigV2NodePoolArrayOutput) } -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput struct{ *pulumi.OutputState } +type GetClusterAksConfigV2NodePoolOutput struct{ *pulumi.OutputState } -func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2MasterAuthorizedNetworksConfig)(nil)).Elem() +func (GetClusterAksConfigV2NodePoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAksConfigV2NodePool)(nil)).Elem() } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput { +func (o GetClusterAksConfigV2NodePoolOutput) ToGetClusterAksConfigV2NodePoolOutput() GetClusterAksConfigV2NodePoolOutput { return o } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput { +func (o GetClusterAksConfigV2NodePoolOutput) ToGetClusterAksConfigV2NodePoolOutputWithContext(ctx context.Context) GetClusterAksConfigV2NodePoolOutput { return o } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) CidrBlocks() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2MasterAuthorizedNetworksConfig) []GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock { - return v.CidrBlocks - }).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) +func (o GetClusterAksConfigV2NodePoolOutput) AvailabilityZones() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) []string { return v.AvailabilityZones }).(pulumi.StringArrayOutput) } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2MasterAuthorizedNetworksConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o GetClusterAksConfigV2NodePoolOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *int { return v.Count }).(pulumi.IntPtrOutput) } -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock struct { - CidrBlock string `pulumi:"cidrBlock"` - DisplayName *string `pulumi:"displayName"` +func (o GetClusterAksConfigV2NodePoolOutput) EnableAutoScaling() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *bool { return v.EnableAutoScaling }).(pulumi.BoolPtrOutput) } -// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockInput is an input type that accepts GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs and GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockInput` via: -// -// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs{...} -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockInput interface { - pulumi.Input - - ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput - ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutputWithContext(context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput +func (o GetClusterAksConfigV2NodePoolOutput) MaxCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *int { return v.MaxCount }).(pulumi.IntPtrOutput) } -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs struct { - CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` +func (o GetClusterAksConfigV2NodePoolOutput) MaxPods() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *int { return v.MaxPods }).(pulumi.IntPtrOutput) } -func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock)(nil)).Elem() +func (o GetClusterAksConfigV2NodePoolOutput) MinCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *int { return v.MinCount }).(pulumi.IntPtrOutput) } -func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput { - return i.ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutputWithContext(context.Background()) +func (o GetClusterAksConfigV2NodePoolOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *string { return v.Mode }).(pulumi.StringPtrOutput) } -func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) +// The name of the Cluster (string) +func (o GetClusterAksConfigV2NodePoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) string { return v.Name }).(pulumi.StringOutput) } -// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayInput is an input type that accepts GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray and GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayInput` via: -// -// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray{ GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs{...} } -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayInput interface { - pulumi.Input - - ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput - ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutputWithContext(context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput +func (o GetClusterAksConfigV2NodePoolOutput) OrchestratorVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *string { return v.OrchestratorVersion }).(pulumi.StringPtrOutput) } -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray []GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockInput +func (o GetClusterAksConfigV2NodePoolOutput) OsDiskSizeGb() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *int { return v.OsDiskSizeGb }).(pulumi.IntPtrOutput) +} -func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock)(nil)).Elem() +func (o GetClusterAksConfigV2NodePoolOutput) OsDiskType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *string { return v.OsDiskType }).(pulumi.StringPtrOutput) } -func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput { - return i.ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutputWithContext(context.Background()) +func (o GetClusterAksConfigV2NodePoolOutput) OsType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) *string { return v.OsType }).(pulumi.StringPtrOutput) } -func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) +func (o GetClusterAksConfigV2NodePoolOutput) VmSize() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAksConfigV2NodePool) string { return v.VmSize }).(pulumi.StringOutput) } -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput struct{ *pulumi.OutputState } +type GetClusterAksConfigV2NodePoolArrayOutput struct{ *pulumi.OutputState } -func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock)(nil)).Elem() +func (GetClusterAksConfigV2NodePoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterAksConfigV2NodePool)(nil)).Elem() } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput { +func (o GetClusterAksConfigV2NodePoolArrayOutput) ToGetClusterAksConfigV2NodePoolArrayOutput() GetClusterAksConfigV2NodePoolArrayOutput { return o } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput { +func (o GetClusterAksConfigV2NodePoolArrayOutput) ToGetClusterAksConfigV2NodePoolArrayOutputWithContext(ctx context.Context) GetClusterAksConfigV2NodePoolArrayOutput { return o } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock) string { return v.CidrBlock }).(pulumi.StringOutput) +func (o GetClusterAksConfigV2NodePoolArrayOutput) Index(i pulumi.IntInput) GetClusterAksConfigV2NodePoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterAksConfigV2NodePool { + return vs[0].([]GetClusterAksConfigV2NodePool)[vs[1].(int)] + }).(GetClusterAksConfigV2NodePoolOutput) } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) DisplayName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +type GetClusterAlertGroupRecipient struct { + DefaultRecipient *bool `pulumi:"defaultRecipient"` + NotifierId string `pulumi:"notifierId"` + NotifierType string `pulumi:"notifierType"` + Recipient string `pulumi:"recipient"` } -type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput struct{ *pulumi.OutputState } +// GetClusterAlertGroupRecipientInput is an input type that accepts GetClusterAlertGroupRecipientArgs and GetClusterAlertGroupRecipientOutput values. +// You can construct a concrete instance of `GetClusterAlertGroupRecipientInput` via: +// +// GetClusterAlertGroupRecipientArgs{...} +type GetClusterAlertGroupRecipientInput interface { + pulumi.Input -func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock)(nil)).Elem() + ToGetClusterAlertGroupRecipientOutput() GetClusterAlertGroupRecipientOutput + ToGetClusterAlertGroupRecipientOutputWithContext(context.Context) GetClusterAlertGroupRecipientOutput } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput { - return o +type GetClusterAlertGroupRecipientArgs struct { + DefaultRecipient pulumi.BoolPtrInput `pulumi:"defaultRecipient"` + NotifierId pulumi.StringInput `pulumi:"notifierId"` + NotifierType pulumi.StringInput `pulumi:"notifierType"` + Recipient pulumi.StringInput `pulumi:"recipient"` } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput { - return o +func (GetClusterAlertGroupRecipientArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAlertGroupRecipient)(nil)).Elem() } -func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) Index(i pulumi.IntInput) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock { - return vs[0].([]GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock)[vs[1].(int)] - }).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) +func (i GetClusterAlertGroupRecipientArgs) ToGetClusterAlertGroupRecipientOutput() GetClusterAlertGroupRecipientOutput { + return i.ToGetClusterAlertGroupRecipientOutputWithContext(context.Background()) } -type GetClusterGkeConfigV2NodePool struct { - Autoscaling GetClusterGkeConfigV2NodePoolAutoscaling `pulumi:"autoscaling"` - Config GetClusterGkeConfigV2NodePoolConfig `pulumi:"config"` - InitialNodeCount int `pulumi:"initialNodeCount"` - Management GetClusterGkeConfigV2NodePoolManagement `pulumi:"management"` - MaxPodsConstraint int `pulumi:"maxPodsConstraint"` - // The name of the Cluster (string) - Name string `pulumi:"name"` - Version string `pulumi:"version"` +func (i GetClusterAlertGroupRecipientArgs) ToGetClusterAlertGroupRecipientOutputWithContext(ctx context.Context) GetClusterAlertGroupRecipientOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlertGroupRecipientOutput) } -// GetClusterGkeConfigV2NodePoolInput is an input type that accepts GetClusterGkeConfigV2NodePoolArgs and GetClusterGkeConfigV2NodePoolOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolInput` via: -// -// GetClusterGkeConfigV2NodePoolArgs{...} -type GetClusterGkeConfigV2NodePoolInput interface { +// GetClusterAlertGroupRecipientArrayInput is an input type that accepts GetClusterAlertGroupRecipientArray and GetClusterAlertGroupRecipientArrayOutput values. +// You can construct a concrete instance of `GetClusterAlertGroupRecipientArrayInput` via: +// +// GetClusterAlertGroupRecipientArray{ GetClusterAlertGroupRecipientArgs{...} } +type GetClusterAlertGroupRecipientArrayInput interface { pulumi.Input - ToGetClusterGkeConfigV2NodePoolOutput() GetClusterGkeConfigV2NodePoolOutput - ToGetClusterGkeConfigV2NodePoolOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolOutput + ToGetClusterAlertGroupRecipientArrayOutput() GetClusterAlertGroupRecipientArrayOutput + ToGetClusterAlertGroupRecipientArrayOutputWithContext(context.Context) GetClusterAlertGroupRecipientArrayOutput } -type GetClusterGkeConfigV2NodePoolArgs struct { - Autoscaling GetClusterGkeConfigV2NodePoolAutoscalingInput `pulumi:"autoscaling"` - Config GetClusterGkeConfigV2NodePoolConfigInput `pulumi:"config"` - InitialNodeCount pulumi.IntInput `pulumi:"initialNodeCount"` - Management GetClusterGkeConfigV2NodePoolManagementInput `pulumi:"management"` - MaxPodsConstraint pulumi.IntInput `pulumi:"maxPodsConstraint"` - // The name of the Cluster (string) - Name pulumi.StringInput `pulumi:"name"` - Version pulumi.StringInput `pulumi:"version"` +type GetClusterAlertGroupRecipientArray []GetClusterAlertGroupRecipientInput + +func (GetClusterAlertGroupRecipientArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterAlertGroupRecipient)(nil)).Elem() } -func (GetClusterGkeConfigV2NodePoolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2NodePool)(nil)).Elem() +func (i GetClusterAlertGroupRecipientArray) ToGetClusterAlertGroupRecipientArrayOutput() GetClusterAlertGroupRecipientArrayOutput { + return i.ToGetClusterAlertGroupRecipientArrayOutputWithContext(context.Background()) } -func (i GetClusterGkeConfigV2NodePoolArgs) ToGetClusterGkeConfigV2NodePoolOutput() GetClusterGkeConfigV2NodePoolOutput { - return i.ToGetClusterGkeConfigV2NodePoolOutputWithContext(context.Background()) +func (i GetClusterAlertGroupRecipientArray) ToGetClusterAlertGroupRecipientArrayOutputWithContext(ctx context.Context) GetClusterAlertGroupRecipientArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlertGroupRecipientArrayOutput) } -func (i GetClusterGkeConfigV2NodePoolArgs) ToGetClusterGkeConfigV2NodePoolOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolOutput) +type GetClusterAlertGroupRecipientOutput struct{ *pulumi.OutputState } + +func (GetClusterAlertGroupRecipientOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAlertGroupRecipient)(nil)).Elem() } -// GetClusterGkeConfigV2NodePoolArrayInput is an input type that accepts GetClusterGkeConfigV2NodePoolArray and GetClusterGkeConfigV2NodePoolArrayOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolArrayInput` via: -// -// GetClusterGkeConfigV2NodePoolArray{ GetClusterGkeConfigV2NodePoolArgs{...} } -type GetClusterGkeConfigV2NodePoolArrayInput interface { - pulumi.Input +func (o GetClusterAlertGroupRecipientOutput) ToGetClusterAlertGroupRecipientOutput() GetClusterAlertGroupRecipientOutput { + return o +} - ToGetClusterGkeConfigV2NodePoolArrayOutput() GetClusterGkeConfigV2NodePoolArrayOutput - ToGetClusterGkeConfigV2NodePoolArrayOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolArrayOutput +func (o GetClusterAlertGroupRecipientOutput) ToGetClusterAlertGroupRecipientOutputWithContext(ctx context.Context) GetClusterAlertGroupRecipientOutput { + return o } -type GetClusterGkeConfigV2NodePoolArray []GetClusterGkeConfigV2NodePoolInput +func (o GetClusterAlertGroupRecipientOutput) DefaultRecipient() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterAlertGroupRecipient) *bool { return v.DefaultRecipient }).(pulumi.BoolPtrOutput) +} -func (GetClusterGkeConfigV2NodePoolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterGkeConfigV2NodePool)(nil)).Elem() +func (o GetClusterAlertGroupRecipientOutput) NotifierId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAlertGroupRecipient) string { return v.NotifierId }).(pulumi.StringOutput) } -func (i GetClusterGkeConfigV2NodePoolArray) ToGetClusterGkeConfigV2NodePoolArrayOutput() GetClusterGkeConfigV2NodePoolArrayOutput { - return i.ToGetClusterGkeConfigV2NodePoolArrayOutputWithContext(context.Background()) +func (o GetClusterAlertGroupRecipientOutput) NotifierType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAlertGroupRecipient) string { return v.NotifierType }).(pulumi.StringOutput) } -func (i GetClusterGkeConfigV2NodePoolArray) ToGetClusterGkeConfigV2NodePoolArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolArrayOutput) +func (o GetClusterAlertGroupRecipientOutput) Recipient() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAlertGroupRecipient) string { return v.Recipient }).(pulumi.StringOutput) } -type GetClusterGkeConfigV2NodePoolOutput struct{ *pulumi.OutputState } +type GetClusterAlertGroupRecipientArrayOutput struct{ *pulumi.OutputState } -func (GetClusterGkeConfigV2NodePoolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2NodePool)(nil)).Elem() +func (GetClusterAlertGroupRecipientArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterAlertGroupRecipient)(nil)).Elem() } -func (o GetClusterGkeConfigV2NodePoolOutput) ToGetClusterGkeConfigV2NodePoolOutput() GetClusterGkeConfigV2NodePoolOutput { +func (o GetClusterAlertGroupRecipientArrayOutput) ToGetClusterAlertGroupRecipientArrayOutput() GetClusterAlertGroupRecipientArrayOutput { return o } -func (o GetClusterGkeConfigV2NodePoolOutput) ToGetClusterGkeConfigV2NodePoolOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolOutput { +func (o GetClusterAlertGroupRecipientArrayOutput) ToGetClusterAlertGroupRecipientArrayOutputWithContext(ctx context.Context) GetClusterAlertGroupRecipientArrayOutput { return o } -func (o GetClusterGkeConfigV2NodePoolOutput) Autoscaling() GetClusterGkeConfigV2NodePoolAutoscalingOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) GetClusterGkeConfigV2NodePoolAutoscaling { return v.Autoscaling }).(GetClusterGkeConfigV2NodePoolAutoscalingOutput) +func (o GetClusterAlertGroupRecipientArrayOutput) Index(i pulumi.IntInput) GetClusterAlertGroupRecipientOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterAlertGroupRecipient { + return vs[0].([]GetClusterAlertGroupRecipient)[vs[1].(int)] + }).(GetClusterAlertGroupRecipientOutput) } -func (o GetClusterGkeConfigV2NodePoolOutput) Config() GetClusterGkeConfigV2NodePoolConfigOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) GetClusterGkeConfigV2NodePoolConfig { return v.Config }).(GetClusterGkeConfigV2NodePoolConfigOutput) +type GetClusterAlterRuleEventRule struct { + EventType *string `pulumi:"eventType"` + ResourceKind string `pulumi:"resourceKind"` } -func (o GetClusterGkeConfigV2NodePoolOutput) InitialNodeCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) int { return v.InitialNodeCount }).(pulumi.IntOutput) +// GetClusterAlterRuleEventRuleInput is an input type that accepts GetClusterAlterRuleEventRuleArgs and GetClusterAlterRuleEventRuleOutput values. +// You can construct a concrete instance of `GetClusterAlterRuleEventRuleInput` via: +// +// GetClusterAlterRuleEventRuleArgs{...} +type GetClusterAlterRuleEventRuleInput interface { + pulumi.Input + + ToGetClusterAlterRuleEventRuleOutput() GetClusterAlterRuleEventRuleOutput + ToGetClusterAlterRuleEventRuleOutputWithContext(context.Context) GetClusterAlterRuleEventRuleOutput } -func (o GetClusterGkeConfigV2NodePoolOutput) Management() GetClusterGkeConfigV2NodePoolManagementOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) GetClusterGkeConfigV2NodePoolManagement { return v.Management }).(GetClusterGkeConfigV2NodePoolManagementOutput) +type GetClusterAlterRuleEventRuleArgs struct { + EventType pulumi.StringPtrInput `pulumi:"eventType"` + ResourceKind pulumi.StringInput `pulumi:"resourceKind"` } -func (o GetClusterGkeConfigV2NodePoolOutput) MaxPodsConstraint() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) int { return v.MaxPodsConstraint }).(pulumi.IntOutput) +func (GetClusterAlterRuleEventRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAlterRuleEventRule)(nil)).Elem() } -// The name of the Cluster (string) -func (o GetClusterGkeConfigV2NodePoolOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) string { return v.Name }).(pulumi.StringOutput) +func (i GetClusterAlterRuleEventRuleArgs) ToGetClusterAlterRuleEventRuleOutput() GetClusterAlterRuleEventRuleOutput { + return i.ToGetClusterAlterRuleEventRuleOutputWithContext(context.Background()) } -func (o GetClusterGkeConfigV2NodePoolOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) string { return v.Version }).(pulumi.StringOutput) +func (i GetClusterAlterRuleEventRuleArgs) ToGetClusterAlterRuleEventRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleEventRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlterRuleEventRuleOutput) } -type GetClusterGkeConfigV2NodePoolArrayOutput struct{ *pulumi.OutputState } +type GetClusterAlterRuleEventRuleOutput struct{ *pulumi.OutputState } -func (GetClusterGkeConfigV2NodePoolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterGkeConfigV2NodePool)(nil)).Elem() +func (GetClusterAlterRuleEventRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAlterRuleEventRule)(nil)).Elem() } -func (o GetClusterGkeConfigV2NodePoolArrayOutput) ToGetClusterGkeConfigV2NodePoolArrayOutput() GetClusterGkeConfigV2NodePoolArrayOutput { +func (o GetClusterAlterRuleEventRuleOutput) ToGetClusterAlterRuleEventRuleOutput() GetClusterAlterRuleEventRuleOutput { return o } -func (o GetClusterGkeConfigV2NodePoolArrayOutput) ToGetClusterGkeConfigV2NodePoolArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolArrayOutput { +func (o GetClusterAlterRuleEventRuleOutput) ToGetClusterAlterRuleEventRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleEventRuleOutput { return o } -func (o GetClusterGkeConfigV2NodePoolArrayOutput) Index(i pulumi.IntInput) GetClusterGkeConfigV2NodePoolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterGkeConfigV2NodePool { - return vs[0].([]GetClusterGkeConfigV2NodePool)[vs[1].(int)] - }).(GetClusterGkeConfigV2NodePoolOutput) +func (o GetClusterAlterRuleEventRuleOutput) EventType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAlterRuleEventRule) *string { return v.EventType }).(pulumi.StringPtrOutput) } -type GetClusterGkeConfigV2NodePoolAutoscaling struct { - Enabled *bool `pulumi:"enabled"` - MaxNodeCount int `pulumi:"maxNodeCount"` - MinNodeCount int `pulumi:"minNodeCount"` +func (o GetClusterAlterRuleEventRuleOutput) ResourceKind() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAlterRuleEventRule) string { return v.ResourceKind }).(pulumi.StringOutput) } -// GetClusterGkeConfigV2NodePoolAutoscalingInput is an input type that accepts GetClusterGkeConfigV2NodePoolAutoscalingArgs and GetClusterGkeConfigV2NodePoolAutoscalingOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolAutoscalingInput` via: +type GetClusterAlterRuleMetricRule struct { + Comparison *string `pulumi:"comparison"` + Description *string `pulumi:"description"` + Duration string `pulumi:"duration"` + Expression string `pulumi:"expression"` + ThresholdValue float64 `pulumi:"thresholdValue"` +} + +// GetClusterAlterRuleMetricRuleInput is an input type that accepts GetClusterAlterRuleMetricRuleArgs and GetClusterAlterRuleMetricRuleOutput values. +// You can construct a concrete instance of `GetClusterAlterRuleMetricRuleInput` via: // -// GetClusterGkeConfigV2NodePoolAutoscalingArgs{...} -type GetClusterGkeConfigV2NodePoolAutoscalingInput interface { +// GetClusterAlterRuleMetricRuleArgs{...} +type GetClusterAlterRuleMetricRuleInput interface { pulumi.Input - ToGetClusterGkeConfigV2NodePoolAutoscalingOutput() GetClusterGkeConfigV2NodePoolAutoscalingOutput - ToGetClusterGkeConfigV2NodePoolAutoscalingOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolAutoscalingOutput + ToGetClusterAlterRuleMetricRuleOutput() GetClusterAlterRuleMetricRuleOutput + ToGetClusterAlterRuleMetricRuleOutputWithContext(context.Context) GetClusterAlterRuleMetricRuleOutput } -type GetClusterGkeConfigV2NodePoolAutoscalingArgs struct { - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - MaxNodeCount pulumi.IntInput `pulumi:"maxNodeCount"` - MinNodeCount pulumi.IntInput `pulumi:"minNodeCount"` +type GetClusterAlterRuleMetricRuleArgs struct { + Comparison pulumi.StringPtrInput `pulumi:"comparison"` + Description pulumi.StringPtrInput `pulumi:"description"` + Duration pulumi.StringInput `pulumi:"duration"` + Expression pulumi.StringInput `pulumi:"expression"` + ThresholdValue pulumi.Float64Input `pulumi:"thresholdValue"` } -func (GetClusterGkeConfigV2NodePoolAutoscalingArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolAutoscaling)(nil)).Elem() +func (GetClusterAlterRuleMetricRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAlterRuleMetricRule)(nil)).Elem() } -func (i GetClusterGkeConfigV2NodePoolAutoscalingArgs) ToGetClusterGkeConfigV2NodePoolAutoscalingOutput() GetClusterGkeConfigV2NodePoolAutoscalingOutput { - return i.ToGetClusterGkeConfigV2NodePoolAutoscalingOutputWithContext(context.Background()) +func (i GetClusterAlterRuleMetricRuleArgs) ToGetClusterAlterRuleMetricRuleOutput() GetClusterAlterRuleMetricRuleOutput { + return i.ToGetClusterAlterRuleMetricRuleOutputWithContext(context.Background()) } -func (i GetClusterGkeConfigV2NodePoolAutoscalingArgs) ToGetClusterGkeConfigV2NodePoolAutoscalingOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolAutoscalingOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolAutoscalingOutput) +func (i GetClusterAlterRuleMetricRuleArgs) ToGetClusterAlterRuleMetricRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleMetricRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlterRuleMetricRuleOutput) } -type GetClusterGkeConfigV2NodePoolAutoscalingOutput struct{ *pulumi.OutputState } +type GetClusterAlterRuleMetricRuleOutput struct{ *pulumi.OutputState } -func (GetClusterGkeConfigV2NodePoolAutoscalingOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolAutoscaling)(nil)).Elem() +func (GetClusterAlterRuleMetricRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAlterRuleMetricRule)(nil)).Elem() } -func (o GetClusterGkeConfigV2NodePoolAutoscalingOutput) ToGetClusterGkeConfigV2NodePoolAutoscalingOutput() GetClusterGkeConfigV2NodePoolAutoscalingOutput { +func (o GetClusterAlterRuleMetricRuleOutput) ToGetClusterAlterRuleMetricRuleOutput() GetClusterAlterRuleMetricRuleOutput { return o } -func (o GetClusterGkeConfigV2NodePoolAutoscalingOutput) ToGetClusterGkeConfigV2NodePoolAutoscalingOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolAutoscalingOutput { +func (o GetClusterAlterRuleMetricRuleOutput) ToGetClusterAlterRuleMetricRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleMetricRuleOutput { return o } -func (o GetClusterGkeConfigV2NodePoolAutoscalingOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolAutoscaling) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o GetClusterAlterRuleMetricRuleOutput) Comparison() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAlterRuleMetricRule) *string { return v.Comparison }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigV2NodePoolAutoscalingOutput) MaxNodeCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolAutoscaling) int { return v.MaxNodeCount }).(pulumi.IntOutput) +func (o GetClusterAlterRuleMetricRuleOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAlterRuleMetricRule) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigV2NodePoolAutoscalingOutput) MinNodeCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolAutoscaling) int { return v.MinNodeCount }).(pulumi.IntOutput) +func (o GetClusterAlterRuleMetricRuleOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAlterRuleMetricRule) string { return v.Duration }).(pulumi.StringOutput) } -type GetClusterGkeConfigV2NodePoolConfig struct { - DiskSizeGb *int `pulumi:"diskSizeGb"` - DiskType *string `pulumi:"diskType"` - ImageType *string `pulumi:"imageType"` - // (Computed) Labels for Node Pool object (map) - Labels map[string]interface{} `pulumi:"labels"` - LocalSsdCount *int `pulumi:"localSsdCount"` - MachineType *string `pulumi:"machineType"` - OauthScopes []string `pulumi:"oauthScopes"` - Preemptible *bool `pulumi:"preemptible"` - Tags []string `pulumi:"tags"` - Taints []GetClusterGkeConfigV2NodePoolConfigTaint `pulumi:"taints"` +func (o GetClusterAlterRuleMetricRuleOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterAlterRuleMetricRule) string { return v.Expression }).(pulumi.StringOutput) } -// GetClusterGkeConfigV2NodePoolConfigInput is an input type that accepts GetClusterGkeConfigV2NodePoolConfigArgs and GetClusterGkeConfigV2NodePoolConfigOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolConfigInput` via: +func (o GetClusterAlterRuleMetricRuleOutput) ThresholdValue() pulumi.Float64Output { + return o.ApplyT(func(v GetClusterAlterRuleMetricRule) float64 { return v.ThresholdValue }).(pulumi.Float64Output) +} + +type GetClusterAlterRuleNodeRule struct { + Condition *string `pulumi:"condition"` + CpuThreshold *int `pulumi:"cpuThreshold"` + MemThreshold *int `pulumi:"memThreshold"` + NodeId *string `pulumi:"nodeId"` + Selector map[string]interface{} `pulumi:"selector"` +} + +// GetClusterAlterRuleNodeRuleInput is an input type that accepts GetClusterAlterRuleNodeRuleArgs and GetClusterAlterRuleNodeRuleOutput values. +// You can construct a concrete instance of `GetClusterAlterRuleNodeRuleInput` via: // -// GetClusterGkeConfigV2NodePoolConfigArgs{...} -type GetClusterGkeConfigV2NodePoolConfigInput interface { +// GetClusterAlterRuleNodeRuleArgs{...} +type GetClusterAlterRuleNodeRuleInput interface { pulumi.Input - ToGetClusterGkeConfigV2NodePoolConfigOutput() GetClusterGkeConfigV2NodePoolConfigOutput - ToGetClusterGkeConfigV2NodePoolConfigOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolConfigOutput + ToGetClusterAlterRuleNodeRuleOutput() GetClusterAlterRuleNodeRuleOutput + ToGetClusterAlterRuleNodeRuleOutputWithContext(context.Context) GetClusterAlterRuleNodeRuleOutput } -type GetClusterGkeConfigV2NodePoolConfigArgs struct { - DiskSizeGb pulumi.IntPtrInput `pulumi:"diskSizeGb"` - DiskType pulumi.StringPtrInput `pulumi:"diskType"` - ImageType pulumi.StringPtrInput `pulumi:"imageType"` - // (Computed) Labels for Node Pool object (map) - Labels pulumi.MapInput `pulumi:"labels"` - LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` - MachineType pulumi.StringPtrInput `pulumi:"machineType"` - OauthScopes pulumi.StringArrayInput `pulumi:"oauthScopes"` - Preemptible pulumi.BoolPtrInput `pulumi:"preemptible"` - Tags pulumi.StringArrayInput `pulumi:"tags"` - Taints GetClusterGkeConfigV2NodePoolConfigTaintArrayInput `pulumi:"taints"` +type GetClusterAlterRuleNodeRuleArgs struct { + Condition pulumi.StringPtrInput `pulumi:"condition"` + CpuThreshold pulumi.IntPtrInput `pulumi:"cpuThreshold"` + MemThreshold pulumi.IntPtrInput `pulumi:"memThreshold"` + NodeId pulumi.StringPtrInput `pulumi:"nodeId"` + Selector pulumi.MapInput `pulumi:"selector"` } -func (GetClusterGkeConfigV2NodePoolConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolConfig)(nil)).Elem() +func (GetClusterAlterRuleNodeRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAlterRuleNodeRule)(nil)).Elem() } -func (i GetClusterGkeConfigV2NodePoolConfigArgs) ToGetClusterGkeConfigV2NodePoolConfigOutput() GetClusterGkeConfigV2NodePoolConfigOutput { - return i.ToGetClusterGkeConfigV2NodePoolConfigOutputWithContext(context.Background()) +func (i GetClusterAlterRuleNodeRuleArgs) ToGetClusterAlterRuleNodeRuleOutput() GetClusterAlterRuleNodeRuleOutput { + return i.ToGetClusterAlterRuleNodeRuleOutputWithContext(context.Background()) } -func (i GetClusterGkeConfigV2NodePoolConfigArgs) ToGetClusterGkeConfigV2NodePoolConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolConfigOutput) +func (i GetClusterAlterRuleNodeRuleArgs) ToGetClusterAlterRuleNodeRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleNodeRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlterRuleNodeRuleOutput) } -type GetClusterGkeConfigV2NodePoolConfigOutput struct{ *pulumi.OutputState } +type GetClusterAlterRuleNodeRuleOutput struct{ *pulumi.OutputState } -func (GetClusterGkeConfigV2NodePoolConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolConfig)(nil)).Elem() +func (GetClusterAlterRuleNodeRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAlterRuleNodeRule)(nil)).Elem() } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) ToGetClusterGkeConfigV2NodePoolConfigOutput() GetClusterGkeConfigV2NodePoolConfigOutput { +func (o GetClusterAlterRuleNodeRuleOutput) ToGetClusterAlterRuleNodeRuleOutput() GetClusterAlterRuleNodeRuleOutput { return o } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) ToGetClusterGkeConfigV2NodePoolConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigOutput { +func (o GetClusterAlterRuleNodeRuleOutput) ToGetClusterAlterRuleNodeRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleNodeRuleOutput { return o } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) DiskSizeGb() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *int { return v.DiskSizeGb }).(pulumi.IntPtrOutput) +func (o GetClusterAlterRuleNodeRuleOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAlterRuleNodeRule) *string { return v.Condition }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) DiskType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *string { return v.DiskType }).(pulumi.StringPtrOutput) +func (o GetClusterAlterRuleNodeRuleOutput) CpuThreshold() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterAlterRuleNodeRule) *int { return v.CpuThreshold }).(pulumi.IntPtrOutput) } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) ImageType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *string { return v.ImageType }).(pulumi.StringPtrOutput) +func (o GetClusterAlterRuleNodeRuleOutput) MemThreshold() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterAlterRuleNodeRule) *int { return v.MemThreshold }).(pulumi.IntPtrOutput) } -// (Computed) Labels for Node Pool object (map) -func (o GetClusterGkeConfigV2NodePoolConfigOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +func (o GetClusterAlterRuleNodeRuleOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAlterRuleNodeRule) *string { return v.NodeId }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) LocalSsdCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) +func (o GetClusterAlterRuleNodeRuleOutput) Selector() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterAlterRuleNodeRule) map[string]interface{} { return v.Selector }).(pulumi.MapOutput) } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) MachineType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *string { return v.MachineType }).(pulumi.StringPtrOutput) +type GetClusterAlterRuleSystemServiceRule struct { + Condition *string `pulumi:"condition"` } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) OauthScopes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) []string { return v.OauthScopes }).(pulumi.StringArrayOutput) +// GetClusterAlterRuleSystemServiceRuleInput is an input type that accepts GetClusterAlterRuleSystemServiceRuleArgs and GetClusterAlterRuleSystemServiceRuleOutput values. +// You can construct a concrete instance of `GetClusterAlterRuleSystemServiceRuleInput` via: +// +// GetClusterAlterRuleSystemServiceRuleArgs{...} +type GetClusterAlterRuleSystemServiceRuleInput interface { + pulumi.Input + + ToGetClusterAlterRuleSystemServiceRuleOutput() GetClusterAlterRuleSystemServiceRuleOutput + ToGetClusterAlterRuleSystemServiceRuleOutputWithContext(context.Context) GetClusterAlterRuleSystemServiceRuleOutput } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) Preemptible() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *bool { return v.Preemptible }).(pulumi.BoolPtrOutput) +type GetClusterAlterRuleSystemServiceRuleArgs struct { + Condition pulumi.StringPtrInput `pulumi:"condition"` } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) Tags() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) []string { return v.Tags }).(pulumi.StringArrayOutput) +func (GetClusterAlterRuleSystemServiceRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAlterRuleSystemServiceRule)(nil)).Elem() } -func (o GetClusterGkeConfigV2NodePoolConfigOutput) Taints() GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) []GetClusterGkeConfigV2NodePoolConfigTaint { - return v.Taints - }).(GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) +func (i GetClusterAlterRuleSystemServiceRuleArgs) ToGetClusterAlterRuleSystemServiceRuleOutput() GetClusterAlterRuleSystemServiceRuleOutput { + return i.ToGetClusterAlterRuleSystemServiceRuleOutputWithContext(context.Background()) } -type GetClusterGkeConfigV2NodePoolConfigTaint struct { - Effect string `pulumi:"effect"` - Key string `pulumi:"key"` - Value string `pulumi:"value"` +func (i GetClusterAlterRuleSystemServiceRuleArgs) ToGetClusterAlterRuleSystemServiceRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleSystemServiceRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterAlterRuleSystemServiceRuleOutput) } -// GetClusterGkeConfigV2NodePoolConfigTaintInput is an input type that accepts GetClusterGkeConfigV2NodePoolConfigTaintArgs and GetClusterGkeConfigV2NodePoolConfigTaintOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolConfigTaintInput` via: -// -// GetClusterGkeConfigV2NodePoolConfigTaintArgs{...} -type GetClusterGkeConfigV2NodePoolConfigTaintInput interface { - pulumi.Input +type GetClusterAlterRuleSystemServiceRuleOutput struct{ *pulumi.OutputState } - ToGetClusterGkeConfigV2NodePoolConfigTaintOutput() GetClusterGkeConfigV2NodePoolConfigTaintOutput - ToGetClusterGkeConfigV2NodePoolConfigTaintOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolConfigTaintOutput +func (GetClusterAlterRuleSystemServiceRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterAlterRuleSystemServiceRule)(nil)).Elem() } -type GetClusterGkeConfigV2NodePoolConfigTaintArgs struct { - Effect pulumi.StringInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Value pulumi.StringInput `pulumi:"value"` +func (o GetClusterAlterRuleSystemServiceRuleOutput) ToGetClusterAlterRuleSystemServiceRuleOutput() GetClusterAlterRuleSystemServiceRuleOutput { + return o } -func (GetClusterGkeConfigV2NodePoolConfigTaintArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolConfigTaint)(nil)).Elem() +func (o GetClusterAlterRuleSystemServiceRuleOutput) ToGetClusterAlterRuleSystemServiceRuleOutputWithContext(ctx context.Context) GetClusterAlterRuleSystemServiceRuleOutput { + return o } -func (i GetClusterGkeConfigV2NodePoolConfigTaintArgs) ToGetClusterGkeConfigV2NodePoolConfigTaintOutput() GetClusterGkeConfigV2NodePoolConfigTaintOutput { - return i.ToGetClusterGkeConfigV2NodePoolConfigTaintOutputWithContext(context.Background()) +func (o GetClusterAlterRuleSystemServiceRuleOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterAlterRuleSystemServiceRule) *string { return v.Condition }).(pulumi.StringPtrOutput) } -func (i GetClusterGkeConfigV2NodePoolConfigTaintArgs) ToGetClusterGkeConfigV2NodePoolConfigTaintOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigTaintOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolConfigTaintOutput) +type GetClusterClusterAuthEndpoint struct { + CaCerts *string `pulumi:"caCerts"` + Enabled *bool `pulumi:"enabled"` + Fqdn *string `pulumi:"fqdn"` } -// GetClusterGkeConfigV2NodePoolConfigTaintArrayInput is an input type that accepts GetClusterGkeConfigV2NodePoolConfigTaintArray and GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolConfigTaintArrayInput` via: +// GetClusterClusterAuthEndpointInput is an input type that accepts GetClusterClusterAuthEndpointArgs and GetClusterClusterAuthEndpointOutput values. +// You can construct a concrete instance of `GetClusterClusterAuthEndpointInput` via: // -// GetClusterGkeConfigV2NodePoolConfigTaintArray{ GetClusterGkeConfigV2NodePoolConfigTaintArgs{...} } -type GetClusterGkeConfigV2NodePoolConfigTaintArrayInput interface { +// GetClusterClusterAuthEndpointArgs{...} +type GetClusterClusterAuthEndpointInput interface { pulumi.Input - ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutput() GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput - ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput + ToGetClusterClusterAuthEndpointOutput() GetClusterClusterAuthEndpointOutput + ToGetClusterClusterAuthEndpointOutputWithContext(context.Context) GetClusterClusterAuthEndpointOutput } -type GetClusterGkeConfigV2NodePoolConfigTaintArray []GetClusterGkeConfigV2NodePoolConfigTaintInput +type GetClusterClusterAuthEndpointArgs struct { + CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` +} -func (GetClusterGkeConfigV2NodePoolConfigTaintArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterGkeConfigV2NodePoolConfigTaint)(nil)).Elem() +func (GetClusterClusterAuthEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterAuthEndpoint)(nil)).Elem() } -func (i GetClusterGkeConfigV2NodePoolConfigTaintArray) ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutput() GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput { - return i.ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutputWithContext(context.Background()) +func (i GetClusterClusterAuthEndpointArgs) ToGetClusterClusterAuthEndpointOutput() GetClusterClusterAuthEndpointOutput { + return i.ToGetClusterClusterAuthEndpointOutputWithContext(context.Background()) } -func (i GetClusterGkeConfigV2NodePoolConfigTaintArray) ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) +func (i GetClusterClusterAuthEndpointArgs) ToGetClusterClusterAuthEndpointOutputWithContext(ctx context.Context) GetClusterClusterAuthEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterAuthEndpointOutput) } -type GetClusterGkeConfigV2NodePoolConfigTaintOutput struct{ *pulumi.OutputState } +type GetClusterClusterAuthEndpointOutput struct{ *pulumi.OutputState } -func (GetClusterGkeConfigV2NodePoolConfigTaintOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolConfigTaint)(nil)).Elem() +func (GetClusterClusterAuthEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterAuthEndpoint)(nil)).Elem() } -func (o GetClusterGkeConfigV2NodePoolConfigTaintOutput) ToGetClusterGkeConfigV2NodePoolConfigTaintOutput() GetClusterGkeConfigV2NodePoolConfigTaintOutput { +func (o GetClusterClusterAuthEndpointOutput) ToGetClusterClusterAuthEndpointOutput() GetClusterClusterAuthEndpointOutput { return o } -func (o GetClusterGkeConfigV2NodePoolConfigTaintOutput) ToGetClusterGkeConfigV2NodePoolConfigTaintOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigTaintOutput { +func (o GetClusterClusterAuthEndpointOutput) ToGetClusterClusterAuthEndpointOutputWithContext(ctx context.Context) GetClusterClusterAuthEndpointOutput { return o } -func (o GetClusterGkeConfigV2NodePoolConfigTaintOutput) Effect() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfigTaint) string { return v.Effect }).(pulumi.StringOutput) +func (o GetClusterClusterAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) } -func (o GetClusterGkeConfigV2NodePoolConfigTaintOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfigTaint) string { return v.Key }).(pulumi.StringOutput) +func (o GetClusterClusterAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o GetClusterGkeConfigV2NodePoolConfigTaintOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfigTaint) string { return v.Value }).(pulumi.StringOutput) +func (o GetClusterClusterAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) } -type GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput struct{ *pulumi.OutputState } +type GetClusterClusterMonitoringInput struct { + Answers map[string]interface{} `pulumi:"answers"` + Version *string `pulumi:"version"` +} -func (GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterGkeConfigV2NodePoolConfigTaint)(nil)).Elem() +// GetClusterClusterMonitoringInputInput is an input type that accepts GetClusterClusterMonitoringInputArgs and GetClusterClusterMonitoringInputOutput values. +// You can construct a concrete instance of `GetClusterClusterMonitoringInputInput` via: +// +// GetClusterClusterMonitoringInputArgs{...} +type GetClusterClusterMonitoringInputInput interface { + pulumi.Input + + ToGetClusterClusterMonitoringInputOutput() GetClusterClusterMonitoringInputOutput + ToGetClusterClusterMonitoringInputOutputWithContext(context.Context) GetClusterClusterMonitoringInputOutput } -func (o GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutput() GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput { +type GetClusterClusterMonitoringInputArgs struct { + Answers pulumi.MapInput `pulumi:"answers"` + Version pulumi.StringPtrInput `pulumi:"version"` +} + +func (GetClusterClusterMonitoringInputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterMonitoringInput)(nil)).Elem() +} + +func (i GetClusterClusterMonitoringInputArgs) ToGetClusterClusterMonitoringInputOutput() GetClusterClusterMonitoringInputOutput { + return i.ToGetClusterClusterMonitoringInputOutputWithContext(context.Background()) +} + +func (i GetClusterClusterMonitoringInputArgs) ToGetClusterClusterMonitoringInputOutputWithContext(ctx context.Context) GetClusterClusterMonitoringInputOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterMonitoringInputOutput) +} + +type GetClusterClusterMonitoringInputOutput struct{ *pulumi.OutputState } + +func (GetClusterClusterMonitoringInputOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterMonitoringInput)(nil)).Elem() +} + +func (o GetClusterClusterMonitoringInputOutput) ToGetClusterClusterMonitoringInputOutput() GetClusterClusterMonitoringInputOutput { return o } -func (o GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput { +func (o GetClusterClusterMonitoringInputOutput) ToGetClusterClusterMonitoringInputOutputWithContext(ctx context.Context) GetClusterClusterMonitoringInputOutput { return o } -func (o GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) Index(i pulumi.IntInput) GetClusterGkeConfigV2NodePoolConfigTaintOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterGkeConfigV2NodePoolConfigTaint { - return vs[0].([]GetClusterGkeConfigV2NodePoolConfigTaint)[vs[1].(int)] - }).(GetClusterGkeConfigV2NodePoolConfigTaintOutput) +func (o GetClusterClusterMonitoringInputOutput) Answers() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterClusterMonitoringInput) map[string]interface{} { return v.Answers }).(pulumi.MapOutput) } -type GetClusterGkeConfigV2NodePoolManagement struct { - AutoRepair bool `pulumi:"autoRepair"` - AutoUpgrade bool `pulumi:"autoUpgrade"` +func (o GetClusterClusterMonitoringInputOutput) Version() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterMonitoringInput) *string { return v.Version }).(pulumi.StringPtrOutput) } -// GetClusterGkeConfigV2NodePoolManagementInput is an input type that accepts GetClusterGkeConfigV2NodePoolManagementArgs and GetClusterGkeConfigV2NodePoolManagementOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolManagementInput` via: +type GetClusterClusterRegistrationToken struct { + // (Computed) Annotations for Node Pool object (map) + Annotations map[string]interface{} `pulumi:"annotations"` + ClusterId string `pulumi:"clusterId"` + Command string `pulumi:"command"` + // (Computed) The ID of the resource (string) + Id string `pulumi:"id"` + InsecureCommand string `pulumi:"insecureCommand"` + InsecureNodeCommand string `pulumi:"insecureNodeCommand"` + InsecureWindowsNodeCommand string `pulumi:"insecureWindowsNodeCommand"` + // (Computed) Labels for Node Pool object (map) + Labels map[string]interface{} `pulumi:"labels"` + ManifestUrl string `pulumi:"manifestUrl"` + // The name of the Cluster (string) + Name string `pulumi:"name"` + NodeCommand string `pulumi:"nodeCommand"` + Token string `pulumi:"token"` + WindowsNodeCommand string `pulumi:"windowsNodeCommand"` +} + +// GetClusterClusterRegistrationTokenInput is an input type that accepts GetClusterClusterRegistrationTokenArgs and GetClusterClusterRegistrationTokenOutput values. +// You can construct a concrete instance of `GetClusterClusterRegistrationTokenInput` via: // -// GetClusterGkeConfigV2NodePoolManagementArgs{...} -type GetClusterGkeConfigV2NodePoolManagementInput interface { +// GetClusterClusterRegistrationTokenArgs{...} +type GetClusterClusterRegistrationTokenInput interface { pulumi.Input - ToGetClusterGkeConfigV2NodePoolManagementOutput() GetClusterGkeConfigV2NodePoolManagementOutput - ToGetClusterGkeConfigV2NodePoolManagementOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolManagementOutput + ToGetClusterClusterRegistrationTokenOutput() GetClusterClusterRegistrationTokenOutput + ToGetClusterClusterRegistrationTokenOutputWithContext(context.Context) GetClusterClusterRegistrationTokenOutput } -type GetClusterGkeConfigV2NodePoolManagementArgs struct { - AutoRepair pulumi.BoolInput `pulumi:"autoRepair"` - AutoUpgrade pulumi.BoolInput `pulumi:"autoUpgrade"` +type GetClusterClusterRegistrationTokenArgs struct { + // (Computed) Annotations for Node Pool object (map) + Annotations pulumi.MapInput `pulumi:"annotations"` + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Command pulumi.StringInput `pulumi:"command"` + // (Computed) The ID of the resource (string) + Id pulumi.StringInput `pulumi:"id"` + InsecureCommand pulumi.StringInput `pulumi:"insecureCommand"` + InsecureNodeCommand pulumi.StringInput `pulumi:"insecureNodeCommand"` + InsecureWindowsNodeCommand pulumi.StringInput `pulumi:"insecureWindowsNodeCommand"` + // (Computed) Labels for Node Pool object (map) + Labels pulumi.MapInput `pulumi:"labels"` + ManifestUrl pulumi.StringInput `pulumi:"manifestUrl"` + // The name of the Cluster (string) + Name pulumi.StringInput `pulumi:"name"` + NodeCommand pulumi.StringInput `pulumi:"nodeCommand"` + Token pulumi.StringInput `pulumi:"token"` + WindowsNodeCommand pulumi.StringInput `pulumi:"windowsNodeCommand"` } -func (GetClusterGkeConfigV2NodePoolManagementArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolManagement)(nil)).Elem() +func (GetClusterClusterRegistrationTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterRegistrationToken)(nil)).Elem() } -func (i GetClusterGkeConfigV2NodePoolManagementArgs) ToGetClusterGkeConfigV2NodePoolManagementOutput() GetClusterGkeConfigV2NodePoolManagementOutput { - return i.ToGetClusterGkeConfigV2NodePoolManagementOutputWithContext(context.Background()) +func (i GetClusterClusterRegistrationTokenArgs) ToGetClusterClusterRegistrationTokenOutput() GetClusterClusterRegistrationTokenOutput { + return i.ToGetClusterClusterRegistrationTokenOutputWithContext(context.Background()) } -func (i GetClusterGkeConfigV2NodePoolManagementArgs) ToGetClusterGkeConfigV2NodePoolManagementOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolManagementOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolManagementOutput) +func (i GetClusterClusterRegistrationTokenArgs) ToGetClusterClusterRegistrationTokenOutputWithContext(ctx context.Context) GetClusterClusterRegistrationTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterRegistrationTokenOutput) } -type GetClusterGkeConfigV2NodePoolManagementOutput struct{ *pulumi.OutputState } +type GetClusterClusterRegistrationTokenOutput struct{ *pulumi.OutputState } -func (GetClusterGkeConfigV2NodePoolManagementOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolManagement)(nil)).Elem() +func (GetClusterClusterRegistrationTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterRegistrationToken)(nil)).Elem() } -func (o GetClusterGkeConfigV2NodePoolManagementOutput) ToGetClusterGkeConfigV2NodePoolManagementOutput() GetClusterGkeConfigV2NodePoolManagementOutput { +func (o GetClusterClusterRegistrationTokenOutput) ToGetClusterClusterRegistrationTokenOutput() GetClusterClusterRegistrationTokenOutput { return o } -func (o GetClusterGkeConfigV2NodePoolManagementOutput) ToGetClusterGkeConfigV2NodePoolManagementOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolManagementOutput { +func (o GetClusterClusterRegistrationTokenOutput) ToGetClusterClusterRegistrationTokenOutputWithContext(ctx context.Context) GetClusterClusterRegistrationTokenOutput { return o } -func (o GetClusterGkeConfigV2NodePoolManagementOutput) AutoRepair() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolManagement) bool { return v.AutoRepair }).(pulumi.BoolOutput) -} - -func (o GetClusterGkeConfigV2NodePoolManagementOutput) AutoUpgrade() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolManagement) bool { return v.AutoUpgrade }).(pulumi.BoolOutput) +// (Computed) Annotations for Node Pool object (map) +func (o GetClusterClusterRegistrationTokenOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) } -type GetClusterGkeConfigV2PrivateClusterConfig struct { - EnablePrivateEndpoint *bool `pulumi:"enablePrivateEndpoint"` - EnablePrivateNodes *bool `pulumi:"enablePrivateNodes"` - MasterIpv4CidrBlock string `pulumi:"masterIpv4CidrBlock"` +func (o GetClusterClusterRegistrationTokenOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.ClusterId }).(pulumi.StringOutput) } -// GetClusterGkeConfigV2PrivateClusterConfigInput is an input type that accepts GetClusterGkeConfigV2PrivateClusterConfigArgs and GetClusterGkeConfigV2PrivateClusterConfigOutput values. -// You can construct a concrete instance of `GetClusterGkeConfigV2PrivateClusterConfigInput` via: -// -// GetClusterGkeConfigV2PrivateClusterConfigArgs{...} -type GetClusterGkeConfigV2PrivateClusterConfigInput interface { - pulumi.Input - - ToGetClusterGkeConfigV2PrivateClusterConfigOutput() GetClusterGkeConfigV2PrivateClusterConfigOutput - ToGetClusterGkeConfigV2PrivateClusterConfigOutputWithContext(context.Context) GetClusterGkeConfigV2PrivateClusterConfigOutput +func (o GetClusterClusterRegistrationTokenOutput) Command() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.Command }).(pulumi.StringOutput) } -type GetClusterGkeConfigV2PrivateClusterConfigArgs struct { - EnablePrivateEndpoint pulumi.BoolPtrInput `pulumi:"enablePrivateEndpoint"` - EnablePrivateNodes pulumi.BoolPtrInput `pulumi:"enablePrivateNodes"` - MasterIpv4CidrBlock pulumi.StringInput `pulumi:"masterIpv4CidrBlock"` +// (Computed) The ID of the resource (string) +func (o GetClusterClusterRegistrationTokenOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.Id }).(pulumi.StringOutput) } -func (GetClusterGkeConfigV2PrivateClusterConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2PrivateClusterConfig)(nil)).Elem() +func (o GetClusterClusterRegistrationTokenOutput) InsecureCommand() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.InsecureCommand }).(pulumi.StringOutput) } -func (i GetClusterGkeConfigV2PrivateClusterConfigArgs) ToGetClusterGkeConfigV2PrivateClusterConfigOutput() GetClusterGkeConfigV2PrivateClusterConfigOutput { - return i.ToGetClusterGkeConfigV2PrivateClusterConfigOutputWithContext(context.Background()) +func (o GetClusterClusterRegistrationTokenOutput) InsecureNodeCommand() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.InsecureNodeCommand }).(pulumi.StringOutput) } -func (i GetClusterGkeConfigV2PrivateClusterConfigArgs) ToGetClusterGkeConfigV2PrivateClusterConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2PrivateClusterConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2PrivateClusterConfigOutput) +func (o GetClusterClusterRegistrationTokenOutput) InsecureWindowsNodeCommand() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.InsecureWindowsNodeCommand }).(pulumi.StringOutput) } -type GetClusterGkeConfigV2PrivateClusterConfigOutput struct{ *pulumi.OutputState } - -func (GetClusterGkeConfigV2PrivateClusterConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterGkeConfigV2PrivateClusterConfig)(nil)).Elem() +// (Computed) Labels for Node Pool object (map) +func (o GetClusterClusterRegistrationTokenOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -func (o GetClusterGkeConfigV2PrivateClusterConfigOutput) ToGetClusterGkeConfigV2PrivateClusterConfigOutput() GetClusterGkeConfigV2PrivateClusterConfigOutput { - return o +func (o GetClusterClusterRegistrationTokenOutput) ManifestUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.ManifestUrl }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2PrivateClusterConfigOutput) ToGetClusterGkeConfigV2PrivateClusterConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2PrivateClusterConfigOutput { - return o +// The name of the Cluster (string) +func (o GetClusterClusterRegistrationTokenOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2PrivateClusterConfigOutput) EnablePrivateEndpoint() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2PrivateClusterConfig) *bool { return v.EnablePrivateEndpoint }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterRegistrationTokenOutput) NodeCommand() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.NodeCommand }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2PrivateClusterConfigOutput) EnablePrivateNodes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2PrivateClusterConfig) *bool { return v.EnablePrivateNodes }).(pulumi.BoolPtrOutput) +func (o GetClusterClusterRegistrationTokenOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.Token }).(pulumi.StringOutput) } -func (o GetClusterGkeConfigV2PrivateClusterConfigOutput) MasterIpv4CidrBlock() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterGkeConfigV2PrivateClusterConfig) string { return v.MasterIpv4CidrBlock }).(pulumi.StringOutput) +func (o GetClusterClusterRegistrationTokenOutput) WindowsNodeCommand() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterRegistrationToken) string { return v.WindowsNodeCommand }).(pulumi.StringOutput) } -type GetClusterK3sConfig struct { - UpgradeStrategy GetClusterK3sConfigUpgradeStrategy `pulumi:"upgradeStrategy"` - Version string `pulumi:"version"` +type GetClusterClusterTemplateAnswers struct { + ClusterId string `pulumi:"clusterId"` + ProjectId string `pulumi:"projectId"` + Values map[string]interface{} `pulumi:"values"` } -// GetClusterK3sConfigInput is an input type that accepts GetClusterK3sConfigArgs and GetClusterK3sConfigOutput values. -// You can construct a concrete instance of `GetClusterK3sConfigInput` via: +// GetClusterClusterTemplateAnswersInput is an input type that accepts GetClusterClusterTemplateAnswersArgs and GetClusterClusterTemplateAnswersOutput values. +// You can construct a concrete instance of `GetClusterClusterTemplateAnswersInput` via: // -// GetClusterK3sConfigArgs{...} -type GetClusterK3sConfigInput interface { +// GetClusterClusterTemplateAnswersArgs{...} +type GetClusterClusterTemplateAnswersInput interface { pulumi.Input - ToGetClusterK3sConfigOutput() GetClusterK3sConfigOutput - ToGetClusterK3sConfigOutputWithContext(context.Context) GetClusterK3sConfigOutput + ToGetClusterClusterTemplateAnswersOutput() GetClusterClusterTemplateAnswersOutput + ToGetClusterClusterTemplateAnswersOutputWithContext(context.Context) GetClusterClusterTemplateAnswersOutput } -type GetClusterK3sConfigArgs struct { - UpgradeStrategy GetClusterK3sConfigUpgradeStrategyInput `pulumi:"upgradeStrategy"` - Version pulumi.StringInput `pulumi:"version"` +type GetClusterClusterTemplateAnswersArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + ProjectId pulumi.StringInput `pulumi:"projectId"` + Values pulumi.MapInput `pulumi:"values"` } -func (GetClusterK3sConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterK3sConfig)(nil)).Elem() +func (GetClusterClusterTemplateAnswersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterTemplateAnswers)(nil)).Elem() } -func (i GetClusterK3sConfigArgs) ToGetClusterK3sConfigOutput() GetClusterK3sConfigOutput { - return i.ToGetClusterK3sConfigOutputWithContext(context.Background()) +func (i GetClusterClusterTemplateAnswersArgs) ToGetClusterClusterTemplateAnswersOutput() GetClusterClusterTemplateAnswersOutput { + return i.ToGetClusterClusterTemplateAnswersOutputWithContext(context.Background()) } -func (i GetClusterK3sConfigArgs) ToGetClusterK3sConfigOutputWithContext(ctx context.Context) GetClusterK3sConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterK3sConfigOutput) +func (i GetClusterClusterTemplateAnswersArgs) ToGetClusterClusterTemplateAnswersOutputWithContext(ctx context.Context) GetClusterClusterTemplateAnswersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterTemplateAnswersOutput) } -type GetClusterK3sConfigOutput struct{ *pulumi.OutputState } +type GetClusterClusterTemplateAnswersOutput struct{ *pulumi.OutputState } -func (GetClusterK3sConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterK3sConfig)(nil)).Elem() +func (GetClusterClusterTemplateAnswersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterTemplateAnswers)(nil)).Elem() } -func (o GetClusterK3sConfigOutput) ToGetClusterK3sConfigOutput() GetClusterK3sConfigOutput { +func (o GetClusterClusterTemplateAnswersOutput) ToGetClusterClusterTemplateAnswersOutput() GetClusterClusterTemplateAnswersOutput { return o } -func (o GetClusterK3sConfigOutput) ToGetClusterK3sConfigOutputWithContext(ctx context.Context) GetClusterK3sConfigOutput { +func (o GetClusterClusterTemplateAnswersOutput) ToGetClusterClusterTemplateAnswersOutputWithContext(ctx context.Context) GetClusterClusterTemplateAnswersOutput { return o } -func (o GetClusterK3sConfigOutput) UpgradeStrategy() GetClusterK3sConfigUpgradeStrategyOutput { - return o.ApplyT(func(v GetClusterK3sConfig) GetClusterK3sConfigUpgradeStrategy { return v.UpgradeStrategy }).(GetClusterK3sConfigUpgradeStrategyOutput) +func (o GetClusterClusterTemplateAnswersOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterTemplateAnswers) string { return v.ClusterId }).(pulumi.StringOutput) } -func (o GetClusterK3sConfigOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterK3sConfig) string { return v.Version }).(pulumi.StringOutput) +func (o GetClusterClusterTemplateAnswersOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterTemplateAnswers) string { return v.ProjectId }).(pulumi.StringOutput) } -type GetClusterK3sConfigUpgradeStrategy struct { - DrainServerNodes *bool `pulumi:"drainServerNodes"` - DrainWorkerNodes *bool `pulumi:"drainWorkerNodes"` - ServerConcurrency *int `pulumi:"serverConcurrency"` - WorkerConcurrency *int `pulumi:"workerConcurrency"` +func (o GetClusterClusterTemplateAnswersOutput) Values() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterClusterTemplateAnswers) map[string]interface{} { return v.Values }).(pulumi.MapOutput) } -// GetClusterK3sConfigUpgradeStrategyInput is an input type that accepts GetClusterK3sConfigUpgradeStrategyArgs and GetClusterK3sConfigUpgradeStrategyOutput values. -// You can construct a concrete instance of `GetClusterK3sConfigUpgradeStrategyInput` via: +type GetClusterClusterTemplateQuestion struct { + Default string `pulumi:"default"` + Required *bool `pulumi:"required"` + Type *string `pulumi:"type"` + Variable string `pulumi:"variable"` +} + +// GetClusterClusterTemplateQuestionInput is an input type that accepts GetClusterClusterTemplateQuestionArgs and GetClusterClusterTemplateQuestionOutput values. +// You can construct a concrete instance of `GetClusterClusterTemplateQuestionInput` via: // -// GetClusterK3sConfigUpgradeStrategyArgs{...} -type GetClusterK3sConfigUpgradeStrategyInput interface { +// GetClusterClusterTemplateQuestionArgs{...} +type GetClusterClusterTemplateQuestionInput interface { pulumi.Input - ToGetClusterK3sConfigUpgradeStrategyOutput() GetClusterK3sConfigUpgradeStrategyOutput - ToGetClusterK3sConfigUpgradeStrategyOutputWithContext(context.Context) GetClusterK3sConfigUpgradeStrategyOutput + ToGetClusterClusterTemplateQuestionOutput() GetClusterClusterTemplateQuestionOutput + ToGetClusterClusterTemplateQuestionOutputWithContext(context.Context) GetClusterClusterTemplateQuestionOutput } -type GetClusterK3sConfigUpgradeStrategyArgs struct { - DrainServerNodes pulumi.BoolPtrInput `pulumi:"drainServerNodes"` - DrainWorkerNodes pulumi.BoolPtrInput `pulumi:"drainWorkerNodes"` - ServerConcurrency pulumi.IntPtrInput `pulumi:"serverConcurrency"` - WorkerConcurrency pulumi.IntPtrInput `pulumi:"workerConcurrency"` +type GetClusterClusterTemplateQuestionArgs struct { + Default pulumi.StringInput `pulumi:"default"` + Required pulumi.BoolPtrInput `pulumi:"required"` + Type pulumi.StringPtrInput `pulumi:"type"` + Variable pulumi.StringInput `pulumi:"variable"` } -func (GetClusterK3sConfigUpgradeStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterK3sConfigUpgradeStrategy)(nil)).Elem() +func (GetClusterClusterTemplateQuestionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterTemplateQuestion)(nil)).Elem() } -func (i GetClusterK3sConfigUpgradeStrategyArgs) ToGetClusterK3sConfigUpgradeStrategyOutput() GetClusterK3sConfigUpgradeStrategyOutput { - return i.ToGetClusterK3sConfigUpgradeStrategyOutputWithContext(context.Background()) +func (i GetClusterClusterTemplateQuestionArgs) ToGetClusterClusterTemplateQuestionOutput() GetClusterClusterTemplateQuestionOutput { + return i.ToGetClusterClusterTemplateQuestionOutputWithContext(context.Background()) } -func (i GetClusterK3sConfigUpgradeStrategyArgs) ToGetClusterK3sConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterK3sConfigUpgradeStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterK3sConfigUpgradeStrategyOutput) +func (i GetClusterClusterTemplateQuestionArgs) ToGetClusterClusterTemplateQuestionOutputWithContext(ctx context.Context) GetClusterClusterTemplateQuestionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterTemplateQuestionOutput) } -type GetClusterK3sConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } +// GetClusterClusterTemplateQuestionArrayInput is an input type that accepts GetClusterClusterTemplateQuestionArray and GetClusterClusterTemplateQuestionArrayOutput values. +// You can construct a concrete instance of `GetClusterClusterTemplateQuestionArrayInput` via: +// +// GetClusterClusterTemplateQuestionArray{ GetClusterClusterTemplateQuestionArgs{...} } +type GetClusterClusterTemplateQuestionArrayInput interface { + pulumi.Input -func (GetClusterK3sConfigUpgradeStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterK3sConfigUpgradeStrategy)(nil)).Elem() + ToGetClusterClusterTemplateQuestionArrayOutput() GetClusterClusterTemplateQuestionArrayOutput + ToGetClusterClusterTemplateQuestionArrayOutputWithContext(context.Context) GetClusterClusterTemplateQuestionArrayOutput } -func (o GetClusterK3sConfigUpgradeStrategyOutput) ToGetClusterK3sConfigUpgradeStrategyOutput() GetClusterK3sConfigUpgradeStrategyOutput { - return o -} +type GetClusterClusterTemplateQuestionArray []GetClusterClusterTemplateQuestionInput -func (o GetClusterK3sConfigUpgradeStrategyOutput) ToGetClusterK3sConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterK3sConfigUpgradeStrategyOutput { - return o +func (GetClusterClusterTemplateQuestionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterTemplateQuestion)(nil)).Elem() } -func (o GetClusterK3sConfigUpgradeStrategyOutput) DrainServerNodes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterK3sConfigUpgradeStrategy) *bool { return v.DrainServerNodes }).(pulumi.BoolPtrOutput) +func (i GetClusterClusterTemplateQuestionArray) ToGetClusterClusterTemplateQuestionArrayOutput() GetClusterClusterTemplateQuestionArrayOutput { + return i.ToGetClusterClusterTemplateQuestionArrayOutputWithContext(context.Background()) } -func (o GetClusterK3sConfigUpgradeStrategyOutput) DrainWorkerNodes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterK3sConfigUpgradeStrategy) *bool { return v.DrainWorkerNodes }).(pulumi.BoolPtrOutput) +func (i GetClusterClusterTemplateQuestionArray) ToGetClusterClusterTemplateQuestionArrayOutputWithContext(ctx context.Context) GetClusterClusterTemplateQuestionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterClusterTemplateQuestionArrayOutput) } -func (o GetClusterK3sConfigUpgradeStrategyOutput) ServerConcurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterK3sConfigUpgradeStrategy) *int { return v.ServerConcurrency }).(pulumi.IntPtrOutput) -} +type GetClusterClusterTemplateQuestionOutput struct{ *pulumi.OutputState } -func (o GetClusterK3sConfigUpgradeStrategyOutput) WorkerConcurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterK3sConfigUpgradeStrategy) *int { return v.WorkerConcurrency }).(pulumi.IntPtrOutput) +func (GetClusterClusterTemplateQuestionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterClusterTemplateQuestion)(nil)).Elem() } -type GetClusterLoggingCustomTargetConfig struct { - Certificate *string `pulumi:"certificate"` - ClientCert *string `pulumi:"clientCert"` - ClientKey *string `pulumi:"clientKey"` - Content string `pulumi:"content"` +func (o GetClusterClusterTemplateQuestionOutput) ToGetClusterClusterTemplateQuestionOutput() GetClusterClusterTemplateQuestionOutput { + return o } -// GetClusterLoggingCustomTargetConfigInput is an input type that accepts GetClusterLoggingCustomTargetConfigArgs and GetClusterLoggingCustomTargetConfigOutput values. -// You can construct a concrete instance of `GetClusterLoggingCustomTargetConfigInput` via: -// -// GetClusterLoggingCustomTargetConfigArgs{...} -type GetClusterLoggingCustomTargetConfigInput interface { - pulumi.Input - - ToGetClusterLoggingCustomTargetConfigOutput() GetClusterLoggingCustomTargetConfigOutput - ToGetClusterLoggingCustomTargetConfigOutputWithContext(context.Context) GetClusterLoggingCustomTargetConfigOutput +func (o GetClusterClusterTemplateQuestionOutput) ToGetClusterClusterTemplateQuestionOutputWithContext(ctx context.Context) GetClusterClusterTemplateQuestionOutput { + return o } -type GetClusterLoggingCustomTargetConfigArgs struct { - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - Content pulumi.StringInput `pulumi:"content"` +func (o GetClusterClusterTemplateQuestionOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterTemplateQuestion) string { return v.Default }).(pulumi.StringOutput) } -func (GetClusterLoggingCustomTargetConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingCustomTargetConfig)(nil)).Elem() +func (o GetClusterClusterTemplateQuestionOutput) Required() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterClusterTemplateQuestion) *bool { return v.Required }).(pulumi.BoolPtrOutput) } -func (i GetClusterLoggingCustomTargetConfigArgs) ToGetClusterLoggingCustomTargetConfigOutput() GetClusterLoggingCustomTargetConfigOutput { - return i.ToGetClusterLoggingCustomTargetConfigOutputWithContext(context.Background()) +func (o GetClusterClusterTemplateQuestionOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterClusterTemplateQuestion) *string { return v.Type }).(pulumi.StringPtrOutput) } -func (i GetClusterLoggingCustomTargetConfigArgs) ToGetClusterLoggingCustomTargetConfigOutputWithContext(ctx context.Context) GetClusterLoggingCustomTargetConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingCustomTargetConfigOutput) +func (o GetClusterClusterTemplateQuestionOutput) Variable() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterClusterTemplateQuestion) string { return v.Variable }).(pulumi.StringOutput) } -type GetClusterLoggingCustomTargetConfigOutput struct{ *pulumi.OutputState } +type GetClusterClusterTemplateQuestionArrayOutput struct{ *pulumi.OutputState } -func (GetClusterLoggingCustomTargetConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingCustomTargetConfig)(nil)).Elem() +func (GetClusterClusterTemplateQuestionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterClusterTemplateQuestion)(nil)).Elem() } -func (o GetClusterLoggingCustomTargetConfigOutput) ToGetClusterLoggingCustomTargetConfigOutput() GetClusterLoggingCustomTargetConfigOutput { +func (o GetClusterClusterTemplateQuestionArrayOutput) ToGetClusterClusterTemplateQuestionArrayOutput() GetClusterClusterTemplateQuestionArrayOutput { return o } -func (o GetClusterLoggingCustomTargetConfigOutput) ToGetClusterLoggingCustomTargetConfigOutputWithContext(ctx context.Context) GetClusterLoggingCustomTargetConfigOutput { +func (o GetClusterClusterTemplateQuestionArrayOutput) ToGetClusterClusterTemplateQuestionArrayOutputWithContext(ctx context.Context) GetClusterClusterTemplateQuestionArrayOutput { return o } -func (o GetClusterLoggingCustomTargetConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingCustomTargetConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) -} - -func (o GetClusterLoggingCustomTargetConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingCustomTargetConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) -} - -func (o GetClusterLoggingCustomTargetConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingCustomTargetConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) -} - -func (o GetClusterLoggingCustomTargetConfigOutput) Content() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterLoggingCustomTargetConfig) string { return v.Content }).(pulumi.StringOutput) +func (o GetClusterClusterTemplateQuestionArrayOutput) Index(i pulumi.IntInput) GetClusterClusterTemplateQuestionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterClusterTemplateQuestion { + return vs[0].([]GetClusterClusterTemplateQuestion)[vs[1].(int)] + }).(GetClusterClusterTemplateQuestionOutput) } -type GetClusterLoggingElasticsearchConfig struct { - AuthPassword *string `pulumi:"authPassword"` - AuthUsername *string `pulumi:"authUsername"` - Certificate *string `pulumi:"certificate"` - ClientCert *string `pulumi:"clientCert"` - ClientKey *string `pulumi:"clientKey"` - ClientKeyPass *string `pulumi:"clientKeyPass"` - DateFormat *string `pulumi:"dateFormat"` - Endpoint string `pulumi:"endpoint"` - IndexPrefix *string `pulumi:"indexPrefix"` - SslVerify bool `pulumi:"sslVerify"` - SslVersion *string `pulumi:"sslVersion"` +type GetClusterEksConfig struct { + AccessKey string `pulumi:"accessKey"` + Ami *string `pulumi:"ami"` + AssociateWorkerNodePublicIp *bool `pulumi:"associateWorkerNodePublicIp"` + DesiredNodes *int `pulumi:"desiredNodes"` + EbsEncryption *bool `pulumi:"ebsEncryption"` + InstanceType *string `pulumi:"instanceType"` + KeyPairName *string `pulumi:"keyPairName"` + KubernetesVersion string `pulumi:"kubernetesVersion"` + MaximumNodes *int `pulumi:"maximumNodes"` + MinimumNodes *int `pulumi:"minimumNodes"` + NodeVolumeSize *int `pulumi:"nodeVolumeSize"` + Region *string `pulumi:"region"` + SecretKey string `pulumi:"secretKey"` + SecurityGroups []string `pulumi:"securityGroups"` + ServiceRole *string `pulumi:"serviceRole"` + SessionToken *string `pulumi:"sessionToken"` + Subnets []string `pulumi:"subnets"` + UserData string `pulumi:"userData"` + VirtualNetwork *string `pulumi:"virtualNetwork"` } -// GetClusterLoggingElasticsearchConfigInput is an input type that accepts GetClusterLoggingElasticsearchConfigArgs and GetClusterLoggingElasticsearchConfigOutput values. -// You can construct a concrete instance of `GetClusterLoggingElasticsearchConfigInput` via: +// GetClusterEksConfigInput is an input type that accepts GetClusterEksConfigArgs and GetClusterEksConfigOutput values. +// You can construct a concrete instance of `GetClusterEksConfigInput` via: // -// GetClusterLoggingElasticsearchConfigArgs{...} -type GetClusterLoggingElasticsearchConfigInput interface { +// GetClusterEksConfigArgs{...} +type GetClusterEksConfigInput interface { pulumi.Input - ToGetClusterLoggingElasticsearchConfigOutput() GetClusterLoggingElasticsearchConfigOutput - ToGetClusterLoggingElasticsearchConfigOutputWithContext(context.Context) GetClusterLoggingElasticsearchConfigOutput + ToGetClusterEksConfigOutput() GetClusterEksConfigOutput + ToGetClusterEksConfigOutputWithContext(context.Context) GetClusterEksConfigOutput } -type GetClusterLoggingElasticsearchConfigArgs struct { - AuthPassword pulumi.StringPtrInput `pulumi:"authPassword"` - AuthUsername pulumi.StringPtrInput `pulumi:"authUsername"` - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` - DateFormat pulumi.StringPtrInput `pulumi:"dateFormat"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - IndexPrefix pulumi.StringPtrInput `pulumi:"indexPrefix"` - SslVerify pulumi.BoolInput `pulumi:"sslVerify"` - SslVersion pulumi.StringPtrInput `pulumi:"sslVersion"` +type GetClusterEksConfigArgs struct { + AccessKey pulumi.StringInput `pulumi:"accessKey"` + Ami pulumi.StringPtrInput `pulumi:"ami"` + AssociateWorkerNodePublicIp pulumi.BoolPtrInput `pulumi:"associateWorkerNodePublicIp"` + DesiredNodes pulumi.IntPtrInput `pulumi:"desiredNodes"` + EbsEncryption pulumi.BoolPtrInput `pulumi:"ebsEncryption"` + InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` + KeyPairName pulumi.StringPtrInput `pulumi:"keyPairName"` + KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` + MaximumNodes pulumi.IntPtrInput `pulumi:"maximumNodes"` + MinimumNodes pulumi.IntPtrInput `pulumi:"minimumNodes"` + NodeVolumeSize pulumi.IntPtrInput `pulumi:"nodeVolumeSize"` + Region pulumi.StringPtrInput `pulumi:"region"` + SecretKey pulumi.StringInput `pulumi:"secretKey"` + SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` + ServiceRole pulumi.StringPtrInput `pulumi:"serviceRole"` + SessionToken pulumi.StringPtrInput `pulumi:"sessionToken"` + Subnets pulumi.StringArrayInput `pulumi:"subnets"` + UserData pulumi.StringInput `pulumi:"userData"` + VirtualNetwork pulumi.StringPtrInput `pulumi:"virtualNetwork"` } -func (GetClusterLoggingElasticsearchConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingElasticsearchConfig)(nil)).Elem() +func (GetClusterEksConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterEksConfig)(nil)).Elem() } -func (i GetClusterLoggingElasticsearchConfigArgs) ToGetClusterLoggingElasticsearchConfigOutput() GetClusterLoggingElasticsearchConfigOutput { - return i.ToGetClusterLoggingElasticsearchConfigOutputWithContext(context.Background()) +func (i GetClusterEksConfigArgs) ToGetClusterEksConfigOutput() GetClusterEksConfigOutput { + return i.ToGetClusterEksConfigOutputWithContext(context.Background()) } -func (i GetClusterLoggingElasticsearchConfigArgs) ToGetClusterLoggingElasticsearchConfigOutputWithContext(ctx context.Context) GetClusterLoggingElasticsearchConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingElasticsearchConfigOutput) +func (i GetClusterEksConfigArgs) ToGetClusterEksConfigOutputWithContext(ctx context.Context) GetClusterEksConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigOutput) } -type GetClusterLoggingElasticsearchConfigOutput struct{ *pulumi.OutputState } +type GetClusterEksConfigOutput struct{ *pulumi.OutputState } -func (GetClusterLoggingElasticsearchConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingElasticsearchConfig)(nil)).Elem() +func (GetClusterEksConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterEksConfig)(nil)).Elem() } -func (o GetClusterLoggingElasticsearchConfigOutput) ToGetClusterLoggingElasticsearchConfigOutput() GetClusterLoggingElasticsearchConfigOutput { +func (o GetClusterEksConfigOutput) ToGetClusterEksConfigOutput() GetClusterEksConfigOutput { return o } -func (o GetClusterLoggingElasticsearchConfigOutput) ToGetClusterLoggingElasticsearchConfigOutputWithContext(ctx context.Context) GetClusterLoggingElasticsearchConfigOutput { +func (o GetClusterEksConfigOutput) ToGetClusterEksConfigOutputWithContext(ctx context.Context) GetClusterEksConfigOutput { return o } -func (o GetClusterLoggingElasticsearchConfigOutput) AuthPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.AuthPassword }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigOutput) AccessKey() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfig) string { return v.AccessKey }).(pulumi.StringOutput) } -func (o GetClusterLoggingElasticsearchConfigOutput) AuthUsername() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.AuthUsername }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigOutput) Ami() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *string { return v.Ami }).(pulumi.StringPtrOutput) } -func (o GetClusterLoggingElasticsearchConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigOutput) AssociateWorkerNodePublicIp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *bool { return v.AssociateWorkerNodePublicIp }).(pulumi.BoolPtrOutput) } -func (o GetClusterLoggingElasticsearchConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigOutput) DesiredNodes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *int { return v.DesiredNodes }).(pulumi.IntPtrOutput) } -func (o GetClusterLoggingElasticsearchConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigOutput) EbsEncryption() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *bool { return v.EbsEncryption }).(pulumi.BoolPtrOutput) } -func (o GetClusterLoggingElasticsearchConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *string { return v.InstanceType }).(pulumi.StringPtrOutput) } -func (o GetClusterLoggingElasticsearchConfigOutput) DateFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.DateFormat }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigOutput) KeyPairName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *string { return v.KeyPairName }).(pulumi.StringPtrOutput) } -func (o GetClusterLoggingElasticsearchConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) string { return v.Endpoint }).(pulumi.StringOutput) +func (o GetClusterEksConfigOutput) KubernetesVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfig) string { return v.KubernetesVersion }).(pulumi.StringOutput) } -func (o GetClusterLoggingElasticsearchConfigOutput) IndexPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.IndexPrefix }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigOutput) MaximumNodes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *int { return v.MaximumNodes }).(pulumi.IntPtrOutput) } -func (o GetClusterLoggingElasticsearchConfigOutput) SslVerify() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) +func (o GetClusterEksConfigOutput) MinimumNodes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *int { return v.MinimumNodes }).(pulumi.IntPtrOutput) } -func (o GetClusterLoggingElasticsearchConfigOutput) SslVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.SslVersion }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigOutput) NodeVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *int { return v.NodeVolumeSize }).(pulumi.IntPtrOutput) } -type GetClusterLoggingFluentdConfig struct { - Certificate *string `pulumi:"certificate"` - Compress *bool `pulumi:"compress"` - EnableTls *bool `pulumi:"enableTls"` - FluentServers []GetClusterLoggingFluentdConfigFluentServer `pulumi:"fluentServers"` +func (o GetClusterEksConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *string { return v.Region }).(pulumi.StringPtrOutput) } -// GetClusterLoggingFluentdConfigInput is an input type that accepts GetClusterLoggingFluentdConfigArgs and GetClusterLoggingFluentdConfigOutput values. -// You can construct a concrete instance of `GetClusterLoggingFluentdConfigInput` via: -// -// GetClusterLoggingFluentdConfigArgs{...} -type GetClusterLoggingFluentdConfigInput interface { - pulumi.Input +func (o GetClusterEksConfigOutput) SecretKey() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfig) string { return v.SecretKey }).(pulumi.StringOutput) +} - ToGetClusterLoggingFluentdConfigOutput() GetClusterLoggingFluentdConfigOutput - ToGetClusterLoggingFluentdConfigOutputWithContext(context.Context) GetClusterLoggingFluentdConfigOutput +func (o GetClusterEksConfigOutput) SecurityGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterEksConfig) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) } -type GetClusterLoggingFluentdConfigArgs struct { - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - Compress pulumi.BoolPtrInput `pulumi:"compress"` - EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` - FluentServers GetClusterLoggingFluentdConfigFluentServerArrayInput `pulumi:"fluentServers"` +func (o GetClusterEksConfigOutput) ServiceRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *string { return v.ServiceRole }).(pulumi.StringPtrOutput) } -func (GetClusterLoggingFluentdConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingFluentdConfig)(nil)).Elem() +func (o GetClusterEksConfigOutput) SessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *string { return v.SessionToken }).(pulumi.StringPtrOutput) } -func (i GetClusterLoggingFluentdConfigArgs) ToGetClusterLoggingFluentdConfigOutput() GetClusterLoggingFluentdConfigOutput { - return i.ToGetClusterLoggingFluentdConfigOutputWithContext(context.Background()) +func (o GetClusterEksConfigOutput) Subnets() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterEksConfig) []string { return v.Subnets }).(pulumi.StringArrayOutput) } -func (i GetClusterLoggingFluentdConfigArgs) ToGetClusterLoggingFluentdConfigOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingFluentdConfigOutput) +func (o GetClusterEksConfigOutput) UserData() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfig) string { return v.UserData }).(pulumi.StringOutput) +} + +func (o GetClusterEksConfigOutput) VirtualNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfig) *string { return v.VirtualNetwork }).(pulumi.StringPtrOutput) +} + +type GetClusterEksConfigV2 struct { + CloudCredentialId string `pulumi:"cloudCredentialId"` + Imported *bool `pulumi:"imported"` + KmsKey *string `pulumi:"kmsKey"` + KubernetesVersion string `pulumi:"kubernetesVersion"` + LoggingTypes []string `pulumi:"loggingTypes"` + // The name of the Cluster (string) + Name string `pulumi:"name"` + NodeGroups []GetClusterEksConfigV2NodeGroup `pulumi:"nodeGroups"` + PrivateAccess bool `pulumi:"privateAccess"` + PublicAccess bool `pulumi:"publicAccess"` + PublicAccessSources []string `pulumi:"publicAccessSources"` + Region *string `pulumi:"region"` + SecretsEncryption bool `pulumi:"secretsEncryption"` + SecurityGroups []string `pulumi:"securityGroups"` + ServiceRole *string `pulumi:"serviceRole"` + Subnets []string `pulumi:"subnets"` + Tags map[string]interface{} `pulumi:"tags"` } -type GetClusterLoggingFluentdConfigOutput struct{ *pulumi.OutputState } - -func (GetClusterLoggingFluentdConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingFluentdConfig)(nil)).Elem() -} +// GetClusterEksConfigV2Input is an input type that accepts GetClusterEksConfigV2Args and GetClusterEksConfigV2Output values. +// You can construct a concrete instance of `GetClusterEksConfigV2Input` via: +// +// GetClusterEksConfigV2Args{...} +type GetClusterEksConfigV2Input interface { + pulumi.Input -func (o GetClusterLoggingFluentdConfigOutput) ToGetClusterLoggingFluentdConfigOutput() GetClusterLoggingFluentdConfigOutput { - return o + ToGetClusterEksConfigV2Output() GetClusterEksConfigV2Output + ToGetClusterEksConfigV2OutputWithContext(context.Context) GetClusterEksConfigV2Output } -func (o GetClusterLoggingFluentdConfigOutput) ToGetClusterLoggingFluentdConfigOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigOutput { - return o +type GetClusterEksConfigV2Args struct { + CloudCredentialId pulumi.StringInput `pulumi:"cloudCredentialId"` + Imported pulumi.BoolPtrInput `pulumi:"imported"` + KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` + KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` + LoggingTypes pulumi.StringArrayInput `pulumi:"loggingTypes"` + // The name of the Cluster (string) + Name pulumi.StringInput `pulumi:"name"` + NodeGroups GetClusterEksConfigV2NodeGroupArrayInput `pulumi:"nodeGroups"` + PrivateAccess pulumi.BoolInput `pulumi:"privateAccess"` + PublicAccess pulumi.BoolInput `pulumi:"publicAccess"` + PublicAccessSources pulumi.StringArrayInput `pulumi:"publicAccessSources"` + Region pulumi.StringPtrInput `pulumi:"region"` + SecretsEncryption pulumi.BoolInput `pulumi:"secretsEncryption"` + SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` + ServiceRole pulumi.StringPtrInput `pulumi:"serviceRole"` + Subnets pulumi.StringArrayInput `pulumi:"subnets"` + Tags pulumi.MapInput `pulumi:"tags"` } -func (o GetClusterLoggingFluentdConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +func (GetClusterEksConfigV2Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterEksConfigV2)(nil)).Elem() } -func (o GetClusterLoggingFluentdConfigOutput) Compress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfig) *bool { return v.Compress }).(pulumi.BoolPtrOutput) +func (i GetClusterEksConfigV2Args) ToGetClusterEksConfigV2Output() GetClusterEksConfigV2Output { + return i.ToGetClusterEksConfigV2OutputWithContext(context.Background()) } -func (o GetClusterLoggingFluentdConfigOutput) EnableTls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) +func (i GetClusterEksConfigV2Args) ToGetClusterEksConfigV2OutputWithContext(ctx context.Context) GetClusterEksConfigV2Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigV2Output) } -func (o GetClusterLoggingFluentdConfigOutput) FluentServers() GetClusterLoggingFluentdConfigFluentServerArrayOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfig) []GetClusterLoggingFluentdConfigFluentServer { - return v.FluentServers - }).(GetClusterLoggingFluentdConfigFluentServerArrayOutput) -} +type GetClusterEksConfigV2Output struct{ *pulumi.OutputState } -type GetClusterLoggingFluentdConfigFluentServer struct { - Endpoint string `pulumi:"endpoint"` - Hostname *string `pulumi:"hostname"` - Password *string `pulumi:"password"` - SharedKey *string `pulumi:"sharedKey"` - Standby *bool `pulumi:"standby"` - Username *string `pulumi:"username"` - Weight *int `pulumi:"weight"` +func (GetClusterEksConfigV2Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterEksConfigV2)(nil)).Elem() } -// GetClusterLoggingFluentdConfigFluentServerInput is an input type that accepts GetClusterLoggingFluentdConfigFluentServerArgs and GetClusterLoggingFluentdConfigFluentServerOutput values. -// You can construct a concrete instance of `GetClusterLoggingFluentdConfigFluentServerInput` via: -// -// GetClusterLoggingFluentdConfigFluentServerArgs{...} -type GetClusterLoggingFluentdConfigFluentServerInput interface { - pulumi.Input - - ToGetClusterLoggingFluentdConfigFluentServerOutput() GetClusterLoggingFluentdConfigFluentServerOutput - ToGetClusterLoggingFluentdConfigFluentServerOutputWithContext(context.Context) GetClusterLoggingFluentdConfigFluentServerOutput +func (o GetClusterEksConfigV2Output) ToGetClusterEksConfigV2Output() GetClusterEksConfigV2Output { + return o } -type GetClusterLoggingFluentdConfigFluentServerArgs struct { - Endpoint pulumi.StringInput `pulumi:"endpoint"` - Hostname pulumi.StringPtrInput `pulumi:"hostname"` - Password pulumi.StringPtrInput `pulumi:"password"` - SharedKey pulumi.StringPtrInput `pulumi:"sharedKey"` - Standby pulumi.BoolPtrInput `pulumi:"standby"` - Username pulumi.StringPtrInput `pulumi:"username"` - Weight pulumi.IntPtrInput `pulumi:"weight"` +func (o GetClusterEksConfigV2Output) ToGetClusterEksConfigV2OutputWithContext(ctx context.Context) GetClusterEksConfigV2Output { + return o } -func (GetClusterLoggingFluentdConfigFluentServerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingFluentdConfigFluentServer)(nil)).Elem() +func (o GetClusterEksConfigV2Output) CloudCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) string { return v.CloudCredentialId }).(pulumi.StringOutput) } -func (i GetClusterLoggingFluentdConfigFluentServerArgs) ToGetClusterLoggingFluentdConfigFluentServerOutput() GetClusterLoggingFluentdConfigFluentServerOutput { - return i.ToGetClusterLoggingFluentdConfigFluentServerOutputWithContext(context.Background()) +func (o GetClusterEksConfigV2Output) Imported() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) *bool { return v.Imported }).(pulumi.BoolPtrOutput) } -func (i GetClusterLoggingFluentdConfigFluentServerArgs) ToGetClusterLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigFluentServerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingFluentdConfigFluentServerOutput) +func (o GetClusterEksConfigV2Output) KmsKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) *string { return v.KmsKey }).(pulumi.StringPtrOutput) } -// GetClusterLoggingFluentdConfigFluentServerArrayInput is an input type that accepts GetClusterLoggingFluentdConfigFluentServerArray and GetClusterLoggingFluentdConfigFluentServerArrayOutput values. -// You can construct a concrete instance of `GetClusterLoggingFluentdConfigFluentServerArrayInput` via: -// -// GetClusterLoggingFluentdConfigFluentServerArray{ GetClusterLoggingFluentdConfigFluentServerArgs{...} } -type GetClusterLoggingFluentdConfigFluentServerArrayInput interface { - pulumi.Input - - ToGetClusterLoggingFluentdConfigFluentServerArrayOutput() GetClusterLoggingFluentdConfigFluentServerArrayOutput - ToGetClusterLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Context) GetClusterLoggingFluentdConfigFluentServerArrayOutput +func (o GetClusterEksConfigV2Output) KubernetesVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) string { return v.KubernetesVersion }).(pulumi.StringOutput) } -type GetClusterLoggingFluentdConfigFluentServerArray []GetClusterLoggingFluentdConfigFluentServerInput - -func (GetClusterLoggingFluentdConfigFluentServerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterLoggingFluentdConfigFluentServer)(nil)).Elem() +func (o GetClusterEksConfigV2Output) LoggingTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) []string { return v.LoggingTypes }).(pulumi.StringArrayOutput) } -func (i GetClusterLoggingFluentdConfigFluentServerArray) ToGetClusterLoggingFluentdConfigFluentServerArrayOutput() GetClusterLoggingFluentdConfigFluentServerArrayOutput { - return i.ToGetClusterLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Background()) +// The name of the Cluster (string) +func (o GetClusterEksConfigV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) string { return v.Name }).(pulumi.StringOutput) } -func (i GetClusterLoggingFluentdConfigFluentServerArray) ToGetClusterLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigFluentServerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingFluentdConfigFluentServerArrayOutput) +func (o GetClusterEksConfigV2Output) NodeGroups() GetClusterEksConfigV2NodeGroupArrayOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) []GetClusterEksConfigV2NodeGroup { return v.NodeGroups }).(GetClusterEksConfigV2NodeGroupArrayOutput) } -type GetClusterLoggingFluentdConfigFluentServerOutput struct{ *pulumi.OutputState } - -func (GetClusterLoggingFluentdConfigFluentServerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingFluentdConfigFluentServer)(nil)).Elem() +func (o GetClusterEksConfigV2Output) PrivateAccess() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) bool { return v.PrivateAccess }).(pulumi.BoolOutput) } -func (o GetClusterLoggingFluentdConfigFluentServerOutput) ToGetClusterLoggingFluentdConfigFluentServerOutput() GetClusterLoggingFluentdConfigFluentServerOutput { - return o +func (o GetClusterEksConfigV2Output) PublicAccess() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) bool { return v.PublicAccess }).(pulumi.BoolOutput) } -func (o GetClusterLoggingFluentdConfigFluentServerOutput) ToGetClusterLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigFluentServerOutput { - return o +func (o GetClusterEksConfigV2Output) PublicAccessSources() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) []string { return v.PublicAccessSources }).(pulumi.StringArrayOutput) } -func (o GetClusterLoggingFluentdConfigFluentServerOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) string { return v.Endpoint }).(pulumi.StringOutput) +func (o GetClusterEksConfigV2Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o GetClusterLoggingFluentdConfigFluentServerOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *string { return v.Hostname }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2Output) SecretsEncryption() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) bool { return v.SecretsEncryption }).(pulumi.BoolOutput) } -func (o GetClusterLoggingFluentdConfigFluentServerOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *string { return v.Password }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2Output) SecurityGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) []string { return v.SecurityGroups }).(pulumi.StringArrayOutput) } -func (o GetClusterLoggingFluentdConfigFluentServerOutput) SharedKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *string { return v.SharedKey }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2Output) ServiceRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) *string { return v.ServiceRole }).(pulumi.StringPtrOutput) } -func (o GetClusterLoggingFluentdConfigFluentServerOutput) Standby() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *bool { return v.Standby }).(pulumi.BoolPtrOutput) +func (o GetClusterEksConfigV2Output) Subnets() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) []string { return v.Subnets }).(pulumi.StringArrayOutput) } -func (o GetClusterLoggingFluentdConfigFluentServerOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *string { return v.Username }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2Output) Tags() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterEksConfigV2) map[string]interface{} { return v.Tags }).(pulumi.MapOutput) } -func (o GetClusterLoggingFluentdConfigFluentServerOutput) Weight() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *int { return v.Weight }).(pulumi.IntPtrOutput) +type GetClusterEksConfigV2NodeGroup struct { + DesiredSize *int `pulumi:"desiredSize"` + DiskSize *int `pulumi:"diskSize"` + Ec2SshKey *string `pulumi:"ec2SshKey"` + Gpu *bool `pulumi:"gpu"` + ImageId *string `pulumi:"imageId"` + InstanceType *string `pulumi:"instanceType"` + // (Computed) Labels for Node Pool object (map) + Labels map[string]interface{} `pulumi:"labels"` + LaunchTemplates []GetClusterEksConfigV2NodeGroupLaunchTemplate `pulumi:"launchTemplates"` + MaxSize *int `pulumi:"maxSize"` + MinSize *int `pulumi:"minSize"` + // The name of the Cluster (string) + Name string `pulumi:"name"` + RequestSpotInstances *bool `pulumi:"requestSpotInstances"` + ResourceTags map[string]interface{} `pulumi:"resourceTags"` + SpotInstanceTypes []string `pulumi:"spotInstanceTypes"` + Subnets []string `pulumi:"subnets"` + Tags map[string]interface{} `pulumi:"tags"` + UserData string `pulumi:"userData"` + Version string `pulumi:"version"` } -type GetClusterLoggingFluentdConfigFluentServerArrayOutput struct{ *pulumi.OutputState } +// GetClusterEksConfigV2NodeGroupInput is an input type that accepts GetClusterEksConfigV2NodeGroupArgs and GetClusterEksConfigV2NodeGroupOutput values. +// You can construct a concrete instance of `GetClusterEksConfigV2NodeGroupInput` via: +// +// GetClusterEksConfigV2NodeGroupArgs{...} +type GetClusterEksConfigV2NodeGroupInput interface { + pulumi.Input -func (GetClusterLoggingFluentdConfigFluentServerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterLoggingFluentdConfigFluentServer)(nil)).Elem() + ToGetClusterEksConfigV2NodeGroupOutput() GetClusterEksConfigV2NodeGroupOutput + ToGetClusterEksConfigV2NodeGroupOutputWithContext(context.Context) GetClusterEksConfigV2NodeGroupOutput } -func (o GetClusterLoggingFluentdConfigFluentServerArrayOutput) ToGetClusterLoggingFluentdConfigFluentServerArrayOutput() GetClusterLoggingFluentdConfigFluentServerArrayOutput { - return o +type GetClusterEksConfigV2NodeGroupArgs struct { + DesiredSize pulumi.IntPtrInput `pulumi:"desiredSize"` + DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` + Ec2SshKey pulumi.StringPtrInput `pulumi:"ec2SshKey"` + Gpu pulumi.BoolPtrInput `pulumi:"gpu"` + ImageId pulumi.StringPtrInput `pulumi:"imageId"` + InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` + // (Computed) Labels for Node Pool object (map) + Labels pulumi.MapInput `pulumi:"labels"` + LaunchTemplates GetClusterEksConfigV2NodeGroupLaunchTemplateArrayInput `pulumi:"launchTemplates"` + MaxSize pulumi.IntPtrInput `pulumi:"maxSize"` + MinSize pulumi.IntPtrInput `pulumi:"minSize"` + // The name of the Cluster (string) + Name pulumi.StringInput `pulumi:"name"` + RequestSpotInstances pulumi.BoolPtrInput `pulumi:"requestSpotInstances"` + ResourceTags pulumi.MapInput `pulumi:"resourceTags"` + SpotInstanceTypes pulumi.StringArrayInput `pulumi:"spotInstanceTypes"` + Subnets pulumi.StringArrayInput `pulumi:"subnets"` + Tags pulumi.MapInput `pulumi:"tags"` + UserData pulumi.StringInput `pulumi:"userData"` + Version pulumi.StringInput `pulumi:"version"` } -func (o GetClusterLoggingFluentdConfigFluentServerArrayOutput) ToGetClusterLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigFluentServerArrayOutput { - return o +func (GetClusterEksConfigV2NodeGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterEksConfigV2NodeGroup)(nil)).Elem() } -func (o GetClusterLoggingFluentdConfigFluentServerArrayOutput) Index(i pulumi.IntInput) GetClusterLoggingFluentdConfigFluentServerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterLoggingFluentdConfigFluentServer { - return vs[0].([]GetClusterLoggingFluentdConfigFluentServer)[vs[1].(int)] - }).(GetClusterLoggingFluentdConfigFluentServerOutput) +func (i GetClusterEksConfigV2NodeGroupArgs) ToGetClusterEksConfigV2NodeGroupOutput() GetClusterEksConfigV2NodeGroupOutput { + return i.ToGetClusterEksConfigV2NodeGroupOutputWithContext(context.Background()) } -type GetClusterLoggingKafkaConfig struct { - BrokerEndpoints []string `pulumi:"brokerEndpoints"` - Certificate *string `pulumi:"certificate"` - ClientCert *string `pulumi:"clientCert"` - ClientKey *string `pulumi:"clientKey"` - Topic string `pulumi:"topic"` - ZookeeperEndpoint *string `pulumi:"zookeeperEndpoint"` +func (i GetClusterEksConfigV2NodeGroupArgs) ToGetClusterEksConfigV2NodeGroupOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigV2NodeGroupOutput) } -// GetClusterLoggingKafkaConfigInput is an input type that accepts GetClusterLoggingKafkaConfigArgs and GetClusterLoggingKafkaConfigOutput values. -// You can construct a concrete instance of `GetClusterLoggingKafkaConfigInput` via: +// GetClusterEksConfigV2NodeGroupArrayInput is an input type that accepts GetClusterEksConfigV2NodeGroupArray and GetClusterEksConfigV2NodeGroupArrayOutput values. +// You can construct a concrete instance of `GetClusterEksConfigV2NodeGroupArrayInput` via: // -// GetClusterLoggingKafkaConfigArgs{...} -type GetClusterLoggingKafkaConfigInput interface { +// GetClusterEksConfigV2NodeGroupArray{ GetClusterEksConfigV2NodeGroupArgs{...} } +type GetClusterEksConfigV2NodeGroupArrayInput interface { pulumi.Input - ToGetClusterLoggingKafkaConfigOutput() GetClusterLoggingKafkaConfigOutput - ToGetClusterLoggingKafkaConfigOutputWithContext(context.Context) GetClusterLoggingKafkaConfigOutput + ToGetClusterEksConfigV2NodeGroupArrayOutput() GetClusterEksConfigV2NodeGroupArrayOutput + ToGetClusterEksConfigV2NodeGroupArrayOutputWithContext(context.Context) GetClusterEksConfigV2NodeGroupArrayOutput } -type GetClusterLoggingKafkaConfigArgs struct { - BrokerEndpoints pulumi.StringArrayInput `pulumi:"brokerEndpoints"` - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - Topic pulumi.StringInput `pulumi:"topic"` - ZookeeperEndpoint pulumi.StringPtrInput `pulumi:"zookeeperEndpoint"` -} +type GetClusterEksConfigV2NodeGroupArray []GetClusterEksConfigV2NodeGroupInput -func (GetClusterLoggingKafkaConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingKafkaConfig)(nil)).Elem() +func (GetClusterEksConfigV2NodeGroupArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterEksConfigV2NodeGroup)(nil)).Elem() } -func (i GetClusterLoggingKafkaConfigArgs) ToGetClusterLoggingKafkaConfigOutput() GetClusterLoggingKafkaConfigOutput { - return i.ToGetClusterLoggingKafkaConfigOutputWithContext(context.Background()) +func (i GetClusterEksConfigV2NodeGroupArray) ToGetClusterEksConfigV2NodeGroupArrayOutput() GetClusterEksConfigV2NodeGroupArrayOutput { + return i.ToGetClusterEksConfigV2NodeGroupArrayOutputWithContext(context.Background()) } -func (i GetClusterLoggingKafkaConfigArgs) ToGetClusterLoggingKafkaConfigOutputWithContext(ctx context.Context) GetClusterLoggingKafkaConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingKafkaConfigOutput) +func (i GetClusterEksConfigV2NodeGroupArray) ToGetClusterEksConfigV2NodeGroupArrayOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigV2NodeGroupArrayOutput) } -type GetClusterLoggingKafkaConfigOutput struct{ *pulumi.OutputState } +type GetClusterEksConfigV2NodeGroupOutput struct{ *pulumi.OutputState } -func (GetClusterLoggingKafkaConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingKafkaConfig)(nil)).Elem() +func (GetClusterEksConfigV2NodeGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterEksConfigV2NodeGroup)(nil)).Elem() } -func (o GetClusterLoggingKafkaConfigOutput) ToGetClusterLoggingKafkaConfigOutput() GetClusterLoggingKafkaConfigOutput { +func (o GetClusterEksConfigV2NodeGroupOutput) ToGetClusterEksConfigV2NodeGroupOutput() GetClusterEksConfigV2NodeGroupOutput { return o } -func (o GetClusterLoggingKafkaConfigOutput) ToGetClusterLoggingKafkaConfigOutputWithContext(ctx context.Context) GetClusterLoggingKafkaConfigOutput { +func (o GetClusterEksConfigV2NodeGroupOutput) ToGetClusterEksConfigV2NodeGroupOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupOutput { return o } -func (o GetClusterLoggingKafkaConfigOutput) BrokerEndpoints() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterLoggingKafkaConfig) []string { return v.BrokerEndpoints }).(pulumi.StringArrayOutput) +func (o GetClusterEksConfigV2NodeGroupOutput) DesiredSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *int { return v.DesiredSize }).(pulumi.IntPtrOutput) } -func (o GetClusterLoggingKafkaConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingKafkaConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2NodeGroupOutput) DiskSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *int { return v.DiskSize }).(pulumi.IntPtrOutput) } -func (o GetClusterLoggingKafkaConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingKafkaConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2NodeGroupOutput) Ec2SshKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *string { return v.Ec2SshKey }).(pulumi.StringPtrOutput) } -func (o GetClusterLoggingKafkaConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingKafkaConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2NodeGroupOutput) Gpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *bool { return v.Gpu }).(pulumi.BoolPtrOutput) } -func (o GetClusterLoggingKafkaConfigOutput) Topic() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterLoggingKafkaConfig) string { return v.Topic }).(pulumi.StringOutput) +func (o GetClusterEksConfigV2NodeGroupOutput) ImageId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *string { return v.ImageId }).(pulumi.StringPtrOutput) } -func (o GetClusterLoggingKafkaConfigOutput) ZookeeperEndpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingKafkaConfig) *string { return v.ZookeeperEndpoint }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2NodeGroupOutput) InstanceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *string { return v.InstanceType }).(pulumi.StringPtrOutput) } -type GetClusterLoggingSplunkConfig struct { - Certificate *string `pulumi:"certificate"` - ClientCert *string `pulumi:"clientCert"` - ClientKey *string `pulumi:"clientKey"` - ClientKeyPass *string `pulumi:"clientKeyPass"` - Endpoint string `pulumi:"endpoint"` - Index *string `pulumi:"index"` - Source *string `pulumi:"source"` - SslVerify bool `pulumi:"sslVerify"` - Token string `pulumi:"token"` +// (Computed) Labels for Node Pool object (map) +func (o GetClusterEksConfigV2NodeGroupOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -// GetClusterLoggingSplunkConfigInput is an input type that accepts GetClusterLoggingSplunkConfigArgs and GetClusterLoggingSplunkConfigOutput values. -// You can construct a concrete instance of `GetClusterLoggingSplunkConfigInput` via: -// -// GetClusterLoggingSplunkConfigArgs{...} -type GetClusterLoggingSplunkConfigInput interface { - pulumi.Input +func (o GetClusterEksConfigV2NodeGroupOutput) LaunchTemplates() GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) []GetClusterEksConfigV2NodeGroupLaunchTemplate { + return v.LaunchTemplates + }).(GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) +} - ToGetClusterLoggingSplunkConfigOutput() GetClusterLoggingSplunkConfigOutput - ToGetClusterLoggingSplunkConfigOutputWithContext(context.Context) GetClusterLoggingSplunkConfigOutput +func (o GetClusterEksConfigV2NodeGroupOutput) MaxSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *int { return v.MaxSize }).(pulumi.IntPtrOutput) } -type GetClusterLoggingSplunkConfigArgs struct { - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - Index pulumi.StringPtrInput `pulumi:"index"` - Source pulumi.StringPtrInput `pulumi:"source"` - SslVerify pulumi.BoolInput `pulumi:"sslVerify"` - Token pulumi.StringInput `pulumi:"token"` +func (o GetClusterEksConfigV2NodeGroupOutput) MinSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *int { return v.MinSize }).(pulumi.IntPtrOutput) } -func (GetClusterLoggingSplunkConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingSplunkConfig)(nil)).Elem() +// The name of the Cluster (string) +func (o GetClusterEksConfigV2NodeGroupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) string { return v.Name }).(pulumi.StringOutput) } -func (i GetClusterLoggingSplunkConfigArgs) ToGetClusterLoggingSplunkConfigOutput() GetClusterLoggingSplunkConfigOutput { - return i.ToGetClusterLoggingSplunkConfigOutputWithContext(context.Background()) +func (o GetClusterEksConfigV2NodeGroupOutput) RequestSpotInstances() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) *bool { return v.RequestSpotInstances }).(pulumi.BoolPtrOutput) } -func (i GetClusterLoggingSplunkConfigArgs) ToGetClusterLoggingSplunkConfigOutputWithContext(ctx context.Context) GetClusterLoggingSplunkConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingSplunkConfigOutput) +func (o GetClusterEksConfigV2NodeGroupOutput) ResourceTags() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) map[string]interface{} { return v.ResourceTags }).(pulumi.MapOutput) } -type GetClusterLoggingSplunkConfigOutput struct{ *pulumi.OutputState } +func (o GetClusterEksConfigV2NodeGroupOutput) SpotInstanceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) []string { return v.SpotInstanceTypes }).(pulumi.StringArrayOutput) +} -func (GetClusterLoggingSplunkConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingSplunkConfig)(nil)).Elem() +func (o GetClusterEksConfigV2NodeGroupOutput) Subnets() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) []string { return v.Subnets }).(pulumi.StringArrayOutput) } -func (o GetClusterLoggingSplunkConfigOutput) ToGetClusterLoggingSplunkConfigOutput() GetClusterLoggingSplunkConfigOutput { - return o +func (o GetClusterEksConfigV2NodeGroupOutput) Tags() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) map[string]interface{} { return v.Tags }).(pulumi.MapOutput) } -func (o GetClusterLoggingSplunkConfigOutput) ToGetClusterLoggingSplunkConfigOutputWithContext(ctx context.Context) GetClusterLoggingSplunkConfigOutput { - return o +func (o GetClusterEksConfigV2NodeGroupOutput) UserData() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) string { return v.UserData }).(pulumi.StringOutput) } -func (o GetClusterLoggingSplunkConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2NodeGroupOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroup) string { return v.Version }).(pulumi.StringOutput) } -func (o GetClusterLoggingSplunkConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +type GetClusterEksConfigV2NodeGroupArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterEksConfigV2NodeGroupArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterEksConfigV2NodeGroup)(nil)).Elem() } -func (o GetClusterLoggingSplunkConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2NodeGroupArrayOutput) ToGetClusterEksConfigV2NodeGroupArrayOutput() GetClusterEksConfigV2NodeGroupArrayOutput { + return o } -func (o GetClusterLoggingSplunkConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2NodeGroupArrayOutput) ToGetClusterEksConfigV2NodeGroupArrayOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupArrayOutput { + return o } -func (o GetClusterLoggingSplunkConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterLoggingSplunkConfig) string { return v.Endpoint }).(pulumi.StringOutput) +func (o GetClusterEksConfigV2NodeGroupArrayOutput) Index(i pulumi.IntInput) GetClusterEksConfigV2NodeGroupOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterEksConfigV2NodeGroup { + return vs[0].([]GetClusterEksConfigV2NodeGroup)[vs[1].(int)] + }).(GetClusterEksConfigV2NodeGroupOutput) } -func (o GetClusterLoggingSplunkConfigOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.Index }).(pulumi.StringPtrOutput) +type GetClusterEksConfigV2NodeGroupLaunchTemplate struct { + // (Computed) The ID of the resource (string) + Id string `pulumi:"id"` + // The name of the Cluster (string) + Name string `pulumi:"name"` + Version *int `pulumi:"version"` } -func (o GetClusterLoggingSplunkConfigOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.Source }).(pulumi.StringPtrOutput) +// GetClusterEksConfigV2NodeGroupLaunchTemplateInput is an input type that accepts GetClusterEksConfigV2NodeGroupLaunchTemplateArgs and GetClusterEksConfigV2NodeGroupLaunchTemplateOutput values. +// You can construct a concrete instance of `GetClusterEksConfigV2NodeGroupLaunchTemplateInput` via: +// +// GetClusterEksConfigV2NodeGroupLaunchTemplateArgs{...} +type GetClusterEksConfigV2NodeGroupLaunchTemplateInput interface { + pulumi.Input + + ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateOutput + ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutputWithContext(context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateOutput } -func (o GetClusterLoggingSplunkConfigOutput) SslVerify() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterLoggingSplunkConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) +type GetClusterEksConfigV2NodeGroupLaunchTemplateArgs struct { + // (Computed) The ID of the resource (string) + Id pulumi.StringInput `pulumi:"id"` + // The name of the Cluster (string) + Name pulumi.StringInput `pulumi:"name"` + Version pulumi.IntPtrInput `pulumi:"version"` } -func (o GetClusterLoggingSplunkConfigOutput) Token() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterLoggingSplunkConfig) string { return v.Token }).(pulumi.StringOutput) +func (GetClusterEksConfigV2NodeGroupLaunchTemplateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterEksConfigV2NodeGroupLaunchTemplate)(nil)).Elem() } -type GetClusterLoggingSyslogConfig struct { - Certificate *string `pulumi:"certificate"` - ClientCert *string `pulumi:"clientCert"` - ClientKey *string `pulumi:"clientKey"` - EnableTls *bool `pulumi:"enableTls"` - Endpoint string `pulumi:"endpoint"` - Program *string `pulumi:"program"` - Protocol *string `pulumi:"protocol"` - Severity *string `pulumi:"severity"` - SslVerify bool `pulumi:"sslVerify"` - Token *string `pulumi:"token"` +func (i GetClusterEksConfigV2NodeGroupLaunchTemplateArgs) ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateOutput { + return i.ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutputWithContext(context.Background()) } -// GetClusterLoggingSyslogConfigInput is an input type that accepts GetClusterLoggingSyslogConfigArgs and GetClusterLoggingSyslogConfigOutput values. -// You can construct a concrete instance of `GetClusterLoggingSyslogConfigInput` via: +func (i GetClusterEksConfigV2NodeGroupLaunchTemplateArgs) ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) +} + +// GetClusterEksConfigV2NodeGroupLaunchTemplateArrayInput is an input type that accepts GetClusterEksConfigV2NodeGroupLaunchTemplateArray and GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput values. +// You can construct a concrete instance of `GetClusterEksConfigV2NodeGroupLaunchTemplateArrayInput` via: // -// GetClusterLoggingSyslogConfigArgs{...} -type GetClusterLoggingSyslogConfigInput interface { +// GetClusterEksConfigV2NodeGroupLaunchTemplateArray{ GetClusterEksConfigV2NodeGroupLaunchTemplateArgs{...} } +type GetClusterEksConfigV2NodeGroupLaunchTemplateArrayInput interface { pulumi.Input - ToGetClusterLoggingSyslogConfigOutput() GetClusterLoggingSyslogConfigOutput - ToGetClusterLoggingSyslogConfigOutputWithContext(context.Context) GetClusterLoggingSyslogConfigOutput + ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput + ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutputWithContext(context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput } -type GetClusterLoggingSyslogConfigArgs struct { - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - Program pulumi.StringPtrInput `pulumi:"program"` - Protocol pulumi.StringPtrInput `pulumi:"protocol"` - Severity pulumi.StringPtrInput `pulumi:"severity"` - SslVerify pulumi.BoolInput `pulumi:"sslVerify"` - Token pulumi.StringPtrInput `pulumi:"token"` -} +type GetClusterEksConfigV2NodeGroupLaunchTemplateArray []GetClusterEksConfigV2NodeGroupLaunchTemplateInput -func (GetClusterLoggingSyslogConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingSyslogConfig)(nil)).Elem() +func (GetClusterEksConfigV2NodeGroupLaunchTemplateArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterEksConfigV2NodeGroupLaunchTemplate)(nil)).Elem() } -func (i GetClusterLoggingSyslogConfigArgs) ToGetClusterLoggingSyslogConfigOutput() GetClusterLoggingSyslogConfigOutput { - return i.ToGetClusterLoggingSyslogConfigOutputWithContext(context.Background()) +func (i GetClusterEksConfigV2NodeGroupLaunchTemplateArray) ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput { + return i.ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutputWithContext(context.Background()) } -func (i GetClusterLoggingSyslogConfigArgs) ToGetClusterLoggingSyslogConfigOutputWithContext(ctx context.Context) GetClusterLoggingSyslogConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingSyslogConfigOutput) +func (i GetClusterEksConfigV2NodeGroupLaunchTemplateArray) ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) } -type GetClusterLoggingSyslogConfigOutput struct{ *pulumi.OutputState } +type GetClusterEksConfigV2NodeGroupLaunchTemplateOutput struct{ *pulumi.OutputState } -func (GetClusterLoggingSyslogConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterLoggingSyslogConfig)(nil)).Elem() +func (GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterEksConfigV2NodeGroupLaunchTemplate)(nil)).Elem() } -func (o GetClusterLoggingSyslogConfigOutput) ToGetClusterLoggingSyslogConfigOutput() GetClusterLoggingSyslogConfigOutput { +func (o GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateOutput { return o } -func (o GetClusterLoggingSyslogConfigOutput) ToGetClusterLoggingSyslogConfigOutputWithContext(ctx context.Context) GetClusterLoggingSyslogConfigOutput { +func (o GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) ToGetClusterEksConfigV2NodeGroupLaunchTemplateOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateOutput { return o } -func (o GetClusterLoggingSyslogConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) -} - -func (o GetClusterLoggingSyslogConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) -} - -func (o GetClusterLoggingSyslogConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +// (Computed) The ID of the resource (string) +func (o GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroupLaunchTemplate) string { return v.Id }).(pulumi.StringOutput) } -func (o GetClusterLoggingSyslogConfigOutput) EnableTls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) +// The name of the Cluster (string) +func (o GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroupLaunchTemplate) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterLoggingSyslogConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterLoggingSyslogConfig) string { return v.Endpoint }).(pulumi.StringOutput) +func (o GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) Version() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterEksConfigV2NodeGroupLaunchTemplate) *int { return v.Version }).(pulumi.IntPtrOutput) } -func (o GetClusterLoggingSyslogConfigOutput) Program() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.Program }).(pulumi.StringPtrOutput) -} +type GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput struct{ *pulumi.OutputState } -func (o GetClusterLoggingSyslogConfigOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.Protocol }).(pulumi.StringPtrOutput) +func (GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterEksConfigV2NodeGroupLaunchTemplate)(nil)).Elem() } -func (o GetClusterLoggingSyslogConfigOutput) Severity() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.Severity }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput() GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput { + return o } -func (o GetClusterLoggingSyslogConfigOutput) SslVerify() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterLoggingSyslogConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) +func (o GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) ToGetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutputWithContext(ctx context.Context) GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput { + return o } -func (o GetClusterLoggingSyslogConfigOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.Token }).(pulumi.StringPtrOutput) +func (o GetClusterEksConfigV2NodeGroupLaunchTemplateArrayOutput) Index(i pulumi.IntInput) GetClusterEksConfigV2NodeGroupLaunchTemplateOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterEksConfigV2NodeGroupLaunchTemplate { + return vs[0].([]GetClusterEksConfigV2NodeGroupLaunchTemplate)[vs[1].(int)] + }).(GetClusterEksConfigV2NodeGroupLaunchTemplateOutput) } -type GetClusterOkeConfig struct { - CompartmentId string `pulumi:"compartmentId"` - CustomBootVolumeSize *int `pulumi:"customBootVolumeSize"` +type GetClusterGkeConfig struct { + ClusterIpv4Cidr string `pulumi:"clusterIpv4Cidr"` + Credential string `pulumi:"credential"` // (Computed) The description for Cluster (string) - Description *string `pulumi:"description"` - EnableKubernetesDashboard *bool `pulumi:"enableKubernetesDashboard"` - EnablePrivateControlPlane *bool `pulumi:"enablePrivateControlPlane"` - EnablePrivateNodes *bool `pulumi:"enablePrivateNodes"` - Fingerprint string `pulumi:"fingerprint"` - FlexOcpus *int `pulumi:"flexOcpus"` - KmsKeyId *string `pulumi:"kmsKeyId"` - KubernetesVersion string `pulumi:"kubernetesVersion"` - LimitNodeCount *int `pulumi:"limitNodeCount"` - LoadBalancerSubnetName1 *string `pulumi:"loadBalancerSubnetName1"` - LoadBalancerSubnetName2 *string `pulumi:"loadBalancerSubnetName2"` - NodeImage string `pulumi:"nodeImage"` - NodePoolDnsDomainName *string `pulumi:"nodePoolDnsDomainName"` - NodePoolSubnetName *string `pulumi:"nodePoolSubnetName"` - NodePublicKeyContents *string `pulumi:"nodePublicKeyContents"` - NodeShape string `pulumi:"nodeShape"` - PodCidr *string `pulumi:"podCidr"` - PrivateKeyContents string `pulumi:"privateKeyContents"` - PrivateKeyPassphrase *string `pulumi:"privateKeyPassphrase"` - QuantityOfNodeSubnets *int `pulumi:"quantityOfNodeSubnets"` - QuantityPerSubnet *int `pulumi:"quantityPerSubnet"` - Region string `pulumi:"region"` - ServiceCidr *string `pulumi:"serviceCidr"` - ServiceDnsDomainName *string `pulumi:"serviceDnsDomainName"` - SkipVcnDelete *bool `pulumi:"skipVcnDelete"` - TenancyId string `pulumi:"tenancyId"` - UserOcid string `pulumi:"userOcid"` - VcnCompartmentId *string `pulumi:"vcnCompartmentId"` - VcnName *string `pulumi:"vcnName"` - WorkerNodeIngressCidr *string `pulumi:"workerNodeIngressCidr"` + Description *string `pulumi:"description"` + DiskSizeGb *int `pulumi:"diskSizeGb"` + DiskType string `pulumi:"diskType"` + EnableAlphaFeature *bool `pulumi:"enableAlphaFeature"` + EnableAutoRepair *bool `pulumi:"enableAutoRepair"` + EnableAutoUpgrade *bool `pulumi:"enableAutoUpgrade"` + EnableHorizontalPodAutoscaling *bool `pulumi:"enableHorizontalPodAutoscaling"` + EnableHttpLoadBalancing *bool `pulumi:"enableHttpLoadBalancing"` + EnableKubernetesDashboard *bool `pulumi:"enableKubernetesDashboard"` + EnableLegacyAbac *bool `pulumi:"enableLegacyAbac"` + EnableMasterAuthorizedNetwork *bool `pulumi:"enableMasterAuthorizedNetwork"` + EnableNetworkPolicyConfig *bool `pulumi:"enableNetworkPolicyConfig"` + EnableNodepoolAutoscaling *bool `pulumi:"enableNodepoolAutoscaling"` + EnablePrivateEndpoint *bool `pulumi:"enablePrivateEndpoint"` + EnablePrivateNodes *bool `pulumi:"enablePrivateNodes"` + EnableStackdriverLogging *bool `pulumi:"enableStackdriverLogging"` + EnableStackdriverMonitoring *bool `pulumi:"enableStackdriverMonitoring"` + ImageType string `pulumi:"imageType"` + IpPolicyClusterIpv4CidrBlock string `pulumi:"ipPolicyClusterIpv4CidrBlock"` + IpPolicyClusterSecondaryRangeName string `pulumi:"ipPolicyClusterSecondaryRangeName"` + IpPolicyCreateSubnetwork *bool `pulumi:"ipPolicyCreateSubnetwork"` + IpPolicyNodeIpv4CidrBlock string `pulumi:"ipPolicyNodeIpv4CidrBlock"` + IpPolicyServicesIpv4CidrBlock string `pulumi:"ipPolicyServicesIpv4CidrBlock"` + IpPolicyServicesSecondaryRangeName string `pulumi:"ipPolicyServicesSecondaryRangeName"` + IpPolicySubnetworkName string `pulumi:"ipPolicySubnetworkName"` + IssueClientCertificate *bool `pulumi:"issueClientCertificate"` + KubernetesDashboard *bool `pulumi:"kubernetesDashboard"` + // (Computed) Labels for Node Pool object (map) + Labels map[string]interface{} `pulumi:"labels"` + LocalSsdCount *int `pulumi:"localSsdCount"` + Locations []string `pulumi:"locations"` + MachineType string `pulumi:"machineType"` + MaintenanceWindow string `pulumi:"maintenanceWindow"` + MasterAuthorizedNetworkCidrBlocks []string `pulumi:"masterAuthorizedNetworkCidrBlocks"` + MasterIpv4CidrBlock string `pulumi:"masterIpv4CidrBlock"` + MasterVersion string `pulumi:"masterVersion"` + MaxNodeCount *int `pulumi:"maxNodeCount"` + MinNodeCount *int `pulumi:"minNodeCount"` + Network string `pulumi:"network"` + NodeCount *int `pulumi:"nodeCount"` + NodePool string `pulumi:"nodePool"` + NodeVersion string `pulumi:"nodeVersion"` + OauthScopes []string `pulumi:"oauthScopes"` + Preemptible *bool `pulumi:"preemptible"` + ProjectId string `pulumi:"projectId"` + Region *string `pulumi:"region"` + ResourceLabels map[string]interface{} `pulumi:"resourceLabels"` + ServiceAccount string `pulumi:"serviceAccount"` + SubNetwork string `pulumi:"subNetwork"` + Taints []string `pulumi:"taints"` + UseIpAliases *bool `pulumi:"useIpAliases"` + Zone *string `pulumi:"zone"` } -// GetClusterOkeConfigInput is an input type that accepts GetClusterOkeConfigArgs and GetClusterOkeConfigOutput values. -// You can construct a concrete instance of `GetClusterOkeConfigInput` via: +// GetClusterGkeConfigInput is an input type that accepts GetClusterGkeConfigArgs and GetClusterGkeConfigOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigInput` via: // -// GetClusterOkeConfigArgs{...} -type GetClusterOkeConfigInput interface { +// GetClusterGkeConfigArgs{...} +type GetClusterGkeConfigInput interface { pulumi.Input - ToGetClusterOkeConfigOutput() GetClusterOkeConfigOutput - ToGetClusterOkeConfigOutputWithContext(context.Context) GetClusterOkeConfigOutput + ToGetClusterGkeConfigOutput() GetClusterGkeConfigOutput + ToGetClusterGkeConfigOutputWithContext(context.Context) GetClusterGkeConfigOutput } -type GetClusterOkeConfigArgs struct { - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - CustomBootVolumeSize pulumi.IntPtrInput `pulumi:"customBootVolumeSize"` +type GetClusterGkeConfigArgs struct { + ClusterIpv4Cidr pulumi.StringInput `pulumi:"clusterIpv4Cidr"` + Credential pulumi.StringInput `pulumi:"credential"` // (Computed) The description for Cluster (string) - Description pulumi.StringPtrInput `pulumi:"description"` - EnableKubernetesDashboard pulumi.BoolPtrInput `pulumi:"enableKubernetesDashboard"` - EnablePrivateControlPlane pulumi.BoolPtrInput `pulumi:"enablePrivateControlPlane"` - EnablePrivateNodes pulumi.BoolPtrInput `pulumi:"enablePrivateNodes"` - Fingerprint pulumi.StringInput `pulumi:"fingerprint"` - FlexOcpus pulumi.IntPtrInput `pulumi:"flexOcpus"` - KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` - KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` - LimitNodeCount pulumi.IntPtrInput `pulumi:"limitNodeCount"` - LoadBalancerSubnetName1 pulumi.StringPtrInput `pulumi:"loadBalancerSubnetName1"` - LoadBalancerSubnetName2 pulumi.StringPtrInput `pulumi:"loadBalancerSubnetName2"` - NodeImage pulumi.StringInput `pulumi:"nodeImage"` - NodePoolDnsDomainName pulumi.StringPtrInput `pulumi:"nodePoolDnsDomainName"` - NodePoolSubnetName pulumi.StringPtrInput `pulumi:"nodePoolSubnetName"` - NodePublicKeyContents pulumi.StringPtrInput `pulumi:"nodePublicKeyContents"` - NodeShape pulumi.StringInput `pulumi:"nodeShape"` - PodCidr pulumi.StringPtrInput `pulumi:"podCidr"` - PrivateKeyContents pulumi.StringInput `pulumi:"privateKeyContents"` - PrivateKeyPassphrase pulumi.StringPtrInput `pulumi:"privateKeyPassphrase"` - QuantityOfNodeSubnets pulumi.IntPtrInput `pulumi:"quantityOfNodeSubnets"` - QuantityPerSubnet pulumi.IntPtrInput `pulumi:"quantityPerSubnet"` - Region pulumi.StringInput `pulumi:"region"` - ServiceCidr pulumi.StringPtrInput `pulumi:"serviceCidr"` - ServiceDnsDomainName pulumi.StringPtrInput `pulumi:"serviceDnsDomainName"` - SkipVcnDelete pulumi.BoolPtrInput `pulumi:"skipVcnDelete"` - TenancyId pulumi.StringInput `pulumi:"tenancyId"` - UserOcid pulumi.StringInput `pulumi:"userOcid"` - VcnCompartmentId pulumi.StringPtrInput `pulumi:"vcnCompartmentId"` - VcnName pulumi.StringPtrInput `pulumi:"vcnName"` - WorkerNodeIngressCidr pulumi.StringPtrInput `pulumi:"workerNodeIngressCidr"` + Description pulumi.StringPtrInput `pulumi:"description"` + DiskSizeGb pulumi.IntPtrInput `pulumi:"diskSizeGb"` + DiskType pulumi.StringInput `pulumi:"diskType"` + EnableAlphaFeature pulumi.BoolPtrInput `pulumi:"enableAlphaFeature"` + EnableAutoRepair pulumi.BoolPtrInput `pulumi:"enableAutoRepair"` + EnableAutoUpgrade pulumi.BoolPtrInput `pulumi:"enableAutoUpgrade"` + EnableHorizontalPodAutoscaling pulumi.BoolPtrInput `pulumi:"enableHorizontalPodAutoscaling"` + EnableHttpLoadBalancing pulumi.BoolPtrInput `pulumi:"enableHttpLoadBalancing"` + EnableKubernetesDashboard pulumi.BoolPtrInput `pulumi:"enableKubernetesDashboard"` + EnableLegacyAbac pulumi.BoolPtrInput `pulumi:"enableLegacyAbac"` + EnableMasterAuthorizedNetwork pulumi.BoolPtrInput `pulumi:"enableMasterAuthorizedNetwork"` + EnableNetworkPolicyConfig pulumi.BoolPtrInput `pulumi:"enableNetworkPolicyConfig"` + EnableNodepoolAutoscaling pulumi.BoolPtrInput `pulumi:"enableNodepoolAutoscaling"` + EnablePrivateEndpoint pulumi.BoolPtrInput `pulumi:"enablePrivateEndpoint"` + EnablePrivateNodes pulumi.BoolPtrInput `pulumi:"enablePrivateNodes"` + EnableStackdriverLogging pulumi.BoolPtrInput `pulumi:"enableStackdriverLogging"` + EnableStackdriverMonitoring pulumi.BoolPtrInput `pulumi:"enableStackdriverMonitoring"` + ImageType pulumi.StringInput `pulumi:"imageType"` + IpPolicyClusterIpv4CidrBlock pulumi.StringInput `pulumi:"ipPolicyClusterIpv4CidrBlock"` + IpPolicyClusterSecondaryRangeName pulumi.StringInput `pulumi:"ipPolicyClusterSecondaryRangeName"` + IpPolicyCreateSubnetwork pulumi.BoolPtrInput `pulumi:"ipPolicyCreateSubnetwork"` + IpPolicyNodeIpv4CidrBlock pulumi.StringInput `pulumi:"ipPolicyNodeIpv4CidrBlock"` + IpPolicyServicesIpv4CidrBlock pulumi.StringInput `pulumi:"ipPolicyServicesIpv4CidrBlock"` + IpPolicyServicesSecondaryRangeName pulumi.StringInput `pulumi:"ipPolicyServicesSecondaryRangeName"` + IpPolicySubnetworkName pulumi.StringInput `pulumi:"ipPolicySubnetworkName"` + IssueClientCertificate pulumi.BoolPtrInput `pulumi:"issueClientCertificate"` + KubernetesDashboard pulumi.BoolPtrInput `pulumi:"kubernetesDashboard"` + // (Computed) Labels for Node Pool object (map) + Labels pulumi.MapInput `pulumi:"labels"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + Locations pulumi.StringArrayInput `pulumi:"locations"` + MachineType pulumi.StringInput `pulumi:"machineType"` + MaintenanceWindow pulumi.StringInput `pulumi:"maintenanceWindow"` + MasterAuthorizedNetworkCidrBlocks pulumi.StringArrayInput `pulumi:"masterAuthorizedNetworkCidrBlocks"` + MasterIpv4CidrBlock pulumi.StringInput `pulumi:"masterIpv4CidrBlock"` + MasterVersion pulumi.StringInput `pulumi:"masterVersion"` + MaxNodeCount pulumi.IntPtrInput `pulumi:"maxNodeCount"` + MinNodeCount pulumi.IntPtrInput `pulumi:"minNodeCount"` + Network pulumi.StringInput `pulumi:"network"` + NodeCount pulumi.IntPtrInput `pulumi:"nodeCount"` + NodePool pulumi.StringInput `pulumi:"nodePool"` + NodeVersion pulumi.StringInput `pulumi:"nodeVersion"` + OauthScopes pulumi.StringArrayInput `pulumi:"oauthScopes"` + Preemptible pulumi.BoolPtrInput `pulumi:"preemptible"` + ProjectId pulumi.StringInput `pulumi:"projectId"` + Region pulumi.StringPtrInput `pulumi:"region"` + ResourceLabels pulumi.MapInput `pulumi:"resourceLabels"` + ServiceAccount pulumi.StringInput `pulumi:"serviceAccount"` + SubNetwork pulumi.StringInput `pulumi:"subNetwork"` + Taints pulumi.StringArrayInput `pulumi:"taints"` + UseIpAliases pulumi.BoolPtrInput `pulumi:"useIpAliases"` + Zone pulumi.StringPtrInput `pulumi:"zone"` } -func (GetClusterOkeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOkeConfig)(nil)).Elem() +func (GetClusterGkeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfig)(nil)).Elem() } -func (i GetClusterOkeConfigArgs) ToGetClusterOkeConfigOutput() GetClusterOkeConfigOutput { - return i.ToGetClusterOkeConfigOutputWithContext(context.Background()) +func (i GetClusterGkeConfigArgs) ToGetClusterGkeConfigOutput() GetClusterGkeConfigOutput { + return i.ToGetClusterGkeConfigOutputWithContext(context.Background()) } -func (i GetClusterOkeConfigArgs) ToGetClusterOkeConfigOutputWithContext(ctx context.Context) GetClusterOkeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterOkeConfigOutput) +func (i GetClusterGkeConfigArgs) ToGetClusterGkeConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigOutput) } -type GetClusterOkeConfigOutput struct{ *pulumi.OutputState } +type GetClusterGkeConfigOutput struct{ *pulumi.OutputState } -func (GetClusterOkeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterOkeConfig)(nil)).Elem() +func (GetClusterGkeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfig)(nil)).Elem() } -func (o GetClusterOkeConfigOutput) ToGetClusterOkeConfigOutput() GetClusterOkeConfigOutput { +func (o GetClusterGkeConfigOutput) ToGetClusterGkeConfigOutput() GetClusterGkeConfigOutput { return o } -func (o GetClusterOkeConfigOutput) ToGetClusterOkeConfigOutputWithContext(ctx context.Context) GetClusterOkeConfigOutput { +func (o GetClusterGkeConfigOutput) ToGetClusterGkeConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigOutput { return o } -func (o GetClusterOkeConfigOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOkeConfig) string { return v.CompartmentId }).(pulumi.StringOutput) +func (o GetClusterGkeConfigOutput) ClusterIpv4Cidr() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.ClusterIpv4Cidr }).(pulumi.StringOutput) } -func (o GetClusterOkeConfigOutput) CustomBootVolumeSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *int { return v.CustomBootVolumeSize }).(pulumi.IntPtrOutput) +func (o GetClusterGkeConfigOutput) Credential() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.Credential }).(pulumi.StringOutput) } // (Computed) The description for Cluster (string) -func (o GetClusterOkeConfigOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.Description }).(pulumi.StringPtrOutput) -} - -func (o GetClusterOkeConfigOutput) EnableKubernetesDashboard() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *bool { return v.EnableKubernetesDashboard }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterOkeConfigOutput) EnablePrivateControlPlane() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *bool { return v.EnablePrivateControlPlane }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterOkeConfigOutput) EnablePrivateNodes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *bool { return v.EnablePrivateNodes }).(pulumi.BoolPtrOutput) +func (o GetClusterGkeConfigOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o GetClusterOkeConfigOutput) Fingerprint() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOkeConfig) string { return v.Fingerprint }).(pulumi.StringOutput) +func (o GetClusterGkeConfigOutput) DiskSizeGb() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *int { return v.DiskSizeGb }).(pulumi.IntPtrOutput) } -func (o GetClusterOkeConfigOutput) FlexOcpus() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *int { return v.FlexOcpus }).(pulumi.IntPtrOutput) +func (o GetClusterGkeConfigOutput) DiskType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.DiskType }).(pulumi.StringOutput) } -func (o GetClusterOkeConfigOutput) KmsKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.KmsKeyId }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) EnableAlphaFeature() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableAlphaFeature }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) KubernetesVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOkeConfig) string { return v.KubernetesVersion }).(pulumi.StringOutput) +func (o GetClusterGkeConfigOutput) EnableAutoRepair() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableAutoRepair }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) LimitNodeCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *int { return v.LimitNodeCount }).(pulumi.IntPtrOutput) +func (o GetClusterGkeConfigOutput) EnableAutoUpgrade() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableAutoUpgrade }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) LoadBalancerSubnetName1() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.LoadBalancerSubnetName1 }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) EnableHorizontalPodAutoscaling() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableHorizontalPodAutoscaling }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) LoadBalancerSubnetName2() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.LoadBalancerSubnetName2 }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) EnableHttpLoadBalancing() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableHttpLoadBalancing }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) NodeImage() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOkeConfig) string { return v.NodeImage }).(pulumi.StringOutput) +func (o GetClusterGkeConfigOutput) EnableKubernetesDashboard() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableKubernetesDashboard }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) NodePoolDnsDomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.NodePoolDnsDomainName }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) EnableLegacyAbac() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableLegacyAbac }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) NodePoolSubnetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.NodePoolSubnetName }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) EnableMasterAuthorizedNetwork() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableMasterAuthorizedNetwork }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) NodePublicKeyContents() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.NodePublicKeyContents }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) EnableNetworkPolicyConfig() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableNetworkPolicyConfig }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) NodeShape() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOkeConfig) string { return v.NodeShape }).(pulumi.StringOutput) +func (o GetClusterGkeConfigOutput) EnableNodepoolAutoscaling() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableNodepoolAutoscaling }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) PodCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.PodCidr }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) EnablePrivateEndpoint() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnablePrivateEndpoint }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) PrivateKeyContents() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOkeConfig) string { return v.PrivateKeyContents }).(pulumi.StringOutput) +func (o GetClusterGkeConfigOutput) EnablePrivateNodes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnablePrivateNodes }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) PrivateKeyPassphrase() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.PrivateKeyPassphrase }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) EnableStackdriverLogging() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableStackdriverLogging }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) QuantityOfNodeSubnets() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *int { return v.QuantityOfNodeSubnets }).(pulumi.IntPtrOutput) +func (o GetClusterGkeConfigOutput) EnableStackdriverMonitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.EnableStackdriverMonitoring }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) QuantityPerSubnet() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *int { return v.QuantityPerSubnet }).(pulumi.IntPtrOutput) +func (o GetClusterGkeConfigOutput) ImageType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.ImageType }).(pulumi.StringOutput) } -func (o GetClusterOkeConfigOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOkeConfig) string { return v.Region }).(pulumi.StringOutput) +func (o GetClusterGkeConfigOutput) IpPolicyClusterIpv4CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicyClusterIpv4CidrBlock }).(pulumi.StringOutput) } -func (o GetClusterOkeConfigOutput) ServiceCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.ServiceCidr }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) IpPolicyClusterSecondaryRangeName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicyClusterSecondaryRangeName }).(pulumi.StringOutput) } -func (o GetClusterOkeConfigOutput) ServiceDnsDomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.ServiceDnsDomainName }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) IpPolicyCreateSubnetwork() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.IpPolicyCreateSubnetwork }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) SkipVcnDelete() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *bool { return v.SkipVcnDelete }).(pulumi.BoolPtrOutput) +func (o GetClusterGkeConfigOutput) IpPolicyNodeIpv4CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicyNodeIpv4CidrBlock }).(pulumi.StringOutput) } -func (o GetClusterOkeConfigOutput) TenancyId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOkeConfig) string { return v.TenancyId }).(pulumi.StringOutput) +func (o GetClusterGkeConfigOutput) IpPolicyServicesIpv4CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicyServicesIpv4CidrBlock }).(pulumi.StringOutput) } -func (o GetClusterOkeConfigOutput) UserOcid() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterOkeConfig) string { return v.UserOcid }).(pulumi.StringOutput) +func (o GetClusterGkeConfigOutput) IpPolicyServicesSecondaryRangeName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicyServicesSecondaryRangeName }).(pulumi.StringOutput) } -func (o GetClusterOkeConfigOutput) VcnCompartmentId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.VcnCompartmentId }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) IpPolicySubnetworkName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.IpPolicySubnetworkName }).(pulumi.StringOutput) } -func (o GetClusterOkeConfigOutput) VcnName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.VcnName }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) IssueClientCertificate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.IssueClientCertificate }).(pulumi.BoolPtrOutput) } -func (o GetClusterOkeConfigOutput) WorkerNodeIngressCidr() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.WorkerNodeIngressCidr }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigOutput) KubernetesDashboard() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.KubernetesDashboard }).(pulumi.BoolPtrOutput) } -type GetClusterRke2Config struct { - UpgradeStrategy GetClusterRke2ConfigUpgradeStrategy `pulumi:"upgradeStrategy"` - Version string `pulumi:"version"` +// (Computed) Labels for Node Pool object (map) +func (o GetClusterGkeConfigOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterGkeConfig) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -// GetClusterRke2ConfigInput is an input type that accepts GetClusterRke2ConfigArgs and GetClusterRke2ConfigOutput values. -// You can construct a concrete instance of `GetClusterRke2ConfigInput` via: -// -// GetClusterRke2ConfigArgs{...} -type GetClusterRke2ConfigInput interface { - pulumi.Input - - ToGetClusterRke2ConfigOutput() GetClusterRke2ConfigOutput - ToGetClusterRke2ConfigOutputWithContext(context.Context) GetClusterRke2ConfigOutput +func (o GetClusterGkeConfigOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -type GetClusterRke2ConfigArgs struct { - UpgradeStrategy GetClusterRke2ConfigUpgradeStrategyInput `pulumi:"upgradeStrategy"` - Version pulumi.StringInput `pulumi:"version"` +func (o GetClusterGkeConfigOutput) Locations() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterGkeConfig) []string { return v.Locations }).(pulumi.StringArrayOutput) } -func (GetClusterRke2ConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRke2Config)(nil)).Elem() +func (o GetClusterGkeConfigOutput) MachineType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.MachineType }).(pulumi.StringOutput) } -func (i GetClusterRke2ConfigArgs) ToGetClusterRke2ConfigOutput() GetClusterRke2ConfigOutput { - return i.ToGetClusterRke2ConfigOutputWithContext(context.Background()) +func (o GetClusterGkeConfigOutput) MaintenanceWindow() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.MaintenanceWindow }).(pulumi.StringOutput) } -func (i GetClusterRke2ConfigArgs) ToGetClusterRke2ConfigOutputWithContext(ctx context.Context) GetClusterRke2ConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRke2ConfigOutput) +func (o GetClusterGkeConfigOutput) MasterAuthorizedNetworkCidrBlocks() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterGkeConfig) []string { return v.MasterAuthorizedNetworkCidrBlocks }).(pulumi.StringArrayOutput) } -type GetClusterRke2ConfigOutput struct{ *pulumi.OutputState } - -func (GetClusterRke2ConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRke2Config)(nil)).Elem() +func (o GetClusterGkeConfigOutput) MasterIpv4CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.MasterIpv4CidrBlock }).(pulumi.StringOutput) } -func (o GetClusterRke2ConfigOutput) ToGetClusterRke2ConfigOutput() GetClusterRke2ConfigOutput { - return o +func (o GetClusterGkeConfigOutput) MasterVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.MasterVersion }).(pulumi.StringOutput) } -func (o GetClusterRke2ConfigOutput) ToGetClusterRke2ConfigOutputWithContext(ctx context.Context) GetClusterRke2ConfigOutput { - return o +func (o GetClusterGkeConfigOutput) MaxNodeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *int { return v.MaxNodeCount }).(pulumi.IntPtrOutput) } -func (o GetClusterRke2ConfigOutput) UpgradeStrategy() GetClusterRke2ConfigUpgradeStrategyOutput { - return o.ApplyT(func(v GetClusterRke2Config) GetClusterRke2ConfigUpgradeStrategy { return v.UpgradeStrategy }).(GetClusterRke2ConfigUpgradeStrategyOutput) +func (o GetClusterGkeConfigOutput) MinNodeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *int { return v.MinNodeCount }).(pulumi.IntPtrOutput) } -func (o GetClusterRke2ConfigOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRke2Config) string { return v.Version }).(pulumi.StringOutput) +func (o GetClusterGkeConfigOutput) Network() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.Network }).(pulumi.StringOutput) } -type GetClusterRke2ConfigUpgradeStrategy struct { - DrainServerNodes *bool `pulumi:"drainServerNodes"` - DrainWorkerNodes *bool `pulumi:"drainWorkerNodes"` - ServerConcurrency *int `pulumi:"serverConcurrency"` - WorkerConcurrency *int `pulumi:"workerConcurrency"` +func (o GetClusterGkeConfigOutput) NodeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *int { return v.NodeCount }).(pulumi.IntPtrOutput) } -// GetClusterRke2ConfigUpgradeStrategyInput is an input type that accepts GetClusterRke2ConfigUpgradeStrategyArgs and GetClusterRke2ConfigUpgradeStrategyOutput values. -// You can construct a concrete instance of `GetClusterRke2ConfigUpgradeStrategyInput` via: -// -// GetClusterRke2ConfigUpgradeStrategyArgs{...} -type GetClusterRke2ConfigUpgradeStrategyInput interface { - pulumi.Input - - ToGetClusterRke2ConfigUpgradeStrategyOutput() GetClusterRke2ConfigUpgradeStrategyOutput - ToGetClusterRke2ConfigUpgradeStrategyOutputWithContext(context.Context) GetClusterRke2ConfigUpgradeStrategyOutput +func (o GetClusterGkeConfigOutput) NodePool() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.NodePool }).(pulumi.StringOutput) } -type GetClusterRke2ConfigUpgradeStrategyArgs struct { - DrainServerNodes pulumi.BoolPtrInput `pulumi:"drainServerNodes"` - DrainWorkerNodes pulumi.BoolPtrInput `pulumi:"drainWorkerNodes"` - ServerConcurrency pulumi.IntPtrInput `pulumi:"serverConcurrency"` - WorkerConcurrency pulumi.IntPtrInput `pulumi:"workerConcurrency"` +func (o GetClusterGkeConfigOutput) NodeVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.NodeVersion }).(pulumi.StringOutput) } -func (GetClusterRke2ConfigUpgradeStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRke2ConfigUpgradeStrategy)(nil)).Elem() +func (o GetClusterGkeConfigOutput) OauthScopes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterGkeConfig) []string { return v.OauthScopes }).(pulumi.StringArrayOutput) } -func (i GetClusterRke2ConfigUpgradeStrategyArgs) ToGetClusterRke2ConfigUpgradeStrategyOutput() GetClusterRke2ConfigUpgradeStrategyOutput { - return i.ToGetClusterRke2ConfigUpgradeStrategyOutputWithContext(context.Background()) +func (o GetClusterGkeConfigOutput) Preemptible() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.Preemptible }).(pulumi.BoolPtrOutput) } -func (i GetClusterRke2ConfigUpgradeStrategyArgs) ToGetClusterRke2ConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterRke2ConfigUpgradeStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRke2ConfigUpgradeStrategyOutput) +func (o GetClusterGkeConfigOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.ProjectId }).(pulumi.StringOutput) } -type GetClusterRke2ConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } - -func (GetClusterRke2ConfigUpgradeStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRke2ConfigUpgradeStrategy)(nil)).Elem() +func (o GetClusterGkeConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o GetClusterRke2ConfigUpgradeStrategyOutput) ToGetClusterRke2ConfigUpgradeStrategyOutput() GetClusterRke2ConfigUpgradeStrategyOutput { - return o +func (o GetClusterGkeConfigOutput) ResourceLabels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterGkeConfig) map[string]interface{} { return v.ResourceLabels }).(pulumi.MapOutput) } -func (o GetClusterRke2ConfigUpgradeStrategyOutput) ToGetClusterRke2ConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterRke2ConfigUpgradeStrategyOutput { - return o +func (o GetClusterGkeConfigOutput) ServiceAccount() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.ServiceAccount }).(pulumi.StringOutput) } -func (o GetClusterRke2ConfigUpgradeStrategyOutput) DrainServerNodes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRke2ConfigUpgradeStrategy) *bool { return v.DrainServerNodes }).(pulumi.BoolPtrOutput) +func (o GetClusterGkeConfigOutput) SubNetwork() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfig) string { return v.SubNetwork }).(pulumi.StringOutput) } -func (o GetClusterRke2ConfigUpgradeStrategyOutput) DrainWorkerNodes() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRke2ConfigUpgradeStrategy) *bool { return v.DrainWorkerNodes }).(pulumi.BoolPtrOutput) +func (o GetClusterGkeConfigOutput) Taints() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterGkeConfig) []string { return v.Taints }).(pulumi.StringArrayOutput) } -func (o GetClusterRke2ConfigUpgradeStrategyOutput) ServerConcurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRke2ConfigUpgradeStrategy) *int { return v.ServerConcurrency }).(pulumi.IntPtrOutput) +func (o GetClusterGkeConfigOutput) UseIpAliases() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *bool { return v.UseIpAliases }).(pulumi.BoolPtrOutput) } -func (o GetClusterRke2ConfigUpgradeStrategyOutput) WorkerConcurrency() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRke2ConfigUpgradeStrategy) *int { return v.WorkerConcurrency }).(pulumi.IntPtrOutput) +func (o GetClusterGkeConfigOutput) Zone() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfig) *string { return v.Zone }).(pulumi.StringPtrOutput) } - -type GetClusterRkeConfig struct { - AddonJobTimeout int `pulumi:"addonJobTimeout"` - Addons *string `pulumi:"addons"` - AddonsIncludes []string `pulumi:"addonsIncludes"` - Authentication GetClusterRkeConfigAuthentication `pulumi:"authentication"` - Authorization GetClusterRkeConfigAuthorization `pulumi:"authorization"` - BastionHost GetClusterRkeConfigBastionHost `pulumi:"bastionHost"` - CloudProvider GetClusterRkeConfigCloudProvider `pulumi:"cloudProvider"` - Dns GetClusterRkeConfigDns `pulumi:"dns"` - EnableCriDockerd *bool `pulumi:"enableCriDockerd"` - IgnoreDockerVersion *bool `pulumi:"ignoreDockerVersion"` - Ingress GetClusterRkeConfigIngress `pulumi:"ingress"` - KubernetesVersion string `pulumi:"kubernetesVersion"` - Monitoring GetClusterRkeConfigMonitoring `pulumi:"monitoring"` - Network GetClusterRkeConfigNetwork `pulumi:"network"` - Nodes []GetClusterRkeConfigNode `pulumi:"nodes"` - PrefixPath string `pulumi:"prefixPath"` - PrivateRegistries []GetClusterRkeConfigPrivateRegistry `pulumi:"privateRegistries"` - Services GetClusterRkeConfigServices `pulumi:"services"` - SshAgentAuth *bool `pulumi:"sshAgentAuth"` - SshCertPath string `pulumi:"sshCertPath"` - SshKeyPath string `pulumi:"sshKeyPath"` - UpgradeStrategy GetClusterRkeConfigUpgradeStrategy `pulumi:"upgradeStrategy"` - WinPrefixPath string `pulumi:"winPrefixPath"` + +type GetClusterGkeConfigV2 struct { + ClusterAddons GetClusterGkeConfigV2ClusterAddons `pulumi:"clusterAddons"` + ClusterIpv4CidrBlock string `pulumi:"clusterIpv4CidrBlock"` + // (Computed) The description for Cluster (string) + Description string `pulumi:"description"` + EnableKubernetesAlpha bool `pulumi:"enableKubernetesAlpha"` + GoogleCredentialSecret string `pulumi:"googleCredentialSecret"` + Imported *bool `pulumi:"imported"` + IpAllocationPolicy GetClusterGkeConfigV2IpAllocationPolicy `pulumi:"ipAllocationPolicy"` + KubernetesVersion string `pulumi:"kubernetesVersion"` + // (Computed) Labels for Node Pool object (map) + Labels map[string]interface{} `pulumi:"labels"` + Locations []string `pulumi:"locations"` + LoggingService string `pulumi:"loggingService"` + MaintenanceWindow string `pulumi:"maintenanceWindow"` + MasterAuthorizedNetworksConfig GetClusterGkeConfigV2MasterAuthorizedNetworksConfig `pulumi:"masterAuthorizedNetworksConfig"` + MonitoringService string `pulumi:"monitoringService"` + // The name of the Cluster (string) + Name string `pulumi:"name"` + Network string `pulumi:"network"` + NetworkPolicyEnabled bool `pulumi:"networkPolicyEnabled"` + NodePools []GetClusterGkeConfigV2NodePool `pulumi:"nodePools"` + PrivateClusterConfig GetClusterGkeConfigV2PrivateClusterConfig `pulumi:"privateClusterConfig"` + ProjectId string `pulumi:"projectId"` + Region string `pulumi:"region"` + Subnetwork string `pulumi:"subnetwork"` + Zone string `pulumi:"zone"` } -// GetClusterRkeConfigInput is an input type that accepts GetClusterRkeConfigArgs and GetClusterRkeConfigOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigInput` via: +// GetClusterGkeConfigV2Input is an input type that accepts GetClusterGkeConfigV2Args and GetClusterGkeConfigV2Output values. +// You can construct a concrete instance of `GetClusterGkeConfigV2Input` via: // -// GetClusterRkeConfigArgs{...} -type GetClusterRkeConfigInput interface { +// GetClusterGkeConfigV2Args{...} +type GetClusterGkeConfigV2Input interface { pulumi.Input - ToGetClusterRkeConfigOutput() GetClusterRkeConfigOutput - ToGetClusterRkeConfigOutputWithContext(context.Context) GetClusterRkeConfigOutput + ToGetClusterGkeConfigV2Output() GetClusterGkeConfigV2Output + ToGetClusterGkeConfigV2OutputWithContext(context.Context) GetClusterGkeConfigV2Output } -type GetClusterRkeConfigArgs struct { - AddonJobTimeout pulumi.IntInput `pulumi:"addonJobTimeout"` - Addons pulumi.StringPtrInput `pulumi:"addons"` - AddonsIncludes pulumi.StringArrayInput `pulumi:"addonsIncludes"` - Authentication GetClusterRkeConfigAuthenticationInput `pulumi:"authentication"` - Authorization GetClusterRkeConfigAuthorizationInput `pulumi:"authorization"` - BastionHost GetClusterRkeConfigBastionHostInput `pulumi:"bastionHost"` - CloudProvider GetClusterRkeConfigCloudProviderInput `pulumi:"cloudProvider"` - Dns GetClusterRkeConfigDnsInput `pulumi:"dns"` - EnableCriDockerd pulumi.BoolPtrInput `pulumi:"enableCriDockerd"` - IgnoreDockerVersion pulumi.BoolPtrInput `pulumi:"ignoreDockerVersion"` - Ingress GetClusterRkeConfigIngressInput `pulumi:"ingress"` - KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` - Monitoring GetClusterRkeConfigMonitoringInput `pulumi:"monitoring"` - Network GetClusterRkeConfigNetworkInput `pulumi:"network"` - Nodes GetClusterRkeConfigNodeArrayInput `pulumi:"nodes"` - PrefixPath pulumi.StringInput `pulumi:"prefixPath"` - PrivateRegistries GetClusterRkeConfigPrivateRegistryArrayInput `pulumi:"privateRegistries"` - Services GetClusterRkeConfigServicesInput `pulumi:"services"` - SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` - SshCertPath pulumi.StringInput `pulumi:"sshCertPath"` - SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` - UpgradeStrategy GetClusterRkeConfigUpgradeStrategyInput `pulumi:"upgradeStrategy"` - WinPrefixPath pulumi.StringInput `pulumi:"winPrefixPath"` +type GetClusterGkeConfigV2Args struct { + ClusterAddons GetClusterGkeConfigV2ClusterAddonsInput `pulumi:"clusterAddons"` + ClusterIpv4CidrBlock pulumi.StringInput `pulumi:"clusterIpv4CidrBlock"` + // (Computed) The description for Cluster (string) + Description pulumi.StringInput `pulumi:"description"` + EnableKubernetesAlpha pulumi.BoolInput `pulumi:"enableKubernetesAlpha"` + GoogleCredentialSecret pulumi.StringInput `pulumi:"googleCredentialSecret"` + Imported pulumi.BoolPtrInput `pulumi:"imported"` + IpAllocationPolicy GetClusterGkeConfigV2IpAllocationPolicyInput `pulumi:"ipAllocationPolicy"` + KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` + // (Computed) Labels for Node Pool object (map) + Labels pulumi.MapInput `pulumi:"labels"` + Locations pulumi.StringArrayInput `pulumi:"locations"` + LoggingService pulumi.StringInput `pulumi:"loggingService"` + MaintenanceWindow pulumi.StringInput `pulumi:"maintenanceWindow"` + MasterAuthorizedNetworksConfig GetClusterGkeConfigV2MasterAuthorizedNetworksConfigInput `pulumi:"masterAuthorizedNetworksConfig"` + MonitoringService pulumi.StringInput `pulumi:"monitoringService"` + // The name of the Cluster (string) + Name pulumi.StringInput `pulumi:"name"` + Network pulumi.StringInput `pulumi:"network"` + NetworkPolicyEnabled pulumi.BoolInput `pulumi:"networkPolicyEnabled"` + NodePools GetClusterGkeConfigV2NodePoolArrayInput `pulumi:"nodePools"` + PrivateClusterConfig GetClusterGkeConfigV2PrivateClusterConfigInput `pulumi:"privateClusterConfig"` + ProjectId pulumi.StringInput `pulumi:"projectId"` + Region pulumi.StringInput `pulumi:"region"` + Subnetwork pulumi.StringInput `pulumi:"subnetwork"` + Zone pulumi.StringInput `pulumi:"zone"` } -func (GetClusterRkeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfig)(nil)).Elem() +func (GetClusterGkeConfigV2Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2)(nil)).Elem() } -func (i GetClusterRkeConfigArgs) ToGetClusterRkeConfigOutput() GetClusterRkeConfigOutput { - return i.ToGetClusterRkeConfigOutputWithContext(context.Background()) +func (i GetClusterGkeConfigV2Args) ToGetClusterGkeConfigV2Output() GetClusterGkeConfigV2Output { + return i.ToGetClusterGkeConfigV2OutputWithContext(context.Background()) } -func (i GetClusterRkeConfigArgs) ToGetClusterRkeConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigOutput) +func (i GetClusterGkeConfigV2Args) ToGetClusterGkeConfigV2OutputWithContext(ctx context.Context) GetClusterGkeConfigV2Output { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2Output) } -type GetClusterRkeConfigOutput struct{ *pulumi.OutputState } +type GetClusterGkeConfigV2Output struct{ *pulumi.OutputState } -func (GetClusterRkeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfig)(nil)).Elem() +func (GetClusterGkeConfigV2Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2)(nil)).Elem() } -func (o GetClusterRkeConfigOutput) ToGetClusterRkeConfigOutput() GetClusterRkeConfigOutput { +func (o GetClusterGkeConfigV2Output) ToGetClusterGkeConfigV2Output() GetClusterGkeConfigV2Output { return o } -func (o GetClusterRkeConfigOutput) ToGetClusterRkeConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigOutput { +func (o GetClusterGkeConfigV2Output) ToGetClusterGkeConfigV2OutputWithContext(ctx context.Context) GetClusterGkeConfigV2Output { return o } -func (o GetClusterRkeConfigOutput) AddonJobTimeout() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfig) int { return v.AddonJobTimeout }).(pulumi.IntOutput) +func (o GetClusterGkeConfigV2Output) ClusterAddons() GetClusterGkeConfigV2ClusterAddonsOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) GetClusterGkeConfigV2ClusterAddons { return v.ClusterAddons }).(GetClusterGkeConfigV2ClusterAddonsOutput) } -func (o GetClusterRkeConfigOutput) Addons() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfig) *string { return v.Addons }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigV2Output) ClusterIpv4CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.ClusterIpv4CidrBlock }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) AddonsIncludes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfig) []string { return v.AddonsIncludes }).(pulumi.StringArrayOutput) +// (Computed) The description for Cluster (string) +func (o GetClusterGkeConfigV2Output) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Description }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) Authentication() GetClusterRkeConfigAuthenticationOutput { - return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigAuthentication { return v.Authentication }).(GetClusterRkeConfigAuthenticationOutput) +func (o GetClusterGkeConfigV2Output) EnableKubernetesAlpha() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) bool { return v.EnableKubernetesAlpha }).(pulumi.BoolOutput) } -func (o GetClusterRkeConfigOutput) Authorization() GetClusterRkeConfigAuthorizationOutput { - return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigAuthorization { return v.Authorization }).(GetClusterRkeConfigAuthorizationOutput) +func (o GetClusterGkeConfigV2Output) GoogleCredentialSecret() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.GoogleCredentialSecret }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) BastionHost() GetClusterRkeConfigBastionHostOutput { - return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigBastionHost { return v.BastionHost }).(GetClusterRkeConfigBastionHostOutput) +func (o GetClusterGkeConfigV2Output) Imported() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) *bool { return v.Imported }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigOutput) CloudProvider() GetClusterRkeConfigCloudProviderOutput { - return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigCloudProvider { return v.CloudProvider }).(GetClusterRkeConfigCloudProviderOutput) +func (o GetClusterGkeConfigV2Output) IpAllocationPolicy() GetClusterGkeConfigV2IpAllocationPolicyOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) GetClusterGkeConfigV2IpAllocationPolicy { return v.IpAllocationPolicy }).(GetClusterGkeConfigV2IpAllocationPolicyOutput) } -func (o GetClusterRkeConfigOutput) Dns() GetClusterRkeConfigDnsOutput { - return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigDns { return v.Dns }).(GetClusterRkeConfigDnsOutput) +func (o GetClusterGkeConfigV2Output) KubernetesVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.KubernetesVersion }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) EnableCriDockerd() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfig) *bool { return v.EnableCriDockerd }).(pulumi.BoolPtrOutput) +// (Computed) Labels for Node Pool object (map) +func (o GetClusterGkeConfigV2Output) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -func (o GetClusterRkeConfigOutput) IgnoreDockerVersion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfig) *bool { return v.IgnoreDockerVersion }).(pulumi.BoolPtrOutput) +func (o GetClusterGkeConfigV2Output) Locations() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) []string { return v.Locations }).(pulumi.StringArrayOutput) } -func (o GetClusterRkeConfigOutput) Ingress() GetClusterRkeConfigIngressOutput { - return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigIngress { return v.Ingress }).(GetClusterRkeConfigIngressOutput) +func (o GetClusterGkeConfigV2Output) LoggingService() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.LoggingService }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) KubernetesVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfig) string { return v.KubernetesVersion }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2Output) MaintenanceWindow() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.MaintenanceWindow }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) Monitoring() GetClusterRkeConfigMonitoringOutput { - return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigMonitoring { return v.Monitoring }).(GetClusterRkeConfigMonitoringOutput) +func (o GetClusterGkeConfigV2Output) MasterAuthorizedNetworksConfig() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) GetClusterGkeConfigV2MasterAuthorizedNetworksConfig { + return v.MasterAuthorizedNetworksConfig + }).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) } -func (o GetClusterRkeConfigOutput) Network() GetClusterRkeConfigNetworkOutput { - return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigNetwork { return v.Network }).(GetClusterRkeConfigNetworkOutput) +func (o GetClusterGkeConfigV2Output) MonitoringService() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.MonitoringService }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) Nodes() GetClusterRkeConfigNodeArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfig) []GetClusterRkeConfigNode { return v.Nodes }).(GetClusterRkeConfigNodeArrayOutput) +// The name of the Cluster (string) +func (o GetClusterGkeConfigV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) PrefixPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfig) string { return v.PrefixPath }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2Output) Network() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Network }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) PrivateRegistries() GetClusterRkeConfigPrivateRegistryArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfig) []GetClusterRkeConfigPrivateRegistry { return v.PrivateRegistries }).(GetClusterRkeConfigPrivateRegistryArrayOutput) +func (o GetClusterGkeConfigV2Output) NetworkPolicyEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) bool { return v.NetworkPolicyEnabled }).(pulumi.BoolOutput) } -func (o GetClusterRkeConfigOutput) Services() GetClusterRkeConfigServicesOutput { - return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigServices { return v.Services }).(GetClusterRkeConfigServicesOutput) +func (o GetClusterGkeConfigV2Output) NodePools() GetClusterGkeConfigV2NodePoolArrayOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) []GetClusterGkeConfigV2NodePool { return v.NodePools }).(GetClusterGkeConfigV2NodePoolArrayOutput) } -func (o GetClusterRkeConfigOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfig) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) +func (o GetClusterGkeConfigV2Output) PrivateClusterConfig() GetClusterGkeConfigV2PrivateClusterConfigOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) GetClusterGkeConfigV2PrivateClusterConfig { return v.PrivateClusterConfig }).(GetClusterGkeConfigV2PrivateClusterConfigOutput) } -func (o GetClusterRkeConfigOutput) SshCertPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfig) string { return v.SshCertPath }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2Output) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.ProjectId }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) SshKeyPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfig) string { return v.SshKeyPath }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2Output) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Region }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) UpgradeStrategy() GetClusterRkeConfigUpgradeStrategyOutput { - return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigUpgradeStrategy { return v.UpgradeStrategy }).(GetClusterRkeConfigUpgradeStrategyOutput) +func (o GetClusterGkeConfigV2Output) Subnetwork() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Subnetwork }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigOutput) WinPrefixPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfig) string { return v.WinPrefixPath }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2Output) Zone() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2) string { return v.Zone }).(pulumi.StringOutput) } -type GetClusterRkeConfigAuthentication struct { - Sans []string `pulumi:"sans"` - Strategy string `pulumi:"strategy"` +type GetClusterGkeConfigV2ClusterAddons struct { + HorizontalPodAutoscaling bool `pulumi:"horizontalPodAutoscaling"` + HttpLoadBalancing bool `pulumi:"httpLoadBalancing"` + NetworkPolicyConfig bool `pulumi:"networkPolicyConfig"` } -// GetClusterRkeConfigAuthenticationInput is an input type that accepts GetClusterRkeConfigAuthenticationArgs and GetClusterRkeConfigAuthenticationOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigAuthenticationInput` via: +// GetClusterGkeConfigV2ClusterAddonsInput is an input type that accepts GetClusterGkeConfigV2ClusterAddonsArgs and GetClusterGkeConfigV2ClusterAddonsOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2ClusterAddonsInput` via: // -// GetClusterRkeConfigAuthenticationArgs{...} -type GetClusterRkeConfigAuthenticationInput interface { +// GetClusterGkeConfigV2ClusterAddonsArgs{...} +type GetClusterGkeConfigV2ClusterAddonsInput interface { pulumi.Input - ToGetClusterRkeConfigAuthenticationOutput() GetClusterRkeConfigAuthenticationOutput - ToGetClusterRkeConfigAuthenticationOutputWithContext(context.Context) GetClusterRkeConfigAuthenticationOutput + ToGetClusterGkeConfigV2ClusterAddonsOutput() GetClusterGkeConfigV2ClusterAddonsOutput + ToGetClusterGkeConfigV2ClusterAddonsOutputWithContext(context.Context) GetClusterGkeConfigV2ClusterAddonsOutput } -type GetClusterRkeConfigAuthenticationArgs struct { - Sans pulumi.StringArrayInput `pulumi:"sans"` - Strategy pulumi.StringInput `pulumi:"strategy"` +type GetClusterGkeConfigV2ClusterAddonsArgs struct { + HorizontalPodAutoscaling pulumi.BoolInput `pulumi:"horizontalPodAutoscaling"` + HttpLoadBalancing pulumi.BoolInput `pulumi:"httpLoadBalancing"` + NetworkPolicyConfig pulumi.BoolInput `pulumi:"networkPolicyConfig"` } -func (GetClusterRkeConfigAuthenticationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigAuthentication)(nil)).Elem() +func (GetClusterGkeConfigV2ClusterAddonsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2ClusterAddons)(nil)).Elem() } -func (i GetClusterRkeConfigAuthenticationArgs) ToGetClusterRkeConfigAuthenticationOutput() GetClusterRkeConfigAuthenticationOutput { - return i.ToGetClusterRkeConfigAuthenticationOutputWithContext(context.Background()) +func (i GetClusterGkeConfigV2ClusterAddonsArgs) ToGetClusterGkeConfigV2ClusterAddonsOutput() GetClusterGkeConfigV2ClusterAddonsOutput { + return i.ToGetClusterGkeConfigV2ClusterAddonsOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigAuthenticationArgs) ToGetClusterRkeConfigAuthenticationOutputWithContext(ctx context.Context) GetClusterRkeConfigAuthenticationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigAuthenticationOutput) +func (i GetClusterGkeConfigV2ClusterAddonsArgs) ToGetClusterGkeConfigV2ClusterAddonsOutputWithContext(ctx context.Context) GetClusterGkeConfigV2ClusterAddonsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2ClusterAddonsOutput) } -type GetClusterRkeConfigAuthenticationOutput struct{ *pulumi.OutputState } +type GetClusterGkeConfigV2ClusterAddonsOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigAuthenticationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigAuthentication)(nil)).Elem() +func (GetClusterGkeConfigV2ClusterAddonsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2ClusterAddons)(nil)).Elem() } -func (o GetClusterRkeConfigAuthenticationOutput) ToGetClusterRkeConfigAuthenticationOutput() GetClusterRkeConfigAuthenticationOutput { +func (o GetClusterGkeConfigV2ClusterAddonsOutput) ToGetClusterGkeConfigV2ClusterAddonsOutput() GetClusterGkeConfigV2ClusterAddonsOutput { return o } -func (o GetClusterRkeConfigAuthenticationOutput) ToGetClusterRkeConfigAuthenticationOutputWithContext(ctx context.Context) GetClusterRkeConfigAuthenticationOutput { +func (o GetClusterGkeConfigV2ClusterAddonsOutput) ToGetClusterGkeConfigV2ClusterAddonsOutputWithContext(ctx context.Context) GetClusterGkeConfigV2ClusterAddonsOutput { return o } -func (o GetClusterRkeConfigAuthenticationOutput) Sans() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigAuthentication) []string { return v.Sans }).(pulumi.StringArrayOutput) +func (o GetClusterGkeConfigV2ClusterAddonsOutput) HorizontalPodAutoscaling() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2ClusterAddons) bool { return v.HorizontalPodAutoscaling }).(pulumi.BoolOutput) } -func (o GetClusterRkeConfigAuthenticationOutput) Strategy() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigAuthentication) string { return v.Strategy }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2ClusterAddonsOutput) HttpLoadBalancing() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2ClusterAddons) bool { return v.HttpLoadBalancing }).(pulumi.BoolOutput) } -type GetClusterRkeConfigAuthorization struct { - Mode *string `pulumi:"mode"` - Options map[string]interface{} `pulumi:"options"` +func (o GetClusterGkeConfigV2ClusterAddonsOutput) NetworkPolicyConfig() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2ClusterAddons) bool { return v.NetworkPolicyConfig }).(pulumi.BoolOutput) } -// GetClusterRkeConfigAuthorizationInput is an input type that accepts GetClusterRkeConfigAuthorizationArgs and GetClusterRkeConfigAuthorizationOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigAuthorizationInput` via: +type GetClusterGkeConfigV2IpAllocationPolicy struct { + ClusterIpv4CidrBlock string `pulumi:"clusterIpv4CidrBlock"` + ClusterSecondaryRangeName string `pulumi:"clusterSecondaryRangeName"` + CreateSubnetwork bool `pulumi:"createSubnetwork"` + NodeIpv4CidrBlock string `pulumi:"nodeIpv4CidrBlock"` + ServicesIpv4CidrBlock string `pulumi:"servicesIpv4CidrBlock"` + ServicesSecondaryRangeName string `pulumi:"servicesSecondaryRangeName"` + SubnetworkName string `pulumi:"subnetworkName"` + UseIpAliases bool `pulumi:"useIpAliases"` +} + +// GetClusterGkeConfigV2IpAllocationPolicyInput is an input type that accepts GetClusterGkeConfigV2IpAllocationPolicyArgs and GetClusterGkeConfigV2IpAllocationPolicyOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2IpAllocationPolicyInput` via: // -// GetClusterRkeConfigAuthorizationArgs{...} -type GetClusterRkeConfigAuthorizationInput interface { +// GetClusterGkeConfigV2IpAllocationPolicyArgs{...} +type GetClusterGkeConfigV2IpAllocationPolicyInput interface { pulumi.Input - ToGetClusterRkeConfigAuthorizationOutput() GetClusterRkeConfigAuthorizationOutput - ToGetClusterRkeConfigAuthorizationOutputWithContext(context.Context) GetClusterRkeConfigAuthorizationOutput + ToGetClusterGkeConfigV2IpAllocationPolicyOutput() GetClusterGkeConfigV2IpAllocationPolicyOutput + ToGetClusterGkeConfigV2IpAllocationPolicyOutputWithContext(context.Context) GetClusterGkeConfigV2IpAllocationPolicyOutput } -type GetClusterRkeConfigAuthorizationArgs struct { - Mode pulumi.StringPtrInput `pulumi:"mode"` - Options pulumi.MapInput `pulumi:"options"` +type GetClusterGkeConfigV2IpAllocationPolicyArgs struct { + ClusterIpv4CidrBlock pulumi.StringInput `pulumi:"clusterIpv4CidrBlock"` + ClusterSecondaryRangeName pulumi.StringInput `pulumi:"clusterSecondaryRangeName"` + CreateSubnetwork pulumi.BoolInput `pulumi:"createSubnetwork"` + NodeIpv4CidrBlock pulumi.StringInput `pulumi:"nodeIpv4CidrBlock"` + ServicesIpv4CidrBlock pulumi.StringInput `pulumi:"servicesIpv4CidrBlock"` + ServicesSecondaryRangeName pulumi.StringInput `pulumi:"servicesSecondaryRangeName"` + SubnetworkName pulumi.StringInput `pulumi:"subnetworkName"` + UseIpAliases pulumi.BoolInput `pulumi:"useIpAliases"` } -func (GetClusterRkeConfigAuthorizationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigAuthorization)(nil)).Elem() +func (GetClusterGkeConfigV2IpAllocationPolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2IpAllocationPolicy)(nil)).Elem() } -func (i GetClusterRkeConfigAuthorizationArgs) ToGetClusterRkeConfigAuthorizationOutput() GetClusterRkeConfigAuthorizationOutput { - return i.ToGetClusterRkeConfigAuthorizationOutputWithContext(context.Background()) +func (i GetClusterGkeConfigV2IpAllocationPolicyArgs) ToGetClusterGkeConfigV2IpAllocationPolicyOutput() GetClusterGkeConfigV2IpAllocationPolicyOutput { + return i.ToGetClusterGkeConfigV2IpAllocationPolicyOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigAuthorizationArgs) ToGetClusterRkeConfigAuthorizationOutputWithContext(ctx context.Context) GetClusterRkeConfigAuthorizationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigAuthorizationOutput) +func (i GetClusterGkeConfigV2IpAllocationPolicyArgs) ToGetClusterGkeConfigV2IpAllocationPolicyOutputWithContext(ctx context.Context) GetClusterGkeConfigV2IpAllocationPolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2IpAllocationPolicyOutput) } -type GetClusterRkeConfigAuthorizationOutput struct{ *pulumi.OutputState } +type GetClusterGkeConfigV2IpAllocationPolicyOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigAuthorizationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigAuthorization)(nil)).Elem() +func (GetClusterGkeConfigV2IpAllocationPolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2IpAllocationPolicy)(nil)).Elem() } -func (o GetClusterRkeConfigAuthorizationOutput) ToGetClusterRkeConfigAuthorizationOutput() GetClusterRkeConfigAuthorizationOutput { +func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ToGetClusterGkeConfigV2IpAllocationPolicyOutput() GetClusterGkeConfigV2IpAllocationPolicyOutput { return o } -func (o GetClusterRkeConfigAuthorizationOutput) ToGetClusterRkeConfigAuthorizationOutputWithContext(ctx context.Context) GetClusterRkeConfigAuthorizationOutput { +func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ToGetClusterGkeConfigV2IpAllocationPolicyOutputWithContext(ctx context.Context) GetClusterGkeConfigV2IpAllocationPolicyOutput { return o } -func (o GetClusterRkeConfigAuthorizationOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigAuthorization) *string { return v.Mode }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ClusterIpv4CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.ClusterIpv4CidrBlock }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigAuthorizationOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigAuthorization) map[string]interface{} { return v.Options }).(pulumi.MapOutput) +func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ClusterSecondaryRangeName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.ClusterSecondaryRangeName }).(pulumi.StringOutput) } -type GetClusterRkeConfigBastionHost struct { - Address string `pulumi:"address"` - Port *string `pulumi:"port"` - SshAgentAuth *bool `pulumi:"sshAgentAuth"` - SshKey string `pulumi:"sshKey"` - SshKeyPath string `pulumi:"sshKeyPath"` - User string `pulumi:"user"` +func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) CreateSubnetwork() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) bool { return v.CreateSubnetwork }).(pulumi.BoolOutput) } -// GetClusterRkeConfigBastionHostInput is an input type that accepts GetClusterRkeConfigBastionHostArgs and GetClusterRkeConfigBastionHostOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigBastionHostInput` via: -// -// GetClusterRkeConfigBastionHostArgs{...} -type GetClusterRkeConfigBastionHostInput interface { - pulumi.Input +func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) NodeIpv4CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.NodeIpv4CidrBlock }).(pulumi.StringOutput) +} - ToGetClusterRkeConfigBastionHostOutput() GetClusterRkeConfigBastionHostOutput - ToGetClusterRkeConfigBastionHostOutputWithContext(context.Context) GetClusterRkeConfigBastionHostOutput +func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ServicesIpv4CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.ServicesIpv4CidrBlock }).(pulumi.StringOutput) } -type GetClusterRkeConfigBastionHostArgs struct { - Address pulumi.StringInput `pulumi:"address"` - Port pulumi.StringPtrInput `pulumi:"port"` - SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` - SshKey pulumi.StringInput `pulumi:"sshKey"` - SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` - User pulumi.StringInput `pulumi:"user"` +func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) ServicesSecondaryRangeName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.ServicesSecondaryRangeName }).(pulumi.StringOutput) } -func (GetClusterRkeConfigBastionHostArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigBastionHost)(nil)).Elem() +func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) SubnetworkName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) string { return v.SubnetworkName }).(pulumi.StringOutput) } -func (i GetClusterRkeConfigBastionHostArgs) ToGetClusterRkeConfigBastionHostOutput() GetClusterRkeConfigBastionHostOutput { - return i.ToGetClusterRkeConfigBastionHostOutputWithContext(context.Background()) +func (o GetClusterGkeConfigV2IpAllocationPolicyOutput) UseIpAliases() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2IpAllocationPolicy) bool { return v.UseIpAliases }).(pulumi.BoolOutput) } -func (i GetClusterRkeConfigBastionHostArgs) ToGetClusterRkeConfigBastionHostOutputWithContext(ctx context.Context) GetClusterRkeConfigBastionHostOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigBastionHostOutput) +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfig struct { + CidrBlocks []GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock `pulumi:"cidrBlocks"` + Enabled *bool `pulumi:"enabled"` } -type GetClusterRkeConfigBastionHostOutput struct{ *pulumi.OutputState } +// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigInput is an input type that accepts GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs and GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2MasterAuthorizedNetworksConfigInput` via: +// +// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs{...} +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigInput interface { + pulumi.Input -func (GetClusterRkeConfigBastionHostOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigBastionHost)(nil)).Elem() + ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput + ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutputWithContext(context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput } -func (o GetClusterRkeConfigBastionHostOutput) ToGetClusterRkeConfigBastionHostOutput() GetClusterRkeConfigBastionHostOutput { - return o +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs struct { + CidrBlocks GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayInput `pulumi:"cidrBlocks"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (o GetClusterRkeConfigBastionHostOutput) ToGetClusterRkeConfigBastionHostOutputWithContext(ctx context.Context) GetClusterRkeConfigBastionHostOutput { - return o +func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2MasterAuthorizedNetworksConfig)(nil)).Elem() } -func (o GetClusterRkeConfigBastionHostOutput) Address() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigBastionHost) string { return v.Address }).(pulumi.StringOutput) +func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput { + return i.ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigBastionHostOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigBastionHost) *string { return v.Port }).(pulumi.StringPtrOutput) +func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) } -func (o GetClusterRkeConfigBastionHostOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigBastionHost) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput struct{ *pulumi.OutputState } + +func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2MasterAuthorizedNetworksConfig)(nil)).Elem() } -func (o GetClusterRkeConfigBastionHostOutput) SshKey() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigBastionHost) string { return v.SshKey }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput { + return o } -func (o GetClusterRkeConfigBastionHostOutput) SshKeyPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigBastionHost) string { return v.SshKeyPath }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput { + return o } -func (o GetClusterRkeConfigBastionHostOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigBastionHost) string { return v.User }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) CidrBlocks() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2MasterAuthorizedNetworksConfig) []GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock { + return v.CidrBlocks + }).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) } -type GetClusterRkeConfigCloudProvider struct { - AwsCloudProvider *GetClusterRkeConfigCloudProviderAwsCloudProvider `pulumi:"awsCloudProvider"` - AzureCloudProvider *GetClusterRkeConfigCloudProviderAzureCloudProvider `pulumi:"azureCloudProvider"` - CustomCloudProvider string `pulumi:"customCloudProvider"` - // The name of the Cluster (string) - Name *string `pulumi:"name"` - OpenstackCloudProvider *GetClusterRkeConfigCloudProviderOpenstackCloudProvider `pulumi:"openstackCloudProvider"` - VsphereCloudProvider *GetClusterRkeConfigCloudProviderVsphereCloudProvider `pulumi:"vsphereCloudProvider"` +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2MasterAuthorizedNetworksConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -// GetClusterRkeConfigCloudProviderInput is an input type that accepts GetClusterRkeConfigCloudProviderArgs and GetClusterRkeConfigCloudProviderOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderInput` via: +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock struct { + CidrBlock string `pulumi:"cidrBlock"` + DisplayName *string `pulumi:"displayName"` +} + +// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockInput is an input type that accepts GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs and GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockInput` via: // -// GetClusterRkeConfigCloudProviderArgs{...} -type GetClusterRkeConfigCloudProviderInput interface { +// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs{...} +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderOutput() GetClusterRkeConfigCloudProviderOutput - ToGetClusterRkeConfigCloudProviderOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOutput -} - -type GetClusterRkeConfigCloudProviderArgs struct { - AwsCloudProvider GetClusterRkeConfigCloudProviderAwsCloudProviderPtrInput `pulumi:"awsCloudProvider"` - AzureCloudProvider GetClusterRkeConfigCloudProviderAzureCloudProviderPtrInput `pulumi:"azureCloudProvider"` - CustomCloudProvider pulumi.StringInput `pulumi:"customCloudProvider"` - // The name of the Cluster (string) - Name pulumi.StringPtrInput `pulumi:"name"` - OpenstackCloudProvider GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrInput `pulumi:"openstackCloudProvider"` - VsphereCloudProvider GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrInput `pulumi:"vsphereCloudProvider"` + ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput + ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutputWithContext(context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput } -func (GetClusterRkeConfigCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProvider)(nil)).Elem() +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs struct { + CidrBlock pulumi.StringInput `pulumi:"cidrBlock"` + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` } -func (i GetClusterRkeConfigCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOutput() GetClusterRkeConfigCloudProviderOutput { - return i.ToGetClusterRkeConfigCloudProviderOutputWithContext(context.Background()) +func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOutput) +func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput { + return i.ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutputWithContext(context.Background()) } -type GetClusterRkeConfigCloudProviderOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProvider)(nil)).Elem() +func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) } -func (o GetClusterRkeConfigCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOutput() GetClusterRkeConfigCloudProviderOutput { - return o -} +// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayInput is an input type that accepts GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray and GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayInput` via: +// +// GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray{ GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs{...} } +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayInput interface { + pulumi.Input -func (o GetClusterRkeConfigCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOutput { - return o + ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput + ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutputWithContext(context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput } -func (o GetClusterRkeConfigCloudProviderOutput) AwsCloudProvider() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) *GetClusterRkeConfigCloudProviderAwsCloudProvider { - return v.AwsCloudProvider - }).(GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) -} +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray []GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockInput -func (o GetClusterRkeConfigCloudProviderOutput) AzureCloudProvider() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) *GetClusterRkeConfigCloudProviderAzureCloudProvider { - return v.AzureCloudProvider - }).(GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) +func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOutput) CustomCloudProvider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) string { return v.CustomCloudProvider }).(pulumi.StringOutput) +func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput { + return i.ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutputWithContext(context.Background()) } -// The name of the Cluster (string) -func (o GetClusterRkeConfigCloudProviderOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) *string { return v.Name }).(pulumi.StringPtrOutput) +func (i GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) } -func (o GetClusterRkeConfigCloudProviderOutput) OpenstackCloudProvider() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProvider { - return v.OpenstackCloudProvider - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) -} +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput struct{ *pulumi.OutputState } -func (o GetClusterRkeConfigCloudProviderOutput) VsphereCloudProvider() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProvider { - return v.VsphereCloudProvider - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) +func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock)(nil)).Elem() } -type GetClusterRkeConfigCloudProviderAwsCloudProvider struct { - Global GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal `pulumi:"global"` - ServiceOverrides []GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride `pulumi:"serviceOverrides"` +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput { + return o } -// GetClusterRkeConfigCloudProviderAwsCloudProviderInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderArgs and GetClusterRkeConfigCloudProviderAwsCloudProviderOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderInput` via: -// -// GetClusterRkeConfigCloudProviderAwsCloudProviderArgs{...} -type GetClusterRkeConfigCloudProviderAwsCloudProviderInput interface { - pulumi.Input +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput { + return o +} - ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderOutput - ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderOutput +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock) string { return v.CidrBlock }).(pulumi.StringOutput) } -type GetClusterRkeConfigCloudProviderAwsCloudProviderArgs struct { - Global GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalInput `pulumi:"global"` - ServiceOverrides GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput `pulumi:"serviceOverrides"` +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock) *string { return v.DisplayName }).(pulumi.StringPtrOutput) } -func (GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +type GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderOutput { - return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Background()) +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput() GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput { + return o } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) ToGetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput { + return o } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) +func (o GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArrayOutput) Index(i pulumi.IntInput) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock { + return vs[0].([]GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock)[vs[1].(int)] + }).(GetClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockOutput) } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderOutput).ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx) +type GetClusterGkeConfigV2NodePool struct { + Autoscaling GetClusterGkeConfigV2NodePoolAutoscaling `pulumi:"autoscaling"` + Config GetClusterGkeConfigV2NodePoolConfig `pulumi:"config"` + InitialNodeCount int `pulumi:"initialNodeCount"` + Management GetClusterGkeConfigV2NodePoolManagement `pulumi:"management"` + MaxPodsConstraint int `pulumi:"maxPodsConstraint"` + // The name of the Cluster (string) + Name string `pulumi:"name"` + Version string `pulumi:"version"` } -// GetClusterRkeConfigCloudProviderAwsCloudProviderPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderArgs, GetClusterRkeConfigCloudProviderAwsCloudProviderPtr and GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderPtrInput` via: -// -// GetClusterRkeConfigCloudProviderAwsCloudProviderArgs{...} -// -// or: +// GetClusterGkeConfigV2NodePoolInput is an input type that accepts GetClusterGkeConfigV2NodePoolArgs and GetClusterGkeConfigV2NodePoolOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolInput` via: // -// nil -type GetClusterRkeConfigCloudProviderAwsCloudProviderPtrInput interface { +// GetClusterGkeConfigV2NodePoolArgs{...} +type GetClusterGkeConfigV2NodePoolInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput - ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput -} - -type getClusterRkeConfigCloudProviderAwsCloudProviderPtrType GetClusterRkeConfigCloudProviderAwsCloudProviderArgs - -func GetClusterRkeConfigCloudProviderAwsCloudProviderPtr(v *GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrInput { - return (*getClusterRkeConfigCloudProviderAwsCloudProviderPtrType)(v) + ToGetClusterGkeConfigV2NodePoolOutput() GetClusterGkeConfigV2NodePoolOutput + ToGetClusterGkeConfigV2NodePoolOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolOutput } -func (*getClusterRkeConfigCloudProviderAwsCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +type GetClusterGkeConfigV2NodePoolArgs struct { + Autoscaling GetClusterGkeConfigV2NodePoolAutoscalingInput `pulumi:"autoscaling"` + Config GetClusterGkeConfigV2NodePoolConfigInput `pulumi:"config"` + InitialNodeCount pulumi.IntInput `pulumi:"initialNodeCount"` + Management GetClusterGkeConfigV2NodePoolManagementInput `pulumi:"management"` + MaxPodsConstraint pulumi.IntInput `pulumi:"maxPodsConstraint"` + // The name of the Cluster (string) + Name pulumi.StringInput `pulumi:"name"` + Version pulumi.StringInput `pulumi:"version"` } -func (i *getClusterRkeConfigCloudProviderAwsCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) +func (GetClusterGkeConfigV2NodePoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2NodePool)(nil)).Elem() } -func (i *getClusterRkeConfigCloudProviderAwsCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) +func (i GetClusterGkeConfigV2NodePoolArgs) ToGetClusterGkeConfigV2NodePoolOutput() GetClusterGkeConfigV2NodePoolOutput { + return i.ToGetClusterGkeConfigV2NodePoolOutputWithContext(context.Background()) } -type GetClusterRkeConfigCloudProviderAwsCloudProviderOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +func (i GetClusterGkeConfigV2NodePoolArgs) ToGetClusterGkeConfigV2NodePoolOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderOutput { - return o -} +// GetClusterGkeConfigV2NodePoolArrayInput is an input type that accepts GetClusterGkeConfigV2NodePoolArray and GetClusterGkeConfigV2NodePoolArrayOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolArrayInput` via: +// +// GetClusterGkeConfigV2NodePoolArray{ GetClusterGkeConfigV2NodePoolArgs{...} } +type GetClusterGkeConfigV2NodePoolArrayInput interface { + pulumi.Input -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderOutput { - return o + ToGetClusterGkeConfigV2NodePoolArrayOutput() GetClusterGkeConfigV2NodePoolArrayOutput + ToGetClusterGkeConfigV2NodePoolArrayOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolArrayOutput } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) -} +type GetClusterGkeConfigV2NodePoolArray []GetClusterGkeConfigV2NodePoolInput -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderAwsCloudProvider) *GetClusterRkeConfigCloudProviderAwsCloudProvider { - return &v - }).(GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) +func (GetClusterGkeConfigV2NodePoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterGkeConfigV2NodePool)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) Global() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProvider) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal { - return v.Global - }).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) +func (i GetClusterGkeConfigV2NodePoolArray) ToGetClusterGkeConfigV2NodePoolArrayOutput() GetClusterGkeConfigV2NodePoolArrayOutput { + return i.ToGetClusterGkeConfigV2NodePoolArrayOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ServiceOverrides() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProvider) []GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride { - return v.ServiceOverrides - }).(GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) +func (i GetClusterGkeConfigV2NodePoolArray) ToGetClusterGkeConfigV2NodePoolArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolArrayOutput) } -type GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput struct{ *pulumi.OutputState } +type GetClusterGkeConfigV2NodePoolOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +func (GetClusterGkeConfigV2NodePoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2NodePool)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { +func (o GetClusterGkeConfigV2NodePoolOutput) ToGetClusterGkeConfigV2NodePoolOutput() GetClusterGkeConfigV2NodePoolOutput { return o } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { +func (o GetClusterGkeConfigV2NodePoolOutput) ToGetClusterGkeConfigV2NodePoolOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolOutput { return o } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) Elem() GetClusterRkeConfigCloudProviderAwsCloudProviderOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProvider) GetClusterRkeConfigCloudProviderAwsCloudProvider { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderAwsCloudProvider - return ret - }).(GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) +func (o GetClusterGkeConfigV2NodePoolOutput) Autoscaling() GetClusterGkeConfigV2NodePoolAutoscalingOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) GetClusterGkeConfigV2NodePoolAutoscaling { return v.Autoscaling }).(GetClusterGkeConfigV2NodePoolAutoscalingOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) Global() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProvider) *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal { - if v == nil { - return nil - } - return &v.Global - }).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) +func (o GetClusterGkeConfigV2NodePoolOutput) Config() GetClusterGkeConfigV2NodePoolConfigOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) GetClusterGkeConfigV2NodePoolConfig { return v.Config }).(GetClusterGkeConfigV2NodePoolConfigOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) ServiceOverrides() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProvider) []GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride { - if v == nil { - return nil - } - return v.ServiceOverrides - }).(GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) +func (o GetClusterGkeConfigV2NodePoolOutput) InitialNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) int { return v.InitialNodeCount }).(pulumi.IntOutput) } -type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal struct { - DisableSecurityGroupIngress *bool `pulumi:"disableSecurityGroupIngress"` - DisableStrictZoneCheck *bool `pulumi:"disableStrictZoneCheck"` - ElbSecurityGroup string `pulumi:"elbSecurityGroup"` - KubernetesClusterId string `pulumi:"kubernetesClusterId"` - KubernetesClusterTag string `pulumi:"kubernetesClusterTag"` - RoleArn string `pulumi:"roleArn"` - RouteTableId string `pulumi:"routeTableId"` - SubnetId string `pulumi:"subnetId"` - Vpc string `pulumi:"vpc"` - Zone string `pulumi:"zone"` +func (o GetClusterGkeConfigV2NodePoolOutput) Management() GetClusterGkeConfigV2NodePoolManagementOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) GetClusterGkeConfigV2NodePoolManagement { return v.Management }).(GetClusterGkeConfigV2NodePoolManagementOutput) } -// GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs and GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalInput` via: -// -// GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} -type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalInput interface { - pulumi.Input +func (o GetClusterGkeConfigV2NodePoolOutput) MaxPodsConstraint() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) int { return v.MaxPodsConstraint }).(pulumi.IntOutput) +} - ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput - ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput +// The name of the Cluster (string) +func (o GetClusterGkeConfigV2NodePoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) string { return v.Name }).(pulumi.StringOutput) } -type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs struct { - DisableSecurityGroupIngress pulumi.BoolPtrInput `pulumi:"disableSecurityGroupIngress"` - DisableStrictZoneCheck pulumi.BoolPtrInput `pulumi:"disableStrictZoneCheck"` - ElbSecurityGroup pulumi.StringInput `pulumi:"elbSecurityGroup"` - KubernetesClusterId pulumi.StringInput `pulumi:"kubernetesClusterId"` - KubernetesClusterTag pulumi.StringInput `pulumi:"kubernetesClusterTag"` - RoleArn pulumi.StringInput `pulumi:"roleArn"` - RouteTableId pulumi.StringInput `pulumi:"routeTableId"` - SubnetId pulumi.StringInput `pulumi:"subnetId"` - Vpc pulumi.StringInput `pulumi:"vpc"` - Zone pulumi.StringInput `pulumi:"zone"` +func (o GetClusterGkeConfigV2NodePoolOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePool) string { return v.Version }).(pulumi.StringOutput) } -func (GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +type GetClusterGkeConfigV2NodePoolArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterGkeConfigV2NodePoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterGkeConfigV2NodePool)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Background()) +func (o GetClusterGkeConfigV2NodePoolArrayOutput) ToGetClusterGkeConfigV2NodePoolArrayOutput() GetClusterGkeConfigV2NodePoolArrayOutput { + return o } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) +func (o GetClusterGkeConfigV2NodePoolArrayOutput) ToGetClusterGkeConfigV2NodePoolArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolArrayOutput { + return o } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o GetClusterGkeConfigV2NodePoolArrayOutput) Index(i pulumi.IntInput) GetClusterGkeConfigV2NodePoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterGkeConfigV2NodePool { + return vs[0].([]GetClusterGkeConfigV2NodePool)[vs[1].(int)] + }).(GetClusterGkeConfigV2NodePoolOutput) } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput).ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx) +type GetClusterGkeConfigV2NodePoolAutoscaling struct { + Enabled *bool `pulumi:"enabled"` + MaxNodeCount int `pulumi:"maxNodeCount"` + MinNodeCount int `pulumi:"minNodeCount"` } -// GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs, GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtr and GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput` via: -// -// GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} -// -// or: +// GetClusterGkeConfigV2NodePoolAutoscalingInput is an input type that accepts GetClusterGkeConfigV2NodePoolAutoscalingArgs and GetClusterGkeConfigV2NodePoolAutoscalingOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolAutoscalingInput` via: // -// nil -type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput interface { +// GetClusterGkeConfigV2NodePoolAutoscalingArgs{...} +type GetClusterGkeConfigV2NodePoolAutoscalingInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput - ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput + ToGetClusterGkeConfigV2NodePoolAutoscalingOutput() GetClusterGkeConfigV2NodePoolAutoscalingOutput + ToGetClusterGkeConfigV2NodePoolAutoscalingOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolAutoscalingOutput } -type getClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrType GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs - -func GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtr(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput { - return (*getClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrType)(v) +type GetClusterGkeConfigV2NodePoolAutoscalingArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + MaxNodeCount pulumi.IntInput `pulumi:"maxNodeCount"` + MinNodeCount pulumi.IntInput `pulumi:"minNodeCount"` } -func (*getClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (GetClusterGkeConfigV2NodePoolAutoscalingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolAutoscaling)(nil)).Elem() } -func (i *getClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (i GetClusterGkeConfigV2NodePoolAutoscalingArgs) ToGetClusterGkeConfigV2NodePoolAutoscalingOutput() GetClusterGkeConfigV2NodePoolAutoscalingOutput { + return i.ToGetClusterGkeConfigV2NodePoolAutoscalingOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) +func (i GetClusterGkeConfigV2NodePoolAutoscalingArgs) ToGetClusterGkeConfigV2NodePoolAutoscalingOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolAutoscalingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolAutoscalingOutput) } -type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput struct{ *pulumi.OutputState } +type GetClusterGkeConfigV2NodePoolAutoscalingOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (GetClusterGkeConfigV2NodePoolAutoscalingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolAutoscaling)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { +func (o GetClusterGkeConfigV2NodePoolAutoscalingOutput) ToGetClusterGkeConfigV2NodePoolAutoscalingOutput() GetClusterGkeConfigV2NodePoolAutoscalingOutput { return o } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { +func (o GetClusterGkeConfigV2NodePoolAutoscalingOutput) ToGetClusterGkeConfigV2NodePoolAutoscalingOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolAutoscalingOutput { return o } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) -} - -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal { - return &v - }).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) -} - -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - return v.DisableSecurityGroupIngress - }).(pulumi.BoolPtrOutput) +func (o GetClusterGkeConfigV2NodePoolAutoscalingOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolAutoscaling) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { return v.DisableStrictZoneCheck }).(pulumi.BoolPtrOutput) +func (o GetClusterGkeConfigV2NodePoolAutoscalingOutput) MaxNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolAutoscaling) int { return v.MaxNodeCount }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElbSecurityGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.ElbSecurityGroup }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2NodePoolAutoscalingOutput) MinNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolAutoscaling) int { return v.MinNodeCount }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.KubernetesClusterId }).(pulumi.StringOutput) +type GetClusterGkeConfigV2NodePoolConfig struct { + DiskSizeGb *int `pulumi:"diskSizeGb"` + DiskType *string `pulumi:"diskType"` + ImageType *string `pulumi:"imageType"` + // (Computed) Labels for Node Pool object (map) + Labels map[string]interface{} `pulumi:"labels"` + LocalSsdCount *int `pulumi:"localSsdCount"` + MachineType *string `pulumi:"machineType"` + OauthScopes []string `pulumi:"oauthScopes"` + Preemptible *bool `pulumi:"preemptible"` + Tags []string `pulumi:"tags"` + Taints []GetClusterGkeConfigV2NodePoolConfigTaint `pulumi:"taints"` } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterTag() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.KubernetesClusterTag }).(pulumi.StringOutput) -} +// GetClusterGkeConfigV2NodePoolConfigInput is an input type that accepts GetClusterGkeConfigV2NodePoolConfigArgs and GetClusterGkeConfigV2NodePoolConfigOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolConfigInput` via: +// +// GetClusterGkeConfigV2NodePoolConfigArgs{...} +type GetClusterGkeConfigV2NodePoolConfigInput interface { + pulumi.Input -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RoleArn() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.RoleArn }).(pulumi.StringOutput) + ToGetClusterGkeConfigV2NodePoolConfigOutput() GetClusterGkeConfigV2NodePoolConfigOutput + ToGetClusterGkeConfigV2NodePoolConfigOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolConfigOutput } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.RouteTableId }).(pulumi.StringOutput) +type GetClusterGkeConfigV2NodePoolConfigArgs struct { + DiskSizeGb pulumi.IntPtrInput `pulumi:"diskSizeGb"` + DiskType pulumi.StringPtrInput `pulumi:"diskType"` + ImageType pulumi.StringPtrInput `pulumi:"imageType"` + // (Computed) Labels for Node Pool object (map) + Labels pulumi.MapInput `pulumi:"labels"` + LocalSsdCount pulumi.IntPtrInput `pulumi:"localSsdCount"` + MachineType pulumi.StringPtrInput `pulumi:"machineType"` + OauthScopes pulumi.StringArrayInput `pulumi:"oauthScopes"` + Preemptible pulumi.BoolPtrInput `pulumi:"preemptible"` + Tags pulumi.StringArrayInput `pulumi:"tags"` + Taints GetClusterGkeConfigV2NodePoolConfigTaintArrayInput `pulumi:"taints"` } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.SubnetId }).(pulumi.StringOutput) +func (GetClusterGkeConfigV2NodePoolConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Vpc() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.Vpc }).(pulumi.StringOutput) +func (i GetClusterGkeConfigV2NodePoolConfigArgs) ToGetClusterGkeConfigV2NodePoolConfigOutput() GetClusterGkeConfigV2NodePoolConfigOutput { + return i.ToGetClusterGkeConfigV2NodePoolConfigOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Zone() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.Zone }).(pulumi.StringOutput) +func (i GetClusterGkeConfigV2NodePoolConfigArgs) ToGetClusterGkeConfigV2NodePoolConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolConfigOutput) } -type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } +type GetClusterGkeConfigV2NodePoolConfigOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (GetClusterGkeConfigV2NodePoolConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { +func (o GetClusterGkeConfigV2NodePoolConfigOutput) ToGetClusterGkeConfigV2NodePoolConfigOutput() GetClusterGkeConfigV2NodePoolConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { +func (o GetClusterGkeConfigV2NodePoolConfigOutput) ToGetClusterGkeConfigV2NodePoolConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Elem() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal - return ret - }).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) -} - -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - if v == nil { - return nil - } - return v.DisableSecurityGroupIngress - }).(pulumi.BoolPtrOutput) +func (o GetClusterGkeConfigV2NodePoolConfigOutput) DiskSizeGb() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *int { return v.DiskSizeGb }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - if v == nil { - return nil - } - return v.DisableStrictZoneCheck - }).(pulumi.BoolPtrOutput) +func (o GetClusterGkeConfigV2NodePoolConfigOutput) DiskType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *string { return v.DiskType }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElbSecurityGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.ElbSecurityGroup - }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigV2NodePoolConfigOutput) ImageType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *string { return v.ImageType }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.KubernetesClusterId - }).(pulumi.StringPtrOutput) +// (Computed) Labels for Node Pool object (map) +func (o GetClusterGkeConfigV2NodePoolConfigOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterTag() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.KubernetesClusterTag - }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigV2NodePoolConfigOutput) LocalSsdCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *int { return v.LocalSsdCount }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.RoleArn - }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigV2NodePoolConfigOutput) MachineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *string { return v.MachineType }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RouteTableId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.RouteTableId - }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigV2NodePoolConfigOutput) OauthScopes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) []string { return v.OauthScopes }).(pulumi.StringArrayOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.SubnetId - }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigV2NodePoolConfigOutput) Preemptible() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) *bool { return v.Preemptible }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Vpc() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Vpc - }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigV2NodePoolConfigOutput) Tags() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) []string { return v.Tags }).(pulumi.StringArrayOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Zone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Zone - }).(pulumi.StringPtrOutput) +func (o GetClusterGkeConfigV2NodePoolConfigOutput) Taints() GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfig) []GetClusterGkeConfigV2NodePoolConfigTaint { + return v.Taints + }).(GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) } -type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride struct { - Region string `pulumi:"region"` - Service string `pulumi:"service"` - SigningMethod string `pulumi:"signingMethod"` - SigningName string `pulumi:"signingName"` - SigningRegion string `pulumi:"signingRegion"` - Url string `pulumi:"url"` +type GetClusterGkeConfigV2NodePoolConfigTaint struct { + Effect string `pulumi:"effect"` + Key string `pulumi:"key"` + Value string `pulumi:"value"` } -// GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs and GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput` via: -// -// GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} -type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput interface { +// GetClusterGkeConfigV2NodePoolConfigTaintInput is an input type that accepts GetClusterGkeConfigV2NodePoolConfigTaintArgs and GetClusterGkeConfigV2NodePoolConfigTaintOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolConfigTaintInput` via: +// +// GetClusterGkeConfigV2NodePoolConfigTaintArgs{...} +type GetClusterGkeConfigV2NodePoolConfigTaintInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput - ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput + ToGetClusterGkeConfigV2NodePoolConfigTaintOutput() GetClusterGkeConfigV2NodePoolConfigTaintOutput + ToGetClusterGkeConfigV2NodePoolConfigTaintOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolConfigTaintOutput } -type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs struct { - Region pulumi.StringInput `pulumi:"region"` - Service pulumi.StringInput `pulumi:"service"` - SigningMethod pulumi.StringInput `pulumi:"signingMethod"` - SigningName pulumi.StringInput `pulumi:"signingName"` - SigningRegion pulumi.StringInput `pulumi:"signingRegion"` - Url pulumi.StringInput `pulumi:"url"` +type GetClusterGkeConfigV2NodePoolConfigTaintArgs struct { + Effect pulumi.StringInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Value pulumi.StringInput `pulumi:"value"` } -func (GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func (GetClusterGkeConfigV2NodePoolConfigTaintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolConfigTaint)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Background()) +func (i GetClusterGkeConfigV2NodePoolConfigTaintArgs) ToGetClusterGkeConfigV2NodePoolConfigTaintOutput() GetClusterGkeConfigV2NodePoolConfigTaintOutput { + return i.ToGetClusterGkeConfigV2NodePoolConfigTaintOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) +func (i GetClusterGkeConfigV2NodePoolConfigTaintArgs) ToGetClusterGkeConfigV2NodePoolConfigTaintOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigTaintOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolConfigTaintOutput) } -// GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray and GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput` via: +// GetClusterGkeConfigV2NodePoolConfigTaintArrayInput is an input type that accepts GetClusterGkeConfigV2NodePoolConfigTaintArray and GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolConfigTaintArrayInput` via: // -// GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray{ GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} } -type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput interface { +// GetClusterGkeConfigV2NodePoolConfigTaintArray{ GetClusterGkeConfigV2NodePoolConfigTaintArgs{...} } +type GetClusterGkeConfigV2NodePoolConfigTaintArrayInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput - ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput + ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutput() GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput + ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput } -type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray []GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput +type GetClusterGkeConfigV2NodePoolConfigTaintArray []GetClusterGkeConfigV2NodePoolConfigTaintInput -func (GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func (GetClusterGkeConfigV2NodePoolConfigTaintArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterGkeConfigV2NodePoolConfigTaint)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Background()) +func (i GetClusterGkeConfigV2NodePoolConfigTaintArray) ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutput() GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput { + return i.ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) +func (i GetClusterGkeConfigV2NodePoolConfigTaintArray) ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) } -type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput struct{ *pulumi.OutputState } +type GetClusterGkeConfigV2NodePoolConfigTaintOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func (GetClusterGkeConfigV2NodePoolConfigTaintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolConfigTaint)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { +func (o GetClusterGkeConfigV2NodePoolConfigTaintOutput) ToGetClusterGkeConfigV2NodePoolConfigTaintOutput() GetClusterGkeConfigV2NodePoolConfigTaintOutput { return o } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { +func (o GetClusterGkeConfigV2NodePoolConfigTaintOutput) ToGetClusterGkeConfigV2NodePoolConfigTaintOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigTaintOutput { return o } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.Region }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2NodePoolConfigTaintOutput) Effect() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfigTaint) string { return v.Effect }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.Service }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2NodePoolConfigTaintOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfigTaint) string { return v.Key }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningMethod() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.SigningMethod }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2NodePoolConfigTaintOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolConfigTaint) string { return v.Value }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.SigningName }).(pulumi.StringOutput) -} +type GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput struct{ *pulumi.OutputState } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningRegion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.SigningRegion }).(pulumi.StringOutput) +func (GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterGkeConfigV2NodePoolConfigTaint)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.Url }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutput() GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput { + return o } -type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) ToGetClusterGkeConfigV2NodePoolConfigTaintArrayOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput { + return o +} -func (GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func (o GetClusterGkeConfigV2NodePoolConfigTaintArrayOutput) Index(i pulumi.IntInput) GetClusterGkeConfigV2NodePoolConfigTaintOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterGkeConfigV2NodePoolConfigTaint { + return vs[0].([]GetClusterGkeConfigV2NodePoolConfigTaint)[vs[1].(int)] + }).(GetClusterGkeConfigV2NodePoolConfigTaintOutput) } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return o +type GetClusterGkeConfigV2NodePoolManagement struct { + AutoRepair bool `pulumi:"autoRepair"` + AutoUpgrade bool `pulumi:"autoUpgrade"` } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return o +// GetClusterGkeConfigV2NodePoolManagementInput is an input type that accepts GetClusterGkeConfigV2NodePoolManagementArgs and GetClusterGkeConfigV2NodePoolManagementOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2NodePoolManagementInput` via: +// +// GetClusterGkeConfigV2NodePoolManagementArgs{...} +type GetClusterGkeConfigV2NodePoolManagementInput interface { + pulumi.Input + + ToGetClusterGkeConfigV2NodePoolManagementOutput() GetClusterGkeConfigV2NodePoolManagementOutput + ToGetClusterGkeConfigV2NodePoolManagementOutputWithContext(context.Context) GetClusterGkeConfigV2NodePoolManagementOutput } -func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride { - return vs[0].([]GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride)[vs[1].(int)] - }).(GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) +type GetClusterGkeConfigV2NodePoolManagementArgs struct { + AutoRepair pulumi.BoolInput `pulumi:"autoRepair"` + AutoUpgrade pulumi.BoolInput `pulumi:"autoUpgrade"` } -type GetClusterRkeConfigCloudProviderAzureCloudProvider struct { - AadClientCertPassword string `pulumi:"aadClientCertPassword"` - AadClientCertPath string `pulumi:"aadClientCertPath"` - AadClientId string `pulumi:"aadClientId"` - AadClientSecret string `pulumi:"aadClientSecret"` - Cloud string `pulumi:"cloud"` - CloudProviderBackoff bool `pulumi:"cloudProviderBackoff"` - CloudProviderBackoffDuration int `pulumi:"cloudProviderBackoffDuration"` - CloudProviderBackoffExponent int `pulumi:"cloudProviderBackoffExponent"` - CloudProviderBackoffJitter int `pulumi:"cloudProviderBackoffJitter"` - CloudProviderBackoffRetries int `pulumi:"cloudProviderBackoffRetries"` - CloudProviderRateLimit bool `pulumi:"cloudProviderRateLimit"` - CloudProviderRateLimitBucket int `pulumi:"cloudProviderRateLimitBucket"` - CloudProviderRateLimitQps int `pulumi:"cloudProviderRateLimitQps"` - LoadBalancerSku *string `pulumi:"loadBalancerSku"` - Location string `pulumi:"location"` - MaximumLoadBalancerRuleCount int `pulumi:"maximumLoadBalancerRuleCount"` - PrimaryAvailabilitySetName string `pulumi:"primaryAvailabilitySetName"` - PrimaryScaleSetName string `pulumi:"primaryScaleSetName"` - ResourceGroup string `pulumi:"resourceGroup"` - RouteTableName string `pulumi:"routeTableName"` - SecurityGroupName string `pulumi:"securityGroupName"` - SubnetName string `pulumi:"subnetName"` - SubscriptionId string `pulumi:"subscriptionId"` - TenantId string `pulumi:"tenantId"` - UseInstanceMetadata bool `pulumi:"useInstanceMetadata"` - UseManagedIdentityExtension bool `pulumi:"useManagedIdentityExtension"` - VmType string `pulumi:"vmType"` - VnetName string `pulumi:"vnetName"` - VnetResourceGroup string `pulumi:"vnetResourceGroup"` +func (GetClusterGkeConfigV2NodePoolManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolManagement)(nil)).Elem() } -// GetClusterRkeConfigCloudProviderAzureCloudProviderInput is an input type that accepts GetClusterRkeConfigCloudProviderAzureCloudProviderArgs and GetClusterRkeConfigCloudProviderAzureCloudProviderOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAzureCloudProviderInput` via: -// -// GetClusterRkeConfigCloudProviderAzureCloudProviderArgs{...} -type GetClusterRkeConfigCloudProviderAzureCloudProviderInput interface { - pulumi.Input +func (i GetClusterGkeConfigV2NodePoolManagementArgs) ToGetClusterGkeConfigV2NodePoolManagementOutput() GetClusterGkeConfigV2NodePoolManagementOutput { + return i.ToGetClusterGkeConfigV2NodePoolManagementOutputWithContext(context.Background()) +} - ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderOutput - ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderOutput +func (i GetClusterGkeConfigV2NodePoolManagementArgs) ToGetClusterGkeConfigV2NodePoolManagementOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2NodePoolManagementOutput) } -type GetClusterRkeConfigCloudProviderAzureCloudProviderArgs struct { - AadClientCertPassword pulumi.StringInput `pulumi:"aadClientCertPassword"` - AadClientCertPath pulumi.StringInput `pulumi:"aadClientCertPath"` - AadClientId pulumi.StringInput `pulumi:"aadClientId"` - AadClientSecret pulumi.StringInput `pulumi:"aadClientSecret"` - Cloud pulumi.StringInput `pulumi:"cloud"` - CloudProviderBackoff pulumi.BoolInput `pulumi:"cloudProviderBackoff"` - CloudProviderBackoffDuration pulumi.IntInput `pulumi:"cloudProviderBackoffDuration"` - CloudProviderBackoffExponent pulumi.IntInput `pulumi:"cloudProviderBackoffExponent"` - CloudProviderBackoffJitter pulumi.IntInput `pulumi:"cloudProviderBackoffJitter"` - CloudProviderBackoffRetries pulumi.IntInput `pulumi:"cloudProviderBackoffRetries"` - CloudProviderRateLimit pulumi.BoolInput `pulumi:"cloudProviderRateLimit"` - CloudProviderRateLimitBucket pulumi.IntInput `pulumi:"cloudProviderRateLimitBucket"` - CloudProviderRateLimitQps pulumi.IntInput `pulumi:"cloudProviderRateLimitQps"` - LoadBalancerSku pulumi.StringPtrInput `pulumi:"loadBalancerSku"` - Location pulumi.StringInput `pulumi:"location"` - MaximumLoadBalancerRuleCount pulumi.IntInput `pulumi:"maximumLoadBalancerRuleCount"` - PrimaryAvailabilitySetName pulumi.StringInput `pulumi:"primaryAvailabilitySetName"` - PrimaryScaleSetName pulumi.StringInput `pulumi:"primaryScaleSetName"` - ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` - RouteTableName pulumi.StringInput `pulumi:"routeTableName"` - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` - SubnetName pulumi.StringInput `pulumi:"subnetName"` - SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` - TenantId pulumi.StringInput `pulumi:"tenantId"` - UseInstanceMetadata pulumi.BoolInput `pulumi:"useInstanceMetadata"` - UseManagedIdentityExtension pulumi.BoolInput `pulumi:"useManagedIdentityExtension"` - VmType pulumi.StringInput `pulumi:"vmType"` - VnetName pulumi.StringInput `pulumi:"vnetName"` - VnetResourceGroup pulumi.StringInput `pulumi:"vnetResourceGroup"` +type GetClusterGkeConfigV2NodePoolManagementOutput struct{ *pulumi.OutputState } + +func (GetClusterGkeConfigV2NodePoolManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2NodePoolManagement)(nil)).Elem() } -func (GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +func (o GetClusterGkeConfigV2NodePoolManagementOutput) ToGetClusterGkeConfigV2NodePoolManagementOutput() GetClusterGkeConfigV2NodePoolManagementOutput { + return o } -func (i GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderOutput { - return i.ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Background()) +func (o GetClusterGkeConfigV2NodePoolManagementOutput) ToGetClusterGkeConfigV2NodePoolManagementOutputWithContext(ctx context.Context) GetClusterGkeConfigV2NodePoolManagementOutput { + return o } -func (i GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) +func (o GetClusterGkeConfigV2NodePoolManagementOutput) AutoRepair() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolManagement) bool { return v.AutoRepair }).(pulumi.BoolOutput) } -func (i GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) +func (o GetClusterGkeConfigV2NodePoolManagementOutput) AutoUpgrade() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2NodePoolManagement) bool { return v.AutoUpgrade }).(pulumi.BoolOutput) } -func (i GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAzureCloudProviderOutput).ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx) +type GetClusterGkeConfigV2PrivateClusterConfig struct { + EnablePrivateEndpoint *bool `pulumi:"enablePrivateEndpoint"` + EnablePrivateNodes *bool `pulumi:"enablePrivateNodes"` + MasterIpv4CidrBlock string `pulumi:"masterIpv4CidrBlock"` } -// GetClusterRkeConfigCloudProviderAzureCloudProviderPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderAzureCloudProviderArgs, GetClusterRkeConfigCloudProviderAzureCloudProviderPtr and GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAzureCloudProviderPtrInput` via: -// -// GetClusterRkeConfigCloudProviderAzureCloudProviderArgs{...} -// -// or: +// GetClusterGkeConfigV2PrivateClusterConfigInput is an input type that accepts GetClusterGkeConfigV2PrivateClusterConfigArgs and GetClusterGkeConfigV2PrivateClusterConfigOutput values. +// You can construct a concrete instance of `GetClusterGkeConfigV2PrivateClusterConfigInput` via: // -// nil -type GetClusterRkeConfigCloudProviderAzureCloudProviderPtrInput interface { +// GetClusterGkeConfigV2PrivateClusterConfigArgs{...} +type GetClusterGkeConfigV2PrivateClusterConfigInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput - ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput + ToGetClusterGkeConfigV2PrivateClusterConfigOutput() GetClusterGkeConfigV2PrivateClusterConfigOutput + ToGetClusterGkeConfigV2PrivateClusterConfigOutputWithContext(context.Context) GetClusterGkeConfigV2PrivateClusterConfigOutput } -type getClusterRkeConfigCloudProviderAzureCloudProviderPtrType GetClusterRkeConfigCloudProviderAzureCloudProviderArgs - -func GetClusterRkeConfigCloudProviderAzureCloudProviderPtr(v *GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrInput { - return (*getClusterRkeConfigCloudProviderAzureCloudProviderPtrType)(v) +type GetClusterGkeConfigV2PrivateClusterConfigArgs struct { + EnablePrivateEndpoint pulumi.BoolPtrInput `pulumi:"enablePrivateEndpoint"` + EnablePrivateNodes pulumi.BoolPtrInput `pulumi:"enablePrivateNodes"` + MasterIpv4CidrBlock pulumi.StringInput `pulumi:"masterIpv4CidrBlock"` } -func (*getClusterRkeConfigCloudProviderAzureCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +func (GetClusterGkeConfigV2PrivateClusterConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2PrivateClusterConfig)(nil)).Elem() } -func (i *getClusterRkeConfigCloudProviderAzureCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) +func (i GetClusterGkeConfigV2PrivateClusterConfigArgs) ToGetClusterGkeConfigV2PrivateClusterConfigOutput() GetClusterGkeConfigV2PrivateClusterConfigOutput { + return i.ToGetClusterGkeConfigV2PrivateClusterConfigOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigCloudProviderAzureCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) +func (i GetClusterGkeConfigV2PrivateClusterConfigArgs) ToGetClusterGkeConfigV2PrivateClusterConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2PrivateClusterConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterGkeConfigV2PrivateClusterConfigOutput) } -type GetClusterRkeConfigCloudProviderAzureCloudProviderOutput struct{ *pulumi.OutputState } +type GetClusterGkeConfigV2PrivateClusterConfigOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +func (GetClusterGkeConfigV2PrivateClusterConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterGkeConfigV2PrivateClusterConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderOutput { +func (o GetClusterGkeConfigV2PrivateClusterConfigOutput) ToGetClusterGkeConfigV2PrivateClusterConfigOutput() GetClusterGkeConfigV2PrivateClusterConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderOutput { +func (o GetClusterGkeConfigV2PrivateClusterConfigOutput) ToGetClusterGkeConfigV2PrivateClusterConfigOutputWithContext(ctx context.Context) GetClusterGkeConfigV2PrivateClusterConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) +func (o GetClusterGkeConfigV2PrivateClusterConfigOutput) EnablePrivateEndpoint() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2PrivateClusterConfig) *bool { return v.EnablePrivateEndpoint }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderAzureCloudProvider) *GetClusterRkeConfigCloudProviderAzureCloudProvider { - return &v - }).(GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) +func (o GetClusterGkeConfigV2PrivateClusterConfigOutput) EnablePrivateNodes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2PrivateClusterConfig) *bool { return v.EnablePrivateNodes }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPassword() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.AadClientCertPassword }).(pulumi.StringOutput) +func (o GetClusterGkeConfigV2PrivateClusterConfigOutput) MasterIpv4CidrBlock() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterGkeConfigV2PrivateClusterConfig) string { return v.MasterIpv4CidrBlock }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.AadClientCertPath }).(pulumi.StringOutput) +type GetClusterK3sConfig struct { + UpgradeStrategy GetClusterK3sConfigUpgradeStrategy `pulumi:"upgradeStrategy"` + Version string `pulumi:"version"` } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) AadClientId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.AadClientId }).(pulumi.StringOutput) +// GetClusterK3sConfigInput is an input type that accepts GetClusterK3sConfigArgs and GetClusterK3sConfigOutput values. +// You can construct a concrete instance of `GetClusterK3sConfigInput` via: +// +// GetClusterK3sConfigArgs{...} +type GetClusterK3sConfigInput interface { + pulumi.Input + + ToGetClusterK3sConfigOutput() GetClusterK3sConfigOutput + ToGetClusterK3sConfigOutputWithContext(context.Context) GetClusterK3sConfigOutput } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) AadClientSecret() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.AadClientSecret }).(pulumi.StringOutput) +type GetClusterK3sConfigArgs struct { + UpgradeStrategy GetClusterK3sConfigUpgradeStrategyInput `pulumi:"upgradeStrategy"` + Version pulumi.StringInput `pulumi:"version"` } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) Cloud() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.Cloud }).(pulumi.StringOutput) +func (GetClusterK3sConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterK3sConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoff() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) bool { return v.CloudProviderBackoff }).(pulumi.BoolOutput) +func (i GetClusterK3sConfigArgs) ToGetClusterK3sConfigOutput() GetClusterK3sConfigOutput { + return i.ToGetClusterK3sConfigOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffDuration() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderBackoffDuration }).(pulumi.IntOutput) +func (i GetClusterK3sConfigArgs) ToGetClusterK3sConfigOutputWithContext(ctx context.Context) GetClusterK3sConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterK3sConfigOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffExponent() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderBackoffExponent }).(pulumi.IntOutput) +type GetClusterK3sConfigOutput struct{ *pulumi.OutputState } + +func (GetClusterK3sConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterK3sConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffJitter() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderBackoffJitter }).(pulumi.IntOutput) +func (o GetClusterK3sConfigOutput) ToGetClusterK3sConfigOutput() GetClusterK3sConfigOutput { + return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffRetries() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderBackoffRetries }).(pulumi.IntOutput) +func (o GetClusterK3sConfigOutput) ToGetClusterK3sConfigOutputWithContext(ctx context.Context) GetClusterK3sConfigOutput { + return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimit() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) bool { return v.CloudProviderRateLimit }).(pulumi.BoolOutput) +func (o GetClusterK3sConfigOutput) UpgradeStrategy() GetClusterK3sConfigUpgradeStrategyOutput { + return o.ApplyT(func(v GetClusterK3sConfig) GetClusterK3sConfigUpgradeStrategy { return v.UpgradeStrategy }).(GetClusterK3sConfigUpgradeStrategyOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitBucket() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderRateLimitBucket }).(pulumi.IntOutput) +func (o GetClusterK3sConfigOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterK3sConfig) string { return v.Version }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitQps() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderRateLimitQps }).(pulumi.IntOutput) +type GetClusterK3sConfigUpgradeStrategy struct { + DrainServerNodes *bool `pulumi:"drainServerNodes"` + DrainWorkerNodes *bool `pulumi:"drainWorkerNodes"` + ServerConcurrency *int `pulumi:"serverConcurrency"` + WorkerConcurrency *int `pulumi:"workerConcurrency"` } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) LoadBalancerSku() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { return v.LoadBalancerSku }).(pulumi.StringPtrOutput) +// GetClusterK3sConfigUpgradeStrategyInput is an input type that accepts GetClusterK3sConfigUpgradeStrategyArgs and GetClusterK3sConfigUpgradeStrategyOutput values. +// You can construct a concrete instance of `GetClusterK3sConfigUpgradeStrategyInput` via: +// +// GetClusterK3sConfigUpgradeStrategyArgs{...} +type GetClusterK3sConfigUpgradeStrategyInput interface { + pulumi.Input + + ToGetClusterK3sConfigUpgradeStrategyOutput() GetClusterK3sConfigUpgradeStrategyOutput + ToGetClusterK3sConfigUpgradeStrategyOutputWithContext(context.Context) GetClusterK3sConfigUpgradeStrategyOutput } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) Location() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.Location }).(pulumi.StringOutput) +type GetClusterK3sConfigUpgradeStrategyArgs struct { + DrainServerNodes pulumi.BoolPtrInput `pulumi:"drainServerNodes"` + DrainWorkerNodes pulumi.BoolPtrInput `pulumi:"drainWorkerNodes"` + ServerConcurrency pulumi.IntPtrInput `pulumi:"serverConcurrency"` + WorkerConcurrency pulumi.IntPtrInput `pulumi:"workerConcurrency"` } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) MaximumLoadBalancerRuleCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.MaximumLoadBalancerRuleCount }).(pulumi.IntOutput) +func (GetClusterK3sConfigUpgradeStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterK3sConfigUpgradeStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryAvailabilitySetName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.PrimaryAvailabilitySetName }).(pulumi.StringOutput) +func (i GetClusterK3sConfigUpgradeStrategyArgs) ToGetClusterK3sConfigUpgradeStrategyOutput() GetClusterK3sConfigUpgradeStrategyOutput { + return i.ToGetClusterK3sConfigUpgradeStrategyOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryScaleSetName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.PrimaryScaleSetName }).(pulumi.StringOutput) +func (i GetClusterK3sConfigUpgradeStrategyArgs) ToGetClusterK3sConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterK3sConfigUpgradeStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterK3sConfigUpgradeStrategyOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ResourceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.ResourceGroup }).(pulumi.StringOutput) +type GetClusterK3sConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } + +func (GetClusterK3sConfigUpgradeStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterK3sConfigUpgradeStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) RouteTableName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.RouteTableName }).(pulumi.StringOutput) +func (o GetClusterK3sConfigUpgradeStrategyOutput) ToGetClusterK3sConfigUpgradeStrategyOutput() GetClusterK3sConfigUpgradeStrategyOutput { + return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.SecurityGroupName }).(pulumi.StringOutput) +func (o GetClusterK3sConfigUpgradeStrategyOutput) ToGetClusterK3sConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterK3sConfigUpgradeStrategyOutput { + return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) SubnetName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.SubnetName }).(pulumi.StringOutput) +func (o GetClusterK3sConfigUpgradeStrategyOutput) DrainServerNodes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterK3sConfigUpgradeStrategy) *bool { return v.DrainServerNodes }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) SubscriptionId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.SubscriptionId }).(pulumi.StringOutput) +func (o GetClusterK3sConfigUpgradeStrategyOutput) DrainWorkerNodes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterK3sConfigUpgradeStrategy) *bool { return v.DrainWorkerNodes }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.TenantId }).(pulumi.StringOutput) +func (o GetClusterK3sConfigUpgradeStrategyOutput) ServerConcurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterK3sConfigUpgradeStrategy) *int { return v.ServerConcurrency }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) UseInstanceMetadata() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) bool { return v.UseInstanceMetadata }).(pulumi.BoolOutput) +func (o GetClusterK3sConfigUpgradeStrategyOutput) WorkerConcurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterK3sConfigUpgradeStrategy) *int { return v.WorkerConcurrency }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) UseManagedIdentityExtension() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) bool { return v.UseManagedIdentityExtension }).(pulumi.BoolOutput) +type GetClusterLoggingCustomTargetConfig struct { + Certificate *string `pulumi:"certificate"` + ClientCert *string `pulumi:"clientCert"` + ClientKey *string `pulumi:"clientKey"` + Content string `pulumi:"content"` } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) VmType() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.VmType }).(pulumi.StringOutput) +// GetClusterLoggingCustomTargetConfigInput is an input type that accepts GetClusterLoggingCustomTargetConfigArgs and GetClusterLoggingCustomTargetConfigOutput values. +// You can construct a concrete instance of `GetClusterLoggingCustomTargetConfigInput` via: +// +// GetClusterLoggingCustomTargetConfigArgs{...} +type GetClusterLoggingCustomTargetConfigInput interface { + pulumi.Input + + ToGetClusterLoggingCustomTargetConfigOutput() GetClusterLoggingCustomTargetConfigOutput + ToGetClusterLoggingCustomTargetConfigOutputWithContext(context.Context) GetClusterLoggingCustomTargetConfigOutput } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) VnetName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.VnetName }).(pulumi.StringOutput) +type GetClusterLoggingCustomTargetConfigArgs struct { + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + Content pulumi.StringInput `pulumi:"content"` } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) VnetResourceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.VnetResourceGroup }).(pulumi.StringOutput) +func (GetClusterLoggingCustomTargetConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingCustomTargetConfig)(nil)).Elem() } -type GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput struct{ *pulumi.OutputState } +func (i GetClusterLoggingCustomTargetConfigArgs) ToGetClusterLoggingCustomTargetConfigOutput() GetClusterLoggingCustomTargetConfigOutput { + return i.ToGetClusterLoggingCustomTargetConfigOutputWithContext(context.Background()) +} -func (GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +func (i GetClusterLoggingCustomTargetConfigArgs) ToGetClusterLoggingCustomTargetConfigOutputWithContext(ctx context.Context) GetClusterLoggingCustomTargetConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingCustomTargetConfigOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { +type GetClusterLoggingCustomTargetConfigOutput struct{ *pulumi.OutputState } + +func (GetClusterLoggingCustomTargetConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingCustomTargetConfig)(nil)).Elem() +} + +func (o GetClusterLoggingCustomTargetConfigOutput) ToGetClusterLoggingCustomTargetConfigOutput() GetClusterLoggingCustomTargetConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { +func (o GetClusterLoggingCustomTargetConfigOutput) ToGetClusterLoggingCustomTargetConfigOutputWithContext(ctx context.Context) GetClusterLoggingCustomTargetConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) Elem() GetClusterRkeConfigCloudProviderAzureCloudProviderOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) GetClusterRkeConfigCloudProviderAzureCloudProvider { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderAzureCloudProvider - return ret - }).(GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) +func (o GetClusterLoggingCustomTargetConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingCustomTargetConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +} + +func (o GetClusterLoggingCustomTargetConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingCustomTargetConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +} + +func (o GetClusterLoggingCustomTargetConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingCustomTargetConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +} + +func (o GetClusterLoggingCustomTargetConfigOutput) Content() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterLoggingCustomTargetConfig) string { return v.Content }).(pulumi.StringOutput) +} + +type GetClusterLoggingElasticsearchConfig struct { + AuthPassword *string `pulumi:"authPassword"` + AuthUsername *string `pulumi:"authUsername"` + Certificate *string `pulumi:"certificate"` + ClientCert *string `pulumi:"clientCert"` + ClientKey *string `pulumi:"clientKey"` + ClientKeyPass *string `pulumi:"clientKeyPass"` + DateFormat *string `pulumi:"dateFormat"` + Endpoint string `pulumi:"endpoint"` + IndexPrefix *string `pulumi:"indexPrefix"` + SslVerify bool `pulumi:"sslVerify"` + SslVersion *string `pulumi:"sslVersion"` +} + +// GetClusterLoggingElasticsearchConfigInput is an input type that accepts GetClusterLoggingElasticsearchConfigArgs and GetClusterLoggingElasticsearchConfigOutput values. +// You can construct a concrete instance of `GetClusterLoggingElasticsearchConfigInput` via: +// +// GetClusterLoggingElasticsearchConfigArgs{...} +type GetClusterLoggingElasticsearchConfigInput interface { + pulumi.Input + + ToGetClusterLoggingElasticsearchConfigOutput() GetClusterLoggingElasticsearchConfigOutput + ToGetClusterLoggingElasticsearchConfigOutputWithContext(context.Context) GetClusterLoggingElasticsearchConfigOutput +} + +type GetClusterLoggingElasticsearchConfigArgs struct { + AuthPassword pulumi.StringPtrInput `pulumi:"authPassword"` + AuthUsername pulumi.StringPtrInput `pulumi:"authUsername"` + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` + DateFormat pulumi.StringPtrInput `pulumi:"dateFormat"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + IndexPrefix pulumi.StringPtrInput `pulumi:"indexPrefix"` + SslVerify pulumi.BoolInput `pulumi:"sslVerify"` + SslVersion pulumi.StringPtrInput `pulumi:"sslVersion"` } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.AadClientCertPassword - }).(pulumi.StringPtrOutput) +func (GetClusterLoggingElasticsearchConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingElasticsearchConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.AadClientCertPath - }).(pulumi.StringPtrOutput) +func (i GetClusterLoggingElasticsearchConfigArgs) ToGetClusterLoggingElasticsearchConfigOutput() GetClusterLoggingElasticsearchConfigOutput { + return i.ToGetClusterLoggingElasticsearchConfigOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.AadClientId - }).(pulumi.StringPtrOutput) +func (i GetClusterLoggingElasticsearchConfigArgs) ToGetClusterLoggingElasticsearchConfigOutputWithContext(ctx context.Context) GetClusterLoggingElasticsearchConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingElasticsearchConfigOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.AadClientSecret - }).(pulumi.StringPtrOutput) -} +type GetClusterLoggingElasticsearchConfigOutput struct{ *pulumi.OutputState } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.Cloud - }).(pulumi.StringPtrOutput) +func (GetClusterLoggingElasticsearchConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingElasticsearchConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoff() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *bool { - if v == nil { - return nil - } - return &v.CloudProviderBackoff - }).(pulumi.BoolPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) ToGetClusterLoggingElasticsearchConfigOutput() GetClusterLoggingElasticsearchConfigOutput { + return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffDuration() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderBackoffDuration - }).(pulumi.IntPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) ToGetClusterLoggingElasticsearchConfigOutputWithContext(ctx context.Context) GetClusterLoggingElasticsearchConfigOutput { + return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffExponent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderBackoffExponent - }).(pulumi.IntPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) AuthPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.AuthPassword }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffJitter() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderBackoffJitter - }).(pulumi.IntPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) AuthUsername() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.AuthUsername }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderBackoffRetries - }).(pulumi.IntPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimit() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *bool { - if v == nil { - return nil - } - return &v.CloudProviderRateLimit - }).(pulumi.BoolPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitBucket() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderRateLimitBucket - }).(pulumi.IntPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitQps() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderRateLimitQps - }).(pulumi.IntPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) LoadBalancerSku() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return v.LoadBalancerSku - }).(pulumi.StringPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) DateFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.DateFormat }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.Location - }).(pulumi.StringPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) string { return v.Endpoint }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) MaximumLoadBalancerRuleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.MaximumLoadBalancerRuleCount - }).(pulumi.IntPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) IndexPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.IndexPrefix }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryAvailabilitySetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.PrimaryAvailabilitySetName - }).(pulumi.StringPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) SslVerify() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryScaleSetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.PrimaryScaleSetName - }).(pulumi.StringPtrOutput) +func (o GetClusterLoggingElasticsearchConfigOutput) SslVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingElasticsearchConfig) *string { return v.SslVersion }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) ResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.ResourceGroup - }).(pulumi.StringPtrOutput) +type GetClusterLoggingFluentdConfig struct { + Certificate *string `pulumi:"certificate"` + Compress *bool `pulumi:"compress"` + EnableTls *bool `pulumi:"enableTls"` + FluentServers []GetClusterLoggingFluentdConfigFluentServer `pulumi:"fluentServers"` } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) RouteTableName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.RouteTableName - }).(pulumi.StringPtrOutput) -} +// GetClusterLoggingFluentdConfigInput is an input type that accepts GetClusterLoggingFluentdConfigArgs and GetClusterLoggingFluentdConfigOutput values. +// You can construct a concrete instance of `GetClusterLoggingFluentdConfigInput` via: +// +// GetClusterLoggingFluentdConfigArgs{...} +type GetClusterLoggingFluentdConfigInput interface { + pulumi.Input -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.SecurityGroupName - }).(pulumi.StringPtrOutput) + ToGetClusterLoggingFluentdConfigOutput() GetClusterLoggingFluentdConfigOutput + ToGetClusterLoggingFluentdConfigOutputWithContext(context.Context) GetClusterLoggingFluentdConfigOutput } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubnetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.SubnetName - }).(pulumi.StringPtrOutput) +type GetClusterLoggingFluentdConfigArgs struct { + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + Compress pulumi.BoolPtrInput `pulumi:"compress"` + EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` + FluentServers GetClusterLoggingFluentdConfigFluentServerArrayInput `pulumi:"fluentServers"` } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubscriptionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.SubscriptionId - }).(pulumi.StringPtrOutput) +func (GetClusterLoggingFluentdConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingFluentdConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.TenantId - }).(pulumi.StringPtrOutput) +func (i GetClusterLoggingFluentdConfigArgs) ToGetClusterLoggingFluentdConfigOutput() GetClusterLoggingFluentdConfigOutput { + return i.ToGetClusterLoggingFluentdConfigOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseInstanceMetadata() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *bool { - if v == nil { - return nil - } - return &v.UseInstanceMetadata - }).(pulumi.BoolPtrOutput) +func (i GetClusterLoggingFluentdConfigArgs) ToGetClusterLoggingFluentdConfigOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingFluentdConfigOutput) } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseManagedIdentityExtension() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *bool { - if v == nil { - return nil - } - return &v.UseManagedIdentityExtension - }).(pulumi.BoolPtrOutput) +type GetClusterLoggingFluentdConfigOutput struct{ *pulumi.OutputState } + +func (GetClusterLoggingFluentdConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingFluentdConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) VmType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.VmType - }).(pulumi.StringPtrOutput) +func (o GetClusterLoggingFluentdConfigOutput) ToGetClusterLoggingFluentdConfigOutput() GetClusterLoggingFluentdConfigOutput { + return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.VnetName - }).(pulumi.StringPtrOutput) +func (o GetClusterLoggingFluentdConfigOutput) ToGetClusterLoggingFluentdConfigOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigOutput { + return o } -func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.VnetResourceGroup - }).(pulumi.StringPtrOutput) +func (o GetClusterLoggingFluentdConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProvider struct { - BlockStorage GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage `pulumi:"blockStorage"` - Global GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal `pulumi:"global"` - LoadBalancer GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer `pulumi:"loadBalancer"` - Metadata GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata `pulumi:"metadata"` - Route GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute `pulumi:"route"` +func (o GetClusterLoggingFluentdConfigOutput) Compress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfig) *bool { return v.Compress }).(pulumi.BoolPtrOutput) } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderInput` via: -// -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs{...} -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderInput interface { - pulumi.Input +func (o GetClusterLoggingFluentdConfigOutput) EnableTls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) +} - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput +func (o GetClusterLoggingFluentdConfigOutput) FluentServers() GetClusterLoggingFluentdConfigFluentServerArrayOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfig) []GetClusterLoggingFluentdConfigFluentServer { + return v.FluentServers + }).(GetClusterLoggingFluentdConfigFluentServerArrayOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs struct { - BlockStorage GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput `pulumi:"blockStorage"` - Global GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalInput `pulumi:"global"` - LoadBalancer GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput `pulumi:"loadBalancer"` - Metadata GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataInput `pulumi:"metadata"` - Route GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteInput `pulumi:"route"` +type GetClusterLoggingFluentdConfigFluentServer struct { + Endpoint string `pulumi:"endpoint"` + Hostname *string `pulumi:"hostname"` + Password *string `pulumi:"password"` + SharedKey *string `pulumi:"sharedKey"` + Standby *bool `pulumi:"standby"` + Username *string `pulumi:"username"` + Weight *int `pulumi:"weight"` } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +// GetClusterLoggingFluentdConfigFluentServerInput is an input type that accepts GetClusterLoggingFluentdConfigFluentServerArgs and GetClusterLoggingFluentdConfigFluentServerOutput values. +// You can construct a concrete instance of `GetClusterLoggingFluentdConfigFluentServerInput` via: +// +// GetClusterLoggingFluentdConfigFluentServerArgs{...} +type GetClusterLoggingFluentdConfigFluentServerInput interface { + pulumi.Input + + ToGetClusterLoggingFluentdConfigFluentServerOutput() GetClusterLoggingFluentdConfigFluentServerOutput + ToGetClusterLoggingFluentdConfigFluentServerOutputWithContext(context.Context) GetClusterLoggingFluentdConfigFluentServerOutput } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Background()) +type GetClusterLoggingFluentdConfigFluentServerArgs struct { + Endpoint pulumi.StringInput `pulumi:"endpoint"` + Hostname pulumi.StringPtrInput `pulumi:"hostname"` + Password pulumi.StringPtrInput `pulumi:"password"` + SharedKey pulumi.StringPtrInput `pulumi:"sharedKey"` + Standby pulumi.BoolPtrInput `pulumi:"standby"` + Username pulumi.StringPtrInput `pulumi:"username"` + Weight pulumi.IntPtrInput `pulumi:"weight"` } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) +func (GetClusterLoggingFluentdConfigFluentServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingFluentdConfigFluentServer)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) +func (i GetClusterLoggingFluentdConfigFluentServerArgs) ToGetClusterLoggingFluentdConfigFluentServerOutput() GetClusterLoggingFluentdConfigFluentServerOutput { + return i.ToGetClusterLoggingFluentdConfigFluentServerOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx) +func (i GetClusterLoggingFluentdConfigFluentServerArgs) ToGetClusterLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigFluentServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingFluentdConfigFluentServerOutput) } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrInput` via: -// -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs{...} -// -// or: +// GetClusterLoggingFluentdConfigFluentServerArrayInput is an input type that accepts GetClusterLoggingFluentdConfigFluentServerArray and GetClusterLoggingFluentdConfigFluentServerArrayOutput values. +// You can construct a concrete instance of `GetClusterLoggingFluentdConfigFluentServerArrayInput` via: // -// nil -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrInput interface { +// GetClusterLoggingFluentdConfigFluentServerArray{ GetClusterLoggingFluentdConfigFluentServerArgs{...} } +type GetClusterLoggingFluentdConfigFluentServerArrayInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput + ToGetClusterLoggingFluentdConfigFluentServerArrayOutput() GetClusterLoggingFluentdConfigFluentServerArrayOutput + ToGetClusterLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Context) GetClusterLoggingFluentdConfigFluentServerArrayOutput } -type getClusterRkeConfigCloudProviderOpenstackCloudProviderPtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs - -func GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrInput { - return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderPtrType)(v) -} +type GetClusterLoggingFluentdConfigFluentServerArray []GetClusterLoggingFluentdConfigFluentServerInput -func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +func (GetClusterLoggingFluentdConfigFluentServerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterLoggingFluentdConfigFluentServer)(nil)).Elem() } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) +func (i GetClusterLoggingFluentdConfigFluentServerArray) ToGetClusterLoggingFluentdConfigFluentServerArrayOutput() GetClusterLoggingFluentdConfigFluentServerArrayOutput { + return i.ToGetClusterLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) +func (i GetClusterLoggingFluentdConfigFluentServerArray) ToGetClusterLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigFluentServerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingFluentdConfigFluentServerArrayOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput struct{ *pulumi.OutputState } +type GetClusterLoggingFluentdConfigFluentServerOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +func (GetClusterLoggingFluentdConfigFluentServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingFluentdConfigFluentServer)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput { +func (o GetClusterLoggingFluentdConfigFluentServerOutput) ToGetClusterLoggingFluentdConfigFluentServerOutput() GetClusterLoggingFluentdConfigFluentServerOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput { +func (o GetClusterLoggingFluentdConfigFluentServerOutput) ToGetClusterLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigFluentServerOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) +func (o GetClusterLoggingFluentdConfigFluentServerOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) string { return v.Endpoint }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProvider { - return &v - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) +func (o GetClusterLoggingFluentdConfigFluentServerOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *string { return v.Hostname }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) BlockStorage() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { - return v.BlockStorage - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) +func (o GetClusterLoggingFluentdConfigFluentServerOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *string { return v.Password }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) Global() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal { - return v.Global - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) +func (o GetClusterLoggingFluentdConfigFluentServerOutput) SharedKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *string { return v.SharedKey }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) LoadBalancer() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - return v.LoadBalancer - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) +func (o GetClusterLoggingFluentdConfigFluentServerOutput) Standby() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *bool { return v.Standby }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) Metadata() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata { - return v.Metadata - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) +func (o GetClusterLoggingFluentdConfigFluentServerOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *string { return v.Username }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) Route() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute { - return v.Route - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) +func (o GetClusterLoggingFluentdConfigFluentServerOutput) Weight() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterLoggingFluentdConfigFluentServer) *int { return v.Weight }).(pulumi.IntPtrOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput struct{ *pulumi.OutputState } +type GetClusterLoggingFluentdConfigFluentServerArrayOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +func (GetClusterLoggingFluentdConfigFluentServerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterLoggingFluentdConfigFluentServer)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { +func (o GetClusterLoggingFluentdConfigFluentServerArrayOutput) ToGetClusterLoggingFluentdConfigFluentServerArrayOutput() GetClusterLoggingFluentdConfigFluentServerArrayOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { +func (o GetClusterLoggingFluentdConfigFluentServerArrayOutput) ToGetClusterLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) GetClusterLoggingFluentdConfigFluentServerArrayOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProvider { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderOpenstackCloudProvider - return ret - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) -} - -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) BlockStorage() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { - if v == nil { - return nil - } - return &v.BlockStorage - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) -} - -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Global() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal { - if v == nil { - return nil - } - return &v.Global - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) -} - -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) LoadBalancer() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - if v == nil { - return nil - } - return &v.LoadBalancer - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) -} - -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Metadata() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata { - if v == nil { - return nil - } - return &v.Metadata - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) -} - -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Route() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute { - if v == nil { - return nil - } - return &v.Route - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) +func (o GetClusterLoggingFluentdConfigFluentServerArrayOutput) Index(i pulumi.IntInput) GetClusterLoggingFluentdConfigFluentServerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterLoggingFluentdConfigFluentServer { + return vs[0].([]GetClusterLoggingFluentdConfigFluentServer)[vs[1].(int)] + }).(GetClusterLoggingFluentdConfigFluentServerOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage struct { - BsVersion string `pulumi:"bsVersion"` - IgnoreVolumeAz bool `pulumi:"ignoreVolumeAz"` - TrustDevicePath bool `pulumi:"trustDevicePath"` +type GetClusterLoggingKafkaConfig struct { + BrokerEndpoints []string `pulumi:"brokerEndpoints"` + Certificate *string `pulumi:"certificate"` + ClientCert *string `pulumi:"clientCert"` + ClientKey *string `pulumi:"clientKey"` + Topic string `pulumi:"topic"` + ZookeeperEndpoint *string `pulumi:"zookeeperEndpoint"` } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput` via: +// GetClusterLoggingKafkaConfigInput is an input type that accepts GetClusterLoggingKafkaConfigArgs and GetClusterLoggingKafkaConfigOutput values. +// You can construct a concrete instance of `GetClusterLoggingKafkaConfigInput` via: // -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput interface { +// GetClusterLoggingKafkaConfigArgs{...} +type GetClusterLoggingKafkaConfigInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput + ToGetClusterLoggingKafkaConfigOutput() GetClusterLoggingKafkaConfigOutput + ToGetClusterLoggingKafkaConfigOutputWithContext(context.Context) GetClusterLoggingKafkaConfigOutput } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs struct { - BsVersion pulumi.StringInput `pulumi:"bsVersion"` - IgnoreVolumeAz pulumi.BoolInput `pulumi:"ignoreVolumeAz"` - TrustDevicePath pulumi.BoolInput `pulumi:"trustDevicePath"` +type GetClusterLoggingKafkaConfigArgs struct { + BrokerEndpoints pulumi.StringArrayInput `pulumi:"brokerEndpoints"` + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + Topic pulumi.StringInput `pulumi:"topic"` + ZookeeperEndpoint pulumi.StringPtrInput `pulumi:"zookeeperEndpoint"` } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (GetClusterLoggingKafkaConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingKafkaConfig)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Background()) +func (i GetClusterLoggingKafkaConfigArgs) ToGetClusterLoggingKafkaConfigOutput() GetClusterLoggingKafkaConfigOutput { + return i.ToGetClusterLoggingKafkaConfigOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) +func (i GetClusterLoggingKafkaConfigArgs) ToGetClusterLoggingKafkaConfigOutputWithContext(ctx context.Context) GetClusterLoggingKafkaConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingKafkaConfigOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) -} +type GetClusterLoggingKafkaConfigOutput struct{ *pulumi.OutputState } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx) +func (GetClusterLoggingKafkaConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingKafkaConfig)(nil)).Elem() } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput` via: -// -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} -// -// or: -// -// nil -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput interface { - pulumi.Input - - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput +func (o GetClusterLoggingKafkaConfigOutput) ToGetClusterLoggingKafkaConfigOutput() GetClusterLoggingKafkaConfigOutput { + return o } -type getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs - -func GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput { - return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType)(v) +func (o GetClusterLoggingKafkaConfigOutput) ToGetClusterLoggingKafkaConfigOutputWithContext(ctx context.Context) GetClusterLoggingKafkaConfigOutput { + return o } -func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (o GetClusterLoggingKafkaConfigOutput) BrokerEndpoints() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterLoggingKafkaConfig) []string { return v.BrokerEndpoints }).(pulumi.StringArrayOutput) } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) +func (o GetClusterLoggingKafkaConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingKafkaConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) +func (o GetClusterLoggingKafkaConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingKafkaConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput struct{ *pulumi.OutputState } +func (o GetClusterLoggingKafkaConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingKafkaConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +} -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (o GetClusterLoggingKafkaConfigOutput) Topic() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterLoggingKafkaConfig) string { return v.Topic }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return o +func (o GetClusterLoggingKafkaConfigOutput) ZookeeperEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingKafkaConfig) *string { return v.ZookeeperEndpoint }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return o +type GetClusterLoggingSplunkConfig struct { + Certificate *string `pulumi:"certificate"` + ClientCert *string `pulumi:"clientCert"` + ClientKey *string `pulumi:"clientKey"` + ClientKeyPass *string `pulumi:"clientKeyPass"` + Endpoint string `pulumi:"endpoint"` + Index *string `pulumi:"index"` + Source *string `pulumi:"source"` + SslVerify bool `pulumi:"sslVerify"` + Token string `pulumi:"token"` } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) +// GetClusterLoggingSplunkConfigInput is an input type that accepts GetClusterLoggingSplunkConfigArgs and GetClusterLoggingSplunkConfigOutput values. +// You can construct a concrete instance of `GetClusterLoggingSplunkConfigInput` via: +// +// GetClusterLoggingSplunkConfigArgs{...} +type GetClusterLoggingSplunkConfigInput interface { + pulumi.Input + + ToGetClusterLoggingSplunkConfigOutput() GetClusterLoggingSplunkConfigOutput + ToGetClusterLoggingSplunkConfigOutputWithContext(context.Context) GetClusterLoggingSplunkConfigOutput } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { - return &v - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) +type GetClusterLoggingSplunkConfigArgs struct { + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + Index pulumi.StringPtrInput `pulumi:"index"` + Source pulumi.StringPtrInput `pulumi:"source"` + SslVerify pulumi.BoolInput `pulumi:"sslVerify"` + Token pulumi.StringInput `pulumi:"token"` } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) BsVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) string { return v.BsVersion }).(pulumi.StringOutput) +func (GetClusterLoggingSplunkConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingSplunkConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) IgnoreVolumeAz() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) bool { - return v.IgnoreVolumeAz - }).(pulumi.BoolOutput) +func (i GetClusterLoggingSplunkConfigArgs) ToGetClusterLoggingSplunkConfigOutput() GetClusterLoggingSplunkConfigOutput { + return i.ToGetClusterLoggingSplunkConfigOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) TrustDevicePath() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) bool { - return v.TrustDevicePath - }).(pulumi.BoolOutput) +func (i GetClusterLoggingSplunkConfigArgs) ToGetClusterLoggingSplunkConfigOutputWithContext(ctx context.Context) GetClusterLoggingSplunkConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingSplunkConfigOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput struct{ *pulumi.OutputState } +type GetClusterLoggingSplunkConfigOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (GetClusterLoggingSplunkConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingSplunkConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { +func (o GetClusterLoggingSplunkConfigOutput) ToGetClusterLoggingSplunkConfigOutput() GetClusterLoggingSplunkConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { +func (o GetClusterLoggingSplunkConfigOutput) ToGetClusterLoggingSplunkConfigOutputWithContext(ctx context.Context) GetClusterLoggingSplunkConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage - return ret - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) -} - -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) BsVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *string { - if v == nil { - return nil - } - return &v.BsVersion - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) IgnoreVolumeAz() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { - if v == nil { - return nil - } - return &v.IgnoreVolumeAz - }).(pulumi.BoolPtrOutput) +func (o GetClusterLoggingSplunkConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) TrustDevicePath() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { - if v == nil { - return nil - } - return &v.TrustDevicePath - }).(pulumi.BoolPtrOutput) +func (o GetClusterLoggingSplunkConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal struct { - AuthUrl string `pulumi:"authUrl"` - CaFile string `pulumi:"caFile"` - DomainId string `pulumi:"domainId"` - DomainName string `pulumi:"domainName"` - Password string `pulumi:"password"` - Region string `pulumi:"region"` - TenantId string `pulumi:"tenantId"` - TenantName string `pulumi:"tenantName"` - TrustId string `pulumi:"trustId"` - Username string `pulumi:"username"` +func (o GetClusterLoggingSplunkConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalInput` via: -// -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalInput interface { - pulumi.Input - - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput +func (o GetClusterLoggingSplunkConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs struct { - AuthUrl pulumi.StringInput `pulumi:"authUrl"` - CaFile pulumi.StringInput `pulumi:"caFile"` - DomainId pulumi.StringInput `pulumi:"domainId"` - DomainName pulumi.StringInput `pulumi:"domainName"` - Password pulumi.StringInput `pulumi:"password"` - Region pulumi.StringInput `pulumi:"region"` - TenantId pulumi.StringInput `pulumi:"tenantId"` - TenantName pulumi.StringInput `pulumi:"tenantName"` - TrustId pulumi.StringInput `pulumi:"trustId"` - Username pulumi.StringInput `pulumi:"username"` +func (o GetClusterLoggingSplunkConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterLoggingSplunkConfig) string { return v.Endpoint }).(pulumi.StringOutput) } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +func (o GetClusterLoggingSplunkConfigOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.Index }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Background()) +func (o GetClusterLoggingSplunkConfigOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSplunkConfig) *string { return v.Source }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) +func (o GetClusterLoggingSplunkConfigOutput) SslVerify() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterLoggingSplunkConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o GetClusterLoggingSplunkConfigOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterLoggingSplunkConfig) string { return v.Token }).(pulumi.StringOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx) +type GetClusterLoggingSyslogConfig struct { + Certificate *string `pulumi:"certificate"` + ClientCert *string `pulumi:"clientCert"` + ClientKey *string `pulumi:"clientKey"` + EnableTls *bool `pulumi:"enableTls"` + Endpoint string `pulumi:"endpoint"` + Program *string `pulumi:"program"` + Protocol *string `pulumi:"protocol"` + Severity *string `pulumi:"severity"` + SslVerify bool `pulumi:"sslVerify"` + Token *string `pulumi:"token"` } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput` via: -// -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} -// -// or: +// GetClusterLoggingSyslogConfigInput is an input type that accepts GetClusterLoggingSyslogConfigArgs and GetClusterLoggingSyslogConfigOutput values. +// You can construct a concrete instance of `GetClusterLoggingSyslogConfigInput` via: // -// nil -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput interface { +// GetClusterLoggingSyslogConfigArgs{...} +type GetClusterLoggingSyslogConfigInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput + ToGetClusterLoggingSyslogConfigOutput() GetClusterLoggingSyslogConfigOutput + ToGetClusterLoggingSyslogConfigOutputWithContext(context.Context) GetClusterLoggingSyslogConfigOutput } -type getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs - -func GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput { - return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType)(v) +type GetClusterLoggingSyslogConfigArgs struct { + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + Program pulumi.StringPtrInput `pulumi:"program"` + Protocol pulumi.StringPtrInput `pulumi:"protocol"` + Severity pulumi.StringPtrInput `pulumi:"severity"` + SslVerify pulumi.BoolInput `pulumi:"sslVerify"` + Token pulumi.StringPtrInput `pulumi:"token"` } -func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +func (GetClusterLoggingSyslogConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingSyslogConfig)(nil)).Elem() } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (i GetClusterLoggingSyslogConfigArgs) ToGetClusterLoggingSyslogConfigOutput() GetClusterLoggingSyslogConfigOutput { + return i.ToGetClusterLoggingSyslogConfigOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) +func (i GetClusterLoggingSyslogConfigArgs) ToGetClusterLoggingSyslogConfigOutputWithContext(ctx context.Context) GetClusterLoggingSyslogConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterLoggingSyslogConfigOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput struct{ *pulumi.OutputState } +type GetClusterLoggingSyslogConfigOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +func (GetClusterLoggingSyslogConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterLoggingSyslogConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { +func (o GetClusterLoggingSyslogConfigOutput) ToGetClusterLoggingSyslogConfigOutput() GetClusterLoggingSyslogConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { +func (o GetClusterLoggingSyslogConfigOutput) ToGetClusterLoggingSyslogConfigOutputWithContext(ctx context.Context) GetClusterLoggingSyslogConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) -} - -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal { - return &v - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) +func (o GetClusterLoggingSyslogConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) AuthUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.AuthUrl }).(pulumi.StringOutput) +func (o GetClusterLoggingSyslogConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) CaFile() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.CaFile }).(pulumi.StringOutput) +func (o GetClusterLoggingSyslogConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.DomainId }).(pulumi.StringOutput) +func (o GetClusterLoggingSyslogConfigOutput) EnableTls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.DomainName }).(pulumi.StringOutput) +func (o GetClusterLoggingSyslogConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterLoggingSyslogConfig) string { return v.Endpoint }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.Password }).(pulumi.StringOutput) +func (o GetClusterLoggingSyslogConfigOutput) Program() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.Program }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.Region }).(pulumi.StringOutput) +func (o GetClusterLoggingSyslogConfigOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.Protocol }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.TenantId }).(pulumi.StringOutput) +func (o GetClusterLoggingSyslogConfigOutput) Severity() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.Severity }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.TenantName }).(pulumi.StringOutput) +func (o GetClusterLoggingSyslogConfigOutput) SslVerify() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterLoggingSyslogConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TrustId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.TrustId }).(pulumi.StringOutput) +func (o GetClusterLoggingSyslogConfigOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterLoggingSyslogConfig) *string { return v.Token }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.Username }).(pulumi.StringOutput) +type GetClusterOkeConfig struct { + CompartmentId string `pulumi:"compartmentId"` + CustomBootVolumeSize *int `pulumi:"customBootVolumeSize"` + // (Computed) The description for Cluster (string) + Description *string `pulumi:"description"` + EnableKubernetesDashboard *bool `pulumi:"enableKubernetesDashboard"` + EnablePrivateControlPlane *bool `pulumi:"enablePrivateControlPlane"` + EnablePrivateNodes *bool `pulumi:"enablePrivateNodes"` + Fingerprint string `pulumi:"fingerprint"` + FlexOcpus *int `pulumi:"flexOcpus"` + KmsKeyId *string `pulumi:"kmsKeyId"` + KubernetesVersion string `pulumi:"kubernetesVersion"` + LimitNodeCount *int `pulumi:"limitNodeCount"` + LoadBalancerSubnetName1 *string `pulumi:"loadBalancerSubnetName1"` + LoadBalancerSubnetName2 *string `pulumi:"loadBalancerSubnetName2"` + NodeImage string `pulumi:"nodeImage"` + NodePoolDnsDomainName *string `pulumi:"nodePoolDnsDomainName"` + NodePoolSubnetName *string `pulumi:"nodePoolSubnetName"` + NodePublicKeyContents *string `pulumi:"nodePublicKeyContents"` + NodeShape string `pulumi:"nodeShape"` + PodCidr *string `pulumi:"podCidr"` + PrivateKeyContents string `pulumi:"privateKeyContents"` + PrivateKeyPassphrase *string `pulumi:"privateKeyPassphrase"` + QuantityOfNodeSubnets *int `pulumi:"quantityOfNodeSubnets"` + QuantityPerSubnet *int `pulumi:"quantityPerSubnet"` + Region string `pulumi:"region"` + ServiceCidr *string `pulumi:"serviceCidr"` + ServiceDnsDomainName *string `pulumi:"serviceDnsDomainName"` + SkipVcnDelete *bool `pulumi:"skipVcnDelete"` + TenancyId string `pulumi:"tenancyId"` + UserOcid string `pulumi:"userOcid"` + VcnCompartmentId *string `pulumi:"vcnCompartmentId"` + VcnName *string `pulumi:"vcnName"` + WorkerNodeIngressCidr *string `pulumi:"workerNodeIngressCidr"` } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } +// GetClusterOkeConfigInput is an input type that accepts GetClusterOkeConfigArgs and GetClusterOkeConfigOutput values. +// You can construct a concrete instance of `GetClusterOkeConfigInput` via: +// +// GetClusterOkeConfigArgs{...} +type GetClusterOkeConfigInput interface { + pulumi.Input -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() + ToGetClusterOkeConfigOutput() GetClusterOkeConfigOutput + ToGetClusterOkeConfigOutputWithContext(context.Context) GetClusterOkeConfigOutput } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o +type GetClusterOkeConfigArgs struct { + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + CustomBootVolumeSize pulumi.IntPtrInput `pulumi:"customBootVolumeSize"` + // (Computed) The description for Cluster (string) + Description pulumi.StringPtrInput `pulumi:"description"` + EnableKubernetesDashboard pulumi.BoolPtrInput `pulumi:"enableKubernetesDashboard"` + EnablePrivateControlPlane pulumi.BoolPtrInput `pulumi:"enablePrivateControlPlane"` + EnablePrivateNodes pulumi.BoolPtrInput `pulumi:"enablePrivateNodes"` + Fingerprint pulumi.StringInput `pulumi:"fingerprint"` + FlexOcpus pulumi.IntPtrInput `pulumi:"flexOcpus"` + KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` + KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` + LimitNodeCount pulumi.IntPtrInput `pulumi:"limitNodeCount"` + LoadBalancerSubnetName1 pulumi.StringPtrInput `pulumi:"loadBalancerSubnetName1"` + LoadBalancerSubnetName2 pulumi.StringPtrInput `pulumi:"loadBalancerSubnetName2"` + NodeImage pulumi.StringInput `pulumi:"nodeImage"` + NodePoolDnsDomainName pulumi.StringPtrInput `pulumi:"nodePoolDnsDomainName"` + NodePoolSubnetName pulumi.StringPtrInput `pulumi:"nodePoolSubnetName"` + NodePublicKeyContents pulumi.StringPtrInput `pulumi:"nodePublicKeyContents"` + NodeShape pulumi.StringInput `pulumi:"nodeShape"` + PodCidr pulumi.StringPtrInput `pulumi:"podCidr"` + PrivateKeyContents pulumi.StringInput `pulumi:"privateKeyContents"` + PrivateKeyPassphrase pulumi.StringPtrInput `pulumi:"privateKeyPassphrase"` + QuantityOfNodeSubnets pulumi.IntPtrInput `pulumi:"quantityOfNodeSubnets"` + QuantityPerSubnet pulumi.IntPtrInput `pulumi:"quantityPerSubnet"` + Region pulumi.StringInput `pulumi:"region"` + ServiceCidr pulumi.StringPtrInput `pulumi:"serviceCidr"` + ServiceDnsDomainName pulumi.StringPtrInput `pulumi:"serviceDnsDomainName"` + SkipVcnDelete pulumi.BoolPtrInput `pulumi:"skipVcnDelete"` + TenancyId pulumi.StringInput `pulumi:"tenancyId"` + UserOcid pulumi.StringInput `pulumi:"userOcid"` + VcnCompartmentId pulumi.StringPtrInput `pulumi:"vcnCompartmentId"` + VcnName pulumi.StringPtrInput `pulumi:"vcnName"` + WorkerNodeIngressCidr pulumi.StringPtrInput `pulumi:"workerNodeIngressCidr"` } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o +func (GetClusterOkeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOkeConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal - return ret - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) +func (i GetClusterOkeConfigArgs) ToGetClusterOkeConfigOutput() GetClusterOkeConfigOutput { + return i.ToGetClusterOkeConfigOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) AuthUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.AuthUrl - }).(pulumi.StringPtrOutput) +func (i GetClusterOkeConfigArgs) ToGetClusterOkeConfigOutputWithContext(ctx context.Context) GetClusterOkeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterOkeConfigOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) CaFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.CaFile - }).(pulumi.StringPtrOutput) +type GetClusterOkeConfigOutput struct{ *pulumi.OutputState } + +func (GetClusterOkeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterOkeConfig)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.DomainId - }).(pulumi.StringPtrOutput) +func (o GetClusterOkeConfigOutput) ToGetClusterOkeConfigOutput() GetClusterOkeConfigOutput { + return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.DomainName - }).(pulumi.StringPtrOutput) +func (o GetClusterOkeConfigOutput) ToGetClusterOkeConfigOutputWithContext(ctx context.Context) GetClusterOkeConfigOutput { + return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) +func (o GetClusterOkeConfigOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOkeConfig) string { return v.CompartmentId }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Region - }).(pulumi.StringPtrOutput) +func (o GetClusterOkeConfigOutput) CustomBootVolumeSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *int { return v.CustomBootVolumeSize }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.TenantId - }).(pulumi.StringPtrOutput) +// (Computed) The description for Cluster (string) +func (o GetClusterOkeConfigOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.TenantName - }).(pulumi.StringPtrOutput) +func (o GetClusterOkeConfigOutput) EnableKubernetesDashboard() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *bool { return v.EnableKubernetesDashboard }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TrustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.TrustId - }).(pulumi.StringPtrOutput) +func (o GetClusterOkeConfigOutput) EnablePrivateControlPlane() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *bool { return v.EnablePrivateControlPlane }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Username - }).(pulumi.StringPtrOutput) +func (o GetClusterOkeConfigOutput) EnablePrivateNodes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *bool { return v.EnablePrivateNodes }).(pulumi.BoolPtrOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer struct { - CreateMonitor bool `pulumi:"createMonitor"` - FloatingNetworkId string `pulumi:"floatingNetworkId"` - LbMethod string `pulumi:"lbMethod"` - LbProvider string `pulumi:"lbProvider"` - LbVersion string `pulumi:"lbVersion"` - ManageSecurityGroups bool `pulumi:"manageSecurityGroups"` - MonitorDelay *string `pulumi:"monitorDelay"` - MonitorMaxRetries *int `pulumi:"monitorMaxRetries"` - MonitorTimeout *string `pulumi:"monitorTimeout"` - SubnetId string `pulumi:"subnetId"` - UseOctavia bool `pulumi:"useOctavia"` +func (o GetClusterOkeConfigOutput) Fingerprint() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOkeConfig) string { return v.Fingerprint }).(pulumi.StringOutput) } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput` via: -// -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput interface { - pulumi.Input - - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput +func (o GetClusterOkeConfigOutput) FlexOcpus() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *int { return v.FlexOcpus }).(pulumi.IntPtrOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs struct { - CreateMonitor pulumi.BoolInput `pulumi:"createMonitor"` - FloatingNetworkId pulumi.StringInput `pulumi:"floatingNetworkId"` - LbMethod pulumi.StringInput `pulumi:"lbMethod"` - LbProvider pulumi.StringInput `pulumi:"lbProvider"` - LbVersion pulumi.StringInput `pulumi:"lbVersion"` - ManageSecurityGroups pulumi.BoolInput `pulumi:"manageSecurityGroups"` - MonitorDelay pulumi.StringPtrInput `pulumi:"monitorDelay"` - MonitorMaxRetries pulumi.IntPtrInput `pulumi:"monitorMaxRetries"` - MonitorTimeout pulumi.StringPtrInput `pulumi:"monitorTimeout"` - SubnetId pulumi.StringInput `pulumi:"subnetId"` - UseOctavia pulumi.BoolInput `pulumi:"useOctavia"` +func (o GetClusterOkeConfigOutput) KmsKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.KmsKeyId }).(pulumi.StringPtrOutput) } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() +func (o GetClusterOkeConfigOutput) KubernetesVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOkeConfig) string { return v.KubernetesVersion }).(pulumi.StringOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Background()) +func (o GetClusterOkeConfigOutput) LimitNodeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *int { return v.LimitNodeCount }).(pulumi.IntPtrOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) +func (o GetClusterOkeConfigOutput) LoadBalancerSubnetName1() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.LoadBalancerSubnetName1 }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) +func (o GetClusterOkeConfigOutput) LoadBalancerSubnetName2() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.LoadBalancerSubnetName2 }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx) +func (o GetClusterOkeConfigOutput) NodeImage() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOkeConfig) string { return v.NodeImage }).(pulumi.StringOutput) } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput` via: -// -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} -// -// or: -// -// nil -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput interface { - pulumi.Input +func (o GetClusterOkeConfigOutput) NodePoolDnsDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.NodePoolDnsDomainName }).(pulumi.StringPtrOutput) +} - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput +func (o GetClusterOkeConfigOutput) NodePoolSubnetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.NodePoolSubnetName }).(pulumi.StringPtrOutput) } -type getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs +func (o GetClusterOkeConfigOutput) NodePublicKeyContents() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.NodePublicKeyContents }).(pulumi.StringPtrOutput) +} -func GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput { - return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType)(v) +func (o GetClusterOkeConfigOutput) NodeShape() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOkeConfig) string { return v.NodeShape }).(pulumi.StringOutput) } -func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() +func (o GetClusterOkeConfigOutput) PodCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.PodCidr }).(pulumi.StringPtrOutput) } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) +func (o GetClusterOkeConfigOutput) PrivateKeyContents() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOkeConfig) string { return v.PrivateKeyContents }).(pulumi.StringOutput) } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) +func (o GetClusterOkeConfigOutput) PrivateKeyPassphrase() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.PrivateKeyPassphrase }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput struct{ *pulumi.OutputState } +func (o GetClusterOkeConfigOutput) QuantityOfNodeSubnets() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *int { return v.QuantityOfNodeSubnets }).(pulumi.IntPtrOutput) +} -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() +func (o GetClusterOkeConfigOutput) QuantityPerSubnet() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *int { return v.QuantityPerSubnet }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o +func (o GetClusterOkeConfigOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOkeConfig) string { return v.Region }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o +func (o GetClusterOkeConfigOutput) ServiceCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.ServiceCidr }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) +func (o GetClusterOkeConfigOutput) ServiceDnsDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.ServiceDnsDomainName }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - return &v - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) +func (o GetClusterOkeConfigOutput) SkipVcnDelete() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *bool { return v.SkipVcnDelete }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) CreateMonitor() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { - return v.CreateMonitor - }).(pulumi.BoolOutput) +func (o GetClusterOkeConfigOutput) TenancyId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOkeConfig) string { return v.TenancyId }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) FloatingNetworkId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { - return v.FloatingNetworkId - }).(pulumi.StringOutput) +func (o GetClusterOkeConfigOutput) UserOcid() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterOkeConfig) string { return v.UserOcid }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbMethod() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { return v.LbMethod }).(pulumi.StringOutput) +func (o GetClusterOkeConfigOutput) VcnCompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.VcnCompartmentId }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbProvider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { return v.LbProvider }).(pulumi.StringOutput) +func (o GetClusterOkeConfigOutput) VcnName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.VcnName }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { return v.LbVersion }).(pulumi.StringOutput) +func (o GetClusterOkeConfigOutput) WorkerNodeIngressCidr() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterOkeConfig) *string { return v.WorkerNodeIngressCidr }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ManageSecurityGroups() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { - return v.ManageSecurityGroups - }).(pulumi.BoolOutput) +type GetClusterRke2Config struct { + UpgradeStrategy GetClusterRke2ConfigUpgradeStrategy `pulumi:"upgradeStrategy"` + Version string `pulumi:"version"` } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorDelay() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.MonitorDelay - }).(pulumi.StringPtrOutput) +// GetClusterRke2ConfigInput is an input type that accepts GetClusterRke2ConfigArgs and GetClusterRke2ConfigOutput values. +// You can construct a concrete instance of `GetClusterRke2ConfigInput` via: +// +// GetClusterRke2ConfigArgs{...} +type GetClusterRke2ConfigInput interface { + pulumi.Input + + ToGetClusterRke2ConfigOutput() GetClusterRke2ConfigOutput + ToGetClusterRke2ConfigOutputWithContext(context.Context) GetClusterRke2ConfigOutput } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorMaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { - return v.MonitorMaxRetries - }).(pulumi.IntPtrOutput) +type GetClusterRke2ConfigArgs struct { + UpgradeStrategy GetClusterRke2ConfigUpgradeStrategyInput `pulumi:"upgradeStrategy"` + Version pulumi.StringInput `pulumi:"version"` } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorTimeout() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.MonitorTimeout - }).(pulumi.StringPtrOutput) +func (GetClusterRke2ConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRke2Config)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { return v.SubnetId }).(pulumi.StringOutput) +func (i GetClusterRke2ConfigArgs) ToGetClusterRke2ConfigOutput() GetClusterRke2ConfigOutput { + return i.ToGetClusterRke2ConfigOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) UseOctavia() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { return v.UseOctavia }).(pulumi.BoolOutput) +func (i GetClusterRke2ConfigArgs) ToGetClusterRke2ConfigOutputWithContext(ctx context.Context) GetClusterRke2ConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRke2ConfigOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput struct{ *pulumi.OutputState } +type GetClusterRke2ConfigOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() +func (GetClusterRke2ConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRke2Config)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { +func (o GetClusterRke2ConfigOutput) ToGetClusterRke2ConfigOutput() GetClusterRke2ConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { +func (o GetClusterRke2ConfigOutput) ToGetClusterRke2ConfigOutputWithContext(ctx context.Context) GetClusterRke2ConfigOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer - return ret - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) +func (o GetClusterRke2ConfigOutput) UpgradeStrategy() GetClusterRke2ConfigUpgradeStrategyOutput { + return o.ApplyT(func(v GetClusterRke2Config) GetClusterRke2ConfigUpgradeStrategy { return v.UpgradeStrategy }).(GetClusterRke2ConfigUpgradeStrategyOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) CreateMonitor() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { - if v == nil { - return nil - } - return &v.CreateMonitor - }).(pulumi.BoolPtrOutput) +func (o GetClusterRke2ConfigOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRke2Config) string { return v.Version }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) FloatingNetworkId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return &v.FloatingNetworkId - }).(pulumi.StringPtrOutput) +type GetClusterRke2ConfigUpgradeStrategy struct { + DrainServerNodes *bool `pulumi:"drainServerNodes"` + DrainWorkerNodes *bool `pulumi:"drainWorkerNodes"` + ServerConcurrency *int `pulumi:"serverConcurrency"` + WorkerConcurrency *int `pulumi:"workerConcurrency"` } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbMethod() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return &v.LbMethod - }).(pulumi.StringPtrOutput) +// GetClusterRke2ConfigUpgradeStrategyInput is an input type that accepts GetClusterRke2ConfigUpgradeStrategyArgs and GetClusterRke2ConfigUpgradeStrategyOutput values. +// You can construct a concrete instance of `GetClusterRke2ConfigUpgradeStrategyInput` via: +// +// GetClusterRke2ConfigUpgradeStrategyArgs{...} +type GetClusterRke2ConfigUpgradeStrategyInput interface { + pulumi.Input + + ToGetClusterRke2ConfigUpgradeStrategyOutput() GetClusterRke2ConfigUpgradeStrategyOutput + ToGetClusterRke2ConfigUpgradeStrategyOutputWithContext(context.Context) GetClusterRke2ConfigUpgradeStrategyOutput } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return &v.LbProvider - }).(pulumi.StringPtrOutput) +type GetClusterRke2ConfigUpgradeStrategyArgs struct { + DrainServerNodes pulumi.BoolPtrInput `pulumi:"drainServerNodes"` + DrainWorkerNodes pulumi.BoolPtrInput `pulumi:"drainWorkerNodes"` + ServerConcurrency pulumi.IntPtrInput `pulumi:"serverConcurrency"` + WorkerConcurrency pulumi.IntPtrInput `pulumi:"workerConcurrency"` } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return &v.LbVersion - }).(pulumi.StringPtrOutput) +func (GetClusterRke2ConfigUpgradeStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRke2ConfigUpgradeStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ManageSecurityGroups() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { - if v == nil { - return nil - } - return &v.ManageSecurityGroups - }).(pulumi.BoolPtrOutput) +func (i GetClusterRke2ConfigUpgradeStrategyArgs) ToGetClusterRke2ConfigUpgradeStrategyOutput() GetClusterRke2ConfigUpgradeStrategyOutput { + return i.ToGetClusterRke2ConfigUpgradeStrategyOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorDelay() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return v.MonitorDelay - }).(pulumi.StringPtrOutput) +func (i GetClusterRke2ConfigUpgradeStrategyArgs) ToGetClusterRke2ConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterRke2ConfigUpgradeStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRke2ConfigUpgradeStrategyOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorMaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { - if v == nil { - return nil - } - return v.MonitorMaxRetries - }).(pulumi.IntPtrOutput) +type GetClusterRke2ConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } + +func (GetClusterRke2ConfigUpgradeStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRke2ConfigUpgradeStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorTimeout() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return v.MonitorTimeout - }).(pulumi.StringPtrOutput) +func (o GetClusterRke2ConfigUpgradeStrategyOutput) ToGetClusterRke2ConfigUpgradeStrategyOutput() GetClusterRke2ConfigUpgradeStrategyOutput { + return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return &v.SubnetId - }).(pulumi.StringPtrOutput) +func (o GetClusterRke2ConfigUpgradeStrategyOutput) ToGetClusterRke2ConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterRke2ConfigUpgradeStrategyOutput { + return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) UseOctavia() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { - if v == nil { - return nil - } - return &v.UseOctavia - }).(pulumi.BoolPtrOutput) +func (o GetClusterRke2ConfigUpgradeStrategyOutput) DrainServerNodes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRke2ConfigUpgradeStrategy) *bool { return v.DrainServerNodes }).(pulumi.BoolPtrOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata struct { - RequestTimeout int `pulumi:"requestTimeout"` - SearchOrder string `pulumi:"searchOrder"` +func (o GetClusterRke2ConfigUpgradeStrategyOutput) DrainWorkerNodes() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRke2ConfigUpgradeStrategy) *bool { return v.DrainWorkerNodes }).(pulumi.BoolPtrOutput) } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataInput` via: +func (o GetClusterRke2ConfigUpgradeStrategyOutput) ServerConcurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRke2ConfigUpgradeStrategy) *int { return v.ServerConcurrency }).(pulumi.IntPtrOutput) +} + +func (o GetClusterRke2ConfigUpgradeStrategyOutput) WorkerConcurrency() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRke2ConfigUpgradeStrategy) *int { return v.WorkerConcurrency }).(pulumi.IntPtrOutput) +} + +type GetClusterRkeConfig struct { + AddonJobTimeout int `pulumi:"addonJobTimeout"` + Addons *string `pulumi:"addons"` + AddonsIncludes []string `pulumi:"addonsIncludes"` + Authentication GetClusterRkeConfigAuthentication `pulumi:"authentication"` + Authorization GetClusterRkeConfigAuthorization `pulumi:"authorization"` + BastionHost GetClusterRkeConfigBastionHost `pulumi:"bastionHost"` + CloudProvider GetClusterRkeConfigCloudProvider `pulumi:"cloudProvider"` + Dns GetClusterRkeConfigDns `pulumi:"dns"` + EnableCriDockerd *bool `pulumi:"enableCriDockerd"` + IgnoreDockerVersion *bool `pulumi:"ignoreDockerVersion"` + Ingress GetClusterRkeConfigIngress `pulumi:"ingress"` + KubernetesVersion string `pulumi:"kubernetesVersion"` + Monitoring GetClusterRkeConfigMonitoring `pulumi:"monitoring"` + Network GetClusterRkeConfigNetwork `pulumi:"network"` + Nodes []GetClusterRkeConfigNode `pulumi:"nodes"` + PrefixPath string `pulumi:"prefixPath"` + PrivateRegistries []GetClusterRkeConfigPrivateRegistry `pulumi:"privateRegistries"` + Services GetClusterRkeConfigServices `pulumi:"services"` + SshAgentAuth *bool `pulumi:"sshAgentAuth"` + SshCertPath string `pulumi:"sshCertPath"` + SshKeyPath string `pulumi:"sshKeyPath"` + UpgradeStrategy GetClusterRkeConfigUpgradeStrategy `pulumi:"upgradeStrategy"` + WinPrefixPath string `pulumi:"winPrefixPath"` +} + +// GetClusterRkeConfigInput is an input type that accepts GetClusterRkeConfigArgs and GetClusterRkeConfigOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigInput` via: // -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataInput interface { +// GetClusterRkeConfigArgs{...} +type GetClusterRkeConfigInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput + ToGetClusterRkeConfigOutput() GetClusterRkeConfigOutput + ToGetClusterRkeConfigOutputWithContext(context.Context) GetClusterRkeConfigOutput } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs struct { - RequestTimeout pulumi.IntInput `pulumi:"requestTimeout"` - SearchOrder pulumi.StringInput `pulumi:"searchOrder"` +type GetClusterRkeConfigArgs struct { + AddonJobTimeout pulumi.IntInput `pulumi:"addonJobTimeout"` + Addons pulumi.StringPtrInput `pulumi:"addons"` + AddonsIncludes pulumi.StringArrayInput `pulumi:"addonsIncludes"` + Authentication GetClusterRkeConfigAuthenticationInput `pulumi:"authentication"` + Authorization GetClusterRkeConfigAuthorizationInput `pulumi:"authorization"` + BastionHost GetClusterRkeConfigBastionHostInput `pulumi:"bastionHost"` + CloudProvider GetClusterRkeConfigCloudProviderInput `pulumi:"cloudProvider"` + Dns GetClusterRkeConfigDnsInput `pulumi:"dns"` + EnableCriDockerd pulumi.BoolPtrInput `pulumi:"enableCriDockerd"` + IgnoreDockerVersion pulumi.BoolPtrInput `pulumi:"ignoreDockerVersion"` + Ingress GetClusterRkeConfigIngressInput `pulumi:"ingress"` + KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` + Monitoring GetClusterRkeConfigMonitoringInput `pulumi:"monitoring"` + Network GetClusterRkeConfigNetworkInput `pulumi:"network"` + Nodes GetClusterRkeConfigNodeArrayInput `pulumi:"nodes"` + PrefixPath pulumi.StringInput `pulumi:"prefixPath"` + PrivateRegistries GetClusterRkeConfigPrivateRegistryArrayInput `pulumi:"privateRegistries"` + Services GetClusterRkeConfigServicesInput `pulumi:"services"` + SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` + SshCertPath pulumi.StringInput `pulumi:"sshCertPath"` + SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` + UpgradeStrategy GetClusterRkeConfigUpgradeStrategyInput `pulumi:"upgradeStrategy"` + WinPrefixPath pulumi.StringInput `pulumi:"winPrefixPath"` } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (GetClusterRkeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfig)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Background()) +func (i GetClusterRkeConfigArgs) ToGetClusterRkeConfigOutput() GetClusterRkeConfigOutput { + return i.ToGetClusterRkeConfigOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) +func (i GetClusterRkeConfigArgs) ToGetClusterRkeConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) +type GetClusterRkeConfigOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfig)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx) +func (o GetClusterRkeConfigOutput) ToGetClusterRkeConfigOutput() GetClusterRkeConfigOutput { + return o } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput` via: -// -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} -// -// or: -// -// nil -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput interface { - pulumi.Input +func (o GetClusterRkeConfigOutput) ToGetClusterRkeConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigOutput { + return o +} - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput +func (o GetClusterRkeConfigOutput) AddonJobTimeout() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfig) int { return v.AddonJobTimeout }).(pulumi.IntOutput) } -type getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs +func (o GetClusterRkeConfigOutput) Addons() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfig) *string { return v.Addons }).(pulumi.StringPtrOutput) +} -func GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput { - return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType)(v) +func (o GetClusterRkeConfigOutput) AddonsIncludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfig) []string { return v.AddonsIncludes }).(pulumi.StringArrayOutput) } -func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (o GetClusterRkeConfigOutput) Authentication() GetClusterRkeConfigAuthenticationOutput { + return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigAuthentication { return v.Authentication }).(GetClusterRkeConfigAuthenticationOutput) } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigOutput) Authorization() GetClusterRkeConfigAuthorizationOutput { + return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigAuthorization { return v.Authorization }).(GetClusterRkeConfigAuthorizationOutput) } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) +func (o GetClusterRkeConfigOutput) BastionHost() GetClusterRkeConfigBastionHostOutput { + return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigBastionHost { return v.BastionHost }).(GetClusterRkeConfigBastionHostOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigOutput) CloudProvider() GetClusterRkeConfigCloudProviderOutput { + return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigCloudProvider { return v.CloudProvider }).(GetClusterRkeConfigCloudProviderOutput) +} -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (o GetClusterRkeConfigOutput) Dns() GetClusterRkeConfigDnsOutput { + return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigDns { return v.Dns }).(GetClusterRkeConfigDnsOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return o +func (o GetClusterRkeConfigOutput) EnableCriDockerd() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfig) *bool { return v.EnableCriDockerd }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return o +func (o GetClusterRkeConfigOutput) IgnoreDockerVersion() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfig) *bool { return v.IgnoreDockerVersion }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigOutput) Ingress() GetClusterRkeConfigIngressOutput { + return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigIngress { return v.Ingress }).(GetClusterRkeConfigIngressOutput) +} + +func (o GetClusterRkeConfigOutput) KubernetesVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfig) string { return v.KubernetesVersion }).(pulumi.StringOutput) +} + +func (o GetClusterRkeConfigOutput) Monitoring() GetClusterRkeConfigMonitoringOutput { + return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigMonitoring { return v.Monitoring }).(GetClusterRkeConfigMonitoringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata { - return &v - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) +func (o GetClusterRkeConfigOutput) Network() GetClusterRkeConfigNetworkOutput { + return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigNetwork { return v.Network }).(GetClusterRkeConfigNetworkOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) RequestTimeout() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) int { return v.RequestTimeout }).(pulumi.IntOutput) +func (o GetClusterRkeConfigOutput) Nodes() GetClusterRkeConfigNodeArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfig) []GetClusterRkeConfigNode { return v.Nodes }).(GetClusterRkeConfigNodeArrayOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) SearchOrder() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) string { return v.SearchOrder }).(pulumi.StringOutput) +func (o GetClusterRkeConfigOutput) PrefixPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfig) string { return v.PrefixPath }).(pulumi.StringOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigOutput) PrivateRegistries() GetClusterRkeConfigPrivateRegistryArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfig) []GetClusterRkeConfigPrivateRegistry { return v.PrivateRegistries }).(GetClusterRkeConfigPrivateRegistryArrayOutput) +} -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (o GetClusterRkeConfigOutput) Services() GetClusterRkeConfigServicesOutput { + return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigServices { return v.Services }).(GetClusterRkeConfigServicesOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o +func (o GetClusterRkeConfigOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfig) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o +func (o GetClusterRkeConfigOutput) SshCertPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfig) string { return v.SshCertPath }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata - return ret - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) +func (o GetClusterRkeConfigOutput) SshKeyPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfig) string { return v.SshKeyPath }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) RequestTimeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) *int { - if v == nil { - return nil - } - return &v.RequestTimeout - }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigOutput) UpgradeStrategy() GetClusterRkeConfigUpgradeStrategyOutput { + return o.ApplyT(func(v GetClusterRkeConfig) GetClusterRkeConfigUpgradeStrategy { return v.UpgradeStrategy }).(GetClusterRkeConfigUpgradeStrategyOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) SearchOrder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) *string { - if v == nil { - return nil - } - return &v.SearchOrder - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigOutput) WinPrefixPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfig) string { return v.WinPrefixPath }).(pulumi.StringOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute struct { - RouterId string `pulumi:"routerId"` +type GetClusterRkeConfigAuthentication struct { + Sans []string `pulumi:"sans"` + Strategy string `pulumi:"strategy"` } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteInput` via: +// GetClusterRkeConfigAuthenticationInput is an input type that accepts GetClusterRkeConfigAuthenticationArgs and GetClusterRkeConfigAuthenticationOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigAuthenticationInput` via: // -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteInput interface { +// GetClusterRkeConfigAuthenticationArgs{...} +type GetClusterRkeConfigAuthenticationInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput + ToGetClusterRkeConfigAuthenticationOutput() GetClusterRkeConfigAuthenticationOutput + ToGetClusterRkeConfigAuthenticationOutputWithContext(context.Context) GetClusterRkeConfigAuthenticationOutput } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs struct { - RouterId pulumi.StringInput `pulumi:"routerId"` +type GetClusterRkeConfigAuthenticationArgs struct { + Sans pulumi.StringArrayInput `pulumi:"sans"` + Strategy pulumi.StringInput `pulumi:"strategy"` } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +func (GetClusterRkeConfigAuthenticationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigAuthentication)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Background()) +func (i GetClusterRkeConfigAuthenticationArgs) ToGetClusterRkeConfigAuthenticationOutput() GetClusterRkeConfigAuthenticationOutput { + return i.ToGetClusterRkeConfigAuthenticationOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) +func (i GetClusterRkeConfigAuthenticationArgs) ToGetClusterRkeConfigAuthenticationOutputWithContext(ctx context.Context) GetClusterRkeConfigAuthenticationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigAuthenticationOutput) } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) -} +type GetClusterRkeConfigAuthenticationOutput struct{ *pulumi.OutputState } -func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx) +func (GetClusterRkeConfigAuthenticationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigAuthentication)(nil)).Elem() } -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput` via: -// -// GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} -// -// or: -// -// nil -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput interface { - pulumi.Input - - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput - ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput +func (o GetClusterRkeConfigAuthenticationOutput) ToGetClusterRkeConfigAuthenticationOutput() GetClusterRkeConfigAuthenticationOutput { + return o } -type getClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs - -func GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput { - return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType)(v) +func (o GetClusterRkeConfigAuthenticationOutput) ToGetClusterRkeConfigAuthenticationOutputWithContext(ctx context.Context) GetClusterRkeConfigAuthenticationOutput { + return o } -func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +func (o GetClusterRkeConfigAuthenticationOutput) Sans() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigAuthentication) []string { return v.Sans }).(pulumi.StringArrayOutput) } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigAuthenticationOutput) Strategy() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigAuthentication) string { return v.Strategy }).(pulumi.StringOutput) } -func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) +type GetClusterRkeConfigAuthorization struct { + Mode *string `pulumi:"mode"` + Options map[string]interface{} `pulumi:"options"` } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() -} +// GetClusterRkeConfigAuthorizationInput is an input type that accepts GetClusterRkeConfigAuthorizationArgs and GetClusterRkeConfigAuthorizationOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigAuthorizationInput` via: +// +// GetClusterRkeConfigAuthorizationArgs{...} +type GetClusterRkeConfigAuthorizationInput interface { + pulumi.Input -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return o + ToGetClusterRkeConfigAuthorizationOutput() GetClusterRkeConfigAuthorizationOutput + ToGetClusterRkeConfigAuthorizationOutputWithContext(context.Context) GetClusterRkeConfigAuthorizationOutput } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return o +type GetClusterRkeConfigAuthorizationArgs struct { + Mode pulumi.StringPtrInput `pulumi:"mode"` + Options pulumi.MapInput `pulumi:"options"` } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) +func (GetClusterRkeConfigAuthorizationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigAuthorization)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute { - return &v - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) +func (i GetClusterRkeConfigAuthorizationArgs) ToGetClusterRkeConfigAuthorizationOutput() GetClusterRkeConfigAuthorizationOutput { + return i.ToGetClusterRkeConfigAuthorizationOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) RouterId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute) string { return v.RouterId }).(pulumi.StringOutput) +func (i GetClusterRkeConfigAuthorizationArgs) ToGetClusterRkeConfigAuthorizationOutputWithContext(ctx context.Context) GetClusterRkeConfigAuthorizationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigAuthorizationOutput) } -type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigAuthorizationOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +func (GetClusterRkeConfigAuthorizationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigAuthorization)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { +func (o GetClusterRkeConfigAuthorizationOutput) ToGetClusterRkeConfigAuthorizationOutput() GetClusterRkeConfigAuthorizationOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { +func (o GetClusterRkeConfigAuthorizationOutput) ToGetClusterRkeConfigAuthorizationOutputWithContext(ctx context.Context) GetClusterRkeConfigAuthorizationOutput { return o } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute - return ret - }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) +func (o GetClusterRkeConfigAuthorizationOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigAuthorization) *string { return v.Mode }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) RouterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute) *string { - if v == nil { - return nil - } - return &v.RouterId - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigAuthorizationOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigAuthorization) map[string]interface{} { return v.Options }).(pulumi.MapOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProvider struct { - Disk GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk `pulumi:"disk"` - Global GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal `pulumi:"global"` - Network GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork `pulumi:"network"` - VirtualCenters []GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter `pulumi:"virtualCenters"` - Workspace GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace `pulumi:"workspace"` +type GetClusterRkeConfigBastionHost struct { + Address string `pulumi:"address"` + Port *string `pulumi:"port"` + SshAgentAuth *bool `pulumi:"sshAgentAuth"` + SshKey string `pulumi:"sshKey"` + SshKeyPath string `pulumi:"sshKeyPath"` + User string `pulumi:"user"` } -// GetClusterRkeConfigCloudProviderVsphereCloudProviderInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderInput` via: +// GetClusterRkeConfigBastionHostInput is an input type that accepts GetClusterRkeConfigBastionHostArgs and GetClusterRkeConfigBastionHostOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigBastionHostInput` via: // -// GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs{...} -type GetClusterRkeConfigCloudProviderVsphereCloudProviderInput interface { +// GetClusterRkeConfigBastionHostArgs{...} +type GetClusterRkeConfigBastionHostInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput + ToGetClusterRkeConfigBastionHostOutput() GetClusterRkeConfigBastionHostOutput + ToGetClusterRkeConfigBastionHostOutputWithContext(context.Context) GetClusterRkeConfigBastionHostOutput } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs struct { - Disk GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskInput `pulumi:"disk"` - Global GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalInput `pulumi:"global"` - Network GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkInput `pulumi:"network"` - VirtualCenters GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput `pulumi:"virtualCenters"` - Workspace GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput `pulumi:"workspace"` +type GetClusterRkeConfigBastionHostArgs struct { + Address pulumi.StringInput `pulumi:"address"` + Port pulumi.StringPtrInput `pulumi:"port"` + SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` + SshKey pulumi.StringInput `pulumi:"sshKey"` + SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` + User pulumi.StringInput `pulumi:"user"` } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigBastionHostArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigBastionHost)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Background()) +func (i GetClusterRkeConfigBastionHostArgs) ToGetClusterRkeConfigBastionHostOutput() GetClusterRkeConfigBastionHostOutput { + return i.ToGetClusterRkeConfigBastionHostOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) +func (i GetClusterRkeConfigBastionHostArgs) ToGetClusterRkeConfigBastionHostOutputWithContext(ctx context.Context) GetClusterRkeConfigBastionHostOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigBastionHostOutput) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) -} +type GetClusterRkeConfigBastionHostOutput struct{ *pulumi.OutputState } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput).ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx) +func (GetClusterRkeConfigBastionHostOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigBastionHost)(nil)).Elem() } -// GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs, GetClusterRkeConfigCloudProviderVsphereCloudProviderPtr and GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrInput` via: -// -// GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs{...} -// -// or: -// -// nil -type GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrInput interface { - pulumi.Input - - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput +func (o GetClusterRkeConfigBastionHostOutput) ToGetClusterRkeConfigBastionHostOutput() GetClusterRkeConfigBastionHostOutput { + return o } -type getClusterRkeConfigCloudProviderVsphereCloudProviderPtrType GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs - -func GetClusterRkeConfigCloudProviderVsphereCloudProviderPtr(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrInput { - return (*getClusterRkeConfigCloudProviderVsphereCloudProviderPtrType)(v) +func (o GetClusterRkeConfigBastionHostOutput) ToGetClusterRkeConfigBastionHostOutputWithContext(ctx context.Context) GetClusterRkeConfigBastionHostOutput { + return o } -func (*getClusterRkeConfigCloudProviderVsphereCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (o GetClusterRkeConfigBastionHostOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigBastionHost) string { return v.Address }).(pulumi.StringOutput) } -func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigBastionHostOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigBastionHost) *string { return v.Port }).(pulumi.StringPtrOutput) } -func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) +func (o GetClusterRkeConfigBastionHostOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigBastionHost) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (o GetClusterRkeConfigBastionHostOutput) SshKey() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigBastionHost) string { return v.SshKey }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput { - return o +func (o GetClusterRkeConfigBastionHostOutput) SshKeyPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigBastionHost) string { return v.SshKeyPath }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput { - return o +func (o GetClusterRkeConfigBastionHostOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigBastionHost) string { return v.User }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) +type GetClusterRkeConfigCloudProvider struct { + AwsCloudProvider *GetClusterRkeConfigCloudProviderAwsCloudProvider `pulumi:"awsCloudProvider"` + AzureCloudProvider *GetClusterRkeConfigCloudProviderAzureCloudProvider `pulumi:"azureCloudProvider"` + CustomCloudProvider string `pulumi:"customCloudProvider"` + // The name of the Cluster (string) + Name *string `pulumi:"name"` + OpenstackCloudProvider *GetClusterRkeConfigCloudProviderOpenstackCloudProvider `pulumi:"openstackCloudProvider"` + VsphereCloudProvider *GetClusterRkeConfigCloudProviderVsphereCloudProvider `pulumi:"vsphereCloudProvider"` } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderVsphereCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProvider { - return &v - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) -} +// GetClusterRkeConfigCloudProviderInput is an input type that accepts GetClusterRkeConfigCloudProviderArgs and GetClusterRkeConfigCloudProviderOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderInput` via: +// +// GetClusterRkeConfigCloudProviderArgs{...} +type GetClusterRkeConfigCloudProviderInput interface { + pulumi.Input -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) Disk() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProvider) GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk { - return v.Disk - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) + ToGetClusterRkeConfigCloudProviderOutput() GetClusterRkeConfigCloudProviderOutput + ToGetClusterRkeConfigCloudProviderOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOutput } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) Global() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProvider) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal { - return v.Global - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) +type GetClusterRkeConfigCloudProviderArgs struct { + AwsCloudProvider GetClusterRkeConfigCloudProviderAwsCloudProviderPtrInput `pulumi:"awsCloudProvider"` + AzureCloudProvider GetClusterRkeConfigCloudProviderAzureCloudProviderPtrInput `pulumi:"azureCloudProvider"` + CustomCloudProvider pulumi.StringInput `pulumi:"customCloudProvider"` + // The name of the Cluster (string) + Name pulumi.StringPtrInput `pulumi:"name"` + OpenstackCloudProvider GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrInput `pulumi:"openstackCloudProvider"` + VsphereCloudProvider GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrInput `pulumi:"vsphereCloudProvider"` } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) Network() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProvider) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork { - return v.Network - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) +func (GetClusterRkeConfigCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProvider)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) VirtualCenters() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProvider) []GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { - return v.VirtualCenters - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) +func (i GetClusterRkeConfigCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOutput() GetClusterRkeConfigCloudProviderOutput { + return i.ToGetClusterRkeConfigCloudProviderOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) Workspace() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProvider) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace { - return v.Workspace - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) +func (i GetClusterRkeConfigCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProvider)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { +func (o GetClusterRkeConfigCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOutput() GetClusterRkeConfigCloudProviderOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { +func (o GetClusterRkeConfigCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Elem() GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) GetClusterRkeConfigCloudProviderVsphereCloudProvider { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderVsphereCloudProvider - return ret - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) +func (o GetClusterRkeConfigCloudProviderOutput) AwsCloudProvider() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) *GetClusterRkeConfigCloudProviderAwsCloudProvider { + return v.AwsCloudProvider + }).(GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Disk() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk { - if v == nil { - return nil - } - return &v.Disk - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) +func (o GetClusterRkeConfigCloudProviderOutput) AzureCloudProvider() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) *GetClusterRkeConfigCloudProviderAzureCloudProvider { + return v.AzureCloudProvider + }).(GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Global() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal { - if v == nil { - return nil - } - return &v.Global - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) +func (o GetClusterRkeConfigCloudProviderOutput) CustomCloudProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) string { return v.CustomCloudProvider }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Network() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork { - if v == nil { - return nil - } - return &v.Network - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) +// The name of the Cluster (string) +func (o GetClusterRkeConfigCloudProviderOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) VirtualCenters() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) []GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { - if v == nil { - return nil - } - return v.VirtualCenters - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) +func (o GetClusterRkeConfigCloudProviderOutput) OpenstackCloudProvider() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProvider { + return v.OpenstackCloudProvider + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Workspace() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace { - if v == nil { - return nil - } - return &v.Workspace - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) +func (o GetClusterRkeConfigCloudProviderOutput) VsphereCloudProvider() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProvider { + return v.VsphereCloudProvider + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk struct { - ScsiControllerType string `pulumi:"scsiControllerType"` +type GetClusterRkeConfigCloudProviderAwsCloudProvider struct { + Global GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal `pulumi:"global"` + ServiceOverrides []GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride `pulumi:"serviceOverrides"` } -// GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskInput` via: +// GetClusterRkeConfigCloudProviderAwsCloudProviderInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderArgs and GetClusterRkeConfigCloudProviderAwsCloudProviderOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderInput` via: // -// GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} -type GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskInput interface { +// GetClusterRkeConfigCloudProviderAwsCloudProviderArgs{...} +type GetClusterRkeConfigCloudProviderAwsCloudProviderInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderOutput } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs struct { - ScsiControllerType pulumi.StringInput `pulumi:"scsiControllerType"` +type GetClusterRkeConfigCloudProviderAwsCloudProviderArgs struct { + Global GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalInput `pulumi:"global"` + ServiceOverrides GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput `pulumi:"serviceOverrides"` } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderOutput { + return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput).ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderOutput).ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx) } -// GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs, GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtr and GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput` via: +// GetClusterRkeConfigCloudProviderAwsCloudProviderPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderArgs, GetClusterRkeConfigCloudProviderAwsCloudProviderPtr and GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderPtrInput` via: // -// GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} +// GetClusterRkeConfigCloudProviderAwsCloudProviderArgs{...} // // or: // // nil -type GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput interface { +type GetClusterRkeConfigCloudProviderAwsCloudProviderPtrInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput } -type getClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrType GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs +type getClusterRkeConfigCloudProviderAwsCloudProviderPtrType GetClusterRkeConfigCloudProviderAwsCloudProviderArgs -func GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtr(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput { - return (*getClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrType)(v) +func GetClusterRkeConfigCloudProviderAwsCloudProviderPtr(v *GetClusterRkeConfigCloudProviderAwsCloudProviderArgs) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrInput { + return (*getClusterRkeConfigCloudProviderAwsCloudProviderPtrType)(v) } -func (*getClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderAwsCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderAwsCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) +func (i *getClusterRkeConfigCloudProviderAwsCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderAwsCloudProviderOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk) *GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderAwsCloudProvider) *GetClusterRkeConfigCloudProviderAwsCloudProvider { return &v - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) + }).(GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ScsiControllerType() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk) string { return v.ScsiControllerType }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) Global() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProvider) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal { + return v.Global + }).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) ServiceOverrides() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProvider) []GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride { + return v.ServiceOverrides + }).(GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) +} -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() +type GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) Elem() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk) GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) Elem() GetClusterRkeConfigCloudProviderAwsCloudProviderOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProvider) GetClusterRkeConfigCloudProviderAwsCloudProvider { if v != nil { return *v } - var ret GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk + var ret GetClusterRkeConfigCloudProviderAwsCloudProvider return ret - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) + }).(GetClusterRkeConfigCloudProviderAwsCloudProviderOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ScsiControllerType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk) *string { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) Global() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProvider) *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal { if v == nil { return nil } - return &v.ScsiControllerType - }).(pulumi.StringPtrOutput) + return &v.Global + }).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal struct { - Datacenters string `pulumi:"datacenters"` - InsecureFlag bool `pulumi:"insecureFlag"` - Password string `pulumi:"password"` - Port string `pulumi:"port"` - SoapRoundtripCount int `pulumi:"soapRoundtripCount"` - User string `pulumi:"user"` +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderPtrOutput) ServiceOverrides() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProvider) []GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride { + if v == nil { + return nil + } + return v.ServiceOverrides + }).(GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) } -// GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalInput` via: +type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal struct { + DisableSecurityGroupIngress *bool `pulumi:"disableSecurityGroupIngress"` + DisableStrictZoneCheck *bool `pulumi:"disableStrictZoneCheck"` + ElbSecurityGroup string `pulumi:"elbSecurityGroup"` + KubernetesClusterId string `pulumi:"kubernetesClusterId"` + KubernetesClusterTag string `pulumi:"kubernetesClusterTag"` + RoleArn string `pulumi:"roleArn"` + RouteTableId string `pulumi:"routeTableId"` + SubnetId string `pulumi:"subnetId"` + Vpc string `pulumi:"vpc"` + Zone string `pulumi:"zone"` +} + +// GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs and GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalInput` via: // -// GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} -type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalInput interface { +// GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} +type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs struct { - Datacenters pulumi.StringInput `pulumi:"datacenters"` - InsecureFlag pulumi.BoolInput `pulumi:"insecureFlag"` - Password pulumi.StringInput `pulumi:"password"` - Port pulumi.StringInput `pulumi:"port"` - SoapRoundtripCount pulumi.IntInput `pulumi:"soapRoundtripCount"` - User pulumi.StringInput `pulumi:"user"` +type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs struct { + DisableSecurityGroupIngress pulumi.BoolPtrInput `pulumi:"disableSecurityGroupIngress"` + DisableStrictZoneCheck pulumi.BoolPtrInput `pulumi:"disableStrictZoneCheck"` + ElbSecurityGroup pulumi.StringInput `pulumi:"elbSecurityGroup"` + KubernetesClusterId pulumi.StringInput `pulumi:"kubernetesClusterId"` + KubernetesClusterTag pulumi.StringInput `pulumi:"kubernetesClusterTag"` + RoleArn pulumi.StringInput `pulumi:"roleArn"` + RouteTableId pulumi.StringInput `pulumi:"routeTableId"` + SubnetId pulumi.StringInput `pulumi:"subnetId"` + Vpc pulumi.StringInput `pulumi:"vpc"` + Zone pulumi.StringInput `pulumi:"zone"` } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput).ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput).ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx) } -// GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs, GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtr and GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput` via: +// GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs, GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtr and GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput` via: // -// GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} +// GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} // // or: // // nil -type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput interface { +type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput } -type getClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs +type getClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrType GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs -func GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtr(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput { - return (*getClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType)(v) +func GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtr(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalArgs) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput { + return (*getClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrType)(v) } -func (*getClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() } -func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) +func (i *getClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal { return &v - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) + }).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Datacenters() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) string { return v.Datacenters }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { + return v.DisableSecurityGroupIngress + }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) InsecureFlag() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) bool { return v.InsecureFlag }).(pulumi.BoolOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { return v.DisableStrictZoneCheck }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) string { return v.Password }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElbSecurityGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.ElbSecurityGroup }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Port() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) string { return v.Port }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.KubernetesClusterId }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) SoapRoundtripCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) int { return v.SoapRoundtripCount }).(pulumi.IntOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterTag() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.KubernetesClusterTag }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) string { return v.User }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RoleArn() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.RoleArn }).(pulumi.StringOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RouteTableId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.RouteTableId }).(pulumi.StringOutput) +} -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.SubnetId }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Vpc() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.Vpc }).(pulumi.StringOutput) +} + +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) string { return v.Zone }).(pulumi.StringOutput) +} + +type GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +} + +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Elem() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Elem() GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal { if v != nil { return *v } - var ret GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal + var ret GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal return ret - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) + }).(GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Datacenters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { if v == nil { return nil } - return &v.Datacenters - }).(pulumi.StringPtrOutput) + return v.DisableSecurityGroupIngress + }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) InsecureFlag() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *bool { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { if v == nil { return nil } - return &v.InsecureFlag + return v.DisableStrictZoneCheck }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElbSecurityGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return &v.Password + return &v.ElbSecurityGroup }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return &v.Port + return &v.KubernetesClusterId }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) SoapRoundtripCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *int { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterTag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return &v.SoapRoundtripCount - }).(pulumi.IntPtrOutput) + return &v.KubernetesClusterTag + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return &v.User + return &v.RoleArn }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork struct { - PublicNetwork string `pulumi:"publicNetwork"` -} - -// GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkInput` via: -// -// GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} -type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkInput interface { - pulumi.Input - - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput -} - -type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs struct { - PublicNetwork pulumi.StringInput `pulumi:"publicNetwork"` -} - -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() -} - -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Background()) -} - -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) -} - -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) -} - -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput).ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx) -} - -// GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs, GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtr and GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput` via: -// -// GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} -// -// or: -// -// nil -type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput interface { - pulumi.Input - - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput -} - -type getClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs - -func GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtr(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput { - return (*getClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType)(v) -} - -func (*getClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() -} - -func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) -} - -func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) -} - -type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() -} - -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return o -} - -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return o -} - -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) -} - -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork) *GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork { - return &v - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) -} - -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) PublicNetwork() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork) string { return v.PublicNetwork }).(pulumi.StringOutput) -} - -type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() -} - -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RouteTableId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.RouteTableId + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.SubnetId + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) Elem() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork { - if v != nil { - return *v +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Vpc() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil } - var ret GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork - return ret - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) + return &v.Vpc + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) PublicNetwork() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork) *string { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Zone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAwsCloudProviderGlobal) *string { if v == nil { return nil } - return &v.PublicNetwork + return &v.Zone }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter struct { - Datacenters string `pulumi:"datacenters"` - // The name of the Cluster (string) - Name string `pulumi:"name"` - Password string `pulumi:"password"` - Port string `pulumi:"port"` - SoapRoundtripCount int `pulumi:"soapRoundtripCount"` - User string `pulumi:"user"` +type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride struct { + Region string `pulumi:"region"` + Service string `pulumi:"service"` + SigningMethod string `pulumi:"signingMethod"` + SigningName string `pulumi:"signingName"` + SigningRegion string `pulumi:"signingRegion"` + Url string `pulumi:"url"` } -// GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput` via: +// GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs and GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput` via: // -// GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} -type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput interface { +// GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} +type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs struct { - Datacenters pulumi.StringInput `pulumi:"datacenters"` - // The name of the Cluster (string) - Name pulumi.StringInput `pulumi:"name"` - Password pulumi.StringInput `pulumi:"password"` - Port pulumi.StringInput `pulumi:"port"` - SoapRoundtripCount pulumi.IntInput `pulumi:"soapRoundtripCount"` - User pulumi.StringInput `pulumi:"user"` +type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs struct { + Region pulumi.StringInput `pulumi:"region"` + Service pulumi.StringInput `pulumi:"service"` + SigningMethod pulumi.StringInput `pulumi:"signingMethod"` + SigningName pulumi.StringInput `pulumi:"signingName"` + SigningRegion pulumi.StringInput `pulumi:"signingRegion"` + Url pulumi.StringInput `pulumi:"url"` } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { + return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) } -// GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray and GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput` via: +// GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput is an input type that accepts GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray and GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput` via: // -// GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray{ GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput interface { +// GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray{ GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} } +type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput + ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray []GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput +type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray []GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return i.ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) +func (i GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Datacenters() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.Datacenters }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.Region }).(pulumi.StringOutput) } -// The name of the Cluster (string) -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.Name }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.Service }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.Password }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningMethod() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.SigningMethod }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Port() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.Port }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.SigningName }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) SoapRoundtripCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) int { - return v.SoapRoundtripCount - }).(pulumi.IntOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningRegion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.SigningRegion }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.User }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { return v.Url }).(pulumi.StringOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToGetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { - return vs[0].([]GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)[vs[1].(int)] - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) +func (o GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride { + return vs[0].([]GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverride)[vs[1].(int)] + }).(GetClusterRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace struct { - Datacenter string `pulumi:"datacenter"` - DefaultDatastore string `pulumi:"defaultDatastore"` - Folder string `pulumi:"folder"` - ResourcepoolPath string `pulumi:"resourcepoolPath"` - Server string `pulumi:"server"` +type GetClusterRkeConfigCloudProviderAzureCloudProvider struct { + AadClientCertPassword string `pulumi:"aadClientCertPassword"` + AadClientCertPath string `pulumi:"aadClientCertPath"` + AadClientId string `pulumi:"aadClientId"` + AadClientSecret string `pulumi:"aadClientSecret"` + Cloud string `pulumi:"cloud"` + CloudProviderBackoff bool `pulumi:"cloudProviderBackoff"` + CloudProviderBackoffDuration int `pulumi:"cloudProviderBackoffDuration"` + CloudProviderBackoffExponent int `pulumi:"cloudProviderBackoffExponent"` + CloudProviderBackoffJitter int `pulumi:"cloudProviderBackoffJitter"` + CloudProviderBackoffRetries int `pulumi:"cloudProviderBackoffRetries"` + CloudProviderRateLimit bool `pulumi:"cloudProviderRateLimit"` + CloudProviderRateLimitBucket int `pulumi:"cloudProviderRateLimitBucket"` + CloudProviderRateLimitQps int `pulumi:"cloudProviderRateLimitQps"` + LoadBalancerSku *string `pulumi:"loadBalancerSku"` + Location string `pulumi:"location"` + MaximumLoadBalancerRuleCount int `pulumi:"maximumLoadBalancerRuleCount"` + PrimaryAvailabilitySetName string `pulumi:"primaryAvailabilitySetName"` + PrimaryScaleSetName string `pulumi:"primaryScaleSetName"` + ResourceGroup string `pulumi:"resourceGroup"` + RouteTableName string `pulumi:"routeTableName"` + SecurityGroupName string `pulumi:"securityGroupName"` + SubnetName string `pulumi:"subnetName"` + SubscriptionId string `pulumi:"subscriptionId"` + TenantId string `pulumi:"tenantId"` + UseInstanceMetadata bool `pulumi:"useInstanceMetadata"` + UseManagedIdentityExtension bool `pulumi:"useManagedIdentityExtension"` + VmType string `pulumi:"vmType"` + VnetName string `pulumi:"vnetName"` + VnetResourceGroup string `pulumi:"vnetResourceGroup"` } -// GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput` via: +// GetClusterRkeConfigCloudProviderAzureCloudProviderInput is an input type that accepts GetClusterRkeConfigCloudProviderAzureCloudProviderArgs and GetClusterRkeConfigCloudProviderAzureCloudProviderOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAzureCloudProviderInput` via: // -// GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} -type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput interface { +// GetClusterRkeConfigCloudProviderAzureCloudProviderArgs{...} +type GetClusterRkeConfigCloudProviderAzureCloudProviderInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput + ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderOutput + ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderOutput } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs struct { - Datacenter pulumi.StringInput `pulumi:"datacenter"` - DefaultDatastore pulumi.StringInput `pulumi:"defaultDatastore"` - Folder pulumi.StringInput `pulumi:"folder"` - ResourcepoolPath pulumi.StringInput `pulumi:"resourcepoolPath"` - Server pulumi.StringInput `pulumi:"server"` +type GetClusterRkeConfigCloudProviderAzureCloudProviderArgs struct { + AadClientCertPassword pulumi.StringInput `pulumi:"aadClientCertPassword"` + AadClientCertPath pulumi.StringInput `pulumi:"aadClientCertPath"` + AadClientId pulumi.StringInput `pulumi:"aadClientId"` + AadClientSecret pulumi.StringInput `pulumi:"aadClientSecret"` + Cloud pulumi.StringInput `pulumi:"cloud"` + CloudProviderBackoff pulumi.BoolInput `pulumi:"cloudProviderBackoff"` + CloudProviderBackoffDuration pulumi.IntInput `pulumi:"cloudProviderBackoffDuration"` + CloudProviderBackoffExponent pulumi.IntInput `pulumi:"cloudProviderBackoffExponent"` + CloudProviderBackoffJitter pulumi.IntInput `pulumi:"cloudProviderBackoffJitter"` + CloudProviderBackoffRetries pulumi.IntInput `pulumi:"cloudProviderBackoffRetries"` + CloudProviderRateLimit pulumi.BoolInput `pulumi:"cloudProviderRateLimit"` + CloudProviderRateLimitBucket pulumi.IntInput `pulumi:"cloudProviderRateLimitBucket"` + CloudProviderRateLimitQps pulumi.IntInput `pulumi:"cloudProviderRateLimitQps"` + LoadBalancerSku pulumi.StringPtrInput `pulumi:"loadBalancerSku"` + Location pulumi.StringInput `pulumi:"location"` + MaximumLoadBalancerRuleCount pulumi.IntInput `pulumi:"maximumLoadBalancerRuleCount"` + PrimaryAvailabilitySetName pulumi.StringInput `pulumi:"primaryAvailabilitySetName"` + PrimaryScaleSetName pulumi.StringInput `pulumi:"primaryScaleSetName"` + ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` + RouteTableName pulumi.StringInput `pulumi:"routeTableName"` + SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` + SubnetName pulumi.StringInput `pulumi:"subnetName"` + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` + TenantId pulumi.StringInput `pulumi:"tenantId"` + UseInstanceMetadata pulumi.BoolInput `pulumi:"useInstanceMetadata"` + UseManagedIdentityExtension pulumi.BoolInput `pulumi:"useManagedIdentityExtension"` + VmType pulumi.StringInput `pulumi:"vmType"` + VnetName pulumi.StringInput `pulumi:"vnetName"` + VnetResourceGroup pulumi.StringInput `pulumi:"vnetResourceGroup"` } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderOutput { + return i.ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) +func (i GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput).ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAzureCloudProviderOutput).ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx) } -// GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs, GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr and GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput` via: +// GetClusterRkeConfigCloudProviderAzureCloudProviderPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderAzureCloudProviderArgs, GetClusterRkeConfigCloudProviderAzureCloudProviderPtr and GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderAzureCloudProviderPtrInput` via: // -// GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} +// GetClusterRkeConfigCloudProviderAzureCloudProviderArgs{...} // // or: // // nil -type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput interface { +type GetClusterRkeConfigCloudProviderAzureCloudProviderPtrInput interface { pulumi.Input - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput - ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput + ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput + ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput } -type getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs +type getClusterRkeConfigCloudProviderAzureCloudProviderPtrType GetClusterRkeConfigCloudProviderAzureCloudProviderArgs -func GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput { - return (*getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType)(v) +func GetClusterRkeConfigCloudProviderAzureCloudProviderPtr(v *GetClusterRkeConfigCloudProviderAzureCloudProviderArgs) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrInput { + return (*getClusterRkeConfigCloudProviderAzureCloudProviderPtrType)(v) } -func (*getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderAzureCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderAzureCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) +func (i *getClusterRkeConfigCloudProviderAzureCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderAzureCloudProviderOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderOutput { return o } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace { +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderAzureCloudProvider) *GetClusterRkeConfigCloudProviderAzureCloudProvider { return &v - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) -} - -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Datacenter() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { return v.Datacenter }).(pulumi.StringOutput) -} - -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) DefaultDatastore() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { - return v.DefaultDatastore - }).(pulumi.StringOutput) + }).(GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Folder() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { return v.Folder }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPassword() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.AadClientCertPassword }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ResourcepoolPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { - return v.ResourcepoolPath - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.AadClientCertPath }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Server() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { return v.Server }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) AadClientId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.AadClientId }).(pulumi.StringOutput) } -type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) AadClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.AadClientSecret }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) Cloud() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.Cloud }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoff() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) bool { return v.CloudProviderBackoff }).(pulumi.BoolOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Elem() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace { - if v != nil { - return *v - } - var ret GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace - return ret - }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffDuration() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderBackoffDuration }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Datacenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - if v == nil { - return nil - } - return &v.Datacenter - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffExponent() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderBackoffExponent }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) DefaultDatastore() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - if v == nil { - return nil - } - return &v.DefaultDatastore - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffJitter() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderBackoffJitter }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - if v == nil { - return nil - } - return &v.Folder - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffRetries() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderBackoffRetries }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ResourcepoolPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - if v == nil { - return nil - } - return &v.ResourcepoolPath - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimit() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) bool { return v.CloudProviderRateLimit }).(pulumi.BoolOutput) } -func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - if v == nil { - return nil - } - return &v.Server - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitBucket() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderRateLimitBucket }).(pulumi.IntOutput) } -type GetClusterRkeConfigDns struct { - LinearAutoscalerParams *GetClusterRkeConfigDnsLinearAutoscalerParams `pulumi:"linearAutoscalerParams"` - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` - Nodelocal *GetClusterRkeConfigDnsNodelocal `pulumi:"nodelocal"` - Options map[string]interface{} `pulumi:"options"` - Provider *string `pulumi:"provider"` - ReverseCidrs []string `pulumi:"reverseCidrs"` - Tolerations []GetClusterRkeConfigDnsToleration `pulumi:"tolerations"` - UpdateStrategy *GetClusterRkeConfigDnsUpdateStrategy `pulumi:"updateStrategy"` - UpstreamNameservers []string `pulumi:"upstreamNameservers"` +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitQps() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.CloudProviderRateLimitQps }).(pulumi.IntOutput) } -// GetClusterRkeConfigDnsInput is an input type that accepts GetClusterRkeConfigDnsArgs and GetClusterRkeConfigDnsOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsInput` via: -// -// GetClusterRkeConfigDnsArgs{...} -type GetClusterRkeConfigDnsInput interface { - pulumi.Input - - ToGetClusterRkeConfigDnsOutput() GetClusterRkeConfigDnsOutput - ToGetClusterRkeConfigDnsOutputWithContext(context.Context) GetClusterRkeConfigDnsOutput +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) LoadBalancerSku() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { return v.LoadBalancerSku }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigDnsArgs struct { - LinearAutoscalerParams GetClusterRkeConfigDnsLinearAutoscalerParamsPtrInput `pulumi:"linearAutoscalerParams"` - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` - Nodelocal GetClusterRkeConfigDnsNodelocalPtrInput `pulumi:"nodelocal"` - Options pulumi.MapInput `pulumi:"options"` - Provider pulumi.StringPtrInput `pulumi:"provider"` - ReverseCidrs pulumi.StringArrayInput `pulumi:"reverseCidrs"` - Tolerations GetClusterRkeConfigDnsTolerationArrayInput `pulumi:"tolerations"` - UpdateStrategy GetClusterRkeConfigDnsUpdateStrategyPtrInput `pulumi:"updateStrategy"` - UpstreamNameservers pulumi.StringArrayInput `pulumi:"upstreamNameservers"` +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) Location() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.Location }).(pulumi.StringOutput) } -func (GetClusterRkeConfigDnsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDns)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) MaximumLoadBalancerRuleCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) int { return v.MaximumLoadBalancerRuleCount }).(pulumi.IntOutput) } -func (i GetClusterRkeConfigDnsArgs) ToGetClusterRkeConfigDnsOutput() GetClusterRkeConfigDnsOutput { - return i.ToGetClusterRkeConfigDnsOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryAvailabilitySetName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.PrimaryAvailabilitySetName }).(pulumi.StringOutput) } -func (i GetClusterRkeConfigDnsArgs) ToGetClusterRkeConfigDnsOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryScaleSetName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.PrimaryScaleSetName }).(pulumi.StringOutput) } -type GetClusterRkeConfigDnsOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigDnsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDns)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) ResourceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.ResourceGroup }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsOutput) ToGetClusterRkeConfigDnsOutput() GetClusterRkeConfigDnsOutput { - return o +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) RouteTableName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.RouteTableName }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsOutput) ToGetClusterRkeConfigDnsOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsOutput { - return o +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) SecurityGroupName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.SecurityGroupName }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsOutput) LinearAutoscalerParams() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDns) *GetClusterRkeConfigDnsLinearAutoscalerParams { - return v.LinearAutoscalerParams - }).(GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) SubnetName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.SubnetName }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigDns) map[string]interface{} { return v.NodeSelector }).(pulumi.MapOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.SubscriptionId }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsOutput) Nodelocal() GetClusterRkeConfigDnsNodelocalPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDns) *GetClusterRkeConfigDnsNodelocal { return v.Nodelocal }).(GetClusterRkeConfigDnsNodelocalPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.TenantId }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigDns) map[string]interface{} { return v.Options }).(pulumi.MapOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) UseInstanceMetadata() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) bool { return v.UseInstanceMetadata }).(pulumi.BoolOutput) } -func (o GetClusterRkeConfigDnsOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDns) *string { return v.Provider }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) UseManagedIdentityExtension() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) bool { return v.UseManagedIdentityExtension }).(pulumi.BoolOutput) } -func (o GetClusterRkeConfigDnsOutput) ReverseCidrs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigDns) []string { return v.ReverseCidrs }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) VmType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.VmType }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsOutput) Tolerations() GetClusterRkeConfigDnsTolerationArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigDns) []GetClusterRkeConfigDnsToleration { return v.Tolerations }).(GetClusterRkeConfigDnsTolerationArrayOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) VnetName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.VnetName }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsOutput) UpdateStrategy() GetClusterRkeConfigDnsUpdateStrategyPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDns) *GetClusterRkeConfigDnsUpdateStrategy { return v.UpdateStrategy }).(GetClusterRkeConfigDnsUpdateStrategyPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) VnetResourceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderAzureCloudProvider) string { return v.VnetResourceGroup }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsOutput) UpstreamNameservers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigDns) []string { return v.UpstreamNameservers }).(pulumi.StringArrayOutput) -} +type GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput struct{ *pulumi.OutputState } -type GetClusterRkeConfigDnsLinearAutoscalerParams struct { - CoresPerReplica *float64 `pulumi:"coresPerReplica"` - Max *int `pulumi:"max"` - Min *int `pulumi:"min"` - NodesPerReplica *float64 `pulumi:"nodesPerReplica"` - PreventSinglePointFailure *bool `pulumi:"preventSinglePointFailure"` +func (GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -// GetClusterRkeConfigDnsLinearAutoscalerParamsInput is an input type that accepts GetClusterRkeConfigDnsLinearAutoscalerParamsArgs and GetClusterRkeConfigDnsLinearAutoscalerParamsOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsLinearAutoscalerParamsInput` via: -// -// GetClusterRkeConfigDnsLinearAutoscalerParamsArgs{...} -type GetClusterRkeConfigDnsLinearAutoscalerParamsInput interface { - pulumi.Input - - ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsOutput - ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsOutput +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o } -type GetClusterRkeConfigDnsLinearAutoscalerParamsArgs struct { - CoresPerReplica pulumi.Float64PtrInput `pulumi:"coresPerReplica"` - Max pulumi.IntPtrInput `pulumi:"max"` - Min pulumi.IntPtrInput `pulumi:"min"` - NodesPerReplica pulumi.Float64PtrInput `pulumi:"nodesPerReplica"` - PreventSinglePointFailure pulumi.BoolPtrInput `pulumi:"preventSinglePointFailure"` +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o } -func (GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) Elem() GetClusterRkeConfigCloudProviderAzureCloudProviderOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) GetClusterRkeConfigCloudProviderAzureCloudProvider { + if v != nil { + return *v + } + var ret GetClusterRkeConfigCloudProviderAzureCloudProvider + return ret + }).(GetClusterRkeConfigCloudProviderAzureCloudProviderOutput) } -func (i GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsOutput { - return i.ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.AadClientCertPassword + }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.AadClientCertPath + }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return i.ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.AadClientId + }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsLinearAutoscalerParamsOutput).ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.AadClientSecret + }).(pulumi.StringPtrOutput) } -// GetClusterRkeConfigDnsLinearAutoscalerParamsPtrInput is an input type that accepts GetClusterRkeConfigDnsLinearAutoscalerParamsArgs, GetClusterRkeConfigDnsLinearAutoscalerParamsPtr and GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsLinearAutoscalerParamsPtrInput` via: -// -// GetClusterRkeConfigDnsLinearAutoscalerParamsArgs{...} -// -// or: -// -// nil -type GetClusterRkeConfigDnsLinearAutoscalerParamsPtrInput interface { - pulumi.Input - - ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput - ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.Cloud + }).(pulumi.StringPtrOutput) } -type getClusterRkeConfigDnsLinearAutoscalerParamsPtrType GetClusterRkeConfigDnsLinearAutoscalerParamsArgs - -func GetClusterRkeConfigDnsLinearAutoscalerParamsPtr(v *GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrInput { - return (*getClusterRkeConfigDnsLinearAutoscalerParamsPtrType)(v) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoff() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *bool { + if v == nil { + return nil + } + return &v.CloudProviderBackoff + }).(pulumi.BoolPtrOutput) } -func (*getClusterRkeConfigDnsLinearAutoscalerParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffDuration() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderBackoffDuration + }).(pulumi.IntPtrOutput) } -func (i *getClusterRkeConfigDnsLinearAutoscalerParamsPtrType) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return i.ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffExponent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderBackoffExponent + }).(pulumi.IntPtrOutput) } -func (i *getClusterRkeConfigDnsLinearAutoscalerParamsPtrType) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffJitter() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderBackoffJitter + }).(pulumi.IntPtrOutput) } -type GetClusterRkeConfigDnsLinearAutoscalerParamsOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderBackoffRetries + }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsOutput { - return o +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimit() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *bool { + if v == nil { + return nil + } + return &v.CloudProviderRateLimit + }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsOutput { - return o +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitBucket() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderRateLimitBucket + }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o.ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitQps() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderRateLimitQps + }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigDnsLinearAutoscalerParams) *GetClusterRkeConfigDnsLinearAutoscalerParams { - return &v - }).(GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) LoadBalancerSku() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return v.LoadBalancerSku + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) CoresPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsLinearAutoscalerParams) *float64 { return v.CoresPerReplica }).(pulumi.Float64PtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) Location() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.Location + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) Max() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsLinearAutoscalerParams) *int { return v.Max }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) MaximumLoadBalancerRuleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.MaximumLoadBalancerRuleCount + }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) Min() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsLinearAutoscalerParams) *int { return v.Min }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryAvailabilitySetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.PrimaryAvailabilitySetName + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) NodesPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsLinearAutoscalerParams) *float64 { return v.NodesPerReplica }).(pulumi.Float64PtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryScaleSetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.PrimaryScaleSetName + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsLinearAutoscalerParams) *bool { return v.PreventSinglePointFailure }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.ResourceGroup + }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) RouteTableName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.RouteTableName + }).(pulumi.StringPtrOutput) +} -func (GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) SecurityGroupName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.SecurityGroupName + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubnetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.SubnetName + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.SubscriptionId + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) Elem() GetClusterRkeConfigDnsLinearAutoscalerParamsOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) GetClusterRkeConfigDnsLinearAutoscalerParams { - if v != nil { - return *v +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil } - var ret GetClusterRkeConfigDnsLinearAutoscalerParams - return ret - }).(GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) + return &v.TenantId + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) CoresPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) *float64 { +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseInstanceMetadata() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *bool { if v == nil { return nil } - return v.CoresPerReplica - }).(pulumi.Float64PtrOutput) + return &v.UseInstanceMetadata + }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) Max() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) *int { +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseManagedIdentityExtension() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *bool { if v == nil { return nil } - return v.Max - }).(pulumi.IntPtrOutput) + return &v.UseManagedIdentityExtension + }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) Min() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) *int { +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) VmType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.Min - }).(pulumi.IntPtrOutput) + return &v.VmType + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) NodesPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) *float64 { +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.NodesPerReplica - }).(pulumi.Float64PtrOutput) + return &v.VnetName + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) *bool { +func (o GetClusterRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderAzureCloudProvider) *string { if v == nil { return nil } - return v.PreventSinglePointFailure - }).(pulumi.BoolPtrOutput) + return &v.VnetResourceGroup + }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigDnsNodelocal struct { - IpAddress *string `pulumi:"ipAddress"` - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` +type GetClusterRkeConfigCloudProviderOpenstackCloudProvider struct { + BlockStorage GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage `pulumi:"blockStorage"` + Global GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal `pulumi:"global"` + LoadBalancer GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer `pulumi:"loadBalancer"` + Metadata GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata `pulumi:"metadata"` + Route GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute `pulumi:"route"` } -// GetClusterRkeConfigDnsNodelocalInput is an input type that accepts GetClusterRkeConfigDnsNodelocalArgs and GetClusterRkeConfigDnsNodelocalOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsNodelocalInput` via: +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderInput` via: // -// GetClusterRkeConfigDnsNodelocalArgs{...} -type GetClusterRkeConfigDnsNodelocalInput interface { +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs{...} +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderInput interface { pulumi.Input - ToGetClusterRkeConfigDnsNodelocalOutput() GetClusterRkeConfigDnsNodelocalOutput - ToGetClusterRkeConfigDnsNodelocalOutputWithContext(context.Context) GetClusterRkeConfigDnsNodelocalOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput } -type GetClusterRkeConfigDnsNodelocalArgs struct { - IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs struct { + BlockStorage GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput `pulumi:"blockStorage"` + Global GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalInput `pulumi:"global"` + LoadBalancer GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput `pulumi:"loadBalancer"` + Metadata GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataInput `pulumi:"metadata"` + Route GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteInput `pulumi:"route"` } -func (GetClusterRkeConfigDnsNodelocalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDnsNodelocal)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() } -func (i GetClusterRkeConfigDnsNodelocalArgs) ToGetClusterRkeConfigDnsNodelocalOutput() GetClusterRkeConfigDnsNodelocalOutput { - return i.ToGetClusterRkeConfigDnsNodelocalOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigDnsNodelocalArgs) ToGetClusterRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsNodelocalOutput) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) } -func (i GetClusterRkeConfigDnsNodelocalArgs) ToGetClusterRkeConfigDnsNodelocalPtrOutput() GetClusterRkeConfigDnsNodelocalPtrOutput { - return i.ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigDnsNodelocalArgs) ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsNodelocalOutput).ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx) } -// GetClusterRkeConfigDnsNodelocalPtrInput is an input type that accepts GetClusterRkeConfigDnsNodelocalArgs, GetClusterRkeConfigDnsNodelocalPtr and GetClusterRkeConfigDnsNodelocalPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsNodelocalPtrInput` via: +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrInput` via: // -// GetClusterRkeConfigDnsNodelocalArgs{...} +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs{...} // // or: // // nil -type GetClusterRkeConfigDnsNodelocalPtrInput interface { +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrInput interface { pulumi.Input - ToGetClusterRkeConfigDnsNodelocalPtrOutput() GetClusterRkeConfigDnsNodelocalPtrOutput - ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(context.Context) GetClusterRkeConfigDnsNodelocalPtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput } -type getClusterRkeConfigDnsNodelocalPtrType GetClusterRkeConfigDnsNodelocalArgs +type getClusterRkeConfigCloudProviderOpenstackCloudProviderPtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs -func GetClusterRkeConfigDnsNodelocalPtr(v *GetClusterRkeConfigDnsNodelocalArgs) GetClusterRkeConfigDnsNodelocalPtrInput { - return (*getClusterRkeConfigDnsNodelocalPtrType)(v) +func GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrInput { + return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderPtrType)(v) } -func (*getClusterRkeConfigDnsNodelocalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigDnsNodelocal)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() } -func (i *getClusterRkeConfigDnsNodelocalPtrType) ToGetClusterRkeConfigDnsNodelocalPtrOutput() GetClusterRkeConfigDnsNodelocalPtrOutput { - return i.ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigDnsNodelocalPtrType) ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsNodelocalPtrOutput) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) } -type GetClusterRkeConfigDnsNodelocalOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigDnsNodelocalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDnsNodelocal)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() } -func (o GetClusterRkeConfigDnsNodelocalOutput) ToGetClusterRkeConfigDnsNodelocalOutput() GetClusterRkeConfigDnsNodelocalOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput { return o } -func (o GetClusterRkeConfigDnsNodelocalOutput) ToGetClusterRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput { return o } -func (o GetClusterRkeConfigDnsNodelocalOutput) ToGetClusterRkeConfigDnsNodelocalPtrOutput() GetClusterRkeConfigDnsNodelocalPtrOutput { - return o.ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigDnsNodelocalOutput) ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigDnsNodelocal) *GetClusterRkeConfigDnsNodelocal { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProvider { return &v - }).(GetClusterRkeConfigDnsNodelocalPtrOutput) + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) } -func (o GetClusterRkeConfigDnsNodelocalOutput) IpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsNodelocal) *string { return v.IpAddress }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) BlockStorage() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { + return v.BlockStorage + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) } -func (o GetClusterRkeConfigDnsNodelocalOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsNodelocal) map[string]interface{} { return v.NodeSelector }).(pulumi.MapOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) Global() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal { + return v.Global + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) } -type GetClusterRkeConfigDnsNodelocalPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) LoadBalancer() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { + return v.LoadBalancer + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) +} -func (GetClusterRkeConfigDnsNodelocalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigDnsNodelocal)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) Metadata() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata { + return v.Metadata + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) } -func (o GetClusterRkeConfigDnsNodelocalPtrOutput) ToGetClusterRkeConfigDnsNodelocalPtrOutput() GetClusterRkeConfigDnsNodelocalPtrOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) Route() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute { + return v.Route + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) +} + +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { return o } -func (o GetClusterRkeConfigDnsNodelocalPtrOutput) ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalPtrOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { return o } -func (o GetClusterRkeConfigDnsNodelocalPtrOutput) Elem() GetClusterRkeConfigDnsNodelocalOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsNodelocal) GetClusterRkeConfigDnsNodelocal { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) GetClusterRkeConfigCloudProviderOpenstackCloudProvider { if v != nil { return *v } - var ret GetClusterRkeConfigDnsNodelocal + var ret GetClusterRkeConfigCloudProviderOpenstackCloudProvider return ret - }).(GetClusterRkeConfigDnsNodelocalOutput) + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderOutput) } -func (o GetClusterRkeConfigDnsNodelocalPtrOutput) IpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsNodelocal) *string { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) BlockStorage() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { if v == nil { return nil } - return v.IpAddress - }).(pulumi.StringPtrOutput) + return &v.BlockStorage + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) } -func (o GetClusterRkeConfigDnsNodelocalPtrOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsNodelocal) map[string]interface{} { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Global() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal { if v == nil { return nil } - return v.NodeSelector - }).(pulumi.MapOutput) -} - -type GetClusterRkeConfigDnsToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds int `pulumi:"seconds"` - Value *string `pulumi:"value"` -} - -// GetClusterRkeConfigDnsTolerationInput is an input type that accepts GetClusterRkeConfigDnsTolerationArgs and GetClusterRkeConfigDnsTolerationOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsTolerationInput` via: -// -// GetClusterRkeConfigDnsTolerationArgs{...} -type GetClusterRkeConfigDnsTolerationInput interface { - pulumi.Input - - ToGetClusterRkeConfigDnsTolerationOutput() GetClusterRkeConfigDnsTolerationOutput - ToGetClusterRkeConfigDnsTolerationOutputWithContext(context.Context) GetClusterRkeConfigDnsTolerationOutput -} - -type GetClusterRkeConfigDnsTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (GetClusterRkeConfigDnsTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDnsToleration)(nil)).Elem() -} - -func (i GetClusterRkeConfigDnsTolerationArgs) ToGetClusterRkeConfigDnsTolerationOutput() GetClusterRkeConfigDnsTolerationOutput { - return i.ToGetClusterRkeConfigDnsTolerationOutputWithContext(context.Background()) -} - -func (i GetClusterRkeConfigDnsTolerationArgs) ToGetClusterRkeConfigDnsTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsTolerationOutput) -} - -// GetClusterRkeConfigDnsTolerationArrayInput is an input type that accepts GetClusterRkeConfigDnsTolerationArray and GetClusterRkeConfigDnsTolerationArrayOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsTolerationArrayInput` via: -// -// GetClusterRkeConfigDnsTolerationArray{ GetClusterRkeConfigDnsTolerationArgs{...} } -type GetClusterRkeConfigDnsTolerationArrayInput interface { - pulumi.Input - - ToGetClusterRkeConfigDnsTolerationArrayOutput() GetClusterRkeConfigDnsTolerationArrayOutput - ToGetClusterRkeConfigDnsTolerationArrayOutputWithContext(context.Context) GetClusterRkeConfigDnsTolerationArrayOutput -} - -type GetClusterRkeConfigDnsTolerationArray []GetClusterRkeConfigDnsTolerationInput - -func (GetClusterRkeConfigDnsTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigDnsToleration)(nil)).Elem() -} - -func (i GetClusterRkeConfigDnsTolerationArray) ToGetClusterRkeConfigDnsTolerationArrayOutput() GetClusterRkeConfigDnsTolerationArrayOutput { - return i.ToGetClusterRkeConfigDnsTolerationArrayOutputWithContext(context.Background()) -} - -func (i GetClusterRkeConfigDnsTolerationArray) ToGetClusterRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsTolerationArrayOutput) -} - -type GetClusterRkeConfigDnsTolerationOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigDnsTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDnsToleration)(nil)).Elem() -} - -func (o GetClusterRkeConfigDnsTolerationOutput) ToGetClusterRkeConfigDnsTolerationOutput() GetClusterRkeConfigDnsTolerationOutput { - return o -} - -func (o GetClusterRkeConfigDnsTolerationOutput) ToGetClusterRkeConfigDnsTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsTolerationOutput { - return o -} - -func (o GetClusterRkeConfigDnsTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) -} - -func (o GetClusterRkeConfigDnsTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsToleration) string { return v.Key }).(pulumi.StringOutput) -} - -func (o GetClusterRkeConfigDnsTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) -} - -func (o GetClusterRkeConfigDnsTolerationOutput) Seconds() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsToleration) int { return v.Seconds }).(pulumi.IntOutput) -} - -func (o GetClusterRkeConfigDnsTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsToleration) *string { return v.Value }).(pulumi.StringPtrOutput) -} - -type GetClusterRkeConfigDnsTolerationArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigDnsTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigDnsToleration)(nil)).Elem() + return &v.Global + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) } -func (o GetClusterRkeConfigDnsTolerationArrayOutput) ToGetClusterRkeConfigDnsTolerationArrayOutput() GetClusterRkeConfigDnsTolerationArrayOutput { - return o +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) LoadBalancer() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { + if v == nil { + return nil + } + return &v.LoadBalancer + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) } -func (o GetClusterRkeConfigDnsTolerationArrayOutput) ToGetClusterRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsTolerationArrayOutput { - return o +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Metadata() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata { + if v == nil { + return nil + } + return &v.Metadata + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) } -func (o GetClusterRkeConfigDnsTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigDnsTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigDnsToleration { - return vs[0].([]GetClusterRkeConfigDnsToleration)[vs[1].(int)] - }).(GetClusterRkeConfigDnsTolerationOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Route() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute { + if v == nil { + return nil + } + return &v.Route + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) } -type GetClusterRkeConfigDnsUpdateStrategy struct { - RollingUpdate *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` - Strategy *string `pulumi:"strategy"` +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage struct { + BsVersion string `pulumi:"bsVersion"` + IgnoreVolumeAz bool `pulumi:"ignoreVolumeAz"` + TrustDevicePath bool `pulumi:"trustDevicePath"` } -// GetClusterRkeConfigDnsUpdateStrategyInput is an input type that accepts GetClusterRkeConfigDnsUpdateStrategyArgs and GetClusterRkeConfigDnsUpdateStrategyOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsUpdateStrategyInput` via: +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput` via: // -// GetClusterRkeConfigDnsUpdateStrategyArgs{...} -type GetClusterRkeConfigDnsUpdateStrategyInput interface { +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput interface { pulumi.Input - ToGetClusterRkeConfigDnsUpdateStrategyOutput() GetClusterRkeConfigDnsUpdateStrategyOutput - ToGetClusterRkeConfigDnsUpdateStrategyOutputWithContext(context.Context) GetClusterRkeConfigDnsUpdateStrategyOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput } -type GetClusterRkeConfigDnsUpdateStrategyArgs struct { - RollingUpdate GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` - Strategy pulumi.StringPtrInput `pulumi:"strategy"` +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs struct { + BsVersion pulumi.StringInput `pulumi:"bsVersion"` + IgnoreVolumeAz pulumi.BoolInput `pulumi:"ignoreVolumeAz"` + TrustDevicePath pulumi.BoolInput `pulumi:"trustDevicePath"` } -func (GetClusterRkeConfigDnsUpdateStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDnsUpdateStrategy)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() } -func (i GetClusterRkeConfigDnsUpdateStrategyArgs) ToGetClusterRkeConfigDnsUpdateStrategyOutput() GetClusterRkeConfigDnsUpdateStrategyOutput { - return i.ToGetClusterRkeConfigDnsUpdateStrategyOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigDnsUpdateStrategyArgs) ToGetClusterRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyOutput) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) } -func (i GetClusterRkeConfigDnsUpdateStrategyArgs) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutput() GetClusterRkeConfigDnsUpdateStrategyPtrOutput { - return i.ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigDnsUpdateStrategyArgs) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyOutput).ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx) } -// GetClusterRkeConfigDnsUpdateStrategyPtrInput is an input type that accepts GetClusterRkeConfigDnsUpdateStrategyArgs, GetClusterRkeConfigDnsUpdateStrategyPtr and GetClusterRkeConfigDnsUpdateStrategyPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsUpdateStrategyPtrInput` via: +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput` via: // -// GetClusterRkeConfigDnsUpdateStrategyArgs{...} +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} // // or: // // nil -type GetClusterRkeConfigDnsUpdateStrategyPtrInput interface { +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput interface { pulumi.Input - ToGetClusterRkeConfigDnsUpdateStrategyPtrOutput() GetClusterRkeConfigDnsUpdateStrategyPtrOutput - ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Context) GetClusterRkeConfigDnsUpdateStrategyPtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput } -type getClusterRkeConfigDnsUpdateStrategyPtrType GetClusterRkeConfigDnsUpdateStrategyArgs +type getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs -func GetClusterRkeConfigDnsUpdateStrategyPtr(v *GetClusterRkeConfigDnsUpdateStrategyArgs) GetClusterRkeConfigDnsUpdateStrategyPtrInput { - return (*getClusterRkeConfigDnsUpdateStrategyPtrType)(v) +func GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput { + return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType)(v) } -func (*getClusterRkeConfigDnsUpdateStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigDnsUpdateStrategy)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() } -func (i *getClusterRkeConfigDnsUpdateStrategyPtrType) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutput() GetClusterRkeConfigDnsUpdateStrategyPtrOutput { - return i.ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigDnsUpdateStrategyPtrType) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyPtrOutput) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) } -type GetClusterRkeConfigDnsUpdateStrategyOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigDnsUpdateStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDnsUpdateStrategy)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() } -func (o GetClusterRkeConfigDnsUpdateStrategyOutput) ToGetClusterRkeConfigDnsUpdateStrategyOutput() GetClusterRkeConfigDnsUpdateStrategyOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { return o } -func (o GetClusterRkeConfigDnsUpdateStrategyOutput) ToGetClusterRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { return o } -func (o GetClusterRkeConfigDnsUpdateStrategyOutput) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutput() GetClusterRkeConfigDnsUpdateStrategyPtrOutput { - return o.ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigDnsUpdateStrategyOutput) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigDnsUpdateStrategy) *GetClusterRkeConfigDnsUpdateStrategy { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { return &v - }).(GetClusterRkeConfigDnsUpdateStrategyPtrOutput) + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) } -func (o GetClusterRkeConfigDnsUpdateStrategyOutput) RollingUpdate() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsUpdateStrategy) *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate { - return v.RollingUpdate - }).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) BsVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) string { return v.BsVersion }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsUpdateStrategy) *string { return v.Strategy }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) IgnoreVolumeAz() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) bool { + return v.IgnoreVolumeAz + }).(pulumi.BoolOutput) } -type GetClusterRkeConfigDnsUpdateStrategyPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) TrustDevicePath() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) bool { + return v.TrustDevicePath + }).(pulumi.BoolOutput) +} -func (GetClusterRkeConfigDnsUpdateStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigDnsUpdateStrategy)(nil)).Elem() +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() } -func (o GetClusterRkeConfigDnsUpdateStrategyPtrOutput) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutput() GetClusterRkeConfigDnsUpdateStrategyPtrOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { return o } -func (o GetClusterRkeConfigDnsUpdateStrategyPtrOutput) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyPtrOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { return o } -func (o GetClusterRkeConfigDnsUpdateStrategyPtrOutput) Elem() GetClusterRkeConfigDnsUpdateStrategyOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategy) GetClusterRkeConfigDnsUpdateStrategy { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { if v != nil { return *v } - var ret GetClusterRkeConfigDnsUpdateStrategy + var ret GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage return ret - }).(GetClusterRkeConfigDnsUpdateStrategyOutput) + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) } -func (o GetClusterRkeConfigDnsUpdateStrategyPtrOutput) RollingUpdate() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategy) *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) BsVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *string { if v == nil { return nil } - return v.RollingUpdate - }).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) + return &v.BsVersion + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategy) *string { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) IgnoreVolumeAz() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { if v == nil { return nil } - return v.Strategy - }).(pulumi.StringPtrOutput) + return &v.IgnoreVolumeAz + }).(pulumi.BoolPtrOutput) } -type GetClusterRkeConfigDnsUpdateStrategyRollingUpdate struct { - MaxSurge *int `pulumi:"maxSurge"` - MaxUnavailable *int `pulumi:"maxUnavailable"` +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) TrustDevicePath() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { + if v == nil { + return nil + } + return &v.TrustDevicePath + }).(pulumi.BoolPtrOutput) } -// GetClusterRkeConfigDnsUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs and GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsUpdateStrategyRollingUpdateInput` via: +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal struct { + AuthUrl string `pulumi:"authUrl"` + CaFile string `pulumi:"caFile"` + DomainId string `pulumi:"domainId"` + DomainName string `pulumi:"domainName"` + Password string `pulumi:"password"` + Region string `pulumi:"region"` + TenantId string `pulumi:"tenantId"` + TenantName string `pulumi:"tenantName"` + TrustId string `pulumi:"trustId"` + Username string `pulumi:"username"` +} + +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalInput` via: // -// GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} -type GetClusterRkeConfigDnsUpdateStrategyRollingUpdateInput interface { +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalInput interface { pulumi.Input - ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput - ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput } -type GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs struct { - MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` - MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs struct { + AuthUrl pulumi.StringInput `pulumi:"authUrl"` + CaFile pulumi.StringInput `pulumi:"caFile"` + DomainId pulumi.StringInput `pulumi:"domainId"` + DomainName pulumi.StringInput `pulumi:"domainName"` + Password pulumi.StringInput `pulumi:"password"` + Region pulumi.StringInput `pulumi:"region"` + TenantId pulumi.StringInput `pulumi:"tenantId"` + TenantName pulumi.StringInput `pulumi:"tenantName"` + TrustId pulumi.StringInput `pulumi:"trustId"` + Username pulumi.StringInput `pulumi:"username"` } -func (GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() } -func (i GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput { - return i.ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) } -func (i GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput).ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx) } -// GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs, GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtr and GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrInput` via: +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput` via: // -// GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} // // or: // // nil -type GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrInput interface { +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput interface { pulumi.Input - ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput - ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput } -type getClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrType GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs +type getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs -func GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtr(v *GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrInput { - return (*getClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrType)(v) +func GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput { + return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType)(v) } -func (*getClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() } -func (i *getClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) } -type GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { return o } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { return o } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal { return &v - }).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) *int { return v.MaxSurge }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) AuthUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.AuthUrl }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) *int { return v.MaxUnavailable }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) CaFile() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.CaFile }).(pulumi.StringOutput) } -type GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.DomainId }).(pulumi.StringOutput) +} -func (GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.DomainName }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.Password }).(pulumi.StringOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.Region }).(pulumi.StringOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.TenantId }).(pulumi.StringOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.TenantName }).(pulumi.StringOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TrustId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.TrustId }).(pulumi.StringOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { return v.Username }).(pulumi.StringOutput) +} + +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { return o } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { return o } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) GetClusterRkeConfigDnsUpdateStrategyRollingUpdate { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal { if v != nil { return *v } - var ret GetClusterRkeConfigDnsUpdateStrategyRollingUpdate + var ret GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal return ret - }).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) *int { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) AuthUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { if v == nil { return nil } - return v.MaxSurge - }).(pulumi.IntPtrOutput) + return &v.AuthUrl + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) *int { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) CaFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { if v == nil { return nil } - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) + return &v.CaFile + }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigIngress struct { - DefaultBackend *bool `pulumi:"defaultBackend"` - DnsPolicy string `pulumi:"dnsPolicy"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - HttpPort int `pulumi:"httpPort"` - HttpsPort int `pulumi:"httpsPort"` - NetworkMode string `pulumi:"networkMode"` - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` - Options map[string]interface{} `pulumi:"options"` - Provider string `pulumi:"provider"` - Tolerations []GetClusterRkeConfigIngressToleration `pulumi:"tolerations"` - UpdateStrategy *GetClusterRkeConfigIngressUpdateStrategy `pulumi:"updateStrategy"` +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.DomainId + }).(pulumi.StringPtrOutput) } -// GetClusterRkeConfigIngressInput is an input type that accepts GetClusterRkeConfigIngressArgs and GetClusterRkeConfigIngressOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigIngressInput` via: +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.DomainName + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Region + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.TenantId + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.TenantName + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TrustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.TrustId + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Username + }).(pulumi.StringPtrOutput) +} + +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer struct { + CreateMonitor bool `pulumi:"createMonitor"` + FloatingNetworkId string `pulumi:"floatingNetworkId"` + LbMethod string `pulumi:"lbMethod"` + LbProvider string `pulumi:"lbProvider"` + LbVersion string `pulumi:"lbVersion"` + ManageSecurityGroups bool `pulumi:"manageSecurityGroups"` + MonitorDelay *string `pulumi:"monitorDelay"` + MonitorMaxRetries *int `pulumi:"monitorMaxRetries"` + MonitorTimeout *string `pulumi:"monitorTimeout"` + SubnetId string `pulumi:"subnetId"` + UseOctavia bool `pulumi:"useOctavia"` +} + +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput` via: // -// GetClusterRkeConfigIngressArgs{...} -type GetClusterRkeConfigIngressInput interface { +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput interface { pulumi.Input - ToGetClusterRkeConfigIngressOutput() GetClusterRkeConfigIngressOutput - ToGetClusterRkeConfigIngressOutputWithContext(context.Context) GetClusterRkeConfigIngressOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput } -type GetClusterRkeConfigIngressArgs struct { - DefaultBackend pulumi.BoolPtrInput `pulumi:"defaultBackend"` - DnsPolicy pulumi.StringInput `pulumi:"dnsPolicy"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - HttpPort pulumi.IntInput `pulumi:"httpPort"` - HttpsPort pulumi.IntInput `pulumi:"httpsPort"` - NetworkMode pulumi.StringInput `pulumi:"networkMode"` - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` - Options pulumi.MapInput `pulumi:"options"` - Provider pulumi.StringInput `pulumi:"provider"` - Tolerations GetClusterRkeConfigIngressTolerationArrayInput `pulumi:"tolerations"` - UpdateStrategy GetClusterRkeConfigIngressUpdateStrategyPtrInput `pulumi:"updateStrategy"` +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs struct { + CreateMonitor pulumi.BoolInput `pulumi:"createMonitor"` + FloatingNetworkId pulumi.StringInput `pulumi:"floatingNetworkId"` + LbMethod pulumi.StringInput `pulumi:"lbMethod"` + LbProvider pulumi.StringInput `pulumi:"lbProvider"` + LbVersion pulumi.StringInput `pulumi:"lbVersion"` + ManageSecurityGroups pulumi.BoolInput `pulumi:"manageSecurityGroups"` + MonitorDelay pulumi.StringPtrInput `pulumi:"monitorDelay"` + MonitorMaxRetries pulumi.IntPtrInput `pulumi:"monitorMaxRetries"` + MonitorTimeout pulumi.StringPtrInput `pulumi:"monitorTimeout"` + SubnetId pulumi.StringInput `pulumi:"subnetId"` + UseOctavia pulumi.BoolInput `pulumi:"useOctavia"` } -func (GetClusterRkeConfigIngressArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigIngress)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (i GetClusterRkeConfigIngressArgs) ToGetClusterRkeConfigIngressOutput() GetClusterRkeConfigIngressOutput { - return i.ToGetClusterRkeConfigIngressOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigIngressArgs) ToGetClusterRkeConfigIngressOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressOutput) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) } -type GetClusterRkeConfigIngressOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigIngressOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigIngress)(nil)).Elem() +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigIngressOutput) ToGetClusterRkeConfigIngressOutput() GetClusterRkeConfigIngressOutput { - return o +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx) } -func (o GetClusterRkeConfigIngressOutput) ToGetClusterRkeConfigIngressOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressOutput { - return o +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput` via: +// +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput interface { + pulumi.Input + + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput } -func (o GetClusterRkeConfigIngressOutput) DefaultBackend() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) *bool { return v.DefaultBackend }).(pulumi.BoolPtrOutput) +type getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs + +func GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput { + return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType)(v) } -func (o GetClusterRkeConfigIngressOutput) DnsPolicy() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) string { return v.DnsPolicy }).(pulumi.StringOutput) +func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (o GetClusterRkeConfigIngressOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigIngressOutput) HttpPort() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) int { return v.HttpPort }).(pulumi.IntOutput) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) } -func (o GetClusterRkeConfigIngressOutput) HttpsPort() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) int { return v.HttpsPort }).(pulumi.IntOutput) +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (o GetClusterRkeConfigIngressOutput) NetworkMode() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) string { return v.NetworkMode }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return o } -func (o GetClusterRkeConfigIngressOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) map[string]interface{} { return v.NodeSelector }).(pulumi.MapOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return o } -func (o GetClusterRkeConfigIngressOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) map[string]interface{} { return v.Options }).(pulumi.MapOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigIngressOutput) Provider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) string { return v.Provider }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { + return &v + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) } -func (o GetClusterRkeConfigIngressOutput) Tolerations() GetClusterRkeConfigIngressTolerationArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) []GetClusterRkeConfigIngressToleration { return v.Tolerations }).(GetClusterRkeConfigIngressTolerationArrayOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) CreateMonitor() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { + return v.CreateMonitor + }).(pulumi.BoolOutput) } -func (o GetClusterRkeConfigIngressOutput) UpdateStrategy() GetClusterRkeConfigIngressUpdateStrategyPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngress) *GetClusterRkeConfigIngressUpdateStrategy { return v.UpdateStrategy }).(GetClusterRkeConfigIngressUpdateStrategyPtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) FloatingNetworkId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { + return v.FloatingNetworkId + }).(pulumi.StringOutput) } -type GetClusterRkeConfigIngressToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds int `pulumi:"seconds"` - Value *string `pulumi:"value"` +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbMethod() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { return v.LbMethod }).(pulumi.StringOutput) } -// GetClusterRkeConfigIngressTolerationInput is an input type that accepts GetClusterRkeConfigIngressTolerationArgs and GetClusterRkeConfigIngressTolerationOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigIngressTolerationInput` via: -// -// GetClusterRkeConfigIngressTolerationArgs{...} -type GetClusterRkeConfigIngressTolerationInput interface { - pulumi.Input +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { return v.LbProvider }).(pulumi.StringOutput) +} - ToGetClusterRkeConfigIngressTolerationOutput() GetClusterRkeConfigIngressTolerationOutput - ToGetClusterRkeConfigIngressTolerationOutputWithContext(context.Context) GetClusterRkeConfigIngressTolerationOutput +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { return v.LbVersion }).(pulumi.StringOutput) } -type GetClusterRkeConfigIngressTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ManageSecurityGroups() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { + return v.ManageSecurityGroups + }).(pulumi.BoolOutput) } -func (GetClusterRkeConfigIngressTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigIngressToleration)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.MonitorDelay + }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigIngressTolerationArgs) ToGetClusterRkeConfigIngressTolerationOutput() GetClusterRkeConfigIngressTolerationOutput { - return i.ToGetClusterRkeConfigIngressTolerationOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorMaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { + return v.MonitorMaxRetries + }).(pulumi.IntPtrOutput) } -func (i GetClusterRkeConfigIngressTolerationArgs) ToGetClusterRkeConfigIngressTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressTolerationOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.MonitorTimeout + }).(pulumi.StringPtrOutput) } -// GetClusterRkeConfigIngressTolerationArrayInput is an input type that accepts GetClusterRkeConfigIngressTolerationArray and GetClusterRkeConfigIngressTolerationArrayOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigIngressTolerationArrayInput` via: -// -// GetClusterRkeConfigIngressTolerationArray{ GetClusterRkeConfigIngressTolerationArgs{...} } -type GetClusterRkeConfigIngressTolerationArrayInput interface { - pulumi.Input +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { return v.SubnetId }).(pulumi.StringOutput) +} - ToGetClusterRkeConfigIngressTolerationArrayOutput() GetClusterRkeConfigIngressTolerationArrayOutput - ToGetClusterRkeConfigIngressTolerationArrayOutputWithContext(context.Context) GetClusterRkeConfigIngressTolerationArrayOutput +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) UseOctavia() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { return v.UseOctavia }).(pulumi.BoolOutput) } -type GetClusterRkeConfigIngressTolerationArray []GetClusterRkeConfigIngressTolerationInput +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigIngressTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigIngressToleration)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (i GetClusterRkeConfigIngressTolerationArray) ToGetClusterRkeConfigIngressTolerationArrayOutput() GetClusterRkeConfigIngressTolerationArrayOutput { - return i.ToGetClusterRkeConfigIngressTolerationArrayOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o } -func (i GetClusterRkeConfigIngressTolerationArray) ToGetClusterRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressTolerationArrayOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o } -type GetClusterRkeConfigIngressTolerationOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigIngressTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigIngressToleration)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { + if v != nil { + return *v + } + var ret GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer + return ret + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) } -func (o GetClusterRkeConfigIngressTolerationOutput) ToGetClusterRkeConfigIngressTolerationOutput() GetClusterRkeConfigIngressTolerationOutput { - return o +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) CreateMonitor() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { + if v == nil { + return nil + } + return &v.CreateMonitor + }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigIngressTolerationOutput) ToGetClusterRkeConfigIngressTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressTolerationOutput { - return o +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) FloatingNetworkId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return &v.FloatingNetworkId + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigIngressTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngressToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return &v.LbMethod + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigIngressTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngressToleration) string { return v.Key }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return &v.LbProvider + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigIngressTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngressToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return &v.LbVersion + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigIngressTolerationOutput) Seconds() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngressToleration) int { return v.Seconds }).(pulumi.IntOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ManageSecurityGroups() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { + if v == nil { + return nil + } + return &v.ManageSecurityGroups + }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigIngressTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngressToleration) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return v.MonitorDelay + }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigIngressTolerationArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigIngressTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigIngressToleration)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorMaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { + if v == nil { + return nil + } + return v.MonitorMaxRetries + }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigIngressTolerationArrayOutput) ToGetClusterRkeConfigIngressTolerationArrayOutput() GetClusterRkeConfigIngressTolerationArrayOutput { - return o +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return v.MonitorTimeout + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigIngressTolerationArrayOutput) ToGetClusterRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressTolerationArrayOutput { - return o +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return &v.SubnetId + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigIngressTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigIngressTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigIngressToleration { - return vs[0].([]GetClusterRkeConfigIngressToleration)[vs[1].(int)] - }).(GetClusterRkeConfigIngressTolerationOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) UseOctavia() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { + if v == nil { + return nil + } + return &v.UseOctavia + }).(pulumi.BoolPtrOutput) } -type GetClusterRkeConfigIngressUpdateStrategy struct { - RollingUpdate *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` - Strategy *string `pulumi:"strategy"` +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata struct { + RequestTimeout int `pulumi:"requestTimeout"` + SearchOrder string `pulumi:"searchOrder"` } -// GetClusterRkeConfigIngressUpdateStrategyInput is an input type that accepts GetClusterRkeConfigIngressUpdateStrategyArgs and GetClusterRkeConfigIngressUpdateStrategyOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigIngressUpdateStrategyInput` via: +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataInput` via: // -// GetClusterRkeConfigIngressUpdateStrategyArgs{...} -type GetClusterRkeConfigIngressUpdateStrategyInput interface { +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataInput interface { pulumi.Input - ToGetClusterRkeConfigIngressUpdateStrategyOutput() GetClusterRkeConfigIngressUpdateStrategyOutput - ToGetClusterRkeConfigIngressUpdateStrategyOutputWithContext(context.Context) GetClusterRkeConfigIngressUpdateStrategyOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput } -type GetClusterRkeConfigIngressUpdateStrategyArgs struct { - RollingUpdate GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` - Strategy pulumi.StringPtrInput `pulumi:"strategy"` +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs struct { + RequestTimeout pulumi.IntInput `pulumi:"requestTimeout"` + SearchOrder pulumi.StringInput `pulumi:"searchOrder"` } -func (GetClusterRkeConfigIngressUpdateStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (i GetClusterRkeConfigIngressUpdateStrategyArgs) ToGetClusterRkeConfigIngressUpdateStrategyOutput() GetClusterRkeConfigIngressUpdateStrategyOutput { - return i.ToGetClusterRkeConfigIngressUpdateStrategyOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigIngressUpdateStrategyArgs) ToGetClusterRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyOutput) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) } -func (i GetClusterRkeConfigIngressUpdateStrategyArgs) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutput() GetClusterRkeConfigIngressUpdateStrategyPtrOutput { - return i.ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigIngressUpdateStrategyArgs) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyOutput).ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx) } -// GetClusterRkeConfigIngressUpdateStrategyPtrInput is an input type that accepts GetClusterRkeConfigIngressUpdateStrategyArgs, GetClusterRkeConfigIngressUpdateStrategyPtr and GetClusterRkeConfigIngressUpdateStrategyPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigIngressUpdateStrategyPtrInput` via: +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput` via: // -// GetClusterRkeConfigIngressUpdateStrategyArgs{...} +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} // // or: // // nil -type GetClusterRkeConfigIngressUpdateStrategyPtrInput interface { +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput interface { pulumi.Input - ToGetClusterRkeConfigIngressUpdateStrategyPtrOutput() GetClusterRkeConfigIngressUpdateStrategyPtrOutput - ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Context) GetClusterRkeConfigIngressUpdateStrategyPtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput } -type getClusterRkeConfigIngressUpdateStrategyPtrType GetClusterRkeConfigIngressUpdateStrategyArgs +type getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs -func GetClusterRkeConfigIngressUpdateStrategyPtr(v *GetClusterRkeConfigIngressUpdateStrategyArgs) GetClusterRkeConfigIngressUpdateStrategyPtrInput { - return (*getClusterRkeConfigIngressUpdateStrategyPtrType)(v) +func GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput { + return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType)(v) } -func (*getClusterRkeConfigIngressUpdateStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (i *getClusterRkeConfigIngressUpdateStrategyPtrType) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutput() GetClusterRkeConfigIngressUpdateStrategyPtrOutput { - return i.ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigIngressUpdateStrategyPtrType) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyPtrOutput) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) } -type GetClusterRkeConfigIngressUpdateStrategyOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigIngressUpdateStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (o GetClusterRkeConfigIngressUpdateStrategyOutput) ToGetClusterRkeConfigIngressUpdateStrategyOutput() GetClusterRkeConfigIngressUpdateStrategyOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { return o } -func (o GetClusterRkeConfigIngressUpdateStrategyOutput) ToGetClusterRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { return o } -func (o GetClusterRkeConfigIngressUpdateStrategyOutput) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutput() GetClusterRkeConfigIngressUpdateStrategyPtrOutput { - return o.ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigIngressUpdateStrategyOutput) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigIngressUpdateStrategy) *GetClusterRkeConfigIngressUpdateStrategy { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata { return &v - }).(GetClusterRkeConfigIngressUpdateStrategyPtrOutput) + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) } -func (o GetClusterRkeConfigIngressUpdateStrategyOutput) RollingUpdate() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngressUpdateStrategy) *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate { - return v.RollingUpdate - }).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) RequestTimeout() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) int { return v.RequestTimeout }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigIngressUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngressUpdateStrategy) *string { return v.Strategy }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) SearchOrder() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) string { return v.SearchOrder }).(pulumi.StringOutput) } -type GetClusterRkeConfigIngressUpdateStrategyPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigIngressUpdateStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (o GetClusterRkeConfigIngressUpdateStrategyPtrOutput) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutput() GetClusterRkeConfigIngressUpdateStrategyPtrOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { return o } -func (o GetClusterRkeConfigIngressUpdateStrategyPtrOutput) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyPtrOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { return o } -func (o GetClusterRkeConfigIngressUpdateStrategyPtrOutput) Elem() GetClusterRkeConfigIngressUpdateStrategyOutput { - return o.ApplyT(func(v *GetClusterRkeConfigIngressUpdateStrategy) GetClusterRkeConfigIngressUpdateStrategy { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata { if v != nil { return *v } - var ret GetClusterRkeConfigIngressUpdateStrategy + var ret GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata return ret - }).(GetClusterRkeConfigIngressUpdateStrategyOutput) + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) } -func (o GetClusterRkeConfigIngressUpdateStrategyPtrOutput) RollingUpdate() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigIngressUpdateStrategy) *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) RequestTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) *int { if v == nil { return nil } - return v.RollingUpdate - }).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) + return &v.RequestTimeout + }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigIngressUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigIngressUpdateStrategy) *string { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) SearchOrder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderMetadata) *string { if v == nil { return nil } - return v.Strategy + return &v.SearchOrder }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigIngressUpdateStrategyRollingUpdate struct { - MaxUnavailable *int `pulumi:"maxUnavailable"` +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute struct { + RouterId string `pulumi:"routerId"` } -// GetClusterRkeConfigIngressUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs and GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigIngressUpdateStrategyRollingUpdateInput` via: +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs and GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteInput` via: // -// GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} -type GetClusterRkeConfigIngressUpdateStrategyRollingUpdateInput interface { +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteInput interface { pulumi.Input - ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput - ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput } -type GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs struct { - MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs struct { + RouterId pulumi.StringInput `pulumi:"routerId"` } -func (GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (i GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput { - return i.ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) } -func (i GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput).ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput).ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx) } -// GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs, GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtr and GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrInput` via: +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput is an input type that accepts GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs, GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtr and GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput` via: // -// GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} +// GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} // // or: // // nil -type GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrInput interface { +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput interface { pulumi.Input - ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput - ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput + ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput } -type getClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrType GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs +type getClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs -func GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtr(v *GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrInput { - return (*getClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrType)(v) +func GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtr(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput { + return (*getClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType)(v) } -func (*getClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (i *getClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return i.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) +func (i *getClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) } -type GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { return o } -func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { return o } -func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o.ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigIngressUpdateStrategyRollingUpdate) *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate { +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute) *GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute { return &v - }).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) -} - -func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigIngressUpdateStrategyRollingUpdate) *int { return v.MaxUnavailable }).(pulumi.IntPtrOutput) -} - -type GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() -} - -func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o -} - -func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o -} - -func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput { - return o.ApplyT(func(v *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate) GetClusterRkeConfigIngressUpdateStrategyRollingUpdate { - if v != nil { - return *v - } - var ret GetClusterRkeConfigIngressUpdateStrategyRollingUpdate - return ret - }).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) -} - -func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate) *int { - if v == nil { - return nil - } - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) -} - -type GetClusterRkeConfigMonitoring struct { - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` - Options map[string]interface{} `pulumi:"options"` - Provider string `pulumi:"provider"` - Replicas int `pulumi:"replicas"` - Tolerations []GetClusterRkeConfigMonitoringToleration `pulumi:"tolerations"` - UpdateStrategy *GetClusterRkeConfigMonitoringUpdateStrategy `pulumi:"updateStrategy"` -} - -// GetClusterRkeConfigMonitoringInput is an input type that accepts GetClusterRkeConfigMonitoringArgs and GetClusterRkeConfigMonitoringOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigMonitoringInput` via: -// -// GetClusterRkeConfigMonitoringArgs{...} -type GetClusterRkeConfigMonitoringInput interface { - pulumi.Input - - ToGetClusterRkeConfigMonitoringOutput() GetClusterRkeConfigMonitoringOutput - ToGetClusterRkeConfigMonitoringOutputWithContext(context.Context) GetClusterRkeConfigMonitoringOutput + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) } -type GetClusterRkeConfigMonitoringArgs struct { - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` - Options pulumi.MapInput `pulumi:"options"` - Provider pulumi.StringInput `pulumi:"provider"` - Replicas pulumi.IntInput `pulumi:"replicas"` - Tolerations GetClusterRkeConfigMonitoringTolerationArrayInput `pulumi:"tolerations"` - UpdateStrategy GetClusterRkeConfigMonitoringUpdateStrategyPtrInput `pulumi:"updateStrategy"` +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) RouterId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute) string { return v.RouterId }).(pulumi.StringOutput) } -func (GetClusterRkeConfigMonitoringArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigMonitoring)(nil)).Elem() -} +type GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput struct{ *pulumi.OutputState } -func (i GetClusterRkeConfigMonitoringArgs) ToGetClusterRkeConfigMonitoringOutput() GetClusterRkeConfigMonitoringOutput { - return i.ToGetClusterRkeConfigMonitoringOutputWithContext(context.Background()) +func (GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (i GetClusterRkeConfigMonitoringArgs) ToGetClusterRkeConfigMonitoringOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringOutput) +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o } -type GetClusterRkeConfigMonitoringOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToGetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o +} -func (GetClusterRkeConfigMonitoringOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigMonitoring)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) Elem() GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute) GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute { + if v != nil { + return *v + } + var ret GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute + return ret + }).(GetClusterRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) } -func (o GetClusterRkeConfigMonitoringOutput) ToGetClusterRkeConfigMonitoringOutput() GetClusterRkeConfigMonitoringOutput { - return o +func (o GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) RouterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderOpenstackCloudProviderRoute) *string { + if v == nil { + return nil + } + return &v.RouterId + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigMonitoringOutput) ToGetClusterRkeConfigMonitoringOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringOutput { - return o +type GetClusterRkeConfigCloudProviderVsphereCloudProvider struct { + Disk GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk `pulumi:"disk"` + Global GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal `pulumi:"global"` + Network GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork `pulumi:"network"` + VirtualCenters []GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter `pulumi:"virtualCenters"` + Workspace GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace `pulumi:"workspace"` } -func (o GetClusterRkeConfigMonitoringOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoring) map[string]interface{} { return v.NodeSelector }).(pulumi.MapOutput) +// GetClusterRkeConfigCloudProviderVsphereCloudProviderInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderInput` via: +// +// GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs{...} +type GetClusterRkeConfigCloudProviderVsphereCloudProviderInput interface { + pulumi.Input + + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput } -func (o GetClusterRkeConfigMonitoringOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoring) map[string]interface{} { return v.Options }).(pulumi.MapOutput) +type GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs struct { + Disk GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskInput `pulumi:"disk"` + Global GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalInput `pulumi:"global"` + Network GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkInput `pulumi:"network"` + VirtualCenters GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput `pulumi:"virtualCenters"` + Workspace GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput `pulumi:"workspace"` } -func (o GetClusterRkeConfigMonitoringOutput) Provider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoring) string { return v.Provider }).(pulumi.StringOutput) +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -func (o GetClusterRkeConfigMonitoringOutput) Replicas() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoring) int { return v.Replicas }).(pulumi.IntOutput) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigMonitoringOutput) Tolerations() GetClusterRkeConfigMonitoringTolerationArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoring) []GetClusterRkeConfigMonitoringToleration { return v.Tolerations }).(GetClusterRkeConfigMonitoringTolerationArrayOutput) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) } -func (o GetClusterRkeConfigMonitoringOutput) UpdateStrategy() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoring) *GetClusterRkeConfigMonitoringUpdateStrategy { - return v.UpdateStrategy - }).(GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) } -type GetClusterRkeConfigMonitoringToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds int `pulumi:"seconds"` - Value *string `pulumi:"value"` +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput).ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx) } -// GetClusterRkeConfigMonitoringTolerationInput is an input type that accepts GetClusterRkeConfigMonitoringTolerationArgs and GetClusterRkeConfigMonitoringTolerationOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigMonitoringTolerationInput` via: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs, GetClusterRkeConfigCloudProviderVsphereCloudProviderPtr and GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrInput` via: // -// GetClusterRkeConfigMonitoringTolerationArgs{...} -type GetClusterRkeConfigMonitoringTolerationInput interface { +// GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrInput interface { pulumi.Input - ToGetClusterRkeConfigMonitoringTolerationOutput() GetClusterRkeConfigMonitoringTolerationOutput - ToGetClusterRkeConfigMonitoringTolerationOutputWithContext(context.Context) GetClusterRkeConfigMonitoringTolerationOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput } -type GetClusterRkeConfigMonitoringTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` +type getClusterRkeConfigCloudProviderVsphereCloudProviderPtrType GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs + +func GetClusterRkeConfigCloudProviderVsphereCloudProviderPtr(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderArgs) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrInput { + return (*getClusterRkeConfigCloudProviderVsphereCloudProviderPtrType)(v) } -func (GetClusterRkeConfigMonitoringTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigMonitoringToleration)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderVsphereCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -func (i GetClusterRkeConfigMonitoringTolerationArgs) ToGetClusterRkeConfigMonitoringTolerationOutput() GetClusterRkeConfigMonitoringTolerationOutput { - return i.ToGetClusterRkeConfigMonitoringTolerationOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigMonitoringTolerationArgs) ToGetClusterRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringTolerationOutput) +func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) } -// GetClusterRkeConfigMonitoringTolerationArrayInput is an input type that accepts GetClusterRkeConfigMonitoringTolerationArray and GetClusterRkeConfigMonitoringTolerationArrayOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigMonitoringTolerationArrayInput` via: -// -// GetClusterRkeConfigMonitoringTolerationArray{ GetClusterRkeConfigMonitoringTolerationArgs{...} } -type GetClusterRkeConfigMonitoringTolerationArrayInput interface { - pulumi.Input +type GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput struct{ *pulumi.OutputState } - ToGetClusterRkeConfigMonitoringTolerationArrayOutput() GetClusterRkeConfigMonitoringTolerationArrayOutput - ToGetClusterRkeConfigMonitoringTolerationArrayOutputWithContext(context.Context) GetClusterRkeConfigMonitoringTolerationArrayOutput +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -type GetClusterRkeConfigMonitoringTolerationArray []GetClusterRkeConfigMonitoringTolerationInput +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput { + return o +} -func (GetClusterRkeConfigMonitoringTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigMonitoringToleration)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput { + return o } -func (i GetClusterRkeConfigMonitoringTolerationArray) ToGetClusterRkeConfigMonitoringTolerationArrayOutput() GetClusterRkeConfigMonitoringTolerationArrayOutput { - return i.ToGetClusterRkeConfigMonitoringTolerationArrayOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigMonitoringTolerationArray) ToGetClusterRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringTolerationArrayOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderVsphereCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProvider { + return &v + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) } -type GetClusterRkeConfigMonitoringTolerationOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) Disk() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProvider) GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk { + return v.Disk + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) +} -func (GetClusterRkeConfigMonitoringTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigMonitoringToleration)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) Global() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProvider) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal { + return v.Global + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) } -func (o GetClusterRkeConfigMonitoringTolerationOutput) ToGetClusterRkeConfigMonitoringTolerationOutput() GetClusterRkeConfigMonitoringTolerationOutput { - return o +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) Network() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProvider) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork { + return v.Network + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) } -func (o GetClusterRkeConfigMonitoringTolerationOutput) ToGetClusterRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringTolerationOutput { - return o +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) VirtualCenters() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProvider) []GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { + return v.VirtualCenters + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) } -func (o GetClusterRkeConfigMonitoringTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoringToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) Workspace() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProvider) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace { + return v.Workspace + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) } -func (o GetClusterRkeConfigMonitoringTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoringToleration) string { return v.Key }).(pulumi.StringOutput) +type GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -func (o GetClusterRkeConfigMonitoringTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoringToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o } -func (o GetClusterRkeConfigMonitoringTolerationOutput) Seconds() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoringToleration) int { return v.Seconds }).(pulumi.IntOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o } -func (o GetClusterRkeConfigMonitoringTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoringToleration) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Elem() GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) GetClusterRkeConfigCloudProviderVsphereCloudProvider { + if v != nil { + return *v + } + var ret GetClusterRkeConfigCloudProviderVsphereCloudProvider + return ret + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderOutput) } -type GetClusterRkeConfigMonitoringTolerationArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Disk() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk { + if v == nil { + return nil + } + return &v.Disk + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) +} -func (GetClusterRkeConfigMonitoringTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigMonitoringToleration)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Global() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal { + if v == nil { + return nil + } + return &v.Global + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) } -func (o GetClusterRkeConfigMonitoringTolerationArrayOutput) ToGetClusterRkeConfigMonitoringTolerationArrayOutput() GetClusterRkeConfigMonitoringTolerationArrayOutput { - return o +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Network() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork { + if v == nil { + return nil + } + return &v.Network + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) } -func (o GetClusterRkeConfigMonitoringTolerationArrayOutput) ToGetClusterRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringTolerationArrayOutput { - return o +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) VirtualCenters() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) []GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { + if v == nil { + return nil + } + return v.VirtualCenters + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) } -func (o GetClusterRkeConfigMonitoringTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigMonitoringTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigMonitoringToleration { - return vs[0].([]GetClusterRkeConfigMonitoringToleration)[vs[1].(int)] - }).(GetClusterRkeConfigMonitoringTolerationOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Workspace() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProvider) *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace { + if v == nil { + return nil + } + return &v.Workspace + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) } -type GetClusterRkeConfigMonitoringUpdateStrategy struct { - RollingUpdate *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` - Strategy *string `pulumi:"strategy"` +type GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk struct { + ScsiControllerType string `pulumi:"scsiControllerType"` } -// GetClusterRkeConfigMonitoringUpdateStrategyInput is an input type that accepts GetClusterRkeConfigMonitoringUpdateStrategyArgs and GetClusterRkeConfigMonitoringUpdateStrategyOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigMonitoringUpdateStrategyInput` via: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskInput` via: // -// GetClusterRkeConfigMonitoringUpdateStrategyArgs{...} -type GetClusterRkeConfigMonitoringUpdateStrategyInput interface { +// GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} +type GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskInput interface { pulumi.Input - ToGetClusterRkeConfigMonitoringUpdateStrategyOutput() GetClusterRkeConfigMonitoringUpdateStrategyOutput - ToGetClusterRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Context) GetClusterRkeConfigMonitoringUpdateStrategyOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput } -type GetClusterRkeConfigMonitoringUpdateStrategyArgs struct { - RollingUpdate GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` - Strategy pulumi.StringPtrInput `pulumi:"strategy"` +type GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs struct { + ScsiControllerType pulumi.StringInput `pulumi:"scsiControllerType"` } -func (GetClusterRkeConfigMonitoringUpdateStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (i GetClusterRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyOutput() GetClusterRkeConfigMonitoringUpdateStrategyOutput { - return i.ToGetClusterRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyOutput) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) } -func (i GetClusterRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { - return i.ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyOutput).ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput).ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx) } -// GetClusterRkeConfigMonitoringUpdateStrategyPtrInput is an input type that accepts GetClusterRkeConfigMonitoringUpdateStrategyArgs, GetClusterRkeConfigMonitoringUpdateStrategyPtr and GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigMonitoringUpdateStrategyPtrInput` via: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs, GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtr and GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput` via: // -// GetClusterRkeConfigMonitoringUpdateStrategyArgs{...} +// GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} // // or: // // nil -type GetClusterRkeConfigMonitoringUpdateStrategyPtrInput interface { +type GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput interface { pulumi.Input - ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput - ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Context) GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput } -type getClusterRkeConfigMonitoringUpdateStrategyPtrType GetClusterRkeConfigMonitoringUpdateStrategyArgs +type getClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrType GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs -func GetClusterRkeConfigMonitoringUpdateStrategyPtr(v *GetClusterRkeConfigMonitoringUpdateStrategyArgs) GetClusterRkeConfigMonitoringUpdateStrategyPtrInput { - return (*getClusterRkeConfigMonitoringUpdateStrategyPtrType)(v) +func GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtr(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskArgs) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput { + return (*getClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrType)(v) } -func (*getClusterRkeConfigMonitoringUpdateStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (i *getClusterRkeConfigMonitoringUpdateStrategyPtrType) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { - return i.ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigMonitoringUpdateStrategyPtrType) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) +func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) } -type GetClusterRkeConfigMonitoringUpdateStrategyOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigMonitoringUpdateStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyOutput() GetClusterRkeConfigMonitoringUpdateStrategyOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { return o } -func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { return o } -func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { - return o.ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigMonitoringUpdateStrategy) *GetClusterRkeConfigMonitoringUpdateStrategy { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk) *GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk { return &v - }).(GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) -} - -func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) RollingUpdate() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoringUpdateStrategy) *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { - return v.RollingUpdate - }).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) } -func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoringUpdateStrategy) *string { return v.Strategy }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ScsiControllerType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk) string { return v.ScsiControllerType }).(pulumi.StringOutput) } -type GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (o GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { return o } -func (o GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { return o } -func (o GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) Elem() GetClusterRkeConfigMonitoringUpdateStrategyOutput { - return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategy) GetClusterRkeConfigMonitoringUpdateStrategy { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) Elem() GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk) GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk { if v != nil { return *v } - var ret GetClusterRkeConfigMonitoringUpdateStrategy + var ret GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk return ret - }).(GetClusterRkeConfigMonitoringUpdateStrategyOutput) -} - -func (o GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) RollingUpdate() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategy) *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { - if v == nil { - return nil - } - return v.RollingUpdate - }).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskOutput) } -func (o GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategy) *string { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ScsiControllerType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderDisk) *string { if v == nil { return nil } - return v.Strategy + return &v.ScsiControllerType }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate struct { - MaxSurge *int `pulumi:"maxSurge"` - MaxUnavailable *int `pulumi:"maxUnavailable"` +type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal struct { + Datacenters string `pulumi:"datacenters"` + InsecureFlag bool `pulumi:"insecureFlag"` + Password string `pulumi:"password"` + Port string `pulumi:"port"` + SoapRoundtripCount int `pulumi:"soapRoundtripCount"` + User string `pulumi:"user"` } -// GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs and GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateInput` via: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalInput` via: // -// GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} -type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateInput interface { +// GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} +type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalInput interface { pulumi.Input - ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput - ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput } -type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs struct { - MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` - MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` +type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs struct { + Datacenters pulumi.StringInput `pulumi:"datacenters"` + InsecureFlag pulumi.BoolInput `pulumi:"insecureFlag"` + Password pulumi.StringInput `pulumi:"password"` + Port pulumi.StringInput `pulumi:"port"` + SoapRoundtripCount pulumi.IntInput `pulumi:"soapRoundtripCount"` + User pulumi.StringInput `pulumi:"user"` } -func (GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (i GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return i.ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) } -func (i GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput).ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput).ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx) } -// GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs, GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtr and GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput` via: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs, GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtr and GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput` via: // -// GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} +// GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} // // or: // // nil -type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput interface { +type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput interface { pulumi.Input - ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput - ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput -} - -type getClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs - -func GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtr(v *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput { - return (*getClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType)(v) -} - -func (*getClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() -} - -func (i *getClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) -} - -func (i *getClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) -} - -type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() -} - -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return o + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput } -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return o -} +type getClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtr(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput { + return (*getClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType)(v) } -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { - return &v - }).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) +func (*getClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { return v.MaxSurge }).(pulumi.IntPtrOutput) +func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { return v.MaxUnavailable }).(pulumi.IntPtrOutput) +func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) } -type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() -} +type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput struct{ *pulumi.OutputState } -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { return o } -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { - if v != nil { - return *v - } - var ret GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate - return ret - }).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return o } -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { - if v == nil { - return nil - } - return v.MaxSurge - }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { - if v == nil { - return nil - } - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal { + return &v + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) } -type GetClusterRkeConfigNetwork struct { - CalicoNetworkProvider *GetClusterRkeConfigNetworkCalicoNetworkProvider `pulumi:"calicoNetworkProvider"` - CanalNetworkProvider *GetClusterRkeConfigNetworkCanalNetworkProvider `pulumi:"canalNetworkProvider"` - FlannelNetworkProvider *GetClusterRkeConfigNetworkFlannelNetworkProvider `pulumi:"flannelNetworkProvider"` - Mtu *int `pulumi:"mtu"` - Options map[string]interface{} `pulumi:"options"` - Plugin string `pulumi:"plugin"` - Tolerations []GetClusterRkeConfigNetworkToleration `pulumi:"tolerations"` - WeaveNetworkProvider *GetClusterRkeConfigNetworkWeaveNetworkProvider `pulumi:"weaveNetworkProvider"` +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Datacenters() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) string { return v.Datacenters }).(pulumi.StringOutput) } -// GetClusterRkeConfigNetworkInput is an input type that accepts GetClusterRkeConfigNetworkArgs and GetClusterRkeConfigNetworkOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkInput` via: -// -// GetClusterRkeConfigNetworkArgs{...} -type GetClusterRkeConfigNetworkInput interface { - pulumi.Input - - ToGetClusterRkeConfigNetworkOutput() GetClusterRkeConfigNetworkOutput - ToGetClusterRkeConfigNetworkOutputWithContext(context.Context) GetClusterRkeConfigNetworkOutput +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) InsecureFlag() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) bool { return v.InsecureFlag }).(pulumi.BoolOutput) } -type GetClusterRkeConfigNetworkArgs struct { - CalicoNetworkProvider GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput `pulumi:"calicoNetworkProvider"` - CanalNetworkProvider GetClusterRkeConfigNetworkCanalNetworkProviderPtrInput `pulumi:"canalNetworkProvider"` - FlannelNetworkProvider GetClusterRkeConfigNetworkFlannelNetworkProviderPtrInput `pulumi:"flannelNetworkProvider"` - Mtu pulumi.IntPtrInput `pulumi:"mtu"` - Options pulumi.MapInput `pulumi:"options"` - Plugin pulumi.StringInput `pulumi:"plugin"` - Tolerations GetClusterRkeConfigNetworkTolerationArrayInput `pulumi:"tolerations"` - WeaveNetworkProvider GetClusterRkeConfigNetworkWeaveNetworkProviderPtrInput `pulumi:"weaveNetworkProvider"` +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) string { return v.Password }).(pulumi.StringOutput) } -func (GetClusterRkeConfigNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetwork)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Port() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) string { return v.Port }).(pulumi.StringOutput) } -func (i GetClusterRkeConfigNetworkArgs) ToGetClusterRkeConfigNetworkOutput() GetClusterRkeConfigNetworkOutput { - return i.ToGetClusterRkeConfigNetworkOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) SoapRoundtripCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) int { return v.SoapRoundtripCount }).(pulumi.IntOutput) } -func (i GetClusterRkeConfigNetworkArgs) ToGetClusterRkeConfigNetworkOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) string { return v.User }).(pulumi.StringOutput) } -type GetClusterRkeConfigNetworkOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetwork)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (o GetClusterRkeConfigNetworkOutput) ToGetClusterRkeConfigNetworkOutput() GetClusterRkeConfigNetworkOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { return o } -func (o GetClusterRkeConfigNetworkOutput) ToGetClusterRkeConfigNetworkOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { return o } -func (o GetClusterRkeConfigNetworkOutput) CalicoNetworkProvider() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetwork) *GetClusterRkeConfigNetworkCalicoNetworkProvider { - return v.CalicoNetworkProvider - }).(GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) -} - -func (o GetClusterRkeConfigNetworkOutput) CanalNetworkProvider() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetwork) *GetClusterRkeConfigNetworkCanalNetworkProvider { - return v.CanalNetworkProvider - }).(GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Elem() GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal { + if v != nil { + return *v + } + var ret GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal + return ret + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) } -func (o GetClusterRkeConfigNetworkOutput) FlannelNetworkProvider() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetwork) *GetClusterRkeConfigNetworkFlannelNetworkProvider { - return v.FlannelNetworkProvider - }).(GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Datacenters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Datacenters + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigNetworkOutput) Mtu() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetwork) *int { return v.Mtu }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) InsecureFlag() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *bool { + if v == nil { + return nil + } + return &v.InsecureFlag + }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigNetworkOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetwork) map[string]interface{} { return v.Options }).(pulumi.MapOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigNetworkOutput) Plugin() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetwork) string { return v.Plugin }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Port + }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigNetworkOutput) Tolerations() GetClusterRkeConfigNetworkTolerationArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetwork) []GetClusterRkeConfigNetworkToleration { return v.Tolerations }).(GetClusterRkeConfigNetworkTolerationArrayOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) SoapRoundtripCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *int { + if v == nil { + return nil + } + return &v.SoapRoundtripCount + }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigNetworkOutput) WeaveNetworkProvider() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetwork) *GetClusterRkeConfigNetworkWeaveNetworkProvider { - return v.WeaveNetworkProvider - }).(GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.User + }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigNetworkCalicoNetworkProvider struct { - CloudProvider string `pulumi:"cloudProvider"` +type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork struct { + PublicNetwork string `pulumi:"publicNetwork"` } -// GetClusterRkeConfigNetworkCalicoNetworkProviderInput is an input type that accepts GetClusterRkeConfigNetworkCalicoNetworkProviderArgs and GetClusterRkeConfigNetworkCalicoNetworkProviderOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkCalicoNetworkProviderInput` via: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkInput` via: // -// GetClusterRkeConfigNetworkCalicoNetworkProviderArgs{...} -type GetClusterRkeConfigNetworkCalicoNetworkProviderInput interface { +// GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} +type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkInput interface { pulumi.Input - ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderOutput - ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput } -type GetClusterRkeConfigNetworkCalicoNetworkProviderArgs struct { - CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` +type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs struct { + PublicNetwork pulumi.StringInput `pulumi:"publicNetwork"` } -func (GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (i GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderOutput { - return i.ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) } -func (i GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return i.ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCalicoNetworkProviderOutput).ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput).ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx) } -// GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput is an input type that accepts GetClusterRkeConfigNetworkCalicoNetworkProviderArgs, GetClusterRkeConfigNetworkCalicoNetworkProviderPtr and GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput` via: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs, GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtr and GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput` via: // -// GetClusterRkeConfigNetworkCalicoNetworkProviderArgs{...} +// GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} // // or: // // nil -type GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput interface { +type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput interface { pulumi.Input - ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput - ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput } -type getClusterRkeConfigNetworkCalicoNetworkProviderPtrType GetClusterRkeConfigNetworkCalicoNetworkProviderArgs +type getClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs -func GetClusterRkeConfigNetworkCalicoNetworkProviderPtr(v *GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput { - return (*getClusterRkeConfigNetworkCalicoNetworkProviderPtrType)(v) +func GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtr(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput { + return (*getClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType)(v) } -func (*getClusterRkeConfigNetworkCalicoNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (i *getClusterRkeConfigNetworkCalicoNetworkProviderPtrType) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return i.ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigNetworkCalicoNetworkProviderPtrType) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) +func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) } -type GetClusterRkeConfigNetworkCalicoNetworkProviderOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (o GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { return o } -func (o GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { return o } -func (o GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return o.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigNetworkCalicoNetworkProvider) *GetClusterRkeConfigNetworkCalicoNetworkProvider { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork) *GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork { return &v - }).(GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) } -func (o GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) CloudProvider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetworkCalicoNetworkProvider) string { return v.CloudProvider }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) PublicNetwork() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork) string { return v.PublicNetwork }).(pulumi.StringOutput) } -type GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (o GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { return o } -func (o GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { return o } -func (o GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) Elem() GetClusterRkeConfigNetworkCalicoNetworkProviderOutput { - return o.ApplyT(func(v *GetClusterRkeConfigNetworkCalicoNetworkProvider) GetClusterRkeConfigNetworkCalicoNetworkProvider { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) Elem() GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork) GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork { if v != nil { return *v } - var ret GetClusterRkeConfigNetworkCalicoNetworkProvider + var ret GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork return ret - }).(GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) } -func (o GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) CloudProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigNetworkCalicoNetworkProvider) *string { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) PublicNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderNetwork) *string { if v == nil { return nil } - return &v.CloudProvider + return &v.PublicNetwork }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigNetworkCanalNetworkProvider struct { - Iface string `pulumi:"iface"` +type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter struct { + Datacenters string `pulumi:"datacenters"` + // The name of the Cluster (string) + Name string `pulumi:"name"` + Password string `pulumi:"password"` + Port string `pulumi:"port"` + SoapRoundtripCount int `pulumi:"soapRoundtripCount"` + User string `pulumi:"user"` } -// GetClusterRkeConfigNetworkCanalNetworkProviderInput is an input type that accepts GetClusterRkeConfigNetworkCanalNetworkProviderArgs and GetClusterRkeConfigNetworkCanalNetworkProviderOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkCanalNetworkProviderInput` via: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput` via: // -// GetClusterRkeConfigNetworkCanalNetworkProviderArgs{...} -type GetClusterRkeConfigNetworkCanalNetworkProviderInput interface { +// GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} +type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput interface { pulumi.Input - ToGetClusterRkeConfigNetworkCanalNetworkProviderOutput() GetClusterRkeConfigNetworkCanalNetworkProviderOutput - ToGetClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderOutput -} - -type GetClusterRkeConfigNetworkCanalNetworkProviderArgs struct { - Iface pulumi.StringInput `pulumi:"iface"` -} - -func (GetClusterRkeConfigNetworkCanalNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput } -func (i GetClusterRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterRkeConfigNetworkCanalNetworkProviderOutput() GetClusterRkeConfigNetworkCanalNetworkProviderOutput { - return i.ToGetClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Background()) +type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs struct { + Datacenters pulumi.StringInput `pulumi:"datacenters"` + // The name of the Cluster (string) + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringInput `pulumi:"password"` + Port pulumi.StringInput `pulumi:"port"` + SoapRoundtripCount pulumi.IntInput `pulumi:"soapRoundtripCount"` + User pulumi.StringInput `pulumi:"user"` } -func (i GetClusterRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCanalNetworkProviderOutput) +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (i GetClusterRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return i.ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCanalNetworkProviderOutput).ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) } -// GetClusterRkeConfigNetworkCanalNetworkProviderPtrInput is an input type that accepts GetClusterRkeConfigNetworkCanalNetworkProviderArgs, GetClusterRkeConfigNetworkCanalNetworkProviderPtr and GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkCanalNetworkProviderPtrInput` via: -// -// GetClusterRkeConfigNetworkCanalNetworkProviderArgs{...} -// -// or: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray and GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput` via: // -// nil -type GetClusterRkeConfigNetworkCanalNetworkProviderPtrInput interface { +// GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray{ GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} } +type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput interface { pulumi.Input - ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput - ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput } -type getClusterRkeConfigNetworkCanalNetworkProviderPtrType GetClusterRkeConfigNetworkCanalNetworkProviderArgs - -func GetClusterRkeConfigNetworkCanalNetworkProviderPtr(v *GetClusterRkeConfigNetworkCanalNetworkProviderArgs) GetClusterRkeConfigNetworkCanalNetworkProviderPtrInput { - return (*getClusterRkeConfigNetworkCanalNetworkProviderPtrType)(v) -} +type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray []GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput -func (*getClusterRkeConfigNetworkCanalNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (i *getClusterRkeConfigNetworkCanalNetworkProviderPtrType) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return i.ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigNetworkCanalNetworkProviderPtrType) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) } -type GetClusterRkeConfigNetworkCanalNetworkProviderOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigNetworkCanalNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (o GetClusterRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderOutput() GetClusterRkeConfigNetworkCanalNetworkProviderOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { return o } -func (o GetClusterRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { return o } -func (o GetClusterRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Datacenters() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.Datacenters }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigNetworkCanalNetworkProvider) *GetClusterRkeConfigNetworkCanalNetworkProvider { - return &v - }).(GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) +// The name of the Cluster (string) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.Name }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigNetworkCanalNetworkProviderOutput) Iface() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetworkCanalNetworkProvider) string { return v.Iface }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.Password }).(pulumi.StringOutput) } -type GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Port() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.Port }).(pulumi.StringOutput) +} -func (GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) SoapRoundtripCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) int { + return v.SoapRoundtripCount + }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.User }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { +type GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +} + +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { return o } -func (o GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) Elem() GetClusterRkeConfigNetworkCanalNetworkProviderOutput { - return o.ApplyT(func(v *GetClusterRkeConfigNetworkCanalNetworkProvider) GetClusterRkeConfigNetworkCanalNetworkProvider { - if v != nil { - return *v - } - var ret GetClusterRkeConfigNetworkCanalNetworkProvider - return ret - }).(GetClusterRkeConfigNetworkCanalNetworkProviderOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return o } -func (o GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigNetworkCanalNetworkProvider) *string { - if v == nil { - return nil - } - return &v.Iface - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { + return vs[0].([]GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)[vs[1].(int)] + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) } -type GetClusterRkeConfigNetworkFlannelNetworkProvider struct { - Iface string `pulumi:"iface"` +type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace struct { + Datacenter string `pulumi:"datacenter"` + DefaultDatastore string `pulumi:"defaultDatastore"` + Folder string `pulumi:"folder"` + ResourcepoolPath string `pulumi:"resourcepoolPath"` + Server string `pulumi:"server"` } -// GetClusterRkeConfigNetworkFlannelNetworkProviderInput is an input type that accepts GetClusterRkeConfigNetworkFlannelNetworkProviderArgs and GetClusterRkeConfigNetworkFlannelNetworkProviderOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkFlannelNetworkProviderInput` via: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs and GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput` via: // -// GetClusterRkeConfigNetworkFlannelNetworkProviderArgs{...} -type GetClusterRkeConfigNetworkFlannelNetworkProviderInput interface { +// GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} +type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput interface { pulumi.Input - ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderOutput - ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput } -type GetClusterRkeConfigNetworkFlannelNetworkProviderArgs struct { - Iface pulumi.StringInput `pulumi:"iface"` +type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs struct { + Datacenter pulumi.StringInput `pulumi:"datacenter"` + DefaultDatastore pulumi.StringInput `pulumi:"defaultDatastore"` + Folder pulumi.StringInput `pulumi:"folder"` + ResourcepoolPath pulumi.StringInput `pulumi:"resourcepoolPath"` + Server pulumi.StringInput `pulumi:"server"` } -func (GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() } -func (i GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderOutput { - return i.ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) } -func (i GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return i.ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkFlannelNetworkProviderOutput).ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput).ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx) } -// GetClusterRkeConfigNetworkFlannelNetworkProviderPtrInput is an input type that accepts GetClusterRkeConfigNetworkFlannelNetworkProviderArgs, GetClusterRkeConfigNetworkFlannelNetworkProviderPtr and GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkFlannelNetworkProviderPtrInput` via: +// GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput is an input type that accepts GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs, GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr and GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput` via: // -// GetClusterRkeConfigNetworkFlannelNetworkProviderArgs{...} +// GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} // // or: // // nil -type GetClusterRkeConfigNetworkFlannelNetworkProviderPtrInput interface { +type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput interface { pulumi.Input - ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput - ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput + ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput } -type getClusterRkeConfigNetworkFlannelNetworkProviderPtrType GetClusterRkeConfigNetworkFlannelNetworkProviderArgs +type getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs -func GetClusterRkeConfigNetworkFlannelNetworkProviderPtr(v *GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrInput { - return (*getClusterRkeConfigNetworkFlannelNetworkProviderPtrType)(v) +func GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput { + return (*getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType)(v) } -func (*getClusterRkeConfigNetworkFlannelNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (*getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() } -func (i *getClusterRkeConfigNetworkFlannelNetworkProviderPtrType) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return i.ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return i.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigNetworkFlannelNetworkProviderPtrType) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) +func (i *getClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) } -type GetClusterRkeConfigNetworkFlannelNetworkProviderOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() } -func (o GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { return o } -func (o GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { return o } -func (o GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return o.ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigNetworkFlannelNetworkProvider) *GetClusterRkeConfigNetworkFlannelNetworkProvider { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace { return &v - }).(GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) } -func (o GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) Iface() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetworkFlannelNetworkProvider) string { return v.Iface }).(pulumi.StringOutput) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Datacenter() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { return v.Datacenter }).(pulumi.StringOutput) } -type GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) DefaultDatastore() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { + return v.DefaultDatastore + }).(pulumi.StringOutput) +} -func (GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Folder() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { return v.Folder }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ResourcepoolPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { + return v.ResourcepoolPath + }).(pulumi.StringOutput) +} + +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Server() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { return v.Server }).(pulumi.StringOutput) +} + +type GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +} + +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { return o } -func (o GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToGetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { return o } -func (o GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) Elem() GetClusterRkeConfigNetworkFlannelNetworkProviderOutput { - return o.ApplyT(func(v *GetClusterRkeConfigNetworkFlannelNetworkProvider) GetClusterRkeConfigNetworkFlannelNetworkProvider { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Elem() GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace { if v != nil { return *v } - var ret GetClusterRkeConfigNetworkFlannelNetworkProvider + var ret GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace return ret - }).(GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) + }).(GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) } -func (o GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigNetworkFlannelNetworkProvider) *string { +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Datacenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { if v == nil { return nil } - return &v.Iface + return &v.Datacenter }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigNetworkToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds int `pulumi:"seconds"` - Value *string `pulumi:"value"` -} - -// GetClusterRkeConfigNetworkTolerationInput is an input type that accepts GetClusterRkeConfigNetworkTolerationArgs and GetClusterRkeConfigNetworkTolerationOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkTolerationInput` via: -// -// GetClusterRkeConfigNetworkTolerationArgs{...} -type GetClusterRkeConfigNetworkTolerationInput interface { - pulumi.Input - - ToGetClusterRkeConfigNetworkTolerationOutput() GetClusterRkeConfigNetworkTolerationOutput - ToGetClusterRkeConfigNetworkTolerationOutputWithContext(context.Context) GetClusterRkeConfigNetworkTolerationOutput +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) DefaultDatastore() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + if v == nil { + return nil + } + return &v.DefaultDatastore + }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigNetworkTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + if v == nil { + return nil + } + return &v.Folder + }).(pulumi.StringPtrOutput) } -func (GetClusterRkeConfigNetworkTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetworkToleration)(nil)).Elem() +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ResourcepoolPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + if v == nil { + return nil + } + return &v.ResourcepoolPath + }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigNetworkTolerationArgs) ToGetClusterRkeConfigNetworkTolerationOutput() GetClusterRkeConfigNetworkTolerationOutput { - return i.ToGetClusterRkeConfigNetworkTolerationOutputWithContext(context.Background()) +func (o GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + if v == nil { + return nil + } + return &v.Server + }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigNetworkTolerationArgs) ToGetClusterRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkTolerationOutput) +type GetClusterRkeConfigDns struct { + LinearAutoscalerParams *GetClusterRkeConfigDnsLinearAutoscalerParams `pulumi:"linearAutoscalerParams"` + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` + Nodelocal *GetClusterRkeConfigDnsNodelocal `pulumi:"nodelocal"` + Options map[string]interface{} `pulumi:"options"` + Provider *string `pulumi:"provider"` + ReverseCidrs []string `pulumi:"reverseCidrs"` + Tolerations []GetClusterRkeConfigDnsToleration `pulumi:"tolerations"` + UpdateStrategy *GetClusterRkeConfigDnsUpdateStrategy `pulumi:"updateStrategy"` + UpstreamNameservers []string `pulumi:"upstreamNameservers"` } -// GetClusterRkeConfigNetworkTolerationArrayInput is an input type that accepts GetClusterRkeConfigNetworkTolerationArray and GetClusterRkeConfigNetworkTolerationArrayOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkTolerationArrayInput` via: +// GetClusterRkeConfigDnsInput is an input type that accepts GetClusterRkeConfigDnsArgs and GetClusterRkeConfigDnsOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsInput` via: // -// GetClusterRkeConfigNetworkTolerationArray{ GetClusterRkeConfigNetworkTolerationArgs{...} } -type GetClusterRkeConfigNetworkTolerationArrayInput interface { +// GetClusterRkeConfigDnsArgs{...} +type GetClusterRkeConfigDnsInput interface { pulumi.Input - ToGetClusterRkeConfigNetworkTolerationArrayOutput() GetClusterRkeConfigNetworkTolerationArrayOutput - ToGetClusterRkeConfigNetworkTolerationArrayOutputWithContext(context.Context) GetClusterRkeConfigNetworkTolerationArrayOutput + ToGetClusterRkeConfigDnsOutput() GetClusterRkeConfigDnsOutput + ToGetClusterRkeConfigDnsOutputWithContext(context.Context) GetClusterRkeConfigDnsOutput } -type GetClusterRkeConfigNetworkTolerationArray []GetClusterRkeConfigNetworkTolerationInput +type GetClusterRkeConfigDnsArgs struct { + LinearAutoscalerParams GetClusterRkeConfigDnsLinearAutoscalerParamsPtrInput `pulumi:"linearAutoscalerParams"` + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` + Nodelocal GetClusterRkeConfigDnsNodelocalPtrInput `pulumi:"nodelocal"` + Options pulumi.MapInput `pulumi:"options"` + Provider pulumi.StringPtrInput `pulumi:"provider"` + ReverseCidrs pulumi.StringArrayInput `pulumi:"reverseCidrs"` + Tolerations GetClusterRkeConfigDnsTolerationArrayInput `pulumi:"tolerations"` + UpdateStrategy GetClusterRkeConfigDnsUpdateStrategyPtrInput `pulumi:"updateStrategy"` + UpstreamNameservers pulumi.StringArrayInput `pulumi:"upstreamNameservers"` +} -func (GetClusterRkeConfigNetworkTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigNetworkToleration)(nil)).Elem() +func (GetClusterRkeConfigDnsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDns)(nil)).Elem() } -func (i GetClusterRkeConfigNetworkTolerationArray) ToGetClusterRkeConfigNetworkTolerationArrayOutput() GetClusterRkeConfigNetworkTolerationArrayOutput { - return i.ToGetClusterRkeConfigNetworkTolerationArrayOutputWithContext(context.Background()) +func (i GetClusterRkeConfigDnsArgs) ToGetClusterRkeConfigDnsOutput() GetClusterRkeConfigDnsOutput { + return i.ToGetClusterRkeConfigDnsOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigNetworkTolerationArray) ToGetClusterRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkTolerationArrayOutput) +func (i GetClusterRkeConfigDnsArgs) ToGetClusterRkeConfigDnsOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsOutput) } -type GetClusterRkeConfigNetworkTolerationOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigDnsOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigNetworkTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetworkToleration)(nil)).Elem() +func (GetClusterRkeConfigDnsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDns)(nil)).Elem() } -func (o GetClusterRkeConfigNetworkTolerationOutput) ToGetClusterRkeConfigNetworkTolerationOutput() GetClusterRkeConfigNetworkTolerationOutput { +func (o GetClusterRkeConfigDnsOutput) ToGetClusterRkeConfigDnsOutput() GetClusterRkeConfigDnsOutput { return o } -func (o GetClusterRkeConfigNetworkTolerationOutput) ToGetClusterRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkTolerationOutput { +func (o GetClusterRkeConfigDnsOutput) ToGetClusterRkeConfigDnsOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsOutput { return o } -func (o GetClusterRkeConfigNetworkTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetworkToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigDnsOutput) LinearAutoscalerParams() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDns) *GetClusterRkeConfigDnsLinearAutoscalerParams { + return v.LinearAutoscalerParams + }).(GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) } -func (o GetClusterRkeConfigNetworkTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetworkToleration) string { return v.Key }).(pulumi.StringOutput) +func (o GetClusterRkeConfigDnsOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigDns) map[string]interface{} { return v.NodeSelector }).(pulumi.MapOutput) } -func (o GetClusterRkeConfigNetworkTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetworkToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigDnsOutput) Nodelocal() GetClusterRkeConfigDnsNodelocalPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDns) *GetClusterRkeConfigDnsNodelocal { return v.Nodelocal }).(GetClusterRkeConfigDnsNodelocalPtrOutput) } -func (o GetClusterRkeConfigNetworkTolerationOutput) Seconds() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetworkToleration) int { return v.Seconds }).(pulumi.IntOutput) +func (o GetClusterRkeConfigDnsOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigDns) map[string]interface{} { return v.Options }).(pulumi.MapOutput) } -func (o GetClusterRkeConfigNetworkTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetworkToleration) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigDnsOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDns) *string { return v.Provider }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigNetworkTolerationArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigNetworkTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigNetworkToleration)(nil)).Elem() +func (o GetClusterRkeConfigDnsOutput) ReverseCidrs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigDns) []string { return v.ReverseCidrs }).(pulumi.StringArrayOutput) } -func (o GetClusterRkeConfigNetworkTolerationArrayOutput) ToGetClusterRkeConfigNetworkTolerationArrayOutput() GetClusterRkeConfigNetworkTolerationArrayOutput { - return o +func (o GetClusterRkeConfigDnsOutput) Tolerations() GetClusterRkeConfigDnsTolerationArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigDns) []GetClusterRkeConfigDnsToleration { return v.Tolerations }).(GetClusterRkeConfigDnsTolerationArrayOutput) } -func (o GetClusterRkeConfigNetworkTolerationArrayOutput) ToGetClusterRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkTolerationArrayOutput { - return o +func (o GetClusterRkeConfigDnsOutput) UpdateStrategy() GetClusterRkeConfigDnsUpdateStrategyPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDns) *GetClusterRkeConfigDnsUpdateStrategy { return v.UpdateStrategy }).(GetClusterRkeConfigDnsUpdateStrategyPtrOutput) } -func (o GetClusterRkeConfigNetworkTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigNetworkTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigNetworkToleration { - return vs[0].([]GetClusterRkeConfigNetworkToleration)[vs[1].(int)] - }).(GetClusterRkeConfigNetworkTolerationOutput) +func (o GetClusterRkeConfigDnsOutput) UpstreamNameservers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigDns) []string { return v.UpstreamNameservers }).(pulumi.StringArrayOutput) } -type GetClusterRkeConfigNetworkWeaveNetworkProvider struct { - Password string `pulumi:"password"` +type GetClusterRkeConfigDnsLinearAutoscalerParams struct { + CoresPerReplica *float64 `pulumi:"coresPerReplica"` + Max *int `pulumi:"max"` + Min *int `pulumi:"min"` + NodesPerReplica *float64 `pulumi:"nodesPerReplica"` + PreventSinglePointFailure *bool `pulumi:"preventSinglePointFailure"` } -// GetClusterRkeConfigNetworkWeaveNetworkProviderInput is an input type that accepts GetClusterRkeConfigNetworkWeaveNetworkProviderArgs and GetClusterRkeConfigNetworkWeaveNetworkProviderOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkWeaveNetworkProviderInput` via: +// GetClusterRkeConfigDnsLinearAutoscalerParamsInput is an input type that accepts GetClusterRkeConfigDnsLinearAutoscalerParamsArgs and GetClusterRkeConfigDnsLinearAutoscalerParamsOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsLinearAutoscalerParamsInput` via: // -// GetClusterRkeConfigNetworkWeaveNetworkProviderArgs{...} -type GetClusterRkeConfigNetworkWeaveNetworkProviderInput interface { +// GetClusterRkeConfigDnsLinearAutoscalerParamsArgs{...} +type GetClusterRkeConfigDnsLinearAutoscalerParamsInput interface { pulumi.Input - ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderOutput - ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderOutput + ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsOutput + ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsOutput } -type GetClusterRkeConfigNetworkWeaveNetworkProviderArgs struct { - Password pulumi.StringInput `pulumi:"password"` +type GetClusterRkeConfigDnsLinearAutoscalerParamsArgs struct { + CoresPerReplica pulumi.Float64PtrInput `pulumi:"coresPerReplica"` + Max pulumi.IntPtrInput `pulumi:"max"` + Min pulumi.IntPtrInput `pulumi:"min"` + NodesPerReplica pulumi.Float64PtrInput `pulumi:"nodesPerReplica"` + PreventSinglePointFailure pulumi.BoolPtrInput `pulumi:"preventSinglePointFailure"` } -func (GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() } -func (i GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderOutput { - return i.ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Background()) +func (i GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsOutput { + return i.ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) +func (i GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) } -func (i GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return i.ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return i.ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkWeaveNetworkProviderOutput).ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsLinearAutoscalerParamsOutput).ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx) } -// GetClusterRkeConfigNetworkWeaveNetworkProviderPtrInput is an input type that accepts GetClusterRkeConfigNetworkWeaveNetworkProviderArgs, GetClusterRkeConfigNetworkWeaveNetworkProviderPtr and GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNetworkWeaveNetworkProviderPtrInput` via: +// GetClusterRkeConfigDnsLinearAutoscalerParamsPtrInput is an input type that accepts GetClusterRkeConfigDnsLinearAutoscalerParamsArgs, GetClusterRkeConfigDnsLinearAutoscalerParamsPtr and GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsLinearAutoscalerParamsPtrInput` via: // -// GetClusterRkeConfigNetworkWeaveNetworkProviderArgs{...} +// GetClusterRkeConfigDnsLinearAutoscalerParamsArgs{...} // // or: // // nil -type GetClusterRkeConfigNetworkWeaveNetworkProviderPtrInput interface { +type GetClusterRkeConfigDnsLinearAutoscalerParamsPtrInput interface { pulumi.Input - ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput - ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput + ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput + ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput } -type getClusterRkeConfigNetworkWeaveNetworkProviderPtrType GetClusterRkeConfigNetworkWeaveNetworkProviderArgs +type getClusterRkeConfigDnsLinearAutoscalerParamsPtrType GetClusterRkeConfigDnsLinearAutoscalerParamsArgs -func GetClusterRkeConfigNetworkWeaveNetworkProviderPtr(v *GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrInput { - return (*getClusterRkeConfigNetworkWeaveNetworkProviderPtrType)(v) +func GetClusterRkeConfigDnsLinearAutoscalerParamsPtr(v *GetClusterRkeConfigDnsLinearAutoscalerParamsArgs) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrInput { + return (*getClusterRkeConfigDnsLinearAutoscalerParamsPtrType)(v) } -func (*getClusterRkeConfigNetworkWeaveNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (*getClusterRkeConfigDnsLinearAutoscalerParamsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() } -func (i *getClusterRkeConfigNetworkWeaveNetworkProviderPtrType) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return i.ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigDnsLinearAutoscalerParamsPtrType) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return i.ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigNetworkWeaveNetworkProviderPtrType) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) +func (i *getClusterRkeConfigDnsLinearAutoscalerParamsPtrType) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) } -type GetClusterRkeConfigNetworkWeaveNetworkProviderOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigDnsLinearAutoscalerParamsOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() } -func (o GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderOutput { +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsOutput { return o } -func (o GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderOutput { +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsOutput { return o } -func (o GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return o.ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigNetworkWeaveNetworkProvider) *GetClusterRkeConfigNetworkWeaveNetworkProvider { +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigDnsLinearAutoscalerParams) *GetClusterRkeConfigDnsLinearAutoscalerParams { return &v - }).(GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) + }).(GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) } -func (o GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNetworkWeaveNetworkProvider) string { return v.Password }).(pulumi.StringOutput) +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) CoresPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsLinearAutoscalerParams) *float64 { return v.CoresPerReplica }).(pulumi.Float64PtrOutput) } -type GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) Max() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsLinearAutoscalerParams) *int { return v.Max }).(pulumi.IntPtrOutput) +} -func (GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) Min() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsLinearAutoscalerParams) *int { return v.Min }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) NodesPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsLinearAutoscalerParams) *float64 { return v.NodesPerReplica }).(pulumi.Float64PtrOutput) +} + +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsLinearAutoscalerParams) *bool { return v.PreventSinglePointFailure }).(pulumi.BoolPtrOutput) +} + +type GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +} + +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { return o } -func (o GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToGetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput { return o } -func (o GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) Elem() GetClusterRkeConfigNetworkWeaveNetworkProviderOutput { - return o.ApplyT(func(v *GetClusterRkeConfigNetworkWeaveNetworkProvider) GetClusterRkeConfigNetworkWeaveNetworkProvider { +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) Elem() GetClusterRkeConfigDnsLinearAutoscalerParamsOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) GetClusterRkeConfigDnsLinearAutoscalerParams { if v != nil { return *v } - var ret GetClusterRkeConfigNetworkWeaveNetworkProvider + var ret GetClusterRkeConfigDnsLinearAutoscalerParams return ret - }).(GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) + }).(GetClusterRkeConfigDnsLinearAutoscalerParamsOutput) } -func (o GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigNetworkWeaveNetworkProvider) *string { +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) CoresPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) *float64 { if v == nil { return nil } - return &v.Password - }).(pulumi.StringPtrOutput) -} - -type GetClusterRkeConfigNode struct { - Address string `pulumi:"address"` - DockerSocket string `pulumi:"dockerSocket"` - HostnameOverride *string `pulumi:"hostnameOverride"` - InternalAddress *string `pulumi:"internalAddress"` - // (Computed) Labels for Node Pool object (map) - Labels map[string]interface{} `pulumi:"labels"` - NodeId *string `pulumi:"nodeId"` - Port *string `pulumi:"port"` - Roles []string `pulumi:"roles"` - SshAgentAuth *bool `pulumi:"sshAgentAuth"` - SshKey string `pulumi:"sshKey"` - SshKeyPath string `pulumi:"sshKeyPath"` - User string `pulumi:"user"` + return v.CoresPerReplica + }).(pulumi.Float64PtrOutput) } -// GetClusterRkeConfigNodeInput is an input type that accepts GetClusterRkeConfigNodeArgs and GetClusterRkeConfigNodeOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNodeInput` via: -// -// GetClusterRkeConfigNodeArgs{...} -type GetClusterRkeConfigNodeInput interface { - pulumi.Input - - ToGetClusterRkeConfigNodeOutput() GetClusterRkeConfigNodeOutput - ToGetClusterRkeConfigNodeOutputWithContext(context.Context) GetClusterRkeConfigNodeOutput +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) Max() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) *int { + if v == nil { + return nil + } + return v.Max + }).(pulumi.IntPtrOutput) } -type GetClusterRkeConfigNodeArgs struct { - Address pulumi.StringInput `pulumi:"address"` - DockerSocket pulumi.StringInput `pulumi:"dockerSocket"` - HostnameOverride pulumi.StringPtrInput `pulumi:"hostnameOverride"` - InternalAddress pulumi.StringPtrInput `pulumi:"internalAddress"` - // (Computed) Labels for Node Pool object (map) - Labels pulumi.MapInput `pulumi:"labels"` - NodeId pulumi.StringPtrInput `pulumi:"nodeId"` - Port pulumi.StringPtrInput `pulumi:"port"` - Roles pulumi.StringArrayInput `pulumi:"roles"` - SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` - SshKey pulumi.StringInput `pulumi:"sshKey"` - SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` - User pulumi.StringInput `pulumi:"user"` +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) Min() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) *int { + if v == nil { + return nil + } + return v.Min + }).(pulumi.IntPtrOutput) } -func (GetClusterRkeConfigNodeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNode)(nil)).Elem() +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) NodesPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) *float64 { + if v == nil { + return nil + } + return v.NodesPerReplica + }).(pulumi.Float64PtrOutput) } -func (i GetClusterRkeConfigNodeArgs) ToGetClusterRkeConfigNodeOutput() GetClusterRkeConfigNodeOutput { - return i.ToGetClusterRkeConfigNodeOutputWithContext(context.Background()) +func (o GetClusterRkeConfigDnsLinearAutoscalerParamsPtrOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsLinearAutoscalerParams) *bool { + if v == nil { + return nil + } + return v.PreventSinglePointFailure + }).(pulumi.BoolPtrOutput) } -func (i GetClusterRkeConfigNodeArgs) ToGetClusterRkeConfigNodeOutputWithContext(ctx context.Context) GetClusterRkeConfigNodeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNodeOutput) +type GetClusterRkeConfigDnsNodelocal struct { + IpAddress *string `pulumi:"ipAddress"` + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` } -// GetClusterRkeConfigNodeArrayInput is an input type that accepts GetClusterRkeConfigNodeArray and GetClusterRkeConfigNodeArrayOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigNodeArrayInput` via: +// GetClusterRkeConfigDnsNodelocalInput is an input type that accepts GetClusterRkeConfigDnsNodelocalArgs and GetClusterRkeConfigDnsNodelocalOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsNodelocalInput` via: // -// GetClusterRkeConfigNodeArray{ GetClusterRkeConfigNodeArgs{...} } -type GetClusterRkeConfigNodeArrayInput interface { +// GetClusterRkeConfigDnsNodelocalArgs{...} +type GetClusterRkeConfigDnsNodelocalInput interface { pulumi.Input - ToGetClusterRkeConfigNodeArrayOutput() GetClusterRkeConfigNodeArrayOutput - ToGetClusterRkeConfigNodeArrayOutputWithContext(context.Context) GetClusterRkeConfigNodeArrayOutput + ToGetClusterRkeConfigDnsNodelocalOutput() GetClusterRkeConfigDnsNodelocalOutput + ToGetClusterRkeConfigDnsNodelocalOutputWithContext(context.Context) GetClusterRkeConfigDnsNodelocalOutput } -type GetClusterRkeConfigNodeArray []GetClusterRkeConfigNodeInput - -func (GetClusterRkeConfigNodeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigNode)(nil)).Elem() +type GetClusterRkeConfigDnsNodelocalArgs struct { + IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` } -func (i GetClusterRkeConfigNodeArray) ToGetClusterRkeConfigNodeArrayOutput() GetClusterRkeConfigNodeArrayOutput { - return i.ToGetClusterRkeConfigNodeArrayOutputWithContext(context.Background()) +func (GetClusterRkeConfigDnsNodelocalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDnsNodelocal)(nil)).Elem() } -func (i GetClusterRkeConfigNodeArray) ToGetClusterRkeConfigNodeArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigNodeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNodeArrayOutput) +func (i GetClusterRkeConfigDnsNodelocalArgs) ToGetClusterRkeConfigDnsNodelocalOutput() GetClusterRkeConfigDnsNodelocalOutput { + return i.ToGetClusterRkeConfigDnsNodelocalOutputWithContext(context.Background()) } -type GetClusterRkeConfigNodeOutput struct{ *pulumi.OutputState } +func (i GetClusterRkeConfigDnsNodelocalArgs) ToGetClusterRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsNodelocalOutput) +} -func (GetClusterRkeConfigNodeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigNode)(nil)).Elem() +func (i GetClusterRkeConfigDnsNodelocalArgs) ToGetClusterRkeConfigDnsNodelocalPtrOutput() GetClusterRkeConfigDnsNodelocalPtrOutput { + return i.ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigNodeOutput) ToGetClusterRkeConfigNodeOutput() GetClusterRkeConfigNodeOutput { - return o +func (i GetClusterRkeConfigDnsNodelocalArgs) ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsNodelocalOutput).ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(ctx) } -func (o GetClusterRkeConfigNodeOutput) ToGetClusterRkeConfigNodeOutputWithContext(ctx context.Context) GetClusterRkeConfigNodeOutput { - return o +// GetClusterRkeConfigDnsNodelocalPtrInput is an input type that accepts GetClusterRkeConfigDnsNodelocalArgs, GetClusterRkeConfigDnsNodelocalPtr and GetClusterRkeConfigDnsNodelocalPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsNodelocalPtrInput` via: +// +// GetClusterRkeConfigDnsNodelocalArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigDnsNodelocalPtrInput interface { + pulumi.Input + + ToGetClusterRkeConfigDnsNodelocalPtrOutput() GetClusterRkeConfigDnsNodelocalPtrOutput + ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(context.Context) GetClusterRkeConfigDnsNodelocalPtrOutput } -func (o GetClusterRkeConfigNodeOutput) Address() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) string { return v.Address }).(pulumi.StringOutput) +type getClusterRkeConfigDnsNodelocalPtrType GetClusterRkeConfigDnsNodelocalArgs + +func GetClusterRkeConfigDnsNodelocalPtr(v *GetClusterRkeConfigDnsNodelocalArgs) GetClusterRkeConfigDnsNodelocalPtrInput { + return (*getClusterRkeConfigDnsNodelocalPtrType)(v) } -func (o GetClusterRkeConfigNodeOutput) DockerSocket() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) string { return v.DockerSocket }).(pulumi.StringOutput) +func (*getClusterRkeConfigDnsNodelocalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigDnsNodelocal)(nil)).Elem() } -func (o GetClusterRkeConfigNodeOutput) HostnameOverride() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) *string { return v.HostnameOverride }).(pulumi.StringPtrOutput) +func (i *getClusterRkeConfigDnsNodelocalPtrType) ToGetClusterRkeConfigDnsNodelocalPtrOutput() GetClusterRkeConfigDnsNodelocalPtrOutput { + return i.ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigNodeOutput) InternalAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) *string { return v.InternalAddress }).(pulumi.StringPtrOutput) +func (i *getClusterRkeConfigDnsNodelocalPtrType) ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsNodelocalPtrOutput) } -// (Computed) Labels for Node Pool object (map) -func (o GetClusterRkeConfigNodeOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) -} +type GetClusterRkeConfigDnsNodelocalOutput struct{ *pulumi.OutputState } -func (o GetClusterRkeConfigNodeOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) *string { return v.NodeId }).(pulumi.StringPtrOutput) +func (GetClusterRkeConfigDnsNodelocalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDnsNodelocal)(nil)).Elem() } -func (o GetClusterRkeConfigNodeOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) *string { return v.Port }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigDnsNodelocalOutput) ToGetClusterRkeConfigDnsNodelocalOutput() GetClusterRkeConfigDnsNodelocalOutput { + return o } -func (o GetClusterRkeConfigNodeOutput) Roles() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) []string { return v.Roles }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigDnsNodelocalOutput) ToGetClusterRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalOutput { + return o } -func (o GetClusterRkeConfigNodeOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigDnsNodelocalOutput) ToGetClusterRkeConfigDnsNodelocalPtrOutput() GetClusterRkeConfigDnsNodelocalPtrOutput { + return o.ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigNodeOutput) SshKey() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) string { return v.SshKey }).(pulumi.StringOutput) +func (o GetClusterRkeConfigDnsNodelocalOutput) ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigDnsNodelocal) *GetClusterRkeConfigDnsNodelocal { + return &v + }).(GetClusterRkeConfigDnsNodelocalPtrOutput) } -func (o GetClusterRkeConfigNodeOutput) SshKeyPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) string { return v.SshKeyPath }).(pulumi.StringOutput) +func (o GetClusterRkeConfigDnsNodelocalOutput) IpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsNodelocal) *string { return v.IpAddress }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigNodeOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigNode) string { return v.User }).(pulumi.StringOutput) +func (o GetClusterRkeConfigDnsNodelocalOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsNodelocal) map[string]interface{} { return v.NodeSelector }).(pulumi.MapOutput) } -type GetClusterRkeConfigNodeArrayOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigDnsNodelocalPtrOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigNodeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigNode)(nil)).Elem() +func (GetClusterRkeConfigDnsNodelocalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigDnsNodelocal)(nil)).Elem() } -func (o GetClusterRkeConfigNodeArrayOutput) ToGetClusterRkeConfigNodeArrayOutput() GetClusterRkeConfigNodeArrayOutput { +func (o GetClusterRkeConfigDnsNodelocalPtrOutput) ToGetClusterRkeConfigDnsNodelocalPtrOutput() GetClusterRkeConfigDnsNodelocalPtrOutput { return o } -func (o GetClusterRkeConfigNodeArrayOutput) ToGetClusterRkeConfigNodeArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigNodeArrayOutput { +func (o GetClusterRkeConfigDnsNodelocalPtrOutput) ToGetClusterRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsNodelocalPtrOutput { return o } -func (o GetClusterRkeConfigNodeArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigNodeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigNode { - return vs[0].([]GetClusterRkeConfigNode)[vs[1].(int)] - }).(GetClusterRkeConfigNodeOutput) +func (o GetClusterRkeConfigDnsNodelocalPtrOutput) Elem() GetClusterRkeConfigDnsNodelocalOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsNodelocal) GetClusterRkeConfigDnsNodelocal { + if v != nil { + return *v + } + var ret GetClusterRkeConfigDnsNodelocal + return ret + }).(GetClusterRkeConfigDnsNodelocalOutput) } -type GetClusterRkeConfigPrivateRegistry struct { - EcrCredentialPlugin *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin `pulumi:"ecrCredentialPlugin"` - IsDefault *bool `pulumi:"isDefault"` - Password *string `pulumi:"password"` - Url string `pulumi:"url"` - User *string `pulumi:"user"` +func (o GetClusterRkeConfigDnsNodelocalPtrOutput) IpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsNodelocal) *string { + if v == nil { + return nil + } + return v.IpAddress + }).(pulumi.StringPtrOutput) } -// GetClusterRkeConfigPrivateRegistryInput is an input type that accepts GetClusterRkeConfigPrivateRegistryArgs and GetClusterRkeConfigPrivateRegistryOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigPrivateRegistryInput` via: +func (o GetClusterRkeConfigDnsNodelocalPtrOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsNodelocal) map[string]interface{} { + if v == nil { + return nil + } + return v.NodeSelector + }).(pulumi.MapOutput) +} + +type GetClusterRkeConfigDnsToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds int `pulumi:"seconds"` + Value *string `pulumi:"value"` +} + +// GetClusterRkeConfigDnsTolerationInput is an input type that accepts GetClusterRkeConfigDnsTolerationArgs and GetClusterRkeConfigDnsTolerationOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsTolerationInput` via: // -// GetClusterRkeConfigPrivateRegistryArgs{...} -type GetClusterRkeConfigPrivateRegistryInput interface { +// GetClusterRkeConfigDnsTolerationArgs{...} +type GetClusterRkeConfigDnsTolerationInput interface { pulumi.Input - ToGetClusterRkeConfigPrivateRegistryOutput() GetClusterRkeConfigPrivateRegistryOutput - ToGetClusterRkeConfigPrivateRegistryOutputWithContext(context.Context) GetClusterRkeConfigPrivateRegistryOutput + ToGetClusterRkeConfigDnsTolerationOutput() GetClusterRkeConfigDnsTolerationOutput + ToGetClusterRkeConfigDnsTolerationOutputWithContext(context.Context) GetClusterRkeConfigDnsTolerationOutput } -type GetClusterRkeConfigPrivateRegistryArgs struct { - EcrCredentialPlugin GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput `pulumi:"ecrCredentialPlugin"` - IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` - Password pulumi.StringPtrInput `pulumi:"password"` - Url pulumi.StringInput `pulumi:"url"` - User pulumi.StringPtrInput `pulumi:"user"` +type GetClusterRkeConfigDnsTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (GetClusterRkeConfigPrivateRegistryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigPrivateRegistry)(nil)).Elem() +func (GetClusterRkeConfigDnsTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDnsToleration)(nil)).Elem() } -func (i GetClusterRkeConfigPrivateRegistryArgs) ToGetClusterRkeConfigPrivateRegistryOutput() GetClusterRkeConfigPrivateRegistryOutput { - return i.ToGetClusterRkeConfigPrivateRegistryOutputWithContext(context.Background()) +func (i GetClusterRkeConfigDnsTolerationArgs) ToGetClusterRkeConfigDnsTolerationOutput() GetClusterRkeConfigDnsTolerationOutput { + return i.ToGetClusterRkeConfigDnsTolerationOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigPrivateRegistryArgs) ToGetClusterRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigPrivateRegistryOutput) +func (i GetClusterRkeConfigDnsTolerationArgs) ToGetClusterRkeConfigDnsTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsTolerationOutput) } -// GetClusterRkeConfigPrivateRegistryArrayInput is an input type that accepts GetClusterRkeConfigPrivateRegistryArray and GetClusterRkeConfigPrivateRegistryArrayOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigPrivateRegistryArrayInput` via: +// GetClusterRkeConfigDnsTolerationArrayInput is an input type that accepts GetClusterRkeConfigDnsTolerationArray and GetClusterRkeConfigDnsTolerationArrayOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsTolerationArrayInput` via: // -// GetClusterRkeConfigPrivateRegistryArray{ GetClusterRkeConfigPrivateRegistryArgs{...} } -type GetClusterRkeConfigPrivateRegistryArrayInput interface { +// GetClusterRkeConfigDnsTolerationArray{ GetClusterRkeConfigDnsTolerationArgs{...} } +type GetClusterRkeConfigDnsTolerationArrayInput interface { pulumi.Input - ToGetClusterRkeConfigPrivateRegistryArrayOutput() GetClusterRkeConfigPrivateRegistryArrayOutput - ToGetClusterRkeConfigPrivateRegistryArrayOutputWithContext(context.Context) GetClusterRkeConfigPrivateRegistryArrayOutput + ToGetClusterRkeConfigDnsTolerationArrayOutput() GetClusterRkeConfigDnsTolerationArrayOutput + ToGetClusterRkeConfigDnsTolerationArrayOutputWithContext(context.Context) GetClusterRkeConfigDnsTolerationArrayOutput } -type GetClusterRkeConfigPrivateRegistryArray []GetClusterRkeConfigPrivateRegistryInput +type GetClusterRkeConfigDnsTolerationArray []GetClusterRkeConfigDnsTolerationInput -func (GetClusterRkeConfigPrivateRegistryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigPrivateRegistry)(nil)).Elem() +func (GetClusterRkeConfigDnsTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigDnsToleration)(nil)).Elem() } -func (i GetClusterRkeConfigPrivateRegistryArray) ToGetClusterRkeConfigPrivateRegistryArrayOutput() GetClusterRkeConfigPrivateRegistryArrayOutput { - return i.ToGetClusterRkeConfigPrivateRegistryArrayOutputWithContext(context.Background()) +func (i GetClusterRkeConfigDnsTolerationArray) ToGetClusterRkeConfigDnsTolerationArrayOutput() GetClusterRkeConfigDnsTolerationArrayOutput { + return i.ToGetClusterRkeConfigDnsTolerationArrayOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigPrivateRegistryArray) ToGetClusterRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigPrivateRegistryArrayOutput) +func (i GetClusterRkeConfigDnsTolerationArray) ToGetClusterRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsTolerationArrayOutput) } -type GetClusterRkeConfigPrivateRegistryOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigDnsTolerationOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigPrivateRegistryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigPrivateRegistry)(nil)).Elem() +func (GetClusterRkeConfigDnsTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDnsToleration)(nil)).Elem() } -func (o GetClusterRkeConfigPrivateRegistryOutput) ToGetClusterRkeConfigPrivateRegistryOutput() GetClusterRkeConfigPrivateRegistryOutput { +func (o GetClusterRkeConfigDnsTolerationOutput) ToGetClusterRkeConfigDnsTolerationOutput() GetClusterRkeConfigDnsTolerationOutput { return o } -func (o GetClusterRkeConfigPrivateRegistryOutput) ToGetClusterRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryOutput { +func (o GetClusterRkeConfigDnsTolerationOutput) ToGetClusterRkeConfigDnsTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsTolerationOutput { return o } -func (o GetClusterRkeConfigPrivateRegistryOutput) EcrCredentialPlugin() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistry) *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin { - return v.EcrCredentialPlugin - }).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) +func (o GetClusterRkeConfigDnsTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigPrivateRegistryOutput) IsDefault() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistry) *bool { return v.IsDefault }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigDnsTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsToleration) string { return v.Key }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigPrivateRegistryOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistry) *string { return v.Password }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigDnsTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigPrivateRegistryOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistry) string { return v.Url }).(pulumi.StringOutput) +func (o GetClusterRkeConfigDnsTolerationOutput) Seconds() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsToleration) int { return v.Seconds }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigPrivateRegistryOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistry) *string { return v.User }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigDnsTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsToleration) *string { return v.Value }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigPrivateRegistryArrayOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigDnsTolerationArrayOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigPrivateRegistryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterRkeConfigPrivateRegistry)(nil)).Elem() +func (GetClusterRkeConfigDnsTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigDnsToleration)(nil)).Elem() } -func (o GetClusterRkeConfigPrivateRegistryArrayOutput) ToGetClusterRkeConfigPrivateRegistryArrayOutput() GetClusterRkeConfigPrivateRegistryArrayOutput { +func (o GetClusterRkeConfigDnsTolerationArrayOutput) ToGetClusterRkeConfigDnsTolerationArrayOutput() GetClusterRkeConfigDnsTolerationArrayOutput { return o } -func (o GetClusterRkeConfigPrivateRegistryArrayOutput) ToGetClusterRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryArrayOutput { +func (o GetClusterRkeConfigDnsTolerationArrayOutput) ToGetClusterRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsTolerationArrayOutput { return o } -func (o GetClusterRkeConfigPrivateRegistryArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigPrivateRegistryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigPrivateRegistry { - return vs[0].([]GetClusterRkeConfigPrivateRegistry)[vs[1].(int)] - }).(GetClusterRkeConfigPrivateRegistryOutput) +func (o GetClusterRkeConfigDnsTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigDnsTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigDnsToleration { + return vs[0].([]GetClusterRkeConfigDnsToleration)[vs[1].(int)] + }).(GetClusterRkeConfigDnsTolerationOutput) } -type GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin struct { - AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` - AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` - AwsSessionToken *string `pulumi:"awsSessionToken"` +type GetClusterRkeConfigDnsUpdateStrategy struct { + RollingUpdate *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` + Strategy *string `pulumi:"strategy"` } -// GetClusterRkeConfigPrivateRegistryEcrCredentialPluginInput is an input type that accepts GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs and GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigPrivateRegistryEcrCredentialPluginInput` via: +// GetClusterRkeConfigDnsUpdateStrategyInput is an input type that accepts GetClusterRkeConfigDnsUpdateStrategyArgs and GetClusterRkeConfigDnsUpdateStrategyOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsUpdateStrategyInput` via: // -// GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} -type GetClusterRkeConfigPrivateRegistryEcrCredentialPluginInput interface { +// GetClusterRkeConfigDnsUpdateStrategyArgs{...} +type GetClusterRkeConfigDnsUpdateStrategyInput interface { pulumi.Input - ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput - ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput + ToGetClusterRkeConfigDnsUpdateStrategyOutput() GetClusterRkeConfigDnsUpdateStrategyOutput + ToGetClusterRkeConfigDnsUpdateStrategyOutputWithContext(context.Context) GetClusterRkeConfigDnsUpdateStrategyOutput } -type GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs struct { - AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` - AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` - AwsSessionToken pulumi.StringPtrInput `pulumi:"awsSessionToken"` +type GetClusterRkeConfigDnsUpdateStrategyArgs struct { + RollingUpdate GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` + Strategy pulumi.StringPtrInput `pulumi:"strategy"` } -func (GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (GetClusterRkeConfigDnsUpdateStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (i GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return i.ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Background()) +func (i GetClusterRkeConfigDnsUpdateStrategyArgs) ToGetClusterRkeConfigDnsUpdateStrategyOutput() GetClusterRkeConfigDnsUpdateStrategyOutput { + return i.ToGetClusterRkeConfigDnsUpdateStrategyOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) +func (i GetClusterRkeConfigDnsUpdateStrategyArgs) ToGetClusterRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyOutput) } -func (i GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return i.ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigDnsUpdateStrategyArgs) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutput() GetClusterRkeConfigDnsUpdateStrategyPtrOutput { + return i.ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput).ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigDnsUpdateStrategyArgs) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyOutput).ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx) } -// GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput is an input type that accepts GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs, GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtr and GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput` via: +// GetClusterRkeConfigDnsUpdateStrategyPtrInput is an input type that accepts GetClusterRkeConfigDnsUpdateStrategyArgs, GetClusterRkeConfigDnsUpdateStrategyPtr and GetClusterRkeConfigDnsUpdateStrategyPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsUpdateStrategyPtrInput` via: // -// GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} +// GetClusterRkeConfigDnsUpdateStrategyArgs{...} // // or: // // nil -type GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput interface { +type GetClusterRkeConfigDnsUpdateStrategyPtrInput interface { pulumi.Input - ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput - ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput + ToGetClusterRkeConfigDnsUpdateStrategyPtrOutput() GetClusterRkeConfigDnsUpdateStrategyPtrOutput + ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Context) GetClusterRkeConfigDnsUpdateStrategyPtrOutput } -type getClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs +type getClusterRkeConfigDnsUpdateStrategyPtrType GetClusterRkeConfigDnsUpdateStrategyArgs -func GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtr(v *GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput { - return (*getClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType)(v) +func GetClusterRkeConfigDnsUpdateStrategyPtr(v *GetClusterRkeConfigDnsUpdateStrategyArgs) GetClusterRkeConfigDnsUpdateStrategyPtrInput { + return (*getClusterRkeConfigDnsUpdateStrategyPtrType)(v) } -func (*getClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (*getClusterRkeConfigDnsUpdateStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (i *getClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return i.ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigDnsUpdateStrategyPtrType) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutput() GetClusterRkeConfigDnsUpdateStrategyPtrOutput { + return i.ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) +func (i *getClusterRkeConfigDnsUpdateStrategyPtrType) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyPtrOutput) } -type GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigDnsUpdateStrategyOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (GetClusterRkeConfigDnsUpdateStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { +func (o GetClusterRkeConfigDnsUpdateStrategyOutput) ToGetClusterRkeConfigDnsUpdateStrategyOutput() GetClusterRkeConfigDnsUpdateStrategyOutput { return o } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { +func (o GetClusterRkeConfigDnsUpdateStrategyOutput) ToGetClusterRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyOutput { return o } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigDnsUpdateStrategyOutput) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutput() GetClusterRkeConfigDnsUpdateStrategyPtrOutput { + return o.ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin { +func (o GetClusterRkeConfigDnsUpdateStrategyOutput) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigDnsUpdateStrategy) *GetClusterRkeConfigDnsUpdateStrategy { return &v - }).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) -} - -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsAccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) + }).(GetClusterRkeConfigDnsUpdateStrategyPtrOutput) } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsSecretAccessKey }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyOutput) RollingUpdate() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsUpdateStrategy) *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate { + return v.RollingUpdate + }).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsSessionToken }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsUpdateStrategy) *string { return v.Strategy }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigDnsUpdateStrategyPtrOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (GetClusterRkeConfigDnsUpdateStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { +func (o GetClusterRkeConfigDnsUpdateStrategyPtrOutput) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutput() GetClusterRkeConfigDnsUpdateStrategyPtrOutput { return o } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { +func (o GetClusterRkeConfigDnsUpdateStrategyPtrOutput) ToGetClusterRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyPtrOutput { return o } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) Elem() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return o.ApplyT(func(v *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin { +func (o GetClusterRkeConfigDnsUpdateStrategyPtrOutput) Elem() GetClusterRkeConfigDnsUpdateStrategyOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategy) GetClusterRkeConfigDnsUpdateStrategy { if v != nil { return *v } - var ret GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin + var ret GetClusterRkeConfigDnsUpdateStrategy return ret - }).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) -} - -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { - if v == nil { - return nil - } - return v.AwsAccessKeyId - }).(pulumi.StringPtrOutput) + }).(GetClusterRkeConfigDnsUpdateStrategyOutput) } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { +func (o GetClusterRkeConfigDnsUpdateStrategyPtrOutput) RollingUpdate() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategy) *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate { if v == nil { return nil } - return v.AwsSecretAccessKey - }).(pulumi.StringPtrOutput) + return v.RollingUpdate + }).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { +func (o GetClusterRkeConfigDnsUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategy) *string { if v == nil { return nil } - return v.AwsSessionToken + return v.Strategy }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigServices struct { - Etcd GetClusterRkeConfigServicesEtcd `pulumi:"etcd"` - KubeApi GetClusterRkeConfigServicesKubeApi `pulumi:"kubeApi"` - KubeController GetClusterRkeConfigServicesKubeController `pulumi:"kubeController"` - Kubelet GetClusterRkeConfigServicesKubelet `pulumi:"kubelet"` - Kubeproxy GetClusterRkeConfigServicesKubeproxy `pulumi:"kubeproxy"` - Scheduler GetClusterRkeConfigServicesScheduler `pulumi:"scheduler"` +type GetClusterRkeConfigDnsUpdateStrategyRollingUpdate struct { + MaxSurge *int `pulumi:"maxSurge"` + MaxUnavailable *int `pulumi:"maxUnavailable"` } -// GetClusterRkeConfigServicesInput is an input type that accepts GetClusterRkeConfigServicesArgs and GetClusterRkeConfigServicesOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesInput` via: +// GetClusterRkeConfigDnsUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs and GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsUpdateStrategyRollingUpdateInput` via: // -// GetClusterRkeConfigServicesArgs{...} -type GetClusterRkeConfigServicesInput interface { +// GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} +type GetClusterRkeConfigDnsUpdateStrategyRollingUpdateInput interface { pulumi.Input - ToGetClusterRkeConfigServicesOutput() GetClusterRkeConfigServicesOutput - ToGetClusterRkeConfigServicesOutputWithContext(context.Context) GetClusterRkeConfigServicesOutput -} - -type GetClusterRkeConfigServicesArgs struct { - Etcd GetClusterRkeConfigServicesEtcdInput `pulumi:"etcd"` - KubeApi GetClusterRkeConfigServicesKubeApiInput `pulumi:"kubeApi"` - KubeController GetClusterRkeConfigServicesKubeControllerInput `pulumi:"kubeController"` - Kubelet GetClusterRkeConfigServicesKubeletInput `pulumi:"kubelet"` - Kubeproxy GetClusterRkeConfigServicesKubeproxyInput `pulumi:"kubeproxy"` - Scheduler GetClusterRkeConfigServicesSchedulerInput `pulumi:"scheduler"` -} - -func (GetClusterRkeConfigServicesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServices)(nil)).Elem() -} - -func (i GetClusterRkeConfigServicesArgs) ToGetClusterRkeConfigServicesOutput() GetClusterRkeConfigServicesOutput { - return i.ToGetClusterRkeConfigServicesOutputWithContext(context.Background()) -} - -func (i GetClusterRkeConfigServicesArgs) ToGetClusterRkeConfigServicesOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesOutput) -} - -type GetClusterRkeConfigServicesOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigServicesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServices)(nil)).Elem() -} - -func (o GetClusterRkeConfigServicesOutput) ToGetClusterRkeConfigServicesOutput() GetClusterRkeConfigServicesOutput { - return o -} - -func (o GetClusterRkeConfigServicesOutput) ToGetClusterRkeConfigServicesOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesOutput { - return o -} - -func (o GetClusterRkeConfigServicesOutput) Etcd() GetClusterRkeConfigServicesEtcdOutput { - return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesEtcd { return v.Etcd }).(GetClusterRkeConfigServicesEtcdOutput) + ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput + ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput } -func (o GetClusterRkeConfigServicesOutput) KubeApi() GetClusterRkeConfigServicesKubeApiOutput { - return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesKubeApi { return v.KubeApi }).(GetClusterRkeConfigServicesKubeApiOutput) +type GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs struct { + MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` + MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` } -func (o GetClusterRkeConfigServicesOutput) KubeController() GetClusterRkeConfigServicesKubeControllerOutput { - return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesKubeController { return v.KubeController }).(GetClusterRkeConfigServicesKubeControllerOutput) +func (GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterRkeConfigServicesOutput) Kubelet() GetClusterRkeConfigServicesKubeletOutput { - return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesKubelet { return v.Kubelet }).(GetClusterRkeConfigServicesKubeletOutput) +func (i GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return i.ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesOutput) Kubeproxy() GetClusterRkeConfigServicesKubeproxyOutput { - return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesKubeproxy { return v.Kubeproxy }).(GetClusterRkeConfigServicesKubeproxyOutput) +func (i GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) } -func (o GetClusterRkeConfigServicesOutput) Scheduler() GetClusterRkeConfigServicesSchedulerOutput { - return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesScheduler { return v.Scheduler }).(GetClusterRkeConfigServicesSchedulerOutput) +func (i GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -type GetClusterRkeConfigServicesEtcd struct { - BackupConfig GetClusterRkeConfigServicesEtcdBackupConfig `pulumi:"backupConfig"` - // (Computed) K8s cluster ca cert (string) - CaCert string `pulumi:"caCert"` - Cert string `pulumi:"cert"` - Creation string `pulumi:"creation"` - ExternalUrls []string `pulumi:"externalUrls"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Gid *int `pulumi:"gid"` - Image string `pulumi:"image"` - Key string `pulumi:"key"` - Path string `pulumi:"path"` - Retention string `pulumi:"retention"` - Snapshot bool `pulumi:"snapshot"` - Uid *int `pulumi:"uid"` +func (i GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput).ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) } -// GetClusterRkeConfigServicesEtcdInput is an input type that accepts GetClusterRkeConfigServicesEtcdArgs and GetClusterRkeConfigServicesEtcdOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesEtcdInput` via: +// GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs, GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtr and GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrInput` via: // -// GetClusterRkeConfigServicesEtcdArgs{...} -type GetClusterRkeConfigServicesEtcdInput interface { +// GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrInput interface { pulumi.Input - ToGetClusterRkeConfigServicesEtcdOutput() GetClusterRkeConfigServicesEtcdOutput - ToGetClusterRkeConfigServicesEtcdOutputWithContext(context.Context) GetClusterRkeConfigServicesEtcdOutput -} - -type GetClusterRkeConfigServicesEtcdArgs struct { - BackupConfig GetClusterRkeConfigServicesEtcdBackupConfigInput `pulumi:"backupConfig"` - // (Computed) K8s cluster ca cert (string) - CaCert pulumi.StringInput `pulumi:"caCert"` - Cert pulumi.StringInput `pulumi:"cert"` - Creation pulumi.StringInput `pulumi:"creation"` - ExternalUrls pulumi.StringArrayInput `pulumi:"externalUrls"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Gid pulumi.IntPtrInput `pulumi:"gid"` - Image pulumi.StringInput `pulumi:"image"` - Key pulumi.StringInput `pulumi:"key"` - Path pulumi.StringInput `pulumi:"path"` - Retention pulumi.StringInput `pulumi:"retention"` - Snapshot pulumi.BoolInput `pulumi:"snapshot"` - Uid pulumi.IntPtrInput `pulumi:"uid"` -} - -func (GetClusterRkeConfigServicesEtcdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesEtcd)(nil)).Elem() -} - -func (i GetClusterRkeConfigServicesEtcdArgs) ToGetClusterRkeConfigServicesEtcdOutput() GetClusterRkeConfigServicesEtcdOutput { - return i.ToGetClusterRkeConfigServicesEtcdOutputWithContext(context.Background()) -} - -func (i GetClusterRkeConfigServicesEtcdArgs) ToGetClusterRkeConfigServicesEtcdOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesEtcdOutput) -} - -type GetClusterRkeConfigServicesEtcdOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigServicesEtcdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesEtcd)(nil)).Elem() + ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput + ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput } -func (o GetClusterRkeConfigServicesEtcdOutput) ToGetClusterRkeConfigServicesEtcdOutput() GetClusterRkeConfigServicesEtcdOutput { - return o +type getClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrType GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs + +func GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtr(v *GetClusterRkeConfigDnsUpdateStrategyRollingUpdateArgs) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrInput { + return (*getClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrType)(v) } -func (o GetClusterRkeConfigServicesEtcdOutput) ToGetClusterRkeConfigServicesEtcdOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdOutput { - return o +func (*getClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterRkeConfigServicesEtcdOutput) BackupConfig() GetClusterRkeConfigServicesEtcdBackupConfigOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) GetClusterRkeConfigServicesEtcdBackupConfig { - return v.BackupConfig - }).(GetClusterRkeConfigServicesEtcdBackupConfigOutput) +func (i *getClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -// (Computed) K8s cluster ca cert (string) -func (o GetClusterRkeConfigServicesEtcdOutput) CaCert() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.CaCert }).(pulumi.StringOutput) +func (i *getClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterRkeConfigServicesEtcdOutput) Cert() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Cert }).(pulumi.StringOutput) +type GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterRkeConfigServicesEtcdOutput) Creation() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Creation }).(pulumi.StringOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return o } -func (o GetClusterRkeConfigServicesEtcdOutput) ExternalUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) []string { return v.ExternalUrls }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return o } -func (o GetClusterRkeConfigServicesEtcdOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesEtcdOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate { + return &v + }).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterRkeConfigServicesEtcdOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) *int { return v.MaxSurge }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigServicesEtcdOutput) Gid() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) *int { return v.Gid }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) *int { return v.MaxUnavailable }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigServicesEtcdOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Image }).(pulumi.StringOutput) +type GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterRkeConfigServicesEtcdOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Key }).(pulumi.StringOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o } -func (o GetClusterRkeConfigServicesEtcdOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Path }).(pulumi.StringOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o } -func (o GetClusterRkeConfigServicesEtcdOutput) Retention() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Retention }).(pulumi.StringOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) GetClusterRkeConfigDnsUpdateStrategyRollingUpdate { + if v != nil { + return *v + } + var ret GetClusterRkeConfigDnsUpdateStrategyRollingUpdate + return ret + }).(GetClusterRkeConfigDnsUpdateStrategyRollingUpdateOutput) } -func (o GetClusterRkeConfigServicesEtcdOutput) Snapshot() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) bool { return v.Snapshot }).(pulumi.BoolOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) *int { + if v == nil { + return nil + } + return v.MaxSurge + }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigServicesEtcdOutput) Uid() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) *int { return v.Uid }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigDnsUpdateStrategyRollingUpdate) *int { + if v == nil { + return nil + } + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -type GetClusterRkeConfigServicesEtcdBackupConfig struct { - Enabled *bool `pulumi:"enabled"` - IntervalHours *int `pulumi:"intervalHours"` - Retention *int `pulumi:"retention"` - S3BackupConfig *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` - SafeTimestamp *bool `pulumi:"safeTimestamp"` - Timeout int `pulumi:"timeout"` +type GetClusterRkeConfigIngress struct { + DefaultBackend *bool `pulumi:"defaultBackend"` + DnsPolicy string `pulumi:"dnsPolicy"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + HttpPort int `pulumi:"httpPort"` + HttpsPort int `pulumi:"httpsPort"` + NetworkMode string `pulumi:"networkMode"` + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` + Options map[string]interface{} `pulumi:"options"` + Provider string `pulumi:"provider"` + Tolerations []GetClusterRkeConfigIngressToleration `pulumi:"tolerations"` + UpdateStrategy *GetClusterRkeConfigIngressUpdateStrategy `pulumi:"updateStrategy"` } -// GetClusterRkeConfigServicesEtcdBackupConfigInput is an input type that accepts GetClusterRkeConfigServicesEtcdBackupConfigArgs and GetClusterRkeConfigServicesEtcdBackupConfigOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesEtcdBackupConfigInput` via: +// GetClusterRkeConfigIngressInput is an input type that accepts GetClusterRkeConfigIngressArgs and GetClusterRkeConfigIngressOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigIngressInput` via: // -// GetClusterRkeConfigServicesEtcdBackupConfigArgs{...} -type GetClusterRkeConfigServicesEtcdBackupConfigInput interface { +// GetClusterRkeConfigIngressArgs{...} +type GetClusterRkeConfigIngressInput interface { pulumi.Input - ToGetClusterRkeConfigServicesEtcdBackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigOutput - ToGetClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Context) GetClusterRkeConfigServicesEtcdBackupConfigOutput + ToGetClusterRkeConfigIngressOutput() GetClusterRkeConfigIngressOutput + ToGetClusterRkeConfigIngressOutputWithContext(context.Context) GetClusterRkeConfigIngressOutput } -type GetClusterRkeConfigServicesEtcdBackupConfigArgs struct { - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` - Retention pulumi.IntPtrInput `pulumi:"retention"` - S3BackupConfig GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` - SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` - Timeout pulumi.IntInput `pulumi:"timeout"` +type GetClusterRkeConfigIngressArgs struct { + DefaultBackend pulumi.BoolPtrInput `pulumi:"defaultBackend"` + DnsPolicy pulumi.StringInput `pulumi:"dnsPolicy"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + HttpPort pulumi.IntInput `pulumi:"httpPort"` + HttpsPort pulumi.IntInput `pulumi:"httpsPort"` + NetworkMode pulumi.StringInput `pulumi:"networkMode"` + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` + Options pulumi.MapInput `pulumi:"options"` + Provider pulumi.StringInput `pulumi:"provider"` + Tolerations GetClusterRkeConfigIngressTolerationArrayInput `pulumi:"tolerations"` + UpdateStrategy GetClusterRkeConfigIngressUpdateStrategyPtrInput `pulumi:"updateStrategy"` } -func (GetClusterRkeConfigServicesEtcdBackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +func (GetClusterRkeConfigIngressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigIngress)(nil)).Elem() } -func (i GetClusterRkeConfigServicesEtcdBackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigOutput { - return i.ToGetClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Background()) +func (i GetClusterRkeConfigIngressArgs) ToGetClusterRkeConfigIngressOutput() GetClusterRkeConfigIngressOutput { + return i.ToGetClusterRkeConfigIngressOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigServicesEtcdBackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesEtcdBackupConfigOutput) +func (i GetClusterRkeConfigIngressArgs) ToGetClusterRkeConfigIngressOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressOutput) } -type GetClusterRkeConfigServicesEtcdBackupConfigOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigIngressOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesEtcdBackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +func (GetClusterRkeConfigIngressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigIngress)(nil)).Elem() } -func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigOutput { +func (o GetClusterRkeConfigIngressOutput) ToGetClusterRkeConfigIngressOutput() GetClusterRkeConfigIngressOutput { return o } -func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigOutput { +func (o GetClusterRkeConfigIngressOutput) ToGetClusterRkeConfigIngressOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressOutput { return o } -func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) *int { return v.IntervalHours }).(pulumi.IntPtrOutput) -} - -func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) *int { return v.Retention }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigIngressOutput) DefaultBackend() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) *bool { return v.DefaultBackend }).(pulumi.BoolPtrOutput) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) S3BackupConfig() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { - return v.S3BackupConfig - }).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +func (o GetClusterRkeConfigIngressOutput) DnsPolicy() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) string { return v.DnsPolicy }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) *bool { return v.SafeTimestamp }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigIngressOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) Timeout() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) int { return v.Timeout }).(pulumi.IntOutput) +func (o GetClusterRkeConfigIngressOutput) HttpPort() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) int { return v.HttpPort }).(pulumi.IntOutput) } -type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig struct { - AccessKey *string `pulumi:"accessKey"` - BucketName string `pulumi:"bucketName"` - CustomCa *string `pulumi:"customCa"` - Endpoint string `pulumi:"endpoint"` - Folder *string `pulumi:"folder"` - Region *string `pulumi:"region"` - SecretKey *string `pulumi:"secretKey"` +func (o GetClusterRkeConfigIngressOutput) HttpsPort() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) int { return v.HttpsPort }).(pulumi.IntOutput) } -// GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput is an input type that accepts GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs and GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput` via: -// -// GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} -type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput interface { - pulumi.Input - - ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput - ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput +func (o GetClusterRkeConfigIngressOutput) NetworkMode() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) string { return v.NetworkMode }).(pulumi.StringOutput) } -type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs struct { - AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` - BucketName pulumi.StringInput `pulumi:"bucketName"` - CustomCa pulumi.StringPtrInput `pulumi:"customCa"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - Folder pulumi.StringPtrInput `pulumi:"folder"` - Region pulumi.StringPtrInput `pulumi:"region"` - SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` +func (o GetClusterRkeConfigIngressOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) map[string]interface{} { return v.NodeSelector }).(pulumi.MapOutput) } -func (GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (o GetClusterRkeConfigIngressOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) map[string]interface{} { return v.Options }).(pulumi.MapOutput) } -func (i GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return i.ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Background()) +func (o GetClusterRkeConfigIngressOutput) Provider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) string { return v.Provider }).(pulumi.StringOutput) } -func (i GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) +func (o GetClusterRkeConfigIngressOutput) Tolerations() GetClusterRkeConfigIngressTolerationArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) []GetClusterRkeConfigIngressToleration { return v.Tolerations }).(GetClusterRkeConfigIngressTolerationArrayOutput) } -func (i GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return i.ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigIngressOutput) UpdateStrategy() GetClusterRkeConfigIngressUpdateStrategyPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngress) *GetClusterRkeConfigIngressUpdateStrategy { return v.UpdateStrategy }).(GetClusterRkeConfigIngressUpdateStrategyPtrOutput) } -func (i GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput).ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx) +type GetClusterRkeConfigIngressToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds int `pulumi:"seconds"` + Value *string `pulumi:"value"` } -// GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput is an input type that accepts GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs, GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr and GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput` via: -// -// GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} -// -// or: +// GetClusterRkeConfigIngressTolerationInput is an input type that accepts GetClusterRkeConfigIngressTolerationArgs and GetClusterRkeConfigIngressTolerationOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigIngressTolerationInput` via: // -// nil -type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput interface { +// GetClusterRkeConfigIngressTolerationArgs{...} +type GetClusterRkeConfigIngressTolerationInput interface { pulumi.Input - ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput - ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput + ToGetClusterRkeConfigIngressTolerationOutput() GetClusterRkeConfigIngressTolerationOutput + ToGetClusterRkeConfigIngressTolerationOutputWithContext(context.Context) GetClusterRkeConfigIngressTolerationOutput } -type getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs - -func GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput { - return (*getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType)(v) +type GetClusterRkeConfigIngressTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (*getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (GetClusterRkeConfigIngressTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigIngressToleration)(nil)).Elem() } -func (i *getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return i.ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigIngressTolerationArgs) ToGetClusterRkeConfigIngressTolerationOutput() GetClusterRkeConfigIngressTolerationOutput { + return i.ToGetClusterRkeConfigIngressTolerationOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +func (i GetClusterRkeConfigIngressTolerationArgs) ToGetClusterRkeConfigIngressTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressTolerationOutput) } -type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } +// GetClusterRkeConfigIngressTolerationArrayInput is an input type that accepts GetClusterRkeConfigIngressTolerationArray and GetClusterRkeConfigIngressTolerationArrayOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigIngressTolerationArrayInput` via: +// +// GetClusterRkeConfigIngressTolerationArray{ GetClusterRkeConfigIngressTolerationArgs{...} } +type GetClusterRkeConfigIngressTolerationArrayInput interface { + pulumi.Input -func (GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() + ToGetClusterRkeConfigIngressTolerationArrayOutput() GetClusterRkeConfigIngressTolerationArrayOutput + ToGetClusterRkeConfigIngressTolerationArrayOutputWithContext(context.Context) GetClusterRkeConfigIngressTolerationArrayOutput } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return o +type GetClusterRkeConfigIngressTolerationArray []GetClusterRkeConfigIngressTolerationInput + +func (GetClusterRkeConfigIngressTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigIngressToleration)(nil)).Elem() } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return o +func (i GetClusterRkeConfigIngressTolerationArray) ToGetClusterRkeConfigIngressTolerationArrayOutput() GetClusterRkeConfigIngressTolerationArrayOutput { + return i.ToGetClusterRkeConfigIngressTolerationArrayOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigIngressTolerationArray) ToGetClusterRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressTolerationArrayOutput) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { - return &v - }).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +type GetClusterRkeConfigIngressTolerationOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigIngressTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigIngressToleration)(nil)).Elem() } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.AccessKey }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigIngressTolerationOutput) ToGetClusterRkeConfigIngressTolerationOutput() GetClusterRkeConfigIngressTolerationOutput { + return o } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { return v.BucketName }).(pulumi.StringOutput) +func (o GetClusterRkeConfigIngressTolerationOutput) ToGetClusterRkeConfigIngressTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressTolerationOutput { + return o } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.CustomCa }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigIngressTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngressToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { return v.Endpoint }).(pulumi.StringOutput) +func (o GetClusterRkeConfigIngressTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngressToleration) string { return v.Key }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigIngressTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngressToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigIngressTolerationOutput) Seconds() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngressToleration) int { return v.Seconds }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.SecretKey }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigIngressTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngressToleration) *string { return v.Value }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigIngressTolerationArrayOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (GetClusterRkeConfigIngressTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigIngressToleration)(nil)).Elem() } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { +func (o GetClusterRkeConfigIngressTolerationArrayOutput) ToGetClusterRkeConfigIngressTolerationArrayOutput() GetClusterRkeConfigIngressTolerationArrayOutput { return o } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { +func (o GetClusterRkeConfigIngressTolerationArrayOutput) ToGetClusterRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressTolerationArrayOutput { return o } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Elem() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { - if v != nil { - return *v - } - var ret GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig - return ret - }).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) +func (o GetClusterRkeConfigIngressTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigIngressTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigIngressToleration { + return vs[0].([]GetClusterRkeConfigIngressToleration)[vs[1].(int)] + }).(GetClusterRkeConfigIngressTolerationOutput) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.AccessKey - }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigIngressUpdateStrategy struct { + RollingUpdate *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` + Strategy *string `pulumi:"strategy"` } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.BucketName - }).(pulumi.StringPtrOutput) +// GetClusterRkeConfigIngressUpdateStrategyInput is an input type that accepts GetClusterRkeConfigIngressUpdateStrategyArgs and GetClusterRkeConfigIngressUpdateStrategyOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigIngressUpdateStrategyInput` via: +// +// GetClusterRkeConfigIngressUpdateStrategyArgs{...} +type GetClusterRkeConfigIngressUpdateStrategyInput interface { + pulumi.Input + + ToGetClusterRkeConfigIngressUpdateStrategyOutput() GetClusterRkeConfigIngressUpdateStrategyOutput + ToGetClusterRkeConfigIngressUpdateStrategyOutputWithContext(context.Context) GetClusterRkeConfigIngressUpdateStrategyOutput } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.CustomCa - }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigIngressUpdateStrategyArgs struct { + RollingUpdate GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` + Strategy pulumi.StringPtrInput `pulumi:"strategy"` } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) +func (GetClusterRkeConfigIngressUpdateStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.Folder - }).(pulumi.StringPtrOutput) +func (i GetClusterRkeConfigIngressUpdateStrategyArgs) ToGetClusterRkeConfigIngressUpdateStrategyOutput() GetClusterRkeConfigIngressUpdateStrategyOutput { + return i.ToGetClusterRkeConfigIngressUpdateStrategyOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (i GetClusterRkeConfigIngressUpdateStrategyArgs) ToGetClusterRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyOutput) } -func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.SecretKey - }).(pulumi.StringPtrOutput) +func (i GetClusterRkeConfigIngressUpdateStrategyArgs) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutput() GetClusterRkeConfigIngressUpdateStrategyPtrOutput { + return i.ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) } -type GetClusterRkeConfigServicesKubeApi struct { - AdmissionConfiguration map[string]interface{} `pulumi:"admissionConfiguration"` - AlwaysPullImages *bool `pulumi:"alwaysPullImages"` - AuditLog *GetClusterRkeConfigServicesKubeApiAuditLog `pulumi:"auditLog"` - EventRateLimit *GetClusterRkeConfigServicesKubeApiEventRateLimit `pulumi:"eventRateLimit"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image string `pulumi:"image"` - PodSecurityPolicy *bool `pulumi:"podSecurityPolicy"` - SecretsEncryptionConfig *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig `pulumi:"secretsEncryptionConfig"` - ServiceClusterIpRange string `pulumi:"serviceClusterIpRange"` - ServiceNodePortRange string `pulumi:"serviceNodePortRange"` +func (i GetClusterRkeConfigIngressUpdateStrategyArgs) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyOutput).ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx) } -// GetClusterRkeConfigServicesKubeApiInput is an input type that accepts GetClusterRkeConfigServicesKubeApiArgs and GetClusterRkeConfigServicesKubeApiOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiInput` via: +// GetClusterRkeConfigIngressUpdateStrategyPtrInput is an input type that accepts GetClusterRkeConfigIngressUpdateStrategyArgs, GetClusterRkeConfigIngressUpdateStrategyPtr and GetClusterRkeConfigIngressUpdateStrategyPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigIngressUpdateStrategyPtrInput` via: // -// GetClusterRkeConfigServicesKubeApiArgs{...} -type GetClusterRkeConfigServicesKubeApiInput interface { +// GetClusterRkeConfigIngressUpdateStrategyArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigIngressUpdateStrategyPtrInput interface { pulumi.Input - ToGetClusterRkeConfigServicesKubeApiOutput() GetClusterRkeConfigServicesKubeApiOutput - ToGetClusterRkeConfigServicesKubeApiOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiOutput + ToGetClusterRkeConfigIngressUpdateStrategyPtrOutput() GetClusterRkeConfigIngressUpdateStrategyPtrOutput + ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Context) GetClusterRkeConfigIngressUpdateStrategyPtrOutput } -type GetClusterRkeConfigServicesKubeApiArgs struct { - AdmissionConfiguration pulumi.MapInput `pulumi:"admissionConfiguration"` - AlwaysPullImages pulumi.BoolPtrInput `pulumi:"alwaysPullImages"` - AuditLog GetClusterRkeConfigServicesKubeApiAuditLogPtrInput `pulumi:"auditLog"` - EventRateLimit GetClusterRkeConfigServicesKubeApiEventRateLimitPtrInput `pulumi:"eventRateLimit"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringInput `pulumi:"image"` - PodSecurityPolicy pulumi.BoolPtrInput `pulumi:"podSecurityPolicy"` - SecretsEncryptionConfig GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput `pulumi:"secretsEncryptionConfig"` - ServiceClusterIpRange pulumi.StringInput `pulumi:"serviceClusterIpRange"` - ServiceNodePortRange pulumi.StringInput `pulumi:"serviceNodePortRange"` -} +type getClusterRkeConfigIngressUpdateStrategyPtrType GetClusterRkeConfigIngressUpdateStrategyArgs -func (GetClusterRkeConfigServicesKubeApiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApi)(nil)).Elem() +func GetClusterRkeConfigIngressUpdateStrategyPtr(v *GetClusterRkeConfigIngressUpdateStrategyArgs) GetClusterRkeConfigIngressUpdateStrategyPtrInput { + return (*getClusterRkeConfigIngressUpdateStrategyPtrType)(v) } -func (i GetClusterRkeConfigServicesKubeApiArgs) ToGetClusterRkeConfigServicesKubeApiOutput() GetClusterRkeConfigServicesKubeApiOutput { - return i.ToGetClusterRkeConfigServicesKubeApiOutputWithContext(context.Background()) +func (*getClusterRkeConfigIngressUpdateStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (i GetClusterRkeConfigServicesKubeApiArgs) ToGetClusterRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiOutput) +func (i *getClusterRkeConfigIngressUpdateStrategyPtrType) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutput() GetClusterRkeConfigIngressUpdateStrategyPtrOutput { + return i.ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) } -type GetClusterRkeConfigServicesKubeApiOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigServicesKubeApiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApi)(nil)).Elem() +func (i *getClusterRkeConfigIngressUpdateStrategyPtrType) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyPtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiOutput) ToGetClusterRkeConfigServicesKubeApiOutput() GetClusterRkeConfigServicesKubeApiOutput { - return o +type GetClusterRkeConfigIngressUpdateStrategyOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigIngressUpdateStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiOutput) ToGetClusterRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiOutput { +func (o GetClusterRkeConfigIngressUpdateStrategyOutput) ToGetClusterRkeConfigIngressUpdateStrategyOutput() GetClusterRkeConfigIngressUpdateStrategyOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiOutput) AdmissionConfiguration() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) map[string]interface{} { return v.AdmissionConfiguration }).(pulumi.MapOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyOutput) ToGetClusterRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyOutput { + return o } -func (o GetClusterRkeConfigServicesKubeApiOutput) AlwaysPullImages() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) *bool { return v.AlwaysPullImages }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyOutput) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutput() GetClusterRkeConfigIngressUpdateStrategyPtrOutput { + return o.ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesKubeApiOutput) AuditLog() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) *GetClusterRkeConfigServicesKubeApiAuditLog { - return v.AuditLog - }).(GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyOutput) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigIngressUpdateStrategy) *GetClusterRkeConfigIngressUpdateStrategy { + return &v + }).(GetClusterRkeConfigIngressUpdateStrategyPtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiOutput) EventRateLimit() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) *GetClusterRkeConfigServicesKubeApiEventRateLimit { - return v.EventRateLimit - }).(GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyOutput) RollingUpdate() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngressUpdateStrategy) *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate { + return v.RollingUpdate + }).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngressUpdateStrategy) *string { return v.Strategy }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) -} +type GetClusterRkeConfigIngressUpdateStrategyPtrOutput struct{ *pulumi.OutputState } -func (o GetClusterRkeConfigServicesKubeApiOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +func (GetClusterRkeConfigIngressUpdateStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) string { return v.Image }).(pulumi.StringOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyPtrOutput) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutput() GetClusterRkeConfigIngressUpdateStrategyPtrOutput { + return o } -func (o GetClusterRkeConfigServicesKubeApiOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) *bool { return v.PodSecurityPolicy }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyPtrOutput) ToGetClusterRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyPtrOutput { + return o } -func (o GetClusterRkeConfigServicesKubeApiOutput) SecretsEncryptionConfig() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { - return v.SecretsEncryptionConfig - }).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyPtrOutput) Elem() GetClusterRkeConfigIngressUpdateStrategyOutput { + return o.ApplyT(func(v *GetClusterRkeConfigIngressUpdateStrategy) GetClusterRkeConfigIngressUpdateStrategy { + if v != nil { + return *v + } + var ret GetClusterRkeConfigIngressUpdateStrategy + return ret + }).(GetClusterRkeConfigIngressUpdateStrategyOutput) } -func (o GetClusterRkeConfigServicesKubeApiOutput) ServiceClusterIpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) string { return v.ServiceClusterIpRange }).(pulumi.StringOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyPtrOutput) RollingUpdate() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigIngressUpdateStrategy) *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate { + if v == nil { + return nil + } + return v.RollingUpdate + }).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiOutput) ServiceNodePortRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) string { return v.ServiceNodePortRange }).(pulumi.StringOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigIngressUpdateStrategy) *string { + if v == nil { + return nil + } + return v.Strategy + }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigServicesKubeApiAuditLog struct { - Configuration GetClusterRkeConfigServicesKubeApiAuditLogConfiguration `pulumi:"configuration"` - Enabled *bool `pulumi:"enabled"` +type GetClusterRkeConfigIngressUpdateStrategyRollingUpdate struct { + MaxUnavailable *int `pulumi:"maxUnavailable"` } -// GetClusterRkeConfigServicesKubeApiAuditLogInput is an input type that accepts GetClusterRkeConfigServicesKubeApiAuditLogArgs and GetClusterRkeConfigServicesKubeApiAuditLogOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiAuditLogInput` via: +// GetClusterRkeConfigIngressUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs and GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigIngressUpdateStrategyRollingUpdateInput` via: // -// GetClusterRkeConfigServicesKubeApiAuditLogArgs{...} -type GetClusterRkeConfigServicesKubeApiAuditLogInput interface { +// GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} +type GetClusterRkeConfigIngressUpdateStrategyRollingUpdateInput interface { pulumi.Input - ToGetClusterRkeConfigServicesKubeApiAuditLogOutput() GetClusterRkeConfigServicesKubeApiAuditLogOutput - ToGetClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiAuditLogOutput + ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput + ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput } -type GetClusterRkeConfigServicesKubeApiAuditLogArgs struct { - Configuration GetClusterRkeConfigServicesKubeApiAuditLogConfigurationInput `pulumi:"configuration"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs struct { + MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` } -func (GetClusterRkeConfigServicesKubeApiAuditLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i GetClusterRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogOutput() GetClusterRkeConfigServicesKubeApiAuditLogOutput { - return i.ToGetClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Background()) +func (i GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput { + return i.ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogOutput) +func (i GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) } -func (i GetClusterRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return i.ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogOutput).ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput).ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) } -// GetClusterRkeConfigServicesKubeApiAuditLogPtrInput is an input type that accepts GetClusterRkeConfigServicesKubeApiAuditLogArgs, GetClusterRkeConfigServicesKubeApiAuditLogPtr and GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiAuditLogPtrInput` via: +// GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs, GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtr and GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrInput` via: // -// GetClusterRkeConfigServicesKubeApiAuditLogArgs{...} +// GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} // // or: // // nil -type GetClusterRkeConfigServicesKubeApiAuditLogPtrInput interface { +type GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrInput interface { pulumi.Input - ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput - ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput + ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput + ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput } -type getClusterRkeConfigServicesKubeApiAuditLogPtrType GetClusterRkeConfigServicesKubeApiAuditLogArgs +type getClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrType GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs -func GetClusterRkeConfigServicesKubeApiAuditLogPtr(v *GetClusterRkeConfigServicesKubeApiAuditLogArgs) GetClusterRkeConfigServicesKubeApiAuditLogPtrInput { - return (*getClusterRkeConfigServicesKubeApiAuditLogPtrType)(v) +func GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtr(v *GetClusterRkeConfigIngressUpdateStrategyRollingUpdateArgs) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrInput { + return (*getClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrType)(v) } -func (*getClusterRkeConfigServicesKubeApiAuditLogPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (*getClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i *getClusterRkeConfigServicesKubeApiAuditLogPtrType) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return i.ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigServicesKubeApiAuditLogPtrType) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) +func (i *getClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -type GetClusterRkeConfigServicesKubeApiAuditLogOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesKubeApiAuditLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogOutput() GetClusterRkeConfigServicesKubeApiAuditLogOutput { +func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogOutput { +func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigServicesKubeApiAuditLog) *GetClusterRkeConfigServicesKubeApiAuditLog { +func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigIngressUpdateStrategyRollingUpdate) *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate { return &v - }).(GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) -} - -func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) Configuration() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLog) GetClusterRkeConfigServicesKubeApiAuditLogConfiguration { - return v.Configuration - }).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) + }).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLog) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigIngressUpdateStrategyRollingUpdate) *int { return v.MaxUnavailable }).(pulumi.IntPtrOutput) } -type GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { +func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { +func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Elem() GetClusterRkeConfigServicesKubeApiAuditLogOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLog) GetClusterRkeConfigServicesKubeApiAuditLog { +func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput { + return o.ApplyT(func(v *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate) GetClusterRkeConfigIngressUpdateStrategyRollingUpdate { if v != nil { return *v } - var ret GetClusterRkeConfigServicesKubeApiAuditLog + var ret GetClusterRkeConfigIngressUpdateStrategyRollingUpdate return ret - }).(GetClusterRkeConfigServicesKubeApiAuditLogOutput) -} - -func (o GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Configuration() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLog) *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration { - if v == nil { - return nil - } - return &v.Configuration - }).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) + }).(GetClusterRkeConfigIngressUpdateStrategyRollingUpdateOutput) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLog) *bool { +func (o GetClusterRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigIngressUpdateStrategyRollingUpdate) *int { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -type GetClusterRkeConfigServicesKubeApiAuditLogConfiguration struct { - Format *string `pulumi:"format"` - MaxAge *int `pulumi:"maxAge"` - MaxBackup *int `pulumi:"maxBackup"` - MaxSize *int `pulumi:"maxSize"` - Path *string `pulumi:"path"` - Policy string `pulumi:"policy"` +type GetClusterRkeConfigMonitoring struct { + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` + Options map[string]interface{} `pulumi:"options"` + Provider string `pulumi:"provider"` + Replicas int `pulumi:"replicas"` + Tolerations []GetClusterRkeConfigMonitoringToleration `pulumi:"tolerations"` + UpdateStrategy *GetClusterRkeConfigMonitoringUpdateStrategy `pulumi:"updateStrategy"` } -// GetClusterRkeConfigServicesKubeApiAuditLogConfigurationInput is an input type that accepts GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs and GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiAuditLogConfigurationInput` via: +// GetClusterRkeConfigMonitoringInput is an input type that accepts GetClusterRkeConfigMonitoringArgs and GetClusterRkeConfigMonitoringOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigMonitoringInput` via: // -// GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} -type GetClusterRkeConfigServicesKubeApiAuditLogConfigurationInput interface { +// GetClusterRkeConfigMonitoringArgs{...} +type GetClusterRkeConfigMonitoringInput interface { pulumi.Input - ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput - ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput + ToGetClusterRkeConfigMonitoringOutput() GetClusterRkeConfigMonitoringOutput + ToGetClusterRkeConfigMonitoringOutputWithContext(context.Context) GetClusterRkeConfigMonitoringOutput } -type GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs struct { - Format pulumi.StringPtrInput `pulumi:"format"` - MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` - MaxBackup pulumi.IntPtrInput `pulumi:"maxBackup"` - MaxSize pulumi.IntPtrInput `pulumi:"maxSize"` - Path pulumi.StringPtrInput `pulumi:"path"` - Policy pulumi.StringInput `pulumi:"policy"` +type GetClusterRkeConfigMonitoringArgs struct { + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` + Options pulumi.MapInput `pulumi:"options"` + Provider pulumi.StringInput `pulumi:"provider"` + Replicas pulumi.IntInput `pulumi:"replicas"` + Tolerations GetClusterRkeConfigMonitoringTolerationArrayInput `pulumi:"tolerations"` + UpdateStrategy GetClusterRkeConfigMonitoringUpdateStrategyPtrInput `pulumi:"updateStrategy"` } -func (GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (GetClusterRkeConfigMonitoringArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigMonitoring)(nil)).Elem() } -func (i GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return i.ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Background()) +func (i GetClusterRkeConfigMonitoringArgs) ToGetClusterRkeConfigMonitoringOutput() GetClusterRkeConfigMonitoringOutput { + return i.ToGetClusterRkeConfigMonitoringOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) +func (i GetClusterRkeConfigMonitoringArgs) ToGetClusterRkeConfigMonitoringOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringOutput) } -func (i GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return i.ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) -} +type GetClusterRkeConfigMonitoringOutput struct{ *pulumi.OutputState } -func (i GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput).ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx) +func (GetClusterRkeConfigMonitoringOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigMonitoring)(nil)).Elem() } -// GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput is an input type that accepts GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs, GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtr and GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput` via: -// -// GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} -// -// or: -// -// nil -type GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput interface { - pulumi.Input - - ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput - ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput +func (o GetClusterRkeConfigMonitoringOutput) ToGetClusterRkeConfigMonitoringOutput() GetClusterRkeConfigMonitoringOutput { + return o } -type getClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs +func (o GetClusterRkeConfigMonitoringOutput) ToGetClusterRkeConfigMonitoringOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringOutput { + return o +} -func GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtr(v *GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput { - return (*getClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType)(v) +func (o GetClusterRkeConfigMonitoringOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoring) map[string]interface{} { return v.NodeSelector }).(pulumi.MapOutput) } -func (*getClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (o GetClusterRkeConfigMonitoringOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoring) map[string]interface{} { return v.Options }).(pulumi.MapOutput) } -func (i *getClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return i.ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigMonitoringOutput) Provider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoring) string { return v.Provider }).(pulumi.StringOutput) } -func (i *getClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) +func (o GetClusterRkeConfigMonitoringOutput) Replicas() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoring) int { return v.Replicas }).(pulumi.IntOutput) } -type GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigMonitoringOutput) Tolerations() GetClusterRkeConfigMonitoringTolerationArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoring) []GetClusterRkeConfigMonitoringToleration { return v.Tolerations }).(GetClusterRkeConfigMonitoringTolerationArrayOutput) +} -func (GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (o GetClusterRkeConfigMonitoringOutput) UpdateStrategy() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoring) *GetClusterRkeConfigMonitoringUpdateStrategy { + return v.UpdateStrategy + }).(GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return o +type GetClusterRkeConfigMonitoringToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds int `pulumi:"seconds"` + Value *string `pulumi:"value"` } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return o +// GetClusterRkeConfigMonitoringTolerationInput is an input type that accepts GetClusterRkeConfigMonitoringTolerationArgs and GetClusterRkeConfigMonitoringTolerationOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigMonitoringTolerationInput` via: +// +// GetClusterRkeConfigMonitoringTolerationArgs{...} +type GetClusterRkeConfigMonitoringTolerationInput interface { + pulumi.Input + + ToGetClusterRkeConfigMonitoringTolerationOutput() GetClusterRkeConfigMonitoringTolerationOutput + ToGetClusterRkeConfigMonitoringTolerationOutputWithContext(context.Context) GetClusterRkeConfigMonitoringTolerationOutput } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) +type GetClusterRkeConfigMonitoringTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration { - return &v - }).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) +func (GetClusterRkeConfigMonitoringTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigMonitoringToleration)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { return v.Format }).(pulumi.StringPtrOutput) +func (i GetClusterRkeConfigMonitoringTolerationArgs) ToGetClusterRkeConfigMonitoringTolerationOutput() GetClusterRkeConfigMonitoringTolerationOutput { + return i.ToGetClusterRkeConfigMonitoringTolerationOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxAge() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxAge }).(pulumi.IntPtrOutput) +func (i GetClusterRkeConfigMonitoringTolerationArgs) ToGetClusterRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringTolerationOutput) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxBackup() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxBackup }).(pulumi.IntPtrOutput) +// GetClusterRkeConfigMonitoringTolerationArrayInput is an input type that accepts GetClusterRkeConfigMonitoringTolerationArray and GetClusterRkeConfigMonitoringTolerationArrayOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigMonitoringTolerationArrayInput` via: +// +// GetClusterRkeConfigMonitoringTolerationArray{ GetClusterRkeConfigMonitoringTolerationArgs{...} } +type GetClusterRkeConfigMonitoringTolerationArrayInput interface { + pulumi.Input + + ToGetClusterRkeConfigMonitoringTolerationArrayOutput() GetClusterRkeConfigMonitoringTolerationArrayOutput + ToGetClusterRkeConfigMonitoringTolerationArrayOutputWithContext(context.Context) GetClusterRkeConfigMonitoringTolerationArrayOutput } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxSize }).(pulumi.IntPtrOutput) +type GetClusterRkeConfigMonitoringTolerationArray []GetClusterRkeConfigMonitoringTolerationInput + +func (GetClusterRkeConfigMonitoringTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigMonitoringToleration)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { return v.Path }).(pulumi.StringPtrOutput) +func (i GetClusterRkeConfigMonitoringTolerationArray) ToGetClusterRkeConfigMonitoringTolerationArrayOutput() GetClusterRkeConfigMonitoringTolerationArrayOutput { + return i.ToGetClusterRkeConfigMonitoringTolerationArrayOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Policy() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) string { return v.Policy }).(pulumi.StringOutput) +func (i GetClusterRkeConfigMonitoringTolerationArray) ToGetClusterRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringTolerationArrayOutput) } -type GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigMonitoringTolerationOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (GetClusterRkeConfigMonitoringTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigMonitoringToleration)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { +func (o GetClusterRkeConfigMonitoringTolerationOutput) ToGetClusterRkeConfigMonitoringTolerationOutput() GetClusterRkeConfigMonitoringTolerationOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { +func (o GetClusterRkeConfigMonitoringTolerationOutput) ToGetClusterRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringTolerationOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Elem() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) GetClusterRkeConfigServicesKubeApiAuditLogConfiguration { - if v != nil { - return *v - } - var ret GetClusterRkeConfigServicesKubeApiAuditLogConfiguration - return ret - }).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) +func (o GetClusterRkeConfigMonitoringTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoringToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { - if v == nil { - return nil - } - return v.Format - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigMonitoringTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoringToleration) string { return v.Key }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxAge() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { - if v == nil { - return nil - } - return v.MaxAge - }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigMonitoringTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoringToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxBackup() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { - if v == nil { - return nil - } - return v.MaxBackup - }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigMonitoringTolerationOutput) Seconds() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoringToleration) int { return v.Seconds }).(pulumi.IntOutput) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { - if v == nil { - return nil - } - return v.MaxSize - }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigMonitoringTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoringToleration) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { - if v == nil { - return nil - } - return v.Path - }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigMonitoringTolerationArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigMonitoringTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigMonitoringToleration)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Policy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { - if v == nil { - return nil - } - return &v.Policy - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigMonitoringTolerationArrayOutput) ToGetClusterRkeConfigMonitoringTolerationArrayOutput() GetClusterRkeConfigMonitoringTolerationArrayOutput { + return o } -type GetClusterRkeConfigServicesKubeApiEventRateLimit struct { - Configuration string `pulumi:"configuration"` - Enabled *bool `pulumi:"enabled"` +func (o GetClusterRkeConfigMonitoringTolerationArrayOutput) ToGetClusterRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringTolerationArrayOutput { + return o } -// GetClusterRkeConfigServicesKubeApiEventRateLimitInput is an input type that accepts GetClusterRkeConfigServicesKubeApiEventRateLimitArgs and GetClusterRkeConfigServicesKubeApiEventRateLimitOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiEventRateLimitInput` via: +func (o GetClusterRkeConfigMonitoringTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigMonitoringTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigMonitoringToleration { + return vs[0].([]GetClusterRkeConfigMonitoringToleration)[vs[1].(int)] + }).(GetClusterRkeConfigMonitoringTolerationOutput) +} + +type GetClusterRkeConfigMonitoringUpdateStrategy struct { + RollingUpdate *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` + Strategy *string `pulumi:"strategy"` +} + +// GetClusterRkeConfigMonitoringUpdateStrategyInput is an input type that accepts GetClusterRkeConfigMonitoringUpdateStrategyArgs and GetClusterRkeConfigMonitoringUpdateStrategyOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigMonitoringUpdateStrategyInput` via: // -// GetClusterRkeConfigServicesKubeApiEventRateLimitArgs{...} -type GetClusterRkeConfigServicesKubeApiEventRateLimitInput interface { +// GetClusterRkeConfigMonitoringUpdateStrategyArgs{...} +type GetClusterRkeConfigMonitoringUpdateStrategyInput interface { pulumi.Input - ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitOutput - ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitOutput + ToGetClusterRkeConfigMonitoringUpdateStrategyOutput() GetClusterRkeConfigMonitoringUpdateStrategyOutput + ToGetClusterRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Context) GetClusterRkeConfigMonitoringUpdateStrategyOutput } -type GetClusterRkeConfigServicesKubeApiEventRateLimitArgs struct { - Configuration pulumi.StringInput `pulumi:"configuration"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type GetClusterRkeConfigMonitoringUpdateStrategyArgs struct { + RollingUpdate GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` + Strategy pulumi.StringPtrInput `pulumi:"strategy"` } -func (GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (GetClusterRkeConfigMonitoringUpdateStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -func (i GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitOutput { - return i.ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Background()) +func (i GetClusterRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyOutput() GetClusterRkeConfigMonitoringUpdateStrategyOutput { + return i.ToGetClusterRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) +func (i GetClusterRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyOutput) } -func (i GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return i.ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { + return i.ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) } - -func (i GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiEventRateLimitOutput).ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx) + +func (i GetClusterRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyOutput).ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx) } -// GetClusterRkeConfigServicesKubeApiEventRateLimitPtrInput is an input type that accepts GetClusterRkeConfigServicesKubeApiEventRateLimitArgs, GetClusterRkeConfigServicesKubeApiEventRateLimitPtr and GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiEventRateLimitPtrInput` via: +// GetClusterRkeConfigMonitoringUpdateStrategyPtrInput is an input type that accepts GetClusterRkeConfigMonitoringUpdateStrategyArgs, GetClusterRkeConfigMonitoringUpdateStrategyPtr and GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigMonitoringUpdateStrategyPtrInput` via: // -// GetClusterRkeConfigServicesKubeApiEventRateLimitArgs{...} +// GetClusterRkeConfigMonitoringUpdateStrategyArgs{...} // // or: // // nil -type GetClusterRkeConfigServicesKubeApiEventRateLimitPtrInput interface { +type GetClusterRkeConfigMonitoringUpdateStrategyPtrInput interface { pulumi.Input - ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput - ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput + ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput + ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Context) GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput } -type getClusterRkeConfigServicesKubeApiEventRateLimitPtrType GetClusterRkeConfigServicesKubeApiEventRateLimitArgs +type getClusterRkeConfigMonitoringUpdateStrategyPtrType GetClusterRkeConfigMonitoringUpdateStrategyArgs -func GetClusterRkeConfigServicesKubeApiEventRateLimitPtr(v *GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrInput { - return (*getClusterRkeConfigServicesKubeApiEventRateLimitPtrType)(v) +func GetClusterRkeConfigMonitoringUpdateStrategyPtr(v *GetClusterRkeConfigMonitoringUpdateStrategyArgs) GetClusterRkeConfigMonitoringUpdateStrategyPtrInput { + return (*getClusterRkeConfigMonitoringUpdateStrategyPtrType)(v) } -func (*getClusterRkeConfigServicesKubeApiEventRateLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (*getClusterRkeConfigMonitoringUpdateStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -func (i *getClusterRkeConfigServicesKubeApiEventRateLimitPtrType) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return i.ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigMonitoringUpdateStrategyPtrType) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { + return i.ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigServicesKubeApiEventRateLimitPtrType) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) +func (i *getClusterRkeConfigMonitoringUpdateStrategyPtrType) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) } -type GetClusterRkeConfigServicesKubeApiEventRateLimitOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigMonitoringUpdateStrategyOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (GetClusterRkeConfigMonitoringUpdateStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitOutput { +func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyOutput() GetClusterRkeConfigMonitoringUpdateStrategyOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitOutput { +func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { + return o.ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigServicesKubeApiEventRateLimit) *GetClusterRkeConfigServicesKubeApiEventRateLimit { +func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigMonitoringUpdateStrategy) *GetClusterRkeConfigMonitoringUpdateStrategy { return &v - }).(GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) + }).(GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) Configuration() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiEventRateLimit) string { return v.Configuration }).(pulumi.StringOutput) +func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) RollingUpdate() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoringUpdateStrategy) *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { + return v.RollingUpdate + }).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiEventRateLimit) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigMonitoringUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoringUpdateStrategy) *string { return v.Strategy }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { +func (o GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { +func (o GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Elem() GetClusterRkeConfigServicesKubeApiEventRateLimitOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiEventRateLimit) GetClusterRkeConfigServicesKubeApiEventRateLimit { +func (o GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) Elem() GetClusterRkeConfigMonitoringUpdateStrategyOutput { + return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategy) GetClusterRkeConfigMonitoringUpdateStrategy { if v != nil { return *v } - var ret GetClusterRkeConfigServicesKubeApiEventRateLimit + var ret GetClusterRkeConfigMonitoringUpdateStrategy return ret - }).(GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) + }).(GetClusterRkeConfigMonitoringUpdateStrategyOutput) } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Configuration() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiEventRateLimit) *string { +func (o GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) RollingUpdate() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategy) *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { if v == nil { return nil } - return &v.Configuration - }).(pulumi.StringPtrOutput) + return v.RollingUpdate + }).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiEventRateLimit) *bool { +func (o GetClusterRkeConfigMonitoringUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategy) *string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.Strategy + }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig struct { - CustomConfig string `pulumi:"customConfig"` - Enabled *bool `pulumi:"enabled"` +type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate struct { + MaxSurge *int `pulumi:"maxSurge"` + MaxUnavailable *int `pulumi:"maxUnavailable"` } -// GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput is an input type that accepts GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs and GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput` via: +// GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs and GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateInput` via: // -// GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} -type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput interface { +// GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} +type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateInput interface { pulumi.Input - ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput - ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput + ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput + ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput } -type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs struct { - CustomConfig pulumi.StringInput `pulumi:"customConfig"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs struct { + MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` + MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` } -func (GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return i.ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Background()) +func (i GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { + return i.ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) +func (i GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) } -func (i GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return i.ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput).ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput).ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) } -// GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput is an input type that accepts GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs, GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtr and GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput` via: +// GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs, GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtr and GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput` via: // -// GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} +// GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} // // or: // // nil -type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput interface { +type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput interface { pulumi.Input - ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput - ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput + ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput + ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput } -type getClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs +type getClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs -func GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtr(v *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput { - return (*getClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType)(v) +func GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtr(v *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput { + return (*getClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType)(v) } -func (*getClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (*getClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i *getClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return i.ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i *getClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +func (i *getClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) } -type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { return &v - }).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) + }).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) CustomConfig() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) string { return v.CustomConfig }).(pulumi.StringOutput) +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { return v.MaxSurge }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { return v.MaxUnavailable }).(pulumi.IntPtrOutput) } -type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToGetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { return o } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Elem() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { + return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { if v != nil { return *v } - var ret GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig + var ret GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate return ret - }).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) + }).(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) CustomConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { if v == nil { return nil } - return &v.CustomConfig - }).(pulumi.StringPtrOutput) + return v.MaxSurge + }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { +func (o GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -type GetClusterRkeConfigServicesKubeController struct { - ClusterCidr string `pulumi:"clusterCidr"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image string `pulumi:"image"` - ServiceClusterIpRange string `pulumi:"serviceClusterIpRange"` +type GetClusterRkeConfigNetwork struct { + AciNetworkProvider *GetClusterRkeConfigNetworkAciNetworkProvider `pulumi:"aciNetworkProvider"` + CalicoNetworkProvider *GetClusterRkeConfigNetworkCalicoNetworkProvider `pulumi:"calicoNetworkProvider"` + CanalNetworkProvider *GetClusterRkeConfigNetworkCanalNetworkProvider `pulumi:"canalNetworkProvider"` + FlannelNetworkProvider *GetClusterRkeConfigNetworkFlannelNetworkProvider `pulumi:"flannelNetworkProvider"` + Mtu *int `pulumi:"mtu"` + Options map[string]interface{} `pulumi:"options"` + Plugin string `pulumi:"plugin"` + Tolerations []GetClusterRkeConfigNetworkToleration `pulumi:"tolerations"` + WeaveNetworkProvider *GetClusterRkeConfigNetworkWeaveNetworkProvider `pulumi:"weaveNetworkProvider"` } -// GetClusterRkeConfigServicesKubeControllerInput is an input type that accepts GetClusterRkeConfigServicesKubeControllerArgs and GetClusterRkeConfigServicesKubeControllerOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeControllerInput` via: +// GetClusterRkeConfigNetworkInput is an input type that accepts GetClusterRkeConfigNetworkArgs and GetClusterRkeConfigNetworkOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkInput` via: // -// GetClusterRkeConfigServicesKubeControllerArgs{...} -type GetClusterRkeConfigServicesKubeControllerInput interface { +// GetClusterRkeConfigNetworkArgs{...} +type GetClusterRkeConfigNetworkInput interface { pulumi.Input - ToGetClusterRkeConfigServicesKubeControllerOutput() GetClusterRkeConfigServicesKubeControllerOutput - ToGetClusterRkeConfigServicesKubeControllerOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeControllerOutput + ToGetClusterRkeConfigNetworkOutput() GetClusterRkeConfigNetworkOutput + ToGetClusterRkeConfigNetworkOutputWithContext(context.Context) GetClusterRkeConfigNetworkOutput } -type GetClusterRkeConfigServicesKubeControllerArgs struct { - ClusterCidr pulumi.StringInput `pulumi:"clusterCidr"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringInput `pulumi:"image"` - ServiceClusterIpRange pulumi.StringInput `pulumi:"serviceClusterIpRange"` +type GetClusterRkeConfigNetworkArgs struct { + AciNetworkProvider GetClusterRkeConfigNetworkAciNetworkProviderPtrInput `pulumi:"aciNetworkProvider"` + CalicoNetworkProvider GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput `pulumi:"calicoNetworkProvider"` + CanalNetworkProvider GetClusterRkeConfigNetworkCanalNetworkProviderPtrInput `pulumi:"canalNetworkProvider"` + FlannelNetworkProvider GetClusterRkeConfigNetworkFlannelNetworkProviderPtrInput `pulumi:"flannelNetworkProvider"` + Mtu pulumi.IntPtrInput `pulumi:"mtu"` + Options pulumi.MapInput `pulumi:"options"` + Plugin pulumi.StringInput `pulumi:"plugin"` + Tolerations GetClusterRkeConfigNetworkTolerationArrayInput `pulumi:"tolerations"` + WeaveNetworkProvider GetClusterRkeConfigNetworkWeaveNetworkProviderPtrInput `pulumi:"weaveNetworkProvider"` } -func (GetClusterRkeConfigServicesKubeControllerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeController)(nil)).Elem() +func (GetClusterRkeConfigNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetwork)(nil)).Elem() } -func (i GetClusterRkeConfigServicesKubeControllerArgs) ToGetClusterRkeConfigServicesKubeControllerOutput() GetClusterRkeConfigServicesKubeControllerOutput { - return i.ToGetClusterRkeConfigServicesKubeControllerOutputWithContext(context.Background()) +func (i GetClusterRkeConfigNetworkArgs) ToGetClusterRkeConfigNetworkOutput() GetClusterRkeConfigNetworkOutput { + return i.ToGetClusterRkeConfigNetworkOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigServicesKubeControllerArgs) ToGetClusterRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeControllerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeControllerOutput) +func (i GetClusterRkeConfigNetworkArgs) ToGetClusterRkeConfigNetworkOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkOutput) } -type GetClusterRkeConfigServicesKubeControllerOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigNetworkOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesKubeControllerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeController)(nil)).Elem() +func (GetClusterRkeConfigNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetwork)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeControllerOutput) ToGetClusterRkeConfigServicesKubeControllerOutput() GetClusterRkeConfigServicesKubeControllerOutput { +func (o GetClusterRkeConfigNetworkOutput) ToGetClusterRkeConfigNetworkOutput() GetClusterRkeConfigNetworkOutput { return o } -func (o GetClusterRkeConfigServicesKubeControllerOutput) ToGetClusterRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeControllerOutput { +func (o GetClusterRkeConfigNetworkOutput) ToGetClusterRkeConfigNetworkOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkOutput { return o } -func (o GetClusterRkeConfigServicesKubeControllerOutput) ClusterCidr() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) string { return v.ClusterCidr }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkOutput) AciNetworkProvider() GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetwork) *GetClusterRkeConfigNetworkAciNetworkProvider { + return v.AciNetworkProvider + }).(GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) } -func (o GetClusterRkeConfigServicesKubeControllerOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +func (o GetClusterRkeConfigNetworkOutput) CalicoNetworkProvider() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetwork) *GetClusterRkeConfigNetworkCalicoNetworkProvider { + return v.CalicoNetworkProvider + }).(GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) } -func (o GetClusterRkeConfigServicesKubeControllerOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigNetworkOutput) CanalNetworkProvider() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetwork) *GetClusterRkeConfigNetworkCanalNetworkProvider { + return v.CanalNetworkProvider + }).(GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) } -func (o GetClusterRkeConfigServicesKubeControllerOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigNetworkOutput) FlannelNetworkProvider() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetwork) *GetClusterRkeConfigNetworkFlannelNetworkProvider { + return v.FlannelNetworkProvider + }).(GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) } -func (o GetClusterRkeConfigServicesKubeControllerOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) string { return v.Image }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkOutput) Mtu() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetwork) *int { return v.Mtu }).(pulumi.IntPtrOutput) } -func (o GetClusterRkeConfigServicesKubeControllerOutput) ServiceClusterIpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) string { return v.ServiceClusterIpRange }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetwork) map[string]interface{} { return v.Options }).(pulumi.MapOutput) } -type GetClusterRkeConfigServicesKubelet struct { - ClusterDnsServer string `pulumi:"clusterDnsServer"` - ClusterDomain string `pulumi:"clusterDomain"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - FailSwapOn bool `pulumi:"failSwapOn"` - GenerateServingCertificate *bool `pulumi:"generateServingCertificate"` - Image string `pulumi:"image"` - InfraContainerImage string `pulumi:"infraContainerImage"` +func (o GetClusterRkeConfigNetworkOutput) Plugin() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetwork) string { return v.Plugin }).(pulumi.StringOutput) } -// GetClusterRkeConfigServicesKubeletInput is an input type that accepts GetClusterRkeConfigServicesKubeletArgs and GetClusterRkeConfigServicesKubeletOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeletInput` via: +func (o GetClusterRkeConfigNetworkOutput) Tolerations() GetClusterRkeConfigNetworkTolerationArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetwork) []GetClusterRkeConfigNetworkToleration { return v.Tolerations }).(GetClusterRkeConfigNetworkTolerationArrayOutput) +} + +func (o GetClusterRkeConfigNetworkOutput) WeaveNetworkProvider() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetwork) *GetClusterRkeConfigNetworkWeaveNetworkProvider { + return v.WeaveNetworkProvider + }).(GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) +} + +type GetClusterRkeConfigNetworkAciNetworkProvider struct { + Aep string `pulumi:"aep"` + ApicHosts []string `pulumi:"apicHosts"` + ApicRefreshTickerAdjust *string `pulumi:"apicRefreshTickerAdjust"` + ApicRefreshTime *string `pulumi:"apicRefreshTime"` + ApicSubscriptionDelay *string `pulumi:"apicSubscriptionDelay"` + ApicUserCrt string `pulumi:"apicUserCrt"` + ApicUserKey string `pulumi:"apicUserKey"` + ApicUserName string `pulumi:"apicUserName"` + Capic *string `pulumi:"capic"` + ControllerLogLevel *string `pulumi:"controllerLogLevel"` + DisablePeriodicSnatGlobalInfoSync *string `pulumi:"disablePeriodicSnatGlobalInfoSync"` + DisableWaitForNetwork *string `pulumi:"disableWaitForNetwork"` + DropLogEnable *string `pulumi:"dropLogEnable"` + DurationWaitForNetwork *string `pulumi:"durationWaitForNetwork"` + EnableEndpointSlice *string `pulumi:"enableEndpointSlice"` + EncapType string `pulumi:"encapType"` + EpRegistry *string `pulumi:"epRegistry"` + ExternDynamic string `pulumi:"externDynamic"` + ExternStatic string `pulumi:"externStatic"` + GbpPodSubnet *string `pulumi:"gbpPodSubnet"` + HostAgentLogLevel *string `pulumi:"hostAgentLogLevel"` + ImagePullPolicy *string `pulumi:"imagePullPolicy"` + ImagePullSecret *string `pulumi:"imagePullSecret"` + InfraVlan *string `pulumi:"infraVlan"` + InstallIstio *string `pulumi:"installIstio"` + IstioProfile *string `pulumi:"istioProfile"` + KafkaBrokers []string `pulumi:"kafkaBrokers"` + KafkaClientCrt *string `pulumi:"kafkaClientCrt"` + KafkaClientKey *string `pulumi:"kafkaClientKey"` + KubeApiVlan string `pulumi:"kubeApiVlan"` + L3out string `pulumi:"l3out"` + L3outExternalNetworks []string `pulumi:"l3outExternalNetworks"` + MaxNodesSvcGraph *string `pulumi:"maxNodesSvcGraph"` + McastRangeEnd string `pulumi:"mcastRangeEnd"` + McastRangeStart string `pulumi:"mcastRangeStart"` + MtuHeadRoom *string `pulumi:"mtuHeadRoom"` + MultusDisable *string `pulumi:"multusDisable"` + NoPriorityClass *string `pulumi:"noPriorityClass"` + NodePodIfEnable *string `pulumi:"nodePodIfEnable"` + NodeSubnet string `pulumi:"nodeSubnet"` + NodeSvcSubnet string `pulumi:"nodeSvcSubnet"` + OpflexClientSsl *string `pulumi:"opflexClientSsl"` + OpflexDeviceDeleteTimeout *string `pulumi:"opflexDeviceDeleteTimeout"` + OpflexLogLevel *string `pulumi:"opflexLogLevel"` + OpflexMode *string `pulumi:"opflexMode"` + OpflexServerPort *string `pulumi:"opflexServerPort"` + OverlayVrfName *string `pulumi:"overlayVrfName"` + OvsMemoryLimit *string `pulumi:"ovsMemoryLimit"` + PbrTrackingNonSnat *string `pulumi:"pbrTrackingNonSnat"` + PodSubnetChunkSize *string `pulumi:"podSubnetChunkSize"` + RunGbpContainer *string `pulumi:"runGbpContainer"` + RunOpflexServerContainer *string `pulumi:"runOpflexServerContainer"` + ServiceMonitorInterval *string `pulumi:"serviceMonitorInterval"` + ServiceVlan string `pulumi:"serviceVlan"` + SnatContractScope *string `pulumi:"snatContractScope"` + SnatNamespace *string `pulumi:"snatNamespace"` + SnatPortRangeEnd *string `pulumi:"snatPortRangeEnd"` + SnatPortRangeStart *string `pulumi:"snatPortRangeStart"` + SnatPortsPerNode *string `pulumi:"snatPortsPerNode"` + SriovEnable *string `pulumi:"sriovEnable"` + SubnetDomainName *string `pulumi:"subnetDomainName"` + SystemId string `pulumi:"systemId"` + Tenant *string `pulumi:"tenant"` + Token string `pulumi:"token"` + UseAciAnywhereCrd *string `pulumi:"useAciAnywhereCrd"` + UseAciCniPriorityClass *string `pulumi:"useAciCniPriorityClass"` + UseClusterRole *string `pulumi:"useClusterRole"` + UseHostNetnsVolume *string `pulumi:"useHostNetnsVolume"` + UseOpflexServerVolume *string `pulumi:"useOpflexServerVolume"` + UsePrivilegedContainer *string `pulumi:"usePrivilegedContainer"` + VmmController *string `pulumi:"vmmController"` + VmmDomain *string `pulumi:"vmmDomain"` + VrfName string `pulumi:"vrfName"` + VrfTenant string `pulumi:"vrfTenant"` +} + +// GetClusterRkeConfigNetworkAciNetworkProviderInput is an input type that accepts GetClusterRkeConfigNetworkAciNetworkProviderArgs and GetClusterRkeConfigNetworkAciNetworkProviderOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkAciNetworkProviderInput` via: +// +// GetClusterRkeConfigNetworkAciNetworkProviderArgs{...} +type GetClusterRkeConfigNetworkAciNetworkProviderInput interface { + pulumi.Input + + ToGetClusterRkeConfigNetworkAciNetworkProviderOutput() GetClusterRkeConfigNetworkAciNetworkProviderOutput + ToGetClusterRkeConfigNetworkAciNetworkProviderOutputWithContext(context.Context) GetClusterRkeConfigNetworkAciNetworkProviderOutput +} + +type GetClusterRkeConfigNetworkAciNetworkProviderArgs struct { + Aep pulumi.StringInput `pulumi:"aep"` + ApicHosts pulumi.StringArrayInput `pulumi:"apicHosts"` + ApicRefreshTickerAdjust pulumi.StringPtrInput `pulumi:"apicRefreshTickerAdjust"` + ApicRefreshTime pulumi.StringPtrInput `pulumi:"apicRefreshTime"` + ApicSubscriptionDelay pulumi.StringPtrInput `pulumi:"apicSubscriptionDelay"` + ApicUserCrt pulumi.StringInput `pulumi:"apicUserCrt"` + ApicUserKey pulumi.StringInput `pulumi:"apicUserKey"` + ApicUserName pulumi.StringInput `pulumi:"apicUserName"` + Capic pulumi.StringPtrInput `pulumi:"capic"` + ControllerLogLevel pulumi.StringPtrInput `pulumi:"controllerLogLevel"` + DisablePeriodicSnatGlobalInfoSync pulumi.StringPtrInput `pulumi:"disablePeriodicSnatGlobalInfoSync"` + DisableWaitForNetwork pulumi.StringPtrInput `pulumi:"disableWaitForNetwork"` + DropLogEnable pulumi.StringPtrInput `pulumi:"dropLogEnable"` + DurationWaitForNetwork pulumi.StringPtrInput `pulumi:"durationWaitForNetwork"` + EnableEndpointSlice pulumi.StringPtrInput `pulumi:"enableEndpointSlice"` + EncapType pulumi.StringInput `pulumi:"encapType"` + EpRegistry pulumi.StringPtrInput `pulumi:"epRegistry"` + ExternDynamic pulumi.StringInput `pulumi:"externDynamic"` + ExternStatic pulumi.StringInput `pulumi:"externStatic"` + GbpPodSubnet pulumi.StringPtrInput `pulumi:"gbpPodSubnet"` + HostAgentLogLevel pulumi.StringPtrInput `pulumi:"hostAgentLogLevel"` + ImagePullPolicy pulumi.StringPtrInput `pulumi:"imagePullPolicy"` + ImagePullSecret pulumi.StringPtrInput `pulumi:"imagePullSecret"` + InfraVlan pulumi.StringPtrInput `pulumi:"infraVlan"` + InstallIstio pulumi.StringPtrInput `pulumi:"installIstio"` + IstioProfile pulumi.StringPtrInput `pulumi:"istioProfile"` + KafkaBrokers pulumi.StringArrayInput `pulumi:"kafkaBrokers"` + KafkaClientCrt pulumi.StringPtrInput `pulumi:"kafkaClientCrt"` + KafkaClientKey pulumi.StringPtrInput `pulumi:"kafkaClientKey"` + KubeApiVlan pulumi.StringInput `pulumi:"kubeApiVlan"` + L3out pulumi.StringInput `pulumi:"l3out"` + L3outExternalNetworks pulumi.StringArrayInput `pulumi:"l3outExternalNetworks"` + MaxNodesSvcGraph pulumi.StringPtrInput `pulumi:"maxNodesSvcGraph"` + McastRangeEnd pulumi.StringInput `pulumi:"mcastRangeEnd"` + McastRangeStart pulumi.StringInput `pulumi:"mcastRangeStart"` + MtuHeadRoom pulumi.StringPtrInput `pulumi:"mtuHeadRoom"` + MultusDisable pulumi.StringPtrInput `pulumi:"multusDisable"` + NoPriorityClass pulumi.StringPtrInput `pulumi:"noPriorityClass"` + NodePodIfEnable pulumi.StringPtrInput `pulumi:"nodePodIfEnable"` + NodeSubnet pulumi.StringInput `pulumi:"nodeSubnet"` + NodeSvcSubnet pulumi.StringInput `pulumi:"nodeSvcSubnet"` + OpflexClientSsl pulumi.StringPtrInput `pulumi:"opflexClientSsl"` + OpflexDeviceDeleteTimeout pulumi.StringPtrInput `pulumi:"opflexDeviceDeleteTimeout"` + OpflexLogLevel pulumi.StringPtrInput `pulumi:"opflexLogLevel"` + OpflexMode pulumi.StringPtrInput `pulumi:"opflexMode"` + OpflexServerPort pulumi.StringPtrInput `pulumi:"opflexServerPort"` + OverlayVrfName pulumi.StringPtrInput `pulumi:"overlayVrfName"` + OvsMemoryLimit pulumi.StringPtrInput `pulumi:"ovsMemoryLimit"` + PbrTrackingNonSnat pulumi.StringPtrInput `pulumi:"pbrTrackingNonSnat"` + PodSubnetChunkSize pulumi.StringPtrInput `pulumi:"podSubnetChunkSize"` + RunGbpContainer pulumi.StringPtrInput `pulumi:"runGbpContainer"` + RunOpflexServerContainer pulumi.StringPtrInput `pulumi:"runOpflexServerContainer"` + ServiceMonitorInterval pulumi.StringPtrInput `pulumi:"serviceMonitorInterval"` + ServiceVlan pulumi.StringInput `pulumi:"serviceVlan"` + SnatContractScope pulumi.StringPtrInput `pulumi:"snatContractScope"` + SnatNamespace pulumi.StringPtrInput `pulumi:"snatNamespace"` + SnatPortRangeEnd pulumi.StringPtrInput `pulumi:"snatPortRangeEnd"` + SnatPortRangeStart pulumi.StringPtrInput `pulumi:"snatPortRangeStart"` + SnatPortsPerNode pulumi.StringPtrInput `pulumi:"snatPortsPerNode"` + SriovEnable pulumi.StringPtrInput `pulumi:"sriovEnable"` + SubnetDomainName pulumi.StringPtrInput `pulumi:"subnetDomainName"` + SystemId pulumi.StringInput `pulumi:"systemId"` + Tenant pulumi.StringPtrInput `pulumi:"tenant"` + Token pulumi.StringInput `pulumi:"token"` + UseAciAnywhereCrd pulumi.StringPtrInput `pulumi:"useAciAnywhereCrd"` + UseAciCniPriorityClass pulumi.StringPtrInput `pulumi:"useAciCniPriorityClass"` + UseClusterRole pulumi.StringPtrInput `pulumi:"useClusterRole"` + UseHostNetnsVolume pulumi.StringPtrInput `pulumi:"useHostNetnsVolume"` + UseOpflexServerVolume pulumi.StringPtrInput `pulumi:"useOpflexServerVolume"` + UsePrivilegedContainer pulumi.StringPtrInput `pulumi:"usePrivilegedContainer"` + VmmController pulumi.StringPtrInput `pulumi:"vmmController"` + VmmDomain pulumi.StringPtrInput `pulumi:"vmmDomain"` + VrfName pulumi.StringInput `pulumi:"vrfName"` + VrfTenant pulumi.StringInput `pulumi:"vrfTenant"` +} + +func (GetClusterRkeConfigNetworkAciNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkAciNetworkProvider)(nil)).Elem() +} + +func (i GetClusterRkeConfigNetworkAciNetworkProviderArgs) ToGetClusterRkeConfigNetworkAciNetworkProviderOutput() GetClusterRkeConfigNetworkAciNetworkProviderOutput { + return i.ToGetClusterRkeConfigNetworkAciNetworkProviderOutputWithContext(context.Background()) +} + +func (i GetClusterRkeConfigNetworkAciNetworkProviderArgs) ToGetClusterRkeConfigNetworkAciNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkAciNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkAciNetworkProviderOutput) +} + +func (i GetClusterRkeConfigNetworkAciNetworkProviderArgs) ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutput() GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return i.ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) +} + +func (i GetClusterRkeConfigNetworkAciNetworkProviderArgs) ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkAciNetworkProviderOutput).ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx) +} + +// GetClusterRkeConfigNetworkAciNetworkProviderPtrInput is an input type that accepts GetClusterRkeConfigNetworkAciNetworkProviderArgs, GetClusterRkeConfigNetworkAciNetworkProviderPtr and GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkAciNetworkProviderPtrInput` via: +// +// GetClusterRkeConfigNetworkAciNetworkProviderArgs{...} // -// GetClusterRkeConfigServicesKubeletArgs{...} -type GetClusterRkeConfigServicesKubeletInput interface { +// or: +// +// nil +type GetClusterRkeConfigNetworkAciNetworkProviderPtrInput interface { pulumi.Input - ToGetClusterRkeConfigServicesKubeletOutput() GetClusterRkeConfigServicesKubeletOutput - ToGetClusterRkeConfigServicesKubeletOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeletOutput + ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutput() GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput + ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput } -type GetClusterRkeConfigServicesKubeletArgs struct { - ClusterDnsServer pulumi.StringInput `pulumi:"clusterDnsServer"` - ClusterDomain pulumi.StringInput `pulumi:"clusterDomain"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - FailSwapOn pulumi.BoolInput `pulumi:"failSwapOn"` - GenerateServingCertificate pulumi.BoolPtrInput `pulumi:"generateServingCertificate"` - Image pulumi.StringInput `pulumi:"image"` - InfraContainerImage pulumi.StringInput `pulumi:"infraContainerImage"` +type getClusterRkeConfigNetworkAciNetworkProviderPtrType GetClusterRkeConfigNetworkAciNetworkProviderArgs + +func GetClusterRkeConfigNetworkAciNetworkProviderPtr(v *GetClusterRkeConfigNetworkAciNetworkProviderArgs) GetClusterRkeConfigNetworkAciNetworkProviderPtrInput { + return (*getClusterRkeConfigNetworkAciNetworkProviderPtrType)(v) } -func (GetClusterRkeConfigServicesKubeletArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubelet)(nil)).Elem() +func (*getClusterRkeConfigNetworkAciNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (i GetClusterRkeConfigServicesKubeletArgs) ToGetClusterRkeConfigServicesKubeletOutput() GetClusterRkeConfigServicesKubeletOutput { - return i.ToGetClusterRkeConfigServicesKubeletOutputWithContext(context.Background()) +func (i *getClusterRkeConfigNetworkAciNetworkProviderPtrType) ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutput() GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return i.ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterRkeConfigServicesKubeletArgs) ToGetClusterRkeConfigServicesKubeletOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeletOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeletOutput) +func (i *getClusterRkeConfigNetworkAciNetworkProviderPtrType) ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) } -type GetClusterRkeConfigServicesKubeletOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigNetworkAciNetworkProviderOutput struct{ *pulumi.OutputState } -func (GetClusterRkeConfigServicesKubeletOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubelet)(nil)).Elem() +func (GetClusterRkeConfigNetworkAciNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (o GetClusterRkeConfigServicesKubeletOutput) ToGetClusterRkeConfigServicesKubeletOutput() GetClusterRkeConfigServicesKubeletOutput { +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ToGetClusterRkeConfigNetworkAciNetworkProviderOutput() GetClusterRkeConfigNetworkAciNetworkProviderOutput { return o } -func (o GetClusterRkeConfigServicesKubeletOutput) ToGetClusterRkeConfigServicesKubeletOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeletOutput { +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ToGetClusterRkeConfigNetworkAciNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkAciNetworkProviderOutput { return o } -func (o GetClusterRkeConfigServicesKubeletOutput) ClusterDnsServer() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) string { return v.ClusterDnsServer }).(pulumi.StringOutput) -} - -func (o GetClusterRkeConfigServicesKubeletOutput) ClusterDomain() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) string { return v.ClusterDomain }).(pulumi.StringOutput) -} - -func (o GetClusterRkeConfigServicesKubeletOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutput() GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterRkeConfigServicesKubeletOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigNetworkAciNetworkProvider) *GetClusterRkeConfigNetworkAciNetworkProvider { + return &v + }).(GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) } -func (o GetClusterRkeConfigServicesKubeletOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) Aep() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.Aep }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigServicesKubeletOutput) FailSwapOn() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) bool { return v.FailSwapOn }).(pulumi.BoolOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ApicHosts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) []string { return v.ApicHosts }).(pulumi.StringArrayOutput) } -func (o GetClusterRkeConfigServicesKubeletOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) *bool { return v.GenerateServingCertificate }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ApicRefreshTickerAdjust() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ApicRefreshTickerAdjust }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeletOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) string { return v.Image }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ApicRefreshTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ApicRefreshTime }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeletOutput) InfraContainerImage() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) string { return v.InfraContainerImage }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ApicSubscriptionDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ApicSubscriptionDelay }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigServicesKubeproxy struct { - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image string `pulumi:"image"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ApicUserCrt() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.ApicUserCrt }).(pulumi.StringOutput) } -// GetClusterRkeConfigServicesKubeproxyInput is an input type that accepts GetClusterRkeConfigServicesKubeproxyArgs and GetClusterRkeConfigServicesKubeproxyOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeproxyInput` via: -// -// GetClusterRkeConfigServicesKubeproxyArgs{...} -type GetClusterRkeConfigServicesKubeproxyInput interface { - pulumi.Input - - ToGetClusterRkeConfigServicesKubeproxyOutput() GetClusterRkeConfigServicesKubeproxyOutput - ToGetClusterRkeConfigServicesKubeproxyOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeproxyOutput +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ApicUserKey() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.ApicUserKey }).(pulumi.StringOutput) } -type GetClusterRkeConfigServicesKubeproxyArgs struct { - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringInput `pulumi:"image"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ApicUserName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.ApicUserName }).(pulumi.StringOutput) } -func (GetClusterRkeConfigServicesKubeproxyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeproxy)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) Capic() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.Capic }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigServicesKubeproxyArgs) ToGetClusterRkeConfigServicesKubeproxyOutput() GetClusterRkeConfigServicesKubeproxyOutput { - return i.ToGetClusterRkeConfigServicesKubeproxyOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ControllerLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ControllerLogLevel }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigServicesKubeproxyArgs) ToGetClusterRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeproxyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeproxyOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) DisablePeriodicSnatGlobalInfoSync() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { + return v.DisablePeriodicSnatGlobalInfoSync + }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigServicesKubeproxyOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigServicesKubeproxyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesKubeproxy)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) DisableWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.DisableWaitForNetwork }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeproxyOutput) ToGetClusterRkeConfigServicesKubeproxyOutput() GetClusterRkeConfigServicesKubeproxyOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) DropLogEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.DropLogEnable }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeproxyOutput) ToGetClusterRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeproxyOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) DurationWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.DurationWaitForNetwork }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeproxyOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeproxy) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) EnableEndpointSlice() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.EnableEndpointSlice }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeproxyOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeproxy) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) EncapType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.EncapType }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigServicesKubeproxyOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeproxy) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) EpRegistry() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.EpRegistry }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesKubeproxyOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesKubeproxy) string { return v.Image }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ExternDynamic() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.ExternDynamic }).(pulumi.StringOutput) } -type GetClusterRkeConfigServicesScheduler struct { - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image string `pulumi:"image"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ExternStatic() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.ExternStatic }).(pulumi.StringOutput) } -// GetClusterRkeConfigServicesSchedulerInput is an input type that accepts GetClusterRkeConfigServicesSchedulerArgs and GetClusterRkeConfigServicesSchedulerOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigServicesSchedulerInput` via: -// -// GetClusterRkeConfigServicesSchedulerArgs{...} -type GetClusterRkeConfigServicesSchedulerInput interface { - pulumi.Input - - ToGetClusterRkeConfigServicesSchedulerOutput() GetClusterRkeConfigServicesSchedulerOutput - ToGetClusterRkeConfigServicesSchedulerOutputWithContext(context.Context) GetClusterRkeConfigServicesSchedulerOutput +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) GbpPodSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.GbpPodSubnet }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigServicesSchedulerArgs struct { - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringInput `pulumi:"image"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) HostAgentLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.HostAgentLogLevel }).(pulumi.StringPtrOutput) } -func (GetClusterRkeConfigServicesSchedulerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesScheduler)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ImagePullPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ImagePullPolicy }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigServicesSchedulerArgs) ToGetClusterRkeConfigServicesSchedulerOutput() GetClusterRkeConfigServicesSchedulerOutput { - return i.ToGetClusterRkeConfigServicesSchedulerOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ImagePullSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ImagePullSecret }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigServicesSchedulerArgs) ToGetClusterRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesSchedulerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesSchedulerOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) InfraVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.InfraVlan }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigServicesSchedulerOutput struct{ *pulumi.OutputState } - -func (GetClusterRkeConfigServicesSchedulerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigServicesScheduler)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) InstallIstio() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.InstallIstio }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesSchedulerOutput) ToGetClusterRkeConfigServicesSchedulerOutput() GetClusterRkeConfigServicesSchedulerOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) IstioProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.IstioProfile }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesSchedulerOutput) ToGetClusterRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesSchedulerOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) KafkaBrokers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) []string { return v.KafkaBrokers }).(pulumi.StringArrayOutput) } -func (o GetClusterRkeConfigServicesSchedulerOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesScheduler) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) KafkaClientCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.KafkaClientCrt }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesSchedulerOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesScheduler) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) KafkaClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.KafkaClientKey }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigServicesSchedulerOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesScheduler) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) KubeApiVlan() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.KubeApiVlan }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigServicesSchedulerOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterRkeConfigServicesScheduler) string { return v.Image }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) L3out() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.L3out }).(pulumi.StringOutput) } -type GetClusterRkeConfigUpgradeStrategy struct { - Drain *bool `pulumi:"drain"` - DrainInput GetClusterRkeConfigUpgradeStrategyDrainInput `pulumi:"drainInput"` - MaxUnavailableControlplane *string `pulumi:"maxUnavailableControlplane"` - MaxUnavailableWorker *string `pulumi:"maxUnavailableWorker"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) L3outExternalNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) []string { return v.L3outExternalNetworks }).(pulumi.StringArrayOutput) } -// GetClusterRkeConfigUpgradeStrategyInput is an input type that accepts GetClusterRkeConfigUpgradeStrategyArgs and GetClusterRkeConfigUpgradeStrategyOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigUpgradeStrategyInput` via: -// -// GetClusterRkeConfigUpgradeStrategyArgs{...} -type GetClusterRkeConfigUpgradeStrategyInput interface { - pulumi.Input - - ToGetClusterRkeConfigUpgradeStrategyOutput() GetClusterRkeConfigUpgradeStrategyOutput - ToGetClusterRkeConfigUpgradeStrategyOutputWithContext(context.Context) GetClusterRkeConfigUpgradeStrategyOutput +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) MaxNodesSvcGraph() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.MaxNodesSvcGraph }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigUpgradeStrategyArgs struct { - Drain pulumi.BoolPtrInput `pulumi:"drain"` - DrainInput GetClusterRkeConfigUpgradeStrategyDrainInputInput `pulumi:"drainInput"` - MaxUnavailableControlplane pulumi.StringPtrInput `pulumi:"maxUnavailableControlplane"` - MaxUnavailableWorker pulumi.StringPtrInput `pulumi:"maxUnavailableWorker"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) McastRangeEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.McastRangeEnd }).(pulumi.StringOutput) } -func (GetClusterRkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigUpgradeStrategy)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) McastRangeStart() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.McastRangeStart }).(pulumi.StringOutput) } -func (i GetClusterRkeConfigUpgradeStrategyArgs) ToGetClusterRkeConfigUpgradeStrategyOutput() GetClusterRkeConfigUpgradeStrategyOutput { - return i.ToGetClusterRkeConfigUpgradeStrategyOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) MtuHeadRoom() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.MtuHeadRoom }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigUpgradeStrategyArgs) ToGetClusterRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigUpgradeStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigUpgradeStrategyOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) MultusDisable() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.MultusDisable }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) NoPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.NoPriorityClass }).(pulumi.StringPtrOutput) +} -func (GetClusterRkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigUpgradeStrategy)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) NodePodIfEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.NodePodIfEnable }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigUpgradeStrategyOutput) ToGetClusterRkeConfigUpgradeStrategyOutput() GetClusterRkeConfigUpgradeStrategyOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) NodeSubnet() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.NodeSubnet }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigUpgradeStrategyOutput) ToGetClusterRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigUpgradeStrategyOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) NodeSvcSubnet() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.NodeSvcSubnet }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigUpgradeStrategyOutput) Drain() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategy) *bool { return v.Drain }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) OpflexClientSsl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OpflexClientSsl }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigUpgradeStrategyOutput) DrainInput() GetClusterRkeConfigUpgradeStrategyDrainInputOutput { - return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategy) GetClusterRkeConfigUpgradeStrategyDrainInput { - return v.DrainInput - }).(GetClusterRkeConfigUpgradeStrategyDrainInputOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) OpflexDeviceDeleteTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OpflexDeviceDeleteTimeout }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigUpgradeStrategyOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategy) *string { return v.MaxUnavailableControlplane }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) OpflexLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OpflexLogLevel }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigUpgradeStrategyOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategy) *string { return v.MaxUnavailableWorker }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) OpflexMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OpflexMode }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigUpgradeStrategyDrainInput struct { - DeleteLocalData *bool `pulumi:"deleteLocalData"` - Force *bool `pulumi:"force"` - GracePeriod *int `pulumi:"gracePeriod"` - IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` - Timeout *int `pulumi:"timeout"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) OpflexServerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OpflexServerPort }).(pulumi.StringPtrOutput) } -// GetClusterRkeConfigUpgradeStrategyDrainInputInput is an input type that accepts GetClusterRkeConfigUpgradeStrategyDrainInputArgs and GetClusterRkeConfigUpgradeStrategyDrainInputOutput values. -// You can construct a concrete instance of `GetClusterRkeConfigUpgradeStrategyDrainInputInput` via: -// -// GetClusterRkeConfigUpgradeStrategyDrainInputArgs{...} -type GetClusterRkeConfigUpgradeStrategyDrainInputInput interface { - pulumi.Input +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) OverlayVrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OverlayVrfName }).(pulumi.StringPtrOutput) +} - ToGetClusterRkeConfigUpgradeStrategyDrainInputOutput() GetClusterRkeConfigUpgradeStrategyDrainInputOutput - ToGetClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Context) GetClusterRkeConfigUpgradeStrategyDrainInputOutput +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) OvsMemoryLimit() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.OvsMemoryLimit }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigUpgradeStrategyDrainInputArgs struct { - DeleteLocalData pulumi.BoolPtrInput `pulumi:"deleteLocalData"` - Force pulumi.BoolPtrInput `pulumi:"force"` - GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` - IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` - Timeout pulumi.IntPtrInput `pulumi:"timeout"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) PbrTrackingNonSnat() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.PbrTrackingNonSnat }).(pulumi.StringPtrOutput) } -func (GetClusterRkeConfigUpgradeStrategyDrainInputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) PodSubnetChunkSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.PodSubnetChunkSize }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigUpgradeStrategyDrainInputArgs) ToGetClusterRkeConfigUpgradeStrategyDrainInputOutput() GetClusterRkeConfigUpgradeStrategyDrainInputOutput { - return i.ToGetClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) RunGbpContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.RunGbpContainer }).(pulumi.StringPtrOutput) } -func (i GetClusterRkeConfigUpgradeStrategyDrainInputArgs) ToGetClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) GetClusterRkeConfigUpgradeStrategyDrainInputOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigUpgradeStrategyDrainInputOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) RunOpflexServerContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.RunOpflexServerContainer }).(pulumi.StringPtrOutput) } -type GetClusterRkeConfigUpgradeStrategyDrainInputOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ServiceMonitorInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.ServiceMonitorInterval }).(pulumi.StringPtrOutput) +} -func (GetClusterRkeConfigUpgradeStrategyDrainInputOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) ServiceVlan() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.ServiceVlan }).(pulumi.StringOutput) } -func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) ToGetClusterRkeConfigUpgradeStrategyDrainInputOutput() GetClusterRkeConfigUpgradeStrategyDrainInputOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) SnatContractScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SnatContractScope }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) ToGetClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) GetClusterRkeConfigUpgradeStrategyDrainInputOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) SnatNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SnatNamespace }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) DeleteLocalData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.DeleteLocalData }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) SnatPortRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SnatPortRangeEnd }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.Force }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) SnatPortRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SnatPortRangeStart }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategyDrainInput) *int { return v.GracePeriod }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) SnatPortsPerNode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SnatPortsPerNode }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) SriovEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SriovEnable }).(pulumi.StringPtrOutput) } -func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategyDrainInput) *int { return v.Timeout }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) SubnetDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.SubnetDomainName }).(pulumi.StringPtrOutput) } -type GetClusterScanScanConfig struct { - // Cluster Cis Scan config (List maxitems:1) - CisScanConfig GetClusterScanScanConfigCisScanConfig `pulumi:"cisScanConfig"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) SystemId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.SystemId }).(pulumi.StringOutput) } -// GetClusterScanScanConfigInput is an input type that accepts GetClusterScanScanConfigArgs and GetClusterScanScanConfigOutput values. -// You can construct a concrete instance of `GetClusterScanScanConfigInput` via: -// -// GetClusterScanScanConfigArgs{...} -type GetClusterScanScanConfigInput interface { - pulumi.Input +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) Tenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.Tenant }).(pulumi.StringPtrOutput) +} - ToGetClusterScanScanConfigOutput() GetClusterScanScanConfigOutput - ToGetClusterScanScanConfigOutputWithContext(context.Context) GetClusterScanScanConfigOutput +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.Token }).(pulumi.StringOutput) } -type GetClusterScanScanConfigArgs struct { - // Cluster Cis Scan config (List maxitems:1) - CisScanConfig GetClusterScanScanConfigCisScanConfigInput `pulumi:"cisScanConfig"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) UseAciAnywhereCrd() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UseAciAnywhereCrd }).(pulumi.StringPtrOutput) } -func (GetClusterScanScanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScanScanConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) UseAciCniPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UseAciCniPriorityClass }).(pulumi.StringPtrOutput) } -func (i GetClusterScanScanConfigArgs) ToGetClusterScanScanConfigOutput() GetClusterScanScanConfigOutput { - return i.ToGetClusterScanScanConfigOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) UseClusterRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UseClusterRole }).(pulumi.StringPtrOutput) } -func (i GetClusterScanScanConfigArgs) ToGetClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterScanScanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterScanScanConfigOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) UseHostNetnsVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UseHostNetnsVolume }).(pulumi.StringPtrOutput) } -type GetClusterScanScanConfigOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) UseOpflexServerVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UseOpflexServerVolume }).(pulumi.StringPtrOutput) +} -func (GetClusterScanScanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScanScanConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) UsePrivilegedContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.UsePrivilegedContainer }).(pulumi.StringPtrOutput) } -func (o GetClusterScanScanConfigOutput) ToGetClusterScanScanConfigOutput() GetClusterScanScanConfigOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) VmmController() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.VmmController }).(pulumi.StringPtrOutput) } -func (o GetClusterScanScanConfigOutput) ToGetClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterScanScanConfigOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) VmmDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) *string { return v.VmmDomain }).(pulumi.StringPtrOutput) } -// Cluster Cis Scan config (List maxitems:1) -func (o GetClusterScanScanConfigOutput) CisScanConfig() GetClusterScanScanConfigCisScanConfigOutput { - return o.ApplyT(func(v GetClusterScanScanConfig) GetClusterScanScanConfigCisScanConfig { return v.CisScanConfig }).(GetClusterScanScanConfigCisScanConfigOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) VrfName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.VrfName }).(pulumi.StringOutput) } -type GetClusterScanScanConfigCisScanConfig struct { - // Debug master. Default: `false` (bool) - DebugMaster *bool `pulumi:"debugMaster"` - // Debug worker. Default: `false` (bool) - DebugWorker *bool `pulumi:"debugWorker"` - // Override benchmark version (string) - OverrideBenchmarkVersion *string `pulumi:"overrideBenchmarkVersion"` - // Override skip (string) - OverrideSkips []string `pulumi:"overrideSkips"` - // Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) - Profile *string `pulumi:"profile"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderOutput) VrfTenant() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkAciNetworkProvider) string { return v.VrfTenant }).(pulumi.StringOutput) } -// GetClusterScanScanConfigCisScanConfigInput is an input type that accepts GetClusterScanScanConfigCisScanConfigArgs and GetClusterScanScanConfigCisScanConfigOutput values. -// You can construct a concrete instance of `GetClusterScanScanConfigCisScanConfigInput` via: -// -// GetClusterScanScanConfigCisScanConfigArgs{...} -type GetClusterScanScanConfigCisScanConfigInput interface { - pulumi.Input +type GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput struct{ *pulumi.OutputState } - ToGetClusterScanScanConfigCisScanConfigOutput() GetClusterScanScanConfigCisScanConfigOutput - ToGetClusterScanScanConfigCisScanConfigOutputWithContext(context.Context) GetClusterScanScanConfigCisScanConfigOutput +func (GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -type GetClusterScanScanConfigCisScanConfigArgs struct { - // Debug master. Default: `false` (bool) - DebugMaster pulumi.BoolPtrInput `pulumi:"debugMaster"` - // Debug worker. Default: `false` (bool) - DebugWorker pulumi.BoolPtrInput `pulumi:"debugWorker"` - // Override benchmark version (string) - OverrideBenchmarkVersion pulumi.StringPtrInput `pulumi:"overrideBenchmarkVersion"` - // Override skip (string) - OverrideSkips pulumi.StringArrayInput `pulumi:"overrideSkips"` - // Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) - Profile pulumi.StringPtrInput `pulumi:"profile"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutput() GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return o } -func (GetClusterScanScanConfigCisScanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput { + return o } -func (i GetClusterScanScanConfigCisScanConfigArgs) ToGetClusterScanScanConfigCisScanConfigOutput() GetClusterScanScanConfigCisScanConfigOutput { - return i.ToGetClusterScanScanConfigCisScanConfigOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) Elem() GetClusterRkeConfigNetworkAciNetworkProviderOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) GetClusterRkeConfigNetworkAciNetworkProvider { + if v != nil { + return *v + } + var ret GetClusterRkeConfigNetworkAciNetworkProvider + return ret + }).(GetClusterRkeConfigNetworkAciNetworkProviderOutput) } -func (i GetClusterScanScanConfigCisScanConfigArgs) ToGetClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterScanScanConfigCisScanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterScanScanConfigCisScanConfigOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) Aep() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.Aep + }).(pulumi.StringPtrOutput) } -type GetClusterScanScanConfigCisScanConfigOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicHosts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.ApicHosts + }).(pulumi.StringArrayOutput) +} -func (GetClusterScanScanConfigCisScanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicRefreshTickerAdjust() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicRefreshTickerAdjust + }).(pulumi.StringPtrOutput) } -func (o GetClusterScanScanConfigCisScanConfigOutput) ToGetClusterScanScanConfigCisScanConfigOutput() GetClusterScanScanConfigCisScanConfigOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicRefreshTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicRefreshTime + }).(pulumi.StringPtrOutput) } -func (o GetClusterScanScanConfigCisScanConfigOutput) ToGetClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterScanScanConfigCisScanConfigOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicSubscriptionDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicSubscriptionDelay + }).(pulumi.StringPtrOutput) } -// Debug master. Default: `false` (bool) -func (o GetClusterScanScanConfigCisScanConfigOutput) DebugMaster() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterScanScanConfigCisScanConfig) *bool { return v.DebugMaster }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserCrt + }).(pulumi.StringPtrOutput) } -// Debug worker. Default: `false` (bool) -func (o GetClusterScanScanConfigCisScanConfigOutput) DebugWorker() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterScanScanConfigCisScanConfig) *bool { return v.DebugWorker }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserKey + }).(pulumi.StringPtrOutput) } -// Override benchmark version (string) -func (o GetClusterScanScanConfigCisScanConfigOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterScanScanConfigCisScanConfig) *string { return v.OverrideBenchmarkVersion }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserName + }).(pulumi.StringPtrOutput) } -// Override skip (string) -func (o GetClusterScanScanConfigCisScanConfigOutput) OverrideSkips() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterScanScanConfigCisScanConfig) []string { return v.OverrideSkips }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) Capic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.Capic + }).(pulumi.StringPtrOutput) } -// Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) -func (o GetClusterScanScanConfigCisScanConfigOutput) Profile() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterScanScanConfigCisScanConfig) *string { return v.Profile }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ControllerLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ControllerLogLevel + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScan struct { - Enabled *bool `pulumi:"enabled"` - ScanConfig GetClusterScheduledClusterScanScanConfig `pulumi:"scanConfig"` - ScheduleConfig GetClusterScheduledClusterScanScheduleConfig `pulumi:"scheduleConfig"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) DisablePeriodicSnatGlobalInfoSync() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DisablePeriodicSnatGlobalInfoSync + }).(pulumi.StringPtrOutput) } -// GetClusterScheduledClusterScanInput is an input type that accepts GetClusterScheduledClusterScanArgs and GetClusterScheduledClusterScanOutput values. -// You can construct a concrete instance of `GetClusterScheduledClusterScanInput` via: -// -// GetClusterScheduledClusterScanArgs{...} -type GetClusterScheduledClusterScanInput interface { - pulumi.Input +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) DisableWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DisableWaitForNetwork + }).(pulumi.StringPtrOutput) +} - ToGetClusterScheduledClusterScanOutput() GetClusterScheduledClusterScanOutput - ToGetClusterScheduledClusterScanOutputWithContext(context.Context) GetClusterScheduledClusterScanOutput +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) DropLogEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DropLogEnable + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanArgs struct { - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - ScanConfig GetClusterScheduledClusterScanScanConfigInput `pulumi:"scanConfig"` - ScheduleConfig GetClusterScheduledClusterScanScheduleConfigInput `pulumi:"scheduleConfig"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) DurationWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DurationWaitForNetwork + }).(pulumi.StringPtrOutput) } -func (GetClusterScheduledClusterScanArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScheduledClusterScan)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) EnableEndpointSlice() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.EnableEndpointSlice + }).(pulumi.StringPtrOutput) } -func (i GetClusterScheduledClusterScanArgs) ToGetClusterScheduledClusterScanOutput() GetClusterScheduledClusterScanOutput { - return i.ToGetClusterScheduledClusterScanOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) EncapType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.EncapType + }).(pulumi.StringPtrOutput) } -func (i GetClusterScheduledClusterScanArgs) ToGetClusterScheduledClusterScanOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterScheduledClusterScanOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) EpRegistry() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.EpRegistry + }).(pulumi.StringPtrOutput) } -// GetClusterScheduledClusterScanArrayInput is an input type that accepts GetClusterScheduledClusterScanArray and GetClusterScheduledClusterScanArrayOutput values. -// You can construct a concrete instance of `GetClusterScheduledClusterScanArrayInput` via: -// -// GetClusterScheduledClusterScanArray{ GetClusterScheduledClusterScanArgs{...} } -type GetClusterScheduledClusterScanArrayInput interface { - pulumi.Input +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ExternDynamic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ExternDynamic + }).(pulumi.StringPtrOutput) +} - ToGetClusterScheduledClusterScanArrayOutput() GetClusterScheduledClusterScanArrayOutput - ToGetClusterScheduledClusterScanArrayOutputWithContext(context.Context) GetClusterScheduledClusterScanArrayOutput +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ExternStatic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ExternStatic + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanArray []GetClusterScheduledClusterScanInput +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) GbpPodSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.GbpPodSubnet + }).(pulumi.StringPtrOutput) +} -func (GetClusterScheduledClusterScanArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterScheduledClusterScan)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) HostAgentLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.HostAgentLogLevel + }).(pulumi.StringPtrOutput) } -func (i GetClusterScheduledClusterScanArray) ToGetClusterScheduledClusterScanArrayOutput() GetClusterScheduledClusterScanArrayOutput { - return i.ToGetClusterScheduledClusterScanArrayOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ImagePullPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ImagePullPolicy + }).(pulumi.StringPtrOutput) } -func (i GetClusterScheduledClusterScanArray) ToGetClusterScheduledClusterScanArrayOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterScheduledClusterScanArrayOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ImagePullSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ImagePullSecret + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) InfraVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.InfraVlan + }).(pulumi.StringPtrOutput) +} -func (GetClusterScheduledClusterScanOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScheduledClusterScan)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) InstallIstio() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.InstallIstio + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanOutput) ToGetClusterScheduledClusterScanOutput() GetClusterScheduledClusterScanOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) IstioProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.IstioProfile + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanOutput) ToGetClusterScheduledClusterScanOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaBrokers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.KafkaBrokers + }).(pulumi.StringArrayOutput) } -func (o GetClusterScheduledClusterScanOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScan) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaClientCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.KafkaClientCrt + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanOutput) ScanConfig() GetClusterScheduledClusterScanScanConfigOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScan) GetClusterScheduledClusterScanScanConfig { return v.ScanConfig }).(GetClusterScheduledClusterScanScanConfigOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.KafkaClientKey + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanOutput) ScheduleConfig() GetClusterScheduledClusterScanScheduleConfigOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScan) GetClusterScheduledClusterScanScheduleConfig { - return v.ScheduleConfig - }).(GetClusterScheduledClusterScanScheduleConfigOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) KubeApiVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.KubeApiVlan + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) L3out() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.L3out + }).(pulumi.StringPtrOutput) +} -func (GetClusterScheduledClusterScanArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterScheduledClusterScan)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) L3outExternalNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.L3outExternalNetworks + }).(pulumi.StringArrayOutput) } -func (o GetClusterScheduledClusterScanArrayOutput) ToGetClusterScheduledClusterScanArrayOutput() GetClusterScheduledClusterScanArrayOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) MaxNodesSvcGraph() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MaxNodesSvcGraph + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanArrayOutput) ToGetClusterScheduledClusterScanArrayOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanArrayOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) McastRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.McastRangeEnd + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanArrayOutput) Index(i pulumi.IntInput) GetClusterScheduledClusterScanOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterScheduledClusterScan { - return vs[0].([]GetClusterScheduledClusterScan)[vs[1].(int)] - }).(GetClusterScheduledClusterScanOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) McastRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.McastRangeStart + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanScanConfig struct { - CisScanConfig GetClusterScheduledClusterScanScanConfigCisScanConfig `pulumi:"cisScanConfig"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) MtuHeadRoom() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MtuHeadRoom + }).(pulumi.StringPtrOutput) } -// GetClusterScheduledClusterScanScanConfigInput is an input type that accepts GetClusterScheduledClusterScanScanConfigArgs and GetClusterScheduledClusterScanScanConfigOutput values. -// You can construct a concrete instance of `GetClusterScheduledClusterScanScanConfigInput` via: -// -// GetClusterScheduledClusterScanScanConfigArgs{...} -type GetClusterScheduledClusterScanScanConfigInput interface { - pulumi.Input +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) MultusDisable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MultusDisable + }).(pulumi.StringPtrOutput) +} - ToGetClusterScheduledClusterScanScanConfigOutput() GetClusterScheduledClusterScanScanConfigOutput - ToGetClusterScheduledClusterScanScanConfigOutputWithContext(context.Context) GetClusterScheduledClusterScanScanConfigOutput +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) NoPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.NoPriorityClass + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanScanConfigArgs struct { - CisScanConfig GetClusterScheduledClusterScanScanConfigCisScanConfigInput `pulumi:"cisScanConfig"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) NodePodIfEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.NodePodIfEnable + }).(pulumi.StringPtrOutput) } -func (GetClusterScheduledClusterScanScanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScheduledClusterScanScanConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) NodeSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.NodeSubnet + }).(pulumi.StringPtrOutput) } -func (i GetClusterScheduledClusterScanScanConfigArgs) ToGetClusterScheduledClusterScanScanConfigOutput() GetClusterScheduledClusterScanScanConfigOutput { - return i.ToGetClusterScheduledClusterScanScanConfigOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) NodeSvcSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.NodeSvcSubnet + }).(pulumi.StringPtrOutput) } -func (i GetClusterScheduledClusterScanScanConfigArgs) ToGetClusterScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterScheduledClusterScanScanConfigOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexClientSsl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexClientSsl + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanScanConfigOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexDeviceDeleteTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexDeviceDeleteTimeout + }).(pulumi.StringPtrOutput) +} -func (GetClusterScheduledClusterScanScanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScheduledClusterScanScanConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexLogLevel + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScanConfigOutput) ToGetClusterScheduledClusterScanScanConfigOutput() GetClusterScheduledClusterScanScanConfigOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexMode + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScanConfigOutput) ToGetClusterScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScanConfigOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexServerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexServerPort + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScanConfigOutput) CisScanConfig() GetClusterScheduledClusterScanScanConfigCisScanConfigOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfig) GetClusterScheduledClusterScanScanConfigCisScanConfig { - return v.CisScanConfig - }).(GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OverlayVrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OverlayVrfName + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanScanConfigCisScanConfig struct { - DebugMaster *bool `pulumi:"debugMaster"` - DebugWorker *bool `pulumi:"debugWorker"` - OverrideBenchmarkVersion *string `pulumi:"overrideBenchmarkVersion"` - OverrideSkips []string `pulumi:"overrideSkips"` - Profile *string `pulumi:"profile"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) OvsMemoryLimit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OvsMemoryLimit + }).(pulumi.StringPtrOutput) } -// GetClusterScheduledClusterScanScanConfigCisScanConfigInput is an input type that accepts GetClusterScheduledClusterScanScanConfigCisScanConfigArgs and GetClusterScheduledClusterScanScanConfigCisScanConfigOutput values. -// You can construct a concrete instance of `GetClusterScheduledClusterScanScanConfigCisScanConfigInput` via: -// -// GetClusterScheduledClusterScanScanConfigCisScanConfigArgs{...} -type GetClusterScheduledClusterScanScanConfigCisScanConfigInput interface { - pulumi.Input +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) PbrTrackingNonSnat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.PbrTrackingNonSnat + }).(pulumi.StringPtrOutput) +} - ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterScheduledClusterScanScanConfigCisScanConfigOutput - ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Context) GetClusterScheduledClusterScanScanConfigCisScanConfigOutput +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) PodSubnetChunkSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.PodSubnetChunkSize + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanScanConfigCisScanConfigArgs struct { - DebugMaster pulumi.BoolPtrInput `pulumi:"debugMaster"` - DebugWorker pulumi.BoolPtrInput `pulumi:"debugWorker"` - OverrideBenchmarkVersion pulumi.StringPtrInput `pulumi:"overrideBenchmarkVersion"` - OverrideSkips pulumi.StringArrayInput `pulumi:"overrideSkips"` - Profile pulumi.StringPtrInput `pulumi:"profile"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) RunGbpContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.RunGbpContainer + }).(pulumi.StringPtrOutput) } -func (GetClusterScheduledClusterScanScanConfigCisScanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) RunOpflexServerContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.RunOpflexServerContainer + }).(pulumi.StringPtrOutput) } -func (i GetClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterScheduledClusterScanScanConfigCisScanConfigOutput { - return i.ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ServiceMonitorInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ServiceMonitorInterval + }).(pulumi.StringPtrOutput) } -func (i GetClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScanConfigCisScanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) ServiceVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ServiceVlan + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanScanConfigCisScanConfigOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SnatContractScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatContractScope + }).(pulumi.StringPtrOutput) +} -func (GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SnatNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatNamespace + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterScheduledClusterScanScanConfigCisScanConfigOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatPortRangeEnd + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScanConfigCisScanConfigOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatPortRangeStart + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) DebugMaster() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfigCisScanConfig) *bool { return v.DebugMaster }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortsPerNode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatPortsPerNode + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) DebugWorker() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfigCisScanConfig) *bool { return v.DebugWorker }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SriovEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SriovEnable + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfigCisScanConfig) *string { - return v.OverrideBenchmarkVersion +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SubnetDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SubnetDomainName }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) OverrideSkips() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfigCisScanConfig) []string { return v.OverrideSkips }).(pulumi.StringArrayOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) SystemId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.SystemId + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) Profile() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfigCisScanConfig) *string { return v.Profile }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) Tenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.Tenant + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanScheduleConfig struct { - CronSchedule string `pulumi:"cronSchedule"` - Retention int `pulumi:"retention"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.Token + }).(pulumi.StringPtrOutput) } -// GetClusterScheduledClusterScanScheduleConfigInput is an input type that accepts GetClusterScheduledClusterScanScheduleConfigArgs and GetClusterScheduledClusterScanScheduleConfigOutput values. -// You can construct a concrete instance of `GetClusterScheduledClusterScanScheduleConfigInput` via: -// -// GetClusterScheduledClusterScanScheduleConfigArgs{...} -type GetClusterScheduledClusterScanScheduleConfigInput interface { - pulumi.Input - - ToGetClusterScheduledClusterScanScheduleConfigOutput() GetClusterScheduledClusterScanScheduleConfigOutput - ToGetClusterScheduledClusterScanScheduleConfigOutputWithContext(context.Context) GetClusterScheduledClusterScanScheduleConfigOutput +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UseAciAnywhereCrd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseAciAnywhereCrd + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanScheduleConfigArgs struct { - CronSchedule pulumi.StringInput `pulumi:"cronSchedule"` - Retention pulumi.IntInput `pulumi:"retention"` +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UseAciCniPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseAciCniPriorityClass + }).(pulumi.StringPtrOutput) } -func (GetClusterScheduledClusterScanScheduleConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScheduledClusterScanScheduleConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UseClusterRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseClusterRole + }).(pulumi.StringPtrOutput) } -func (i GetClusterScheduledClusterScanScheduleConfigArgs) ToGetClusterScheduledClusterScanScheduleConfigOutput() GetClusterScheduledClusterScanScheduleConfigOutput { - return i.ToGetClusterScheduledClusterScanScheduleConfigOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UseHostNetnsVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseHostNetnsVolume + }).(pulumi.StringPtrOutput) } -func (i GetClusterScheduledClusterScanScheduleConfigArgs) ToGetClusterScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScheduleConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterScheduledClusterScanScheduleConfigOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UseOpflexServerVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseOpflexServerVolume + }).(pulumi.StringPtrOutput) } -type GetClusterScheduledClusterScanScheduleConfigOutput struct{ *pulumi.OutputState } - -func (GetClusterScheduledClusterScanScheduleConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterScheduledClusterScanScheduleConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) UsePrivilegedContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UsePrivilegedContainer + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScheduleConfigOutput) ToGetClusterScheduledClusterScanScheduleConfigOutput() GetClusterScheduledClusterScanScheduleConfigOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) VmmController() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.VmmController + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScheduleConfigOutput) ToGetClusterScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScheduleConfigOutput { - return o +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) VmmDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.VmmDomain + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScheduleConfigOutput) CronSchedule() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScanScheduleConfig) string { return v.CronSchedule }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) VrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.VrfName + }).(pulumi.StringPtrOutput) } -func (o GetClusterScheduledClusterScanScheduleConfigOutput) Retention() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterScheduledClusterScanScheduleConfig) int { return v.Retention }).(pulumi.IntOutput) +func (o GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput) VrfTenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.VrfTenant + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateMember struct { - AccessType *string `pulumi:"accessType"` - GroupPrincipalId *string `pulumi:"groupPrincipalId"` - UserPrincipalId *string `pulumi:"userPrincipalId"` +type GetClusterRkeConfigNetworkCalicoNetworkProvider struct { + CloudProvider string `pulumi:"cloudProvider"` } -// GetClusterTemplateMemberInput is an input type that accepts GetClusterTemplateMemberArgs and GetClusterTemplateMemberOutput values. -// You can construct a concrete instance of `GetClusterTemplateMemberInput` via: +// GetClusterRkeConfigNetworkCalicoNetworkProviderInput is an input type that accepts GetClusterRkeConfigNetworkCalicoNetworkProviderArgs and GetClusterRkeConfigNetworkCalicoNetworkProviderOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkCalicoNetworkProviderInput` via: // -// GetClusterTemplateMemberArgs{...} -type GetClusterTemplateMemberInput interface { +// GetClusterRkeConfigNetworkCalicoNetworkProviderArgs{...} +type GetClusterRkeConfigNetworkCalicoNetworkProviderInput interface { pulumi.Input - ToGetClusterTemplateMemberOutput() GetClusterTemplateMemberOutput - ToGetClusterTemplateMemberOutputWithContext(context.Context) GetClusterTemplateMemberOutput + ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderOutput + ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderOutput } -type GetClusterTemplateMemberArgs struct { - AccessType pulumi.StringPtrInput `pulumi:"accessType"` - GroupPrincipalId pulumi.StringPtrInput `pulumi:"groupPrincipalId"` - UserPrincipalId pulumi.StringPtrInput `pulumi:"userPrincipalId"` +type GetClusterRkeConfigNetworkCalicoNetworkProviderArgs struct { + CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` } -func (GetClusterTemplateMemberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateMember)(nil)).Elem() +func (GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (i GetClusterTemplateMemberArgs) ToGetClusterTemplateMemberOutput() GetClusterTemplateMemberOutput { - return i.ToGetClusterTemplateMemberOutputWithContext(context.Background()) +func (i GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderOutput { + return i.ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Background()) } -func (i GetClusterTemplateMemberArgs) ToGetClusterTemplateMemberOutputWithContext(ctx context.Context) GetClusterTemplateMemberOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateMemberOutput) +func (i GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) } -// GetClusterTemplateMemberArrayInput is an input type that accepts GetClusterTemplateMemberArray and GetClusterTemplateMemberArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateMemberArrayInput` via: +func (i GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return i.ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +} + +func (i GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCalicoNetworkProviderOutput).ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx) +} + +// GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput is an input type that accepts GetClusterRkeConfigNetworkCalicoNetworkProviderArgs, GetClusterRkeConfigNetworkCalicoNetworkProviderPtr and GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput` via: // -// GetClusterTemplateMemberArray{ GetClusterTemplateMemberArgs{...} } -type GetClusterTemplateMemberArrayInput interface { +// GetClusterRkeConfigNetworkCalicoNetworkProviderArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput interface { pulumi.Input - ToGetClusterTemplateMemberArrayOutput() GetClusterTemplateMemberArrayOutput - ToGetClusterTemplateMemberArrayOutputWithContext(context.Context) GetClusterTemplateMemberArrayOutput + ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput + ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput } -type GetClusterTemplateMemberArray []GetClusterTemplateMemberInput +type getClusterRkeConfigNetworkCalicoNetworkProviderPtrType GetClusterRkeConfigNetworkCalicoNetworkProviderArgs -func (GetClusterTemplateMemberArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateMember)(nil)).Elem() +func GetClusterRkeConfigNetworkCalicoNetworkProviderPtr(v *GetClusterRkeConfigNetworkCalicoNetworkProviderArgs) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput { + return (*getClusterRkeConfigNetworkCalicoNetworkProviderPtrType)(v) } -func (i GetClusterTemplateMemberArray) ToGetClusterTemplateMemberArrayOutput() GetClusterTemplateMemberArrayOutput { - return i.ToGetClusterTemplateMemberArrayOutputWithContext(context.Background()) +func (*getClusterRkeConfigNetworkCalicoNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (i GetClusterTemplateMemberArray) ToGetClusterTemplateMemberArrayOutputWithContext(ctx context.Context) GetClusterTemplateMemberArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateMemberArrayOutput) +func (i *getClusterRkeConfigNetworkCalicoNetworkProviderPtrType) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return i.ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -type GetClusterTemplateMemberOutput struct{ *pulumi.OutputState } +func (i *getClusterRkeConfigNetworkCalicoNetworkProviderPtrType) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) +} -func (GetClusterTemplateMemberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateMember)(nil)).Elem() +type GetClusterRkeConfigNetworkCalicoNetworkProviderOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateMemberOutput) ToGetClusterTemplateMemberOutput() GetClusterTemplateMemberOutput { +func (o GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderOutput { return o } -func (o GetClusterTemplateMemberOutput) ToGetClusterTemplateMemberOutputWithContext(ctx context.Context) GetClusterTemplateMemberOutput { +func (o GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderOutput { return o } -func (o GetClusterTemplateMemberOutput) AccessType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateMember) *string { return v.AccessType }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateMemberOutput) GroupPrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateMember) *string { return v.GroupPrincipalId }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigNetworkCalicoNetworkProvider) *GetClusterRkeConfigNetworkCalicoNetworkProvider { + return &v + }).(GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) } -func (o GetClusterTemplateMemberOutput) UserPrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateMember) *string { return v.UserPrincipalId }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) CloudProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkCalicoNetworkProvider) string { return v.CloudProvider }).(pulumi.StringOutput) } -type GetClusterTemplateMemberArrayOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateMemberArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateMember)(nil)).Elem() +func (GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateMemberArrayOutput) ToGetClusterTemplateMemberArrayOutput() GetClusterTemplateMemberArrayOutput { +func (o GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { return o } -func (o GetClusterTemplateMemberArrayOutput) ToGetClusterTemplateMemberArrayOutputWithContext(ctx context.Context) GetClusterTemplateMemberArrayOutput { +func (o GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput { return o } -func (o GetClusterTemplateMemberArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateMemberOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateMember { - return vs[0].([]GetClusterTemplateMember)[vs[1].(int)] - }).(GetClusterTemplateMemberOutput) +func (o GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) Elem() GetClusterRkeConfigNetworkCalicoNetworkProviderOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkCalicoNetworkProvider) GetClusterRkeConfigNetworkCalicoNetworkProvider { + if v != nil { + return *v + } + var ret GetClusterRkeConfigNetworkCalicoNetworkProvider + return ret + }).(GetClusterRkeConfigNetworkCalicoNetworkProviderOutput) } -type GetClusterTemplateTemplateRevision struct { - // (Computed) Annotations for the cluster template (map) - Annotations map[string]interface{} `pulumi:"annotations"` - ClusterConfig GetClusterTemplateTemplateRevisionClusterConfig `pulumi:"clusterConfig"` - ClusterTemplateId string `pulumi:"clusterTemplateId"` - Default *bool `pulumi:"default"` - Enabled *bool `pulumi:"enabled"` - // (Computed) The ID of the resource (string) - Id string `pulumi:"id"` - // (Computed) Labels for the cluster template (map) - Labels map[string]interface{} `pulumi:"labels"` - // The cluster template name (string) - Name string `pulumi:"name"` - Questions []GetClusterTemplateTemplateRevisionQuestion `pulumi:"questions"` +func (o GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput) CloudProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkCalicoNetworkProvider) *string { + if v == nil { + return nil + } + return &v.CloudProvider + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionInput is an input type that accepts GetClusterTemplateTemplateRevisionArgs and GetClusterTemplateTemplateRevisionOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionInput` via: +type GetClusterRkeConfigNetworkCanalNetworkProvider struct { + Iface string `pulumi:"iface"` +} + +// GetClusterRkeConfigNetworkCanalNetworkProviderInput is an input type that accepts GetClusterRkeConfigNetworkCanalNetworkProviderArgs and GetClusterRkeConfigNetworkCanalNetworkProviderOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkCanalNetworkProviderInput` via: // -// GetClusterTemplateTemplateRevisionArgs{...} -type GetClusterTemplateTemplateRevisionInput interface { +// GetClusterRkeConfigNetworkCanalNetworkProviderArgs{...} +type GetClusterRkeConfigNetworkCanalNetworkProviderInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionOutput() GetClusterTemplateTemplateRevisionOutput - ToGetClusterTemplateTemplateRevisionOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionOutput + ToGetClusterRkeConfigNetworkCanalNetworkProviderOutput() GetClusterRkeConfigNetworkCanalNetworkProviderOutput + ToGetClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderOutput } -type GetClusterTemplateTemplateRevisionArgs struct { - // (Computed) Annotations for the cluster template (map) - Annotations pulumi.MapInput `pulumi:"annotations"` - ClusterConfig GetClusterTemplateTemplateRevisionClusterConfigInput `pulumi:"clusterConfig"` - ClusterTemplateId pulumi.StringInput `pulumi:"clusterTemplateId"` - Default pulumi.BoolPtrInput `pulumi:"default"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - // (Computed) The ID of the resource (string) - Id pulumi.StringInput `pulumi:"id"` - // (Computed) Labels for the cluster template (map) - Labels pulumi.MapInput `pulumi:"labels"` - // The cluster template name (string) - Name pulumi.StringInput `pulumi:"name"` - Questions GetClusterTemplateTemplateRevisionQuestionArrayInput `pulumi:"questions"` +type GetClusterRkeConfigNetworkCanalNetworkProviderArgs struct { + Iface pulumi.StringInput `pulumi:"iface"` } -func (GetClusterTemplateTemplateRevisionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevision)(nil)).Elem() +func (GetClusterRkeConfigNetworkCanalNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionArgs) ToGetClusterTemplateTemplateRevisionOutput() GetClusterTemplateTemplateRevisionOutput { - return i.ToGetClusterTemplateTemplateRevisionOutputWithContext(context.Background()) +func (i GetClusterRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterRkeConfigNetworkCanalNetworkProviderOutput() GetClusterRkeConfigNetworkCanalNetworkProviderOutput { + return i.ToGetClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionArgs) ToGetClusterTemplateTemplateRevisionOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionOutput) +func (i GetClusterRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCanalNetworkProviderOutput) } -// GetClusterTemplateTemplateRevisionArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionArray and GetClusterTemplateTemplateRevisionArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionArrayInput` via: +func (i GetClusterRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return i.ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +} + +func (i GetClusterRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCanalNetworkProviderOutput).ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx) +} + +// GetClusterRkeConfigNetworkCanalNetworkProviderPtrInput is an input type that accepts GetClusterRkeConfigNetworkCanalNetworkProviderArgs, GetClusterRkeConfigNetworkCanalNetworkProviderPtr and GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkCanalNetworkProviderPtrInput` via: // -// GetClusterTemplateTemplateRevisionArray{ GetClusterTemplateTemplateRevisionArgs{...} } -type GetClusterTemplateTemplateRevisionArrayInput interface { +// GetClusterRkeConfigNetworkCanalNetworkProviderArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigNetworkCanalNetworkProviderPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionArrayOutput() GetClusterTemplateTemplateRevisionArrayOutput - ToGetClusterTemplateTemplateRevisionArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionArrayOutput + ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput + ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput } -type GetClusterTemplateTemplateRevisionArray []GetClusterTemplateTemplateRevisionInput +type getClusterRkeConfigNetworkCanalNetworkProviderPtrType GetClusterRkeConfigNetworkCanalNetworkProviderArgs -func (GetClusterTemplateTemplateRevisionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevision)(nil)).Elem() +func GetClusterRkeConfigNetworkCanalNetworkProviderPtr(v *GetClusterRkeConfigNetworkCanalNetworkProviderArgs) GetClusterRkeConfigNetworkCanalNetworkProviderPtrInput { + return (*getClusterRkeConfigNetworkCanalNetworkProviderPtrType)(v) } -func (i GetClusterTemplateTemplateRevisionArray) ToGetClusterTemplateTemplateRevisionArrayOutput() GetClusterTemplateTemplateRevisionArrayOutput { - return i.ToGetClusterTemplateTemplateRevisionArrayOutputWithContext(context.Background()) +func (*getClusterRkeConfigNetworkCanalNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionArray) ToGetClusterTemplateTemplateRevisionArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionArrayOutput) +func (i *getClusterRkeConfigNetworkCanalNetworkProviderPtrType) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return i.ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionOutput struct{ *pulumi.OutputState } +func (i *getClusterRkeConfigNetworkCanalNetworkProviderPtrType) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) +} -func (GetClusterTemplateTemplateRevisionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevision)(nil)).Elem() +type GetClusterRkeConfigNetworkCanalNetworkProviderOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigNetworkCanalNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionOutput) ToGetClusterTemplateTemplateRevisionOutput() GetClusterTemplateTemplateRevisionOutput { +func (o GetClusterRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderOutput() GetClusterRkeConfigNetworkCanalNetworkProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionOutput) ToGetClusterTemplateTemplateRevisionOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionOutput { +func (o GetClusterRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderOutput { return o } -// (Computed) Annotations for the cluster template (map) -func (o GetClusterTemplateTemplateRevisionOutput) Annotations() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevision) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) +func (o GetClusterRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionOutput) ClusterConfig() GetClusterTemplateTemplateRevisionClusterConfigOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevision) GetClusterTemplateTemplateRevisionClusterConfig { - return v.ClusterConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigOutput) +func (o GetClusterRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigNetworkCanalNetworkProvider) *GetClusterRkeConfigNetworkCanalNetworkProvider { + return &v + }).(GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionOutput) ClusterTemplateId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevision) string { return v.ClusterTemplateId }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkCanalNetworkProviderOutput) Iface() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkCanalNetworkProvider) string { return v.Iface }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionOutput) Default() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevision) *bool { return v.Default }).(pulumi.BoolPtrOutput) -} +type GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (o GetClusterTemplateTemplateRevisionOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevision) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -// (Computed) The ID of the resource (string) -func (o GetClusterTemplateTemplateRevisionOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevision) string { return v.Id }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o } -// (Computed) Labels for the cluster template (map) -func (o GetClusterTemplateTemplateRevisionOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevision) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +func (o GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o } -// The cluster template name (string) -func (o GetClusterTemplateTemplateRevisionOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevision) string { return v.Name }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) Elem() GetClusterRkeConfigNetworkCanalNetworkProviderOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkCanalNetworkProvider) GetClusterRkeConfigNetworkCanalNetworkProvider { + if v != nil { + return *v + } + var ret GetClusterRkeConfigNetworkCanalNetworkProvider + return ret + }).(GetClusterRkeConfigNetworkCanalNetworkProviderOutput) } -func (o GetClusterTemplateTemplateRevisionOutput) Questions() GetClusterTemplateTemplateRevisionQuestionArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevision) []GetClusterTemplateTemplateRevisionQuestion { - return v.Questions - }).(GetClusterTemplateTemplateRevisionQuestionArrayOutput) +func (o GetClusterRkeConfigNetworkCanalNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkCanalNetworkProvider) *string { + if v == nil { + return nil + } + return &v.Iface + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevision)(nil)).Elem() +type GetClusterRkeConfigNetworkFlannelNetworkProvider struct { + Iface string `pulumi:"iface"` } -func (o GetClusterTemplateTemplateRevisionArrayOutput) ToGetClusterTemplateTemplateRevisionArrayOutput() GetClusterTemplateTemplateRevisionArrayOutput { - return o -} +// GetClusterRkeConfigNetworkFlannelNetworkProviderInput is an input type that accepts GetClusterRkeConfigNetworkFlannelNetworkProviderArgs and GetClusterRkeConfigNetworkFlannelNetworkProviderOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkFlannelNetworkProviderInput` via: +// +// GetClusterRkeConfigNetworkFlannelNetworkProviderArgs{...} +type GetClusterRkeConfigNetworkFlannelNetworkProviderInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionArrayOutput) ToGetClusterTemplateTemplateRevisionArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionArrayOutput { - return o + ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderOutput + ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderOutput } -func (o GetClusterTemplateTemplateRevisionArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevision { - return vs[0].([]GetClusterTemplateTemplateRevision)[vs[1].(int)] - }).(GetClusterTemplateTemplateRevisionOutput) +type GetClusterRkeConfigNetworkFlannelNetworkProviderArgs struct { + Iface pulumi.StringInput `pulumi:"iface"` } -type GetClusterTemplateTemplateRevisionClusterConfig struct { - ClusterAuthEndpoint GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint `pulumi:"clusterAuthEndpoint"` - DefaultClusterRoleForProjectMembers string `pulumi:"defaultClusterRoleForProjectMembers"` - DefaultPodSecurityPolicyTemplateId string `pulumi:"defaultPodSecurityPolicyTemplateId"` - DesiredAgentImage string `pulumi:"desiredAgentImage"` - DesiredAuthImage string `pulumi:"desiredAuthImage"` - DockerRootDir string `pulumi:"dockerRootDir"` - EnableClusterAlerting *bool `pulumi:"enableClusterAlerting"` - EnableClusterMonitoring *bool `pulumi:"enableClusterMonitoring"` - EnableNetworkPolicy *bool `pulumi:"enableNetworkPolicy"` - RkeConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfig `pulumi:"rkeConfig"` - ScheduledClusterScan *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan `pulumi:"scheduledClusterScan"` - WindowsPreferedCluster *bool `pulumi:"windowsPreferedCluster"` +func (GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -// GetClusterTemplateTemplateRevisionClusterConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigOutput - ToGetClusterTemplateTemplateRevisionClusterConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigOutput +func (i GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderOutput { + return i.ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigArgs struct { - ClusterAuthEndpoint GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput `pulumi:"clusterAuthEndpoint"` - DefaultClusterRoleForProjectMembers pulumi.StringInput `pulumi:"defaultClusterRoleForProjectMembers"` - DefaultPodSecurityPolicyTemplateId pulumi.StringInput `pulumi:"defaultPodSecurityPolicyTemplateId"` - DesiredAgentImage pulumi.StringInput `pulumi:"desiredAgentImage"` - DesiredAuthImage pulumi.StringInput `pulumi:"desiredAuthImage"` - DockerRootDir pulumi.StringInput `pulumi:"dockerRootDir"` - EnableClusterAlerting pulumi.BoolPtrInput `pulumi:"enableClusterAlerting"` - EnableClusterMonitoring pulumi.BoolPtrInput `pulumi:"enableClusterMonitoring"` - EnableNetworkPolicy pulumi.BoolPtrInput `pulumi:"enableNetworkPolicy"` - RkeConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfigInput `pulumi:"rkeConfig"` - ScheduledClusterScan GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput `pulumi:"scheduledClusterScan"` - WindowsPreferedCluster pulumi.BoolPtrInput `pulumi:"windowsPreferedCluster"` +func (i GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfig)(nil)).Elem() +func (i GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return i.ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigOutputWithContext(context.Background()) +func (i GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkFlannelNetworkProviderOutput).ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx) } -func (i GetClusterTemplateTemplateRevisionClusterConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigOutput) +// GetClusterRkeConfigNetworkFlannelNetworkProviderPtrInput is an input type that accepts GetClusterRkeConfigNetworkFlannelNetworkProviderArgs, GetClusterRkeConfigNetworkFlannelNetworkProviderPtr and GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkFlannelNetworkProviderPtrInput` via: +// +// GetClusterRkeConfigNetworkFlannelNetworkProviderArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigNetworkFlannelNetworkProviderPtrInput interface { + pulumi.Input + + ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput + ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput } -type GetClusterTemplateTemplateRevisionClusterConfigOutput struct{ *pulumi.OutputState } +type getClusterRkeConfigNetworkFlannelNetworkProviderPtrType GetClusterRkeConfigNetworkFlannelNetworkProviderArgs -func (GetClusterTemplateTemplateRevisionClusterConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfig)(nil)).Elem() +func GetClusterRkeConfigNetworkFlannelNetworkProviderPtr(v *GetClusterRkeConfigNetworkFlannelNetworkProviderArgs) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrInput { + return (*getClusterRkeConfigNetworkFlannelNetworkProviderPtrType)(v) } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigOutput { - return o +func (*getClusterRkeConfigNetworkFlannelNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigOutput { - return o +func (i *getClusterRkeConfigNetworkFlannelNetworkProviderPtrType) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return i.ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) ClusterAuthEndpoint() GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint { - return v.ClusterAuthEndpoint - }).(GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) +func (i *getClusterRkeConfigNetworkFlannelNetworkProviderPtrType) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) DefaultClusterRoleForProjectMembers() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) string { - return v.DefaultClusterRoleForProjectMembers - }).(pulumi.StringOutput) +type GetClusterRkeConfigNetworkFlannelNetworkProviderOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) DefaultPodSecurityPolicyTemplateId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) string { - return v.DefaultPodSecurityPolicyTemplateId - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) DesiredAgentImage() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) string { return v.DesiredAgentImage }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) DesiredAuthImage() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) string { return v.DesiredAuthImage }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) DockerRootDir() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) string { return v.DockerRootDir }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigNetworkFlannelNetworkProvider) *GetClusterRkeConfigNetworkFlannelNetworkProvider { + return &v + }).(GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) EnableClusterAlerting() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableClusterAlerting }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) Iface() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkFlannelNetworkProvider) string { return v.Iface }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) EnableClusterMonitoring() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableClusterMonitoring }).(pulumi.BoolPtrOutput) +type GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) EnableNetworkPolicy() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableNetworkPolicy }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) RkeConfig() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfig { - return v.RkeConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) +func (o GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) ScheduledClusterScan() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { - return v.ScheduledClusterScan - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) +func (o GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) Elem() GetClusterRkeConfigNetworkFlannelNetworkProviderOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkFlannelNetworkProvider) GetClusterRkeConfigNetworkFlannelNetworkProvider { + if v != nil { + return *v + } + var ret GetClusterRkeConfigNetworkFlannelNetworkProvider + return ret + }).(GetClusterRkeConfigNetworkFlannelNetworkProviderOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) WindowsPreferedCluster() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) *bool { return v.WindowsPreferedCluster }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigNetworkFlannelNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkFlannelNetworkProvider) *string { + if v == nil { + return nil + } + return &v.Iface + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint struct { - CaCerts *string `pulumi:"caCerts"` - Enabled *bool `pulumi:"enabled"` - Fqdn *string `pulumi:"fqdn"` +type GetClusterRkeConfigNetworkToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds int `pulumi:"seconds"` + Value *string `pulumi:"value"` } -// GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs and GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput` via: +// GetClusterRkeConfigNetworkTolerationInput is an input type that accepts GetClusterRkeConfigNetworkTolerationArgs and GetClusterRkeConfigNetworkTolerationOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkTolerationInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput interface { +// GetClusterRkeConfigNetworkTolerationArgs{...} +type GetClusterRkeConfigNetworkTolerationInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput - ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput + ToGetClusterRkeConfigNetworkTolerationOutput() GetClusterRkeConfigNetworkTolerationOutput + ToGetClusterRkeConfigNetworkTolerationOutputWithContext(context.Context) GetClusterRkeConfigNetworkTolerationOutput } -type GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs struct { - CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` +type GetClusterRkeConfigNetworkTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() +func (GetClusterRkeConfigNetworkTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkToleration)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(context.Background()) +func (i GetClusterRkeConfigNetworkTolerationArgs) ToGetClusterRkeConfigNetworkTolerationOutput() GetClusterRkeConfigNetworkTolerationOutput { + return i.ToGetClusterRkeConfigNetworkTolerationOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) +func (i GetClusterRkeConfigNetworkTolerationArgs) ToGetClusterRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkTolerationOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput struct{ *pulumi.OutputState } +// GetClusterRkeConfigNetworkTolerationArrayInput is an input type that accepts GetClusterRkeConfigNetworkTolerationArray and GetClusterRkeConfigNetworkTolerationArrayOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkTolerationArrayInput` via: +// +// GetClusterRkeConfigNetworkTolerationArray{ GetClusterRkeConfigNetworkTolerationArgs{...} } +type GetClusterRkeConfigNetworkTolerationArrayInput interface { + pulumi.Input -func (GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() + ToGetClusterRkeConfigNetworkTolerationArrayOutput() GetClusterRkeConfigNetworkTolerationArrayOutput + ToGetClusterRkeConfigNetworkTolerationArrayOutputWithContext(context.Context) GetClusterRkeConfigNetworkTolerationArrayOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { - return o -} +type GetClusterRkeConfigNetworkTolerationArray []GetClusterRkeConfigNetworkTolerationInput -func (o GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { - return o +func (GetClusterRkeConfigNetworkTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigNetworkToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) +func (i GetClusterRkeConfigNetworkTolerationArray) ToGetClusterRkeConfigNetworkTolerationArrayOutput() GetClusterRkeConfigNetworkTolerationArrayOutput { + return i.ToGetClusterRkeConfigNetworkTolerationArrayOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (i GetClusterRkeConfigNetworkTolerationArray) ToGetClusterRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkTolerationArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigNetworkTolerationOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigNetworkTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkToleration)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfig struct { - AddonJobTimeout int `pulumi:"addonJobTimeout"` - Addons *string `pulumi:"addons"` - AddonsIncludes []string `pulumi:"addonsIncludes"` - Authentication GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication `pulumi:"authentication"` - Authorization GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization `pulumi:"authorization"` - BastionHost GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost `pulumi:"bastionHost"` - CloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider `pulumi:"cloudProvider"` - Dns GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns `pulumi:"dns"` - EnableCriDockerd *bool `pulumi:"enableCriDockerd"` - IgnoreDockerVersion *bool `pulumi:"ignoreDockerVersion"` - Ingress GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress `pulumi:"ingress"` - KubernetesVersion string `pulumi:"kubernetesVersion"` - Monitoring GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring `pulumi:"monitoring"` - Network GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork `pulumi:"network"` - Nodes []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode `pulumi:"nodes"` - PrefixPath string `pulumi:"prefixPath"` - PrivateRegistries []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry `pulumi:"privateRegistries"` - Services GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices `pulumi:"services"` - SshAgentAuth *bool `pulumi:"sshAgentAuth"` - SshCertPath string `pulumi:"sshCertPath"` - SshKeyPath string `pulumi:"sshKeyPath"` - UpgradeStrategy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy `pulumi:"upgradeStrategy"` - WinPrefixPath string `pulumi:"winPrefixPath"` +func (o GetClusterRkeConfigNetworkTolerationOutput) ToGetClusterRkeConfigNetworkTolerationOutput() GetClusterRkeConfigNetworkTolerationOutput { + return o } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigInput interface { - pulumi.Input +func (o GetClusterRkeConfigNetworkTolerationOutput) ToGetClusterRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkTolerationOutput { + return o +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput +func (o GetClusterRkeConfigNetworkTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs struct { - AddonJobTimeout pulumi.IntInput `pulumi:"addonJobTimeout"` - Addons pulumi.StringPtrInput `pulumi:"addons"` - AddonsIncludes pulumi.StringArrayInput `pulumi:"addonsIncludes"` - Authentication GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput `pulumi:"authentication"` - Authorization GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput `pulumi:"authorization"` - BastionHost GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput `pulumi:"bastionHost"` - CloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput `pulumi:"cloudProvider"` - Dns GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput `pulumi:"dns"` - EnableCriDockerd pulumi.BoolPtrInput `pulumi:"enableCriDockerd"` - IgnoreDockerVersion pulumi.BoolPtrInput `pulumi:"ignoreDockerVersion"` - Ingress GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput `pulumi:"ingress"` - KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` - Monitoring GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput `pulumi:"monitoring"` - Network GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput `pulumi:"network"` - Nodes GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput `pulumi:"nodes"` - PrefixPath pulumi.StringInput `pulumi:"prefixPath"` - PrivateRegistries GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput `pulumi:"privateRegistries"` - Services GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput `pulumi:"services"` - SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` - SshCertPath pulumi.StringInput `pulumi:"sshCertPath"` - SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` - UpgradeStrategy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput `pulumi:"upgradeStrategy"` - WinPrefixPath pulumi.StringInput `pulumi:"winPrefixPath"` +func (o GetClusterRkeConfigNetworkTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkToleration) string { return v.Key }).(pulumi.StringOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfig)(nil)).Elem() +func (o GetClusterRkeConfigNetworkTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkToleration) *string { return v.Operator }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkTolerationOutput) Seconds() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkToleration) int { return v.Seconds }).(pulumi.IntOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) +func (o GetClusterRkeConfigNetworkTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkToleration) *string { return v.Value }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigNetworkTolerationArrayOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfig)(nil)).Elem() +func (GetClusterRkeConfigNetworkTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigNetworkToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { +func (o GetClusterRkeConfigNetworkTolerationArrayOutput) ToGetClusterRkeConfigNetworkTolerationArrayOutput() GetClusterRkeConfigNetworkTolerationArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { +func (o GetClusterRkeConfigNetworkTolerationArrayOutput) ToGetClusterRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkTolerationArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) AddonJobTimeout() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) int { return v.AddonJobTimeout }).(pulumi.IntOutput) +func (o GetClusterRkeConfigNetworkTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigNetworkTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigNetworkToleration { + return vs[0].([]GetClusterRkeConfigNetworkToleration)[vs[1].(int)] + }).(GetClusterRkeConfigNetworkTolerationOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Addons() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.Addons }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigNetworkWeaveNetworkProvider struct { + Password string `pulumi:"password"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) AddonsIncludes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) []string { return v.AddonsIncludes }).(pulumi.StringArrayOutput) -} +// GetClusterRkeConfigNetworkWeaveNetworkProviderInput is an input type that accepts GetClusterRkeConfigNetworkWeaveNetworkProviderArgs and GetClusterRkeConfigNetworkWeaveNetworkProviderOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkWeaveNetworkProviderInput` via: +// +// GetClusterRkeConfigNetworkWeaveNetworkProviderArgs{...} +type GetClusterRkeConfigNetworkWeaveNetworkProviderInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Authentication() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication { - return v.Authentication - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) + ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderOutput + ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Authorization() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization { - return v.Authorization - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) +type GetClusterRkeConfigNetworkWeaveNetworkProviderArgs struct { + Password pulumi.StringInput `pulumi:"password"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) BastionHost() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost { - return v.BastionHost - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) +func (GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) CloudProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider { - return v.CloudProvider - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) +func (i GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderOutput { + return i.ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Dns() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns { - return v.Dns - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) +func (i GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) EnableCriDockerd() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.EnableCriDockerd }).(pulumi.BoolPtrOutput) +func (i GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return i.ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) IgnoreDockerVersion() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.IgnoreDockerVersion }).(pulumi.BoolPtrOutput) +func (i GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkWeaveNetworkProviderOutput).ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Ingress() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress { - return v.Ingress - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) -} +// GetClusterRkeConfigNetworkWeaveNetworkProviderPtrInput is an input type that accepts GetClusterRkeConfigNetworkWeaveNetworkProviderArgs, GetClusterRkeConfigNetworkWeaveNetworkProviderPtr and GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNetworkWeaveNetworkProviderPtrInput` via: +// +// GetClusterRkeConfigNetworkWeaveNetworkProviderArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigNetworkWeaveNetworkProviderPtrInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) KubernetesVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) string { return v.KubernetesVersion }).(pulumi.StringOutput) + ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput + ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Monitoring() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring { - return v.Monitoring - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) -} +type getClusterRkeConfigNetworkWeaveNetworkProviderPtrType GetClusterRkeConfigNetworkWeaveNetworkProviderArgs -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Network() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { - return v.Network - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) +func GetClusterRkeConfigNetworkWeaveNetworkProviderPtr(v *GetClusterRkeConfigNetworkWeaveNetworkProviderArgs) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrInput { + return (*getClusterRkeConfigNetworkWeaveNetworkProviderPtrType)(v) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Nodes() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode { - return v.Nodes - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) +func (*getClusterRkeConfigNetworkWeaveNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) PrefixPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) string { return v.PrefixPath }).(pulumi.StringOutput) +func (i *getClusterRkeConfigNetworkWeaveNetworkProviderPtrType) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return i.ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) PrivateRegistries() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry { - return v.PrivateRegistries - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) +func (i *getClusterRkeConfigNetworkWeaveNetworkProviderPtrType) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Services() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices { - return v.Services - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) -} +type GetClusterRkeConfigNetworkWeaveNetworkProviderOutput struct{ *pulumi.OutputState } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) +func (GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshCertPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) string { return v.SshCertPath }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshKeyPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) string { return v.SshKeyPath }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) UpgradeStrategy() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy { - return v.UpgradeStrategy - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) +func (o GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) WinPrefixPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) string { return v.WinPrefixPath }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigNetworkWeaveNetworkProvider) *GetClusterRkeConfigNetworkWeaveNetworkProvider { + return &v + }).(GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication struct { - Sans []string `pulumi:"sans"` - Strategy string `pulumi:"strategy"` +func (o GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNetworkWeaveNetworkProvider) string { return v.Password }).(pulumi.StringOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput interface { - pulumi.Input +type GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput struct{ *pulumi.OutputState } - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput +func (GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs struct { - Sans pulumi.StringArrayInput `pulumi:"sans"` - Strategy pulumi.StringInput `pulumi:"strategy"` +func (o GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() +func (o GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToGetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) Elem() GetClusterRkeConfigNetworkWeaveNetworkProviderOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkWeaveNetworkProvider) GetClusterRkeConfigNetworkWeaveNetworkProvider { + if v != nil { + return *v + } + var ret GetClusterRkeConfigNetworkWeaveNetworkProvider + return ret + }).(GetClusterRkeConfigNetworkWeaveNetworkProviderOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) +func (o GetClusterRkeConfigNetworkWeaveNetworkProviderPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigNetworkWeaveNetworkProvider) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() +type GetClusterRkeConfigNode struct { + Address string `pulumi:"address"` + DockerSocket string `pulumi:"dockerSocket"` + HostnameOverride *string `pulumi:"hostnameOverride"` + InternalAddress *string `pulumi:"internalAddress"` + // (Computed) Labels for Node Pool object (map) + Labels map[string]interface{} `pulumi:"labels"` + NodeId *string `pulumi:"nodeId"` + Port *string `pulumi:"port"` + Roles []string `pulumi:"roles"` + SshAgentAuth *bool `pulumi:"sshAgentAuth"` + SshKey string `pulumi:"sshKey"` + SshKeyPath string `pulumi:"sshKeyPath"` + User string `pulumi:"user"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { - return o +// GetClusterRkeConfigNodeInput is an input type that accepts GetClusterRkeConfigNodeArgs and GetClusterRkeConfigNodeOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNodeInput` via: +// +// GetClusterRkeConfigNodeArgs{...} +type GetClusterRkeConfigNodeInput interface { + pulumi.Input + + ToGetClusterRkeConfigNodeOutput() GetClusterRkeConfigNodeOutput + ToGetClusterRkeConfigNodeOutputWithContext(context.Context) GetClusterRkeConfigNodeOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { - return o +type GetClusterRkeConfigNodeArgs struct { + Address pulumi.StringInput `pulumi:"address"` + DockerSocket pulumi.StringInput `pulumi:"dockerSocket"` + HostnameOverride pulumi.StringPtrInput `pulumi:"hostnameOverride"` + InternalAddress pulumi.StringPtrInput `pulumi:"internalAddress"` + // (Computed) Labels for Node Pool object (map) + Labels pulumi.MapInput `pulumi:"labels"` + NodeId pulumi.StringPtrInput `pulumi:"nodeId"` + Port pulumi.StringPtrInput `pulumi:"port"` + Roles pulumi.StringArrayInput `pulumi:"roles"` + SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` + SshKey pulumi.StringInput `pulumi:"sshKey"` + SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` + User pulumi.StringInput `pulumi:"user"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) Sans() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) []string { return v.Sans }).(pulumi.StringArrayOutput) +func (GetClusterRkeConfigNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNode)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) Strategy() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) string { - return v.Strategy - }).(pulumi.StringOutput) +func (i GetClusterRkeConfigNodeArgs) ToGetClusterRkeConfigNodeOutput() GetClusterRkeConfigNodeOutput { + return i.ToGetClusterRkeConfigNodeOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization struct { - Mode *string `pulumi:"mode"` - Options map[string]interface{} `pulumi:"options"` +func (i GetClusterRkeConfigNodeArgs) ToGetClusterRkeConfigNodeOutputWithContext(ctx context.Context) GetClusterRkeConfigNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNodeOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput` via: +// GetClusterRkeConfigNodeArrayInput is an input type that accepts GetClusterRkeConfigNodeArray and GetClusterRkeConfigNodeArrayOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigNodeArrayInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput interface { +// GetClusterRkeConfigNodeArray{ GetClusterRkeConfigNodeArgs{...} } +type GetClusterRkeConfigNodeArrayInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput + ToGetClusterRkeConfigNodeArrayOutput() GetClusterRkeConfigNodeArrayOutput + ToGetClusterRkeConfigNodeArrayOutputWithContext(context.Context) GetClusterRkeConfigNodeArrayOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs struct { - Mode pulumi.StringPtrInput `pulumi:"mode"` - Options pulumi.MapInput `pulumi:"options"` -} +type GetClusterRkeConfigNodeArray []GetClusterRkeConfigNodeInput -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() +func (GetClusterRkeConfigNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigNode)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(context.Background()) +func (i GetClusterRkeConfigNodeArray) ToGetClusterRkeConfigNodeArrayOutput() GetClusterRkeConfigNodeArrayOutput { + return i.ToGetClusterRkeConfigNodeArrayOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) +func (i GetClusterRkeConfigNodeArray) ToGetClusterRkeConfigNodeArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigNodeArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigNodeOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() +func (GetClusterRkeConfigNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigNode)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { +func (o GetClusterRkeConfigNodeOutput) ToGetClusterRkeConfigNodeOutput() GetClusterRkeConfigNodeOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { +func (o GetClusterRkeConfigNodeOutput) ToGetClusterRkeConfigNodeOutputWithContext(ctx context.Context) GetClusterRkeConfigNodeOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) *string { return v.Mode }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigNodeOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) string { return v.Address }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) map[string]interface{} { - return v.Options - }).(pulumi.MapOutput) +func (o GetClusterRkeConfigNodeOutput) DockerSocket() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) string { return v.DockerSocket }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost struct { - Address string `pulumi:"address"` - Port *string `pulumi:"port"` - SshAgentAuth *bool `pulumi:"sshAgentAuth"` - SshKey string `pulumi:"sshKey"` - SshKeyPath string `pulumi:"sshKeyPath"` - User string `pulumi:"user"` +func (o GetClusterRkeConfigNodeOutput) HostnameOverride() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) *string { return v.HostnameOverride }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput interface { - pulumi.Input +func (o GetClusterRkeConfigNodeOutput) InternalAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) *string { return v.InternalAddress }).(pulumi.StringPtrOutput) +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput +// (Computed) Labels for Node Pool object (map) +func (o GetClusterRkeConfigNodeOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs struct { - Address pulumi.StringInput `pulumi:"address"` - Port pulumi.StringPtrInput `pulumi:"port"` - SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` - SshKey pulumi.StringInput `pulumi:"sshKey"` - SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` - User pulumi.StringInput `pulumi:"user"` +func (o GetClusterRkeConfigNodeOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) *string { return v.NodeId }).(pulumi.StringPtrOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() +func (o GetClusterRkeConfigNodeOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) *string { return v.Port }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(context.Background()) +func (o GetClusterRkeConfigNodeOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) []string { return v.Roles }).(pulumi.StringArrayOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) +func (o GetClusterRkeConfigNodeOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigNodeOutput) SshKey() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) string { return v.SshKey }).(pulumi.StringOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() +func (o GetClusterRkeConfigNodeOutput) SshKeyPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) string { return v.SshKeyPath }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { +func (o GetClusterRkeConfigNodeOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigNode) string { return v.User }).(pulumi.StringOutput) +} + +type GetClusterRkeConfigNodeArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigNode)(nil)).Elem() +} + +func (o GetClusterRkeConfigNodeArrayOutput) ToGetClusterRkeConfigNodeArrayOutput() GetClusterRkeConfigNodeArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { +func (o GetClusterRkeConfigNodeArrayOutput) ToGetClusterRkeConfigNodeArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigNodeArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) Address() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { return v.Address }).(pulumi.StringOutput) +func (o GetClusterRkeConfigNodeArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigNode { + return vs[0].([]GetClusterRkeConfigNode)[vs[1].(int)] + }).(GetClusterRkeConfigNodeOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { return v.Port }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigPrivateRegistry struct { + EcrCredentialPlugin *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin `pulumi:"ecrCredentialPlugin"` + IsDefault *bool `pulumi:"isDefault"` + Password *string `pulumi:"password"` + Url string `pulumi:"url"` + User *string `pulumi:"user"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *bool { - return v.SshAgentAuth - }).(pulumi.BoolPtrOutput) +// GetClusterRkeConfigPrivateRegistryInput is an input type that accepts GetClusterRkeConfigPrivateRegistryArgs and GetClusterRkeConfigPrivateRegistryOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigPrivateRegistryInput` via: +// +// GetClusterRkeConfigPrivateRegistryArgs{...} +type GetClusterRkeConfigPrivateRegistryInput interface { + pulumi.Input + + ToGetClusterRkeConfigPrivateRegistryOutput() GetClusterRkeConfigPrivateRegistryOutput + ToGetClusterRkeConfigPrivateRegistryOutputWithContext(context.Context) GetClusterRkeConfigPrivateRegistryOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshKey() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { return v.SshKey }).(pulumi.StringOutput) +type GetClusterRkeConfigPrivateRegistryArgs struct { + EcrCredentialPlugin GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput `pulumi:"ecrCredentialPlugin"` + IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` + Password pulumi.StringPtrInput `pulumi:"password"` + Url pulumi.StringInput `pulumi:"url"` + User pulumi.StringPtrInput `pulumi:"user"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshKeyPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { - return v.SshKeyPath - }).(pulumi.StringOutput) +func (GetClusterRkeConfigPrivateRegistryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigPrivateRegistry)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { return v.User }).(pulumi.StringOutput) +func (i GetClusterRkeConfigPrivateRegistryArgs) ToGetClusterRkeConfigPrivateRegistryOutput() GetClusterRkeConfigPrivateRegistryOutput { + return i.ToGetClusterRkeConfigPrivateRegistryOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider struct { - AwsCloudProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider `pulumi:"awsCloudProvider"` - AzureCloudProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider `pulumi:"azureCloudProvider"` - CustomCloudProvider string `pulumi:"customCloudProvider"` - // The cluster template name (string) - Name *string `pulumi:"name"` - OpenstackCloudProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider `pulumi:"openstackCloudProvider"` - VsphereCloudProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider `pulumi:"vsphereCloudProvider"` +func (i GetClusterRkeConfigPrivateRegistryArgs) ToGetClusterRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigPrivateRegistryOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput` via: +// GetClusterRkeConfigPrivateRegistryArrayInput is an input type that accepts GetClusterRkeConfigPrivateRegistryArray and GetClusterRkeConfigPrivateRegistryArrayOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigPrivateRegistryArrayInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput interface { +// GetClusterRkeConfigPrivateRegistryArray{ GetClusterRkeConfigPrivateRegistryArgs{...} } +type GetClusterRkeConfigPrivateRegistryArrayInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput + ToGetClusterRkeConfigPrivateRegistryArrayOutput() GetClusterRkeConfigPrivateRegistryArrayOutput + ToGetClusterRkeConfigPrivateRegistryArrayOutputWithContext(context.Context) GetClusterRkeConfigPrivateRegistryArrayOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs struct { - AwsCloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput `pulumi:"awsCloudProvider"` - AzureCloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput `pulumi:"azureCloudProvider"` - CustomCloudProvider pulumi.StringInput `pulumi:"customCloudProvider"` - // The cluster template name (string) - Name pulumi.StringPtrInput `pulumi:"name"` - OpenstackCloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput `pulumi:"openstackCloudProvider"` - VsphereCloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput `pulumi:"vsphereCloudProvider"` -} +type GetClusterRkeConfigPrivateRegistryArray []GetClusterRkeConfigPrivateRegistryInput -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigPrivateRegistryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigPrivateRegistry)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(context.Background()) +func (i GetClusterRkeConfigPrivateRegistryArray) ToGetClusterRkeConfigPrivateRegistryArrayOutput() GetClusterRkeConfigPrivateRegistryArrayOutput { + return i.ToGetClusterRkeConfigPrivateRegistryArrayOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) +func (i GetClusterRkeConfigPrivateRegistryArray) ToGetClusterRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigPrivateRegistryArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigPrivateRegistryOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigPrivateRegistryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigPrivateRegistry)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { +func (o GetClusterRkeConfigPrivateRegistryOutput) ToGetClusterRkeConfigPrivateRegistryOutput() GetClusterRkeConfigPrivateRegistryOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { +func (o GetClusterRkeConfigPrivateRegistryOutput) ToGetClusterRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) AwsCloudProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { - return v.AwsCloudProvider - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) +func (o GetClusterRkeConfigPrivateRegistryOutput) EcrCredentialPlugin() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistry) *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin { + return v.EcrCredentialPlugin + }).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) AzureCloudProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { - return v.AzureCloudProvider - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) +func (o GetClusterRkeConfigPrivateRegistryOutput) IsDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistry) *bool { return v.IsDefault }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) CustomCloudProvider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) string { - return v.CustomCloudProvider - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigPrivateRegistryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistry) *string { return v.Password }).(pulumi.StringPtrOutput) } -// The cluster template name (string) -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigPrivateRegistryOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistry) string { return v.Url }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) OpenstackCloudProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { - return v.OpenstackCloudProvider - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) +func (o GetClusterRkeConfigPrivateRegistryOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistry) *string { return v.User }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) VsphereCloudProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { - return v.VsphereCloudProvider - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) +type GetClusterRkeConfigPrivateRegistryArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigPrivateRegistryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterRkeConfigPrivateRegistry)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider struct { - Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal `pulumi:"global"` - ServiceOverrides []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride `pulumi:"serviceOverrides"` +func (o GetClusterRkeConfigPrivateRegistryArrayOutput) ToGetClusterRkeConfigPrivateRegistryArrayOutput() GetClusterRkeConfigPrivateRegistryArrayOutput { + return o } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput` via: +func (o GetClusterRkeConfigPrivateRegistryArrayOutput) ToGetClusterRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryArrayOutput { + return o +} + +func (o GetClusterRkeConfigPrivateRegistryArrayOutput) Index(i pulumi.IntInput) GetClusterRkeConfigPrivateRegistryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterRkeConfigPrivateRegistry { + return vs[0].([]GetClusterRkeConfigPrivateRegistry)[vs[1].(int)] + }).(GetClusterRkeConfigPrivateRegistryOutput) +} + +type GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin struct { + AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` + AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` + AwsSessionToken *string `pulumi:"awsSessionToken"` +} + +// GetClusterRkeConfigPrivateRegistryEcrCredentialPluginInput is an input type that accepts GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs and GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigPrivateRegistryEcrCredentialPluginInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput interface { +// GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} +type GetClusterRkeConfigPrivateRegistryEcrCredentialPluginInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput + ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput + ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs struct { - Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput `pulumi:"global"` - ServiceOverrides GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput `pulumi:"serviceOverrides"` +type GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs struct { + AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` + AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` + AwsSessionToken pulumi.StringPtrInput `pulumi:"awsSessionToken"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Background()) +func (i GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return i.ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) +func (i GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return i.ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput).ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput` via: +// GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput is an input type that accepts GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs, GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtr and GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs{...} +// GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput interface { +type GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput + ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput + ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs +type getClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType)(v) +func GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtr(v *GetClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrInput { + return (*getClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +func (*getClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return i.ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) +func (i *getClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) + }).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { - return v.Global - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ServiceOverrides() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { - return v.ServiceOverrides - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsSecretAccessKey }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { return v.AwsSessionToken }).(pulumi.StringPtrOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() +type GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToGetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) Elem() GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return o.ApplyT(func(v *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider + var ret GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) + }).(GetClusterRkeConfigPrivateRegistryEcrCredentialPluginOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { if v == nil { return nil } - return &v.Global - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) + return v.AwsAccessKeyId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ServiceOverrides() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { if v == nil { return nil } - return v.ServiceOverrides - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) + return v.AwsSecretAccessKey + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal struct { - DisableSecurityGroupIngress *bool `pulumi:"disableSecurityGroupIngress"` - DisableStrictZoneCheck *bool `pulumi:"disableStrictZoneCheck"` - ElbSecurityGroup string `pulumi:"elbSecurityGroup"` - KubernetesClusterId string `pulumi:"kubernetesClusterId"` - KubernetesClusterTag string `pulumi:"kubernetesClusterTag"` - RoleArn string `pulumi:"roleArn"` - RouteTableId string `pulumi:"routeTableId"` - SubnetId string `pulumi:"subnetId"` - Vpc string `pulumi:"vpc"` - Zone string `pulumi:"zone"` +func (o GetClusterRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigPrivateRegistryEcrCredentialPlugin) *string { + if v == nil { + return nil + } + return v.AwsSessionToken + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput` via: +type GetClusterRkeConfigServices struct { + Etcd GetClusterRkeConfigServicesEtcd `pulumi:"etcd"` + KubeApi GetClusterRkeConfigServicesKubeApi `pulumi:"kubeApi"` + KubeController GetClusterRkeConfigServicesKubeController `pulumi:"kubeController"` + Kubelet GetClusterRkeConfigServicesKubelet `pulumi:"kubelet"` + Kubeproxy GetClusterRkeConfigServicesKubeproxy `pulumi:"kubeproxy"` + Scheduler GetClusterRkeConfigServicesScheduler `pulumi:"scheduler"` +} + +// GetClusterRkeConfigServicesInput is an input type that accepts GetClusterRkeConfigServicesArgs and GetClusterRkeConfigServicesOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput interface { +// GetClusterRkeConfigServicesArgs{...} +type GetClusterRkeConfigServicesInput interface { + pulumi.Input + + ToGetClusterRkeConfigServicesOutput() GetClusterRkeConfigServicesOutput + ToGetClusterRkeConfigServicesOutputWithContext(context.Context) GetClusterRkeConfigServicesOutput +} + +type GetClusterRkeConfigServicesArgs struct { + Etcd GetClusterRkeConfigServicesEtcdInput `pulumi:"etcd"` + KubeApi GetClusterRkeConfigServicesKubeApiInput `pulumi:"kubeApi"` + KubeController GetClusterRkeConfigServicesKubeControllerInput `pulumi:"kubeController"` + Kubelet GetClusterRkeConfigServicesKubeletInput `pulumi:"kubelet"` + Kubeproxy GetClusterRkeConfigServicesKubeproxyInput `pulumi:"kubeproxy"` + Scheduler GetClusterRkeConfigServicesSchedulerInput `pulumi:"scheduler"` +} + +func (GetClusterRkeConfigServicesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServices)(nil)).Elem() +} + +func (i GetClusterRkeConfigServicesArgs) ToGetClusterRkeConfigServicesOutput() GetClusterRkeConfigServicesOutput { + return i.ToGetClusterRkeConfigServicesOutputWithContext(context.Background()) +} + +func (i GetClusterRkeConfigServicesArgs) ToGetClusterRkeConfigServicesOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesOutput) +} + +type GetClusterRkeConfigServicesOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigServicesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServices)(nil)).Elem() +} + +func (o GetClusterRkeConfigServicesOutput) ToGetClusterRkeConfigServicesOutput() GetClusterRkeConfigServicesOutput { + return o +} + +func (o GetClusterRkeConfigServicesOutput) ToGetClusterRkeConfigServicesOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesOutput { + return o +} + +func (o GetClusterRkeConfigServicesOutput) Etcd() GetClusterRkeConfigServicesEtcdOutput { + return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesEtcd { return v.Etcd }).(GetClusterRkeConfigServicesEtcdOutput) +} + +func (o GetClusterRkeConfigServicesOutput) KubeApi() GetClusterRkeConfigServicesKubeApiOutput { + return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesKubeApi { return v.KubeApi }).(GetClusterRkeConfigServicesKubeApiOutput) +} + +func (o GetClusterRkeConfigServicesOutput) KubeController() GetClusterRkeConfigServicesKubeControllerOutput { + return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesKubeController { return v.KubeController }).(GetClusterRkeConfigServicesKubeControllerOutput) +} + +func (o GetClusterRkeConfigServicesOutput) Kubelet() GetClusterRkeConfigServicesKubeletOutput { + return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesKubelet { return v.Kubelet }).(GetClusterRkeConfigServicesKubeletOutput) +} + +func (o GetClusterRkeConfigServicesOutput) Kubeproxy() GetClusterRkeConfigServicesKubeproxyOutput { + return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesKubeproxy { return v.Kubeproxy }).(GetClusterRkeConfigServicesKubeproxyOutput) +} + +func (o GetClusterRkeConfigServicesOutput) Scheduler() GetClusterRkeConfigServicesSchedulerOutput { + return o.ApplyT(func(v GetClusterRkeConfigServices) GetClusterRkeConfigServicesScheduler { return v.Scheduler }).(GetClusterRkeConfigServicesSchedulerOutput) +} + +type GetClusterRkeConfigServicesEtcd struct { + BackupConfig GetClusterRkeConfigServicesEtcdBackupConfig `pulumi:"backupConfig"` + // (Computed) K8s cluster ca cert (string) + CaCert string `pulumi:"caCert"` + Cert string `pulumi:"cert"` + Creation string `pulumi:"creation"` + ExternalUrls []string `pulumi:"externalUrls"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Gid *int `pulumi:"gid"` + Image string `pulumi:"image"` + Key string `pulumi:"key"` + Path string `pulumi:"path"` + Retention string `pulumi:"retention"` + Snapshot bool `pulumi:"snapshot"` + Uid *int `pulumi:"uid"` +} + +// GetClusterRkeConfigServicesEtcdInput is an input type that accepts GetClusterRkeConfigServicesEtcdArgs and GetClusterRkeConfigServicesEtcdOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesEtcdInput` via: +// +// GetClusterRkeConfigServicesEtcdArgs{...} +type GetClusterRkeConfigServicesEtcdInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput + ToGetClusterRkeConfigServicesEtcdOutput() GetClusterRkeConfigServicesEtcdOutput + ToGetClusterRkeConfigServicesEtcdOutputWithContext(context.Context) GetClusterRkeConfigServicesEtcdOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs struct { - DisableSecurityGroupIngress pulumi.BoolPtrInput `pulumi:"disableSecurityGroupIngress"` - DisableStrictZoneCheck pulumi.BoolPtrInput `pulumi:"disableStrictZoneCheck"` - ElbSecurityGroup pulumi.StringInput `pulumi:"elbSecurityGroup"` - KubernetesClusterId pulumi.StringInput `pulumi:"kubernetesClusterId"` - KubernetesClusterTag pulumi.StringInput `pulumi:"kubernetesClusterTag"` - RoleArn pulumi.StringInput `pulumi:"roleArn"` - RouteTableId pulumi.StringInput `pulumi:"routeTableId"` - SubnetId pulumi.StringInput `pulumi:"subnetId"` - Vpc pulumi.StringInput `pulumi:"vpc"` - Zone pulumi.StringInput `pulumi:"zone"` +type GetClusterRkeConfigServicesEtcdArgs struct { + BackupConfig GetClusterRkeConfigServicesEtcdBackupConfigInput `pulumi:"backupConfig"` + // (Computed) K8s cluster ca cert (string) + CaCert pulumi.StringInput `pulumi:"caCert"` + Cert pulumi.StringInput `pulumi:"cert"` + Creation pulumi.StringInput `pulumi:"creation"` + ExternalUrls pulumi.StringArrayInput `pulumi:"externalUrls"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Gid pulumi.IntPtrInput `pulumi:"gid"` + Image pulumi.StringInput `pulumi:"image"` + Key pulumi.StringInput `pulumi:"key"` + Path pulumi.StringInput `pulumi:"path"` + Retention pulumi.StringInput `pulumi:"retention"` + Snapshot pulumi.BoolInput `pulumi:"snapshot"` + Uid pulumi.IntPtrInput `pulumi:"uid"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (GetClusterRkeConfigServicesEtcdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesEtcd)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Background()) +func (i GetClusterRkeConfigServicesEtcdArgs) ToGetClusterRkeConfigServicesEtcdOutput() GetClusterRkeConfigServicesEtcdOutput { + return i.ToGetClusterRkeConfigServicesEtcdOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) +func (i GetClusterRkeConfigServicesEtcdArgs) ToGetClusterRkeConfigServicesEtcdOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesEtcdOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) -} +type GetClusterRkeConfigServicesEtcdOutput struct{ *pulumi.OutputState } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx) +func (GetClusterRkeConfigServicesEtcdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesEtcd)(nil)).Elem() } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput interface { - pulumi.Input +func (o GetClusterRkeConfigServicesEtcdOutput) ToGetClusterRkeConfigServicesEtcdOutput() GetClusterRkeConfigServicesEtcdOutput { + return o +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput +func (o GetClusterRkeConfigServicesEtcdOutput) ToGetClusterRkeConfigServicesEtcdOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdOutput { + return o } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs +func (o GetClusterRkeConfigServicesEtcdOutput) BackupConfig() GetClusterRkeConfigServicesEtcdBackupConfigOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) GetClusterRkeConfigServicesEtcdBackupConfig { + return v.BackupConfig + }).(GetClusterRkeConfigServicesEtcdBackupConfigOutput) +} -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType)(v) +// (Computed) K8s cluster ca cert (string) +func (o GetClusterRkeConfigServicesEtcdOutput) CaCert() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.CaCert }).(pulumi.StringOutput) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (o GetClusterRkeConfigServicesEtcdOutput) Cert() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Cert }).(pulumi.StringOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigServicesEtcdOutput) Creation() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Creation }).(pulumi.StringOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) +func (o GetClusterRkeConfigServicesEtcdOutput) ExternalUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) []string { return v.ExternalUrls }).(pulumi.StringArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigServicesEtcdOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (o GetClusterRkeConfigServicesEtcdOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return o +func (o GetClusterRkeConfigServicesEtcdOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return o +func (o GetClusterRkeConfigServicesEtcdOutput) Gid() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) *int { return v.Gid }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigServicesEtcdOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Image }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) +func (o GetClusterRkeConfigServicesEtcdOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Key }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - return v.DisableSecurityGroupIngress - }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigServicesEtcdOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Path }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - return v.DisableStrictZoneCheck - }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigServicesEtcdOutput) Retention() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) string { return v.Retention }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElbSecurityGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { - return v.ElbSecurityGroup - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesEtcdOutput) Snapshot() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) bool { return v.Snapshot }).(pulumi.BoolOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { - return v.KubernetesClusterId - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesEtcdOutput) Uid() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcd) *int { return v.Uid }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterTag() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { - return v.KubernetesClusterTag - }).(pulumi.StringOutput) +type GetClusterRkeConfigServicesEtcdBackupConfig struct { + Enabled *bool `pulumi:"enabled"` + IntervalHours *int `pulumi:"intervalHours"` + Retention *int `pulumi:"retention"` + S3BackupConfig *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` + SafeTimestamp *bool `pulumi:"safeTimestamp"` + Timeout int `pulumi:"timeout"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RoleArn() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { - return v.RoleArn - }).(pulumi.StringOutput) +// GetClusterRkeConfigServicesEtcdBackupConfigInput is an input type that accepts GetClusterRkeConfigServicesEtcdBackupConfigArgs and GetClusterRkeConfigServicesEtcdBackupConfigOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesEtcdBackupConfigInput` via: +// +// GetClusterRkeConfigServicesEtcdBackupConfigArgs{...} +type GetClusterRkeConfigServicesEtcdBackupConfigInput interface { + pulumi.Input + + ToGetClusterRkeConfigServicesEtcdBackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigOutput + ToGetClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Context) GetClusterRkeConfigServicesEtcdBackupConfigOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RouteTableId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { - return v.RouteTableId - }).(pulumi.StringOutput) +type GetClusterRkeConfigServicesEtcdBackupConfigArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` + Retention pulumi.IntPtrInput `pulumi:"retention"` + S3BackupConfig GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` + SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` + Timeout pulumi.IntInput `pulumi:"timeout"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { - return v.SubnetId - }).(pulumi.StringOutput) +func (GetClusterRkeConfigServicesEtcdBackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Vpc() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { - return v.Vpc - }).(pulumi.StringOutput) +func (i GetClusterRkeConfigServicesEtcdBackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigOutput { + return i.ToGetClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Zone() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { - return v.Zone - }).(pulumi.StringOutput) +func (i GetClusterRkeConfigServicesEtcdBackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesEtcdBackupConfigOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigServicesEtcdBackupConfigOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() +func (GetClusterRkeConfigServicesEtcdBackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesEtcdBackupConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { +func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { +func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - if v == nil { - return nil - } - return v.DisableSecurityGroupIngress - }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) *int { return v.IntervalHours }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { - if v == nil { - return nil - } - return v.DisableStrictZoneCheck - }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) *int { return v.Retention }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElbSecurityGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.ElbSecurityGroup - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) S3BackupConfig() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { + return v.S3BackupConfig + }).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.KubernetesClusterId - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) *bool { return v.SafeTimestamp }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterTag() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.KubernetesClusterTag - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigOutput) Timeout() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfig) int { return v.Timeout }).(pulumi.IntOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.RoleArn - }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig struct { + AccessKey *string `pulumi:"accessKey"` + BucketName string `pulumi:"bucketName"` + CustomCa *string `pulumi:"customCa"` + Endpoint string `pulumi:"endpoint"` + Folder *string `pulumi:"folder"` + Region *string `pulumi:"region"` + SecretKey *string `pulumi:"secretKey"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RouteTableId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.RouteTableId - }).(pulumi.StringPtrOutput) +// GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput is an input type that accepts GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs and GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput` via: +// +// GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} +type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigInput interface { + pulumi.Input + + ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput + ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.SubnetId - }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs struct { + AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` + BucketName pulumi.StringInput `pulumi:"bucketName"` + CustomCa pulumi.StringPtrInput `pulumi:"customCa"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + Folder pulumi.StringPtrInput `pulumi:"folder"` + Region pulumi.StringPtrInput `pulumi:"region"` + SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Vpc() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Vpc - }).(pulumi.StringPtrOutput) +func (GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Zone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Zone - }).(pulumi.StringPtrOutput) +func (i GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return i.ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride struct { - Region string `pulumi:"region"` - Service string `pulumi:"service"` - SigningMethod string `pulumi:"signingMethod"` - SigningName string `pulumi:"signingName"` - SigningRegion string `pulumi:"signingRegion"` - Url string `pulumi:"url"` +func (i GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput` via: +func (i GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return i.ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +} + +func (i GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput).ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx) +} + +// GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput is an input type that accepts GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs, GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr and GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput interface { +// GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput + ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput + ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs struct { - Region pulumi.StringInput `pulumi:"region"` - Service pulumi.StringInput `pulumi:"service"` - SigningMethod pulumi.StringInput `pulumi:"signingMethod"` - SigningName pulumi.StringInput `pulumi:"signingName"` - SigningRegion pulumi.StringInput `pulumi:"signingRegion"` - Url pulumi.StringInput `pulumi:"url"` -} +type getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput { + return (*getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType)(v) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Background()) +func (*getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) +func (i *getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return i.ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput +func (i *getClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput +type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func (GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Background()) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return o } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return o } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return o +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { + return &v + }).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return o +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.AccessKey }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { - return v.Region - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { return v.BucketName }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { - return v.Service - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.CustomCa }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningMethod() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { - return v.SigningMethod - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { return v.Endpoint }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { - return v.SigningName - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningRegion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { - return v.SigningRegion - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { - return v.Url - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { return v.SecretKey }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() +func (GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToGetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { - return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)[vs[1].(int)] - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Elem() GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig { + if v != nil { + return *v + } + var ret GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig + return ret + }).(GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider struct { - AadClientCertPassword string `pulumi:"aadClientCertPassword"` - AadClientCertPath string `pulumi:"aadClientCertPath"` - AadClientId string `pulumi:"aadClientId"` - AadClientSecret string `pulumi:"aadClientSecret"` - Cloud string `pulumi:"cloud"` - CloudProviderBackoff bool `pulumi:"cloudProviderBackoff"` - CloudProviderBackoffDuration int `pulumi:"cloudProviderBackoffDuration"` - CloudProviderBackoffExponent int `pulumi:"cloudProviderBackoffExponent"` - CloudProviderBackoffJitter int `pulumi:"cloudProviderBackoffJitter"` - CloudProviderBackoffRetries int `pulumi:"cloudProviderBackoffRetries"` - CloudProviderRateLimit bool `pulumi:"cloudProviderRateLimit"` - CloudProviderRateLimitBucket int `pulumi:"cloudProviderRateLimitBucket"` - CloudProviderRateLimitQps int `pulumi:"cloudProviderRateLimitQps"` - LoadBalancerSku *string `pulumi:"loadBalancerSku"` - Location string `pulumi:"location"` - MaximumLoadBalancerRuleCount int `pulumi:"maximumLoadBalancerRuleCount"` - PrimaryAvailabilitySetName string `pulumi:"primaryAvailabilitySetName"` - PrimaryScaleSetName string `pulumi:"primaryScaleSetName"` - ResourceGroup string `pulumi:"resourceGroup"` - RouteTableName string `pulumi:"routeTableName"` - SecurityGroupName string `pulumi:"securityGroupName"` - SubnetName string `pulumi:"subnetName"` - SubscriptionId string `pulumi:"subscriptionId"` - TenantId string `pulumi:"tenantId"` - UseInstanceMetadata bool `pulumi:"useInstanceMetadata"` - UseManagedIdentityExtension bool `pulumi:"useManagedIdentityExtension"` - VmType string `pulumi:"vmType"` - VnetName string `pulumi:"vnetName"` - VnetResourceGroup string `pulumi:"vnetResourceGroup"` +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.AccessKey + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return &v.BucketName + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs struct { - AadClientCertPassword pulumi.StringInput `pulumi:"aadClientCertPassword"` - AadClientCertPath pulumi.StringInput `pulumi:"aadClientCertPath"` - AadClientId pulumi.StringInput `pulumi:"aadClientId"` - AadClientSecret pulumi.StringInput `pulumi:"aadClientSecret"` - Cloud pulumi.StringInput `pulumi:"cloud"` - CloudProviderBackoff pulumi.BoolInput `pulumi:"cloudProviderBackoff"` - CloudProviderBackoffDuration pulumi.IntInput `pulumi:"cloudProviderBackoffDuration"` - CloudProviderBackoffExponent pulumi.IntInput `pulumi:"cloudProviderBackoffExponent"` - CloudProviderBackoffJitter pulumi.IntInput `pulumi:"cloudProviderBackoffJitter"` - CloudProviderBackoffRetries pulumi.IntInput `pulumi:"cloudProviderBackoffRetries"` - CloudProviderRateLimit pulumi.BoolInput `pulumi:"cloudProviderRateLimit"` - CloudProviderRateLimitBucket pulumi.IntInput `pulumi:"cloudProviderRateLimitBucket"` - CloudProviderRateLimitQps pulumi.IntInput `pulumi:"cloudProviderRateLimitQps"` - LoadBalancerSku pulumi.StringPtrInput `pulumi:"loadBalancerSku"` - Location pulumi.StringInput `pulumi:"location"` - MaximumLoadBalancerRuleCount pulumi.IntInput `pulumi:"maximumLoadBalancerRuleCount"` - PrimaryAvailabilitySetName pulumi.StringInput `pulumi:"primaryAvailabilitySetName"` - PrimaryScaleSetName pulumi.StringInput `pulumi:"primaryScaleSetName"` - ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` - RouteTableName pulumi.StringInput `pulumi:"routeTableName"` - SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` - SubnetName pulumi.StringInput `pulumi:"subnetName"` - SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` - TenantId pulumi.StringInput `pulumi:"tenantId"` - UseInstanceMetadata pulumi.BoolInput `pulumi:"useInstanceMetadata"` - UseManagedIdentityExtension pulumi.BoolInput `pulumi:"useManagedIdentityExtension"` - VmType pulumi.StringInput `pulumi:"vmType"` - VnetName pulumi.StringInput `pulumi:"vnetName"` - VnetResourceGroup pulumi.StringInput `pulumi:"vnetResourceGroup"` +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.CustomCa + }).(pulumi.StringPtrOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return &v.Endpoint + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Background()) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.Folder + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.SecretKey + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx) +type GetClusterRkeConfigServicesKubeApi struct { + AdmissionConfiguration map[string]interface{} `pulumi:"admissionConfiguration"` + AlwaysPullImages *bool `pulumi:"alwaysPullImages"` + AuditLog *GetClusterRkeConfigServicesKubeApiAuditLog `pulumi:"auditLog"` + EventRateLimit *GetClusterRkeConfigServicesKubeApiEventRateLimit `pulumi:"eventRateLimit"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image string `pulumi:"image"` + PodSecurityPolicy *bool `pulumi:"podSecurityPolicy"` + SecretsEncryptionConfig *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig `pulumi:"secretsEncryptionConfig"` + ServiceClusterIpRange string `pulumi:"serviceClusterIpRange"` + ServiceNodePortRange string `pulumi:"serviceNodePortRange"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs{...} -// -// or: +// GetClusterRkeConfigServicesKubeApiInput is an input type that accepts GetClusterRkeConfigServicesKubeApiArgs and GetClusterRkeConfigServicesKubeApiOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiInput` via: // -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput interface { +// GetClusterRkeConfigServicesKubeApiArgs{...} +type GetClusterRkeConfigServicesKubeApiInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput + ToGetClusterRkeConfigServicesKubeApiOutput() GetClusterRkeConfigServicesKubeApiOutput + ToGetClusterRkeConfigServicesKubeApiOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs - -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType)(v) +type GetClusterRkeConfigServicesKubeApiArgs struct { + AdmissionConfiguration pulumi.MapInput `pulumi:"admissionConfiguration"` + AlwaysPullImages pulumi.BoolPtrInput `pulumi:"alwaysPullImages"` + AuditLog GetClusterRkeConfigServicesKubeApiAuditLogPtrInput `pulumi:"auditLog"` + EventRateLimit GetClusterRkeConfigServicesKubeApiEventRateLimitPtrInput `pulumi:"eventRateLimit"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringInput `pulumi:"image"` + PodSecurityPolicy pulumi.BoolPtrInput `pulumi:"podSecurityPolicy"` + SecretsEncryptionConfig GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput `pulumi:"secretsEncryptionConfig"` + ServiceClusterIpRange pulumi.StringInput `pulumi:"serviceClusterIpRange"` + ServiceNodePortRange pulumi.StringInput `pulumi:"serviceNodePortRange"` } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigServicesKubeApiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApi)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigServicesKubeApiArgs) ToGetClusterRkeConfigServicesKubeApiOutput() GetClusterRkeConfigServicesKubeApiOutput { + return i.ToGetClusterRkeConfigServicesKubeApiOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) +func (i GetClusterRkeConfigServicesKubeApiArgs) ToGetClusterRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigServicesKubeApiOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigServicesKubeApiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApi)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { +func (o GetClusterRkeConfigServicesKubeApiOutput) ToGetClusterRkeConfigServicesKubeApiOutput() GetClusterRkeConfigServicesKubeApiOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { +func (o GetClusterRkeConfigServicesKubeApiOutput) ToGetClusterRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigServicesKubeApiOutput) AdmissionConfiguration() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) map[string]interface{} { return v.AdmissionConfiguration }).(pulumi.MapOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) AlwaysPullImages() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) *bool { return v.AlwaysPullImages }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPassword() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.AadClientCertPassword - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) AuditLog() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) *GetClusterRkeConfigServicesKubeApiAuditLog { + return v.AuditLog + }).(GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.AadClientCertPath - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) EventRateLimit() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) *GetClusterRkeConfigServicesKubeApiEventRateLimit { + return v.EventRateLimit + }).(GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.AadClientId - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientSecret() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.AadClientSecret - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) Cloud() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.Cloud - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoff() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) bool { - return v.CloudProviderBackoff - }).(pulumi.BoolOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) string { return v.Image }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffDuration() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { - return v.CloudProviderBackoffDuration - }).(pulumi.IntOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) *bool { return v.PodSecurityPolicy }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffExponent() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { - return v.CloudProviderBackoffExponent - }).(pulumi.IntOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) SecretsEncryptionConfig() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { + return v.SecretsEncryptionConfig + }).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffJitter() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { - return v.CloudProviderBackoffJitter - }).(pulumi.IntOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) ServiceClusterIpRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) string { return v.ServiceClusterIpRange }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffRetries() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { - return v.CloudProviderBackoffRetries - }).(pulumi.IntOutput) +func (o GetClusterRkeConfigServicesKubeApiOutput) ServiceNodePortRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApi) string { return v.ServiceNodePortRange }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimit() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) bool { - return v.CloudProviderRateLimit - }).(pulumi.BoolOutput) +type GetClusterRkeConfigServicesKubeApiAuditLog struct { + Configuration GetClusterRkeConfigServicesKubeApiAuditLogConfiguration `pulumi:"configuration"` + Enabled *bool `pulumi:"enabled"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitBucket() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { - return v.CloudProviderRateLimitBucket - }).(pulumi.IntOutput) +// GetClusterRkeConfigServicesKubeApiAuditLogInput is an input type that accepts GetClusterRkeConfigServicesKubeApiAuditLogArgs and GetClusterRkeConfigServicesKubeApiAuditLogOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiAuditLogInput` via: +// +// GetClusterRkeConfigServicesKubeApiAuditLogArgs{...} +type GetClusterRkeConfigServicesKubeApiAuditLogInput interface { + pulumi.Input + + ToGetClusterRkeConfigServicesKubeApiAuditLogOutput() GetClusterRkeConfigServicesKubeApiAuditLogOutput + ToGetClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiAuditLogOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitQps() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { - return v.CloudProviderRateLimitQps - }).(pulumi.IntOutput) +type GetClusterRkeConfigServicesKubeApiAuditLogArgs struct { + Configuration GetClusterRkeConfigServicesKubeApiAuditLogConfigurationInput `pulumi:"configuration"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) LoadBalancerSku() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - return v.LoadBalancerSku - }).(pulumi.StringPtrOutput) +func (GetClusterRkeConfigServicesKubeApiAuditLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) Location() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.Location - }).(pulumi.StringOutput) +func (i GetClusterRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogOutput() GetClusterRkeConfigServicesKubeApiAuditLogOutput { + return i.ToGetClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) MaximumLoadBalancerRuleCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { - return v.MaximumLoadBalancerRuleCount - }).(pulumi.IntOutput) +func (i GetClusterRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryAvailabilitySetName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.PrimaryAvailabilitySetName - }).(pulumi.StringOutput) +func (i GetClusterRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return i.ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryScaleSetName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.PrimaryScaleSetName - }).(pulumi.StringOutput) +func (i GetClusterRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogOutput).ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ResourceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.ResourceGroup - }).(pulumi.StringOutput) +// GetClusterRkeConfigServicesKubeApiAuditLogPtrInput is an input type that accepts GetClusterRkeConfigServicesKubeApiAuditLogArgs, GetClusterRkeConfigServicesKubeApiAuditLogPtr and GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiAuditLogPtrInput` via: +// +// GetClusterRkeConfigServicesKubeApiAuditLogArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigServicesKubeApiAuditLogPtrInput interface { + pulumi.Input + + ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput + ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) RouteTableName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.RouteTableName - }).(pulumi.StringOutput) +type getClusterRkeConfigServicesKubeApiAuditLogPtrType GetClusterRkeConfigServicesKubeApiAuditLogArgs + +func GetClusterRkeConfigServicesKubeApiAuditLogPtr(v *GetClusterRkeConfigServicesKubeApiAuditLogArgs) GetClusterRkeConfigServicesKubeApiAuditLogPtrInput { + return (*getClusterRkeConfigServicesKubeApiAuditLogPtrType)(v) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SecurityGroupName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.SecurityGroupName - }).(pulumi.StringOutput) +func (*getClusterRkeConfigServicesKubeApiAuditLogPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SubnetName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.SubnetName - }).(pulumi.StringOutput) +func (i *getClusterRkeConfigServicesKubeApiAuditLogPtrType) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return i.ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SubscriptionId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.SubscriptionId - }).(pulumi.StringOutput) +func (i *getClusterRkeConfigServicesKubeApiAuditLogPtrType) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.TenantId - }).(pulumi.StringOutput) +type GetClusterRkeConfigServicesKubeApiAuditLogOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigServicesKubeApiAuditLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) UseInstanceMetadata() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) bool { - return v.UseInstanceMetadata - }).(pulumi.BoolOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogOutput() GetClusterRkeConfigServicesKubeApiAuditLogOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) UseManagedIdentityExtension() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) bool { - return v.UseManagedIdentityExtension - }).(pulumi.BoolOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VmType() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.VmType - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VnetName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.VnetName - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigServicesKubeApiAuditLog) *GetClusterRkeConfigServicesKubeApiAuditLog { + return &v + }).(GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VnetResourceGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { - return v.VnetResourceGroup - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) Configuration() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLog) GetClusterRkeConfigServicesKubeApiAuditLogConfiguration { + return v.Configuration + }).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigServicesKubeApiAuditLogOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLog) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() +type GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { +func (o GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { +func (o GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { +func (o GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Elem() GetClusterRkeConfigServicesKubeApiAuditLogOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLog) GetClusterRkeConfigServicesKubeApiAuditLog { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider + var ret GetClusterRkeConfigServicesKubeApiAuditLog return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) + }).(GetClusterRkeConfigServicesKubeApiAuditLogOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Configuration() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLog) *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration { if v == nil { return nil } - return &v.AadClientCertPassword - }).(pulumi.StringPtrOutput) + return &v.Configuration + }).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o GetClusterRkeConfigServicesKubeApiAuditLogPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLog) *bool { if v == nil { return nil } - return &v.AadClientCertPath - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.AadClientId - }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigServicesKubeApiAuditLogConfiguration struct { + Format *string `pulumi:"format"` + MaxAge *int `pulumi:"maxAge"` + MaxBackup *int `pulumi:"maxBackup"` + MaxSize *int `pulumi:"maxSize"` + Path *string `pulumi:"path"` + Policy string `pulumi:"policy"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.AadClientSecret - }).(pulumi.StringPtrOutput) +// GetClusterRkeConfigServicesKubeApiAuditLogConfigurationInput is an input type that accepts GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs and GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiAuditLogConfigurationInput` via: +// +// GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} +type GetClusterRkeConfigServicesKubeApiAuditLogConfigurationInput interface { + pulumi.Input + + ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput + ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Cloud() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.Cloud - }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs struct { + Format pulumi.StringPtrInput `pulumi:"format"` + MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` + MaxBackup pulumi.IntPtrInput `pulumi:"maxBackup"` + MaxSize pulumi.IntPtrInput `pulumi:"maxSize"` + Path pulumi.StringPtrInput `pulumi:"path"` + Policy pulumi.StringInput `pulumi:"policy"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoff() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { - if v == nil { - return nil - } - return &v.CloudProviderBackoff - }).(pulumi.BoolPtrOutput) +func (GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +} + +func (i GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return i.ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Background()) +} + +func (i GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) +} + +func (i GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return i.ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) +} + +func (i GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput).ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx) +} + +// GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput is an input type that accepts GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs, GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtr and GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput` via: +// +// GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} +// +// or: +// +// nil +type GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput interface { + pulumi.Input + + ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput + ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput +} + +type getClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs + +func GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtr(v *GetClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrInput { + return (*getClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType)(v) +} + +func (*getClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffDuration() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderBackoffDuration - }).(pulumi.IntPtrOutput) +func (i *getClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return i.ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffExponent() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderBackoffExponent - }).(pulumi.IntPtrOutput) +func (i *getClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffJitter() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderBackoffJitter - }).(pulumi.IntPtrOutput) +type GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderBackoffRetries - }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimit() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { - if v == nil { - return nil - } - return &v.CloudProviderRateLimit - }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitBucket() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderRateLimitBucket - }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitQps() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.CloudProviderRateLimitQps - }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration { + return &v + }).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) LoadBalancerSku() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return v.LoadBalancerSku - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { return v.Format }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Location() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.Location - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxAge }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) MaximumLoadBalancerRuleCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { - if v == nil { - return nil - } - return &v.MaximumLoadBalancerRuleCount - }).(pulumi.IntPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxBackup() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxBackup }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryAvailabilitySetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.PrimaryAvailabilitySetName - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { return v.MaxSize }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryScaleSetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.PrimaryScaleSetName - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { return v.Path }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.ResourceGroup - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) Policy() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) string { return v.Policy }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) RouteTableName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.RouteTableName - }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SecurityGroupName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.SecurityGroupName - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubnetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil - } - return &v.SubnetName - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToGetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubscriptionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { - if v == nil { - return nil +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Elem() GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) GetClusterRkeConfigServicesKubeApiAuditLogConfiguration { + if v != nil { + return *v } - return &v.SubscriptionId - }).(pulumi.StringPtrOutput) + var ret GetClusterRkeConfigServicesKubeApiAuditLogConfiguration + return ret + }).(GetClusterRkeConfigServicesKubeApiAuditLogConfigurationOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { if v == nil { return nil } - return &v.TenantId + return v.Format }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseInstanceMetadata() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { if v == nil { return nil } - return &v.UseInstanceMetadata - }).(pulumi.BoolPtrOutput) + return v.MaxAge + }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseManagedIdentityExtension() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxBackup() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { if v == nil { return nil } - return &v.UseManagedIdentityExtension - }).(pulumi.BoolPtrOutput) + return v.MaxBackup + }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VmType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *int { if v == nil { return nil } - return &v.VmType - }).(pulumi.StringPtrOutput) + return v.MaxSize + }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { if v == nil { return nil } - return &v.VnetName + return v.Path }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetResourceGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { +func (o GetClusterRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Policy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiAuditLogConfiguration) *string { if v == nil { return nil } - return &v.VnetResourceGroup + return &v.Policy }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider struct { - BlockStorage GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage `pulumi:"blockStorage"` - Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal `pulumi:"global"` - LoadBalancer GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer `pulumi:"loadBalancer"` - Metadata GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata `pulumi:"metadata"` - Route GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute `pulumi:"route"` +type GetClusterRkeConfigServicesKubeApiEventRateLimit struct { + Configuration string `pulumi:"configuration"` + Enabled *bool `pulumi:"enabled"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput` via: +// GetClusterRkeConfigServicesKubeApiEventRateLimitInput is an input type that accepts GetClusterRkeConfigServicesKubeApiEventRateLimitArgs and GetClusterRkeConfigServicesKubeApiEventRateLimitOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiEventRateLimitInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput interface { +// GetClusterRkeConfigServicesKubeApiEventRateLimitArgs{...} +type GetClusterRkeConfigServicesKubeApiEventRateLimitInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput + ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitOutput + ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs struct { - BlockStorage GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput `pulumi:"blockStorage"` - Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput `pulumi:"global"` - LoadBalancer GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput `pulumi:"loadBalancer"` - Metadata GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput `pulumi:"metadata"` - Route GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput `pulumi:"route"` +type GetClusterRkeConfigServicesKubeApiEventRateLimitArgs struct { + Configuration pulumi.StringInput `pulumi:"configuration"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Background()) +func (i GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitOutput { + return i.ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) +func (i GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return i.ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx) +func (i GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiEventRateLimitOutput).ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput` via: +// GetClusterRkeConfigServicesKubeApiEventRateLimitPtrInput is an input type that accepts GetClusterRkeConfigServicesKubeApiEventRateLimitArgs, GetClusterRkeConfigServicesKubeApiEventRateLimitPtr and GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiEventRateLimitPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs{...} +// GetClusterRkeConfigServicesKubeApiEventRateLimitArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput interface { +type GetClusterRkeConfigServicesKubeApiEventRateLimitPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput + ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput + ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs +type getClusterRkeConfigServicesKubeApiEventRateLimitPtrType GetClusterRkeConfigServicesKubeApiEventRateLimitArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType)(v) +func GetClusterRkeConfigServicesKubeApiEventRateLimitPtr(v *GetClusterRkeConfigServicesKubeApiEventRateLimitArgs) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrInput { + return (*getClusterRkeConfigServicesKubeApiEventRateLimitPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +func (*getClusterRkeConfigServicesKubeApiEventRateLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigServicesKubeApiEventRateLimitPtrType) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return i.ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) +func (i *getClusterRkeConfigServicesKubeApiEventRateLimitPtrType) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigServicesKubeApiEventRateLimitOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigServicesKubeApiEventRateLimit) *GetClusterRkeConfigServicesKubeApiEventRateLimit { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) BlockStorage() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { - return v.BlockStorage - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { - return v.Global - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) LoadBalancer() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - return v.LoadBalancer - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) + }).(GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Metadata() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { - return v.Metadata - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) Configuration() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiEventRateLimit) string { return v.Configuration }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Route() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { - return v.Route - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiEventRateLimit) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +func (GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToGetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Elem() GetClusterRkeConfigServicesKubeApiEventRateLimitOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiEventRateLimit) GetClusterRkeConfigServicesKubeApiEventRateLimit { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider + var ret GetClusterRkeConfigServicesKubeApiEventRateLimit return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) BlockStorage() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { - if v == nil { - return nil - } - return &v.BlockStorage - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { - if v == nil { - return nil - } - return &v.Global - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) LoadBalancer() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - if v == nil { - return nil - } - return &v.LoadBalancer - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) + }).(GetClusterRkeConfigServicesKubeApiEventRateLimitOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Metadata() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Configuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiEventRateLimit) *string { if v == nil { return nil } - return &v.Metadata - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) + return &v.Configuration + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Route() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { +func (o GetClusterRkeConfigServicesKubeApiEventRateLimitPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiEventRateLimit) *bool { if v == nil { return nil } - return &v.Route - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage struct { - BsVersion string `pulumi:"bsVersion"` - IgnoreVolumeAz bool `pulumi:"ignoreVolumeAz"` - TrustDevicePath bool `pulumi:"trustDevicePath"` +type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig struct { + CustomConfig string `pulumi:"customConfig"` + Enabled *bool `pulumi:"enabled"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput` via: +// GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput is an input type that accepts GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs and GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput interface { +// GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} +type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput + ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput + ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs struct { - BsVersion pulumi.StringInput `pulumi:"bsVersion"` - IgnoreVolumeAz pulumi.BoolInput `pulumi:"ignoreVolumeAz"` - TrustDevicePath pulumi.BoolInput `pulumi:"trustDevicePath"` +type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs struct { + CustomConfig pulumi.StringInput `pulumi:"customConfig"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Background()) +func (i GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return i.ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) +func (i GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return i.ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx) +func (i GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput).ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput` via: +// GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput is an input type that accepts GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs, GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtr and GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} +// GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput interface { +type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput + ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput + ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs +type getClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType)(v) +func GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtr(v *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput { + return (*getClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (*getClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) +func (i *getClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return i.ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) +func (i *getClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) BsVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) string { - return v.BsVersion - }).(pulumi.StringOutput) + }).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) IgnoreVolumeAz() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) bool { - return v.IgnoreVolumeAz - }).(pulumi.BoolOutput) +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) CustomConfig() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) string { return v.CustomConfig }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) TrustDevicePath() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) bool { - return v.TrustDevicePath - }).(pulumi.BoolOutput) +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +func (GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToGetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Elem() GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage + var ret GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) + }).(GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) BsVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *string { +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) CustomConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { if v == nil { return nil } - return &v.BsVersion + return &v.CustomConfig }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) IgnoreVolumeAz() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { - if v == nil { - return nil - } - return &v.IgnoreVolumeAz - }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) TrustDevicePath() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { +func (o GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { if v == nil { return nil } - return &v.TrustDevicePath + return v.Enabled }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal struct { - AuthUrl string `pulumi:"authUrl"` - CaFile string `pulumi:"caFile"` - DomainId string `pulumi:"domainId"` - DomainName string `pulumi:"domainName"` - Password string `pulumi:"password"` - Region string `pulumi:"region"` - TenantId string `pulumi:"tenantId"` - TenantName string `pulumi:"tenantName"` - TrustId string `pulumi:"trustId"` - Username string `pulumi:"username"` +type GetClusterRkeConfigServicesKubeController struct { + ClusterCidr string `pulumi:"clusterCidr"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image string `pulumi:"image"` + ServiceClusterIpRange string `pulumi:"serviceClusterIpRange"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput` via: +// GetClusterRkeConfigServicesKubeControllerInput is an input type that accepts GetClusterRkeConfigServicesKubeControllerArgs and GetClusterRkeConfigServicesKubeControllerOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeControllerInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput interface { +// GetClusterRkeConfigServicesKubeControllerArgs{...} +type GetClusterRkeConfigServicesKubeControllerInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput + ToGetClusterRkeConfigServicesKubeControllerOutput() GetClusterRkeConfigServicesKubeControllerOutput + ToGetClusterRkeConfigServicesKubeControllerOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeControllerOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs struct { - AuthUrl pulumi.StringInput `pulumi:"authUrl"` - CaFile pulumi.StringInput `pulumi:"caFile"` - DomainId pulumi.StringInput `pulumi:"domainId"` - DomainName pulumi.StringInput `pulumi:"domainName"` - Password pulumi.StringInput `pulumi:"password"` - Region pulumi.StringInput `pulumi:"region"` - TenantId pulumi.StringInput `pulumi:"tenantId"` - TenantName pulumi.StringInput `pulumi:"tenantName"` - TrustId pulumi.StringInput `pulumi:"trustId"` - Username pulumi.StringInput `pulumi:"username"` +type GetClusterRkeConfigServicesKubeControllerArgs struct { + ClusterCidr pulumi.StringInput `pulumi:"clusterCidr"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringInput `pulumi:"image"` + ServiceClusterIpRange pulumi.StringInput `pulumi:"serviceClusterIpRange"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +func (GetClusterRkeConfigServicesKubeControllerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeController)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Background()) +func (i GetClusterRkeConfigServicesKubeControllerArgs) ToGetClusterRkeConfigServicesKubeControllerOutput() GetClusterRkeConfigServicesKubeControllerOutput { + return i.ToGetClusterRkeConfigServicesKubeControllerOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) +func (i GetClusterRkeConfigServicesKubeControllerArgs) ToGetClusterRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeControllerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeControllerOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) +type GetClusterRkeConfigServicesKubeControllerOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigServicesKubeControllerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeController)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx) +func (o GetClusterRkeConfigServicesKubeControllerOutput) ToGetClusterRkeConfigServicesKubeControllerOutput() GetClusterRkeConfigServicesKubeControllerOutput { + return o } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput interface { - pulumi.Input +func (o GetClusterRkeConfigServicesKubeControllerOutput) ToGetClusterRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeControllerOutput { + return o +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput +func (o GetClusterRkeConfigServicesKubeControllerOutput) ClusterCidr() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) string { return v.ClusterCidr }).(pulumi.StringOutput) } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs +func (o GetClusterRkeConfigServicesKubeControllerOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) +} -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType)(v) +func (o GetClusterRkeConfigServicesKubeControllerOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +func (o GetClusterRkeConfigServicesKubeControllerOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o GetClusterRkeConfigServicesKubeControllerOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) string { return v.Image }).(pulumi.StringOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) +func (o GetClusterRkeConfigServicesKubeControllerOutput) ServiceClusterIpRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeController) string { return v.ServiceClusterIpRange }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigServicesKubelet struct { + ClusterDnsServer string `pulumi:"clusterDnsServer"` + ClusterDomain string `pulumi:"clusterDomain"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + FailSwapOn bool `pulumi:"failSwapOn"` + GenerateServingCertificate *bool `pulumi:"generateServingCertificate"` + Image string `pulumi:"image"` + InfraContainerImage string `pulumi:"infraContainerImage"` +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +// GetClusterRkeConfigServicesKubeletInput is an input type that accepts GetClusterRkeConfigServicesKubeletArgs and GetClusterRkeConfigServicesKubeletOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeletInput` via: +// +// GetClusterRkeConfigServicesKubeletArgs{...} +type GetClusterRkeConfigServicesKubeletInput interface { + pulumi.Input + + ToGetClusterRkeConfigServicesKubeletOutput() GetClusterRkeConfigServicesKubeletOutput + ToGetClusterRkeConfigServicesKubeletOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeletOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return o +type GetClusterRkeConfigServicesKubeletArgs struct { + ClusterDnsServer pulumi.StringInput `pulumi:"clusterDnsServer"` + ClusterDomain pulumi.StringInput `pulumi:"clusterDomain"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + FailSwapOn pulumi.BoolInput `pulumi:"failSwapOn"` + GenerateServingCertificate pulumi.BoolPtrInput `pulumi:"generateServingCertificate"` + Image pulumi.StringInput `pulumi:"image"` + InfraContainerImage pulumi.StringInput `pulumi:"infraContainerImage"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return o +func (GetClusterRkeConfigServicesKubeletArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubelet)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (i GetClusterRkeConfigServicesKubeletArgs) ToGetClusterRkeConfigServicesKubeletOutput() GetClusterRkeConfigServicesKubeletOutput { + return i.ToGetClusterRkeConfigServicesKubeletOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) +func (i GetClusterRkeConfigServicesKubeletArgs) ToGetClusterRkeConfigServicesKubeletOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeletOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeletOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) AuthUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.AuthUrl - }).(pulumi.StringOutput) +type GetClusterRkeConfigServicesKubeletOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigServicesKubeletOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubelet)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) CaFile() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.CaFile - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeletOutput) ToGetClusterRkeConfigServicesKubeletOutput() GetClusterRkeConfigServicesKubeletOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.DomainId - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeletOutput) ToGetClusterRkeConfigServicesKubeletOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeletOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.DomainName - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeletOutput) ClusterDnsServer() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) string { return v.ClusterDnsServer }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.Password - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeletOutput) ClusterDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) string { return v.ClusterDomain }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.Region - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeletOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.TenantId - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeletOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.TenantName - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeletOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TrustId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.TrustId - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeletOutput) FailSwapOn() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) bool { return v.FailSwapOn }).(pulumi.BoolOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Username() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { - return v.Username - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigServicesKubeletOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) *bool { return v.GenerateServingCertificate }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterRkeConfigServicesKubeletOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) string { return v.Image }).(pulumi.StringOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() +func (o GetClusterRkeConfigServicesKubeletOutput) InfraContainerImage() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubelet) string { return v.InfraContainerImage }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o +type GetClusterRkeConfigServicesKubeproxy struct { + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image string `pulumi:"image"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { - return o +// GetClusterRkeConfigServicesKubeproxyInput is an input type that accepts GetClusterRkeConfigServicesKubeproxyArgs and GetClusterRkeConfigServicesKubeproxyOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesKubeproxyInput` via: +// +// GetClusterRkeConfigServicesKubeproxyArgs{...} +type GetClusterRkeConfigServicesKubeproxyInput interface { + pulumi.Input + + ToGetClusterRkeConfigServicesKubeproxyOutput() GetClusterRkeConfigServicesKubeproxyOutput + ToGetClusterRkeConfigServicesKubeproxyOutputWithContext(context.Context) GetClusterRkeConfigServicesKubeproxyOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) +type GetClusterRkeConfigServicesKubeproxyArgs struct { + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringInput `pulumi:"image"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) AuthUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.AuthUrl - }).(pulumi.StringPtrOutput) +func (GetClusterRkeConfigServicesKubeproxyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeproxy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) CaFile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.CaFile - }).(pulumi.StringPtrOutput) +func (i GetClusterRkeConfigServicesKubeproxyArgs) ToGetClusterRkeConfigServicesKubeproxyOutput() GetClusterRkeConfigServicesKubeproxyOutput { + return i.ToGetClusterRkeConfigServicesKubeproxyOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.DomainId - }).(pulumi.StringPtrOutput) +func (i GetClusterRkeConfigServicesKubeproxyArgs) ToGetClusterRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeproxyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesKubeproxyOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.DomainName - }).(pulumi.StringPtrOutput) +type GetClusterRkeConfigServicesKubeproxyOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigServicesKubeproxyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesKubeproxy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeproxyOutput) ToGetClusterRkeConfigServicesKubeproxyOutput() GetClusterRkeConfigServicesKubeproxyOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Region - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeproxyOutput) ToGetClusterRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesKubeproxyOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.TenantId - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeproxyOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeproxy) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.TenantName - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeproxyOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeproxy) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TrustId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.TrustId - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeproxyOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeproxy) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Username - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigServicesKubeproxyOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesKubeproxy) string { return v.Image }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer struct { - CreateMonitor bool `pulumi:"createMonitor"` - FloatingNetworkId string `pulumi:"floatingNetworkId"` - LbMethod string `pulumi:"lbMethod"` - LbProvider string `pulumi:"lbProvider"` - LbVersion string `pulumi:"lbVersion"` - ManageSecurityGroups bool `pulumi:"manageSecurityGroups"` - MonitorDelay *string `pulumi:"monitorDelay"` - MonitorMaxRetries *int `pulumi:"monitorMaxRetries"` - MonitorTimeout *string `pulumi:"monitorTimeout"` - SubnetId string `pulumi:"subnetId"` - UseOctavia bool `pulumi:"useOctavia"` +type GetClusterRkeConfigServicesScheduler struct { + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image string `pulumi:"image"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput` via: +// GetClusterRkeConfigServicesSchedulerInput is an input type that accepts GetClusterRkeConfigServicesSchedulerArgs and GetClusterRkeConfigServicesSchedulerOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigServicesSchedulerInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput interface { +// GetClusterRkeConfigServicesSchedulerArgs{...} +type GetClusterRkeConfigServicesSchedulerInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput + ToGetClusterRkeConfigServicesSchedulerOutput() GetClusterRkeConfigServicesSchedulerOutput + ToGetClusterRkeConfigServicesSchedulerOutputWithContext(context.Context) GetClusterRkeConfigServicesSchedulerOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs struct { - CreateMonitor pulumi.BoolInput `pulumi:"createMonitor"` - FloatingNetworkId pulumi.StringInput `pulumi:"floatingNetworkId"` - LbMethod pulumi.StringInput `pulumi:"lbMethod"` - LbProvider pulumi.StringInput `pulumi:"lbProvider"` - LbVersion pulumi.StringInput `pulumi:"lbVersion"` - ManageSecurityGroups pulumi.BoolInput `pulumi:"manageSecurityGroups"` - MonitorDelay pulumi.StringPtrInput `pulumi:"monitorDelay"` - MonitorMaxRetries pulumi.IntPtrInput `pulumi:"monitorMaxRetries"` - MonitorTimeout pulumi.StringPtrInput `pulumi:"monitorTimeout"` - SubnetId pulumi.StringInput `pulumi:"subnetId"` - UseOctavia pulumi.BoolInput `pulumi:"useOctavia"` +type GetClusterRkeConfigServicesSchedulerArgs struct { + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringInput `pulumi:"image"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() +func (GetClusterRkeConfigServicesSchedulerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesScheduler)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Background()) +func (i GetClusterRkeConfigServicesSchedulerArgs) ToGetClusterRkeConfigServicesSchedulerOutput() GetClusterRkeConfigServicesSchedulerOutput { + return i.ToGetClusterRkeConfigServicesSchedulerOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) +func (i GetClusterRkeConfigServicesSchedulerArgs) ToGetClusterRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesSchedulerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigServicesSchedulerOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) +type GetClusterRkeConfigServicesSchedulerOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigServicesSchedulerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigServicesScheduler)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx) +func (o GetClusterRkeConfigServicesSchedulerOutput) ToGetClusterRkeConfigServicesSchedulerOutput() GetClusterRkeConfigServicesSchedulerOutput { + return o } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput interface { - pulumi.Input +func (o GetClusterRkeConfigServicesSchedulerOutput) ToGetClusterRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) GetClusterRkeConfigServicesSchedulerOutput { + return o +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput +func (o GetClusterRkeConfigServicesSchedulerOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesScheduler) map[string]interface{} { return v.ExtraArgs }).(pulumi.MapOutput) } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs +func (o GetClusterRkeConfigServicesSchedulerOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesScheduler) []string { return v.ExtraBinds }).(pulumi.StringArrayOutput) +} -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType)(v) +func (o GetClusterRkeConfigServicesSchedulerOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesScheduler) []string { return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() +func (o GetClusterRkeConfigServicesSchedulerOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterRkeConfigServicesScheduler) string { return v.Image }).(pulumi.StringOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) +type GetClusterRkeConfigUpgradeStrategy struct { + Drain *bool `pulumi:"drain"` + DrainInput GetClusterRkeConfigUpgradeStrategyDrainInput `pulumi:"drainInput"` + MaxUnavailableControlplane *string `pulumi:"maxUnavailableControlplane"` + MaxUnavailableWorker *string `pulumi:"maxUnavailableWorker"` } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) +// GetClusterRkeConfigUpgradeStrategyInput is an input type that accepts GetClusterRkeConfigUpgradeStrategyArgs and GetClusterRkeConfigUpgradeStrategyOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigUpgradeStrategyInput` via: +// +// GetClusterRkeConfigUpgradeStrategyArgs{...} +type GetClusterRkeConfigUpgradeStrategyInput interface { + pulumi.Input + + ToGetClusterRkeConfigUpgradeStrategyOutput() GetClusterRkeConfigUpgradeStrategyOutput + ToGetClusterRkeConfigUpgradeStrategyOutputWithContext(context.Context) GetClusterRkeConfigUpgradeStrategyOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigUpgradeStrategyArgs struct { + Drain pulumi.BoolPtrInput `pulumi:"drain"` + DrainInput GetClusterRkeConfigUpgradeStrategyDrainInputInput `pulumi:"drainInput"` + MaxUnavailableControlplane pulumi.StringPtrInput `pulumi:"maxUnavailableControlplane"` + MaxUnavailableWorker pulumi.StringPtrInput `pulumi:"maxUnavailableWorker"` +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() +func (GetClusterRkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigUpgradeStrategy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o +func (i GetClusterRkeConfigUpgradeStrategyArgs) ToGetClusterRkeConfigUpgradeStrategyOutput() GetClusterRkeConfigUpgradeStrategyOutput { + return i.ToGetClusterRkeConfigUpgradeStrategyOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o +func (i GetClusterRkeConfigUpgradeStrategyArgs) ToGetClusterRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigUpgradeStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigUpgradeStrategyOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) +type GetClusterRkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } + +func (GetClusterRkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigUpgradeStrategy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) +func (o GetClusterRkeConfigUpgradeStrategyOutput) ToGetClusterRkeConfigUpgradeStrategyOutput() GetClusterRkeConfigUpgradeStrategyOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) CreateMonitor() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { - return v.CreateMonitor - }).(pulumi.BoolOutput) +func (o GetClusterRkeConfigUpgradeStrategyOutput) ToGetClusterRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterRkeConfigUpgradeStrategyOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) FloatingNetworkId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { - return v.FloatingNetworkId - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigUpgradeStrategyOutput) Drain() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategy) *bool { return v.Drain }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbMethod() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { - return v.LbMethod - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigUpgradeStrategyOutput) DrainInput() GetClusterRkeConfigUpgradeStrategyDrainInputOutput { + return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategy) GetClusterRkeConfigUpgradeStrategyDrainInput { + return v.DrainInput + }).(GetClusterRkeConfigUpgradeStrategyDrainInputOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbProvider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { - return v.LbProvider - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigUpgradeStrategyOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategy) *string { return v.MaxUnavailableControlplane }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { - return v.LbVersion - }).(pulumi.StringOutput) +func (o GetClusterRkeConfigUpgradeStrategyOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategy) *string { return v.MaxUnavailableWorker }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ManageSecurityGroups() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { - return v.ManageSecurityGroups - }).(pulumi.BoolOutput) +type GetClusterRkeConfigUpgradeStrategyDrainInput struct { + DeleteLocalData *bool `pulumi:"deleteLocalData"` + Force *bool `pulumi:"force"` + GracePeriod *int `pulumi:"gracePeriod"` + IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` + Timeout *int `pulumi:"timeout"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorDelay() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.MonitorDelay - }).(pulumi.StringPtrOutput) +// GetClusterRkeConfigUpgradeStrategyDrainInputInput is an input type that accepts GetClusterRkeConfigUpgradeStrategyDrainInputArgs and GetClusterRkeConfigUpgradeStrategyDrainInputOutput values. +// You can construct a concrete instance of `GetClusterRkeConfigUpgradeStrategyDrainInputInput` via: +// +// GetClusterRkeConfigUpgradeStrategyDrainInputArgs{...} +type GetClusterRkeConfigUpgradeStrategyDrainInputInput interface { + pulumi.Input + + ToGetClusterRkeConfigUpgradeStrategyDrainInputOutput() GetClusterRkeConfigUpgradeStrategyDrainInputOutput + ToGetClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Context) GetClusterRkeConfigUpgradeStrategyDrainInputOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorMaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { - return v.MonitorMaxRetries - }).(pulumi.IntPtrOutput) +type GetClusterRkeConfigUpgradeStrategyDrainInputArgs struct { + DeleteLocalData pulumi.BoolPtrInput `pulumi:"deleteLocalData"` + Force pulumi.BoolPtrInput `pulumi:"force"` + GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` + IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` + Timeout pulumi.IntPtrInput `pulumi:"timeout"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorTimeout() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - return v.MonitorTimeout - }).(pulumi.StringPtrOutput) +func (GetClusterRkeConfigUpgradeStrategyDrainInputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { - return v.SubnetId - }).(pulumi.StringOutput) +func (i GetClusterRkeConfigUpgradeStrategyDrainInputArgs) ToGetClusterRkeConfigUpgradeStrategyDrainInputOutput() GetClusterRkeConfigUpgradeStrategyDrainInputOutput { + return i.ToGetClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) UseOctavia() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { - return v.UseOctavia - }).(pulumi.BoolOutput) +func (i GetClusterRkeConfigUpgradeStrategyDrainInputArgs) ToGetClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) GetClusterRkeConfigUpgradeStrategyDrainInputOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterRkeConfigUpgradeStrategyDrainInputOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput struct{ *pulumi.OutputState } +type GetClusterRkeConfigUpgradeStrategyDrainInputOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() +func (GetClusterRkeConfigUpgradeStrategyDrainInputOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { +func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) ToGetClusterRkeConfigUpgradeStrategyDrainInputOutput() GetClusterRkeConfigUpgradeStrategyDrainInputOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { +func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) ToGetClusterRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) GetClusterRkeConfigUpgradeStrategyDrainInputOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) CreateMonitor() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { - if v == nil { - return nil - } - return &v.CreateMonitor - }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) FloatingNetworkId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return &v.FloatingNetworkId - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) DeleteLocalData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.DeleteLocalData }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbMethod() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return &v.LbMethod - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.Force }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return &v.LbProvider - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategyDrainInput) *int { return v.GracePeriod }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return &v.LbVersion - }).(pulumi.StringPtrOutput) +func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategyDrainInput) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ManageSecurityGroups() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { - if v == nil { - return nil - } - return &v.ManageSecurityGroups - }).(pulumi.BoolPtrOutput) +func (o GetClusterRkeConfigUpgradeStrategyDrainInputOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterRkeConfigUpgradeStrategyDrainInput) *int { return v.Timeout }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorDelay() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return v.MonitorDelay - }).(pulumi.StringPtrOutput) +type GetClusterScanScanConfig struct { + // Cluster Cis Scan config (List maxitems:1) + CisScanConfig GetClusterScanScanConfigCisScanConfig `pulumi:"cisScanConfig"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorMaxRetries() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { - if v == nil { - return nil - } - return v.MonitorMaxRetries - }).(pulumi.IntPtrOutput) -} +// GetClusterScanScanConfigInput is an input type that accepts GetClusterScanScanConfigArgs and GetClusterScanScanConfigOutput values. +// You can construct a concrete instance of `GetClusterScanScanConfigInput` via: +// +// GetClusterScanScanConfigArgs{...} +type GetClusterScanScanConfigInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorTimeout() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return v.MonitorTimeout - }).(pulumi.StringPtrOutput) + ToGetClusterScanScanConfigOutput() GetClusterScanScanConfigOutput + ToGetClusterScanScanConfigOutputWithContext(context.Context) GetClusterScanScanConfigOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) SubnetId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { - if v == nil { - return nil - } - return &v.SubnetId - }).(pulumi.StringPtrOutput) +type GetClusterScanScanConfigArgs struct { + // Cluster Cis Scan config (List maxitems:1) + CisScanConfig GetClusterScanScanConfigCisScanConfigInput `pulumi:"cisScanConfig"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) UseOctavia() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { - if v == nil { - return nil - } - return &v.UseOctavia - }).(pulumi.BoolPtrOutput) +func (GetClusterScanScanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScanScanConfig)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata struct { - RequestTimeout int `pulumi:"requestTimeout"` - SearchOrder string `pulumi:"searchOrder"` +func (i GetClusterScanScanConfigArgs) ToGetClusterScanScanConfigOutput() GetClusterScanScanConfigOutput { + return i.ToGetClusterScanScanConfigOutputWithContext(context.Background()) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput +func (i GetClusterScanScanConfigArgs) ToGetClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterScanScanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterScanScanConfigOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs struct { - RequestTimeout pulumi.IntInput `pulumi:"requestTimeout"` - SearchOrder pulumi.StringInput `pulumi:"searchOrder"` -} +type GetClusterScanScanConfigOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (GetClusterScanScanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScanScanConfig)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Background()) +func (o GetClusterScanScanConfigOutput) ToGetClusterScanScanConfigOutput() GetClusterScanScanConfigOutput { + return o } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) +func (o GetClusterScanScanConfigOutput) ToGetClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterScanScanConfigOutput { + return o } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) +// Cluster Cis Scan config (List maxitems:1) +func (o GetClusterScanScanConfigOutput) CisScanConfig() GetClusterScanScanConfigCisScanConfigOutput { + return o.ApplyT(func(v GetClusterScanScanConfig) GetClusterScanScanConfigCisScanConfig { return v.CisScanConfig }).(GetClusterScanScanConfigCisScanConfigOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx) +type GetClusterScanScanConfigCisScanConfig struct { + // Debug master. Default: `false` (bool) + DebugMaster *bool `pulumi:"debugMaster"` + // Debug worker. Default: `false` (bool) + DebugWorker *bool `pulumi:"debugWorker"` + // Override benchmark version (string) + OverrideBenchmarkVersion *string `pulumi:"overrideBenchmarkVersion"` + // Override skip (string) + OverrideSkips []string `pulumi:"overrideSkips"` + // Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) + Profile *string `pulumi:"profile"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} -// -// or: +// GetClusterScanScanConfigCisScanConfigInput is an input type that accepts GetClusterScanScanConfigCisScanConfigArgs and GetClusterScanScanConfigCisScanConfigOutput values. +// You can construct a concrete instance of `GetClusterScanScanConfigCisScanConfigInput` via: // -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput interface { +// GetClusterScanScanConfigCisScanConfigArgs{...} +type GetClusterScanScanConfigCisScanConfigInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput + ToGetClusterScanScanConfigCisScanConfigOutput() GetClusterScanScanConfigCisScanConfigOutput + ToGetClusterScanScanConfigCisScanConfigOutputWithContext(context.Context) GetClusterScanScanConfigCisScanConfigOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs - -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType)(v) +type GetClusterScanScanConfigCisScanConfigArgs struct { + // Debug master. Default: `false` (bool) + DebugMaster pulumi.BoolPtrInput `pulumi:"debugMaster"` + // Debug worker. Default: `false` (bool) + DebugWorker pulumi.BoolPtrInput `pulumi:"debugWorker"` + // Override benchmark version (string) + OverrideBenchmarkVersion pulumi.StringPtrInput `pulumi:"overrideBenchmarkVersion"` + // Override skip (string) + OverrideSkips pulumi.StringArrayInput `pulumi:"overrideSkips"` + // Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) + Profile pulumi.StringPtrInput `pulumi:"profile"` } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (GetClusterScanScanConfigCisScanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) +func (i GetClusterScanScanConfigCisScanConfigArgs) ToGetClusterScanScanConfigCisScanConfigOutput() GetClusterScanScanConfigCisScanConfigOutput { + return i.ToGetClusterScanScanConfigCisScanConfigOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) +func (i GetClusterScanScanConfigCisScanConfigArgs) ToGetClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterScanScanConfigCisScanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterScanScanConfigCisScanConfigOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput struct{ *pulumi.OutputState } +type GetClusterScanScanConfigCisScanConfigOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +func (GetClusterScanScanConfigCisScanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { +func (o GetClusterScanScanConfigCisScanConfigOutput) ToGetClusterScanScanConfigCisScanConfigOutput() GetClusterScanScanConfigCisScanConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { +func (o GetClusterScanScanConfigCisScanConfigOutput) ToGetClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterScanScanConfigCisScanConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) +// Debug master. Default: `false` (bool) +func (o GetClusterScanScanConfigCisScanConfigOutput) DebugMaster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterScanScanConfigCisScanConfig) *bool { return v.DebugMaster }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) +// Debug worker. Default: `false` (bool) +func (o GetClusterScanScanConfigCisScanConfigOutput) DebugWorker() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterScanScanConfigCisScanConfig) *bool { return v.DebugWorker }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) RequestTimeout() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) int { - return v.RequestTimeout - }).(pulumi.IntOutput) +// Override benchmark version (string) +func (o GetClusterScanScanConfigCisScanConfigOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterScanScanConfigCisScanConfig) *string { return v.OverrideBenchmarkVersion }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) SearchOrder() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) string { - return v.SearchOrder - }).(pulumi.StringOutput) +// Override skip (string) +func (o GetClusterScanScanConfigCisScanConfigOutput) OverrideSkips() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterScanScanConfigCisScanConfig) []string { return v.OverrideSkips }).(pulumi.StringArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() +// Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) +func (o GetClusterScanScanConfigCisScanConfigOutput) Profile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterScanScanConfigCisScanConfig) *string { return v.Profile }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o +type GetClusterScheduledClusterScan struct { + Enabled *bool `pulumi:"enabled"` + ScanConfig GetClusterScheduledClusterScanScanConfig `pulumi:"scanConfig"` + ScheduleConfig GetClusterScheduledClusterScanScheduleConfig `pulumi:"scheduleConfig"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { - return o +// GetClusterScheduledClusterScanInput is an input type that accepts GetClusterScheduledClusterScanArgs and GetClusterScheduledClusterScanOutput values. +// You can construct a concrete instance of `GetClusterScheduledClusterScanInput` via: +// +// GetClusterScheduledClusterScanArgs{...} +type GetClusterScheduledClusterScanInput interface { + pulumi.Input + + ToGetClusterScheduledClusterScanOutput() GetClusterScheduledClusterScanOutput + ToGetClusterScheduledClusterScanOutputWithContext(context.Context) GetClusterScheduledClusterScanOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) +type GetClusterScheduledClusterScanArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + ScanConfig GetClusterScheduledClusterScanScanConfigInput `pulumi:"scanConfig"` + ScheduleConfig GetClusterScheduledClusterScanScheduleConfigInput `pulumi:"scheduleConfig"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) RequestTimeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *int { - if v == nil { - return nil - } - return &v.RequestTimeout - }).(pulumi.IntPtrOutput) +func (GetClusterScheduledClusterScanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScheduledClusterScan)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) SearchOrder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *string { - if v == nil { - return nil - } - return &v.SearchOrder - }).(pulumi.StringPtrOutput) +func (i GetClusterScheduledClusterScanArgs) ToGetClusterScheduledClusterScanOutput() GetClusterScheduledClusterScanOutput { + return i.ToGetClusterScheduledClusterScanOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute struct { - RouterId string `pulumi:"routerId"` +func (i GetClusterScheduledClusterScanArgs) ToGetClusterScheduledClusterScanOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterScheduledClusterScanOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput` via: +// GetClusterScheduledClusterScanArrayInput is an input type that accepts GetClusterScheduledClusterScanArray and GetClusterScheduledClusterScanArrayOutput values. +// You can construct a concrete instance of `GetClusterScheduledClusterScanArrayInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput interface { +// GetClusterScheduledClusterScanArray{ GetClusterScheduledClusterScanArgs{...} } +type GetClusterScheduledClusterScanArrayInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput + ToGetClusterScheduledClusterScanArrayOutput() GetClusterScheduledClusterScanArrayOutput + ToGetClusterScheduledClusterScanArrayOutputWithContext(context.Context) GetClusterScheduledClusterScanArrayOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs struct { - RouterId pulumi.StringInput `pulumi:"routerId"` -} +type GetClusterScheduledClusterScanArray []GetClusterScheduledClusterScanInput -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +func (GetClusterScheduledClusterScanArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterScheduledClusterScan)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Background()) +func (i GetClusterScheduledClusterScanArray) ToGetClusterScheduledClusterScanArrayOutput() GetClusterScheduledClusterScanArrayOutput { + return i.ToGetClusterScheduledClusterScanArrayOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) +func (i GetClusterScheduledClusterScanArray) ToGetClusterScheduledClusterScanArrayOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterScheduledClusterScanArrayOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) +type GetClusterScheduledClusterScanOutput struct{ *pulumi.OutputState } + +func (GetClusterScheduledClusterScanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScheduledClusterScan)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx) +func (o GetClusterScheduledClusterScanOutput) ToGetClusterScheduledClusterScanOutput() GetClusterScheduledClusterScanOutput { + return o } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput interface { - pulumi.Input +func (o GetClusterScheduledClusterScanOutput) ToGetClusterScheduledClusterScanOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanOutput { + return o +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput +func (o GetClusterScheduledClusterScanOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScan) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs +func (o GetClusterScheduledClusterScanOutput) ScanConfig() GetClusterScheduledClusterScanScanConfigOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScan) GetClusterScheduledClusterScanScanConfig { return v.ScanConfig }).(GetClusterScheduledClusterScanScanConfigOutput) +} -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType)(v) +func (o GetClusterScheduledClusterScanOutput) ScheduleConfig() GetClusterScheduledClusterScanScheduleConfigOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScan) GetClusterScheduledClusterScanScheduleConfig { + return v.ScheduleConfig + }).(GetClusterScheduledClusterScanScheduleConfigOutput) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +type GetClusterScheduledClusterScanArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterScheduledClusterScanArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterScheduledClusterScan)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) +func (o GetClusterScheduledClusterScanArrayOutput) ToGetClusterScheduledClusterScanArrayOutput() GetClusterScheduledClusterScanArrayOutput { + return o } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) +func (o GetClusterScheduledClusterScanArrayOutput) ToGetClusterScheduledClusterScanArrayOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanArrayOutput { + return o } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput struct{ *pulumi.OutputState } +func (o GetClusterScheduledClusterScanArrayOutput) Index(i pulumi.IntInput) GetClusterScheduledClusterScanOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterScheduledClusterScan { + return vs[0].([]GetClusterScheduledClusterScan)[vs[1].(int)] + }).(GetClusterScheduledClusterScanOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +type GetClusterScheduledClusterScanScanConfig struct { + CisScanConfig GetClusterScheduledClusterScanScanConfigCisScanConfig `pulumi:"cisScanConfig"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return o +// GetClusterScheduledClusterScanScanConfigInput is an input type that accepts GetClusterScheduledClusterScanScanConfigArgs and GetClusterScheduledClusterScanScanConfigOutput values. +// You can construct a concrete instance of `GetClusterScheduledClusterScanScanConfigInput` via: +// +// GetClusterScheduledClusterScanScanConfigArgs{...} +type GetClusterScheduledClusterScanScanConfigInput interface { + pulumi.Input + + ToGetClusterScheduledClusterScanScanConfigOutput() GetClusterScheduledClusterScanScanConfigOutput + ToGetClusterScheduledClusterScanScanConfigOutputWithContext(context.Context) GetClusterScheduledClusterScanScanConfigOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return o +type GetClusterScheduledClusterScanScanConfigArgs struct { + CisScanConfig GetClusterScheduledClusterScanScanConfigCisScanConfigInput `pulumi:"cisScanConfig"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) +func (GetClusterScheduledClusterScanScanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScheduledClusterScanScanConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) +func (i GetClusterScheduledClusterScanScanConfigArgs) ToGetClusterScheduledClusterScanScanConfigOutput() GetClusterScheduledClusterScanScanConfigOutput { + return i.ToGetClusterScheduledClusterScanScanConfigOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) RouterId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) string { - return v.RouterId - }).(pulumi.StringOutput) +func (i GetClusterScheduledClusterScanScanConfigArgs) ToGetClusterScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterScheduledClusterScanScanConfigOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput struct{ *pulumi.OutputState } +type GetClusterScheduledClusterScanScanConfigOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() +func (GetClusterScheduledClusterScanScanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScheduledClusterScanScanConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { +func (o GetClusterScheduledClusterScanScanConfigOutput) ToGetClusterScheduledClusterScanScanConfigOutput() GetClusterScheduledClusterScanScanConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { +func (o GetClusterScheduledClusterScanScanConfigOutput) ToGetClusterScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScanConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) RouterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) *string { - if v == nil { - return nil - } - return &v.RouterId - }).(pulumi.StringPtrOutput) +func (o GetClusterScheduledClusterScanScanConfigOutput) CisScanConfig() GetClusterScheduledClusterScanScanConfigCisScanConfigOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfig) GetClusterScheduledClusterScanScanConfigCisScanConfig { + return v.CisScanConfig + }).(GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider struct { - Disk GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk `pulumi:"disk"` - Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal `pulumi:"global"` - Network GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork `pulumi:"network"` - VirtualCenters []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter `pulumi:"virtualCenters"` - Workspace GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace `pulumi:"workspace"` +type GetClusterScheduledClusterScanScanConfigCisScanConfig struct { + DebugMaster *bool `pulumi:"debugMaster"` + DebugWorker *bool `pulumi:"debugWorker"` + OverrideBenchmarkVersion *string `pulumi:"overrideBenchmarkVersion"` + OverrideSkips []string `pulumi:"overrideSkips"` + Profile *string `pulumi:"profile"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput` via: +// GetClusterScheduledClusterScanScanConfigCisScanConfigInput is an input type that accepts GetClusterScheduledClusterScanScanConfigCisScanConfigArgs and GetClusterScheduledClusterScanScanConfigCisScanConfigOutput values. +// You can construct a concrete instance of `GetClusterScheduledClusterScanScanConfigCisScanConfigInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput interface { +// GetClusterScheduledClusterScanScanConfigCisScanConfigArgs{...} +type GetClusterScheduledClusterScanScanConfigCisScanConfigInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs struct { - Disk GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput `pulumi:"disk"` - Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput `pulumi:"global"` - Network GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput `pulumi:"network"` - VirtualCenters GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput `pulumi:"virtualCenters"` - Workspace GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput `pulumi:"workspace"` -} - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() + ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterScheduledClusterScanScanConfigCisScanConfigOutput + ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Context) GetClusterScheduledClusterScanScanConfigCisScanConfigOutput } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Background()) +type GetClusterScheduledClusterScanScanConfigCisScanConfigArgs struct { + DebugMaster pulumi.BoolPtrInput `pulumi:"debugMaster"` + DebugWorker pulumi.BoolPtrInput `pulumi:"debugWorker"` + OverrideBenchmarkVersion pulumi.StringPtrInput `pulumi:"overrideBenchmarkVersion"` + OverrideSkips pulumi.StringArrayInput `pulumi:"overrideSkips"` + Profile pulumi.StringPtrInput `pulumi:"profile"` } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) +func (GetClusterScheduledClusterScanScanConfigCisScanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) +func (i GetClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterScheduledClusterScanScanConfigCisScanConfigOutput { + return i.ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx) +func (i GetClusterScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScanConfigCisScanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput interface { - pulumi.Input +type GetClusterScheduledClusterScanScanConfigCisScanConfigOutput struct{ *pulumi.OutputState } - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput +func (GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs - -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType)(v) +func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterScheduledClusterScanScanConfigCisScanConfigOutput { + return o } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScanConfigCisScanConfigOutput { + return o } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) +func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) DebugMaster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfigCisScanConfig) *bool { return v.DebugMaster }).(pulumi.BoolPtrOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) +func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) DebugWorker() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfigCisScanConfig) *bool { return v.DebugWorker }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfigCisScanConfig) *string { + return v.OverrideBenchmarkVersion + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { - return o +func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) OverrideSkips() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfigCisScanConfig) []string { return v.OverrideSkips }).(pulumi.StringArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { - return o +func (o GetClusterScheduledClusterScanScanConfigCisScanConfigOutput) Profile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScanScanConfigCisScanConfig) *string { return v.Profile }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) +type GetClusterScheduledClusterScanScheduleConfig struct { + CronSchedule string `pulumi:"cronSchedule"` + Retention int `pulumi:"retention"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) -} +// GetClusterScheduledClusterScanScheduleConfigInput is an input type that accepts GetClusterScheduledClusterScanScheduleConfigArgs and GetClusterScheduledClusterScanScheduleConfigOutput values. +// You can construct a concrete instance of `GetClusterScheduledClusterScanScheduleConfigInput` via: +// +// GetClusterScheduledClusterScanScheduleConfigArgs{...} +type GetClusterScheduledClusterScanScheduleConfigInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Disk() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { - return v.Disk - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) + ToGetClusterScheduledClusterScanScheduleConfigOutput() GetClusterScheduledClusterScanScheduleConfigOutput + ToGetClusterScheduledClusterScanScheduleConfigOutputWithContext(context.Context) GetClusterScheduledClusterScanScheduleConfigOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { - return v.Global - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) +type GetClusterScheduledClusterScanScheduleConfigArgs struct { + CronSchedule pulumi.StringInput `pulumi:"cronSchedule"` + Retention pulumi.IntInput `pulumi:"retention"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Network() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { - return v.Network - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) +func (GetClusterScheduledClusterScanScheduleConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) VirtualCenters() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { - return v.VirtualCenters - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) +func (i GetClusterScheduledClusterScanScheduleConfigArgs) ToGetClusterScheduledClusterScanScheduleConfigOutput() GetClusterScheduledClusterScanScheduleConfigOutput { + return i.ToGetClusterScheduledClusterScanScheduleConfigOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Workspace() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { - return v.Workspace - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) +func (i GetClusterScheduledClusterScanScheduleConfigArgs) ToGetClusterScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScheduleConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterScheduledClusterScanScheduleConfigOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput struct{ *pulumi.OutputState } +type GetClusterScheduledClusterScanScheduleConfigOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +func (GetClusterScheduledClusterScanScheduleConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { +func (o GetClusterScheduledClusterScanScheduleConfigOutput) ToGetClusterScheduledClusterScanScheduleConfigOutput() GetClusterScheduledClusterScanScheduleConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { +func (o GetClusterScheduledClusterScanScheduleConfigOutput) ToGetClusterScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) GetClusterScheduledClusterScanScheduleConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) +func (o GetClusterScheduledClusterScanScheduleConfigOutput) CronSchedule() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScanScheduleConfig) string { return v.CronSchedule }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Disk() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { - if v == nil { - return nil - } - return &v.Disk - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) +func (o GetClusterScheduledClusterScanScheduleConfigOutput) Retention() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterScheduledClusterScanScheduleConfig) int { return v.Retention }).(pulumi.IntOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { - if v == nil { - return nil - } - return &v.Global - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) +type GetClusterTemplateMember struct { + AccessType *string `pulumi:"accessType"` + GroupPrincipalId *string `pulumi:"groupPrincipalId"` + UserPrincipalId *string `pulumi:"userPrincipalId"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Network() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { - if v == nil { - return nil - } - return &v.Network - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) +// GetClusterTemplateMemberInput is an input type that accepts GetClusterTemplateMemberArgs and GetClusterTemplateMemberOutput values. +// You can construct a concrete instance of `GetClusterTemplateMemberInput` via: +// +// GetClusterTemplateMemberArgs{...} +type GetClusterTemplateMemberInput interface { + pulumi.Input + + ToGetClusterTemplateMemberOutput() GetClusterTemplateMemberOutput + ToGetClusterTemplateMemberOutputWithContext(context.Context) GetClusterTemplateMemberOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) VirtualCenters() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { - if v == nil { - return nil - } - return v.VirtualCenters - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) +type GetClusterTemplateMemberArgs struct { + AccessType pulumi.StringPtrInput `pulumi:"accessType"` + GroupPrincipalId pulumi.StringPtrInput `pulumi:"groupPrincipalId"` + UserPrincipalId pulumi.StringPtrInput `pulumi:"userPrincipalId"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Workspace() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { - if v == nil { - return nil - } - return &v.Workspace - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) +func (GetClusterTemplateMemberArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateMember)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk struct { - ScsiControllerType string `pulumi:"scsiControllerType"` +func (i GetClusterTemplateMemberArgs) ToGetClusterTemplateMemberOutput() GetClusterTemplateMemberOutput { + return i.ToGetClusterTemplateMemberOutputWithContext(context.Background()) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput` via: +func (i GetClusterTemplateMemberArgs) ToGetClusterTemplateMemberOutputWithContext(ctx context.Context) GetClusterTemplateMemberOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateMemberOutput) +} + +// GetClusterTemplateMemberArrayInput is an input type that accepts GetClusterTemplateMemberArray and GetClusterTemplateMemberArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateMemberArrayInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput interface { +// GetClusterTemplateMemberArray{ GetClusterTemplateMemberArgs{...} } +type GetClusterTemplateMemberArrayInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput + ToGetClusterTemplateMemberArrayOutput() GetClusterTemplateMemberArrayOutput + ToGetClusterTemplateMemberArrayOutputWithContext(context.Context) GetClusterTemplateMemberArrayOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs struct { - ScsiControllerType pulumi.StringInput `pulumi:"scsiControllerType"` -} +type GetClusterTemplateMemberArray []GetClusterTemplateMemberInput -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() +func (GetClusterTemplateMemberArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateMember)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Background()) +func (i GetClusterTemplateMemberArray) ToGetClusterTemplateMemberArrayOutput() GetClusterTemplateMemberArrayOutput { + return i.ToGetClusterTemplateMemberArrayOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) +func (i GetClusterTemplateMemberArray) ToGetClusterTemplateMemberArrayOutputWithContext(ctx context.Context) GetClusterTemplateMemberArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateMemberArrayOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) -} +type GetClusterTemplateMemberOutput struct{ *pulumi.OutputState } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx) +func (GetClusterTemplateMemberOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateMember)(nil)).Elem() } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput +func (o GetClusterTemplateMemberOutput) ToGetClusterTemplateMemberOutput() GetClusterTemplateMemberOutput { + return o } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs - -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType)(v) +func (o GetClusterTemplateMemberOutput) ToGetClusterTemplateMemberOutputWithContext(ctx context.Context) GetClusterTemplateMemberOutput { + return o } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() +func (o GetClusterTemplateMemberOutput) AccessType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateMember) *string { return v.AccessType }).(pulumi.StringPtrOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateMemberOutput) GroupPrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateMember) *string { return v.GroupPrincipalId }).(pulumi.StringPtrOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) +func (o GetClusterTemplateMemberOutput) UserPrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateMember) *string { return v.UserPrincipalId }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput struct{ *pulumi.OutputState } +type GetClusterTemplateMemberArrayOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() +func (GetClusterTemplateMemberArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateMember)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { +func (o GetClusterTemplateMemberArrayOutput) ToGetClusterTemplateMemberArrayOutput() GetClusterTemplateMemberArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { +func (o GetClusterTemplateMemberArrayOutput) ToGetClusterTemplateMemberArrayOutputWithContext(ctx context.Context) GetClusterTemplateMemberArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateMemberArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateMemberOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateMember { + return vs[0].([]GetClusterTemplateMember)[vs[1].(int)] + }).(GetClusterTemplateMemberOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) +type GetClusterTemplateTemplateRevision struct { + // (Computed) Annotations for the cluster template (map) + Annotations map[string]interface{} `pulumi:"annotations"` + ClusterConfig GetClusterTemplateTemplateRevisionClusterConfig `pulumi:"clusterConfig"` + ClusterTemplateId string `pulumi:"clusterTemplateId"` + Default *bool `pulumi:"default"` + Enabled *bool `pulumi:"enabled"` + // (Computed) The ID of the resource (string) + Id string `pulumi:"id"` + // (Computed) Labels for the cluster template (map) + Labels map[string]interface{} `pulumi:"labels"` + // The cluster template name (string) + Name string `pulumi:"name"` + Questions []GetClusterTemplateTemplateRevisionQuestion `pulumi:"questions"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ScsiControllerType() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) string { - return v.ScsiControllerType - }).(pulumi.StringOutput) +// GetClusterTemplateTemplateRevisionInput is an input type that accepts GetClusterTemplateTemplateRevisionArgs and GetClusterTemplateTemplateRevisionOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionInput` via: +// +// GetClusterTemplateTemplateRevisionArgs{...} +type GetClusterTemplateTemplateRevisionInput interface { + pulumi.Input + + ToGetClusterTemplateTemplateRevisionOutput() GetClusterTemplateTemplateRevisionOutput + ToGetClusterTemplateTemplateRevisionOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionArgs struct { + // (Computed) Annotations for the cluster template (map) + Annotations pulumi.MapInput `pulumi:"annotations"` + ClusterConfig GetClusterTemplateTemplateRevisionClusterConfigInput `pulumi:"clusterConfig"` + ClusterTemplateId pulumi.StringInput `pulumi:"clusterTemplateId"` + Default pulumi.BoolPtrInput `pulumi:"default"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + // (Computed) The ID of the resource (string) + Id pulumi.StringInput `pulumi:"id"` + // (Computed) Labels for the cluster template (map) + Labels pulumi.MapInput `pulumi:"labels"` + // The cluster template name (string) + Name pulumi.StringInput `pulumi:"name"` + Questions GetClusterTemplateTemplateRevisionQuestionArrayInput `pulumi:"questions"` +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevision)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o +func (i GetClusterTemplateTemplateRevisionArgs) ToGetClusterTemplateTemplateRevisionOutput() GetClusterTemplateTemplateRevisionOutput { + return i.ToGetClusterTemplateTemplateRevisionOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { - return o +func (i GetClusterTemplateTemplateRevisionArgs) ToGetClusterTemplateTemplateRevisionOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) +// GetClusterTemplateTemplateRevisionArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionArray and GetClusterTemplateTemplateRevisionArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionArrayInput` via: +// +// GetClusterTemplateTemplateRevisionArray{ GetClusterTemplateTemplateRevisionArgs{...} } +type GetClusterTemplateTemplateRevisionArrayInput interface { + pulumi.Input + + ToGetClusterTemplateTemplateRevisionArrayOutput() GetClusterTemplateTemplateRevisionArrayOutput + ToGetClusterTemplateTemplateRevisionArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionArrayOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ScsiControllerType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) *string { - if v == nil { - return nil - } - return &v.ScsiControllerType - }).(pulumi.StringPtrOutput) +type GetClusterTemplateTemplateRevisionArray []GetClusterTemplateTemplateRevisionInput + +func (GetClusterTemplateTemplateRevisionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevision)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal struct { - Datacenters string `pulumi:"datacenters"` - InsecureFlag bool `pulumi:"insecureFlag"` - Password string `pulumi:"password"` - Port string `pulumi:"port"` - SoapRoundtripCount int `pulumi:"soapRoundtripCount"` - User string `pulumi:"user"` +func (i GetClusterTemplateTemplateRevisionArray) ToGetClusterTemplateTemplateRevisionArrayOutput() GetClusterTemplateTemplateRevisionArrayOutput { + return i.ToGetClusterTemplateTemplateRevisionArrayOutputWithContext(context.Background()) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput interface { - pulumi.Input +func (i GetClusterTemplateTemplateRevisionArray) ToGetClusterTemplateTemplateRevisionArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionArrayOutput) +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput +type GetClusterTemplateTemplateRevisionOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevision)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs struct { - Datacenters pulumi.StringInput `pulumi:"datacenters"` - InsecureFlag pulumi.BoolInput `pulumi:"insecureFlag"` - Password pulumi.StringInput `pulumi:"password"` - Port pulumi.StringInput `pulumi:"port"` - SoapRoundtripCount pulumi.IntInput `pulumi:"soapRoundtripCount"` - User pulumi.StringInput `pulumi:"user"` +func (o GetClusterTemplateTemplateRevisionOutput) ToGetClusterTemplateTemplateRevisionOutput() GetClusterTemplateTemplateRevisionOutput { + return o } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionOutput) ToGetClusterTemplateTemplateRevisionOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionOutput { + return o } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Background()) +// (Computed) Annotations for the cluster template (map) +func (o GetClusterTemplateTemplateRevisionOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevision) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) +func (o GetClusterTemplateTemplateRevisionOutput) ClusterConfig() GetClusterTemplateTemplateRevisionClusterConfigOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevision) GetClusterTemplateTemplateRevisionClusterConfig { + return v.ClusterConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionOutput) ClusterTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevision) string { return v.ClusterTemplateId }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx) +func (o GetClusterTemplateTemplateRevisionOutput) Default() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevision) *bool { return v.Default }).(pulumi.BoolPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput +func (o GetClusterTemplateTemplateRevisionOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevision) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs - -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType)(v) +// (Computed) The ID of the resource (string) +func (o GetClusterTemplateTemplateRevisionOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevision) string { return v.Id }).(pulumi.StringOutput) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +// (Computed) Labels for the cluster template (map) +func (o GetClusterTemplateTemplateRevisionOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevision) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) +// The cluster template name (string) +func (o GetClusterTemplateTemplateRevisionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevision) string { return v.Name }).(pulumi.StringOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) +func (o GetClusterTemplateTemplateRevisionOutput) Questions() GetClusterTemplateTemplateRevisionQuestionArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevision) []GetClusterTemplateTemplateRevisionQuestion { + return v.Questions + }).(GetClusterTemplateTemplateRevisionQuestionArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionArrayOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevision)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { +func (o GetClusterTemplateTemplateRevisionArrayOutput) ToGetClusterTemplateTemplateRevisionArrayOutput() GetClusterTemplateTemplateRevisionArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { +func (o GetClusterTemplateTemplateRevisionArrayOutput) ToGetClusterTemplateTemplateRevisionArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevision { + return vs[0].([]GetClusterTemplateTemplateRevision)[vs[1].(int)] + }).(GetClusterTemplateTemplateRevisionOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfig struct { + ClusterAuthEndpoint GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint `pulumi:"clusterAuthEndpoint"` + DefaultClusterRoleForProjectMembers string `pulumi:"defaultClusterRoleForProjectMembers"` + DefaultPodSecurityPolicyTemplateId string `pulumi:"defaultPodSecurityPolicyTemplateId"` + DesiredAgentImage string `pulumi:"desiredAgentImage"` + DesiredAuthImage string `pulumi:"desiredAuthImage"` + DockerRootDir string `pulumi:"dockerRootDir"` + EnableClusterAlerting *bool `pulumi:"enableClusterAlerting"` + EnableClusterMonitoring *bool `pulumi:"enableClusterMonitoring"` + EnableNetworkPolicy *bool `pulumi:"enableNetworkPolicy"` + RkeConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfig `pulumi:"rkeConfig"` + ScheduledClusterScan *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan `pulumi:"scheduledClusterScan"` + WindowsPreferedCluster *bool `pulumi:"windowsPreferedCluster"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Datacenters() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) string { - return v.Datacenters - }).(pulumi.StringOutput) -} +// GetClusterTemplateTemplateRevisionClusterConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) InsecureFlag() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) bool { - return v.InsecureFlag - }).(pulumi.BoolOutput) + ToGetClusterTemplateTemplateRevisionClusterConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) string { - return v.Password - }).(pulumi.StringOutput) +type GetClusterTemplateTemplateRevisionClusterConfigArgs struct { + ClusterAuthEndpoint GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput `pulumi:"clusterAuthEndpoint"` + DefaultClusterRoleForProjectMembers pulumi.StringInput `pulumi:"defaultClusterRoleForProjectMembers"` + DefaultPodSecurityPolicyTemplateId pulumi.StringInput `pulumi:"defaultPodSecurityPolicyTemplateId"` + DesiredAgentImage pulumi.StringInput `pulumi:"desiredAgentImage"` + DesiredAuthImage pulumi.StringInput `pulumi:"desiredAuthImage"` + DockerRootDir pulumi.StringInput `pulumi:"dockerRootDir"` + EnableClusterAlerting pulumi.BoolPtrInput `pulumi:"enableClusterAlerting"` + EnableClusterMonitoring pulumi.BoolPtrInput `pulumi:"enableClusterMonitoring"` + EnableNetworkPolicy pulumi.BoolPtrInput `pulumi:"enableNetworkPolicy"` + RkeConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfigInput `pulumi:"rkeConfig"` + ScheduledClusterScan GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput `pulumi:"scheduledClusterScan"` + WindowsPreferedCluster pulumi.BoolPtrInput `pulumi:"windowsPreferedCluster"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Port() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) string { - return v.Port - }).(pulumi.StringOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) SoapRoundtripCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) int { - return v.SoapRoundtripCount - }).(pulumi.IntOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) string { - return v.User - }).(pulumi.StringOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) ClusterAuthEndpoint() GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint { + return v.ClusterAuthEndpoint + }).(GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Datacenters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Datacenters - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) DefaultClusterRoleForProjectMembers() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) string { + return v.DefaultClusterRoleForProjectMembers + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) InsecureFlag() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *bool { - if v == nil { - return nil - } - return &v.InsecureFlag - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) DefaultPodSecurityPolicyTemplateId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) string { + return v.DefaultPodSecurityPolicyTemplateId + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Password - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) DesiredAgentImage() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) string { return v.DesiredAgentImage }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.Port - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) DesiredAuthImage() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) string { return v.DesiredAuthImage }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) SoapRoundtripCount() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *int { - if v == nil { - return nil - } - return &v.SoapRoundtripCount - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) DockerRootDir() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) string { return v.DockerRootDir }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { - if v == nil { - return nil - } - return &v.User - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) EnableClusterAlerting() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableClusterAlerting }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork struct { - PublicNetwork string `pulumi:"publicNetwork"` +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) EnableClusterMonitoring() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableClusterMonitoring }).(pulumi.BoolPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) EnableNetworkPolicy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) *bool { return v.EnableNetworkPolicy }).(pulumi.BoolPtrOutput) +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) RkeConfig() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfig { + return v.RkeConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs struct { - PublicNetwork pulumi.StringInput `pulumi:"publicNetwork"` +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) ScheduledClusterScan() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { + return v.ScheduledClusterScan + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigOutput) WindowsPreferedCluster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfig) *bool { return v.WindowsPreferedCluster }).(pulumi.BoolPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Background()) +type GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint struct { + CaCerts *string `pulumi:"caCerts"` + Enabled *bool `pulumi:"enabled"` + Fqdn *string `pulumi:"fqdn"` } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) +// GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs and GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointInput interface { + pulumi.Input + + ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput + ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) +type GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs struct { + CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx) +func (GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput interface { - pulumi.Input +func (i GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(context.Background()) +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput +func (i GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs) ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs +type GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput struct{ *pulumi.OutputState } -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType)(v) +func (GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint)(nil)).Elem() } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput() GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { + return o } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) ToGetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput { + return o } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return o +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfig struct { + AddonJobTimeout int `pulumi:"addonJobTimeout"` + Addons *string `pulumi:"addons"` + AddonsIncludes []string `pulumi:"addonsIncludes"` + Authentication GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication `pulumi:"authentication"` + Authorization GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization `pulumi:"authorization"` + BastionHost GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost `pulumi:"bastionHost"` + CloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider `pulumi:"cloudProvider"` + Dns GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns `pulumi:"dns"` + EnableCriDockerd *bool `pulumi:"enableCriDockerd"` + IgnoreDockerVersion *bool `pulumi:"ignoreDockerVersion"` + Ingress GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress `pulumi:"ingress"` + KubernetesVersion string `pulumi:"kubernetesVersion"` + Monitoring GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring `pulumi:"monitoring"` + Network GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork `pulumi:"network"` + Nodes []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode `pulumi:"nodes"` + PrefixPath string `pulumi:"prefixPath"` + PrivateRegistries []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry `pulumi:"privateRegistries"` + Services GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices `pulumi:"services"` + SshAgentAuth *bool `pulumi:"sshAgentAuth"` + SshCertPath string `pulumi:"sshCertPath"` + SshKeyPath string `pulumi:"sshKeyPath"` + UpgradeStrategy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy `pulumi:"upgradeStrategy"` + WinPrefixPath string `pulumi:"winPrefixPath"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return o +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigInput interface { + pulumi.Input + + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs struct { + AddonJobTimeout pulumi.IntInput `pulumi:"addonJobTimeout"` + Addons pulumi.StringPtrInput `pulumi:"addons"` + AddonsIncludes pulumi.StringArrayInput `pulumi:"addonsIncludes"` + Authentication GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput `pulumi:"authentication"` + Authorization GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput `pulumi:"authorization"` + BastionHost GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput `pulumi:"bastionHost"` + CloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput `pulumi:"cloudProvider"` + Dns GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput `pulumi:"dns"` + EnableCriDockerd pulumi.BoolPtrInput `pulumi:"enableCriDockerd"` + IgnoreDockerVersion pulumi.BoolPtrInput `pulumi:"ignoreDockerVersion"` + Ingress GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput `pulumi:"ingress"` + KubernetesVersion pulumi.StringInput `pulumi:"kubernetesVersion"` + Monitoring GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput `pulumi:"monitoring"` + Network GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput `pulumi:"network"` + Nodes GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput `pulumi:"nodes"` + PrefixPath pulumi.StringInput `pulumi:"prefixPath"` + PrivateRegistries GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput `pulumi:"privateRegistries"` + Services GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput `pulumi:"services"` + SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` + SshCertPath pulumi.StringInput `pulumi:"sshCertPath"` + SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` + UpgradeStrategy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput `pulumi:"upgradeStrategy"` + WinPrefixPath pulumi.StringInput `pulumi:"winPrefixPath"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) PublicNetwork() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) string { - return v.PublicNetwork - }).(pulumi.StringOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput struct{ *pulumi.OutputState } +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfig)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) AddonJobTimeout() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) int { return v.AddonJobTimeout }).(pulumi.IntOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) PublicNetwork() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) *string { - if v == nil { - return nil - } - return &v.PublicNetwork - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Addons() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) *string { return v.Addons }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter struct { - Datacenters string `pulumi:"datacenters"` - // The cluster template name (string) - Name string `pulumi:"name"` - Password string `pulumi:"password"` - Port string `pulumi:"port"` - SoapRoundtripCount int `pulumi:"soapRoundtripCount"` - User string `pulumi:"user"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) AddonsIncludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) []string { return v.AddonsIncludes }).(pulumi.StringArrayOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Authentication() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication { + return v.Authentication + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs struct { - Datacenters pulumi.StringInput `pulumi:"datacenters"` - // The cluster template name (string) - Name pulumi.StringInput `pulumi:"name"` - Password pulumi.StringInput `pulumi:"password"` - Port pulumi.StringInput `pulumi:"port"` - SoapRoundtripCount pulumi.IntInput `pulumi:"soapRoundtripCount"` - User pulumi.StringInput `pulumi:"user"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Authorization() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization { + return v.Authorization + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) BastionHost() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost { + return v.BastionHost + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) CloudProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider { + return v.CloudProvider + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Dns() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns { + return v.Dns + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) EnableCriDockerd() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.EnableCriDockerd }).(pulumi.BoolPtrOutput) +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) IgnoreDockerVersion() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.IgnoreDockerVersion }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Ingress() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress { + return v.Ingress + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) KubernetesVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) string { return v.KubernetesVersion }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Monitoring() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring { + return v.Monitoring + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Network() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { + return v.Network + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Nodes() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode { + return v.Nodes + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) PrefixPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) string { return v.PrefixPath }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) PrivateRegistries() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry { + return v.PrivateRegistries + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) Services() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices { + return v.Services + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Datacenters() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { - return v.Datacenters - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) } -// The cluster template name (string) -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { - return v.Name - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshCertPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) string { return v.SshCertPath }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { - return v.Password - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) SshKeyPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) string { return v.SshKeyPath }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Port() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { - return v.Port - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) UpgradeStrategy() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy { + return v.UpgradeStrategy + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) SoapRoundtripCount() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) int { - return v.SoapRoundtripCount - }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigOutput) WinPrefixPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfig) string { return v.WinPrefixPath }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { - return v.User - }).(pulumi.StringOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication struct { + Sans []string `pulumi:"sans"` + Strategy string `pulumi:"strategy"` } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput struct{ *pulumi.OutputState } +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationInput interface { + pulumi.Input -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return o +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs struct { + Sans pulumi.StringArrayInput `pulumi:"sans"` + Strategy pulumi.StringInput `pulumi:"strategy"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { - return o +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { - return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)[vs[1].(int)] - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace struct { - Datacenter string `pulumi:"datacenter"` - DefaultDatastore string `pulumi:"defaultDatastore"` - Folder string `pulumi:"folder"` - ResourcepoolPath string `pulumi:"resourcepoolPath"` - Server string `pulumi:"server"` +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput struct{ *pulumi.OutputState } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs struct { - Datacenter pulumi.StringInput `pulumi:"datacenter"` - DefaultDatastore pulumi.StringInput `pulumi:"defaultDatastore"` - Folder pulumi.StringInput `pulumi:"folder"` - ResourcepoolPath pulumi.StringInput `pulumi:"resourcepoolPath"` - Server pulumi.StringInput `pulumi:"server"` +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication)(nil)).Elem() } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { + return o } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput { + return o } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) Sans() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) []string { return v.Sans }).(pulumi.StringArrayOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationOutput) Strategy() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthentication) string { + return v.Strategy + }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization struct { + Mode *string `pulumi:"mode"` + Options map[string]interface{} `pulumi:"options"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} -// -// or: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput` via: // -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs - -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType)(v) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs struct { + Mode pulumi.StringPtrInput `pulumi:"mode"` + Options pulumi.MapInput `pulumi:"options"` } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) *string { return v.Mode }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorization) map[string]interface{} { + return v.Options + }).(pulumi.MapOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Datacenter() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { - return v.Datacenter - }).(pulumi.StringOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost struct { + Address string `pulumi:"address"` + Port *string `pulumi:"port"` + SshAgentAuth *bool `pulumi:"sshAgentAuth"` + SshKey string `pulumi:"sshKey"` + SshKeyPath string `pulumi:"sshKeyPath"` + User string `pulumi:"user"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) DefaultDatastore() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { - return v.DefaultDatastore - }).(pulumi.StringOutput) +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostInput interface { + pulumi.Input + + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Folder() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { - return v.Folder - }).(pulumi.StringOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs struct { + Address pulumi.StringInput `pulumi:"address"` + Port pulumi.StringPtrInput `pulumi:"port"` + SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` + SshKey pulumi.StringInput `pulumi:"sshKey"` + SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` + User pulumi.StringInput `pulumi:"user"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ResourcepoolPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { - return v.ResourcepoolPath - }).(pulumi.StringOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Server() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { - return v.Server - }).(pulumi.StringOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput struct{ *pulumi.OutputState } +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { return v.Address }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Datacenter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - if v == nil { - return nil - } - return &v.Datacenter - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *string { return v.Port }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) DefaultDatastore() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - if v == nil { - return nil - } - return &v.DefaultDatastore - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) *bool { + return v.SshAgentAuth + }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - if v == nil { - return nil - } - return &v.Folder - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshKey() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { return v.SshKey }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ResourcepoolPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - if v == nil { - return nil - } - return &v.ResourcepoolPath - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) SshKeyPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { + return v.SshKeyPath + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Server() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { - if v == nil { - return nil - } - return &v.Server - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHost) string { return v.User }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns struct { - LinearAutoscalerParams *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams `pulumi:"linearAutoscalerParams"` - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` - Nodelocal *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal `pulumi:"nodelocal"` - Options map[string]interface{} `pulumi:"options"` - Provider *string `pulumi:"provider"` - ReverseCidrs []string `pulumi:"reverseCidrs"` - Tolerations []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration `pulumi:"tolerations"` - UpdateStrategy *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy `pulumi:"updateStrategy"` - UpstreamNameservers []string `pulumi:"upstreamNameservers"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider struct { + AwsCloudProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider `pulumi:"awsCloudProvider"` + AzureCloudProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider `pulumi:"azureCloudProvider"` + CustomCloudProvider string `pulumi:"customCloudProvider"` + // The cluster template name (string) + Name *string `pulumi:"name"` + OpenstackCloudProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider `pulumi:"openstackCloudProvider"` + VsphereCloudProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider `pulumi:"vsphereCloudProvider"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs struct { - LinearAutoscalerParams GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput `pulumi:"linearAutoscalerParams"` - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` - Nodelocal GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput `pulumi:"nodelocal"` - Options pulumi.MapInput `pulumi:"options"` - Provider pulumi.StringPtrInput `pulumi:"provider"` - ReverseCidrs pulumi.StringArrayInput `pulumi:"reverseCidrs"` - Tolerations GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput `pulumi:"tolerations"` - UpdateStrategy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput `pulumi:"updateStrategy"` - UpstreamNameservers pulumi.StringArrayInput `pulumi:"upstreamNameservers"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs struct { + AwsCloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput `pulumi:"awsCloudProvider"` + AzureCloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput `pulumi:"azureCloudProvider"` + CustomCloudProvider pulumi.StringInput `pulumi:"customCloudProvider"` + // The cluster template name (string) + Name pulumi.StringPtrInput `pulumi:"name"` + OpenstackCloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput `pulumi:"openstackCloudProvider"` + VsphereCloudProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput `pulumi:"vsphereCloudProvider"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) LinearAutoscalerParams() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { - return v.LinearAutoscalerParams - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { - return v.NodeSelector - }).(pulumi.MapOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Nodelocal() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { - return v.Nodelocal - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { - return v.Options - }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) AwsCloudProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { + return v.AwsCloudProvider + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Provider() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *string { return v.Provider }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) AzureCloudProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { + return v.AzureCloudProvider + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ReverseCidrs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { return v.ReverseCidrs }).(pulumi.StringArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) CustomCloudProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) string { + return v.CustomCloudProvider + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Tolerations() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration { - return v.Tolerations - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) +// The cluster template name (string) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) UpdateStrategy() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { - return v.UpdateStrategy - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) OpenstackCloudProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { + return v.OpenstackCloudProvider + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) UpstreamNameservers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { - return v.UpstreamNameservers - }).(pulumi.StringArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOutput) VsphereCloudProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { + return v.VsphereCloudProvider + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams struct { - CoresPerReplica *float64 `pulumi:"coresPerReplica"` - Max *int `pulumi:"max"` - Min *int `pulumi:"min"` - NodesPerReplica *float64 `pulumi:"nodesPerReplica"` - PreventSinglePointFailure *bool `pulumi:"preventSinglePointFailure"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider struct { + Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal `pulumi:"global"` + ServiceOverrides []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride `pulumi:"serviceOverrides"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs struct { - CoresPerReplica pulumi.Float64PtrInput `pulumi:"coresPerReplica"` - Max pulumi.IntPtrInput `pulumi:"max"` - Min pulumi.IntPtrInput `pulumi:"min"` - NodesPerReplica pulumi.Float64PtrInput `pulumi:"nodesPerReplica"` - PreventSinglePointFailure pulumi.BoolPtrInput `pulumi:"preventSinglePointFailure"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs struct { + Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput `pulumi:"global"` + ServiceOverrides GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput `pulumi:"serviceOverrides"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) CoresPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { - return v.CoresPerReplica - }).(pulumi.Float64PtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) Max() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { - return v.Max - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) Min() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { - return v.Min - }).(pulumi.IntPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) NodesPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { - return v.NodesPerReplica - }).(pulumi.Float64PtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { + return v.Global + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *bool { - return v.PreventSinglePointFailure - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) ServiceOverrides() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { + return v.ServiceOverrides + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) CoresPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { - if v == nil { - return nil - } - return v.CoresPerReplica - }).(pulumi.Float64PtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Max() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { - if v == nil { - return nil - } - return v.Max - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Min() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { - if v == nil { - return nil - } - return v.Min - }).(pulumi.IntPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) NodesPerReplica() pulumi.Float64PtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { if v == nil { return nil } - return v.NodesPerReplica - }).(pulumi.Float64PtrOutput) + return &v.Global + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *bool { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderPtrOutput) ServiceOverrides() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProvider) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { if v == nil { return nil } - return v.PreventSinglePointFailure - }).(pulumi.BoolPtrOutput) + return v.ServiceOverrides + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal struct { - IpAddress *string `pulumi:"ipAddress"` - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal struct { + DisableSecurityGroupIngress *bool `pulumi:"disableSecurityGroupIngress"` + DisableStrictZoneCheck *bool `pulumi:"disableStrictZoneCheck"` + ElbSecurityGroup string `pulumi:"elbSecurityGroup"` + KubernetesClusterId string `pulumi:"kubernetesClusterId"` + KubernetesClusterTag string `pulumi:"kubernetesClusterTag"` + RoleArn string `pulumi:"roleArn"` + RouteTableId string `pulumi:"routeTableId"` + SubnetId string `pulumi:"subnetId"` + Vpc string `pulumi:"vpc"` + Zone string `pulumi:"zone"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs struct { - IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs struct { + DisableSecurityGroupIngress pulumi.BoolPtrInput `pulumi:"disableSecurityGroupIngress"` + DisableStrictZoneCheck pulumi.BoolPtrInput `pulumi:"disableStrictZoneCheck"` + ElbSecurityGroup pulumi.StringInput `pulumi:"elbSecurityGroup"` + KubernetesClusterId pulumi.StringInput `pulumi:"kubernetesClusterId"` + KubernetesClusterTag pulumi.StringInput `pulumi:"kubernetesClusterTag"` + RoleArn pulumi.StringInput `pulumi:"roleArn"` + RouteTableId pulumi.StringInput `pulumi:"routeTableId"` + SubnetId pulumi.StringInput `pulumi:"subnetId"` + Vpc pulumi.StringInput `pulumi:"vpc"` + Zone pulumi.StringInput `pulumi:"zone"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) IpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *string { - return v.IpAddress - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) map[string]interface{} { - return v.NodeSelector - }).(pulumi.MapOutput) -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return o -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { - return o -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) IpAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *string { - if v == nil { - return nil - } - return v.IpAddress - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { + return v.DisableSecurityGroupIngress + }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) map[string]interface{} { - if v == nil { - return nil - } - return v.NodeSelector - }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { + return v.DisableStrictZoneCheck + }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds int `pulumi:"seconds"` - Value *string `pulumi:"value"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) ElbSecurityGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { + return v.ElbSecurityGroup + }).(pulumi.StringOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { + return v.KubernetesClusterId + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) KubernetesClusterTag() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { + return v.KubernetesClusterTag + }).(pulumi.StringOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RoleArn() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { + return v.RoleArn + }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) RouteTableId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { + return v.RouteTableId + }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { + return v.SubnetId + }).(pulumi.StringOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs{...} } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Vpc() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { + return v.Vpc + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) string { + return v.Zone + }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(context.Background()) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableSecurityGroupIngress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { + if v == nil { + return nil + } + return v.DisableSecurityGroupIngress + }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) string { return v.Key }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) DisableStrictZoneCheck() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *bool { + if v == nil { + return nil + } + return v.DisableStrictZoneCheck + }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { - return v.Operator +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) ElbSecurityGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.ElbSecurityGroup }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Seconds() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) int { return v.Seconds }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.KubernetesClusterId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) KubernetesClusterTag() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.KubernetesClusterTag + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.RoleArn + }).(pulumi.StringPtrOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) RouteTableId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.RouteTableId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.SubnetId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Vpc() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Vpc + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration { - return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)[vs[1].(int)] - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobalPtrOutput) Zone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Zone + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy struct { - RollingUpdate *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` - Strategy *string `pulumi:"strategy"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride struct { + Region string `pulumi:"region"` + Service string `pulumi:"service"` + SigningMethod string `pulumi:"signingMethod"` + SigningName string `pulumi:"signingName"` + SigningRegion string `pulumi:"signingRegion"` + Url string `pulumi:"url"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs struct { - RollingUpdate GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` - Strategy pulumi.StringPtrInput `pulumi:"strategy"` -} - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(context.Background()) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs struct { + Region pulumi.StringInput `pulumi:"region"` + Service pulumi.StringInput `pulumi:"service"` + SigningMethod pulumi.StringInput `pulumi:"signingMethod"` + SigningName pulumi.StringInput `pulumi:"signingName"` + SigningRegion pulumi.StringInput `pulumi:"signingRegion"` + Url pulumi.StringInput `pulumi:"url"` } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs{...} -// -// or: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput` via: // -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArgs{...} } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs - -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType)(v) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideInput -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { + return v.Region + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { + return v.Service + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { - return v.RollingUpdate - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningMethod() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { + return v.SigningMethod + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *string { - return v.Strategy - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { + return v.SigningName + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) SigningRegion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { + return v.SigningRegion + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride) string { + return v.Url + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { - return o +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { - if v == nil { - return nil - } - return v.RollingUpdate - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *string { - if v == nil { - return nil - } - return v.Strategy - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride { + return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverride)[vs[1].(int)] + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAwsCloudProviderServiceOverrideOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate struct { - MaxSurge *int `pulumi:"maxSurge"` - MaxUnavailable *int `pulumi:"maxUnavailable"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider struct { + AadClientCertPassword string `pulumi:"aadClientCertPassword"` + AadClientCertPath string `pulumi:"aadClientCertPath"` + AadClientId string `pulumi:"aadClientId"` + AadClientSecret string `pulumi:"aadClientSecret"` + Cloud string `pulumi:"cloud"` + CloudProviderBackoff bool `pulumi:"cloudProviderBackoff"` + CloudProviderBackoffDuration int `pulumi:"cloudProviderBackoffDuration"` + CloudProviderBackoffExponent int `pulumi:"cloudProviderBackoffExponent"` + CloudProviderBackoffJitter int `pulumi:"cloudProviderBackoffJitter"` + CloudProviderBackoffRetries int `pulumi:"cloudProviderBackoffRetries"` + CloudProviderRateLimit bool `pulumi:"cloudProviderRateLimit"` + CloudProviderRateLimitBucket int `pulumi:"cloudProviderRateLimitBucket"` + CloudProviderRateLimitQps int `pulumi:"cloudProviderRateLimitQps"` + LoadBalancerSku *string `pulumi:"loadBalancerSku"` + Location string `pulumi:"location"` + MaximumLoadBalancerRuleCount int `pulumi:"maximumLoadBalancerRuleCount"` + PrimaryAvailabilitySetName string `pulumi:"primaryAvailabilitySetName"` + PrimaryScaleSetName string `pulumi:"primaryScaleSetName"` + ResourceGroup string `pulumi:"resourceGroup"` + RouteTableName string `pulumi:"routeTableName"` + SecurityGroupName string `pulumi:"securityGroupName"` + SubnetName string `pulumi:"subnetName"` + SubscriptionId string `pulumi:"subscriptionId"` + TenantId string `pulumi:"tenantId"` + UseInstanceMetadata bool `pulumi:"useInstanceMetadata"` + UseManagedIdentityExtension bool `pulumi:"useManagedIdentityExtension"` + VmType string `pulumi:"vmType"` + VnetName string `pulumi:"vnetName"` + VnetResourceGroup string `pulumi:"vnetResourceGroup"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs struct { - MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` - MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs struct { + AadClientCertPassword pulumi.StringInput `pulumi:"aadClientCertPassword"` + AadClientCertPath pulumi.StringInput `pulumi:"aadClientCertPath"` + AadClientId pulumi.StringInput `pulumi:"aadClientId"` + AadClientSecret pulumi.StringInput `pulumi:"aadClientSecret"` + Cloud pulumi.StringInput `pulumi:"cloud"` + CloudProviderBackoff pulumi.BoolInput `pulumi:"cloudProviderBackoff"` + CloudProviderBackoffDuration pulumi.IntInput `pulumi:"cloudProviderBackoffDuration"` + CloudProviderBackoffExponent pulumi.IntInput `pulumi:"cloudProviderBackoffExponent"` + CloudProviderBackoffJitter pulumi.IntInput `pulumi:"cloudProviderBackoffJitter"` + CloudProviderBackoffRetries pulumi.IntInput `pulumi:"cloudProviderBackoffRetries"` + CloudProviderRateLimit pulumi.BoolInput `pulumi:"cloudProviderRateLimit"` + CloudProviderRateLimitBucket pulumi.IntInput `pulumi:"cloudProviderRateLimitBucket"` + CloudProviderRateLimitQps pulumi.IntInput `pulumi:"cloudProviderRateLimitQps"` + LoadBalancerSku pulumi.StringPtrInput `pulumi:"loadBalancerSku"` + Location pulumi.StringInput `pulumi:"location"` + MaximumLoadBalancerRuleCount pulumi.IntInput `pulumi:"maximumLoadBalancerRuleCount"` + PrimaryAvailabilitySetName pulumi.StringInput `pulumi:"primaryAvailabilitySetName"` + PrimaryScaleSetName pulumi.StringInput `pulumi:"primaryScaleSetName"` + ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` + RouteTableName pulumi.StringInput `pulumi:"routeTableName"` + SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` + SubnetName pulumi.StringInput `pulumi:"subnetName"` + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` + TenantId pulumi.StringInput `pulumi:"tenantId"` + UseInstanceMetadata pulumi.BoolInput `pulumi:"useInstanceMetadata"` + UseManagedIdentityExtension pulumi.BoolInput `pulumi:"useManagedIdentityExtension"` + VmType pulumi.StringInput `pulumi:"vmType"` + VnetName pulumi.StringInput `pulumi:"vnetName"` + VnetResourceGroup pulumi.StringInput `pulumi:"vnetResourceGroup"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { - return v.MaxSurge - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPassword() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.AadClientCertPassword + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientCertPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.AadClientCertPath + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.AadClientId + }).(pulumi.StringOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) AadClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.AadClientSecret + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) Cloud() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.Cloud + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoff() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) bool { + return v.CloudProviderBackoff + }).(pulumi.BoolOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffDuration() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { + return v.CloudProviderBackoffDuration + }).(pulumi.IntOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { - if v == nil { - return nil - } - return v.MaxSurge - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffExponent() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { + return v.CloudProviderBackoffExponent + }).(pulumi.IntOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { - if v == nil { - return nil - } - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffJitter() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { + return v.CloudProviderBackoffJitter + }).(pulumi.IntOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress struct { - DefaultBackend *bool `pulumi:"defaultBackend"` - DnsPolicy string `pulumi:"dnsPolicy"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - HttpPort int `pulumi:"httpPort"` - HttpsPort int `pulumi:"httpsPort"` - NetworkMode string `pulumi:"networkMode"` - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` - Options map[string]interface{} `pulumi:"options"` - Provider string `pulumi:"provider"` - Tolerations []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration `pulumi:"tolerations"` - UpdateStrategy *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy `pulumi:"updateStrategy"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderBackoffRetries() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { + return v.CloudProviderBackoffRetries + }).(pulumi.IntOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimit() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) bool { + return v.CloudProviderRateLimit + }).(pulumi.BoolOutput) +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitBucket() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { + return v.CloudProviderRateLimitBucket + }).(pulumi.IntOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs struct { - DefaultBackend pulumi.BoolPtrInput `pulumi:"defaultBackend"` - DnsPolicy pulumi.StringInput `pulumi:"dnsPolicy"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - HttpPort pulumi.IntInput `pulumi:"httpPort"` - HttpsPort pulumi.IntInput `pulumi:"httpsPort"` - NetworkMode pulumi.StringInput `pulumi:"networkMode"` - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` - Options pulumi.MapInput `pulumi:"options"` - Provider pulumi.StringInput `pulumi:"provider"` - Tolerations GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput `pulumi:"tolerations"` - UpdateStrategy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput `pulumi:"updateStrategy"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) CloudProviderRateLimitQps() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { + return v.CloudProviderRateLimitQps + }).(pulumi.IntOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) LoadBalancerSku() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + return v.LoadBalancerSku + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) Location() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.Location + }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) MaximumLoadBalancerRuleCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) int { + return v.MaximumLoadBalancerRuleCount + }).(pulumi.IntOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryAvailabilitySetName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.PrimaryAvailabilitySetName + }).(pulumi.StringOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) PrimaryScaleSetName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.PrimaryScaleSetName + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) ResourceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.ResourceGroup + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) RouteTableName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.RouteTableName + }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SecurityGroupName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.SecurityGroupName + }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SubnetName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.SubnetName + }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.SubscriptionId + }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.TenantId + }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) UseInstanceMetadata() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) bool { + return v.UseInstanceMetadata + }).(pulumi.BoolOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) UseManagedIdentityExtension() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) bool { + return v.UseManagedIdentityExtension + }).(pulumi.BoolOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VmType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.VmType + }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VnetName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.VnetName + }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) VnetResourceGroup() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) string { + return v.VnetResourceGroup + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) DefaultBackend() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *bool { return v.DefaultBackend }).(pulumi.BoolPtrOutput) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput struct{ *pulumi.OutputState } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) DnsPolicy() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) string { return v.DnsPolicy }).(pulumi.StringOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) HttpPort() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) int { return v.HttpPort }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) HttpsPort() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) int { return v.HttpsPort }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) NetworkMode() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) string { return v.NetworkMode }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.AadClientCertPassword + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { - return v.NodeSelector - }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientCertPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.AadClientCertPath + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { - return v.Options - }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.AadClientId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Provider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) string { return v.Provider }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) AadClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.AadClientSecret + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Tolerations() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration { - return v.Tolerations - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Cloud() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.Cloud + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) UpdateStrategy() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { - return v.UpdateStrategy - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoff() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { + if v == nil { + return nil + } + return &v.CloudProviderBackoff + }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds int `pulumi:"seconds"` - Value *string `pulumi:"value"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffDuration() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderBackoffDuration + }).(pulumi.IntPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffExponent() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderBackoffExponent + }).(pulumi.IntPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffJitter() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderBackoffJitter + }).(pulumi.IntPtrOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderBackoffRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderBackoffRetries + }).(pulumi.IntPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimit() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { + if v == nil { + return nil + } + return &v.CloudProviderRateLimit + }).(pulumi.BoolPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitBucket() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderRateLimitBucket + }).(pulumi.IntPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs{...} } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) CloudProviderRateLimitQps() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.CloudProviderRateLimitQps + }).(pulumi.IntPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) LoadBalancerSku() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return v.LoadBalancerSku + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) Location() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.Location + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) MaximumLoadBalancerRuleCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *int { + if v == nil { + return nil + } + return &v.MaximumLoadBalancerRuleCount + }).(pulumi.IntPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryAvailabilitySetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.PrimaryAvailabilitySetName + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) PrimaryScaleSetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.PrimaryScaleSetName + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) ResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.ResourceGroup + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { - return v.Effect +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) RouteTableName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.RouteTableName }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) string { return v.Key }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SecurityGroupName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.SecurityGroupName + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { - return v.Operator +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubnetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.SubnetName }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Seconds() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) int { - return v.Seconds - }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) SubscriptionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.SubscriptionId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { - return v.Value +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.TenantId }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseInstanceMetadata() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { + if v == nil { + return nil + } + return &v.UseInstanceMetadata + }).(pulumi.BoolPtrOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) UseManagedIdentityExtension() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *bool { + if v == nil { + return nil + } + return &v.UseManagedIdentityExtension + }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VmType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.VmType + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.VnetName + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration { - return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)[vs[1].(int)] - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProviderPtrOutput) VnetResourceGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderAzureCloudProvider) *string { + if v == nil { + return nil + } + return &v.VnetResourceGroup + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy struct { - RollingUpdate *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` - Strategy *string `pulumi:"strategy"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider struct { + BlockStorage GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage `pulumi:"blockStorage"` + Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal `pulumi:"global"` + LoadBalancer GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer `pulumi:"loadBalancer"` + Metadata GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata `pulumi:"metadata"` + Route GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute `pulumi:"route"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs struct { - RollingUpdate GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` - Strategy pulumi.StringPtrInput `pulumi:"strategy"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs struct { + BlockStorage GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput `pulumi:"blockStorage"` + Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput `pulumi:"global"` + LoadBalancer GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput `pulumi:"loadBalancer"` + Metadata GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput `pulumi:"metadata"` + Route GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput `pulumi:"route"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { - return v.RollingUpdate - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) BlockStorage() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { + return v.BlockStorage + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *string { - return v.Strategy - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { + return v.Global + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) LoadBalancer() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { + return v.LoadBalancer + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Metadata() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { + return v.Metadata + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) Route() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { + return v.Route + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider)(nil)).Elem() +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) BlockStorage() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { if v == nil { return nil } - return v.RollingUpdate - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) + return &v.BlockStorage + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { + if v == nil { + return nil + } + return &v.Global + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) LoadBalancer() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { + if v == nil { + return nil + } + return &v.LoadBalancer + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Metadata() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { + if v == nil { + return nil + } + return &v.Metadata + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderPtrOutput) Route() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { if v == nil { return nil } - return v.Strategy - }).(pulumi.StringPtrOutput) + return &v.Route + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate struct { - MaxUnavailable *int `pulumi:"maxUnavailable"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage struct { + BsVersion string `pulumi:"bsVersion"` + IgnoreVolumeAz bool `pulumi:"ignoreVolumeAz"` + TrustDevicePath bool `pulumi:"trustDevicePath"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs struct { - MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs struct { + BsVersion pulumi.StringInput `pulumi:"bsVersion"` + IgnoreVolumeAz pulumi.BoolInput `pulumi:"ignoreVolumeAz"` + TrustDevicePath pulumi.BoolInput `pulumi:"trustDevicePath"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *int { - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) BsVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) string { + return v.BsVersion + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) IgnoreVolumeAz() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) bool { + return v.IgnoreVolumeAz + }).(pulumi.BoolOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) TrustDevicePath() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) bool { + return v.TrustDevicePath + }).(pulumi.BoolOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage)(nil)).Elem() +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *int { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) BsVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *string { if v == nil { return nil } - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring struct { - NodeSelector map[string]interface{} `pulumi:"nodeSelector"` - Options map[string]interface{} `pulumi:"options"` - Provider string `pulumi:"provider"` - Replicas int `pulumi:"replicas"` - Tolerations []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration `pulumi:"tolerations"` - UpdateStrategy *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy `pulumi:"updateStrategy"` -} - -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs struct { - NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` - Options pulumi.MapInput `pulumi:"options"` - Provider pulumi.StringInput `pulumi:"provider"` - Replicas pulumi.IntInput `pulumi:"replicas"` - Tolerations GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput `pulumi:"tolerations"` - UpdateStrategy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput `pulumi:"updateStrategy"` -} - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() -} - -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(context.Background()) + return &v.BsVersion + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) IgnoreVolumeAz() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { + if v == nil { + return nil + } + return &v.IgnoreVolumeAz + }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStoragePtrOutput) TrustDevicePath() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorage) *bool { + if v == nil { + return nil + } + return &v.TrustDevicePath + }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { - return o +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal struct { + AuthUrl string `pulumi:"authUrl"` + CaFile string `pulumi:"caFile"` + DomainId string `pulumi:"domainId"` + DomainName string `pulumi:"domainName"` + Password string `pulumi:"password"` + Region string `pulumi:"region"` + TenantId string `pulumi:"tenantId"` + TenantName string `pulumi:"tenantName"` + TrustId string `pulumi:"trustId"` + Username string `pulumi:"username"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { - return o -} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) NodeSelector() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { - return v.NodeSelector - }).(pulumi.MapOutput) + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { - return v.Options - }).(pulumi.MapOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs struct { + AuthUrl pulumi.StringInput `pulumi:"authUrl"` + CaFile pulumi.StringInput `pulumi:"caFile"` + DomainId pulumi.StringInput `pulumi:"domainId"` + DomainName pulumi.StringInput `pulumi:"domainName"` + Password pulumi.StringInput `pulumi:"password"` + Region pulumi.StringInput `pulumi:"region"` + TenantId pulumi.StringInput `pulumi:"tenantId"` + TenantName pulumi.StringInput `pulumi:"tenantName"` + TrustId pulumi.StringInput `pulumi:"trustId"` + Username pulumi.StringInput `pulumi:"username"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Provider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) string { return v.Provider }).(pulumi.StringOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Replicas() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) int { return v.Replicas }).(pulumi.IntOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Tolerations() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration { - return v.Tolerations - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) UpdateStrategy() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { - return v.UpdateStrategy - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds int `pulumi:"seconds"` - Value *string `pulumi:"value"` +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` -} - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() -} - -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(context.Background()) -} - -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) -} - -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs{...} // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs{...} } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput interface { +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() -} - -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(context.Background()) -} - -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { - return o -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { - return o + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { - return v.Effect - }).(pulumi.StringPtrOutput) -} +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) string { - return v.Key - }).(pulumi.StringOutput) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType)(v) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { - return v.Operator - }).(pulumi.StringPtrOutput) +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Seconds() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) int { - return v.Seconds - }).(pulumi.IntOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { - return v.Value - }).(pulumi.StringPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration { - return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)[vs[1].(int)] - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy struct { - RollingUpdate *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` - Strategy *string `pulumi:"strategy"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) AuthUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.AuthUrl + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs struct { - RollingUpdate GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` - Strategy pulumi.StringPtrInput `pulumi:"strategy"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) CaFile() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.CaFile + }).(pulumi.StringOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.DomainId + }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) DomainName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.DomainName + }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.Password + }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.Region + }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.TenantId + }).(pulumi.StringOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TenantName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.TenantName + }).(pulumi.StringOutput) } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs - -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType)(v) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) TrustId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.TrustId + }).(pulumi.StringOutput) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) string { + return v.Username + }).(pulumi.StringOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) AuthUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.AuthUrl + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) CaFile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.CaFile + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { - return v.RollingUpdate - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.DomainId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *string { - return v.Strategy +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) DomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.DomainName }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Region + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.TenantId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { - if v != nil { - return *v +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TenantName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { + if v == nil { + return nil } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) + return &v.TenantName + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) TrustId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { if v == nil { return nil } - return v.RollingUpdate - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) + return &v.TrustId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalPtrOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobal) *string { if v == nil { return nil } - return v.Strategy + return &v.Username }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate struct { - MaxSurge *int `pulumi:"maxSurge"` - MaxUnavailable *int `pulumi:"maxUnavailable"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer struct { + CreateMonitor bool `pulumi:"createMonitor"` + FloatingNetworkId string `pulumi:"floatingNetworkId"` + LbMethod string `pulumi:"lbMethod"` + LbProvider string `pulumi:"lbProvider"` + LbVersion string `pulumi:"lbVersion"` + ManageSecurityGroups bool `pulumi:"manageSecurityGroups"` + MonitorDelay *string `pulumi:"monitorDelay"` + MonitorMaxRetries *int `pulumi:"monitorMaxRetries"` + MonitorTimeout *string `pulumi:"monitorTimeout"` + SubnetId string `pulumi:"subnetId"` + UseOctavia bool `pulumi:"useOctavia"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs struct { - MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` - MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs struct { + CreateMonitor pulumi.BoolInput `pulumi:"createMonitor"` + FloatingNetworkId pulumi.StringInput `pulumi:"floatingNetworkId"` + LbMethod pulumi.StringInput `pulumi:"lbMethod"` + LbProvider pulumi.StringInput `pulumi:"lbProvider"` + LbVersion pulumi.StringInput `pulumi:"lbVersion"` + ManageSecurityGroups pulumi.BoolInput `pulumi:"manageSecurityGroups"` + MonitorDelay pulumi.StringPtrInput `pulumi:"monitorDelay"` + MonitorMaxRetries pulumi.IntPtrInput `pulumi:"monitorMaxRetries"` + MonitorTimeout pulumi.StringPtrInput `pulumi:"monitorTimeout"` + SubnetId pulumi.StringInput `pulumi:"subnetId"` + UseOctavia pulumi.BoolInput `pulumi:"useOctavia"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { - return v.MaxSurge - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) CreateMonitor() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { + return v.CreateMonitor + }).(pulumi.BoolOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { - return v.MaxUnavailable - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) FloatingNetworkId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { + return v.FloatingNetworkId + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbMethod() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { + return v.LbMethod + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { + return v.LbProvider + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) LbVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { + return v.LbVersion + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) ManageSecurityGroups() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { + return v.ManageSecurityGroups + }).(pulumi.BoolOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { - if v == nil { - return nil - } - return v.MaxSurge - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.MonitorDelay + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { - if v == nil { - return nil - } - return v.MaxUnavailable +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorMaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { + return v.MonitorMaxRetries }).(pulumi.IntPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork struct { - CalicoNetworkProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider `pulumi:"calicoNetworkProvider"` - CanalNetworkProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider `pulumi:"canalNetworkProvider"` - FlannelNetworkProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider `pulumi:"flannelNetworkProvider"` - Mtu *int `pulumi:"mtu"` - Options map[string]interface{} `pulumi:"options"` - Plugin string `pulumi:"plugin"` - Tolerations []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration `pulumi:"tolerations"` - WeaveNetworkProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider `pulumi:"weaveNetworkProvider"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) MonitorTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + return v.MonitorTimeout + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) string { + return v.SubnetId + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs struct { - CalicoNetworkProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput `pulumi:"calicoNetworkProvider"` - CanalNetworkProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput `pulumi:"canalNetworkProvider"` - FlannelNetworkProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput `pulumi:"flannelNetworkProvider"` - Mtu pulumi.IntPtrInput `pulumi:"mtu"` - Options pulumi.MapInput `pulumi:"options"` - Plugin pulumi.StringInput `pulumi:"plugin"` - Tolerations GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput `pulumi:"tolerations"` - WeaveNetworkProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput `pulumi:"weaveNetworkProvider"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) UseOctavia() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) bool { + return v.UseOctavia + }).(pulumi.BoolOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput { + return o } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) CreateMonitor() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { + if v == nil { + return nil + } + return &v.CreateMonitor + }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) FloatingNetworkId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return &v.FloatingNetworkId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return &v.LbMethod + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) CalicoNetworkProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { - return v.CalicoNetworkProvider - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return &v.LbProvider + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) CanalNetworkProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { - return v.CanalNetworkProvider - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) LbVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return &v.LbVersion + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) FlannelNetworkProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { - return v.FlannelNetworkProvider - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) ManageSecurityGroups() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { + if v == nil { + return nil + } + return &v.ManageSecurityGroups + }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Mtu() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *int { return v.Mtu }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return v.MonitorDelay + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Options() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) map[string]interface{} { - return v.Options - }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorMaxRetries() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *int { + if v == nil { + return nil + } + return v.MonitorMaxRetries + }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Plugin() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) string { return v.Plugin }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) MonitorTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return v.MonitorTimeout + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Tolerations() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration { - return v.Tolerations - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *string { + if v == nil { + return nil + } + return &v.SubnetId + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) WeaveNetworkProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { - return v.WeaveNetworkProvider - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerPtrOutput) UseOctavia() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancer) *bool { + if v == nil { + return nil + } + return &v.UseOctavia + }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider struct { - CloudProvider string `pulumi:"cloudProvider"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata struct { + RequestTimeout int `pulumi:"requestTimeout"` + SearchOrder string `pulumi:"searchOrder"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs struct { - CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs struct { + RequestTimeout pulumi.IntInput `pulumi:"requestTimeout"` + SearchOrder pulumi.StringInput `pulumi:"searchOrder"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) CloudProvider() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) string { - return v.CloudProvider +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) RequestTimeout() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) int { + return v.RequestTimeout + }).(pulumi.IntOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) SearchOrder() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) string { + return v.SearchOrder }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) CloudProvider() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) RequestTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *int { if v == nil { return nil } - return &v.CloudProvider + return &v.RequestTimeout + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataPtrOutput) SearchOrder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadata) *string { + if v == nil { + return nil + } + return &v.SearchOrder }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider struct { - Iface string `pulumi:"iface"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute struct { + RouterId string `pulumi:"routerId"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs struct { - Iface pulumi.StringInput `pulumi:"iface"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs struct { + RouterId pulumi.StringInput `pulumi:"routerId"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) Iface() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) string { - return v.Iface +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) RouterId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) string { + return v.RouterId }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoutePtrOutput) RouterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRoute) *string { if v == nil { return nil } - return &v.Iface + return &v.RouterId }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider struct { - Iface string `pulumi:"iface"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider struct { + Disk GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk `pulumi:"disk"` + Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal `pulumi:"global"` + Network GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork `pulumi:"network"` + VirtualCenters []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter `pulumi:"virtualCenters"` + Workspace GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace `pulumi:"workspace"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs struct { - Iface pulumi.StringInput `pulumi:"iface"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs struct { + Disk GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput `pulumi:"disk"` + Global GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput `pulumi:"global"` + Network GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput `pulumi:"network"` + VirtualCenters GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput `pulumi:"virtualCenters"` + Workspace GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput `pulumi:"workspace"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) Iface() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) string { - return v.Iface - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Disk() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { + return v.Disk + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { + return v.Global + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Network() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { + return v.Network + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) VirtualCenters() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { + return v.VirtualCenters + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) Workspace() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { + return v.Workspace + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider)(nil)).Elem() +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Disk() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { if v == nil { return nil } - return &v.Iface - }).(pulumi.StringPtrOutput) + return &v.Disk + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Seconds int `pulumi:"seconds"` - Value *string `pulumi:"value"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Global() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { + if v == nil { + return nil + } + return &v.Global + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput` via: +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Network() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { + if v == nil { + return nil + } + return &v.Network + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) VirtualCenters() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { + if v == nil { + return nil + } + return v.VirtualCenters + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderPtrOutput) Workspace() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { + if v == nil { + return nil + } + return &v.Workspace + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk struct { + ScsiControllerType string `pulumi:"scsiControllerType"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Seconds pulumi.IntInput `pulumi:"seconds"` - Value pulumi.StringPtrInput `pulumi:"value"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs struct { + ScsiControllerType pulumi.StringInput `pulumi:"scsiControllerType"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput` via: +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx) +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs{...} } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType)(v) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(context.Background()) +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { - return o -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput struct{ *pulumi.OutputState } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { - return o +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { - return v.Effect - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) string { return v.Key }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { - return v.Operator - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Seconds() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) int { - return v.Seconds - }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { - return v.Value - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) ScsiControllerType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) string { + return v.ScsiControllerType + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration { - return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)[vs[1].(int)] - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider struct { - Password string `pulumi:"password"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskPtrOutput) ScsiControllerType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDisk) *string { + if v == nil { + return nil + } + return &v.ScsiControllerType + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput` via: +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal struct { + Datacenters string `pulumi:"datacenters"` + InsecureFlag bool `pulumi:"insecureFlag"` + Password string `pulumi:"password"` + Port string `pulumi:"port"` + SoapRoundtripCount int `pulumi:"soapRoundtripCount"` + User string `pulumi:"user"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs struct { - Password pulumi.StringInput `pulumi:"password"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs struct { + Datacenters pulumi.StringInput `pulumi:"datacenters"` + InsecureFlag pulumi.BoolInput `pulumi:"insecureFlag"` + Password pulumi.StringInput `pulumi:"password"` + Port pulumi.StringInput `pulumi:"port"` + SoapRoundtripCount pulumi.IntInput `pulumi:"soapRoundtripCount"` + User pulumi.StringInput `pulumi:"user"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) Password() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Datacenters() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) string { + return v.Datacenters + }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) InsecureFlag() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) bool { + return v.InsecureFlag + }).(pulumi.BoolOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) string { return v.Password }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) Port() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) string { + return v.Port + }).(pulumi.StringOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) SoapRoundtripCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) int { + return v.SoapRoundtripCount + }).(pulumi.IntOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) string { + return v.User + }).(pulumi.StringOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal)(nil)).Elem() +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Datacenters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { if v == nil { return nil } - return &v.Password + return &v.Datacenters }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode struct { - Address string `pulumi:"address"` - DockerSocket string `pulumi:"dockerSocket"` - HostnameOverride *string `pulumi:"hostnameOverride"` - InternalAddress *string `pulumi:"internalAddress"` - // (Computed) Labels for the cluster template (map) - Labels map[string]interface{} `pulumi:"labels"` - NodeId *string `pulumi:"nodeId"` - Port *string `pulumi:"port"` - Roles []string `pulumi:"roles"` - SshAgentAuth *bool `pulumi:"sshAgentAuth"` - SshKey string `pulumi:"sshKey"` - SshKeyPath string `pulumi:"sshKeyPath"` - User string `pulumi:"user"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) InsecureFlag() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *bool { + if v == nil { + return nil + } + return &v.InsecureFlag + }).(pulumi.BoolPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Password + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs struct { - Address pulumi.StringInput `pulumi:"address"` - DockerSocket pulumi.StringInput `pulumi:"dockerSocket"` - HostnameOverride pulumi.StringPtrInput `pulumi:"hostnameOverride"` - InternalAddress pulumi.StringPtrInput `pulumi:"internalAddress"` - // (Computed) Labels for the cluster template (map) - Labels pulumi.MapInput `pulumi:"labels"` - NodeId pulumi.StringPtrInput `pulumi:"nodeId"` - Port pulumi.StringPtrInput `pulumi:"port"` - Roles pulumi.StringArrayInput `pulumi:"roles"` - SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` - SshKey pulumi.StringInput `pulumi:"sshKey"` - SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` - User pulumi.StringInput `pulumi:"user"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.Port + }).(pulumi.StringPtrOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) SoapRoundtripCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *int { + if v == nil { + return nil + } + return &v.SoapRoundtripCount + }).(pulumi.IntPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalPtrOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobal) *string { + if v == nil { + return nil + } + return &v.User + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork struct { + PublicNetwork string `pulumi:"publicNetwork"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs{...} } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs struct { + PublicNetwork pulumi.StringInput `pulumi:"publicNetwork"` } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(context.Background()) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { - return o +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { - return o +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Address() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.Address }).(pulumi.StringOutput) -} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) DockerSocket() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.DockerSocket }).(pulumi.StringOutput) + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) HostnameOverride() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { - return v.HostnameOverride - }).(pulumi.StringPtrOutput) +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs + +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType)(v) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) InternalAddress() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.InternalAddress }).(pulumi.StringPtrOutput) +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -// (Computed) Labels for the cluster template (map) -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) map[string]interface{} { - return v.Labels - }).(pulumi.MapOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) NodeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.NodeId }).(pulumi.StringPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Port() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.Port }).(pulumi.StringPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Roles() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) []string { return v.Roles }).(pulumi.StringArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshAgentAuth() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshKey() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.SshKey }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshKeyPath() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.SshKeyPath }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) User() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.User }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) PublicNetwork() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) string { + return v.PublicNetwork + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode { - return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)[vs[1].(int)] - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry struct { - EcrCredentialPlugin *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin `pulumi:"ecrCredentialPlugin"` - IsDefault *bool `pulumi:"isDefault"` - Password *string `pulumi:"password"` - Url string `pulumi:"url"` - User *string `pulumi:"user"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkPtrOutput) PublicNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetwork) *string { + if v == nil { + return nil + } + return &v.PublicNetwork + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput` via: +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter struct { + Datacenters string `pulumi:"datacenters"` + // The cluster template name (string) + Name string `pulumi:"name"` + Password string `pulumi:"password"` + Port string `pulumi:"port"` + SoapRoundtripCount int `pulumi:"soapRoundtripCount"` + User string `pulumi:"user"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs struct { - EcrCredentialPlugin GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput `pulumi:"ecrCredentialPlugin"` - IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` - Password pulumi.StringPtrInput `pulumi:"password"` - Url pulumi.StringInput `pulumi:"url"` - User pulumi.StringPtrInput `pulumi:"user"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs struct { + Datacenters pulumi.StringInput `pulumi:"datacenters"` + // The cluster template name (string) + Name pulumi.StringInput `pulumi:"name"` + Password pulumi.StringInput `pulumi:"password"` + Port pulumi.StringInput `pulumi:"port"` + SoapRoundtripCount pulumi.IntInput `pulumi:"soapRoundtripCount"` + User pulumi.StringInput `pulumi:"user"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs{...} } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs{...} } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterInput -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) EcrCredentialPlugin() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { - return v.EcrCredentialPlugin - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Datacenters() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { + return v.Datacenters + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) IsDefault() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *bool { - return v.IsDefault - }).(pulumi.BoolPtrOutput) +// The cluster template name (string) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { + return v.Name + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { return v.Password - }).(pulumi.StringPtrOutput) + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) string { return v.Url }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) Port() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { + return v.Port + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *string { return v.User }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) SoapRoundtripCount() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) int { + return v.SoapRoundtripCount + }).(pulumi.IntOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter) string { + return v.User + }).(pulumi.StringOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry { - return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)[vs[1].(int)] - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter { + return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenter)[vs[1].(int)] + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin struct { - AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` - AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` - AwsSessionToken *string `pulumi:"awsSessionToken"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace struct { + Datacenter string `pulumi:"datacenter"` + DefaultDatastore string `pulumi:"defaultDatastore"` + Folder string `pulumi:"folder"` + ResourcepoolPath string `pulumi:"resourcepoolPath"` + Server string `pulumi:"server"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs struct { - AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` - AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` - AwsSessionToken pulumi.StringPtrInput `pulumi:"awsSessionToken"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs struct { + Datacenter pulumi.StringInput `pulumi:"datacenter"` + DefaultDatastore pulumi.StringInput `pulumi:"defaultDatastore"` + Folder pulumi.StringInput `pulumi:"folder"` + ResourcepoolPath pulumi.StringInput `pulumi:"resourcepoolPath"` + Server pulumi.StringInput `pulumi:"server"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsAccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { - return v.AwsAccessKeyId - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Datacenter() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { + return v.Datacenter + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { - return v.AwsSecretAccessKey - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) DefaultDatastore() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { + return v.DefaultDatastore + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { - return v.AwsSessionToken - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Folder() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { + return v.Folder + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) ResourcepoolPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { + return v.ResourcepoolPath + }).(pulumi.StringOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) Server() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) string { + return v.Server + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace)(nil)).Elem() +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Datacenter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { if v == nil { return nil } - return v.AwsAccessKeyId + return &v.Datacenter }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) DefaultDatastore() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { if v == nil { return nil } - return v.AwsSecretAccessKey + return &v.DefaultDatastore }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSessionToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { if v == nil { return nil } - return v.AwsSessionToken + return &v.Folder }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices struct { - Etcd GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd `pulumi:"etcd"` - KubeApi GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi `pulumi:"kubeApi"` - KubeController GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController `pulumi:"kubeController"` - Kubelet GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet `pulumi:"kubelet"` - Kubeproxy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy `pulumi:"kubeproxy"` - Scheduler GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler `pulumi:"scheduler"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) ResourcepoolPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + if v == nil { + return nil + } + return &v.ResourcepoolPath + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput` via: +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspacePtrOutput) Server() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspace) *string { + if v == nil { + return nil + } + return &v.Server + }).(pulumi.StringPtrOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns struct { + LinearAutoscalerParams *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams `pulumi:"linearAutoscalerParams"` + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` + Nodelocal *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal `pulumi:"nodelocal"` + Options map[string]interface{} `pulumi:"options"` + Provider *string `pulumi:"provider"` + ReverseCidrs []string `pulumi:"reverseCidrs"` + Tolerations []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration `pulumi:"tolerations"` + UpdateStrategy *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy `pulumi:"updateStrategy"` + UpstreamNameservers []string `pulumi:"upstreamNameservers"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs struct { - Etcd GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput `pulumi:"etcd"` - KubeApi GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput `pulumi:"kubeApi"` - KubeController GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput `pulumi:"kubeController"` - Kubelet GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput `pulumi:"kubelet"` - Kubeproxy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput `pulumi:"kubeproxy"` - Scheduler GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput `pulumi:"scheduler"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs struct { + LinearAutoscalerParams GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput `pulumi:"linearAutoscalerParams"` + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` + Nodelocal GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput `pulumi:"nodelocal"` + Options pulumi.MapInput `pulumi:"options"` + Provider pulumi.StringPtrInput `pulumi:"provider"` + ReverseCidrs pulumi.StringArrayInput `pulumi:"reverseCidrs"` + Tolerations GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput `pulumi:"tolerations"` + UpdateStrategy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput `pulumi:"updateStrategy"` + UpstreamNameservers pulumi.StringArrayInput `pulumi:"upstreamNameservers"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Etcd() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd { - return v.Etcd - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) LinearAutoscalerParams() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { + return v.LinearAutoscalerParams + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) KubeApi() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi { - return v.KubeApi - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { + return v.NodeSelector + }).(pulumi.MapOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) KubeController() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController { - return v.KubeController - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Nodelocal() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { + return v.Nodelocal + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Kubelet() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet { - return v.Kubelet - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) map[string]interface{} { + return v.Options + }).(pulumi.MapOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Kubeproxy() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy { - return v.Kubeproxy - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Provider() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *string { return v.Provider }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Scheduler() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler { - return v.Scheduler - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) ReverseCidrs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { return v.ReverseCidrs }).(pulumi.StringArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd struct { - BackupConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig `pulumi:"backupConfig"` - CaCert string `pulumi:"caCert"` - Cert string `pulumi:"cert"` - Creation string `pulumi:"creation"` - ExternalUrls []string `pulumi:"externalUrls"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Gid *int `pulumi:"gid"` - Image string `pulumi:"image"` - Key string `pulumi:"key"` - Path string `pulumi:"path"` - Retention string `pulumi:"retention"` - Snapshot bool `pulumi:"snapshot"` - Uid *int `pulumi:"uid"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) Tolerations() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration { + return v.Tolerations + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput` via: +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) UpdateStrategy() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { + return v.UpdateStrategy + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsOutput) UpstreamNameservers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDns) []string { + return v.UpstreamNameservers + }).(pulumi.StringArrayOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams struct { + CoresPerReplica *float64 `pulumi:"coresPerReplica"` + Max *int `pulumi:"max"` + Min *int `pulumi:"min"` + NodesPerReplica *float64 `pulumi:"nodesPerReplica"` + PreventSinglePointFailure *bool `pulumi:"preventSinglePointFailure"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs struct { - BackupConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput `pulumi:"backupConfig"` - CaCert pulumi.StringInput `pulumi:"caCert"` - Cert pulumi.StringInput `pulumi:"cert"` - Creation pulumi.StringInput `pulumi:"creation"` - ExternalUrls pulumi.StringArrayInput `pulumi:"externalUrls"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Gid pulumi.IntPtrInput `pulumi:"gid"` - Image pulumi.StringInput `pulumi:"image"` - Key pulumi.StringInput `pulumi:"key"` - Path pulumi.StringInput `pulumi:"path"` - Retention pulumi.StringInput `pulumi:"retention"` - Snapshot pulumi.BoolInput `pulumi:"snapshot"` - Uid pulumi.IntPtrInput `pulumi:"uid"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs struct { + CoresPerReplica pulumi.Float64PtrInput `pulumi:"coresPerReplica"` + Max pulumi.IntPtrInput `pulumi:"max"` + Min pulumi.IntPtrInput `pulumi:"min"` + NodesPerReplica pulumi.Float64PtrInput `pulumi:"nodesPerReplica"` + PreventSinglePointFailure pulumi.BoolPtrInput `pulumi:"preventSinglePointFailure"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(context.Background()) +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx) +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput interface { + pulumi.Input + + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput +} + +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs + +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType)(v) +} + +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +} + +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +} + +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { + return o +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { + return o +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(context.Background()) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) CoresPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { + return v.CoresPerReplica + }).(pulumi.Float64PtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) Max() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { + return v.Max + }).(pulumi.IntPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) Min() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { + return v.Min + }).(pulumi.IntPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) NodesPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { + return v.NodesPerReplica + }).(pulumi.Float64PtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *bool { + return v.PreventSinglePointFailure + }).(pulumi.BoolPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) BackupConfig() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig { - return v.BackupConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) CaCert() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.CaCert }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Cert() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.Cert }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) CoresPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { + if v == nil { + return nil + } + return v.CoresPerReplica + }).(pulumi.Float64PtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Creation() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.Creation }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Max() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { + if v == nil { + return nil + } + return v.Max + }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExternalUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { - return v.ExternalUrls - }).(pulumi.StringArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) Min() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *int { + if v == nil { + return nil + } + return v.Min + }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) NodesPerReplica() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *float64 { + if v == nil { + return nil + } + return v.NodesPerReplica + }).(pulumi.Float64PtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsPtrOutput) PreventSinglePointFailure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParams) *bool { + if v == nil { + return nil + } + return v.PreventSinglePointFailure + }).(pulumi.BoolPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal struct { + IpAddress *string `pulumi:"ipAddress"` + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Gid() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { return v.Gid }).(pulumi.IntPtrOutput) -} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.Image }).(pulumi.StringOutput) + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.Key }).(pulumi.StringOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs struct { + IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Path() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.Path }).(pulumi.StringOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Retention() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { - return v.Retention - }).(pulumi.StringOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Snapshot() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) bool { return v.Snapshot }).(pulumi.BoolOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Uid() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { return v.Uid }).(pulumi.IntPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig struct { - Enabled *bool `pulumi:"enabled"` - IntervalHours *int `pulumi:"intervalHours"` - Retention *int `pulumi:"retention"` - S3BackupConfig *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` - SafeTimestamp *bool `pulumi:"safeTimestamp"` - Timeout int `pulumi:"timeout"` +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs struct { - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` - Retention pulumi.IntPtrInput `pulumi:"retention"` - S3BackupConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` - SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` - Timeout pulumi.IntInput `pulumi:"timeout"` +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs + +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType)(v) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { - return v.Enabled - }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { - return v.IntervalHours - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { - return v.Retention - }).(pulumi.IntPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) S3BackupConfig() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { - return v.S3BackupConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { - return v.SafeTimestamp - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Timeout() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) int { - return v.Timeout - }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) IpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *string { + return v.IpAddress + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig struct { - AccessKey *string `pulumi:"accessKey"` - BucketName string `pulumi:"bucketName"` - CustomCa *string `pulumi:"customCa"` - Endpoint string `pulumi:"endpoint"` - Folder *string `pulumi:"folder"` - Region *string `pulumi:"region"` - SecretKey *string `pulumi:"secretKey"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) map[string]interface{} { + return v.NodeSelector + }).(pulumi.MapOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput interface { - pulumi.Input +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput struct{ *pulumi.OutputState } - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs struct { - AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` - BucketName pulumi.StringInput `pulumi:"bucketName"` - CustomCa pulumi.StringPtrInput `pulumi:"customCa"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - Folder pulumi.StringPtrInput `pulumi:"folder"` - Region pulumi.StringPtrInput `pulumi:"region"` - SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return o } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput { + return o } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) IpAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) *string { + if v == nil { + return nil + } + return v.IpAddress + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalPtrOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocal) map[string]interface{} { + if v == nil { + return nil + } + return v.NodeSelector + }).(pulumi.MapOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds int `pulumi:"seconds"` + Value *string `pulumi:"value"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} -// -// or: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput` via: // -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs - -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType)(v) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs{...} } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayInput interface { + pulumi.Input -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return o +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationInput + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return o +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - return v.AccessKey - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { - return v.BucketName - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - return v.CustomCa - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { return v.Effect }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { - return v.Endpoint - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) string { return v.Key }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - return v.Folder +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { + return v.Operator }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - return v.Region - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Seconds() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) int { return v.Seconds }).(pulumi.IntOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - return v.SecretKey - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration) *string { return v.Value }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration { + return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsToleration)[vs[1].(int)] + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.AccessKey - }).(pulumi.StringPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy struct { + RollingUpdate *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` + Strategy *string `pulumi:"strategy"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.BucketName - }).(pulumi.StringPtrOutput) -} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.CustomCa - }).(pulumi.StringPtrOutput) + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs struct { + RollingUpdate GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` + Strategy pulumi.StringPtrInput `pulumi:"strategy"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.Folder - }).(pulumi.StringPtrOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.SecretKey - }).(pulumi.StringPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi struct { - AdmissionConfiguration map[string]interface{} `pulumi:"admissionConfiguration"` - AlwaysPullImages *bool `pulumi:"alwaysPullImages"` - AuditLog *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog `pulumi:"auditLog"` - EventRateLimit *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit `pulumi:"eventRateLimit"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image string `pulumi:"image"` - PodSecurityPolicy *bool `pulumi:"podSecurityPolicy"` - SecretsEncryptionConfig *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig `pulumi:"secretsEncryptionConfig"` - ServiceClusterIpRange string `pulumi:"serviceClusterIpRange"` - ServiceNodePortRange string `pulumi:"serviceNodePortRange"` +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput` via: +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx) +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs struct { - AdmissionConfiguration pulumi.MapInput `pulumi:"admissionConfiguration"` - AlwaysPullImages pulumi.BoolPtrInput `pulumi:"alwaysPullImages"` - AuditLog GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput `pulumi:"auditLog"` - EventRateLimit GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput `pulumi:"eventRateLimit"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringInput `pulumi:"image"` - PodSecurityPolicy pulumi.BoolPtrInput `pulumi:"podSecurityPolicy"` - SecretsEncryptionConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput `pulumi:"secretsEncryptionConfig"` - ServiceClusterIpRange pulumi.StringInput `pulumi:"serviceClusterIpRange"` - ServiceNodePortRange pulumi.StringInput `pulumi:"serviceNodePortRange"` +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs + +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType)(v) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AdmissionConfiguration() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { - return v.AdmissionConfiguration - }).(pulumi.MapOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AlwaysPullImages() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { - return v.AlwaysPullImages - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AuditLog() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { - return v.AuditLog - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) EventRateLimit() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { - return v.EventRateLimit - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { + return v.RollingUpdate + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *string { + return v.Strategy + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput struct{ *pulumi.OutputState } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) string { return v.Image }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { - return v.PodSecurityPolicy - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) SecretsEncryptionConfig() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { - return v.SecretsEncryptionConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ServiceClusterIpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) string { - return v.ServiceClusterIpRange - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { + if v == nil { + return nil + } + return v.RollingUpdate + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ServiceNodePortRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) string { - return v.ServiceNodePortRange - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategy) *string { + if v == nil { + return nil + } + return v.Strategy + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog struct { - Configuration GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration `pulumi:"configuration"` - Enabled *bool `pulumi:"enabled"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate struct { + MaxSurge *int `pulumi:"maxSurge"` + MaxUnavailable *int `pulumi:"maxUnavailable"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs struct { - Configuration GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput `pulumi:"configuration"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs struct { + MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` + MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) Configuration() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { - return v.Configuration - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { + return v.MaxSurge + }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *bool { - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Configuration() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { if v == nil { return nil } - return &v.Configuration - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) + return v.MaxSurge + }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *bool { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdate) *int { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration struct { - Format *string `pulumi:"format"` - MaxAge *int `pulumi:"maxAge"` - MaxBackup *int `pulumi:"maxBackup"` - MaxSize *int `pulumi:"maxSize"` - Path *string `pulumi:"path"` - Policy string `pulumi:"policy"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress struct { + DefaultBackend *bool `pulumi:"defaultBackend"` + DnsPolicy string `pulumi:"dnsPolicy"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + HttpPort int `pulumi:"httpPort"` + HttpsPort int `pulumi:"httpsPort"` + NetworkMode string `pulumi:"networkMode"` + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` + Options map[string]interface{} `pulumi:"options"` + Provider string `pulumi:"provider"` + Tolerations []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration `pulumi:"tolerations"` + UpdateStrategy *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy `pulumi:"updateStrategy"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs struct { - Format pulumi.StringPtrInput `pulumi:"format"` - MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` - MaxBackup pulumi.IntPtrInput `pulumi:"maxBackup"` - MaxSize pulumi.IntPtrInput `pulumi:"maxSize"` - Path pulumi.StringPtrInput `pulumi:"path"` - Policy pulumi.StringInput `pulumi:"policy"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs struct { + DefaultBackend pulumi.BoolPtrInput `pulumi:"defaultBackend"` + DnsPolicy pulumi.StringInput `pulumi:"dnsPolicy"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + HttpPort pulumi.IntInput `pulumi:"httpPort"` + HttpsPort pulumi.IntInput `pulumi:"httpsPort"` + NetworkMode pulumi.StringInput `pulumi:"networkMode"` + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` + Options pulumi.MapInput `pulumi:"options"` + Provider pulumi.StringInput `pulumi:"provider"` + Tolerations GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput `pulumi:"tolerations"` + UpdateStrategy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput `pulumi:"updateStrategy"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { + return o } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput { + return o +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) DefaultBackend() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *bool { return v.DefaultBackend }).(pulumi.BoolPtrOutput) } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) DnsPolicy() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) string { return v.DnsPolicy }).(pulumi.StringOutput) +} -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType)(v) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) HttpPort() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) int { return v.HttpPort }).(pulumi.IntOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) HttpsPort() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) int { return v.HttpsPort }).(pulumi.IntOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) NetworkMode() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) string { return v.NetworkMode }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { + return v.NodeSelector + }).(pulumi.MapOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) map[string]interface{} { + return v.Options + }).(pulumi.MapOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Provider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) string { return v.Provider }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) Tolerations() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration { + return v.Tolerations + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressOutput) UpdateStrategy() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngress) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { + return v.UpdateStrategy + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds int `pulumi:"seconds"` + Value *string `pulumi:"value"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - return v.Format - }).(pulumi.StringPtrOutput) +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput interface { + pulumi.Input + + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxAge() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - return v.MaxAge - }).(pulumi.IntPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxBackup() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - return v.MaxBackup - }).(pulumi.IntPtrOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - return v.MaxSize - }).(pulumi.IntPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(context.Background()) +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs{...} } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayInput interface { + pulumi.Input + + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationInput + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - return v.Path - }).(pulumi.StringPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Policy() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) string { - return v.Policy - }).(pulumi.StringOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { + return v.Effect + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - if v == nil { - return nil - } - return v.Format +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) string { return v.Key }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { + return v.Operator }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxAge() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - if v == nil { - return nil - } - return v.MaxAge - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Seconds() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) int { + return v.Seconds + }).(pulumi.IntOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxBackup() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - if v == nil { - return nil - } - return v.MaxBackup - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration) *string { + return v.Value + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { - if v == nil { - return nil - } - return v.MaxSize - }).(pulumi.IntPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Path() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - if v == nil { - return nil - } - return v.Path - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { + return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Policy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { - if v == nil { - return nil - } - return &v.Policy - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput { + return o } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit struct { - Configuration string `pulumi:"configuration"` - Enabled *bool `pulumi:"enabled"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration { + return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressToleration)[vs[1].(int)] + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput` via: +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy struct { + RollingUpdate *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` + Strategy *string `pulumi:"strategy"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs struct { - Configuration pulumi.StringInput `pulumi:"configuration"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs struct { + RollingUpdate GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` + Strategy pulumi.StringPtrInput `pulumi:"strategy"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) Configuration() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) string { - return v.Configuration - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { + return v.RollingUpdate + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *bool { - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *string { + return v.Strategy + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Configuration() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { if v == nil { return nil } - return &v.Configuration - }).(pulumi.StringPtrOutput) + return v.RollingUpdate + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *bool { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategy) *string { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) + return v.Strategy + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig struct { - CustomConfig string `pulumi:"customConfig"` - Enabled *bool `pulumi:"enabled"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate struct { + MaxUnavailable *int `pulumi:"maxUnavailable"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs struct { - CustomConfig pulumi.StringInput `pulumi:"customConfig"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs struct { + MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs -func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) CustomConfig() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) string { - return v.CustomConfig - }).(pulumi.StringOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *int { + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) CustomConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { - if v == nil { - return nil - } - return &v.CustomConfig - }).(pulumi.StringPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdate) *int { if v == nil { return nil } - return v.Enabled - }).(pulumi.BoolPtrOutput) -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController struct { - ClusterCidr string `pulumi:"clusterCidr"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image string `pulumi:"image"` - ServiceClusterIpRange string `pulumi:"serviceClusterIpRange"` -} - -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs struct { - ClusterCidr pulumi.StringInput `pulumi:"clusterCidr"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringInput `pulumi:"image"` - ServiceClusterIpRange pulumi.StringInput `pulumi:"serviceClusterIpRange"` -} - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() -} - -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(context.Background()) -} - -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) -} - -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { - return o -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { - return o -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ClusterCidr() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) string { - return v.ClusterCidr - }).(pulumi.StringOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) string { - return v.Image - }).(pulumi.StringOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ServiceClusterIpRange() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) string { - return v.ServiceClusterIpRange - }).(pulumi.StringOutput) + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet struct { - ClusterDnsServer string `pulumi:"clusterDnsServer"` - ClusterDomain string `pulumi:"clusterDomain"` - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - FailSwapOn bool `pulumi:"failSwapOn"` - GenerateServingCertificate *bool `pulumi:"generateServingCertificate"` - Image string `pulumi:"image"` - InfraContainerImage string `pulumi:"infraContainerImage"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring struct { + NodeSelector map[string]interface{} `pulumi:"nodeSelector"` + Options map[string]interface{} `pulumi:"options"` + Provider string `pulumi:"provider"` + Replicas int `pulumi:"replicas"` + Tolerations []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration `pulumi:"tolerations"` + UpdateStrategy *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy `pulumi:"updateStrategy"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs struct { - ClusterDnsServer pulumi.StringInput `pulumi:"clusterDnsServer"` - ClusterDomain pulumi.StringInput `pulumi:"clusterDomain"` - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - FailSwapOn pulumi.BoolInput `pulumi:"failSwapOn"` - GenerateServingCertificate pulumi.BoolPtrInput `pulumi:"generateServingCertificate"` - Image pulumi.StringInput `pulumi:"image"` - InfraContainerImage pulumi.StringInput `pulumi:"infraContainerImage"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs struct { + NodeSelector pulumi.MapInput `pulumi:"nodeSelector"` + Options pulumi.MapInput `pulumi:"options"` + Provider pulumi.StringInput `pulumi:"provider"` + Replicas pulumi.IntInput `pulumi:"replicas"` + Tolerations GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput `pulumi:"tolerations"` + UpdateStrategy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput `pulumi:"updateStrategy"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ClusterDnsServer() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) string { - return v.ClusterDnsServer - }).(pulumi.StringOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ClusterDomain() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) string { - return v.ClusterDomain - }).(pulumi.StringOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) map[string]interface{} { - return v.ExtraArgs +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) NodeSelector() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { + return v.NodeSelector }).(pulumi.MapOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) map[string]interface{} { + return v.Options + }).(pulumi.MapOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) FailSwapOn() pulumi.BoolOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) bool { - return v.FailSwapOn - }).(pulumi.BoolOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Provider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) string { return v.Provider }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *bool { - return v.GenerateServingCertificate - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Replicas() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) int { return v.Replicas }).(pulumi.IntOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) string { return v.Image }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) Tolerations() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration { + return v.Tolerations + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) InfraContainerImage() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) string { - return v.InfraContainerImage - }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringOutput) UpdateStrategy() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { + return v.UpdateStrategy + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy struct { - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image string `pulumi:"image"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds int `pulumi:"seconds"` + Value *string `pulumi:"value"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs struct { - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringInput `pulumi:"image"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput struct{ *pulumi.OutputState } +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs{...} } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayInput interface { + pulumi.Input -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { - return o -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationInput -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { - return o +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput struct{ *pulumi.OutputState } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) string { - return v.Image - }).(pulumi.StringOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler struct { - ExtraArgs map[string]interface{} `pulumi:"extraArgs"` - ExtraBinds []string `pulumi:"extraBinds"` - ExtraEnvs []string `pulumi:"extraEnvs"` - Image string `pulumi:"image"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { + return o } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { + return o +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { + return v.Effect + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs struct { - ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` - ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` - ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` - Image pulumi.StringInput `pulumi:"image"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) string { + return v.Key + }).(pulumi.StringOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { + return v.Operator + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Seconds() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) int { + return v.Seconds + }).(pulumi.IntOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration) *string { + return v.Value + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraArgs() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) map[string]interface{} { - return v.ExtraArgs - }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration { + return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringToleration)[vs[1].(int)] + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraBinds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { - return v.ExtraBinds - }).(pulumi.StringArrayOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy struct { + RollingUpdate *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate `pulumi:"rollingUpdate"` + Strategy *string `pulumi:"strategy"` } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraEnvs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { - return v.ExtraEnvs - }).(pulumi.StringArrayOutput) -} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyInput interface { + pulumi.Input -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) Image() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) string { - return v.Image - }).(pulumi.StringOutput) + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy struct { - Drain *bool `pulumi:"drain"` - DrainInput GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput `pulumi:"drainInput"` - MaxUnavailableControlplane *string `pulumi:"maxUnavailableControlplane"` - MaxUnavailableWorker *string `pulumi:"maxUnavailableWorker"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs struct { + RollingUpdate GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` + Strategy pulumi.StringPtrInput `pulumi:"strategy"` } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs struct { - Drain pulumi.BoolPtrInput `pulumi:"drain"` - DrainInput GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput `pulumi:"drainInput"` - MaxUnavailableControlplane pulumi.StringPtrInput `pulumi:"maxUnavailableControlplane"` - MaxUnavailableWorker pulumi.StringPtrInput `pulumi:"maxUnavailableWorker"` +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(context.Background()) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput interface { + pulumi.Input -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { - return o -} +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { - return o +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType)(v) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) Drain() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *bool { return v.Drain }).(pulumi.BoolPtrOutput) +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) DrainInput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput { - return v.DrainInput - }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { - return v.MaxUnavailableControlplane - }).(pulumi.StringPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { - return v.MaxUnavailableWorker - }).(pulumi.StringPtrOutput) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput struct{ *pulumi.OutputState } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput struct { - DeleteLocalData *bool `pulumi:"deleteLocalData"` - Force *bool `pulumi:"force"` - GracePeriod *int `pulumi:"gracePeriod"` - IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` - Timeout *int `pulumi:"timeout"` +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { + return o +} - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput - ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { + return o } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs struct { - DeleteLocalData pulumi.BoolPtrInput `pulumi:"deleteLocalData"` - Force pulumi.BoolPtrInput `pulumi:"force"` - GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` - IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` - Timeout pulumi.IntPtrInput `pulumi:"timeout"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(context.Background()) } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { + return v.RollingUpdate + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *string { + return v.Strategy + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) DeleteLocalData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { - return v.DeleteLocalData - }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { - return v.Force - }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { - return v.GracePeriod - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { - return v.IgnoreDaemonSets - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) RollingUpdate() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { + if v == nil { + return nil + } + return v.RollingUpdate + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { - return v.Timeout - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyPtrOutput) Strategy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy) *string { + if v == nil { + return nil + } + return v.Strategy + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan struct { - Enabled *bool `pulumi:"enabled"` - ScanConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig `pulumi:"scanConfig"` - ScheduleConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig `pulumi:"scheduleConfig"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate struct { + MaxSurge *int `pulumi:"maxSurge"` + MaxUnavailable *int `pulumi:"maxUnavailable"` } -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs struct { - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - ScanConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput `pulumi:"scanConfig"` - ScheduleConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput `pulumi:"scheduleConfig"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs struct { + MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` + MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"` } -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput).ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx) } -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs, GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtr and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs -func GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtr(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ScanConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { - return v.ScanConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { + return v.MaxSurge + }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ScheduleConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { - return v.ScheduleConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) -} - -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ScanConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxSurge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { if v == nil { return nil } - return &v.ScanConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) + return v.MaxSurge + }).(pulumi.IntPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ScheduleConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput) MaxUnavailable() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate) *int { if v == nil { return nil } - return &v.ScheduleConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) + return v.MaxUnavailable + }).(pulumi.IntPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig struct { - CisScanConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig `pulumi:"cisScanConfig"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork struct { + AciNetworkProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider `pulumi:"aciNetworkProvider"` + CalicoNetworkProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider `pulumi:"calicoNetworkProvider"` + CanalNetworkProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider `pulumi:"canalNetworkProvider"` + FlannelNetworkProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider `pulumi:"flannelNetworkProvider"` + Mtu *int `pulumi:"mtu"` + Options map[string]interface{} `pulumi:"options"` + Plugin string `pulumi:"plugin"` + Tolerations []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration `pulumi:"tolerations"` + WeaveNetworkProvider *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider `pulumi:"weaveNetworkProvider"` } -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput` via: // -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs struct { - CisScanConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput `pulumi:"cisScanConfig"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs struct { + AciNetworkProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput `pulumi:"aciNetworkProvider"` + CalicoNetworkProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput `pulumi:"calicoNetworkProvider"` + CanalNetworkProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput `pulumi:"canalNetworkProvider"` + FlannelNetworkProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput `pulumi:"flannelNetworkProvider"` + Mtu pulumi.IntPtrInput `pulumi:"mtu"` + Options pulumi.MapInput `pulumi:"options"` + Plugin pulumi.StringInput `pulumi:"plugin"` + Tolerations GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput `pulumi:"tolerations"` + WeaveNetworkProvider GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput `pulumi:"weaveNetworkProvider"` } -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(context.Background()) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork)(nil)).Elem() } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput).ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { + return o } -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs, GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtr and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs{...} +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput { + return o +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) AciNetworkProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { + return v.AciNetworkProvider + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) CalicoNetworkProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { + return v.CalicoNetworkProvider + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) CanalNetworkProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { + return v.CanalNetworkProvider + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) FlannelNetworkProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { + return v.FlannelNetworkProvider + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Mtu() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *int { return v.Mtu }).(pulumi.IntPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Options() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) map[string]interface{} { + return v.Options + }).(pulumi.MapOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Plugin() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) string { return v.Plugin }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) Tolerations() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration { + return v.Tolerations + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput) WeaveNetworkProvider() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { + return v.WeaveNetworkProvider + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider struct { + Aep string `pulumi:"aep"` + ApicHosts []string `pulumi:"apicHosts"` + ApicRefreshTickerAdjust *string `pulumi:"apicRefreshTickerAdjust"` + ApicRefreshTime *string `pulumi:"apicRefreshTime"` + ApicSubscriptionDelay *string `pulumi:"apicSubscriptionDelay"` + ApicUserCrt string `pulumi:"apicUserCrt"` + ApicUserKey string `pulumi:"apicUserKey"` + ApicUserName string `pulumi:"apicUserName"` + Capic *string `pulumi:"capic"` + ControllerLogLevel *string `pulumi:"controllerLogLevel"` + DisablePeriodicSnatGlobalInfoSync *string `pulumi:"disablePeriodicSnatGlobalInfoSync"` + DisableWaitForNetwork *string `pulumi:"disableWaitForNetwork"` + DropLogEnable *string `pulumi:"dropLogEnable"` + DurationWaitForNetwork *string `pulumi:"durationWaitForNetwork"` + EnableEndpointSlice *string `pulumi:"enableEndpointSlice"` + EncapType string `pulumi:"encapType"` + EpRegistry *string `pulumi:"epRegistry"` + ExternDynamic string `pulumi:"externDynamic"` + ExternStatic string `pulumi:"externStatic"` + GbpPodSubnet *string `pulumi:"gbpPodSubnet"` + HostAgentLogLevel *string `pulumi:"hostAgentLogLevel"` + ImagePullPolicy *string `pulumi:"imagePullPolicy"` + ImagePullSecret *string `pulumi:"imagePullSecret"` + InfraVlan *string `pulumi:"infraVlan"` + InstallIstio *string `pulumi:"installIstio"` + IstioProfile *string `pulumi:"istioProfile"` + KafkaBrokers []string `pulumi:"kafkaBrokers"` + KafkaClientCrt *string `pulumi:"kafkaClientCrt"` + KafkaClientKey *string `pulumi:"kafkaClientKey"` + KubeApiVlan string `pulumi:"kubeApiVlan"` + L3out string `pulumi:"l3out"` + L3outExternalNetworks []string `pulumi:"l3outExternalNetworks"` + MaxNodesSvcGraph *string `pulumi:"maxNodesSvcGraph"` + McastRangeEnd string `pulumi:"mcastRangeEnd"` + McastRangeStart string `pulumi:"mcastRangeStart"` + MtuHeadRoom *string `pulumi:"mtuHeadRoom"` + MultusDisable *string `pulumi:"multusDisable"` + NoPriorityClass *string `pulumi:"noPriorityClass"` + NodePodIfEnable *string `pulumi:"nodePodIfEnable"` + NodeSubnet string `pulumi:"nodeSubnet"` + NodeSvcSubnet string `pulumi:"nodeSvcSubnet"` + OpflexClientSsl *string `pulumi:"opflexClientSsl"` + OpflexDeviceDeleteTimeout *string `pulumi:"opflexDeviceDeleteTimeout"` + OpflexLogLevel *string `pulumi:"opflexLogLevel"` + OpflexMode *string `pulumi:"opflexMode"` + OpflexServerPort *string `pulumi:"opflexServerPort"` + OverlayVrfName *string `pulumi:"overlayVrfName"` + OvsMemoryLimit *string `pulumi:"ovsMemoryLimit"` + PbrTrackingNonSnat *string `pulumi:"pbrTrackingNonSnat"` + PodSubnetChunkSize *string `pulumi:"podSubnetChunkSize"` + RunGbpContainer *string `pulumi:"runGbpContainer"` + RunOpflexServerContainer *string `pulumi:"runOpflexServerContainer"` + ServiceMonitorInterval *string `pulumi:"serviceMonitorInterval"` + ServiceVlan string `pulumi:"serviceVlan"` + SnatContractScope *string `pulumi:"snatContractScope"` + SnatNamespace *string `pulumi:"snatNamespace"` + SnatPortRangeEnd *string `pulumi:"snatPortRangeEnd"` + SnatPortRangeStart *string `pulumi:"snatPortRangeStart"` + SnatPortsPerNode *string `pulumi:"snatPortsPerNode"` + SriovEnable *string `pulumi:"sriovEnable"` + SubnetDomainName *string `pulumi:"subnetDomainName"` + SystemId string `pulumi:"systemId"` + Tenant *string `pulumi:"tenant"` + Token string `pulumi:"token"` + UseAciAnywhereCrd *string `pulumi:"useAciAnywhereCrd"` + UseAciCniPriorityClass *string `pulumi:"useAciCniPriorityClass"` + UseClusterRole *string `pulumi:"useClusterRole"` + UseHostNetnsVolume *string `pulumi:"useHostNetnsVolume"` + UseOpflexServerVolume *string `pulumi:"useOpflexServerVolume"` + UsePrivilegedContainer *string `pulumi:"usePrivilegedContainer"` + VmmController *string `pulumi:"vmmController"` + VmmDomain *string `pulumi:"vmmDomain"` + VrfName string `pulumi:"vrfName"` + VrfTenant string `pulumi:"vrfTenant"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderInput interface { + pulumi.Input + + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs struct { + Aep pulumi.StringInput `pulumi:"aep"` + ApicHosts pulumi.StringArrayInput `pulumi:"apicHosts"` + ApicRefreshTickerAdjust pulumi.StringPtrInput `pulumi:"apicRefreshTickerAdjust"` + ApicRefreshTime pulumi.StringPtrInput `pulumi:"apicRefreshTime"` + ApicSubscriptionDelay pulumi.StringPtrInput `pulumi:"apicSubscriptionDelay"` + ApicUserCrt pulumi.StringInput `pulumi:"apicUserCrt"` + ApicUserKey pulumi.StringInput `pulumi:"apicUserKey"` + ApicUserName pulumi.StringInput `pulumi:"apicUserName"` + Capic pulumi.StringPtrInput `pulumi:"capic"` + ControllerLogLevel pulumi.StringPtrInput `pulumi:"controllerLogLevel"` + DisablePeriodicSnatGlobalInfoSync pulumi.StringPtrInput `pulumi:"disablePeriodicSnatGlobalInfoSync"` + DisableWaitForNetwork pulumi.StringPtrInput `pulumi:"disableWaitForNetwork"` + DropLogEnable pulumi.StringPtrInput `pulumi:"dropLogEnable"` + DurationWaitForNetwork pulumi.StringPtrInput `pulumi:"durationWaitForNetwork"` + EnableEndpointSlice pulumi.StringPtrInput `pulumi:"enableEndpointSlice"` + EncapType pulumi.StringInput `pulumi:"encapType"` + EpRegistry pulumi.StringPtrInput `pulumi:"epRegistry"` + ExternDynamic pulumi.StringInput `pulumi:"externDynamic"` + ExternStatic pulumi.StringInput `pulumi:"externStatic"` + GbpPodSubnet pulumi.StringPtrInput `pulumi:"gbpPodSubnet"` + HostAgentLogLevel pulumi.StringPtrInput `pulumi:"hostAgentLogLevel"` + ImagePullPolicy pulumi.StringPtrInput `pulumi:"imagePullPolicy"` + ImagePullSecret pulumi.StringPtrInput `pulumi:"imagePullSecret"` + InfraVlan pulumi.StringPtrInput `pulumi:"infraVlan"` + InstallIstio pulumi.StringPtrInput `pulumi:"installIstio"` + IstioProfile pulumi.StringPtrInput `pulumi:"istioProfile"` + KafkaBrokers pulumi.StringArrayInput `pulumi:"kafkaBrokers"` + KafkaClientCrt pulumi.StringPtrInput `pulumi:"kafkaClientCrt"` + KafkaClientKey pulumi.StringPtrInput `pulumi:"kafkaClientKey"` + KubeApiVlan pulumi.StringInput `pulumi:"kubeApiVlan"` + L3out pulumi.StringInput `pulumi:"l3out"` + L3outExternalNetworks pulumi.StringArrayInput `pulumi:"l3outExternalNetworks"` + MaxNodesSvcGraph pulumi.StringPtrInput `pulumi:"maxNodesSvcGraph"` + McastRangeEnd pulumi.StringInput `pulumi:"mcastRangeEnd"` + McastRangeStart pulumi.StringInput `pulumi:"mcastRangeStart"` + MtuHeadRoom pulumi.StringPtrInput `pulumi:"mtuHeadRoom"` + MultusDisable pulumi.StringPtrInput `pulumi:"multusDisable"` + NoPriorityClass pulumi.StringPtrInput `pulumi:"noPriorityClass"` + NodePodIfEnable pulumi.StringPtrInput `pulumi:"nodePodIfEnable"` + NodeSubnet pulumi.StringInput `pulumi:"nodeSubnet"` + NodeSvcSubnet pulumi.StringInput `pulumi:"nodeSvcSubnet"` + OpflexClientSsl pulumi.StringPtrInput `pulumi:"opflexClientSsl"` + OpflexDeviceDeleteTimeout pulumi.StringPtrInput `pulumi:"opflexDeviceDeleteTimeout"` + OpflexLogLevel pulumi.StringPtrInput `pulumi:"opflexLogLevel"` + OpflexMode pulumi.StringPtrInput `pulumi:"opflexMode"` + OpflexServerPort pulumi.StringPtrInput `pulumi:"opflexServerPort"` + OverlayVrfName pulumi.StringPtrInput `pulumi:"overlayVrfName"` + OvsMemoryLimit pulumi.StringPtrInput `pulumi:"ovsMemoryLimit"` + PbrTrackingNonSnat pulumi.StringPtrInput `pulumi:"pbrTrackingNonSnat"` + PodSubnetChunkSize pulumi.StringPtrInput `pulumi:"podSubnetChunkSize"` + RunGbpContainer pulumi.StringPtrInput `pulumi:"runGbpContainer"` + RunOpflexServerContainer pulumi.StringPtrInput `pulumi:"runOpflexServerContainer"` + ServiceMonitorInterval pulumi.StringPtrInput `pulumi:"serviceMonitorInterval"` + ServiceVlan pulumi.StringInput `pulumi:"serviceVlan"` + SnatContractScope pulumi.StringPtrInput `pulumi:"snatContractScope"` + SnatNamespace pulumi.StringPtrInput `pulumi:"snatNamespace"` + SnatPortRangeEnd pulumi.StringPtrInput `pulumi:"snatPortRangeEnd"` + SnatPortRangeStart pulumi.StringPtrInput `pulumi:"snatPortRangeStart"` + SnatPortsPerNode pulumi.StringPtrInput `pulumi:"snatPortsPerNode"` + SriovEnable pulumi.StringPtrInput `pulumi:"sriovEnable"` + SubnetDomainName pulumi.StringPtrInput `pulumi:"subnetDomainName"` + SystemId pulumi.StringInput `pulumi:"systemId"` + Tenant pulumi.StringPtrInput `pulumi:"tenant"` + Token pulumi.StringInput `pulumi:"token"` + UseAciAnywhereCrd pulumi.StringPtrInput `pulumi:"useAciAnywhereCrd"` + UseAciCniPriorityClass pulumi.StringPtrInput `pulumi:"useAciCniPriorityClass"` + UseClusterRole pulumi.StringPtrInput `pulumi:"useClusterRole"` + UseHostNetnsVolume pulumi.StringPtrInput `pulumi:"useHostNetnsVolume"` + UseOpflexServerVolume pulumi.StringPtrInput `pulumi:"useOpflexServerVolume"` + UsePrivilegedContainer pulumi.StringPtrInput `pulumi:"usePrivilegedContainer"` + VmmController pulumi.StringPtrInput `pulumi:"vmmController"` + VmmDomain pulumi.StringPtrInput `pulumi:"vmmDomain"` + VrfName pulumi.StringInput `pulumi:"vrfName"` + VrfTenant pulumi.StringInput `pulumi:"vrfTenant"` +} + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider)(nil)).Elem() +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutputWithContext(context.Background()) +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx) +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs{...} // // or: // // nil -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput interface { pulumi.Input - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput } -type getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs -func GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtr(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrType)(v) } -func (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) CisScanConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { - return v.CisScanConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) Aep() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.Aep + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicHosts() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + return v.ApicHosts + }).(pulumi.StringArrayOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicRefreshTickerAdjust() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ApicRefreshTickerAdjust + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicRefreshTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ApicRefreshTime + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicSubscriptionDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ApicSubscriptionDelay + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicUserCrt() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ApicUserCrt + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) CisScanConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { - if v == nil { - return nil - } - return &v.CisScanConfig - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicUserKey() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ApicUserKey + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig struct { - DebugMaster *bool `pulumi:"debugMaster"` - DebugWorker *bool `pulumi:"debugWorker"` - OverrideBenchmarkVersion *string `pulumi:"overrideBenchmarkVersion"` - OverrideSkips []string `pulumi:"overrideSkips"` - Profile *string `pulumi:"profile"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ApicUserName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ApicUserName + }).(pulumi.StringOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) Capic() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.Capic + }).(pulumi.StringPtrOutput) +} - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ControllerLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ControllerLogLevel + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs struct { - DebugMaster pulumi.BoolPtrInput `pulumi:"debugMaster"` - DebugWorker pulumi.BoolPtrInput `pulumi:"debugWorker"` - OverrideBenchmarkVersion pulumi.StringPtrInput `pulumi:"overrideBenchmarkVersion"` - OverrideSkips pulumi.StringArrayInput `pulumi:"overrideSkips"` - Profile pulumi.StringPtrInput `pulumi:"profile"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) DisablePeriodicSnatGlobalInfoSync() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.DisablePeriodicSnatGlobalInfoSync + }).(pulumi.StringPtrOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) DisableWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.DisableWaitForNetwork + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) DropLogEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.DropLogEnable + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) DurationWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.DurationWaitForNetwork + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) EnableEndpointSlice() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.EnableEndpointSlice + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput).ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) EncapType() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.EncapType + }).(pulumi.StringOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs, GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtr and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) EpRegistry() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.EpRegistry + }).(pulumi.StringPtrOutput) +} - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ExternDynamic() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ExternDynamic + }).(pulumi.StringOutput) } -type getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ExternStatic() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ExternStatic + }).(pulumi.StringOutput) +} -func GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtr(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType)(v) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) GbpPodSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.GbpPodSubnet + }).(pulumi.StringPtrOutput) } -func (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) HostAgentLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.HostAgentLogLevel + }).(pulumi.StringPtrOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ImagePullPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ImagePullPolicy + }).(pulumi.StringPtrOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ImagePullSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ImagePullSecret + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) InfraVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.InfraVlan + }).(pulumi.StringPtrOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) InstallIstio() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.InstallIstio + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) IstioProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.IstioProfile + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) KafkaBrokers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + return v.KafkaBrokers + }).(pulumi.StringArrayOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) KafkaClientCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.KafkaClientCrt + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) KafkaClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.KafkaClientKey + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) DebugMaster() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { - return v.DebugMaster - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) KubeApiVlan() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.KubeApiVlan + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) DebugWorker() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { - return v.DebugWorker - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) L3out() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.L3out + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { - return v.OverrideBenchmarkVersion +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) L3outExternalNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + return v.L3outExternalNetworks + }).(pulumi.StringArrayOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) MaxNodesSvcGraph() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.MaxNodesSvcGraph }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) OverrideSkips() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) []string { - return v.OverrideSkips - }).(pulumi.StringArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) McastRangeEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.McastRangeEnd + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) Profile() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { - return v.Profile +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) McastRangeStart() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.McastRangeStart + }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) MtuHeadRoom() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.MtuHeadRoom }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) MultusDisable() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.MultusDisable + }).(pulumi.StringPtrOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) NoPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.NoPriorityClass + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) NodePodIfEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.NodePodIfEnable + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) NodeSubnet() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.NodeSubnet + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { - if v != nil { - return *v - } - var ret GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig - return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) NodeSvcSubnet() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.NodeSvcSubnet + }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugMaster() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { - if v == nil { - return nil - } - return v.DebugMaster - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OpflexClientSsl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OpflexClientSsl + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugWorker() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { - if v == nil { - return nil - } - return v.DebugWorker - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OpflexDeviceDeleteTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OpflexDeviceDeleteTimeout + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { - if v == nil { - return nil - } - return v.OverrideBenchmarkVersion +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OpflexLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OpflexLogLevel }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideSkips() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) []string { - if v == nil { - return nil - } - return v.OverrideSkips - }).(pulumi.StringArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OpflexMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OpflexMode + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) Profile() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { - if v == nil { - return nil - } - return v.Profile +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OpflexServerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OpflexServerPort }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig struct { - CronSchedule string `pulumi:"cronSchedule"` - Retention int `pulumi:"retention"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OverlayVrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OverlayVrfName + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs{...} -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) OvsMemoryLimit() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.OvsMemoryLimit + }).(pulumi.StringPtrOutput) +} - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) PbrTrackingNonSnat() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.PbrTrackingNonSnat + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs struct { - CronSchedule pulumi.StringInput `pulumi:"cronSchedule"` - Retention pulumi.IntInput `pulumi:"retention"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) PodSubnetChunkSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.PodSubnetChunkSize + }).(pulumi.StringPtrOutput) } -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) RunGbpContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.RunGbpContainer + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) RunOpflexServerContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.RunOpflexServerContainer + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ServiceMonitorInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.ServiceMonitorInterval + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) ServiceVlan() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.ServiceVlan + }).(pulumi.StringOutput) } -func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput).ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SnatContractScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SnatContractScope + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs, GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtr and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput` via: -// -// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs{...} -// -// or: -// -// nil -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SnatNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SnatNamespace + }).(pulumi.StringPtrOutput) +} - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput - ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SnatPortRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SnatPortRangeEnd + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SnatPortRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SnatPortRangeStart + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SnatPortsPerNode() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SnatPortsPerNode + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SriovEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SriovEnable + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SubnetDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.SubnetDomainName + }).(pulumi.StringPtrOutput) } -type getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) SystemId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.SystemId + }).(pulumi.StringOutput) +} -func GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtr(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput { - return (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType)(v) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) Tenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.Tenant + }).(pulumi.StringPtrOutput) } -func (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.Token + }).(pulumi.StringOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UseAciAnywhereCrd() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UseAciAnywhereCrd + }).(pulumi.StringPtrOutput) } -func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UseAciCniPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UseAciCniPriorityClass + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UseClusterRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UseClusterRole + }).(pulumi.StringPtrOutput) +} -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UseHostNetnsVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UseHostNetnsVolume + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UseOpflexServerVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UseOpflexServerVolume + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) UsePrivilegedContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.UsePrivilegedContainer + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return o.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) VmmController() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.VmmController + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { - return &v - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) VmmDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + return v.VmmDomain + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) CronSchedule() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) string { - return v.CronSchedule +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) VrfName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.VrfName }).(pulumi.StringOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) Retention() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) int { - return v.Retention - }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) VrfTenant() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) string { + return v.VrfTenant + }).(pulumi.StringOutput) } -type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider)(nil)).Elem() } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput { return o } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { if v != nil { return *v } - var ret GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider return ret - }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) CronSchedule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) Aep() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { if v == nil { return nil } - return &v.CronSchedule + return &v.Aep }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *int { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicHosts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { if v == nil { return nil } - return &v.Retention - }).(pulumi.IntPtrOutput) + return v.ApicHosts + }).(pulumi.StringArrayOutput) } -type GetClusterTemplateTemplateRevisionQuestion struct { - Default string `pulumi:"default"` - Required *bool `pulumi:"required"` - Type *string `pulumi:"type"` - Variable string `pulumi:"variable"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicRefreshTickerAdjust() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicRefreshTickerAdjust + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionQuestionInput is an input type that accepts GetClusterTemplateTemplateRevisionQuestionArgs and GetClusterTemplateTemplateRevisionQuestionOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionQuestionInput` via: -// -// GetClusterTemplateTemplateRevisionQuestionArgs{...} -type GetClusterTemplateTemplateRevisionQuestionInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionQuestionOutput() GetClusterTemplateTemplateRevisionQuestionOutput - ToGetClusterTemplateTemplateRevisionQuestionOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionQuestionOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicRefreshTime() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicRefreshTime + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionQuestionArgs struct { - Default pulumi.StringInput `pulumi:"default"` - Required pulumi.BoolPtrInput `pulumi:"required"` - Type pulumi.StringPtrInput `pulumi:"type"` - Variable pulumi.StringInput `pulumi:"variable"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicSubscriptionDelay() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ApicSubscriptionDelay + }).(pulumi.StringPtrOutput) } -func (GetClusterTemplateTemplateRevisionQuestionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionQuestion)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserCrt + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionQuestionArgs) ToGetClusterTemplateTemplateRevisionQuestionOutput() GetClusterTemplateTemplateRevisionQuestionOutput { - return i.ToGetClusterTemplateTemplateRevisionQuestionOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserKey + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionQuestionArgs) ToGetClusterTemplateTemplateRevisionQuestionOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionQuestionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionQuestionOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ApicUserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ApicUserName + }).(pulumi.StringPtrOutput) } -// GetClusterTemplateTemplateRevisionQuestionArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionQuestionArray and GetClusterTemplateTemplateRevisionQuestionArrayOutput values. -// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionQuestionArrayInput` via: -// -// GetClusterTemplateTemplateRevisionQuestionArray{ GetClusterTemplateTemplateRevisionQuestionArgs{...} } -type GetClusterTemplateTemplateRevisionQuestionArrayInput interface { - pulumi.Input - - ToGetClusterTemplateTemplateRevisionQuestionArrayOutput() GetClusterTemplateTemplateRevisionQuestionArrayOutput - ToGetClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionQuestionArrayOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) Capic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.Capic + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionQuestionArray []GetClusterTemplateTemplateRevisionQuestionInput - -func (GetClusterTemplateTemplateRevisionQuestionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionQuestion)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ControllerLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ControllerLogLevel + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionQuestionArray) ToGetClusterTemplateTemplateRevisionQuestionArrayOutput() GetClusterTemplateTemplateRevisionQuestionArrayOutput { - return i.ToGetClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) DisablePeriodicSnatGlobalInfoSync() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DisablePeriodicSnatGlobalInfoSync + }).(pulumi.StringPtrOutput) } -func (i GetClusterTemplateTemplateRevisionQuestionArray) ToGetClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionQuestionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionQuestionArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) DisableWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DisableWaitForNetwork + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionQuestionOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionQuestionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterTemplateTemplateRevisionQuestion)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) DropLogEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DropLogEnable + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionQuestionOutput) ToGetClusterTemplateTemplateRevisionQuestionOutput() GetClusterTemplateTemplateRevisionQuestionOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) DurationWaitForNetwork() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.DurationWaitForNetwork + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionQuestionOutput) ToGetClusterTemplateTemplateRevisionQuestionOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionQuestionOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) EnableEndpointSlice() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.EnableEndpointSlice + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionQuestionOutput) Default() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionQuestion) string { return v.Default }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) EncapType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.EncapType + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionQuestionOutput) Required() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionQuestion) *bool { return v.Required }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) EpRegistry() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.EpRegistry + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionQuestionOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionQuestion) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ExternDynamic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ExternDynamic + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionQuestionOutput) Variable() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterTemplateTemplateRevisionQuestion) string { return v.Variable }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ExternStatic() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ExternStatic + }).(pulumi.StringPtrOutput) } -type GetClusterTemplateTemplateRevisionQuestionArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterTemplateTemplateRevisionQuestionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionQuestion)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) GbpPodSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.GbpPodSubnet + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionQuestionArrayOutput) ToGetClusterTemplateTemplateRevisionQuestionArrayOutput() GetClusterTemplateTemplateRevisionQuestionArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) HostAgentLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.HostAgentLogLevel + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionQuestionArrayOutput) ToGetClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionQuestionArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ImagePullPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ImagePullPolicy + }).(pulumi.StringPtrOutput) } -func (o GetClusterTemplateTemplateRevisionQuestionArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionQuestionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionQuestion { - return vs[0].([]GetClusterTemplateTemplateRevisionQuestion)[vs[1].(int)] - }).(GetClusterTemplateTemplateRevisionQuestionOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ImagePullSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ImagePullSecret + }).(pulumi.StringPtrOutput) } -type GetClusterV2AgentEnvVar struct { - // The name of the Cluster v2 (string) - Name string `pulumi:"name"` - Value string `pulumi:"value"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) InfraVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.InfraVlan + }).(pulumi.StringPtrOutput) } -// GetClusterV2AgentEnvVarInput is an input type that accepts GetClusterV2AgentEnvVarArgs and GetClusterV2AgentEnvVarOutput values. -// You can construct a concrete instance of `GetClusterV2AgentEnvVarInput` via: -// -// GetClusterV2AgentEnvVarArgs{...} -type GetClusterV2AgentEnvVarInput interface { - pulumi.Input - - ToGetClusterV2AgentEnvVarOutput() GetClusterV2AgentEnvVarOutput - ToGetClusterV2AgentEnvVarOutputWithContext(context.Context) GetClusterV2AgentEnvVarOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) InstallIstio() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.InstallIstio + }).(pulumi.StringPtrOutput) } -type GetClusterV2AgentEnvVarArgs struct { - // The name of the Cluster v2 (string) - Name pulumi.StringInput `pulumi:"name"` - Value pulumi.StringInput `pulumi:"value"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) IstioProfile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.IstioProfile + }).(pulumi.StringPtrOutput) } -func (GetClusterV2AgentEnvVarArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2AgentEnvVar)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaBrokers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.KafkaBrokers + }).(pulumi.StringArrayOutput) } -func (i GetClusterV2AgentEnvVarArgs) ToGetClusterV2AgentEnvVarOutput() GetClusterV2AgentEnvVarOutput { - return i.ToGetClusterV2AgentEnvVarOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaClientCrt() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.KafkaClientCrt + }).(pulumi.StringPtrOutput) } -func (i GetClusterV2AgentEnvVarArgs) ToGetClusterV2AgentEnvVarOutputWithContext(ctx context.Context) GetClusterV2AgentEnvVarOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2AgentEnvVarOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) KafkaClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.KafkaClientKey + }).(pulumi.StringPtrOutput) } -// GetClusterV2AgentEnvVarArrayInput is an input type that accepts GetClusterV2AgentEnvVarArray and GetClusterV2AgentEnvVarArrayOutput values. -// You can construct a concrete instance of `GetClusterV2AgentEnvVarArrayInput` via: -// -// GetClusterV2AgentEnvVarArray{ GetClusterV2AgentEnvVarArgs{...} } -type GetClusterV2AgentEnvVarArrayInput interface { - pulumi.Input - - ToGetClusterV2AgentEnvVarArrayOutput() GetClusterV2AgentEnvVarArrayOutput - ToGetClusterV2AgentEnvVarArrayOutputWithContext(context.Context) GetClusterV2AgentEnvVarArrayOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) KubeApiVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.KubeApiVlan + }).(pulumi.StringPtrOutput) } -type GetClusterV2AgentEnvVarArray []GetClusterV2AgentEnvVarInput - -func (GetClusterV2AgentEnvVarArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2AgentEnvVar)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) L3out() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.L3out + }).(pulumi.StringPtrOutput) } -func (i GetClusterV2AgentEnvVarArray) ToGetClusterV2AgentEnvVarArrayOutput() GetClusterV2AgentEnvVarArrayOutput { - return i.ToGetClusterV2AgentEnvVarArrayOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) L3outExternalNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) []string { + if v == nil { + return nil + } + return v.L3outExternalNetworks + }).(pulumi.StringArrayOutput) } -func (i GetClusterV2AgentEnvVarArray) ToGetClusterV2AgentEnvVarArrayOutputWithContext(ctx context.Context) GetClusterV2AgentEnvVarArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2AgentEnvVarArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) MaxNodesSvcGraph() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MaxNodesSvcGraph + }).(pulumi.StringPtrOutput) } -type GetClusterV2AgentEnvVarOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) McastRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.McastRangeEnd + }).(pulumi.StringPtrOutput) +} -func (GetClusterV2AgentEnvVarOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2AgentEnvVar)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) McastRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.McastRangeStart + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2AgentEnvVarOutput) ToGetClusterV2AgentEnvVarOutput() GetClusterV2AgentEnvVarOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) MtuHeadRoom() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MtuHeadRoom + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2AgentEnvVarOutput) ToGetClusterV2AgentEnvVarOutputWithContext(ctx context.Context) GetClusterV2AgentEnvVarOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) MultusDisable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.MultusDisable + }).(pulumi.StringPtrOutput) } -// The name of the Cluster v2 (string) -func (o GetClusterV2AgentEnvVarOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2AgentEnvVar) string { return v.Name }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) NoPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.NoPriorityClass + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2AgentEnvVarOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2AgentEnvVar) string { return v.Value }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) NodePodIfEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.NodePodIfEnable + }).(pulumi.StringPtrOutput) } -type GetClusterV2AgentEnvVarArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) NodeSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.NodeSubnet + }).(pulumi.StringPtrOutput) +} -func (GetClusterV2AgentEnvVarArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2AgentEnvVar)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) NodeSvcSubnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.NodeSvcSubnet + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2AgentEnvVarArrayOutput) ToGetClusterV2AgentEnvVarArrayOutput() GetClusterV2AgentEnvVarArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexClientSsl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexClientSsl + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2AgentEnvVarArrayOutput) ToGetClusterV2AgentEnvVarArrayOutputWithContext(ctx context.Context) GetClusterV2AgentEnvVarArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexDeviceDeleteTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexDeviceDeleteTimeout + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2AgentEnvVarArrayOutput) Index(i pulumi.IntInput) GetClusterV2AgentEnvVarOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2AgentEnvVar { - return vs[0].([]GetClusterV2AgentEnvVar)[vs[1].(int)] - }).(GetClusterV2AgentEnvVarOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexLogLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexLogLevel + }).(pulumi.StringPtrOutput) } -type GetClusterV2ClusterRegistrationToken struct { - Annotations map[string]interface{} `pulumi:"annotations"` - ClusterId string `pulumi:"clusterId"` - Command string `pulumi:"command"` - // (Computed) The ID of the resource (string) - Id string `pulumi:"id"` - InsecureCommand string `pulumi:"insecureCommand"` - InsecureNodeCommand string `pulumi:"insecureNodeCommand"` - InsecureWindowsNodeCommand string `pulumi:"insecureWindowsNodeCommand"` - Labels map[string]interface{} `pulumi:"labels"` - ManifestUrl string `pulumi:"manifestUrl"` - // The name of the Cluster v2 (string) - Name string `pulumi:"name"` - NodeCommand string `pulumi:"nodeCommand"` - Token string `pulumi:"token"` - WindowsNodeCommand string `pulumi:"windowsNodeCommand"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexMode + }).(pulumi.StringPtrOutput) } -// GetClusterV2ClusterRegistrationTokenInput is an input type that accepts GetClusterV2ClusterRegistrationTokenArgs and GetClusterV2ClusterRegistrationTokenOutput values. -// You can construct a concrete instance of `GetClusterV2ClusterRegistrationTokenInput` via: -// -// GetClusterV2ClusterRegistrationTokenArgs{...} -type GetClusterV2ClusterRegistrationTokenInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OpflexServerPort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OpflexServerPort + }).(pulumi.StringPtrOutput) +} - ToGetClusterV2ClusterRegistrationTokenOutput() GetClusterV2ClusterRegistrationTokenOutput - ToGetClusterV2ClusterRegistrationTokenOutputWithContext(context.Context) GetClusterV2ClusterRegistrationTokenOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OverlayVrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OverlayVrfName + }).(pulumi.StringPtrOutput) } -type GetClusterV2ClusterRegistrationTokenArgs struct { - Annotations pulumi.MapInput `pulumi:"annotations"` - ClusterId pulumi.StringInput `pulumi:"clusterId"` - Command pulumi.StringInput `pulumi:"command"` - // (Computed) The ID of the resource (string) - Id pulumi.StringInput `pulumi:"id"` - InsecureCommand pulumi.StringInput `pulumi:"insecureCommand"` - InsecureNodeCommand pulumi.StringInput `pulumi:"insecureNodeCommand"` - InsecureWindowsNodeCommand pulumi.StringInput `pulumi:"insecureWindowsNodeCommand"` - Labels pulumi.MapInput `pulumi:"labels"` - ManifestUrl pulumi.StringInput `pulumi:"manifestUrl"` - // The name of the Cluster v2 (string) - Name pulumi.StringInput `pulumi:"name"` - NodeCommand pulumi.StringInput `pulumi:"nodeCommand"` - Token pulumi.StringInput `pulumi:"token"` - WindowsNodeCommand pulumi.StringInput `pulumi:"windowsNodeCommand"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) OvsMemoryLimit() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.OvsMemoryLimit + }).(pulumi.StringPtrOutput) } -func (GetClusterV2ClusterRegistrationTokenArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2ClusterRegistrationToken)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) PbrTrackingNonSnat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.PbrTrackingNonSnat + }).(pulumi.StringPtrOutput) } -func (i GetClusterV2ClusterRegistrationTokenArgs) ToGetClusterV2ClusterRegistrationTokenOutput() GetClusterV2ClusterRegistrationTokenOutput { - return i.ToGetClusterV2ClusterRegistrationTokenOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) PodSubnetChunkSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.PodSubnetChunkSize + }).(pulumi.StringPtrOutput) } -func (i GetClusterV2ClusterRegistrationTokenArgs) ToGetClusterV2ClusterRegistrationTokenOutputWithContext(ctx context.Context) GetClusterV2ClusterRegistrationTokenOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2ClusterRegistrationTokenOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) RunGbpContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.RunGbpContainer + }).(pulumi.StringPtrOutput) } -type GetClusterV2ClusterRegistrationTokenOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) RunOpflexServerContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.RunOpflexServerContainer + }).(pulumi.StringPtrOutput) +} -func (GetClusterV2ClusterRegistrationTokenOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2ClusterRegistrationToken)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ServiceMonitorInterval() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.ServiceMonitorInterval + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) ToGetClusterV2ClusterRegistrationTokenOutput() GetClusterV2ClusterRegistrationTokenOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) ServiceVlan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.ServiceVlan + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) ToGetClusterV2ClusterRegistrationTokenOutputWithContext(ctx context.Context) GetClusterV2ClusterRegistrationTokenOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SnatContractScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatContractScope + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) Annotations() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SnatNamespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatNamespace + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) ClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.ClusterId }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortRangeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatPortRangeEnd + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) Command() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.Command }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortRangeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatPortRangeStart + }).(pulumi.StringPtrOutput) } -// (Computed) The ID of the resource (string) -func (o GetClusterV2ClusterRegistrationTokenOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.Id }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SnatPortsPerNode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SnatPortsPerNode + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) InsecureCommand() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.InsecureCommand }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SriovEnable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SriovEnable + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) InsecureNodeCommand() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.InsecureNodeCommand }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SubnetDomainName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.SubnetDomainName + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) InsecureWindowsNodeCommand() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.InsecureWindowsNodeCommand }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) SystemId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.SystemId + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) Tenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.Tenant + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) ManifestUrl() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.ManifestUrl }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.Token + }).(pulumi.StringPtrOutput) } -// The name of the Cluster v2 (string) -func (o GetClusterV2ClusterRegistrationTokenOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.Name }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UseAciAnywhereCrd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseAciAnywhereCrd + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) NodeCommand() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.NodeCommand }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UseAciCniPriorityClass() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseAciCniPriorityClass + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) Token() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.Token }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UseClusterRole() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseClusterRole + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2ClusterRegistrationTokenOutput) WindowsNodeCommand() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.WindowsNodeCommand }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UseHostNetnsVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseHostNetnsVolume + }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfig struct { - AdditionalManifest *string `pulumi:"additionalManifest"` - ChartValues *string `pulumi:"chartValues"` - Etcd GetClusterV2RkeConfigEtcd `pulumi:"etcd"` - EtcdSnapshotCreate *GetClusterV2RkeConfigEtcdSnapshotCreate `pulumi:"etcdSnapshotCreate"` - EtcdSnapshotRestore *GetClusterV2RkeConfigEtcdSnapshotRestore `pulumi:"etcdSnapshotRestore"` - // Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead - LocalAuthEndpoint *GetClusterV2RkeConfigLocalAuthEndpoint `pulumi:"localAuthEndpoint"` - MachineGlobalConfig *string `pulumi:"machineGlobalConfig"` - MachinePools []GetClusterV2RkeConfigMachinePool `pulumi:"machinePools"` - MachineSelectorConfigs []GetClusterV2RkeConfigMachineSelectorConfig `pulumi:"machineSelectorConfigs"` - Registries *GetClusterV2RkeConfigRegistries `pulumi:"registries"` - RotateCertificates *GetClusterV2RkeConfigRotateCertificates `pulumi:"rotateCertificates"` - UpgradeStrategy *GetClusterV2RkeConfigUpgradeStrategy `pulumi:"upgradeStrategy"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UseOpflexServerVolume() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UseOpflexServerVolume + }).(pulumi.StringPtrOutput) } -// GetClusterV2RkeConfigInput is an input type that accepts GetClusterV2RkeConfigArgs and GetClusterV2RkeConfigOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigInput` via: -// -// GetClusterV2RkeConfigArgs{...} -type GetClusterV2RkeConfigInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) UsePrivilegedContainer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.UsePrivilegedContainer + }).(pulumi.StringPtrOutput) +} - ToGetClusterV2RkeConfigOutput() GetClusterV2RkeConfigOutput - ToGetClusterV2RkeConfigOutputWithContext(context.Context) GetClusterV2RkeConfigOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) VmmController() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.VmmController + }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfigArgs struct { - AdditionalManifest pulumi.StringPtrInput `pulumi:"additionalManifest"` - ChartValues pulumi.StringPtrInput `pulumi:"chartValues"` - Etcd GetClusterV2RkeConfigEtcdInput `pulumi:"etcd"` - EtcdSnapshotCreate GetClusterV2RkeConfigEtcdSnapshotCreatePtrInput `pulumi:"etcdSnapshotCreate"` - EtcdSnapshotRestore GetClusterV2RkeConfigEtcdSnapshotRestorePtrInput `pulumi:"etcdSnapshotRestore"` - // Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead - LocalAuthEndpoint GetClusterV2RkeConfigLocalAuthEndpointPtrInput `pulumi:"localAuthEndpoint"` - MachineGlobalConfig pulumi.StringPtrInput `pulumi:"machineGlobalConfig"` - MachinePools GetClusterV2RkeConfigMachinePoolArrayInput `pulumi:"machinePools"` - MachineSelectorConfigs GetClusterV2RkeConfigMachineSelectorConfigArrayInput `pulumi:"machineSelectorConfigs"` - Registries GetClusterV2RkeConfigRegistriesPtrInput `pulumi:"registries"` - RotateCertificates GetClusterV2RkeConfigRotateCertificatesPtrInput `pulumi:"rotateCertificates"` - UpgradeStrategy GetClusterV2RkeConfigUpgradeStrategyPtrInput `pulumi:"upgradeStrategy"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) VmmDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return v.VmmDomain + }).(pulumi.StringPtrOutput) } -func (GetClusterV2RkeConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) VrfName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.VrfName + }).(pulumi.StringPtrOutput) } -func (i GetClusterV2RkeConfigArgs) ToGetClusterV2RkeConfigOutput() GetClusterV2RkeConfigOutput { - return i.ToGetClusterV2RkeConfigOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput) VrfTenant() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider) *string { + if v == nil { + return nil + } + return &v.VrfTenant + }).(pulumi.StringPtrOutput) } -func (i GetClusterV2RkeConfigArgs) ToGetClusterV2RkeConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider struct { + CloudProvider string `pulumi:"cloudProvider"` } -type GetClusterV2RkeConfigOutput struct{ *pulumi.OutputState } +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput interface { + pulumi.Input -func (GetClusterV2RkeConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfig)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput } -func (o GetClusterV2RkeConfigOutput) ToGetClusterV2RkeConfigOutput() GetClusterV2RkeConfigOutput { - return o +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs struct { + CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` } -func (o GetClusterV2RkeConfigOutput) ToGetClusterV2RkeConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigOutput { - return o +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o GetClusterV2RkeConfigOutput) AdditionalManifest() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) *string { return v.AdditionalManifest }).(pulumi.StringPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigOutput) ChartValues() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) *string { return v.ChartValues }).(pulumi.StringPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) } -func (o GetClusterV2RkeConfigOutput) Etcd() GetClusterV2RkeConfigEtcdOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) GetClusterV2RkeConfigEtcd { return v.Etcd }).(GetClusterV2RkeConfigEtcdOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigOutput) EtcdSnapshotCreate() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigEtcdSnapshotCreate { return v.EtcdSnapshotCreate }).(GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx) } -func (o GetClusterV2RkeConfigOutput) EtcdSnapshotRestore() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigEtcdSnapshotRestore { return v.EtcdSnapshotRestore }).(GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) -} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput interface { + pulumi.Input -// Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead -func (o GetClusterV2RkeConfigOutput) LocalAuthEndpoint() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigLocalAuthEndpoint { return v.LocalAuthEndpoint }).(GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput } -func (o GetClusterV2RkeConfigOutput) MachineGlobalConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) *string { return v.MachineGlobalConfig }).(pulumi.StringPtrOutput) -} +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs -func (o GetClusterV2RkeConfigOutput) MachinePools() GetClusterV2RkeConfigMachinePoolArrayOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) []GetClusterV2RkeConfigMachinePool { return v.MachinePools }).(GetClusterV2RkeConfigMachinePoolArrayOutput) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType)(v) } -func (o GetClusterV2RkeConfigOutput) MachineSelectorConfigs() GetClusterV2RkeConfigMachineSelectorConfigArrayOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) []GetClusterV2RkeConfigMachineSelectorConfig { - return v.MachineSelectorConfigs - }).(GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o GetClusterV2RkeConfigOutput) Registries() GetClusterV2RkeConfigRegistriesPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigRegistries { return v.Registries }).(GetClusterV2RkeConfigRegistriesPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigOutput) RotateCertificates() GetClusterV2RkeConfigRotateCertificatesPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigRotateCertificates { return v.RotateCertificates }).(GetClusterV2RkeConfigRotateCertificatesPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) } -func (o GetClusterV2RkeConfigOutput) UpgradeStrategy() GetClusterV2RkeConfigUpgradeStrategyPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigUpgradeStrategy { return v.UpgradeStrategy }).(GetClusterV2RkeConfigUpgradeStrategyPtrOutput) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput struct{ *pulumi.OutputState } -type GetClusterV2RkeConfigEtcd struct { - DisableSnapshots *bool `pulumi:"disableSnapshots"` - S3Config *GetClusterV2RkeConfigEtcdS3Config `pulumi:"s3Config"` - SnapshotRetention *int `pulumi:"snapshotRetention"` - SnapshotScheduleCron *string `pulumi:"snapshotScheduleCron"` +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -// GetClusterV2RkeConfigEtcdInput is an input type that accepts GetClusterV2RkeConfigEtcdArgs and GetClusterV2RkeConfigEtcdOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdInput` via: -// -// GetClusterV2RkeConfigEtcdArgs{...} -type GetClusterV2RkeConfigEtcdInput interface { - pulumi.Input - - ToGetClusterV2RkeConfigEtcdOutput() GetClusterV2RkeConfigEtcdOutput - ToGetClusterV2RkeConfigEtcdOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { + return o } -type GetClusterV2RkeConfigEtcdArgs struct { - DisableSnapshots pulumi.BoolPtrInput `pulumi:"disableSnapshots"` - S3Config GetClusterV2RkeConfigEtcdS3ConfigPtrInput `pulumi:"s3Config"` - SnapshotRetention pulumi.IntPtrInput `pulumi:"snapshotRetention"` - SnapshotScheduleCron pulumi.StringPtrInput `pulumi:"snapshotScheduleCron"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { + return o } -func (GetClusterV2RkeConfigEtcdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigEtcd)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigEtcdArgs) ToGetClusterV2RkeConfigEtcdOutput() GetClusterV2RkeConfigEtcdOutput { - return i.ToGetClusterV2RkeConfigEtcdOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) } -func (i GetClusterV2RkeConfigEtcdArgs) ToGetClusterV2RkeConfigEtcdOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) CloudProvider() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) string { + return v.CloudProvider + }).(pulumi.StringOutput) } -type GetClusterV2RkeConfigEtcdOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigEtcdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigEtcd)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider)(nil)).Elem() } -func (o GetClusterV2RkeConfigEtcdOutput) ToGetClusterV2RkeConfigEtcdOutput() GetClusterV2RkeConfigEtcdOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { return o } -func (o GetClusterV2RkeConfigEtcdOutput) ToGetClusterV2RkeConfigEtcdOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput { return o } -func (o GetClusterV2RkeConfigEtcdOutput) DisableSnapshots() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcd) *bool { return v.DisableSnapshots }).(pulumi.BoolPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdOutput) S3Config() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcd) *GetClusterV2RkeConfigEtcdS3Config { return v.S3Config }).(GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdOutput) SnapshotRetention() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcd) *int { return v.SnapshotRetention }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput) } -func (o GetClusterV2RkeConfigEtcdOutput) SnapshotScheduleCron() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcd) *string { return v.SnapshotScheduleCron }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput) CloudProvider() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider) *string { + if v == nil { + return nil + } + return &v.CloudProvider + }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfigEtcdS3Config struct { - Bucket string `pulumi:"bucket"` - CloudCredentialName *string `pulumi:"cloudCredentialName"` - Endpoint string `pulumi:"endpoint"` - EndpointCa *string `pulumi:"endpointCa"` - Folder *string `pulumi:"folder"` - Region *string `pulumi:"region"` - SkipSslVerify *bool `pulumi:"skipSslVerify"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider struct { + Iface string `pulumi:"iface"` } -// GetClusterV2RkeConfigEtcdS3ConfigInput is an input type that accepts GetClusterV2RkeConfigEtcdS3ConfigArgs and GetClusterV2RkeConfigEtcdS3ConfigOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdS3ConfigInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput` via: // -// GetClusterV2RkeConfigEtcdS3ConfigArgs{...} -type GetClusterV2RkeConfigEtcdS3ConfigInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput interface { pulumi.Input - ToGetClusterV2RkeConfigEtcdS3ConfigOutput() GetClusterV2RkeConfigEtcdS3ConfigOutput - ToGetClusterV2RkeConfigEtcdS3ConfigOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdS3ConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput } -type GetClusterV2RkeConfigEtcdS3ConfigArgs struct { - Bucket pulumi.StringInput `pulumi:"bucket"` - CloudCredentialName pulumi.StringPtrInput `pulumi:"cloudCredentialName"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - EndpointCa pulumi.StringPtrInput `pulumi:"endpointCa"` - Folder pulumi.StringPtrInput `pulumi:"folder"` - Region pulumi.StringPtrInput `pulumi:"region"` - SkipSslVerify pulumi.BoolPtrInput `pulumi:"skipSslVerify"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs struct { + Iface pulumi.StringInput `pulumi:"iface"` } -func (GetClusterV2RkeConfigEtcdS3ConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigEtcdS3Config)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (i GetClusterV2RkeConfigEtcdS3ConfigArgs) ToGetClusterV2RkeConfigEtcdS3ConfigOutput() GetClusterV2RkeConfigEtcdS3ConfigOutput { - return i.ToGetClusterV2RkeConfigEtcdS3ConfigOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigEtcdS3ConfigArgs) ToGetClusterV2RkeConfigEtcdS3ConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdS3ConfigOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) } -func (i GetClusterV2RkeConfigEtcdS3ConfigArgs) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutput() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return i.ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigEtcdS3ConfigArgs) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdS3ConfigOutput).ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx) } -// GetClusterV2RkeConfigEtcdS3ConfigPtrInput is an input type that accepts GetClusterV2RkeConfigEtcdS3ConfigArgs, GetClusterV2RkeConfigEtcdS3ConfigPtr and GetClusterV2RkeConfigEtcdS3ConfigPtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdS3ConfigPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput` via: // -// GetClusterV2RkeConfigEtcdS3ConfigArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs{...} // // or: // // nil -type GetClusterV2RkeConfigEtcdS3ConfigPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput interface { pulumi.Input - ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutput() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput - ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdS3ConfigPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput } -type getClusterV2RkeConfigEtcdS3ConfigPtrType GetClusterV2RkeConfigEtcdS3ConfigArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs -func GetClusterV2RkeConfigEtcdS3ConfigPtr(v *GetClusterV2RkeConfigEtcdS3ConfigArgs) GetClusterV2RkeConfigEtcdS3ConfigPtrInput { - return (*getClusterV2RkeConfigEtcdS3ConfigPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType)(v) } -func (*getClusterV2RkeConfigEtcdS3ConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigEtcdS3Config)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (i *getClusterV2RkeConfigEtcdS3ConfigPtrType) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutput() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return i.ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterV2RkeConfigEtcdS3ConfigPtrType) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) } -type GetClusterV2RkeConfigEtcdS3ConfigOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigEtcdS3ConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigEtcdS3Config)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) ToGetClusterV2RkeConfigEtcdS3ConfigOutput() GetClusterV2RkeConfigEtcdS3ConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { return o } -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) ToGetClusterV2RkeConfigEtcdS3ConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { return o } -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutput() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return o.ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigEtcdS3Config) *GetClusterV2RkeConfigEtcdS3Config { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { return &v - }).(GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) Bucket() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) string { return v.Bucket }).(pulumi.StringOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) CloudCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) *string { return v.CloudCredentialName }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) string { return v.Endpoint }).(pulumi.StringOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) EndpointCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) *string { return v.EndpointCa }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) *string { return v.Folder }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) *string { return v.Region }).(pulumi.StringPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) } -func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) SkipSslVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) *bool { return v.SkipSslVerify }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) Iface() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) string { + return v.Iface + }).(pulumi.StringOutput) } -type GetClusterV2RkeConfigEtcdS3ConfigPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigEtcdS3Config)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider)(nil)).Elem() } -func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutput() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { return o } -func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput { return o } -func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) Elem() GetClusterV2RkeConfigEtcdS3ConfigOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) GetClusterV2RkeConfigEtcdS3Config { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider { if v != nil { return *v } - var ret GetClusterV2RkeConfigEtcdS3Config + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider return ret - }).(GetClusterV2RkeConfigEtcdS3ConfigOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) Bucket() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { - if v == nil { - return nil - } - return &v.Bucket - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) CloudCredentialName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { - if v == nil { - return nil - } - return v.CloudCredentialName - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) EndpointCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { - if v == nil { - return nil - } - return v.EndpointCa - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { - if v == nil { - return nil - } - return v.Folder - }).(pulumi.StringPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput) } -func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider) *string { if v == nil { return nil } - return v.Region + return &v.Iface }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) SkipSslVerify() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *bool { - if v == nil { - return nil - } - return v.SkipSslVerify - }).(pulumi.BoolPtrOutput) -} - -type GetClusterV2RkeConfigEtcdSnapshotCreate struct { - Generation int `pulumi:"generation"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider struct { + Iface string `pulumi:"iface"` } -// GetClusterV2RkeConfigEtcdSnapshotCreateInput is an input type that accepts GetClusterV2RkeConfigEtcdSnapshotCreateArgs and GetClusterV2RkeConfigEtcdSnapshotCreateOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdSnapshotCreateInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput` via: // -// GetClusterV2RkeConfigEtcdSnapshotCreateArgs{...} -type GetClusterV2RkeConfigEtcdSnapshotCreateInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderInput interface { pulumi.Input - ToGetClusterV2RkeConfigEtcdSnapshotCreateOutput() GetClusterV2RkeConfigEtcdSnapshotCreateOutput - ToGetClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdSnapshotCreateOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput } -type GetClusterV2RkeConfigEtcdSnapshotCreateArgs struct { - Generation pulumi.IntInput `pulumi:"generation"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs struct { + Iface pulumi.StringInput `pulumi:"iface"` } -func (GetClusterV2RkeConfigEtcdSnapshotCreateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (i GetClusterV2RkeConfigEtcdSnapshotCreateArgs) ToGetClusterV2RkeConfigEtcdSnapshotCreateOutput() GetClusterV2RkeConfigEtcdSnapshotCreateOutput { - return i.ToGetClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigEtcdSnapshotCreateArgs) ToGetClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotCreateOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) } -func (i GetClusterV2RkeConfigEtcdSnapshotCreateArgs) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return i.ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigEtcdSnapshotCreateArgs) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotCreateOutput).ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx) } -// GetClusterV2RkeConfigEtcdSnapshotCreatePtrInput is an input type that accepts GetClusterV2RkeConfigEtcdSnapshotCreateArgs, GetClusterV2RkeConfigEtcdSnapshotCreatePtr and GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdSnapshotCreatePtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput` via: // -// GetClusterV2RkeConfigEtcdSnapshotCreateArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs{...} // // or: // // nil -type GetClusterV2RkeConfigEtcdSnapshotCreatePtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput interface { pulumi.Input - ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput - ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput } -type getClusterV2RkeConfigEtcdSnapshotCreatePtrType GetClusterV2RkeConfigEtcdSnapshotCreateArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs -func GetClusterV2RkeConfigEtcdSnapshotCreatePtr(v *GetClusterV2RkeConfigEtcdSnapshotCreateArgs) GetClusterV2RkeConfigEtcdSnapshotCreatePtrInput { - return (*getClusterV2RkeConfigEtcdSnapshotCreatePtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType)(v) } -func (*getClusterV2RkeConfigEtcdSnapshotCreatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (i *getClusterV2RkeConfigEtcdSnapshotCreatePtrType) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return i.ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterV2RkeConfigEtcdSnapshotCreatePtrType) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) } -type GetClusterV2RkeConfigEtcdSnapshotCreateOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigEtcdSnapshotCreateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (o GetClusterV2RkeConfigEtcdSnapshotCreateOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreateOutput() GetClusterV2RkeConfigEtcdSnapshotCreateOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { return o } -func (o GetClusterV2RkeConfigEtcdSnapshotCreateOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreateOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { return o } -func (o GetClusterV2RkeConfigEtcdSnapshotCreateOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return o.ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigEtcdSnapshotCreateOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigEtcdSnapshotCreate) *GetClusterV2RkeConfigEtcdSnapshotCreate { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { return &v - }).(GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) } -func (o GetClusterV2RkeConfigEtcdSnapshotCreateOutput) Generation() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdSnapshotCreate) int { return v.Generation }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) Iface() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) string { + return v.Iface + }).(pulumi.StringOutput) } -type GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider)(nil)).Elem() } -func (o GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { return o } -func (o GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput { return o } -func (o GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) Elem() GetClusterV2RkeConfigEtcdSnapshotCreateOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotCreate) GetClusterV2RkeConfigEtcdSnapshotCreate { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider { if v != nil { return *v } - var ret GetClusterV2RkeConfigEtcdSnapshotCreate + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider return ret - }).(GetClusterV2RkeConfigEtcdSnapshotCreateOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderOutput) } -func (o GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) Generation() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotCreate) *int { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderPtrOutput) Iface() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider) *string { if v == nil { return nil } - return &v.Generation - }).(pulumi.IntPtrOutput) + return &v.Iface + }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfigEtcdSnapshotRestore struct { - Generation int `pulumi:"generation"` - // The name of the Cluster v2 (string) - Name string `pulumi:"name"` - RestoreRkeConfig *string `pulumi:"restoreRkeConfig"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Seconds int `pulumi:"seconds"` + Value *string `pulumi:"value"` } -// GetClusterV2RkeConfigEtcdSnapshotRestoreInput is an input type that accepts GetClusterV2RkeConfigEtcdSnapshotRestoreArgs and GetClusterV2RkeConfigEtcdSnapshotRestoreOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdSnapshotRestoreInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput` via: // -// GetClusterV2RkeConfigEtcdSnapshotRestoreArgs{...} -type GetClusterV2RkeConfigEtcdSnapshotRestoreInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput interface { pulumi.Input - ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutput() GetClusterV2RkeConfigEtcdSnapshotRestoreOutput - ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdSnapshotRestoreOutput -} - -type GetClusterV2RkeConfigEtcdSnapshotRestoreArgs struct { - Generation pulumi.IntInput `pulumi:"generation"` - // The name of the Cluster v2 (string) - Name pulumi.StringInput `pulumi:"name"` - RestoreRkeConfig pulumi.StringPtrInput `pulumi:"restoreRkeConfig"` -} - -func (GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput } -func (i GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutput() GetClusterV2RkeConfigEtcdSnapshotRestoreOutput { - return i.ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(context.Background()) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Seconds pulumi.IntInput `pulumi:"seconds"` + Value pulumi.StringPtrInput `pulumi:"value"` } -func (i GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestoreOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() } -func (i GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return i.ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotRestoreOutput).ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) } -// GetClusterV2RkeConfigEtcdSnapshotRestorePtrInput is an input type that accepts GetClusterV2RkeConfigEtcdSnapshotRestoreArgs, GetClusterV2RkeConfigEtcdSnapshotRestorePtr and GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdSnapshotRestorePtrInput` via: -// -// GetClusterV2RkeConfigEtcdSnapshotRestoreArgs{...} -// -// or: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput` via: // -// nil -type GetClusterV2RkeConfigEtcdSnapshotRestorePtrInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs{...} } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayInput interface { pulumi.Input - ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput - ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput } -type getClusterV2RkeConfigEtcdSnapshotRestorePtrType GetClusterV2RkeConfigEtcdSnapshotRestoreArgs - -func GetClusterV2RkeConfigEtcdSnapshotRestorePtr(v *GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) GetClusterV2RkeConfigEtcdSnapshotRestorePtrInput { - return (*getClusterV2RkeConfigEtcdSnapshotRestorePtrType)(v) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationInput -func (*getClusterV2RkeConfigEtcdSnapshotRestorePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() } -func (i *getClusterV2RkeConfigEtcdSnapshotRestorePtrType) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return i.ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(context.Background()) } -func (i *getClusterV2RkeConfigEtcdSnapshotRestorePtrType) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) } -type GetClusterV2RkeConfigEtcdSnapshotRestoreOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() } -func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutput() GetClusterV2RkeConfigEtcdSnapshotRestoreOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { return o } -func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestoreOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { return o } -func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return o.ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { + return v.Effect + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigEtcdSnapshotRestore) *GetClusterV2RkeConfigEtcdSnapshotRestore { - return &v - }).(GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) string { return v.Key }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) Generation() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdSnapshotRestore) int { return v.Generation }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { + return v.Operator + }).(pulumi.StringPtrOutput) } -// The name of the Cluster v2 (string) -func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdSnapshotRestore) string { return v.Name }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Seconds() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) int { + return v.Seconds + }).(pulumi.IntOutput) } -func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) RestoreRkeConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigEtcdSnapshotRestore) *string { return v.RestoreRkeConfig }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration) *string { + return v.Value + }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)(nil)).Elem() } -func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { return o } -func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput { return o } -func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Elem() GetClusterV2RkeConfigEtcdSnapshotRestoreOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotRestore) GetClusterV2RkeConfigEtcdSnapshotRestore { - if v != nil { - return *v - } - var ret GetClusterV2RkeConfigEtcdSnapshotRestore - return ret - }).(GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) -} - -func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Generation() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotRestore) *int { - if v == nil { - return nil - } - return &v.Generation - }).(pulumi.IntPtrOutput) -} - -// The name of the Cluster v2 (string) -func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotRestore) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) RestoreRkeConfig() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotRestore) *string { - if v == nil { - return nil - } - return v.RestoreRkeConfig - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration { + return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration)[vs[1].(int)] + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationOutput) } -type GetClusterV2RkeConfigLocalAuthEndpoint struct { - CaCerts *string `pulumi:"caCerts"` - Enabled *bool `pulumi:"enabled"` - Fqdn *string `pulumi:"fqdn"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider struct { + Password string `pulumi:"password"` } -// GetClusterV2RkeConfigLocalAuthEndpointInput is an input type that accepts GetClusterV2RkeConfigLocalAuthEndpointArgs and GetClusterV2RkeConfigLocalAuthEndpointOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigLocalAuthEndpointInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput` via: // -// GetClusterV2RkeConfigLocalAuthEndpointArgs{...} -type GetClusterV2RkeConfigLocalAuthEndpointInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderInput interface { pulumi.Input - ToGetClusterV2RkeConfigLocalAuthEndpointOutput() GetClusterV2RkeConfigLocalAuthEndpointOutput - ToGetClusterV2RkeConfigLocalAuthEndpointOutputWithContext(context.Context) GetClusterV2RkeConfigLocalAuthEndpointOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput } -type GetClusterV2RkeConfigLocalAuthEndpointArgs struct { - CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs struct { + Password pulumi.StringInput `pulumi:"password"` } -func (GetClusterV2RkeConfigLocalAuthEndpointArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (i GetClusterV2RkeConfigLocalAuthEndpointArgs) ToGetClusterV2RkeConfigLocalAuthEndpointOutput() GetClusterV2RkeConfigLocalAuthEndpointOutput { - return i.ToGetClusterV2RkeConfigLocalAuthEndpointOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigLocalAuthEndpointArgs) ToGetClusterV2RkeConfigLocalAuthEndpointOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigLocalAuthEndpointOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) } -func (i GetClusterV2RkeConfigLocalAuthEndpointArgs) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutput() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return i.ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigLocalAuthEndpointArgs) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigLocalAuthEndpointOutput).ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx) } -// GetClusterV2RkeConfigLocalAuthEndpointPtrInput is an input type that accepts GetClusterV2RkeConfigLocalAuthEndpointArgs, GetClusterV2RkeConfigLocalAuthEndpointPtr and GetClusterV2RkeConfigLocalAuthEndpointPtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigLocalAuthEndpointPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput` via: // -// GetClusterV2RkeConfigLocalAuthEndpointArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs{...} // // or: // // nil -type GetClusterV2RkeConfigLocalAuthEndpointPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput interface { pulumi.Input - ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutput() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput - ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Context) GetClusterV2RkeConfigLocalAuthEndpointPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput } -type getClusterV2RkeConfigLocalAuthEndpointPtrType GetClusterV2RkeConfigLocalAuthEndpointArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs -func GetClusterV2RkeConfigLocalAuthEndpointPtr(v *GetClusterV2RkeConfigLocalAuthEndpointArgs) GetClusterV2RkeConfigLocalAuthEndpointPtrInput { - return (*getClusterV2RkeConfigLocalAuthEndpointPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType)(v) } -func (*getClusterV2RkeConfigLocalAuthEndpointPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (i *getClusterV2RkeConfigLocalAuthEndpointPtrType) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutput() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return i.ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (i *getClusterV2RkeConfigLocalAuthEndpointPtrType) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) } -type GetClusterV2RkeConfigLocalAuthEndpointOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigLocalAuthEndpointOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) ToGetClusterV2RkeConfigLocalAuthEndpointOutput() GetClusterV2RkeConfigLocalAuthEndpointOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { return o } -func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) ToGetClusterV2RkeConfigLocalAuthEndpointOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { return o } -func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutput() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return o.ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigLocalAuthEndpoint) *GetClusterV2RkeConfigLocalAuthEndpoint { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { return &v - }).(GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) -} - -func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigLocalAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigLocalAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) } -func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigLocalAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) string { + return v.Password + }).(pulumi.StringOutput) } -type GetClusterV2RkeConfigLocalAuthEndpointPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider)(nil)).Elem() } -func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutput() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { return o } -func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput { return o } -func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) Elem() GetClusterV2RkeConfigLocalAuthEndpointOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigLocalAuthEndpoint) GetClusterV2RkeConfigLocalAuthEndpoint { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider { if v != nil { return *v } - var ret GetClusterV2RkeConfigLocalAuthEndpoint + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider return ret - }).(GetClusterV2RkeConfigLocalAuthEndpointOutput) -} - -func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) CaCerts() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigLocalAuthEndpoint) *string { - if v == nil { - return nil - } - return v.CaCerts - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigLocalAuthEndpoint) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderOutput) } -func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigLocalAuthEndpoint) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderPtrOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider) *string { if v == nil { return nil } - return v.Fqdn + return &v.Password }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfigMachinePool struct { - Annotations map[string]interface{} `pulumi:"annotations"` - // (Computed) Cluster V2 cloud credential secret name (string) - CloudCredentialSecretName string `pulumi:"cloudCredentialSecretName"` - ControlPlaneRole *bool `pulumi:"controlPlaneRole"` - DrainBeforeDelete *bool `pulumi:"drainBeforeDelete"` - EtcdRole *bool `pulumi:"etcdRole"` - Labels map[string]interface{} `pulumi:"labels"` - MachineConfig GetClusterV2RkeConfigMachinePoolMachineConfig `pulumi:"machineConfig"` - MaxUnhealthy *string `pulumi:"maxUnhealthy"` - // The name of the Cluster v2 (string) - Name string `pulumi:"name"` - NodeDrainTimeout *int `pulumi:"nodeDrainTimeout"` - NodeStartupTimeoutSeconds *int `pulumi:"nodeStartupTimeoutSeconds"` - Paused *bool `pulumi:"paused"` - Quantity *int `pulumi:"quantity"` - RollingUpdate *GetClusterV2RkeConfigMachinePoolRollingUpdate `pulumi:"rollingUpdate"` - Taints []GetClusterV2RkeConfigMachinePoolTaint `pulumi:"taints"` - UnhealthyNodeTimeoutSeconds *int `pulumi:"unhealthyNodeTimeoutSeconds"` - UnhealthyRange *string `pulumi:"unhealthyRange"` - WorkerRole *bool `pulumi:"workerRole"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode struct { + Address string `pulumi:"address"` + DockerSocket string `pulumi:"dockerSocket"` + HostnameOverride *string `pulumi:"hostnameOverride"` + InternalAddress *string `pulumi:"internalAddress"` + // (Computed) Labels for the cluster template (map) + Labels map[string]interface{} `pulumi:"labels"` + NodeId *string `pulumi:"nodeId"` + Port *string `pulumi:"port"` + Roles []string `pulumi:"roles"` + SshAgentAuth *bool `pulumi:"sshAgentAuth"` + SshKey string `pulumi:"sshKey"` + SshKeyPath string `pulumi:"sshKeyPath"` + User string `pulumi:"user"` } -// GetClusterV2RkeConfigMachinePoolInput is an input type that accepts GetClusterV2RkeConfigMachinePoolArgs and GetClusterV2RkeConfigMachinePoolOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput` via: // -// GetClusterV2RkeConfigMachinePoolArgs{...} -type GetClusterV2RkeConfigMachinePoolInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput interface { pulumi.Input - ToGetClusterV2RkeConfigMachinePoolOutput() GetClusterV2RkeConfigMachinePoolOutput - ToGetClusterV2RkeConfigMachinePoolOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput } -type GetClusterV2RkeConfigMachinePoolArgs struct { - Annotations pulumi.MapInput `pulumi:"annotations"` - // (Computed) Cluster V2 cloud credential secret name (string) - CloudCredentialSecretName pulumi.StringInput `pulumi:"cloudCredentialSecretName"` - ControlPlaneRole pulumi.BoolPtrInput `pulumi:"controlPlaneRole"` - DrainBeforeDelete pulumi.BoolPtrInput `pulumi:"drainBeforeDelete"` - EtcdRole pulumi.BoolPtrInput `pulumi:"etcdRole"` - Labels pulumi.MapInput `pulumi:"labels"` - MachineConfig GetClusterV2RkeConfigMachinePoolMachineConfigInput `pulumi:"machineConfig"` - MaxUnhealthy pulumi.StringPtrInput `pulumi:"maxUnhealthy"` - // The name of the Cluster v2 (string) - Name pulumi.StringInput `pulumi:"name"` - NodeDrainTimeout pulumi.IntPtrInput `pulumi:"nodeDrainTimeout"` - NodeStartupTimeoutSeconds pulumi.IntPtrInput `pulumi:"nodeStartupTimeoutSeconds"` - Paused pulumi.BoolPtrInput `pulumi:"paused"` - Quantity pulumi.IntPtrInput `pulumi:"quantity"` - RollingUpdate GetClusterV2RkeConfigMachinePoolRollingUpdatePtrInput `pulumi:"rollingUpdate"` - Taints GetClusterV2RkeConfigMachinePoolTaintArrayInput `pulumi:"taints"` - UnhealthyNodeTimeoutSeconds pulumi.IntPtrInput `pulumi:"unhealthyNodeTimeoutSeconds"` - UnhealthyRange pulumi.StringPtrInput `pulumi:"unhealthyRange"` - WorkerRole pulumi.BoolPtrInput `pulumi:"workerRole"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs struct { + Address pulumi.StringInput `pulumi:"address"` + DockerSocket pulumi.StringInput `pulumi:"dockerSocket"` + HostnameOverride pulumi.StringPtrInput `pulumi:"hostnameOverride"` + InternalAddress pulumi.StringPtrInput `pulumi:"internalAddress"` + // (Computed) Labels for the cluster template (map) + Labels pulumi.MapInput `pulumi:"labels"` + NodeId pulumi.StringPtrInput `pulumi:"nodeId"` + Port pulumi.StringPtrInput `pulumi:"port"` + Roles pulumi.StringArrayInput `pulumi:"roles"` + SshAgentAuth pulumi.BoolPtrInput `pulumi:"sshAgentAuth"` + SshKey pulumi.StringInput `pulumi:"sshKey"` + SshKeyPath pulumi.StringInput `pulumi:"sshKeyPath"` + User pulumi.StringInput `pulumi:"user"` } -func (GetClusterV2RkeConfigMachinePoolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachinePool)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() } -func (i GetClusterV2RkeConfigMachinePoolArgs) ToGetClusterV2RkeConfigMachinePoolOutput() GetClusterV2RkeConfigMachinePoolOutput { - return i.ToGetClusterV2RkeConfigMachinePoolOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigMachinePoolArgs) ToGetClusterV2RkeConfigMachinePoolOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) } -// GetClusterV2RkeConfigMachinePoolArrayInput is an input type that accepts GetClusterV2RkeConfigMachinePoolArray and GetClusterV2RkeConfigMachinePoolArrayOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolArrayInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput` via: // -// GetClusterV2RkeConfigMachinePoolArray{ GetClusterV2RkeConfigMachinePoolArgs{...} } -type GetClusterV2RkeConfigMachinePoolArrayInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs{...} } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayInput interface { pulumi.Input - - ToGetClusterV2RkeConfigMachinePoolArrayOutput() GetClusterV2RkeConfigMachinePoolArrayOutput - ToGetClusterV2RkeConfigMachinePoolArrayOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolArrayOutput + + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput } -type GetClusterV2RkeConfigMachinePoolArray []GetClusterV2RkeConfigMachinePoolInput +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeInput -func (GetClusterV2RkeConfigMachinePoolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigMachinePool)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() } -func (i GetClusterV2RkeConfigMachinePoolArray) ToGetClusterV2RkeConfigMachinePoolArrayOutput() GetClusterV2RkeConfigMachinePoolArrayOutput { - return i.ToGetClusterV2RkeConfigMachinePoolArrayOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigMachinePoolArray) ToGetClusterV2RkeConfigMachinePoolArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) } -type GetClusterV2RkeConfigMachinePoolOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigMachinePoolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachinePool)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() } -func (o GetClusterV2RkeConfigMachinePoolOutput) ToGetClusterV2RkeConfigMachinePoolOutput() GetClusterV2RkeConfigMachinePoolOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { return o } -func (o GetClusterV2RkeConfigMachinePoolOutput) ToGetClusterV2RkeConfigMachinePoolOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { return o } -func (o GetClusterV2RkeConfigMachinePoolOutput) Annotations() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.Address }).(pulumi.StringOutput) } -// (Computed) Cluster V2 cloud credential secret name (string) -func (o GetClusterV2RkeConfigMachinePoolOutput) CloudCredentialSecretName() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) string { return v.CloudCredentialSecretName }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) DockerSocket() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.DockerSocket }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) ControlPlaneRole() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *bool { return v.ControlPlaneRole }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) HostnameOverride() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { + return v.HostnameOverride + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) DrainBeforeDelete() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *bool { return v.DrainBeforeDelete }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) InternalAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.InternalAddress }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) EtcdRole() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *bool { return v.EtcdRole }).(pulumi.BoolPtrOutput) +// (Computed) Labels for the cluster template (map) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) map[string]interface{} { + return v.Labels + }).(pulumi.MapOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) Labels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) NodeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.NodeId }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) MachineConfig() GetClusterV2RkeConfigMachinePoolMachineConfigOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) GetClusterV2RkeConfigMachinePoolMachineConfig { - return v.MachineConfig - }).(GetClusterV2RkeConfigMachinePoolMachineConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Port() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *string { return v.Port }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) MaxUnhealthy() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *string { return v.MaxUnhealthy }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) []string { return v.Roles }).(pulumi.StringArrayOutput) } -// The name of the Cluster v2 (string) -func (o GetClusterV2RkeConfigMachinePoolOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) string { return v.Name }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshAgentAuth() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) *bool { return v.SshAgentAuth }).(pulumi.BoolPtrOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) NodeDrainTimeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *int { return v.NodeDrainTimeout }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshKey() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.SshKey }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) NodeStartupTimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *int { return v.NodeStartupTimeoutSeconds }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) SshKeyPath() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.SshKeyPath }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) Paused() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *bool { return v.Paused }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode) string { return v.User }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) Quantity() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *int { return v.Quantity }).(pulumi.IntPtrOutput) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput struct{ *pulumi.OutputState } -func (o GetClusterV2RkeConfigMachinePoolOutput) RollingUpdate() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *GetClusterV2RkeConfigMachinePoolRollingUpdate { - return v.RollingUpdate - }).(GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)(nil)).Elem() } -func (o GetClusterV2RkeConfigMachinePoolOutput) Taints() GetClusterV2RkeConfigMachinePoolTaintArrayOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) []GetClusterV2RkeConfigMachinePoolTaint { return v.Taints }).(GetClusterV2RkeConfigMachinePoolTaintArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { + return o } -func (o GetClusterV2RkeConfigMachinePoolOutput) UnhealthyNodeTimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *int { return v.UnhealthyNodeTimeoutSeconds }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput { + return o } -func (o GetClusterV2RkeConfigMachinePoolOutput) UnhealthyRange() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *string { return v.UnhealthyRange }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode { + return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNode)[vs[1].(int)] + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeOutput) } -func (o GetClusterV2RkeConfigMachinePoolOutput) WorkerRole() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *bool { return v.WorkerRole }).(pulumi.BoolPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry struct { + EcrCredentialPlugin *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin `pulumi:"ecrCredentialPlugin"` + IsDefault *bool `pulumi:"isDefault"` + Password *string `pulumi:"password"` + Url string `pulumi:"url"` + User *string `pulumi:"user"` } -type GetClusterV2RkeConfigMachinePoolArrayOutput struct{ *pulumi.OutputState } +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput interface { + pulumi.Input -func (GetClusterV2RkeConfigMachinePoolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigMachinePool)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput } -func (o GetClusterV2RkeConfigMachinePoolArrayOutput) ToGetClusterV2RkeConfigMachinePoolArrayOutput() GetClusterV2RkeConfigMachinePoolArrayOutput { - return o +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs struct { + EcrCredentialPlugin GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput `pulumi:"ecrCredentialPlugin"` + IsDefault pulumi.BoolPtrInput `pulumi:"isDefault"` + Password pulumi.StringPtrInput `pulumi:"password"` + Url pulumi.StringInput `pulumi:"url"` + User pulumi.StringPtrInput `pulumi:"user"` } -func (o GetClusterV2RkeConfigMachinePoolArrayOutput) ToGetClusterV2RkeConfigMachinePoolArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolArrayOutput { - return o +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() } -func (o GetClusterV2RkeConfigMachinePoolArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigMachinePoolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigMachinePool { - return vs[0].([]GetClusterV2RkeConfigMachinePool)[vs[1].(int)] - }).(GetClusterV2RkeConfigMachinePoolOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(context.Background()) } -type GetClusterV2RkeConfigMachinePoolMachineConfig struct { - Kind string `pulumi:"kind"` - // The name of the Cluster v2 (string) - Name string `pulumi:"name"` +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) } -// GetClusterV2RkeConfigMachinePoolMachineConfigInput is an input type that accepts GetClusterV2RkeConfigMachinePoolMachineConfigArgs and GetClusterV2RkeConfigMachinePoolMachineConfigOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolMachineConfigInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput` via: // -// GetClusterV2RkeConfigMachinePoolMachineConfigArgs{...} -type GetClusterV2RkeConfigMachinePoolMachineConfigInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray{ GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs{...} } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayInput interface { pulumi.Input - ToGetClusterV2RkeConfigMachinePoolMachineConfigOutput() GetClusterV2RkeConfigMachinePoolMachineConfigOutput - ToGetClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolMachineConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput } -type GetClusterV2RkeConfigMachinePoolMachineConfigArgs struct { - Kind pulumi.StringInput `pulumi:"kind"` - // The name of the Cluster v2 (string) - Name pulumi.StringInput `pulumi:"name"` -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray []GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryInput -func (GetClusterV2RkeConfigMachinePoolMachineConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolMachineConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() } -func (i GetClusterV2RkeConfigMachinePoolMachineConfigArgs) ToGetClusterV2RkeConfigMachinePoolMachineConfigOutput() GetClusterV2RkeConfigMachinePoolMachineConfigOutput { - return i.ToGetClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigMachinePoolMachineConfigArgs) ToGetClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolMachineConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolMachineConfigOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArray) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) } -type GetClusterV2RkeConfigMachinePoolMachineConfigOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigMachinePoolMachineConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolMachineConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() } -func (o GetClusterV2RkeConfigMachinePoolMachineConfigOutput) ToGetClusterV2RkeConfigMachinePoolMachineConfigOutput() GetClusterV2RkeConfigMachinePoolMachineConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { return o } -func (o GetClusterV2RkeConfigMachinePoolMachineConfigOutput) ToGetClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolMachineConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { return o } -func (o GetClusterV2RkeConfigMachinePoolMachineConfigOutput) Kind() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolMachineConfig) string { return v.Kind }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) EcrCredentialPlugin() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { + return v.EcrCredentialPlugin + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -// The name of the Cluster v2 (string) -func (o GetClusterV2RkeConfigMachinePoolMachineConfigOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolMachineConfig) string { return v.Name }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) IsDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *bool { + return v.IsDefault + }).(pulumi.BoolPtrOutput) } -type GetClusterV2RkeConfigMachinePoolRollingUpdate struct { - MaxSurge *string `pulumi:"maxSurge"` - MaxUnavailable *string `pulumi:"maxUnavailable"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *string { + return v.Password + }).(pulumi.StringPtrOutput) } -// GetClusterV2RkeConfigMachinePoolRollingUpdateInput is an input type that accepts GetClusterV2RkeConfigMachinePoolRollingUpdateArgs and GetClusterV2RkeConfigMachinePoolRollingUpdateOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolRollingUpdateInput` via: +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) string { return v.Url }).(pulumi.StringOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry) *string { return v.User }).(pulumi.StringPtrOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)(nil)).Elem() +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { + return o +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput { + return o +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry { + return vs[0].([]GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistry)[vs[1].(int)] + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin struct { + AwsAccessKeyId *string `pulumi:"awsAccessKeyId"` + AwsSecretAccessKey *string `pulumi:"awsSecretAccessKey"` + AwsSessionToken *string `pulumi:"awsSessionToken"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput` via: // -// GetClusterV2RkeConfigMachinePoolRollingUpdateArgs{...} -type GetClusterV2RkeConfigMachinePoolRollingUpdateInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginInput interface { pulumi.Input - ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutput() GetClusterV2RkeConfigMachinePoolRollingUpdateOutput - ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdateOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput } -type GetClusterV2RkeConfigMachinePoolRollingUpdateArgs struct { - MaxSurge pulumi.StringPtrInput `pulumi:"maxSurge"` - MaxUnavailable pulumi.StringPtrInput `pulumi:"maxUnavailable"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs struct { + AwsAccessKeyId pulumi.StringPtrInput `pulumi:"awsAccessKeyId"` + AwsSecretAccessKey pulumi.StringPtrInput `pulumi:"awsSecretAccessKey"` + AwsSessionToken pulumi.StringPtrInput `pulumi:"awsSessionToken"` } -func (GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (i GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutput() GetClusterV2RkeConfigMachinePoolRollingUpdateOutput { - return i.ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) } -func (i GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return i.ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolRollingUpdateOutput).ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx) } -// GetClusterV2RkeConfigMachinePoolRollingUpdatePtrInput is an input type that accepts GetClusterV2RkeConfigMachinePoolRollingUpdateArgs, GetClusterV2RkeConfigMachinePoolRollingUpdatePtr and GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolRollingUpdatePtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput` via: // -// GetClusterV2RkeConfigMachinePoolRollingUpdateArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs{...} // // or: // // nil -type GetClusterV2RkeConfigMachinePoolRollingUpdatePtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput interface { pulumi.Input - ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput - ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput } -type getClusterV2RkeConfigMachinePoolRollingUpdatePtrType GetClusterV2RkeConfigMachinePoolRollingUpdateArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs -func GetClusterV2RkeConfigMachinePoolRollingUpdatePtr(v *GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrInput { - return (*getClusterV2RkeConfigMachinePoolRollingUpdatePtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType)(v) } -func (*getClusterV2RkeConfigMachinePoolRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (i *getClusterV2RkeConfigMachinePoolRollingUpdatePtrType) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return i.ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (i *getClusterV2RkeConfigMachinePoolRollingUpdatePtrType) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -type GetClusterV2RkeConfigMachinePoolRollingUpdateOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutput() GetClusterV2RkeConfigMachinePoolRollingUpdateOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { return o } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdateOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { return o } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return o.ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigMachinePoolRollingUpdate) *GetClusterV2RkeConfigMachinePoolRollingUpdate { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { return &v - }).(GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) MaxSurge() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolRollingUpdate) *string { return v.MaxSurge }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { + return v.AwsAccessKeyId + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) MaxUnavailable() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolRollingUpdate) *string { return v.MaxUnavailable }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { + return v.AwsSecretAccessKey + }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) AwsSessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { + return v.AwsSessionToken + }).(pulumi.StringPtrOutput) +} -func (GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin)(nil)).Elem() } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { return o } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput { return o } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) Elem() GetClusterV2RkeConfigMachinePoolRollingUpdateOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigMachinePoolRollingUpdate) GetClusterV2RkeConfigMachinePoolRollingUpdate { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin { if v != nil { return *v } - var ret GetClusterV2RkeConfigMachinePoolRollingUpdate + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin return ret - }).(GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginOutput) } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) MaxSurge() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigMachinePoolRollingUpdate) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsAccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { if v == nil { return nil } - return v.MaxSurge + return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) MaxUnavailable() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigMachinePoolRollingUpdate) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { if v == nil { return nil } - return v.MaxUnavailable + return v.AwsSecretAccessKey }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfigMachinePoolTaint struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - Value string `pulumi:"value"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPluginPtrOutput) AwsSessionToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryEcrCredentialPlugin) *string { + if v == nil { + return nil + } + return v.AwsSessionToken + }).(pulumi.StringPtrOutput) } -// GetClusterV2RkeConfigMachinePoolTaintInput is an input type that accepts GetClusterV2RkeConfigMachinePoolTaintArgs and GetClusterV2RkeConfigMachinePoolTaintOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolTaintInput` via: +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices struct { + Etcd GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd `pulumi:"etcd"` + KubeApi GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi `pulumi:"kubeApi"` + KubeController GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController `pulumi:"kubeController"` + Kubelet GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet `pulumi:"kubelet"` + Kubeproxy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy `pulumi:"kubeproxy"` + Scheduler GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler `pulumi:"scheduler"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput` via: // -// GetClusterV2RkeConfigMachinePoolTaintArgs{...} -type GetClusterV2RkeConfigMachinePoolTaintInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesInput interface { pulumi.Input - ToGetClusterV2RkeConfigMachinePoolTaintOutput() GetClusterV2RkeConfigMachinePoolTaintOutput - ToGetClusterV2RkeConfigMachinePoolTaintOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolTaintOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput } -type GetClusterV2RkeConfigMachinePoolTaintArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - Value pulumi.StringInput `pulumi:"value"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs struct { + Etcd GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput `pulumi:"etcd"` + KubeApi GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput `pulumi:"kubeApi"` + KubeController GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput `pulumi:"kubeController"` + Kubelet GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput `pulumi:"kubelet"` + Kubeproxy GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput `pulumi:"kubeproxy"` + Scheduler GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput `pulumi:"scheduler"` } -func (GetClusterV2RkeConfigMachinePoolTaintArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() } -func (i GetClusterV2RkeConfigMachinePoolTaintArgs) ToGetClusterV2RkeConfigMachinePoolTaintOutput() GetClusterV2RkeConfigMachinePoolTaintOutput { - return i.ToGetClusterV2RkeConfigMachinePoolTaintOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigMachinePoolTaintArgs) ToGetClusterV2RkeConfigMachinePoolTaintOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolTaintOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolTaintOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) } -// GetClusterV2RkeConfigMachinePoolTaintArrayInput is an input type that accepts GetClusterV2RkeConfigMachinePoolTaintArray and GetClusterV2RkeConfigMachinePoolTaintArrayOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolTaintArrayInput` via: +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices)(nil)).Elem() +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { + return o +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput { + return o +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Etcd() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd { + return v.Etcd + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) KubeApi() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi { + return v.KubeApi + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) KubeController() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController { + return v.KubeController + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Kubelet() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet { + return v.Kubelet + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Kubeproxy() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy { + return v.Kubeproxy + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesOutput) Scheduler() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServices) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler { + return v.Scheduler + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd struct { + BackupConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig `pulumi:"backupConfig"` + CaCert string `pulumi:"caCert"` + Cert string `pulumi:"cert"` + Creation string `pulumi:"creation"` + ExternalUrls []string `pulumi:"externalUrls"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Gid *int `pulumi:"gid"` + Image string `pulumi:"image"` + Key string `pulumi:"key"` + Path string `pulumi:"path"` + Retention string `pulumi:"retention"` + Snapshot bool `pulumi:"snapshot"` + Uid *int `pulumi:"uid"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput` via: // -// GetClusterV2RkeConfigMachinePoolTaintArray{ GetClusterV2RkeConfigMachinePoolTaintArgs{...} } -type GetClusterV2RkeConfigMachinePoolTaintArrayInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdInput interface { pulumi.Input - ToGetClusterV2RkeConfigMachinePoolTaintArrayOutput() GetClusterV2RkeConfigMachinePoolTaintArrayOutput - ToGetClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolTaintArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput } -type GetClusterV2RkeConfigMachinePoolTaintArray []GetClusterV2RkeConfigMachinePoolTaintInput +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs struct { + BackupConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput `pulumi:"backupConfig"` + CaCert pulumi.StringInput `pulumi:"caCert"` + Cert pulumi.StringInput `pulumi:"cert"` + Creation pulumi.StringInput `pulumi:"creation"` + ExternalUrls pulumi.StringArrayInput `pulumi:"externalUrls"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Gid pulumi.IntPtrInput `pulumi:"gid"` + Image pulumi.StringInput `pulumi:"image"` + Key pulumi.StringInput `pulumi:"key"` + Path pulumi.StringInput `pulumi:"path"` + Retention pulumi.StringInput `pulumi:"retention"` + Snapshot pulumi.BoolInput `pulumi:"snapshot"` + Uid pulumi.IntPtrInput `pulumi:"uid"` +} -func (GetClusterV2RkeConfigMachinePoolTaintArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() } -func (i GetClusterV2RkeConfigMachinePoolTaintArray) ToGetClusterV2RkeConfigMachinePoolTaintArrayOutput() GetClusterV2RkeConfigMachinePoolTaintArrayOutput { - return i.ToGetClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigMachinePoolTaintArray) ToGetClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolTaintArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolTaintArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) } -type GetClusterV2RkeConfigMachinePoolTaintOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigMachinePoolTaintOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd)(nil)).Elem() } -func (o GetClusterV2RkeConfigMachinePoolTaintOutput) ToGetClusterV2RkeConfigMachinePoolTaintOutput() GetClusterV2RkeConfigMachinePoolTaintOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { return o } -func (o GetClusterV2RkeConfigMachinePoolTaintOutput) ToGetClusterV2RkeConfigMachinePoolTaintOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolTaintOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput { return o } -func (o GetClusterV2RkeConfigMachinePoolTaintOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) BackupConfig() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig { + return v.BackupConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) } -func (o GetClusterV2RkeConfigMachinePoolTaintOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolTaint) string { return v.Key }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) CaCert() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.CaCert }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigMachinePoolTaintOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolTaint) string { return v.Value }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Cert() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.Cert }).(pulumi.StringOutput) } -type GetClusterV2RkeConfigMachinePoolTaintArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Creation() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.Creation }).(pulumi.StringOutput) +} -func (GetClusterV2RkeConfigMachinePoolTaintArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExternalUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { + return v.ExternalUrls + }).(pulumi.StringArrayOutput) } -func (o GetClusterV2RkeConfigMachinePoolTaintArrayOutput) ToGetClusterV2RkeConfigMachinePoolTaintArrayOutput() GetClusterV2RkeConfigMachinePoolTaintArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) } -func (o GetClusterV2RkeConfigMachinePoolTaintArrayOutput) ToGetClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolTaintArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -func (o GetClusterV2RkeConfigMachinePoolTaintArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigMachinePoolTaintOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigMachinePoolTaint { - return vs[0].([]GetClusterV2RkeConfigMachinePoolTaint)[vs[1].(int)] - }).(GetClusterV2RkeConfigMachinePoolTaintOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) []string { + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -type GetClusterV2RkeConfigMachineSelectorConfig struct { - Config map[string]interface{} `pulumi:"config"` - MachineLabelSelector *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector `pulumi:"machineLabelSelector"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Gid() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { return v.Gid }).(pulumi.IntPtrOutput) } -// GetClusterV2RkeConfigMachineSelectorConfigInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigArgs and GetClusterV2RkeConfigMachineSelectorConfigOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigInput` via: -// -// GetClusterV2RkeConfigMachineSelectorConfigArgs{...} -type GetClusterV2RkeConfigMachineSelectorConfigInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.Image }).(pulumi.StringOutput) +} - ToGetClusterV2RkeConfigMachineSelectorConfigOutput() GetClusterV2RkeConfigMachineSelectorConfigOutput - ToGetClusterV2RkeConfigMachineSelectorConfigOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.Key }).(pulumi.StringOutput) } -type GetClusterV2RkeConfigMachineSelectorConfigArgs struct { - Config pulumi.MapInput `pulumi:"config"` - MachineLabelSelector GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput `pulumi:"machineLabelSelector"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { return v.Path }).(pulumi.StringOutput) } -func (GetClusterV2RkeConfigMachineSelectorConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Retention() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) string { + return v.Retention + }).(pulumi.StringOutput) } -func (i GetClusterV2RkeConfigMachineSelectorConfigArgs) ToGetClusterV2RkeConfigMachineSelectorConfigOutput() GetClusterV2RkeConfigMachineSelectorConfigOutput { - return i.ToGetClusterV2RkeConfigMachineSelectorConfigOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Snapshot() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) bool { return v.Snapshot }).(pulumi.BoolOutput) } -func (i GetClusterV2RkeConfigMachineSelectorConfigArgs) ToGetClusterV2RkeConfigMachineSelectorConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdOutput) Uid() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcd) *int { return v.Uid }).(pulumi.IntPtrOutput) } -// GetClusterV2RkeConfigMachineSelectorConfigArrayInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigArray and GetClusterV2RkeConfigMachineSelectorConfigArrayOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigArrayInput` via: +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig struct { + Enabled *bool `pulumi:"enabled"` + IntervalHours *int `pulumi:"intervalHours"` + Retention *int `pulumi:"retention"` + S3BackupConfig *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` + SafeTimestamp *bool `pulumi:"safeTimestamp"` + Timeout int `pulumi:"timeout"` +} + +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput` via: // -// GetClusterV2RkeConfigMachineSelectorConfigArray{ GetClusterV2RkeConfigMachineSelectorConfigArgs{...} } -type GetClusterV2RkeConfigMachineSelectorConfigArrayInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigInput interface { pulumi.Input - ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigArrayOutput - ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput } -type GetClusterV2RkeConfigMachineSelectorConfigArray []GetClusterV2RkeConfigMachineSelectorConfigInput +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` + Retention pulumi.IntPtrInput `pulumi:"retention"` + S3BackupConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` + SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` + Timeout pulumi.IntInput `pulumi:"timeout"` +} -func (GetClusterV2RkeConfigMachineSelectorConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() } -func (i GetClusterV2RkeConfigMachineSelectorConfigArray) ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigArrayOutput { - return i.ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigMachineSelectorConfigArray) ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) } -type GetClusterV2RkeConfigMachineSelectorConfigOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigMachineSelectorConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig)(nil)).Elem() } -func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) ToGetClusterV2RkeConfigMachineSelectorConfigOutput() GetClusterV2RkeConfigMachineSelectorConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { return o } -func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) ToGetClusterV2RkeConfigMachineSelectorConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput { return o } -func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) Config() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfig) map[string]interface{} { return v.Config }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) MachineLabelSelector() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfig) *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { - return v.MachineLabelSelector - }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { + return v.IntervalHours + }).(pulumi.IntPtrOutput) } -type GetClusterV2RkeConfigMachineSelectorConfigArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *int { + return v.Retention + }).(pulumi.IntPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) S3BackupConfig() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { + return v.S3BackupConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) *bool { + return v.SafeTimestamp + }).(pulumi.BoolPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigMachineSelectorConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigMachineSelectorConfig { - return vs[0].([]GetClusterV2RkeConfigMachineSelectorConfig)[vs[1].(int)] - }).(GetClusterV2RkeConfigMachineSelectorConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigOutput) Timeout() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfig) int { + return v.Timeout + }).(pulumi.IntOutput) } -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector struct { - MatchExpressions []GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression `pulumi:"matchExpressions"` - MatchLabels map[string]interface{} `pulumi:"matchLabels"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig struct { + AccessKey *string `pulumi:"accessKey"` + BucketName string `pulumi:"bucketName"` + CustomCa *string `pulumi:"customCa"` + Endpoint string `pulumi:"endpoint"` + Folder *string `pulumi:"folder"` + Region *string `pulumi:"region"` + SecretKey *string `pulumi:"secretKey"` } -// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs and GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput` via: // -// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs{...} -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigInput interface { pulumi.Input - ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput - ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput } -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs struct { - MatchExpressions GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput `pulumi:"matchExpressions"` - MatchLabels pulumi.MapInput `pulumi:"matchLabels"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs struct { + AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` + BucketName pulumi.StringInput `pulumi:"bucketName"` + CustomCa pulumi.StringPtrInput `pulumi:"customCa"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + Folder pulumi.StringPtrInput `pulumi:"folder"` + Region pulumi.StringPtrInput `pulumi:"region"` + SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` } -func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { - return i.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) } -func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return i.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput).ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx) } -// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs, GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtr and GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput` via: // -// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs{...} // // or: // // nil -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput interface { pulumi.Input - ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput - ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput } -type getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs -func GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtr(v *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput { - return (*getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType)(v) } -func (*getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (i *getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return i.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (i *getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { return o } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { return o } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return o.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { return &v - }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) MatchExpressions() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) []GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { - return v.MatchExpressions - }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + return v.AccessKey + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) MatchLabels() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) map[string]interface{} { - return v.MatchLabels - }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { + return v.BucketName + }).(pulumi.StringOutput) } -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + return v.CustomCa + }).(pulumi.StringPtrOutput) +} -func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) string { + return v.Endpoint + }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + return v.Folder + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + return v.Region + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + return v.SecretKey + }).(pulumi.StringPtrOutput) +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig)(nil)).Elem() +} + +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { return o } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput { return o } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) Elem() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig { if v != nil { return *v } - var ret GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig return ret - }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) MatchExpressions() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) []GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.MatchExpressions - }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) + return v.AccessKey + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) MatchLabels() pulumi.MapOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) map[string]interface{} { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { if v == nil { return nil } - return v.MatchLabels - }).(pulumi.MapOutput) + return &v.BucketName + }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression struct { - Key *string `pulumi:"key"` - Operator *string `pulumi:"operator"` - Values []string `pulumi:"values"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.CustomCa + }).(pulumi.StringPtrOutput) } -// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs and GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput` via: -// -// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs{...} -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput interface { - pulumi.Input - - ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput - ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return &v.Endpoint + }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Values pulumi.StringArrayInput `pulumi:"values"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.Folder + }).(pulumi.StringPtrOutput) } -func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { - return i.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.SecretKey + }).(pulumi.StringPtrOutput) } -func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi struct { + AdmissionConfiguration map[string]interface{} `pulumi:"admissionConfiguration"` + AlwaysPullImages *bool `pulumi:"alwaysPullImages"` + AuditLog *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog `pulumi:"auditLog"` + EventRateLimit *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit `pulumi:"eventRateLimit"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image string `pulumi:"image"` + PodSecurityPolicy *bool `pulumi:"podSecurityPolicy"` + SecretsEncryptionConfig *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig `pulumi:"secretsEncryptionConfig"` + ServiceClusterIpRange string `pulumi:"serviceClusterIpRange"` + ServiceNodePortRange string `pulumi:"serviceNodePortRange"` } -// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray and GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput` via: // -// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray{ GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs{...} } -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiInput interface { pulumi.Input - ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput - ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput +} + +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs struct { + AdmissionConfiguration pulumi.MapInput `pulumi:"admissionConfiguration"` + AlwaysPullImages pulumi.BoolPtrInput `pulumi:"alwaysPullImages"` + AuditLog GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput `pulumi:"auditLog"` + EventRateLimit GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput `pulumi:"eventRateLimit"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringInput `pulumi:"image"` + PodSecurityPolicy pulumi.BoolPtrInput `pulumi:"podSecurityPolicy"` + SecretsEncryptionConfig GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput `pulumi:"secretsEncryptionConfig"` + ServiceClusterIpRange pulumi.StringInput `pulumi:"serviceClusterIpRange"` + ServiceNodePortRange pulumi.StringInput `pulumi:"serviceNodePortRange"` +} + +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(context.Background()) +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) } -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray []GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi)(nil)).Elem() } -func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return i.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { + return o } -func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput { + return o } -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AdmissionConfiguration() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { + return v.AdmissionConfiguration + }).(pulumi.MapOutput) +} -func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AlwaysPullImages() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { + return v.AlwaysPullImages + }).(pulumi.BoolPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) AuditLog() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { + return v.AuditLog + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) EventRateLimit() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { + return v.EventRateLimit + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) *string { - return v.Key - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) *string { - return v.Operator - }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) []string { - return v.Values +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) []string { + return v.ExtraEnvs }).(pulumi.StringArrayOutput) } -type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) string { return v.Image }).(pulumi.StringOutput) +} -func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) PodSecurityPolicy() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *bool { + return v.PodSecurityPolicy + }).(pulumi.BoolPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) SecretsEncryptionConfig() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { + return v.SecretsEncryptionConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ServiceClusterIpRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) string { + return v.ServiceClusterIpRange + }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { - return vs[0].([]GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)[vs[1].(int)] - }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiOutput) ServiceNodePortRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApi) string { + return v.ServiceNodePortRange + }).(pulumi.StringOutput) } -type GetClusterV2RkeConfigRegistries struct { - Configs []GetClusterV2RkeConfigRegistriesConfig `pulumi:"configs"` - Mirrors []GetClusterV2RkeConfigRegistriesMirror `pulumi:"mirrors"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog struct { + Configuration GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration `pulumi:"configuration"` + Enabled *bool `pulumi:"enabled"` } -// GetClusterV2RkeConfigRegistriesInput is an input type that accepts GetClusterV2RkeConfigRegistriesArgs and GetClusterV2RkeConfigRegistriesOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput` via: // -// GetClusterV2RkeConfigRegistriesArgs{...} -type GetClusterV2RkeConfigRegistriesInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogInput interface { pulumi.Input - ToGetClusterV2RkeConfigRegistriesOutput() GetClusterV2RkeConfigRegistriesOutput - ToGetClusterV2RkeConfigRegistriesOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput } -type GetClusterV2RkeConfigRegistriesArgs struct { - Configs GetClusterV2RkeConfigRegistriesConfigArrayInput `pulumi:"configs"` - Mirrors GetClusterV2RkeConfigRegistriesMirrorArrayInput `pulumi:"mirrors"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs struct { + Configuration GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput `pulumi:"configuration"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (GetClusterV2RkeConfigRegistriesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigRegistries)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (i GetClusterV2RkeConfigRegistriesArgs) ToGetClusterV2RkeConfigRegistriesOutput() GetClusterV2RkeConfigRegistriesOutput { - return i.ToGetClusterV2RkeConfigRegistriesOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigRegistriesArgs) ToGetClusterV2RkeConfigRegistriesOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) } -func (i GetClusterV2RkeConfigRegistriesArgs) ToGetClusterV2RkeConfigRegistriesPtrOutput() GetClusterV2RkeConfigRegistriesPtrOutput { - return i.ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigRegistriesArgs) ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesOutput).ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx) } -// GetClusterV2RkeConfigRegistriesPtrInput is an input type that accepts GetClusterV2RkeConfigRegistriesArgs, GetClusterV2RkeConfigRegistriesPtr and GetClusterV2RkeConfigRegistriesPtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput` via: // -// GetClusterV2RkeConfigRegistriesArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs{...} // // or: // // nil -type GetClusterV2RkeConfigRegistriesPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput interface { pulumi.Input - ToGetClusterV2RkeConfigRegistriesPtrOutput() GetClusterV2RkeConfigRegistriesPtrOutput - ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput } -type getClusterV2RkeConfigRegistriesPtrType GetClusterV2RkeConfigRegistriesArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs -func GetClusterV2RkeConfigRegistriesPtr(v *GetClusterV2RkeConfigRegistriesArgs) GetClusterV2RkeConfigRegistriesPtrInput { - return (*getClusterV2RkeConfigRegistriesPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType)(v) } -func (*getClusterV2RkeConfigRegistriesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigRegistries)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (i *getClusterV2RkeConfigRegistriesPtrType) ToGetClusterV2RkeConfigRegistriesPtrOutput() GetClusterV2RkeConfigRegistriesPtrOutput { - return i.ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (i *getClusterV2RkeConfigRegistriesPtrType) ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) } -type GetClusterV2RkeConfigRegistriesOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigRegistriesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigRegistries)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (o GetClusterV2RkeConfigRegistriesOutput) ToGetClusterV2RkeConfigRegistriesOutput() GetClusterV2RkeConfigRegistriesOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { return o } -func (o GetClusterV2RkeConfigRegistriesOutput) ToGetClusterV2RkeConfigRegistriesOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { return o } -func (o GetClusterV2RkeConfigRegistriesOutput) ToGetClusterV2RkeConfigRegistriesPtrOutput() GetClusterV2RkeConfigRegistriesPtrOutput { - return o.ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigRegistriesOutput) ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigRegistries) *GetClusterV2RkeConfigRegistries { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { return &v - }).(GetClusterV2RkeConfigRegistriesPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) } -func (o GetClusterV2RkeConfigRegistriesOutput) Configs() GetClusterV2RkeConfigRegistriesConfigArrayOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRegistries) []GetClusterV2RkeConfigRegistriesConfig { return v.Configs }).(GetClusterV2RkeConfigRegistriesConfigArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) Configuration() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { + return v.Configuration + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) } -func (o GetClusterV2RkeConfigRegistriesOutput) Mirrors() GetClusterV2RkeConfigRegistriesMirrorArrayOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRegistries) []GetClusterV2RkeConfigRegistriesMirror { return v.Mirrors }).(GetClusterV2RkeConfigRegistriesMirrorArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *bool { + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type GetClusterV2RkeConfigRegistriesPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigRegistriesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigRegistries)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog)(nil)).Elem() } -func (o GetClusterV2RkeConfigRegistriesPtrOutput) ToGetClusterV2RkeConfigRegistriesPtrOutput() GetClusterV2RkeConfigRegistriesPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { return o } -func (o GetClusterV2RkeConfigRegistriesPtrOutput) ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput { return o } -func (o GetClusterV2RkeConfigRegistriesPtrOutput) Elem() GetClusterV2RkeConfigRegistriesOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigRegistries) GetClusterV2RkeConfigRegistries { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog { if v != nil { return *v } - var ret GetClusterV2RkeConfigRegistries + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog return ret - }).(GetClusterV2RkeConfigRegistriesOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogOutput) } -func (o GetClusterV2RkeConfigRegistriesPtrOutput) Configs() GetClusterV2RkeConfigRegistriesConfigArrayOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigRegistries) []GetClusterV2RkeConfigRegistriesConfig { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Configuration() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { if v == nil { return nil } - return v.Configs - }).(GetClusterV2RkeConfigRegistriesConfigArrayOutput) + return &v.Configuration + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -func (o GetClusterV2RkeConfigRegistriesPtrOutput) Mirrors() GetClusterV2RkeConfigRegistriesMirrorArrayOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigRegistries) []GetClusterV2RkeConfigRegistriesMirror { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLog) *bool { if v == nil { return nil } - return v.Mirrors - }).(GetClusterV2RkeConfigRegistriesMirrorArrayOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type GetClusterV2RkeConfigRegistriesConfig struct { - AuthConfigSecretName *string `pulumi:"authConfigSecretName"` - CaBundle *string `pulumi:"caBundle"` - Hostname string `pulumi:"hostname"` - Insecure *bool `pulumi:"insecure"` - TlsSecretName *string `pulumi:"tlsSecretName"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration struct { + Format *string `pulumi:"format"` + MaxAge *int `pulumi:"maxAge"` + MaxBackup *int `pulumi:"maxBackup"` + MaxSize *int `pulumi:"maxSize"` + Path *string `pulumi:"path"` + Policy string `pulumi:"policy"` } -// GetClusterV2RkeConfigRegistriesConfigInput is an input type that accepts GetClusterV2RkeConfigRegistriesConfigArgs and GetClusterV2RkeConfigRegistriesConfigOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesConfigInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput` via: // -// GetClusterV2RkeConfigRegistriesConfigArgs{...} -type GetClusterV2RkeConfigRegistriesConfigInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationInput interface { pulumi.Input - ToGetClusterV2RkeConfigRegistriesConfigOutput() GetClusterV2RkeConfigRegistriesConfigOutput - ToGetClusterV2RkeConfigRegistriesConfigOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesConfigOutput -} - -type GetClusterV2RkeConfigRegistriesConfigArgs struct { - AuthConfigSecretName pulumi.StringPtrInput `pulumi:"authConfigSecretName"` - CaBundle pulumi.StringPtrInput `pulumi:"caBundle"` - Hostname pulumi.StringInput `pulumi:"hostname"` - Insecure pulumi.BoolPtrInput `pulumi:"insecure"` - TlsSecretName pulumi.StringPtrInput `pulumi:"tlsSecretName"` -} - -func (GetClusterV2RkeConfigRegistriesConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigRegistriesConfig)(nil)).Elem() -} - -func (i GetClusterV2RkeConfigRegistriesConfigArgs) ToGetClusterV2RkeConfigRegistriesConfigOutput() GetClusterV2RkeConfigRegistriesConfigOutput { - return i.ToGetClusterV2RkeConfigRegistriesConfigOutputWithContext(context.Background()) + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput } -func (i GetClusterV2RkeConfigRegistriesConfigArgs) ToGetClusterV2RkeConfigRegistriesConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesConfigOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs struct { + Format pulumi.StringPtrInput `pulumi:"format"` + MaxAge pulumi.IntPtrInput `pulumi:"maxAge"` + MaxBackup pulumi.IntPtrInput `pulumi:"maxBackup"` + MaxSize pulumi.IntPtrInput `pulumi:"maxSize"` + Path pulumi.StringPtrInput `pulumi:"path"` + Policy pulumi.StringInput `pulumi:"policy"` } -// GetClusterV2RkeConfigRegistriesConfigArrayInput is an input type that accepts GetClusterV2RkeConfigRegistriesConfigArray and GetClusterV2RkeConfigRegistriesConfigArrayOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesConfigArrayInput` via: -// -// GetClusterV2RkeConfigRegistriesConfigArray{ GetClusterV2RkeConfigRegistriesConfigArgs{...} } -type GetClusterV2RkeConfigRegistriesConfigArrayInput interface { - pulumi.Input - - ToGetClusterV2RkeConfigRegistriesConfigArrayOutput() GetClusterV2RkeConfigRegistriesConfigArrayOutput - ToGetClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesConfigArrayOutput +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -type GetClusterV2RkeConfigRegistriesConfigArray []GetClusterV2RkeConfigRegistriesConfigInput - -func (GetClusterV2RkeConfigRegistriesConfigArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigRegistriesConfig)(nil)).Elem() +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigRegistriesConfigArray) ToGetClusterV2RkeConfigRegistriesConfigArrayOutput() GetClusterV2RkeConfigRegistriesConfigArrayOutput { - return i.ToGetClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) } -func (i GetClusterV2RkeConfigRegistriesConfigArray) ToGetClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesConfigArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesConfigArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -type GetClusterV2RkeConfigRegistriesConfigOutput struct{ *pulumi.OutputState } - -func (GetClusterV2RkeConfigRegistriesConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigRegistriesConfig)(nil)).Elem() +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx) } -func (o GetClusterV2RkeConfigRegistriesConfigOutput) ToGetClusterV2RkeConfigRegistriesConfigOutput() GetClusterV2RkeConfigRegistriesConfigOutput { - return o -} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput interface { + pulumi.Input -func (o GetClusterV2RkeConfigRegistriesConfigOutput) ToGetClusterV2RkeConfigRegistriesConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesConfigOutput { - return o + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput } -func (o GetClusterV2RkeConfigRegistriesConfigOutput) AuthConfigSecretName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesConfig) *string { return v.AuthConfigSecretName }).(pulumi.StringPtrOutput) -} +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs -func (o GetClusterV2RkeConfigRegistriesConfigOutput) CaBundle() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesConfig) *string { return v.CaBundle }).(pulumi.StringPtrOutput) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType)(v) } -func (o GetClusterV2RkeConfigRegistriesConfigOutput) Hostname() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesConfig) string { return v.Hostname }).(pulumi.StringOutput) +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (o GetClusterV2RkeConfigRegistriesConfigOutput) Insecure() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesConfig) *bool { return v.Insecure }).(pulumi.BoolPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigRegistriesConfigOutput) TlsSecretName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesConfig) *string { return v.TlsSecretName }).(pulumi.StringPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -type GetClusterV2RkeConfigRegistriesConfigArrayOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigRegistriesConfigArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigRegistriesConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (o GetClusterV2RkeConfigRegistriesConfigArrayOutput) ToGetClusterV2RkeConfigRegistriesConfigArrayOutput() GetClusterV2RkeConfigRegistriesConfigArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { return o } -func (o GetClusterV2RkeConfigRegistriesConfigArrayOutput) ToGetClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesConfigArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { return o } -func (o GetClusterV2RkeConfigRegistriesConfigArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigRegistriesConfigOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigRegistriesConfig { - return vs[0].([]GetClusterV2RkeConfigRegistriesConfig)[vs[1].(int)] - }).(GetClusterV2RkeConfigRegistriesConfigOutput) -} - -type GetClusterV2RkeConfigRegistriesMirror struct { - Endpoints []string `pulumi:"endpoints"` - Hostname string `pulumi:"hostname"` - Rewrites map[string]interface{} `pulumi:"rewrites"` -} - -// GetClusterV2RkeConfigRegistriesMirrorInput is an input type that accepts GetClusterV2RkeConfigRegistriesMirrorArgs and GetClusterV2RkeConfigRegistriesMirrorOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesMirrorInput` via: -// -// GetClusterV2RkeConfigRegistriesMirrorArgs{...} -type GetClusterV2RkeConfigRegistriesMirrorInput interface { - pulumi.Input - - ToGetClusterV2RkeConfigRegistriesMirrorOutput() GetClusterV2RkeConfigRegistriesMirrorOutput - ToGetClusterV2RkeConfigRegistriesMirrorOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesMirrorOutput -} - -type GetClusterV2RkeConfigRegistriesMirrorArgs struct { - Endpoints pulumi.StringArrayInput `pulumi:"endpoints"` - Hostname pulumi.StringInput `pulumi:"hostname"` - Rewrites pulumi.MapInput `pulumi:"rewrites"` +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(context.Background()) } -func (GetClusterV2RkeConfigRegistriesMirrorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigRegistriesMirror)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) } -func (i GetClusterV2RkeConfigRegistriesMirrorArgs) ToGetClusterV2RkeConfigRegistriesMirrorOutput() GetClusterV2RkeConfigRegistriesMirrorOutput { - return i.ToGetClusterV2RkeConfigRegistriesMirrorOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { + return v.Format + }).(pulumi.StringPtrOutput) } -func (i GetClusterV2RkeConfigRegistriesMirrorArgs) ToGetClusterV2RkeConfigRegistriesMirrorOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesMirrorOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesMirrorOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { + return v.MaxAge + }).(pulumi.IntPtrOutput) } -// GetClusterV2RkeConfigRegistriesMirrorArrayInput is an input type that accepts GetClusterV2RkeConfigRegistriesMirrorArray and GetClusterV2RkeConfigRegistriesMirrorArrayOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesMirrorArrayInput` via: -// -// GetClusterV2RkeConfigRegistriesMirrorArray{ GetClusterV2RkeConfigRegistriesMirrorArgs{...} } -type GetClusterV2RkeConfigRegistriesMirrorArrayInput interface { - pulumi.Input - - ToGetClusterV2RkeConfigRegistriesMirrorArrayOutput() GetClusterV2RkeConfigRegistriesMirrorArrayOutput - ToGetClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesMirrorArrayOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxBackup() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { + return v.MaxBackup + }).(pulumi.IntPtrOutput) } -type GetClusterV2RkeConfigRegistriesMirrorArray []GetClusterV2RkeConfigRegistriesMirrorInput - -func (GetClusterV2RkeConfigRegistriesMirrorArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigRegistriesMirror)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) MaxSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { + return v.MaxSize + }).(pulumi.IntPtrOutput) } -func (i GetClusterV2RkeConfigRegistriesMirrorArray) ToGetClusterV2RkeConfigRegistriesMirrorArrayOutput() GetClusterV2RkeConfigRegistriesMirrorArrayOutput { - return i.ToGetClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { + return v.Path + }).(pulumi.StringPtrOutput) } -func (i GetClusterV2RkeConfigRegistriesMirrorArray) ToGetClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesMirrorArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesMirrorArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) Policy() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) string { + return v.Policy + }).(pulumi.StringOutput) } -type GetClusterV2RkeConfigRegistriesMirrorOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigRegistriesMirrorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigRegistriesMirror)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration)(nil)).Elem() } -func (o GetClusterV2RkeConfigRegistriesMirrorOutput) ToGetClusterV2RkeConfigRegistriesMirrorOutput() GetClusterV2RkeConfigRegistriesMirrorOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { return o } -func (o GetClusterV2RkeConfigRegistriesMirrorOutput) ToGetClusterV2RkeConfigRegistriesMirrorOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesMirrorOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput { return o } -func (o GetClusterV2RkeConfigRegistriesMirrorOutput) Endpoints() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesMirror) []string { return v.Endpoints }).(pulumi.StringArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationOutput) } -func (o GetClusterV2RkeConfigRegistriesMirrorOutput) Hostname() pulumi.StringOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesMirror) string { return v.Hostname }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { + if v == nil { + return nil + } + return v.Format + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigRegistriesMirrorOutput) Rewrites() pulumi.MapOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesMirror) map[string]interface{} { return v.Rewrites }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxAge() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { + if v == nil { + return nil + } + return v.MaxAge + }).(pulumi.IntPtrOutput) } -type GetClusterV2RkeConfigRegistriesMirrorArrayOutput struct{ *pulumi.OutputState } - -func (GetClusterV2RkeConfigRegistriesMirrorArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetClusterV2RkeConfigRegistriesMirror)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxBackup() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { + if v == nil { + return nil + } + return v.MaxBackup + }).(pulumi.IntPtrOutput) } -func (o GetClusterV2RkeConfigRegistriesMirrorArrayOutput) ToGetClusterV2RkeConfigRegistriesMirrorArrayOutput() GetClusterV2RkeConfigRegistriesMirrorArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) MaxSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *int { + if v == nil { + return nil + } + return v.MaxSize + }).(pulumi.IntPtrOutput) } -func (o GetClusterV2RkeConfigRegistriesMirrorArrayOutput) ToGetClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesMirrorArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Path() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { + if v == nil { + return nil + } + return v.Path + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigRegistriesMirrorArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigRegistriesMirrorOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigRegistriesMirror { - return vs[0].([]GetClusterV2RkeConfigRegistriesMirror)[vs[1].(int)] - }).(GetClusterV2RkeConfigRegistriesMirrorOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfigurationPtrOutput) Policy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiAuditLogConfiguration) *string { + if v == nil { + return nil + } + return &v.Policy + }).(pulumi.StringPtrOutput) } -type GetClusterV2RkeConfigRotateCertificates struct { - Generation int `pulumi:"generation"` - Services []string `pulumi:"services"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit struct { + Configuration string `pulumi:"configuration"` + Enabled *bool `pulumi:"enabled"` } -// GetClusterV2RkeConfigRotateCertificatesInput is an input type that accepts GetClusterV2RkeConfigRotateCertificatesArgs and GetClusterV2RkeConfigRotateCertificatesOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigRotateCertificatesInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput` via: // -// GetClusterV2RkeConfigRotateCertificatesArgs{...} -type GetClusterV2RkeConfigRotateCertificatesInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitInput interface { pulumi.Input - ToGetClusterV2RkeConfigRotateCertificatesOutput() GetClusterV2RkeConfigRotateCertificatesOutput - ToGetClusterV2RkeConfigRotateCertificatesOutputWithContext(context.Context) GetClusterV2RkeConfigRotateCertificatesOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput } -type GetClusterV2RkeConfigRotateCertificatesArgs struct { - Generation pulumi.IntInput `pulumi:"generation"` - Services pulumi.StringArrayInput `pulumi:"services"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs struct { + Configuration pulumi.StringInput `pulumi:"configuration"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (GetClusterV2RkeConfigRotateCertificatesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigRotateCertificates)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (i GetClusterV2RkeConfigRotateCertificatesArgs) ToGetClusterV2RkeConfigRotateCertificatesOutput() GetClusterV2RkeConfigRotateCertificatesOutput { - return i.ToGetClusterV2RkeConfigRotateCertificatesOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigRotateCertificatesArgs) ToGetClusterV2RkeConfigRotateCertificatesOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRotateCertificatesOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) } -func (i GetClusterV2RkeConfigRotateCertificatesArgs) ToGetClusterV2RkeConfigRotateCertificatesPtrOutput() GetClusterV2RkeConfigRotateCertificatesPtrOutput { - return i.ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigRotateCertificatesArgs) ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRotateCertificatesOutput).ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx) } -// GetClusterV2RkeConfigRotateCertificatesPtrInput is an input type that accepts GetClusterV2RkeConfigRotateCertificatesArgs, GetClusterV2RkeConfigRotateCertificatesPtr and GetClusterV2RkeConfigRotateCertificatesPtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigRotateCertificatesPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput` via: // -// GetClusterV2RkeConfigRotateCertificatesArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs{...} // // or: // // nil -type GetClusterV2RkeConfigRotateCertificatesPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput interface { pulumi.Input - ToGetClusterV2RkeConfigRotateCertificatesPtrOutput() GetClusterV2RkeConfigRotateCertificatesPtrOutput - ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Context) GetClusterV2RkeConfigRotateCertificatesPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput } -type getClusterV2RkeConfigRotateCertificatesPtrType GetClusterV2RkeConfigRotateCertificatesArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs -func GetClusterV2RkeConfigRotateCertificatesPtr(v *GetClusterV2RkeConfigRotateCertificatesArgs) GetClusterV2RkeConfigRotateCertificatesPtrInput { - return (*getClusterV2RkeConfigRotateCertificatesPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType)(v) } -func (*getClusterV2RkeConfigRotateCertificatesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigRotateCertificates)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (i *getClusterV2RkeConfigRotateCertificatesPtrType) ToGetClusterV2RkeConfigRotateCertificatesPtrOutput() GetClusterV2RkeConfigRotateCertificatesPtrOutput { - return i.ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (i *getClusterV2RkeConfigRotateCertificatesPtrType) ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRotateCertificatesPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) } -type GetClusterV2RkeConfigRotateCertificatesOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigRotateCertificatesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigRotateCertificates)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (o GetClusterV2RkeConfigRotateCertificatesOutput) ToGetClusterV2RkeConfigRotateCertificatesOutput() GetClusterV2RkeConfigRotateCertificatesOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { return o } -func (o GetClusterV2RkeConfigRotateCertificatesOutput) ToGetClusterV2RkeConfigRotateCertificatesOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { return o } -func (o GetClusterV2RkeConfigRotateCertificatesOutput) ToGetClusterV2RkeConfigRotateCertificatesPtrOutput() GetClusterV2RkeConfigRotateCertificatesPtrOutput { - return o.ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigRotateCertificatesOutput) ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigRotateCertificates) *GetClusterV2RkeConfigRotateCertificates { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { return &v - }).(GetClusterV2RkeConfigRotateCertificatesPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) } -func (o GetClusterV2RkeConfigRotateCertificatesOutput) Generation() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRotateCertificates) int { return v.Generation }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) Configuration() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) string { + return v.Configuration + }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigRotateCertificatesOutput) Services() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigRotateCertificates) []string { return v.Services }).(pulumi.StringArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *bool { + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type GetClusterV2RkeConfigRotateCertificatesPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigRotateCertificatesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigRotateCertificates)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit)(nil)).Elem() } -func (o GetClusterV2RkeConfigRotateCertificatesPtrOutput) ToGetClusterV2RkeConfigRotateCertificatesPtrOutput() GetClusterV2RkeConfigRotateCertificatesPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { return o } -func (o GetClusterV2RkeConfigRotateCertificatesPtrOutput) ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput { return o } -func (o GetClusterV2RkeConfigRotateCertificatesPtrOutput) Elem() GetClusterV2RkeConfigRotateCertificatesOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigRotateCertificates) GetClusterV2RkeConfigRotateCertificates { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit { if v != nil { return *v } - var ret GetClusterV2RkeConfigRotateCertificates + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit return ret - }).(GetClusterV2RkeConfigRotateCertificatesOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitOutput) } -func (o GetClusterV2RkeConfigRotateCertificatesPtrOutput) Generation() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigRotateCertificates) *int { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Configuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *string { if v == nil { return nil } - return &v.Generation - }).(pulumi.IntPtrOutput) + return &v.Configuration + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigRotateCertificatesPtrOutput) Services() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigRotateCertificates) []string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimitPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiEventRateLimit) *bool { if v == nil { return nil } - return v.Services - }).(pulumi.StringArrayOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type GetClusterV2RkeConfigUpgradeStrategy struct { - ControlPlaneConcurrency *string `pulumi:"controlPlaneConcurrency"` - ControlPlaneDrainOptions *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions `pulumi:"controlPlaneDrainOptions"` - WorkerConcurrency *string `pulumi:"workerConcurrency"` - WorkerDrainOptions *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions `pulumi:"workerDrainOptions"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig struct { + CustomConfig string `pulumi:"customConfig"` + Enabled *bool `pulumi:"enabled"` } -// GetClusterV2RkeConfigUpgradeStrategyInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyArgs and GetClusterV2RkeConfigUpgradeStrategyOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput` via: // -// GetClusterV2RkeConfigUpgradeStrategyArgs{...} -type GetClusterV2RkeConfigUpgradeStrategyInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigInput interface { pulumi.Input - ToGetClusterV2RkeConfigUpgradeStrategyOutput() GetClusterV2RkeConfigUpgradeStrategyOutput - ToGetClusterV2RkeConfigUpgradeStrategyOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput } -type GetClusterV2RkeConfigUpgradeStrategyArgs struct { - ControlPlaneConcurrency pulumi.StringPtrInput `pulumi:"controlPlaneConcurrency"` - ControlPlaneDrainOptions GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput `pulumi:"controlPlaneDrainOptions"` - WorkerConcurrency pulumi.StringPtrInput `pulumi:"workerConcurrency"` - WorkerDrainOptions GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput `pulumi:"workerDrainOptions"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs struct { + CustomConfig pulumi.StringInput `pulumi:"customConfig"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -func (GetClusterV2RkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (i GetClusterV2RkeConfigUpgradeStrategyArgs) ToGetClusterV2RkeConfigUpgradeStrategyOutput() GetClusterV2RkeConfigUpgradeStrategyOutput { - return i.ToGetClusterV2RkeConfigUpgradeStrategyOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigUpgradeStrategyArgs) ToGetClusterV2RkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) } -func (i GetClusterV2RkeConfigUpgradeStrategyArgs) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutput() GetClusterV2RkeConfigUpgradeStrategyPtrOutput { - return i.ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigUpgradeStrategyArgs) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyOutput).ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput).ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx) } -// GetClusterV2RkeConfigUpgradeStrategyPtrInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyArgs, GetClusterV2RkeConfigUpgradeStrategyPtr and GetClusterV2RkeConfigUpgradeStrategyPtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs, GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtr and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput` via: // -// GetClusterV2RkeConfigUpgradeStrategyArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs{...} // // or: // // nil -type GetClusterV2RkeConfigUpgradeStrategyPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput interface { pulumi.Input - ToGetClusterV2RkeConfigUpgradeStrategyPtrOutput() GetClusterV2RkeConfigUpgradeStrategyPtrOutput - ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput } -type getClusterV2RkeConfigUpgradeStrategyPtrType GetClusterV2RkeConfigUpgradeStrategyArgs +type getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs -func GetClusterV2RkeConfigUpgradeStrategyPtr(v *GetClusterV2RkeConfigUpgradeStrategyArgs) GetClusterV2RkeConfigUpgradeStrategyPtrInput { - return (*getClusterV2RkeConfigUpgradeStrategyPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtr(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigArgs) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType)(v) } -func (*getClusterV2RkeConfigUpgradeStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (i *getClusterV2RkeConfigUpgradeStrategyPtrType) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutput() GetClusterV2RkeConfigUpgradeStrategyPtrOutput { - return i.ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (i *getClusterV2RkeConfigUpgradeStrategyPtrType) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } -type GetClusterV2RkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ToGetClusterV2RkeConfigUpgradeStrategyOutput() GetClusterV2RkeConfigUpgradeStrategyOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { return o } -func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ToGetClusterV2RkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { return o } -func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutput() GetClusterV2RkeConfigUpgradeStrategyPtrOutput { - return o.ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigUpgradeStrategy) *GetClusterV2RkeConfigUpgradeStrategy { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { return &v - }).(GetClusterV2RkeConfigUpgradeStrategyPtrOutput) -} - -func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ControlPlaneConcurrency() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategy) *string { return v.ControlPlaneConcurrency }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ControlPlaneDrainOptions() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategy) *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { - return v.ControlPlaneDrainOptions - }).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyOutput) WorkerConcurrency() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategy) *string { return v.WorkerConcurrency }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) CustomConfig() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) string { + return v.CustomConfig + }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyOutput) WorkerDrainOptions() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategy) *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { - return v.WorkerDrainOptions - }).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type GetClusterV2RkeConfigUpgradeStrategyPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigUpgradeStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig)(nil)).Elem() } -func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutput() GetClusterV2RkeConfigUpgradeStrategyPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { return o } -func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput { return o } -func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) Elem() GetClusterV2RkeConfigUpgradeStrategyOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategy) GetClusterV2RkeConfigUpgradeStrategy { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig { if v != nil { return *v } - var ret GetClusterV2RkeConfigUpgradeStrategy + var ret GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig return ret - }).(GetClusterV2RkeConfigUpgradeStrategyOutput) -} - -func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) ControlPlaneConcurrency() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategy) *string { - if v == nil { - return nil - } - return v.ControlPlaneConcurrency - }).(pulumi.StringPtrOutput) -} - -func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) ControlPlaneDrainOptions() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategy) *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { - if v == nil { - return nil - } - return v.ControlPlaneDrainOptions - }).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) WorkerConcurrency() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategy) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) CustomConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *string { if v == nil { return nil } - return v.WorkerConcurrency + return &v.CustomConfig }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) WorkerDrainOptions() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategy) *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfigPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeApiSecretsEncryptionConfig) *bool { if v == nil { return nil } - return v.WorkerDrainOptions - }).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions struct { - DeleteEmptyDirData *bool `pulumi:"deleteEmptyDirData"` - DisableEviction *bool `pulumi:"disableEviction"` - Enabled *bool `pulumi:"enabled"` - Force *bool `pulumi:"force"` - GracePeriod int `pulumi:"gracePeriod"` - IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` - IgnoreErrors *bool `pulumi:"ignoreErrors"` - SkipWaitForDeleteTimeoutSeconds int `pulumi:"skipWaitForDeleteTimeoutSeconds"` - Timeout int `pulumi:"timeout"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController struct { + ClusterCidr string `pulumi:"clusterCidr"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image string `pulumi:"image"` + ServiceClusterIpRange string `pulumi:"serviceClusterIpRange"` } -// GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs and GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput` via: // -// GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs{...} -type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerInput interface { pulumi.Input - ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput - ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput -} - -type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs struct { - DeleteEmptyDirData pulumi.BoolPtrInput `pulumi:"deleteEmptyDirData"` - DisableEviction pulumi.BoolPtrInput `pulumi:"disableEviction"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - Force pulumi.BoolPtrInput `pulumi:"force"` - GracePeriod pulumi.IntInput `pulumi:"gracePeriod"` - IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` - IgnoreErrors pulumi.BoolPtrInput `pulumi:"ignoreErrors"` - SkipWaitForDeleteTimeoutSeconds pulumi.IntInput `pulumi:"skipWaitForDeleteTimeoutSeconds"` - Timeout pulumi.IntInput `pulumi:"timeout"` -} - -func (GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() -} - -func (i GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { - return i.ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(context.Background()) -} - -func (i GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) -} - -func (i GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return i.ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput } -func (i GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput).ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs struct { + ClusterCidr pulumi.StringInput `pulumi:"clusterCidr"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringInput `pulumi:"image"` + ServiceClusterIpRange pulumi.StringInput `pulumi:"serviceClusterIpRange"` } -// GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs, GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtr and GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput` via: -// -// GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs{...} -// -// or: -// -// nil -type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput interface { - pulumi.Input - - ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput - ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() } -type getClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs - -func GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtr(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput { - return (*getClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType)(v) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(context.Background()) } -func (*getClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) } -func (i *getClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return i.ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput struct{ *pulumi.OutputState } -func (i *getClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController)(nil)).Elem() } -type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput struct{ *pulumi.OutputState } - -func (GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { + return o } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput { return o } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ClusterCidr() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) string { + return v.ClusterCidr + }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return o.ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { - return &v - }).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { - return v.DeleteEmptyDirData - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) []string { + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) DisableEviction() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.DisableEviction }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) string { + return v.Image + }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeControllerOutput) ServiceClusterIpRange() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeController) string { + return v.ServiceClusterIpRange + }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.Force }).(pulumi.BoolPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet struct { + ClusterDnsServer string `pulumi:"clusterDnsServer"` + ClusterDomain string `pulumi:"clusterDomain"` + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + FailSwapOn bool `pulumi:"failSwapOn"` + GenerateServingCertificate *bool `pulumi:"generateServingCertificate"` + Image string `pulumi:"image"` + InfraContainerImage string `pulumi:"infraContainerImage"` } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) GracePeriod() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) int { return v.GracePeriod }).(pulumi.IntOutput) +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletInput interface { + pulumi.Input + + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs struct { + ClusterDnsServer pulumi.StringInput `pulumi:"clusterDnsServer"` + ClusterDomain pulumi.StringInput `pulumi:"clusterDomain"` + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + FailSwapOn pulumi.BoolInput `pulumi:"failSwapOn"` + GenerateServingCertificate pulumi.BoolPtrInput `pulumi:"generateServingCertificate"` + Image pulumi.StringInput `pulumi:"image"` + InfraContainerImage pulumi.StringInput `pulumi:"infraContainerImage"` } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) IgnoreErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.IgnoreErrors }).(pulumi.BoolPtrOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) int { - return v.SkipWaitForDeleteTimeoutSeconds - }).(pulumi.IntOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Timeout() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) int { return v.Timeout }).(pulumi.IntOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) } -type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput struct{ *pulumi.OutputState } -func (GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet)(nil)).Elem() } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { return o } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput { return o } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Elem() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { - if v != nil { - return *v - } - var ret GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions - return ret - }).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) -} - -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { - if v == nil { - return nil - } - return v.DeleteEmptyDirData - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ClusterDnsServer() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) string { + return v.ClusterDnsServer + }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) DisableEviction() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { - if v == nil { - return nil - } - return v.DisableEviction - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ClusterDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) string { + return v.ClusterDomain + }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { - if v == nil { - return nil - } - return v.Force - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { - if v == nil { - return nil - } - return &v.GracePeriod - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) []string { + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { - if v == nil { - return nil - } - return v.IgnoreDaemonSets - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) FailSwapOn() pulumi.BoolOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) bool { + return v.FailSwapOn + }).(pulumi.BoolOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) IgnoreErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { - if v == nil { - return nil - } - return v.IgnoreErrors +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) GenerateServingCertificate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) *bool { + return v.GenerateServingCertificate }).(pulumi.BoolPtrOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { - if v == nil { - return nil - } - return &v.SkipWaitForDeleteTimeoutSeconds - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) string { return v.Image }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { - if v == nil { - return nil - } - return &v.Timeout - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeletOutput) InfraContainerImage() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubelet) string { + return v.InfraContainerImage + }).(pulumi.StringOutput) } -type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions struct { - DeleteEmptyDirData *bool `pulumi:"deleteEmptyDirData"` - DisableEviction *bool `pulumi:"disableEviction"` - Enabled *bool `pulumi:"enabled"` - Force *bool `pulumi:"force"` - GracePeriod int `pulumi:"gracePeriod"` - IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` - IgnoreErrors *bool `pulumi:"ignoreErrors"` - SkipWaitForDeleteTimeoutSeconds int `pulumi:"skipWaitForDeleteTimeoutSeconds"` - Timeout int `pulumi:"timeout"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy struct { + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image string `pulumi:"image"` } -// GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs and GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput` via: // -// GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs{...} -type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyInput interface { pulumi.Input - ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput - ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput } -type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs struct { - DeleteEmptyDirData pulumi.BoolPtrInput `pulumi:"deleteEmptyDirData"` - DisableEviction pulumi.BoolPtrInput `pulumi:"disableEviction"` - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - Force pulumi.BoolPtrInput `pulumi:"force"` - GracePeriod pulumi.IntInput `pulumi:"gracePeriod"` - IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` - IgnoreErrors pulumi.BoolPtrInput `pulumi:"ignoreErrors"` - SkipWaitForDeleteTimeoutSeconds pulumi.IntInput `pulumi:"skipWaitForDeleteTimeoutSeconds"` - Timeout pulumi.IntInput `pulumi:"timeout"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs struct { + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringInput `pulumi:"image"` } -func (GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() } -func (i GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { - return i.ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(context.Background()) } -func (i GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) } -func (i GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return i.ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput struct{ *pulumi.OutputState } -func (i GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput).ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy)(nil)).Elem() } -// GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs, GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtr and GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput values. -// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput` via: -// -// GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs{...} -// -// or: -// -// nil -type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput interface { - pulumi.Input +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { + return o +} - ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput - ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput { + return o } -type getClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) +} -func GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtr(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput { - return (*getClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType)(v) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -func (*getClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) []string { + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -func (i *getClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return i.ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxyOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesKubeproxy) string { + return v.Image + }).(pulumi.StringOutput) } -func (i *getClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler struct { + ExtraArgs map[string]interface{} `pulumi:"extraArgs"` + ExtraBinds []string `pulumi:"extraBinds"` + ExtraEnvs []string `pulumi:"extraEnvs"` + Image string `pulumi:"image"` } -type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput struct{ *pulumi.OutputState } +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerInput interface { + pulumi.Input -func (GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { - return o +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs struct { + ExtraArgs pulumi.MapInput `pulumi:"extraArgs"` + ExtraBinds pulumi.StringArrayInput `pulumi:"extraBinds"` + ExtraEnvs pulumi.StringArrayInput `pulumi:"extraEnvs"` + Image pulumi.StringInput `pulumi:"image"` } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { - return o +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return o.ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { - return &v - }).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.DeleteEmptyDirData }).(pulumi.BoolPtrOutput) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput struct{ *pulumi.OutputState } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) DisableEviction() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.DisableEviction }).(pulumi.BoolPtrOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler)(nil)).Elem() } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { + return o } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.Force }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput { + return o } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) GracePeriod() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) int { return v.GracePeriod }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraArgs() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) map[string]interface{} { + return v.ExtraArgs + }).(pulumi.MapOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraBinds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { + return v.ExtraBinds + }).(pulumi.StringArrayOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) IgnoreErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.IgnoreErrors }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) ExtraEnvs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) []string { + return v.ExtraEnvs + }).(pulumi.StringArrayOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) int { - return v.SkipWaitForDeleteTimeoutSeconds - }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesSchedulerOutput) Image() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesScheduler) string { + return v.Image + }).(pulumi.StringOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Timeout() pulumi.IntOutput { - return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) int { return v.Timeout }).(pulumi.IntOutput) +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy struct { + Drain *bool `pulumi:"drain"` + DrainInput GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput `pulumi:"drainInput"` + MaxUnavailableControlplane *string `pulumi:"maxUnavailableControlplane"` + MaxUnavailableWorker *string `pulumi:"maxUnavailableWorker"` } -type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput struct{ *pulumi.OutputState } +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyInput interface { + pulumi.Input -func (GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return o +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs struct { + Drain pulumi.BoolPtrInput `pulumi:"drain"` + DrainInput GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput `pulumi:"drainInput"` + MaxUnavailableControlplane pulumi.StringPtrInput `pulumi:"maxUnavailableControlplane"` + MaxUnavailableWorker pulumi.StringPtrInput `pulumi:"maxUnavailableWorker"` } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { - return o +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Elem() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { - if v != nil { - return *v - } - var ret GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions - return ret - }).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(context.Background()) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.DeleteEmptyDirData - }).(pulumi.BoolPtrOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) DisableEviction() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.DisableEviction - }).(pulumi.BoolPtrOutput) -} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.Enabled - }).(pulumi.BoolPtrOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy)(nil)).Elem() } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Force() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.Force - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { + return o } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) GracePeriod() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { - if v == nil { - return nil - } - return &v.GracePeriod - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput { + return o } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.IgnoreDaemonSets - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) Drain() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *bool { return v.Drain }).(pulumi.BoolPtrOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) IgnoreErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { - if v == nil { - return nil - } - return v.IgnoreErrors - }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) DrainInput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput { + return v.DrainInput + }).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { - if v == nil { - return nil - } - return &v.SkipWaitForDeleteTimeoutSeconds - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) MaxUnavailableControlplane() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { + return v.MaxUnavailableControlplane + }).(pulumi.StringPtrOutput) } -func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Timeout() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { - if v == nil { - return nil - } - return &v.Timeout - }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyOutput) MaxUnavailableWorker() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategy) *string { + return v.MaxUnavailableWorker + }).(pulumi.StringPtrOutput) } -type GetEtcdBackupBackupConfig struct { - Enabled *bool `pulumi:"enabled"` - IntervalHours *int `pulumi:"intervalHours"` - Retention *int `pulumi:"retention"` - S3BackupConfig *GetEtcdBackupBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` - SafeTimestamp *bool `pulumi:"safeTimestamp"` - Timeout int `pulumi:"timeout"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput struct { + DeleteLocalData *bool `pulumi:"deleteLocalData"` + Force *bool `pulumi:"force"` + GracePeriod *int `pulumi:"gracePeriod"` + IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` + Timeout *int `pulumi:"timeout"` } -// GetEtcdBackupBackupConfigInput is an input type that accepts GetEtcdBackupBackupConfigArgs and GetEtcdBackupBackupConfigOutput values. -// You can construct a concrete instance of `GetEtcdBackupBackupConfigInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs and GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput` via: // -// GetEtcdBackupBackupConfigArgs{...} -type GetEtcdBackupBackupConfigInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputInput interface { pulumi.Input - ToGetEtcdBackupBackupConfigOutput() GetEtcdBackupBackupConfigOutput - ToGetEtcdBackupBackupConfigOutputWithContext(context.Context) GetEtcdBackupBackupConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput + ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput } -type GetEtcdBackupBackupConfigArgs struct { - Enabled pulumi.BoolPtrInput `pulumi:"enabled"` - IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` - Retention pulumi.IntPtrInput `pulumi:"retention"` - S3BackupConfig GetEtcdBackupBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` - SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` - Timeout pulumi.IntInput `pulumi:"timeout"` +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs struct { + DeleteLocalData pulumi.BoolPtrInput `pulumi:"deleteLocalData"` + Force pulumi.BoolPtrInput `pulumi:"force"` + GracePeriod pulumi.IntPtrInput `pulumi:"gracePeriod"` + IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` + Timeout pulumi.IntPtrInput `pulumi:"timeout"` } -func (GetEtcdBackupBackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetEtcdBackupBackupConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -func (i GetEtcdBackupBackupConfigArgs) ToGetEtcdBackupBackupConfigOutput() GetEtcdBackupBackupConfigOutput { - return i.ToGetEtcdBackupBackupConfigOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(context.Background()) } -func (i GetEtcdBackupBackupConfigArgs) ToGetEtcdBackupBackupConfigOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetEtcdBackupBackupConfigOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputArgs) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) } -type GetEtcdBackupBackupConfigOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput struct{ *pulumi.OutputState } -func (GetEtcdBackupBackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetEtcdBackupBackupConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput)(nil)).Elem() } -func (o GetEtcdBackupBackupConfigOutput) ToGetEtcdBackupBackupConfigOutput() GetEtcdBackupBackupConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput() GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { return o } -func (o GetEtcdBackupBackupConfigOutput) ToGetEtcdBackupBackupConfigOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) ToGetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput { return o } -func (o GetEtcdBackupBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) -} - -func (o GetEtcdBackupBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfig) *int { return v.IntervalHours }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) DeleteLocalData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { + return v.DeleteLocalData + }).(pulumi.BoolPtrOutput) } -func (o GetEtcdBackupBackupConfigOutput) Retention() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfig) *int { return v.Retention }).(pulumi.IntPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { + return v.Force + }).(pulumi.BoolPtrOutput) } -func (o GetEtcdBackupBackupConfigOutput) S3BackupConfig() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfig) *GetEtcdBackupBackupConfigS3BackupConfig { return v.S3BackupConfig }).(GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { + return v.GracePeriod + }).(pulumi.IntPtrOutput) } -func (o GetEtcdBackupBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfig) *bool { return v.SafeTimestamp }).(pulumi.BoolPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *bool { + return v.IgnoreDaemonSets + }).(pulumi.BoolPtrOutput) } -func (o GetEtcdBackupBackupConfigOutput) Timeout() pulumi.IntOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfig) int { return v.Timeout }).(pulumi.IntOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInputOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyDrainInput) *int { + return v.Timeout + }).(pulumi.IntPtrOutput) } -type GetEtcdBackupBackupConfigS3BackupConfig struct { - AccessKey *string `pulumi:"accessKey"` - BucketName string `pulumi:"bucketName"` - CustomCa *string `pulumi:"customCa"` - Endpoint string `pulumi:"endpoint"` - Folder *string `pulumi:"folder"` - Region *string `pulumi:"region"` - SecretKey *string `pulumi:"secretKey"` +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan struct { + Enabled *bool `pulumi:"enabled"` + ScanConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig `pulumi:"scanConfig"` + ScheduleConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig `pulumi:"scheduleConfig"` } -// GetEtcdBackupBackupConfigS3BackupConfigInput is an input type that accepts GetEtcdBackupBackupConfigS3BackupConfigArgs and GetEtcdBackupBackupConfigS3BackupConfigOutput values. -// You can construct a concrete instance of `GetEtcdBackupBackupConfigS3BackupConfigInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput` via: // -// GetEtcdBackupBackupConfigS3BackupConfigArgs{...} -type GetEtcdBackupBackupConfigS3BackupConfigInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanInput interface { pulumi.Input - ToGetEtcdBackupBackupConfigS3BackupConfigOutput() GetEtcdBackupBackupConfigS3BackupConfigOutput - ToGetEtcdBackupBackupConfigS3BackupConfigOutputWithContext(context.Context) GetEtcdBackupBackupConfigS3BackupConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput } -type GetEtcdBackupBackupConfigS3BackupConfigArgs struct { - AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` - BucketName pulumi.StringInput `pulumi:"bucketName"` - CustomCa pulumi.StringPtrInput `pulumi:"customCa"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - Folder pulumi.StringPtrInput `pulumi:"folder"` - Region pulumi.StringPtrInput `pulumi:"region"` - SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + ScanConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput `pulumi:"scanConfig"` + ScheduleConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput `pulumi:"scheduleConfig"` } -func (GetEtcdBackupBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetEtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() } -func (i GetEtcdBackupBackupConfigS3BackupConfigArgs) ToGetEtcdBackupBackupConfigS3BackupConfigOutput() GetEtcdBackupBackupConfigS3BackupConfigOutput { - return i.ToGetEtcdBackupBackupConfigS3BackupConfigOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(context.Background()) } -func (i GetEtcdBackupBackupConfigS3BackupConfigArgs) ToGetEtcdBackupBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetEtcdBackupBackupConfigS3BackupConfigOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) } -func (i GetEtcdBackupBackupConfigS3BackupConfigArgs) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutput() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { - return i.ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) } -func (i GetEtcdBackupBackupConfigS3BackupConfigArgs) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetEtcdBackupBackupConfigS3BackupConfigOutput).ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput).ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx) } -// GetEtcdBackupBackupConfigS3BackupConfigPtrInput is an input type that accepts GetEtcdBackupBackupConfigS3BackupConfigArgs, GetEtcdBackupBackupConfigS3BackupConfigPtr and GetEtcdBackupBackupConfigS3BackupConfigPtrOutput values. -// You can construct a concrete instance of `GetEtcdBackupBackupConfigS3BackupConfigPtrInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs, GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtr and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput` via: // -// GetEtcdBackupBackupConfigS3BackupConfigArgs{...} +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs{...} // // or: // // nil -type GetEtcdBackupBackupConfigS3BackupConfigPtrInput interface { +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput interface { pulumi.Input - ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutput() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput - ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) GetEtcdBackupBackupConfigS3BackupConfigPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput } -type getEtcdBackupBackupConfigS3BackupConfigPtrType GetEtcdBackupBackupConfigS3BackupConfigArgs +type getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs -func GetEtcdBackupBackupConfigS3BackupConfigPtr(v *GetEtcdBackupBackupConfigS3BackupConfigArgs) GetEtcdBackupBackupConfigS3BackupConfigPtrInput { - return (*getEtcdBackupBackupConfigS3BackupConfigPtrType)(v) +func GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtr(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType)(v) } -func (*getEtcdBackupBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetEtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() } -func (i *getEtcdBackupBackupConfigS3BackupConfigPtrType) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutput() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { - return i.ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) } -func (i *getEtcdBackupBackupConfigS3BackupConfigPtrType) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) } -type GetEtcdBackupBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput struct{ *pulumi.OutputState } -func (GetEtcdBackupBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetEtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() } -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) ToGetEtcdBackupBackupConfigS3BackupConfigOutput() GetEtcdBackupBackupConfigS3BackupConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { return o } -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) ToGetEtcdBackupBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { return o } -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutput() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { - return o.ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(context.Background()) } -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetEtcdBackupBackupConfigS3BackupConfig) *GetEtcdBackupBackupConfigS3BackupConfig { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { return &v - }).(GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) -} - -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) *string { return v.AccessKey }).(pulumi.StringPtrOutput) -} - -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) string { return v.BucketName }).(pulumi.StringOutput) -} - -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) *string { return v.CustomCa }).(pulumi.StringPtrOutput) -} - -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) string { return v.Endpoint }).(pulumi.StringOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) } -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) *string { return v.Region }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ScanConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { + return v.ScanConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) } -func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) *string { return v.SecretKey }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) ScheduleConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { + return v.ScheduleConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) } -type GetEtcdBackupBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput struct{ *pulumi.OutputState } -func (GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetEtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan)(nil)).Elem() } -func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutput() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { return o } -func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput { return o } -func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) Elem() GetEtcdBackupBackupConfigS3BackupConfigOutput { - return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) GetEtcdBackupBackupConfigS3BackupConfig { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan { if v != nil { return *v } - var ret GetEtcdBackupBackupConfigS3BackupConfig + var ret GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan return ret - }).(GetEtcdBackupBackupConfigS3BackupConfigOutput) -} - -func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.AccessKey - }).(pulumi.StringPtrOutput) -} - -func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.BucketName - }).(pulumi.StringPtrOutput) -} - -func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return v.CustomCa - }).(pulumi.StringPtrOutput) -} - -func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { - if v == nil { - return nil - } - return &v.Endpoint - }).(pulumi.StringPtrOutput) + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanOutput) } -func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *bool { if v == nil { return nil } - return v.Folder - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ScanConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { if v == nil { return nil } - return v.Region - }).(pulumi.StringPtrOutput) + return &v.ScanConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) } -func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanPtrOutput) ScheduleConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScan) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { if v == nil { return nil } - return v.SecretKey - }).(pulumi.StringPtrOutput) + return &v.ScheduleConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) } -type GetGlobalDnsProviderAlidnsConfig struct { - AccessKey string `pulumi:"accessKey"` - SecretKey string `pulumi:"secretKey"` +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig struct { + CisScanConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig `pulumi:"cisScanConfig"` } -// GetGlobalDnsProviderAlidnsConfigInput is an input type that accepts GetGlobalDnsProviderAlidnsConfigArgs and GetGlobalDnsProviderAlidnsConfigOutput values. -// You can construct a concrete instance of `GetGlobalDnsProviderAlidnsConfigInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput` via: // -// GetGlobalDnsProviderAlidnsConfigArgs{...} -type GetGlobalDnsProviderAlidnsConfigInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigInput interface { pulumi.Input - ToGetGlobalDnsProviderAlidnsConfigOutput() GetGlobalDnsProviderAlidnsConfigOutput - ToGetGlobalDnsProviderAlidnsConfigOutputWithContext(context.Context) GetGlobalDnsProviderAlidnsConfigOutput -} - -type GetGlobalDnsProviderAlidnsConfigArgs struct { - AccessKey pulumi.StringInput `pulumi:"accessKey"` - SecretKey pulumi.StringInput `pulumi:"secretKey"` -} - -func (GetGlobalDnsProviderAlidnsConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetGlobalDnsProviderAlidnsConfig)(nil)).Elem() -} - -func (i GetGlobalDnsProviderAlidnsConfigArgs) ToGetGlobalDnsProviderAlidnsConfigOutput() GetGlobalDnsProviderAlidnsConfigOutput { - return i.ToGetGlobalDnsProviderAlidnsConfigOutputWithContext(context.Background()) -} - -func (i GetGlobalDnsProviderAlidnsConfigArgs) ToGetGlobalDnsProviderAlidnsConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderAlidnsConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetGlobalDnsProviderAlidnsConfigOutput) + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput } -type GetGlobalDnsProviderAlidnsConfigOutput struct{ *pulumi.OutputState } - -func (GetGlobalDnsProviderAlidnsConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetGlobalDnsProviderAlidnsConfig)(nil)).Elem() +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs struct { + CisScanConfig GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput `pulumi:"cisScanConfig"` } -func (o GetGlobalDnsProviderAlidnsConfigOutput) ToGetGlobalDnsProviderAlidnsConfigOutput() GetGlobalDnsProviderAlidnsConfigOutput { - return o +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() } -func (o GetGlobalDnsProviderAlidnsConfigOutput) ToGetGlobalDnsProviderAlidnsConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderAlidnsConfigOutput { - return o +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(context.Background()) } -func (o GetGlobalDnsProviderAlidnsConfigOutput) AccessKey() pulumi.StringOutput { - return o.ApplyT(func(v GetGlobalDnsProviderAlidnsConfig) string { return v.AccessKey }).(pulumi.StringOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) } -func (o GetGlobalDnsProviderAlidnsConfigOutput) SecretKey() pulumi.StringOutput { - return o.ApplyT(func(v GetGlobalDnsProviderAlidnsConfig) string { return v.SecretKey }).(pulumi.StringOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) } -type GetGlobalDnsProviderCloudflareConfig struct { - ApiEmail string `pulumi:"apiEmail"` - ApiKey string `pulumi:"apiKey"` - ProxySetting *bool `pulumi:"proxySetting"` +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput).ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx) } -// GetGlobalDnsProviderCloudflareConfigInput is an input type that accepts GetGlobalDnsProviderCloudflareConfigArgs and GetGlobalDnsProviderCloudflareConfigOutput values. -// You can construct a concrete instance of `GetGlobalDnsProviderCloudflareConfigInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs, GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtr and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput` via: // -// GetGlobalDnsProviderCloudflareConfigArgs{...} -type GetGlobalDnsProviderCloudflareConfigInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput interface { pulumi.Input - ToGetGlobalDnsProviderCloudflareConfigOutput() GetGlobalDnsProviderCloudflareConfigOutput - ToGetGlobalDnsProviderCloudflareConfigOutputWithContext(context.Context) GetGlobalDnsProviderCloudflareConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput } -type GetGlobalDnsProviderCloudflareConfigArgs struct { - ApiEmail pulumi.StringInput `pulumi:"apiEmail"` - ApiKey pulumi.StringInput `pulumi:"apiKey"` - ProxySetting pulumi.BoolPtrInput `pulumi:"proxySetting"` +type getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs + +func GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtr(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType)(v) } -func (GetGlobalDnsProviderCloudflareConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetGlobalDnsProviderCloudflareConfig)(nil)).Elem() +func (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() } -func (i GetGlobalDnsProviderCloudflareConfigArgs) ToGetGlobalDnsProviderCloudflareConfigOutput() GetGlobalDnsProviderCloudflareConfigOutput { - return i.ToGetGlobalDnsProviderCloudflareConfigOutputWithContext(context.Background()) +func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) } -func (i GetGlobalDnsProviderCloudflareConfigArgs) ToGetGlobalDnsProviderCloudflareConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderCloudflareConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetGlobalDnsProviderCloudflareConfigOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) } -type GetGlobalDnsProviderCloudflareConfigOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput struct{ *pulumi.OutputState } -func (GetGlobalDnsProviderCloudflareConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetGlobalDnsProviderCloudflareConfig)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() } -func (o GetGlobalDnsProviderCloudflareConfigOutput) ToGetGlobalDnsProviderCloudflareConfigOutput() GetGlobalDnsProviderCloudflareConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { return o } -func (o GetGlobalDnsProviderCloudflareConfigOutput) ToGetGlobalDnsProviderCloudflareConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderCloudflareConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { return o } -func (o GetGlobalDnsProviderCloudflareConfigOutput) ApiEmail() pulumi.StringOutput { - return o.ApplyT(func(v GetGlobalDnsProviderCloudflareConfig) string { return v.ApiEmail }).(pulumi.StringOutput) -} - -func (o GetGlobalDnsProviderCloudflareConfigOutput) ApiKey() pulumi.StringOutput { - return o.ApplyT(func(v GetGlobalDnsProviderCloudflareConfig) string { return v.ApiKey }).(pulumi.StringOutput) -} - -func (o GetGlobalDnsProviderCloudflareConfigOutput) ProxySetting() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetGlobalDnsProviderCloudflareConfig) *bool { return v.ProxySetting }).(pulumi.BoolPtrOutput) -} - -type GetGlobalDnsProviderRoute53Config struct { - AccessKey string `pulumi:"accessKey"` - CredentialsPath *string `pulumi:"credentialsPath"` - Region *string `pulumi:"region"` - RoleArn *string `pulumi:"roleArn"` - SecretKey string `pulumi:"secretKey"` - ZoneType *string `pulumi:"zoneType"` -} - -// GetGlobalDnsProviderRoute53ConfigInput is an input type that accepts GetGlobalDnsProviderRoute53ConfigArgs and GetGlobalDnsProviderRoute53ConfigOutput values. -// You can construct a concrete instance of `GetGlobalDnsProviderRoute53ConfigInput` via: -// -// GetGlobalDnsProviderRoute53ConfigArgs{...} -type GetGlobalDnsProviderRoute53ConfigInput interface { - pulumi.Input - - ToGetGlobalDnsProviderRoute53ConfigOutput() GetGlobalDnsProviderRoute53ConfigOutput - ToGetGlobalDnsProviderRoute53ConfigOutputWithContext(context.Context) GetGlobalDnsProviderRoute53ConfigOutput -} - -type GetGlobalDnsProviderRoute53ConfigArgs struct { - AccessKey pulumi.StringInput `pulumi:"accessKey"` - CredentialsPath pulumi.StringPtrInput `pulumi:"credentialsPath"` - Region pulumi.StringPtrInput `pulumi:"region"` - RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` - SecretKey pulumi.StringInput `pulumi:"secretKey"` - ZoneType pulumi.StringPtrInput `pulumi:"zoneType"` -} - -func (GetGlobalDnsProviderRoute53ConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetGlobalDnsProviderRoute53Config)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(context.Background()) } -func (i GetGlobalDnsProviderRoute53ConfigArgs) ToGetGlobalDnsProviderRoute53ConfigOutput() GetGlobalDnsProviderRoute53ConfigOutput { - return i.ToGetGlobalDnsProviderRoute53ConfigOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) } -func (i GetGlobalDnsProviderRoute53ConfigArgs) ToGetGlobalDnsProviderRoute53ConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderRoute53ConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetGlobalDnsProviderRoute53ConfigOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) CisScanConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { + return v.CisScanConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) } -type GetGlobalDnsProviderRoute53ConfigOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput struct{ *pulumi.OutputState } -func (GetGlobalDnsProviderRoute53ConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetGlobalDnsProviderRoute53Config)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig)(nil)).Elem() } -func (o GetGlobalDnsProviderRoute53ConfigOutput) ToGetGlobalDnsProviderRoute53ConfigOutput() GetGlobalDnsProviderRoute53ConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { return o } -func (o GetGlobalDnsProviderRoute53ConfigOutput) ToGetGlobalDnsProviderRoute53ConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderRoute53ConfigOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput { return o } -func (o GetGlobalDnsProviderRoute53ConfigOutput) AccessKey() pulumi.StringOutput { - return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) string { return v.AccessKey }).(pulumi.StringOutput) -} - -func (o GetGlobalDnsProviderRoute53ConfigOutput) CredentialsPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) *string { return v.CredentialsPath }).(pulumi.StringPtrOutput) -} - -func (o GetGlobalDnsProviderRoute53ConfigOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) *string { return v.Region }).(pulumi.StringPtrOutput) -} - -func (o GetGlobalDnsProviderRoute53ConfigOutput) RoleArn() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) *string { return v.RoleArn }).(pulumi.StringPtrOutput) -} - -func (o GetGlobalDnsProviderRoute53ConfigOutput) SecretKey() pulumi.StringOutput { - return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) string { return v.SecretKey }).(pulumi.StringOutput) -} - -func (o GetGlobalDnsProviderRoute53ConfigOutput) ZoneType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) *string { return v.ZoneType }).(pulumi.StringPtrOutput) -} - -type GetGlobalRoleRule struct { - ApiGroups []string `pulumi:"apiGroups"` - NonResourceUrls []string `pulumi:"nonResourceUrls"` - ResourceNames []string `pulumi:"resourceNames"` - Resources []string `pulumi:"resources"` - Verbs []string `pulumi:"verbs"` -} - -// GetGlobalRoleRuleInput is an input type that accepts GetGlobalRoleRuleArgs and GetGlobalRoleRuleOutput values. -// You can construct a concrete instance of `GetGlobalRoleRuleInput` via: -// -// GetGlobalRoleRuleArgs{...} -type GetGlobalRoleRuleInput interface { - pulumi.Input - - ToGetGlobalRoleRuleOutput() GetGlobalRoleRuleOutput - ToGetGlobalRoleRuleOutputWithContext(context.Context) GetGlobalRoleRuleOutput -} - -type GetGlobalRoleRuleArgs struct { - ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` - NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` - ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` - Resources pulumi.StringArrayInput `pulumi:"resources"` - Verbs pulumi.StringArrayInput `pulumi:"verbs"` -} - -func (GetGlobalRoleRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetGlobalRoleRule)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigOutput) } -func (i GetGlobalRoleRuleArgs) ToGetGlobalRoleRuleOutput() GetGlobalRoleRuleOutput { - return i.ToGetGlobalRoleRuleOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigPtrOutput) CisScanConfig() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfig) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { + if v == nil { + return nil + } + return &v.CisScanConfig + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -func (i GetGlobalRoleRuleArgs) ToGetGlobalRoleRuleOutputWithContext(ctx context.Context) GetGlobalRoleRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetGlobalRoleRuleOutput) +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig struct { + DebugMaster *bool `pulumi:"debugMaster"` + DebugWorker *bool `pulumi:"debugWorker"` + OverrideBenchmarkVersion *string `pulumi:"overrideBenchmarkVersion"` + OverrideSkips []string `pulumi:"overrideSkips"` + Profile *string `pulumi:"profile"` } -// GetGlobalRoleRuleArrayInput is an input type that accepts GetGlobalRoleRuleArray and GetGlobalRoleRuleArrayOutput values. -// You can construct a concrete instance of `GetGlobalRoleRuleArrayInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput` via: // -// GetGlobalRoleRuleArray{ GetGlobalRoleRuleArgs{...} } -type GetGlobalRoleRuleArrayInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigInput interface { pulumi.Input - ToGetGlobalRoleRuleArrayOutput() GetGlobalRoleRuleArrayOutput - ToGetGlobalRoleRuleArrayOutputWithContext(context.Context) GetGlobalRoleRuleArrayOutput -} - -type GetGlobalRoleRuleArray []GetGlobalRoleRuleInput - -func (GetGlobalRoleRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetGlobalRoleRule)(nil)).Elem() -} - -func (i GetGlobalRoleRuleArray) ToGetGlobalRoleRuleArrayOutput() GetGlobalRoleRuleArrayOutput { - return i.ToGetGlobalRoleRuleArrayOutputWithContext(context.Background()) -} - -func (i GetGlobalRoleRuleArray) ToGetGlobalRoleRuleArrayOutputWithContext(ctx context.Context) GetGlobalRoleRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetGlobalRoleRuleArrayOutput) -} - -type GetGlobalRoleRuleOutput struct{ *pulumi.OutputState } - -func (GetGlobalRoleRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetGlobalRoleRule)(nil)).Elem() -} - -func (o GetGlobalRoleRuleOutput) ToGetGlobalRoleRuleOutput() GetGlobalRoleRuleOutput { - return o + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput } -func (o GetGlobalRoleRuleOutput) ToGetGlobalRoleRuleOutputWithContext(ctx context.Context) GetGlobalRoleRuleOutput { - return o +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs struct { + DebugMaster pulumi.BoolPtrInput `pulumi:"debugMaster"` + DebugWorker pulumi.BoolPtrInput `pulumi:"debugWorker"` + OverrideBenchmarkVersion pulumi.StringPtrInput `pulumi:"overrideBenchmarkVersion"` + OverrideSkips pulumi.StringArrayInput `pulumi:"overrideSkips"` + Profile pulumi.StringPtrInput `pulumi:"profile"` } -func (o GetGlobalRoleRuleOutput) ApiGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetGlobalRoleRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (o GetGlobalRoleRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetGlobalRoleRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(context.Background()) } -func (o GetGlobalRoleRuleOutput) ResourceNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetGlobalRoleRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) } -func (o GetGlobalRoleRuleOutput) Resources() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetGlobalRoleRule) []string { return v.Resources }).(pulumi.StringArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) } -func (o GetGlobalRoleRuleOutput) Verbs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetGlobalRoleRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput).ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx) } -type GetGlobalRoleRuleArrayOutput struct{ *pulumi.OutputState } +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs, GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtr and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput` via: +// +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput interface { + pulumi.Input -func (GetGlobalRoleRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetGlobalRoleRule)(nil)).Elem() + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput } -func (o GetGlobalRoleRuleArrayOutput) ToGetGlobalRoleRuleArrayOutput() GetGlobalRoleRuleArrayOutput { - return o +type getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs + +func GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtr(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType)(v) } -func (o GetGlobalRoleRuleArrayOutput) ToGetGlobalRoleRuleArrayOutputWithContext(ctx context.Context) GetGlobalRoleRuleArrayOutput { - return o +func (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (o GetGlobalRoleRuleArrayOutput) Index(i pulumi.IntInput) GetGlobalRoleRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetGlobalRoleRule { - return vs[0].([]GetGlobalRoleRule)[vs[1].(int)] - }).(GetGlobalRoleRuleOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) } -type GetMultiClusterAppAnswer struct { - ClusterId string `pulumi:"clusterId"` - ProjectId string `pulumi:"projectId"` - Values map[string]interface{} `pulumi:"values"` +func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -// GetMultiClusterAppAnswerInput is an input type that accepts GetMultiClusterAppAnswerArgs and GetMultiClusterAppAnswerOutput values. -// You can construct a concrete instance of `GetMultiClusterAppAnswerInput` via: -// -// GetMultiClusterAppAnswerArgs{...} -type GetMultiClusterAppAnswerInput interface { - pulumi.Input +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput struct{ *pulumi.OutputState } - ToGetMultiClusterAppAnswerOutput() GetMultiClusterAppAnswerOutput - ToGetMultiClusterAppAnswerOutputWithContext(context.Context) GetMultiClusterAppAnswerOutput +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -type GetMultiClusterAppAnswerArgs struct { - ClusterId pulumi.StringInput `pulumi:"clusterId"` - ProjectId pulumi.StringInput `pulumi:"projectId"` - Values pulumi.MapInput `pulumi:"values"` +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { + return o } -func (GetMultiClusterAppAnswerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMultiClusterAppAnswer)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { + return o } -func (i GetMultiClusterAppAnswerArgs) ToGetMultiClusterAppAnswerOutput() GetMultiClusterAppAnswerOutput { - return i.ToGetMultiClusterAppAnswerOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(context.Background()) } -func (i GetMultiClusterAppAnswerArgs) ToGetMultiClusterAppAnswerOutputWithContext(ctx context.Context) GetMultiClusterAppAnswerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppAnswerOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) } -// GetMultiClusterAppAnswerArrayInput is an input type that accepts GetMultiClusterAppAnswerArray and GetMultiClusterAppAnswerArrayOutput values. -// You can construct a concrete instance of `GetMultiClusterAppAnswerArrayInput` via: -// -// GetMultiClusterAppAnswerArray{ GetMultiClusterAppAnswerArgs{...} } -type GetMultiClusterAppAnswerArrayInput interface { - pulumi.Input - - ToGetMultiClusterAppAnswerArrayOutput() GetMultiClusterAppAnswerArrayOutput - ToGetMultiClusterAppAnswerArrayOutputWithContext(context.Context) GetMultiClusterAppAnswerArrayOutput +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) DebugMaster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { + return v.DebugMaster + }).(pulumi.BoolPtrOutput) } -type GetMultiClusterAppAnswerArray []GetMultiClusterAppAnswerInput +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) DebugWorker() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { + return v.DebugWorker + }).(pulumi.BoolPtrOutput) +} -func (GetMultiClusterAppAnswerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMultiClusterAppAnswer)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { + return v.OverrideBenchmarkVersion + }).(pulumi.StringPtrOutput) } -func (i GetMultiClusterAppAnswerArray) ToGetMultiClusterAppAnswerArrayOutput() GetMultiClusterAppAnswerArrayOutput { - return i.ToGetMultiClusterAppAnswerArrayOutputWithContext(context.Background()) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) OverrideSkips() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) []string { + return v.OverrideSkips + }).(pulumi.StringArrayOutput) } -func (i GetMultiClusterAppAnswerArray) ToGetMultiClusterAppAnswerArrayOutputWithContext(ctx context.Context) GetMultiClusterAppAnswerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppAnswerArrayOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) Profile() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { + return v.Profile + }).(pulumi.StringPtrOutput) } -type GetMultiClusterAppAnswerOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput struct{ *pulumi.OutputState } -func (GetMultiClusterAppAnswerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMultiClusterAppAnswer)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig)(nil)).Elem() } -func (o GetMultiClusterAppAnswerOutput) ToGetMultiClusterAppAnswerOutput() GetMultiClusterAppAnswerOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { return o } -func (o GetMultiClusterAppAnswerOutput) ToGetMultiClusterAppAnswerOutputWithContext(ctx context.Context) GetMultiClusterAppAnswerOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput { return o } -func (o GetMultiClusterAppAnswerOutput) ClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetMultiClusterAppAnswer) string { return v.ClusterId }).(pulumi.StringOutput) -} - -func (o GetMultiClusterAppAnswerOutput) ProjectId() pulumi.StringOutput { - return o.ApplyT(func(v GetMultiClusterAppAnswer) string { return v.ProjectId }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigOutput) } -func (o GetMultiClusterAppAnswerOutput) Values() pulumi.MapOutput { - return o.ApplyT(func(v GetMultiClusterAppAnswer) map[string]interface{} { return v.Values }).(pulumi.MapOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugMaster() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { + if v == nil { + return nil + } + return v.DebugMaster + }).(pulumi.BoolPtrOutput) } -type GetMultiClusterAppAnswerArrayOutput struct{ *pulumi.OutputState } - -func (GetMultiClusterAppAnswerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMultiClusterAppAnswer)(nil)).Elem() +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) DebugWorker() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *bool { + if v == nil { + return nil + } + return v.DebugWorker + }).(pulumi.BoolPtrOutput) } -func (o GetMultiClusterAppAnswerArrayOutput) ToGetMultiClusterAppAnswerArrayOutput() GetMultiClusterAppAnswerArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideBenchmarkVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { + if v == nil { + return nil + } + return v.OverrideBenchmarkVersion + }).(pulumi.StringPtrOutput) } -func (o GetMultiClusterAppAnswerArrayOutput) ToGetMultiClusterAppAnswerArrayOutputWithContext(ctx context.Context) GetMultiClusterAppAnswerArrayOutput { - return o +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) OverrideSkips() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) []string { + if v == nil { + return nil + } + return v.OverrideSkips + }).(pulumi.StringArrayOutput) } -func (o GetMultiClusterAppAnswerArrayOutput) Index(i pulumi.IntInput) GetMultiClusterAppAnswerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMultiClusterAppAnswer { - return vs[0].([]GetMultiClusterAppAnswer)[vs[1].(int)] - }).(GetMultiClusterAppAnswerOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigPtrOutput) Profile() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfig) *string { + if v == nil { + return nil + } + return v.Profile + }).(pulumi.StringPtrOutput) } -type GetMultiClusterAppMember struct { - AccessType *string `pulumi:"accessType"` - GroupPrincipalId *string `pulumi:"groupPrincipalId"` - UserPrincipalId *string `pulumi:"userPrincipalId"` +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig struct { + CronSchedule string `pulumi:"cronSchedule"` + Retention int `pulumi:"retention"` } -// GetMultiClusterAppMemberInput is an input type that accepts GetMultiClusterAppMemberArgs and GetMultiClusterAppMemberOutput values. -// You can construct a concrete instance of `GetMultiClusterAppMemberInput` via: +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput` via: // -// GetMultiClusterAppMemberArgs{...} -type GetMultiClusterAppMemberInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs{...} +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigInput interface { pulumi.Input - ToGetMultiClusterAppMemberOutput() GetMultiClusterAppMemberOutput - ToGetMultiClusterAppMemberOutputWithContext(context.Context) GetMultiClusterAppMemberOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput } -type GetMultiClusterAppMemberArgs struct { - AccessType pulumi.StringPtrInput `pulumi:"accessType"` - GroupPrincipalId pulumi.StringPtrInput `pulumi:"groupPrincipalId"` - UserPrincipalId pulumi.StringPtrInput `pulumi:"userPrincipalId"` +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs struct { + CronSchedule pulumi.StringInput `pulumi:"cronSchedule"` + Retention pulumi.IntInput `pulumi:"retention"` } -func (GetMultiClusterAppMemberArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMultiClusterAppMember)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (i GetMultiClusterAppMemberArgs) ToGetMultiClusterAppMemberOutput() GetMultiClusterAppMemberOutput { - return i.ToGetMultiClusterAppMemberOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(context.Background()) } -func (i GetMultiClusterAppMemberArgs) ToGetMultiClusterAppMemberOutputWithContext(ctx context.Context) GetMultiClusterAppMemberOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppMemberOutput) +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) } -// GetMultiClusterAppMemberArrayInput is an input type that accepts GetMultiClusterAppMemberArray and GetMultiClusterAppMemberArrayOutput values. -// You can construct a concrete instance of `GetMultiClusterAppMemberArrayInput` via: +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) +} + +func (i GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput).ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx) +} + +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput is an input type that accepts GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs, GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtr and GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput` via: // -// GetMultiClusterAppMemberArray{ GetMultiClusterAppMemberArgs{...} } -type GetMultiClusterAppMemberArrayInput interface { +// GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs{...} +// +// or: +// +// nil +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput interface { pulumi.Input - ToGetMultiClusterAppMemberArrayOutput() GetMultiClusterAppMemberArrayOutput - ToGetMultiClusterAppMemberArrayOutputWithContext(context.Context) GetMultiClusterAppMemberArrayOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput + ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput } -type GetMultiClusterAppMemberArray []GetMultiClusterAppMemberInput +type getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs -func (GetMultiClusterAppMemberArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMultiClusterAppMember)(nil)).Elem() +func GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtr(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrInput { + return (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType)(v) } -func (i GetMultiClusterAppMemberArray) ToGetMultiClusterAppMemberArrayOutput() GetMultiClusterAppMemberArrayOutput { - return i.ToGetMultiClusterAppMemberArrayOutputWithContext(context.Background()) +func (*getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (i GetMultiClusterAppMemberArray) ToGetMultiClusterAppMemberArrayOutputWithContext(ctx context.Context) GetMultiClusterAppMemberArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppMemberArrayOutput) +func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return i.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) } -type GetMultiClusterAppMemberOutput struct{ *pulumi.OutputState } +func (i *getClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrType) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) +} -func (GetMultiClusterAppMemberOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMultiClusterAppMember)(nil)).Elem() +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (o GetMultiClusterAppMemberOutput) ToGetMultiClusterAppMemberOutput() GetMultiClusterAppMemberOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { return o } -func (o GetMultiClusterAppMemberOutput) ToGetMultiClusterAppMemberOutputWithContext(ctx context.Context) GetMultiClusterAppMemberOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { return o } -func (o GetMultiClusterAppMemberOutput) AccessType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMultiClusterAppMember) *string { return v.AccessType }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return o.ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(context.Background()) } -func (o GetMultiClusterAppMemberOutput) GroupPrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMultiClusterAppMember) *string { return v.GroupPrincipalId }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { + return &v + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) } -func (o GetMultiClusterAppMemberOutput) UserPrincipalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetMultiClusterAppMember) *string { return v.UserPrincipalId }).(pulumi.StringPtrOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) CronSchedule() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) string { + return v.CronSchedule + }).(pulumi.StringOutput) } -type GetMultiClusterAppMemberArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) Retention() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) int { + return v.Retention + }).(pulumi.IntOutput) +} -func (GetMultiClusterAppMemberArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMultiClusterAppMember)(nil)).Elem() +type GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput struct{ *pulumi.OutputState } + +func (GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig)(nil)).Elem() } -func (o GetMultiClusterAppMemberArrayOutput) ToGetMultiClusterAppMemberArrayOutput() GetMultiClusterAppMemberArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { return o } -func (o GetMultiClusterAppMemberArrayOutput) ToGetMultiClusterAppMemberArrayOutputWithContext(ctx context.Context) GetMultiClusterAppMemberArrayOutput { +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) ToGetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput { return o } -func (o GetMultiClusterAppMemberArrayOutput) Index(i pulumi.IntInput) GetMultiClusterAppMemberOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMultiClusterAppMember { - return vs[0].([]GetMultiClusterAppMember)[vs[1].(int)] - }).(GetMultiClusterAppMemberOutput) +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) Elem() GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig { + if v != nil { + return *v + } + var ret GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig + return ret + }).(GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigOutput) } -type GetMultiClusterAppTarget struct { - AppId string `pulumi:"appId"` - HealthState string `pulumi:"healthState"` - ProjectId string `pulumi:"projectId"` - State string `pulumi:"state"` +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) CronSchedule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *string { + if v == nil { + return nil + } + return &v.CronSchedule + }).(pulumi.StringPtrOutput) } -// GetMultiClusterAppTargetInput is an input type that accepts GetMultiClusterAppTargetArgs and GetMultiClusterAppTargetOutput values. -// You can construct a concrete instance of `GetMultiClusterAppTargetInput` via: +func (o GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigPtrOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfig) *int { + if v == nil { + return nil + } + return &v.Retention + }).(pulumi.IntPtrOutput) +} + +type GetClusterTemplateTemplateRevisionQuestion struct { + Default string `pulumi:"default"` + Required *bool `pulumi:"required"` + Type *string `pulumi:"type"` + Variable string `pulumi:"variable"` +} + +// GetClusterTemplateTemplateRevisionQuestionInput is an input type that accepts GetClusterTemplateTemplateRevisionQuestionArgs and GetClusterTemplateTemplateRevisionQuestionOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionQuestionInput` via: // -// GetMultiClusterAppTargetArgs{...} -type GetMultiClusterAppTargetInput interface { +// GetClusterTemplateTemplateRevisionQuestionArgs{...} +type GetClusterTemplateTemplateRevisionQuestionInput interface { pulumi.Input - ToGetMultiClusterAppTargetOutput() GetMultiClusterAppTargetOutput - ToGetMultiClusterAppTargetOutputWithContext(context.Context) GetMultiClusterAppTargetOutput + ToGetClusterTemplateTemplateRevisionQuestionOutput() GetClusterTemplateTemplateRevisionQuestionOutput + ToGetClusterTemplateTemplateRevisionQuestionOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionQuestionOutput } -type GetMultiClusterAppTargetArgs struct { - AppId pulumi.StringInput `pulumi:"appId"` - HealthState pulumi.StringInput `pulumi:"healthState"` - ProjectId pulumi.StringInput `pulumi:"projectId"` - State pulumi.StringInput `pulumi:"state"` +type GetClusterTemplateTemplateRevisionQuestionArgs struct { + Default pulumi.StringInput `pulumi:"default"` + Required pulumi.BoolPtrInput `pulumi:"required"` + Type pulumi.StringPtrInput `pulumi:"type"` + Variable pulumi.StringInput `pulumi:"variable"` } -func (GetMultiClusterAppTargetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMultiClusterAppTarget)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionQuestionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionQuestion)(nil)).Elem() } -func (i GetMultiClusterAppTargetArgs) ToGetMultiClusterAppTargetOutput() GetMultiClusterAppTargetOutput { - return i.ToGetMultiClusterAppTargetOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionQuestionArgs) ToGetClusterTemplateTemplateRevisionQuestionOutput() GetClusterTemplateTemplateRevisionQuestionOutput { + return i.ToGetClusterTemplateTemplateRevisionQuestionOutputWithContext(context.Background()) } -func (i GetMultiClusterAppTargetArgs) ToGetMultiClusterAppTargetOutputWithContext(ctx context.Context) GetMultiClusterAppTargetOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppTargetOutput) +func (i GetClusterTemplateTemplateRevisionQuestionArgs) ToGetClusterTemplateTemplateRevisionQuestionOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionQuestionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionQuestionOutput) } -// GetMultiClusterAppTargetArrayInput is an input type that accepts GetMultiClusterAppTargetArray and GetMultiClusterAppTargetArrayOutput values. -// You can construct a concrete instance of `GetMultiClusterAppTargetArrayInput` via: +// GetClusterTemplateTemplateRevisionQuestionArrayInput is an input type that accepts GetClusterTemplateTemplateRevisionQuestionArray and GetClusterTemplateTemplateRevisionQuestionArrayOutput values. +// You can construct a concrete instance of `GetClusterTemplateTemplateRevisionQuestionArrayInput` via: // -// GetMultiClusterAppTargetArray{ GetMultiClusterAppTargetArgs{...} } -type GetMultiClusterAppTargetArrayInput interface { +// GetClusterTemplateTemplateRevisionQuestionArray{ GetClusterTemplateTemplateRevisionQuestionArgs{...} } +type GetClusterTemplateTemplateRevisionQuestionArrayInput interface { pulumi.Input - ToGetMultiClusterAppTargetArrayOutput() GetMultiClusterAppTargetArrayOutput - ToGetMultiClusterAppTargetArrayOutputWithContext(context.Context) GetMultiClusterAppTargetArrayOutput + ToGetClusterTemplateTemplateRevisionQuestionArrayOutput() GetClusterTemplateTemplateRevisionQuestionArrayOutput + ToGetClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(context.Context) GetClusterTemplateTemplateRevisionQuestionArrayOutput } -type GetMultiClusterAppTargetArray []GetMultiClusterAppTargetInput +type GetClusterTemplateTemplateRevisionQuestionArray []GetClusterTemplateTemplateRevisionQuestionInput -func (GetMultiClusterAppTargetArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMultiClusterAppTarget)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionQuestionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionQuestion)(nil)).Elem() } -func (i GetMultiClusterAppTargetArray) ToGetMultiClusterAppTargetArrayOutput() GetMultiClusterAppTargetArrayOutput { - return i.ToGetMultiClusterAppTargetArrayOutputWithContext(context.Background()) +func (i GetClusterTemplateTemplateRevisionQuestionArray) ToGetClusterTemplateTemplateRevisionQuestionArrayOutput() GetClusterTemplateTemplateRevisionQuestionArrayOutput { + return i.ToGetClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(context.Background()) } -func (i GetMultiClusterAppTargetArray) ToGetMultiClusterAppTargetArrayOutputWithContext(ctx context.Context) GetMultiClusterAppTargetArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppTargetArrayOutput) +func (i GetClusterTemplateTemplateRevisionQuestionArray) ToGetClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionQuestionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterTemplateTemplateRevisionQuestionArrayOutput) } -type GetMultiClusterAppTargetOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionQuestionOutput struct{ *pulumi.OutputState } -func (GetMultiClusterAppTargetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMultiClusterAppTarget)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionQuestionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterTemplateTemplateRevisionQuestion)(nil)).Elem() } -func (o GetMultiClusterAppTargetOutput) ToGetMultiClusterAppTargetOutput() GetMultiClusterAppTargetOutput { +func (o GetClusterTemplateTemplateRevisionQuestionOutput) ToGetClusterTemplateTemplateRevisionQuestionOutput() GetClusterTemplateTemplateRevisionQuestionOutput { return o } -func (o GetMultiClusterAppTargetOutput) ToGetMultiClusterAppTargetOutputWithContext(ctx context.Context) GetMultiClusterAppTargetOutput { +func (o GetClusterTemplateTemplateRevisionQuestionOutput) ToGetClusterTemplateTemplateRevisionQuestionOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionQuestionOutput { return o } -func (o GetMultiClusterAppTargetOutput) AppId() pulumi.StringOutput { - return o.ApplyT(func(v GetMultiClusterAppTarget) string { return v.AppId }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionQuestionOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionQuestion) string { return v.Default }).(pulumi.StringOutput) } -func (o GetMultiClusterAppTargetOutput) HealthState() pulumi.StringOutput { - return o.ApplyT(func(v GetMultiClusterAppTarget) string { return v.HealthState }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionQuestionOutput) Required() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionQuestion) *bool { return v.Required }).(pulumi.BoolPtrOutput) } -func (o GetMultiClusterAppTargetOutput) ProjectId() pulumi.StringOutput { - return o.ApplyT(func(v GetMultiClusterAppTarget) string { return v.ProjectId }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionQuestionOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionQuestion) *string { return v.Type }).(pulumi.StringPtrOutput) } -func (o GetMultiClusterAppTargetOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetMultiClusterAppTarget) string { return v.State }).(pulumi.StringOutput) +func (o GetClusterTemplateTemplateRevisionQuestionOutput) Variable() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterTemplateTemplateRevisionQuestion) string { return v.Variable }).(pulumi.StringOutput) } -type GetMultiClusterAppTargetArrayOutput struct{ *pulumi.OutputState } +type GetClusterTemplateTemplateRevisionQuestionArrayOutput struct{ *pulumi.OutputState } -func (GetMultiClusterAppTargetArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMultiClusterAppTarget)(nil)).Elem() +func (GetClusterTemplateTemplateRevisionQuestionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterTemplateTemplateRevisionQuestion)(nil)).Elem() } -func (o GetMultiClusterAppTargetArrayOutput) ToGetMultiClusterAppTargetArrayOutput() GetMultiClusterAppTargetArrayOutput { +func (o GetClusterTemplateTemplateRevisionQuestionArrayOutput) ToGetClusterTemplateTemplateRevisionQuestionArrayOutput() GetClusterTemplateTemplateRevisionQuestionArrayOutput { return o } -func (o GetMultiClusterAppTargetArrayOutput) ToGetMultiClusterAppTargetArrayOutputWithContext(ctx context.Context) GetMultiClusterAppTargetArrayOutput { +func (o GetClusterTemplateTemplateRevisionQuestionArrayOutput) ToGetClusterTemplateTemplateRevisionQuestionArrayOutputWithContext(ctx context.Context) GetClusterTemplateTemplateRevisionQuestionArrayOutput { return o } -func (o GetMultiClusterAppTargetArrayOutput) Index(i pulumi.IntInput) GetMultiClusterAppTargetOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMultiClusterAppTarget { - return vs[0].([]GetMultiClusterAppTarget)[vs[1].(int)] - }).(GetMultiClusterAppTargetOutput) +func (o GetClusterTemplateTemplateRevisionQuestionArrayOutput) Index(i pulumi.IntInput) GetClusterTemplateTemplateRevisionQuestionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterTemplateTemplateRevisionQuestion { + return vs[0].([]GetClusterTemplateTemplateRevisionQuestion)[vs[1].(int)] + }).(GetClusterTemplateTemplateRevisionQuestionOutput) } -type GetMultiClusterAppUpgradeStrategy struct { - RollingUpdate *GetMultiClusterAppUpgradeStrategyRollingUpdate `pulumi:"rollingUpdate"` +type GetClusterV2AgentEnvVar struct { + // The name of the Cluster v2 (string) + Name string `pulumi:"name"` + Value string `pulumi:"value"` } -// GetMultiClusterAppUpgradeStrategyInput is an input type that accepts GetMultiClusterAppUpgradeStrategyArgs and GetMultiClusterAppUpgradeStrategyOutput values. -// You can construct a concrete instance of `GetMultiClusterAppUpgradeStrategyInput` via: +// GetClusterV2AgentEnvVarInput is an input type that accepts GetClusterV2AgentEnvVarArgs and GetClusterV2AgentEnvVarOutput values. +// You can construct a concrete instance of `GetClusterV2AgentEnvVarInput` via: // -// GetMultiClusterAppUpgradeStrategyArgs{...} -type GetMultiClusterAppUpgradeStrategyInput interface { +// GetClusterV2AgentEnvVarArgs{...} +type GetClusterV2AgentEnvVarInput interface { pulumi.Input - ToGetMultiClusterAppUpgradeStrategyOutput() GetMultiClusterAppUpgradeStrategyOutput - ToGetMultiClusterAppUpgradeStrategyOutputWithContext(context.Context) GetMultiClusterAppUpgradeStrategyOutput + ToGetClusterV2AgentEnvVarOutput() GetClusterV2AgentEnvVarOutput + ToGetClusterV2AgentEnvVarOutputWithContext(context.Context) GetClusterV2AgentEnvVarOutput } -type GetMultiClusterAppUpgradeStrategyArgs struct { - RollingUpdate GetMultiClusterAppUpgradeStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` +type GetClusterV2AgentEnvVarArgs struct { + // The name of the Cluster v2 (string) + Name pulumi.StringInput `pulumi:"name"` + Value pulumi.StringInput `pulumi:"value"` } -func (GetMultiClusterAppUpgradeStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMultiClusterAppUpgradeStrategy)(nil)).Elem() +func (GetClusterV2AgentEnvVarArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2AgentEnvVar)(nil)).Elem() } -func (i GetMultiClusterAppUpgradeStrategyArgs) ToGetMultiClusterAppUpgradeStrategyOutput() GetMultiClusterAppUpgradeStrategyOutput { - return i.ToGetMultiClusterAppUpgradeStrategyOutputWithContext(context.Background()) +func (i GetClusterV2AgentEnvVarArgs) ToGetClusterV2AgentEnvVarOutput() GetClusterV2AgentEnvVarOutput { + return i.ToGetClusterV2AgentEnvVarOutputWithContext(context.Background()) } -func (i GetMultiClusterAppUpgradeStrategyArgs) ToGetMultiClusterAppUpgradeStrategyOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppUpgradeStrategyOutput) +func (i GetClusterV2AgentEnvVarArgs) ToGetClusterV2AgentEnvVarOutputWithContext(ctx context.Context) GetClusterV2AgentEnvVarOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2AgentEnvVarOutput) } -// GetMultiClusterAppUpgradeStrategyArrayInput is an input type that accepts GetMultiClusterAppUpgradeStrategyArray and GetMultiClusterAppUpgradeStrategyArrayOutput values. -// You can construct a concrete instance of `GetMultiClusterAppUpgradeStrategyArrayInput` via: +// GetClusterV2AgentEnvVarArrayInput is an input type that accepts GetClusterV2AgentEnvVarArray and GetClusterV2AgentEnvVarArrayOutput values. +// You can construct a concrete instance of `GetClusterV2AgentEnvVarArrayInput` via: // -// GetMultiClusterAppUpgradeStrategyArray{ GetMultiClusterAppUpgradeStrategyArgs{...} } -type GetMultiClusterAppUpgradeStrategyArrayInput interface { +// GetClusterV2AgentEnvVarArray{ GetClusterV2AgentEnvVarArgs{...} } +type GetClusterV2AgentEnvVarArrayInput interface { pulumi.Input - ToGetMultiClusterAppUpgradeStrategyArrayOutput() GetMultiClusterAppUpgradeStrategyArrayOutput - ToGetMultiClusterAppUpgradeStrategyArrayOutputWithContext(context.Context) GetMultiClusterAppUpgradeStrategyArrayOutput + ToGetClusterV2AgentEnvVarArrayOutput() GetClusterV2AgentEnvVarArrayOutput + ToGetClusterV2AgentEnvVarArrayOutputWithContext(context.Context) GetClusterV2AgentEnvVarArrayOutput } -type GetMultiClusterAppUpgradeStrategyArray []GetMultiClusterAppUpgradeStrategyInput +type GetClusterV2AgentEnvVarArray []GetClusterV2AgentEnvVarInput -func (GetMultiClusterAppUpgradeStrategyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMultiClusterAppUpgradeStrategy)(nil)).Elem() +func (GetClusterV2AgentEnvVarArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2AgentEnvVar)(nil)).Elem() } -func (i GetMultiClusterAppUpgradeStrategyArray) ToGetMultiClusterAppUpgradeStrategyArrayOutput() GetMultiClusterAppUpgradeStrategyArrayOutput { - return i.ToGetMultiClusterAppUpgradeStrategyArrayOutputWithContext(context.Background()) +func (i GetClusterV2AgentEnvVarArray) ToGetClusterV2AgentEnvVarArrayOutput() GetClusterV2AgentEnvVarArrayOutput { + return i.ToGetClusterV2AgentEnvVarArrayOutputWithContext(context.Background()) } -func (i GetMultiClusterAppUpgradeStrategyArray) ToGetMultiClusterAppUpgradeStrategyArrayOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppUpgradeStrategyArrayOutput) +func (i GetClusterV2AgentEnvVarArray) ToGetClusterV2AgentEnvVarArrayOutputWithContext(ctx context.Context) GetClusterV2AgentEnvVarArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2AgentEnvVarArrayOutput) } -type GetMultiClusterAppUpgradeStrategyOutput struct{ *pulumi.OutputState } +type GetClusterV2AgentEnvVarOutput struct{ *pulumi.OutputState } -func (GetMultiClusterAppUpgradeStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMultiClusterAppUpgradeStrategy)(nil)).Elem() +func (GetClusterV2AgentEnvVarOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2AgentEnvVar)(nil)).Elem() } -func (o GetMultiClusterAppUpgradeStrategyOutput) ToGetMultiClusterAppUpgradeStrategyOutput() GetMultiClusterAppUpgradeStrategyOutput { +func (o GetClusterV2AgentEnvVarOutput) ToGetClusterV2AgentEnvVarOutput() GetClusterV2AgentEnvVarOutput { return o } -func (o GetMultiClusterAppUpgradeStrategyOutput) ToGetMultiClusterAppUpgradeStrategyOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyOutput { +func (o GetClusterV2AgentEnvVarOutput) ToGetClusterV2AgentEnvVarOutputWithContext(ctx context.Context) GetClusterV2AgentEnvVarOutput { return o } -func (o GetMultiClusterAppUpgradeStrategyOutput) RollingUpdate() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o.ApplyT(func(v GetMultiClusterAppUpgradeStrategy) *GetMultiClusterAppUpgradeStrategyRollingUpdate { - return v.RollingUpdate - }).(GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) +// The name of the Cluster v2 (string) +func (o GetClusterV2AgentEnvVarOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2AgentEnvVar) string { return v.Name }).(pulumi.StringOutput) } -type GetMultiClusterAppUpgradeStrategyArrayOutput struct{ *pulumi.OutputState } +func (o GetClusterV2AgentEnvVarOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2AgentEnvVar) string { return v.Value }).(pulumi.StringOutput) +} -func (GetMultiClusterAppUpgradeStrategyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetMultiClusterAppUpgradeStrategy)(nil)).Elem() +type GetClusterV2AgentEnvVarArrayOutput struct{ *pulumi.OutputState } + +func (GetClusterV2AgentEnvVarArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2AgentEnvVar)(nil)).Elem() } -func (o GetMultiClusterAppUpgradeStrategyArrayOutput) ToGetMultiClusterAppUpgradeStrategyArrayOutput() GetMultiClusterAppUpgradeStrategyArrayOutput { +func (o GetClusterV2AgentEnvVarArrayOutput) ToGetClusterV2AgentEnvVarArrayOutput() GetClusterV2AgentEnvVarArrayOutput { return o } -func (o GetMultiClusterAppUpgradeStrategyArrayOutput) ToGetMultiClusterAppUpgradeStrategyArrayOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyArrayOutput { +func (o GetClusterV2AgentEnvVarArrayOutput) ToGetClusterV2AgentEnvVarArrayOutputWithContext(ctx context.Context) GetClusterV2AgentEnvVarArrayOutput { return o } -func (o GetMultiClusterAppUpgradeStrategyArrayOutput) Index(i pulumi.IntInput) GetMultiClusterAppUpgradeStrategyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMultiClusterAppUpgradeStrategy { - return vs[0].([]GetMultiClusterAppUpgradeStrategy)[vs[1].(int)] - }).(GetMultiClusterAppUpgradeStrategyOutput) +func (o GetClusterV2AgentEnvVarArrayOutput) Index(i pulumi.IntInput) GetClusterV2AgentEnvVarOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2AgentEnvVar { + return vs[0].([]GetClusterV2AgentEnvVar)[vs[1].(int)] + }).(GetClusterV2AgentEnvVarOutput) } -type GetMultiClusterAppUpgradeStrategyRollingUpdate struct { - BatchSize *int `pulumi:"batchSize"` - Interval *int `pulumi:"interval"` +type GetClusterV2ClusterRegistrationToken struct { + Annotations map[string]interface{} `pulumi:"annotations"` + ClusterId string `pulumi:"clusterId"` + Command string `pulumi:"command"` + // (Computed) The ID of the resource (string) + Id string `pulumi:"id"` + InsecureCommand string `pulumi:"insecureCommand"` + InsecureNodeCommand string `pulumi:"insecureNodeCommand"` + InsecureWindowsNodeCommand string `pulumi:"insecureWindowsNodeCommand"` + Labels map[string]interface{} `pulumi:"labels"` + ManifestUrl string `pulumi:"manifestUrl"` + // The name of the Cluster v2 (string) + Name string `pulumi:"name"` + NodeCommand string `pulumi:"nodeCommand"` + Token string `pulumi:"token"` + WindowsNodeCommand string `pulumi:"windowsNodeCommand"` } -// GetMultiClusterAppUpgradeStrategyRollingUpdateInput is an input type that accepts GetMultiClusterAppUpgradeStrategyRollingUpdateArgs and GetMultiClusterAppUpgradeStrategyRollingUpdateOutput values. -// You can construct a concrete instance of `GetMultiClusterAppUpgradeStrategyRollingUpdateInput` via: +// GetClusterV2ClusterRegistrationTokenInput is an input type that accepts GetClusterV2ClusterRegistrationTokenArgs and GetClusterV2ClusterRegistrationTokenOutput values. +// You can construct a concrete instance of `GetClusterV2ClusterRegistrationTokenInput` via: // -// GetMultiClusterAppUpgradeStrategyRollingUpdateArgs{...} -type GetMultiClusterAppUpgradeStrategyRollingUpdateInput interface { +// GetClusterV2ClusterRegistrationTokenArgs{...} +type GetClusterV2ClusterRegistrationTokenInput interface { pulumi.Input - ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutput() GetMultiClusterAppUpgradeStrategyRollingUpdateOutput - ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdateOutput + ToGetClusterV2ClusterRegistrationTokenOutput() GetClusterV2ClusterRegistrationTokenOutput + ToGetClusterV2ClusterRegistrationTokenOutputWithContext(context.Context) GetClusterV2ClusterRegistrationTokenOutput } -type GetMultiClusterAppUpgradeStrategyRollingUpdateArgs struct { - BatchSize pulumi.IntPtrInput `pulumi:"batchSize"` - Interval pulumi.IntPtrInput `pulumi:"interval"` +type GetClusterV2ClusterRegistrationTokenArgs struct { + Annotations pulumi.MapInput `pulumi:"annotations"` + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Command pulumi.StringInput `pulumi:"command"` + // (Computed) The ID of the resource (string) + Id pulumi.StringInput `pulumi:"id"` + InsecureCommand pulumi.StringInput `pulumi:"insecureCommand"` + InsecureNodeCommand pulumi.StringInput `pulumi:"insecureNodeCommand"` + InsecureWindowsNodeCommand pulumi.StringInput `pulumi:"insecureWindowsNodeCommand"` + Labels pulumi.MapInput `pulumi:"labels"` + ManifestUrl pulumi.StringInput `pulumi:"manifestUrl"` + // The name of the Cluster v2 (string) + Name pulumi.StringInput `pulumi:"name"` + NodeCommand pulumi.StringInput `pulumi:"nodeCommand"` + Token pulumi.StringInput `pulumi:"token"` + WindowsNodeCommand pulumi.StringInput `pulumi:"windowsNodeCommand"` } -func (GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetMultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() +func (GetClusterV2ClusterRegistrationTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2ClusterRegistrationToken)(nil)).Elem() } -func (i GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutput() GetMultiClusterAppUpgradeStrategyRollingUpdateOutput { - return i.ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(context.Background()) +func (i GetClusterV2ClusterRegistrationTokenArgs) ToGetClusterV2ClusterRegistrationTokenOutput() GetClusterV2ClusterRegistrationTokenOutput { + return i.ToGetClusterV2ClusterRegistrationTokenOutputWithContext(context.Background()) } -func (i GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdateOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) +func (i GetClusterV2ClusterRegistrationTokenArgs) ToGetClusterV2ClusterRegistrationTokenOutputWithContext(ctx context.Context) GetClusterV2ClusterRegistrationTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2ClusterRegistrationTokenOutput) } -func (i GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return i.ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) +type GetClusterV2ClusterRegistrationTokenOutput struct{ *pulumi.OutputState } + +func (GetClusterV2ClusterRegistrationTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2ClusterRegistrationToken)(nil)).Elem() } -func (i GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppUpgradeStrategyRollingUpdateOutput).ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx) +func (o GetClusterV2ClusterRegistrationTokenOutput) ToGetClusterV2ClusterRegistrationTokenOutput() GetClusterV2ClusterRegistrationTokenOutput { + return o } -// GetMultiClusterAppUpgradeStrategyRollingUpdatePtrInput is an input type that accepts GetMultiClusterAppUpgradeStrategyRollingUpdateArgs, GetMultiClusterAppUpgradeStrategyRollingUpdatePtr and GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput values. -// You can construct a concrete instance of `GetMultiClusterAppUpgradeStrategyRollingUpdatePtrInput` via: -// -// GetMultiClusterAppUpgradeStrategyRollingUpdateArgs{...} -// -// or: -// -// nil -type GetMultiClusterAppUpgradeStrategyRollingUpdatePtrInput interface { - pulumi.Input +func (o GetClusterV2ClusterRegistrationTokenOutput) ToGetClusterV2ClusterRegistrationTokenOutputWithContext(ctx context.Context) GetClusterV2ClusterRegistrationTokenOutput { + return o +} - ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput - ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput +func (o GetClusterV2ClusterRegistrationTokenOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) } -type getMultiClusterAppUpgradeStrategyRollingUpdatePtrType GetMultiClusterAppUpgradeStrategyRollingUpdateArgs +func (o GetClusterV2ClusterRegistrationTokenOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.ClusterId }).(pulumi.StringOutput) +} -func GetMultiClusterAppUpgradeStrategyRollingUpdatePtr(v *GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrInput { - return (*getMultiClusterAppUpgradeStrategyRollingUpdatePtrType)(v) +func (o GetClusterV2ClusterRegistrationTokenOutput) Command() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.Command }).(pulumi.StringOutput) } -func (*getMultiClusterAppUpgradeStrategyRollingUpdatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetMultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() +// (Computed) The ID of the resource (string) +func (o GetClusterV2ClusterRegistrationTokenOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.Id }).(pulumi.StringOutput) } -func (i *getMultiClusterAppUpgradeStrategyRollingUpdatePtrType) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return i.ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (o GetClusterV2ClusterRegistrationTokenOutput) InsecureCommand() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.InsecureCommand }).(pulumi.StringOutput) } -func (i *getMultiClusterAppUpgradeStrategyRollingUpdatePtrType) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) +func (o GetClusterV2ClusterRegistrationTokenOutput) InsecureNodeCommand() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.InsecureNodeCommand }).(pulumi.StringOutput) } -type GetMultiClusterAppUpgradeStrategyRollingUpdateOutput struct{ *pulumi.OutputState } +func (o GetClusterV2ClusterRegistrationTokenOutput) InsecureWindowsNodeCommand() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.InsecureWindowsNodeCommand }).(pulumi.StringOutput) +} -func (GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetMultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() +func (o GetClusterV2ClusterRegistrationTokenOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutput() GetMultiClusterAppUpgradeStrategyRollingUpdateOutput { - return o +func (o GetClusterV2ClusterRegistrationTokenOutput) ManifestUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.ManifestUrl }).(pulumi.StringOutput) } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdateOutput { - return o +// The name of the Cluster v2 (string) +func (o GetClusterV2ClusterRegistrationTokenOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.Name }).(pulumi.StringOutput) } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o.ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) +func (o GetClusterV2ClusterRegistrationTokenOutput) NodeCommand() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.NodeCommand }).(pulumi.StringOutput) } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMultiClusterAppUpgradeStrategyRollingUpdate) *GetMultiClusterAppUpgradeStrategyRollingUpdate { - return &v - }).(GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) +func (o GetClusterV2ClusterRegistrationTokenOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.Token }).(pulumi.StringOutput) } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) BatchSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMultiClusterAppUpgradeStrategyRollingUpdate) *int { return v.BatchSize }).(pulumi.IntPtrOutput) +func (o GetClusterV2ClusterRegistrationTokenOutput) WindowsNodeCommand() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2ClusterRegistrationToken) string { return v.WindowsNodeCommand }).(pulumi.StringOutput) } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetMultiClusterAppUpgradeStrategyRollingUpdate) *int { return v.Interval }).(pulumi.IntPtrOutput) +type GetClusterV2RkeConfig struct { + AdditionalManifest *string `pulumi:"additionalManifest"` + ChartValues *string `pulumi:"chartValues"` + Etcd GetClusterV2RkeConfigEtcd `pulumi:"etcd"` + EtcdSnapshotCreate *GetClusterV2RkeConfigEtcdSnapshotCreate `pulumi:"etcdSnapshotCreate"` + EtcdSnapshotRestore *GetClusterV2RkeConfigEtcdSnapshotRestore `pulumi:"etcdSnapshotRestore"` + // Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead + LocalAuthEndpoint *GetClusterV2RkeConfigLocalAuthEndpoint `pulumi:"localAuthEndpoint"` + MachineGlobalConfig *string `pulumi:"machineGlobalConfig"` + MachinePools []GetClusterV2RkeConfigMachinePool `pulumi:"machinePools"` + MachineSelectorConfigs []GetClusterV2RkeConfigMachineSelectorConfig `pulumi:"machineSelectorConfigs"` + Registries *GetClusterV2RkeConfigRegistries `pulumi:"registries"` + RotateCertificates *GetClusterV2RkeConfigRotateCertificates `pulumi:"rotateCertificates"` + UpgradeStrategy *GetClusterV2RkeConfigUpgradeStrategy `pulumi:"upgradeStrategy"` } -type GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } +// GetClusterV2RkeConfigInput is an input type that accepts GetClusterV2RkeConfigArgs and GetClusterV2RkeConfigOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigInput` via: +// +// GetClusterV2RkeConfigArgs{...} +type GetClusterV2RkeConfigInput interface { + pulumi.Input -func (GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetMultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() + ToGetClusterV2RkeConfigOutput() GetClusterV2RkeConfigOutput + ToGetClusterV2RkeConfigOutputWithContext(context.Context) GetClusterV2RkeConfigOutput } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o +type GetClusterV2RkeConfigArgs struct { + AdditionalManifest pulumi.StringPtrInput `pulumi:"additionalManifest"` + ChartValues pulumi.StringPtrInput `pulumi:"chartValues"` + Etcd GetClusterV2RkeConfigEtcdInput `pulumi:"etcd"` + EtcdSnapshotCreate GetClusterV2RkeConfigEtcdSnapshotCreatePtrInput `pulumi:"etcdSnapshotCreate"` + EtcdSnapshotRestore GetClusterV2RkeConfigEtcdSnapshotRestorePtrInput `pulumi:"etcdSnapshotRestore"` + // Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead + LocalAuthEndpoint GetClusterV2RkeConfigLocalAuthEndpointPtrInput `pulumi:"localAuthEndpoint"` + MachineGlobalConfig pulumi.StringPtrInput `pulumi:"machineGlobalConfig"` + MachinePools GetClusterV2RkeConfigMachinePoolArrayInput `pulumi:"machinePools"` + MachineSelectorConfigs GetClusterV2RkeConfigMachineSelectorConfigArrayInput `pulumi:"machineSelectorConfigs"` + Registries GetClusterV2RkeConfigRegistriesPtrInput `pulumi:"registries"` + RotateCertificates GetClusterV2RkeConfigRotateCertificatesPtrInput `pulumi:"rotateCertificates"` + UpgradeStrategy GetClusterV2RkeConfigUpgradeStrategyPtrInput `pulumi:"upgradeStrategy"` } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { - return o +func (GetClusterV2RkeConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfig)(nil)).Elem() } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) Elem() GetMultiClusterAppUpgradeStrategyRollingUpdateOutput { - return o.ApplyT(func(v *GetMultiClusterAppUpgradeStrategyRollingUpdate) GetMultiClusterAppUpgradeStrategyRollingUpdate { - if v != nil { - return *v - } - var ret GetMultiClusterAppUpgradeStrategyRollingUpdate - return ret - }).(GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) +func (i GetClusterV2RkeConfigArgs) ToGetClusterV2RkeConfigOutput() GetClusterV2RkeConfigOutput { + return i.ToGetClusterV2RkeConfigOutputWithContext(context.Background()) } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) BatchSize() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetMultiClusterAppUpgradeStrategyRollingUpdate) *int { - if v == nil { - return nil - } - return v.BatchSize - }).(pulumi.IntPtrOutput) +func (i GetClusterV2RkeConfigArgs) ToGetClusterV2RkeConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigOutput) } -func (o GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetMultiClusterAppUpgradeStrategyRollingUpdate) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) -} +type GetClusterV2RkeConfigOutput struct{ *pulumi.OutputState } -type GetNamespaceContainerResourceLimit struct { - LimitsCpu *string `pulumi:"limitsCpu"` - LimitsMemory *string `pulumi:"limitsMemory"` - RequestsCpu *string `pulumi:"requestsCpu"` - RequestsMemory *string `pulumi:"requestsMemory"` +func (GetClusterV2RkeConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfig)(nil)).Elem() } -// GetNamespaceContainerResourceLimitInput is an input type that accepts GetNamespaceContainerResourceLimitArgs and GetNamespaceContainerResourceLimitOutput values. -// You can construct a concrete instance of `GetNamespaceContainerResourceLimitInput` via: -// -// GetNamespaceContainerResourceLimitArgs{...} -type GetNamespaceContainerResourceLimitInput interface { - pulumi.Input +func (o GetClusterV2RkeConfigOutput) ToGetClusterV2RkeConfigOutput() GetClusterV2RkeConfigOutput { + return o +} - ToGetNamespaceContainerResourceLimitOutput() GetNamespaceContainerResourceLimitOutput - ToGetNamespaceContainerResourceLimitOutputWithContext(context.Context) GetNamespaceContainerResourceLimitOutput +func (o GetClusterV2RkeConfigOutput) ToGetClusterV2RkeConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigOutput { + return o } -type GetNamespaceContainerResourceLimitArgs struct { - LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` - LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` - RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` - RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` +func (o GetClusterV2RkeConfigOutput) AdditionalManifest() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) *string { return v.AdditionalManifest }).(pulumi.StringPtrOutput) } -func (GetNamespaceContainerResourceLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNamespaceContainerResourceLimit)(nil)).Elem() +func (o GetClusterV2RkeConfigOutput) ChartValues() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) *string { return v.ChartValues }).(pulumi.StringPtrOutput) } -func (i GetNamespaceContainerResourceLimitArgs) ToGetNamespaceContainerResourceLimitOutput() GetNamespaceContainerResourceLimitOutput { - return i.ToGetNamespaceContainerResourceLimitOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigOutput) Etcd() GetClusterV2RkeConfigEtcdOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) GetClusterV2RkeConfigEtcd { return v.Etcd }).(GetClusterV2RkeConfigEtcdOutput) } -func (i GetNamespaceContainerResourceLimitArgs) ToGetNamespaceContainerResourceLimitOutputWithContext(ctx context.Context) GetNamespaceContainerResourceLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNamespaceContainerResourceLimitOutput) +func (o GetClusterV2RkeConfigOutput) EtcdSnapshotCreate() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigEtcdSnapshotCreate { return v.EtcdSnapshotCreate }).(GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) } -type GetNamespaceContainerResourceLimitOutput struct{ *pulumi.OutputState } +func (o GetClusterV2RkeConfigOutput) EtcdSnapshotRestore() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigEtcdSnapshotRestore { return v.EtcdSnapshotRestore }).(GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) +} -func (GetNamespaceContainerResourceLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNamespaceContainerResourceLimit)(nil)).Elem() +// Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead +func (o GetClusterV2RkeConfigOutput) LocalAuthEndpoint() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigLocalAuthEndpoint { return v.LocalAuthEndpoint }).(GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) } -func (o GetNamespaceContainerResourceLimitOutput) ToGetNamespaceContainerResourceLimitOutput() GetNamespaceContainerResourceLimitOutput { - return o +func (o GetClusterV2RkeConfigOutput) MachineGlobalConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) *string { return v.MachineGlobalConfig }).(pulumi.StringPtrOutput) } -func (o GetNamespaceContainerResourceLimitOutput) ToGetNamespaceContainerResourceLimitOutputWithContext(ctx context.Context) GetNamespaceContainerResourceLimitOutput { - return o +func (o GetClusterV2RkeConfigOutput) MachinePools() GetClusterV2RkeConfigMachinePoolArrayOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) []GetClusterV2RkeConfigMachinePool { return v.MachinePools }).(GetClusterV2RkeConfigMachinePoolArrayOutput) } -func (o GetNamespaceContainerResourceLimitOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceContainerResourceLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigOutput) MachineSelectorConfigs() GetClusterV2RkeConfigMachineSelectorConfigArrayOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) []GetClusterV2RkeConfigMachineSelectorConfig { + return v.MachineSelectorConfigs + }).(GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) } -func (o GetNamespaceContainerResourceLimitOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceContainerResourceLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigOutput) Registries() GetClusterV2RkeConfigRegistriesPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigRegistries { return v.Registries }).(GetClusterV2RkeConfigRegistriesPtrOutput) } -func (o GetNamespaceContainerResourceLimitOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceContainerResourceLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigOutput) RotateCertificates() GetClusterV2RkeConfigRotateCertificatesPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigRotateCertificates { return v.RotateCertificates }).(GetClusterV2RkeConfigRotateCertificatesPtrOutput) } -func (o GetNamespaceContainerResourceLimitOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceContainerResourceLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigOutput) UpgradeStrategy() GetClusterV2RkeConfigUpgradeStrategyPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfig) *GetClusterV2RkeConfigUpgradeStrategy { return v.UpgradeStrategy }).(GetClusterV2RkeConfigUpgradeStrategyPtrOutput) } -type GetNamespaceResourceQuota struct { - Limit GetNamespaceResourceQuotaLimit `pulumi:"limit"` +type GetClusterV2RkeConfigEtcd struct { + DisableSnapshots *bool `pulumi:"disableSnapshots"` + S3Config *GetClusterV2RkeConfigEtcdS3Config `pulumi:"s3Config"` + SnapshotRetention *int `pulumi:"snapshotRetention"` + SnapshotScheduleCron *string `pulumi:"snapshotScheduleCron"` } -// GetNamespaceResourceQuotaInput is an input type that accepts GetNamespaceResourceQuotaArgs and GetNamespaceResourceQuotaOutput values. -// You can construct a concrete instance of `GetNamespaceResourceQuotaInput` via: +// GetClusterV2RkeConfigEtcdInput is an input type that accepts GetClusterV2RkeConfigEtcdArgs and GetClusterV2RkeConfigEtcdOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdInput` via: // -// GetNamespaceResourceQuotaArgs{...} -type GetNamespaceResourceQuotaInput interface { +// GetClusterV2RkeConfigEtcdArgs{...} +type GetClusterV2RkeConfigEtcdInput interface { pulumi.Input - ToGetNamespaceResourceQuotaOutput() GetNamespaceResourceQuotaOutput - ToGetNamespaceResourceQuotaOutputWithContext(context.Context) GetNamespaceResourceQuotaOutput + ToGetClusterV2RkeConfigEtcdOutput() GetClusterV2RkeConfigEtcdOutput + ToGetClusterV2RkeConfigEtcdOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdOutput } -type GetNamespaceResourceQuotaArgs struct { - Limit GetNamespaceResourceQuotaLimitInput `pulumi:"limit"` +type GetClusterV2RkeConfigEtcdArgs struct { + DisableSnapshots pulumi.BoolPtrInput `pulumi:"disableSnapshots"` + S3Config GetClusterV2RkeConfigEtcdS3ConfigPtrInput `pulumi:"s3Config"` + SnapshotRetention pulumi.IntPtrInput `pulumi:"snapshotRetention"` + SnapshotScheduleCron pulumi.StringPtrInput `pulumi:"snapshotScheduleCron"` } -func (GetNamespaceResourceQuotaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNamespaceResourceQuota)(nil)).Elem() +func (GetClusterV2RkeConfigEtcdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigEtcd)(nil)).Elem() } -func (i GetNamespaceResourceQuotaArgs) ToGetNamespaceResourceQuotaOutput() GetNamespaceResourceQuotaOutput { - return i.ToGetNamespaceResourceQuotaOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigEtcdArgs) ToGetClusterV2RkeConfigEtcdOutput() GetClusterV2RkeConfigEtcdOutput { + return i.ToGetClusterV2RkeConfigEtcdOutputWithContext(context.Background()) } -func (i GetNamespaceResourceQuotaArgs) ToGetNamespaceResourceQuotaOutputWithContext(ctx context.Context) GetNamespaceResourceQuotaOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNamespaceResourceQuotaOutput) +func (i GetClusterV2RkeConfigEtcdArgs) ToGetClusterV2RkeConfigEtcdOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdOutput) } -type GetNamespaceResourceQuotaOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigEtcdOutput struct{ *pulumi.OutputState } -func (GetNamespaceResourceQuotaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNamespaceResourceQuota)(nil)).Elem() +func (GetClusterV2RkeConfigEtcdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigEtcd)(nil)).Elem() } -func (o GetNamespaceResourceQuotaOutput) ToGetNamespaceResourceQuotaOutput() GetNamespaceResourceQuotaOutput { +func (o GetClusterV2RkeConfigEtcdOutput) ToGetClusterV2RkeConfigEtcdOutput() GetClusterV2RkeConfigEtcdOutput { return o } -func (o GetNamespaceResourceQuotaOutput) ToGetNamespaceResourceQuotaOutputWithContext(ctx context.Context) GetNamespaceResourceQuotaOutput { +func (o GetClusterV2RkeConfigEtcdOutput) ToGetClusterV2RkeConfigEtcdOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdOutput { return o } -func (o GetNamespaceResourceQuotaOutput) Limit() GetNamespaceResourceQuotaLimitOutput { - return o.ApplyT(func(v GetNamespaceResourceQuota) GetNamespaceResourceQuotaLimit { return v.Limit }).(GetNamespaceResourceQuotaLimitOutput) +func (o GetClusterV2RkeConfigEtcdOutput) DisableSnapshots() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcd) *bool { return v.DisableSnapshots }).(pulumi.BoolPtrOutput) } -type GetNamespaceResourceQuotaLimit struct { - ConfigMaps *string `pulumi:"configMaps"` - LimitsCpu *string `pulumi:"limitsCpu"` - LimitsMemory *string `pulumi:"limitsMemory"` - PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` - Pods *string `pulumi:"pods"` - ReplicationControllers *string `pulumi:"replicationControllers"` - RequestsCpu *string `pulumi:"requestsCpu"` - RequestsMemory *string `pulumi:"requestsMemory"` - RequestsStorage *string `pulumi:"requestsStorage"` - Secrets *string `pulumi:"secrets"` - Services *string `pulumi:"services"` - ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` - ServicesNodePorts *string `pulumi:"servicesNodePorts"` +func (o GetClusterV2RkeConfigEtcdOutput) S3Config() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcd) *GetClusterV2RkeConfigEtcdS3Config { return v.S3Config }).(GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) } -// GetNamespaceResourceQuotaLimitInput is an input type that accepts GetNamespaceResourceQuotaLimitArgs and GetNamespaceResourceQuotaLimitOutput values. -// You can construct a concrete instance of `GetNamespaceResourceQuotaLimitInput` via: -// -// GetNamespaceResourceQuotaLimitArgs{...} -type GetNamespaceResourceQuotaLimitInput interface { - pulumi.Input - - ToGetNamespaceResourceQuotaLimitOutput() GetNamespaceResourceQuotaLimitOutput - ToGetNamespaceResourceQuotaLimitOutputWithContext(context.Context) GetNamespaceResourceQuotaLimitOutput +func (o GetClusterV2RkeConfigEtcdOutput) SnapshotRetention() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcd) *int { return v.SnapshotRetention }).(pulumi.IntPtrOutput) } -type GetNamespaceResourceQuotaLimitArgs struct { - ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` - LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` - LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` - PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` - Pods pulumi.StringPtrInput `pulumi:"pods"` - ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` - RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` - RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` - RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` - Secrets pulumi.StringPtrInput `pulumi:"secrets"` - Services pulumi.StringPtrInput `pulumi:"services"` - ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` - ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` +func (o GetClusterV2RkeConfigEtcdOutput) SnapshotScheduleCron() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcd) *string { return v.SnapshotScheduleCron }).(pulumi.StringPtrOutput) } -func (GetNamespaceResourceQuotaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNamespaceResourceQuotaLimit)(nil)).Elem() +type GetClusterV2RkeConfigEtcdS3Config struct { + Bucket string `pulumi:"bucket"` + CloudCredentialName *string `pulumi:"cloudCredentialName"` + Endpoint string `pulumi:"endpoint"` + EndpointCa *string `pulumi:"endpointCa"` + Folder *string `pulumi:"folder"` + Region *string `pulumi:"region"` + SkipSslVerify *bool `pulumi:"skipSslVerify"` } -func (i GetNamespaceResourceQuotaLimitArgs) ToGetNamespaceResourceQuotaLimitOutput() GetNamespaceResourceQuotaLimitOutput { - return i.ToGetNamespaceResourceQuotaLimitOutputWithContext(context.Background()) -} +// GetClusterV2RkeConfigEtcdS3ConfigInput is an input type that accepts GetClusterV2RkeConfigEtcdS3ConfigArgs and GetClusterV2RkeConfigEtcdS3ConfigOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdS3ConfigInput` via: +// +// GetClusterV2RkeConfigEtcdS3ConfigArgs{...} +type GetClusterV2RkeConfigEtcdS3ConfigInput interface { + pulumi.Input -func (i GetNamespaceResourceQuotaLimitArgs) ToGetNamespaceResourceQuotaLimitOutputWithContext(ctx context.Context) GetNamespaceResourceQuotaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNamespaceResourceQuotaLimitOutput) + ToGetClusterV2RkeConfigEtcdS3ConfigOutput() GetClusterV2RkeConfigEtcdS3ConfigOutput + ToGetClusterV2RkeConfigEtcdS3ConfigOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdS3ConfigOutput } -type GetNamespaceResourceQuotaLimitOutput struct{ *pulumi.OutputState } - -func (GetNamespaceResourceQuotaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNamespaceResourceQuotaLimit)(nil)).Elem() +type GetClusterV2RkeConfigEtcdS3ConfigArgs struct { + Bucket pulumi.StringInput `pulumi:"bucket"` + CloudCredentialName pulumi.StringPtrInput `pulumi:"cloudCredentialName"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + EndpointCa pulumi.StringPtrInput `pulumi:"endpointCa"` + Folder pulumi.StringPtrInput `pulumi:"folder"` + Region pulumi.StringPtrInput `pulumi:"region"` + SkipSslVerify pulumi.BoolPtrInput `pulumi:"skipSslVerify"` } -func (o GetNamespaceResourceQuotaLimitOutput) ToGetNamespaceResourceQuotaLimitOutput() GetNamespaceResourceQuotaLimitOutput { - return o +func (GetClusterV2RkeConfigEtcdS3ConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigEtcdS3Config)(nil)).Elem() } -func (o GetNamespaceResourceQuotaLimitOutput) ToGetNamespaceResourceQuotaLimitOutputWithContext(ctx context.Context) GetNamespaceResourceQuotaLimitOutput { - return o +func (i GetClusterV2RkeConfigEtcdS3ConfigArgs) ToGetClusterV2RkeConfigEtcdS3ConfigOutput() GetClusterV2RkeConfigEtcdS3ConfigOutput { + return i.ToGetClusterV2RkeConfigEtcdS3ConfigOutputWithContext(context.Background()) } -func (o GetNamespaceResourceQuotaLimitOutput) ConfigMaps() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) +func (i GetClusterV2RkeConfigEtcdS3ConfigArgs) ToGetClusterV2RkeConfigEtcdS3ConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdS3ConfigOutput) } -func (o GetNamespaceResourceQuotaLimitOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) +func (i GetClusterV2RkeConfigEtcdS3ConfigArgs) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutput() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return i.ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) } -func (o GetNamespaceResourceQuotaLimitOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) +func (i GetClusterV2RkeConfigEtcdS3ConfigArgs) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdS3ConfigOutput).ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx) } -func (o GetNamespaceResourceQuotaLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) -} +// GetClusterV2RkeConfigEtcdS3ConfigPtrInput is an input type that accepts GetClusterV2RkeConfigEtcdS3ConfigArgs, GetClusterV2RkeConfigEtcdS3ConfigPtr and GetClusterV2RkeConfigEtcdS3ConfigPtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdS3ConfigPtrInput` via: +// +// GetClusterV2RkeConfigEtcdS3ConfigArgs{...} +// +// or: +// +// nil +type GetClusterV2RkeConfigEtcdS3ConfigPtrInput interface { + pulumi.Input -func (o GetNamespaceResourceQuotaLimitOutput) Pods() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) + ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutput() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput + ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdS3ConfigPtrOutput } -func (o GetNamespaceResourceQuotaLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) -} +type getClusterV2RkeConfigEtcdS3ConfigPtrType GetClusterV2RkeConfigEtcdS3ConfigArgs -func (o GetNamespaceResourceQuotaLimitOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +func GetClusterV2RkeConfigEtcdS3ConfigPtr(v *GetClusterV2RkeConfigEtcdS3ConfigArgs) GetClusterV2RkeConfigEtcdS3ConfigPtrInput { + return (*getClusterV2RkeConfigEtcdS3ConfigPtrType)(v) } -func (o GetNamespaceResourceQuotaLimitOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +func (*getClusterV2RkeConfigEtcdS3ConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigEtcdS3Config)(nil)).Elem() } -func (o GetNamespaceResourceQuotaLimitOutput) RequestsStorage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) +func (i *getClusterV2RkeConfigEtcdS3ConfigPtrType) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutput() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return i.ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) } -func (o GetNamespaceResourceQuotaLimitOutput) Secrets() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) +func (i *getClusterV2RkeConfigEtcdS3ConfigPtrType) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) } -func (o GetNamespaceResourceQuotaLimitOutput) Services() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.Services }).(pulumi.StringPtrOutput) -} +type GetClusterV2RkeConfigEtcdS3ConfigOutput struct{ *pulumi.OutputState } -func (o GetNamespaceResourceQuotaLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) +func (GetClusterV2RkeConfigEtcdS3ConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigEtcdS3Config)(nil)).Elem() } -func (o GetNamespaceResourceQuotaLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) ToGetClusterV2RkeConfigEtcdS3ConfigOutput() GetClusterV2RkeConfigEtcdS3ConfigOutput { + return o } -type GetNodePoolNodeTaint struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - TimeAdded string `pulumi:"timeAdded"` - Value string `pulumi:"value"` +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) ToGetClusterV2RkeConfigEtcdS3ConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigOutput { + return o } -// GetNodePoolNodeTaintInput is an input type that accepts GetNodePoolNodeTaintArgs and GetNodePoolNodeTaintOutput values. -// You can construct a concrete instance of `GetNodePoolNodeTaintInput` via: -// -// GetNodePoolNodeTaintArgs{...} -type GetNodePoolNodeTaintInput interface { - pulumi.Input - - ToGetNodePoolNodeTaintOutput() GetNodePoolNodeTaintOutput - ToGetNodePoolNodeTaintOutputWithContext(context.Context) GetNodePoolNodeTaintOutput +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutput() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return o.ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(context.Background()) } -type GetNodePoolNodeTaintArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - TimeAdded pulumi.StringInput `pulumi:"timeAdded"` - Value pulumi.StringInput `pulumi:"value"` +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigEtcdS3Config) *GetClusterV2RkeConfigEtcdS3Config { + return &v + }).(GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) } -func (GetNodePoolNodeTaintArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNodePoolNodeTaint)(nil)).Elem() +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) string { return v.Bucket }).(pulumi.StringOutput) } -func (i GetNodePoolNodeTaintArgs) ToGetNodePoolNodeTaintOutput() GetNodePoolNodeTaintOutput { - return i.ToGetNodePoolNodeTaintOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) CloudCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) *string { return v.CloudCredentialName }).(pulumi.StringPtrOutput) } -func (i GetNodePoolNodeTaintArgs) ToGetNodePoolNodeTaintOutputWithContext(ctx context.Context) GetNodePoolNodeTaintOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNodePoolNodeTaintOutput) +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) string { return v.Endpoint }).(pulumi.StringOutput) } -// GetNodePoolNodeTaintArrayInput is an input type that accepts GetNodePoolNodeTaintArray and GetNodePoolNodeTaintArrayOutput values. -// You can construct a concrete instance of `GetNodePoolNodeTaintArrayInput` via: -// -// GetNodePoolNodeTaintArray{ GetNodePoolNodeTaintArgs{...} } -type GetNodePoolNodeTaintArrayInput interface { - pulumi.Input - - ToGetNodePoolNodeTaintArrayOutput() GetNodePoolNodeTaintArrayOutput - ToGetNodePoolNodeTaintArrayOutputWithContext(context.Context) GetNodePoolNodeTaintArrayOutput +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) EndpointCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) *string { return v.EndpointCa }).(pulumi.StringPtrOutput) } -type GetNodePoolNodeTaintArray []GetNodePoolNodeTaintInput - -func (GetNodePoolNodeTaintArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNodePoolNodeTaint)(nil)).Elem() +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) *string { return v.Folder }).(pulumi.StringPtrOutput) } -func (i GetNodePoolNodeTaintArray) ToGetNodePoolNodeTaintArrayOutput() GetNodePoolNodeTaintArrayOutput { - return i.ToGetNodePoolNodeTaintArrayOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (i GetNodePoolNodeTaintArray) ToGetNodePoolNodeTaintArrayOutputWithContext(ctx context.Context) GetNodePoolNodeTaintArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNodePoolNodeTaintArrayOutput) +func (o GetClusterV2RkeConfigEtcdS3ConfigOutput) SkipSslVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdS3Config) *bool { return v.SkipSslVerify }).(pulumi.BoolPtrOutput) } -type GetNodePoolNodeTaintOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigEtcdS3ConfigPtrOutput struct{ *pulumi.OutputState } -func (GetNodePoolNodeTaintOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNodePoolNodeTaint)(nil)).Elem() +func (GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigEtcdS3Config)(nil)).Elem() } -func (o GetNodePoolNodeTaintOutput) ToGetNodePoolNodeTaintOutput() GetNodePoolNodeTaintOutput { +func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutput() GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { return o } -func (o GetNodePoolNodeTaintOutput) ToGetNodePoolNodeTaintOutputWithContext(ctx context.Context) GetNodePoolNodeTaintOutput { +func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) ToGetClusterV2RkeConfigEtcdS3ConfigPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdS3ConfigPtrOutput { return o } -func (o GetNodePoolNodeTaintOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNodePoolNodeTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) Elem() GetClusterV2RkeConfigEtcdS3ConfigOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) GetClusterV2RkeConfigEtcdS3Config { + if v != nil { + return *v + } + var ret GetClusterV2RkeConfigEtcdS3Config + return ret + }).(GetClusterV2RkeConfigEtcdS3ConfigOutput) } -func (o GetNodePoolNodeTaintOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNodePoolNodeTaint) string { return v.Key }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) Bucket() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return &v.Bucket + }).(pulumi.StringPtrOutput) } -func (o GetNodePoolNodeTaintOutput) TimeAdded() pulumi.StringOutput { - return o.ApplyT(func(v GetNodePoolNodeTaint) string { return v.TimeAdded }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) CloudCredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return v.CloudCredentialName + }).(pulumi.StringPtrOutput) } -func (o GetNodePoolNodeTaintOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNodePoolNodeTaint) string { return v.Value }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return &v.Endpoint + }).(pulumi.StringPtrOutput) } -type GetNodePoolNodeTaintArrayOutput struct{ *pulumi.OutputState } - -func (GetNodePoolNodeTaintArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNodePoolNodeTaint)(nil)).Elem() +func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) EndpointCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return v.EndpointCa + }).(pulumi.StringPtrOutput) } -func (o GetNodePoolNodeTaintArrayOutput) ToGetNodePoolNodeTaintArrayOutput() GetNodePoolNodeTaintArrayOutput { - return o +func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return v.Folder + }).(pulumi.StringPtrOutput) } -func (o GetNodePoolNodeTaintArrayOutput) ToGetNodePoolNodeTaintArrayOutputWithContext(ctx context.Context) GetNodePoolNodeTaintArrayOutput { - return o +func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (o GetNodePoolNodeTaintArrayOutput) Index(i pulumi.IntInput) GetNodePoolNodeTaintOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNodePoolNodeTaint { - return vs[0].([]GetNodePoolNodeTaint)[vs[1].(int)] - }).(GetNodePoolNodeTaintOutput) +func (o GetClusterV2RkeConfigEtcdS3ConfigPtrOutput) SkipSslVerify() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdS3Config) *bool { + if v == nil { + return nil + } + return v.SkipSslVerify + }).(pulumi.BoolPtrOutput) } -type GetNodeTemplateNodeTaint struct { - Effect *string `pulumi:"effect"` - Key string `pulumi:"key"` - TimeAdded string `pulumi:"timeAdded"` - Value string `pulumi:"value"` +type GetClusterV2RkeConfigEtcdSnapshotCreate struct { + Generation int `pulumi:"generation"` } -// GetNodeTemplateNodeTaintInput is an input type that accepts GetNodeTemplateNodeTaintArgs and GetNodeTemplateNodeTaintOutput values. -// You can construct a concrete instance of `GetNodeTemplateNodeTaintInput` via: +// GetClusterV2RkeConfigEtcdSnapshotCreateInput is an input type that accepts GetClusterV2RkeConfigEtcdSnapshotCreateArgs and GetClusterV2RkeConfigEtcdSnapshotCreateOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdSnapshotCreateInput` via: // -// GetNodeTemplateNodeTaintArgs{...} -type GetNodeTemplateNodeTaintInput interface { +// GetClusterV2RkeConfigEtcdSnapshotCreateArgs{...} +type GetClusterV2RkeConfigEtcdSnapshotCreateInput interface { pulumi.Input - ToGetNodeTemplateNodeTaintOutput() GetNodeTemplateNodeTaintOutput - ToGetNodeTemplateNodeTaintOutputWithContext(context.Context) GetNodeTemplateNodeTaintOutput + ToGetClusterV2RkeConfigEtcdSnapshotCreateOutput() GetClusterV2RkeConfigEtcdSnapshotCreateOutput + ToGetClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdSnapshotCreateOutput } -type GetNodeTemplateNodeTaintArgs struct { - Effect pulumi.StringPtrInput `pulumi:"effect"` - Key pulumi.StringInput `pulumi:"key"` - TimeAdded pulumi.StringInput `pulumi:"timeAdded"` - Value pulumi.StringInput `pulumi:"value"` +type GetClusterV2RkeConfigEtcdSnapshotCreateArgs struct { + Generation pulumi.IntInput `pulumi:"generation"` +} + +func (GetClusterV2RkeConfigEtcdSnapshotCreateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() +} + +func (i GetClusterV2RkeConfigEtcdSnapshotCreateArgs) ToGetClusterV2RkeConfigEtcdSnapshotCreateOutput() GetClusterV2RkeConfigEtcdSnapshotCreateOutput { + return i.ToGetClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(context.Background()) } -func (GetNodeTemplateNodeTaintArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNodeTemplateNodeTaint)(nil)).Elem() +func (i GetClusterV2RkeConfigEtcdSnapshotCreateArgs) ToGetClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotCreateOutput) } -func (i GetNodeTemplateNodeTaintArgs) ToGetNodeTemplateNodeTaintOutput() GetNodeTemplateNodeTaintOutput { - return i.ToGetNodeTemplateNodeTaintOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigEtcdSnapshotCreateArgs) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return i.ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) } -func (i GetNodeTemplateNodeTaintArgs) ToGetNodeTemplateNodeTaintOutputWithContext(ctx context.Context) GetNodeTemplateNodeTaintOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNodeTemplateNodeTaintOutput) +func (i GetClusterV2RkeConfigEtcdSnapshotCreateArgs) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotCreateOutput).ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx) } -// GetNodeTemplateNodeTaintArrayInput is an input type that accepts GetNodeTemplateNodeTaintArray and GetNodeTemplateNodeTaintArrayOutput values. -// You can construct a concrete instance of `GetNodeTemplateNodeTaintArrayInput` via: +// GetClusterV2RkeConfigEtcdSnapshotCreatePtrInput is an input type that accepts GetClusterV2RkeConfigEtcdSnapshotCreateArgs, GetClusterV2RkeConfigEtcdSnapshotCreatePtr and GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdSnapshotCreatePtrInput` via: +// +// GetClusterV2RkeConfigEtcdSnapshotCreateArgs{...} +// +// or: // -// GetNodeTemplateNodeTaintArray{ GetNodeTemplateNodeTaintArgs{...} } -type GetNodeTemplateNodeTaintArrayInput interface { +// nil +type GetClusterV2RkeConfigEtcdSnapshotCreatePtrInput interface { pulumi.Input - ToGetNodeTemplateNodeTaintArrayOutput() GetNodeTemplateNodeTaintArrayOutput - ToGetNodeTemplateNodeTaintArrayOutputWithContext(context.Context) GetNodeTemplateNodeTaintArrayOutput + ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput + ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput } -type GetNodeTemplateNodeTaintArray []GetNodeTemplateNodeTaintInput +type getClusterV2RkeConfigEtcdSnapshotCreatePtrType GetClusterV2RkeConfigEtcdSnapshotCreateArgs + +func GetClusterV2RkeConfigEtcdSnapshotCreatePtr(v *GetClusterV2RkeConfigEtcdSnapshotCreateArgs) GetClusterV2RkeConfigEtcdSnapshotCreatePtrInput { + return (*getClusterV2RkeConfigEtcdSnapshotCreatePtrType)(v) +} -func (GetNodeTemplateNodeTaintArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNodeTemplateNodeTaint)(nil)).Elem() +func (*getClusterV2RkeConfigEtcdSnapshotCreatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() } -func (i GetNodeTemplateNodeTaintArray) ToGetNodeTemplateNodeTaintArrayOutput() GetNodeTemplateNodeTaintArrayOutput { - return i.ToGetNodeTemplateNodeTaintArrayOutputWithContext(context.Background()) +func (i *getClusterV2RkeConfigEtcdSnapshotCreatePtrType) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return i.ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) } -func (i GetNodeTemplateNodeTaintArray) ToGetNodeTemplateNodeTaintArrayOutputWithContext(ctx context.Context) GetNodeTemplateNodeTaintArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNodeTemplateNodeTaintArrayOutput) +func (i *getClusterV2RkeConfigEtcdSnapshotCreatePtrType) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) } -type GetNodeTemplateNodeTaintOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigEtcdSnapshotCreateOutput struct{ *pulumi.OutputState } -func (GetNodeTemplateNodeTaintOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNodeTemplateNodeTaint)(nil)).Elem() +func (GetClusterV2RkeConfigEtcdSnapshotCreateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() } -func (o GetNodeTemplateNodeTaintOutput) ToGetNodeTemplateNodeTaintOutput() GetNodeTemplateNodeTaintOutput { +func (o GetClusterV2RkeConfigEtcdSnapshotCreateOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreateOutput() GetClusterV2RkeConfigEtcdSnapshotCreateOutput { return o } -func (o GetNodeTemplateNodeTaintOutput) ToGetNodeTemplateNodeTaintOutputWithContext(ctx context.Context) GetNodeTemplateNodeTaintOutput { +func (o GetClusterV2RkeConfigEtcdSnapshotCreateOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreateOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreateOutput { return o } -func (o GetNodeTemplateNodeTaintOutput) Effect() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNodeTemplateNodeTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) -} - -func (o GetNodeTemplateNodeTaintOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetNodeTemplateNodeTaint) string { return v.Key }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigEtcdSnapshotCreateOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return o.ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(context.Background()) } -func (o GetNodeTemplateNodeTaintOutput) TimeAdded() pulumi.StringOutput { - return o.ApplyT(func(v GetNodeTemplateNodeTaint) string { return v.TimeAdded }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigEtcdSnapshotCreateOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigEtcdSnapshotCreate) *GetClusterV2RkeConfigEtcdSnapshotCreate { + return &v + }).(GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) } -func (o GetNodeTemplateNodeTaintOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetNodeTemplateNodeTaint) string { return v.Value }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigEtcdSnapshotCreateOutput) Generation() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdSnapshotCreate) int { return v.Generation }).(pulumi.IntOutput) } -type GetNodeTemplateNodeTaintArrayOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput struct{ *pulumi.OutputState } -func (GetNodeTemplateNodeTaintArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetNodeTemplateNodeTaint)(nil)).Elem() +func (GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigEtcdSnapshotCreate)(nil)).Elem() } -func (o GetNodeTemplateNodeTaintArrayOutput) ToGetNodeTemplateNodeTaintArrayOutput() GetNodeTemplateNodeTaintArrayOutput { +func (o GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput() GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { return o } -func (o GetNodeTemplateNodeTaintArrayOutput) ToGetNodeTemplateNodeTaintArrayOutputWithContext(ctx context.Context) GetNodeTemplateNodeTaintArrayOutput { +func (o GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) ToGetClusterV2RkeConfigEtcdSnapshotCreatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput { return o } -func (o GetNodeTemplateNodeTaintArrayOutput) Index(i pulumi.IntInput) GetNodeTemplateNodeTaintOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNodeTemplateNodeTaint { - return vs[0].([]GetNodeTemplateNodeTaint)[vs[1].(int)] - }).(GetNodeTemplateNodeTaintOutput) +func (o GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) Elem() GetClusterV2RkeConfigEtcdSnapshotCreateOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotCreate) GetClusterV2RkeConfigEtcdSnapshotCreate { + if v != nil { + return *v + } + var ret GetClusterV2RkeConfigEtcdSnapshotCreate + return ret + }).(GetClusterV2RkeConfigEtcdSnapshotCreateOutput) +} + +func (o GetClusterV2RkeConfigEtcdSnapshotCreatePtrOutput) Generation() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotCreate) *int { + if v == nil { + return nil + } + return &v.Generation + }).(pulumi.IntPtrOutput) } -type GetNotifierDingtalkConfig struct { - ProxyUrl *string `pulumi:"proxyUrl"` - Secret *string `pulumi:"secret"` - Url string `pulumi:"url"` +type GetClusterV2RkeConfigEtcdSnapshotRestore struct { + Generation int `pulumi:"generation"` + // The name of the Cluster v2 (string) + Name string `pulumi:"name"` + RestoreRkeConfig *string `pulumi:"restoreRkeConfig"` } -// GetNotifierDingtalkConfigInput is an input type that accepts GetNotifierDingtalkConfigArgs and GetNotifierDingtalkConfigOutput values. -// You can construct a concrete instance of `GetNotifierDingtalkConfigInput` via: +// GetClusterV2RkeConfigEtcdSnapshotRestoreInput is an input type that accepts GetClusterV2RkeConfigEtcdSnapshotRestoreArgs and GetClusterV2RkeConfigEtcdSnapshotRestoreOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdSnapshotRestoreInput` via: // -// GetNotifierDingtalkConfigArgs{...} -type GetNotifierDingtalkConfigInput interface { +// GetClusterV2RkeConfigEtcdSnapshotRestoreArgs{...} +type GetClusterV2RkeConfigEtcdSnapshotRestoreInput interface { pulumi.Input - ToGetNotifierDingtalkConfigOutput() GetNotifierDingtalkConfigOutput - ToGetNotifierDingtalkConfigOutputWithContext(context.Context) GetNotifierDingtalkConfigOutput + ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutput() GetClusterV2RkeConfigEtcdSnapshotRestoreOutput + ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdSnapshotRestoreOutput } -type GetNotifierDingtalkConfigArgs struct { - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - Secret pulumi.StringPtrInput `pulumi:"secret"` - Url pulumi.StringInput `pulumi:"url"` +type GetClusterV2RkeConfigEtcdSnapshotRestoreArgs struct { + Generation pulumi.IntInput `pulumi:"generation"` + // The name of the Cluster v2 (string) + Name pulumi.StringInput `pulumi:"name"` + RestoreRkeConfig pulumi.StringPtrInput `pulumi:"restoreRkeConfig"` } -func (GetNotifierDingtalkConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierDingtalkConfig)(nil)).Elem() +func (GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() } -func (i GetNotifierDingtalkConfigArgs) ToGetNotifierDingtalkConfigOutput() GetNotifierDingtalkConfigOutput { - return i.ToGetNotifierDingtalkConfigOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutput() GetClusterV2RkeConfigEtcdSnapshotRestoreOutput { + return i.ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(context.Background()) } -func (i GetNotifierDingtalkConfigArgs) ToGetNotifierDingtalkConfigOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierDingtalkConfigOutput) +func (i GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestoreOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) } -func (i GetNotifierDingtalkConfigArgs) ToGetNotifierDingtalkConfigPtrOutput() GetNotifierDingtalkConfigPtrOutput { - return i.ToGetNotifierDingtalkConfigPtrOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return i.ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) } -func (i GetNotifierDingtalkConfigArgs) ToGetNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierDingtalkConfigOutput).ToGetNotifierDingtalkConfigPtrOutputWithContext(ctx) +func (i GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotRestoreOutput).ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx) } -// GetNotifierDingtalkConfigPtrInput is an input type that accepts GetNotifierDingtalkConfigArgs, GetNotifierDingtalkConfigPtr and GetNotifierDingtalkConfigPtrOutput values. -// You can construct a concrete instance of `GetNotifierDingtalkConfigPtrInput` via: +// GetClusterV2RkeConfigEtcdSnapshotRestorePtrInput is an input type that accepts GetClusterV2RkeConfigEtcdSnapshotRestoreArgs, GetClusterV2RkeConfigEtcdSnapshotRestorePtr and GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigEtcdSnapshotRestorePtrInput` via: // -// GetNotifierDingtalkConfigArgs{...} +// GetClusterV2RkeConfigEtcdSnapshotRestoreArgs{...} // // or: // // nil -type GetNotifierDingtalkConfigPtrInput interface { +type GetClusterV2RkeConfigEtcdSnapshotRestorePtrInput interface { pulumi.Input - ToGetNotifierDingtalkConfigPtrOutput() GetNotifierDingtalkConfigPtrOutput - ToGetNotifierDingtalkConfigPtrOutputWithContext(context.Context) GetNotifierDingtalkConfigPtrOutput + ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput + ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Context) GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput } -type getNotifierDingtalkConfigPtrType GetNotifierDingtalkConfigArgs +type getClusterV2RkeConfigEtcdSnapshotRestorePtrType GetClusterV2RkeConfigEtcdSnapshotRestoreArgs -func GetNotifierDingtalkConfigPtr(v *GetNotifierDingtalkConfigArgs) GetNotifierDingtalkConfigPtrInput { - return (*getNotifierDingtalkConfigPtrType)(v) +func GetClusterV2RkeConfigEtcdSnapshotRestorePtr(v *GetClusterV2RkeConfigEtcdSnapshotRestoreArgs) GetClusterV2RkeConfigEtcdSnapshotRestorePtrInput { + return (*getClusterV2RkeConfigEtcdSnapshotRestorePtrType)(v) } -func (*getNotifierDingtalkConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetNotifierDingtalkConfig)(nil)).Elem() +func (*getClusterV2RkeConfigEtcdSnapshotRestorePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() } -func (i *getNotifierDingtalkConfigPtrType) ToGetNotifierDingtalkConfigPtrOutput() GetNotifierDingtalkConfigPtrOutput { - return i.ToGetNotifierDingtalkConfigPtrOutputWithContext(context.Background()) +func (i *getClusterV2RkeConfigEtcdSnapshotRestorePtrType) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return i.ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) } -func (i *getNotifierDingtalkConfigPtrType) ToGetNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierDingtalkConfigPtrOutput) +func (i *getClusterV2RkeConfigEtcdSnapshotRestorePtrType) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) } -type GetNotifierDingtalkConfigOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigEtcdSnapshotRestoreOutput struct{ *pulumi.OutputState } -func (GetNotifierDingtalkConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierDingtalkConfig)(nil)).Elem() +func (GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() } -func (o GetNotifierDingtalkConfigOutput) ToGetNotifierDingtalkConfigOutput() GetNotifierDingtalkConfigOutput { +func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutput() GetClusterV2RkeConfigEtcdSnapshotRestoreOutput { return o } -func (o GetNotifierDingtalkConfigOutput) ToGetNotifierDingtalkConfigOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigOutput { +func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestoreOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestoreOutput { return o } -func (o GetNotifierDingtalkConfigOutput) ToGetNotifierDingtalkConfigPtrOutput() GetNotifierDingtalkConfigPtrOutput { - return o.ToGetNotifierDingtalkConfigPtrOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return o.ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(context.Background()) } -func (o GetNotifierDingtalkConfigOutput) ToGetNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetNotifierDingtalkConfig) *GetNotifierDingtalkConfig { +func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigEtcdSnapshotRestore) *GetClusterV2RkeConfigEtcdSnapshotRestore { return &v - }).(GetNotifierDingtalkConfigPtrOutput) + }).(GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) } -func (o GetNotifierDingtalkConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotifierDingtalkConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) Generation() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdSnapshotRestore) int { return v.Generation }).(pulumi.IntOutput) } -func (o GetNotifierDingtalkConfigOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotifierDingtalkConfig) *string { return v.Secret }).(pulumi.StringPtrOutput) +// The name of the Cluster v2 (string) +func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdSnapshotRestore) string { return v.Name }).(pulumi.StringOutput) } -func (o GetNotifierDingtalkConfigOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierDingtalkConfig) string { return v.Url }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) RestoreRkeConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigEtcdSnapshotRestore) *string { return v.RestoreRkeConfig }).(pulumi.StringPtrOutput) } -type GetNotifierDingtalkConfigPtrOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput struct{ *pulumi.OutputState } -func (GetNotifierDingtalkConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetNotifierDingtalkConfig)(nil)).Elem() +func (GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigEtcdSnapshotRestore)(nil)).Elem() } -func (o GetNotifierDingtalkConfigPtrOutput) ToGetNotifierDingtalkConfigPtrOutput() GetNotifierDingtalkConfigPtrOutput { +func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput() GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { return o } -func (o GetNotifierDingtalkConfigPtrOutput) ToGetNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigPtrOutput { +func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) ToGetClusterV2RkeConfigEtcdSnapshotRestorePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput { return o } -func (o GetNotifierDingtalkConfigPtrOutput) Elem() GetNotifierDingtalkConfigOutput { - return o.ApplyT(func(v *GetNotifierDingtalkConfig) GetNotifierDingtalkConfig { +func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Elem() GetClusterV2RkeConfigEtcdSnapshotRestoreOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotRestore) GetClusterV2RkeConfigEtcdSnapshotRestore { if v != nil { return *v } - var ret GetNotifierDingtalkConfig + var ret GetClusterV2RkeConfigEtcdSnapshotRestore return ret - }).(GetNotifierDingtalkConfigOutput) + }).(GetClusterV2RkeConfigEtcdSnapshotRestoreOutput) } -func (o GetNotifierDingtalkConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetNotifierDingtalkConfig) *string { +func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Generation() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotRestore) *int { if v == nil { return nil } - return v.ProxyUrl - }).(pulumi.StringPtrOutput) + return &v.Generation + }).(pulumi.IntPtrOutput) } -func (o GetNotifierDingtalkConfigPtrOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetNotifierDingtalkConfig) *string { +// The name of the Cluster v2 (string) +func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotRestore) *string { if v == nil { return nil } - return v.Secret + return &v.Name }).(pulumi.StringPtrOutput) } -func (o GetNotifierDingtalkConfigPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetNotifierDingtalkConfig) *string { +func (o GetClusterV2RkeConfigEtcdSnapshotRestorePtrOutput) RestoreRkeConfig() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigEtcdSnapshotRestore) *string { if v == nil { return nil } - return &v.Url + return v.RestoreRkeConfig }).(pulumi.StringPtrOutput) } -type GetNotifierMsteamsConfig struct { - ProxyUrl *string `pulumi:"proxyUrl"` - Url string `pulumi:"url"` +type GetClusterV2RkeConfigLocalAuthEndpoint struct { + CaCerts *string `pulumi:"caCerts"` + Enabled *bool `pulumi:"enabled"` + Fqdn *string `pulumi:"fqdn"` } -// GetNotifierMsteamsConfigInput is an input type that accepts GetNotifierMsteamsConfigArgs and GetNotifierMsteamsConfigOutput values. -// You can construct a concrete instance of `GetNotifierMsteamsConfigInput` via: +// GetClusterV2RkeConfigLocalAuthEndpointInput is an input type that accepts GetClusterV2RkeConfigLocalAuthEndpointArgs and GetClusterV2RkeConfigLocalAuthEndpointOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigLocalAuthEndpointInput` via: // -// GetNotifierMsteamsConfigArgs{...} -type GetNotifierMsteamsConfigInput interface { +// GetClusterV2RkeConfigLocalAuthEndpointArgs{...} +type GetClusterV2RkeConfigLocalAuthEndpointInput interface { pulumi.Input - ToGetNotifierMsteamsConfigOutput() GetNotifierMsteamsConfigOutput - ToGetNotifierMsteamsConfigOutputWithContext(context.Context) GetNotifierMsteamsConfigOutput + ToGetClusterV2RkeConfigLocalAuthEndpointOutput() GetClusterV2RkeConfigLocalAuthEndpointOutput + ToGetClusterV2RkeConfigLocalAuthEndpointOutputWithContext(context.Context) GetClusterV2RkeConfigLocalAuthEndpointOutput } -type GetNotifierMsteamsConfigArgs struct { - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - Url pulumi.StringInput `pulumi:"url"` +type GetClusterV2RkeConfigLocalAuthEndpointArgs struct { + CaCerts pulumi.StringPtrInput `pulumi:"caCerts"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` } -func (GetNotifierMsteamsConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierMsteamsConfig)(nil)).Elem() +func (GetClusterV2RkeConfigLocalAuthEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() } -func (i GetNotifierMsteamsConfigArgs) ToGetNotifierMsteamsConfigOutput() GetNotifierMsteamsConfigOutput { - return i.ToGetNotifierMsteamsConfigOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigLocalAuthEndpointArgs) ToGetClusterV2RkeConfigLocalAuthEndpointOutput() GetClusterV2RkeConfigLocalAuthEndpointOutput { + return i.ToGetClusterV2RkeConfigLocalAuthEndpointOutputWithContext(context.Background()) } -func (i GetNotifierMsteamsConfigArgs) ToGetNotifierMsteamsConfigOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierMsteamsConfigOutput) +func (i GetClusterV2RkeConfigLocalAuthEndpointArgs) ToGetClusterV2RkeConfigLocalAuthEndpointOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigLocalAuthEndpointOutput) } -func (i GetNotifierMsteamsConfigArgs) ToGetNotifierMsteamsConfigPtrOutput() GetNotifierMsteamsConfigPtrOutput { - return i.ToGetNotifierMsteamsConfigPtrOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigLocalAuthEndpointArgs) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutput() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return i.ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) } -func (i GetNotifierMsteamsConfigArgs) ToGetNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierMsteamsConfigOutput).ToGetNotifierMsteamsConfigPtrOutputWithContext(ctx) +func (i GetClusterV2RkeConfigLocalAuthEndpointArgs) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigLocalAuthEndpointOutput).ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx) } -// GetNotifierMsteamsConfigPtrInput is an input type that accepts GetNotifierMsteamsConfigArgs, GetNotifierMsteamsConfigPtr and GetNotifierMsteamsConfigPtrOutput values. -// You can construct a concrete instance of `GetNotifierMsteamsConfigPtrInput` via: +// GetClusterV2RkeConfigLocalAuthEndpointPtrInput is an input type that accepts GetClusterV2RkeConfigLocalAuthEndpointArgs, GetClusterV2RkeConfigLocalAuthEndpointPtr and GetClusterV2RkeConfigLocalAuthEndpointPtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigLocalAuthEndpointPtrInput` via: // -// GetNotifierMsteamsConfigArgs{...} +// GetClusterV2RkeConfigLocalAuthEndpointArgs{...} // // or: // // nil -type GetNotifierMsteamsConfigPtrInput interface { +type GetClusterV2RkeConfigLocalAuthEndpointPtrInput interface { pulumi.Input - ToGetNotifierMsteamsConfigPtrOutput() GetNotifierMsteamsConfigPtrOutput - ToGetNotifierMsteamsConfigPtrOutputWithContext(context.Context) GetNotifierMsteamsConfigPtrOutput + ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutput() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput + ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Context) GetClusterV2RkeConfigLocalAuthEndpointPtrOutput } -type getNotifierMsteamsConfigPtrType GetNotifierMsteamsConfigArgs +type getClusterV2RkeConfigLocalAuthEndpointPtrType GetClusterV2RkeConfigLocalAuthEndpointArgs -func GetNotifierMsteamsConfigPtr(v *GetNotifierMsteamsConfigArgs) GetNotifierMsteamsConfigPtrInput { - return (*getNotifierMsteamsConfigPtrType)(v) +func GetClusterV2RkeConfigLocalAuthEndpointPtr(v *GetClusterV2RkeConfigLocalAuthEndpointArgs) GetClusterV2RkeConfigLocalAuthEndpointPtrInput { + return (*getClusterV2RkeConfigLocalAuthEndpointPtrType)(v) } -func (*getNotifierMsteamsConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetNotifierMsteamsConfig)(nil)).Elem() +func (*getClusterV2RkeConfigLocalAuthEndpointPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() } -func (i *getNotifierMsteamsConfigPtrType) ToGetNotifierMsteamsConfigPtrOutput() GetNotifierMsteamsConfigPtrOutput { - return i.ToGetNotifierMsteamsConfigPtrOutputWithContext(context.Background()) +func (i *getClusterV2RkeConfigLocalAuthEndpointPtrType) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutput() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return i.ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) } -func (i *getNotifierMsteamsConfigPtrType) ToGetNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierMsteamsConfigPtrOutput) +func (i *getClusterV2RkeConfigLocalAuthEndpointPtrType) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) } -type GetNotifierMsteamsConfigOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigLocalAuthEndpointOutput struct{ *pulumi.OutputState } -func (GetNotifierMsteamsConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierMsteamsConfig)(nil)).Elem() +func (GetClusterV2RkeConfigLocalAuthEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() } -func (o GetNotifierMsteamsConfigOutput) ToGetNotifierMsteamsConfigOutput() GetNotifierMsteamsConfigOutput { +func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) ToGetClusterV2RkeConfigLocalAuthEndpointOutput() GetClusterV2RkeConfigLocalAuthEndpointOutput { return o } -func (o GetNotifierMsteamsConfigOutput) ToGetNotifierMsteamsConfigOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigOutput { +func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) ToGetClusterV2RkeConfigLocalAuthEndpointOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointOutput { return o } -func (o GetNotifierMsteamsConfigOutput) ToGetNotifierMsteamsConfigPtrOutput() GetNotifierMsteamsConfigPtrOutput { - return o.ToGetNotifierMsteamsConfigPtrOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutput() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return o.ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(context.Background()) } -func (o GetNotifierMsteamsConfigOutput) ToGetNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetNotifierMsteamsConfig) *GetNotifierMsteamsConfig { +func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigLocalAuthEndpoint) *GetClusterV2RkeConfigLocalAuthEndpoint { return &v - }).(GetNotifierMsteamsConfigPtrOutput) + }).(GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) } -func (o GetNotifierMsteamsConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotifierMsteamsConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigLocalAuthEndpoint) *string { return v.CaCerts }).(pulumi.StringPtrOutput) +} + +func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigLocalAuthEndpoint) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o GetNotifierMsteamsConfigOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierMsteamsConfig) string { return v.Url }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigLocalAuthEndpointOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigLocalAuthEndpoint) *string { return v.Fqdn }).(pulumi.StringPtrOutput) } -type GetNotifierMsteamsConfigPtrOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigLocalAuthEndpointPtrOutput struct{ *pulumi.OutputState } -func (GetNotifierMsteamsConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetNotifierMsteamsConfig)(nil)).Elem() +func (GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigLocalAuthEndpoint)(nil)).Elem() } -func (o GetNotifierMsteamsConfigPtrOutput) ToGetNotifierMsteamsConfigPtrOutput() GetNotifierMsteamsConfigPtrOutput { +func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutput() GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { return o } -func (o GetNotifierMsteamsConfigPtrOutput) ToGetNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigPtrOutput { +func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) ToGetClusterV2RkeConfigLocalAuthEndpointPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigLocalAuthEndpointPtrOutput { return o } -func (o GetNotifierMsteamsConfigPtrOutput) Elem() GetNotifierMsteamsConfigOutput { - return o.ApplyT(func(v *GetNotifierMsteamsConfig) GetNotifierMsteamsConfig { +func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) Elem() GetClusterV2RkeConfigLocalAuthEndpointOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigLocalAuthEndpoint) GetClusterV2RkeConfigLocalAuthEndpoint { if v != nil { return *v } - var ret GetNotifierMsteamsConfig + var ret GetClusterV2RkeConfigLocalAuthEndpoint return ret - }).(GetNotifierMsteamsConfigOutput) + }).(GetClusterV2RkeConfigLocalAuthEndpointOutput) } -func (o GetNotifierMsteamsConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetNotifierMsteamsConfig) *string { +func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) CaCerts() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigLocalAuthEndpoint) *string { if v == nil { return nil } - return v.ProxyUrl + return v.CaCerts + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigLocalAuthEndpoint) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterV2RkeConfigLocalAuthEndpointPtrOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigLocalAuthEndpoint) *string { + if v == nil { + return nil + } + return v.Fqdn }).(pulumi.StringPtrOutput) } -func (o GetNotifierMsteamsConfigPtrOutput) Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetNotifierMsteamsConfig) *string { - if v == nil { - return nil - } - return &v.Url - }).(pulumi.StringPtrOutput) +type GetClusterV2RkeConfigMachinePool struct { + Annotations map[string]interface{} `pulumi:"annotations"` + // (Computed) Cluster V2 cloud credential secret name (string) + CloudCredentialSecretName string `pulumi:"cloudCredentialSecretName"` + ControlPlaneRole *bool `pulumi:"controlPlaneRole"` + DrainBeforeDelete *bool `pulumi:"drainBeforeDelete"` + EtcdRole *bool `pulumi:"etcdRole"` + Labels map[string]interface{} `pulumi:"labels"` + MachineConfig GetClusterV2RkeConfigMachinePoolMachineConfig `pulumi:"machineConfig"` + MachineLabels map[string]interface{} `pulumi:"machineLabels"` + MaxUnhealthy *string `pulumi:"maxUnhealthy"` + // The name of the Cluster v2 (string) + Name string `pulumi:"name"` + NodeDrainTimeout *int `pulumi:"nodeDrainTimeout"` + NodeStartupTimeoutSeconds *int `pulumi:"nodeStartupTimeoutSeconds"` + Paused *bool `pulumi:"paused"` + Quantity *int `pulumi:"quantity"` + RollingUpdate *GetClusterV2RkeConfigMachinePoolRollingUpdate `pulumi:"rollingUpdate"` + Taints []GetClusterV2RkeConfigMachinePoolTaint `pulumi:"taints"` + UnhealthyNodeTimeoutSeconds *int `pulumi:"unhealthyNodeTimeoutSeconds"` + UnhealthyRange *string `pulumi:"unhealthyRange"` + WorkerRole *bool `pulumi:"workerRole"` +} + +// GetClusterV2RkeConfigMachinePoolInput is an input type that accepts GetClusterV2RkeConfigMachinePoolArgs and GetClusterV2RkeConfigMachinePoolOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolInput` via: +// +// GetClusterV2RkeConfigMachinePoolArgs{...} +type GetClusterV2RkeConfigMachinePoolInput interface { + pulumi.Input + + ToGetClusterV2RkeConfigMachinePoolOutput() GetClusterV2RkeConfigMachinePoolOutput + ToGetClusterV2RkeConfigMachinePoolOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolOutput +} + +type GetClusterV2RkeConfigMachinePoolArgs struct { + Annotations pulumi.MapInput `pulumi:"annotations"` + // (Computed) Cluster V2 cloud credential secret name (string) + CloudCredentialSecretName pulumi.StringInput `pulumi:"cloudCredentialSecretName"` + ControlPlaneRole pulumi.BoolPtrInput `pulumi:"controlPlaneRole"` + DrainBeforeDelete pulumi.BoolPtrInput `pulumi:"drainBeforeDelete"` + EtcdRole pulumi.BoolPtrInput `pulumi:"etcdRole"` + Labels pulumi.MapInput `pulumi:"labels"` + MachineConfig GetClusterV2RkeConfigMachinePoolMachineConfigInput `pulumi:"machineConfig"` + MachineLabels pulumi.MapInput `pulumi:"machineLabels"` + MaxUnhealthy pulumi.StringPtrInput `pulumi:"maxUnhealthy"` + // The name of the Cluster v2 (string) + Name pulumi.StringInput `pulumi:"name"` + NodeDrainTimeout pulumi.IntPtrInput `pulumi:"nodeDrainTimeout"` + NodeStartupTimeoutSeconds pulumi.IntPtrInput `pulumi:"nodeStartupTimeoutSeconds"` + Paused pulumi.BoolPtrInput `pulumi:"paused"` + Quantity pulumi.IntPtrInput `pulumi:"quantity"` + RollingUpdate GetClusterV2RkeConfigMachinePoolRollingUpdatePtrInput `pulumi:"rollingUpdate"` + Taints GetClusterV2RkeConfigMachinePoolTaintArrayInput `pulumi:"taints"` + UnhealthyNodeTimeoutSeconds pulumi.IntPtrInput `pulumi:"unhealthyNodeTimeoutSeconds"` + UnhealthyRange pulumi.StringPtrInput `pulumi:"unhealthyRange"` + WorkerRole pulumi.BoolPtrInput `pulumi:"workerRole"` +} + +func (GetClusterV2RkeConfigMachinePoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachinePool)(nil)).Elem() +} + +func (i GetClusterV2RkeConfigMachinePoolArgs) ToGetClusterV2RkeConfigMachinePoolOutput() GetClusterV2RkeConfigMachinePoolOutput { + return i.ToGetClusterV2RkeConfigMachinePoolOutputWithContext(context.Background()) } -type GetNotifierPagerdutyConfig struct { - ProxyUrl *string `pulumi:"proxyUrl"` - ServiceKey string `pulumi:"serviceKey"` +func (i GetClusterV2RkeConfigMachinePoolArgs) ToGetClusterV2RkeConfigMachinePoolOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolOutput) } -// GetNotifierPagerdutyConfigInput is an input type that accepts GetNotifierPagerdutyConfigArgs and GetNotifierPagerdutyConfigOutput values. -// You can construct a concrete instance of `GetNotifierPagerdutyConfigInput` via: +// GetClusterV2RkeConfigMachinePoolArrayInput is an input type that accepts GetClusterV2RkeConfigMachinePoolArray and GetClusterV2RkeConfigMachinePoolArrayOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolArrayInput` via: // -// GetNotifierPagerdutyConfigArgs{...} -type GetNotifierPagerdutyConfigInput interface { +// GetClusterV2RkeConfigMachinePoolArray{ GetClusterV2RkeConfigMachinePoolArgs{...} } +type GetClusterV2RkeConfigMachinePoolArrayInput interface { pulumi.Input - ToGetNotifierPagerdutyConfigOutput() GetNotifierPagerdutyConfigOutput - ToGetNotifierPagerdutyConfigOutputWithContext(context.Context) GetNotifierPagerdutyConfigOutput + ToGetClusterV2RkeConfigMachinePoolArrayOutput() GetClusterV2RkeConfigMachinePoolArrayOutput + ToGetClusterV2RkeConfigMachinePoolArrayOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolArrayOutput } -type GetNotifierPagerdutyConfigArgs struct { - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - ServiceKey pulumi.StringInput `pulumi:"serviceKey"` -} +type GetClusterV2RkeConfigMachinePoolArray []GetClusterV2RkeConfigMachinePoolInput -func (GetNotifierPagerdutyConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierPagerdutyConfig)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigMachinePool)(nil)).Elem() } -func (i GetNotifierPagerdutyConfigArgs) ToGetNotifierPagerdutyConfigOutput() GetNotifierPagerdutyConfigOutput { - return i.ToGetNotifierPagerdutyConfigOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigMachinePoolArray) ToGetClusterV2RkeConfigMachinePoolArrayOutput() GetClusterV2RkeConfigMachinePoolArrayOutput { + return i.ToGetClusterV2RkeConfigMachinePoolArrayOutputWithContext(context.Background()) } -func (i GetNotifierPagerdutyConfigArgs) ToGetNotifierPagerdutyConfigOutputWithContext(ctx context.Context) GetNotifierPagerdutyConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierPagerdutyConfigOutput) +func (i GetClusterV2RkeConfigMachinePoolArray) ToGetClusterV2RkeConfigMachinePoolArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolArrayOutput) } -type GetNotifierPagerdutyConfigOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachinePoolOutput struct{ *pulumi.OutputState } -func (GetNotifierPagerdutyConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierPagerdutyConfig)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachinePool)(nil)).Elem() } -func (o GetNotifierPagerdutyConfigOutput) ToGetNotifierPagerdutyConfigOutput() GetNotifierPagerdutyConfigOutput { +func (o GetClusterV2RkeConfigMachinePoolOutput) ToGetClusterV2RkeConfigMachinePoolOutput() GetClusterV2RkeConfigMachinePoolOutput { return o } -func (o GetNotifierPagerdutyConfigOutput) ToGetNotifierPagerdutyConfigOutputWithContext(ctx context.Context) GetNotifierPagerdutyConfigOutput { +func (o GetClusterV2RkeConfigMachinePoolOutput) ToGetClusterV2RkeConfigMachinePoolOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolOutput { return o } -func (o GetNotifierPagerdutyConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotifierPagerdutyConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) -} - -func (o GetNotifierPagerdutyConfigOutput) ServiceKey() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierPagerdutyConfig) string { return v.ServiceKey }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigMachinePoolOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) map[string]interface{} { return v.Annotations }).(pulumi.MapOutput) } -type GetNotifierSlackConfig struct { - DefaultRecipient string `pulumi:"defaultRecipient"` - ProxyUrl *string `pulumi:"proxyUrl"` - Url string `pulumi:"url"` +// (Computed) Cluster V2 cloud credential secret name (string) +func (o GetClusterV2RkeConfigMachinePoolOutput) CloudCredentialSecretName() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) string { return v.CloudCredentialSecretName }).(pulumi.StringOutput) } -// GetNotifierSlackConfigInput is an input type that accepts GetNotifierSlackConfigArgs and GetNotifierSlackConfigOutput values. -// You can construct a concrete instance of `GetNotifierSlackConfigInput` via: -// -// GetNotifierSlackConfigArgs{...} -type GetNotifierSlackConfigInput interface { - pulumi.Input - - ToGetNotifierSlackConfigOutput() GetNotifierSlackConfigOutput - ToGetNotifierSlackConfigOutputWithContext(context.Context) GetNotifierSlackConfigOutput +func (o GetClusterV2RkeConfigMachinePoolOutput) ControlPlaneRole() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *bool { return v.ControlPlaneRole }).(pulumi.BoolPtrOutput) } -type GetNotifierSlackConfigArgs struct { - DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - Url pulumi.StringInput `pulumi:"url"` +func (o GetClusterV2RkeConfigMachinePoolOutput) DrainBeforeDelete() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *bool { return v.DrainBeforeDelete }).(pulumi.BoolPtrOutput) } -func (GetNotifierSlackConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierSlackConfig)(nil)).Elem() +func (o GetClusterV2RkeConfigMachinePoolOutput) EtcdRole() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *bool { return v.EtcdRole }).(pulumi.BoolPtrOutput) } -func (i GetNotifierSlackConfigArgs) ToGetNotifierSlackConfigOutput() GetNotifierSlackConfigOutput { - return i.ToGetNotifierSlackConfigOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigMachinePoolOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) map[string]interface{} { return v.Labels }).(pulumi.MapOutput) } -func (i GetNotifierSlackConfigArgs) ToGetNotifierSlackConfigOutputWithContext(ctx context.Context) GetNotifierSlackConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierSlackConfigOutput) +func (o GetClusterV2RkeConfigMachinePoolOutput) MachineConfig() GetClusterV2RkeConfigMachinePoolMachineConfigOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) GetClusterV2RkeConfigMachinePoolMachineConfig { + return v.MachineConfig + }).(GetClusterV2RkeConfigMachinePoolMachineConfigOutput) } -type GetNotifierSlackConfigOutput struct{ *pulumi.OutputState } - -func (GetNotifierSlackConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierSlackConfig)(nil)).Elem() +func (o GetClusterV2RkeConfigMachinePoolOutput) MachineLabels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) map[string]interface{} { return v.MachineLabels }).(pulumi.MapOutput) } -func (o GetNotifierSlackConfigOutput) ToGetNotifierSlackConfigOutput() GetNotifierSlackConfigOutput { - return o +func (o GetClusterV2RkeConfigMachinePoolOutput) MaxUnhealthy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *string { return v.MaxUnhealthy }).(pulumi.StringPtrOutput) } -func (o GetNotifierSlackConfigOutput) ToGetNotifierSlackConfigOutputWithContext(ctx context.Context) GetNotifierSlackConfigOutput { - return o +// The name of the Cluster v2 (string) +func (o GetClusterV2RkeConfigMachinePoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) string { return v.Name }).(pulumi.StringOutput) } -func (o GetNotifierSlackConfigOutput) DefaultRecipient() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierSlackConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigMachinePoolOutput) NodeDrainTimeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *int { return v.NodeDrainTimeout }).(pulumi.IntPtrOutput) } -func (o GetNotifierSlackConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotifierSlackConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigMachinePoolOutput) NodeStartupTimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *int { return v.NodeStartupTimeoutSeconds }).(pulumi.IntPtrOutput) } -func (o GetNotifierSlackConfigOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierSlackConfig) string { return v.Url }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigMachinePoolOutput) Paused() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *bool { return v.Paused }).(pulumi.BoolPtrOutput) } -type GetNotifierSmtpConfig struct { - DefaultRecipient string `pulumi:"defaultRecipient"` - Host string `pulumi:"host"` - Password *string `pulumi:"password"` - Port int `pulumi:"port"` - Sender string `pulumi:"sender"` - Tls *bool `pulumi:"tls"` - Username *string `pulumi:"username"` +func (o GetClusterV2RkeConfigMachinePoolOutput) Quantity() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *int { return v.Quantity }).(pulumi.IntPtrOutput) } -// GetNotifierSmtpConfigInput is an input type that accepts GetNotifierSmtpConfigArgs and GetNotifierSmtpConfigOutput values. -// You can construct a concrete instance of `GetNotifierSmtpConfigInput` via: -// -// GetNotifierSmtpConfigArgs{...} -type GetNotifierSmtpConfigInput interface { - pulumi.Input - - ToGetNotifierSmtpConfigOutput() GetNotifierSmtpConfigOutput - ToGetNotifierSmtpConfigOutputWithContext(context.Context) GetNotifierSmtpConfigOutput +func (o GetClusterV2RkeConfigMachinePoolOutput) RollingUpdate() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *GetClusterV2RkeConfigMachinePoolRollingUpdate { + return v.RollingUpdate + }).(GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) } -type GetNotifierSmtpConfigArgs struct { - DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` - Host pulumi.StringInput `pulumi:"host"` - Password pulumi.StringPtrInput `pulumi:"password"` - Port pulumi.IntInput `pulumi:"port"` - Sender pulumi.StringInput `pulumi:"sender"` - Tls pulumi.BoolPtrInput `pulumi:"tls"` - Username pulumi.StringPtrInput `pulumi:"username"` +func (o GetClusterV2RkeConfigMachinePoolOutput) Taints() GetClusterV2RkeConfigMachinePoolTaintArrayOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) []GetClusterV2RkeConfigMachinePoolTaint { return v.Taints }).(GetClusterV2RkeConfigMachinePoolTaintArrayOutput) } -func (GetNotifierSmtpConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierSmtpConfig)(nil)).Elem() +func (o GetClusterV2RkeConfigMachinePoolOutput) UnhealthyNodeTimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *int { return v.UnhealthyNodeTimeoutSeconds }).(pulumi.IntPtrOutput) } -func (i GetNotifierSmtpConfigArgs) ToGetNotifierSmtpConfigOutput() GetNotifierSmtpConfigOutput { - return i.ToGetNotifierSmtpConfigOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigMachinePoolOutput) UnhealthyRange() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *string { return v.UnhealthyRange }).(pulumi.StringPtrOutput) } -func (i GetNotifierSmtpConfigArgs) ToGetNotifierSmtpConfigOutputWithContext(ctx context.Context) GetNotifierSmtpConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierSmtpConfigOutput) +func (o GetClusterV2RkeConfigMachinePoolOutput) WorkerRole() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePool) *bool { return v.WorkerRole }).(pulumi.BoolPtrOutput) } -type GetNotifierSmtpConfigOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachinePoolArrayOutput struct{ *pulumi.OutputState } -func (GetNotifierSmtpConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierSmtpConfig)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigMachinePool)(nil)).Elem() } -func (o GetNotifierSmtpConfigOutput) ToGetNotifierSmtpConfigOutput() GetNotifierSmtpConfigOutput { +func (o GetClusterV2RkeConfigMachinePoolArrayOutput) ToGetClusterV2RkeConfigMachinePoolArrayOutput() GetClusterV2RkeConfigMachinePoolArrayOutput { return o } -func (o GetNotifierSmtpConfigOutput) ToGetNotifierSmtpConfigOutputWithContext(ctx context.Context) GetNotifierSmtpConfigOutput { +func (o GetClusterV2RkeConfigMachinePoolArrayOutput) ToGetClusterV2RkeConfigMachinePoolArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolArrayOutput { return o } -func (o GetNotifierSmtpConfigOutput) DefaultRecipient() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierSmtpConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) -} - -func (o GetNotifierSmtpConfigOutput) Host() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierSmtpConfig) string { return v.Host }).(pulumi.StringOutput) -} - -func (o GetNotifierSmtpConfigOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotifierSmtpConfig) *string { return v.Password }).(pulumi.StringPtrOutput) -} - -func (o GetNotifierSmtpConfigOutput) Port() pulumi.IntOutput { - return o.ApplyT(func(v GetNotifierSmtpConfig) int { return v.Port }).(pulumi.IntOutput) -} - -func (o GetNotifierSmtpConfigOutput) Sender() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierSmtpConfig) string { return v.Sender }).(pulumi.StringOutput) -} - -func (o GetNotifierSmtpConfigOutput) Tls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetNotifierSmtpConfig) *bool { return v.Tls }).(pulumi.BoolPtrOutput) -} - -func (o GetNotifierSmtpConfigOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotifierSmtpConfig) *string { return v.Username }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigMachinePoolArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigMachinePoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigMachinePool { + return vs[0].([]GetClusterV2RkeConfigMachinePool)[vs[1].(int)] + }).(GetClusterV2RkeConfigMachinePoolOutput) } -type GetNotifierWebhookConfig struct { - ProxyUrl *string `pulumi:"proxyUrl"` - Url string `pulumi:"url"` +type GetClusterV2RkeConfigMachinePoolMachineConfig struct { + Kind string `pulumi:"kind"` + // The name of the Cluster v2 (string) + Name string `pulumi:"name"` } -// GetNotifierWebhookConfigInput is an input type that accepts GetNotifierWebhookConfigArgs and GetNotifierWebhookConfigOutput values. -// You can construct a concrete instance of `GetNotifierWebhookConfigInput` via: +// GetClusterV2RkeConfigMachinePoolMachineConfigInput is an input type that accepts GetClusterV2RkeConfigMachinePoolMachineConfigArgs and GetClusterV2RkeConfigMachinePoolMachineConfigOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolMachineConfigInput` via: // -// GetNotifierWebhookConfigArgs{...} -type GetNotifierWebhookConfigInput interface { +// GetClusterV2RkeConfigMachinePoolMachineConfigArgs{...} +type GetClusterV2RkeConfigMachinePoolMachineConfigInput interface { pulumi.Input - ToGetNotifierWebhookConfigOutput() GetNotifierWebhookConfigOutput - ToGetNotifierWebhookConfigOutputWithContext(context.Context) GetNotifierWebhookConfigOutput + ToGetClusterV2RkeConfigMachinePoolMachineConfigOutput() GetClusterV2RkeConfigMachinePoolMachineConfigOutput + ToGetClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolMachineConfigOutput } -type GetNotifierWebhookConfigArgs struct { - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - Url pulumi.StringInput `pulumi:"url"` +type GetClusterV2RkeConfigMachinePoolMachineConfigArgs struct { + Kind pulumi.StringInput `pulumi:"kind"` + // The name of the Cluster v2 (string) + Name pulumi.StringInput `pulumi:"name"` } -func (GetNotifierWebhookConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierWebhookConfig)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolMachineConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolMachineConfig)(nil)).Elem() } -func (i GetNotifierWebhookConfigArgs) ToGetNotifierWebhookConfigOutput() GetNotifierWebhookConfigOutput { - return i.ToGetNotifierWebhookConfigOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigMachinePoolMachineConfigArgs) ToGetClusterV2RkeConfigMachinePoolMachineConfigOutput() GetClusterV2RkeConfigMachinePoolMachineConfigOutput { + return i.ToGetClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(context.Background()) } -func (i GetNotifierWebhookConfigArgs) ToGetNotifierWebhookConfigOutputWithContext(ctx context.Context) GetNotifierWebhookConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierWebhookConfigOutput) +func (i GetClusterV2RkeConfigMachinePoolMachineConfigArgs) ToGetClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolMachineConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolMachineConfigOutput) } -type GetNotifierWebhookConfigOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachinePoolMachineConfigOutput struct{ *pulumi.OutputState } -func (GetNotifierWebhookConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierWebhookConfig)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolMachineConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolMachineConfig)(nil)).Elem() } -func (o GetNotifierWebhookConfigOutput) ToGetNotifierWebhookConfigOutput() GetNotifierWebhookConfigOutput { +func (o GetClusterV2RkeConfigMachinePoolMachineConfigOutput) ToGetClusterV2RkeConfigMachinePoolMachineConfigOutput() GetClusterV2RkeConfigMachinePoolMachineConfigOutput { return o } -func (o GetNotifierWebhookConfigOutput) ToGetNotifierWebhookConfigOutputWithContext(ctx context.Context) GetNotifierWebhookConfigOutput { +func (o GetClusterV2RkeConfigMachinePoolMachineConfigOutput) ToGetClusterV2RkeConfigMachinePoolMachineConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolMachineConfigOutput { return o } -func (o GetNotifierWebhookConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotifierWebhookConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigMachinePoolMachineConfigOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolMachineConfig) string { return v.Kind }).(pulumi.StringOutput) } -func (o GetNotifierWebhookConfigOutput) Url() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierWebhookConfig) string { return v.Url }).(pulumi.StringOutput) +// The name of the Cluster v2 (string) +func (o GetClusterV2RkeConfigMachinePoolMachineConfigOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolMachineConfig) string { return v.Name }).(pulumi.StringOutput) } -type GetNotifierWechatConfig struct { - Agent string `pulumi:"agent"` - Corp string `pulumi:"corp"` - DefaultRecipient string `pulumi:"defaultRecipient"` - ProxyUrl *string `pulumi:"proxyUrl"` - RecipientType *string `pulumi:"recipientType"` - Secret string `pulumi:"secret"` +type GetClusterV2RkeConfigMachinePoolRollingUpdate struct { + MaxSurge *string `pulumi:"maxSurge"` + MaxUnavailable *string `pulumi:"maxUnavailable"` } -// GetNotifierWechatConfigInput is an input type that accepts GetNotifierWechatConfigArgs and GetNotifierWechatConfigOutput values. -// You can construct a concrete instance of `GetNotifierWechatConfigInput` via: +// GetClusterV2RkeConfigMachinePoolRollingUpdateInput is an input type that accepts GetClusterV2RkeConfigMachinePoolRollingUpdateArgs and GetClusterV2RkeConfigMachinePoolRollingUpdateOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolRollingUpdateInput` via: // -// GetNotifierWechatConfigArgs{...} -type GetNotifierWechatConfigInput interface { +// GetClusterV2RkeConfigMachinePoolRollingUpdateArgs{...} +type GetClusterV2RkeConfigMachinePoolRollingUpdateInput interface { pulumi.Input - ToGetNotifierWechatConfigOutput() GetNotifierWechatConfigOutput - ToGetNotifierWechatConfigOutputWithContext(context.Context) GetNotifierWechatConfigOutput -} - -type GetNotifierWechatConfigArgs struct { - Agent pulumi.StringInput `pulumi:"agent"` - Corp pulumi.StringInput `pulumi:"corp"` - DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` - ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` - RecipientType pulumi.StringPtrInput `pulumi:"recipientType"` - Secret pulumi.StringInput `pulumi:"secret"` -} - -func (GetNotifierWechatConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierWechatConfig)(nil)).Elem() + ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutput() GetClusterV2RkeConfigMachinePoolRollingUpdateOutput + ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdateOutput } -func (i GetNotifierWechatConfigArgs) ToGetNotifierWechatConfigOutput() GetNotifierWechatConfigOutput { - return i.ToGetNotifierWechatConfigOutputWithContext(context.Background()) +type GetClusterV2RkeConfigMachinePoolRollingUpdateArgs struct { + MaxSurge pulumi.StringPtrInput `pulumi:"maxSurge"` + MaxUnavailable pulumi.StringPtrInput `pulumi:"maxUnavailable"` } -func (i GetNotifierWechatConfigArgs) ToGetNotifierWechatConfigOutputWithContext(ctx context.Context) GetNotifierWechatConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetNotifierWechatConfigOutput) +func (GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() } -type GetNotifierWechatConfigOutput struct{ *pulumi.OutputState } - -func (GetNotifierWechatConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetNotifierWechatConfig)(nil)).Elem() +func (i GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutput() GetClusterV2RkeConfigMachinePoolRollingUpdateOutput { + return i.ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(context.Background()) } -func (o GetNotifierWechatConfigOutput) ToGetNotifierWechatConfigOutput() GetNotifierWechatConfigOutput { - return o +func (i GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) } -func (o GetNotifierWechatConfigOutput) ToGetNotifierWechatConfigOutputWithContext(ctx context.Context) GetNotifierWechatConfigOutput { - return o +func (i GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return i.ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) } -func (o GetNotifierWechatConfigOutput) Agent() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierWechatConfig) string { return v.Agent }).(pulumi.StringOutput) +func (i GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolRollingUpdateOutput).ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx) } -func (o GetNotifierWechatConfigOutput) Corp() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierWechatConfig) string { return v.Corp }).(pulumi.StringOutput) -} +// GetClusterV2RkeConfigMachinePoolRollingUpdatePtrInput is an input type that accepts GetClusterV2RkeConfigMachinePoolRollingUpdateArgs, GetClusterV2RkeConfigMachinePoolRollingUpdatePtr and GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolRollingUpdatePtrInput` via: +// +// GetClusterV2RkeConfigMachinePoolRollingUpdateArgs{...} +// +// or: +// +// nil +type GetClusterV2RkeConfigMachinePoolRollingUpdatePtrInput interface { + pulumi.Input -func (o GetNotifierWechatConfigOutput) DefaultRecipient() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierWechatConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) + ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput + ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput } -func (o GetNotifierWechatConfigOutput) ProxyUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotifierWechatConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) -} +type getClusterV2RkeConfigMachinePoolRollingUpdatePtrType GetClusterV2RkeConfigMachinePoolRollingUpdateArgs -func (o GetNotifierWechatConfigOutput) RecipientType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetNotifierWechatConfig) *string { return v.RecipientType }).(pulumi.StringPtrOutput) +func GetClusterV2RkeConfigMachinePoolRollingUpdatePtr(v *GetClusterV2RkeConfigMachinePoolRollingUpdateArgs) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrInput { + return (*getClusterV2RkeConfigMachinePoolRollingUpdatePtrType)(v) } -func (o GetNotifierWechatConfigOutput) Secret() pulumi.StringOutput { - return o.ApplyT(func(v GetNotifierWechatConfig) string { return v.Secret }).(pulumi.StringOutput) +func (*getClusterV2RkeConfigMachinePoolRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() } -type GetPodSecurityPolicyTemplateAllowedCsiDriver struct { - // The name of the PodSecurityPolicyTemplate (string) - Name string `pulumi:"name"` +func (i *getClusterV2RkeConfigMachinePoolRollingUpdatePtrType) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return i.ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) } -// GetPodSecurityPolicyTemplateAllowedCsiDriverInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedCsiDriverArgs and GetPodSecurityPolicyTemplateAllowedCsiDriverOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedCsiDriverInput` via: -// -// GetPodSecurityPolicyTemplateAllowedCsiDriverArgs{...} -type GetPodSecurityPolicyTemplateAllowedCsiDriverInput interface { - pulumi.Input - - ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverOutput - ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverOutput +func (i *getClusterV2RkeConfigMachinePoolRollingUpdatePtrType) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) } -type GetPodSecurityPolicyTemplateAllowedCsiDriverArgs struct { - // The name of the PodSecurityPolicyTemplate (string) - Name pulumi.StringInput `pulumi:"name"` -} +type GetClusterV2RkeConfigMachinePoolRollingUpdateOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateAllowedCsiDriverArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateAllowedCsiDriverArgs) ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverOutput { - return i.ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutput() GetClusterV2RkeConfigMachinePoolRollingUpdateOutput { + return o } -func (i GetPodSecurityPolicyTemplateAllowedCsiDriverArgs) ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) +func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdateOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdateOutput { + return o } -// GetPodSecurityPolicyTemplateAllowedCsiDriverArrayInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedCsiDriverArray and GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedCsiDriverArrayInput` via: -// -// GetPodSecurityPolicyTemplateAllowedCsiDriverArray{ GetPodSecurityPolicyTemplateAllowedCsiDriverArgs{...} } -type GetPodSecurityPolicyTemplateAllowedCsiDriverArrayInput interface { - pulumi.Input - - ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput - ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput +func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return o.ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(context.Background()) } -type GetPodSecurityPolicyTemplateAllowedCsiDriverArray []GetPodSecurityPolicyTemplateAllowedCsiDriverInput - -func (GetPodSecurityPolicyTemplateAllowedCsiDriverArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigMachinePoolRollingUpdate) *GetClusterV2RkeConfigMachinePoolRollingUpdate { + return &v + }).(GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) } -func (i GetPodSecurityPolicyTemplateAllowedCsiDriverArray) ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { - return i.ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) MaxSurge() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolRollingUpdate) *string { return v.MaxSurge }).(pulumi.StringPtrOutput) } -func (i GetPodSecurityPolicyTemplateAllowedCsiDriverArray) ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) +func (o GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) MaxUnavailable() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolRollingUpdate) *string { return v.MaxUnavailable }).(pulumi.StringPtrOutput) } -type GetPodSecurityPolicyTemplateAllowedCsiDriverOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigMachinePoolRollingUpdate)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverOutput { +func (o GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput() GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { return o } -func (o GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverOutput { +func (o GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) ToGetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput { return o } -// The name of the PodSecurityPolicyTemplate (string) -func (o GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateAllowedCsiDriver) string { return v.Name }).(pulumi.StringOutput) -} - -type GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput struct{ *pulumi.OutputState } - -func (GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() -} - -func (o GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { - return o +func (o GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) Elem() GetClusterV2RkeConfigMachinePoolRollingUpdateOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigMachinePoolRollingUpdate) GetClusterV2RkeConfigMachinePoolRollingUpdate { + if v != nil { + return *v + } + var ret GetClusterV2RkeConfigMachinePoolRollingUpdate + return ret + }).(GetClusterV2RkeConfigMachinePoolRollingUpdateOutput) } -func (o GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { - return o +func (o GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) MaxSurge() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigMachinePoolRollingUpdate) *string { + if v == nil { + return nil + } + return v.MaxSurge + }).(pulumi.StringPtrOutput) } -func (o GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateAllowedCsiDriverOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateAllowedCsiDriver { - return vs[0].([]GetPodSecurityPolicyTemplateAllowedCsiDriver)[vs[1].(int)] - }).(GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) +func (o GetClusterV2RkeConfigMachinePoolRollingUpdatePtrOutput) MaxUnavailable() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigMachinePoolRollingUpdate) *string { + if v == nil { + return nil + } + return v.MaxUnavailable + }).(pulumi.StringPtrOutput) } -type GetPodSecurityPolicyTemplateAllowedFlexVolume struct { - Driver string `pulumi:"driver"` +type GetClusterV2RkeConfigMachinePoolTaint struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + Value string `pulumi:"value"` } -// GetPodSecurityPolicyTemplateAllowedFlexVolumeInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs and GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedFlexVolumeInput` via: +// GetClusterV2RkeConfigMachinePoolTaintInput is an input type that accepts GetClusterV2RkeConfigMachinePoolTaintArgs and GetClusterV2RkeConfigMachinePoolTaintOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolTaintInput` via: // -// GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs{...} -type GetPodSecurityPolicyTemplateAllowedFlexVolumeInput interface { +// GetClusterV2RkeConfigMachinePoolTaintArgs{...} +type GetClusterV2RkeConfigMachinePoolTaintInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput - ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput + ToGetClusterV2RkeConfigMachinePoolTaintOutput() GetClusterV2RkeConfigMachinePoolTaintOutput + ToGetClusterV2RkeConfigMachinePoolTaintOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolTaintOutput } -type GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs struct { - Driver pulumi.StringInput `pulumi:"driver"` +type GetClusterV2RkeConfigMachinePoolTaintArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + Value pulumi.StringInput `pulumi:"value"` } -func (GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolTaintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput { - return i.ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigMachinePoolTaintArgs) ToGetClusterV2RkeConfigMachinePoolTaintOutput() GetClusterV2RkeConfigMachinePoolTaintOutput { + return i.ToGetClusterV2RkeConfigMachinePoolTaintOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) +func (i GetClusterV2RkeConfigMachinePoolTaintArgs) ToGetClusterV2RkeConfigMachinePoolTaintOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolTaintOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolTaintOutput) } -// GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedFlexVolumeArray and GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayInput` via: +// GetClusterV2RkeConfigMachinePoolTaintArrayInput is an input type that accepts GetClusterV2RkeConfigMachinePoolTaintArray and GetClusterV2RkeConfigMachinePoolTaintArrayOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachinePoolTaintArrayInput` via: // -// GetPodSecurityPolicyTemplateAllowedFlexVolumeArray{ GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs{...} } -type GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayInput interface { +// GetClusterV2RkeConfigMachinePoolTaintArray{ GetClusterV2RkeConfigMachinePoolTaintArgs{...} } +type GetClusterV2RkeConfigMachinePoolTaintArrayInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput - ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput + ToGetClusterV2RkeConfigMachinePoolTaintArrayOutput() GetClusterV2RkeConfigMachinePoolTaintArrayOutput + ToGetClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(context.Context) GetClusterV2RkeConfigMachinePoolTaintArrayOutput } -type GetPodSecurityPolicyTemplateAllowedFlexVolumeArray []GetPodSecurityPolicyTemplateAllowedFlexVolumeInput +type GetClusterV2RkeConfigMachinePoolTaintArray []GetClusterV2RkeConfigMachinePoolTaintInput -func (GetPodSecurityPolicyTemplateAllowedFlexVolumeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolTaintArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateAllowedFlexVolumeArray) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { - return i.ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigMachinePoolTaintArray) ToGetClusterV2RkeConfigMachinePoolTaintArrayOutput() GetClusterV2RkeConfigMachinePoolTaintArrayOutput { + return i.ToGetClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateAllowedFlexVolumeArray) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) +func (i GetClusterV2RkeConfigMachinePoolTaintArray) ToGetClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolTaintArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachinePoolTaintArrayOutput) } -type GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachinePoolTaintOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolTaintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput { +func (o GetClusterV2RkeConfigMachinePoolTaintOutput) ToGetClusterV2RkeConfigMachinePoolTaintOutput() GetClusterV2RkeConfigMachinePoolTaintOutput { return o } -func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput { +func (o GetClusterV2RkeConfigMachinePoolTaintOutput) ToGetClusterV2RkeConfigMachinePoolTaintOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolTaintOutput { return o } -func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) Driver() pulumi.StringOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateAllowedFlexVolume) string { return v.Driver }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigMachinePoolTaintOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) +} + +func (o GetClusterV2RkeConfigMachinePoolTaintOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolTaint) string { return v.Key }).(pulumi.StringOutput) +} + +func (o GetClusterV2RkeConfigMachinePoolTaintOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachinePoolTaint) string { return v.Value }).(pulumi.StringOutput) } -type GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachinePoolTaintArrayOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +func (GetClusterV2RkeConfigMachinePoolTaintArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigMachinePoolTaint)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { +func (o GetClusterV2RkeConfigMachinePoolTaintArrayOutput) ToGetClusterV2RkeConfigMachinePoolTaintArrayOutput() GetClusterV2RkeConfigMachinePoolTaintArrayOutput { return o } -func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { +func (o GetClusterV2RkeConfigMachinePoolTaintArrayOutput) ToGetClusterV2RkeConfigMachinePoolTaintArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachinePoolTaintArrayOutput { return o } -func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateAllowedFlexVolume { - return vs[0].([]GetPodSecurityPolicyTemplateAllowedFlexVolume)[vs[1].(int)] - }).(GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) +func (o GetClusterV2RkeConfigMachinePoolTaintArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigMachinePoolTaintOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigMachinePoolTaint { + return vs[0].([]GetClusterV2RkeConfigMachinePoolTaint)[vs[1].(int)] + }).(GetClusterV2RkeConfigMachinePoolTaintOutput) } -type GetPodSecurityPolicyTemplateAllowedHostPath struct { - PathPrefix string `pulumi:"pathPrefix"` - ReadOnly *bool `pulumi:"readOnly"` +type GetClusterV2RkeConfigMachineSelectorConfig struct { + Config map[string]interface{} `pulumi:"config"` + MachineLabelSelector *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector `pulumi:"machineLabelSelector"` } -// GetPodSecurityPolicyTemplateAllowedHostPathInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedHostPathArgs and GetPodSecurityPolicyTemplateAllowedHostPathOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedHostPathInput` via: +// GetClusterV2RkeConfigMachineSelectorConfigInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigArgs and GetClusterV2RkeConfigMachineSelectorConfigOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigInput` via: // -// GetPodSecurityPolicyTemplateAllowedHostPathArgs{...} -type GetPodSecurityPolicyTemplateAllowedHostPathInput interface { +// GetClusterV2RkeConfigMachineSelectorConfigArgs{...} +type GetClusterV2RkeConfigMachineSelectorConfigInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateAllowedHostPathOutput() GetPodSecurityPolicyTemplateAllowedHostPathOutput - ToGetPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedHostPathOutput + ToGetClusterV2RkeConfigMachineSelectorConfigOutput() GetClusterV2RkeConfigMachineSelectorConfigOutput + ToGetClusterV2RkeConfigMachineSelectorConfigOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigOutput } -type GetPodSecurityPolicyTemplateAllowedHostPathArgs struct { - PathPrefix pulumi.StringInput `pulumi:"pathPrefix"` - ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` +type GetClusterV2RkeConfigMachineSelectorConfigArgs struct { + Config pulumi.MapInput `pulumi:"config"` + MachineLabelSelector GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput `pulumi:"machineLabelSelector"` } -func (GetPodSecurityPolicyTemplateAllowedHostPathArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateAllowedHostPathArgs) ToGetPodSecurityPolicyTemplateAllowedHostPathOutput() GetPodSecurityPolicyTemplateAllowedHostPathOutput { - return i.ToGetPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigMachineSelectorConfigArgs) ToGetClusterV2RkeConfigMachineSelectorConfigOutput() GetClusterV2RkeConfigMachineSelectorConfigOutput { + return i.ToGetClusterV2RkeConfigMachineSelectorConfigOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateAllowedHostPathArgs) ToGetPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedHostPathOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedHostPathOutput) +func (i GetClusterV2RkeConfigMachineSelectorConfigArgs) ToGetClusterV2RkeConfigMachineSelectorConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigOutput) } -// GetPodSecurityPolicyTemplateAllowedHostPathArrayInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedHostPathArray and GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedHostPathArrayInput` via: +// GetClusterV2RkeConfigMachineSelectorConfigArrayInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigArray and GetClusterV2RkeConfigMachineSelectorConfigArrayOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigArrayInput` via: // -// GetPodSecurityPolicyTemplateAllowedHostPathArray{ GetPodSecurityPolicyTemplateAllowedHostPathArgs{...} } -type GetPodSecurityPolicyTemplateAllowedHostPathArrayInput interface { +// GetClusterV2RkeConfigMachineSelectorConfigArray{ GetClusterV2RkeConfigMachineSelectorConfigArgs{...} } +type GetClusterV2RkeConfigMachineSelectorConfigArrayInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutput() GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput - ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput + ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigArrayOutput + ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigArrayOutput } -type GetPodSecurityPolicyTemplateAllowedHostPathArray []GetPodSecurityPolicyTemplateAllowedHostPathInput +type GetClusterV2RkeConfigMachineSelectorConfigArray []GetClusterV2RkeConfigMachineSelectorConfigInput -func (GetPodSecurityPolicyTemplateAllowedHostPathArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateAllowedHostPathArray) ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutput() GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput { - return i.ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigMachineSelectorConfigArray) ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigArrayOutput { + return i.ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateAllowedHostPathArray) ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput) +func (i GetClusterV2RkeConfigMachineSelectorConfigArray) ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) } -type GetPodSecurityPolicyTemplateAllowedHostPathOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachineSelectorConfigOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateAllowedHostPathOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateAllowedHostPathOutput) ToGetPodSecurityPolicyTemplateAllowedHostPathOutput() GetPodSecurityPolicyTemplateAllowedHostPathOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) ToGetClusterV2RkeConfigMachineSelectorConfigOutput() GetClusterV2RkeConfigMachineSelectorConfigOutput { return o } -func (o GetPodSecurityPolicyTemplateAllowedHostPathOutput) ToGetPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedHostPathOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) ToGetClusterV2RkeConfigMachineSelectorConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigOutput { return o } -func (o GetPodSecurityPolicyTemplateAllowedHostPathOutput) PathPrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateAllowedHostPath) string { return v.PathPrefix }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) Config() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfig) map[string]interface{} { return v.Config }).(pulumi.MapOutput) } -func (o GetPodSecurityPolicyTemplateAllowedHostPathOutput) ReadOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateAllowedHostPath) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) +func (o GetClusterV2RkeConfigMachineSelectorConfigOutput) MachineLabelSelector() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfig) *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { + return v.MachineLabelSelector + }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) } -type GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachineSelectorConfigArrayOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigMachineSelectorConfig)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput) ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutput() GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigArrayOutput { return o } -func (o GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput) ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) ToGetClusterV2RkeConfigMachineSelectorConfigArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigArrayOutput { return o } -func (o GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateAllowedHostPathOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateAllowedHostPath { - return vs[0].([]GetPodSecurityPolicyTemplateAllowedHostPath)[vs[1].(int)] - }).(GetPodSecurityPolicyTemplateAllowedHostPathOutput) +func (o GetClusterV2RkeConfigMachineSelectorConfigArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigMachineSelectorConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigMachineSelectorConfig { + return vs[0].([]GetClusterV2RkeConfigMachineSelectorConfig)[vs[1].(int)] + }).(GetClusterV2RkeConfigMachineSelectorConfigOutput) } -type GetPodSecurityPolicyTemplateFsGroup struct { - Ranges []GetPodSecurityPolicyTemplateFsGroupRange `pulumi:"ranges"` - Rule *string `pulumi:"rule"` +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector struct { + MatchExpressions []GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression `pulumi:"matchExpressions"` + MatchLabels map[string]interface{} `pulumi:"matchLabels"` } -// GetPodSecurityPolicyTemplateFsGroupInput is an input type that accepts GetPodSecurityPolicyTemplateFsGroupArgs and GetPodSecurityPolicyTemplateFsGroupOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateFsGroupInput` via: +// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs and GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput` via: // -// GetPodSecurityPolicyTemplateFsGroupArgs{...} -type GetPodSecurityPolicyTemplateFsGroupInput interface { +// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs{...} +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateFsGroupOutput() GetPodSecurityPolicyTemplateFsGroupOutput - ToGetPodSecurityPolicyTemplateFsGroupOutputWithContext(context.Context) GetPodSecurityPolicyTemplateFsGroupOutput + ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput + ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput } -type GetPodSecurityPolicyTemplateFsGroupArgs struct { - Ranges GetPodSecurityPolicyTemplateFsGroupRangeArrayInput `pulumi:"ranges"` - Rule pulumi.StringPtrInput `pulumi:"rule"` +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs struct { + MatchExpressions GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput `pulumi:"matchExpressions"` + MatchLabels pulumi.MapInput `pulumi:"matchLabels"` } -func (GetPodSecurityPolicyTemplateFsGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroup)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateFsGroupArgs) ToGetPodSecurityPolicyTemplateFsGroupOutput() GetPodSecurityPolicyTemplateFsGroupOutput { - return i.ToGetPodSecurityPolicyTemplateFsGroupOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { + return i.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateFsGroupArgs) ToGetPodSecurityPolicyTemplateFsGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateFsGroupOutput) +func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) } -func (i GetPodSecurityPolicyTemplateFsGroupArgs) ToGetPodSecurityPolicyTemplateFsGroupPtrOutput() GetPodSecurityPolicyTemplateFsGroupPtrOutput { - return i.ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return i.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateFsGroupArgs) ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateFsGroupOutput).ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx) +func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput).ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx) } -// GetPodSecurityPolicyTemplateFsGroupPtrInput is an input type that accepts GetPodSecurityPolicyTemplateFsGroupArgs, GetPodSecurityPolicyTemplateFsGroupPtr and GetPodSecurityPolicyTemplateFsGroupPtrOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateFsGroupPtrInput` via: +// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs, GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtr and GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput` via: // -// GetPodSecurityPolicyTemplateFsGroupArgs{...} +// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs{...} // // or: // // nil -type GetPodSecurityPolicyTemplateFsGroupPtrInput interface { +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateFsGroupPtrOutput() GetPodSecurityPolicyTemplateFsGroupPtrOutput - ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateFsGroupPtrOutput + ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput + ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput } -type getPodSecurityPolicyTemplateFsGroupPtrType GetPodSecurityPolicyTemplateFsGroupArgs +type getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs -func GetPodSecurityPolicyTemplateFsGroupPtr(v *GetPodSecurityPolicyTemplateFsGroupArgs) GetPodSecurityPolicyTemplateFsGroupPtrInput { - return (*getPodSecurityPolicyTemplateFsGroupPtrType)(v) +func GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtr(v *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrInput { + return (*getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType)(v) } -func (*getPodSecurityPolicyTemplateFsGroupPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateFsGroup)(nil)).Elem() +func (*getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() } -func (i *getPodSecurityPolicyTemplateFsGroupPtrType) ToGetPodSecurityPolicyTemplateFsGroupPtrOutput() GetPodSecurityPolicyTemplateFsGroupPtrOutput { - return i.ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) +func (i *getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return i.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) } -func (i *getPodSecurityPolicyTemplateFsGroupPtrType) ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateFsGroupPtrOutput) +func (i *getClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrType) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) } -type GetPodSecurityPolicyTemplateFsGroupOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateFsGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroup)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateFsGroupOutput) ToGetPodSecurityPolicyTemplateFsGroupOutput() GetPodSecurityPolicyTemplateFsGroupOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { return o } -func (o GetPodSecurityPolicyTemplateFsGroupOutput) ToGetPodSecurityPolicyTemplateFsGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { return o } -func (o GetPodSecurityPolicyTemplateFsGroupOutput) ToGetPodSecurityPolicyTemplateFsGroupPtrOutput() GetPodSecurityPolicyTemplateFsGroupPtrOutput { - return o.ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return o.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(context.Background()) } -func (o GetPodSecurityPolicyTemplateFsGroupOutput) ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateFsGroup) *GetPodSecurityPolicyTemplateFsGroup { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { return &v - }).(GetPodSecurityPolicyTemplateFsGroupPtrOutput) + }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) } -func (o GetPodSecurityPolicyTemplateFsGroupOutput) Ranges() GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateFsGroup) []GetPodSecurityPolicyTemplateFsGroupRange { - return v.Ranges - }).(GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) MatchExpressions() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) []GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { + return v.MatchExpressions + }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) } -func (o GetPodSecurityPolicyTemplateFsGroupOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateFsGroup) *string { return v.Rule }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) MatchLabels() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) map[string]interface{} { + return v.MatchLabels + }).(pulumi.MapOutput) } -type GetPodSecurityPolicyTemplateFsGroupPtrOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateFsGroupPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateFsGroup)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateFsGroupPtrOutput) ToGetPodSecurityPolicyTemplateFsGroupPtrOutput() GetPodSecurityPolicyTemplateFsGroupPtrOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateFsGroupPtrOutput) ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupPtrOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateFsGroupPtrOutput) Elem() GetPodSecurityPolicyTemplateFsGroupOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateFsGroup) GetPodSecurityPolicyTemplateFsGroup { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) Elem() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector { if v != nil { return *v } - var ret GetPodSecurityPolicyTemplateFsGroup + var ret GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector return ret - }).(GetPodSecurityPolicyTemplateFsGroupOutput) + }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorOutput) } -func (o GetPodSecurityPolicyTemplateFsGroupPtrOutput) Ranges() GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateFsGroup) []GetPodSecurityPolicyTemplateFsGroupRange { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) MatchExpressions() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) []GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { if v == nil { return nil } - return v.Ranges - }).(GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) + return v.MatchExpressions + }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) } -func (o GetPodSecurityPolicyTemplateFsGroupPtrOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateFsGroup) *string { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorPtrOutput) MatchLabels() pulumi.MapOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector) map[string]interface{} { if v == nil { return nil } - return v.Rule - }).(pulumi.StringPtrOutput) -} - -type GetPodSecurityPolicyTemplateFsGroupRange struct { - Max int `pulumi:"max"` - Min int `pulumi:"min"` -} - -// GetPodSecurityPolicyTemplateFsGroupRangeInput is an input type that accepts GetPodSecurityPolicyTemplateFsGroupRangeArgs and GetPodSecurityPolicyTemplateFsGroupRangeOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateFsGroupRangeInput` via: -// -// GetPodSecurityPolicyTemplateFsGroupRangeArgs{...} -type GetPodSecurityPolicyTemplateFsGroupRangeInput interface { - pulumi.Input - - ToGetPodSecurityPolicyTemplateFsGroupRangeOutput() GetPodSecurityPolicyTemplateFsGroupRangeOutput - ToGetPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(context.Context) GetPodSecurityPolicyTemplateFsGroupRangeOutput -} - -type GetPodSecurityPolicyTemplateFsGroupRangeArgs struct { - Max pulumi.IntInput `pulumi:"max"` - Min pulumi.IntInput `pulumi:"min"` -} - -func (GetPodSecurityPolicyTemplateFsGroupRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() -} - -func (i GetPodSecurityPolicyTemplateFsGroupRangeArgs) ToGetPodSecurityPolicyTemplateFsGroupRangeOutput() GetPodSecurityPolicyTemplateFsGroupRangeOutput { - return i.ToGetPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(context.Background()) -} - -func (i GetPodSecurityPolicyTemplateFsGroupRangeArgs) ToGetPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateFsGroupRangeOutput) -} - -// GetPodSecurityPolicyTemplateFsGroupRangeArrayInput is an input type that accepts GetPodSecurityPolicyTemplateFsGroupRangeArray and GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateFsGroupRangeArrayInput` via: -// -// GetPodSecurityPolicyTemplateFsGroupRangeArray{ GetPodSecurityPolicyTemplateFsGroupRangeArgs{...} } -type GetPodSecurityPolicyTemplateFsGroupRangeArrayInput interface { - pulumi.Input - - ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput - ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput -} - -type GetPodSecurityPolicyTemplateFsGroupRangeArray []GetPodSecurityPolicyTemplateFsGroupRangeInput - -func (GetPodSecurityPolicyTemplateFsGroupRangeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() -} - -func (i GetPodSecurityPolicyTemplateFsGroupRangeArray) ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return i.ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(context.Background()) -} - -func (i GetPodSecurityPolicyTemplateFsGroupRangeArray) ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) -} - -type GetPodSecurityPolicyTemplateFsGroupRangeOutput struct{ *pulumi.OutputState } - -func (GetPodSecurityPolicyTemplateFsGroupRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() -} - -func (o GetPodSecurityPolicyTemplateFsGroupRangeOutput) ToGetPodSecurityPolicyTemplateFsGroupRangeOutput() GetPodSecurityPolicyTemplateFsGroupRangeOutput { - return o -} - -func (o GetPodSecurityPolicyTemplateFsGroupRangeOutput) ToGetPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupRangeOutput { - return o -} - -func (o GetPodSecurityPolicyTemplateFsGroupRangeOutput) Max() pulumi.IntOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateFsGroupRange) int { return v.Max }).(pulumi.IntOutput) -} - -func (o GetPodSecurityPolicyTemplateFsGroupRangeOutput) Min() pulumi.IntOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateFsGroupRange) int { return v.Min }).(pulumi.IntOutput) -} - -type GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput struct{ *pulumi.OutputState } - -func (GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() -} - -func (o GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return o -} - -func (o GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { - return o -} - -func (o GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateFsGroupRangeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateFsGroupRange { - return vs[0].([]GetPodSecurityPolicyTemplateFsGroupRange)[vs[1].(int)] - }).(GetPodSecurityPolicyTemplateFsGroupRangeOutput) + return v.MatchLabels + }).(pulumi.MapOutput) } -type GetPodSecurityPolicyTemplateHostPort struct { - Max int `pulumi:"max"` - Min int `pulumi:"min"` +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression struct { + Key *string `pulumi:"key"` + Operator *string `pulumi:"operator"` + Values []string `pulumi:"values"` } -// GetPodSecurityPolicyTemplateHostPortInput is an input type that accepts GetPodSecurityPolicyTemplateHostPortArgs and GetPodSecurityPolicyTemplateHostPortOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateHostPortInput` via: +// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs and GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput` via: // -// GetPodSecurityPolicyTemplateHostPortArgs{...} -type GetPodSecurityPolicyTemplateHostPortInput interface { +// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs{...} +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateHostPortOutput() GetPodSecurityPolicyTemplateHostPortOutput - ToGetPodSecurityPolicyTemplateHostPortOutputWithContext(context.Context) GetPodSecurityPolicyTemplateHostPortOutput + ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput + ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput } -type GetPodSecurityPolicyTemplateHostPortArgs struct { - Max pulumi.IntInput `pulumi:"max"` - Min pulumi.IntInput `pulumi:"min"` +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Operator pulumi.StringPtrInput `pulumi:"operator"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetPodSecurityPolicyTemplateHostPortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateHostPort)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateHostPortArgs) ToGetPodSecurityPolicyTemplateHostPortOutput() GetPodSecurityPolicyTemplateHostPortOutput { - return i.ToGetPodSecurityPolicyTemplateHostPortOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { + return i.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateHostPortArgs) ToGetPodSecurityPolicyTemplateHostPortOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateHostPortOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateHostPortOutput) +func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) } -// GetPodSecurityPolicyTemplateHostPortArrayInput is an input type that accepts GetPodSecurityPolicyTemplateHostPortArray and GetPodSecurityPolicyTemplateHostPortArrayOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateHostPortArrayInput` via: +// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput is an input type that accepts GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray and GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput` via: // -// GetPodSecurityPolicyTemplateHostPortArray{ GetPodSecurityPolicyTemplateHostPortArgs{...} } -type GetPodSecurityPolicyTemplateHostPortArrayInput interface { +// GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray{ GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs{...} } +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateHostPortArrayOutput() GetPodSecurityPolicyTemplateHostPortArrayOutput - ToGetPodSecurityPolicyTemplateHostPortArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateHostPortArrayOutput + ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput + ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput } -type GetPodSecurityPolicyTemplateHostPortArray []GetPodSecurityPolicyTemplateHostPortInput +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray []GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionInput -func (GetPodSecurityPolicyTemplateHostPortArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateHostPort)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateHostPortArray) ToGetPodSecurityPolicyTemplateHostPortArrayOutput() GetPodSecurityPolicyTemplateHostPortArrayOutput { - return i.ToGetPodSecurityPolicyTemplateHostPortArrayOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { + return i.ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateHostPortArray) ToGetPodSecurityPolicyTemplateHostPortArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateHostPortArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateHostPortArrayOutput) +func (i GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) } -type GetPodSecurityPolicyTemplateHostPortOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateHostPortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateHostPort)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateHostPortOutput) ToGetPodSecurityPolicyTemplateHostPortOutput() GetPodSecurityPolicyTemplateHostPortOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { return o } -func (o GetPodSecurityPolicyTemplateHostPortOutput) ToGetPodSecurityPolicyTemplateHostPortOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateHostPortOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { return o } -func (o GetPodSecurityPolicyTemplateHostPortOutput) Max() pulumi.IntOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateHostPort) int { return v.Max }).(pulumi.IntOutput) +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) *string { + return v.Key + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) *string { + return v.Operator + }).(pulumi.StringPtrOutput) } -func (o GetPodSecurityPolicyTemplateHostPortOutput) Min() pulumi.IntOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateHostPort) int { return v.Min }).(pulumi.IntOutput) +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression) []string { + return v.Values + }).(pulumi.StringArrayOutput) } -type GetPodSecurityPolicyTemplateHostPortArrayOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateHostPortArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateHostPort)(nil)).Elem() +func (GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateHostPortArrayOutput) ToGetPodSecurityPolicyTemplateHostPortArrayOutput() GetPodSecurityPolicyTemplateHostPortArrayOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput() GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { return o } -func (o GetPodSecurityPolicyTemplateHostPortArrayOutput) ToGetPodSecurityPolicyTemplateHostPortArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateHostPortArrayOutput { +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) ToGetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput { return o } -func (o GetPodSecurityPolicyTemplateHostPortArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateHostPortOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateHostPort { - return vs[0].([]GetPodSecurityPolicyTemplateHostPort)[vs[1].(int)] - }).(GetPodSecurityPolicyTemplateHostPortOutput) +func (o GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression { + return vs[0].([]GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression)[vs[1].(int)] + }).(GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionOutput) } -type GetPodSecurityPolicyTemplateRunAsGroup struct { - Ranges []GetPodSecurityPolicyTemplateRunAsGroupRange `pulumi:"ranges"` - Rule string `pulumi:"rule"` +type GetClusterV2RkeConfigRegistries struct { + Configs []GetClusterV2RkeConfigRegistriesConfig `pulumi:"configs"` + Mirrors []GetClusterV2RkeConfigRegistriesMirror `pulumi:"mirrors"` } -// GetPodSecurityPolicyTemplateRunAsGroupInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsGroupArgs and GetPodSecurityPolicyTemplateRunAsGroupOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsGroupInput` via: +// GetClusterV2RkeConfigRegistriesInput is an input type that accepts GetClusterV2RkeConfigRegistriesArgs and GetClusterV2RkeConfigRegistriesOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesInput` via: // -// GetPodSecurityPolicyTemplateRunAsGroupArgs{...} -type GetPodSecurityPolicyTemplateRunAsGroupInput interface { +// GetClusterV2RkeConfigRegistriesArgs{...} +type GetClusterV2RkeConfigRegistriesInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateRunAsGroupOutput() GetPodSecurityPolicyTemplateRunAsGroupOutput - ToGetPodSecurityPolicyTemplateRunAsGroupOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsGroupOutput + ToGetClusterV2RkeConfigRegistriesOutput() GetClusterV2RkeConfigRegistriesOutput + ToGetClusterV2RkeConfigRegistriesOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesOutput } -type GetPodSecurityPolicyTemplateRunAsGroupArgs struct { - Ranges GetPodSecurityPolicyTemplateRunAsGroupRangeArrayInput `pulumi:"ranges"` - Rule pulumi.StringInput `pulumi:"rule"` +type GetClusterV2RkeConfigRegistriesArgs struct { + Configs GetClusterV2RkeConfigRegistriesConfigArrayInput `pulumi:"configs"` + Mirrors GetClusterV2RkeConfigRegistriesMirrorArrayInput `pulumi:"mirrors"` } -func (GetPodSecurityPolicyTemplateRunAsGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +func (GetClusterV2RkeConfigRegistriesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigRegistries)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateRunAsGroupArgs) ToGetPodSecurityPolicyTemplateRunAsGroupOutput() GetPodSecurityPolicyTemplateRunAsGroupOutput { - return i.ToGetPodSecurityPolicyTemplateRunAsGroupOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigRegistriesArgs) ToGetClusterV2RkeConfigRegistriesOutput() GetClusterV2RkeConfigRegistriesOutput { + return i.ToGetClusterV2RkeConfigRegistriesOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateRunAsGroupArgs) ToGetPodSecurityPolicyTemplateRunAsGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsGroupOutput) +func (i GetClusterV2RkeConfigRegistriesArgs) ToGetClusterV2RkeConfigRegistriesOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesOutput) } -func (i GetPodSecurityPolicyTemplateRunAsGroupArgs) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutput() GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { - return i.ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigRegistriesArgs) ToGetClusterV2RkeConfigRegistriesPtrOutput() GetClusterV2RkeConfigRegistriesPtrOutput { + return i.ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateRunAsGroupArgs) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsGroupOutput).ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx) +func (i GetClusterV2RkeConfigRegistriesArgs) ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesOutput).ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx) } -// GetPodSecurityPolicyTemplateRunAsGroupPtrInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsGroupArgs, GetPodSecurityPolicyTemplateRunAsGroupPtr and GetPodSecurityPolicyTemplateRunAsGroupPtrOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsGroupPtrInput` via: +// GetClusterV2RkeConfigRegistriesPtrInput is an input type that accepts GetClusterV2RkeConfigRegistriesArgs, GetClusterV2RkeConfigRegistriesPtr and GetClusterV2RkeConfigRegistriesPtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesPtrInput` via: // -// GetPodSecurityPolicyTemplateRunAsGroupArgs{...} +// GetClusterV2RkeConfigRegistriesArgs{...} // // or: // // nil -type GetPodSecurityPolicyTemplateRunAsGroupPtrInput interface { +type GetClusterV2RkeConfigRegistriesPtrInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutput() GetPodSecurityPolicyTemplateRunAsGroupPtrOutput - ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsGroupPtrOutput + ToGetClusterV2RkeConfigRegistriesPtrOutput() GetClusterV2RkeConfigRegistriesPtrOutput + ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesPtrOutput } -type getPodSecurityPolicyTemplateRunAsGroupPtrType GetPodSecurityPolicyTemplateRunAsGroupArgs +type getClusterV2RkeConfigRegistriesPtrType GetClusterV2RkeConfigRegistriesArgs -func GetPodSecurityPolicyTemplateRunAsGroupPtr(v *GetPodSecurityPolicyTemplateRunAsGroupArgs) GetPodSecurityPolicyTemplateRunAsGroupPtrInput { - return (*getPodSecurityPolicyTemplateRunAsGroupPtrType)(v) +func GetClusterV2RkeConfigRegistriesPtr(v *GetClusterV2RkeConfigRegistriesArgs) GetClusterV2RkeConfigRegistriesPtrInput { + return (*getClusterV2RkeConfigRegistriesPtrType)(v) } -func (*getPodSecurityPolicyTemplateRunAsGroupPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +func (*getClusterV2RkeConfigRegistriesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigRegistries)(nil)).Elem() } -func (i *getPodSecurityPolicyTemplateRunAsGroupPtrType) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutput() GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { - return i.ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) +func (i *getClusterV2RkeConfigRegistriesPtrType) ToGetClusterV2RkeConfigRegistriesPtrOutput() GetClusterV2RkeConfigRegistriesPtrOutput { + return i.ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) } -func (i *getPodSecurityPolicyTemplateRunAsGroupPtrType) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) +func (i *getClusterV2RkeConfigRegistriesPtrType) ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesPtrOutput) } -type GetPodSecurityPolicyTemplateRunAsGroupOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigRegistriesOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateRunAsGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +func (GetClusterV2RkeConfigRegistriesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigRegistries)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) ToGetPodSecurityPolicyTemplateRunAsGroupOutput() GetPodSecurityPolicyTemplateRunAsGroupOutput { +func (o GetClusterV2RkeConfigRegistriesOutput) ToGetClusterV2RkeConfigRegistriesOutput() GetClusterV2RkeConfigRegistriesOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) ToGetPodSecurityPolicyTemplateRunAsGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupOutput { +func (o GetClusterV2RkeConfigRegistriesOutput) ToGetClusterV2RkeConfigRegistriesOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutput() GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { - return o.ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigRegistriesOutput) ToGetClusterV2RkeConfigRegistriesPtrOutput() GetClusterV2RkeConfigRegistriesPtrOutput { + return o.ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(context.Background()) } -func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateRunAsGroup) *GetPodSecurityPolicyTemplateRunAsGroup { +func (o GetClusterV2RkeConfigRegistriesOutput) ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigRegistries) *GetClusterV2RkeConfigRegistries { return &v - }).(GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) + }).(GetClusterV2RkeConfigRegistriesPtrOutput) } -func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) Ranges() GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsGroup) []GetPodSecurityPolicyTemplateRunAsGroupRange { - return v.Ranges - }).(GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) +func (o GetClusterV2RkeConfigRegistriesOutput) Configs() GetClusterV2RkeConfigRegistriesConfigArrayOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRegistries) []GetClusterV2RkeConfigRegistriesConfig { return v.Configs }).(GetClusterV2RkeConfigRegistriesConfigArrayOutput) } -func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) Rule() pulumi.StringOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsGroup) string { return v.Rule }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigRegistriesOutput) Mirrors() GetClusterV2RkeConfigRegistriesMirrorArrayOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRegistries) []GetClusterV2RkeConfigRegistriesMirror { return v.Mirrors }).(GetClusterV2RkeConfigRegistriesMirrorArrayOutput) } -type GetPodSecurityPolicyTemplateRunAsGroupPtrOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigRegistriesPtrOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +func (GetClusterV2RkeConfigRegistriesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigRegistries)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutput() GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { +func (o GetClusterV2RkeConfigRegistriesPtrOutput) ToGetClusterV2RkeConfigRegistriesPtrOutput() GetClusterV2RkeConfigRegistriesPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { +func (o GetClusterV2RkeConfigRegistriesPtrOutput) ToGetClusterV2RkeConfigRegistriesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) Elem() GetPodSecurityPolicyTemplateRunAsGroupOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsGroup) GetPodSecurityPolicyTemplateRunAsGroup { +func (o GetClusterV2RkeConfigRegistriesPtrOutput) Elem() GetClusterV2RkeConfigRegistriesOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigRegistries) GetClusterV2RkeConfigRegistries { if v != nil { return *v } - var ret GetPodSecurityPolicyTemplateRunAsGroup + var ret GetClusterV2RkeConfigRegistries return ret - }).(GetPodSecurityPolicyTemplateRunAsGroupOutput) + }).(GetClusterV2RkeConfigRegistriesOutput) } -func (o GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) Ranges() GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsGroup) []GetPodSecurityPolicyTemplateRunAsGroupRange { +func (o GetClusterV2RkeConfigRegistriesPtrOutput) Configs() GetClusterV2RkeConfigRegistriesConfigArrayOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigRegistries) []GetClusterV2RkeConfigRegistriesConfig { if v == nil { return nil } - return v.Ranges - }).(GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) + return v.Configs + }).(GetClusterV2RkeConfigRegistriesConfigArrayOutput) } -func (o GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsGroup) *string { +func (o GetClusterV2RkeConfigRegistriesPtrOutput) Mirrors() GetClusterV2RkeConfigRegistriesMirrorArrayOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigRegistries) []GetClusterV2RkeConfigRegistriesMirror { if v == nil { return nil } - return &v.Rule - }).(pulumi.StringPtrOutput) + return v.Mirrors + }).(GetClusterV2RkeConfigRegistriesMirrorArrayOutput) } -type GetPodSecurityPolicyTemplateRunAsGroupRange struct { - Max int `pulumi:"max"` - Min int `pulumi:"min"` +type GetClusterV2RkeConfigRegistriesConfig struct { + AuthConfigSecretName *string `pulumi:"authConfigSecretName"` + CaBundle *string `pulumi:"caBundle"` + Hostname string `pulumi:"hostname"` + Insecure *bool `pulumi:"insecure"` + TlsSecretName *string `pulumi:"tlsSecretName"` } -// GetPodSecurityPolicyTemplateRunAsGroupRangeInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsGroupRangeArgs and GetPodSecurityPolicyTemplateRunAsGroupRangeOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsGroupRangeInput` via: +// GetClusterV2RkeConfigRegistriesConfigInput is an input type that accepts GetClusterV2RkeConfigRegistriesConfigArgs and GetClusterV2RkeConfigRegistriesConfigOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesConfigInput` via: // -// GetPodSecurityPolicyTemplateRunAsGroupRangeArgs{...} -type GetPodSecurityPolicyTemplateRunAsGroupRangeInput interface { +// GetClusterV2RkeConfigRegistriesConfigArgs{...} +type GetClusterV2RkeConfigRegistriesConfigInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeOutput - ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeOutput + ToGetClusterV2RkeConfigRegistriesConfigOutput() GetClusterV2RkeConfigRegistriesConfigOutput + ToGetClusterV2RkeConfigRegistriesConfigOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesConfigOutput } -type GetPodSecurityPolicyTemplateRunAsGroupRangeArgs struct { - Max pulumi.IntInput `pulumi:"max"` - Min pulumi.IntInput `pulumi:"min"` +type GetClusterV2RkeConfigRegistriesConfigArgs struct { + AuthConfigSecretName pulumi.StringPtrInput `pulumi:"authConfigSecretName"` + CaBundle pulumi.StringPtrInput `pulumi:"caBundle"` + Hostname pulumi.StringInput `pulumi:"hostname"` + Insecure pulumi.BoolPtrInput `pulumi:"insecure"` + TlsSecretName pulumi.StringPtrInput `pulumi:"tlsSecretName"` } -func (GetPodSecurityPolicyTemplateRunAsGroupRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() +func (GetClusterV2RkeConfigRegistriesConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigRegistriesConfig)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateRunAsGroupRangeArgs) ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeOutput { - return i.ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigRegistriesConfigArgs) ToGetClusterV2RkeConfigRegistriesConfigOutput() GetClusterV2RkeConfigRegistriesConfigOutput { + return i.ToGetClusterV2RkeConfigRegistriesConfigOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateRunAsGroupRangeArgs) ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) +func (i GetClusterV2RkeConfigRegistriesConfigArgs) ToGetClusterV2RkeConfigRegistriesConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesConfigOutput) } -// GetPodSecurityPolicyTemplateRunAsGroupRangeArrayInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsGroupRangeArray and GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsGroupRangeArrayInput` via: +// GetClusterV2RkeConfigRegistriesConfigArrayInput is an input type that accepts GetClusterV2RkeConfigRegistriesConfigArray and GetClusterV2RkeConfigRegistriesConfigArrayOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesConfigArrayInput` via: // -// GetPodSecurityPolicyTemplateRunAsGroupRangeArray{ GetPodSecurityPolicyTemplateRunAsGroupRangeArgs{...} } -type GetPodSecurityPolicyTemplateRunAsGroupRangeArrayInput interface { +// GetClusterV2RkeConfigRegistriesConfigArray{ GetClusterV2RkeConfigRegistriesConfigArgs{...} } +type GetClusterV2RkeConfigRegistriesConfigArrayInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput - ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput -} - -type GetPodSecurityPolicyTemplateRunAsGroupRangeArray []GetPodSecurityPolicyTemplateRunAsGroupRangeInput - -func (GetPodSecurityPolicyTemplateRunAsGroupRangeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() -} - -func (i GetPodSecurityPolicyTemplateRunAsGroupRangeArray) ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return i.ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(context.Background()) -} - -func (i GetPodSecurityPolicyTemplateRunAsGroupRangeArray) ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) -} - -type GetPodSecurityPolicyTemplateRunAsGroupRangeOutput struct{ *pulumi.OutputState } - -func (GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() + ToGetClusterV2RkeConfigRegistriesConfigArrayOutput() GetClusterV2RkeConfigRegistriesConfigArrayOutput + ToGetClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesConfigArrayOutput } -func (o GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeOutput { - return o -} +type GetClusterV2RkeConfigRegistriesConfigArray []GetClusterV2RkeConfigRegistriesConfigInput -func (o GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeOutput { - return o +func (GetClusterV2RkeConfigRegistriesConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigRegistriesConfig)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) Max() pulumi.IntOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsGroupRange) int { return v.Max }).(pulumi.IntOutput) +func (i GetClusterV2RkeConfigRegistriesConfigArray) ToGetClusterV2RkeConfigRegistriesConfigArrayOutput() GetClusterV2RkeConfigRegistriesConfigArrayOutput { + return i.ToGetClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(context.Background()) } -func (o GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) Min() pulumi.IntOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsGroupRange) int { return v.Min }).(pulumi.IntOutput) +func (i GetClusterV2RkeConfigRegistriesConfigArray) ToGetClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesConfigArrayOutput) } -type GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput struct{ *pulumi.OutputState } - -func (GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() -} +type GetClusterV2RkeConfigRegistriesConfigOutput struct{ *pulumi.OutputState } -func (o GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { - return o +func (GetClusterV2RkeConfigRegistriesConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigRegistriesConfig)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { +func (o GetClusterV2RkeConfigRegistriesConfigOutput) ToGetClusterV2RkeConfigRegistriesConfigOutput() GetClusterV2RkeConfigRegistriesConfigOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateRunAsGroupRangeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateRunAsGroupRange { - return vs[0].([]GetPodSecurityPolicyTemplateRunAsGroupRange)[vs[1].(int)] - }).(GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) -} - -type GetPodSecurityPolicyTemplateRunAsUser struct { - Ranges []GetPodSecurityPolicyTemplateRunAsUserRange `pulumi:"ranges"` - Rule string `pulumi:"rule"` -} - -// GetPodSecurityPolicyTemplateRunAsUserInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsUserArgs and GetPodSecurityPolicyTemplateRunAsUserOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsUserInput` via: -// -// GetPodSecurityPolicyTemplateRunAsUserArgs{...} -type GetPodSecurityPolicyTemplateRunAsUserInput interface { - pulumi.Input - - ToGetPodSecurityPolicyTemplateRunAsUserOutput() GetPodSecurityPolicyTemplateRunAsUserOutput - ToGetPodSecurityPolicyTemplateRunAsUserOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsUserOutput -} - -type GetPodSecurityPolicyTemplateRunAsUserArgs struct { - Ranges GetPodSecurityPolicyTemplateRunAsUserRangeArrayInput `pulumi:"ranges"` - Rule pulumi.StringInput `pulumi:"rule"` -} - -func (GetPodSecurityPolicyTemplateRunAsUserArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUser)(nil)).Elem() -} - -func (i GetPodSecurityPolicyTemplateRunAsUserArgs) ToGetPodSecurityPolicyTemplateRunAsUserOutput() GetPodSecurityPolicyTemplateRunAsUserOutput { - return i.ToGetPodSecurityPolicyTemplateRunAsUserOutputWithContext(context.Background()) -} - -func (i GetPodSecurityPolicyTemplateRunAsUserArgs) ToGetPodSecurityPolicyTemplateRunAsUserOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsUserOutput) -} - -func (i GetPodSecurityPolicyTemplateRunAsUserArgs) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutput() GetPodSecurityPolicyTemplateRunAsUserPtrOutput { - return i.ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) -} - -func (i GetPodSecurityPolicyTemplateRunAsUserArgs) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsUserOutput).ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx) -} - -// GetPodSecurityPolicyTemplateRunAsUserPtrInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsUserArgs, GetPodSecurityPolicyTemplateRunAsUserPtr and GetPodSecurityPolicyTemplateRunAsUserPtrOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsUserPtrInput` via: -// -// GetPodSecurityPolicyTemplateRunAsUserArgs{...} -// -// or: -// -// nil -type GetPodSecurityPolicyTemplateRunAsUserPtrInput interface { - pulumi.Input - - ToGetPodSecurityPolicyTemplateRunAsUserPtrOutput() GetPodSecurityPolicyTemplateRunAsUserPtrOutput - ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsUserPtrOutput -} - -type getPodSecurityPolicyTemplateRunAsUserPtrType GetPodSecurityPolicyTemplateRunAsUserArgs - -func GetPodSecurityPolicyTemplateRunAsUserPtr(v *GetPodSecurityPolicyTemplateRunAsUserArgs) GetPodSecurityPolicyTemplateRunAsUserPtrInput { - return (*getPodSecurityPolicyTemplateRunAsUserPtrType)(v) -} - -func (*getPodSecurityPolicyTemplateRunAsUserPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateRunAsUser)(nil)).Elem() -} - -func (i *getPodSecurityPolicyTemplateRunAsUserPtrType) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutput() GetPodSecurityPolicyTemplateRunAsUserPtrOutput { - return i.ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) -} - -func (i *getPodSecurityPolicyTemplateRunAsUserPtrType) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsUserPtrOutput) -} - -type GetPodSecurityPolicyTemplateRunAsUserOutput struct{ *pulumi.OutputState } - -func (GetPodSecurityPolicyTemplateRunAsUserOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUser)(nil)).Elem() -} - -func (o GetPodSecurityPolicyTemplateRunAsUserOutput) ToGetPodSecurityPolicyTemplateRunAsUserOutput() GetPodSecurityPolicyTemplateRunAsUserOutput { +func (o GetClusterV2RkeConfigRegistriesConfigOutput) ToGetClusterV2RkeConfigRegistriesConfigOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesConfigOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsUserOutput) ToGetPodSecurityPolicyTemplateRunAsUserOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserOutput { - return o +func (o GetClusterV2RkeConfigRegistriesConfigOutput) AuthConfigSecretName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesConfig) *string { return v.AuthConfigSecretName }).(pulumi.StringPtrOutput) } -func (o GetPodSecurityPolicyTemplateRunAsUserOutput) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutput() GetPodSecurityPolicyTemplateRunAsUserPtrOutput { - return o.ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigRegistriesConfigOutput) CaBundle() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesConfig) *string { return v.CaBundle }).(pulumi.StringPtrOutput) } -func (o GetPodSecurityPolicyTemplateRunAsUserOutput) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateRunAsUser) *GetPodSecurityPolicyTemplateRunAsUser { - return &v - }).(GetPodSecurityPolicyTemplateRunAsUserPtrOutput) +func (o GetClusterV2RkeConfigRegistriesConfigOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesConfig) string { return v.Hostname }).(pulumi.StringOutput) } -func (o GetPodSecurityPolicyTemplateRunAsUserOutput) Ranges() GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsUser) []GetPodSecurityPolicyTemplateRunAsUserRange { - return v.Ranges - }).(GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) +func (o GetClusterV2RkeConfigRegistriesConfigOutput) Insecure() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesConfig) *bool { return v.Insecure }).(pulumi.BoolPtrOutput) } -func (o GetPodSecurityPolicyTemplateRunAsUserOutput) Rule() pulumi.StringOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsUser) string { return v.Rule }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigRegistriesConfigOutput) TlsSecretName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesConfig) *string { return v.TlsSecretName }).(pulumi.StringPtrOutput) } -type GetPodSecurityPolicyTemplateRunAsUserPtrOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigRegistriesConfigArrayOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateRunAsUserPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateRunAsUser)(nil)).Elem() +func (GetClusterV2RkeConfigRegistriesConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigRegistriesConfig)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateRunAsUserPtrOutput) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutput() GetPodSecurityPolicyTemplateRunAsUserPtrOutput { +func (o GetClusterV2RkeConfigRegistriesConfigArrayOutput) ToGetClusterV2RkeConfigRegistriesConfigArrayOutput() GetClusterV2RkeConfigRegistriesConfigArrayOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsUserPtrOutput) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserPtrOutput { +func (o GetClusterV2RkeConfigRegistriesConfigArrayOutput) ToGetClusterV2RkeConfigRegistriesConfigArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesConfigArrayOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsUserPtrOutput) Elem() GetPodSecurityPolicyTemplateRunAsUserOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsUser) GetPodSecurityPolicyTemplateRunAsUser { - if v != nil { - return *v - } - var ret GetPodSecurityPolicyTemplateRunAsUser - return ret - }).(GetPodSecurityPolicyTemplateRunAsUserOutput) -} - -func (o GetPodSecurityPolicyTemplateRunAsUserPtrOutput) Ranges() GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsUser) []GetPodSecurityPolicyTemplateRunAsUserRange { - if v == nil { - return nil - } - return v.Ranges - }).(GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) -} - -func (o GetPodSecurityPolicyTemplateRunAsUserPtrOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsUser) *string { - if v == nil { - return nil - } - return &v.Rule - }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigRegistriesConfigArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigRegistriesConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigRegistriesConfig { + return vs[0].([]GetClusterV2RkeConfigRegistriesConfig)[vs[1].(int)] + }).(GetClusterV2RkeConfigRegistriesConfigOutput) } -type GetPodSecurityPolicyTemplateRunAsUserRange struct { - Max int `pulumi:"max"` - Min int `pulumi:"min"` +type GetClusterV2RkeConfigRegistriesMirror struct { + Endpoints []string `pulumi:"endpoints"` + Hostname string `pulumi:"hostname"` + Rewrites map[string]interface{} `pulumi:"rewrites"` } -// GetPodSecurityPolicyTemplateRunAsUserRangeInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsUserRangeArgs and GetPodSecurityPolicyTemplateRunAsUserRangeOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsUserRangeInput` via: +// GetClusterV2RkeConfigRegistriesMirrorInput is an input type that accepts GetClusterV2RkeConfigRegistriesMirrorArgs and GetClusterV2RkeConfigRegistriesMirrorOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesMirrorInput` via: // -// GetPodSecurityPolicyTemplateRunAsUserRangeArgs{...} -type GetPodSecurityPolicyTemplateRunAsUserRangeInput interface { +// GetClusterV2RkeConfigRegistriesMirrorArgs{...} +type GetClusterV2RkeConfigRegistriesMirrorInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateRunAsUserRangeOutput() GetPodSecurityPolicyTemplateRunAsUserRangeOutput - ToGetPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeOutput + ToGetClusterV2RkeConfigRegistriesMirrorOutput() GetClusterV2RkeConfigRegistriesMirrorOutput + ToGetClusterV2RkeConfigRegistriesMirrorOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesMirrorOutput } -type GetPodSecurityPolicyTemplateRunAsUserRangeArgs struct { - Max pulumi.IntInput `pulumi:"max"` - Min pulumi.IntInput `pulumi:"min"` +type GetClusterV2RkeConfigRegistriesMirrorArgs struct { + Endpoints pulumi.StringArrayInput `pulumi:"endpoints"` + Hostname pulumi.StringInput `pulumi:"hostname"` + Rewrites pulumi.MapInput `pulumi:"rewrites"` } -func (GetPodSecurityPolicyTemplateRunAsUserRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +func (GetClusterV2RkeConfigRegistriesMirrorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigRegistriesMirror)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateRunAsUserRangeArgs) ToGetPodSecurityPolicyTemplateRunAsUserRangeOutput() GetPodSecurityPolicyTemplateRunAsUserRangeOutput { - return i.ToGetPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigRegistriesMirrorArgs) ToGetClusterV2RkeConfigRegistriesMirrorOutput() GetClusterV2RkeConfigRegistriesMirrorOutput { + return i.ToGetClusterV2RkeConfigRegistriesMirrorOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateRunAsUserRangeArgs) ToGetPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsUserRangeOutput) +func (i GetClusterV2RkeConfigRegistriesMirrorArgs) ToGetClusterV2RkeConfigRegistriesMirrorOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesMirrorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesMirrorOutput) } -// GetPodSecurityPolicyTemplateRunAsUserRangeArrayInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsUserRangeArray and GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsUserRangeArrayInput` via: +// GetClusterV2RkeConfigRegistriesMirrorArrayInput is an input type that accepts GetClusterV2RkeConfigRegistriesMirrorArray and GetClusterV2RkeConfigRegistriesMirrorArrayOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigRegistriesMirrorArrayInput` via: // -// GetPodSecurityPolicyTemplateRunAsUserRangeArray{ GetPodSecurityPolicyTemplateRunAsUserRangeArgs{...} } -type GetPodSecurityPolicyTemplateRunAsUserRangeArrayInput interface { +// GetClusterV2RkeConfigRegistriesMirrorArray{ GetClusterV2RkeConfigRegistriesMirrorArgs{...} } +type GetClusterV2RkeConfigRegistriesMirrorArrayInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput - ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput + ToGetClusterV2RkeConfigRegistriesMirrorArrayOutput() GetClusterV2RkeConfigRegistriesMirrorArrayOutput + ToGetClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(context.Context) GetClusterV2RkeConfigRegistriesMirrorArrayOutput } -type GetPodSecurityPolicyTemplateRunAsUserRangeArray []GetPodSecurityPolicyTemplateRunAsUserRangeInput +type GetClusterV2RkeConfigRegistriesMirrorArray []GetClusterV2RkeConfigRegistriesMirrorInput -func (GetPodSecurityPolicyTemplateRunAsUserRangeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +func (GetClusterV2RkeConfigRegistriesMirrorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigRegistriesMirror)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateRunAsUserRangeArray) ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { - return i.ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigRegistriesMirrorArray) ToGetClusterV2RkeConfigRegistriesMirrorArrayOutput() GetClusterV2RkeConfigRegistriesMirrorArrayOutput { + return i.ToGetClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateRunAsUserRangeArray) ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) +func (i GetClusterV2RkeConfigRegistriesMirrorArray) ToGetClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesMirrorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRegistriesMirrorArrayOutput) } -type GetPodSecurityPolicyTemplateRunAsUserRangeOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigRegistriesMirrorOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateRunAsUserRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +func (GetClusterV2RkeConfigRegistriesMirrorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigRegistriesMirror)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateRunAsUserRangeOutput) ToGetPodSecurityPolicyTemplateRunAsUserRangeOutput() GetPodSecurityPolicyTemplateRunAsUserRangeOutput { +func (o GetClusterV2RkeConfigRegistriesMirrorOutput) ToGetClusterV2RkeConfigRegistriesMirrorOutput() GetClusterV2RkeConfigRegistriesMirrorOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsUserRangeOutput) ToGetPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeOutput { +func (o GetClusterV2RkeConfigRegistriesMirrorOutput) ToGetClusterV2RkeConfigRegistriesMirrorOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesMirrorOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsUserRangeOutput) Max() pulumi.IntOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsUserRange) int { return v.Max }).(pulumi.IntOutput) +func (o GetClusterV2RkeConfigRegistriesMirrorOutput) Endpoints() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesMirror) []string { return v.Endpoints }).(pulumi.StringArrayOutput) +} + +func (o GetClusterV2RkeConfigRegistriesMirrorOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesMirror) string { return v.Hostname }).(pulumi.StringOutput) } -func (o GetPodSecurityPolicyTemplateRunAsUserRangeOutput) Min() pulumi.IntOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsUserRange) int { return v.Min }).(pulumi.IntOutput) +func (o GetClusterV2RkeConfigRegistriesMirrorOutput) Rewrites() pulumi.MapOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRegistriesMirror) map[string]interface{} { return v.Rewrites }).(pulumi.MapOutput) } -type GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigRegistriesMirrorArrayOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +func (GetClusterV2RkeConfigRegistriesMirrorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClusterV2RkeConfigRegistriesMirror)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { +func (o GetClusterV2RkeConfigRegistriesMirrorArrayOutput) ToGetClusterV2RkeConfigRegistriesMirrorArrayOutput() GetClusterV2RkeConfigRegistriesMirrorArrayOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { +func (o GetClusterV2RkeConfigRegistriesMirrorArrayOutput) ToGetClusterV2RkeConfigRegistriesMirrorArrayOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRegistriesMirrorArrayOutput { return o } -func (o GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateRunAsUserRangeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateRunAsUserRange { - return vs[0].([]GetPodSecurityPolicyTemplateRunAsUserRange)[vs[1].(int)] - }).(GetPodSecurityPolicyTemplateRunAsUserRangeOutput) +func (o GetClusterV2RkeConfigRegistriesMirrorArrayOutput) Index(i pulumi.IntInput) GetClusterV2RkeConfigRegistriesMirrorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClusterV2RkeConfigRegistriesMirror { + return vs[0].([]GetClusterV2RkeConfigRegistriesMirror)[vs[1].(int)] + }).(GetClusterV2RkeConfigRegistriesMirrorOutput) } -type GetPodSecurityPolicyTemplateRuntimeClass struct { - AllowedRuntimeClassNames []string `pulumi:"allowedRuntimeClassNames"` - DefaultRuntimeClassName *string `pulumi:"defaultRuntimeClassName"` +type GetClusterV2RkeConfigRotateCertificates struct { + Generation int `pulumi:"generation"` + Services []string `pulumi:"services"` } -// GetPodSecurityPolicyTemplateRuntimeClassInput is an input type that accepts GetPodSecurityPolicyTemplateRuntimeClassArgs and GetPodSecurityPolicyTemplateRuntimeClassOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRuntimeClassInput` via: +// GetClusterV2RkeConfigRotateCertificatesInput is an input type that accepts GetClusterV2RkeConfigRotateCertificatesArgs and GetClusterV2RkeConfigRotateCertificatesOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigRotateCertificatesInput` via: // -// GetPodSecurityPolicyTemplateRuntimeClassArgs{...} -type GetPodSecurityPolicyTemplateRuntimeClassInput interface { +// GetClusterV2RkeConfigRotateCertificatesArgs{...} +type GetClusterV2RkeConfigRotateCertificatesInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateRuntimeClassOutput() GetPodSecurityPolicyTemplateRuntimeClassOutput - ToGetPodSecurityPolicyTemplateRuntimeClassOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRuntimeClassOutput + ToGetClusterV2RkeConfigRotateCertificatesOutput() GetClusterV2RkeConfigRotateCertificatesOutput + ToGetClusterV2RkeConfigRotateCertificatesOutputWithContext(context.Context) GetClusterV2RkeConfigRotateCertificatesOutput } -type GetPodSecurityPolicyTemplateRuntimeClassArgs struct { - AllowedRuntimeClassNames pulumi.StringArrayInput `pulumi:"allowedRuntimeClassNames"` - DefaultRuntimeClassName pulumi.StringPtrInput `pulumi:"defaultRuntimeClassName"` +type GetClusterV2RkeConfigRotateCertificatesArgs struct { + Generation pulumi.IntInput `pulumi:"generation"` + Services pulumi.StringArrayInput `pulumi:"services"` } -func (GetPodSecurityPolicyTemplateRuntimeClassArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +func (GetClusterV2RkeConfigRotateCertificatesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigRotateCertificates)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateRuntimeClassArgs) ToGetPodSecurityPolicyTemplateRuntimeClassOutput() GetPodSecurityPolicyTemplateRuntimeClassOutput { - return i.ToGetPodSecurityPolicyTemplateRuntimeClassOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigRotateCertificatesArgs) ToGetClusterV2RkeConfigRotateCertificatesOutput() GetClusterV2RkeConfigRotateCertificatesOutput { + return i.ToGetClusterV2RkeConfigRotateCertificatesOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateRuntimeClassArgs) ToGetPodSecurityPolicyTemplateRuntimeClassOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRuntimeClassOutput) +func (i GetClusterV2RkeConfigRotateCertificatesArgs) ToGetClusterV2RkeConfigRotateCertificatesOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRotateCertificatesOutput) } -func (i GetPodSecurityPolicyTemplateRuntimeClassArgs) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutput() GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { - return i.ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigRotateCertificatesArgs) ToGetClusterV2RkeConfigRotateCertificatesPtrOutput() GetClusterV2RkeConfigRotateCertificatesPtrOutput { + return i.ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateRuntimeClassArgs) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRuntimeClassOutput).ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx) +func (i GetClusterV2RkeConfigRotateCertificatesArgs) ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRotateCertificatesOutput).ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx) } -// GetPodSecurityPolicyTemplateRuntimeClassPtrInput is an input type that accepts GetPodSecurityPolicyTemplateRuntimeClassArgs, GetPodSecurityPolicyTemplateRuntimeClassPtr and GetPodSecurityPolicyTemplateRuntimeClassPtrOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRuntimeClassPtrInput` via: +// GetClusterV2RkeConfigRotateCertificatesPtrInput is an input type that accepts GetClusterV2RkeConfigRotateCertificatesArgs, GetClusterV2RkeConfigRotateCertificatesPtr and GetClusterV2RkeConfigRotateCertificatesPtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigRotateCertificatesPtrInput` via: // -// GetPodSecurityPolicyTemplateRuntimeClassArgs{...} +// GetClusterV2RkeConfigRotateCertificatesArgs{...} // // or: // // nil -type GetPodSecurityPolicyTemplateRuntimeClassPtrInput interface { +type GetClusterV2RkeConfigRotateCertificatesPtrInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutput() GetPodSecurityPolicyTemplateRuntimeClassPtrOutput - ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRuntimeClassPtrOutput + ToGetClusterV2RkeConfigRotateCertificatesPtrOutput() GetClusterV2RkeConfigRotateCertificatesPtrOutput + ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Context) GetClusterV2RkeConfigRotateCertificatesPtrOutput } -type getPodSecurityPolicyTemplateRuntimeClassPtrType GetPodSecurityPolicyTemplateRuntimeClassArgs +type getClusterV2RkeConfigRotateCertificatesPtrType GetClusterV2RkeConfigRotateCertificatesArgs -func GetPodSecurityPolicyTemplateRuntimeClassPtr(v *GetPodSecurityPolicyTemplateRuntimeClassArgs) GetPodSecurityPolicyTemplateRuntimeClassPtrInput { - return (*getPodSecurityPolicyTemplateRuntimeClassPtrType)(v) +func GetClusterV2RkeConfigRotateCertificatesPtr(v *GetClusterV2RkeConfigRotateCertificatesArgs) GetClusterV2RkeConfigRotateCertificatesPtrInput { + return (*getClusterV2RkeConfigRotateCertificatesPtrType)(v) } -func (*getPodSecurityPolicyTemplateRuntimeClassPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +func (*getClusterV2RkeConfigRotateCertificatesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigRotateCertificates)(nil)).Elem() } -func (i *getPodSecurityPolicyTemplateRuntimeClassPtrType) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutput() GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { - return i.ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) +func (i *getClusterV2RkeConfigRotateCertificatesPtrType) ToGetClusterV2RkeConfigRotateCertificatesPtrOutput() GetClusterV2RkeConfigRotateCertificatesPtrOutput { + return i.ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) } -func (i *getPodSecurityPolicyTemplateRuntimeClassPtrType) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) +func (i *getClusterV2RkeConfigRotateCertificatesPtrType) ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigRotateCertificatesPtrOutput) } -type GetPodSecurityPolicyTemplateRuntimeClassOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigRotateCertificatesOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateRuntimeClassOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +func (GetClusterV2RkeConfigRotateCertificatesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigRotateCertificates)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) ToGetPodSecurityPolicyTemplateRuntimeClassOutput() GetPodSecurityPolicyTemplateRuntimeClassOutput { +func (o GetClusterV2RkeConfigRotateCertificatesOutput) ToGetClusterV2RkeConfigRotateCertificatesOutput() GetClusterV2RkeConfigRotateCertificatesOutput { return o } -func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) ToGetPodSecurityPolicyTemplateRuntimeClassOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassOutput { +func (o GetClusterV2RkeConfigRotateCertificatesOutput) ToGetClusterV2RkeConfigRotateCertificatesOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesOutput { return o } -func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutput() GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { - return o.ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigRotateCertificatesOutput) ToGetClusterV2RkeConfigRotateCertificatesPtrOutput() GetClusterV2RkeConfigRotateCertificatesPtrOutput { + return o.ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(context.Background()) } -func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateRuntimeClass) *GetPodSecurityPolicyTemplateRuntimeClass { +func (o GetClusterV2RkeConfigRotateCertificatesOutput) ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigRotateCertificates) *GetClusterV2RkeConfigRotateCertificates { return &v - }).(GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) + }).(GetClusterV2RkeConfigRotateCertificatesPtrOutput) } -func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) AllowedRuntimeClassNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateRuntimeClass) []string { return v.AllowedRuntimeClassNames }).(pulumi.StringArrayOutput) +func (o GetClusterV2RkeConfigRotateCertificatesOutput) Generation() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRotateCertificates) int { return v.Generation }).(pulumi.IntOutput) } -func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) DefaultRuntimeClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateRuntimeClass) *string { return v.DefaultRuntimeClassName }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigRotateCertificatesOutput) Services() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigRotateCertificates) []string { return v.Services }).(pulumi.StringArrayOutput) } -type GetPodSecurityPolicyTemplateRuntimeClassPtrOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigRotateCertificatesPtrOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +func (GetClusterV2RkeConfigRotateCertificatesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigRotateCertificates)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutput() GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { +func (o GetClusterV2RkeConfigRotateCertificatesPtrOutput) ToGetClusterV2RkeConfigRotateCertificatesPtrOutput() GetClusterV2RkeConfigRotateCertificatesPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { +func (o GetClusterV2RkeConfigRotateCertificatesPtrOutput) ToGetClusterV2RkeConfigRotateCertificatesPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigRotateCertificatesPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) Elem() GetPodSecurityPolicyTemplateRuntimeClassOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRuntimeClass) GetPodSecurityPolicyTemplateRuntimeClass { +func (o GetClusterV2RkeConfigRotateCertificatesPtrOutput) Elem() GetClusterV2RkeConfigRotateCertificatesOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigRotateCertificates) GetClusterV2RkeConfigRotateCertificates { if v != nil { return *v } - var ret GetPodSecurityPolicyTemplateRuntimeClass + var ret GetClusterV2RkeConfigRotateCertificates return ret - }).(GetPodSecurityPolicyTemplateRuntimeClassOutput) + }).(GetClusterV2RkeConfigRotateCertificatesOutput) } -func (o GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) AllowedRuntimeClassNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRuntimeClass) []string { +func (o GetClusterV2RkeConfigRotateCertificatesPtrOutput) Generation() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigRotateCertificates) *int { if v == nil { return nil } - return v.AllowedRuntimeClassNames - }).(pulumi.StringArrayOutput) + return &v.Generation + }).(pulumi.IntPtrOutput) } -func (o GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) DefaultRuntimeClassName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRuntimeClass) *string { +func (o GetClusterV2RkeConfigRotateCertificatesPtrOutput) Services() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigRotateCertificates) []string { if v == nil { return nil } - return v.DefaultRuntimeClassName - }).(pulumi.StringPtrOutput) + return v.Services + }).(pulumi.StringArrayOutput) } -type GetPodSecurityPolicyTemplateSeLinux struct { - Rule string `pulumi:"rule"` - SeLinuxOption *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption `pulumi:"seLinuxOption"` +type GetClusterV2RkeConfigUpgradeStrategy struct { + ControlPlaneConcurrency *string `pulumi:"controlPlaneConcurrency"` + ControlPlaneDrainOptions *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions `pulumi:"controlPlaneDrainOptions"` + WorkerConcurrency *string `pulumi:"workerConcurrency"` + WorkerDrainOptions *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions `pulumi:"workerDrainOptions"` } -// GetPodSecurityPolicyTemplateSeLinuxInput is an input type that accepts GetPodSecurityPolicyTemplateSeLinuxArgs and GetPodSecurityPolicyTemplateSeLinuxOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSeLinuxInput` via: +// GetClusterV2RkeConfigUpgradeStrategyInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyArgs and GetClusterV2RkeConfigUpgradeStrategyOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyInput` via: // -// GetPodSecurityPolicyTemplateSeLinuxArgs{...} -type GetPodSecurityPolicyTemplateSeLinuxInput interface { +// GetClusterV2RkeConfigUpgradeStrategyArgs{...} +type GetClusterV2RkeConfigUpgradeStrategyInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateSeLinuxOutput() GetPodSecurityPolicyTemplateSeLinuxOutput - ToGetPodSecurityPolicyTemplateSeLinuxOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSeLinuxOutput + ToGetClusterV2RkeConfigUpgradeStrategyOutput() GetClusterV2RkeConfigUpgradeStrategyOutput + ToGetClusterV2RkeConfigUpgradeStrategyOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyOutput } -type GetPodSecurityPolicyTemplateSeLinuxArgs struct { - Rule pulumi.StringInput `pulumi:"rule"` - SeLinuxOption GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput `pulumi:"seLinuxOption"` +type GetClusterV2RkeConfigUpgradeStrategyArgs struct { + ControlPlaneConcurrency pulumi.StringPtrInput `pulumi:"controlPlaneConcurrency"` + ControlPlaneDrainOptions GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput `pulumi:"controlPlaneDrainOptions"` + WorkerConcurrency pulumi.StringPtrInput `pulumi:"workerConcurrency"` + WorkerDrainOptions GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput `pulumi:"workerDrainOptions"` } -func (GetPodSecurityPolicyTemplateSeLinuxArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinux)(nil)).Elem() +func (GetClusterV2RkeConfigUpgradeStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateSeLinuxArgs) ToGetPodSecurityPolicyTemplateSeLinuxOutput() GetPodSecurityPolicyTemplateSeLinuxOutput { - return i.ToGetPodSecurityPolicyTemplateSeLinuxOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigUpgradeStrategyArgs) ToGetClusterV2RkeConfigUpgradeStrategyOutput() GetClusterV2RkeConfigUpgradeStrategyOutput { + return i.ToGetClusterV2RkeConfigUpgradeStrategyOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateSeLinuxArgs) ToGetPodSecurityPolicyTemplateSeLinuxOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxOutput) +func (i GetClusterV2RkeConfigUpgradeStrategyArgs) ToGetClusterV2RkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyOutput) } -func (i GetPodSecurityPolicyTemplateSeLinuxArgs) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutput() GetPodSecurityPolicyTemplateSeLinuxPtrOutput { - return i.ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigUpgradeStrategyArgs) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutput() GetClusterV2RkeConfigUpgradeStrategyPtrOutput { + return i.ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateSeLinuxArgs) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxOutput).ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx) +func (i GetClusterV2RkeConfigUpgradeStrategyArgs) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyOutput).ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx) } -// GetPodSecurityPolicyTemplateSeLinuxPtrInput is an input type that accepts GetPodSecurityPolicyTemplateSeLinuxArgs, GetPodSecurityPolicyTemplateSeLinuxPtr and GetPodSecurityPolicyTemplateSeLinuxPtrOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSeLinuxPtrInput` via: +// GetClusterV2RkeConfigUpgradeStrategyPtrInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyArgs, GetClusterV2RkeConfigUpgradeStrategyPtr and GetClusterV2RkeConfigUpgradeStrategyPtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyPtrInput` via: // -// GetPodSecurityPolicyTemplateSeLinuxArgs{...} +// GetClusterV2RkeConfigUpgradeStrategyArgs{...} // // or: // // nil -type GetPodSecurityPolicyTemplateSeLinuxPtrInput interface { +type GetClusterV2RkeConfigUpgradeStrategyPtrInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateSeLinuxPtrOutput() GetPodSecurityPolicyTemplateSeLinuxPtrOutput - ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSeLinuxPtrOutput + ToGetClusterV2RkeConfigUpgradeStrategyPtrOutput() GetClusterV2RkeConfigUpgradeStrategyPtrOutput + ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyPtrOutput } -type getPodSecurityPolicyTemplateSeLinuxPtrType GetPodSecurityPolicyTemplateSeLinuxArgs +type getClusterV2RkeConfigUpgradeStrategyPtrType GetClusterV2RkeConfigUpgradeStrategyArgs -func GetPodSecurityPolicyTemplateSeLinuxPtr(v *GetPodSecurityPolicyTemplateSeLinuxArgs) GetPodSecurityPolicyTemplateSeLinuxPtrInput { - return (*getPodSecurityPolicyTemplateSeLinuxPtrType)(v) +func GetClusterV2RkeConfigUpgradeStrategyPtr(v *GetClusterV2RkeConfigUpgradeStrategyArgs) GetClusterV2RkeConfigUpgradeStrategyPtrInput { + return (*getClusterV2RkeConfigUpgradeStrategyPtrType)(v) } -func (*getPodSecurityPolicyTemplateSeLinuxPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateSeLinux)(nil)).Elem() +func (*getClusterV2RkeConfigUpgradeStrategyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() } -func (i *getPodSecurityPolicyTemplateSeLinuxPtrType) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutput() GetPodSecurityPolicyTemplateSeLinuxPtrOutput { - return i.ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) +func (i *getClusterV2RkeConfigUpgradeStrategyPtrType) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutput() GetClusterV2RkeConfigUpgradeStrategyPtrOutput { + return i.ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -func (i *getPodSecurityPolicyTemplateSeLinuxPtrType) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxPtrOutput) +func (i *getClusterV2RkeConfigUpgradeStrategyPtrType) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyPtrOutput) } -type GetPodSecurityPolicyTemplateSeLinuxOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigUpgradeStrategyOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateSeLinuxOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinux)(nil)).Elem() +func (GetClusterV2RkeConfigUpgradeStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateSeLinuxOutput) ToGetPodSecurityPolicyTemplateSeLinuxOutput() GetPodSecurityPolicyTemplateSeLinuxOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ToGetClusterV2RkeConfigUpgradeStrategyOutput() GetClusterV2RkeConfigUpgradeStrategyOutput { return o } -func (o GetPodSecurityPolicyTemplateSeLinuxOutput) ToGetPodSecurityPolicyTemplateSeLinuxOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ToGetClusterV2RkeConfigUpgradeStrategyOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyOutput { return o } -func (o GetPodSecurityPolicyTemplateSeLinuxOutput) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutput() GetPodSecurityPolicyTemplateSeLinuxPtrOutput { - return o.ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutput() GetClusterV2RkeConfigUpgradeStrategyPtrOutput { + return o.ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(context.Background()) } -func (o GetPodSecurityPolicyTemplateSeLinuxOutput) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateSeLinux) *GetPodSecurityPolicyTemplateSeLinux { +func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigUpgradeStrategy) *GetClusterV2RkeConfigUpgradeStrategy { return &v - }).(GetPodSecurityPolicyTemplateSeLinuxPtrOutput) + }).(GetClusterV2RkeConfigUpgradeStrategyPtrOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxOutput) Rule() pulumi.StringOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinux) string { return v.Rule }).(pulumi.StringOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ControlPlaneConcurrency() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategy) *string { return v.ControlPlaneConcurrency }).(pulumi.StringPtrOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxOutput) SeLinuxOption() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinux) *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption { - return v.SeLinuxOption - }).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyOutput) ControlPlaneDrainOptions() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategy) *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { + return v.ControlPlaneDrainOptions + }).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) +} + +func (o GetClusterV2RkeConfigUpgradeStrategyOutput) WorkerConcurrency() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategy) *string { return v.WorkerConcurrency }).(pulumi.StringPtrOutput) +} + +func (o GetClusterV2RkeConfigUpgradeStrategyOutput) WorkerDrainOptions() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategy) *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { + return v.WorkerDrainOptions + }).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) } -type GetPodSecurityPolicyTemplateSeLinuxPtrOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigUpgradeStrategyPtrOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateSeLinuxPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateSeLinux)(nil)).Elem() +func (GetClusterV2RkeConfigUpgradeStrategyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategy)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateSeLinuxPtrOutput) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutput() GetPodSecurityPolicyTemplateSeLinuxPtrOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutput() GetClusterV2RkeConfigUpgradeStrategyPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateSeLinuxPtrOutput) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxPtrOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateSeLinuxPtrOutput) Elem() GetPodSecurityPolicyTemplateSeLinuxOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinux) GetPodSecurityPolicyTemplateSeLinux { +func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) Elem() GetClusterV2RkeConfigUpgradeStrategyOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategy) GetClusterV2RkeConfigUpgradeStrategy { if v != nil { return *v } - var ret GetPodSecurityPolicyTemplateSeLinux + var ret GetClusterV2RkeConfigUpgradeStrategy return ret - }).(GetPodSecurityPolicyTemplateSeLinuxOutput) + }).(GetClusterV2RkeConfigUpgradeStrategyOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxPtrOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinux) *string { +func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) ControlPlaneConcurrency() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategy) *string { if v == nil { return nil } - return &v.Rule + return v.ControlPlaneConcurrency + }).(pulumi.StringPtrOutput) +} + +func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) ControlPlaneDrainOptions() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategy) *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { + if v == nil { + return nil + } + return v.ControlPlaneDrainOptions + }).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) +} + +func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) WorkerConcurrency() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategy) *string { + if v == nil { + return nil + } + return v.WorkerConcurrency }).(pulumi.StringPtrOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxPtrOutput) SeLinuxOption() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinux) *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption { +func (o GetClusterV2RkeConfigUpgradeStrategyPtrOutput) WorkerDrainOptions() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategy) *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { if v == nil { return nil } - return v.SeLinuxOption - }).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) + return v.WorkerDrainOptions + }).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) } -type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption struct { - Level *string `pulumi:"level"` - Role *string `pulumi:"role"` - Type *string `pulumi:"type"` - User *string `pulumi:"user"` +type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions struct { + DeleteEmptyDirData *bool `pulumi:"deleteEmptyDirData"` + DisableEviction *bool `pulumi:"disableEviction"` + Enabled *bool `pulumi:"enabled"` + Force *bool `pulumi:"force"` + GracePeriod int `pulumi:"gracePeriod"` + IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` + IgnoreErrors *bool `pulumi:"ignoreErrors"` + SkipWaitForDeleteTimeoutSeconds int `pulumi:"skipWaitForDeleteTimeoutSeconds"` + Timeout int `pulumi:"timeout"` } -// GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput is an input type that accepts GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs and GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput` via: +// GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs and GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput` via: // -// GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{...} -type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput interface { +// GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs{...} +type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput - ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput + ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput + ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput } -type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs struct { - Level pulumi.StringPtrInput `pulumi:"level"` - Role pulumi.StringPtrInput `pulumi:"role"` - Type pulumi.StringPtrInput `pulumi:"type"` - User pulumi.StringPtrInput `pulumi:"user"` +type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs struct { + DeleteEmptyDirData pulumi.BoolPtrInput `pulumi:"deleteEmptyDirData"` + DisableEviction pulumi.BoolPtrInput `pulumi:"disableEviction"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + Force pulumi.BoolPtrInput `pulumi:"force"` + GracePeriod pulumi.IntInput `pulumi:"gracePeriod"` + IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` + IgnoreErrors pulumi.BoolPtrInput `pulumi:"ignoreErrors"` + SkipWaitForDeleteTimeoutSeconds pulumi.IntInput `pulumi:"skipWaitForDeleteTimeoutSeconds"` + Timeout pulumi.IntInput `pulumi:"timeout"` } -func (GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +func (GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() } -func (i GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { - return i.ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { + return i.ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) +func (i GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) } -func (i GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return i.ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return i.ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) } -func (i GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput).ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx) +func (i GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput).ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx) } -// GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput is an input type that accepts GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs, GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtr and GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput` via: +// GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs, GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtr and GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput` via: // -// GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{...} +// GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs{...} // // or: // // nil -type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput interface { +type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput - ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput + ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput + ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput } -type getPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs +type getClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs -func GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtr(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput { - return (*getPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType)(v) +func GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtr(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrInput { + return (*getClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType)(v) } -func (*getPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +func (*getClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() } -func (i *getPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return i.ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) +func (i *getClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return i.ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) } -func (i *getPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) +func (i *getClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrType) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) } -type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +func (GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { return o } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { return o } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return o.ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return o.ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(context.Background()) } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption { +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { return &v - }).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) + }).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) +} + +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { + return v.DeleteEmptyDirData + }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) DisableEviction() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.DisableEviction }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.Force }).(pulumi.BoolPtrOutput) +} + +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) GracePeriod() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) int { return v.GracePeriod }).(pulumi.IntOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Level() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Level }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Role() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Role }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) IgnoreErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { return v.IgnoreErrors }).(pulumi.BoolPtrOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) int { + return v.SkipWaitForDeleteTimeoutSeconds + }).(pulumi.IntOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.User }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) Timeout() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) int { return v.Timeout }).(pulumi.IntOutput) } -type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +func (GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Elem() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption { +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Elem() GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions { if v != nil { return *v } - var ret GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption + var ret GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions return ret - }).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) + }).(GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Level() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { if v == nil { return nil } - return v.Level - }).(pulumi.StringPtrOutput) + return v.DeleteEmptyDirData + }).(pulumi.BoolPtrOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Role() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) DisableEviction() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { if v == nil { return nil } - return v.Role - }).(pulumi.StringPtrOutput) + return v.DisableEviction + }).(pulumi.BoolPtrOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { if v == nil { return nil } - return v.Type - }).(pulumi.StringPtrOutput) + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) User() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { if v == nil { return nil } - return v.User - }).(pulumi.StringPtrOutput) -} - -type GetPodSecurityPolicyTemplateSupplementalGroup struct { - Ranges []GetPodSecurityPolicyTemplateSupplementalGroupRange `pulumi:"ranges"` - Rule *string `pulumi:"rule"` -} - -// GetPodSecurityPolicyTemplateSupplementalGroupInput is an input type that accepts GetPodSecurityPolicyTemplateSupplementalGroupArgs and GetPodSecurityPolicyTemplateSupplementalGroupOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSupplementalGroupInput` via: -// -// GetPodSecurityPolicyTemplateSupplementalGroupArgs{...} -type GetPodSecurityPolicyTemplateSupplementalGroupInput interface { - pulumi.Input - - ToGetPodSecurityPolicyTemplateSupplementalGroupOutput() GetPodSecurityPolicyTemplateSupplementalGroupOutput - ToGetPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSupplementalGroupOutput + return v.Force + }).(pulumi.BoolPtrOutput) } -type GetPodSecurityPolicyTemplateSupplementalGroupArgs struct { - Ranges GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayInput `pulumi:"ranges"` - Rule pulumi.StringPtrInput `pulumi:"rule"` +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { + if v == nil { + return nil + } + return &v.GracePeriod + }).(pulumi.IntPtrOutput) } -func (GetPodSecurityPolicyTemplateSupplementalGroupArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { + if v == nil { + return nil + } + return v.IgnoreDaemonSets + }).(pulumi.BoolPtrOutput) } -func (i GetPodSecurityPolicyTemplateSupplementalGroupArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupOutput() GetPodSecurityPolicyTemplateSupplementalGroupOutput { - return i.ToGetPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) IgnoreErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *bool { + if v == nil { + return nil + } + return v.IgnoreErrors + }).(pulumi.BoolPtrOutput) } -func (i GetPodSecurityPolicyTemplateSupplementalGroupArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSupplementalGroupOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { + if v == nil { + return nil + } + return &v.SkipWaitForDeleteTimeoutSeconds + }).(pulumi.IntPtrOutput) } -func (i GetPodSecurityPolicyTemplateSupplementalGroupArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutput() GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return i.ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsPtrOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions) *int { + if v == nil { + return nil + } + return &v.Timeout + }).(pulumi.IntPtrOutput) } -func (i GetPodSecurityPolicyTemplateSupplementalGroupArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSupplementalGroupOutput).ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx) +type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions struct { + DeleteEmptyDirData *bool `pulumi:"deleteEmptyDirData"` + DisableEviction *bool `pulumi:"disableEviction"` + Enabled *bool `pulumi:"enabled"` + Force *bool `pulumi:"force"` + GracePeriod int `pulumi:"gracePeriod"` + IgnoreDaemonSets *bool `pulumi:"ignoreDaemonSets"` + IgnoreErrors *bool `pulumi:"ignoreErrors"` + SkipWaitForDeleteTimeoutSeconds int `pulumi:"skipWaitForDeleteTimeoutSeconds"` + Timeout int `pulumi:"timeout"` } -// GetPodSecurityPolicyTemplateSupplementalGroupPtrInput is an input type that accepts GetPodSecurityPolicyTemplateSupplementalGroupArgs, GetPodSecurityPolicyTemplateSupplementalGroupPtr and GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSupplementalGroupPtrInput` via: -// -// GetPodSecurityPolicyTemplateSupplementalGroupArgs{...} -// -// or: +// GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs and GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput` via: // -// nil -type GetPodSecurityPolicyTemplateSupplementalGroupPtrInput interface { +// GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs{...} +type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsInput interface { pulumi.Input - ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutput() GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput - ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput + ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput + ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput } -type getPodSecurityPolicyTemplateSupplementalGroupPtrType GetPodSecurityPolicyTemplateSupplementalGroupArgs - -func GetPodSecurityPolicyTemplateSupplementalGroupPtr(v *GetPodSecurityPolicyTemplateSupplementalGroupArgs) GetPodSecurityPolicyTemplateSupplementalGroupPtrInput { - return (*getPodSecurityPolicyTemplateSupplementalGroupPtrType)(v) +type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs struct { + DeleteEmptyDirData pulumi.BoolPtrInput `pulumi:"deleteEmptyDirData"` + DisableEviction pulumi.BoolPtrInput `pulumi:"disableEviction"` + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + Force pulumi.BoolPtrInput `pulumi:"force"` + GracePeriod pulumi.IntInput `pulumi:"gracePeriod"` + IgnoreDaemonSets pulumi.BoolPtrInput `pulumi:"ignoreDaemonSets"` + IgnoreErrors pulumi.BoolPtrInput `pulumi:"ignoreErrors"` + SkipWaitForDeleteTimeoutSeconds pulumi.IntInput `pulumi:"skipWaitForDeleteTimeoutSeconds"` + Timeout pulumi.IntInput `pulumi:"timeout"` } -func (*getPodSecurityPolicyTemplateSupplementalGroupPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +func (GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() } -func (i *getPodSecurityPolicyTemplateSupplementalGroupPtrType) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutput() GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return i.ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) +func (i GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { + return i.ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(context.Background()) } -func (i *getPodSecurityPolicyTemplateSupplementalGroupPtrType) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) +func (i GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) } -type GetPodSecurityPolicyTemplateSupplementalGroupOutput struct{ *pulumi.OutputState } - -func (GetPodSecurityPolicyTemplateSupplementalGroupOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +func (i GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return i.ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) } -func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupOutput() GetPodSecurityPolicyTemplateSupplementalGroupOutput { - return o +func (i GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput).ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx) } -func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupOutput { - return o +// GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput is an input type that accepts GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs, GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtr and GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput values. +// You can construct a concrete instance of `GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput` via: +// +// GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs{...} +// +// or: +// +// nil +type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput interface { + pulumi.Input + + ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput + ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput } -func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutput() GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return o.ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) +type getClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs + +func GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtr(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrInput { + return (*getClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType)(v) } -func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateSupplementalGroup) *GetPodSecurityPolicyTemplateSupplementalGroup { - return &v - }).(GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) +func (*getClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) Ranges() GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateSupplementalGroup) []GetPodSecurityPolicyTemplateSupplementalGroupRange { - return v.Ranges - }).(GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) +func (i *getClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return i.ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) } -func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateSupplementalGroup) *string { return v.Rule }).(pulumi.StringPtrOutput) +func (i *getClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrType) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) } -type GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetPodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +func (GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutput() GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { return o } -func (o GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { return o } -func (o GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) Elem() GetPodSecurityPolicyTemplateSupplementalGroupOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSupplementalGroup) GetPodSecurityPolicyTemplateSupplementalGroup { - if v != nil { - return *v - } - var ret GetPodSecurityPolicyTemplateSupplementalGroup - return ret - }).(GetPodSecurityPolicyTemplateSupplementalGroupOutput) -} - -func (o GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) Ranges() GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSupplementalGroup) []GetPodSecurityPolicyTemplateSupplementalGroupRange { - if v == nil { - return nil - } - return v.Ranges - }).(GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) -} - -func (o GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) Rule() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSupplementalGroup) *string { - if v == nil { - return nil - } - return v.Rule - }).(pulumi.StringPtrOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return o.ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(context.Background()) } -type GetPodSecurityPolicyTemplateSupplementalGroupRange struct { - Max int `pulumi:"max"` - Min int `pulumi:"min"` +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { + return &v + }).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) } -// GetPodSecurityPolicyTemplateSupplementalGroupRangeInput is an input type that accepts GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs and GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSupplementalGroupRangeInput` via: -// -// GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs{...} -type GetPodSecurityPolicyTemplateSupplementalGroupRangeInput interface { - pulumi.Input - - ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput - ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.DeleteEmptyDirData }).(pulumi.BoolPtrOutput) } -type GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs struct { - Max pulumi.IntInput `pulumi:"max"` - Min pulumi.IntInput `pulumi:"min"` +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) DisableEviction() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.DisableEviction }).(pulumi.BoolPtrOutput) } -func (GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (i GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput { - return i.ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.Force }).(pulumi.BoolPtrOutput) } -func (i GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) GracePeriod() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) int { return v.GracePeriod }).(pulumi.IntOutput) } -// GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayInput is an input type that accepts GetPodSecurityPolicyTemplateSupplementalGroupRangeArray and GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput values. -// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayInput` via: -// -// GetPodSecurityPolicyTemplateSupplementalGroupRangeArray{ GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs{...} } -type GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayInput interface { - pulumi.Input - - ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput - ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.IgnoreDaemonSets }).(pulumi.BoolPtrOutput) } -type GetPodSecurityPolicyTemplateSupplementalGroupRangeArray []GetPodSecurityPolicyTemplateSupplementalGroupRangeInput - -func (GetPodSecurityPolicyTemplateSupplementalGroupRangeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) IgnoreErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { return v.IgnoreErrors }).(pulumi.BoolPtrOutput) } -func (i GetPodSecurityPolicyTemplateSupplementalGroupRangeArray) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { - return i.ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) int { + return v.SkipWaitForDeleteTimeoutSeconds + }).(pulumi.IntOutput) } -func (i GetPodSecurityPolicyTemplateSupplementalGroupRangeArray) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) Timeout() pulumi.IntOutput { + return o.ApplyT(func(v GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) int { return v.Timeout }).(pulumi.IntOutput) } -type GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput struct{ *pulumi.OutputState } +type GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput struct{ *pulumi.OutputState } -func (GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +func (GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions)(nil)).Elem() } -func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput { +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) ToGetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutputWithContext(ctx context.Context) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput { return o } -func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) Max() pulumi.IntOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateSupplementalGroupRange) int { return v.Max }).(pulumi.IntOutput) -} - -func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) Min() pulumi.IntOutput { - return o.ApplyT(func(v GetPodSecurityPolicyTemplateSupplementalGroupRange) int { return v.Min }).(pulumi.IntOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Elem() GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions { + if v != nil { + return *v + } + var ret GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions + return ret + }).(GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsOutput) } -type GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput struct{ *pulumi.OutputState } - -func (GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) DeleteEmptyDirData() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { + if v == nil { + return nil + } + return v.DeleteEmptyDirData + }).(pulumi.BoolPtrOutput) } -func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { - return o +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) DisableEviction() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { + if v == nil { + return nil + } + return v.DisableEviction + }).(pulumi.BoolPtrOutput) } -func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { - return o +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) } -func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateSupplementalGroupRange { - return vs[0].([]GetPodSecurityPolicyTemplateSupplementalGroupRange)[vs[1].(int)] - }).(GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Force() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { + if v == nil { + return nil + } + return v.Force + }).(pulumi.BoolPtrOutput) } -type GetProjectAlertGroupRecipient struct { - DefaultRecipient *bool `pulumi:"defaultRecipient"` - NotifierId string `pulumi:"notifierId"` - NotifierType string `pulumi:"notifierType"` - Recipient string `pulumi:"recipient"` +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) GracePeriod() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { + if v == nil { + return nil + } + return &v.GracePeriod + }).(pulumi.IntPtrOutput) } -// GetProjectAlertGroupRecipientInput is an input type that accepts GetProjectAlertGroupRecipientArgs and GetProjectAlertGroupRecipientOutput values. -// You can construct a concrete instance of `GetProjectAlertGroupRecipientInput` via: -// -// GetProjectAlertGroupRecipientArgs{...} -type GetProjectAlertGroupRecipientInput interface { - pulumi.Input - - ToGetProjectAlertGroupRecipientOutput() GetProjectAlertGroupRecipientOutput - ToGetProjectAlertGroupRecipientOutputWithContext(context.Context) GetProjectAlertGroupRecipientOutput +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) IgnoreDaemonSets() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { + if v == nil { + return nil + } + return v.IgnoreDaemonSets + }).(pulumi.BoolPtrOutput) } -type GetProjectAlertGroupRecipientArgs struct { - DefaultRecipient pulumi.BoolPtrInput `pulumi:"defaultRecipient"` - NotifierId pulumi.StringInput `pulumi:"notifierId"` - NotifierType pulumi.StringInput `pulumi:"notifierType"` - Recipient pulumi.StringInput `pulumi:"recipient"` +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) IgnoreErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *bool { + if v == nil { + return nil + } + return v.IgnoreErrors + }).(pulumi.BoolPtrOutput) } -func (GetProjectAlertGroupRecipientArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectAlertGroupRecipient)(nil)).Elem() +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) SkipWaitForDeleteTimeoutSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { + if v == nil { + return nil + } + return &v.SkipWaitForDeleteTimeoutSeconds + }).(pulumi.IntPtrOutput) } -func (i GetProjectAlertGroupRecipientArgs) ToGetProjectAlertGroupRecipientOutput() GetProjectAlertGroupRecipientOutput { - return i.ToGetProjectAlertGroupRecipientOutputWithContext(context.Background()) +func (o GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsPtrOutput) Timeout() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions) *int { + if v == nil { + return nil + } + return &v.Timeout + }).(pulumi.IntPtrOutput) } -func (i GetProjectAlertGroupRecipientArgs) ToGetProjectAlertGroupRecipientOutputWithContext(ctx context.Context) GetProjectAlertGroupRecipientOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectAlertGroupRecipientOutput) +type GetEtcdBackupBackupConfig struct { + Enabled *bool `pulumi:"enabled"` + IntervalHours *int `pulumi:"intervalHours"` + Retention *int `pulumi:"retention"` + S3BackupConfig *GetEtcdBackupBackupConfigS3BackupConfig `pulumi:"s3BackupConfig"` + SafeTimestamp *bool `pulumi:"safeTimestamp"` + Timeout int `pulumi:"timeout"` } -// GetProjectAlertGroupRecipientArrayInput is an input type that accepts GetProjectAlertGroupRecipientArray and GetProjectAlertGroupRecipientArrayOutput values. -// You can construct a concrete instance of `GetProjectAlertGroupRecipientArrayInput` via: +// GetEtcdBackupBackupConfigInput is an input type that accepts GetEtcdBackupBackupConfigArgs and GetEtcdBackupBackupConfigOutput values. +// You can construct a concrete instance of `GetEtcdBackupBackupConfigInput` via: // -// GetProjectAlertGroupRecipientArray{ GetProjectAlertGroupRecipientArgs{...} } -type GetProjectAlertGroupRecipientArrayInput interface { +// GetEtcdBackupBackupConfigArgs{...} +type GetEtcdBackupBackupConfigInput interface { pulumi.Input - ToGetProjectAlertGroupRecipientArrayOutput() GetProjectAlertGroupRecipientArrayOutput - ToGetProjectAlertGroupRecipientArrayOutputWithContext(context.Context) GetProjectAlertGroupRecipientArrayOutput + ToGetEtcdBackupBackupConfigOutput() GetEtcdBackupBackupConfigOutput + ToGetEtcdBackupBackupConfigOutputWithContext(context.Context) GetEtcdBackupBackupConfigOutput } -type GetProjectAlertGroupRecipientArray []GetProjectAlertGroupRecipientInput +type GetEtcdBackupBackupConfigArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` + IntervalHours pulumi.IntPtrInput `pulumi:"intervalHours"` + Retention pulumi.IntPtrInput `pulumi:"retention"` + S3BackupConfig GetEtcdBackupBackupConfigS3BackupConfigPtrInput `pulumi:"s3BackupConfig"` + SafeTimestamp pulumi.BoolPtrInput `pulumi:"safeTimestamp"` + Timeout pulumi.IntInput `pulumi:"timeout"` +} -func (GetProjectAlertGroupRecipientArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetProjectAlertGroupRecipient)(nil)).Elem() +func (GetEtcdBackupBackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetEtcdBackupBackupConfig)(nil)).Elem() } -func (i GetProjectAlertGroupRecipientArray) ToGetProjectAlertGroupRecipientArrayOutput() GetProjectAlertGroupRecipientArrayOutput { - return i.ToGetProjectAlertGroupRecipientArrayOutputWithContext(context.Background()) +func (i GetEtcdBackupBackupConfigArgs) ToGetEtcdBackupBackupConfigOutput() GetEtcdBackupBackupConfigOutput { + return i.ToGetEtcdBackupBackupConfigOutputWithContext(context.Background()) } -func (i GetProjectAlertGroupRecipientArray) ToGetProjectAlertGroupRecipientArrayOutputWithContext(ctx context.Context) GetProjectAlertGroupRecipientArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectAlertGroupRecipientArrayOutput) +func (i GetEtcdBackupBackupConfigArgs) ToGetEtcdBackupBackupConfigOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetEtcdBackupBackupConfigOutput) } -type GetProjectAlertGroupRecipientOutput struct{ *pulumi.OutputState } +type GetEtcdBackupBackupConfigOutput struct{ *pulumi.OutputState } -func (GetProjectAlertGroupRecipientOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectAlertGroupRecipient)(nil)).Elem() +func (GetEtcdBackupBackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetEtcdBackupBackupConfig)(nil)).Elem() } -func (o GetProjectAlertGroupRecipientOutput) ToGetProjectAlertGroupRecipientOutput() GetProjectAlertGroupRecipientOutput { +func (o GetEtcdBackupBackupConfigOutput) ToGetEtcdBackupBackupConfigOutput() GetEtcdBackupBackupConfigOutput { return o } -func (o GetProjectAlertGroupRecipientOutput) ToGetProjectAlertGroupRecipientOutputWithContext(ctx context.Context) GetProjectAlertGroupRecipientOutput { +func (o GetEtcdBackupBackupConfigOutput) ToGetEtcdBackupBackupConfigOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigOutput { return o } -func (o GetProjectAlertGroupRecipientOutput) DefaultRecipient() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetProjectAlertGroupRecipient) *bool { return v.DefaultRecipient }).(pulumi.BoolPtrOutput) -} - -func (o GetProjectAlertGroupRecipientOutput) NotifierId() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectAlertGroupRecipient) string { return v.NotifierId }).(pulumi.StringOutput) -} - -func (o GetProjectAlertGroupRecipientOutput) NotifierType() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectAlertGroupRecipient) string { return v.NotifierType }).(pulumi.StringOutput) +func (o GetEtcdBackupBackupConfigOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfig) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) } -func (o GetProjectAlertGroupRecipientOutput) Recipient() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectAlertGroupRecipient) string { return v.Recipient }).(pulumi.StringOutput) +func (o GetEtcdBackupBackupConfigOutput) IntervalHours() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfig) *int { return v.IntervalHours }).(pulumi.IntPtrOutput) } -type GetProjectAlertGroupRecipientArrayOutput struct{ *pulumi.OutputState } - -func (GetProjectAlertGroupRecipientArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetProjectAlertGroupRecipient)(nil)).Elem() +func (o GetEtcdBackupBackupConfigOutput) Retention() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfig) *int { return v.Retention }).(pulumi.IntPtrOutput) } -func (o GetProjectAlertGroupRecipientArrayOutput) ToGetProjectAlertGroupRecipientArrayOutput() GetProjectAlertGroupRecipientArrayOutput { - return o +func (o GetEtcdBackupBackupConfigOutput) S3BackupConfig() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfig) *GetEtcdBackupBackupConfigS3BackupConfig { return v.S3BackupConfig }).(GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) } -func (o GetProjectAlertGroupRecipientArrayOutput) ToGetProjectAlertGroupRecipientArrayOutputWithContext(ctx context.Context) GetProjectAlertGroupRecipientArrayOutput { - return o +func (o GetEtcdBackupBackupConfigOutput) SafeTimestamp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfig) *bool { return v.SafeTimestamp }).(pulumi.BoolPtrOutput) } -func (o GetProjectAlertGroupRecipientArrayOutput) Index(i pulumi.IntInput) GetProjectAlertGroupRecipientOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetProjectAlertGroupRecipient { - return vs[0].([]GetProjectAlertGroupRecipient)[vs[1].(int)] - }).(GetProjectAlertGroupRecipientOutput) +func (o GetEtcdBackupBackupConfigOutput) Timeout() pulumi.IntOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfig) int { return v.Timeout }).(pulumi.IntOutput) } -type GetProjectAlertRuleMetricRule struct { - Comparison *string `pulumi:"comparison"` - Description *string `pulumi:"description"` - Duration string `pulumi:"duration"` - Expression string `pulumi:"expression"` - ThresholdValue float64 `pulumi:"thresholdValue"` +type GetEtcdBackupBackupConfigS3BackupConfig struct { + AccessKey *string `pulumi:"accessKey"` + BucketName string `pulumi:"bucketName"` + CustomCa *string `pulumi:"customCa"` + Endpoint string `pulumi:"endpoint"` + Folder *string `pulumi:"folder"` + Region *string `pulumi:"region"` + SecretKey *string `pulumi:"secretKey"` } -// GetProjectAlertRuleMetricRuleInput is an input type that accepts GetProjectAlertRuleMetricRuleArgs and GetProjectAlertRuleMetricRuleOutput values. -// You can construct a concrete instance of `GetProjectAlertRuleMetricRuleInput` via: +// GetEtcdBackupBackupConfigS3BackupConfigInput is an input type that accepts GetEtcdBackupBackupConfigS3BackupConfigArgs and GetEtcdBackupBackupConfigS3BackupConfigOutput values. +// You can construct a concrete instance of `GetEtcdBackupBackupConfigS3BackupConfigInput` via: // -// GetProjectAlertRuleMetricRuleArgs{...} -type GetProjectAlertRuleMetricRuleInput interface { +// GetEtcdBackupBackupConfigS3BackupConfigArgs{...} +type GetEtcdBackupBackupConfigS3BackupConfigInput interface { pulumi.Input - ToGetProjectAlertRuleMetricRuleOutput() GetProjectAlertRuleMetricRuleOutput - ToGetProjectAlertRuleMetricRuleOutputWithContext(context.Context) GetProjectAlertRuleMetricRuleOutput + ToGetEtcdBackupBackupConfigS3BackupConfigOutput() GetEtcdBackupBackupConfigS3BackupConfigOutput + ToGetEtcdBackupBackupConfigS3BackupConfigOutputWithContext(context.Context) GetEtcdBackupBackupConfigS3BackupConfigOutput } -type GetProjectAlertRuleMetricRuleArgs struct { - Comparison pulumi.StringPtrInput `pulumi:"comparison"` - Description pulumi.StringPtrInput `pulumi:"description"` - Duration pulumi.StringInput `pulumi:"duration"` - Expression pulumi.StringInput `pulumi:"expression"` - ThresholdValue pulumi.Float64Input `pulumi:"thresholdValue"` +type GetEtcdBackupBackupConfigS3BackupConfigArgs struct { + AccessKey pulumi.StringPtrInput `pulumi:"accessKey"` + BucketName pulumi.StringInput `pulumi:"bucketName"` + CustomCa pulumi.StringPtrInput `pulumi:"customCa"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + Folder pulumi.StringPtrInput `pulumi:"folder"` + Region pulumi.StringPtrInput `pulumi:"region"` + SecretKey pulumi.StringPtrInput `pulumi:"secretKey"` } -func (GetProjectAlertRuleMetricRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectAlertRuleMetricRule)(nil)).Elem() +func (GetEtcdBackupBackupConfigS3BackupConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetEtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() } -func (i GetProjectAlertRuleMetricRuleArgs) ToGetProjectAlertRuleMetricRuleOutput() GetProjectAlertRuleMetricRuleOutput { - return i.ToGetProjectAlertRuleMetricRuleOutputWithContext(context.Background()) +func (i GetEtcdBackupBackupConfigS3BackupConfigArgs) ToGetEtcdBackupBackupConfigS3BackupConfigOutput() GetEtcdBackupBackupConfigS3BackupConfigOutput { + return i.ToGetEtcdBackupBackupConfigS3BackupConfigOutputWithContext(context.Background()) } -func (i GetProjectAlertRuleMetricRuleArgs) ToGetProjectAlertRuleMetricRuleOutputWithContext(ctx context.Context) GetProjectAlertRuleMetricRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectAlertRuleMetricRuleOutput) +func (i GetEtcdBackupBackupConfigS3BackupConfigArgs) ToGetEtcdBackupBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetEtcdBackupBackupConfigS3BackupConfigOutput) } -type GetProjectAlertRuleMetricRuleOutput struct{ *pulumi.OutputState } - -func (GetProjectAlertRuleMetricRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectAlertRuleMetricRule)(nil)).Elem() +func (i GetEtcdBackupBackupConfigS3BackupConfigArgs) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutput() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { + return i.ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -func (o GetProjectAlertRuleMetricRuleOutput) ToGetProjectAlertRuleMetricRuleOutput() GetProjectAlertRuleMetricRuleOutput { - return o +func (i GetEtcdBackupBackupConfigS3BackupConfigArgs) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetEtcdBackupBackupConfigS3BackupConfigOutput).ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx) } -func (o GetProjectAlertRuleMetricRuleOutput) ToGetProjectAlertRuleMetricRuleOutputWithContext(ctx context.Context) GetProjectAlertRuleMetricRuleOutput { - return o -} +// GetEtcdBackupBackupConfigS3BackupConfigPtrInput is an input type that accepts GetEtcdBackupBackupConfigS3BackupConfigArgs, GetEtcdBackupBackupConfigS3BackupConfigPtr and GetEtcdBackupBackupConfigS3BackupConfigPtrOutput values. +// You can construct a concrete instance of `GetEtcdBackupBackupConfigS3BackupConfigPtrInput` via: +// +// GetEtcdBackupBackupConfigS3BackupConfigArgs{...} +// +// or: +// +// nil +type GetEtcdBackupBackupConfigS3BackupConfigPtrInput interface { + pulumi.Input -func (o GetProjectAlertRuleMetricRuleOutput) Comparison() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectAlertRuleMetricRule) *string { return v.Comparison }).(pulumi.StringPtrOutput) + ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutput() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput + ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Context) GetEtcdBackupBackupConfigS3BackupConfigPtrOutput } -func (o GetProjectAlertRuleMetricRuleOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectAlertRuleMetricRule) *string { return v.Description }).(pulumi.StringPtrOutput) -} +type getEtcdBackupBackupConfigS3BackupConfigPtrType GetEtcdBackupBackupConfigS3BackupConfigArgs -func (o GetProjectAlertRuleMetricRuleOutput) Duration() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectAlertRuleMetricRule) string { return v.Duration }).(pulumi.StringOutput) +func GetEtcdBackupBackupConfigS3BackupConfigPtr(v *GetEtcdBackupBackupConfigS3BackupConfigArgs) GetEtcdBackupBackupConfigS3BackupConfigPtrInput { + return (*getEtcdBackupBackupConfigS3BackupConfigPtrType)(v) } -func (o GetProjectAlertRuleMetricRuleOutput) Expression() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectAlertRuleMetricRule) string { return v.Expression }).(pulumi.StringOutput) +func (*getEtcdBackupBackupConfigS3BackupConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetEtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() } -func (o GetProjectAlertRuleMetricRuleOutput) ThresholdValue() pulumi.Float64Output { - return o.ApplyT(func(v GetProjectAlertRuleMetricRule) float64 { return v.ThresholdValue }).(pulumi.Float64Output) +func (i *getEtcdBackupBackupConfigS3BackupConfigPtrType) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutput() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { + return i.ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -type GetProjectAlertRulePodRule struct { - Condition *string `pulumi:"condition"` - PodId string `pulumi:"podId"` - RestartIntervalSeconds *int `pulumi:"restartIntervalSeconds"` - RestartTimes *int `pulumi:"restartTimes"` +func (i *getEtcdBackupBackupConfigS3BackupConfigPtrType) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) } -// GetProjectAlertRulePodRuleInput is an input type that accepts GetProjectAlertRulePodRuleArgs and GetProjectAlertRulePodRuleOutput values. -// You can construct a concrete instance of `GetProjectAlertRulePodRuleInput` via: -// -// GetProjectAlertRulePodRuleArgs{...} -type GetProjectAlertRulePodRuleInput interface { - pulumi.Input - - ToGetProjectAlertRulePodRuleOutput() GetProjectAlertRulePodRuleOutput - ToGetProjectAlertRulePodRuleOutputWithContext(context.Context) GetProjectAlertRulePodRuleOutput -} +type GetEtcdBackupBackupConfigS3BackupConfigOutput struct{ *pulumi.OutputState } -type GetProjectAlertRulePodRuleArgs struct { - Condition pulumi.StringPtrInput `pulumi:"condition"` - PodId pulumi.StringInput `pulumi:"podId"` - RestartIntervalSeconds pulumi.IntPtrInput `pulumi:"restartIntervalSeconds"` - RestartTimes pulumi.IntPtrInput `pulumi:"restartTimes"` +func (GetEtcdBackupBackupConfigS3BackupConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetEtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() } -func (GetProjectAlertRulePodRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectAlertRulePodRule)(nil)).Elem() +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) ToGetEtcdBackupBackupConfigS3BackupConfigOutput() GetEtcdBackupBackupConfigS3BackupConfigOutput { + return o } -func (i GetProjectAlertRulePodRuleArgs) ToGetProjectAlertRulePodRuleOutput() GetProjectAlertRulePodRuleOutput { - return i.ToGetProjectAlertRulePodRuleOutputWithContext(context.Background()) +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) ToGetEtcdBackupBackupConfigS3BackupConfigOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigOutput { + return o } -func (i GetProjectAlertRulePodRuleArgs) ToGetProjectAlertRulePodRuleOutputWithContext(ctx context.Context) GetProjectAlertRulePodRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectAlertRulePodRuleOutput) +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutput() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { + return o.ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(context.Background()) } -type GetProjectAlertRulePodRuleOutput struct{ *pulumi.OutputState } - -func (GetProjectAlertRulePodRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectAlertRulePodRule)(nil)).Elem() +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetEtcdBackupBackupConfigS3BackupConfig) *GetEtcdBackupBackupConfigS3BackupConfig { + return &v + }).(GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) } -func (o GetProjectAlertRulePodRuleOutput) ToGetProjectAlertRulePodRuleOutput() GetProjectAlertRulePodRuleOutput { - return o +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) *string { return v.AccessKey }).(pulumi.StringPtrOutput) } -func (o GetProjectAlertRulePodRuleOutput) ToGetProjectAlertRulePodRuleOutputWithContext(ctx context.Context) GetProjectAlertRulePodRuleOutput { - return o +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) BucketName() pulumi.StringOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) string { return v.BucketName }).(pulumi.StringOutput) } -func (o GetProjectAlertRulePodRuleOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectAlertRulePodRule) *string { return v.Condition }).(pulumi.StringPtrOutput) +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) *string { return v.CustomCa }).(pulumi.StringPtrOutput) } -func (o GetProjectAlertRulePodRuleOutput) PodId() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectAlertRulePodRule) string { return v.PodId }).(pulumi.StringOutput) +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) string { return v.Endpoint }).(pulumi.StringOutput) } -func (o GetProjectAlertRulePodRuleOutput) RestartIntervalSeconds() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetProjectAlertRulePodRule) *int { return v.RestartIntervalSeconds }).(pulumi.IntPtrOutput) +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) *string { return v.Folder }).(pulumi.StringPtrOutput) } -func (o GetProjectAlertRulePodRuleOutput) RestartTimes() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetProjectAlertRulePodRule) *int { return v.RestartTimes }).(pulumi.IntPtrOutput) +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) *string { return v.Region }).(pulumi.StringPtrOutput) } -type GetProjectAlertRuleWorkloadRule struct { - AvailablePercentage *int `pulumi:"availablePercentage"` - Selector map[string]interface{} `pulumi:"selector"` - WorkloadId *string `pulumi:"workloadId"` +func (o GetEtcdBackupBackupConfigS3BackupConfigOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetEtcdBackupBackupConfigS3BackupConfig) *string { return v.SecretKey }).(pulumi.StringPtrOutput) } -// GetProjectAlertRuleWorkloadRuleInput is an input type that accepts GetProjectAlertRuleWorkloadRuleArgs and GetProjectAlertRuleWorkloadRuleOutput values. -// You can construct a concrete instance of `GetProjectAlertRuleWorkloadRuleInput` via: -// -// GetProjectAlertRuleWorkloadRuleArgs{...} -type GetProjectAlertRuleWorkloadRuleInput interface { - pulumi.Input +type GetEtcdBackupBackupConfigS3BackupConfigPtrOutput struct{ *pulumi.OutputState } - ToGetProjectAlertRuleWorkloadRuleOutput() GetProjectAlertRuleWorkloadRuleOutput - ToGetProjectAlertRuleWorkloadRuleOutputWithContext(context.Context) GetProjectAlertRuleWorkloadRuleOutput +func (GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetEtcdBackupBackupConfigS3BackupConfig)(nil)).Elem() } -type GetProjectAlertRuleWorkloadRuleArgs struct { - AvailablePercentage pulumi.IntPtrInput `pulumi:"availablePercentage"` - Selector pulumi.MapInput `pulumi:"selector"` - WorkloadId pulumi.StringPtrInput `pulumi:"workloadId"` +func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutput() GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { + return o } -func (GetProjectAlertRuleWorkloadRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectAlertRuleWorkloadRule)(nil)).Elem() +func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) ToGetEtcdBackupBackupConfigS3BackupConfigPtrOutputWithContext(ctx context.Context) GetEtcdBackupBackupConfigS3BackupConfigPtrOutput { + return o } -func (i GetProjectAlertRuleWorkloadRuleArgs) ToGetProjectAlertRuleWorkloadRuleOutput() GetProjectAlertRuleWorkloadRuleOutput { - return i.ToGetProjectAlertRuleWorkloadRuleOutputWithContext(context.Background()) +func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) Elem() GetEtcdBackupBackupConfigS3BackupConfigOutput { + return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) GetEtcdBackupBackupConfigS3BackupConfig { + if v != nil { + return *v + } + var ret GetEtcdBackupBackupConfigS3BackupConfig + return ret + }).(GetEtcdBackupBackupConfigS3BackupConfigOutput) } -func (i GetProjectAlertRuleWorkloadRuleArgs) ToGetProjectAlertRuleWorkloadRuleOutputWithContext(ctx context.Context) GetProjectAlertRuleWorkloadRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectAlertRuleWorkloadRuleOutput) +func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) AccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.AccessKey + }).(pulumi.StringPtrOutput) } -type GetProjectAlertRuleWorkloadRuleOutput struct{ *pulumi.OutputState } - -func (GetProjectAlertRuleWorkloadRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectAlertRuleWorkloadRule)(nil)).Elem() +func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) BucketName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return &v.BucketName + }).(pulumi.StringPtrOutput) } -func (o GetProjectAlertRuleWorkloadRuleOutput) ToGetProjectAlertRuleWorkloadRuleOutput() GetProjectAlertRuleWorkloadRuleOutput { - return o +func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) CustomCa() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.CustomCa + }).(pulumi.StringPtrOutput) } -func (o GetProjectAlertRuleWorkloadRuleOutput) ToGetProjectAlertRuleWorkloadRuleOutputWithContext(ctx context.Context) GetProjectAlertRuleWorkloadRuleOutput { - return o +func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return &v.Endpoint + }).(pulumi.StringPtrOutput) } -func (o GetProjectAlertRuleWorkloadRuleOutput) AvailablePercentage() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetProjectAlertRuleWorkloadRule) *int { return v.AvailablePercentage }).(pulumi.IntPtrOutput) +func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) Folder() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.Folder + }).(pulumi.StringPtrOutput) } -func (o GetProjectAlertRuleWorkloadRuleOutput) Selector() pulumi.MapOutput { - return o.ApplyT(func(v GetProjectAlertRuleWorkloadRule) map[string]interface{} { return v.Selector }).(pulumi.MapOutput) +func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (o GetProjectAlertRuleWorkloadRuleOutput) WorkloadId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectAlertRuleWorkloadRule) *string { return v.WorkloadId }).(pulumi.StringPtrOutput) +func (o GetEtcdBackupBackupConfigS3BackupConfigPtrOutput) SecretKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetEtcdBackupBackupConfigS3BackupConfig) *string { + if v == nil { + return nil + } + return v.SecretKey + }).(pulumi.StringPtrOutput) } -type GetProjectContainerResourceLimit struct { - LimitsCpu *string `pulumi:"limitsCpu"` - LimitsMemory *string `pulumi:"limitsMemory"` - RequestsCpu *string `pulumi:"requestsCpu"` - RequestsMemory *string `pulumi:"requestsMemory"` +type GetGlobalDnsProviderAlidnsConfig struct { + AccessKey string `pulumi:"accessKey"` + SecretKey string `pulumi:"secretKey"` } -// GetProjectContainerResourceLimitInput is an input type that accepts GetProjectContainerResourceLimitArgs and GetProjectContainerResourceLimitOutput values. -// You can construct a concrete instance of `GetProjectContainerResourceLimitInput` via: +// GetGlobalDnsProviderAlidnsConfigInput is an input type that accepts GetGlobalDnsProviderAlidnsConfigArgs and GetGlobalDnsProviderAlidnsConfigOutput values. +// You can construct a concrete instance of `GetGlobalDnsProviderAlidnsConfigInput` via: // -// GetProjectContainerResourceLimitArgs{...} -type GetProjectContainerResourceLimitInput interface { +// GetGlobalDnsProviderAlidnsConfigArgs{...} +type GetGlobalDnsProviderAlidnsConfigInput interface { pulumi.Input - ToGetProjectContainerResourceLimitOutput() GetProjectContainerResourceLimitOutput - ToGetProjectContainerResourceLimitOutputWithContext(context.Context) GetProjectContainerResourceLimitOutput + ToGetGlobalDnsProviderAlidnsConfigOutput() GetGlobalDnsProviderAlidnsConfigOutput + ToGetGlobalDnsProviderAlidnsConfigOutputWithContext(context.Context) GetGlobalDnsProviderAlidnsConfigOutput } -type GetProjectContainerResourceLimitArgs struct { - LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` - LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` - RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` - RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` +type GetGlobalDnsProviderAlidnsConfigArgs struct { + AccessKey pulumi.StringInput `pulumi:"accessKey"` + SecretKey pulumi.StringInput `pulumi:"secretKey"` } -func (GetProjectContainerResourceLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectContainerResourceLimit)(nil)).Elem() +func (GetGlobalDnsProviderAlidnsConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetGlobalDnsProviderAlidnsConfig)(nil)).Elem() } -func (i GetProjectContainerResourceLimitArgs) ToGetProjectContainerResourceLimitOutput() GetProjectContainerResourceLimitOutput { - return i.ToGetProjectContainerResourceLimitOutputWithContext(context.Background()) +func (i GetGlobalDnsProviderAlidnsConfigArgs) ToGetGlobalDnsProviderAlidnsConfigOutput() GetGlobalDnsProviderAlidnsConfigOutput { + return i.ToGetGlobalDnsProviderAlidnsConfigOutputWithContext(context.Background()) } -func (i GetProjectContainerResourceLimitArgs) ToGetProjectContainerResourceLimitOutputWithContext(ctx context.Context) GetProjectContainerResourceLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectContainerResourceLimitOutput) +func (i GetGlobalDnsProviderAlidnsConfigArgs) ToGetGlobalDnsProviderAlidnsConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderAlidnsConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetGlobalDnsProviderAlidnsConfigOutput) } -type GetProjectContainerResourceLimitOutput struct{ *pulumi.OutputState } +type GetGlobalDnsProviderAlidnsConfigOutput struct{ *pulumi.OutputState } -func (GetProjectContainerResourceLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectContainerResourceLimit)(nil)).Elem() +func (GetGlobalDnsProviderAlidnsConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetGlobalDnsProviderAlidnsConfig)(nil)).Elem() } -func (o GetProjectContainerResourceLimitOutput) ToGetProjectContainerResourceLimitOutput() GetProjectContainerResourceLimitOutput { +func (o GetGlobalDnsProviderAlidnsConfigOutput) ToGetGlobalDnsProviderAlidnsConfigOutput() GetGlobalDnsProviderAlidnsConfigOutput { return o } -func (o GetProjectContainerResourceLimitOutput) ToGetProjectContainerResourceLimitOutputWithContext(ctx context.Context) GetProjectContainerResourceLimitOutput { +func (o GetGlobalDnsProviderAlidnsConfigOutput) ToGetGlobalDnsProviderAlidnsConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderAlidnsConfigOutput { return o } -func (o GetProjectContainerResourceLimitOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectContainerResourceLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) -} - -func (o GetProjectContainerResourceLimitOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectContainerResourceLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) -} - -func (o GetProjectContainerResourceLimitOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectContainerResourceLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +func (o GetGlobalDnsProviderAlidnsConfigOutput) AccessKey() pulumi.StringOutput { + return o.ApplyT(func(v GetGlobalDnsProviderAlidnsConfig) string { return v.AccessKey }).(pulumi.StringOutput) } -func (o GetProjectContainerResourceLimitOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectContainerResourceLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +func (o GetGlobalDnsProviderAlidnsConfigOutput) SecretKey() pulumi.StringOutput { + return o.ApplyT(func(v GetGlobalDnsProviderAlidnsConfig) string { return v.SecretKey }).(pulumi.StringOutput) } -type GetProjectLoggingCustomTargetConfig struct { - Certificate *string `pulumi:"certificate"` - ClientCert *string `pulumi:"clientCert"` - ClientKey *string `pulumi:"clientKey"` - Content string `pulumi:"content"` +type GetGlobalDnsProviderCloudflareConfig struct { + ApiEmail string `pulumi:"apiEmail"` + ApiKey string `pulumi:"apiKey"` + ProxySetting *bool `pulumi:"proxySetting"` } -// GetProjectLoggingCustomTargetConfigInput is an input type that accepts GetProjectLoggingCustomTargetConfigArgs and GetProjectLoggingCustomTargetConfigOutput values. -// You can construct a concrete instance of `GetProjectLoggingCustomTargetConfigInput` via: +// GetGlobalDnsProviderCloudflareConfigInput is an input type that accepts GetGlobalDnsProviderCloudflareConfigArgs and GetGlobalDnsProviderCloudflareConfigOutput values. +// You can construct a concrete instance of `GetGlobalDnsProviderCloudflareConfigInput` via: // -// GetProjectLoggingCustomTargetConfigArgs{...} -type GetProjectLoggingCustomTargetConfigInput interface { +// GetGlobalDnsProviderCloudflareConfigArgs{...} +type GetGlobalDnsProviderCloudflareConfigInput interface { pulumi.Input - ToGetProjectLoggingCustomTargetConfigOutput() GetProjectLoggingCustomTargetConfigOutput - ToGetProjectLoggingCustomTargetConfigOutputWithContext(context.Context) GetProjectLoggingCustomTargetConfigOutput + ToGetGlobalDnsProviderCloudflareConfigOutput() GetGlobalDnsProviderCloudflareConfigOutput + ToGetGlobalDnsProviderCloudflareConfigOutputWithContext(context.Context) GetGlobalDnsProviderCloudflareConfigOutput } -type GetProjectLoggingCustomTargetConfigArgs struct { - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - Content pulumi.StringInput `pulumi:"content"` +type GetGlobalDnsProviderCloudflareConfigArgs struct { + ApiEmail pulumi.StringInput `pulumi:"apiEmail"` + ApiKey pulumi.StringInput `pulumi:"apiKey"` + ProxySetting pulumi.BoolPtrInput `pulumi:"proxySetting"` } -func (GetProjectLoggingCustomTargetConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingCustomTargetConfig)(nil)).Elem() +func (GetGlobalDnsProviderCloudflareConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetGlobalDnsProviderCloudflareConfig)(nil)).Elem() } -func (i GetProjectLoggingCustomTargetConfigArgs) ToGetProjectLoggingCustomTargetConfigOutput() GetProjectLoggingCustomTargetConfigOutput { - return i.ToGetProjectLoggingCustomTargetConfigOutputWithContext(context.Background()) +func (i GetGlobalDnsProviderCloudflareConfigArgs) ToGetGlobalDnsProviderCloudflareConfigOutput() GetGlobalDnsProviderCloudflareConfigOutput { + return i.ToGetGlobalDnsProviderCloudflareConfigOutputWithContext(context.Background()) } -func (i GetProjectLoggingCustomTargetConfigArgs) ToGetProjectLoggingCustomTargetConfigOutputWithContext(ctx context.Context) GetProjectLoggingCustomTargetConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingCustomTargetConfigOutput) +func (i GetGlobalDnsProviderCloudflareConfigArgs) ToGetGlobalDnsProviderCloudflareConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderCloudflareConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetGlobalDnsProviderCloudflareConfigOutput) } -type GetProjectLoggingCustomTargetConfigOutput struct{ *pulumi.OutputState } +type GetGlobalDnsProviderCloudflareConfigOutput struct{ *pulumi.OutputState } -func (GetProjectLoggingCustomTargetConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingCustomTargetConfig)(nil)).Elem() +func (GetGlobalDnsProviderCloudflareConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetGlobalDnsProviderCloudflareConfig)(nil)).Elem() } -func (o GetProjectLoggingCustomTargetConfigOutput) ToGetProjectLoggingCustomTargetConfigOutput() GetProjectLoggingCustomTargetConfigOutput { +func (o GetGlobalDnsProviderCloudflareConfigOutput) ToGetGlobalDnsProviderCloudflareConfigOutput() GetGlobalDnsProviderCloudflareConfigOutput { return o } -func (o GetProjectLoggingCustomTargetConfigOutput) ToGetProjectLoggingCustomTargetConfigOutputWithContext(ctx context.Context) GetProjectLoggingCustomTargetConfigOutput { +func (o GetGlobalDnsProviderCloudflareConfigOutput) ToGetGlobalDnsProviderCloudflareConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderCloudflareConfigOutput { return o } -func (o GetProjectLoggingCustomTargetConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingCustomTargetConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) -} - -func (o GetProjectLoggingCustomTargetConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingCustomTargetConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +func (o GetGlobalDnsProviderCloudflareConfigOutput) ApiEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetGlobalDnsProviderCloudflareConfig) string { return v.ApiEmail }).(pulumi.StringOutput) } -func (o GetProjectLoggingCustomTargetConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingCustomTargetConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +func (o GetGlobalDnsProviderCloudflareConfigOutput) ApiKey() pulumi.StringOutput { + return o.ApplyT(func(v GetGlobalDnsProviderCloudflareConfig) string { return v.ApiKey }).(pulumi.StringOutput) } -func (o GetProjectLoggingCustomTargetConfigOutput) Content() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectLoggingCustomTargetConfig) string { return v.Content }).(pulumi.StringOutput) +func (o GetGlobalDnsProviderCloudflareConfigOutput) ProxySetting() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetGlobalDnsProviderCloudflareConfig) *bool { return v.ProxySetting }).(pulumi.BoolPtrOutput) } -type GetProjectLoggingElasticsearchConfig struct { - AuthPassword *string `pulumi:"authPassword"` - AuthUsername *string `pulumi:"authUsername"` - Certificate *string `pulumi:"certificate"` - ClientCert *string `pulumi:"clientCert"` - ClientKey *string `pulumi:"clientKey"` - ClientKeyPass *string `pulumi:"clientKeyPass"` - DateFormat *string `pulumi:"dateFormat"` - Endpoint string `pulumi:"endpoint"` - IndexPrefix *string `pulumi:"indexPrefix"` - SslVerify bool `pulumi:"sslVerify"` - SslVersion *string `pulumi:"sslVersion"` +type GetGlobalDnsProviderRoute53Config struct { + AccessKey string `pulumi:"accessKey"` + CredentialsPath *string `pulumi:"credentialsPath"` + Region *string `pulumi:"region"` + RoleArn *string `pulumi:"roleArn"` + SecretKey string `pulumi:"secretKey"` + ZoneType *string `pulumi:"zoneType"` } -// GetProjectLoggingElasticsearchConfigInput is an input type that accepts GetProjectLoggingElasticsearchConfigArgs and GetProjectLoggingElasticsearchConfigOutput values. -// You can construct a concrete instance of `GetProjectLoggingElasticsearchConfigInput` via: +// GetGlobalDnsProviderRoute53ConfigInput is an input type that accepts GetGlobalDnsProviderRoute53ConfigArgs and GetGlobalDnsProviderRoute53ConfigOutput values. +// You can construct a concrete instance of `GetGlobalDnsProviderRoute53ConfigInput` via: // -// GetProjectLoggingElasticsearchConfigArgs{...} -type GetProjectLoggingElasticsearchConfigInput interface { +// GetGlobalDnsProviderRoute53ConfigArgs{...} +type GetGlobalDnsProviderRoute53ConfigInput interface { pulumi.Input - ToGetProjectLoggingElasticsearchConfigOutput() GetProjectLoggingElasticsearchConfigOutput - ToGetProjectLoggingElasticsearchConfigOutputWithContext(context.Context) GetProjectLoggingElasticsearchConfigOutput + ToGetGlobalDnsProviderRoute53ConfigOutput() GetGlobalDnsProviderRoute53ConfigOutput + ToGetGlobalDnsProviderRoute53ConfigOutputWithContext(context.Context) GetGlobalDnsProviderRoute53ConfigOutput } -type GetProjectLoggingElasticsearchConfigArgs struct { - AuthPassword pulumi.StringPtrInput `pulumi:"authPassword"` - AuthUsername pulumi.StringPtrInput `pulumi:"authUsername"` - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` - DateFormat pulumi.StringPtrInput `pulumi:"dateFormat"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - IndexPrefix pulumi.StringPtrInput `pulumi:"indexPrefix"` - SslVerify pulumi.BoolInput `pulumi:"sslVerify"` - SslVersion pulumi.StringPtrInput `pulumi:"sslVersion"` +type GetGlobalDnsProviderRoute53ConfigArgs struct { + AccessKey pulumi.StringInput `pulumi:"accessKey"` + CredentialsPath pulumi.StringPtrInput `pulumi:"credentialsPath"` + Region pulumi.StringPtrInput `pulumi:"region"` + RoleArn pulumi.StringPtrInput `pulumi:"roleArn"` + SecretKey pulumi.StringInput `pulumi:"secretKey"` + ZoneType pulumi.StringPtrInput `pulumi:"zoneType"` } -func (GetProjectLoggingElasticsearchConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingElasticsearchConfig)(nil)).Elem() +func (GetGlobalDnsProviderRoute53ConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetGlobalDnsProviderRoute53Config)(nil)).Elem() } -func (i GetProjectLoggingElasticsearchConfigArgs) ToGetProjectLoggingElasticsearchConfigOutput() GetProjectLoggingElasticsearchConfigOutput { - return i.ToGetProjectLoggingElasticsearchConfigOutputWithContext(context.Background()) +func (i GetGlobalDnsProviderRoute53ConfigArgs) ToGetGlobalDnsProviderRoute53ConfigOutput() GetGlobalDnsProviderRoute53ConfigOutput { + return i.ToGetGlobalDnsProviderRoute53ConfigOutputWithContext(context.Background()) } -func (i GetProjectLoggingElasticsearchConfigArgs) ToGetProjectLoggingElasticsearchConfigOutputWithContext(ctx context.Context) GetProjectLoggingElasticsearchConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingElasticsearchConfigOutput) +func (i GetGlobalDnsProviderRoute53ConfigArgs) ToGetGlobalDnsProviderRoute53ConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderRoute53ConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetGlobalDnsProviderRoute53ConfigOutput) } -type GetProjectLoggingElasticsearchConfigOutput struct{ *pulumi.OutputState } +type GetGlobalDnsProviderRoute53ConfigOutput struct{ *pulumi.OutputState } -func (GetProjectLoggingElasticsearchConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingElasticsearchConfig)(nil)).Elem() +func (GetGlobalDnsProviderRoute53ConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetGlobalDnsProviderRoute53Config)(nil)).Elem() } -func (o GetProjectLoggingElasticsearchConfigOutput) ToGetProjectLoggingElasticsearchConfigOutput() GetProjectLoggingElasticsearchConfigOutput { +func (o GetGlobalDnsProviderRoute53ConfigOutput) ToGetGlobalDnsProviderRoute53ConfigOutput() GetGlobalDnsProviderRoute53ConfigOutput { return o } -func (o GetProjectLoggingElasticsearchConfigOutput) ToGetProjectLoggingElasticsearchConfigOutputWithContext(ctx context.Context) GetProjectLoggingElasticsearchConfigOutput { +func (o GetGlobalDnsProviderRoute53ConfigOutput) ToGetGlobalDnsProviderRoute53ConfigOutputWithContext(ctx context.Context) GetGlobalDnsProviderRoute53ConfigOutput { return o } -func (o GetProjectLoggingElasticsearchConfigOutput) AuthPassword() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.AuthPassword }).(pulumi.StringPtrOutput) +func (o GetGlobalDnsProviderRoute53ConfigOutput) AccessKey() pulumi.StringOutput { + return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) string { return v.AccessKey }).(pulumi.StringOutput) } -func (o GetProjectLoggingElasticsearchConfigOutput) AuthUsername() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.AuthUsername }).(pulumi.StringPtrOutput) +func (o GetGlobalDnsProviderRoute53ConfigOutput) CredentialsPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) *string { return v.CredentialsPath }).(pulumi.StringPtrOutput) } -func (o GetProjectLoggingElasticsearchConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +func (o GetGlobalDnsProviderRoute53ConfigOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (o GetProjectLoggingElasticsearchConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +func (o GetGlobalDnsProviderRoute53ConfigOutput) RoleArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) *string { return v.RoleArn }).(pulumi.StringPtrOutput) } -func (o GetProjectLoggingElasticsearchConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +func (o GetGlobalDnsProviderRoute53ConfigOutput) SecretKey() pulumi.StringOutput { + return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) string { return v.SecretKey }).(pulumi.StringOutput) } -func (o GetProjectLoggingElasticsearchConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) +func (o GetGlobalDnsProviderRoute53ConfigOutput) ZoneType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetGlobalDnsProviderRoute53Config) *string { return v.ZoneType }).(pulumi.StringPtrOutput) } -func (o GetProjectLoggingElasticsearchConfigOutput) DateFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.DateFormat }).(pulumi.StringPtrOutput) +type GetGlobalRoleRule struct { + ApiGroups []string `pulumi:"apiGroups"` + NonResourceUrls []string `pulumi:"nonResourceUrls"` + ResourceNames []string `pulumi:"resourceNames"` + Resources []string `pulumi:"resources"` + Verbs []string `pulumi:"verbs"` } -func (o GetProjectLoggingElasticsearchConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) string { return v.Endpoint }).(pulumi.StringOutput) +// GetGlobalRoleRuleInput is an input type that accepts GetGlobalRoleRuleArgs and GetGlobalRoleRuleOutput values. +// You can construct a concrete instance of `GetGlobalRoleRuleInput` via: +// +// GetGlobalRoleRuleArgs{...} +type GetGlobalRoleRuleInput interface { + pulumi.Input + + ToGetGlobalRoleRuleOutput() GetGlobalRoleRuleOutput + ToGetGlobalRoleRuleOutputWithContext(context.Context) GetGlobalRoleRuleOutput } -func (o GetProjectLoggingElasticsearchConfigOutput) IndexPrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.IndexPrefix }).(pulumi.StringPtrOutput) +type GetGlobalRoleRuleArgs struct { + ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` + NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` + ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` + Resources pulumi.StringArrayInput `pulumi:"resources"` + Verbs pulumi.StringArrayInput `pulumi:"verbs"` } -func (o GetProjectLoggingElasticsearchConfigOutput) SslVerify() pulumi.BoolOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) +func (GetGlobalRoleRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetGlobalRoleRule)(nil)).Elem() } -func (o GetProjectLoggingElasticsearchConfigOutput) SslVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.SslVersion }).(pulumi.StringPtrOutput) +func (i GetGlobalRoleRuleArgs) ToGetGlobalRoleRuleOutput() GetGlobalRoleRuleOutput { + return i.ToGetGlobalRoleRuleOutputWithContext(context.Background()) } -type GetProjectLoggingFluentdConfig struct { - Certificate *string `pulumi:"certificate"` - Compress *bool `pulumi:"compress"` - EnableTls *bool `pulumi:"enableTls"` - FluentServers []GetProjectLoggingFluentdConfigFluentServer `pulumi:"fluentServers"` +func (i GetGlobalRoleRuleArgs) ToGetGlobalRoleRuleOutputWithContext(ctx context.Context) GetGlobalRoleRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetGlobalRoleRuleOutput) } -// GetProjectLoggingFluentdConfigInput is an input type that accepts GetProjectLoggingFluentdConfigArgs and GetProjectLoggingFluentdConfigOutput values. -// You can construct a concrete instance of `GetProjectLoggingFluentdConfigInput` via: +// GetGlobalRoleRuleArrayInput is an input type that accepts GetGlobalRoleRuleArray and GetGlobalRoleRuleArrayOutput values. +// You can construct a concrete instance of `GetGlobalRoleRuleArrayInput` via: // -// GetProjectLoggingFluentdConfigArgs{...} -type GetProjectLoggingFluentdConfigInput interface { +// GetGlobalRoleRuleArray{ GetGlobalRoleRuleArgs{...} } +type GetGlobalRoleRuleArrayInput interface { pulumi.Input - ToGetProjectLoggingFluentdConfigOutput() GetProjectLoggingFluentdConfigOutput - ToGetProjectLoggingFluentdConfigOutputWithContext(context.Context) GetProjectLoggingFluentdConfigOutput + ToGetGlobalRoleRuleArrayOutput() GetGlobalRoleRuleArrayOutput + ToGetGlobalRoleRuleArrayOutputWithContext(context.Context) GetGlobalRoleRuleArrayOutput } -type GetProjectLoggingFluentdConfigArgs struct { - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - Compress pulumi.BoolPtrInput `pulumi:"compress"` - EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` - FluentServers GetProjectLoggingFluentdConfigFluentServerArrayInput `pulumi:"fluentServers"` -} +type GetGlobalRoleRuleArray []GetGlobalRoleRuleInput -func (GetProjectLoggingFluentdConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingFluentdConfig)(nil)).Elem() +func (GetGlobalRoleRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetGlobalRoleRule)(nil)).Elem() } -func (i GetProjectLoggingFluentdConfigArgs) ToGetProjectLoggingFluentdConfigOutput() GetProjectLoggingFluentdConfigOutput { - return i.ToGetProjectLoggingFluentdConfigOutputWithContext(context.Background()) +func (i GetGlobalRoleRuleArray) ToGetGlobalRoleRuleArrayOutput() GetGlobalRoleRuleArrayOutput { + return i.ToGetGlobalRoleRuleArrayOutputWithContext(context.Background()) } -func (i GetProjectLoggingFluentdConfigArgs) ToGetProjectLoggingFluentdConfigOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingFluentdConfigOutput) +func (i GetGlobalRoleRuleArray) ToGetGlobalRoleRuleArrayOutputWithContext(ctx context.Context) GetGlobalRoleRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetGlobalRoleRuleArrayOutput) } -type GetProjectLoggingFluentdConfigOutput struct{ *pulumi.OutputState } +type GetGlobalRoleRuleOutput struct{ *pulumi.OutputState } -func (GetProjectLoggingFluentdConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingFluentdConfig)(nil)).Elem() +func (GetGlobalRoleRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetGlobalRoleRule)(nil)).Elem() } -func (o GetProjectLoggingFluentdConfigOutput) ToGetProjectLoggingFluentdConfigOutput() GetProjectLoggingFluentdConfigOutput { +func (o GetGlobalRoleRuleOutput) ToGetGlobalRoleRuleOutput() GetGlobalRoleRuleOutput { return o } -func (o GetProjectLoggingFluentdConfigOutput) ToGetProjectLoggingFluentdConfigOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigOutput { +func (o GetGlobalRoleRuleOutput) ToGetGlobalRoleRuleOutputWithContext(ctx context.Context) GetGlobalRoleRuleOutput { return o } -func (o GetProjectLoggingFluentdConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +func (o GetGlobalRoleRuleOutput) ApiGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetGlobalRoleRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) } -func (o GetProjectLoggingFluentdConfigOutput) Compress() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfig) *bool { return v.Compress }).(pulumi.BoolPtrOutput) +func (o GetGlobalRoleRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetGlobalRoleRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) } -func (o GetProjectLoggingFluentdConfigOutput) EnableTls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) +func (o GetGlobalRoleRuleOutput) ResourceNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetGlobalRoleRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) } -func (o GetProjectLoggingFluentdConfigOutput) FluentServers() GetProjectLoggingFluentdConfigFluentServerArrayOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfig) []GetProjectLoggingFluentdConfigFluentServer { - return v.FluentServers - }).(GetProjectLoggingFluentdConfigFluentServerArrayOutput) +func (o GetGlobalRoleRuleOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetGlobalRoleRule) []string { return v.Resources }).(pulumi.StringArrayOutput) } -type GetProjectLoggingFluentdConfigFluentServer struct { - Endpoint string `pulumi:"endpoint"` - Hostname *string `pulumi:"hostname"` - Password *string `pulumi:"password"` - SharedKey *string `pulumi:"sharedKey"` - Standby *bool `pulumi:"standby"` - Username *string `pulumi:"username"` - Weight *int `pulumi:"weight"` +func (o GetGlobalRoleRuleOutput) Verbs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetGlobalRoleRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) } -// GetProjectLoggingFluentdConfigFluentServerInput is an input type that accepts GetProjectLoggingFluentdConfigFluentServerArgs and GetProjectLoggingFluentdConfigFluentServerOutput values. -// You can construct a concrete instance of `GetProjectLoggingFluentdConfigFluentServerInput` via: -// -// GetProjectLoggingFluentdConfigFluentServerArgs{...} -type GetProjectLoggingFluentdConfigFluentServerInput interface { - pulumi.Input +type GetGlobalRoleRuleArrayOutput struct{ *pulumi.OutputState } - ToGetProjectLoggingFluentdConfigFluentServerOutput() GetProjectLoggingFluentdConfigFluentServerOutput - ToGetProjectLoggingFluentdConfigFluentServerOutputWithContext(context.Context) GetProjectLoggingFluentdConfigFluentServerOutput +func (GetGlobalRoleRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetGlobalRoleRule)(nil)).Elem() } -type GetProjectLoggingFluentdConfigFluentServerArgs struct { - Endpoint pulumi.StringInput `pulumi:"endpoint"` - Hostname pulumi.StringPtrInput `pulumi:"hostname"` - Password pulumi.StringPtrInput `pulumi:"password"` - SharedKey pulumi.StringPtrInput `pulumi:"sharedKey"` - Standby pulumi.BoolPtrInput `pulumi:"standby"` - Username pulumi.StringPtrInput `pulumi:"username"` - Weight pulumi.IntPtrInput `pulumi:"weight"` +func (o GetGlobalRoleRuleArrayOutput) ToGetGlobalRoleRuleArrayOutput() GetGlobalRoleRuleArrayOutput { + return o } -func (GetProjectLoggingFluentdConfigFluentServerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +func (o GetGlobalRoleRuleArrayOutput) ToGetGlobalRoleRuleArrayOutputWithContext(ctx context.Context) GetGlobalRoleRuleArrayOutput { + return o } -func (i GetProjectLoggingFluentdConfigFluentServerArgs) ToGetProjectLoggingFluentdConfigFluentServerOutput() GetProjectLoggingFluentdConfigFluentServerOutput { - return i.ToGetProjectLoggingFluentdConfigFluentServerOutputWithContext(context.Background()) +func (o GetGlobalRoleRuleArrayOutput) Index(i pulumi.IntInput) GetGlobalRoleRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetGlobalRoleRule { + return vs[0].([]GetGlobalRoleRule)[vs[1].(int)] + }).(GetGlobalRoleRuleOutput) } -func (i GetProjectLoggingFluentdConfigFluentServerArgs) ToGetProjectLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigFluentServerOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingFluentdConfigFluentServerOutput) +type GetMultiClusterAppAnswer struct { + ClusterId string `pulumi:"clusterId"` + ProjectId string `pulumi:"projectId"` + Values map[string]interface{} `pulumi:"values"` } -// GetProjectLoggingFluentdConfigFluentServerArrayInput is an input type that accepts GetProjectLoggingFluentdConfigFluentServerArray and GetProjectLoggingFluentdConfigFluentServerArrayOutput values. -// You can construct a concrete instance of `GetProjectLoggingFluentdConfigFluentServerArrayInput` via: +// GetMultiClusterAppAnswerInput is an input type that accepts GetMultiClusterAppAnswerArgs and GetMultiClusterAppAnswerOutput values. +// You can construct a concrete instance of `GetMultiClusterAppAnswerInput` via: // -// GetProjectLoggingFluentdConfigFluentServerArray{ GetProjectLoggingFluentdConfigFluentServerArgs{...} } -type GetProjectLoggingFluentdConfigFluentServerArrayInput interface { +// GetMultiClusterAppAnswerArgs{...} +type GetMultiClusterAppAnswerInput interface { pulumi.Input - ToGetProjectLoggingFluentdConfigFluentServerArrayOutput() GetProjectLoggingFluentdConfigFluentServerArrayOutput - ToGetProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Context) GetProjectLoggingFluentdConfigFluentServerArrayOutput -} - -type GetProjectLoggingFluentdConfigFluentServerArray []GetProjectLoggingFluentdConfigFluentServerInput - -func (GetProjectLoggingFluentdConfigFluentServerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetProjectLoggingFluentdConfigFluentServer)(nil)).Elem() -} - -func (i GetProjectLoggingFluentdConfigFluentServerArray) ToGetProjectLoggingFluentdConfigFluentServerArrayOutput() GetProjectLoggingFluentdConfigFluentServerArrayOutput { - return i.ToGetProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Background()) -} - -func (i GetProjectLoggingFluentdConfigFluentServerArray) ToGetProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigFluentServerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingFluentdConfigFluentServerArrayOutput) + ToGetMultiClusterAppAnswerOutput() GetMultiClusterAppAnswerOutput + ToGetMultiClusterAppAnswerOutputWithContext(context.Context) GetMultiClusterAppAnswerOutput } -type GetProjectLoggingFluentdConfigFluentServerOutput struct{ *pulumi.OutputState } - -func (GetProjectLoggingFluentdConfigFluentServerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +type GetMultiClusterAppAnswerArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + ProjectId pulumi.StringInput `pulumi:"projectId"` + Values pulumi.MapInput `pulumi:"values"` } -func (o GetProjectLoggingFluentdConfigFluentServerOutput) ToGetProjectLoggingFluentdConfigFluentServerOutput() GetProjectLoggingFluentdConfigFluentServerOutput { - return o +func (GetMultiClusterAppAnswerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMultiClusterAppAnswer)(nil)).Elem() } -func (o GetProjectLoggingFluentdConfigFluentServerOutput) ToGetProjectLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigFluentServerOutput { - return o +func (i GetMultiClusterAppAnswerArgs) ToGetMultiClusterAppAnswerOutput() GetMultiClusterAppAnswerOutput { + return i.ToGetMultiClusterAppAnswerOutputWithContext(context.Background()) } -func (o GetProjectLoggingFluentdConfigFluentServerOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) string { return v.Endpoint }).(pulumi.StringOutput) +func (i GetMultiClusterAppAnswerArgs) ToGetMultiClusterAppAnswerOutputWithContext(ctx context.Context) GetMultiClusterAppAnswerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppAnswerOutput) } -func (o GetProjectLoggingFluentdConfigFluentServerOutput) Hostname() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *string { return v.Hostname }).(pulumi.StringPtrOutput) -} +// GetMultiClusterAppAnswerArrayInput is an input type that accepts GetMultiClusterAppAnswerArray and GetMultiClusterAppAnswerArrayOutput values. +// You can construct a concrete instance of `GetMultiClusterAppAnswerArrayInput` via: +// +// GetMultiClusterAppAnswerArray{ GetMultiClusterAppAnswerArgs{...} } +type GetMultiClusterAppAnswerArrayInput interface { + pulumi.Input -func (o GetProjectLoggingFluentdConfigFluentServerOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *string { return v.Password }).(pulumi.StringPtrOutput) + ToGetMultiClusterAppAnswerArrayOutput() GetMultiClusterAppAnswerArrayOutput + ToGetMultiClusterAppAnswerArrayOutputWithContext(context.Context) GetMultiClusterAppAnswerArrayOutput } -func (o GetProjectLoggingFluentdConfigFluentServerOutput) SharedKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *string { return v.SharedKey }).(pulumi.StringPtrOutput) -} +type GetMultiClusterAppAnswerArray []GetMultiClusterAppAnswerInput -func (o GetProjectLoggingFluentdConfigFluentServerOutput) Standby() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *bool { return v.Standby }).(pulumi.BoolPtrOutput) +func (GetMultiClusterAppAnswerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMultiClusterAppAnswer)(nil)).Elem() } -func (o GetProjectLoggingFluentdConfigFluentServerOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *string { return v.Username }).(pulumi.StringPtrOutput) +func (i GetMultiClusterAppAnswerArray) ToGetMultiClusterAppAnswerArrayOutput() GetMultiClusterAppAnswerArrayOutput { + return i.ToGetMultiClusterAppAnswerArrayOutputWithContext(context.Background()) } -func (o GetProjectLoggingFluentdConfigFluentServerOutput) Weight() pulumi.IntPtrOutput { - return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *int { return v.Weight }).(pulumi.IntPtrOutput) +func (i GetMultiClusterAppAnswerArray) ToGetMultiClusterAppAnswerArrayOutputWithContext(ctx context.Context) GetMultiClusterAppAnswerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppAnswerArrayOutput) } -type GetProjectLoggingFluentdConfigFluentServerArrayOutput struct{ *pulumi.OutputState } +type GetMultiClusterAppAnswerOutput struct{ *pulumi.OutputState } -func (GetProjectLoggingFluentdConfigFluentServerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +func (GetMultiClusterAppAnswerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMultiClusterAppAnswer)(nil)).Elem() } -func (o GetProjectLoggingFluentdConfigFluentServerArrayOutput) ToGetProjectLoggingFluentdConfigFluentServerArrayOutput() GetProjectLoggingFluentdConfigFluentServerArrayOutput { +func (o GetMultiClusterAppAnswerOutput) ToGetMultiClusterAppAnswerOutput() GetMultiClusterAppAnswerOutput { return o } -func (o GetProjectLoggingFluentdConfigFluentServerArrayOutput) ToGetProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigFluentServerArrayOutput { +func (o GetMultiClusterAppAnswerOutput) ToGetMultiClusterAppAnswerOutputWithContext(ctx context.Context) GetMultiClusterAppAnswerOutput { return o } -func (o GetProjectLoggingFluentdConfigFluentServerArrayOutput) Index(i pulumi.IntInput) GetProjectLoggingFluentdConfigFluentServerOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetProjectLoggingFluentdConfigFluentServer { - return vs[0].([]GetProjectLoggingFluentdConfigFluentServer)[vs[1].(int)] - }).(GetProjectLoggingFluentdConfigFluentServerOutput) -} - -type GetProjectLoggingKafkaConfig struct { - BrokerEndpoints []string `pulumi:"brokerEndpoints"` - Certificate *string `pulumi:"certificate"` - ClientCert *string `pulumi:"clientCert"` - ClientKey *string `pulumi:"clientKey"` - Topic string `pulumi:"topic"` - ZookeeperEndpoint *string `pulumi:"zookeeperEndpoint"` -} - -// GetProjectLoggingKafkaConfigInput is an input type that accepts GetProjectLoggingKafkaConfigArgs and GetProjectLoggingKafkaConfigOutput values. -// You can construct a concrete instance of `GetProjectLoggingKafkaConfigInput` via: -// -// GetProjectLoggingKafkaConfigArgs{...} -type GetProjectLoggingKafkaConfigInput interface { - pulumi.Input - - ToGetProjectLoggingKafkaConfigOutput() GetProjectLoggingKafkaConfigOutput - ToGetProjectLoggingKafkaConfigOutputWithContext(context.Context) GetProjectLoggingKafkaConfigOutput -} - -type GetProjectLoggingKafkaConfigArgs struct { - BrokerEndpoints pulumi.StringArrayInput `pulumi:"brokerEndpoints"` - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - Topic pulumi.StringInput `pulumi:"topic"` - ZookeeperEndpoint pulumi.StringPtrInput `pulumi:"zookeeperEndpoint"` -} - -func (GetProjectLoggingKafkaConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingKafkaConfig)(nil)).Elem() +func (o GetMultiClusterAppAnswerOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetMultiClusterAppAnswer) string { return v.ClusterId }).(pulumi.StringOutput) } -func (i GetProjectLoggingKafkaConfigArgs) ToGetProjectLoggingKafkaConfigOutput() GetProjectLoggingKafkaConfigOutput { - return i.ToGetProjectLoggingKafkaConfigOutputWithContext(context.Background()) +func (o GetMultiClusterAppAnswerOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetMultiClusterAppAnswer) string { return v.ProjectId }).(pulumi.StringOutput) } -func (i GetProjectLoggingKafkaConfigArgs) ToGetProjectLoggingKafkaConfigOutputWithContext(ctx context.Context) GetProjectLoggingKafkaConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingKafkaConfigOutput) +func (o GetMultiClusterAppAnswerOutput) Values() pulumi.MapOutput { + return o.ApplyT(func(v GetMultiClusterAppAnswer) map[string]interface{} { return v.Values }).(pulumi.MapOutput) } -type GetProjectLoggingKafkaConfigOutput struct{ *pulumi.OutputState } +type GetMultiClusterAppAnswerArrayOutput struct{ *pulumi.OutputState } -func (GetProjectLoggingKafkaConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingKafkaConfig)(nil)).Elem() +func (GetMultiClusterAppAnswerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMultiClusterAppAnswer)(nil)).Elem() } -func (o GetProjectLoggingKafkaConfigOutput) ToGetProjectLoggingKafkaConfigOutput() GetProjectLoggingKafkaConfigOutput { +func (o GetMultiClusterAppAnswerArrayOutput) ToGetMultiClusterAppAnswerArrayOutput() GetMultiClusterAppAnswerArrayOutput { return o } -func (o GetProjectLoggingKafkaConfigOutput) ToGetProjectLoggingKafkaConfigOutputWithContext(ctx context.Context) GetProjectLoggingKafkaConfigOutput { +func (o GetMultiClusterAppAnswerArrayOutput) ToGetMultiClusterAppAnswerArrayOutputWithContext(ctx context.Context) GetMultiClusterAppAnswerArrayOutput { return o } -func (o GetProjectLoggingKafkaConfigOutput) BrokerEndpoints() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetProjectLoggingKafkaConfig) []string { return v.BrokerEndpoints }).(pulumi.StringArrayOutput) +func (o GetMultiClusterAppAnswerArrayOutput) Index(i pulumi.IntInput) GetMultiClusterAppAnswerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMultiClusterAppAnswer { + return vs[0].([]GetMultiClusterAppAnswer)[vs[1].(int)] + }).(GetMultiClusterAppAnswerOutput) } -func (o GetProjectLoggingKafkaConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingKafkaConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +type GetMultiClusterAppMember struct { + AccessType *string `pulumi:"accessType"` + GroupPrincipalId *string `pulumi:"groupPrincipalId"` + UserPrincipalId *string `pulumi:"userPrincipalId"` } -func (o GetProjectLoggingKafkaConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingKafkaConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +// GetMultiClusterAppMemberInput is an input type that accepts GetMultiClusterAppMemberArgs and GetMultiClusterAppMemberOutput values. +// You can construct a concrete instance of `GetMultiClusterAppMemberInput` via: +// +// GetMultiClusterAppMemberArgs{...} +type GetMultiClusterAppMemberInput interface { + pulumi.Input + + ToGetMultiClusterAppMemberOutput() GetMultiClusterAppMemberOutput + ToGetMultiClusterAppMemberOutputWithContext(context.Context) GetMultiClusterAppMemberOutput } -func (o GetProjectLoggingKafkaConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingKafkaConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +type GetMultiClusterAppMemberArgs struct { + AccessType pulumi.StringPtrInput `pulumi:"accessType"` + GroupPrincipalId pulumi.StringPtrInput `pulumi:"groupPrincipalId"` + UserPrincipalId pulumi.StringPtrInput `pulumi:"userPrincipalId"` } -func (o GetProjectLoggingKafkaConfigOutput) Topic() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectLoggingKafkaConfig) string { return v.Topic }).(pulumi.StringOutput) +func (GetMultiClusterAppMemberArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMultiClusterAppMember)(nil)).Elem() } -func (o GetProjectLoggingKafkaConfigOutput) ZookeeperEndpoint() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingKafkaConfig) *string { return v.ZookeeperEndpoint }).(pulumi.StringPtrOutput) +func (i GetMultiClusterAppMemberArgs) ToGetMultiClusterAppMemberOutput() GetMultiClusterAppMemberOutput { + return i.ToGetMultiClusterAppMemberOutputWithContext(context.Background()) } -type GetProjectLoggingSplunkConfig struct { - Certificate *string `pulumi:"certificate"` - ClientCert *string `pulumi:"clientCert"` - ClientKey *string `pulumi:"clientKey"` - ClientKeyPass *string `pulumi:"clientKeyPass"` - Endpoint string `pulumi:"endpoint"` - Index *string `pulumi:"index"` - Source *string `pulumi:"source"` - SslVerify bool `pulumi:"sslVerify"` - Token string `pulumi:"token"` +func (i GetMultiClusterAppMemberArgs) ToGetMultiClusterAppMemberOutputWithContext(ctx context.Context) GetMultiClusterAppMemberOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppMemberOutput) } -// GetProjectLoggingSplunkConfigInput is an input type that accepts GetProjectLoggingSplunkConfigArgs and GetProjectLoggingSplunkConfigOutput values. -// You can construct a concrete instance of `GetProjectLoggingSplunkConfigInput` via: +// GetMultiClusterAppMemberArrayInput is an input type that accepts GetMultiClusterAppMemberArray and GetMultiClusterAppMemberArrayOutput values. +// You can construct a concrete instance of `GetMultiClusterAppMemberArrayInput` via: // -// GetProjectLoggingSplunkConfigArgs{...} -type GetProjectLoggingSplunkConfigInput interface { +// GetMultiClusterAppMemberArray{ GetMultiClusterAppMemberArgs{...} } +type GetMultiClusterAppMemberArrayInput interface { pulumi.Input - ToGetProjectLoggingSplunkConfigOutput() GetProjectLoggingSplunkConfigOutput - ToGetProjectLoggingSplunkConfigOutputWithContext(context.Context) GetProjectLoggingSplunkConfigOutput + ToGetMultiClusterAppMemberArrayOutput() GetMultiClusterAppMemberArrayOutput + ToGetMultiClusterAppMemberArrayOutputWithContext(context.Context) GetMultiClusterAppMemberArrayOutput } -type GetProjectLoggingSplunkConfigArgs struct { - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - Index pulumi.StringPtrInput `pulumi:"index"` - Source pulumi.StringPtrInput `pulumi:"source"` - SslVerify pulumi.BoolInput `pulumi:"sslVerify"` - Token pulumi.StringInput `pulumi:"token"` -} +type GetMultiClusterAppMemberArray []GetMultiClusterAppMemberInput -func (GetProjectLoggingSplunkConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingSplunkConfig)(nil)).Elem() +func (GetMultiClusterAppMemberArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMultiClusterAppMember)(nil)).Elem() } -func (i GetProjectLoggingSplunkConfigArgs) ToGetProjectLoggingSplunkConfigOutput() GetProjectLoggingSplunkConfigOutput { - return i.ToGetProjectLoggingSplunkConfigOutputWithContext(context.Background()) +func (i GetMultiClusterAppMemberArray) ToGetMultiClusterAppMemberArrayOutput() GetMultiClusterAppMemberArrayOutput { + return i.ToGetMultiClusterAppMemberArrayOutputWithContext(context.Background()) } -func (i GetProjectLoggingSplunkConfigArgs) ToGetProjectLoggingSplunkConfigOutputWithContext(ctx context.Context) GetProjectLoggingSplunkConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingSplunkConfigOutput) +func (i GetMultiClusterAppMemberArray) ToGetMultiClusterAppMemberArrayOutputWithContext(ctx context.Context) GetMultiClusterAppMemberArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppMemberArrayOutput) } -type GetProjectLoggingSplunkConfigOutput struct{ *pulumi.OutputState } +type GetMultiClusterAppMemberOutput struct{ *pulumi.OutputState } -func (GetProjectLoggingSplunkConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingSplunkConfig)(nil)).Elem() +func (GetMultiClusterAppMemberOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMultiClusterAppMember)(nil)).Elem() } -func (o GetProjectLoggingSplunkConfigOutput) ToGetProjectLoggingSplunkConfigOutput() GetProjectLoggingSplunkConfigOutput { +func (o GetMultiClusterAppMemberOutput) ToGetMultiClusterAppMemberOutput() GetMultiClusterAppMemberOutput { return o } -func (o GetProjectLoggingSplunkConfigOutput) ToGetProjectLoggingSplunkConfigOutputWithContext(ctx context.Context) GetProjectLoggingSplunkConfigOutput { +func (o GetMultiClusterAppMemberOutput) ToGetMultiClusterAppMemberOutputWithContext(ctx context.Context) GetMultiClusterAppMemberOutput { return o } -func (o GetProjectLoggingSplunkConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) -} - -func (o GetProjectLoggingSplunkConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppMemberOutput) AccessType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMultiClusterAppMember) *string { return v.AccessType }).(pulumi.StringPtrOutput) } -func (o GetProjectLoggingSplunkConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppMemberOutput) GroupPrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMultiClusterAppMember) *string { return v.GroupPrincipalId }).(pulumi.StringPtrOutput) } -func (o GetProjectLoggingSplunkConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppMemberOutput) UserPrincipalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMultiClusterAppMember) *string { return v.UserPrincipalId }).(pulumi.StringPtrOutput) } -func (o GetProjectLoggingSplunkConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectLoggingSplunkConfig) string { return v.Endpoint }).(pulumi.StringOutput) -} +type GetMultiClusterAppMemberArrayOutput struct{ *pulumi.OutputState } -func (o GetProjectLoggingSplunkConfigOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.Index }).(pulumi.StringPtrOutput) +func (GetMultiClusterAppMemberArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMultiClusterAppMember)(nil)).Elem() } -func (o GetProjectLoggingSplunkConfigOutput) Source() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.Source }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppMemberArrayOutput) ToGetMultiClusterAppMemberArrayOutput() GetMultiClusterAppMemberArrayOutput { + return o } -func (o GetProjectLoggingSplunkConfigOutput) SslVerify() pulumi.BoolOutput { - return o.ApplyT(func(v GetProjectLoggingSplunkConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) +func (o GetMultiClusterAppMemberArrayOutput) ToGetMultiClusterAppMemberArrayOutputWithContext(ctx context.Context) GetMultiClusterAppMemberArrayOutput { + return o } -func (o GetProjectLoggingSplunkConfigOutput) Token() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectLoggingSplunkConfig) string { return v.Token }).(pulumi.StringOutput) +func (o GetMultiClusterAppMemberArrayOutput) Index(i pulumi.IntInput) GetMultiClusterAppMemberOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMultiClusterAppMember { + return vs[0].([]GetMultiClusterAppMember)[vs[1].(int)] + }).(GetMultiClusterAppMemberOutput) } -type GetProjectLoggingSyslogConfig struct { - Certificate *string `pulumi:"certificate"` - ClientCert *string `pulumi:"clientCert"` - ClientKey *string `pulumi:"clientKey"` - EnableTls *bool `pulumi:"enableTls"` - Endpoint string `pulumi:"endpoint"` - Program *string `pulumi:"program"` - Protocol *string `pulumi:"protocol"` - Severity *string `pulumi:"severity"` - SslVerify bool `pulumi:"sslVerify"` - Token *string `pulumi:"token"` +type GetMultiClusterAppTarget struct { + AppId string `pulumi:"appId"` + HealthState string `pulumi:"healthState"` + ProjectId string `pulumi:"projectId"` + State string `pulumi:"state"` } -// GetProjectLoggingSyslogConfigInput is an input type that accepts GetProjectLoggingSyslogConfigArgs and GetProjectLoggingSyslogConfigOutput values. -// You can construct a concrete instance of `GetProjectLoggingSyslogConfigInput` via: +// GetMultiClusterAppTargetInput is an input type that accepts GetMultiClusterAppTargetArgs and GetMultiClusterAppTargetOutput values. +// You can construct a concrete instance of `GetMultiClusterAppTargetInput` via: // -// GetProjectLoggingSyslogConfigArgs{...} -type GetProjectLoggingSyslogConfigInput interface { +// GetMultiClusterAppTargetArgs{...} +type GetMultiClusterAppTargetInput interface { pulumi.Input - ToGetProjectLoggingSyslogConfigOutput() GetProjectLoggingSyslogConfigOutput - ToGetProjectLoggingSyslogConfigOutputWithContext(context.Context) GetProjectLoggingSyslogConfigOutput + ToGetMultiClusterAppTargetOutput() GetMultiClusterAppTargetOutput + ToGetMultiClusterAppTargetOutputWithContext(context.Context) GetMultiClusterAppTargetOutput } -type GetProjectLoggingSyslogConfigArgs struct { - Certificate pulumi.StringPtrInput `pulumi:"certificate"` - ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` - EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` - Endpoint pulumi.StringInput `pulumi:"endpoint"` - Program pulumi.StringPtrInput `pulumi:"program"` - Protocol pulumi.StringPtrInput `pulumi:"protocol"` - Severity pulumi.StringPtrInput `pulumi:"severity"` - SslVerify pulumi.BoolInput `pulumi:"sslVerify"` - Token pulumi.StringPtrInput `pulumi:"token"` +type GetMultiClusterAppTargetArgs struct { + AppId pulumi.StringInput `pulumi:"appId"` + HealthState pulumi.StringInput `pulumi:"healthState"` + ProjectId pulumi.StringInput `pulumi:"projectId"` + State pulumi.StringInput `pulumi:"state"` } -func (GetProjectLoggingSyslogConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingSyslogConfig)(nil)).Elem() +func (GetMultiClusterAppTargetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMultiClusterAppTarget)(nil)).Elem() } -func (i GetProjectLoggingSyslogConfigArgs) ToGetProjectLoggingSyslogConfigOutput() GetProjectLoggingSyslogConfigOutput { - return i.ToGetProjectLoggingSyslogConfigOutputWithContext(context.Background()) +func (i GetMultiClusterAppTargetArgs) ToGetMultiClusterAppTargetOutput() GetMultiClusterAppTargetOutput { + return i.ToGetMultiClusterAppTargetOutputWithContext(context.Background()) } -func (i GetProjectLoggingSyslogConfigArgs) ToGetProjectLoggingSyslogConfigOutputWithContext(ctx context.Context) GetProjectLoggingSyslogConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingSyslogConfigOutput) +func (i GetMultiClusterAppTargetArgs) ToGetMultiClusterAppTargetOutputWithContext(ctx context.Context) GetMultiClusterAppTargetOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppTargetOutput) } -type GetProjectLoggingSyslogConfigOutput struct{ *pulumi.OutputState } - -func (GetProjectLoggingSyslogConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectLoggingSyslogConfig)(nil)).Elem() -} +// GetMultiClusterAppTargetArrayInput is an input type that accepts GetMultiClusterAppTargetArray and GetMultiClusterAppTargetArrayOutput values. +// You can construct a concrete instance of `GetMultiClusterAppTargetArrayInput` via: +// +// GetMultiClusterAppTargetArray{ GetMultiClusterAppTargetArgs{...} } +type GetMultiClusterAppTargetArrayInput interface { + pulumi.Input -func (o GetProjectLoggingSyslogConfigOutput) ToGetProjectLoggingSyslogConfigOutput() GetProjectLoggingSyslogConfigOutput { - return o + ToGetMultiClusterAppTargetArrayOutput() GetMultiClusterAppTargetArrayOutput + ToGetMultiClusterAppTargetArrayOutputWithContext(context.Context) GetMultiClusterAppTargetArrayOutput } -func (o GetProjectLoggingSyslogConfigOutput) ToGetProjectLoggingSyslogConfigOutputWithContext(ctx context.Context) GetProjectLoggingSyslogConfigOutput { - return o -} +type GetMultiClusterAppTargetArray []GetMultiClusterAppTargetInput -func (o GetProjectLoggingSyslogConfigOutput) Certificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +func (GetMultiClusterAppTargetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMultiClusterAppTarget)(nil)).Elem() } -func (o GetProjectLoggingSyslogConfigOutput) ClientCert() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +func (i GetMultiClusterAppTargetArray) ToGetMultiClusterAppTargetArrayOutput() GetMultiClusterAppTargetArrayOutput { + return i.ToGetMultiClusterAppTargetArrayOutputWithContext(context.Background()) } -func (o GetProjectLoggingSyslogConfigOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +func (i GetMultiClusterAppTargetArray) ToGetMultiClusterAppTargetArrayOutputWithContext(ctx context.Context) GetMultiClusterAppTargetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppTargetArrayOutput) } -func (o GetProjectLoggingSyslogConfigOutput) EnableTls() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) -} +type GetMultiClusterAppTargetOutput struct{ *pulumi.OutputState } -func (o GetProjectLoggingSyslogConfigOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetProjectLoggingSyslogConfig) string { return v.Endpoint }).(pulumi.StringOutput) +func (GetMultiClusterAppTargetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMultiClusterAppTarget)(nil)).Elem() } -func (o GetProjectLoggingSyslogConfigOutput) Program() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.Program }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppTargetOutput) ToGetMultiClusterAppTargetOutput() GetMultiClusterAppTargetOutput { + return o } -func (o GetProjectLoggingSyslogConfigOutput) Protocol() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.Protocol }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppTargetOutput) ToGetMultiClusterAppTargetOutputWithContext(ctx context.Context) GetMultiClusterAppTargetOutput { + return o } -func (o GetProjectLoggingSyslogConfigOutput) Severity() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.Severity }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppTargetOutput) AppId() pulumi.StringOutput { + return o.ApplyT(func(v GetMultiClusterAppTarget) string { return v.AppId }).(pulumi.StringOutput) } -func (o GetProjectLoggingSyslogConfigOutput) SslVerify() pulumi.BoolOutput { - return o.ApplyT(func(v GetProjectLoggingSyslogConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) +func (o GetMultiClusterAppTargetOutput) HealthState() pulumi.StringOutput { + return o.ApplyT(func(v GetMultiClusterAppTarget) string { return v.HealthState }).(pulumi.StringOutput) } -func (o GetProjectLoggingSyslogConfigOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.Token }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppTargetOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetMultiClusterAppTarget) string { return v.ProjectId }).(pulumi.StringOutput) } -type GetProjectResourceQuota struct { - NamespaceDefaultLimit GetProjectResourceQuotaNamespaceDefaultLimit `pulumi:"namespaceDefaultLimit"` - ProjectLimit GetProjectResourceQuotaProjectLimit `pulumi:"projectLimit"` +func (o GetMultiClusterAppTargetOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMultiClusterAppTarget) string { return v.State }).(pulumi.StringOutput) } -// GetProjectResourceQuotaInput is an input type that accepts GetProjectResourceQuotaArgs and GetProjectResourceQuotaOutput values. -// You can construct a concrete instance of `GetProjectResourceQuotaInput` via: -// -// GetProjectResourceQuotaArgs{...} -type GetProjectResourceQuotaInput interface { - pulumi.Input +type GetMultiClusterAppTargetArrayOutput struct{ *pulumi.OutputState } - ToGetProjectResourceQuotaOutput() GetProjectResourceQuotaOutput - ToGetProjectResourceQuotaOutputWithContext(context.Context) GetProjectResourceQuotaOutput +func (GetMultiClusterAppTargetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMultiClusterAppTarget)(nil)).Elem() } -type GetProjectResourceQuotaArgs struct { - NamespaceDefaultLimit GetProjectResourceQuotaNamespaceDefaultLimitInput `pulumi:"namespaceDefaultLimit"` - ProjectLimit GetProjectResourceQuotaProjectLimitInput `pulumi:"projectLimit"` +func (o GetMultiClusterAppTargetArrayOutput) ToGetMultiClusterAppTargetArrayOutput() GetMultiClusterAppTargetArrayOutput { + return o } -func (GetProjectResourceQuotaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectResourceQuota)(nil)).Elem() +func (o GetMultiClusterAppTargetArrayOutput) ToGetMultiClusterAppTargetArrayOutputWithContext(ctx context.Context) GetMultiClusterAppTargetArrayOutput { + return o } -func (i GetProjectResourceQuotaArgs) ToGetProjectResourceQuotaOutput() GetProjectResourceQuotaOutput { - return i.ToGetProjectResourceQuotaOutputWithContext(context.Background()) +func (o GetMultiClusterAppTargetArrayOutput) Index(i pulumi.IntInput) GetMultiClusterAppTargetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMultiClusterAppTarget { + return vs[0].([]GetMultiClusterAppTarget)[vs[1].(int)] + }).(GetMultiClusterAppTargetOutput) } -func (i GetProjectResourceQuotaArgs) ToGetProjectResourceQuotaOutputWithContext(ctx context.Context) GetProjectResourceQuotaOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectResourceQuotaOutput) +type GetMultiClusterAppUpgradeStrategy struct { + RollingUpdate *GetMultiClusterAppUpgradeStrategyRollingUpdate `pulumi:"rollingUpdate"` } -type GetProjectResourceQuotaOutput struct{ *pulumi.OutputState } - -func (GetProjectResourceQuotaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectResourceQuota)(nil)).Elem() -} +// GetMultiClusterAppUpgradeStrategyInput is an input type that accepts GetMultiClusterAppUpgradeStrategyArgs and GetMultiClusterAppUpgradeStrategyOutput values. +// You can construct a concrete instance of `GetMultiClusterAppUpgradeStrategyInput` via: +// +// GetMultiClusterAppUpgradeStrategyArgs{...} +type GetMultiClusterAppUpgradeStrategyInput interface { + pulumi.Input -func (o GetProjectResourceQuotaOutput) ToGetProjectResourceQuotaOutput() GetProjectResourceQuotaOutput { - return o + ToGetMultiClusterAppUpgradeStrategyOutput() GetMultiClusterAppUpgradeStrategyOutput + ToGetMultiClusterAppUpgradeStrategyOutputWithContext(context.Context) GetMultiClusterAppUpgradeStrategyOutput } -func (o GetProjectResourceQuotaOutput) ToGetProjectResourceQuotaOutputWithContext(ctx context.Context) GetProjectResourceQuotaOutput { - return o +type GetMultiClusterAppUpgradeStrategyArgs struct { + RollingUpdate GetMultiClusterAppUpgradeStrategyRollingUpdatePtrInput `pulumi:"rollingUpdate"` } -func (o GetProjectResourceQuotaOutput) NamespaceDefaultLimit() GetProjectResourceQuotaNamespaceDefaultLimitOutput { - return o.ApplyT(func(v GetProjectResourceQuota) GetProjectResourceQuotaNamespaceDefaultLimit { - return v.NamespaceDefaultLimit - }).(GetProjectResourceQuotaNamespaceDefaultLimitOutput) +func (GetMultiClusterAppUpgradeStrategyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMultiClusterAppUpgradeStrategy)(nil)).Elem() } -func (o GetProjectResourceQuotaOutput) ProjectLimit() GetProjectResourceQuotaProjectLimitOutput { - return o.ApplyT(func(v GetProjectResourceQuota) GetProjectResourceQuotaProjectLimit { return v.ProjectLimit }).(GetProjectResourceQuotaProjectLimitOutput) +func (i GetMultiClusterAppUpgradeStrategyArgs) ToGetMultiClusterAppUpgradeStrategyOutput() GetMultiClusterAppUpgradeStrategyOutput { + return i.ToGetMultiClusterAppUpgradeStrategyOutputWithContext(context.Background()) } -type GetProjectResourceQuotaNamespaceDefaultLimit struct { - ConfigMaps *string `pulumi:"configMaps"` - LimitsCpu *string `pulumi:"limitsCpu"` - LimitsMemory *string `pulumi:"limitsMemory"` - PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` - Pods *string `pulumi:"pods"` - ReplicationControllers *string `pulumi:"replicationControllers"` - RequestsCpu *string `pulumi:"requestsCpu"` - RequestsMemory *string `pulumi:"requestsMemory"` - RequestsStorage *string `pulumi:"requestsStorage"` - Secrets *string `pulumi:"secrets"` - Services *string `pulumi:"services"` - ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` - ServicesNodePorts *string `pulumi:"servicesNodePorts"` +func (i GetMultiClusterAppUpgradeStrategyArgs) ToGetMultiClusterAppUpgradeStrategyOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppUpgradeStrategyOutput) } -// GetProjectResourceQuotaNamespaceDefaultLimitInput is an input type that accepts GetProjectResourceQuotaNamespaceDefaultLimitArgs and GetProjectResourceQuotaNamespaceDefaultLimitOutput values. -// You can construct a concrete instance of `GetProjectResourceQuotaNamespaceDefaultLimitInput` via: +// GetMultiClusterAppUpgradeStrategyArrayInput is an input type that accepts GetMultiClusterAppUpgradeStrategyArray and GetMultiClusterAppUpgradeStrategyArrayOutput values. +// You can construct a concrete instance of `GetMultiClusterAppUpgradeStrategyArrayInput` via: // -// GetProjectResourceQuotaNamespaceDefaultLimitArgs{...} -type GetProjectResourceQuotaNamespaceDefaultLimitInput interface { +// GetMultiClusterAppUpgradeStrategyArray{ GetMultiClusterAppUpgradeStrategyArgs{...} } +type GetMultiClusterAppUpgradeStrategyArrayInput interface { pulumi.Input - ToGetProjectResourceQuotaNamespaceDefaultLimitOutput() GetProjectResourceQuotaNamespaceDefaultLimitOutput - ToGetProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(context.Context) GetProjectResourceQuotaNamespaceDefaultLimitOutput + ToGetMultiClusterAppUpgradeStrategyArrayOutput() GetMultiClusterAppUpgradeStrategyArrayOutput + ToGetMultiClusterAppUpgradeStrategyArrayOutputWithContext(context.Context) GetMultiClusterAppUpgradeStrategyArrayOutput } -type GetProjectResourceQuotaNamespaceDefaultLimitArgs struct { - ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` - LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` - LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` - PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` - Pods pulumi.StringPtrInput `pulumi:"pods"` - ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` - RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` - RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` - RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` - Secrets pulumi.StringPtrInput `pulumi:"secrets"` - Services pulumi.StringPtrInput `pulumi:"services"` - ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` - ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` -} +type GetMultiClusterAppUpgradeStrategyArray []GetMultiClusterAppUpgradeStrategyInput -func (GetProjectResourceQuotaNamespaceDefaultLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() +func (GetMultiClusterAppUpgradeStrategyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMultiClusterAppUpgradeStrategy)(nil)).Elem() } -func (i GetProjectResourceQuotaNamespaceDefaultLimitArgs) ToGetProjectResourceQuotaNamespaceDefaultLimitOutput() GetProjectResourceQuotaNamespaceDefaultLimitOutput { - return i.ToGetProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(context.Background()) +func (i GetMultiClusterAppUpgradeStrategyArray) ToGetMultiClusterAppUpgradeStrategyArrayOutput() GetMultiClusterAppUpgradeStrategyArrayOutput { + return i.ToGetMultiClusterAppUpgradeStrategyArrayOutputWithContext(context.Background()) } -func (i GetProjectResourceQuotaNamespaceDefaultLimitArgs) ToGetProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(ctx context.Context) GetProjectResourceQuotaNamespaceDefaultLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectResourceQuotaNamespaceDefaultLimitOutput) +func (i GetMultiClusterAppUpgradeStrategyArray) ToGetMultiClusterAppUpgradeStrategyArrayOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppUpgradeStrategyArrayOutput) } -type GetProjectResourceQuotaNamespaceDefaultLimitOutput struct{ *pulumi.OutputState } +type GetMultiClusterAppUpgradeStrategyOutput struct{ *pulumi.OutputState } -func (GetProjectResourceQuotaNamespaceDefaultLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() +func (GetMultiClusterAppUpgradeStrategyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMultiClusterAppUpgradeStrategy)(nil)).Elem() } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ToGetProjectResourceQuotaNamespaceDefaultLimitOutput() GetProjectResourceQuotaNamespaceDefaultLimitOutput { +func (o GetMultiClusterAppUpgradeStrategyOutput) ToGetMultiClusterAppUpgradeStrategyOutput() GetMultiClusterAppUpgradeStrategyOutput { return o } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ToGetProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(ctx context.Context) GetProjectResourceQuotaNamespaceDefaultLimitOutput { +func (o GetMultiClusterAppUpgradeStrategyOutput) ToGetMultiClusterAppUpgradeStrategyOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyOutput { return o } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ConfigMaps() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyOutput) RollingUpdate() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o.ApplyT(func(v GetMultiClusterAppUpgradeStrategy) *GetMultiClusterAppUpgradeStrategyRollingUpdate { + return v.RollingUpdate + }).(GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) -} +type GetMultiClusterAppUpgradeStrategyArrayOutput struct{ *pulumi.OutputState } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) +func (GetMultiClusterAppUpgradeStrategyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMultiClusterAppUpgradeStrategy)(nil)).Elem() } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyArrayOutput) ToGetMultiClusterAppUpgradeStrategyArrayOutput() GetMultiClusterAppUpgradeStrategyArrayOutput { + return o } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) Pods() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyArrayOutput) ToGetMultiClusterAppUpgradeStrategyArrayOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyArrayOutput { + return o } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyArrayOutput) Index(i pulumi.IntInput) GetMultiClusterAppUpgradeStrategyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMultiClusterAppUpgradeStrategy { + return vs[0].([]GetMultiClusterAppUpgradeStrategy)[vs[1].(int)] + }).(GetMultiClusterAppUpgradeStrategyOutput) } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +type GetMultiClusterAppUpgradeStrategyRollingUpdate struct { + BatchSize *int `pulumi:"batchSize"` + Interval *int `pulumi:"interval"` } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +// GetMultiClusterAppUpgradeStrategyRollingUpdateInput is an input type that accepts GetMultiClusterAppUpgradeStrategyRollingUpdateArgs and GetMultiClusterAppUpgradeStrategyRollingUpdateOutput values. +// You can construct a concrete instance of `GetMultiClusterAppUpgradeStrategyRollingUpdateInput` via: +// +// GetMultiClusterAppUpgradeStrategyRollingUpdateArgs{...} +type GetMultiClusterAppUpgradeStrategyRollingUpdateInput interface { + pulumi.Input + + ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutput() GetMultiClusterAppUpgradeStrategyRollingUpdateOutput + ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdateOutput } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsStorage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) +type GetMultiClusterAppUpgradeStrategyRollingUpdateArgs struct { + BatchSize pulumi.IntPtrInput `pulumi:"batchSize"` + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) Secrets() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) +func (GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) Services() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Services }).(pulumi.StringPtrOutput) +func (i GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutput() GetMultiClusterAppUpgradeStrategyRollingUpdateOutput { + return i.ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(context.Background()) } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) +func (i GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) } -func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) +func (i GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return i.ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -type GetProjectResourceQuotaProjectLimit struct { - ConfigMaps *string `pulumi:"configMaps"` - LimitsCpu *string `pulumi:"limitsCpu"` - LimitsMemory *string `pulumi:"limitsMemory"` - PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` - Pods *string `pulumi:"pods"` - ReplicationControllers *string `pulumi:"replicationControllers"` - RequestsCpu *string `pulumi:"requestsCpu"` - RequestsMemory *string `pulumi:"requestsMemory"` - RequestsStorage *string `pulumi:"requestsStorage"` - Secrets *string `pulumi:"secrets"` - Services *string `pulumi:"services"` - ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` - ServicesNodePorts *string `pulumi:"servicesNodePorts"` +func (i GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppUpgradeStrategyRollingUpdateOutput).ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx) } -// GetProjectResourceQuotaProjectLimitInput is an input type that accepts GetProjectResourceQuotaProjectLimitArgs and GetProjectResourceQuotaProjectLimitOutput values. -// You can construct a concrete instance of `GetProjectResourceQuotaProjectLimitInput` via: +// GetMultiClusterAppUpgradeStrategyRollingUpdatePtrInput is an input type that accepts GetMultiClusterAppUpgradeStrategyRollingUpdateArgs, GetMultiClusterAppUpgradeStrategyRollingUpdatePtr and GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput values. +// You can construct a concrete instance of `GetMultiClusterAppUpgradeStrategyRollingUpdatePtrInput` via: +// +// GetMultiClusterAppUpgradeStrategyRollingUpdateArgs{...} +// +// or: // -// GetProjectResourceQuotaProjectLimitArgs{...} -type GetProjectResourceQuotaProjectLimitInput interface { +// nil +type GetMultiClusterAppUpgradeStrategyRollingUpdatePtrInput interface { pulumi.Input - ToGetProjectResourceQuotaProjectLimitOutput() GetProjectResourceQuotaProjectLimitOutput - ToGetProjectResourceQuotaProjectLimitOutputWithContext(context.Context) GetProjectResourceQuotaProjectLimitOutput + ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput + ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput } -type GetProjectResourceQuotaProjectLimitArgs struct { - ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` - LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` - LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` - PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` - Pods pulumi.StringPtrInput `pulumi:"pods"` - ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` - RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` - RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` - RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` - Secrets pulumi.StringPtrInput `pulumi:"secrets"` - Services pulumi.StringPtrInput `pulumi:"services"` - ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` - ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` +type getMultiClusterAppUpgradeStrategyRollingUpdatePtrType GetMultiClusterAppUpgradeStrategyRollingUpdateArgs + +func GetMultiClusterAppUpgradeStrategyRollingUpdatePtr(v *GetMultiClusterAppUpgradeStrategyRollingUpdateArgs) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrInput { + return (*getMultiClusterAppUpgradeStrategyRollingUpdatePtrType)(v) } -func (GetProjectResourceQuotaProjectLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectResourceQuotaProjectLimit)(nil)).Elem() +func (*getMultiClusterAppUpgradeStrategyRollingUpdatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetMultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() } -func (i GetProjectResourceQuotaProjectLimitArgs) ToGetProjectResourceQuotaProjectLimitOutput() GetProjectResourceQuotaProjectLimitOutput { - return i.ToGetProjectResourceQuotaProjectLimitOutputWithContext(context.Background()) +func (i *getMultiClusterAppUpgradeStrategyRollingUpdatePtrType) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return i.ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (i GetProjectResourceQuotaProjectLimitArgs) ToGetProjectResourceQuotaProjectLimitOutputWithContext(ctx context.Context) GetProjectResourceQuotaProjectLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetProjectResourceQuotaProjectLimitOutput) +func (i *getMultiClusterAppUpgradeStrategyRollingUpdatePtrType) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) } -type GetProjectResourceQuotaProjectLimitOutput struct{ *pulumi.OutputState } +type GetMultiClusterAppUpgradeStrategyRollingUpdateOutput struct{ *pulumi.OutputState } -func (GetProjectResourceQuotaProjectLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetProjectResourceQuotaProjectLimit)(nil)).Elem() +func (GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() } -func (o GetProjectResourceQuotaProjectLimitOutput) ToGetProjectResourceQuotaProjectLimitOutput() GetProjectResourceQuotaProjectLimitOutput { +func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutput() GetMultiClusterAppUpgradeStrategyRollingUpdateOutput { return o } -func (o GetProjectResourceQuotaProjectLimitOutput) ToGetProjectResourceQuotaProjectLimitOutputWithContext(ctx context.Context) GetProjectResourceQuotaProjectLimitOutput { +func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdateOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdateOutput { return o } -func (o GetProjectResourceQuotaProjectLimitOutput) ConfigMaps() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) -} - -func (o GetProjectResourceQuotaProjectLimitOutput) LimitsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) -} - -func (o GetProjectResourceQuotaProjectLimitOutput) LimitsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o.ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(context.Background()) } -func (o GetProjectResourceQuotaProjectLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetMultiClusterAppUpgradeStrategyRollingUpdate) *GetMultiClusterAppUpgradeStrategyRollingUpdate { + return &v + }).(GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) } -func (o GetProjectResourceQuotaProjectLimitOutput) Pods() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) BatchSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMultiClusterAppUpgradeStrategyRollingUpdate) *int { return v.BatchSize }).(pulumi.IntPtrOutput) } -func (o GetProjectResourceQuotaProjectLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetMultiClusterAppUpgradeStrategyRollingUpdate) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o GetProjectResourceQuotaProjectLimitOutput) RequestsCpu() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) -} +type GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput struct{ *pulumi.OutputState } -func (o GetProjectResourceQuotaProjectLimitOutput) RequestsMemory() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +func (GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetMultiClusterAppUpgradeStrategyRollingUpdate)(nil)).Elem() } -func (o GetProjectResourceQuotaProjectLimitOutput) RequestsStorage() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput() GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o } -func (o GetProjectResourceQuotaProjectLimitOutput) Secrets() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) ToGetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutputWithContext(ctx context.Context) GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput { + return o } -func (o GetProjectResourceQuotaProjectLimitOutput) Services() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.Services }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) Elem() GetMultiClusterAppUpgradeStrategyRollingUpdateOutput { + return o.ApplyT(func(v *GetMultiClusterAppUpgradeStrategyRollingUpdate) GetMultiClusterAppUpgradeStrategyRollingUpdate { + if v != nil { + return *v + } + var ret GetMultiClusterAppUpgradeStrategyRollingUpdate + return ret + }).(GetMultiClusterAppUpgradeStrategyRollingUpdateOutput) } -func (o GetProjectResourceQuotaProjectLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) BatchSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetMultiClusterAppUpgradeStrategyRollingUpdate) *int { + if v == nil { + return nil + } + return v.BatchSize + }).(pulumi.IntPtrOutput) } -func (o GetProjectResourceQuotaProjectLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) +func (o GetMultiClusterAppUpgradeStrategyRollingUpdatePtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetMultiClusterAppUpgradeStrategyRollingUpdate) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -type GetRegistryRegistry struct { - Address string `pulumi:"address"` - Password *string `pulumi:"password"` - Username *string `pulumi:"username"` +type GetNamespaceContainerResourceLimit struct { + LimitsCpu *string `pulumi:"limitsCpu"` + LimitsMemory *string `pulumi:"limitsMemory"` + RequestsCpu *string `pulumi:"requestsCpu"` + RequestsMemory *string `pulumi:"requestsMemory"` } -// GetRegistryRegistryInput is an input type that accepts GetRegistryRegistryArgs and GetRegistryRegistryOutput values. -// You can construct a concrete instance of `GetRegistryRegistryInput` via: +// GetNamespaceContainerResourceLimitInput is an input type that accepts GetNamespaceContainerResourceLimitArgs and GetNamespaceContainerResourceLimitOutput values. +// You can construct a concrete instance of `GetNamespaceContainerResourceLimitInput` via: // -// GetRegistryRegistryArgs{...} -type GetRegistryRegistryInput interface { +// GetNamespaceContainerResourceLimitArgs{...} +type GetNamespaceContainerResourceLimitInput interface { pulumi.Input - ToGetRegistryRegistryOutput() GetRegistryRegistryOutput - ToGetRegistryRegistryOutputWithContext(context.Context) GetRegistryRegistryOutput + ToGetNamespaceContainerResourceLimitOutput() GetNamespaceContainerResourceLimitOutput + ToGetNamespaceContainerResourceLimitOutputWithContext(context.Context) GetNamespaceContainerResourceLimitOutput } -type GetRegistryRegistryArgs struct { - Address pulumi.StringInput `pulumi:"address"` - Password pulumi.StringPtrInput `pulumi:"password"` - Username pulumi.StringPtrInput `pulumi:"username"` +type GetNamespaceContainerResourceLimitArgs struct { + LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` + LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` + RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` + RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` } -func (GetRegistryRegistryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRegistryRegistry)(nil)).Elem() +func (GetNamespaceContainerResourceLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNamespaceContainerResourceLimit)(nil)).Elem() } -func (i GetRegistryRegistryArgs) ToGetRegistryRegistryOutput() GetRegistryRegistryOutput { - return i.ToGetRegistryRegistryOutputWithContext(context.Background()) +func (i GetNamespaceContainerResourceLimitArgs) ToGetNamespaceContainerResourceLimitOutput() GetNamespaceContainerResourceLimitOutput { + return i.ToGetNamespaceContainerResourceLimitOutputWithContext(context.Background()) } -func (i GetRegistryRegistryArgs) ToGetRegistryRegistryOutputWithContext(ctx context.Context) GetRegistryRegistryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRegistryRegistryOutput) +func (i GetNamespaceContainerResourceLimitArgs) ToGetNamespaceContainerResourceLimitOutputWithContext(ctx context.Context) GetNamespaceContainerResourceLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNamespaceContainerResourceLimitOutput) } -// GetRegistryRegistryArrayInput is an input type that accepts GetRegistryRegistryArray and GetRegistryRegistryArrayOutput values. -// You can construct a concrete instance of `GetRegistryRegistryArrayInput` via: -// -// GetRegistryRegistryArray{ GetRegistryRegistryArgs{...} } -type GetRegistryRegistryArrayInput interface { - pulumi.Input +type GetNamespaceContainerResourceLimitOutput struct{ *pulumi.OutputState } + +func (GetNamespaceContainerResourceLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNamespaceContainerResourceLimit)(nil)).Elem() +} - ToGetRegistryRegistryArrayOutput() GetRegistryRegistryArrayOutput - ToGetRegistryRegistryArrayOutputWithContext(context.Context) GetRegistryRegistryArrayOutput +func (o GetNamespaceContainerResourceLimitOutput) ToGetNamespaceContainerResourceLimitOutput() GetNamespaceContainerResourceLimitOutput { + return o } -type GetRegistryRegistryArray []GetRegistryRegistryInput +func (o GetNamespaceContainerResourceLimitOutput) ToGetNamespaceContainerResourceLimitOutputWithContext(ctx context.Context) GetNamespaceContainerResourceLimitOutput { + return o +} -func (GetRegistryRegistryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRegistryRegistry)(nil)).Elem() +func (o GetNamespaceContainerResourceLimitOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceContainerResourceLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) } -func (i GetRegistryRegistryArray) ToGetRegistryRegistryArrayOutput() GetRegistryRegistryArrayOutput { - return i.ToGetRegistryRegistryArrayOutputWithContext(context.Background()) +func (o GetNamespaceContainerResourceLimitOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceContainerResourceLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) } -func (i GetRegistryRegistryArray) ToGetRegistryRegistryArrayOutputWithContext(ctx context.Context) GetRegistryRegistryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRegistryRegistryArrayOutput) +func (o GetNamespaceContainerResourceLimitOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceContainerResourceLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) } -type GetRegistryRegistryOutput struct{ *pulumi.OutputState } +func (o GetNamespaceContainerResourceLimitOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceContainerResourceLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +} -func (GetRegistryRegistryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRegistryRegistry)(nil)).Elem() +type GetNamespaceResourceQuota struct { + Limit GetNamespaceResourceQuotaLimit `pulumi:"limit"` } -func (o GetRegistryRegistryOutput) ToGetRegistryRegistryOutput() GetRegistryRegistryOutput { - return o +// GetNamespaceResourceQuotaInput is an input type that accepts GetNamespaceResourceQuotaArgs and GetNamespaceResourceQuotaOutput values. +// You can construct a concrete instance of `GetNamespaceResourceQuotaInput` via: +// +// GetNamespaceResourceQuotaArgs{...} +type GetNamespaceResourceQuotaInput interface { + pulumi.Input + + ToGetNamespaceResourceQuotaOutput() GetNamespaceResourceQuotaOutput + ToGetNamespaceResourceQuotaOutputWithContext(context.Context) GetNamespaceResourceQuotaOutput } -func (o GetRegistryRegistryOutput) ToGetRegistryRegistryOutputWithContext(ctx context.Context) GetRegistryRegistryOutput { - return o +type GetNamespaceResourceQuotaArgs struct { + Limit GetNamespaceResourceQuotaLimitInput `pulumi:"limit"` } -func (o GetRegistryRegistryOutput) Address() pulumi.StringOutput { - return o.ApplyT(func(v GetRegistryRegistry) string { return v.Address }).(pulumi.StringOutput) +func (GetNamespaceResourceQuotaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNamespaceResourceQuota)(nil)).Elem() } -func (o GetRegistryRegistryOutput) Password() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegistryRegistry) *string { return v.Password }).(pulumi.StringPtrOutput) +func (i GetNamespaceResourceQuotaArgs) ToGetNamespaceResourceQuotaOutput() GetNamespaceResourceQuotaOutput { + return i.ToGetNamespaceResourceQuotaOutputWithContext(context.Background()) } -func (o GetRegistryRegistryOutput) Username() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetRegistryRegistry) *string { return v.Username }).(pulumi.StringPtrOutput) +func (i GetNamespaceResourceQuotaArgs) ToGetNamespaceResourceQuotaOutputWithContext(ctx context.Context) GetNamespaceResourceQuotaOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNamespaceResourceQuotaOutput) } -type GetRegistryRegistryArrayOutput struct{ *pulumi.OutputState } +type GetNamespaceResourceQuotaOutput struct{ *pulumi.OutputState } -func (GetRegistryRegistryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRegistryRegistry)(nil)).Elem() +func (GetNamespaceResourceQuotaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNamespaceResourceQuota)(nil)).Elem() } -func (o GetRegistryRegistryArrayOutput) ToGetRegistryRegistryArrayOutput() GetRegistryRegistryArrayOutput { +func (o GetNamespaceResourceQuotaOutput) ToGetNamespaceResourceQuotaOutput() GetNamespaceResourceQuotaOutput { return o } -func (o GetRegistryRegistryArrayOutput) ToGetRegistryRegistryArrayOutputWithContext(ctx context.Context) GetRegistryRegistryArrayOutput { +func (o GetNamespaceResourceQuotaOutput) ToGetNamespaceResourceQuotaOutputWithContext(ctx context.Context) GetNamespaceResourceQuotaOutput { return o } -func (o GetRegistryRegistryArrayOutput) Index(i pulumi.IntInput) GetRegistryRegistryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegistryRegistry { - return vs[0].([]GetRegistryRegistry)[vs[1].(int)] - }).(GetRegistryRegistryOutput) +func (o GetNamespaceResourceQuotaOutput) Limit() GetNamespaceResourceQuotaLimitOutput { + return o.ApplyT(func(v GetNamespaceResourceQuota) GetNamespaceResourceQuotaLimit { return v.Limit }).(GetNamespaceResourceQuotaLimitOutput) } -type GetRoleTempalteRule struct { - ApiGroups []string `pulumi:"apiGroups"` - NonResourceUrls []string `pulumi:"nonResourceUrls"` - ResourceNames []string `pulumi:"resourceNames"` - Resources []string `pulumi:"resources"` - Verbs []string `pulumi:"verbs"` +type GetNamespaceResourceQuotaLimit struct { + ConfigMaps *string `pulumi:"configMaps"` + LimitsCpu *string `pulumi:"limitsCpu"` + LimitsMemory *string `pulumi:"limitsMemory"` + PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` + Pods *string `pulumi:"pods"` + ReplicationControllers *string `pulumi:"replicationControllers"` + RequestsCpu *string `pulumi:"requestsCpu"` + RequestsMemory *string `pulumi:"requestsMemory"` + RequestsStorage *string `pulumi:"requestsStorage"` + Secrets *string `pulumi:"secrets"` + Services *string `pulumi:"services"` + ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` + ServicesNodePorts *string `pulumi:"servicesNodePorts"` } -// GetRoleTempalteRuleInput is an input type that accepts GetRoleTempalteRuleArgs and GetRoleTempalteRuleOutput values. -// You can construct a concrete instance of `GetRoleTempalteRuleInput` via: +// GetNamespaceResourceQuotaLimitInput is an input type that accepts GetNamespaceResourceQuotaLimitArgs and GetNamespaceResourceQuotaLimitOutput values. +// You can construct a concrete instance of `GetNamespaceResourceQuotaLimitInput` via: // -// GetRoleTempalteRuleArgs{...} -type GetRoleTempalteRuleInput interface { +// GetNamespaceResourceQuotaLimitArgs{...} +type GetNamespaceResourceQuotaLimitInput interface { pulumi.Input - ToGetRoleTempalteRuleOutput() GetRoleTempalteRuleOutput - ToGetRoleTempalteRuleOutputWithContext(context.Context) GetRoleTempalteRuleOutput + ToGetNamespaceResourceQuotaLimitOutput() GetNamespaceResourceQuotaLimitOutput + ToGetNamespaceResourceQuotaLimitOutputWithContext(context.Context) GetNamespaceResourceQuotaLimitOutput } -type GetRoleTempalteRuleArgs struct { - ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` - NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` - ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` - Resources pulumi.StringArrayInput `pulumi:"resources"` - Verbs pulumi.StringArrayInput `pulumi:"verbs"` +type GetNamespaceResourceQuotaLimitArgs struct { + ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` + LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` + LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` + PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` + Pods pulumi.StringPtrInput `pulumi:"pods"` + ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` + RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` + RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` + RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` + Secrets pulumi.StringPtrInput `pulumi:"secrets"` + Services pulumi.StringPtrInput `pulumi:"services"` + ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` + ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` } -func (GetRoleTempalteRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRoleTempalteRule)(nil)).Elem() +func (GetNamespaceResourceQuotaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNamespaceResourceQuotaLimit)(nil)).Elem() } -func (i GetRoleTempalteRuleArgs) ToGetRoleTempalteRuleOutput() GetRoleTempalteRuleOutput { - return i.ToGetRoleTempalteRuleOutputWithContext(context.Background()) +func (i GetNamespaceResourceQuotaLimitArgs) ToGetNamespaceResourceQuotaLimitOutput() GetNamespaceResourceQuotaLimitOutput { + return i.ToGetNamespaceResourceQuotaLimitOutputWithContext(context.Background()) } -func (i GetRoleTempalteRuleArgs) ToGetRoleTempalteRuleOutputWithContext(ctx context.Context) GetRoleTempalteRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRoleTempalteRuleOutput) +func (i GetNamespaceResourceQuotaLimitArgs) ToGetNamespaceResourceQuotaLimitOutputWithContext(ctx context.Context) GetNamespaceResourceQuotaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNamespaceResourceQuotaLimitOutput) } -// GetRoleTempalteRuleArrayInput is an input type that accepts GetRoleTempalteRuleArray and GetRoleTempalteRuleArrayOutput values. -// You can construct a concrete instance of `GetRoleTempalteRuleArrayInput` via: -// -// GetRoleTempalteRuleArray{ GetRoleTempalteRuleArgs{...} } -type GetRoleTempalteRuleArrayInput interface { - pulumi.Input +type GetNamespaceResourceQuotaLimitOutput struct{ *pulumi.OutputState } - ToGetRoleTempalteRuleArrayOutput() GetRoleTempalteRuleArrayOutput - ToGetRoleTempalteRuleArrayOutputWithContext(context.Context) GetRoleTempalteRuleArrayOutput +func (GetNamespaceResourceQuotaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNamespaceResourceQuotaLimit)(nil)).Elem() } -type GetRoleTempalteRuleArray []GetRoleTempalteRuleInput - -func (GetRoleTempalteRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRoleTempalteRule)(nil)).Elem() +func (o GetNamespaceResourceQuotaLimitOutput) ToGetNamespaceResourceQuotaLimitOutput() GetNamespaceResourceQuotaLimitOutput { + return o } -func (i GetRoleTempalteRuleArray) ToGetRoleTempalteRuleArrayOutput() GetRoleTempalteRuleArrayOutput { - return i.ToGetRoleTempalteRuleArrayOutputWithContext(context.Background()) +func (o GetNamespaceResourceQuotaLimitOutput) ToGetNamespaceResourceQuotaLimitOutputWithContext(ctx context.Context) GetNamespaceResourceQuotaLimitOutput { + return o } -func (i GetRoleTempalteRuleArray) ToGetRoleTempalteRuleArrayOutputWithContext(ctx context.Context) GetRoleTempalteRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRoleTempalteRuleArrayOutput) +func (o GetNamespaceResourceQuotaLimitOutput) ConfigMaps() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) } -type GetRoleTempalteRuleOutput struct{ *pulumi.OutputState } - -func (GetRoleTempalteRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRoleTempalteRule)(nil)).Elem() +func (o GetNamespaceResourceQuotaLimitOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) } -func (o GetRoleTempalteRuleOutput) ToGetRoleTempalteRuleOutput() GetRoleTempalteRuleOutput { - return o +func (o GetNamespaceResourceQuotaLimitOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) } -func (o GetRoleTempalteRuleOutput) ToGetRoleTempalteRuleOutputWithContext(ctx context.Context) GetRoleTempalteRuleOutput { - return o +func (o GetNamespaceResourceQuotaLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) } -func (o GetRoleTempalteRuleOutput) ApiGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRoleTempalteRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) +func (o GetNamespaceResourceQuotaLimitOutput) Pods() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) } -func (o GetRoleTempalteRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRoleTempalteRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) +func (o GetNamespaceResourceQuotaLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) } -func (o GetRoleTempalteRuleOutput) ResourceNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRoleTempalteRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) +func (o GetNamespaceResourceQuotaLimitOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) } -func (o GetRoleTempalteRuleOutput) Resources() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRoleTempalteRule) []string { return v.Resources }).(pulumi.StringArrayOutput) +func (o GetNamespaceResourceQuotaLimitOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) } -func (o GetRoleTempalteRuleOutput) Verbs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRoleTempalteRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) +func (o GetNamespaceResourceQuotaLimitOutput) RequestsStorage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) } -type GetRoleTempalteRuleArrayOutput struct{ *pulumi.OutputState } - -func (GetRoleTempalteRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRoleTempalteRule)(nil)).Elem() +func (o GetNamespaceResourceQuotaLimitOutput) Secrets() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) } -func (o GetRoleTempalteRuleArrayOutput) ToGetRoleTempalteRuleArrayOutput() GetRoleTempalteRuleArrayOutput { - return o +func (o GetNamespaceResourceQuotaLimitOutput) Services() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.Services }).(pulumi.StringPtrOutput) } -func (o GetRoleTempalteRuleArrayOutput) ToGetRoleTempalteRuleArrayOutputWithContext(ctx context.Context) GetRoleTempalteRuleArrayOutput { - return o +func (o GetNamespaceResourceQuotaLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) } -func (o GetRoleTempalteRuleArrayOutput) Index(i pulumi.IntInput) GetRoleTempalteRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoleTempalteRule { - return vs[0].([]GetRoleTempalteRule)[vs[1].(int)] - }).(GetRoleTempalteRuleOutput) +func (o GetNamespaceResourceQuotaLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNamespaceResourceQuotaLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) } -type GetRoleTemplateRule struct { - ApiGroups []string `pulumi:"apiGroups"` - NonResourceUrls []string `pulumi:"nonResourceUrls"` - ResourceNames []string `pulumi:"resourceNames"` - Resources []string `pulumi:"resources"` - Verbs []string `pulumi:"verbs"` +type GetNodePoolNodeTaint struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + TimeAdded string `pulumi:"timeAdded"` + Value string `pulumi:"value"` } -// GetRoleTemplateRuleInput is an input type that accepts GetRoleTemplateRuleArgs and GetRoleTemplateRuleOutput values. -// You can construct a concrete instance of `GetRoleTemplateRuleInput` via: +// GetNodePoolNodeTaintInput is an input type that accepts GetNodePoolNodeTaintArgs and GetNodePoolNodeTaintOutput values. +// You can construct a concrete instance of `GetNodePoolNodeTaintInput` via: // -// GetRoleTemplateRuleArgs{...} -type GetRoleTemplateRuleInput interface { +// GetNodePoolNodeTaintArgs{...} +type GetNodePoolNodeTaintInput interface { pulumi.Input - ToGetRoleTemplateRuleOutput() GetRoleTemplateRuleOutput - ToGetRoleTemplateRuleOutputWithContext(context.Context) GetRoleTemplateRuleOutput + ToGetNodePoolNodeTaintOutput() GetNodePoolNodeTaintOutput + ToGetNodePoolNodeTaintOutputWithContext(context.Context) GetNodePoolNodeTaintOutput } -type GetRoleTemplateRuleArgs struct { - ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` - NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` - ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` - Resources pulumi.StringArrayInput `pulumi:"resources"` - Verbs pulumi.StringArrayInput `pulumi:"verbs"` +type GetNodePoolNodeTaintArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + TimeAdded pulumi.StringInput `pulumi:"timeAdded"` + Value pulumi.StringInput `pulumi:"value"` } -func (GetRoleTemplateRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetRoleTemplateRule)(nil)).Elem() +func (GetNodePoolNodeTaintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNodePoolNodeTaint)(nil)).Elem() } -func (i GetRoleTemplateRuleArgs) ToGetRoleTemplateRuleOutput() GetRoleTemplateRuleOutput { - return i.ToGetRoleTemplateRuleOutputWithContext(context.Background()) +func (i GetNodePoolNodeTaintArgs) ToGetNodePoolNodeTaintOutput() GetNodePoolNodeTaintOutput { + return i.ToGetNodePoolNodeTaintOutputWithContext(context.Background()) } -func (i GetRoleTemplateRuleArgs) ToGetRoleTemplateRuleOutputWithContext(ctx context.Context) GetRoleTemplateRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRoleTemplateRuleOutput) +func (i GetNodePoolNodeTaintArgs) ToGetNodePoolNodeTaintOutputWithContext(ctx context.Context) GetNodePoolNodeTaintOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNodePoolNodeTaintOutput) } -// GetRoleTemplateRuleArrayInput is an input type that accepts GetRoleTemplateRuleArray and GetRoleTemplateRuleArrayOutput values. -// You can construct a concrete instance of `GetRoleTemplateRuleArrayInput` via: +// GetNodePoolNodeTaintArrayInput is an input type that accepts GetNodePoolNodeTaintArray and GetNodePoolNodeTaintArrayOutput values. +// You can construct a concrete instance of `GetNodePoolNodeTaintArrayInput` via: // -// GetRoleTemplateRuleArray{ GetRoleTemplateRuleArgs{...} } -type GetRoleTemplateRuleArrayInput interface { +// GetNodePoolNodeTaintArray{ GetNodePoolNodeTaintArgs{...} } +type GetNodePoolNodeTaintArrayInput interface { pulumi.Input - ToGetRoleTemplateRuleArrayOutput() GetRoleTemplateRuleArrayOutput - ToGetRoleTemplateRuleArrayOutputWithContext(context.Context) GetRoleTemplateRuleArrayOutput + ToGetNodePoolNodeTaintArrayOutput() GetNodePoolNodeTaintArrayOutput + ToGetNodePoolNodeTaintArrayOutputWithContext(context.Context) GetNodePoolNodeTaintArrayOutput } -type GetRoleTemplateRuleArray []GetRoleTemplateRuleInput +type GetNodePoolNodeTaintArray []GetNodePoolNodeTaintInput -func (GetRoleTemplateRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRoleTemplateRule)(nil)).Elem() +func (GetNodePoolNodeTaintArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNodePoolNodeTaint)(nil)).Elem() } -func (i GetRoleTemplateRuleArray) ToGetRoleTemplateRuleArrayOutput() GetRoleTemplateRuleArrayOutput { - return i.ToGetRoleTemplateRuleArrayOutputWithContext(context.Background()) +func (i GetNodePoolNodeTaintArray) ToGetNodePoolNodeTaintArrayOutput() GetNodePoolNodeTaintArrayOutput { + return i.ToGetNodePoolNodeTaintArrayOutputWithContext(context.Background()) } -func (i GetRoleTemplateRuleArray) ToGetRoleTemplateRuleArrayOutputWithContext(ctx context.Context) GetRoleTemplateRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetRoleTemplateRuleArrayOutput) +func (i GetNodePoolNodeTaintArray) ToGetNodePoolNodeTaintArrayOutputWithContext(ctx context.Context) GetNodePoolNodeTaintArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNodePoolNodeTaintArrayOutput) } -type GetRoleTemplateRuleOutput struct{ *pulumi.OutputState } +type GetNodePoolNodeTaintOutput struct{ *pulumi.OutputState } -func (GetRoleTemplateRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetRoleTemplateRule)(nil)).Elem() +func (GetNodePoolNodeTaintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNodePoolNodeTaint)(nil)).Elem() } -func (o GetRoleTemplateRuleOutput) ToGetRoleTemplateRuleOutput() GetRoleTemplateRuleOutput { +func (o GetNodePoolNodeTaintOutput) ToGetNodePoolNodeTaintOutput() GetNodePoolNodeTaintOutput { return o } -func (o GetRoleTemplateRuleOutput) ToGetRoleTemplateRuleOutputWithContext(ctx context.Context) GetRoleTemplateRuleOutput { +func (o GetNodePoolNodeTaintOutput) ToGetNodePoolNodeTaintOutputWithContext(ctx context.Context) GetNodePoolNodeTaintOutput { return o } -func (o GetRoleTemplateRuleOutput) ApiGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRoleTemplateRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) -} - -func (o GetRoleTemplateRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRoleTemplateRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) +func (o GetNodePoolNodeTaintOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNodePoolNodeTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) } -func (o GetRoleTemplateRuleOutput) ResourceNames() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRoleTemplateRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) +func (o GetNodePoolNodeTaintOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetNodePoolNodeTaint) string { return v.Key }).(pulumi.StringOutput) } -func (o GetRoleTemplateRuleOutput) Resources() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRoleTemplateRule) []string { return v.Resources }).(pulumi.StringArrayOutput) +func (o GetNodePoolNodeTaintOutput) TimeAdded() pulumi.StringOutput { + return o.ApplyT(func(v GetNodePoolNodeTaint) string { return v.TimeAdded }).(pulumi.StringOutput) } -func (o GetRoleTemplateRuleOutput) Verbs() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetRoleTemplateRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) +func (o GetNodePoolNodeTaintOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetNodePoolNodeTaint) string { return v.Value }).(pulumi.StringOutput) } -type GetRoleTemplateRuleArrayOutput struct{ *pulumi.OutputState } +type GetNodePoolNodeTaintArrayOutput struct{ *pulumi.OutputState } -func (GetRoleTemplateRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetRoleTemplateRule)(nil)).Elem() +func (GetNodePoolNodeTaintArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNodePoolNodeTaint)(nil)).Elem() } -func (o GetRoleTemplateRuleArrayOutput) ToGetRoleTemplateRuleArrayOutput() GetRoleTemplateRuleArrayOutput { +func (o GetNodePoolNodeTaintArrayOutput) ToGetNodePoolNodeTaintArrayOutput() GetNodePoolNodeTaintArrayOutput { return o } -func (o GetRoleTemplateRuleArrayOutput) ToGetRoleTemplateRuleArrayOutputWithContext(ctx context.Context) GetRoleTemplateRuleArrayOutput { +func (o GetNodePoolNodeTaintArrayOutput) ToGetNodePoolNodeTaintArrayOutputWithContext(ctx context.Context) GetNodePoolNodeTaintArrayOutput { return o } -func (o GetRoleTemplateRuleArrayOutput) Index(i pulumi.IntInput) GetRoleTemplateRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoleTemplateRule { - return vs[0].([]GetRoleTemplateRule)[vs[1].(int)] - }).(GetRoleTemplateRuleOutput) +func (o GetNodePoolNodeTaintArrayOutput) Index(i pulumi.IntInput) GetNodePoolNodeTaintOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNodePoolNodeTaint { + return vs[0].([]GetNodePoolNodeTaint)[vs[1].(int)] + }).(GetNodePoolNodeTaintOutput) } func init() { @@ -96639,6 +98294,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput)(nil)).Elem(), ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterRkeConfigNetworkInput)(nil)).Elem(), ClusterRkeConfigNetworkArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterRkeConfigNetworkPtrInput)(nil)).Elem(), ClusterRkeConfigNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClusterRkeConfigNetworkAciNetworkProviderInput)(nil)).Elem(), ClusterRkeConfigNetworkAciNetworkProviderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClusterRkeConfigNetworkAciNetworkProviderPtrInput)(nil)).Elem(), ClusterRkeConfigNetworkAciNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterRkeConfigNetworkCalicoNetworkProviderInput)(nil)).Elem(), ClusterRkeConfigNetworkCalicoNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterRkeConfigNetworkCalicoNetworkProviderPtrInput)(nil)).Elem(), ClusterRkeConfigNetworkCalicoNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterRkeConfigNetworkCanalNetworkProviderInput)(nil)).Elem(), ClusterRkeConfigNetworkCanalNetworkProviderArgs{}) @@ -96773,6 +98430,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput)(nil)).Elem(), ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput)(nil)).Elem(), ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrInput)(nil)).Elem(), ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderInput)(nil)).Elem(), ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput)(nil)).Elem(), ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput)(nil)).Elem(), ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput)(nil)).Elem(), ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput)(nil)).Elem(), ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs{}) @@ -96936,6 +98595,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*NodeTemplateOpennebulaConfigPtrInput)(nil)).Elem(), NodeTemplateOpennebulaConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NodeTemplateOpenstackConfigInput)(nil)).Elem(), NodeTemplateOpenstackConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NodeTemplateOpenstackConfigPtrInput)(nil)).Elem(), NodeTemplateOpenstackConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NodeTemplateOutscaleConfigInput)(nil)).Elem(), NodeTemplateOutscaleConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NodeTemplateOutscaleConfigPtrInput)(nil)).Elem(), NodeTemplateOutscaleConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NodeTemplateVsphereConfigInput)(nil)).Elem(), NodeTemplateVsphereConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NodeTemplateVsphereConfigPtrInput)(nil)).Elem(), NodeTemplateVsphereConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NotifierDingtalkConfigInput)(nil)).Elem(), NotifierDingtalkConfigArgs{}) @@ -97133,6 +98794,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateInput)(nil)).Elem(), GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput)(nil)).Elem(), GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterRkeConfigNetworkInput)(nil)).Elem(), GetClusterRkeConfigNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterRkeConfigNetworkAciNetworkProviderInput)(nil)).Elem(), GetClusterRkeConfigNetworkAciNetworkProviderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterRkeConfigNetworkAciNetworkProviderPtrInput)(nil)).Elem(), GetClusterRkeConfigNetworkAciNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterRkeConfigNetworkCalicoNetworkProviderInput)(nil)).Elem(), GetClusterRkeConfigNetworkCalicoNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterRkeConfigNetworkCalicoNetworkProviderPtrInput)(nil)).Elem(), GetClusterRkeConfigNetworkCalicoNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterRkeConfigNetworkCanalNetworkProviderInput)(nil)).Elem(), GetClusterRkeConfigNetworkCanalNetworkProviderArgs{}) @@ -97245,6 +98908,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateInput)(nil)).Elem(), GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrInput)(nil)).Elem(), GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkInput)(nil)).Elem(), GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderInput)(nil)).Elem(), GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrInput)(nil)).Elem(), GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderInput)(nil)).Elem(), GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrInput)(nil)).Elem(), GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderInput)(nil)).Elem(), GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs{}) @@ -97354,70 +99019,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetNamespaceResourceQuotaLimitInput)(nil)).Elem(), GetNamespaceResourceQuotaLimitArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNodePoolNodeTaintInput)(nil)).Elem(), GetNodePoolNodeTaintArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNodePoolNodeTaintArrayInput)(nil)).Elem(), GetNodePoolNodeTaintArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNodeTemplateNodeTaintInput)(nil)).Elem(), GetNodeTemplateNodeTaintArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNodeTemplateNodeTaintArrayInput)(nil)).Elem(), GetNodeTemplateNodeTaintArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierDingtalkConfigInput)(nil)).Elem(), GetNotifierDingtalkConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierDingtalkConfigPtrInput)(nil)).Elem(), GetNotifierDingtalkConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierMsteamsConfigInput)(nil)).Elem(), GetNotifierMsteamsConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierMsteamsConfigPtrInput)(nil)).Elem(), GetNotifierMsteamsConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierPagerdutyConfigInput)(nil)).Elem(), GetNotifierPagerdutyConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierSlackConfigInput)(nil)).Elem(), GetNotifierSlackConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierSmtpConfigInput)(nil)).Elem(), GetNotifierSmtpConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierWebhookConfigInput)(nil)).Elem(), GetNotifierWebhookConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierWechatConfigInput)(nil)).Elem(), GetNotifierWechatConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedCsiDriverInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedCsiDriverArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedCsiDriverArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedCsiDriverArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedFlexVolumeInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedFlexVolumeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedHostPathInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedHostPathArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedHostPathArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedHostPathArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupInput)(nil)).Elem(), GetPodSecurityPolicyTemplateFsGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateFsGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupRangeInput)(nil)).Elem(), GetPodSecurityPolicyTemplateFsGroupRangeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupRangeArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateFsGroupRangeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateHostPortInput)(nil)).Elem(), GetPodSecurityPolicyTemplateHostPortArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateHostPortArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateHostPortArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupRangeInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsGroupRangeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupRangeArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsGroupRangeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsUserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsUserArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserRangeInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsUserRangeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserRangeArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsUserRangeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRuntimeClassInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRuntimeClassArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRuntimeClassPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRuntimeClassArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSeLinuxArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSeLinuxArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSupplementalGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSupplementalGroupArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupRangeInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSupplementalGroupRangeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectAlertGroupRecipientInput)(nil)).Elem(), GetProjectAlertGroupRecipientArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectAlertGroupRecipientArrayInput)(nil)).Elem(), GetProjectAlertGroupRecipientArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectAlertRuleMetricRuleInput)(nil)).Elem(), GetProjectAlertRuleMetricRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectAlertRulePodRuleInput)(nil)).Elem(), GetProjectAlertRulePodRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectAlertRuleWorkloadRuleInput)(nil)).Elem(), GetProjectAlertRuleWorkloadRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectContainerResourceLimitInput)(nil)).Elem(), GetProjectContainerResourceLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingCustomTargetConfigInput)(nil)).Elem(), GetProjectLoggingCustomTargetConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingElasticsearchConfigInput)(nil)).Elem(), GetProjectLoggingElasticsearchConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingFluentdConfigInput)(nil)).Elem(), GetProjectLoggingFluentdConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingFluentdConfigFluentServerInput)(nil)).Elem(), GetProjectLoggingFluentdConfigFluentServerArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingFluentdConfigFluentServerArrayInput)(nil)).Elem(), GetProjectLoggingFluentdConfigFluentServerArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingKafkaConfigInput)(nil)).Elem(), GetProjectLoggingKafkaConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingSplunkConfigInput)(nil)).Elem(), GetProjectLoggingSplunkConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingSyslogConfigInput)(nil)).Elem(), GetProjectLoggingSyslogConfigArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectResourceQuotaInput)(nil)).Elem(), GetProjectResourceQuotaArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectResourceQuotaNamespaceDefaultLimitInput)(nil)).Elem(), GetProjectResourceQuotaNamespaceDefaultLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetProjectResourceQuotaProjectLimitInput)(nil)).Elem(), GetProjectResourceQuotaProjectLimitArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRegistryRegistryInput)(nil)).Elem(), GetRegistryRegistryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRegistryRegistryArrayInput)(nil)).Elem(), GetRegistryRegistryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRoleTempalteRuleInput)(nil)).Elem(), GetRoleTempalteRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRoleTempalteRuleArrayInput)(nil)).Elem(), GetRoleTempalteRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRoleTemplateRuleInput)(nil)).Elem(), GetRoleTemplateRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetRoleTemplateRuleArrayInput)(nil)).Elem(), GetRoleTemplateRuleArray{}) pulumi.RegisterOutputType(CloudCredentialAmazonec2CredentialConfigOutput{}) pulumi.RegisterOutputType(CloudCredentialAmazonec2CredentialConfigPtrOutput{}) pulumi.RegisterOutputType(CloudCredentialAzureCredentialConfigOutput{}) @@ -97602,6 +99203,8 @@ func init() { pulumi.RegisterOutputType(ClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput{}) pulumi.RegisterOutputType(ClusterRkeConfigNetworkOutput{}) pulumi.RegisterOutputType(ClusterRkeConfigNetworkPtrOutput{}) + pulumi.RegisterOutputType(ClusterRkeConfigNetworkAciNetworkProviderOutput{}) + pulumi.RegisterOutputType(ClusterRkeConfigNetworkAciNetworkProviderPtrOutput{}) pulumi.RegisterOutputType(ClusterRkeConfigNetworkCalicoNetworkProviderOutput{}) pulumi.RegisterOutputType(ClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput{}) pulumi.RegisterOutputType(ClusterRkeConfigNetworkCanalNetworkProviderOutput{}) @@ -97736,6 +99339,8 @@ func init() { pulumi.RegisterOutputType(ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput{}) pulumi.RegisterOutputType(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput{}) pulumi.RegisterOutputType(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkPtrOutput{}) + pulumi.RegisterOutputType(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput{}) + pulumi.RegisterOutputType(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput{}) pulumi.RegisterOutputType(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput{}) pulumi.RegisterOutputType(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput{}) pulumi.RegisterOutputType(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput{}) @@ -97899,6 +99504,8 @@ func init() { pulumi.RegisterOutputType(NodeTemplateOpennebulaConfigPtrOutput{}) pulumi.RegisterOutputType(NodeTemplateOpenstackConfigOutput{}) pulumi.RegisterOutputType(NodeTemplateOpenstackConfigPtrOutput{}) + pulumi.RegisterOutputType(NodeTemplateOutscaleConfigOutput{}) + pulumi.RegisterOutputType(NodeTemplateOutscaleConfigPtrOutput{}) pulumi.RegisterOutputType(NodeTemplateVsphereConfigOutput{}) pulumi.RegisterOutputType(NodeTemplateVsphereConfigPtrOutput{}) pulumi.RegisterOutputType(NotifierDingtalkConfigOutput{}) @@ -98096,6 +99703,8 @@ func init() { pulumi.RegisterOutputType(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateOutput{}) pulumi.RegisterOutputType(GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput{}) pulumi.RegisterOutputType(GetClusterRkeConfigNetworkOutput{}) + pulumi.RegisterOutputType(GetClusterRkeConfigNetworkAciNetworkProviderOutput{}) + pulumi.RegisterOutputType(GetClusterRkeConfigNetworkAciNetworkProviderPtrOutput{}) pulumi.RegisterOutputType(GetClusterRkeConfigNetworkCalicoNetworkProviderOutput{}) pulumi.RegisterOutputType(GetClusterRkeConfigNetworkCalicoNetworkProviderPtrOutput{}) pulumi.RegisterOutputType(GetClusterRkeConfigNetworkCanalNetworkProviderOutput{}) @@ -98208,6 +99817,8 @@ func init() { pulumi.RegisterOutputType(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateOutput{}) pulumi.RegisterOutputType(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdatePtrOutput{}) pulumi.RegisterOutputType(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkOutput{}) + pulumi.RegisterOutputType(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderOutput{}) + pulumi.RegisterOutputType(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderPtrOutput{}) pulumi.RegisterOutputType(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderOutput{}) pulumi.RegisterOutputType(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderPtrOutput{}) pulumi.RegisterOutputType(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderOutput{}) @@ -98317,68 +99928,4 @@ func init() { pulumi.RegisterOutputType(GetNamespaceResourceQuotaLimitOutput{}) pulumi.RegisterOutputType(GetNodePoolNodeTaintOutput{}) pulumi.RegisterOutputType(GetNodePoolNodeTaintArrayOutput{}) - pulumi.RegisterOutputType(GetNodeTemplateNodeTaintOutput{}) - pulumi.RegisterOutputType(GetNodeTemplateNodeTaintArrayOutput{}) - pulumi.RegisterOutputType(GetNotifierDingtalkConfigOutput{}) - pulumi.RegisterOutputType(GetNotifierDingtalkConfigPtrOutput{}) - pulumi.RegisterOutputType(GetNotifierMsteamsConfigOutput{}) - pulumi.RegisterOutputType(GetNotifierMsteamsConfigPtrOutput{}) - pulumi.RegisterOutputType(GetNotifierPagerdutyConfigOutput{}) - pulumi.RegisterOutputType(GetNotifierSlackConfigOutput{}) - pulumi.RegisterOutputType(GetNotifierSmtpConfigOutput{}) - pulumi.RegisterOutputType(GetNotifierWebhookConfigOutput{}) - pulumi.RegisterOutputType(GetNotifierWechatConfigOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedCsiDriverOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedHostPathOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateFsGroupOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateFsGroupPtrOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateFsGroupRangeOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateHostPortOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateHostPortArrayOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsGroupOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsGroupPtrOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsGroupRangeOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsUserOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsUserPtrOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsUserRangeOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRuntimeClassOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRuntimeClassPtrOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSeLinuxOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSeLinuxPtrOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSupplementalGroupOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput{}) - pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput{}) - pulumi.RegisterOutputType(GetProjectAlertGroupRecipientOutput{}) - pulumi.RegisterOutputType(GetProjectAlertGroupRecipientArrayOutput{}) - pulumi.RegisterOutputType(GetProjectAlertRuleMetricRuleOutput{}) - pulumi.RegisterOutputType(GetProjectAlertRulePodRuleOutput{}) - pulumi.RegisterOutputType(GetProjectAlertRuleWorkloadRuleOutput{}) - pulumi.RegisterOutputType(GetProjectContainerResourceLimitOutput{}) - pulumi.RegisterOutputType(GetProjectLoggingCustomTargetConfigOutput{}) - pulumi.RegisterOutputType(GetProjectLoggingElasticsearchConfigOutput{}) - pulumi.RegisterOutputType(GetProjectLoggingFluentdConfigOutput{}) - pulumi.RegisterOutputType(GetProjectLoggingFluentdConfigFluentServerOutput{}) - pulumi.RegisterOutputType(GetProjectLoggingFluentdConfigFluentServerArrayOutput{}) - pulumi.RegisterOutputType(GetProjectLoggingKafkaConfigOutput{}) - pulumi.RegisterOutputType(GetProjectLoggingSplunkConfigOutput{}) - pulumi.RegisterOutputType(GetProjectLoggingSyslogConfigOutput{}) - pulumi.RegisterOutputType(GetProjectResourceQuotaOutput{}) - pulumi.RegisterOutputType(GetProjectResourceQuotaNamespaceDefaultLimitOutput{}) - pulumi.RegisterOutputType(GetProjectResourceQuotaProjectLimitOutput{}) - pulumi.RegisterOutputType(GetRegistryRegistryOutput{}) - pulumi.RegisterOutputType(GetRegistryRegistryArrayOutput{}) - pulumi.RegisterOutputType(GetRoleTempalteRuleOutput{}) - pulumi.RegisterOutputType(GetRoleTempalteRuleArrayOutput{}) - pulumi.RegisterOutputType(GetRoleTemplateRuleOutput{}) - pulumi.RegisterOutputType(GetRoleTemplateRuleArrayOutput{}) } diff --git a/sdk/go/rancher2/pulumiTypes1.go b/sdk/go/rancher2/pulumiTypes1.go new file mode 100644 index 000000000..c04a1f7de --- /dev/null +++ b/sdk/go/rancher2/pulumiTypes1.go @@ -0,0 +1,4442 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package rancher2 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type GetNodeTemplateNodeTaint struct { + Effect *string `pulumi:"effect"` + Key string `pulumi:"key"` + TimeAdded string `pulumi:"timeAdded"` + Value string `pulumi:"value"` +} + +// GetNodeTemplateNodeTaintInput is an input type that accepts GetNodeTemplateNodeTaintArgs and GetNodeTemplateNodeTaintOutput values. +// You can construct a concrete instance of `GetNodeTemplateNodeTaintInput` via: +// +// GetNodeTemplateNodeTaintArgs{...} +type GetNodeTemplateNodeTaintInput interface { + pulumi.Input + + ToGetNodeTemplateNodeTaintOutput() GetNodeTemplateNodeTaintOutput + ToGetNodeTemplateNodeTaintOutputWithContext(context.Context) GetNodeTemplateNodeTaintOutput +} + +type GetNodeTemplateNodeTaintArgs struct { + Effect pulumi.StringPtrInput `pulumi:"effect"` + Key pulumi.StringInput `pulumi:"key"` + TimeAdded pulumi.StringInput `pulumi:"timeAdded"` + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetNodeTemplateNodeTaintArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNodeTemplateNodeTaint)(nil)).Elem() +} + +func (i GetNodeTemplateNodeTaintArgs) ToGetNodeTemplateNodeTaintOutput() GetNodeTemplateNodeTaintOutput { + return i.ToGetNodeTemplateNodeTaintOutputWithContext(context.Background()) +} + +func (i GetNodeTemplateNodeTaintArgs) ToGetNodeTemplateNodeTaintOutputWithContext(ctx context.Context) GetNodeTemplateNodeTaintOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNodeTemplateNodeTaintOutput) +} + +// GetNodeTemplateNodeTaintArrayInput is an input type that accepts GetNodeTemplateNodeTaintArray and GetNodeTemplateNodeTaintArrayOutput values. +// You can construct a concrete instance of `GetNodeTemplateNodeTaintArrayInput` via: +// +// GetNodeTemplateNodeTaintArray{ GetNodeTemplateNodeTaintArgs{...} } +type GetNodeTemplateNodeTaintArrayInput interface { + pulumi.Input + + ToGetNodeTemplateNodeTaintArrayOutput() GetNodeTemplateNodeTaintArrayOutput + ToGetNodeTemplateNodeTaintArrayOutputWithContext(context.Context) GetNodeTemplateNodeTaintArrayOutput +} + +type GetNodeTemplateNodeTaintArray []GetNodeTemplateNodeTaintInput + +func (GetNodeTemplateNodeTaintArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNodeTemplateNodeTaint)(nil)).Elem() +} + +func (i GetNodeTemplateNodeTaintArray) ToGetNodeTemplateNodeTaintArrayOutput() GetNodeTemplateNodeTaintArrayOutput { + return i.ToGetNodeTemplateNodeTaintArrayOutputWithContext(context.Background()) +} + +func (i GetNodeTemplateNodeTaintArray) ToGetNodeTemplateNodeTaintArrayOutputWithContext(ctx context.Context) GetNodeTemplateNodeTaintArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNodeTemplateNodeTaintArrayOutput) +} + +type GetNodeTemplateNodeTaintOutput struct{ *pulumi.OutputState } + +func (GetNodeTemplateNodeTaintOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNodeTemplateNodeTaint)(nil)).Elem() +} + +func (o GetNodeTemplateNodeTaintOutput) ToGetNodeTemplateNodeTaintOutput() GetNodeTemplateNodeTaintOutput { + return o +} + +func (o GetNodeTemplateNodeTaintOutput) ToGetNodeTemplateNodeTaintOutputWithContext(ctx context.Context) GetNodeTemplateNodeTaintOutput { + return o +} + +func (o GetNodeTemplateNodeTaintOutput) Effect() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNodeTemplateNodeTaint) *string { return v.Effect }).(pulumi.StringPtrOutput) +} + +func (o GetNodeTemplateNodeTaintOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetNodeTemplateNodeTaint) string { return v.Key }).(pulumi.StringOutput) +} + +func (o GetNodeTemplateNodeTaintOutput) TimeAdded() pulumi.StringOutput { + return o.ApplyT(func(v GetNodeTemplateNodeTaint) string { return v.TimeAdded }).(pulumi.StringOutput) +} + +func (o GetNodeTemplateNodeTaintOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetNodeTemplateNodeTaint) string { return v.Value }).(pulumi.StringOutput) +} + +type GetNodeTemplateNodeTaintArrayOutput struct{ *pulumi.OutputState } + +func (GetNodeTemplateNodeTaintArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNodeTemplateNodeTaint)(nil)).Elem() +} + +func (o GetNodeTemplateNodeTaintArrayOutput) ToGetNodeTemplateNodeTaintArrayOutput() GetNodeTemplateNodeTaintArrayOutput { + return o +} + +func (o GetNodeTemplateNodeTaintArrayOutput) ToGetNodeTemplateNodeTaintArrayOutputWithContext(ctx context.Context) GetNodeTemplateNodeTaintArrayOutput { + return o +} + +func (o GetNodeTemplateNodeTaintArrayOutput) Index(i pulumi.IntInput) GetNodeTemplateNodeTaintOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNodeTemplateNodeTaint { + return vs[0].([]GetNodeTemplateNodeTaint)[vs[1].(int)] + }).(GetNodeTemplateNodeTaintOutput) +} + +type GetNotifierDingtalkConfig struct { + ProxyUrl *string `pulumi:"proxyUrl"` + Secret *string `pulumi:"secret"` + Url string `pulumi:"url"` +} + +// GetNotifierDingtalkConfigInput is an input type that accepts GetNotifierDingtalkConfigArgs and GetNotifierDingtalkConfigOutput values. +// You can construct a concrete instance of `GetNotifierDingtalkConfigInput` via: +// +// GetNotifierDingtalkConfigArgs{...} +type GetNotifierDingtalkConfigInput interface { + pulumi.Input + + ToGetNotifierDingtalkConfigOutput() GetNotifierDingtalkConfigOutput + ToGetNotifierDingtalkConfigOutputWithContext(context.Context) GetNotifierDingtalkConfigOutput +} + +type GetNotifierDingtalkConfigArgs struct { + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + Secret pulumi.StringPtrInput `pulumi:"secret"` + Url pulumi.StringInput `pulumi:"url"` +} + +func (GetNotifierDingtalkConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierDingtalkConfig)(nil)).Elem() +} + +func (i GetNotifierDingtalkConfigArgs) ToGetNotifierDingtalkConfigOutput() GetNotifierDingtalkConfigOutput { + return i.ToGetNotifierDingtalkConfigOutputWithContext(context.Background()) +} + +func (i GetNotifierDingtalkConfigArgs) ToGetNotifierDingtalkConfigOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierDingtalkConfigOutput) +} + +func (i GetNotifierDingtalkConfigArgs) ToGetNotifierDingtalkConfigPtrOutput() GetNotifierDingtalkConfigPtrOutput { + return i.ToGetNotifierDingtalkConfigPtrOutputWithContext(context.Background()) +} + +func (i GetNotifierDingtalkConfigArgs) ToGetNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierDingtalkConfigOutput).ToGetNotifierDingtalkConfigPtrOutputWithContext(ctx) +} + +// GetNotifierDingtalkConfigPtrInput is an input type that accepts GetNotifierDingtalkConfigArgs, GetNotifierDingtalkConfigPtr and GetNotifierDingtalkConfigPtrOutput values. +// You can construct a concrete instance of `GetNotifierDingtalkConfigPtrInput` via: +// +// GetNotifierDingtalkConfigArgs{...} +// +// or: +// +// nil +type GetNotifierDingtalkConfigPtrInput interface { + pulumi.Input + + ToGetNotifierDingtalkConfigPtrOutput() GetNotifierDingtalkConfigPtrOutput + ToGetNotifierDingtalkConfigPtrOutputWithContext(context.Context) GetNotifierDingtalkConfigPtrOutput +} + +type getNotifierDingtalkConfigPtrType GetNotifierDingtalkConfigArgs + +func GetNotifierDingtalkConfigPtr(v *GetNotifierDingtalkConfigArgs) GetNotifierDingtalkConfigPtrInput { + return (*getNotifierDingtalkConfigPtrType)(v) +} + +func (*getNotifierDingtalkConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetNotifierDingtalkConfig)(nil)).Elem() +} + +func (i *getNotifierDingtalkConfigPtrType) ToGetNotifierDingtalkConfigPtrOutput() GetNotifierDingtalkConfigPtrOutput { + return i.ToGetNotifierDingtalkConfigPtrOutputWithContext(context.Background()) +} + +func (i *getNotifierDingtalkConfigPtrType) ToGetNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierDingtalkConfigPtrOutput) +} + +type GetNotifierDingtalkConfigOutput struct{ *pulumi.OutputState } + +func (GetNotifierDingtalkConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierDingtalkConfig)(nil)).Elem() +} + +func (o GetNotifierDingtalkConfigOutput) ToGetNotifierDingtalkConfigOutput() GetNotifierDingtalkConfigOutput { + return o +} + +func (o GetNotifierDingtalkConfigOutput) ToGetNotifierDingtalkConfigOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigOutput { + return o +} + +func (o GetNotifierDingtalkConfigOutput) ToGetNotifierDingtalkConfigPtrOutput() GetNotifierDingtalkConfigPtrOutput { + return o.ToGetNotifierDingtalkConfigPtrOutputWithContext(context.Background()) +} + +func (o GetNotifierDingtalkConfigOutput) ToGetNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetNotifierDingtalkConfig) *GetNotifierDingtalkConfig { + return &v + }).(GetNotifierDingtalkConfigPtrOutput) +} + +func (o GetNotifierDingtalkConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotifierDingtalkConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierDingtalkConfigOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotifierDingtalkConfig) *string { return v.Secret }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierDingtalkConfigOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierDingtalkConfig) string { return v.Url }).(pulumi.StringOutput) +} + +type GetNotifierDingtalkConfigPtrOutput struct{ *pulumi.OutputState } + +func (GetNotifierDingtalkConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetNotifierDingtalkConfig)(nil)).Elem() +} + +func (o GetNotifierDingtalkConfigPtrOutput) ToGetNotifierDingtalkConfigPtrOutput() GetNotifierDingtalkConfigPtrOutput { + return o +} + +func (o GetNotifierDingtalkConfigPtrOutput) ToGetNotifierDingtalkConfigPtrOutputWithContext(ctx context.Context) GetNotifierDingtalkConfigPtrOutput { + return o +} + +func (o GetNotifierDingtalkConfigPtrOutput) Elem() GetNotifierDingtalkConfigOutput { + return o.ApplyT(func(v *GetNotifierDingtalkConfig) GetNotifierDingtalkConfig { + if v != nil { + return *v + } + var ret GetNotifierDingtalkConfig + return ret + }).(GetNotifierDingtalkConfigOutput) +} + +func (o GetNotifierDingtalkConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetNotifierDingtalkConfig) *string { + if v == nil { + return nil + } + return v.ProxyUrl + }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierDingtalkConfigPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetNotifierDingtalkConfig) *string { + if v == nil { + return nil + } + return v.Secret + }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierDingtalkConfigPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetNotifierDingtalkConfig) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) +} + +type GetNotifierMsteamsConfig struct { + ProxyUrl *string `pulumi:"proxyUrl"` + Url string `pulumi:"url"` +} + +// GetNotifierMsteamsConfigInput is an input type that accepts GetNotifierMsteamsConfigArgs and GetNotifierMsteamsConfigOutput values. +// You can construct a concrete instance of `GetNotifierMsteamsConfigInput` via: +// +// GetNotifierMsteamsConfigArgs{...} +type GetNotifierMsteamsConfigInput interface { + pulumi.Input + + ToGetNotifierMsteamsConfigOutput() GetNotifierMsteamsConfigOutput + ToGetNotifierMsteamsConfigOutputWithContext(context.Context) GetNotifierMsteamsConfigOutput +} + +type GetNotifierMsteamsConfigArgs struct { + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + Url pulumi.StringInput `pulumi:"url"` +} + +func (GetNotifierMsteamsConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierMsteamsConfig)(nil)).Elem() +} + +func (i GetNotifierMsteamsConfigArgs) ToGetNotifierMsteamsConfigOutput() GetNotifierMsteamsConfigOutput { + return i.ToGetNotifierMsteamsConfigOutputWithContext(context.Background()) +} + +func (i GetNotifierMsteamsConfigArgs) ToGetNotifierMsteamsConfigOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierMsteamsConfigOutput) +} + +func (i GetNotifierMsteamsConfigArgs) ToGetNotifierMsteamsConfigPtrOutput() GetNotifierMsteamsConfigPtrOutput { + return i.ToGetNotifierMsteamsConfigPtrOutputWithContext(context.Background()) +} + +func (i GetNotifierMsteamsConfigArgs) ToGetNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierMsteamsConfigOutput).ToGetNotifierMsteamsConfigPtrOutputWithContext(ctx) +} + +// GetNotifierMsteamsConfigPtrInput is an input type that accepts GetNotifierMsteamsConfigArgs, GetNotifierMsteamsConfigPtr and GetNotifierMsteamsConfigPtrOutput values. +// You can construct a concrete instance of `GetNotifierMsteamsConfigPtrInput` via: +// +// GetNotifierMsteamsConfigArgs{...} +// +// or: +// +// nil +type GetNotifierMsteamsConfigPtrInput interface { + pulumi.Input + + ToGetNotifierMsteamsConfigPtrOutput() GetNotifierMsteamsConfigPtrOutput + ToGetNotifierMsteamsConfigPtrOutputWithContext(context.Context) GetNotifierMsteamsConfigPtrOutput +} + +type getNotifierMsteamsConfigPtrType GetNotifierMsteamsConfigArgs + +func GetNotifierMsteamsConfigPtr(v *GetNotifierMsteamsConfigArgs) GetNotifierMsteamsConfigPtrInput { + return (*getNotifierMsteamsConfigPtrType)(v) +} + +func (*getNotifierMsteamsConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetNotifierMsteamsConfig)(nil)).Elem() +} + +func (i *getNotifierMsteamsConfigPtrType) ToGetNotifierMsteamsConfigPtrOutput() GetNotifierMsteamsConfigPtrOutput { + return i.ToGetNotifierMsteamsConfigPtrOutputWithContext(context.Background()) +} + +func (i *getNotifierMsteamsConfigPtrType) ToGetNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierMsteamsConfigPtrOutput) +} + +type GetNotifierMsteamsConfigOutput struct{ *pulumi.OutputState } + +func (GetNotifierMsteamsConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierMsteamsConfig)(nil)).Elem() +} + +func (o GetNotifierMsteamsConfigOutput) ToGetNotifierMsteamsConfigOutput() GetNotifierMsteamsConfigOutput { + return o +} + +func (o GetNotifierMsteamsConfigOutput) ToGetNotifierMsteamsConfigOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigOutput { + return o +} + +func (o GetNotifierMsteamsConfigOutput) ToGetNotifierMsteamsConfigPtrOutput() GetNotifierMsteamsConfigPtrOutput { + return o.ToGetNotifierMsteamsConfigPtrOutputWithContext(context.Background()) +} + +func (o GetNotifierMsteamsConfigOutput) ToGetNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetNotifierMsteamsConfig) *GetNotifierMsteamsConfig { + return &v + }).(GetNotifierMsteamsConfigPtrOutput) +} + +func (o GetNotifierMsteamsConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotifierMsteamsConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierMsteamsConfigOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierMsteamsConfig) string { return v.Url }).(pulumi.StringOutput) +} + +type GetNotifierMsteamsConfigPtrOutput struct{ *pulumi.OutputState } + +func (GetNotifierMsteamsConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetNotifierMsteamsConfig)(nil)).Elem() +} + +func (o GetNotifierMsteamsConfigPtrOutput) ToGetNotifierMsteamsConfigPtrOutput() GetNotifierMsteamsConfigPtrOutput { + return o +} + +func (o GetNotifierMsteamsConfigPtrOutput) ToGetNotifierMsteamsConfigPtrOutputWithContext(ctx context.Context) GetNotifierMsteamsConfigPtrOutput { + return o +} + +func (o GetNotifierMsteamsConfigPtrOutput) Elem() GetNotifierMsteamsConfigOutput { + return o.ApplyT(func(v *GetNotifierMsteamsConfig) GetNotifierMsteamsConfig { + if v != nil { + return *v + } + var ret GetNotifierMsteamsConfig + return ret + }).(GetNotifierMsteamsConfigOutput) +} + +func (o GetNotifierMsteamsConfigPtrOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetNotifierMsteamsConfig) *string { + if v == nil { + return nil + } + return v.ProxyUrl + }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierMsteamsConfigPtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetNotifierMsteamsConfig) *string { + if v == nil { + return nil + } + return &v.Url + }).(pulumi.StringPtrOutput) +} + +type GetNotifierPagerdutyConfig struct { + ProxyUrl *string `pulumi:"proxyUrl"` + ServiceKey string `pulumi:"serviceKey"` +} + +// GetNotifierPagerdutyConfigInput is an input type that accepts GetNotifierPagerdutyConfigArgs and GetNotifierPagerdutyConfigOutput values. +// You can construct a concrete instance of `GetNotifierPagerdutyConfigInput` via: +// +// GetNotifierPagerdutyConfigArgs{...} +type GetNotifierPagerdutyConfigInput interface { + pulumi.Input + + ToGetNotifierPagerdutyConfigOutput() GetNotifierPagerdutyConfigOutput + ToGetNotifierPagerdutyConfigOutputWithContext(context.Context) GetNotifierPagerdutyConfigOutput +} + +type GetNotifierPagerdutyConfigArgs struct { + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + ServiceKey pulumi.StringInput `pulumi:"serviceKey"` +} + +func (GetNotifierPagerdutyConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierPagerdutyConfig)(nil)).Elem() +} + +func (i GetNotifierPagerdutyConfigArgs) ToGetNotifierPagerdutyConfigOutput() GetNotifierPagerdutyConfigOutput { + return i.ToGetNotifierPagerdutyConfigOutputWithContext(context.Background()) +} + +func (i GetNotifierPagerdutyConfigArgs) ToGetNotifierPagerdutyConfigOutputWithContext(ctx context.Context) GetNotifierPagerdutyConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierPagerdutyConfigOutput) +} + +type GetNotifierPagerdutyConfigOutput struct{ *pulumi.OutputState } + +func (GetNotifierPagerdutyConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierPagerdutyConfig)(nil)).Elem() +} + +func (o GetNotifierPagerdutyConfigOutput) ToGetNotifierPagerdutyConfigOutput() GetNotifierPagerdutyConfigOutput { + return o +} + +func (o GetNotifierPagerdutyConfigOutput) ToGetNotifierPagerdutyConfigOutputWithContext(ctx context.Context) GetNotifierPagerdutyConfigOutput { + return o +} + +func (o GetNotifierPagerdutyConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotifierPagerdutyConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierPagerdutyConfigOutput) ServiceKey() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierPagerdutyConfig) string { return v.ServiceKey }).(pulumi.StringOutput) +} + +type GetNotifierSlackConfig struct { + DefaultRecipient string `pulumi:"defaultRecipient"` + ProxyUrl *string `pulumi:"proxyUrl"` + Url string `pulumi:"url"` +} + +// GetNotifierSlackConfigInput is an input type that accepts GetNotifierSlackConfigArgs and GetNotifierSlackConfigOutput values. +// You can construct a concrete instance of `GetNotifierSlackConfigInput` via: +// +// GetNotifierSlackConfigArgs{...} +type GetNotifierSlackConfigInput interface { + pulumi.Input + + ToGetNotifierSlackConfigOutput() GetNotifierSlackConfigOutput + ToGetNotifierSlackConfigOutputWithContext(context.Context) GetNotifierSlackConfigOutput +} + +type GetNotifierSlackConfigArgs struct { + DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + Url pulumi.StringInput `pulumi:"url"` +} + +func (GetNotifierSlackConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierSlackConfig)(nil)).Elem() +} + +func (i GetNotifierSlackConfigArgs) ToGetNotifierSlackConfigOutput() GetNotifierSlackConfigOutput { + return i.ToGetNotifierSlackConfigOutputWithContext(context.Background()) +} + +func (i GetNotifierSlackConfigArgs) ToGetNotifierSlackConfigOutputWithContext(ctx context.Context) GetNotifierSlackConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierSlackConfigOutput) +} + +type GetNotifierSlackConfigOutput struct{ *pulumi.OutputState } + +func (GetNotifierSlackConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierSlackConfig)(nil)).Elem() +} + +func (o GetNotifierSlackConfigOutput) ToGetNotifierSlackConfigOutput() GetNotifierSlackConfigOutput { + return o +} + +func (o GetNotifierSlackConfigOutput) ToGetNotifierSlackConfigOutputWithContext(ctx context.Context) GetNotifierSlackConfigOutput { + return o +} + +func (o GetNotifierSlackConfigOutput) DefaultRecipient() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierSlackConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) +} + +func (o GetNotifierSlackConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotifierSlackConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierSlackConfigOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierSlackConfig) string { return v.Url }).(pulumi.StringOutput) +} + +type GetNotifierSmtpConfig struct { + DefaultRecipient string `pulumi:"defaultRecipient"` + Host string `pulumi:"host"` + Password *string `pulumi:"password"` + Port int `pulumi:"port"` + Sender string `pulumi:"sender"` + Tls *bool `pulumi:"tls"` + Username *string `pulumi:"username"` +} + +// GetNotifierSmtpConfigInput is an input type that accepts GetNotifierSmtpConfigArgs and GetNotifierSmtpConfigOutput values. +// You can construct a concrete instance of `GetNotifierSmtpConfigInput` via: +// +// GetNotifierSmtpConfigArgs{...} +type GetNotifierSmtpConfigInput interface { + pulumi.Input + + ToGetNotifierSmtpConfigOutput() GetNotifierSmtpConfigOutput + ToGetNotifierSmtpConfigOutputWithContext(context.Context) GetNotifierSmtpConfigOutput +} + +type GetNotifierSmtpConfigArgs struct { + DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` + Host pulumi.StringInput `pulumi:"host"` + Password pulumi.StringPtrInput `pulumi:"password"` + Port pulumi.IntInput `pulumi:"port"` + Sender pulumi.StringInput `pulumi:"sender"` + Tls pulumi.BoolPtrInput `pulumi:"tls"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (GetNotifierSmtpConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierSmtpConfig)(nil)).Elem() +} + +func (i GetNotifierSmtpConfigArgs) ToGetNotifierSmtpConfigOutput() GetNotifierSmtpConfigOutput { + return i.ToGetNotifierSmtpConfigOutputWithContext(context.Background()) +} + +func (i GetNotifierSmtpConfigArgs) ToGetNotifierSmtpConfigOutputWithContext(ctx context.Context) GetNotifierSmtpConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierSmtpConfigOutput) +} + +type GetNotifierSmtpConfigOutput struct{ *pulumi.OutputState } + +func (GetNotifierSmtpConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierSmtpConfig)(nil)).Elem() +} + +func (o GetNotifierSmtpConfigOutput) ToGetNotifierSmtpConfigOutput() GetNotifierSmtpConfigOutput { + return o +} + +func (o GetNotifierSmtpConfigOutput) ToGetNotifierSmtpConfigOutputWithContext(ctx context.Context) GetNotifierSmtpConfigOutput { + return o +} + +func (o GetNotifierSmtpConfigOutput) DefaultRecipient() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierSmtpConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) +} + +func (o GetNotifierSmtpConfigOutput) Host() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierSmtpConfig) string { return v.Host }).(pulumi.StringOutput) +} + +func (o GetNotifierSmtpConfigOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotifierSmtpConfig) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierSmtpConfigOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v GetNotifierSmtpConfig) int { return v.Port }).(pulumi.IntOutput) +} + +func (o GetNotifierSmtpConfigOutput) Sender() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierSmtpConfig) string { return v.Sender }).(pulumi.StringOutput) +} + +func (o GetNotifierSmtpConfigOutput) Tls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetNotifierSmtpConfig) *bool { return v.Tls }).(pulumi.BoolPtrOutput) +} + +func (o GetNotifierSmtpConfigOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotifierSmtpConfig) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type GetNotifierWebhookConfig struct { + ProxyUrl *string `pulumi:"proxyUrl"` + Url string `pulumi:"url"` +} + +// GetNotifierWebhookConfigInput is an input type that accepts GetNotifierWebhookConfigArgs and GetNotifierWebhookConfigOutput values. +// You can construct a concrete instance of `GetNotifierWebhookConfigInput` via: +// +// GetNotifierWebhookConfigArgs{...} +type GetNotifierWebhookConfigInput interface { + pulumi.Input + + ToGetNotifierWebhookConfigOutput() GetNotifierWebhookConfigOutput + ToGetNotifierWebhookConfigOutputWithContext(context.Context) GetNotifierWebhookConfigOutput +} + +type GetNotifierWebhookConfigArgs struct { + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + Url pulumi.StringInput `pulumi:"url"` +} + +func (GetNotifierWebhookConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierWebhookConfig)(nil)).Elem() +} + +func (i GetNotifierWebhookConfigArgs) ToGetNotifierWebhookConfigOutput() GetNotifierWebhookConfigOutput { + return i.ToGetNotifierWebhookConfigOutputWithContext(context.Background()) +} + +func (i GetNotifierWebhookConfigArgs) ToGetNotifierWebhookConfigOutputWithContext(ctx context.Context) GetNotifierWebhookConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierWebhookConfigOutput) +} + +type GetNotifierWebhookConfigOutput struct{ *pulumi.OutputState } + +func (GetNotifierWebhookConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierWebhookConfig)(nil)).Elem() +} + +func (o GetNotifierWebhookConfigOutput) ToGetNotifierWebhookConfigOutput() GetNotifierWebhookConfigOutput { + return o +} + +func (o GetNotifierWebhookConfigOutput) ToGetNotifierWebhookConfigOutputWithContext(ctx context.Context) GetNotifierWebhookConfigOutput { + return o +} + +func (o GetNotifierWebhookConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotifierWebhookConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierWebhookConfigOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierWebhookConfig) string { return v.Url }).(pulumi.StringOutput) +} + +type GetNotifierWechatConfig struct { + Agent string `pulumi:"agent"` + Corp string `pulumi:"corp"` + DefaultRecipient string `pulumi:"defaultRecipient"` + ProxyUrl *string `pulumi:"proxyUrl"` + RecipientType *string `pulumi:"recipientType"` + Secret string `pulumi:"secret"` +} + +// GetNotifierWechatConfigInput is an input type that accepts GetNotifierWechatConfigArgs and GetNotifierWechatConfigOutput values. +// You can construct a concrete instance of `GetNotifierWechatConfigInput` via: +// +// GetNotifierWechatConfigArgs{...} +type GetNotifierWechatConfigInput interface { + pulumi.Input + + ToGetNotifierWechatConfigOutput() GetNotifierWechatConfigOutput + ToGetNotifierWechatConfigOutputWithContext(context.Context) GetNotifierWechatConfigOutput +} + +type GetNotifierWechatConfigArgs struct { + Agent pulumi.StringInput `pulumi:"agent"` + Corp pulumi.StringInput `pulumi:"corp"` + DefaultRecipient pulumi.StringInput `pulumi:"defaultRecipient"` + ProxyUrl pulumi.StringPtrInput `pulumi:"proxyUrl"` + RecipientType pulumi.StringPtrInput `pulumi:"recipientType"` + Secret pulumi.StringInput `pulumi:"secret"` +} + +func (GetNotifierWechatConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierWechatConfig)(nil)).Elem() +} + +func (i GetNotifierWechatConfigArgs) ToGetNotifierWechatConfigOutput() GetNotifierWechatConfigOutput { + return i.ToGetNotifierWechatConfigOutputWithContext(context.Background()) +} + +func (i GetNotifierWechatConfigArgs) ToGetNotifierWechatConfigOutputWithContext(ctx context.Context) GetNotifierWechatConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNotifierWechatConfigOutput) +} + +type GetNotifierWechatConfigOutput struct{ *pulumi.OutputState } + +func (GetNotifierWechatConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNotifierWechatConfig)(nil)).Elem() +} + +func (o GetNotifierWechatConfigOutput) ToGetNotifierWechatConfigOutput() GetNotifierWechatConfigOutput { + return o +} + +func (o GetNotifierWechatConfigOutput) ToGetNotifierWechatConfigOutputWithContext(ctx context.Context) GetNotifierWechatConfigOutput { + return o +} + +func (o GetNotifierWechatConfigOutput) Agent() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierWechatConfig) string { return v.Agent }).(pulumi.StringOutput) +} + +func (o GetNotifierWechatConfigOutput) Corp() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierWechatConfig) string { return v.Corp }).(pulumi.StringOutput) +} + +func (o GetNotifierWechatConfigOutput) DefaultRecipient() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierWechatConfig) string { return v.DefaultRecipient }).(pulumi.StringOutput) +} + +func (o GetNotifierWechatConfigOutput) ProxyUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotifierWechatConfig) *string { return v.ProxyUrl }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierWechatConfigOutput) RecipientType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetNotifierWechatConfig) *string { return v.RecipientType }).(pulumi.StringPtrOutput) +} + +func (o GetNotifierWechatConfigOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v GetNotifierWechatConfig) string { return v.Secret }).(pulumi.StringOutput) +} + +type GetPodSecurityPolicyTemplateAllowedCsiDriver struct { + // The name of the PodSecurityPolicyTemplate (string) + Name string `pulumi:"name"` +} + +// GetPodSecurityPolicyTemplateAllowedCsiDriverInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedCsiDriverArgs and GetPodSecurityPolicyTemplateAllowedCsiDriverOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedCsiDriverInput` via: +// +// GetPodSecurityPolicyTemplateAllowedCsiDriverArgs{...} +type GetPodSecurityPolicyTemplateAllowedCsiDriverInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverOutput + ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverOutput +} + +type GetPodSecurityPolicyTemplateAllowedCsiDriverArgs struct { + // The name of the PodSecurityPolicyTemplate (string) + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetPodSecurityPolicyTemplateAllowedCsiDriverArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateAllowedCsiDriverArgs) ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverOutput { + return i.ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateAllowedCsiDriverArgs) ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) +} + +// GetPodSecurityPolicyTemplateAllowedCsiDriverArrayInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedCsiDriverArray and GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedCsiDriverArrayInput` via: +// +// GetPodSecurityPolicyTemplateAllowedCsiDriverArray{ GetPodSecurityPolicyTemplateAllowedCsiDriverArgs{...} } +type GetPodSecurityPolicyTemplateAllowedCsiDriverArrayInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput + ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput +} + +type GetPodSecurityPolicyTemplateAllowedCsiDriverArray []GetPodSecurityPolicyTemplateAllowedCsiDriverInput + +func (GetPodSecurityPolicyTemplateAllowedCsiDriverArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateAllowedCsiDriverArray) ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { + return i.ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateAllowedCsiDriverArray) ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) +} + +type GetPodSecurityPolicyTemplateAllowedCsiDriverOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) ToGetPodSecurityPolicyTemplateAllowedCsiDriverOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverOutput { + return o +} + +// The name of the PodSecurityPolicyTemplate (string) +func (o GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateAllowedCsiDriver) string { return v.Name }).(pulumi.StringOutput) +} + +type GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedCsiDriver)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput() GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) ToGetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateAllowedCsiDriverOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateAllowedCsiDriver { + return vs[0].([]GetPodSecurityPolicyTemplateAllowedCsiDriver)[vs[1].(int)] + }).(GetPodSecurityPolicyTemplateAllowedCsiDriverOutput) +} + +type GetPodSecurityPolicyTemplateAllowedFlexVolume struct { + Driver string `pulumi:"driver"` +} + +// GetPodSecurityPolicyTemplateAllowedFlexVolumeInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs and GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedFlexVolumeInput` via: +// +// GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs{...} +type GetPodSecurityPolicyTemplateAllowedFlexVolumeInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput + ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput +} + +type GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs struct { + Driver pulumi.StringInput `pulumi:"driver"` +} + +func (GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput { + return i.ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) +} + +// GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedFlexVolumeArray and GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayInput` via: +// +// GetPodSecurityPolicyTemplateAllowedFlexVolumeArray{ GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs{...} } +type GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput + ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput +} + +type GetPodSecurityPolicyTemplateAllowedFlexVolumeArray []GetPodSecurityPolicyTemplateAllowedFlexVolumeInput + +func (GetPodSecurityPolicyTemplateAllowedFlexVolumeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateAllowedFlexVolumeArray) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { + return i.ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateAllowedFlexVolumeArray) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) +} + +type GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) Driver() pulumi.StringOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateAllowedFlexVolume) string { return v.Driver }).(pulumi.StringOutput) +} + +type GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedFlexVolume)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput() GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) ToGetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateAllowedFlexVolume { + return vs[0].([]GetPodSecurityPolicyTemplateAllowedFlexVolume)[vs[1].(int)] + }).(GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput) +} + +type GetPodSecurityPolicyTemplateAllowedHostPath struct { + PathPrefix string `pulumi:"pathPrefix"` + ReadOnly *bool `pulumi:"readOnly"` +} + +// GetPodSecurityPolicyTemplateAllowedHostPathInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedHostPathArgs and GetPodSecurityPolicyTemplateAllowedHostPathOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedHostPathInput` via: +// +// GetPodSecurityPolicyTemplateAllowedHostPathArgs{...} +type GetPodSecurityPolicyTemplateAllowedHostPathInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateAllowedHostPathOutput() GetPodSecurityPolicyTemplateAllowedHostPathOutput + ToGetPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedHostPathOutput +} + +type GetPodSecurityPolicyTemplateAllowedHostPathArgs struct { + PathPrefix pulumi.StringInput `pulumi:"pathPrefix"` + ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` +} + +func (GetPodSecurityPolicyTemplateAllowedHostPathArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateAllowedHostPathArgs) ToGetPodSecurityPolicyTemplateAllowedHostPathOutput() GetPodSecurityPolicyTemplateAllowedHostPathOutput { + return i.ToGetPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateAllowedHostPathArgs) ToGetPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedHostPathOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedHostPathOutput) +} + +// GetPodSecurityPolicyTemplateAllowedHostPathArrayInput is an input type that accepts GetPodSecurityPolicyTemplateAllowedHostPathArray and GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateAllowedHostPathArrayInput` via: +// +// GetPodSecurityPolicyTemplateAllowedHostPathArray{ GetPodSecurityPolicyTemplateAllowedHostPathArgs{...} } +type GetPodSecurityPolicyTemplateAllowedHostPathArrayInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutput() GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput + ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput +} + +type GetPodSecurityPolicyTemplateAllowedHostPathArray []GetPodSecurityPolicyTemplateAllowedHostPathInput + +func (GetPodSecurityPolicyTemplateAllowedHostPathArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateAllowedHostPathArray) ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutput() GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput { + return i.ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateAllowedHostPathArray) ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput) +} + +type GetPodSecurityPolicyTemplateAllowedHostPathOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateAllowedHostPathOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateAllowedHostPathOutput) ToGetPodSecurityPolicyTemplateAllowedHostPathOutput() GetPodSecurityPolicyTemplateAllowedHostPathOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedHostPathOutput) ToGetPodSecurityPolicyTemplateAllowedHostPathOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedHostPathOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedHostPathOutput) PathPrefix() pulumi.StringOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateAllowedHostPath) string { return v.PathPrefix }).(pulumi.StringOutput) +} + +func (o GetPodSecurityPolicyTemplateAllowedHostPathOutput) ReadOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateAllowedHostPath) *bool { return v.ReadOnly }).(pulumi.BoolPtrOutput) +} + +type GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateAllowedHostPath)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput) ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutput() GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput) ToGetPodSecurityPolicyTemplateAllowedHostPathArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateAllowedHostPathOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateAllowedHostPath { + return vs[0].([]GetPodSecurityPolicyTemplateAllowedHostPath)[vs[1].(int)] + }).(GetPodSecurityPolicyTemplateAllowedHostPathOutput) +} + +type GetPodSecurityPolicyTemplateFsGroup struct { + Ranges []GetPodSecurityPolicyTemplateFsGroupRange `pulumi:"ranges"` + Rule *string `pulumi:"rule"` +} + +// GetPodSecurityPolicyTemplateFsGroupInput is an input type that accepts GetPodSecurityPolicyTemplateFsGroupArgs and GetPodSecurityPolicyTemplateFsGroupOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateFsGroupInput` via: +// +// GetPodSecurityPolicyTemplateFsGroupArgs{...} +type GetPodSecurityPolicyTemplateFsGroupInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateFsGroupOutput() GetPodSecurityPolicyTemplateFsGroupOutput + ToGetPodSecurityPolicyTemplateFsGroupOutputWithContext(context.Context) GetPodSecurityPolicyTemplateFsGroupOutput +} + +type GetPodSecurityPolicyTemplateFsGroupArgs struct { + Ranges GetPodSecurityPolicyTemplateFsGroupRangeArrayInput `pulumi:"ranges"` + Rule pulumi.StringPtrInput `pulumi:"rule"` +} + +func (GetPodSecurityPolicyTemplateFsGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroup)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateFsGroupArgs) ToGetPodSecurityPolicyTemplateFsGroupOutput() GetPodSecurityPolicyTemplateFsGroupOutput { + return i.ToGetPodSecurityPolicyTemplateFsGroupOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateFsGroupArgs) ToGetPodSecurityPolicyTemplateFsGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateFsGroupOutput) +} + +func (i GetPodSecurityPolicyTemplateFsGroupArgs) ToGetPodSecurityPolicyTemplateFsGroupPtrOutput() GetPodSecurityPolicyTemplateFsGroupPtrOutput { + return i.ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateFsGroupArgs) ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateFsGroupOutput).ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx) +} + +// GetPodSecurityPolicyTemplateFsGroupPtrInput is an input type that accepts GetPodSecurityPolicyTemplateFsGroupArgs, GetPodSecurityPolicyTemplateFsGroupPtr and GetPodSecurityPolicyTemplateFsGroupPtrOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateFsGroupPtrInput` via: +// +// GetPodSecurityPolicyTemplateFsGroupArgs{...} +// +// or: +// +// nil +type GetPodSecurityPolicyTemplateFsGroupPtrInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateFsGroupPtrOutput() GetPodSecurityPolicyTemplateFsGroupPtrOutput + ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateFsGroupPtrOutput +} + +type getPodSecurityPolicyTemplateFsGroupPtrType GetPodSecurityPolicyTemplateFsGroupArgs + +func GetPodSecurityPolicyTemplateFsGroupPtr(v *GetPodSecurityPolicyTemplateFsGroupArgs) GetPodSecurityPolicyTemplateFsGroupPtrInput { + return (*getPodSecurityPolicyTemplateFsGroupPtrType)(v) +} + +func (*getPodSecurityPolicyTemplateFsGroupPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateFsGroup)(nil)).Elem() +} + +func (i *getPodSecurityPolicyTemplateFsGroupPtrType) ToGetPodSecurityPolicyTemplateFsGroupPtrOutput() GetPodSecurityPolicyTemplateFsGroupPtrOutput { + return i.ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) +} + +func (i *getPodSecurityPolicyTemplateFsGroupPtrType) ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateFsGroupPtrOutput) +} + +type GetPodSecurityPolicyTemplateFsGroupOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateFsGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroup)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateFsGroupOutput) ToGetPodSecurityPolicyTemplateFsGroupOutput() GetPodSecurityPolicyTemplateFsGroupOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateFsGroupOutput) ToGetPodSecurityPolicyTemplateFsGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateFsGroupOutput) ToGetPodSecurityPolicyTemplateFsGroupPtrOutput() GetPodSecurityPolicyTemplateFsGroupPtrOutput { + return o.ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(context.Background()) +} + +func (o GetPodSecurityPolicyTemplateFsGroupOutput) ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateFsGroup) *GetPodSecurityPolicyTemplateFsGroup { + return &v + }).(GetPodSecurityPolicyTemplateFsGroupPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateFsGroupOutput) Ranges() GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateFsGroup) []GetPodSecurityPolicyTemplateFsGroupRange { + return v.Ranges + }).(GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) +} + +func (o GetPodSecurityPolicyTemplateFsGroupOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateFsGroup) *string { return v.Rule }).(pulumi.StringPtrOutput) +} + +type GetPodSecurityPolicyTemplateFsGroupPtrOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateFsGroupPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateFsGroup)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateFsGroupPtrOutput) ToGetPodSecurityPolicyTemplateFsGroupPtrOutput() GetPodSecurityPolicyTemplateFsGroupPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateFsGroupPtrOutput) ToGetPodSecurityPolicyTemplateFsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateFsGroupPtrOutput) Elem() GetPodSecurityPolicyTemplateFsGroupOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateFsGroup) GetPodSecurityPolicyTemplateFsGroup { + if v != nil { + return *v + } + var ret GetPodSecurityPolicyTemplateFsGroup + return ret + }).(GetPodSecurityPolicyTemplateFsGroupOutput) +} + +func (o GetPodSecurityPolicyTemplateFsGroupPtrOutput) Ranges() GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateFsGroup) []GetPodSecurityPolicyTemplateFsGroupRange { + if v == nil { + return nil + } + return v.Ranges + }).(GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) +} + +func (o GetPodSecurityPolicyTemplateFsGroupPtrOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateFsGroup) *string { + if v == nil { + return nil + } + return v.Rule + }).(pulumi.StringPtrOutput) +} + +type GetPodSecurityPolicyTemplateFsGroupRange struct { + Max int `pulumi:"max"` + Min int `pulumi:"min"` +} + +// GetPodSecurityPolicyTemplateFsGroupRangeInput is an input type that accepts GetPodSecurityPolicyTemplateFsGroupRangeArgs and GetPodSecurityPolicyTemplateFsGroupRangeOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateFsGroupRangeInput` via: +// +// GetPodSecurityPolicyTemplateFsGroupRangeArgs{...} +type GetPodSecurityPolicyTemplateFsGroupRangeInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateFsGroupRangeOutput() GetPodSecurityPolicyTemplateFsGroupRangeOutput + ToGetPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(context.Context) GetPodSecurityPolicyTemplateFsGroupRangeOutput +} + +type GetPodSecurityPolicyTemplateFsGroupRangeArgs struct { + Max pulumi.IntInput `pulumi:"max"` + Min pulumi.IntInput `pulumi:"min"` +} + +func (GetPodSecurityPolicyTemplateFsGroupRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateFsGroupRangeArgs) ToGetPodSecurityPolicyTemplateFsGroupRangeOutput() GetPodSecurityPolicyTemplateFsGroupRangeOutput { + return i.ToGetPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateFsGroupRangeArgs) ToGetPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateFsGroupRangeOutput) +} + +// GetPodSecurityPolicyTemplateFsGroupRangeArrayInput is an input type that accepts GetPodSecurityPolicyTemplateFsGroupRangeArray and GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateFsGroupRangeArrayInput` via: +// +// GetPodSecurityPolicyTemplateFsGroupRangeArray{ GetPodSecurityPolicyTemplateFsGroupRangeArgs{...} } +type GetPodSecurityPolicyTemplateFsGroupRangeArrayInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput + ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput +} + +type GetPodSecurityPolicyTemplateFsGroupRangeArray []GetPodSecurityPolicyTemplateFsGroupRangeInput + +func (GetPodSecurityPolicyTemplateFsGroupRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateFsGroupRangeArray) ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return i.ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateFsGroupRangeArray) ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) +} + +type GetPodSecurityPolicyTemplateFsGroupRangeOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateFsGroupRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateFsGroupRangeOutput) ToGetPodSecurityPolicyTemplateFsGroupRangeOutput() GetPodSecurityPolicyTemplateFsGroupRangeOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateFsGroupRangeOutput) ToGetPodSecurityPolicyTemplateFsGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupRangeOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateFsGroupRangeOutput) Max() pulumi.IntOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateFsGroupRange) int { return v.Max }).(pulumi.IntOutput) +} + +func (o GetPodSecurityPolicyTemplateFsGroupRangeOutput) Min() pulumi.IntOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateFsGroupRange) int { return v.Min }).(pulumi.IntOutput) +} + +type GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateFsGroupRange)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateFsGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateFsGroupRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateFsGroupRange { + return vs[0].([]GetPodSecurityPolicyTemplateFsGroupRange)[vs[1].(int)] + }).(GetPodSecurityPolicyTemplateFsGroupRangeOutput) +} + +type GetPodSecurityPolicyTemplateHostPort struct { + Max int `pulumi:"max"` + Min int `pulumi:"min"` +} + +// GetPodSecurityPolicyTemplateHostPortInput is an input type that accepts GetPodSecurityPolicyTemplateHostPortArgs and GetPodSecurityPolicyTemplateHostPortOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateHostPortInput` via: +// +// GetPodSecurityPolicyTemplateHostPortArgs{...} +type GetPodSecurityPolicyTemplateHostPortInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateHostPortOutput() GetPodSecurityPolicyTemplateHostPortOutput + ToGetPodSecurityPolicyTemplateHostPortOutputWithContext(context.Context) GetPodSecurityPolicyTemplateHostPortOutput +} + +type GetPodSecurityPolicyTemplateHostPortArgs struct { + Max pulumi.IntInput `pulumi:"max"` + Min pulumi.IntInput `pulumi:"min"` +} + +func (GetPodSecurityPolicyTemplateHostPortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateHostPort)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateHostPortArgs) ToGetPodSecurityPolicyTemplateHostPortOutput() GetPodSecurityPolicyTemplateHostPortOutput { + return i.ToGetPodSecurityPolicyTemplateHostPortOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateHostPortArgs) ToGetPodSecurityPolicyTemplateHostPortOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateHostPortOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateHostPortOutput) +} + +// GetPodSecurityPolicyTemplateHostPortArrayInput is an input type that accepts GetPodSecurityPolicyTemplateHostPortArray and GetPodSecurityPolicyTemplateHostPortArrayOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateHostPortArrayInput` via: +// +// GetPodSecurityPolicyTemplateHostPortArray{ GetPodSecurityPolicyTemplateHostPortArgs{...} } +type GetPodSecurityPolicyTemplateHostPortArrayInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateHostPortArrayOutput() GetPodSecurityPolicyTemplateHostPortArrayOutput + ToGetPodSecurityPolicyTemplateHostPortArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateHostPortArrayOutput +} + +type GetPodSecurityPolicyTemplateHostPortArray []GetPodSecurityPolicyTemplateHostPortInput + +func (GetPodSecurityPolicyTemplateHostPortArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateHostPort)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateHostPortArray) ToGetPodSecurityPolicyTemplateHostPortArrayOutput() GetPodSecurityPolicyTemplateHostPortArrayOutput { + return i.ToGetPodSecurityPolicyTemplateHostPortArrayOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateHostPortArray) ToGetPodSecurityPolicyTemplateHostPortArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateHostPortArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateHostPortArrayOutput) +} + +type GetPodSecurityPolicyTemplateHostPortOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateHostPortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateHostPort)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateHostPortOutput) ToGetPodSecurityPolicyTemplateHostPortOutput() GetPodSecurityPolicyTemplateHostPortOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateHostPortOutput) ToGetPodSecurityPolicyTemplateHostPortOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateHostPortOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateHostPortOutput) Max() pulumi.IntOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateHostPort) int { return v.Max }).(pulumi.IntOutput) +} + +func (o GetPodSecurityPolicyTemplateHostPortOutput) Min() pulumi.IntOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateHostPort) int { return v.Min }).(pulumi.IntOutput) +} + +type GetPodSecurityPolicyTemplateHostPortArrayOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateHostPortArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateHostPort)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateHostPortArrayOutput) ToGetPodSecurityPolicyTemplateHostPortArrayOutput() GetPodSecurityPolicyTemplateHostPortArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateHostPortArrayOutput) ToGetPodSecurityPolicyTemplateHostPortArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateHostPortArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateHostPortArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateHostPortOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateHostPort { + return vs[0].([]GetPodSecurityPolicyTemplateHostPort)[vs[1].(int)] + }).(GetPodSecurityPolicyTemplateHostPortOutput) +} + +type GetPodSecurityPolicyTemplateRunAsGroup struct { + Ranges []GetPodSecurityPolicyTemplateRunAsGroupRange `pulumi:"ranges"` + Rule string `pulumi:"rule"` +} + +// GetPodSecurityPolicyTemplateRunAsGroupInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsGroupArgs and GetPodSecurityPolicyTemplateRunAsGroupOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsGroupInput` via: +// +// GetPodSecurityPolicyTemplateRunAsGroupArgs{...} +type GetPodSecurityPolicyTemplateRunAsGroupInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateRunAsGroupOutput() GetPodSecurityPolicyTemplateRunAsGroupOutput + ToGetPodSecurityPolicyTemplateRunAsGroupOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsGroupOutput +} + +type GetPodSecurityPolicyTemplateRunAsGroupArgs struct { + Ranges GetPodSecurityPolicyTemplateRunAsGroupRangeArrayInput `pulumi:"ranges"` + Rule pulumi.StringInput `pulumi:"rule"` +} + +func (GetPodSecurityPolicyTemplateRunAsGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateRunAsGroupArgs) ToGetPodSecurityPolicyTemplateRunAsGroupOutput() GetPodSecurityPolicyTemplateRunAsGroupOutput { + return i.ToGetPodSecurityPolicyTemplateRunAsGroupOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateRunAsGroupArgs) ToGetPodSecurityPolicyTemplateRunAsGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsGroupOutput) +} + +func (i GetPodSecurityPolicyTemplateRunAsGroupArgs) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutput() GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { + return i.ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateRunAsGroupArgs) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsGroupOutput).ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx) +} + +// GetPodSecurityPolicyTemplateRunAsGroupPtrInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsGroupArgs, GetPodSecurityPolicyTemplateRunAsGroupPtr and GetPodSecurityPolicyTemplateRunAsGroupPtrOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsGroupPtrInput` via: +// +// GetPodSecurityPolicyTemplateRunAsGroupArgs{...} +// +// or: +// +// nil +type GetPodSecurityPolicyTemplateRunAsGroupPtrInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutput() GetPodSecurityPolicyTemplateRunAsGroupPtrOutput + ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsGroupPtrOutput +} + +type getPodSecurityPolicyTemplateRunAsGroupPtrType GetPodSecurityPolicyTemplateRunAsGroupArgs + +func GetPodSecurityPolicyTemplateRunAsGroupPtr(v *GetPodSecurityPolicyTemplateRunAsGroupArgs) GetPodSecurityPolicyTemplateRunAsGroupPtrInput { + return (*getPodSecurityPolicyTemplateRunAsGroupPtrType)(v) +} + +func (*getPodSecurityPolicyTemplateRunAsGroupPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +} + +func (i *getPodSecurityPolicyTemplateRunAsGroupPtrType) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutput() GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { + return i.ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) +} + +func (i *getPodSecurityPolicyTemplateRunAsGroupPtrType) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) +} + +type GetPodSecurityPolicyTemplateRunAsGroupOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateRunAsGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) ToGetPodSecurityPolicyTemplateRunAsGroupOutput() GetPodSecurityPolicyTemplateRunAsGroupOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) ToGetPodSecurityPolicyTemplateRunAsGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutput() GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { + return o.ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(context.Background()) +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateRunAsGroup) *GetPodSecurityPolicyTemplateRunAsGroup { + return &v + }).(GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) Ranges() GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsGroup) []GetPodSecurityPolicyTemplateRunAsGroupRange { + return v.Ranges + }).(GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupOutput) Rule() pulumi.StringOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsGroup) string { return v.Rule }).(pulumi.StringOutput) +} + +type GetPodSecurityPolicyTemplateRunAsGroupPtrOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateRunAsGroup)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutput() GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) ToGetPodSecurityPolicyTemplateRunAsGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) Elem() GetPodSecurityPolicyTemplateRunAsGroupOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsGroup) GetPodSecurityPolicyTemplateRunAsGroup { + if v != nil { + return *v + } + var ret GetPodSecurityPolicyTemplateRunAsGroup + return ret + }).(GetPodSecurityPolicyTemplateRunAsGroupOutput) +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) Ranges() GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsGroup) []GetPodSecurityPolicyTemplateRunAsGroupRange { + if v == nil { + return nil + } + return v.Ranges + }).(GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupPtrOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsGroup) *string { + if v == nil { + return nil + } + return &v.Rule + }).(pulumi.StringPtrOutput) +} + +type GetPodSecurityPolicyTemplateRunAsGroupRange struct { + Max int `pulumi:"max"` + Min int `pulumi:"min"` +} + +// GetPodSecurityPolicyTemplateRunAsGroupRangeInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsGroupRangeArgs and GetPodSecurityPolicyTemplateRunAsGroupRangeOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsGroupRangeInput` via: +// +// GetPodSecurityPolicyTemplateRunAsGroupRangeArgs{...} +type GetPodSecurityPolicyTemplateRunAsGroupRangeInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeOutput + ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeOutput +} + +type GetPodSecurityPolicyTemplateRunAsGroupRangeArgs struct { + Max pulumi.IntInput `pulumi:"max"` + Min pulumi.IntInput `pulumi:"min"` +} + +func (GetPodSecurityPolicyTemplateRunAsGroupRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateRunAsGroupRangeArgs) ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeOutput { + return i.ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateRunAsGroupRangeArgs) ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) +} + +// GetPodSecurityPolicyTemplateRunAsGroupRangeArrayInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsGroupRangeArray and GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsGroupRangeArrayInput` via: +// +// GetPodSecurityPolicyTemplateRunAsGroupRangeArray{ GetPodSecurityPolicyTemplateRunAsGroupRangeArgs{...} } +type GetPodSecurityPolicyTemplateRunAsGroupRangeArrayInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput + ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput +} + +type GetPodSecurityPolicyTemplateRunAsGroupRangeArray []GetPodSecurityPolicyTemplateRunAsGroupRangeInput + +func (GetPodSecurityPolicyTemplateRunAsGroupRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateRunAsGroupRangeArray) ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { + return i.ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateRunAsGroupRangeArray) ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) +} + +type GetPodSecurityPolicyTemplateRunAsGroupRangeOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) ToGetPodSecurityPolicyTemplateRunAsGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) Max() pulumi.IntOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsGroupRange) int { return v.Max }).(pulumi.IntOutput) +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) Min() pulumi.IntOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsGroupRange) int { return v.Min }).(pulumi.IntOutput) +} + +type GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateRunAsGroupRange)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateRunAsGroupRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateRunAsGroupRange { + return vs[0].([]GetPodSecurityPolicyTemplateRunAsGroupRange)[vs[1].(int)] + }).(GetPodSecurityPolicyTemplateRunAsGroupRangeOutput) +} + +type GetPodSecurityPolicyTemplateRunAsUser struct { + Ranges []GetPodSecurityPolicyTemplateRunAsUserRange `pulumi:"ranges"` + Rule string `pulumi:"rule"` +} + +// GetPodSecurityPolicyTemplateRunAsUserInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsUserArgs and GetPodSecurityPolicyTemplateRunAsUserOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsUserInput` via: +// +// GetPodSecurityPolicyTemplateRunAsUserArgs{...} +type GetPodSecurityPolicyTemplateRunAsUserInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateRunAsUserOutput() GetPodSecurityPolicyTemplateRunAsUserOutput + ToGetPodSecurityPolicyTemplateRunAsUserOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsUserOutput +} + +type GetPodSecurityPolicyTemplateRunAsUserArgs struct { + Ranges GetPodSecurityPolicyTemplateRunAsUserRangeArrayInput `pulumi:"ranges"` + Rule pulumi.StringInput `pulumi:"rule"` +} + +func (GetPodSecurityPolicyTemplateRunAsUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUser)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateRunAsUserArgs) ToGetPodSecurityPolicyTemplateRunAsUserOutput() GetPodSecurityPolicyTemplateRunAsUserOutput { + return i.ToGetPodSecurityPolicyTemplateRunAsUserOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateRunAsUserArgs) ToGetPodSecurityPolicyTemplateRunAsUserOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsUserOutput) +} + +func (i GetPodSecurityPolicyTemplateRunAsUserArgs) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutput() GetPodSecurityPolicyTemplateRunAsUserPtrOutput { + return i.ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateRunAsUserArgs) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsUserOutput).ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx) +} + +// GetPodSecurityPolicyTemplateRunAsUserPtrInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsUserArgs, GetPodSecurityPolicyTemplateRunAsUserPtr and GetPodSecurityPolicyTemplateRunAsUserPtrOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsUserPtrInput` via: +// +// GetPodSecurityPolicyTemplateRunAsUserArgs{...} +// +// or: +// +// nil +type GetPodSecurityPolicyTemplateRunAsUserPtrInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateRunAsUserPtrOutput() GetPodSecurityPolicyTemplateRunAsUserPtrOutput + ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsUserPtrOutput +} + +type getPodSecurityPolicyTemplateRunAsUserPtrType GetPodSecurityPolicyTemplateRunAsUserArgs + +func GetPodSecurityPolicyTemplateRunAsUserPtr(v *GetPodSecurityPolicyTemplateRunAsUserArgs) GetPodSecurityPolicyTemplateRunAsUserPtrInput { + return (*getPodSecurityPolicyTemplateRunAsUserPtrType)(v) +} + +func (*getPodSecurityPolicyTemplateRunAsUserPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateRunAsUser)(nil)).Elem() +} + +func (i *getPodSecurityPolicyTemplateRunAsUserPtrType) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutput() GetPodSecurityPolicyTemplateRunAsUserPtrOutput { + return i.ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) +} + +func (i *getPodSecurityPolicyTemplateRunAsUserPtrType) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsUserPtrOutput) +} + +type GetPodSecurityPolicyTemplateRunAsUserOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateRunAsUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUser)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateRunAsUserOutput) ToGetPodSecurityPolicyTemplateRunAsUserOutput() GetPodSecurityPolicyTemplateRunAsUserOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsUserOutput) ToGetPodSecurityPolicyTemplateRunAsUserOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsUserOutput) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutput() GetPodSecurityPolicyTemplateRunAsUserPtrOutput { + return o.ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(context.Background()) +} + +func (o GetPodSecurityPolicyTemplateRunAsUserOutput) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateRunAsUser) *GetPodSecurityPolicyTemplateRunAsUser { + return &v + }).(GetPodSecurityPolicyTemplateRunAsUserPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateRunAsUserOutput) Ranges() GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsUser) []GetPodSecurityPolicyTemplateRunAsUserRange { + return v.Ranges + }).(GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) +} + +func (o GetPodSecurityPolicyTemplateRunAsUserOutput) Rule() pulumi.StringOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsUser) string { return v.Rule }).(pulumi.StringOutput) +} + +type GetPodSecurityPolicyTemplateRunAsUserPtrOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateRunAsUserPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateRunAsUser)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateRunAsUserPtrOutput) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutput() GetPodSecurityPolicyTemplateRunAsUserPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsUserPtrOutput) ToGetPodSecurityPolicyTemplateRunAsUserPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsUserPtrOutput) Elem() GetPodSecurityPolicyTemplateRunAsUserOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsUser) GetPodSecurityPolicyTemplateRunAsUser { + if v != nil { + return *v + } + var ret GetPodSecurityPolicyTemplateRunAsUser + return ret + }).(GetPodSecurityPolicyTemplateRunAsUserOutput) +} + +func (o GetPodSecurityPolicyTemplateRunAsUserPtrOutput) Ranges() GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsUser) []GetPodSecurityPolicyTemplateRunAsUserRange { + if v == nil { + return nil + } + return v.Ranges + }).(GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) +} + +func (o GetPodSecurityPolicyTemplateRunAsUserPtrOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRunAsUser) *string { + if v == nil { + return nil + } + return &v.Rule + }).(pulumi.StringPtrOutput) +} + +type GetPodSecurityPolicyTemplateRunAsUserRange struct { + Max int `pulumi:"max"` + Min int `pulumi:"min"` +} + +// GetPodSecurityPolicyTemplateRunAsUserRangeInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsUserRangeArgs and GetPodSecurityPolicyTemplateRunAsUserRangeOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsUserRangeInput` via: +// +// GetPodSecurityPolicyTemplateRunAsUserRangeArgs{...} +type GetPodSecurityPolicyTemplateRunAsUserRangeInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateRunAsUserRangeOutput() GetPodSecurityPolicyTemplateRunAsUserRangeOutput + ToGetPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeOutput +} + +type GetPodSecurityPolicyTemplateRunAsUserRangeArgs struct { + Max pulumi.IntInput `pulumi:"max"` + Min pulumi.IntInput `pulumi:"min"` +} + +func (GetPodSecurityPolicyTemplateRunAsUserRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateRunAsUserRangeArgs) ToGetPodSecurityPolicyTemplateRunAsUserRangeOutput() GetPodSecurityPolicyTemplateRunAsUserRangeOutput { + return i.ToGetPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateRunAsUserRangeArgs) ToGetPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsUserRangeOutput) +} + +// GetPodSecurityPolicyTemplateRunAsUserRangeArrayInput is an input type that accepts GetPodSecurityPolicyTemplateRunAsUserRangeArray and GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRunAsUserRangeArrayInput` via: +// +// GetPodSecurityPolicyTemplateRunAsUserRangeArray{ GetPodSecurityPolicyTemplateRunAsUserRangeArgs{...} } +type GetPodSecurityPolicyTemplateRunAsUserRangeArrayInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput + ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput +} + +type GetPodSecurityPolicyTemplateRunAsUserRangeArray []GetPodSecurityPolicyTemplateRunAsUserRangeInput + +func (GetPodSecurityPolicyTemplateRunAsUserRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateRunAsUserRangeArray) ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return i.ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateRunAsUserRangeArray) ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) +} + +type GetPodSecurityPolicyTemplateRunAsUserRangeOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateRunAsUserRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateRunAsUserRangeOutput) ToGetPodSecurityPolicyTemplateRunAsUserRangeOutput() GetPodSecurityPolicyTemplateRunAsUserRangeOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsUserRangeOutput) ToGetPodSecurityPolicyTemplateRunAsUserRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsUserRangeOutput) Max() pulumi.IntOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsUserRange) int { return v.Max }).(pulumi.IntOutput) +} + +func (o GetPodSecurityPolicyTemplateRunAsUserRangeOutput) Min() pulumi.IntOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateRunAsUserRange) int { return v.Min }).(pulumi.IntOutput) +} + +type GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateRunAsUserRange)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput() GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) ToGetPodSecurityPolicyTemplateRunAsUserRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateRunAsUserRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateRunAsUserRange { + return vs[0].([]GetPodSecurityPolicyTemplateRunAsUserRange)[vs[1].(int)] + }).(GetPodSecurityPolicyTemplateRunAsUserRangeOutput) +} + +type GetPodSecurityPolicyTemplateRuntimeClass struct { + AllowedRuntimeClassNames []string `pulumi:"allowedRuntimeClassNames"` + DefaultRuntimeClassName *string `pulumi:"defaultRuntimeClassName"` +} + +// GetPodSecurityPolicyTemplateRuntimeClassInput is an input type that accepts GetPodSecurityPolicyTemplateRuntimeClassArgs and GetPodSecurityPolicyTemplateRuntimeClassOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRuntimeClassInput` via: +// +// GetPodSecurityPolicyTemplateRuntimeClassArgs{...} +type GetPodSecurityPolicyTemplateRuntimeClassInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateRuntimeClassOutput() GetPodSecurityPolicyTemplateRuntimeClassOutput + ToGetPodSecurityPolicyTemplateRuntimeClassOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRuntimeClassOutput +} + +type GetPodSecurityPolicyTemplateRuntimeClassArgs struct { + AllowedRuntimeClassNames pulumi.StringArrayInput `pulumi:"allowedRuntimeClassNames"` + DefaultRuntimeClassName pulumi.StringPtrInput `pulumi:"defaultRuntimeClassName"` +} + +func (GetPodSecurityPolicyTemplateRuntimeClassArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateRuntimeClassArgs) ToGetPodSecurityPolicyTemplateRuntimeClassOutput() GetPodSecurityPolicyTemplateRuntimeClassOutput { + return i.ToGetPodSecurityPolicyTemplateRuntimeClassOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateRuntimeClassArgs) ToGetPodSecurityPolicyTemplateRuntimeClassOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRuntimeClassOutput) +} + +func (i GetPodSecurityPolicyTemplateRuntimeClassArgs) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutput() GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { + return i.ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateRuntimeClassArgs) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRuntimeClassOutput).ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx) +} + +// GetPodSecurityPolicyTemplateRuntimeClassPtrInput is an input type that accepts GetPodSecurityPolicyTemplateRuntimeClassArgs, GetPodSecurityPolicyTemplateRuntimeClassPtr and GetPodSecurityPolicyTemplateRuntimeClassPtrOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateRuntimeClassPtrInput` via: +// +// GetPodSecurityPolicyTemplateRuntimeClassArgs{...} +// +// or: +// +// nil +type GetPodSecurityPolicyTemplateRuntimeClassPtrInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutput() GetPodSecurityPolicyTemplateRuntimeClassPtrOutput + ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateRuntimeClassPtrOutput +} + +type getPodSecurityPolicyTemplateRuntimeClassPtrType GetPodSecurityPolicyTemplateRuntimeClassArgs + +func GetPodSecurityPolicyTemplateRuntimeClassPtr(v *GetPodSecurityPolicyTemplateRuntimeClassArgs) GetPodSecurityPolicyTemplateRuntimeClassPtrInput { + return (*getPodSecurityPolicyTemplateRuntimeClassPtrType)(v) +} + +func (*getPodSecurityPolicyTemplateRuntimeClassPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +} + +func (i *getPodSecurityPolicyTemplateRuntimeClassPtrType) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutput() GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { + return i.ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) +} + +func (i *getPodSecurityPolicyTemplateRuntimeClassPtrType) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) +} + +type GetPodSecurityPolicyTemplateRuntimeClassOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateRuntimeClassOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) ToGetPodSecurityPolicyTemplateRuntimeClassOutput() GetPodSecurityPolicyTemplateRuntimeClassOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) ToGetPodSecurityPolicyTemplateRuntimeClassOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutput() GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { + return o.ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(context.Background()) +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateRuntimeClass) *GetPodSecurityPolicyTemplateRuntimeClass { + return &v + }).(GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) AllowedRuntimeClassNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateRuntimeClass) []string { return v.AllowedRuntimeClassNames }).(pulumi.StringArrayOutput) +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassOutput) DefaultRuntimeClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateRuntimeClass) *string { return v.DefaultRuntimeClassName }).(pulumi.StringPtrOutput) +} + +type GetPodSecurityPolicyTemplateRuntimeClassPtrOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateRuntimeClass)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutput() GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) ToGetPodSecurityPolicyTemplateRuntimeClassPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateRuntimeClassPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) Elem() GetPodSecurityPolicyTemplateRuntimeClassOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRuntimeClass) GetPodSecurityPolicyTemplateRuntimeClass { + if v != nil { + return *v + } + var ret GetPodSecurityPolicyTemplateRuntimeClass + return ret + }).(GetPodSecurityPolicyTemplateRuntimeClassOutput) +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) AllowedRuntimeClassNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRuntimeClass) []string { + if v == nil { + return nil + } + return v.AllowedRuntimeClassNames + }).(pulumi.StringArrayOutput) +} + +func (o GetPodSecurityPolicyTemplateRuntimeClassPtrOutput) DefaultRuntimeClassName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateRuntimeClass) *string { + if v == nil { + return nil + } + return v.DefaultRuntimeClassName + }).(pulumi.StringPtrOutput) +} + +type GetPodSecurityPolicyTemplateSeLinux struct { + Rule string `pulumi:"rule"` + SeLinuxOption *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption `pulumi:"seLinuxOption"` +} + +// GetPodSecurityPolicyTemplateSeLinuxInput is an input type that accepts GetPodSecurityPolicyTemplateSeLinuxArgs and GetPodSecurityPolicyTemplateSeLinuxOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSeLinuxInput` via: +// +// GetPodSecurityPolicyTemplateSeLinuxArgs{...} +type GetPodSecurityPolicyTemplateSeLinuxInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateSeLinuxOutput() GetPodSecurityPolicyTemplateSeLinuxOutput + ToGetPodSecurityPolicyTemplateSeLinuxOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSeLinuxOutput +} + +type GetPodSecurityPolicyTemplateSeLinuxArgs struct { + Rule pulumi.StringInput `pulumi:"rule"` + SeLinuxOption GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput `pulumi:"seLinuxOption"` +} + +func (GetPodSecurityPolicyTemplateSeLinuxArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinux)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateSeLinuxArgs) ToGetPodSecurityPolicyTemplateSeLinuxOutput() GetPodSecurityPolicyTemplateSeLinuxOutput { + return i.ToGetPodSecurityPolicyTemplateSeLinuxOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateSeLinuxArgs) ToGetPodSecurityPolicyTemplateSeLinuxOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxOutput) +} + +func (i GetPodSecurityPolicyTemplateSeLinuxArgs) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutput() GetPodSecurityPolicyTemplateSeLinuxPtrOutput { + return i.ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateSeLinuxArgs) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxOutput).ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx) +} + +// GetPodSecurityPolicyTemplateSeLinuxPtrInput is an input type that accepts GetPodSecurityPolicyTemplateSeLinuxArgs, GetPodSecurityPolicyTemplateSeLinuxPtr and GetPodSecurityPolicyTemplateSeLinuxPtrOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSeLinuxPtrInput` via: +// +// GetPodSecurityPolicyTemplateSeLinuxArgs{...} +// +// or: +// +// nil +type GetPodSecurityPolicyTemplateSeLinuxPtrInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateSeLinuxPtrOutput() GetPodSecurityPolicyTemplateSeLinuxPtrOutput + ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSeLinuxPtrOutput +} + +type getPodSecurityPolicyTemplateSeLinuxPtrType GetPodSecurityPolicyTemplateSeLinuxArgs + +func GetPodSecurityPolicyTemplateSeLinuxPtr(v *GetPodSecurityPolicyTemplateSeLinuxArgs) GetPodSecurityPolicyTemplateSeLinuxPtrInput { + return (*getPodSecurityPolicyTemplateSeLinuxPtrType)(v) +} + +func (*getPodSecurityPolicyTemplateSeLinuxPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateSeLinux)(nil)).Elem() +} + +func (i *getPodSecurityPolicyTemplateSeLinuxPtrType) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutput() GetPodSecurityPolicyTemplateSeLinuxPtrOutput { + return i.ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) +} + +func (i *getPodSecurityPolicyTemplateSeLinuxPtrType) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxPtrOutput) +} + +type GetPodSecurityPolicyTemplateSeLinuxOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateSeLinuxOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinux)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateSeLinuxOutput) ToGetPodSecurityPolicyTemplateSeLinuxOutput() GetPodSecurityPolicyTemplateSeLinuxOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSeLinuxOutput) ToGetPodSecurityPolicyTemplateSeLinuxOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSeLinuxOutput) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutput() GetPodSecurityPolicyTemplateSeLinuxPtrOutput { + return o.ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(context.Background()) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxOutput) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateSeLinux) *GetPodSecurityPolicyTemplateSeLinux { + return &v + }).(GetPodSecurityPolicyTemplateSeLinuxPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxOutput) Rule() pulumi.StringOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinux) string { return v.Rule }).(pulumi.StringOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxOutput) SeLinuxOption() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinux) *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption { + return v.SeLinuxOption + }).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) +} + +type GetPodSecurityPolicyTemplateSeLinuxPtrOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateSeLinuxPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateSeLinux)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateSeLinuxPtrOutput) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutput() GetPodSecurityPolicyTemplateSeLinuxPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSeLinuxPtrOutput) ToGetPodSecurityPolicyTemplateSeLinuxPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSeLinuxPtrOutput) Elem() GetPodSecurityPolicyTemplateSeLinuxOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinux) GetPodSecurityPolicyTemplateSeLinux { + if v != nil { + return *v + } + var ret GetPodSecurityPolicyTemplateSeLinux + return ret + }).(GetPodSecurityPolicyTemplateSeLinuxOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxPtrOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinux) *string { + if v == nil { + return nil + } + return &v.Rule + }).(pulumi.StringPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxPtrOutput) SeLinuxOption() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinux) *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption { + if v == nil { + return nil + } + return v.SeLinuxOption + }).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) +} + +type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption struct { + Level *string `pulumi:"level"` + Role *string `pulumi:"role"` + Type *string `pulumi:"type"` + User *string `pulumi:"user"` +} + +// GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput is an input type that accepts GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs and GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput` via: +// +// GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{...} +type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput + ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput +} + +type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs struct { + Level pulumi.StringPtrInput `pulumi:"level"` + Role pulumi.StringPtrInput `pulumi:"role"` + Type pulumi.StringPtrInput `pulumi:"type"` + User pulumi.StringPtrInput `pulumi:"user"` +} + +func (GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { + return i.ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) +} + +func (i GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return i.ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput).ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx) +} + +// GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput is an input type that accepts GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs, GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtr and GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput` via: +// +// GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{...} +// +// or: +// +// nil +type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput + ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput +} + +type getPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs + +func GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtr(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput { + return (*getPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType)(v) +} + +func (*getPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +} + +func (i *getPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return i.ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) +} + +func (i *getPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrType) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) +} + +type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return o.ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(context.Background()) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption { + return &v + }).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Level() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Level }).(pulumi.StringPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Role() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Role }).(pulumi.StringPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { return v.User }).(pulumi.StringPtrOutput) +} + +type GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) ToGetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Elem() GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption { + if v != nil { + return *v + } + var ret GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption + return ret + }).(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Level() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { + if v == nil { + return nil + } + return v.Level + }).(pulumi.StringPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Role() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { + if v == nil { + return nil + } + return v.Role + }).(pulumi.StringPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput) User() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption) *string { + if v == nil { + return nil + } + return v.User + }).(pulumi.StringPtrOutput) +} + +type GetPodSecurityPolicyTemplateSupplementalGroup struct { + Ranges []GetPodSecurityPolicyTemplateSupplementalGroupRange `pulumi:"ranges"` + Rule *string `pulumi:"rule"` +} + +// GetPodSecurityPolicyTemplateSupplementalGroupInput is an input type that accepts GetPodSecurityPolicyTemplateSupplementalGroupArgs and GetPodSecurityPolicyTemplateSupplementalGroupOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSupplementalGroupInput` via: +// +// GetPodSecurityPolicyTemplateSupplementalGroupArgs{...} +type GetPodSecurityPolicyTemplateSupplementalGroupInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateSupplementalGroupOutput() GetPodSecurityPolicyTemplateSupplementalGroupOutput + ToGetPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSupplementalGroupOutput +} + +type GetPodSecurityPolicyTemplateSupplementalGroupArgs struct { + Ranges GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayInput `pulumi:"ranges"` + Rule pulumi.StringPtrInput `pulumi:"rule"` +} + +func (GetPodSecurityPolicyTemplateSupplementalGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateSupplementalGroupArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupOutput() GetPodSecurityPolicyTemplateSupplementalGroupOutput { + return i.ToGetPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateSupplementalGroupArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSupplementalGroupOutput) +} + +func (i GetPodSecurityPolicyTemplateSupplementalGroupArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutput() GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return i.ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateSupplementalGroupArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSupplementalGroupOutput).ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx) +} + +// GetPodSecurityPolicyTemplateSupplementalGroupPtrInput is an input type that accepts GetPodSecurityPolicyTemplateSupplementalGroupArgs, GetPodSecurityPolicyTemplateSupplementalGroupPtr and GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSupplementalGroupPtrInput` via: +// +// GetPodSecurityPolicyTemplateSupplementalGroupArgs{...} +// +// or: +// +// nil +type GetPodSecurityPolicyTemplateSupplementalGroupPtrInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutput() GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput + ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput +} + +type getPodSecurityPolicyTemplateSupplementalGroupPtrType GetPodSecurityPolicyTemplateSupplementalGroupArgs + +func GetPodSecurityPolicyTemplateSupplementalGroupPtr(v *GetPodSecurityPolicyTemplateSupplementalGroupArgs) GetPodSecurityPolicyTemplateSupplementalGroupPtrInput { + return (*getPodSecurityPolicyTemplateSupplementalGroupPtrType)(v) +} + +func (*getPodSecurityPolicyTemplateSupplementalGroupPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +} + +func (i *getPodSecurityPolicyTemplateSupplementalGroupPtrType) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutput() GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return i.ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) +} + +func (i *getPodSecurityPolicyTemplateSupplementalGroupPtrType) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) +} + +type GetPodSecurityPolicyTemplateSupplementalGroupOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateSupplementalGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupOutput() GetPodSecurityPolicyTemplateSupplementalGroupOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutput() GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return o.ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(context.Background()) +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetPodSecurityPolicyTemplateSupplementalGroup) *GetPodSecurityPolicyTemplateSupplementalGroup { + return &v + }).(GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) Ranges() GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateSupplementalGroup) []GetPodSecurityPolicyTemplateSupplementalGroupRange { + return v.Ranges + }).(GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateSupplementalGroup) *string { return v.Rule }).(pulumi.StringPtrOutput) +} + +type GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetPodSecurityPolicyTemplateSupplementalGroup)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutput() GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupPtrOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) Elem() GetPodSecurityPolicyTemplateSupplementalGroupOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSupplementalGroup) GetPodSecurityPolicyTemplateSupplementalGroup { + if v != nil { + return *v + } + var ret GetPodSecurityPolicyTemplateSupplementalGroup + return ret + }).(GetPodSecurityPolicyTemplateSupplementalGroupOutput) +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) Ranges() GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSupplementalGroup) []GetPodSecurityPolicyTemplateSupplementalGroupRange { + if v == nil { + return nil + } + return v.Ranges + }).(GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput) Rule() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetPodSecurityPolicyTemplateSupplementalGroup) *string { + if v == nil { + return nil + } + return v.Rule + }).(pulumi.StringPtrOutput) +} + +type GetPodSecurityPolicyTemplateSupplementalGroupRange struct { + Max int `pulumi:"max"` + Min int `pulumi:"min"` +} + +// GetPodSecurityPolicyTemplateSupplementalGroupRangeInput is an input type that accepts GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs and GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSupplementalGroupRangeInput` via: +// +// GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs{...} +type GetPodSecurityPolicyTemplateSupplementalGroupRangeInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput + ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput +} + +type GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs struct { + Max pulumi.IntInput `pulumi:"max"` + Min pulumi.IntInput `pulumi:"min"` +} + +func (GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput { + return i.ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) +} + +// GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayInput is an input type that accepts GetPodSecurityPolicyTemplateSupplementalGroupRangeArray and GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput values. +// You can construct a concrete instance of `GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayInput` via: +// +// GetPodSecurityPolicyTemplateSupplementalGroupRangeArray{ GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs{...} } +type GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayInput interface { + pulumi.Input + + ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput + ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput +} + +type GetPodSecurityPolicyTemplateSupplementalGroupRangeArray []GetPodSecurityPolicyTemplateSupplementalGroupRangeInput + +func (GetPodSecurityPolicyTemplateSupplementalGroupRangeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +} + +func (i GetPodSecurityPolicyTemplateSupplementalGroupRangeArray) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return i.ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(context.Background()) +} + +func (i GetPodSecurityPolicyTemplateSupplementalGroupRangeArray) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) +} + +type GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) Max() pulumi.IntOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateSupplementalGroupRange) int { return v.Max }).(pulumi.IntOutput) +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) Min() pulumi.IntOutput { + return o.ApplyT(func(v GetPodSecurityPolicyTemplateSupplementalGroupRange) int { return v.Min }).(pulumi.IntOutput) +} + +type GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput struct{ *pulumi.OutputState } + +func (GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPodSecurityPolicyTemplateSupplementalGroupRange)(nil)).Elem() +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput() GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) ToGetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutputWithContext(ctx context.Context) GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput { + return o +} + +func (o GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput) Index(i pulumi.IntInput) GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPodSecurityPolicyTemplateSupplementalGroupRange { + return vs[0].([]GetPodSecurityPolicyTemplateSupplementalGroupRange)[vs[1].(int)] + }).(GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput) +} + +type GetProjectAlertGroupRecipient struct { + DefaultRecipient *bool `pulumi:"defaultRecipient"` + NotifierId string `pulumi:"notifierId"` + NotifierType string `pulumi:"notifierType"` + Recipient string `pulumi:"recipient"` +} + +// GetProjectAlertGroupRecipientInput is an input type that accepts GetProjectAlertGroupRecipientArgs and GetProjectAlertGroupRecipientOutput values. +// You can construct a concrete instance of `GetProjectAlertGroupRecipientInput` via: +// +// GetProjectAlertGroupRecipientArgs{...} +type GetProjectAlertGroupRecipientInput interface { + pulumi.Input + + ToGetProjectAlertGroupRecipientOutput() GetProjectAlertGroupRecipientOutput + ToGetProjectAlertGroupRecipientOutputWithContext(context.Context) GetProjectAlertGroupRecipientOutput +} + +type GetProjectAlertGroupRecipientArgs struct { + DefaultRecipient pulumi.BoolPtrInput `pulumi:"defaultRecipient"` + NotifierId pulumi.StringInput `pulumi:"notifierId"` + NotifierType pulumi.StringInput `pulumi:"notifierType"` + Recipient pulumi.StringInput `pulumi:"recipient"` +} + +func (GetProjectAlertGroupRecipientArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectAlertGroupRecipient)(nil)).Elem() +} + +func (i GetProjectAlertGroupRecipientArgs) ToGetProjectAlertGroupRecipientOutput() GetProjectAlertGroupRecipientOutput { + return i.ToGetProjectAlertGroupRecipientOutputWithContext(context.Background()) +} + +func (i GetProjectAlertGroupRecipientArgs) ToGetProjectAlertGroupRecipientOutputWithContext(ctx context.Context) GetProjectAlertGroupRecipientOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectAlertGroupRecipientOutput) +} + +// GetProjectAlertGroupRecipientArrayInput is an input type that accepts GetProjectAlertGroupRecipientArray and GetProjectAlertGroupRecipientArrayOutput values. +// You can construct a concrete instance of `GetProjectAlertGroupRecipientArrayInput` via: +// +// GetProjectAlertGroupRecipientArray{ GetProjectAlertGroupRecipientArgs{...} } +type GetProjectAlertGroupRecipientArrayInput interface { + pulumi.Input + + ToGetProjectAlertGroupRecipientArrayOutput() GetProjectAlertGroupRecipientArrayOutput + ToGetProjectAlertGroupRecipientArrayOutputWithContext(context.Context) GetProjectAlertGroupRecipientArrayOutput +} + +type GetProjectAlertGroupRecipientArray []GetProjectAlertGroupRecipientInput + +func (GetProjectAlertGroupRecipientArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetProjectAlertGroupRecipient)(nil)).Elem() +} + +func (i GetProjectAlertGroupRecipientArray) ToGetProjectAlertGroupRecipientArrayOutput() GetProjectAlertGroupRecipientArrayOutput { + return i.ToGetProjectAlertGroupRecipientArrayOutputWithContext(context.Background()) +} + +func (i GetProjectAlertGroupRecipientArray) ToGetProjectAlertGroupRecipientArrayOutputWithContext(ctx context.Context) GetProjectAlertGroupRecipientArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectAlertGroupRecipientArrayOutput) +} + +type GetProjectAlertGroupRecipientOutput struct{ *pulumi.OutputState } + +func (GetProjectAlertGroupRecipientOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectAlertGroupRecipient)(nil)).Elem() +} + +func (o GetProjectAlertGroupRecipientOutput) ToGetProjectAlertGroupRecipientOutput() GetProjectAlertGroupRecipientOutput { + return o +} + +func (o GetProjectAlertGroupRecipientOutput) ToGetProjectAlertGroupRecipientOutputWithContext(ctx context.Context) GetProjectAlertGroupRecipientOutput { + return o +} + +func (o GetProjectAlertGroupRecipientOutput) DefaultRecipient() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetProjectAlertGroupRecipient) *bool { return v.DefaultRecipient }).(pulumi.BoolPtrOutput) +} + +func (o GetProjectAlertGroupRecipientOutput) NotifierId() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectAlertGroupRecipient) string { return v.NotifierId }).(pulumi.StringOutput) +} + +func (o GetProjectAlertGroupRecipientOutput) NotifierType() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectAlertGroupRecipient) string { return v.NotifierType }).(pulumi.StringOutput) +} + +func (o GetProjectAlertGroupRecipientOutput) Recipient() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectAlertGroupRecipient) string { return v.Recipient }).(pulumi.StringOutput) +} + +type GetProjectAlertGroupRecipientArrayOutput struct{ *pulumi.OutputState } + +func (GetProjectAlertGroupRecipientArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetProjectAlertGroupRecipient)(nil)).Elem() +} + +func (o GetProjectAlertGroupRecipientArrayOutput) ToGetProjectAlertGroupRecipientArrayOutput() GetProjectAlertGroupRecipientArrayOutput { + return o +} + +func (o GetProjectAlertGroupRecipientArrayOutput) ToGetProjectAlertGroupRecipientArrayOutputWithContext(ctx context.Context) GetProjectAlertGroupRecipientArrayOutput { + return o +} + +func (o GetProjectAlertGroupRecipientArrayOutput) Index(i pulumi.IntInput) GetProjectAlertGroupRecipientOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetProjectAlertGroupRecipient { + return vs[0].([]GetProjectAlertGroupRecipient)[vs[1].(int)] + }).(GetProjectAlertGroupRecipientOutput) +} + +type GetProjectAlertRuleMetricRule struct { + Comparison *string `pulumi:"comparison"` + Description *string `pulumi:"description"` + Duration string `pulumi:"duration"` + Expression string `pulumi:"expression"` + ThresholdValue float64 `pulumi:"thresholdValue"` +} + +// GetProjectAlertRuleMetricRuleInput is an input type that accepts GetProjectAlertRuleMetricRuleArgs and GetProjectAlertRuleMetricRuleOutput values. +// You can construct a concrete instance of `GetProjectAlertRuleMetricRuleInput` via: +// +// GetProjectAlertRuleMetricRuleArgs{...} +type GetProjectAlertRuleMetricRuleInput interface { + pulumi.Input + + ToGetProjectAlertRuleMetricRuleOutput() GetProjectAlertRuleMetricRuleOutput + ToGetProjectAlertRuleMetricRuleOutputWithContext(context.Context) GetProjectAlertRuleMetricRuleOutput +} + +type GetProjectAlertRuleMetricRuleArgs struct { + Comparison pulumi.StringPtrInput `pulumi:"comparison"` + Description pulumi.StringPtrInput `pulumi:"description"` + Duration pulumi.StringInput `pulumi:"duration"` + Expression pulumi.StringInput `pulumi:"expression"` + ThresholdValue pulumi.Float64Input `pulumi:"thresholdValue"` +} + +func (GetProjectAlertRuleMetricRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectAlertRuleMetricRule)(nil)).Elem() +} + +func (i GetProjectAlertRuleMetricRuleArgs) ToGetProjectAlertRuleMetricRuleOutput() GetProjectAlertRuleMetricRuleOutput { + return i.ToGetProjectAlertRuleMetricRuleOutputWithContext(context.Background()) +} + +func (i GetProjectAlertRuleMetricRuleArgs) ToGetProjectAlertRuleMetricRuleOutputWithContext(ctx context.Context) GetProjectAlertRuleMetricRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectAlertRuleMetricRuleOutput) +} + +type GetProjectAlertRuleMetricRuleOutput struct{ *pulumi.OutputState } + +func (GetProjectAlertRuleMetricRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectAlertRuleMetricRule)(nil)).Elem() +} + +func (o GetProjectAlertRuleMetricRuleOutput) ToGetProjectAlertRuleMetricRuleOutput() GetProjectAlertRuleMetricRuleOutput { + return o +} + +func (o GetProjectAlertRuleMetricRuleOutput) ToGetProjectAlertRuleMetricRuleOutputWithContext(ctx context.Context) GetProjectAlertRuleMetricRuleOutput { + return o +} + +func (o GetProjectAlertRuleMetricRuleOutput) Comparison() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectAlertRuleMetricRule) *string { return v.Comparison }).(pulumi.StringPtrOutput) +} + +func (o GetProjectAlertRuleMetricRuleOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectAlertRuleMetricRule) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o GetProjectAlertRuleMetricRuleOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectAlertRuleMetricRule) string { return v.Duration }).(pulumi.StringOutput) +} + +func (o GetProjectAlertRuleMetricRuleOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectAlertRuleMetricRule) string { return v.Expression }).(pulumi.StringOutput) +} + +func (o GetProjectAlertRuleMetricRuleOutput) ThresholdValue() pulumi.Float64Output { + return o.ApplyT(func(v GetProjectAlertRuleMetricRule) float64 { return v.ThresholdValue }).(pulumi.Float64Output) +} + +type GetProjectAlertRulePodRule struct { + Condition *string `pulumi:"condition"` + PodId string `pulumi:"podId"` + RestartIntervalSeconds *int `pulumi:"restartIntervalSeconds"` + RestartTimes *int `pulumi:"restartTimes"` +} + +// GetProjectAlertRulePodRuleInput is an input type that accepts GetProjectAlertRulePodRuleArgs and GetProjectAlertRulePodRuleOutput values. +// You can construct a concrete instance of `GetProjectAlertRulePodRuleInput` via: +// +// GetProjectAlertRulePodRuleArgs{...} +type GetProjectAlertRulePodRuleInput interface { + pulumi.Input + + ToGetProjectAlertRulePodRuleOutput() GetProjectAlertRulePodRuleOutput + ToGetProjectAlertRulePodRuleOutputWithContext(context.Context) GetProjectAlertRulePodRuleOutput +} + +type GetProjectAlertRulePodRuleArgs struct { + Condition pulumi.StringPtrInput `pulumi:"condition"` + PodId pulumi.StringInput `pulumi:"podId"` + RestartIntervalSeconds pulumi.IntPtrInput `pulumi:"restartIntervalSeconds"` + RestartTimes pulumi.IntPtrInput `pulumi:"restartTimes"` +} + +func (GetProjectAlertRulePodRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectAlertRulePodRule)(nil)).Elem() +} + +func (i GetProjectAlertRulePodRuleArgs) ToGetProjectAlertRulePodRuleOutput() GetProjectAlertRulePodRuleOutput { + return i.ToGetProjectAlertRulePodRuleOutputWithContext(context.Background()) +} + +func (i GetProjectAlertRulePodRuleArgs) ToGetProjectAlertRulePodRuleOutputWithContext(ctx context.Context) GetProjectAlertRulePodRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectAlertRulePodRuleOutput) +} + +type GetProjectAlertRulePodRuleOutput struct{ *pulumi.OutputState } + +func (GetProjectAlertRulePodRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectAlertRulePodRule)(nil)).Elem() +} + +func (o GetProjectAlertRulePodRuleOutput) ToGetProjectAlertRulePodRuleOutput() GetProjectAlertRulePodRuleOutput { + return o +} + +func (o GetProjectAlertRulePodRuleOutput) ToGetProjectAlertRulePodRuleOutputWithContext(ctx context.Context) GetProjectAlertRulePodRuleOutput { + return o +} + +func (o GetProjectAlertRulePodRuleOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectAlertRulePodRule) *string { return v.Condition }).(pulumi.StringPtrOutput) +} + +func (o GetProjectAlertRulePodRuleOutput) PodId() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectAlertRulePodRule) string { return v.PodId }).(pulumi.StringOutput) +} + +func (o GetProjectAlertRulePodRuleOutput) RestartIntervalSeconds() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetProjectAlertRulePodRule) *int { return v.RestartIntervalSeconds }).(pulumi.IntPtrOutput) +} + +func (o GetProjectAlertRulePodRuleOutput) RestartTimes() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetProjectAlertRulePodRule) *int { return v.RestartTimes }).(pulumi.IntPtrOutput) +} + +type GetProjectAlertRuleWorkloadRule struct { + AvailablePercentage *int `pulumi:"availablePercentage"` + Selector map[string]interface{} `pulumi:"selector"` + WorkloadId *string `pulumi:"workloadId"` +} + +// GetProjectAlertRuleWorkloadRuleInput is an input type that accepts GetProjectAlertRuleWorkloadRuleArgs and GetProjectAlertRuleWorkloadRuleOutput values. +// You can construct a concrete instance of `GetProjectAlertRuleWorkloadRuleInput` via: +// +// GetProjectAlertRuleWorkloadRuleArgs{...} +type GetProjectAlertRuleWorkloadRuleInput interface { + pulumi.Input + + ToGetProjectAlertRuleWorkloadRuleOutput() GetProjectAlertRuleWorkloadRuleOutput + ToGetProjectAlertRuleWorkloadRuleOutputWithContext(context.Context) GetProjectAlertRuleWorkloadRuleOutput +} + +type GetProjectAlertRuleWorkloadRuleArgs struct { + AvailablePercentage pulumi.IntPtrInput `pulumi:"availablePercentage"` + Selector pulumi.MapInput `pulumi:"selector"` + WorkloadId pulumi.StringPtrInput `pulumi:"workloadId"` +} + +func (GetProjectAlertRuleWorkloadRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectAlertRuleWorkloadRule)(nil)).Elem() +} + +func (i GetProjectAlertRuleWorkloadRuleArgs) ToGetProjectAlertRuleWorkloadRuleOutput() GetProjectAlertRuleWorkloadRuleOutput { + return i.ToGetProjectAlertRuleWorkloadRuleOutputWithContext(context.Background()) +} + +func (i GetProjectAlertRuleWorkloadRuleArgs) ToGetProjectAlertRuleWorkloadRuleOutputWithContext(ctx context.Context) GetProjectAlertRuleWorkloadRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectAlertRuleWorkloadRuleOutput) +} + +type GetProjectAlertRuleWorkloadRuleOutput struct{ *pulumi.OutputState } + +func (GetProjectAlertRuleWorkloadRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectAlertRuleWorkloadRule)(nil)).Elem() +} + +func (o GetProjectAlertRuleWorkloadRuleOutput) ToGetProjectAlertRuleWorkloadRuleOutput() GetProjectAlertRuleWorkloadRuleOutput { + return o +} + +func (o GetProjectAlertRuleWorkloadRuleOutput) ToGetProjectAlertRuleWorkloadRuleOutputWithContext(ctx context.Context) GetProjectAlertRuleWorkloadRuleOutput { + return o +} + +func (o GetProjectAlertRuleWorkloadRuleOutput) AvailablePercentage() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetProjectAlertRuleWorkloadRule) *int { return v.AvailablePercentage }).(pulumi.IntPtrOutput) +} + +func (o GetProjectAlertRuleWorkloadRuleOutput) Selector() pulumi.MapOutput { + return o.ApplyT(func(v GetProjectAlertRuleWorkloadRule) map[string]interface{} { return v.Selector }).(pulumi.MapOutput) +} + +func (o GetProjectAlertRuleWorkloadRuleOutput) WorkloadId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectAlertRuleWorkloadRule) *string { return v.WorkloadId }).(pulumi.StringPtrOutput) +} + +type GetProjectContainerResourceLimit struct { + LimitsCpu *string `pulumi:"limitsCpu"` + LimitsMemory *string `pulumi:"limitsMemory"` + RequestsCpu *string `pulumi:"requestsCpu"` + RequestsMemory *string `pulumi:"requestsMemory"` +} + +// GetProjectContainerResourceLimitInput is an input type that accepts GetProjectContainerResourceLimitArgs and GetProjectContainerResourceLimitOutput values. +// You can construct a concrete instance of `GetProjectContainerResourceLimitInput` via: +// +// GetProjectContainerResourceLimitArgs{...} +type GetProjectContainerResourceLimitInput interface { + pulumi.Input + + ToGetProjectContainerResourceLimitOutput() GetProjectContainerResourceLimitOutput + ToGetProjectContainerResourceLimitOutputWithContext(context.Context) GetProjectContainerResourceLimitOutput +} + +type GetProjectContainerResourceLimitArgs struct { + LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` + LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` + RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` + RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` +} + +func (GetProjectContainerResourceLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectContainerResourceLimit)(nil)).Elem() +} + +func (i GetProjectContainerResourceLimitArgs) ToGetProjectContainerResourceLimitOutput() GetProjectContainerResourceLimitOutput { + return i.ToGetProjectContainerResourceLimitOutputWithContext(context.Background()) +} + +func (i GetProjectContainerResourceLimitArgs) ToGetProjectContainerResourceLimitOutputWithContext(ctx context.Context) GetProjectContainerResourceLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectContainerResourceLimitOutput) +} + +type GetProjectContainerResourceLimitOutput struct{ *pulumi.OutputState } + +func (GetProjectContainerResourceLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectContainerResourceLimit)(nil)).Elem() +} + +func (o GetProjectContainerResourceLimitOutput) ToGetProjectContainerResourceLimitOutput() GetProjectContainerResourceLimitOutput { + return o +} + +func (o GetProjectContainerResourceLimitOutput) ToGetProjectContainerResourceLimitOutputWithContext(ctx context.Context) GetProjectContainerResourceLimitOutput { + return o +} + +func (o GetProjectContainerResourceLimitOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectContainerResourceLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) +} + +func (o GetProjectContainerResourceLimitOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectContainerResourceLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) +} + +func (o GetProjectContainerResourceLimitOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectContainerResourceLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +} + +func (o GetProjectContainerResourceLimitOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectContainerResourceLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +} + +type GetProjectLoggingCustomTargetConfig struct { + Certificate *string `pulumi:"certificate"` + ClientCert *string `pulumi:"clientCert"` + ClientKey *string `pulumi:"clientKey"` + Content string `pulumi:"content"` +} + +// GetProjectLoggingCustomTargetConfigInput is an input type that accepts GetProjectLoggingCustomTargetConfigArgs and GetProjectLoggingCustomTargetConfigOutput values. +// You can construct a concrete instance of `GetProjectLoggingCustomTargetConfigInput` via: +// +// GetProjectLoggingCustomTargetConfigArgs{...} +type GetProjectLoggingCustomTargetConfigInput interface { + pulumi.Input + + ToGetProjectLoggingCustomTargetConfigOutput() GetProjectLoggingCustomTargetConfigOutput + ToGetProjectLoggingCustomTargetConfigOutputWithContext(context.Context) GetProjectLoggingCustomTargetConfigOutput +} + +type GetProjectLoggingCustomTargetConfigArgs struct { + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + Content pulumi.StringInput `pulumi:"content"` +} + +func (GetProjectLoggingCustomTargetConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingCustomTargetConfig)(nil)).Elem() +} + +func (i GetProjectLoggingCustomTargetConfigArgs) ToGetProjectLoggingCustomTargetConfigOutput() GetProjectLoggingCustomTargetConfigOutput { + return i.ToGetProjectLoggingCustomTargetConfigOutputWithContext(context.Background()) +} + +func (i GetProjectLoggingCustomTargetConfigArgs) ToGetProjectLoggingCustomTargetConfigOutputWithContext(ctx context.Context) GetProjectLoggingCustomTargetConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingCustomTargetConfigOutput) +} + +type GetProjectLoggingCustomTargetConfigOutput struct{ *pulumi.OutputState } + +func (GetProjectLoggingCustomTargetConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingCustomTargetConfig)(nil)).Elem() +} + +func (o GetProjectLoggingCustomTargetConfigOutput) ToGetProjectLoggingCustomTargetConfigOutput() GetProjectLoggingCustomTargetConfigOutput { + return o +} + +func (o GetProjectLoggingCustomTargetConfigOutput) ToGetProjectLoggingCustomTargetConfigOutputWithContext(ctx context.Context) GetProjectLoggingCustomTargetConfigOutput { + return o +} + +func (o GetProjectLoggingCustomTargetConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingCustomTargetConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingCustomTargetConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingCustomTargetConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingCustomTargetConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingCustomTargetConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingCustomTargetConfigOutput) Content() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectLoggingCustomTargetConfig) string { return v.Content }).(pulumi.StringOutput) +} + +type GetProjectLoggingElasticsearchConfig struct { + AuthPassword *string `pulumi:"authPassword"` + AuthUsername *string `pulumi:"authUsername"` + Certificate *string `pulumi:"certificate"` + ClientCert *string `pulumi:"clientCert"` + ClientKey *string `pulumi:"clientKey"` + ClientKeyPass *string `pulumi:"clientKeyPass"` + DateFormat *string `pulumi:"dateFormat"` + Endpoint string `pulumi:"endpoint"` + IndexPrefix *string `pulumi:"indexPrefix"` + SslVerify bool `pulumi:"sslVerify"` + SslVersion *string `pulumi:"sslVersion"` +} + +// GetProjectLoggingElasticsearchConfigInput is an input type that accepts GetProjectLoggingElasticsearchConfigArgs and GetProjectLoggingElasticsearchConfigOutput values. +// You can construct a concrete instance of `GetProjectLoggingElasticsearchConfigInput` via: +// +// GetProjectLoggingElasticsearchConfigArgs{...} +type GetProjectLoggingElasticsearchConfigInput interface { + pulumi.Input + + ToGetProjectLoggingElasticsearchConfigOutput() GetProjectLoggingElasticsearchConfigOutput + ToGetProjectLoggingElasticsearchConfigOutputWithContext(context.Context) GetProjectLoggingElasticsearchConfigOutput +} + +type GetProjectLoggingElasticsearchConfigArgs struct { + AuthPassword pulumi.StringPtrInput `pulumi:"authPassword"` + AuthUsername pulumi.StringPtrInput `pulumi:"authUsername"` + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` + DateFormat pulumi.StringPtrInput `pulumi:"dateFormat"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + IndexPrefix pulumi.StringPtrInput `pulumi:"indexPrefix"` + SslVerify pulumi.BoolInput `pulumi:"sslVerify"` + SslVersion pulumi.StringPtrInput `pulumi:"sslVersion"` +} + +func (GetProjectLoggingElasticsearchConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingElasticsearchConfig)(nil)).Elem() +} + +func (i GetProjectLoggingElasticsearchConfigArgs) ToGetProjectLoggingElasticsearchConfigOutput() GetProjectLoggingElasticsearchConfigOutput { + return i.ToGetProjectLoggingElasticsearchConfigOutputWithContext(context.Background()) +} + +func (i GetProjectLoggingElasticsearchConfigArgs) ToGetProjectLoggingElasticsearchConfigOutputWithContext(ctx context.Context) GetProjectLoggingElasticsearchConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingElasticsearchConfigOutput) +} + +type GetProjectLoggingElasticsearchConfigOutput struct{ *pulumi.OutputState } + +func (GetProjectLoggingElasticsearchConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingElasticsearchConfig)(nil)).Elem() +} + +func (o GetProjectLoggingElasticsearchConfigOutput) ToGetProjectLoggingElasticsearchConfigOutput() GetProjectLoggingElasticsearchConfigOutput { + return o +} + +func (o GetProjectLoggingElasticsearchConfigOutput) ToGetProjectLoggingElasticsearchConfigOutputWithContext(ctx context.Context) GetProjectLoggingElasticsearchConfigOutput { + return o +} + +func (o GetProjectLoggingElasticsearchConfigOutput) AuthPassword() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.AuthPassword }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingElasticsearchConfigOutput) AuthUsername() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.AuthUsername }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingElasticsearchConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingElasticsearchConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingElasticsearchConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingElasticsearchConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingElasticsearchConfigOutput) DateFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.DateFormat }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingElasticsearchConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) string { return v.Endpoint }).(pulumi.StringOutput) +} + +func (o GetProjectLoggingElasticsearchConfigOutput) IndexPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.IndexPrefix }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingElasticsearchConfigOutput) SslVerify() pulumi.BoolOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) +} + +func (o GetProjectLoggingElasticsearchConfigOutput) SslVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingElasticsearchConfig) *string { return v.SslVersion }).(pulumi.StringPtrOutput) +} + +type GetProjectLoggingFluentdConfig struct { + Certificate *string `pulumi:"certificate"` + Compress *bool `pulumi:"compress"` + EnableTls *bool `pulumi:"enableTls"` + FluentServers []GetProjectLoggingFluentdConfigFluentServer `pulumi:"fluentServers"` +} + +// GetProjectLoggingFluentdConfigInput is an input type that accepts GetProjectLoggingFluentdConfigArgs and GetProjectLoggingFluentdConfigOutput values. +// You can construct a concrete instance of `GetProjectLoggingFluentdConfigInput` via: +// +// GetProjectLoggingFluentdConfigArgs{...} +type GetProjectLoggingFluentdConfigInput interface { + pulumi.Input + + ToGetProjectLoggingFluentdConfigOutput() GetProjectLoggingFluentdConfigOutput + ToGetProjectLoggingFluentdConfigOutputWithContext(context.Context) GetProjectLoggingFluentdConfigOutput +} + +type GetProjectLoggingFluentdConfigArgs struct { + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + Compress pulumi.BoolPtrInput `pulumi:"compress"` + EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` + FluentServers GetProjectLoggingFluentdConfigFluentServerArrayInput `pulumi:"fluentServers"` +} + +func (GetProjectLoggingFluentdConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingFluentdConfig)(nil)).Elem() +} + +func (i GetProjectLoggingFluentdConfigArgs) ToGetProjectLoggingFluentdConfigOutput() GetProjectLoggingFluentdConfigOutput { + return i.ToGetProjectLoggingFluentdConfigOutputWithContext(context.Background()) +} + +func (i GetProjectLoggingFluentdConfigArgs) ToGetProjectLoggingFluentdConfigOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingFluentdConfigOutput) +} + +type GetProjectLoggingFluentdConfigOutput struct{ *pulumi.OutputState } + +func (GetProjectLoggingFluentdConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingFluentdConfig)(nil)).Elem() +} + +func (o GetProjectLoggingFluentdConfigOutput) ToGetProjectLoggingFluentdConfigOutput() GetProjectLoggingFluentdConfigOutput { + return o +} + +func (o GetProjectLoggingFluentdConfigOutput) ToGetProjectLoggingFluentdConfigOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigOutput { + return o +} + +func (o GetProjectLoggingFluentdConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingFluentdConfigOutput) Compress() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfig) *bool { return v.Compress }).(pulumi.BoolPtrOutput) +} + +func (o GetProjectLoggingFluentdConfigOutput) EnableTls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) +} + +func (o GetProjectLoggingFluentdConfigOutput) FluentServers() GetProjectLoggingFluentdConfigFluentServerArrayOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfig) []GetProjectLoggingFluentdConfigFluentServer { + return v.FluentServers + }).(GetProjectLoggingFluentdConfigFluentServerArrayOutput) +} + +type GetProjectLoggingFluentdConfigFluentServer struct { + Endpoint string `pulumi:"endpoint"` + Hostname *string `pulumi:"hostname"` + Password *string `pulumi:"password"` + SharedKey *string `pulumi:"sharedKey"` + Standby *bool `pulumi:"standby"` + Username *string `pulumi:"username"` + Weight *int `pulumi:"weight"` +} + +// GetProjectLoggingFluentdConfigFluentServerInput is an input type that accepts GetProjectLoggingFluentdConfigFluentServerArgs and GetProjectLoggingFluentdConfigFluentServerOutput values. +// You can construct a concrete instance of `GetProjectLoggingFluentdConfigFluentServerInput` via: +// +// GetProjectLoggingFluentdConfigFluentServerArgs{...} +type GetProjectLoggingFluentdConfigFluentServerInput interface { + pulumi.Input + + ToGetProjectLoggingFluentdConfigFluentServerOutput() GetProjectLoggingFluentdConfigFluentServerOutput + ToGetProjectLoggingFluentdConfigFluentServerOutputWithContext(context.Context) GetProjectLoggingFluentdConfigFluentServerOutput +} + +type GetProjectLoggingFluentdConfigFluentServerArgs struct { + Endpoint pulumi.StringInput `pulumi:"endpoint"` + Hostname pulumi.StringPtrInput `pulumi:"hostname"` + Password pulumi.StringPtrInput `pulumi:"password"` + SharedKey pulumi.StringPtrInput `pulumi:"sharedKey"` + Standby pulumi.BoolPtrInput `pulumi:"standby"` + Username pulumi.StringPtrInput `pulumi:"username"` + Weight pulumi.IntPtrInput `pulumi:"weight"` +} + +func (GetProjectLoggingFluentdConfigFluentServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +} + +func (i GetProjectLoggingFluentdConfigFluentServerArgs) ToGetProjectLoggingFluentdConfigFluentServerOutput() GetProjectLoggingFluentdConfigFluentServerOutput { + return i.ToGetProjectLoggingFluentdConfigFluentServerOutputWithContext(context.Background()) +} + +func (i GetProjectLoggingFluentdConfigFluentServerArgs) ToGetProjectLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigFluentServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingFluentdConfigFluentServerOutput) +} + +// GetProjectLoggingFluentdConfigFluentServerArrayInput is an input type that accepts GetProjectLoggingFluentdConfigFluentServerArray and GetProjectLoggingFluentdConfigFluentServerArrayOutput values. +// You can construct a concrete instance of `GetProjectLoggingFluentdConfigFluentServerArrayInput` via: +// +// GetProjectLoggingFluentdConfigFluentServerArray{ GetProjectLoggingFluentdConfigFluentServerArgs{...} } +type GetProjectLoggingFluentdConfigFluentServerArrayInput interface { + pulumi.Input + + ToGetProjectLoggingFluentdConfigFluentServerArrayOutput() GetProjectLoggingFluentdConfigFluentServerArrayOutput + ToGetProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Context) GetProjectLoggingFluentdConfigFluentServerArrayOutput +} + +type GetProjectLoggingFluentdConfigFluentServerArray []GetProjectLoggingFluentdConfigFluentServerInput + +func (GetProjectLoggingFluentdConfigFluentServerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +} + +func (i GetProjectLoggingFluentdConfigFluentServerArray) ToGetProjectLoggingFluentdConfigFluentServerArrayOutput() GetProjectLoggingFluentdConfigFluentServerArrayOutput { + return i.ToGetProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(context.Background()) +} + +func (i GetProjectLoggingFluentdConfigFluentServerArray) ToGetProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigFluentServerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingFluentdConfigFluentServerArrayOutput) +} + +type GetProjectLoggingFluentdConfigFluentServerOutput struct{ *pulumi.OutputState } + +func (GetProjectLoggingFluentdConfigFluentServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +} + +func (o GetProjectLoggingFluentdConfigFluentServerOutput) ToGetProjectLoggingFluentdConfigFluentServerOutput() GetProjectLoggingFluentdConfigFluentServerOutput { + return o +} + +func (o GetProjectLoggingFluentdConfigFluentServerOutput) ToGetProjectLoggingFluentdConfigFluentServerOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigFluentServerOutput { + return o +} + +func (o GetProjectLoggingFluentdConfigFluentServerOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) string { return v.Endpoint }).(pulumi.StringOutput) +} + +func (o GetProjectLoggingFluentdConfigFluentServerOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *string { return v.Hostname }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingFluentdConfigFluentServerOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingFluentdConfigFluentServerOutput) SharedKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *string { return v.SharedKey }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingFluentdConfigFluentServerOutput) Standby() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *bool { return v.Standby }).(pulumi.BoolPtrOutput) +} + +func (o GetProjectLoggingFluentdConfigFluentServerOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingFluentdConfigFluentServerOutput) Weight() pulumi.IntPtrOutput { + return o.ApplyT(func(v GetProjectLoggingFluentdConfigFluentServer) *int { return v.Weight }).(pulumi.IntPtrOutput) +} + +type GetProjectLoggingFluentdConfigFluentServerArrayOutput struct{ *pulumi.OutputState } + +func (GetProjectLoggingFluentdConfigFluentServerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetProjectLoggingFluentdConfigFluentServer)(nil)).Elem() +} + +func (o GetProjectLoggingFluentdConfigFluentServerArrayOutput) ToGetProjectLoggingFluentdConfigFluentServerArrayOutput() GetProjectLoggingFluentdConfigFluentServerArrayOutput { + return o +} + +func (o GetProjectLoggingFluentdConfigFluentServerArrayOutput) ToGetProjectLoggingFluentdConfigFluentServerArrayOutputWithContext(ctx context.Context) GetProjectLoggingFluentdConfigFluentServerArrayOutput { + return o +} + +func (o GetProjectLoggingFluentdConfigFluentServerArrayOutput) Index(i pulumi.IntInput) GetProjectLoggingFluentdConfigFluentServerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetProjectLoggingFluentdConfigFluentServer { + return vs[0].([]GetProjectLoggingFluentdConfigFluentServer)[vs[1].(int)] + }).(GetProjectLoggingFluentdConfigFluentServerOutput) +} + +type GetProjectLoggingKafkaConfig struct { + BrokerEndpoints []string `pulumi:"brokerEndpoints"` + Certificate *string `pulumi:"certificate"` + ClientCert *string `pulumi:"clientCert"` + ClientKey *string `pulumi:"clientKey"` + Topic string `pulumi:"topic"` + ZookeeperEndpoint *string `pulumi:"zookeeperEndpoint"` +} + +// GetProjectLoggingKafkaConfigInput is an input type that accepts GetProjectLoggingKafkaConfigArgs and GetProjectLoggingKafkaConfigOutput values. +// You can construct a concrete instance of `GetProjectLoggingKafkaConfigInput` via: +// +// GetProjectLoggingKafkaConfigArgs{...} +type GetProjectLoggingKafkaConfigInput interface { + pulumi.Input + + ToGetProjectLoggingKafkaConfigOutput() GetProjectLoggingKafkaConfigOutput + ToGetProjectLoggingKafkaConfigOutputWithContext(context.Context) GetProjectLoggingKafkaConfigOutput +} + +type GetProjectLoggingKafkaConfigArgs struct { + BrokerEndpoints pulumi.StringArrayInput `pulumi:"brokerEndpoints"` + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + Topic pulumi.StringInput `pulumi:"topic"` + ZookeeperEndpoint pulumi.StringPtrInput `pulumi:"zookeeperEndpoint"` +} + +func (GetProjectLoggingKafkaConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingKafkaConfig)(nil)).Elem() +} + +func (i GetProjectLoggingKafkaConfigArgs) ToGetProjectLoggingKafkaConfigOutput() GetProjectLoggingKafkaConfigOutput { + return i.ToGetProjectLoggingKafkaConfigOutputWithContext(context.Background()) +} + +func (i GetProjectLoggingKafkaConfigArgs) ToGetProjectLoggingKafkaConfigOutputWithContext(ctx context.Context) GetProjectLoggingKafkaConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingKafkaConfigOutput) +} + +type GetProjectLoggingKafkaConfigOutput struct{ *pulumi.OutputState } + +func (GetProjectLoggingKafkaConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingKafkaConfig)(nil)).Elem() +} + +func (o GetProjectLoggingKafkaConfigOutput) ToGetProjectLoggingKafkaConfigOutput() GetProjectLoggingKafkaConfigOutput { + return o +} + +func (o GetProjectLoggingKafkaConfigOutput) ToGetProjectLoggingKafkaConfigOutputWithContext(ctx context.Context) GetProjectLoggingKafkaConfigOutput { + return o +} + +func (o GetProjectLoggingKafkaConfigOutput) BrokerEndpoints() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetProjectLoggingKafkaConfig) []string { return v.BrokerEndpoints }).(pulumi.StringArrayOutput) +} + +func (o GetProjectLoggingKafkaConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingKafkaConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingKafkaConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingKafkaConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingKafkaConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingKafkaConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingKafkaConfigOutput) Topic() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectLoggingKafkaConfig) string { return v.Topic }).(pulumi.StringOutput) +} + +func (o GetProjectLoggingKafkaConfigOutput) ZookeeperEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingKafkaConfig) *string { return v.ZookeeperEndpoint }).(pulumi.StringPtrOutput) +} + +type GetProjectLoggingSplunkConfig struct { + Certificate *string `pulumi:"certificate"` + ClientCert *string `pulumi:"clientCert"` + ClientKey *string `pulumi:"clientKey"` + ClientKeyPass *string `pulumi:"clientKeyPass"` + Endpoint string `pulumi:"endpoint"` + Index *string `pulumi:"index"` + Source *string `pulumi:"source"` + SslVerify bool `pulumi:"sslVerify"` + Token string `pulumi:"token"` +} + +// GetProjectLoggingSplunkConfigInput is an input type that accepts GetProjectLoggingSplunkConfigArgs and GetProjectLoggingSplunkConfigOutput values. +// You can construct a concrete instance of `GetProjectLoggingSplunkConfigInput` via: +// +// GetProjectLoggingSplunkConfigArgs{...} +type GetProjectLoggingSplunkConfigInput interface { + pulumi.Input + + ToGetProjectLoggingSplunkConfigOutput() GetProjectLoggingSplunkConfigOutput + ToGetProjectLoggingSplunkConfigOutputWithContext(context.Context) GetProjectLoggingSplunkConfigOutput +} + +type GetProjectLoggingSplunkConfigArgs struct { + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + ClientKeyPass pulumi.StringPtrInput `pulumi:"clientKeyPass"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + Index pulumi.StringPtrInput `pulumi:"index"` + Source pulumi.StringPtrInput `pulumi:"source"` + SslVerify pulumi.BoolInput `pulumi:"sslVerify"` + Token pulumi.StringInput `pulumi:"token"` +} + +func (GetProjectLoggingSplunkConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingSplunkConfig)(nil)).Elem() +} + +func (i GetProjectLoggingSplunkConfigArgs) ToGetProjectLoggingSplunkConfigOutput() GetProjectLoggingSplunkConfigOutput { + return i.ToGetProjectLoggingSplunkConfigOutputWithContext(context.Background()) +} + +func (i GetProjectLoggingSplunkConfigArgs) ToGetProjectLoggingSplunkConfigOutputWithContext(ctx context.Context) GetProjectLoggingSplunkConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingSplunkConfigOutput) +} + +type GetProjectLoggingSplunkConfigOutput struct{ *pulumi.OutputState } + +func (GetProjectLoggingSplunkConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingSplunkConfig)(nil)).Elem() +} + +func (o GetProjectLoggingSplunkConfigOutput) ToGetProjectLoggingSplunkConfigOutput() GetProjectLoggingSplunkConfigOutput { + return o +} + +func (o GetProjectLoggingSplunkConfigOutput) ToGetProjectLoggingSplunkConfigOutputWithContext(ctx context.Context) GetProjectLoggingSplunkConfigOutput { + return o +} + +func (o GetProjectLoggingSplunkConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSplunkConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSplunkConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSplunkConfigOutput) ClientKeyPass() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.ClientKeyPass }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSplunkConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectLoggingSplunkConfig) string { return v.Endpoint }).(pulumi.StringOutput) +} + +func (o GetProjectLoggingSplunkConfigOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.Index }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSplunkConfigOutput) Source() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSplunkConfig) *string { return v.Source }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSplunkConfigOutput) SslVerify() pulumi.BoolOutput { + return o.ApplyT(func(v GetProjectLoggingSplunkConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) +} + +func (o GetProjectLoggingSplunkConfigOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectLoggingSplunkConfig) string { return v.Token }).(pulumi.StringOutput) +} + +type GetProjectLoggingSyslogConfig struct { + Certificate *string `pulumi:"certificate"` + ClientCert *string `pulumi:"clientCert"` + ClientKey *string `pulumi:"clientKey"` + EnableTls *bool `pulumi:"enableTls"` + Endpoint string `pulumi:"endpoint"` + Program *string `pulumi:"program"` + Protocol *string `pulumi:"protocol"` + Severity *string `pulumi:"severity"` + SslVerify bool `pulumi:"sslVerify"` + Token *string `pulumi:"token"` +} + +// GetProjectLoggingSyslogConfigInput is an input type that accepts GetProjectLoggingSyslogConfigArgs and GetProjectLoggingSyslogConfigOutput values. +// You can construct a concrete instance of `GetProjectLoggingSyslogConfigInput` via: +// +// GetProjectLoggingSyslogConfigArgs{...} +type GetProjectLoggingSyslogConfigInput interface { + pulumi.Input + + ToGetProjectLoggingSyslogConfigOutput() GetProjectLoggingSyslogConfigOutput + ToGetProjectLoggingSyslogConfigOutputWithContext(context.Context) GetProjectLoggingSyslogConfigOutput +} + +type GetProjectLoggingSyslogConfigArgs struct { + Certificate pulumi.StringPtrInput `pulumi:"certificate"` + ClientCert pulumi.StringPtrInput `pulumi:"clientCert"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` + EnableTls pulumi.BoolPtrInput `pulumi:"enableTls"` + Endpoint pulumi.StringInput `pulumi:"endpoint"` + Program pulumi.StringPtrInput `pulumi:"program"` + Protocol pulumi.StringPtrInput `pulumi:"protocol"` + Severity pulumi.StringPtrInput `pulumi:"severity"` + SslVerify pulumi.BoolInput `pulumi:"sslVerify"` + Token pulumi.StringPtrInput `pulumi:"token"` +} + +func (GetProjectLoggingSyslogConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingSyslogConfig)(nil)).Elem() +} + +func (i GetProjectLoggingSyslogConfigArgs) ToGetProjectLoggingSyslogConfigOutput() GetProjectLoggingSyslogConfigOutput { + return i.ToGetProjectLoggingSyslogConfigOutputWithContext(context.Background()) +} + +func (i GetProjectLoggingSyslogConfigArgs) ToGetProjectLoggingSyslogConfigOutputWithContext(ctx context.Context) GetProjectLoggingSyslogConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectLoggingSyslogConfigOutput) +} + +type GetProjectLoggingSyslogConfigOutput struct{ *pulumi.OutputState } + +func (GetProjectLoggingSyslogConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectLoggingSyslogConfig)(nil)).Elem() +} + +func (o GetProjectLoggingSyslogConfigOutput) ToGetProjectLoggingSyslogConfigOutput() GetProjectLoggingSyslogConfigOutput { + return o +} + +func (o GetProjectLoggingSyslogConfigOutput) ToGetProjectLoggingSyslogConfigOutputWithContext(ctx context.Context) GetProjectLoggingSyslogConfigOutput { + return o +} + +func (o GetProjectLoggingSyslogConfigOutput) Certificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.Certificate }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSyslogConfigOutput) ClientCert() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.ClientCert }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSyslogConfigOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSyslogConfigOutput) EnableTls() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *bool { return v.EnableTls }).(pulumi.BoolPtrOutput) +} + +func (o GetProjectLoggingSyslogConfigOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetProjectLoggingSyslogConfig) string { return v.Endpoint }).(pulumi.StringOutput) +} + +func (o GetProjectLoggingSyslogConfigOutput) Program() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.Program }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSyslogConfigOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.Protocol }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSyslogConfigOutput) Severity() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.Severity }).(pulumi.StringPtrOutput) +} + +func (o GetProjectLoggingSyslogConfigOutput) SslVerify() pulumi.BoolOutput { + return o.ApplyT(func(v GetProjectLoggingSyslogConfig) bool { return v.SslVerify }).(pulumi.BoolOutput) +} + +func (o GetProjectLoggingSyslogConfigOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectLoggingSyslogConfig) *string { return v.Token }).(pulumi.StringPtrOutput) +} + +type GetProjectResourceQuota struct { + NamespaceDefaultLimit GetProjectResourceQuotaNamespaceDefaultLimit `pulumi:"namespaceDefaultLimit"` + ProjectLimit GetProjectResourceQuotaProjectLimit `pulumi:"projectLimit"` +} + +// GetProjectResourceQuotaInput is an input type that accepts GetProjectResourceQuotaArgs and GetProjectResourceQuotaOutput values. +// You can construct a concrete instance of `GetProjectResourceQuotaInput` via: +// +// GetProjectResourceQuotaArgs{...} +type GetProjectResourceQuotaInput interface { + pulumi.Input + + ToGetProjectResourceQuotaOutput() GetProjectResourceQuotaOutput + ToGetProjectResourceQuotaOutputWithContext(context.Context) GetProjectResourceQuotaOutput +} + +type GetProjectResourceQuotaArgs struct { + NamespaceDefaultLimit GetProjectResourceQuotaNamespaceDefaultLimitInput `pulumi:"namespaceDefaultLimit"` + ProjectLimit GetProjectResourceQuotaProjectLimitInput `pulumi:"projectLimit"` +} + +func (GetProjectResourceQuotaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectResourceQuota)(nil)).Elem() +} + +func (i GetProjectResourceQuotaArgs) ToGetProjectResourceQuotaOutput() GetProjectResourceQuotaOutput { + return i.ToGetProjectResourceQuotaOutputWithContext(context.Background()) +} + +func (i GetProjectResourceQuotaArgs) ToGetProjectResourceQuotaOutputWithContext(ctx context.Context) GetProjectResourceQuotaOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectResourceQuotaOutput) +} + +type GetProjectResourceQuotaOutput struct{ *pulumi.OutputState } + +func (GetProjectResourceQuotaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectResourceQuota)(nil)).Elem() +} + +func (o GetProjectResourceQuotaOutput) ToGetProjectResourceQuotaOutput() GetProjectResourceQuotaOutput { + return o +} + +func (o GetProjectResourceQuotaOutput) ToGetProjectResourceQuotaOutputWithContext(ctx context.Context) GetProjectResourceQuotaOutput { + return o +} + +func (o GetProjectResourceQuotaOutput) NamespaceDefaultLimit() GetProjectResourceQuotaNamespaceDefaultLimitOutput { + return o.ApplyT(func(v GetProjectResourceQuota) GetProjectResourceQuotaNamespaceDefaultLimit { + return v.NamespaceDefaultLimit + }).(GetProjectResourceQuotaNamespaceDefaultLimitOutput) +} + +func (o GetProjectResourceQuotaOutput) ProjectLimit() GetProjectResourceQuotaProjectLimitOutput { + return o.ApplyT(func(v GetProjectResourceQuota) GetProjectResourceQuotaProjectLimit { return v.ProjectLimit }).(GetProjectResourceQuotaProjectLimitOutput) +} + +type GetProjectResourceQuotaNamespaceDefaultLimit struct { + ConfigMaps *string `pulumi:"configMaps"` + LimitsCpu *string `pulumi:"limitsCpu"` + LimitsMemory *string `pulumi:"limitsMemory"` + PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` + Pods *string `pulumi:"pods"` + ReplicationControllers *string `pulumi:"replicationControllers"` + RequestsCpu *string `pulumi:"requestsCpu"` + RequestsMemory *string `pulumi:"requestsMemory"` + RequestsStorage *string `pulumi:"requestsStorage"` + Secrets *string `pulumi:"secrets"` + Services *string `pulumi:"services"` + ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` + ServicesNodePorts *string `pulumi:"servicesNodePorts"` +} + +// GetProjectResourceQuotaNamespaceDefaultLimitInput is an input type that accepts GetProjectResourceQuotaNamespaceDefaultLimitArgs and GetProjectResourceQuotaNamespaceDefaultLimitOutput values. +// You can construct a concrete instance of `GetProjectResourceQuotaNamespaceDefaultLimitInput` via: +// +// GetProjectResourceQuotaNamespaceDefaultLimitArgs{...} +type GetProjectResourceQuotaNamespaceDefaultLimitInput interface { + pulumi.Input + + ToGetProjectResourceQuotaNamespaceDefaultLimitOutput() GetProjectResourceQuotaNamespaceDefaultLimitOutput + ToGetProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(context.Context) GetProjectResourceQuotaNamespaceDefaultLimitOutput +} + +type GetProjectResourceQuotaNamespaceDefaultLimitArgs struct { + ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` + LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` + LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` + PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` + Pods pulumi.StringPtrInput `pulumi:"pods"` + ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` + RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` + RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` + RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` + Secrets pulumi.StringPtrInput `pulumi:"secrets"` + Services pulumi.StringPtrInput `pulumi:"services"` + ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` + ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` +} + +func (GetProjectResourceQuotaNamespaceDefaultLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() +} + +func (i GetProjectResourceQuotaNamespaceDefaultLimitArgs) ToGetProjectResourceQuotaNamespaceDefaultLimitOutput() GetProjectResourceQuotaNamespaceDefaultLimitOutput { + return i.ToGetProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(context.Background()) +} + +func (i GetProjectResourceQuotaNamespaceDefaultLimitArgs) ToGetProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(ctx context.Context) GetProjectResourceQuotaNamespaceDefaultLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectResourceQuotaNamespaceDefaultLimitOutput) +} + +type GetProjectResourceQuotaNamespaceDefaultLimitOutput struct{ *pulumi.OutputState } + +func (GetProjectResourceQuotaNamespaceDefaultLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectResourceQuotaNamespaceDefaultLimit)(nil)).Elem() +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ToGetProjectResourceQuotaNamespaceDefaultLimitOutput() GetProjectResourceQuotaNamespaceDefaultLimitOutput { + return o +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ToGetProjectResourceQuotaNamespaceDefaultLimitOutputWithContext(ctx context.Context) GetProjectResourceQuotaNamespaceDefaultLimitOutput { + return o +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ConfigMaps() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) Pods() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) RequestsStorage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) Secrets() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) Services() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.Services }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaNamespaceDefaultLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaNamespaceDefaultLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) +} + +type GetProjectResourceQuotaProjectLimit struct { + ConfigMaps *string `pulumi:"configMaps"` + LimitsCpu *string `pulumi:"limitsCpu"` + LimitsMemory *string `pulumi:"limitsMemory"` + PersistentVolumeClaims *string `pulumi:"persistentVolumeClaims"` + Pods *string `pulumi:"pods"` + ReplicationControllers *string `pulumi:"replicationControllers"` + RequestsCpu *string `pulumi:"requestsCpu"` + RequestsMemory *string `pulumi:"requestsMemory"` + RequestsStorage *string `pulumi:"requestsStorage"` + Secrets *string `pulumi:"secrets"` + Services *string `pulumi:"services"` + ServicesLoadBalancers *string `pulumi:"servicesLoadBalancers"` + ServicesNodePorts *string `pulumi:"servicesNodePorts"` +} + +// GetProjectResourceQuotaProjectLimitInput is an input type that accepts GetProjectResourceQuotaProjectLimitArgs and GetProjectResourceQuotaProjectLimitOutput values. +// You can construct a concrete instance of `GetProjectResourceQuotaProjectLimitInput` via: +// +// GetProjectResourceQuotaProjectLimitArgs{...} +type GetProjectResourceQuotaProjectLimitInput interface { + pulumi.Input + + ToGetProjectResourceQuotaProjectLimitOutput() GetProjectResourceQuotaProjectLimitOutput + ToGetProjectResourceQuotaProjectLimitOutputWithContext(context.Context) GetProjectResourceQuotaProjectLimitOutput +} + +type GetProjectResourceQuotaProjectLimitArgs struct { + ConfigMaps pulumi.StringPtrInput `pulumi:"configMaps"` + LimitsCpu pulumi.StringPtrInput `pulumi:"limitsCpu"` + LimitsMemory pulumi.StringPtrInput `pulumi:"limitsMemory"` + PersistentVolumeClaims pulumi.StringPtrInput `pulumi:"persistentVolumeClaims"` + Pods pulumi.StringPtrInput `pulumi:"pods"` + ReplicationControllers pulumi.StringPtrInput `pulumi:"replicationControllers"` + RequestsCpu pulumi.StringPtrInput `pulumi:"requestsCpu"` + RequestsMemory pulumi.StringPtrInput `pulumi:"requestsMemory"` + RequestsStorage pulumi.StringPtrInput `pulumi:"requestsStorage"` + Secrets pulumi.StringPtrInput `pulumi:"secrets"` + Services pulumi.StringPtrInput `pulumi:"services"` + ServicesLoadBalancers pulumi.StringPtrInput `pulumi:"servicesLoadBalancers"` + ServicesNodePorts pulumi.StringPtrInput `pulumi:"servicesNodePorts"` +} + +func (GetProjectResourceQuotaProjectLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectResourceQuotaProjectLimit)(nil)).Elem() +} + +func (i GetProjectResourceQuotaProjectLimitArgs) ToGetProjectResourceQuotaProjectLimitOutput() GetProjectResourceQuotaProjectLimitOutput { + return i.ToGetProjectResourceQuotaProjectLimitOutputWithContext(context.Background()) +} + +func (i GetProjectResourceQuotaProjectLimitArgs) ToGetProjectResourceQuotaProjectLimitOutputWithContext(ctx context.Context) GetProjectResourceQuotaProjectLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetProjectResourceQuotaProjectLimitOutput) +} + +type GetProjectResourceQuotaProjectLimitOutput struct{ *pulumi.OutputState } + +func (GetProjectResourceQuotaProjectLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetProjectResourceQuotaProjectLimit)(nil)).Elem() +} + +func (o GetProjectResourceQuotaProjectLimitOutput) ToGetProjectResourceQuotaProjectLimitOutput() GetProjectResourceQuotaProjectLimitOutput { + return o +} + +func (o GetProjectResourceQuotaProjectLimitOutput) ToGetProjectResourceQuotaProjectLimitOutputWithContext(ctx context.Context) GetProjectResourceQuotaProjectLimitOutput { + return o +} + +func (o GetProjectResourceQuotaProjectLimitOutput) ConfigMaps() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.ConfigMaps }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) LimitsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.LimitsCpu }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) LimitsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.LimitsMemory }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) PersistentVolumeClaims() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.PersistentVolumeClaims }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) Pods() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.Pods }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) ReplicationControllers() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.ReplicationControllers }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) RequestsCpu() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.RequestsCpu }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) RequestsMemory() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.RequestsMemory }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) RequestsStorage() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.RequestsStorage }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) Secrets() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.Secrets }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) Services() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.Services }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) ServicesLoadBalancers() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.ServicesLoadBalancers }).(pulumi.StringPtrOutput) +} + +func (o GetProjectResourceQuotaProjectLimitOutput) ServicesNodePorts() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetProjectResourceQuotaProjectLimit) *string { return v.ServicesNodePorts }).(pulumi.StringPtrOutput) +} + +type GetRegistryRegistry struct { + Address string `pulumi:"address"` + Password *string `pulumi:"password"` + Username *string `pulumi:"username"` +} + +// GetRegistryRegistryInput is an input type that accepts GetRegistryRegistryArgs and GetRegistryRegistryOutput values. +// You can construct a concrete instance of `GetRegistryRegistryInput` via: +// +// GetRegistryRegistryArgs{...} +type GetRegistryRegistryInput interface { + pulumi.Input + + ToGetRegistryRegistryOutput() GetRegistryRegistryOutput + ToGetRegistryRegistryOutputWithContext(context.Context) GetRegistryRegistryOutput +} + +type GetRegistryRegistryArgs struct { + Address pulumi.StringInput `pulumi:"address"` + Password pulumi.StringPtrInput `pulumi:"password"` + Username pulumi.StringPtrInput `pulumi:"username"` +} + +func (GetRegistryRegistryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegistryRegistry)(nil)).Elem() +} + +func (i GetRegistryRegistryArgs) ToGetRegistryRegistryOutput() GetRegistryRegistryOutput { + return i.ToGetRegistryRegistryOutputWithContext(context.Background()) +} + +func (i GetRegistryRegistryArgs) ToGetRegistryRegistryOutputWithContext(ctx context.Context) GetRegistryRegistryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegistryRegistryOutput) +} + +// GetRegistryRegistryArrayInput is an input type that accepts GetRegistryRegistryArray and GetRegistryRegistryArrayOutput values. +// You can construct a concrete instance of `GetRegistryRegistryArrayInput` via: +// +// GetRegistryRegistryArray{ GetRegistryRegistryArgs{...} } +type GetRegistryRegistryArrayInput interface { + pulumi.Input + + ToGetRegistryRegistryArrayOutput() GetRegistryRegistryArrayOutput + ToGetRegistryRegistryArrayOutputWithContext(context.Context) GetRegistryRegistryArrayOutput +} + +type GetRegistryRegistryArray []GetRegistryRegistryInput + +func (GetRegistryRegistryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegistryRegistry)(nil)).Elem() +} + +func (i GetRegistryRegistryArray) ToGetRegistryRegistryArrayOutput() GetRegistryRegistryArrayOutput { + return i.ToGetRegistryRegistryArrayOutputWithContext(context.Background()) +} + +func (i GetRegistryRegistryArray) ToGetRegistryRegistryArrayOutputWithContext(ctx context.Context) GetRegistryRegistryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRegistryRegistryArrayOutput) +} + +type GetRegistryRegistryOutput struct{ *pulumi.OutputState } + +func (GetRegistryRegistryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRegistryRegistry)(nil)).Elem() +} + +func (o GetRegistryRegistryOutput) ToGetRegistryRegistryOutput() GetRegistryRegistryOutput { + return o +} + +func (o GetRegistryRegistryOutput) ToGetRegistryRegistryOutputWithContext(ctx context.Context) GetRegistryRegistryOutput { + return o +} + +func (o GetRegistryRegistryOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v GetRegistryRegistry) string { return v.Address }).(pulumi.StringOutput) +} + +func (o GetRegistryRegistryOutput) Password() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegistryRegistry) *string { return v.Password }).(pulumi.StringPtrOutput) +} + +func (o GetRegistryRegistryOutput) Username() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetRegistryRegistry) *string { return v.Username }).(pulumi.StringPtrOutput) +} + +type GetRegistryRegistryArrayOutput struct{ *pulumi.OutputState } + +func (GetRegistryRegistryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRegistryRegistry)(nil)).Elem() +} + +func (o GetRegistryRegistryArrayOutput) ToGetRegistryRegistryArrayOutput() GetRegistryRegistryArrayOutput { + return o +} + +func (o GetRegistryRegistryArrayOutput) ToGetRegistryRegistryArrayOutputWithContext(ctx context.Context) GetRegistryRegistryArrayOutput { + return o +} + +func (o GetRegistryRegistryArrayOutput) Index(i pulumi.IntInput) GetRegistryRegistryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRegistryRegistry { + return vs[0].([]GetRegistryRegistry)[vs[1].(int)] + }).(GetRegistryRegistryOutput) +} + +type GetRoleTempalteRule struct { + ApiGroups []string `pulumi:"apiGroups"` + NonResourceUrls []string `pulumi:"nonResourceUrls"` + ResourceNames []string `pulumi:"resourceNames"` + Resources []string `pulumi:"resources"` + Verbs []string `pulumi:"verbs"` +} + +// GetRoleTempalteRuleInput is an input type that accepts GetRoleTempalteRuleArgs and GetRoleTempalteRuleOutput values. +// You can construct a concrete instance of `GetRoleTempalteRuleInput` via: +// +// GetRoleTempalteRuleArgs{...} +type GetRoleTempalteRuleInput interface { + pulumi.Input + + ToGetRoleTempalteRuleOutput() GetRoleTempalteRuleOutput + ToGetRoleTempalteRuleOutputWithContext(context.Context) GetRoleTempalteRuleOutput +} + +type GetRoleTempalteRuleArgs struct { + ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` + NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` + ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` + Resources pulumi.StringArrayInput `pulumi:"resources"` + Verbs pulumi.StringArrayInput `pulumi:"verbs"` +} + +func (GetRoleTempalteRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoleTempalteRule)(nil)).Elem() +} + +func (i GetRoleTempalteRuleArgs) ToGetRoleTempalteRuleOutput() GetRoleTempalteRuleOutput { + return i.ToGetRoleTempalteRuleOutputWithContext(context.Background()) +} + +func (i GetRoleTempalteRuleArgs) ToGetRoleTempalteRuleOutputWithContext(ctx context.Context) GetRoleTempalteRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoleTempalteRuleOutput) +} + +// GetRoleTempalteRuleArrayInput is an input type that accepts GetRoleTempalteRuleArray and GetRoleTempalteRuleArrayOutput values. +// You can construct a concrete instance of `GetRoleTempalteRuleArrayInput` via: +// +// GetRoleTempalteRuleArray{ GetRoleTempalteRuleArgs{...} } +type GetRoleTempalteRuleArrayInput interface { + pulumi.Input + + ToGetRoleTempalteRuleArrayOutput() GetRoleTempalteRuleArrayOutput + ToGetRoleTempalteRuleArrayOutputWithContext(context.Context) GetRoleTempalteRuleArrayOutput +} + +type GetRoleTempalteRuleArray []GetRoleTempalteRuleInput + +func (GetRoleTempalteRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoleTempalteRule)(nil)).Elem() +} + +func (i GetRoleTempalteRuleArray) ToGetRoleTempalteRuleArrayOutput() GetRoleTempalteRuleArrayOutput { + return i.ToGetRoleTempalteRuleArrayOutputWithContext(context.Background()) +} + +func (i GetRoleTempalteRuleArray) ToGetRoleTempalteRuleArrayOutputWithContext(ctx context.Context) GetRoleTempalteRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoleTempalteRuleArrayOutput) +} + +type GetRoleTempalteRuleOutput struct{ *pulumi.OutputState } + +func (GetRoleTempalteRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoleTempalteRule)(nil)).Elem() +} + +func (o GetRoleTempalteRuleOutput) ToGetRoleTempalteRuleOutput() GetRoleTempalteRuleOutput { + return o +} + +func (o GetRoleTempalteRuleOutput) ToGetRoleTempalteRuleOutputWithContext(ctx context.Context) GetRoleTempalteRuleOutput { + return o +} + +func (o GetRoleTempalteRuleOutput) ApiGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRoleTempalteRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) +} + +func (o GetRoleTempalteRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRoleTempalteRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) +} + +func (o GetRoleTempalteRuleOutput) ResourceNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRoleTempalteRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) +} + +func (o GetRoleTempalteRuleOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRoleTempalteRule) []string { return v.Resources }).(pulumi.StringArrayOutput) +} + +func (o GetRoleTempalteRuleOutput) Verbs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRoleTempalteRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) +} + +type GetRoleTempalteRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetRoleTempalteRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoleTempalteRule)(nil)).Elem() +} + +func (o GetRoleTempalteRuleArrayOutput) ToGetRoleTempalteRuleArrayOutput() GetRoleTempalteRuleArrayOutput { + return o +} + +func (o GetRoleTempalteRuleArrayOutput) ToGetRoleTempalteRuleArrayOutputWithContext(ctx context.Context) GetRoleTempalteRuleArrayOutput { + return o +} + +func (o GetRoleTempalteRuleArrayOutput) Index(i pulumi.IntInput) GetRoleTempalteRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoleTempalteRule { + return vs[0].([]GetRoleTempalteRule)[vs[1].(int)] + }).(GetRoleTempalteRuleOutput) +} + +type GetRoleTemplateRule struct { + ApiGroups []string `pulumi:"apiGroups"` + NonResourceUrls []string `pulumi:"nonResourceUrls"` + ResourceNames []string `pulumi:"resourceNames"` + Resources []string `pulumi:"resources"` + Verbs []string `pulumi:"verbs"` +} + +// GetRoleTemplateRuleInput is an input type that accepts GetRoleTemplateRuleArgs and GetRoleTemplateRuleOutput values. +// You can construct a concrete instance of `GetRoleTemplateRuleInput` via: +// +// GetRoleTemplateRuleArgs{...} +type GetRoleTemplateRuleInput interface { + pulumi.Input + + ToGetRoleTemplateRuleOutput() GetRoleTemplateRuleOutput + ToGetRoleTemplateRuleOutputWithContext(context.Context) GetRoleTemplateRuleOutput +} + +type GetRoleTemplateRuleArgs struct { + ApiGroups pulumi.StringArrayInput `pulumi:"apiGroups"` + NonResourceUrls pulumi.StringArrayInput `pulumi:"nonResourceUrls"` + ResourceNames pulumi.StringArrayInput `pulumi:"resourceNames"` + Resources pulumi.StringArrayInput `pulumi:"resources"` + Verbs pulumi.StringArrayInput `pulumi:"verbs"` +} + +func (GetRoleTemplateRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoleTemplateRule)(nil)).Elem() +} + +func (i GetRoleTemplateRuleArgs) ToGetRoleTemplateRuleOutput() GetRoleTemplateRuleOutput { + return i.ToGetRoleTemplateRuleOutputWithContext(context.Background()) +} + +func (i GetRoleTemplateRuleArgs) ToGetRoleTemplateRuleOutputWithContext(ctx context.Context) GetRoleTemplateRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoleTemplateRuleOutput) +} + +// GetRoleTemplateRuleArrayInput is an input type that accepts GetRoleTemplateRuleArray and GetRoleTemplateRuleArrayOutput values. +// You can construct a concrete instance of `GetRoleTemplateRuleArrayInput` via: +// +// GetRoleTemplateRuleArray{ GetRoleTemplateRuleArgs{...} } +type GetRoleTemplateRuleArrayInput interface { + pulumi.Input + + ToGetRoleTemplateRuleArrayOutput() GetRoleTemplateRuleArrayOutput + ToGetRoleTemplateRuleArrayOutputWithContext(context.Context) GetRoleTemplateRuleArrayOutput +} + +type GetRoleTemplateRuleArray []GetRoleTemplateRuleInput + +func (GetRoleTemplateRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoleTemplateRule)(nil)).Elem() +} + +func (i GetRoleTemplateRuleArray) ToGetRoleTemplateRuleArrayOutput() GetRoleTemplateRuleArrayOutput { + return i.ToGetRoleTemplateRuleArrayOutputWithContext(context.Background()) +} + +func (i GetRoleTemplateRuleArray) ToGetRoleTemplateRuleArrayOutputWithContext(ctx context.Context) GetRoleTemplateRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetRoleTemplateRuleArrayOutput) +} + +type GetRoleTemplateRuleOutput struct{ *pulumi.OutputState } + +func (GetRoleTemplateRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetRoleTemplateRule)(nil)).Elem() +} + +func (o GetRoleTemplateRuleOutput) ToGetRoleTemplateRuleOutput() GetRoleTemplateRuleOutput { + return o +} + +func (o GetRoleTemplateRuleOutput) ToGetRoleTemplateRuleOutputWithContext(ctx context.Context) GetRoleTemplateRuleOutput { + return o +} + +func (o GetRoleTemplateRuleOutput) ApiGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRoleTemplateRule) []string { return v.ApiGroups }).(pulumi.StringArrayOutput) +} + +func (o GetRoleTemplateRuleOutput) NonResourceUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRoleTemplateRule) []string { return v.NonResourceUrls }).(pulumi.StringArrayOutput) +} + +func (o GetRoleTemplateRuleOutput) ResourceNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRoleTemplateRule) []string { return v.ResourceNames }).(pulumi.StringArrayOutput) +} + +func (o GetRoleTemplateRuleOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRoleTemplateRule) []string { return v.Resources }).(pulumi.StringArrayOutput) +} + +func (o GetRoleTemplateRuleOutput) Verbs() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetRoleTemplateRule) []string { return v.Verbs }).(pulumi.StringArrayOutput) +} + +type GetRoleTemplateRuleArrayOutput struct{ *pulumi.OutputState } + +func (GetRoleTemplateRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetRoleTemplateRule)(nil)).Elem() +} + +func (o GetRoleTemplateRuleArrayOutput) ToGetRoleTemplateRuleArrayOutput() GetRoleTemplateRuleArrayOutput { + return o +} + +func (o GetRoleTemplateRuleArrayOutput) ToGetRoleTemplateRuleArrayOutputWithContext(ctx context.Context) GetRoleTemplateRuleArrayOutput { + return o +} + +func (o GetRoleTemplateRuleArrayOutput) Index(i pulumi.IntInput) GetRoleTemplateRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetRoleTemplateRule { + return vs[0].([]GetRoleTemplateRule)[vs[1].(int)] + }).(GetRoleTemplateRuleOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GetNodeTemplateNodeTaintInput)(nil)).Elem(), GetNodeTemplateNodeTaintArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNodeTemplateNodeTaintArrayInput)(nil)).Elem(), GetNodeTemplateNodeTaintArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierDingtalkConfigInput)(nil)).Elem(), GetNotifierDingtalkConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierDingtalkConfigPtrInput)(nil)).Elem(), GetNotifierDingtalkConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierMsteamsConfigInput)(nil)).Elem(), GetNotifierMsteamsConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierMsteamsConfigPtrInput)(nil)).Elem(), GetNotifierMsteamsConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierPagerdutyConfigInput)(nil)).Elem(), GetNotifierPagerdutyConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierSlackConfigInput)(nil)).Elem(), GetNotifierSlackConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierSmtpConfigInput)(nil)).Elem(), GetNotifierSmtpConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierWebhookConfigInput)(nil)).Elem(), GetNotifierWebhookConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNotifierWechatConfigInput)(nil)).Elem(), GetNotifierWechatConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedCsiDriverInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedCsiDriverArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedCsiDriverArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedCsiDriverArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedFlexVolumeInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedFlexVolumeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedHostPathInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedHostPathArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateAllowedHostPathArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateAllowedHostPathArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupInput)(nil)).Elem(), GetPodSecurityPolicyTemplateFsGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateFsGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupRangeInput)(nil)).Elem(), GetPodSecurityPolicyTemplateFsGroupRangeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateFsGroupRangeArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateFsGroupRangeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateHostPortInput)(nil)).Elem(), GetPodSecurityPolicyTemplateHostPortArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateHostPortArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateHostPortArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupRangeInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsGroupRangeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsGroupRangeArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsGroupRangeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsUserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsUserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserRangeInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsUserRangeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRunAsUserRangeArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRunAsUserRangeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRuntimeClassInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRuntimeClassArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateRuntimeClassPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateRuntimeClassArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSeLinuxArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSeLinuxArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSupplementalGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupPtrInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSupplementalGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupRangeInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSupplementalGroupRangeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayInput)(nil)).Elem(), GetPodSecurityPolicyTemplateSupplementalGroupRangeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectAlertGroupRecipientInput)(nil)).Elem(), GetProjectAlertGroupRecipientArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectAlertGroupRecipientArrayInput)(nil)).Elem(), GetProjectAlertGroupRecipientArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectAlertRuleMetricRuleInput)(nil)).Elem(), GetProjectAlertRuleMetricRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectAlertRulePodRuleInput)(nil)).Elem(), GetProjectAlertRulePodRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectAlertRuleWorkloadRuleInput)(nil)).Elem(), GetProjectAlertRuleWorkloadRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectContainerResourceLimitInput)(nil)).Elem(), GetProjectContainerResourceLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingCustomTargetConfigInput)(nil)).Elem(), GetProjectLoggingCustomTargetConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingElasticsearchConfigInput)(nil)).Elem(), GetProjectLoggingElasticsearchConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingFluentdConfigInput)(nil)).Elem(), GetProjectLoggingFluentdConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingFluentdConfigFluentServerInput)(nil)).Elem(), GetProjectLoggingFluentdConfigFluentServerArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingFluentdConfigFluentServerArrayInput)(nil)).Elem(), GetProjectLoggingFluentdConfigFluentServerArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingKafkaConfigInput)(nil)).Elem(), GetProjectLoggingKafkaConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingSplunkConfigInput)(nil)).Elem(), GetProjectLoggingSplunkConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectLoggingSyslogConfigInput)(nil)).Elem(), GetProjectLoggingSyslogConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectResourceQuotaInput)(nil)).Elem(), GetProjectResourceQuotaArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectResourceQuotaNamespaceDefaultLimitInput)(nil)).Elem(), GetProjectResourceQuotaNamespaceDefaultLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetProjectResourceQuotaProjectLimitInput)(nil)).Elem(), GetProjectResourceQuotaProjectLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegistryRegistryInput)(nil)).Elem(), GetRegistryRegistryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRegistryRegistryArrayInput)(nil)).Elem(), GetRegistryRegistryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoleTempalteRuleInput)(nil)).Elem(), GetRoleTempalteRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoleTempalteRuleArrayInput)(nil)).Elem(), GetRoleTempalteRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoleTemplateRuleInput)(nil)).Elem(), GetRoleTemplateRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetRoleTemplateRuleArrayInput)(nil)).Elem(), GetRoleTemplateRuleArray{}) + pulumi.RegisterOutputType(GetNodeTemplateNodeTaintOutput{}) + pulumi.RegisterOutputType(GetNodeTemplateNodeTaintArrayOutput{}) + pulumi.RegisterOutputType(GetNotifierDingtalkConfigOutput{}) + pulumi.RegisterOutputType(GetNotifierDingtalkConfigPtrOutput{}) + pulumi.RegisterOutputType(GetNotifierMsteamsConfigOutput{}) + pulumi.RegisterOutputType(GetNotifierMsteamsConfigPtrOutput{}) + pulumi.RegisterOutputType(GetNotifierPagerdutyConfigOutput{}) + pulumi.RegisterOutputType(GetNotifierSlackConfigOutput{}) + pulumi.RegisterOutputType(GetNotifierSmtpConfigOutput{}) + pulumi.RegisterOutputType(GetNotifierWebhookConfigOutput{}) + pulumi.RegisterOutputType(GetNotifierWechatConfigOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedCsiDriverOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedCsiDriverArrayOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedFlexVolumeOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedFlexVolumeArrayOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedHostPathOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateAllowedHostPathArrayOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateFsGroupOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateFsGroupPtrOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateFsGroupRangeOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateFsGroupRangeArrayOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateHostPortOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateHostPortArrayOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsGroupOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsGroupPtrOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsGroupRangeOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsGroupRangeArrayOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsUserOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsUserPtrOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsUserRangeOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRunAsUserRangeArrayOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRuntimeClassOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateRuntimeClassPtrOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSeLinuxOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSeLinuxPtrOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSeLinuxSeLinuxOptionPtrOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSupplementalGroupOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSupplementalGroupPtrOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSupplementalGroupRangeOutput{}) + pulumi.RegisterOutputType(GetPodSecurityPolicyTemplateSupplementalGroupRangeArrayOutput{}) + pulumi.RegisterOutputType(GetProjectAlertGroupRecipientOutput{}) + pulumi.RegisterOutputType(GetProjectAlertGroupRecipientArrayOutput{}) + pulumi.RegisterOutputType(GetProjectAlertRuleMetricRuleOutput{}) + pulumi.RegisterOutputType(GetProjectAlertRulePodRuleOutput{}) + pulumi.RegisterOutputType(GetProjectAlertRuleWorkloadRuleOutput{}) + pulumi.RegisterOutputType(GetProjectContainerResourceLimitOutput{}) + pulumi.RegisterOutputType(GetProjectLoggingCustomTargetConfigOutput{}) + pulumi.RegisterOutputType(GetProjectLoggingElasticsearchConfigOutput{}) + pulumi.RegisterOutputType(GetProjectLoggingFluentdConfigOutput{}) + pulumi.RegisterOutputType(GetProjectLoggingFluentdConfigFluentServerOutput{}) + pulumi.RegisterOutputType(GetProjectLoggingFluentdConfigFluentServerArrayOutput{}) + pulumi.RegisterOutputType(GetProjectLoggingKafkaConfigOutput{}) + pulumi.RegisterOutputType(GetProjectLoggingSplunkConfigOutput{}) + pulumi.RegisterOutputType(GetProjectLoggingSyslogConfigOutput{}) + pulumi.RegisterOutputType(GetProjectResourceQuotaOutput{}) + pulumi.RegisterOutputType(GetProjectResourceQuotaNamespaceDefaultLimitOutput{}) + pulumi.RegisterOutputType(GetProjectResourceQuotaProjectLimitOutput{}) + pulumi.RegisterOutputType(GetRegistryRegistryOutput{}) + pulumi.RegisterOutputType(GetRegistryRegistryArrayOutput{}) + pulumi.RegisterOutputType(GetRoleTempalteRuleOutput{}) + pulumi.RegisterOutputType(GetRoleTempalteRuleArrayOutput{}) + pulumi.RegisterOutputType(GetRoleTemplateRuleOutput{}) + pulumi.RegisterOutputType(GetRoleTemplateRuleArrayOutput{}) +} diff --git a/sdk/go/rancher2/registry.go b/sdk/go/rancher2/registry.go index 806316857..d19703ef1 100644 --- a/sdk/go/rancher2/registry.go +++ b/sdk/go/rancher2/registry.go @@ -308,6 +308,41 @@ func (o RegistryOutput) ToRegistryOutputWithContext(ctx context.Context) Registr return o } +// Annotations for Registry object (map) +func (o RegistryOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Registry) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// A registry description (string) +func (o RegistryOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Registry) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Labels for Registry object (map) +func (o RegistryOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Registry) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the registry (string) +func (o RegistryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Registry) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The namespace id where to assign the namespaced registry (string) +func (o RegistryOutput) NamespaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Registry) pulumi.StringPtrOutput { return v.NamespaceId }).(pulumi.StringPtrOutput) +} + +// The project id where to assign the registry (string) +func (o RegistryOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *Registry) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// Registries data for registry (list) +func (o RegistryOutput) Registries() RegistryRegistryArrayOutput { + return o.ApplyT(func(v *Registry) RegistryRegistryArrayOutput { return v.Registries }).(RegistryRegistryArrayOutput) +} + type RegistryArrayOutput struct{ *pulumi.OutputState } func (RegistryArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/roleTempalte.go b/sdk/go/rancher2/roleTempalte.go index b9e0744a6..0affdc3c7 100644 --- a/sdk/go/rancher2/roleTempalte.go +++ b/sdk/go/rancher2/roleTempalte.go @@ -368,6 +368,71 @@ func (o RoleTempalteOutput) ToRoleTempalteOutputWithContext(ctx context.Context) return o } +// Administrative role template. Default `false` (bool) +func (o RoleTempalteOutput) Administrative() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.BoolPtrOutput { return v.Administrative }).(pulumi.BoolPtrOutput) +} + +// Annotations for role template object (map) +func (o RoleTempalteOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// (Computed) Builtin role template (string) +func (o RoleTempalteOutput) Builtin() pulumi.BoolOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.BoolOutput { return v.Builtin }).(pulumi.BoolOutput) +} + +// Role template context. `cluster` and `project` values are supported. Default: `cluster` (string) +func (o RoleTempalteOutput) Context() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.StringPtrOutput { return v.Context }).(pulumi.StringPtrOutput) +} + +// Default role template for new created cluster or project. Default `false` (bool) +func (o RoleTempalteOutput) DefaultRole() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.BoolPtrOutput { return v.DefaultRole }).(pulumi.BoolPtrOutput) +} + +// Role template description (string) +func (o RoleTempalteOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// External role template. Default `false` (bool) +func (o RoleTempalteOutput) External() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.BoolPtrOutput { return v.External }).(pulumi.BoolPtrOutput) +} + +// Hidden role template. Default `false` (bool) +func (o RoleTempalteOutput) Hidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.BoolPtrOutput { return v.Hidden }).(pulumi.BoolPtrOutput) +} + +// Labels for role template object (map) +func (o RoleTempalteOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Locked role template. Default `false` (bool) +func (o RoleTempalteOutput) Locked() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.BoolPtrOutput { return v.Locked }).(pulumi.BoolPtrOutput) +} + +// Role template name (string) +func (o RoleTempalteOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Inherit role template IDs (list) +func (o RoleTempalteOutput) RoleTemplateIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *RoleTempalte) pulumi.StringArrayOutput { return v.RoleTemplateIds }).(pulumi.StringArrayOutput) +} + +// Role template policy rules (list) +func (o RoleTempalteOutput) Rules() RoleTempalteRuleArrayOutput { + return o.ApplyT(func(v *RoleTempalte) RoleTempalteRuleArrayOutput { return v.Rules }).(RoleTempalteRuleArrayOutput) +} + type RoleTempalteArrayOutput struct{ *pulumi.OutputState } func (RoleTempalteArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/roleTemplate.go b/sdk/go/rancher2/roleTemplate.go index 75bebbb49..6975df60f 100644 --- a/sdk/go/rancher2/roleTemplate.go +++ b/sdk/go/rancher2/roleTemplate.go @@ -372,6 +372,71 @@ func (o RoleTemplateOutput) ToRoleTemplateOutputWithContext(ctx context.Context) return o } +// Administrative role template. Default `false` (bool) +func (o RoleTemplateOutput) Administrative() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.BoolPtrOutput { return v.Administrative }).(pulumi.BoolPtrOutput) +} + +// Annotations for role template object (map) +func (o RoleTemplateOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// (Computed) Builtin role template (string) +func (o RoleTemplateOutput) Builtin() pulumi.BoolOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.BoolOutput { return v.Builtin }).(pulumi.BoolOutput) +} + +// Role template context. `cluster` and `project` values are supported. Default: `cluster` (string) +func (o RoleTemplateOutput) Context() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.StringPtrOutput { return v.Context }).(pulumi.StringPtrOutput) +} + +// Default role template for new created cluster or project. Default `false` (bool) +func (o RoleTemplateOutput) DefaultRole() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.BoolPtrOutput { return v.DefaultRole }).(pulumi.BoolPtrOutput) +} + +// Role template description (string) +func (o RoleTemplateOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// External role template. Default `false` (bool) +func (o RoleTemplateOutput) External() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.BoolPtrOutput { return v.External }).(pulumi.BoolPtrOutput) +} + +// Hidden role template. Default `false` (bool) +func (o RoleTemplateOutput) Hidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.BoolPtrOutput { return v.Hidden }).(pulumi.BoolPtrOutput) +} + +// Labels for role template object (map) +func (o RoleTemplateOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// Locked role template. Default `false` (bool) +func (o RoleTemplateOutput) Locked() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.BoolPtrOutput { return v.Locked }).(pulumi.BoolPtrOutput) +} + +// Role template name (string) +func (o RoleTemplateOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Inherit role template IDs (list) +func (o RoleTemplateOutput) RoleTemplateIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *RoleTemplate) pulumi.StringArrayOutput { return v.RoleTemplateIds }).(pulumi.StringArrayOutput) +} + +// Role template policy rules (list) +func (o RoleTemplateOutput) Rules() RoleTemplateRuleArrayOutput { + return o.ApplyT(func(v *RoleTemplate) RoleTemplateRuleArrayOutput { return v.Rules }).(RoleTemplateRuleArrayOutput) +} + type RoleTemplateArrayOutput struct{ *pulumi.OutputState } func (RoleTemplateArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/secret.go b/sdk/go/rancher2/secret.go index 57800950d..6d203f321 100644 --- a/sdk/go/rancher2/secret.go +++ b/sdk/go/rancher2/secret.go @@ -60,6 +60,13 @@ func NewSecret(ctx *pulumi.Context, if args.ProjectId == nil { return nil, errors.New("invalid value for required argument 'ProjectId'") } + if args.Data != nil { + args.Data = pulumi.ToSecret(args.Data).(pulumi.MapOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "data", + }) + opts = append(opts, secrets) var resource Secret err := ctx.RegisterResource("rancher2:index/secret:Secret", name, args, &resource, opts...) if err != nil { @@ -241,6 +248,41 @@ func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutpu return o } +// Annotations for secret object (map) +func (o SecretOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Secret) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Secret key/value data. Base64 encoding required for values (map) +func (o SecretOutput) Data() pulumi.MapOutput { + return o.ApplyT(func(v *Secret) pulumi.MapOutput { return v.Data }).(pulumi.MapOutput) +} + +// A secret description (string) +func (o SecretOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Secret) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Labels for secret object (map) +func (o SecretOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Secret) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the secret (string) +func (o SecretOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Secret) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The namespace id where to assign the namespaced secret (string) +func (o SecretOutput) NamespaceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Secret) pulumi.StringPtrOutput { return v.NamespaceId }).(pulumi.StringPtrOutput) +} + +// The project id where to assign the secret (string) +func (o SecretOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *Secret) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + type SecretArrayOutput struct{ *pulumi.OutputState } func (SecretArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/secretV2.go b/sdk/go/rancher2/secretV2.go index 93954fc16..a2e068c6d 100644 --- a/sdk/go/rancher2/secretV2.go +++ b/sdk/go/rancher2/secretV2.go @@ -58,6 +58,13 @@ func NewSecretV2(ctx *pulumi.Context, if args.Data == nil { return nil, errors.New("invalid value for required argument 'Data'") } + if args.Data != nil { + args.Data = pulumi.ToSecret(args.Data).(pulumi.MapOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "data", + }) + opts = append(opts, secrets) var resource SecretV2 err := ctx.RegisterResource("rancher2:index/secretV2:SecretV2", name, args, &resource, opts...) if err != nil { @@ -251,6 +258,51 @@ func (o SecretV2Output) ToSecretV2OutputWithContext(ctx context.Context) SecretV return o } +// Annotations for the secret v2 (map) +func (o SecretV2Output) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *SecretV2) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id of the secret V2 (string) +func (o SecretV2Output) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *SecretV2) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// The data of the secret v2 (map) +func (o SecretV2Output) Data() pulumi.MapOutput { + return o.ApplyT(func(v *SecretV2) pulumi.MapOutput { return v.Data }).(pulumi.MapOutput) +} + +// If set to true, any secret update will remove and recreate the secret. This is a beta field enabled by k8s `ImmutableEphemeralVolumes` feature gate. Default: `false` (bool) +func (o SecretV2Output) Immutable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SecretV2) pulumi.BoolPtrOutput { return v.Immutable }).(pulumi.BoolPtrOutput) +} + +// Labels for the secret v2 (map) +func (o SecretV2Output) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *SecretV2) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the secret v2 (string) +func (o SecretV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v *SecretV2) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The namespaces of the secret v2. Default: `default` (string) +func (o SecretV2Output) Namespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretV2) pulumi.StringPtrOutput { return v.Namespace }).(pulumi.StringPtrOutput) +} + +// (Computed) The k8s resource version (string) +func (o SecretV2Output) ResourceVersion() pulumi.StringOutput { + return o.ApplyT(func(v *SecretV2) pulumi.StringOutput { return v.ResourceVersion }).(pulumi.StringOutput) +} + +// The type of the k8s secret, used to facilitate programmatic handling of secret data, [More info](https://github.com/kubernetes/api/blob/release-1.20/core/v1/types.go#L5772) about k8s secret types and expected format. Default: `Opaque` (string) +func (o SecretV2Output) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretV2) pulumi.StringPtrOutput { return v.Type }).(pulumi.StringPtrOutput) +} + type SecretV2ArrayOutput struct{ *pulumi.OutputState } func (SecretV2ArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/setting.go b/sdk/go/rancher2/setting.go index 968d163d4..b6d5d2815 100644 --- a/sdk/go/rancher2/setting.go +++ b/sdk/go/rancher2/setting.go @@ -232,6 +232,26 @@ func (o SettingOutput) ToSettingOutputWithContext(ctx context.Context) SettingOu return o } +// Annotations for setting object (map) +func (o SettingOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Setting) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Labels for setting object (map) +func (o SettingOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Setting) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The name of the setting (string) +func (o SettingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Setting) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The value of the setting (string) +func (o SettingOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v *Setting) pulumi.StringOutput { return v.Value }).(pulumi.StringOutput) +} + type SettingArrayOutput struct{ *pulumi.OutputState } func (SettingArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/storageClassV2.go b/sdk/go/rancher2/storageClassV2.go index 2d33b35e3..3eb9e050e 100644 --- a/sdk/go/rancher2/storageClassV2.go +++ b/sdk/go/rancher2/storageClassV2.go @@ -271,6 +271,61 @@ func (o StorageClassV2Output) ToStorageClassV2OutputWithContext(ctx context.Cont return o } +// Is the provisioner of the storageClass v2 allowing volume expansion? (bool) +func (o StorageClassV2Output) AllowVolumeExpansion() pulumi.BoolOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.BoolOutput { return v.AllowVolumeExpansion }).(pulumi.BoolOutput) +} + +// Annotations for the storageClass v2 (map) +func (o StorageClassV2Output) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// The cluster id of the storageClass V2 (string) +func (o StorageClassV2Output) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// The provisioner of the storageClass v2 (string) +func (o StorageClassV2Output) K8sProvisioner() pulumi.StringOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.StringOutput { return v.K8sProvisioner }).(pulumi.StringOutput) +} + +// Labels for the storageClass v2 (map) +func (o StorageClassV2Output) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The mount options for storageClass v2 (list) +func (o StorageClassV2Output) MountOptions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.StringArrayOutput { return v.MountOptions }).(pulumi.StringArrayOutput) +} + +// The name of the storageClass v2 (string) +func (o StorageClassV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The parameters for storageClass v2 (string) +func (o StorageClassV2Output) Parameters() pulumi.MapOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.MapOutput { return v.Parameters }).(pulumi.MapOutput) +} + +// The reclaim policy for storageClass v2. `Delete`, `Recycle` and `Retain` values are allowed. Default: `Delete` (string) +func (o StorageClassV2Output) ReclaimPolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.StringPtrOutput { return v.ReclaimPolicy }).(pulumi.StringPtrOutput) +} + +// (Computed) The k8s resource version (string) +func (o StorageClassV2Output) ResourceVersion() pulumi.StringOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.StringOutput { return v.ResourceVersion }).(pulumi.StringOutput) +} + +// The volume binding mode for storageClass v2. `Immediate` and `WaitForFirstConsumer` values are allowed. Default: `Immediate` (string) +func (o StorageClassV2Output) VolumeBindingMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *StorageClassV2) pulumi.StringPtrOutput { return v.VolumeBindingMode }).(pulumi.StringPtrOutput) +} + type StorageClassV2ArrayOutput struct{ *pulumi.OutputState } func (StorageClassV2ArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/token.go b/sdk/go/rancher2/token.go index 8a0b6b152..7830cb403 100644 --- a/sdk/go/rancher2/token.go +++ b/sdk/go/rancher2/token.go @@ -83,6 +83,11 @@ func NewToken(ctx *pulumi.Context, args = &TokenArgs{} } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "secretKey", + "token", + }) + opts = append(opts, secrets) var resource Token err := ctx.RegisterResource("rancher2:index/token:Token", name, args, &resource, opts...) if err != nil { @@ -284,6 +289,71 @@ func (o TokenOutput) ToTokenOutputWithContext(ctx context.Context) TokenOutput { return o } +// (Computed) Token access key part (string) +func (o TokenOutput) AccessKey() pulumi.StringOutput { + return o.ApplyT(func(v *Token) pulumi.StringOutput { return v.AccessKey }).(pulumi.StringOutput) +} + +// (Computed) Annotations of the token (map) +func (o TokenOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *Token) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +// Cluster ID for scoped token (string) +func (o TokenOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Token) pulumi.StringPtrOutput { return v.ClusterId }).(pulumi.StringPtrOutput) +} + +// Token description (string) +func (o TokenOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Token) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// (Computed) Token is enabled (bool) +func (o TokenOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v *Token) pulumi.BoolOutput { return v.Enabled }).(pulumi.BoolOutput) +} + +// (Computed) Token is expired (bool) +func (o TokenOutput) Expired() pulumi.BoolOutput { + return o.ApplyT(func(v *Token) pulumi.BoolOutput { return v.Expired }).(pulumi.BoolOutput) +} + +// (Computed) Labels of the token (map) +func (o TokenOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *Token) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// (Computed) Token name (string) +func (o TokenOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Token) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Renew expired or disabled token +func (o TokenOutput) Renew() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Token) pulumi.BoolPtrOutput { return v.Renew }).(pulumi.BoolPtrOutput) +} + +// (Computed/Sensitive) Token secret key part (string) +func (o TokenOutput) SecretKey() pulumi.StringOutput { + return o.ApplyT(func(v *Token) pulumi.StringOutput { return v.SecretKey }).(pulumi.StringOutput) +} + +// (Computed/Sensitive) Token value (string) +func (o TokenOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v *Token) pulumi.StringOutput { return v.Token }).(pulumi.StringOutput) +} + +// Token time to live in seconds. Default `0` (int) +func (o TokenOutput) Ttl() pulumi.IntPtrOutput { + return o.ApplyT(func(v *Token) pulumi.IntPtrOutput { return v.Ttl }).(pulumi.IntPtrOutput) +} + +// (Computed) Token user ID (string) +func (o TokenOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v *Token) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) +} + type TokenArrayOutput struct{ *pulumi.OutputState } func (TokenArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/rancher2/user.go b/sdk/go/rancher2/user.go index e563794c6..b3bfd9f73 100644 --- a/sdk/go/rancher2/user.go +++ b/sdk/go/rancher2/user.go @@ -90,6 +90,13 @@ func NewUser(ctx *pulumi.Context, if args.Username == nil { return nil, errors.New("invalid value for required argument 'Username'") } + if args.Password != nil { + args.Password = pulumi.ToSecret(args.Password).(pulumi.StringOutput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) var resource User err := ctx.RegisterResource("rancher2:index/user:User", name, args, &resource, opts...) if err != nil { @@ -263,6 +270,40 @@ func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput { return o } +// Annotations for global role binding (map) +func (o UserOutput) Annotations() pulumi.MapOutput { + return o.ApplyT(func(v *User) pulumi.MapOutput { return v.Annotations }).(pulumi.MapOutput) +} + +func (o UserOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *User) pulumi.BoolPtrOutput { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +// Labels for global role binding (map) +func (o UserOutput) Labels() pulumi.MapOutput { + return o.ApplyT(func(v *User) pulumi.MapOutput { return v.Labels }).(pulumi.MapOutput) +} + +// The user full name (string) +func (o UserOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *User) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// The user password (string) +func (o UserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *User) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// (Computed) The user principal IDs (list) +func (o UserOutput) PrincipalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *User) pulumi.StringArrayOutput { return v.PrincipalIds }).(pulumi.StringArrayOutput) +} + +// The user username (string) +func (o UserOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v *User) pulumi.StringOutput { return v.Username }).(pulumi.StringOutput) +} + type UserArrayOutput struct{ *pulumi.OutputState } func (UserArrayOutput) ElementType() reflect.Type { diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ActiveDirectory.java b/sdk/java/src/main/java/com/pulumi/rancher2/ActiveDirectory.java index c7c8cfeef..b1d342046 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ActiveDirectory.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ActiveDirectory.java @@ -554,6 +554,12 @@ private ActiveDirectory(String name, Output id, @Nullable ActiveDirector private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "certificate", + "serviceAccountPassword", + "serviceAccountUsername", + "testPassword" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/App.java b/sdk/java/src/main/java/com/pulumi/rancher2/App.java index b160ac630..dc6ce6d3c 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/App.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/App.java @@ -19,6 +19,98 @@ /** * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.App; + * import com.pulumi.rancher2.AppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new App("foo", AppArgs.builder() + * .answers(Map.ofEntries( + * Map.entry("foo", "bar"), + * Map.entry("ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect", true), + * Map.entry("ingress_host", "test.xip.io") + * )) + * .catalogName("<catalog_name>") + * .description("Foo app") + * .projectId("<project_id>") + * .targetNamespace("<namespace_name>") + * .templateName("<template_name>") + * .templateVersion("<template_version>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Namespace; + * import com.pulumi.rancher2.NamespaceArgs; + * import com.pulumi.rancher2.inputs.NamespaceResourceQuotaArgs; + * import com.pulumi.rancher2.inputs.NamespaceResourceQuotaLimitArgs; + * import com.pulumi.rancher2.App; + * import com.pulumi.rancher2.AppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooNamespace = new Namespace("fooNamespace", NamespaceArgs.builder() + * .description("Foo namespace") + * .projectId("<project_id>") + * .resourceQuota(NamespaceResourceQuotaArgs.builder() + * .limit(NamespaceResourceQuotaLimitArgs.builder() + * .limitsCpu("100m") + * .limitsMemory("100Mi") + * .requestsStorage("1Gi") + * .build()) + * .build()) + * .build()); + * + * var fooApp = new App("fooApp", AppArgs.builder() + * .catalogName("<catalog_name>") + * .description("Foo app") + * .projectId("<project_id>") + * .templateName("<template_name>") + * .templateVersion("<template_version>") + * .targetNamespace(fooNamespace.id()) + * .answers(Map.ofEntries( + * Map.entry("ingress_host", "test.xip.io"), + * Map.entry("foo", "bar"), + * Map.entry("ingress.annotations.nginx.ingress.kubernetes.io/force-ssl-redirect", true) + * )) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AppV2.java b/sdk/java/src/main/java/com/pulumi/rancher2/AppV2.java index e5cb4f06f..96656ea17 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AppV2.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AppV2.java @@ -21,6 +21,39 @@ * Provides a Rancher App v2 resource. This can be used to manage helm charts for Rancher v2 environments and retrieve their information. App v2 resource is available at Rancher v2.5.x and above. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.AppV2; + * import com.pulumi.rancher2.AppV2Args; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new AppV2("foo", AppV2Args.builder() + * .clusterId("<CLUSTER_ID>") + * .namespace("cattle-monitoring-system") + * .repoName("rancher-charts") + * .chartName("rancher-monitoring") + * .chartVersion("9.4.200") + * .values(Files.readString(Paths.get("values.yaml"))) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigActiveDirectory.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigActiveDirectory.java index 7b5583751..8b5c606c0 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigActiveDirectory.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigActiveDirectory.java @@ -554,6 +554,12 @@ private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@N .aliases(List.of( Output.of(Alias.builder().type("rancher2:index/activeDirectory:ActiveDirectory").build()) )) + .additionalSecretOutputs(List.of( + "certificate", + "serviceAccountPassword", + "serviceAccountUsername", + "testPassword" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigAdfs.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigAdfs.java index 69e06154e..86d8d059c 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigAdfs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigAdfs.java @@ -24,6 +24,41 @@ * In addition to the built-in local auth, only one external auth config provider can be enabled at a time. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.AuthConfigAdfs; + * import com.pulumi.rancher2.AuthConfigAdfsArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var adfs = new AuthConfigAdfs("adfs", AuthConfigAdfsArgs.builder() + * .displayNameField("<DISPLAY_NAME_FIELD>") + * .groupsField("<GROUPS_FIELD>") + * .idpMetadataContent("<IDP_METADATA_CONTENT>") + * .rancherApiHost("https://<RANCHER_API_HOST>") + * .spCert("<SP_CERT>") + * .spKey("<SP_KEY>") + * .uidField("<UID_FIELD>") + * .userNameField("<USER_NAME_FIELD>") + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/authConfigAdfs:AuthConfigAdfs") @@ -271,6 +306,11 @@ private AuthConfigAdfs(String name, Output id, @Nullable AuthConfigAdfsS private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "idpMetadataContent", + "spCert", + "spKey" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigAzureAd.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigAzureAd.java index 4a7494e22..9ae6cce4a 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigAzureAd.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigAzureAd.java @@ -19,11 +19,41 @@ import javax.annotation.Nullable; /** - * Provides a Rancher v2 Auth Config AzureAD resource. This can be used to configure and enable Auth Config AzureAD for Rancher v2 RKE clusters and retrieve their information. + * ## Example Usage + * ```java + * package generated_program; * - * In addition to the built-in local auth, only one external auth config provider can be enabled at a time. + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.AuthConfigAzureAd; + * import com.pulumi.rancher2.AuthConfigAzureAdArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; * - * ## Example Usage + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var azuread = new AuthConfigAzureAd("azuread", AuthConfigAzureAdArgs.builder() + * .applicationId("<AZUREAD_APP_ID>") + * .applicationSecret("<AZUREAD_APP_SECRET>") + * .authEndpoint("<AZUREAD_AUTH_ENDPOINT>") + * .graphEndpoint("<AZUREAD_GRAPH_ENDPOINT>") + * .rancherUrl("<RANCHER_URL>") + * .tenantId("<AZUREAD_TENANT_ID>") + * .tokenEndpoint("<AZUREAD_TOKEN_ENDPOINT>") + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/authConfigAzureAd:AuthConfigAzureAd") @@ -271,6 +301,10 @@ private AuthConfigAzureAd(String name, Output id, @Nullable AuthConfigAz private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "applicationId", + "applicationSecret" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } 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 812043aaf..f4fe0cd9f 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigFreeIpa.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigFreeIpa.java @@ -508,6 +508,12 @@ private AuthConfigFreeIpa(String name, Output id, @Nullable AuthConfigFr private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "certificate", + "serviceAccountDistinguishedName", + "serviceAccountPassword", + "testPassword" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigGithub.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigGithub.java index 20d1cdf54..c4b57ce13 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigGithub.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigGithub.java @@ -24,6 +24,35 @@ * In addition to the built-in local auth, only one external auth config provider can be enabled at a time. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.AuthConfigGithub; + * import com.pulumi.rancher2.AuthConfigGithubArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var github = new AuthConfigGithub("github", AuthConfigGithubArgs.builder() + * .clientId("<GITHUB_CLIENT_ID>") + * .clientSecret("<GITHUB_CLIENT_SECRET>") + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/authConfigGithub:AuthConfigGithub") @@ -215,6 +244,10 @@ private AuthConfigGithub(String name, Output id, @Nullable AuthConfigGit private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "clientId", + "clientSecret" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigKeycloak.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigKeycloak.java index 2d5669470..1fa7d67c6 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigKeycloak.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigKeycloak.java @@ -24,6 +24,41 @@ * In addition to the built-in local auth, only one external auth config provider can be enabled at a time. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.AuthConfigKeycloak; + * import com.pulumi.rancher2.AuthConfigKeycloakArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var keycloak = new AuthConfigKeycloak("keycloak", AuthConfigKeycloakArgs.builder() + * .displayNameField("<DISPLAY_NAME_FIELD>") + * .groupsField("<GROUPS_FIELD>") + * .idpMetadataContent("<IDP_METADATA_CONTENT>") + * .rancherApiHost("https://<RANCHER_API_HOST>") + * .spCert("<SP_CERT>") + * .spKey("<SP_KEY>") + * .uidField("<UID_FIELD>") + * .userNameField("<USER_NAME_FIELD>") + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/authConfigKeycloak:AuthConfigKeycloak") @@ -285,6 +320,11 @@ private AuthConfigKeycloak(String name, Output id, @Nullable AuthConfigK private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "idpMetadataContent", + "spCert", + "spKey" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOkta.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOkta.java index e722a4ab4..8ce3d89ad 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOkta.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOkta.java @@ -24,6 +24,41 @@ * In addition to the built-in local auth, only one external auth config provider can be enabled at a time. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.AuthConfigOkta; + * import com.pulumi.rancher2.AuthConfigOktaArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var okta = new AuthConfigOkta("okta", AuthConfigOktaArgs.builder() + * .displayNameField("<DISPLAY_NAME_FIELD>") + * .groupsField("<GROUPS_FIELD>") + * .idpMetadataContent("<IDP_METADATA_CONTENT>") + * .rancherApiHost("https://<RANCHER_API_HOST>") + * .spCert("<SP_CERT>") + * .spKey("<SP_KEY>") + * .uidField("<UID_FIELD>") + * .userNameField("<USER_NAME_FIELD>") + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/authConfigOkta:AuthConfigOkta") @@ -271,6 +306,11 @@ private AuthConfigOkta(String name, Output id, @Nullable AuthConfigOktaS private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "idpMetadataContent", + "spCert", + "spKey" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } 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 0bf98dec4..d694665b0 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOpenLdap.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigOpenLdap.java @@ -508,6 +508,12 @@ private AuthConfigOpenLdap(String name, Output id, @Nullable AuthConfigO private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "certificate", + "serviceAccountDistinguishedName", + "serviceAccountPassword", + "testPassword" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigPing.java b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigPing.java index 7c218b76e..49b0211ef 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigPing.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/AuthConfigPing.java @@ -24,6 +24,41 @@ * In addition to the built-in local auth, only one external auth config provider can be enabled at a time. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.AuthConfigPing; + * import com.pulumi.rancher2.AuthConfigPingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var ping = new AuthConfigPing("ping", AuthConfigPingArgs.builder() + * .displayNameField("<DISPLAY_NAME_FIELD>") + * .groupsField("<GROUPS_FIELD>") + * .idpMetadataContent("<IDP_METADATA_CONTENT>") + * .rancherApiHost("https://<RANCHER_API_HOST>") + * .spCert("<SP_CERT>") + * .spKey("<SP_KEY>") + * .uidField("<UID_FIELD>") + * .userNameField("<USER_NAME_FIELD>") + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/authConfigPing:AuthConfigPing") @@ -271,6 +306,11 @@ private AuthConfigPing(String name, Output id, @Nullable AuthConfigPingS private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "idpMetadataContent", + "spCert", + "spKey" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Bootstrap.java b/sdk/java/src/main/java/com/pulumi/rancher2/Bootstrap.java index fd8fc4635..feea53d92 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Bootstrap.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Bootstrap.java @@ -13,11 +13,110 @@ import java.lang.Boolean; import java.lang.Integer; import java.lang.String; +import java.util.List; import java.util.Optional; import javax.annotation.Nullable; /** * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Bootstrap; + * import com.pulumi.rancher2.BootstrapArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var admin = new Bootstrap("admin", BootstrapArgs.builder() + * .password("blahblah") + * .telemetry(true) + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Bootstrap; + * import com.pulumi.rancher2.BootstrapArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var admin = new Bootstrap("admin", BootstrapArgs.builder() + * .initialPassword("<INSTALL_PASSWORD>") + * .password("blahblah") + * .telemetry(true) + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Provider; + * import com.pulumi.rancher2.ProviderArgs; + * import com.pulumi.rancher2.Bootstrap; + * import com.pulumi.rancher2.BootstrapArgs; + * import com.pulumi.resources.CustomResourceOptions; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var bootstrap = new Provider("bootstrap", ProviderArgs.builder() + * .apiUrl("https://rancher.my-domain.com") + * .bootstrap(true) + * .build()); + * + * var admin = new Bootstrap("admin", BootstrapArgs.builder() + * .password("blahblah") + * .telemetry(true) + * .build(), CustomResourceOptions.builder() + * .provider("rancher2.bootstrap") + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/bootstrap:Bootstrap") @@ -237,6 +336,13 @@ private Bootstrap(String name, Output id, @Nullable BootstrapState state private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "currentPassword", + "initialPassword", + "password", + "tempToken", + "token" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Catalog.java b/sdk/java/src/main/java/com/pulumi/rancher2/Catalog.java index 340f5f9f7..7ca0240cf 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Catalog.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Catalog.java @@ -13,6 +13,7 @@ import java.lang.Boolean; import java.lang.Object; import java.lang.String; +import java.util.List; import java.util.Map; import java.util.Optional; import javax.annotation.Nullable; @@ -21,6 +22,44 @@ * Provides a Rancher v2 Catalog resource. This can be used to create cluster, global and/or project catalogs for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Catalog; + * import com.pulumi.rancher2.CatalogArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo_global = new Catalog("foo-global", CatalogArgs.builder() + * .url("https://<CATALOG_URL>") + * .build()); + * + * var foo_cluster = new Catalog("foo-cluster", CatalogArgs.builder() + * .scope("cluster") + * .url("https://<CATALOG_URL>") + * .build()); + * + * var foo_project = new Catalog("foo-project", CatalogArgs.builder() + * .scope("project") + * .url("https://<CATALOG_URL>") + * .build()); + * + * } + * } + * ``` * * ## Import * @@ -262,6 +301,10 @@ private Catalog(String name, Output id, @Nullable CatalogState state, @N private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "password", + "username" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Certificate.java b/sdk/java/src/main/java/com/pulumi/rancher2/Certificate.java index c0f8c4e80..423b14d86 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Certificate.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Certificate.java @@ -12,6 +12,7 @@ import com.pulumi.rancher2.inputs.CertificateState; import java.lang.Object; import java.lang.String; +import java.util.List; import java.util.Map; import java.util.Optional; import javax.annotation.Nullable; @@ -171,6 +172,9 @@ private Certificate(String name, Output id, @Nullable CertificateState s private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "key" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/CloudCredential.java b/sdk/java/src/main/java/com/pulumi/rancher2/CloudCredential.java index 419bbfe77..c2d0caea0 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/CloudCredential.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/CloudCredential.java @@ -31,6 +31,78 @@ * amazonec2, azure, digitalocean, harvester, linode, openstack and vsphere credentials config are supported for Cloud Credential. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.CloudCredential; + * import com.pulumi.rancher2.CloudCredentialArgs; + * import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new CloudCredential("foo", CloudCredentialArgs.builder() + * .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder() + * .accessKey("<AWS_ACCESS_KEY>") + * .secretKey("<AWS_SECRET_KEY>") + * .build()) + * .description("foo test") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterV2Args; + * import com.pulumi.rancher2.CloudCredential; + * import com.pulumi.rancher2.CloudCredentialArgs; + * import com.pulumi.rancher2.inputs.CloudCredentialHarvesterCredentialConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo-harvesterClusterV2 = Rancher2Functions.getClusterV2(GetClusterV2Args.builder() + * .name("foo-harvester") + * .build()); + * + * var foo_harvesterCloudCredential = new CloudCredential("foo-harvesterCloudCredential", CloudCredentialArgs.builder() + * .harvesterCredentialConfig(CloudCredentialHarvesterCredentialConfigArgs.builder() + * .clusterId(foo_harvesterClusterV2.clusterV1Id()) + * .clusterType("imported") + * .kubeconfigContent(foo_harvesterClusterV2.kubeConfig()) + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Cluster.java b/sdk/java/src/main/java/com/pulumi/rancher2/Cluster.java index e242a6e99..dffbc83ac 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Cluster.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Cluster.java @@ -41,6 +41,695 @@ * ## Example Usage * * **Note optional/computed arguments** If any `optional/computed` argument of this resource is defined by the user, removing it from tf file will NOT reset its value. To reset it, let its definition at tf file as empty/false object. Ex: `enable_cluster_monitoring = false`, `cloud_provider {}`, `name = ""` + * ### Creating Rancher v2 RKE cluster enabling and customizing monitoring + * + * **Note** Cluster monitoring version `0.2.0` or above, can't be enabled until cluster is fully deployed as [`kubeVersion`](https://github.com/rancher/system-charts/blob/52be656700468904b9bf15c3f39cd7112e1f8c9b/charts/rancher-monitoring/v0.2.0/Chart.yaml#L12) requirement has been introduced to helm chart + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterClusterMonitoringInputArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo_custom = new Cluster("foo-custom", ClusterArgs.builder() + * .clusterMonitoringInput(ClusterClusterMonitoringInputArgs.builder() + * .answers(Map.ofEntries( + * Map.entry("exporter-kubelets.https", true), + * Map.entry("exporter-node.enabled", true), + * Map.entry("exporter-node.ports.metrics.port", 9796), + * Map.entry("exporter-node.resources.limits.cpu", "200m"), + * Map.entry("exporter-node.resources.limits.memory", "200Mi"), + * Map.entry("grafana.persistence.enabled", false), + * Map.entry("grafana.persistence.size", "10Gi"), + * Map.entry("grafana.persistence.storageClass", "default"), + * Map.entry("operator.resources.limits.memory", "500Mi"), + * Map.entry("prometheus.persistence.enabled", "false"), + * Map.entry("prometheus.persistence.size", "50Gi"), + * Map.entry("prometheus.persistence.storageClass", "default"), + * Map.entry("prometheus.persistent.useReleaseName", "true"), + * Map.entry("prometheus.resources.core.limits.cpu", "1000m"), + * Map.entry("prometheus.resources.core.limits.memory", "1500Mi"), + * Map.entry("prometheus.resources.core.requests.cpu", "750m"), + * Map.entry("prometheus.resources.core.requests.memory", "750Mi"), + * Map.entry("prometheus.retention", "12h") + * )) + * .version("0.1.0") + * .build()) + * .description("Foo rancher2 custom cluster") + * .enableClusterMonitoring(true) + * .rkeConfig(ClusterRkeConfigArgs.builder() + * .network(ClusterRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .build()) + * .build()); + * + * } + * } + * ``` + * ### Creating Rancher v2 RKE cluster enabling/customizing monitoring and istio + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs; + * import com.pulumi.rancher2.inputs.ClusterClusterMonitoringInputArgs; + * import com.pulumi.rancher2.ClusterSync; + * import com.pulumi.rancher2.ClusterSyncArgs; + * import com.pulumi.rancher2.Namespace; + * import com.pulumi.rancher2.NamespaceArgs; + * import com.pulumi.rancher2.App; + * import com.pulumi.rancher2.AppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo_customCluster = new Cluster("foo-customCluster", ClusterArgs.builder() + * .description("Foo rancher2 custom cluster") + * .rkeConfig(ClusterRkeConfigArgs.builder() + * .network(ClusterRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .build()) + * .enableClusterMonitoring(true) + * .clusterMonitoringInput(ClusterClusterMonitoringInputArgs.builder() + * .answers(Map.ofEntries( + * Map.entry("exporter-kubelets.https", true), + * Map.entry("exporter-node.enabled", true), + * Map.entry("exporter-node.ports.metrics.port", 9796), + * Map.entry("exporter-node.resources.limits.cpu", "200m"), + * Map.entry("exporter-node.resources.limits.memory", "200Mi"), + * Map.entry("grafana.persistence.enabled", false), + * Map.entry("grafana.persistence.size", "10Gi"), + * Map.entry("grafana.persistence.storageClass", "default"), + * Map.entry("operator.resources.limits.memory", "500Mi"), + * Map.entry("prometheus.persistence.enabled", "false"), + * Map.entry("prometheus.persistence.size", "50Gi"), + * Map.entry("prometheus.persistence.storageClass", "default"), + * Map.entry("prometheus.persistent.useReleaseName", "true"), + * Map.entry("prometheus.resources.core.limits.cpu", "1000m"), + * Map.entry("prometheus.resources.core.limits.memory", "1500Mi"), + * Map.entry("prometheus.resources.core.requests.cpu", "750m"), + * Map.entry("prometheus.resources.core.requests.memory", "750Mi"), + * Map.entry("prometheus.retention", "12h") + * )) + * .version("0.1.0") + * .build()) + * .build()); + * + * var foo_customClusterSync = new ClusterSync("foo-customClusterSync", ClusterSyncArgs.builder() + * .clusterId(foo_customCluster.id()) + * .waitMonitoring(foo_customCluster.enableClusterMonitoring()) + * .build()); + * + * var foo_istio = new Namespace("foo-istio", NamespaceArgs.builder() + * .projectId(foo_customClusterSync.systemProjectId()) + * .description("istio namespace") + * .build()); + * + * var istio = new App("istio", AppArgs.builder() + * .catalogName("system-library") + * .description("Terraform app acceptance test") + * .projectId(foo_istio.projectId()) + * .templateName("rancher-istio") + * .templateVersion("0.1.1") + * .targetNamespace(foo_istio.id()) + * .answers(Map.ofEntries( + * Map.entry("certmanager.enabled", false), + * Map.entry("enableCRDs", true), + * Map.entry("galley.enabled", true), + * Map.entry("gateways.enabled", false), + * Map.entry("gateways.istio-ingressgateway.resources.limits.cpu", "2000m"), + * Map.entry("gateways.istio-ingressgateway.resources.limits.memory", "1024Mi"), + * Map.entry("gateways.istio-ingressgateway.resources.requests.cpu", "100m"), + * Map.entry("gateways.istio-ingressgateway.resources.requests.memory", "128Mi"), + * Map.entry("gateways.istio-ingressgateway.type", "NodePort"), + * Map.entry("global.monitoring.type", "cluster-monitoring"), + * Map.entry("global.rancher.clusterId", foo_customClusterSync.clusterId()), + * Map.entry("istio_cni.enabled", "false"), + * Map.entry("istiocoredns.enabled", "false"), + * Map.entry("kiali.enabled", "true"), + * Map.entry("mixer.enabled", "true"), + * Map.entry("mixer.policy.enabled", "true"), + * Map.entry("mixer.policy.resources.limits.cpu", "4800m"), + * Map.entry("mixer.policy.resources.limits.memory", "4096Mi"), + * Map.entry("mixer.policy.resources.requests.cpu", "1000m"), + * Map.entry("mixer.policy.resources.requests.memory", "1024Mi"), + * Map.entry("mixer.telemetry.resources.limits.cpu", "4800m"), + * Map.entry("mixer.telemetry.resources.limits.memory", "4096Mi"), + * Map.entry("mixer.telemetry.resources.requests.cpu", "1000m"), + * Map.entry("mixer.telemetry.resources.requests.memory", "1024Mi"), + * Map.entry("mtls.enabled", false), + * Map.entry("nodeagent.enabled", false), + * Map.entry("pilot.enabled", true), + * Map.entry("pilot.resources.limits.cpu", "1000m"), + * Map.entry("pilot.resources.limits.memory", "4096Mi"), + * Map.entry("pilot.resources.requests.cpu", "500m"), + * Map.entry("pilot.resources.requests.memory", "2048Mi"), + * Map.entry("pilot.traceSampling", "1"), + * Map.entry("security.enabled", true), + * Map.entry("sidecarInjectorWebhook.enabled", true), + * Map.entry("tracing.enabled", true), + * Map.entry("tracing.jaeger.resources.limits.cpu", "500m"), + * Map.entry("tracing.jaeger.resources.limits.memory", "1024Mi"), + * Map.entry("tracing.jaeger.resources.requests.cpu", "100m"), + * Map.entry("tracing.jaeger.resources.requests.memory", "100Mi") + * )) + * .build()); + * + * } + * } + * ``` + * ### Creating Rancher v2 RKE cluster assigning a node pool (overlapped planes) + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs; + * import com.pulumi.rancher2.NodeTemplate; + * import com.pulumi.rancher2.NodeTemplateArgs; + * import com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs; + * import com.pulumi.rancher2.NodePool; + * import com.pulumi.rancher2.NodePoolArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo_custom = new Cluster("foo-custom", ClusterArgs.builder() + * .description("Foo rancher2 custom cluster") + * .rkeConfig(ClusterRkeConfigArgs.builder() + * .network(ClusterRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .build()) + * .build()); + * + * var fooNodeTemplate = new NodeTemplate("fooNodeTemplate", NodeTemplateArgs.builder() + * .description("foo test") + * .amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder() + * .accessKey("<AWS_ACCESS_KEY>") + * .secretKey("<AWS_SECRET_KEY>") + * .ami("<AMI_ID>") + * .region("<REGION>") + * .securityGroups("<AWS_SECURITY_GROUP>") + * .subnetId("<SUBNET_ID>") + * .vpcId("<VPC_ID>") + * .zone("<ZONE>") + * .build()) + * .build()); + * + * var fooNodePool = new NodePool("fooNodePool", NodePoolArgs.builder() + * .clusterId(foo_custom.id()) + * .hostnamePrefix("foo-cluster-0") + * .nodeTemplateId(fooNodeTemplate.id()) + * .quantity(3) + * .controlPlane(true) + * .etcd(true) + * .worker(true) + * .build()); + * + * } + * } + * ``` + * ### Creating Rancher v2 RKE cluster from template. For Rancher v2.3.x or above. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterTemplate; + * import com.pulumi.rancher2.ClusterTemplateArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateMemberArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooClusterTemplate = new ClusterTemplate("fooClusterTemplate", ClusterTemplateArgs.builder() + * .members(ClusterTemplateMemberArgs.builder() + * .accessType("owner") + * .userPrincipalId("local://user-XXXXX") + * .build()) + * .templateRevisions(ClusterTemplateTemplateRevisionArgs.builder() + * .name("V1") + * .clusterConfig(ClusterTemplateTemplateRevisionClusterConfigArgs.builder() + * .rkeConfig(ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.builder() + * .network(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .services(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.builder() + * .etcd(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.builder() + * .creation("6h") + * .retention("24h") + * .build()) + * .build()) + * .build()) + * .build()) + * .default_(true) + * .build()) + * .description("Test cluster template v2") + * .build()); + * + * var fooCluster = new Cluster("fooCluster", ClusterArgs.builder() + * .clusterTemplateId(fooClusterTemplate.id()) + * .clusterTemplateRevisionId(fooClusterTemplate.templateRevisions().applyValue(templateRevisions -> templateRevisions[0].id())) + * .build()); + * + * } + * } + * ``` + * ### Creating Rancher v2 RKE cluster with upgrade strategy. For Rancher v2.4.x or above. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigServicesArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigServicesEtcdArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigServicesKubeApiArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigServicesKubeApiAuditLogArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigUpgradeStrategyArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new Cluster("foo", ClusterArgs.builder() + * .description("Terraform custom cluster") + * .rkeConfig(ClusterRkeConfigArgs.builder() + * .network(ClusterRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .services(ClusterRkeConfigServicesArgs.builder() + * .etcd(ClusterRkeConfigServicesEtcdArgs.builder() + * .creation("6h") + * .retention("24h") + * .build()) + * .kubeApi(ClusterRkeConfigServicesKubeApiArgs.builder() + * .auditLog(ClusterRkeConfigServicesKubeApiAuditLogArgs.builder() + * .configuration(ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs.builder() + * .format("json") + * .maxAge(5) + * .maxBackup(5) + * .maxSize(100) + * .path("-") + * .policy(""" + * apiVersion: audit.k8s.io/v1 + * kind: Policy + * metadata: + * creationTimestamp: null + * omitStages: + * - RequestReceived + * rules: + * - level: RequestResponse + * resources: + * - resources: + * - pods + * + * """) + * .build()) + * .enabled(true) + * .build()) + * .build()) + * .build()) + * .upgradeStrategy(ClusterRkeConfigUpgradeStrategyArgs.builder() + * .drain(true) + * .maxUnavailableWorker("20%") + * .build()) + * .build()) + * .build()); + * + * } + * } + * ``` + * ### Creating Rancher v2 RKE cluster with scheduled cluster scan. For Rancher v2.4.x or above. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigServicesArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigServicesEtcdArgs; + * import com.pulumi.rancher2.inputs.ClusterScheduledClusterScanArgs; + * import com.pulumi.rancher2.inputs.ClusterScheduledClusterScanScanConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterScheduledClusterScanScanConfigCisScanConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterScheduledClusterScanScheduleConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new Cluster("foo", ClusterArgs.builder() + * .description("Terraform custom cluster") + * .rkeConfig(ClusterRkeConfigArgs.builder() + * .network(ClusterRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .services(ClusterRkeConfigServicesArgs.builder() + * .etcd(ClusterRkeConfigServicesEtcdArgs.builder() + * .creation("6h") + * .retention("24h") + * .build()) + * .build()) + * .build()) + * .scheduledClusterScan(ClusterScheduledClusterScanArgs.builder() + * .enabled(true) + * .scanConfig(ClusterScheduledClusterScanScanConfigArgs.builder() + * .cisScanConfig(ClusterScheduledClusterScanScanConfigCisScanConfigArgs.builder() + * .debugMaster(true) + * .debugWorker(true) + * .build()) + * .build()) + * .scheduleConfig(ClusterScheduledClusterScanScheduleConfigArgs.builder() + * .cronSchedule("30 * * * *") + * .retention(5) + * .build()) + * .build()) + * .build()); + * + * } + * } + * ``` + * ### Importing EKS cluster to Rancher v2, using `eks_config_v2`. For Rancher v2.5.x or above. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.CloudCredential; + * import com.pulumi.rancher2.CloudCredentialArgs; + * import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterEksConfigV2Args; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooCloudCredential = new CloudCredential("fooCloudCredential", CloudCredentialArgs.builder() + * .description("foo test") + * .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder() + * .accessKey("<AWS_ACCESS_KEY>") + * .secretKey("<AWS_SECRET_KEY>") + * .build()) + * .build()); + * + * var fooCluster = new Cluster("fooCluster", ClusterArgs.builder() + * .description("Terraform EKS cluster") + * .eksConfigV2(ClusterEksConfigV2Args.builder() + * .cloudCredentialId(fooCloudCredential.id()) + * .name("<CLUSTER_NAME>") + * .region("<EKS_REGION>") + * .imported(true) + * .build()) + * .build()); + * + * } + * } + * ``` + * ### Creating EKS cluster from Rancher v2, using `eks_config_v2`. For Rancher v2.5.x or above. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.CloudCredential; + * import com.pulumi.rancher2.CloudCredentialArgs; + * import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterEksConfigV2Args; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooCloudCredential = new CloudCredential("fooCloudCredential", CloudCredentialArgs.builder() + * .description("foo test") + * .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder() + * .accessKey("<AWS_ACCESS_KEY>") + * .secretKey("<AWS_SECRET_KEY>") + * .build()) + * .build()); + * + * var fooCluster = new Cluster("fooCluster", ClusterArgs.builder() + * .description("Terraform EKS cluster") + * .eksConfigV2(ClusterEksConfigV2Args.builder() + * .cloudCredentialId(fooCloudCredential.id()) + * .region("<EKS_REGION>") + * .kubernetesVersion("1.17") + * .loggingTypes( + * "audit", + * "api") + * .nodeGroups( + * ClusterEksConfigV2NodeGroupArgs.builder() + * .name("node_group1") + * .instanceType("t3.medium") + * .desiredSize(3) + * .maxSize(5) + * .build(), + * ClusterEksConfigV2NodeGroupArgs.builder() + * .name("node_group2") + * .instanceType("m5.xlarge") + * .desiredSize(2) + * .maxSize(3) + * .build()) + * .privateAccess(true) + * .publicAccess(false) + * .build()) + * .build()); + * + * } + * } + * ``` + * ### Creating EKS cluster from Rancher v2, using `eks_config_v2` and launch template. For Rancher v2.5.6 or above. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.CloudCredential; + * import com.pulumi.rancher2.CloudCredentialArgs; + * import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterEksConfigV2Args; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooCloudCredential = new CloudCredential("fooCloudCredential", CloudCredentialArgs.builder() + * .description("foo test") + * .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder() + * .accessKey("<AWS_ACCESS_KEY>") + * .secretKey("<AWS_SECRET_KEY>") + * .build()) + * .build()); + * + * var fooCluster = new Cluster("fooCluster", ClusterArgs.builder() + * .description("Terraform EKS cluster") + * .eksConfigV2(ClusterEksConfigV2Args.builder() + * .cloudCredentialId(fooCloudCredential.id()) + * .region("<EKS_REGION>") + * .kubernetesVersion("1.17") + * .loggingTypes( + * "audit", + * "api") + * .nodeGroups(ClusterEksConfigV2NodeGroupArgs.builder() + * .desiredSize(3) + * .maxSize(5) + * .name("node_group1") + * .launchTemplates(ClusterEksConfigV2NodeGroupLaunchTemplateArgs.builder() + * .id("<EC2_LAUNCH_TEMPLATE_ID>") + * .version(1) + * .build()) + * .build()) + * .privateAccess(true) + * .publicAccess(true) + * .build()) + * .build()); + * + * } + * } + * ``` + * ### Creating AKS cluster from Rancher v2, using `aks_config_v2`. For Rancher v2.6.0 or above. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.CloudCredential; + * import com.pulumi.rancher2.CloudCredentialArgs; + * import com.pulumi.rancher2.inputs.CloudCredentialAzureCredentialConfigArgs; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterAksConfigV2Args; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo_aks = new CloudCredential("foo-aks", CloudCredentialArgs.builder() + * .azureCredentialConfig(CloudCredentialAzureCredentialConfigArgs.builder() + * .clientId("<CLIENT_ID>") + * .clientSecret("<CLIENT_SECRET>") + * .subscriptionId("<SUBSCRIPTION_ID>") + * .build()) + * .build()); + * + * var foo = new Cluster("foo", ClusterArgs.builder() + * .description("Terraform AKS cluster") + * .aksConfigV2(ClusterAksConfigV2Args.builder() + * .cloudCredentialId(foo_aks.id()) + * .resourceGroup("<RESOURCE_GROUP>") + * .resourceLocation("<RESOURCE_LOCATION>") + * .dnsPrefix("<DNS_PREFIX>") + * .kubernetesVersion("1.21.2") + * .networkPlugin("<NETWORK_PLUGIN>") + * .nodePools(ClusterAksConfigV2NodePoolArgs.builder() + * .availabilityZones( + * "1", + * "2", + * "3") + * .name("<NODEPOOL_NAME>") + * .count(1) + * .orchestratorVersion("1.21.2") + * .osDiskSizeGb(128) + * .vmSize("Standard_DS2_v2") + * .build()) + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * @@ -636,6 +1325,10 @@ private Cluster(String name, Output id, @Nullable ClusterState state, @N private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "caCert", + "kubeConfig" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlertGroup.java b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlertGroup.java index a38c20d7a..d8719fb2a 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlertGroup.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlertGroup.java @@ -24,6 +24,37 @@ * Provides a Rancher v2 Cluster Alert Group resource. This can be used to create Cluster Alert Group for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterAlertGroup; + * import com.pulumi.rancher2.ClusterAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ClusterAlertGroup("foo", ClusterAlertGroupArgs.builder() + * .clusterId("<cluster_id>") + * .description("Terraform cluster alert group") + * .groupIntervalSeconds(300) + * .repeatIntervalSeconds(3600) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlertRule.java b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlertRule.java index db692a85d..da81fcfc3 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlertRule.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlertRule.java @@ -28,6 +28,46 @@ * Provides a Rancher v2 Cluster Alert Rule resource. This can be used to create Cluster Alert Rule for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterAlertGroup; + * import com.pulumi.rancher2.ClusterAlertGroupArgs; + * import com.pulumi.rancher2.ClusterAlertRule; + * import com.pulumi.rancher2.ClusterAlertRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooClusterAlertGroup = new ClusterAlertGroup("fooClusterAlertGroup", ClusterAlertGroupArgs.builder() + * .clusterId("<cluster_id>") + * .description("Terraform cluster alert group") + * .groupIntervalSeconds(300) + * .repeatIntervalSeconds(3600) + * .build()); + * + * var fooClusterAlertRule = new ClusterAlertRule("fooClusterAlertRule", ClusterAlertRuleArgs.builder() + * .clusterId(fooClusterAlertGroup.clusterId()) + * .groupId(fooClusterAlertGroup.id()) + * .groupIntervalSeconds(600) + * .repeatIntervalSeconds(6000) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlterGroup.java b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlterGroup.java index 6dc6be566..f1b085f04 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlterGroup.java @@ -23,6 +23,37 @@ * Provides a Rancher v2 Cluster Alert Group resource. This can be used to create Cluster Alert Group for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterAlertGroup; + * import com.pulumi.rancher2.ClusterAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ClusterAlertGroup("foo", ClusterAlertGroupArgs.builder() + * .clusterId("<cluster_id>") + * .description("Terraform cluster alert group") + * .groupIntervalSeconds(300) + * .repeatIntervalSeconds(3600) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlterRule.java b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlterRule.java index bea21c391..301315245 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlterRule.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterAlterRule.java @@ -26,6 +26,37 @@ * Provides a Rancher v2 Cluster Alert Group resource. This can be used to create Cluster Alert Group for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterAlertGroup; + * import com.pulumi.rancher2.ClusterAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ClusterAlertGroup("foo", ClusterAlertGroupArgs.builder() + * .clusterId("<cluster_id>") + * .description("Terraform cluster alert group") + * .groupIntervalSeconds(300) + * .repeatIntervalSeconds(3600) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterDriver.java b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterDriver.java index 4d14729ec..240932e1e 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterDriver.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterDriver.java @@ -22,6 +22,41 @@ * Provides a Rancher v2 Cluster Driver resource. This can be used to create Cluster Driver for Rancher v2.2.x Kontainer Engine clusters and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterDriver; + * import com.pulumi.rancher2.ClusterDriverArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ClusterDriver("foo", ClusterDriverArgs.builder() + * .active(true) + * .builtin(false) + * .checksum("0x0") + * .description("Foo description") + * .externalId("foo_external") + * .uiUrl("local://ui") + * .url("local://") + * .whitelistDomains("*.foo.com") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterLogging.java b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterLogging.java index 1e3789504..4d66d3473 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterLogging.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterLogging.java @@ -28,6 +28,42 @@ * Provides a Rancher v2 Cluster Logging resource. This can be used to configure Cluster Logging for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterLogging; + * import com.pulumi.rancher2.ClusterLoggingArgs; + * import com.pulumi.rancher2.inputs.ClusterLoggingSyslogConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ClusterLogging("foo", ClusterLoggingArgs.builder() + * .clusterId("<cluster_id>") + * .kind("syslog") + * .syslogConfig(ClusterLoggingSyslogConfigArgs.builder() + * .endpoint("<syslog_endpoint>") + * .protocol("udp") + * .severity("notice") + * .sslVerify(false) + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterRoleTemplateBinding.java b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterRoleTemplateBinding.java index 55634bf83..40977bc8e 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterRoleTemplateBinding.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterRoleTemplateBinding.java @@ -19,6 +19,36 @@ * Provides a Rancher v2 Cluster Role Template Binding resource. This can be used to create Cluster Role Template Bindings for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterRoleTemplateBinding; + * import com.pulumi.rancher2.ClusterRoleTemplateBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ClusterRoleTemplateBinding("foo", ClusterRoleTemplateBindingArgs.builder() + * .clusterId("<cluster_id>") + * .roleTemplateId("<role_template_id>") + * .userId("<user_id>") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterSync.java b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterSync.java index e03f806e8..d511c6ebc 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterSync.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterSync.java @@ -20,6 +20,106 @@ /** * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs; + * import com.pulumi.rancher2.NodeTemplate; + * import com.pulumi.rancher2.NodeTemplateArgs; + * import com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs; + * import com.pulumi.rancher2.NodePool; + * import com.pulumi.rancher2.NodePoolArgs; + * import com.pulumi.rancher2.ClusterSync; + * import com.pulumi.rancher2.ClusterSyncArgs; + * import com.pulumi.rancher2.Project; + * import com.pulumi.rancher2.ProjectArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaProjectLimitArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs; + * import com.pulumi.rancher2.inputs.ProjectContainerResourceLimitArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo_customCluster = new Cluster("foo-customCluster", ClusterArgs.builder() + * .description("Foo rancher2 custom cluster") + * .rkeConfig(ClusterRkeConfigArgs.builder() + * .network(ClusterRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .build()) + * .build()); + * + * var fooNodeTemplate = new NodeTemplate("fooNodeTemplate", NodeTemplateArgs.builder() + * .description("foo test") + * .amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder() + * .accessKey("<AWS_ACCESS_KEY>") + * .secretKey("<AWS_SECRET_KEY>") + * .ami("<AMI_ID>") + * .region("<REGION>") + * .securityGroups("<AWS_SECURITY_GROUP>") + * .subnetId("<SUBNET_ID>") + * .vpcId("<VPC_ID>") + * .zone("<ZONE>") + * .build()) + * .build()); + * + * var fooNodePool = new NodePool("fooNodePool", NodePoolArgs.builder() + * .clusterId(foo_customCluster.id()) + * .hostnamePrefix("foo-cluster-0") + * .nodeTemplateId(fooNodeTemplate.id()) + * .quantity(3) + * .controlPlane(true) + * .etcd(true) + * .worker(true) + * .build()); + * + * var foo_customClusterSync = new ClusterSync("foo-customClusterSync", ClusterSyncArgs.builder() + * .clusterId(foo_customCluster.id()) + * .nodePoolIds(fooNodePool.id()) + * .build()); + * + * var fooProject = new Project("fooProject", ProjectArgs.builder() + * .clusterId(foo_customClusterSync.id()) + * .description("Terraform namespace acceptance test") + * .resourceQuota(ProjectResourceQuotaArgs.builder() + * .projectLimit(ProjectResourceQuotaProjectLimitArgs.builder() + * .limitsCpu("2000m") + * .limitsMemory("2000Mi") + * .requestsStorage("2Gi") + * .build()) + * .namespaceDefaultLimit(ProjectResourceQuotaNamespaceDefaultLimitArgs.builder() + * .limitsCpu("500m") + * .limitsMemory("500Mi") + * .requestsStorage("1Gi") + * .build()) + * .build()) + * .containerResourceLimit(ProjectContainerResourceLimitArgs.builder() + * .limitsCpu("20m") + * .limitsMemory("20Mi") + * .requestsCpu("1m") + * .requestsMemory("1Mi") + * .build()) + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/clusterSync:ClusterSync") @@ -203,6 +303,9 @@ private ClusterSync(String name, Output id, @Nullable ClusterSyncState s private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "kubeConfig" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterTemplate.java b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterTemplate.java index 3310a41d6..c3afa4d65 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterTemplate.java @@ -25,6 +25,200 @@ * Cluster Templates are available from Rancher v2.3.x and above. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterTemplate; + * import com.pulumi.rancher2.ClusterTemplateArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateMemberArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ClusterTemplate("foo", ClusterTemplateArgs.builder() + * .description("Terraform cluster template foo") + * .members(ClusterTemplateMemberArgs.builder() + * .accessType("owner") + * .userPrincipalId("local://user-XXXXX") + * .build()) + * .templateRevisions(ClusterTemplateTemplateRevisionArgs.builder() + * .clusterConfig(ClusterTemplateTemplateRevisionClusterConfigArgs.builder() + * .rkeConfig(ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.builder() + * .network(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .services(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.builder() + * .etcd(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.builder() + * .creation("6h") + * .retention("24h") + * .build()) + * .build()) + * .build()) + * .build()) + * .default_(true) + * .name("V1") + * .build()) + * .build()); + * + * } + * } + * ``` + * + * Creating Rancher v2 RKE cluster template with upgrade strategy. For Rancher v2.4.x or above. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterTemplate; + * import com.pulumi.rancher2.ClusterTemplateArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateMemberArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ClusterTemplate("foo", ClusterTemplateArgs.builder() + * .description("Terraform cluster template foo") + * .members(ClusterTemplateMemberArgs.builder() + * .accessType("owner") + * .userPrincipalId("local://user-XXXXX") + * .build()) + * .templateRevisions(ClusterTemplateTemplateRevisionArgs.builder() + * .clusterConfig(ClusterTemplateTemplateRevisionClusterConfigArgs.builder() + * .rkeConfig(ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.builder() + * .network(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .services(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.builder() + * .etcd(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.builder() + * .creation("6h") + * .retention("24h") + * .build()) + * .build()) + * .upgradeStrategy(ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs.builder() + * .drain(true) + * .maxUnavailableWorker("20%") + * .build()) + * .build()) + * .build()) + * .default_(true) + * .name("V1") + * .build()) + * .build()); + * + * } + * } + * ``` + * + * Creating Rancher v2 RKE cluster template with scheduled cluster scan. For Rancher v2.4.x or above. + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterTemplate; + * import com.pulumi.rancher2.ClusterTemplateArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateMemberArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ClusterTemplate("foo", ClusterTemplateArgs.builder() + * .description("Terraform cluster template foo") + * .members(ClusterTemplateMemberArgs.builder() + * .accessType("owner") + * .userPrincipalId("local://user-XXXXX") + * .build()) + * .templateRevisions(ClusterTemplateTemplateRevisionArgs.builder() + * .clusterConfig(ClusterTemplateTemplateRevisionClusterConfigArgs.builder() + * .rkeConfig(ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs.builder() + * .network(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .services(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs.builder() + * .etcd(ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesEtcdArgs.builder() + * .creation("6h") + * .retention("24h") + * .build()) + * .build()) + * .build()) + * .scheduledClusterScan(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs.builder() + * .enabled(true) + * .scanConfig(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigArgs.builder() + * .cisScanConfig(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScanConfigCisScanConfigArgs.builder() + * .debugMaster(true) + * .debugWorker(true) + * .build()) + * .build()) + * .scheduleConfig(ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanScheduleConfigArgs.builder() + * .cronSchedule("30 * * * *") + * .retention(5) + * .build()) + * .build()) + * .build()) + * .default_(true) + * .name("V1") + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterV2.java b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterV2.java index 785ad9413..6b087272d 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ClusterV2.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ClusterV2.java @@ -23,9 +23,43 @@ import javax.annotation.Nullable; /** - * Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. + * Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is available from Rancher v2.6.0 and above. * * ## Example Usage + * ### Creating Rancher v2 custom cluster v2 + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ClusterV2; + * import com.pulumi.rancher2.ClusterV2Args; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ClusterV2("foo", ClusterV2Args.builder() + * .defaultClusterRoleForProjectMembers("user") + * .enableNetworkPolicy(false) + * .fleetNamespace("fleet-ns") + * .kubernetesVersion("v1.21.4+k3s1") + * .build()); + * + * } + * } + * ``` + * + * **Note** Once created, get the node command from `rancher2_cluster_v2.foo.cluster_registration_token` * * ## Import * @@ -295,6 +329,10 @@ private ClusterV2(String name, Output id, @Nullable ClusterV2State state private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "clusterRegistrationToken", + "kubeConfig" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/EtcdBackup.java b/sdk/java/src/main/java/com/pulumi/rancher2/EtcdBackup.java index cb3be82c7..ee55212ca 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/EtcdBackup.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/EtcdBackup.java @@ -20,6 +20,50 @@ /** * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.EtcdBackup; + * import com.pulumi.rancher2.EtcdBackupArgs; + * import com.pulumi.rancher2.inputs.EtcdBackupBackupConfigArgs; + * import com.pulumi.rancher2.inputs.EtcdBackupBackupConfigS3BackupConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new EtcdBackup("foo", EtcdBackupArgs.builder() + * .backupConfig(EtcdBackupBackupConfigArgs.builder() + * .enabled(true) + * .intervalHours(20) + * .retention(10) + * .s3BackupConfig(EtcdBackupBackupConfigS3BackupConfigArgs.builder() + * .accessKey("access_key") + * .bucketName("bucket_name") + * .endpoint("endpoint") + * .folder("/folder") + * .region("region") + * .secretKey("secret_key") + * .build()) + * .build()) + * .clusterId("<CLUSTER_ID>") + * .filename("<FILENAME>") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Feature.java b/sdk/java/src/main/java/com/pulumi/rancher2/Feature.java index 65299c15b..10290d22e 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Feature.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Feature.java @@ -19,6 +19,34 @@ /** * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Feature; + * import com.pulumi.rancher2.FeatureArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fleet = new Feature("fleet", FeatureArgs.builder() + * .value("<VALUE>") + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/feature:Feature") diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/GlobalDns.java b/sdk/java/src/main/java/com/pulumi/rancher2/GlobalDns.java index c5adabe89..d3cadc97b 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/GlobalDns.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/GlobalDns.java @@ -22,6 +22,94 @@ * Provides a Rancher V2 Global DNS resource. This can be used to create Global DNS records for Rancher V2. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.GlobalDnsProvider; + * import com.pulumi.rancher2.GlobalDnsProviderArgs; + * import com.pulumi.rancher2.inputs.GlobalDnsProviderRoute53ConfigArgs; + * import com.pulumi.rancher2.GlobalDns; + * import com.pulumi.rancher2.GlobalDnsArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooGlobalDnsProvider = new GlobalDnsProvider("fooGlobalDnsProvider", GlobalDnsProviderArgs.builder() + * .rootDomain("example.com") + * .route53Config(GlobalDnsProviderRoute53ConfigArgs.builder() + * .accessKey("YYYYYYYYYYYYYYYYYYYY") + * .secretKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") + * .zoneType("private") + * .region("us-east-1") + * .build()) + * .build()); + * + * var fooGlobalDns = new GlobalDns("fooGlobalDns", GlobalDnsArgs.builder() + * .fqdn("foo.example.com") + * .providerId(fooGlobalDnsProvider.id()) + * .projectIds( + * "project1", + * "project2") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.GlobalDnsProvider; + * import com.pulumi.rancher2.GlobalDnsProviderArgs; + * import com.pulumi.rancher2.inputs.GlobalDnsProviderRoute53ConfigArgs; + * import com.pulumi.rancher2.GlobalDns; + * import com.pulumi.rancher2.GlobalDnsArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooGlobalDnsProvider = new GlobalDnsProvider("fooGlobalDnsProvider", GlobalDnsProviderArgs.builder() + * .rootDomain("example.com") + * .route53Config(GlobalDnsProviderRoute53ConfigArgs.builder() + * .accessKey("YYYYYYYYYYYYYYYYYYYY") + * .secretKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") + * .zoneType("private") + * .region("us-east-1") + * .build()) + * .build()); + * + * var fooGlobalDns = new GlobalDns("fooGlobalDns", GlobalDnsArgs.builder() + * .fqdn("foo.example.com") + * .providerId(fooGlobalDnsProvider.id()) + * .multiClusterAppId("<MCA_ID>") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/GlobalDnsProvider.java b/sdk/java/src/main/java/com/pulumi/rancher2/GlobalDnsProvider.java index 366703df6..0063bb8db 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/GlobalDnsProvider.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/GlobalDnsProvider.java @@ -23,6 +23,108 @@ * Provides a Rancher V2 Global DNS Provider resource. This can be used to create Global DNS Providers for Rancher V2. Supported Global DNS Providers: `alidns, cloudflare, route53` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.GlobalDnsProvider; + * import com.pulumi.rancher2.GlobalDnsProviderArgs; + * import com.pulumi.rancher2.inputs.GlobalDnsProviderAlidnsConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new GlobalDnsProvider("foo", GlobalDnsProviderArgs.builder() + * .alidnsConfig(GlobalDnsProviderAlidnsConfigArgs.builder() + * .accessKey("YYYYYYYYYYYYYYYYYYYY") + * .secretKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") + * .build()) + * .rootDomain("example.com") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.GlobalDnsProvider; + * import com.pulumi.rancher2.GlobalDnsProviderArgs; + * import com.pulumi.rancher2.inputs.GlobalDnsProviderCloudflareConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new GlobalDnsProvider("foo", GlobalDnsProviderArgs.builder() + * .cloudflareConfig(GlobalDnsProviderCloudflareConfigArgs.builder() + * .apiEmail("test@test.local") + * .apiKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") + * .proxySetting(true) + * .build()) + * .rootDomain("example.com") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.GlobalDnsProvider; + * import com.pulumi.rancher2.GlobalDnsProviderArgs; + * import com.pulumi.rancher2.inputs.GlobalDnsProviderRoute53ConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new GlobalDnsProvider("foo", GlobalDnsProviderArgs.builder() + * .rootDomain("example.com") + * .route53Config(GlobalDnsProviderRoute53ConfigArgs.builder() + * .accessKey("YYYYYYYYYYYYYYYYYYYY") + * .region("us-east-1") + * .secretKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") + * .zoneType("private") + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/GlobalRole.java b/sdk/java/src/main/java/com/pulumi/rancher2/GlobalRole.java index d1c46a390..7a637406e 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/GlobalRole.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/GlobalRole.java @@ -23,6 +23,41 @@ * Provides a Rancher v2 Global Role resource. This can be used to create Global Role for Rancher v2 and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.GlobalRole; + * import com.pulumi.rancher2.GlobalRoleArgs; + * import com.pulumi.rancher2.inputs.GlobalRoleRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new GlobalRole("foo", GlobalRoleArgs.builder() + * .description("Terraform global role acceptance test") + * .newUserDefault(true) + * .rules(GlobalRoleRuleArgs.builder() + * .apiGroups("*") + * .resources("secrets") + * .verbs("create") + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/GlobalRoleBinding.java b/sdk/java/src/main/java/com/pulumi/rancher2/GlobalRoleBinding.java index 715e7df3d..9ae9eecb3 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/GlobalRoleBinding.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/GlobalRoleBinding.java @@ -19,6 +19,40 @@ * Provides a Rancher v2 Global Role Binding resource. This can be used to create Global Role Bindings for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.GlobalRoleBinding; + * import com.pulumi.rancher2.GlobalRoleBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new GlobalRoleBinding("foo", GlobalRoleBindingArgs.builder() + * .globalRoleId("admin") + * .userId("user-XXXXX") + * .build()); + * + * var foo2 = new GlobalRoleBinding("foo2", GlobalRoleBindingArgs.builder() + * .globalRoleId("admin") + * .groupPrincipalId("local://g-XXXXX") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/MachineConfigV2.java b/sdk/java/src/main/java/com/pulumi/rancher2/MachineConfigV2.java index fc0f45b90..37bf7edd0 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/MachineConfigV2.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/MachineConfigV2.java @@ -24,13 +24,69 @@ import javax.annotation.Nullable; /** - * Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. + * Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is available from Rancher v2.6.0 and above. * * `amazonec2`, `azure`, `digitalocean`, `linode`, `openstack`, and `vsphere` cloud providers are supported for machine config V2 * * **Note** This resource is used by * * ## Example Usage + * ### Using the Harvester Node Driver + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterV2Args; + * import com.pulumi.rancher2.CloudCredential; + * import com.pulumi.rancher2.CloudCredentialArgs; + * import com.pulumi.rancher2.inputs.CloudCredentialHarvesterCredentialConfigArgs; + * import com.pulumi.rancher2.MachineConfigV2; + * import com.pulumi.rancher2.MachineConfigV2Args; + * import com.pulumi.rancher2.inputs.MachineConfigV2HarvesterConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo-harvesterClusterV2 = Rancher2Functions.getClusterV2(GetClusterV2Args.builder() + * .name("foo-harvester") + * .build()); + * + * var foo_harvesterCloudCredential = new CloudCredential("foo-harvesterCloudCredential", CloudCredentialArgs.builder() + * .harvesterCredentialConfig(CloudCredentialHarvesterCredentialConfigArgs.builder() + * .clusterId(foo_harvesterClusterV2.clusterV1Id()) + * .clusterType("imported") + * .kubeconfigContent(foo_harvesterClusterV2.kubeConfig()) + * .build()) + * .build()); + * + * var foo_harvester_v2 = new MachineConfigV2("foo-harvester-v2", MachineConfigV2Args.builder() + * .generateName("foo-harvester-v2") + * .harvesterConfig(MachineConfigV2HarvesterConfigArgs.builder() + * .vmNamespace("default") + * .cpuCount("2") + * .memorySize("4") + * .diskSize("40") + * .networkName("harvester-public/vlan1") + * .imageName("harvester-public/image-57hzg") + * .sshUser("ubuntu") + * .build()) + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/machineConfigV2:MachineConfigV2") diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/MultiClusterApp.java b/sdk/java/src/main/java/com/pulumi/rancher2/MultiClusterApp.java index a9552996f..b8dea614d 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/MultiClusterApp.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/MultiClusterApp.java @@ -25,6 +25,93 @@ /** * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.MultiClusterApp; + * import com.pulumi.rancher2.MultiClusterAppArgs; + * import com.pulumi.rancher2.inputs.MultiClusterAppAnswerArgs; + * import com.pulumi.rancher2.inputs.MultiClusterAppTargetArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new MultiClusterApp("foo", MultiClusterAppArgs.builder() + * .answers(MultiClusterAppAnswerArgs.builder() + * .values(Map.of("ingressHost", "test.xip.io")) + * .build()) + * .catalogName("<catalog_name>") + * .roles("project-member") + * .targets(MultiClusterAppTargetArgs.builder() + * .projectId("<project_id>") + * .build()) + * .templateName("<template_name>") + * .templateVersion("<template_version>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.MultiClusterApp; + * import com.pulumi.rancher2.MultiClusterAppArgs; + * import com.pulumi.rancher2.inputs.MultiClusterAppAnswerArgs; + * import com.pulumi.rancher2.inputs.MultiClusterAppTargetArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new MultiClusterApp("foo", MultiClusterAppArgs.builder() + * .answers( + * MultiClusterAppAnswerArgs.builder() + * .values(Map.of("ingressHost", "test.xip.io")) + * .build(), + * MultiClusterAppAnswerArgs.builder() + * .projectId("<project_id2>") + * .values(Map.of("ingressHost", "test2.xip.io")) + * .build()) + * .catalogName("<catalog_name>") + * .roles("project-member") + * .targets( + * MultiClusterAppTargetArgs.builder() + * .projectId("<project_id1>") + * .build(), + * MultiClusterAppTargetArgs.builder() + * .projectId("<project_id2>") + * .build()) + * .templateName("<template_name>") + * .templateVersion("<template_version>") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Namespace.java b/sdk/java/src/main/java/com/pulumi/rancher2/Namespace.java index 0f6ac5429..30a327524 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Namespace.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Namespace.java @@ -23,6 +23,109 @@ * Provides a Rancher v2 Namespace resource. This can be used to create namespaces for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Namespace; + * import com.pulumi.rancher2.NamespaceArgs; + * import com.pulumi.rancher2.inputs.NamespaceContainerResourceLimitArgs; + * import com.pulumi.rancher2.inputs.NamespaceResourceQuotaArgs; + * import com.pulumi.rancher2.inputs.NamespaceResourceQuotaLimitArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new Namespace("foo", NamespaceArgs.builder() + * .containerResourceLimit(NamespaceContainerResourceLimitArgs.builder() + * .limitsCpu("20m") + * .limitsMemory("20Mi") + * .requestsCpu("1m") + * .requestsMemory("1Mi") + * .build()) + * .description("foo namespace") + * .projectId("<PROJECT_ID>") + * .resourceQuota(NamespaceResourceQuotaArgs.builder() + * .limit(NamespaceResourceQuotaLimitArgs.builder() + * .limitsCpu("100m") + * .limitsMemory("100Mi") + * .requestsStorage("1Gi") + * .build()) + * .build()) + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs; + * import com.pulumi.rancher2.Namespace; + * import com.pulumi.rancher2.NamespaceArgs; + * import com.pulumi.rancher2.inputs.NamespaceResourceQuotaArgs; + * import com.pulumi.rancher2.inputs.NamespaceResourceQuotaLimitArgs; + * import com.pulumi.rancher2.inputs.NamespaceContainerResourceLimitArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo_custom = new Cluster("foo-custom", ClusterArgs.builder() + * .description("Foo rancher2 custom cluster") + * .rkeConfig(ClusterRkeConfigArgs.builder() + * .network(ClusterRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .build()) + * .build()); + * + * var foo = new Namespace("foo", NamespaceArgs.builder() + * .projectId(foo_custom.defaultProjectId()) + * .description("foo namespace") + * .resourceQuota(NamespaceResourceQuotaArgs.builder() + * .limit(NamespaceResourceQuotaLimitArgs.builder() + * .limitsCpu("100m") + * .limitsMemory("100Mi") + * .requestsStorage("1Gi") + * .build()) + * .build()) + * .containerResourceLimit(NamespaceContainerResourceLimitArgs.builder() + * .limitsCpu("20m") + * .limitsMemory("20Mi") + * .requestsCpu("1m") + * .requestsMemory("1Mi") + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/NodeDriver.java b/sdk/java/src/main/java/com/pulumi/rancher2/NodeDriver.java index d51a417a4..bb0111c03 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/NodeDriver.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/NodeDriver.java @@ -22,6 +22,41 @@ * Provides a Rancher v2 Node Driver resource. This can be used to create Node Driver for Rancher v2 RKE clusters and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.NodeDriver; + * import com.pulumi.rancher2.NodeDriverArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new NodeDriver("foo", NodeDriverArgs.builder() + * .active(true) + * .builtin(false) + * .checksum("0x0") + * .description("Foo description") + * .externalId("foo_external") + * .uiUrl("local://ui") + * .url("local://") + * .whitelistDomains("*.foo.com") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/NodePool.java b/sdk/java/src/main/java/com/pulumi/rancher2/NodePool.java index f419f0296..39f27d9af 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/NodePool.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/NodePool.java @@ -23,6 +23,84 @@ /** * Provides a Rancher v2 Node Pool resource. This can be used to create Node Pool, using Node template for Rancher v2 RKE clusters and retrieve their information. * + * ## Example Usage + * + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Cluster; + * import com.pulumi.rancher2.ClusterArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigArgs; + * import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkArgs; + * import com.pulumi.rancher2.CloudCredential; + * import com.pulumi.rancher2.CloudCredentialArgs; + * import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs; + * import com.pulumi.rancher2.NodeTemplate; + * import com.pulumi.rancher2.NodeTemplateArgs; + * import com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs; + * import com.pulumi.rancher2.NodePool; + * import com.pulumi.rancher2.NodePoolArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo_custom = new Cluster("foo-custom", ClusterArgs.builder() + * .description("Foo rancher2 custom cluster") + * .kind("rke") + * .rkeConfig(ClusterRkeConfigArgs.builder() + * .network(ClusterRkeConfigNetworkArgs.builder() + * .plugin("canal") + * .build()) + * .build()) + * .build()); + * + * var fooCloudCredential = new CloudCredential("fooCloudCredential", CloudCredentialArgs.builder() + * .description("Terraform cloudCredential acceptance test") + * .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder() + * .accessKey("XXXXXXXXXXXXXXXXXXXX") + * .secretKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") + * .build()) + * .build()); + * + * var fooNodeTemplate = new NodeTemplate("fooNodeTemplate", NodeTemplateArgs.builder() + * .description("foo test") + * .cloudCredentialId(fooCloudCredential.id()) + * .amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder() + * .ami("<AMI_ID>") + * .region("<REGION>") + * .securityGroups("<AWS_SECURITY_GROUP>") + * .subnetId("<SUBNET_ID>") + * .vpcId("<VPC_ID>") + * .zone("<ZONE>") + * .build()) + * .build()); + * + * var fooNodePool = new NodePool("fooNodePool", NodePoolArgs.builder() + * .clusterId(foo_custom.id()) + * .hostnamePrefix("foo-cluster-0") + * .nodeTemplateId(fooNodeTemplate.id()) + * .quantity(1) + * .controlPlane(true) + * .etcd(true) + * .worker(true) + * .build()); + * + * } + * } + * ``` + * * ## Import * * Node Pool can be imported using the Rancher Node Pool ID diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/NodeTemplate.java b/sdk/java/src/main/java/com/pulumi/rancher2/NodeTemplate.java index 024c14b71..fa28f4e9a 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/NodeTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/NodeTemplate.java @@ -19,6 +19,7 @@ import com.pulumi.rancher2.outputs.NodeTemplateNodeTaint; import com.pulumi.rancher2.outputs.NodeTemplateOpennebulaConfig; import com.pulumi.rancher2.outputs.NodeTemplateOpenstackConfig; +import com.pulumi.rancher2.outputs.NodeTemplateOutscaleConfig; import com.pulumi.rancher2.outputs.NodeTemplateVsphereConfig; import java.lang.Boolean; import java.lang.Object; @@ -31,11 +32,202 @@ /** * Provides a Rancher v2 Node Template resource. This can be used to create Node Template for Rancher v2 and retrieve their information. * - * amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, hetzner, and vsphere drivers are supported for node templates. + * amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates. * * **Note** If you are upgrading to Rancher v2.3.3, please take a look to final section * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.NodeTemplate; + * import com.pulumi.rancher2.NodeTemplateArgs; + * import com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new NodeTemplate("foo", NodeTemplateArgs.builder() + * .amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder() + * .accessKey("AWS_ACCESS_KEY") + * .ami("<AMI_ID>") + * .region("<REGION>") + * .secretKey("<AWS_SECRET_KEY>") + * .securityGroups("<AWS_SECURITY_GROUP>") + * .subnetId("<SUBNET_ID>") + * .vpcId("<VPC_ID>") + * .zone("<ZONE>") + * .build()) + * .description("foo test") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.CloudCredential; + * import com.pulumi.rancher2.CloudCredentialArgs; + * import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs; + * import com.pulumi.rancher2.NodeTemplate; + * import com.pulumi.rancher2.NodeTemplateArgs; + * import com.pulumi.rancher2.inputs.NodeTemplateAmazonec2ConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooCloudCredential = new CloudCredential("fooCloudCredential", CloudCredentialArgs.builder() + * .description("foo test") + * .amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder() + * .accessKey("<AWS_ACCESS_KEY>") + * .secretKey("<AWS_SECRET_KEY>") + * .build()) + * .build()); + * + * var fooNodeTemplate = new NodeTemplate("fooNodeTemplate", NodeTemplateArgs.builder() + * .description("foo test") + * .cloudCredentialId(fooCloudCredential.id()) + * .amazonec2Config(NodeTemplateAmazonec2ConfigArgs.builder() + * .ami("<AMI_ID>") + * .region("<REGION>") + * .securityGroups("<AWS_SECURITY_GROUP>") + * .subnetId("<SUBNET_ID>") + * .vpcId("<VPC_ID>") + * .zone("<ZONE>") + * .build()) + * .build()); + * + * } + * } + * ``` + * ### Using the Harvester Node Driver + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterV2Args; + * import com.pulumi.rancher2.CloudCredential; + * import com.pulumi.rancher2.CloudCredentialArgs; + * import com.pulumi.rancher2.inputs.CloudCredentialHarvesterCredentialConfigArgs; + * import com.pulumi.rancher2.NodeTemplate; + * import com.pulumi.rancher2.NodeTemplateArgs; + * import com.pulumi.rancher2.inputs.NodeTemplateHarvesterConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo-harvesterClusterV2 = Rancher2Functions.getClusterV2(GetClusterV2Args.builder() + * .name("foo-harvester") + * .build()); + * + * var foo_harvesterCloudCredential = new CloudCredential("foo-harvesterCloudCredential", CloudCredentialArgs.builder() + * .harvesterCredentialConfig(CloudCredentialHarvesterCredentialConfigArgs.builder() + * .clusterId(foo_harvesterClusterV2.clusterV1Id()) + * .clusterType("imported") + * .kubeconfigContent(foo_harvesterClusterV2.kubeConfig()) + * .build()) + * .build()); + * + * var foo_harvesterNodeTemplate = new NodeTemplate("foo-harvesterNodeTemplate", NodeTemplateArgs.builder() + * .cloudCredentialId(foo_harvesterCloudCredential.id()) + * .engineInstallUrl("https://releases.rancher.com/install-docker/20.10.sh") + * .harvesterConfig(NodeTemplateHarvesterConfigArgs.builder() + * .vmNamespace("default") + * .cpuCount("2") + * .memorySize("4") + * .diskSize("40") + * .networkName("harvester-public/vlan1") + * .imageName("harvester-public/image-57hzg") + * .sshUser("ubuntu") + * .build()) + * .build()); + * + * } + * } + * ``` + * ### Using the Hetzner Node Driver + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.NodeDriver; + * import com.pulumi.rancher2.NodeDriverArgs; + * import com.pulumi.rancher2.NodeTemplate; + * import com.pulumi.rancher2.NodeTemplateArgs; + * import com.pulumi.rancher2.inputs.NodeTemplateHetznerConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var hetznerNodeDriver = new NodeDriver("hetznerNodeDriver", NodeDriverArgs.builder() + * .active(true) + * .builtin(false) + * .uiUrl("https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js") + * .url("https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz") + * .whitelistDomains("storage.googleapis.com") + * .build()); + * + * var myHetznerNodeTemplate = new NodeTemplate("myHetznerNodeTemplate", NodeTemplateArgs.builder() + * .driverId(hetznerNodeDriver.id()) + * .hetznerConfig(NodeTemplateHetznerConfigArgs.builder() + * .apiToken("XXXXXXXXXX") + * .image("ubuntu-18.04") + * .serverLocation("nbg1") + * .serverType("cx11") + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * @@ -398,6 +590,20 @@ public Output> opennebulaConfig() { public Output> openstackConfig() { return Codegen.optional(this.openstackConfig); } + /** + * Outscale config for the Node Template (list maxitems:1) + * + */ + @Export(name="outscaleConfig", type=NodeTemplateOutscaleConfig.class, parameters={}) + private Output outscaleConfig; + + /** + * @return Outscale config for the Node Template (list maxitems:1) + * + */ + public Output> outscaleConfig() { + return Codegen.optional(this.outscaleConfig); + } /** * Engine storage driver for the node template (bool) * @@ -459,6 +665,10 @@ private NodeTemplate(String name, Output id, @Nullable NodeTemplateState private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "authCertificateAuthority", + "authKey" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/NodeTemplateArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/NodeTemplateArgs.java index d5a97a39b..a4dedc69a 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/NodeTemplateArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/NodeTemplateArgs.java @@ -14,6 +14,7 @@ import com.pulumi.rancher2.inputs.NodeTemplateNodeTaintArgs; import com.pulumi.rancher2.inputs.NodeTemplateOpennebulaConfigArgs; import com.pulumi.rancher2.inputs.NodeTemplateOpenstackConfigArgs; +import com.pulumi.rancher2.inputs.NodeTemplateOutscaleConfigArgs; import com.pulumi.rancher2.inputs.NodeTemplateVsphereConfigArgs; import java.lang.Boolean; import java.lang.Object; @@ -389,6 +390,21 @@ public Optional> openstackConfig() { return Optional.ofNullable(this.openstackConfig); } + /** + * Outscale config for the Node Template (list maxitems:1) + * + */ + @Import(name="outscaleConfig") + private @Nullable Output outscaleConfig; + + /** + * @return Outscale config for the Node Template (list maxitems:1) + * + */ + public Optional> outscaleConfig() { + return Optional.ofNullable(this.outscaleConfig); + } + /** * Engine storage driver for the node template (bool) * @@ -446,6 +462,7 @@ private NodeTemplateArgs(NodeTemplateArgs $) { this.nodeTaints = $.nodeTaints; this.opennebulaConfig = $.opennebulaConfig; this.openstackConfig = $.openstackConfig; + this.outscaleConfig = $.outscaleConfig; this.useInternalIpAddress = $.useInternalIpAddress; this.vsphereConfig = $.vsphereConfig; } @@ -1002,6 +1019,27 @@ public Builder openstackConfig(NodeTemplateOpenstackConfigArgs openstackConfig) return openstackConfig(Output.of(openstackConfig)); } + /** + * @param outscaleConfig Outscale config for the Node Template (list maxitems:1) + * + * @return builder + * + */ + public Builder outscaleConfig(@Nullable Output outscaleConfig) { + $.outscaleConfig = outscaleConfig; + return this; + } + + /** + * @param outscaleConfig Outscale config for the Node Template (list maxitems:1) + * + * @return builder + * + */ + public Builder outscaleConfig(NodeTemplateOutscaleConfigArgs outscaleConfig) { + return outscaleConfig(Output.of(outscaleConfig)); + } + /** * @param useInternalIpAddress Engine storage driver for the node template (bool) * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Notifier.java b/sdk/java/src/main/java/com/pulumi/rancher2/Notifier.java index da92090eb..58e0ab428 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Notifier.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Notifier.java @@ -28,6 +28,41 @@ * Provides a Rancher v2 Notifier resource. This can be used to create notifiers for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Notifier; + * import com.pulumi.rancher2.NotifierArgs; + * import com.pulumi.rancher2.inputs.NotifierPagerdutyConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new Notifier("foo", NotifierArgs.builder() + * .clusterId("<cluster_id>") + * .description("Terraform notifier acceptance test") + * .pagerdutyConfig(NotifierPagerdutyConfigArgs.builder() + * .proxyUrl("http://proxy.test.io") + * .serviceKey("XXXXXXXX") + * .build()) + * .sendResolved("true") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/PodSecurityPolicyTemplate.java b/sdk/java/src/main/java/com/pulumi/rancher2/PodSecurityPolicyTemplate.java index 9bb0a6d05..68ad523ea 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/PodSecurityPolicyTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/PodSecurityPolicyTemplate.java @@ -32,6 +32,132 @@ * Provides a Rancher v2 PodSecurityPolicyTemplate resource. This can be used to create PodSecurityPolicyTemplates for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.PodSecurityPolicyTemplate; + * import com.pulumi.rancher2.PodSecurityPolicyTemplateArgs; + * import com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateAllowedCsiDriverArgs; + * import com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateAllowedFlexVolumeArgs; + * import com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateAllowedHostPathArgs; + * import com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateFsGroupArgs; + * import com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateHostPortArgs; + * import com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateRunAsGroupArgs; + * import com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateRunAsUserArgs; + * import com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateRuntimeClassArgs; + * import com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateSeLinuxArgs; + * import com.pulumi.rancher2.inputs.PodSecurityPolicyTemplateSupplementalGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new PodSecurityPolicyTemplate("foo", PodSecurityPolicyTemplateArgs.builder() + * .allowPrivilegeEscalation(false) + * .allowedCsiDrivers( + * PodSecurityPolicyTemplateAllowedCsiDriverArgs.builder() + * .name("something") + * .build(), + * PodSecurityPolicyTemplateAllowedCsiDriverArgs.builder() + * .name("something-else") + * .build()) + * .allowedFlexVolumes( + * PodSecurityPolicyTemplateAllowedFlexVolumeArgs.builder() + * .driver("something") + * .build(), + * PodSecurityPolicyTemplateAllowedFlexVolumeArgs.builder() + * .driver("something-else") + * .build()) + * .allowedHostPaths( + * PodSecurityPolicyTemplateAllowedHostPathArgs.builder() + * .pathPrefix("/") + * .readOnly(true) + * .build(), + * PodSecurityPolicyTemplateAllowedHostPathArgs.builder() + * .pathPrefix("//") + * .readOnly(false) + * .build()) + * .allowedProcMountTypes("Default") + * .defaultAllowPrivilegeEscalation(false) + * .description("Terraform PodSecurityPolicyTemplate acceptance test - update") + * .fsGroup(PodSecurityPolicyTemplateFsGroupArgs.builder() + * .ranges( + * PodSecurityPolicyTemplateFsGroupRangeArgs.builder() + * .max(100) + * .min(0) + * .build(), + * PodSecurityPolicyTemplateFsGroupRangeArgs.builder() + * .max(100) + * .min(0) + * .build()) + * .rule("MustRunAs") + * .build()) + * .hostIpc(false) + * .hostNetwork(false) + * .hostPid(false) + * .hostPorts( + * PodSecurityPolicyTemplateHostPortArgs.builder() + * .max(65535) + * .min(0) + * .build(), + * PodSecurityPolicyTemplateHostPortArgs.builder() + * .max(8080) + * .min(1024) + * .build()) + * .privileged(false) + * .readOnlyRootFilesystem(false) + * .requiredDropCapabilities("something") + * .runAsGroup(PodSecurityPolicyTemplateRunAsGroupArgs.builder() + * .ranges( + * PodSecurityPolicyTemplateRunAsGroupRangeArgs.builder() + * .max(100) + * .min(1) + * .build(), + * PodSecurityPolicyTemplateRunAsGroupRangeArgs.builder() + * .max(1024) + * .min(2) + * .build()) + * .rule("MustRunAs") + * .build()) + * .runAsUser(PodSecurityPolicyTemplateRunAsUserArgs.builder() + * .ranges( + * PodSecurityPolicyTemplateRunAsUserRangeArgs.builder() + * .max(100) + * .min(1) + * .build(), + * PodSecurityPolicyTemplateRunAsUserRangeArgs.builder() + * .max(1024) + * .min(2) + * .build()) + * .rule("MustRunAs") + * .build()) + * .runtimeClass(PodSecurityPolicyTemplateRuntimeClassArgs.builder() + * .allowedRuntimeClassNames("something") + * .defaultRuntimeClassName("something") + * .build()) + * .seLinux(PodSecurityPolicyTemplateSeLinuxArgs.builder() + * .rule("RunAsAny") + * .build()) + * .supplementalGroup(PodSecurityPolicyTemplateSupplementalGroupArgs.builder() + * .rule("RunAsAny") + * .build()) + * .volumes("azureFile") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Project.java b/sdk/java/src/main/java/com/pulumi/rancher2/Project.java index 3426648b3..fd0c955f9 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Project.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Project.java @@ -24,6 +24,130 @@ * Provides a Rancher v2 Project resource. This can be used to create projects for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Project; + * import com.pulumi.rancher2.ProjectArgs; + * import com.pulumi.rancher2.inputs.ProjectContainerResourceLimitArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaProjectLimitArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new Project("foo", ProjectArgs.builder() + * .clusterId("<CLUSTER_ID>") + * .containerResourceLimit(ProjectContainerResourceLimitArgs.builder() + * .limitsCpu("20m") + * .limitsMemory("20Mi") + * .requestsCpu("1m") + * .requestsMemory("1Mi") + * .build()) + * .resourceQuota(ProjectResourceQuotaArgs.builder() + * .namespaceDefaultLimit(ProjectResourceQuotaNamespaceDefaultLimitArgs.builder() + * .limitsCpu("2000m") + * .limitsMemory("500Mi") + * .requestsStorage("1Gi") + * .build()) + * .projectLimit(ProjectResourceQuotaProjectLimitArgs.builder() + * .limitsCpu("2000m") + * .limitsMemory("2000Mi") + * .requestsStorage("2Gi") + * .build()) + * .build()) + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Project; + * import com.pulumi.rancher2.ProjectArgs; + * import com.pulumi.rancher2.inputs.ProjectContainerResourceLimitArgs; + * import com.pulumi.rancher2.inputs.ProjectProjectMonitoringInputArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaProjectLimitArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new Project("foo", ProjectArgs.builder() + * .clusterId("<CLUSTER_ID>") + * .containerResourceLimit(ProjectContainerResourceLimitArgs.builder() + * .limitsCpu("20m") + * .limitsMemory("20Mi") + * .requestsCpu("1m") + * .requestsMemory("1Mi") + * .build()) + * .enableProjectMonitoring(true) + * .projectMonitoringInput(ProjectProjectMonitoringInputArgs.builder() + * .answers(Map.ofEntries( + * Map.entry("exporter-kubelets.https", true), + * Map.entry("exporter-node.enabled", true), + * Map.entry("exporter-node.ports.metrics.port", 9796), + * Map.entry("exporter-node.resources.limits.cpu", "200m"), + * Map.entry("exporter-node.resources.limits.memory", "200Mi"), + * Map.entry("grafana.persistence.enabled", false), + * Map.entry("grafana.persistence.size", "10Gi"), + * Map.entry("grafana.persistence.storageClass", "default"), + * Map.entry("operator.resources.limits.memory", "500Mi"), + * Map.entry("prometheus.persistence.enabled", "false"), + * Map.entry("prometheus.persistence.size", "50Gi"), + * Map.entry("prometheus.persistence.storageClass", "default"), + * Map.entry("prometheus.persistent.useReleaseName", "true"), + * Map.entry("prometheus.resources.core.limits.cpu", "1000m"), + * Map.entry("prometheus.resources.core.limits.memory", "1500Mi"), + * Map.entry("prometheus.resources.core.requests.cpu", "750m"), + * Map.entry("prometheus.resources.core.requests.memory", "750Mi"), + * Map.entry("prometheus.retention", "12h") + * )) + * .build()) + * .resourceQuota(ProjectResourceQuotaArgs.builder() + * .namespaceDefaultLimit(ProjectResourceQuotaNamespaceDefaultLimitArgs.builder() + * .limitsCpu("2000m") + * .limitsMemory("500Mi") + * .requestsStorage("1Gi") + * .build()) + * .projectLimit(ProjectResourceQuotaProjectLimitArgs.builder() + * .limitsCpu("2000m") + * .limitsMemory("2000Mi") + * .requestsStorage("2Gi") + * .build()) + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ProjectAlertGroup.java b/sdk/java/src/main/java/com/pulumi/rancher2/ProjectAlertGroup.java index 780d38278..77b3e492a 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ProjectAlertGroup.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ProjectAlertGroup.java @@ -23,6 +23,37 @@ * Provides a Rancher v2 Project Alert Group resource. This can be used to create Project Alert Group for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ProjectAlertGroup; + * import com.pulumi.rancher2.ProjectAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ProjectAlertGroup("foo", ProjectAlertGroupArgs.builder() + * .description("Terraform project alert group") + * .groupIntervalSeconds(300) + * .projectId("<project_id>") + * .repeatIntervalSeconds(3600) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ProjectAlertRule.java b/sdk/java/src/main/java/com/pulumi/rancher2/ProjectAlertRule.java index bf4ee691b..026afc986 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ProjectAlertRule.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ProjectAlertRule.java @@ -25,6 +25,75 @@ * Provides a Rancher v2 Project Alert Rule resource. This can be used to create Project Alert Rule for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Project; + * import com.pulumi.rancher2.ProjectArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaProjectLimitArgs; + * import com.pulumi.rancher2.inputs.ProjectResourceQuotaNamespaceDefaultLimitArgs; + * import com.pulumi.rancher2.inputs.ProjectContainerResourceLimitArgs; + * import com.pulumi.rancher2.ProjectAlertGroup; + * import com.pulumi.rancher2.ProjectAlertGroupArgs; + * import com.pulumi.rancher2.ProjectAlertRule; + * import com.pulumi.rancher2.ProjectAlertRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooProject = new Project("fooProject", ProjectArgs.builder() + * .clusterId("<cluster_id>") + * .description("Terraform project ") + * .resourceQuota(ProjectResourceQuotaArgs.builder() + * .projectLimit(ProjectResourceQuotaProjectLimitArgs.builder() + * .limitsCpu("2000m") + * .limitsMemory("2000Mi") + * .requestsStorage("2Gi") + * .build()) + * .namespaceDefaultLimit(ProjectResourceQuotaNamespaceDefaultLimitArgs.builder() + * .limitsCpu("500m") + * .limitsMemory("500Mi") + * .requestsStorage("1Gi") + * .build()) + * .build()) + * .containerResourceLimit(ProjectContainerResourceLimitArgs.builder() + * .limitsCpu("20m") + * .limitsMemory("20Mi") + * .requestsCpu("1m") + * .requestsMemory("1Mi") + * .build()) + * .build()); + * + * var fooProjectAlertGroup = new ProjectAlertGroup("fooProjectAlertGroup", ProjectAlertGroupArgs.builder() + * .description("Terraform project alert group") + * .projectId(fooProject.id()) + * .groupIntervalSeconds(300) + * .repeatIntervalSeconds(3600) + * .build()); + * + * var fooProjectAlertRule = new ProjectAlertRule("fooProjectAlertRule", ProjectAlertRuleArgs.builder() + * .projectId(fooProjectAlertGroup.projectId()) + * .groupId(fooProjectAlertGroup.id()) + * .groupIntervalSeconds(600) + * .repeatIntervalSeconds(6000) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ProjectLogging.java b/sdk/java/src/main/java/com/pulumi/rancher2/ProjectLogging.java index 766605a75..b61731815 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ProjectLogging.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ProjectLogging.java @@ -28,6 +28,42 @@ * Provides a Rancher v2 Project Logging resource. This can be used to create Project Logging for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ProjectLogging; + * import com.pulumi.rancher2.ProjectLoggingArgs; + * import com.pulumi.rancher2.inputs.ProjectLoggingSyslogConfigArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ProjectLogging("foo", ProjectLoggingArgs.builder() + * .kind("syslog") + * .projectId("<project_id>") + * .syslogConfig(ProjectLoggingSyslogConfigArgs.builder() + * .endpoint("<syslog_endpoint>") + * .protocol("udp") + * .severity("notice") + * .sslVerify(false) + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/ProjectRoleTemplateBinding.java b/sdk/java/src/main/java/com/pulumi/rancher2/ProjectRoleTemplateBinding.java index ce04894eb..39faf4862 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/ProjectRoleTemplateBinding.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/ProjectRoleTemplateBinding.java @@ -19,6 +19,36 @@ * Provides a Rancher v2 Project Role Template Binding resource. This can be used to create Project Role Template Bindings for Rancher v2 environments and retrieve their information. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.ProjectRoleTemplateBinding; + * import com.pulumi.rancher2.ProjectRoleTemplateBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new ProjectRoleTemplateBinding("foo", ProjectRoleTemplateBindingArgs.builder() + * .projectId("<project_id>") + * .roleTemplateId("<role_template_id>") + * .userId("<user_id>") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Provider.java b/sdk/java/src/main/java/com/pulumi/rancher2/Provider.java index 63203761f..5998aec52 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Provider.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Provider.java @@ -10,6 +10,7 @@ import com.pulumi.rancher2.ProviderArgs; import com.pulumi.rancher2.Utilities; import java.lang.String; +import java.util.List; import java.util.Optional; import javax.annotation.Nullable; @@ -135,6 +136,11 @@ public Provider(String name, ProviderArgs args, @Nullable com.pulumi.resources.C private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "accessKey", + "secretKey", + "tokenKey" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Rancher2Functions.java b/sdk/java/src/main/java/com/pulumi/rancher2/Rancher2Functions.java index 14474c31e..e27aba9f5 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Rancher2Functions.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Rancher2Functions.java @@ -135,6 +135,36 @@ public final class Rancher2Functions { * Use this data source to retrieve information about a Rancher v2 app. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetAppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var rancher2 = Rancher2Functions.getApp(GetAppArgs.builder() + * .name("foo") + * .projectId("<project_id>") + * .targetNamespace("<namespace_name>") + * .build()); + * + * } + * } + * ``` * */ public static Output getApp(GetAppArgs args) { @@ -144,6 +174,36 @@ public static Output getApp(GetAppArgs args) { * Use this data source to retrieve information about a Rancher v2 app. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetAppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var rancher2 = Rancher2Functions.getApp(GetAppArgs.builder() + * .name("foo") + * .projectId("<project_id>") + * .targetNamespace("<namespace_name>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getAppPlain(GetAppPlainArgs args) { @@ -153,6 +213,36 @@ public static CompletableFuture getAppPlain(GetAppPlainArgs args) * Use this data source to retrieve information about a Rancher v2 app. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetAppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var rancher2 = Rancher2Functions.getApp(GetAppArgs.builder() + * .name("foo") + * .projectId("<project_id>") + * .targetNamespace("<namespace_name>") + * .build()); + * + * } + * } + * ``` * */ public static Output getApp(GetAppArgs args, InvokeOptions options) { @@ -162,6 +252,36 @@ public static Output getApp(GetAppArgs args, InvokeOptions options * Use this data source to retrieve information about a Rancher v2 app. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetAppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var rancher2 = Rancher2Functions.getApp(GetAppArgs.builder() + * .name("foo") + * .projectId("<project_id>") + * .targetNamespace("<namespace_name>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getAppPlain(GetAppPlainArgs args, InvokeOptions options) { @@ -171,6 +291,34 @@ public static CompletableFuture getAppPlain(GetAppPlainArgs args, * Use this data source to retrieve information about a Rancher v2 catalog. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCatalogArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var library = Rancher2Functions.getCatalog(GetCatalogArgs.builder() + * .name("catalog") + * .build()); + * + * } + * } + * ``` * */ public static Output getCatalog(GetCatalogArgs args) { @@ -180,6 +328,34 @@ public static Output getCatalog(GetCatalogArgs args) { * Use this data source to retrieve information about a Rancher v2 catalog. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCatalogArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var library = Rancher2Functions.getCatalog(GetCatalogArgs.builder() + * .name("catalog") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getCatalogPlain(GetCatalogPlainArgs args) { @@ -189,6 +365,34 @@ public static CompletableFuture getCatalogPlain(GetCatalogPlai * Use this data source to retrieve information about a Rancher v2 catalog. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCatalogArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var library = Rancher2Functions.getCatalog(GetCatalogArgs.builder() + * .name("catalog") + * .build()); + * + * } + * } + * ``` * */ public static Output getCatalog(GetCatalogArgs args, InvokeOptions options) { @@ -198,6 +402,34 @@ public static Output getCatalog(GetCatalogArgs args, InvokeOpt * Use this data source to retrieve information about a Rancher v2 catalog. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCatalogArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var library = Rancher2Functions.getCatalog(GetCatalogArgs.builder() + * .name("catalog") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getCatalogPlain(GetCatalogPlainArgs args, InvokeOptions options) { @@ -239,6 +471,65 @@ public static CompletableFuture getCatalogV2Plain(GetCatalog * - Namespaced certificate: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCertificateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCertificateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getCertificate(GetCertificateArgs args) { @@ -252,6 +543,65 @@ public static Output getCertificate(GetCertificateArgs arg * - Namespaced certificate: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCertificateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCertificateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getCertificatePlain(GetCertificatePlainArgs args) { @@ -265,6 +615,65 @@ public static CompletableFuture getCertificatePlain(GetCer * - Namespaced certificate: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCertificateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCertificateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getCertificate(GetCertificateArgs args, InvokeOptions options) { @@ -278,6 +687,65 @@ public static Output getCertificate(GetCertificateArgs arg * - Namespaced certificate: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCertificateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCertificateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getCertificate(GetCertificateArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getCertificatePlain(GetCertificatePlainArgs args, InvokeOptions options) { @@ -287,6 +755,34 @@ public static CompletableFuture getCertificatePlain(GetCer * Use this data source to retrieve information about a Rancher v2 Cloud Credential. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCloudCredentialArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var test = Rancher2Functions.getCloudCredential(GetCloudCredentialArgs.builder() + * .name("test") + * .build()); + * + * } + * } + * ``` * */ public static Output getCloudCredential(GetCloudCredentialArgs args) { @@ -296,6 +792,34 @@ public static Output getCloudCredential(GetCloudCreden * Use this data source to retrieve information about a Rancher v2 Cloud Credential. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCloudCredentialArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var test = Rancher2Functions.getCloudCredential(GetCloudCredentialArgs.builder() + * .name("test") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getCloudCredentialPlain(GetCloudCredentialPlainArgs args) { @@ -305,6 +829,34 @@ public static CompletableFuture getCloudCredentialPlai * Use this data source to retrieve information about a Rancher v2 Cloud Credential. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCloudCredentialArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var test = Rancher2Functions.getCloudCredential(GetCloudCredentialArgs.builder() + * .name("test") + * .build()); + * + * } + * } + * ``` * */ public static Output getCloudCredential(GetCloudCredentialArgs args, InvokeOptions options) { @@ -314,6 +866,34 @@ public static Output getCloudCredential(GetCloudCreden * Use this data source to retrieve information about a Rancher v2 Cloud Credential. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetCloudCredentialArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var test = Rancher2Functions.getCloudCredential(GetCloudCredentialArgs.builder() + * .name("test") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getCloudCredentialPlain(GetCloudCredentialPlainArgs args, InvokeOptions options) { @@ -323,6 +903,34 @@ public static CompletableFuture getCloudCredentialPlai * Use this data source to retrieve information about a Rancher v2 cluster. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo-custom = Rancher2Functions.getCluster(GetClusterArgs.builder() + * .name("foo-custom") + * .build()); + * + * } + * } + * ``` * */ public static Output getCluster(GetClusterArgs args) { @@ -332,6 +940,34 @@ public static Output getCluster(GetClusterArgs args) { * Use this data source to retrieve information about a Rancher v2 cluster. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo-custom = Rancher2Functions.getCluster(GetClusterArgs.builder() + * .name("foo-custom") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterPlain(GetClusterPlainArgs args) { @@ -341,6 +977,34 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * Use this data source to retrieve information about a Rancher v2 cluster. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo-custom = Rancher2Functions.getCluster(GetClusterArgs.builder() + * .name("foo-custom") + * .build()); + * + * } + * } + * ``` * */ public static Output getCluster(GetClusterArgs args, InvokeOptions options) { @@ -350,6 +1014,34 @@ public static Output getCluster(GetClusterArgs args, InvokeOpt * Use this data source to retrieve information about a Rancher v2 cluster. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo-custom = Rancher2Functions.getCluster(GetClusterArgs.builder() + * .name("foo-custom") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterPlain(GetClusterPlainArgs args, InvokeOptions options) { @@ -359,6 +1051,35 @@ public static CompletableFuture getClusterPlain(GetClusterPlai * Use this data source to retrieve information about a Rancher v2 cluster alert group. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterAlertGroup(GetClusterAlertGroupArgs.builder() + * .clusterId("<cluster_id>") + * .name("<cluster_alert_group_name>") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterAlertGroup(GetClusterAlertGroupArgs args) { @@ -368,6 +1089,35 @@ public static Output getClusterAlertGroup(GetCluster * Use this data source to retrieve information about a Rancher v2 cluster alert group. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterAlertGroup(GetClusterAlertGroupArgs.builder() + * .clusterId("<cluster_id>") + * .name("<cluster_alert_group_name>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterAlertGroupPlain(GetClusterAlertGroupPlainArgs args) { @@ -377,6 +1127,35 @@ public static CompletableFuture getClusterAlertGroup * Use this data source to retrieve information about a Rancher v2 cluster alert group. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterAlertGroup(GetClusterAlertGroupArgs.builder() + * .clusterId("<cluster_id>") + * .name("<cluster_alert_group_name>") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterAlertGroup(GetClusterAlertGroupArgs args, InvokeOptions options) { @@ -386,6 +1165,35 @@ public static Output getClusterAlertGroup(GetCluster * Use this data source to retrieve information about a Rancher v2 cluster alert group. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterAlertGroup(GetClusterAlertGroupArgs.builder() + * .clusterId("<cluster_id>") + * .name("<cluster_alert_group_name>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterAlertGroupPlain(GetClusterAlertGroupPlainArgs args, InvokeOptions options) { @@ -395,6 +1203,35 @@ public static CompletableFuture getClusterAlertGroup * Use this data source to retrieve information about a Rancher v2 cluster alert rule. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterAlterRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterAlterRule(GetClusterAlterRuleArgs.builder() + * .clusterId("<cluster_id>") + * .name("<cluster_alert_rule_name>") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterAlterRule(GetClusterAlterRuleArgs args) { @@ -404,6 +1241,35 @@ public static Output getClusterAlterRule(GetClusterAl * Use this data source to retrieve information about a Rancher v2 cluster alert rule. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterAlterRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterAlterRule(GetClusterAlterRuleArgs.builder() + * .clusterId("<cluster_id>") + * .name("<cluster_alert_rule_name>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterAlterRulePlain(GetClusterAlterRulePlainArgs args) { @@ -413,6 +1279,35 @@ public static CompletableFuture getClusterAlterRulePl * Use this data source to retrieve information about a Rancher v2 cluster alert rule. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterAlterRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterAlterRule(GetClusterAlterRuleArgs.builder() + * .clusterId("<cluster_id>") + * .name("<cluster_alert_rule_name>") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterAlterRule(GetClusterAlterRuleArgs args, InvokeOptions options) { @@ -422,6 +1317,35 @@ public static Output getClusterAlterRule(GetClusterAl * Use this data source to retrieve information about a Rancher v2 cluster alert rule. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterAlterRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterAlterRule(GetClusterAlterRuleArgs.builder() + * .clusterId("<cluster_id>") + * .name("<cluster_alert_rule_name>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterAlterRulePlain(GetClusterAlterRulePlainArgs args, InvokeOptions options) { @@ -431,6 +1355,34 @@ public static CompletableFuture getClusterAlterRulePl * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterDriverArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterDriver(GetClusterDriverArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterDriver(GetClusterDriverArgs args) { @@ -440,6 +1392,34 @@ public static Output getClusterDriver(GetClusterDriverAr * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterDriverArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterDriver(GetClusterDriverArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterDriverPlain(GetClusterDriverPlainArgs args) { @@ -449,6 +1429,34 @@ public static CompletableFuture getClusterDriverPlain(Ge * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterDriverArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterDriver(GetClusterDriverArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterDriver(GetClusterDriverArgs args, InvokeOptions options) { @@ -458,6 +1466,34 @@ public static Output getClusterDriver(GetClusterDriverAr * Use this data source to retrieve information about a Rancher v2 Cluster Driver resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterDriverArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterDriver(GetClusterDriverArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterDriverPlain(GetClusterDriverPlainArgs args, InvokeOptions options) { @@ -467,6 +1503,34 @@ public static CompletableFuture getClusterDriverPlain(Ge * Use this data source to retrieve information about a Rancher v2 Cluster Logging. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterLoggingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterLogging(GetClusterLoggingArgs.builder() + * .clusterId("<cluster_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterLogging(GetClusterLoggingArgs args) { @@ -476,6 +1540,34 @@ public static Output getClusterLogging(GetClusterLoggin * Use this data source to retrieve information about a Rancher v2 Cluster Logging. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterLoggingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterLogging(GetClusterLoggingArgs.builder() + * .clusterId("<cluster_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterLoggingPlain(GetClusterLoggingPlainArgs args) { @@ -485,6 +1577,34 @@ public static CompletableFuture getClusterLoggingPlain( * Use this data source to retrieve information about a Rancher v2 Cluster Logging. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterLoggingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterLogging(GetClusterLoggingArgs.builder() + * .clusterId("<cluster_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterLogging(GetClusterLoggingArgs args, InvokeOptions options) { @@ -494,6 +1614,34 @@ public static Output getClusterLogging(GetClusterLoggin * Use this data source to retrieve information about a Rancher v2 Cluster Logging. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterLoggingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterLogging(GetClusterLoggingArgs.builder() + * .clusterId("<cluster_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterLoggingPlain(GetClusterLoggingPlainArgs args, InvokeOptions options) { @@ -503,6 +1651,35 @@ public static CompletableFuture getClusterLoggingPlain( * Use this data source to retrieve information about a Rancher v2 cluster role template binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterRoleTemplateBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs.builder() + * .clusterId("foo_id") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs args) { @@ -512,6 +1689,35 @@ public static Output getClusterRoleTemplate * Use this data source to retrieve information about a Rancher v2 cluster role template binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterRoleTemplateBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs.builder() + * .clusterId("foo_id") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterRoleTemplateBindingPlain(GetClusterRoleTemplateBindingPlainArgs args) { @@ -521,6 +1727,35 @@ public static CompletableFuture getClusterR * Use this data source to retrieve information about a Rancher v2 cluster role template binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterRoleTemplateBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs.builder() + * .clusterId("foo_id") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs args, InvokeOptions options) { @@ -530,6 +1765,35 @@ public static Output getClusterRoleTemplate * Use this data source to retrieve information about a Rancher v2 cluster role template binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterRoleTemplateBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterRoleTemplateBinding(GetClusterRoleTemplateBindingArgs.builder() + * .clusterId("foo_id") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterRoleTemplateBindingPlain(GetClusterRoleTemplateBindingPlainArgs args, InvokeOptions options) { @@ -569,6 +1833,34 @@ public static CompletableFuture getClusterScanPlain(GetClu * Cluster Templates are available from Rancher v2.3.x and above. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterTemplate(GetClusterTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterTemplate(GetClusterTemplateArgs args) { @@ -580,6 +1872,34 @@ public static Output getClusterTemplate(GetClusterTemp * Cluster Templates are available from Rancher v2.3.x and above. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterTemplate(GetClusterTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterTemplatePlain(GetClusterTemplatePlainArgs args) { @@ -591,6 +1911,34 @@ public static CompletableFuture getClusterTemplatePlai * Cluster Templates are available from Rancher v2.3.x and above. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterTemplate(GetClusterTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterTemplate(GetClusterTemplateArgs args, InvokeOptions options) { @@ -602,6 +1950,34 @@ public static Output getClusterTemplate(GetClusterTemp * Cluster Templates are available from Rancher v2.3.x and above. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterTemplate(GetClusterTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterTemplatePlain(GetClusterTemplatePlainArgs args, InvokeOptions options) { @@ -611,6 +1987,35 @@ public static CompletableFuture getClusterTemplatePlai * Use this data source to retrieve information about a Rancher v2 cluster. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterV2Args; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterV2(GetClusterV2Args.builder() + * .fleetNamespace("fleet-ns") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterV2(GetClusterV2Args args) { @@ -620,6 +2025,35 @@ public static Output getClusterV2(GetClusterV2Args args) { * Use this data source to retrieve information about a Rancher v2 cluster. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterV2Args; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterV2(GetClusterV2Args.builder() + * .fleetNamespace("fleet-ns") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterV2Plain(GetClusterV2PlainArgs args) { @@ -629,6 +2063,35 @@ public static CompletableFuture getClusterV2Plain(GetCluster * Use this data source to retrieve information about a Rancher v2 cluster. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterV2Args; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterV2(GetClusterV2Args.builder() + * .fleetNamespace("fleet-ns") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getClusterV2(GetClusterV2Args args, InvokeOptions options) { @@ -638,6 +2101,35 @@ public static Output getClusterV2(GetClusterV2Args args, Inv * Use this data source to retrieve information about a Rancher v2 cluster. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetClusterV2Args; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getClusterV2(GetClusterV2Args.builder() + * .fleetNamespace("fleet-ns") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getClusterV2Plain(GetClusterV2PlainArgs args, InvokeOptions options) { @@ -675,6 +2167,35 @@ public static CompletableFuture getConfigMapV2Plain(GetCon * Use this data source to retrieve information about a Rancher v2 etcd backup. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetEtcdBackupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getEtcdBackup(GetEtcdBackupArgs.builder() + * .clusterId("<CLUSTER_ID>") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getEtcdBackup(GetEtcdBackupArgs args) { @@ -684,6 +2205,35 @@ public static Output getEtcdBackup(GetEtcdBackupArgs args) * Use this data source to retrieve information about a Rancher v2 etcd backup. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetEtcdBackupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getEtcdBackup(GetEtcdBackupArgs.builder() + * .clusterId("<CLUSTER_ID>") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getEtcdBackupPlain(GetEtcdBackupPlainArgs args) { @@ -693,6 +2243,35 @@ public static CompletableFuture getEtcdBackupPlain(GetEtcdB * Use this data source to retrieve information about a Rancher v2 etcd backup. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetEtcdBackupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getEtcdBackup(GetEtcdBackupArgs.builder() + * .clusterId("<CLUSTER_ID>") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getEtcdBackup(GetEtcdBackupArgs args, InvokeOptions options) { @@ -702,6 +2281,35 @@ public static Output getEtcdBackup(GetEtcdBackupArgs args, * Use this data source to retrieve information about a Rancher v2 etcd backup. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetEtcdBackupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getEtcdBackup(GetEtcdBackupArgs.builder() + * .clusterId("<CLUSTER_ID>") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getEtcdBackupPlain(GetEtcdBackupPlainArgs args, InvokeOptions options) { @@ -711,6 +2319,34 @@ public static CompletableFuture getEtcdBackupPlain(GetEtcdB * Provides a Rancher V2 Global DNS Provider data source. Use this data source to retrieve information about a Rancher v2 global DNS provider * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalDnsProviderArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalDnsProvider(GetGlobalDnsProviderArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getGlobalDnsProvider(GetGlobalDnsProviderArgs args) { @@ -720,6 +2356,34 @@ public static Output getGlobalDnsProvider(GetGlobalD * Provides a Rancher V2 Global DNS Provider data source. Use this data source to retrieve information about a Rancher v2 global DNS provider * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalDnsProviderArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalDnsProvider(GetGlobalDnsProviderArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getGlobalDnsProviderPlain(GetGlobalDnsProviderPlainArgs args) { @@ -729,6 +2393,34 @@ public static CompletableFuture getGlobalDnsProvider * Provides a Rancher V2 Global DNS Provider data source. Use this data source to retrieve information about a Rancher v2 global DNS provider * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalDnsProviderArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalDnsProvider(GetGlobalDnsProviderArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getGlobalDnsProvider(GetGlobalDnsProviderArgs args, InvokeOptions options) { @@ -738,6 +2430,34 @@ public static Output getGlobalDnsProvider(GetGlobalD * Provides a Rancher V2 Global DNS Provider data source. Use this data source to retrieve information about a Rancher v2 global DNS provider * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalDnsProviderArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalDnsProvider(GetGlobalDnsProviderArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getGlobalDnsProviderPlain(GetGlobalDnsProviderPlainArgs args, InvokeOptions options) { @@ -747,6 +2467,34 @@ public static CompletableFuture getGlobalDnsProvider * Use this data source to retrieve information about a Rancher v2 global role resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getGlobalRole(GetGlobalRoleArgs args) { @@ -756,6 +2504,34 @@ public static Output getGlobalRole(GetGlobalRoleArgs args) * Use this data source to retrieve information about a Rancher v2 global role resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getGlobalRolePlain(GetGlobalRolePlainArgs args) { @@ -765,6 +2541,34 @@ public static CompletableFuture getGlobalRolePlain(GetGloba * Use this data source to retrieve information about a Rancher v2 global role resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getGlobalRole(GetGlobalRoleArgs args, InvokeOptions options) { @@ -774,6 +2578,34 @@ public static Output getGlobalRole(GetGlobalRoleArgs args, * Use this data source to retrieve information about a Rancher v2 global role resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalRoleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalRole(GetGlobalRoleArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getGlobalRolePlain(GetGlobalRolePlainArgs args, InvokeOptions options) { @@ -783,6 +2615,35 @@ public static CompletableFuture getGlobalRolePlain(GetGloba * Use this data source to retrieve information about a Rancher v2 global role binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder() + * .globalRoleId("foo_id") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getGlobalRoleBinding(GetGlobalRoleBindingArgs args) { @@ -792,6 +2653,35 @@ public static Output getGlobalRoleBinding(GetGlobalR * Use this data source to retrieve information about a Rancher v2 global role binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder() + * .globalRoleId("foo_id") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getGlobalRoleBindingPlain(GetGlobalRoleBindingPlainArgs args) { @@ -801,6 +2691,35 @@ public static CompletableFuture getGlobalRoleBinding * Use this data source to retrieve information about a Rancher v2 global role binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder() + * .globalRoleId("foo_id") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getGlobalRoleBinding(GetGlobalRoleBindingArgs args, InvokeOptions options) { @@ -810,6 +2729,35 @@ public static Output getGlobalRoleBinding(GetGlobalR * Use this data source to retrieve information about a Rancher v2 global role binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetGlobalRoleBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getGlobalRoleBinding(GetGlobalRoleBindingArgs.builder() + * .globalRoleId("foo_id") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getGlobalRoleBindingPlain(GetGlobalRoleBindingPlainArgs args, InvokeOptions options) { @@ -819,6 +2767,34 @@ public static CompletableFuture getGlobalRoleBinding * Use this data source to retrieve information about a Rancher v2 multi cluster app. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getMultiClusterApp(GetMultiClusterAppArgs args) { @@ -828,6 +2804,34 @@ public static Output getMultiClusterApp(GetMultiCluste * Use this data source to retrieve information about a Rancher v2 multi cluster app. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getMultiClusterAppPlain(GetMultiClusterAppPlainArgs args) { @@ -837,6 +2841,34 @@ public static CompletableFuture getMultiClusterAppPlai * Use this data source to retrieve information about a Rancher v2 multi cluster app. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getMultiClusterApp(GetMultiClusterAppArgs args, InvokeOptions options) { @@ -846,6 +2878,34 @@ public static Output getMultiClusterApp(GetMultiCluste * Use this data source to retrieve information about a Rancher v2 multi cluster app. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetMultiClusterAppArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getMultiClusterApp(GetMultiClusterAppArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getMultiClusterAppPlain(GetMultiClusterAppPlainArgs args, InvokeOptions options) { @@ -855,6 +2915,35 @@ public static CompletableFuture getMultiClusterAppPlai * Use this data source to retrieve information about a Rancher v2 namespace. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNamespaceArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder() + * .name("foo") + * .projectId(rancher2_cluster.foo-custom().default_project_id()) + * .build()); + * + * } + * } + * ``` * */ public static Output getNamespace(GetNamespaceArgs args) { @@ -864,6 +2953,35 @@ public static Output getNamespace(GetNamespaceArgs args) { * Use this data source to retrieve information about a Rancher v2 namespace. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNamespaceArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder() + * .name("foo") + * .projectId(rancher2_cluster.foo-custom().default_project_id()) + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getNamespacePlain(GetNamespacePlainArgs args) { @@ -873,6 +2991,35 @@ public static CompletableFuture getNamespacePlain(GetNamespa * Use this data source to retrieve information about a Rancher v2 namespace. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNamespaceArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder() + * .name("foo") + * .projectId(rancher2_cluster.foo-custom().default_project_id()) + * .build()); + * + * } + * } + * ``` * */ public static Output getNamespace(GetNamespaceArgs args, InvokeOptions options) { @@ -882,6 +3029,35 @@ public static Output getNamespace(GetNamespaceArgs args, Inv * Use this data source to retrieve information about a Rancher v2 namespace. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNamespaceArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNamespace(GetNamespaceArgs.builder() + * .name("foo") + * .projectId(rancher2_cluster.foo-custom().default_project_id()) + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getNamespacePlain(GetNamespacePlainArgs args, InvokeOptions options) { @@ -891,6 +3067,34 @@ public static CompletableFuture getNamespacePlain(GetNamespa * Use this data source to retrieve information about a Rancher v2 Node Driver resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodeDriverArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodeDriver(GetNodeDriverArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getNodeDriver(GetNodeDriverArgs args) { @@ -900,6 +3104,34 @@ public static Output getNodeDriver(GetNodeDriverArgs args) * Use this data source to retrieve information about a Rancher v2 Node Driver resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodeDriverArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodeDriver(GetNodeDriverArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getNodeDriverPlain(GetNodeDriverPlainArgs args) { @@ -909,6 +3141,34 @@ public static CompletableFuture getNodeDriverPlain(GetNodeD * Use this data source to retrieve information about a Rancher v2 Node Driver resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodeDriverArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodeDriver(GetNodeDriverArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getNodeDriver(GetNodeDriverArgs args, InvokeOptions options) { @@ -918,6 +3178,34 @@ public static Output getNodeDriver(GetNodeDriverArgs args, * Use this data source to retrieve information about a Rancher v2 Node Driver resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodeDriverArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodeDriver(GetNodeDriverArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getNodeDriverPlain(GetNodeDriverPlainArgs args, InvokeOptions options) { @@ -927,6 +3215,35 @@ public static CompletableFuture getNodeDriverPlain(GetNodeD * Use this data source to retrieve information about a Rancher v2 Node Pool resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodePoolArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodePool(GetNodePoolArgs.builder() + * .clusterId(rancher2_cluster.foo-custom().id()) + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getNodePool(GetNodePoolArgs args) { @@ -936,6 +3253,35 @@ public static Output getNodePool(GetNodePoolArgs args) { * Use this data source to retrieve information about a Rancher v2 Node Pool resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodePoolArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodePool(GetNodePoolArgs.builder() + * .clusterId(rancher2_cluster.foo-custom().id()) + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getNodePoolPlain(GetNodePoolPlainArgs args) { @@ -945,6 +3291,35 @@ public static CompletableFuture getNodePoolPlain(GetNodePoolP * Use this data source to retrieve information about a Rancher v2 Node Pool resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodePoolArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodePool(GetNodePoolArgs.builder() + * .clusterId(rancher2_cluster.foo-custom().id()) + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getNodePool(GetNodePoolArgs args, InvokeOptions options) { @@ -954,6 +3329,35 @@ public static Output getNodePool(GetNodePoolArgs args, Invoke * Use this data source to retrieve information about a Rancher v2 Node Pool resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodePoolArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodePool(GetNodePoolArgs.builder() + * .clusterId(rancher2_cluster.foo-custom().id()) + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getNodePoolPlain(GetNodePoolPlainArgs args, InvokeOptions options) { @@ -963,6 +3367,34 @@ public static CompletableFuture getNodePoolPlain(GetNodePoolP * Use this data source to retrieve information about a Rancher v2 Node Template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodeTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodeTemplate(GetNodeTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getNodeTemplate(GetNodeTemplateArgs args) { @@ -972,6 +3404,34 @@ public static Output getNodeTemplate(GetNodeTemplateArgs * Use this data source to retrieve information about a Rancher v2 Node Template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodeTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodeTemplate(GetNodeTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getNodeTemplatePlain(GetNodeTemplatePlainArgs args) { @@ -981,6 +3441,34 @@ public static CompletableFuture getNodeTemplatePlain(GetN * Use this data source to retrieve information about a Rancher v2 Node Template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodeTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodeTemplate(GetNodeTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getNodeTemplate(GetNodeTemplateArgs args, InvokeOptions options) { @@ -990,6 +3478,34 @@ public static Output getNodeTemplate(GetNodeTemplateArgs * Use this data source to retrieve information about a Rancher v2 Node Template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNodeTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNodeTemplate(GetNodeTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getNodeTemplatePlain(GetNodeTemplatePlainArgs args, InvokeOptions options) { @@ -999,6 +3515,35 @@ public static CompletableFuture getNodeTemplatePlain(GetN * Use this data source to retrieve information about a Rancher v2 notifier. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNotifierArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNotifier(GetNotifierArgs.builder() + * .clusterId("<cluster_id>") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getNotifier(GetNotifierArgs args) { @@ -1008,6 +3553,35 @@ public static Output getNotifier(GetNotifierArgs args) { * Use this data source to retrieve information about a Rancher v2 notifier. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNotifierArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNotifier(GetNotifierArgs.builder() + * .clusterId("<cluster_id>") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getNotifierPlain(GetNotifierPlainArgs args) { @@ -1017,6 +3591,35 @@ public static CompletableFuture getNotifierPlain(GetNotifierP * Use this data source to retrieve information about a Rancher v2 notifier. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNotifierArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNotifier(GetNotifierArgs.builder() + * .clusterId("<cluster_id>") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getNotifier(GetNotifierArgs args, InvokeOptions options) { @@ -1026,6 +3629,35 @@ public static Output getNotifier(GetNotifierArgs args, Invoke * Use this data source to retrieve information about a Rancher v2 notifier. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetNotifierArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getNotifier(GetNotifierArgs.builder() + * .clusterId("<cluster_id>") + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getNotifierPlain(GetNotifierPlainArgs args, InvokeOptions options) { @@ -1035,6 +3667,34 @@ public static CompletableFuture getNotifierPlain(GetNotifierP * Use this data source to retrieve information about a Rancher v2 PodSecurityPolicyTemplate. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetPodSecurityPolicyTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getPodSecurityPolicyTemplate(GetPodSecurityPolicyTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getPodSecurityPolicyTemplate(GetPodSecurityPolicyTemplateArgs args) { @@ -1044,6 +3704,34 @@ public static Output getPodSecurityPolicyTem * Use this data source to retrieve information about a Rancher v2 PodSecurityPolicyTemplate. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetPodSecurityPolicyTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getPodSecurityPolicyTemplate(GetPodSecurityPolicyTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getPodSecurityPolicyTemplatePlain(GetPodSecurityPolicyTemplatePlainArgs args) { @@ -1053,6 +3741,34 @@ public static CompletableFuture getPodSecuri * Use this data source to retrieve information about a Rancher v2 PodSecurityPolicyTemplate. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetPodSecurityPolicyTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getPodSecurityPolicyTemplate(GetPodSecurityPolicyTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getPodSecurityPolicyTemplate(GetPodSecurityPolicyTemplateArgs args, InvokeOptions options) { @@ -1062,6 +3778,34 @@ public static Output getPodSecurityPolicyTem * Use this data source to retrieve information about a Rancher v2 PodSecurityPolicyTemplate. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetPodSecurityPolicyTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getPodSecurityPolicyTemplate(GetPodSecurityPolicyTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getPodSecurityPolicyTemplatePlain(GetPodSecurityPolicyTemplatePlainArgs args, InvokeOptions options) { @@ -1071,6 +3815,34 @@ public static CompletableFuture getPodSecuri * Use this data source to retrieve information about a Rancher v2 Principal resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetPrincipalArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getPrincipal(GetPrincipalArgs.builder() + * .name("user@example.com") + * .build()); + * + * } + * } + * ``` * */ public static Output getPrincipal(GetPrincipalArgs args) { @@ -1080,6 +3852,34 @@ public static Output getPrincipal(GetPrincipalArgs args) { * Use this data source to retrieve information about a Rancher v2 Principal resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetPrincipalArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getPrincipal(GetPrincipalArgs.builder() + * .name("user@example.com") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getPrincipalPlain(GetPrincipalPlainArgs args) { @@ -1089,6 +3889,34 @@ public static CompletableFuture getPrincipalPlain(GetPrincip * Use this data source to retrieve information about a Rancher v2 Principal resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetPrincipalArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getPrincipal(GetPrincipalArgs.builder() + * .name("user@example.com") + * .build()); + * + * } + * } + * ``` * */ public static Output getPrincipal(GetPrincipalArgs args, InvokeOptions options) { @@ -1098,6 +3926,34 @@ public static Output getPrincipal(GetPrincipalArgs args, Inv * Use this data source to retrieve information about a Rancher v2 Principal resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetPrincipalArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getPrincipal(GetPrincipalArgs.builder() + * .name("user@example.com") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getPrincipalPlain(GetPrincipalPlainArgs args, InvokeOptions options) { @@ -1119,6 +3975,35 @@ public static CompletableFuture getProjectPlain(GetProjectPlai * Use this data source to retrieve information about a Rancher v2 project alert group. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectAlertGroup(GetProjectAlertGroupArgs.builder() + * .name("<project_alert_group_name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getProjectAlertGroup(GetProjectAlertGroupArgs args) { @@ -1128,6 +4013,35 @@ public static Output getProjectAlertGroup(GetProject * Use this data source to retrieve information about a Rancher v2 project alert group. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectAlertGroup(GetProjectAlertGroupArgs.builder() + * .name("<project_alert_group_name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getProjectAlertGroupPlain(GetProjectAlertGroupPlainArgs args) { @@ -1137,6 +4051,35 @@ public static CompletableFuture getProjectAlertGroup * Use this data source to retrieve information about a Rancher v2 project alert group. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectAlertGroup(GetProjectAlertGroupArgs.builder() + * .name("<project_alert_group_name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getProjectAlertGroup(GetProjectAlertGroupArgs args, InvokeOptions options) { @@ -1146,6 +4089,35 @@ public static Output getProjectAlertGroup(GetProject * Use this data source to retrieve information about a Rancher v2 project alert group. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectAlertGroupArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectAlertGroup(GetProjectAlertGroupArgs.builder() + * .name("<project_alert_group_name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getProjectAlertGroupPlain(GetProjectAlertGroupPlainArgs args, InvokeOptions options) { @@ -1155,6 +4127,35 @@ public static CompletableFuture getProjectAlertGroup * Use this data source to retrieve information about a Rancher v2 project alert rule. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectAlertRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectAlertRule(GetProjectAlertRuleArgs.builder() + * .name("<project_alert_rule_name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getProjectAlertRule(GetProjectAlertRuleArgs args) { @@ -1164,6 +4165,35 @@ public static Output getProjectAlertRule(GetProjectAl * Use this data source to retrieve information about a Rancher v2 project alert rule. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectAlertRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectAlertRule(GetProjectAlertRuleArgs.builder() + * .name("<project_alert_rule_name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getProjectAlertRulePlain(GetProjectAlertRulePlainArgs args) { @@ -1173,6 +4203,35 @@ public static CompletableFuture getProjectAlertRulePl * Use this data source to retrieve information about a Rancher v2 project alert rule. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectAlertRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectAlertRule(GetProjectAlertRuleArgs.builder() + * .name("<project_alert_rule_name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getProjectAlertRule(GetProjectAlertRuleArgs args, InvokeOptions options) { @@ -1182,6 +4241,35 @@ public static Output getProjectAlertRule(GetProjectAl * Use this data source to retrieve information about a Rancher v2 project alert rule. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectAlertRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectAlertRule(GetProjectAlertRuleArgs.builder() + * .name("<project_alert_rule_name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getProjectAlertRulePlain(GetProjectAlertRulePlainArgs args, InvokeOptions options) { @@ -1191,6 +4279,34 @@ public static CompletableFuture getProjectAlertRulePl * Use this data source to retrieve information about a Rancher v2 Project Logging. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectLoggingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectLogging(GetProjectLoggingArgs.builder() + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getProjectLogging(GetProjectLoggingArgs args) { @@ -1200,6 +4316,34 @@ public static Output getProjectLogging(GetProjectLoggin * Use this data source to retrieve information about a Rancher v2 Project Logging. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectLoggingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectLogging(GetProjectLoggingArgs.builder() + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getProjectLoggingPlain(GetProjectLoggingPlainArgs args) { @@ -1209,6 +4353,34 @@ public static CompletableFuture getProjectLoggingPlain( * Use this data source to retrieve information about a Rancher v2 Project Logging. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectLoggingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectLogging(GetProjectLoggingArgs.builder() + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getProjectLogging(GetProjectLoggingArgs args, InvokeOptions options) { @@ -1218,6 +4390,34 @@ public static Output getProjectLogging(GetProjectLoggin * Use this data source to retrieve information about a Rancher v2 Project Logging. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectLoggingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectLogging(GetProjectLoggingArgs.builder() + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getProjectLoggingPlain(GetProjectLoggingPlainArgs args, InvokeOptions options) { @@ -1227,6 +4427,35 @@ public static CompletableFuture getProjectLoggingPlain( * Use this data source to retrieve information about a Rancher v2 project role template binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectRoleTemplateBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs.builder() + * .name("foo") + * .projectId("foo_id") + * .build()); + * + * } + * } + * ``` * */ public static Output getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs args) { @@ -1236,6 +4465,35 @@ public static Output getProjectRoleTemplate * Use this data source to retrieve information about a Rancher v2 project role template binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectRoleTemplateBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs.builder() + * .name("foo") + * .projectId("foo_id") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getProjectRoleTemplateBindingPlain(GetProjectRoleTemplateBindingPlainArgs args) { @@ -1245,6 +4503,35 @@ public static CompletableFuture getProjectR * Use this data source to retrieve information about a Rancher v2 project role template binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectRoleTemplateBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs.builder() + * .name("foo") + * .projectId("foo_id") + * .build()); + * + * } + * } + * ``` * */ public static Output getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs args, InvokeOptions options) { @@ -1254,6 +4541,35 @@ public static Output getProjectRoleTemplate * Use this data source to retrieve information about a Rancher v2 project role template binding. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetProjectRoleTemplateBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getProjectRoleTemplateBinding(GetProjectRoleTemplateBindingArgs.builder() + * .name("foo") + * .projectId("foo_id") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getProjectRoleTemplateBindingPlain(GetProjectRoleTemplateBindingPlainArgs args, InvokeOptions options) { @@ -1267,6 +4583,65 @@ public static CompletableFuture getProjectR * - Namespaced registry: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRegistryArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRegistryArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getRegistry(GetRegistryArgs args) { @@ -1280,6 +4655,65 @@ public static Output getRegistry(GetRegistryArgs args) { * - Namespaced registry: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRegistryArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRegistryArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getRegistryPlain(GetRegistryPlainArgs args) { @@ -1293,6 +4727,65 @@ public static CompletableFuture getRegistryPlain(GetRegistryP * - Namespaced registry: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRegistryArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRegistryArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getRegistry(GetRegistryArgs args, InvokeOptions options) { @@ -1306,6 +4799,65 @@ public static Output getRegistry(GetRegistryArgs args, Invoke * - Namespaced registry: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRegistryArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRegistryArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRegistry(GetRegistryArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getRegistryPlain(GetRegistryPlainArgs args, InvokeOptions options) { @@ -1315,6 +4867,34 @@ public static CompletableFuture getRegistryPlain(GetRegistryP * Use this data source to retrieve information about a Rancher v2 role template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRoleTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRoleTemplate(GetRoleTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * * @deprecated * rancher2.getRoleTempalte has been deprecated in favor of rancher2.getRoleTemplate @@ -1328,6 +4908,34 @@ public static Output getRoleTempalte(GetRoleTempalteArgs * Use this data source to retrieve information about a Rancher v2 role template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRoleTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRoleTemplate(GetRoleTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * * @deprecated * rancher2.getRoleTempalte has been deprecated in favor of rancher2.getRoleTemplate @@ -1341,6 +4949,34 @@ public static CompletableFuture getRoleTempaltePlain(GetR * Use this data source to retrieve information about a Rancher v2 role template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRoleTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRoleTemplate(GetRoleTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * * @deprecated * rancher2.getRoleTempalte has been deprecated in favor of rancher2.getRoleTemplate @@ -1354,6 +4990,34 @@ public static Output getRoleTempalte(GetRoleTempalteArgs * Use this data source to retrieve information about a Rancher v2 role template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRoleTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRoleTemplate(GetRoleTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * * @deprecated * rancher2.getRoleTempalte has been deprecated in favor of rancher2.getRoleTemplate @@ -1367,6 +5031,34 @@ public static CompletableFuture getRoleTempaltePlain(GetR * Use this data source to retrieve information about a Rancher v2 role template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRoleTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRoleTemplate(GetRoleTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getRoleTemplate(GetRoleTemplateArgs args) { @@ -1376,6 +5068,34 @@ public static Output getRoleTemplate(GetRoleTemplateArgs * Use this data source to retrieve information about a Rancher v2 role template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRoleTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRoleTemplate(GetRoleTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getRoleTemplatePlain(GetRoleTemplatePlainArgs args) { @@ -1385,6 +5105,34 @@ public static CompletableFuture getRoleTemplatePlain(GetR * Use this data source to retrieve information about a Rancher v2 role template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRoleTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRoleTemplate(GetRoleTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getRoleTemplate(GetRoleTemplateArgs args, InvokeOptions options) { @@ -1394,6 +5142,34 @@ public static Output getRoleTemplate(GetRoleTemplateArgs * Use this data source to retrieve information about a Rancher v2 role template resource. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetRoleTemplateArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getRoleTemplate(GetRoleTemplateArgs.builder() + * .name("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getRoleTemplatePlain(GetRoleTemplatePlainArgs args, InvokeOptions options) { @@ -1407,6 +5183,65 @@ public static CompletableFuture getRoleTemplatePlain(GetR * - Namespaced secret: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSecretArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSecretArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getSecret(GetSecretArgs args) { @@ -1420,6 +5255,65 @@ public static Output getSecret(GetSecretArgs args) { * - Namespaced secret: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSecretArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSecretArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getSecretPlain(GetSecretPlainArgs args) { @@ -1433,6 +5327,65 @@ public static CompletableFuture getSecretPlain(GetSecretPlainAr * - Namespaced secret: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSecretArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSecretArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static Output getSecret(GetSecretArgs args, InvokeOptions options) { @@ -1446,6 +5399,65 @@ public static Output getSecret(GetSecretArgs args, InvokeOption * - Namespaced secret: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSecretArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder() + * .name("<name>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSecretArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getSecret(GetSecretArgs.builder() + * .name("<name>") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getSecretPlain(GetSecretPlainArgs args, InvokeOptions options) { @@ -1483,6 +5495,34 @@ public static CompletableFuture getSecretV2Plain(GetSecretV2P * Use this data source to retrieve information about a Rancher v2 setting. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSettingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var server-image = Rancher2Functions.getSetting(GetSettingArgs.builder() + * .name("server-image") + * .build()); + * + * } + * } + * ``` * */ public static Output getSetting(GetSettingArgs args) { @@ -1492,6 +5532,34 @@ public static Output getSetting(GetSettingArgs args) { * Use this data source to retrieve information about a Rancher v2 setting. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSettingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var server-image = Rancher2Functions.getSetting(GetSettingArgs.builder() + * .name("server-image") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getSettingPlain(GetSettingPlainArgs args) { @@ -1501,6 +5569,34 @@ public static CompletableFuture getSettingPlain(GetSettingPlai * Use this data source to retrieve information about a Rancher v2 setting. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSettingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var server-image = Rancher2Functions.getSetting(GetSettingArgs.builder() + * .name("server-image") + * .build()); + * + * } + * } + * ``` * */ public static Output getSetting(GetSettingArgs args, InvokeOptions options) { @@ -1510,6 +5606,34 @@ public static Output getSetting(GetSettingArgs args, InvokeOpt * Use this data source to retrieve information about a Rancher v2 setting. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetSettingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var server-image = Rancher2Functions.getSetting(GetSettingArgs.builder() + * .name("server-image") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getSettingPlain(GetSettingPlainArgs args, InvokeOptions options) { @@ -1547,6 +5671,34 @@ public static CompletableFuture getStorageClassV2Plain( * Use this data source to retrieve information about a Rancher v2 user * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetUserArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getUser(GetUserArgs.builder() + * .username("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getUser() { @@ -1556,6 +5708,34 @@ public static Output getUser() { * Use this data source to retrieve information about a Rancher v2 user * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetUserArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getUser(GetUserArgs.builder() + * .username("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getUserPlain() { @@ -1565,6 +5745,34 @@ public static CompletableFuture getUserPlain() { * Use this data source to retrieve information about a Rancher v2 user * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetUserArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getUser(GetUserArgs.builder() + * .username("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getUser(GetUserArgs args) { @@ -1574,6 +5782,34 @@ public static Output getUser(GetUserArgs args) { * Use this data source to retrieve information about a Rancher v2 user * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetUserArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getUser(GetUserArgs.builder() + * .username("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getUserPlain(GetUserPlainArgs args) { @@ -1583,6 +5819,34 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg * Use this data source to retrieve information about a Rancher v2 user * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetUserArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getUser(GetUserArgs.builder() + * .username("foo") + * .build()); + * + * } + * } + * ``` * */ public static Output getUser(GetUserArgs args, InvokeOptions options) { @@ -1592,6 +5856,34 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti * Use this data source to retrieve information about a Rancher v2 user * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Rancher2Functions; + * import com.pulumi.rancher2.inputs.GetUserArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var foo = Rancher2Functions.getUser(GetUserArgs.builder() + * .username("foo") + * .build()); + * + * } + * } + * ``` * */ public static CompletableFuture getUserPlain(GetUserPlainArgs args, InvokeOptions options) { diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Registry.java b/sdk/java/src/main/java/com/pulumi/rancher2/Registry.java index 8ad17a56c..9da75e41d 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Registry.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Registry.java @@ -26,6 +26,77 @@ * - Namespaced registry: Available to just `namespace_id` in the `project_id` * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Registry; + * import com.pulumi.rancher2.RegistryArgs; + * import com.pulumi.rancher2.inputs.RegistryRegistryArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new Registry("foo", RegistryArgs.builder() + * .description("Terraform registry foo") + * .projectId("<project_id>") + * .registries(RegistryRegistryArgs.builder() + * .address("test.io") + * .password("pass") + * .username("user") + * .build()) + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Registry; + * import com.pulumi.rancher2.RegistryArgs; + * import com.pulumi.rancher2.inputs.RegistryRegistryArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new Registry("foo", RegistryArgs.builder() + * .description("Terraform registry foo") + * .namespaceId("<namespace_id>") + * .projectId("<project_id>") + * .registries(RegistryRegistryArgs.builder() + * .address("test.io") + * .password("pass") + * .username("user2") + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/RoleTempalte.java b/sdk/java/src/main/java/com/pulumi/rancher2/RoleTempalte.java index faf1c3497..24381d8fe 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/RoleTempalte.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/RoleTempalte.java @@ -25,6 +25,78 @@ * `cluster` and `project` scopes are supported for role templates. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.RoleTemplate; + * import com.pulumi.rancher2.RoleTemplateArgs; + * import com.pulumi.rancher2.inputs.RoleTemplateRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new RoleTemplate("foo", RoleTemplateArgs.builder() + * .context("cluster") + * .defaultRole(true) + * .description("Terraform role template acceptance test") + * .rules(RoleTemplateRuleArgs.builder() + * .apiGroups("*") + * .resources("secrets") + * .verbs("create") + * .build()) + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.RoleTemplate; + * import com.pulumi.rancher2.RoleTemplateArgs; + * import com.pulumi.rancher2.inputs.RoleTemplateRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new RoleTemplate("foo", RoleTemplateArgs.builder() + * .context("project") + * .defaultRole(true) + * .description("Terraform role template acceptance test") + * .rules(RoleTemplateRuleArgs.builder() + * .apiGroups("*") + * .resources("secrets") + * .verbs("create") + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/RoleTemplate.java b/sdk/java/src/main/java/com/pulumi/rancher2/RoleTemplate.java index 94327e3c0..10258aced 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/RoleTemplate.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/RoleTemplate.java @@ -26,6 +26,78 @@ * `cluster` and `project` scopes are supported for role templates. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.RoleTemplate; + * import com.pulumi.rancher2.RoleTemplateArgs; + * import com.pulumi.rancher2.inputs.RoleTemplateRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new RoleTemplate("foo", RoleTemplateArgs.builder() + * .context("cluster") + * .defaultRole(true) + * .description("Terraform role template acceptance test") + * .rules(RoleTemplateRuleArgs.builder() + * .apiGroups("*") + * .resources("secrets") + * .verbs("create") + * .build()) + * .build()); + * + * } + * } + * ``` + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.RoleTemplate; + * import com.pulumi.rancher2.RoleTemplateArgs; + * import com.pulumi.rancher2.inputs.RoleTemplateRuleArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new RoleTemplate("foo", RoleTemplateArgs.builder() + * .context("project") + * .defaultRole(true) + * .description("Terraform role template acceptance test") + * .rules(RoleTemplateRuleArgs.builder() + * .apiGroups("*") + * .resources("secrets") + * .verbs("create") + * .build()) + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Secret.java b/sdk/java/src/main/java/com/pulumi/rancher2/Secret.java index 4bd1dc87c..6c43daf1a 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Secret.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Secret.java @@ -12,6 +12,7 @@ import com.pulumi.rancher2.inputs.SecretState; import java.lang.Object; import java.lang.String; +import java.util.List; import java.util.Map; import java.util.Optional; import javax.annotation.Nullable; @@ -167,6 +168,9 @@ private Secret(String name, Output id, @Nullable SecretState state, @Nul private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "data" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/SecretV2.java b/sdk/java/src/main/java/com/pulumi/rancher2/SecretV2.java index f2885e092..406619efe 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/SecretV2.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/SecretV2.java @@ -13,6 +13,7 @@ import java.lang.Boolean; import java.lang.Object; import java.lang.String; +import java.util.List; import java.util.Map; import java.util.Optional; import javax.annotation.Nullable; @@ -190,6 +191,9 @@ private SecretV2(String name, Output id, @Nullable SecretV2State state, private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "data" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Setting.java b/sdk/java/src/main/java/com/pulumi/rancher2/Setting.java index 870ba48d4..3cd8dc9a1 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Setting.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Setting.java @@ -23,6 +23,34 @@ * On destroy, if setting is a system setting like `server-url`, provider'll not delete it from Rancher, it'll just update setting value to default and remove it from tfstate. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Setting; + * import com.pulumi.rancher2.SettingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new Setting("foo", SettingArgs.builder() + * .value("<VALUE>") + * .build()); + * + * } + * } + * ``` * * ## Import * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/Token.java b/sdk/java/src/main/java/com/pulumi/rancher2/Token.java index 67ef698d6..b24d33661 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/Token.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/Token.java @@ -14,6 +14,7 @@ import java.lang.Integer; import java.lang.Object; import java.lang.String; +import java.util.List; import java.util.Map; import java.util.Optional; import javax.annotation.Nullable; @@ -28,6 +29,36 @@ * Tokens can't be updated once created. Any diff in token data will recreate the token. If any token expire, Rancher2 provider will generate a diff to regenerate it. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.Token; + * import com.pulumi.rancher2.TokenArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var foo = new Token("foo", TokenArgs.builder() + * .clusterId("<cluster-id>") + * .description("foo token") + * .ttl(1200) + * .build()); + * + * } + * } + * ``` * */ @ResourceType(type="rancher2:index/token:Token") @@ -247,6 +278,10 @@ private Token(String name, Output id, @Nullable TokenState state, @Nulla private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "secretKey", + "token" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/User.java b/sdk/java/src/main/java/com/pulumi/rancher2/User.java index b6c6bd699..beb61ab9f 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/User.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/User.java @@ -24,6 +24,43 @@ * When a Rancher User is created, it doesn't have a global role binding. At least, `user-base` global role binding in needed in order to enable user login. * * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.rancher2.User; + * import com.pulumi.rancher2.UserArgs; + * import com.pulumi.rancher2.GlobalRoleBinding; + * import com.pulumi.rancher2.GlobalRoleBindingArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var fooUser = new User("fooUser", UserArgs.builder() + * .username("foo") + * .password("changeme") + * .enabled(true) + * .build()); + * + * var fooGlobalRoleBinding = new GlobalRoleBinding("fooGlobalRoleBinding", GlobalRoleBindingArgs.builder() + * .globalRoleId("user-base") + * .userId(fooUser.id()) + * .build()); + * + * } + * } + * ``` * * ## Import * @@ -159,6 +196,9 @@ private User(String name, Output id, @Nullable UserState state, @Nullabl private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) + .additionalSecretOutputs(List.of( + "password" + )) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterRkeConfigNetworkAciNetworkProviderArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterRkeConfigNetworkAciNetworkProviderArgs.java new file mode 100644 index 000000000..3f69f0833 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterRkeConfigNetworkAciNetworkProviderArgs.java @@ -0,0 +1,2835 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.rancher2.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ClusterRkeConfigNetworkAciNetworkProviderArgs extends com.pulumi.resources.ResourceArgs { + + public static final ClusterRkeConfigNetworkAciNetworkProviderArgs Empty = new ClusterRkeConfigNetworkAciNetworkProviderArgs(); + + /** + * Attachable entity profile (string) + * + */ + @Import(name="aep", required=true) + private Output aep; + + /** + * @return Attachable entity profile (string) + * + */ + public Output aep() { + return this.aep; + } + + /** + * List of APIC hosts to connect for APIC API (list) + * + */ + @Import(name="apicHosts", required=true) + private Output> apicHosts; + + /** + * @return List of APIC hosts to connect for APIC API (list) + * + */ + public Output> apicHosts() { + return this.apicHosts; + } + + /** + * APIC refresh ticker adjust amount (string) + * + */ + @Import(name="apicRefreshTickerAdjust") + private @Nullable Output apicRefreshTickerAdjust; + + /** + * @return APIC refresh ticker adjust amount (string) + * + */ + public Optional> apicRefreshTickerAdjust() { + return Optional.ofNullable(this.apicRefreshTickerAdjust); + } + + /** + * APIC refresh time in seconds (string) + * + */ + @Import(name="apicRefreshTime") + private @Nullable Output apicRefreshTime; + + /** + * @return APIC refresh time in seconds (string) + * + */ + public Optional> apicRefreshTime() { + return Optional.ofNullable(this.apicRefreshTime); + } + + /** + * APIC subscription delay amount (string) + * + */ + @Import(name="apicSubscriptionDelay") + private @Nullable Output apicSubscriptionDelay; + + /** + * @return APIC subscription delay amount (string) + * + */ + public Optional> apicSubscriptionDelay() { + return Optional.ofNullable(this.apicSubscriptionDelay); + } + + /** + * APIC user certificate (string) + * + */ + @Import(name="apicUserCrt", required=true) + private Output apicUserCrt; + + /** + * @return APIC user certificate (string) + * + */ + public Output apicUserCrt() { + return this.apicUserCrt; + } + + /** + * APIC user key (string) + * + */ + @Import(name="apicUserKey", required=true) + private Output apicUserKey; + + /** + * @return APIC user key (string) + * + */ + public Output apicUserKey() { + return this.apicUserKey; + } + + /** + * APIC user name (string) + * + */ + @Import(name="apicUserName", required=true) + private Output apicUserName; + + /** + * @return APIC user name (string) + * + */ + public Output apicUserName() { + return this.apicUserName; + } + + /** + * cAPIC cloud (string) + * + */ + @Import(name="capic") + private @Nullable Output capic; + + /** + * @return cAPIC cloud (string) + * + */ + public Optional> capic() { + return Optional.ofNullable(this.capic); + } + + /** + * Log level for ACI controller (string) + * + */ + @Import(name="controllerLogLevel") + private @Nullable Output controllerLogLevel; + + /** + * @return Log level for ACI controller (string) + * + */ + public Optional> controllerLogLevel() { + return Optional.ofNullable(this.controllerLogLevel); + } + + /** + * Whether to disable periodic SNAT global info sync (string) + * + */ + @Import(name="disablePeriodicSnatGlobalInfoSync") + private @Nullable Output disablePeriodicSnatGlobalInfoSync; + + /** + * @return Whether to disable periodic SNAT global info sync (string) + * + */ + public Optional> disablePeriodicSnatGlobalInfoSync() { + return Optional.ofNullable(this.disablePeriodicSnatGlobalInfoSync); + } + + /** + * Whether to disable waiting for network (string) + * + */ + @Import(name="disableWaitForNetwork") + private @Nullable Output disableWaitForNetwork; + + /** + * @return Whether to disable waiting for network (string) + * + */ + public Optional> disableWaitForNetwork() { + return Optional.ofNullable(this.disableWaitForNetwork); + } + + /** + * Whether to enable drop log (string) + * + */ + @Import(name="dropLogEnable") + private @Nullable Output dropLogEnable; + + /** + * @return Whether to enable drop log (string) + * + */ + public Optional> dropLogEnable() { + return Optional.ofNullable(this.dropLogEnable); + } + + /** + * The duration to wait for network (string) + * + */ + @Import(name="durationWaitForNetwork") + private @Nullable Output durationWaitForNetwork; + + /** + * @return The duration to wait for network (string) + * + */ + public Optional> durationWaitForNetwork() { + return Optional.ofNullable(this.durationWaitForNetwork); + } + + /** + * Whether to enable endpoint slices (string) + * + */ + @Import(name="enableEndpointSlice") + private @Nullable Output enableEndpointSlice; + + /** + * @return Whether to enable endpoint slices (string) + * + */ + public Optional> enableEndpointSlice() { + return Optional.ofNullable(this.enableEndpointSlice); + } + + /** + * Encap type: vxlan or vlan (string) + * + */ + @Import(name="encapType", required=true) + private Output encapType; + + /** + * @return Encap type: vxlan or vlan (string) + * + */ + public Output encapType() { + return this.encapType; + } + + /** + * EP registry (string) + * + */ + @Import(name="epRegistry") + private @Nullable Output epRegistry; + + /** + * @return EP registry (string) + * + */ + public Optional> epRegistry() { + return Optional.ofNullable(this.epRegistry); + } + + /** + * Subnet to use for dynamic external IPs (string) + * + */ + @Import(name="externDynamic", required=true) + private Output externDynamic; + + /** + * @return Subnet to use for dynamic external IPs (string) + * + */ + public Output externDynamic() { + return this.externDynamic; + } + + /** + * Subnet to use for static external IPs (string) + * + */ + @Import(name="externStatic", required=true) + private Output externStatic; + + /** + * @return Subnet to use for static external IPs (string) + * + */ + public Output externStatic() { + return this.externStatic; + } + + /** + * GBH pod subnet (string) + * + */ + @Import(name="gbpPodSubnet") + private @Nullable Output gbpPodSubnet; + + /** + * @return GBH pod subnet (string) + * + */ + public Optional> gbpPodSubnet() { + return Optional.ofNullable(this.gbpPodSubnet); + } + + /** + * Log level for ACI host agent (string) + * + */ + @Import(name="hostAgentLogLevel") + private @Nullable Output hostAgentLogLevel; + + /** + * @return Log level for ACI host agent (string) + * + */ + public Optional> hostAgentLogLevel() { + return Optional.ofNullable(this.hostAgentLogLevel); + } + + /** + * Image pull policy (string) + * + */ + @Import(name="imagePullPolicy") + private @Nullable Output imagePullPolicy; + + /** + * @return Image pull policy (string) + * + */ + public Optional> imagePullPolicy() { + return Optional.ofNullable(this.imagePullPolicy); + } + + /** + * Image pull policy (string) + * + */ + @Import(name="imagePullSecret") + private @Nullable Output imagePullSecret; + + /** + * @return Image pull policy (string) + * + */ + public Optional> imagePullSecret() { + return Optional.ofNullable(this.imagePullSecret); + } + + /** + * The VLAN used by ACI infra (string) + * + */ + @Import(name="infraVlan") + private @Nullable Output infraVlan; + + /** + * @return The VLAN used by ACI infra (string) + * + */ + public Optional> infraVlan() { + return Optional.ofNullable(this.infraVlan); + } + + /** + * Whether to install Istio (string) + * + */ + @Import(name="installIstio") + private @Nullable Output installIstio; + + /** + * @return Whether to install Istio (string) + * + */ + public Optional> installIstio() { + return Optional.ofNullable(this.installIstio); + } + + /** + * Istio profile name (string) + * + */ + @Import(name="istioProfile") + private @Nullable Output istioProfile; + + /** + * @return Istio profile name (string) + * + */ + public Optional> istioProfile() { + return Optional.ofNullable(this.istioProfile); + } + + /** + * List of Kafka broker hosts (list) + * + */ + @Import(name="kafkaBrokers") + private @Nullable Output> kafkaBrokers; + + /** + * @return List of Kafka broker hosts (list) + * + */ + public Optional>> kafkaBrokers() { + return Optional.ofNullable(this.kafkaBrokers); + } + + /** + * Kafka client certificate (string) + * + */ + @Import(name="kafkaClientCrt") + private @Nullable Output kafkaClientCrt; + + /** + * @return Kafka client certificate (string) + * + */ + public Optional> kafkaClientCrt() { + return Optional.ofNullable(this.kafkaClientCrt); + } + + /** + * Kafka client key (string) + * + */ + @Import(name="kafkaClientKey") + private @Nullable Output kafkaClientKey; + + /** + * @return Kafka client key (string) + * + */ + public Optional> kafkaClientKey() { + return Optional.ofNullable(this.kafkaClientKey); + } + + /** + * The VLAN used by the physdom for nodes (string) + * + */ + @Import(name="kubeApiVlan", required=true) + private Output kubeApiVlan; + + /** + * @return The VLAN used by the physdom for nodes (string) + * + */ + public Output kubeApiVlan() { + return this.kubeApiVlan; + } + + /** + * L3out (string) + * + */ + @Import(name="l3out", required=true) + private Output l3out; + + /** + * @return L3out (string) + * + */ + public Output l3out() { + return this.l3out; + } + + /** + * L3out external networks (list) + * + */ + @Import(name="l3outExternalNetworks", required=true) + private Output> l3outExternalNetworks; + + /** + * @return L3out external networks (list) + * + */ + public Output> l3outExternalNetworks() { + return this.l3outExternalNetworks; + } + + /** + * Max nodes in service graph (string) + * + */ + @Import(name="maxNodesSvcGraph") + private @Nullable Output maxNodesSvcGraph; + + /** + * @return Max nodes in service graph (string) + * + */ + public Optional> maxNodesSvcGraph() { + return Optional.ofNullable(this.maxNodesSvcGraph); + } + + /** + * End of mcast range (string) + * + */ + @Import(name="mcastRangeEnd", required=true) + private Output mcastRangeEnd; + + /** + * @return End of mcast range (string) + * + */ + public Output mcastRangeEnd() { + return this.mcastRangeEnd; + } + + /** + * Start of mcast range (string) + * + */ + @Import(name="mcastRangeStart", required=true) + private Output mcastRangeStart; + + /** + * @return Start of mcast range (string) + * + */ + public Output mcastRangeStart() { + return this.mcastRangeStart; + } + + /** + * MTU head room amount (string) + * + */ + @Import(name="mtuHeadRoom") + private @Nullable Output mtuHeadRoom; + + /** + * @return MTU head room amount (string) + * + */ + public Optional> mtuHeadRoom() { + return Optional.ofNullable(this.mtuHeadRoom); + } + + /** + * Whether to disable Multus (string) + * + */ + @Import(name="multusDisable") + private @Nullable Output multusDisable; + + /** + * @return Whether to disable Multus (string) + * + */ + public Optional> multusDisable() { + return Optional.ofNullable(this.multusDisable); + } + + /** + * Whether to use priority class (string) + * + */ + @Import(name="noPriorityClass") + private @Nullable Output noPriorityClass; + + /** + * @return Whether to use priority class (string) + * + */ + public Optional> noPriorityClass() { + return Optional.ofNullable(this.noPriorityClass); + } + + /** + * Whether to enable node pod interface (string) + * + */ + @Import(name="nodePodIfEnable") + private @Nullable Output nodePodIfEnable; + + /** + * @return Whether to enable node pod interface (string) + * + */ + public Optional> nodePodIfEnable() { + return Optional.ofNullable(this.nodePodIfEnable); + } + + /** + * Subnet to use for nodes (string) + * + */ + @Import(name="nodeSubnet", required=true) + private Output nodeSubnet; + + /** + * @return Subnet to use for nodes (string) + * + */ + public Output nodeSubnet() { + return this.nodeSubnet; + } + + /** + * Subnet to use for service graph (string) + * + */ + @Import(name="nodeSvcSubnet", required=true) + private Output nodeSvcSubnet; + + /** + * @return Subnet to use for service graph (string) + * + */ + public Output nodeSvcSubnet() { + return this.nodeSvcSubnet; + } + + /** + * Whether to use client SSL for Opflex (string) + * + */ + @Import(name="opflexClientSsl") + private @Nullable Output opflexClientSsl; + + /** + * @return Whether to use client SSL for Opflex (string) + * + */ + public Optional> opflexClientSsl() { + return Optional.ofNullable(this.opflexClientSsl); + } + + /** + * Opflex device delete timeout (string) + * + */ + @Import(name="opflexDeviceDeleteTimeout") + private @Nullable Output opflexDeviceDeleteTimeout; + + /** + * @return Opflex device delete timeout (string) + * + */ + public Optional> opflexDeviceDeleteTimeout() { + return Optional.ofNullable(this.opflexDeviceDeleteTimeout); + } + + /** + * Log level for ACI opflex (string) + * + */ + @Import(name="opflexLogLevel") + private @Nullable Output opflexLogLevel; + + /** + * @return Log level for ACI opflex (string) + * + */ + public Optional> opflexLogLevel() { + return Optional.ofNullable(this.opflexLogLevel); + } + + /** + * Opflex mode (string) + * + */ + @Import(name="opflexMode") + private @Nullable Output opflexMode; + + /** + * @return Opflex mode (string) + * + */ + public Optional> opflexMode() { + return Optional.ofNullable(this.opflexMode); + } + + /** + * Opflex server port (string) + * + */ + @Import(name="opflexServerPort") + private @Nullable Output opflexServerPort; + + /** + * @return Opflex server port (string) + * + */ + public Optional> opflexServerPort() { + return Optional.ofNullable(this.opflexServerPort); + } + + /** + * Overlay VRF name (string) + * + */ + @Import(name="overlayVrfName") + private @Nullable Output overlayVrfName; + + /** + * @return Overlay VRF name (string) + * + */ + public Optional> overlayVrfName() { + return Optional.ofNullable(this.overlayVrfName); + } + + /** + * OVS memory limit (string) + * + */ + @Import(name="ovsMemoryLimit") + private @Nullable Output ovsMemoryLimit; + + /** + * @return OVS memory limit (string) + * + */ + public Optional> ovsMemoryLimit() { + return Optional.ofNullable(this.ovsMemoryLimit); + } + + /** + * Policy-based routing tracking non snat (string) + * + */ + @Import(name="pbrTrackingNonSnat") + private @Nullable Output pbrTrackingNonSnat; + + /** + * @return Policy-based routing tracking non snat (string) + * + */ + public Optional> pbrTrackingNonSnat() { + return Optional.ofNullable(this.pbrTrackingNonSnat); + } + + /** + * Pod subnet chunk size (string) + * + */ + @Import(name="podSubnetChunkSize") + private @Nullable Output podSubnetChunkSize; + + /** + * @return Pod subnet chunk size (string) + * + */ + public Optional> podSubnetChunkSize() { + return Optional.ofNullable(this.podSubnetChunkSize); + } + + /** + * Whether to run GBP container (string) + * + */ + @Import(name="runGbpContainer") + private @Nullable Output runGbpContainer; + + /** + * @return Whether to run GBP container (string) + * + */ + public Optional> runGbpContainer() { + return Optional.ofNullable(this.runGbpContainer); + } + + /** + * Whether to run Opflex server container (string) + * + */ + @Import(name="runOpflexServerContainer") + private @Nullable Output runOpflexServerContainer; + + /** + * @return Whether to run Opflex server container (string) + * + */ + public Optional> runOpflexServerContainer() { + return Optional.ofNullable(this.runOpflexServerContainer); + } + + /** + * Service monitor interval (string) + * + */ + @Import(name="serviceMonitorInterval") + private @Nullable Output serviceMonitorInterval; + + /** + * @return Service monitor interval (string) + * + */ + public Optional> serviceMonitorInterval() { + return Optional.ofNullable(this.serviceMonitorInterval); + } + + /** + * The VLAN used by LoadBalancer services (string) + * + */ + @Import(name="serviceVlan", required=true) + private Output serviceVlan; + + /** + * @return The VLAN used by LoadBalancer services (string) + * + */ + public Output serviceVlan() { + return this.serviceVlan; + } + + /** + * Snat contract scope (string) + * + */ + @Import(name="snatContractScope") + private @Nullable Output snatContractScope; + + /** + * @return Snat contract scope (string) + * + */ + public Optional> snatContractScope() { + return Optional.ofNullable(this.snatContractScope); + } + + /** + * Snat namespace (string) + * + */ + @Import(name="snatNamespace") + private @Nullable Output snatNamespace; + + /** + * @return Snat namespace (string) + * + */ + public Optional> snatNamespace() { + return Optional.ofNullable(this.snatNamespace); + } + + /** + * End of snat port range (string) + * + */ + @Import(name="snatPortRangeEnd") + private @Nullable Output snatPortRangeEnd; + + /** + * @return End of snat port range (string) + * + */ + public Optional> snatPortRangeEnd() { + return Optional.ofNullable(this.snatPortRangeEnd); + } + + /** + * End of snat port range (string) + * + */ + @Import(name="snatPortRangeStart") + private @Nullable Output snatPortRangeStart; + + /** + * @return End of snat port range (string) + * + */ + public Optional> snatPortRangeStart() { + return Optional.ofNullable(this.snatPortRangeStart); + } + + /** + * Snat ports per node (string) + * + */ + @Import(name="snatPortsPerNode") + private @Nullable Output snatPortsPerNode; + + /** + * @return Snat ports per node (string) + * + */ + public Optional> snatPortsPerNode() { + return Optional.ofNullable(this.snatPortsPerNode); + } + + /** + * Whether to enable SR-IOV (string) + * + */ + @Import(name="sriovEnable") + private @Nullable Output sriovEnable; + + /** + * @return Whether to enable SR-IOV (string) + * + */ + public Optional> sriovEnable() { + return Optional.ofNullable(this.sriovEnable); + } + + /** + * Subnet domain name (string) + * + */ + @Import(name="subnetDomainName") + private @Nullable Output subnetDomainName; + + /** + * @return Subnet domain name (string) + * + */ + public Optional> subnetDomainName() { + return Optional.ofNullable(this.subnetDomainName); + } + + /** + * ACI system ID (string) + * + */ + @Import(name="systemId", required=true) + private Output systemId; + + /** + * @return ACI system ID (string) + * + */ + public Output systemId() { + return this.systemId; + } + + /** + * ACI tenant (string) + * + */ + @Import(name="tenant") + private @Nullable Output tenant; + + /** + * @return ACI tenant (string) + * + */ + public Optional> tenant() { + return Optional.ofNullable(this.tenant); + } + + /** + * Token for cluster registration token object (string) + * + */ + @Import(name="token", required=true) + private Output token; + + /** + * @return Token for cluster registration token object (string) + * + */ + public Output token() { + return this.token; + } + + /** + * Whether to use ACI anywhere CRD (string) + * + */ + @Import(name="useAciAnywhereCrd") + private @Nullable Output useAciAnywhereCrd; + + /** + * @return Whether to use ACI anywhere CRD (string) + * + */ + public Optional> useAciAnywhereCrd() { + return Optional.ofNullable(this.useAciAnywhereCrd); + } + + /** + * Whether to use ACI CNI priority class (string) + * + */ + @Import(name="useAciCniPriorityClass") + private @Nullable Output useAciCniPriorityClass; + + /** + * @return Whether to use ACI CNI priority class (string) + * + */ + public Optional> useAciCniPriorityClass() { + return Optional.ofNullable(this.useAciCniPriorityClass); + } + + /** + * Whether to use cluster role (string) + * + */ + @Import(name="useClusterRole") + private @Nullable Output useClusterRole; + + /** + * @return Whether to use cluster role (string) + * + */ + public Optional> useClusterRole() { + return Optional.ofNullable(this.useClusterRole); + } + + /** + * Whether to use host netns volume (string) + * + */ + @Import(name="useHostNetnsVolume") + private @Nullable Output useHostNetnsVolume; + + /** + * @return Whether to use host netns volume (string) + * + */ + public Optional> useHostNetnsVolume() { + return Optional.ofNullable(this.useHostNetnsVolume); + } + + /** + * Whether use Opflex server volume (string) + * + */ + @Import(name="useOpflexServerVolume") + private @Nullable Output useOpflexServerVolume; + + /** + * @return Whether use Opflex server volume (string) + * + */ + public Optional> useOpflexServerVolume() { + return Optional.ofNullable(this.useOpflexServerVolume); + } + + /** + * Whether ACI containers should run as privileged (string) + * + */ + @Import(name="usePrivilegedContainer") + private @Nullable Output usePrivilegedContainer; + + /** + * @return Whether ACI containers should run as privileged (string) + * + */ + public Optional> usePrivilegedContainer() { + return Optional.ofNullable(this.usePrivilegedContainer); + } + + /** + * VMM controller configuration (string) + * + */ + @Import(name="vmmController") + private @Nullable Output vmmController; + + /** + * @return VMM controller configuration (string) + * + */ + public Optional> vmmController() { + return Optional.ofNullable(this.vmmController); + } + + /** + * VMM domain configuration (string) + * + */ + @Import(name="vmmDomain") + private @Nullable Output vmmDomain; + + /** + * @return VMM domain configuration (string) + * + */ + public Optional> vmmDomain() { + return Optional.ofNullable(this.vmmDomain); + } + + /** + * VRF name (string) + * + */ + @Import(name="vrfName", required=true) + private Output vrfName; + + /** + * @return VRF name (string) + * + */ + public Output vrfName() { + return this.vrfName; + } + + /** + * VRF tenant (string) + * + */ + @Import(name="vrfTenant", required=true) + private Output vrfTenant; + + /** + * @return VRF tenant (string) + * + */ + public Output vrfTenant() { + return this.vrfTenant; + } + + private ClusterRkeConfigNetworkAciNetworkProviderArgs() {} + + private ClusterRkeConfigNetworkAciNetworkProviderArgs(ClusterRkeConfigNetworkAciNetworkProviderArgs $) { + this.aep = $.aep; + this.apicHosts = $.apicHosts; + this.apicRefreshTickerAdjust = $.apicRefreshTickerAdjust; + this.apicRefreshTime = $.apicRefreshTime; + this.apicSubscriptionDelay = $.apicSubscriptionDelay; + this.apicUserCrt = $.apicUserCrt; + this.apicUserKey = $.apicUserKey; + this.apicUserName = $.apicUserName; + this.capic = $.capic; + this.controllerLogLevel = $.controllerLogLevel; + this.disablePeriodicSnatGlobalInfoSync = $.disablePeriodicSnatGlobalInfoSync; + this.disableWaitForNetwork = $.disableWaitForNetwork; + this.dropLogEnable = $.dropLogEnable; + this.durationWaitForNetwork = $.durationWaitForNetwork; + this.enableEndpointSlice = $.enableEndpointSlice; + this.encapType = $.encapType; + this.epRegistry = $.epRegistry; + this.externDynamic = $.externDynamic; + this.externStatic = $.externStatic; + this.gbpPodSubnet = $.gbpPodSubnet; + this.hostAgentLogLevel = $.hostAgentLogLevel; + this.imagePullPolicy = $.imagePullPolicy; + this.imagePullSecret = $.imagePullSecret; + this.infraVlan = $.infraVlan; + this.installIstio = $.installIstio; + this.istioProfile = $.istioProfile; + this.kafkaBrokers = $.kafkaBrokers; + this.kafkaClientCrt = $.kafkaClientCrt; + this.kafkaClientKey = $.kafkaClientKey; + this.kubeApiVlan = $.kubeApiVlan; + this.l3out = $.l3out; + this.l3outExternalNetworks = $.l3outExternalNetworks; + this.maxNodesSvcGraph = $.maxNodesSvcGraph; + this.mcastRangeEnd = $.mcastRangeEnd; + this.mcastRangeStart = $.mcastRangeStart; + this.mtuHeadRoom = $.mtuHeadRoom; + this.multusDisable = $.multusDisable; + this.noPriorityClass = $.noPriorityClass; + this.nodePodIfEnable = $.nodePodIfEnable; + this.nodeSubnet = $.nodeSubnet; + this.nodeSvcSubnet = $.nodeSvcSubnet; + this.opflexClientSsl = $.opflexClientSsl; + this.opflexDeviceDeleteTimeout = $.opflexDeviceDeleteTimeout; + this.opflexLogLevel = $.opflexLogLevel; + this.opflexMode = $.opflexMode; + this.opflexServerPort = $.opflexServerPort; + this.overlayVrfName = $.overlayVrfName; + this.ovsMemoryLimit = $.ovsMemoryLimit; + this.pbrTrackingNonSnat = $.pbrTrackingNonSnat; + this.podSubnetChunkSize = $.podSubnetChunkSize; + this.runGbpContainer = $.runGbpContainer; + this.runOpflexServerContainer = $.runOpflexServerContainer; + this.serviceMonitorInterval = $.serviceMonitorInterval; + this.serviceVlan = $.serviceVlan; + this.snatContractScope = $.snatContractScope; + this.snatNamespace = $.snatNamespace; + this.snatPortRangeEnd = $.snatPortRangeEnd; + this.snatPortRangeStart = $.snatPortRangeStart; + this.snatPortsPerNode = $.snatPortsPerNode; + this.sriovEnable = $.sriovEnable; + this.subnetDomainName = $.subnetDomainName; + this.systemId = $.systemId; + this.tenant = $.tenant; + this.token = $.token; + this.useAciAnywhereCrd = $.useAciAnywhereCrd; + this.useAciCniPriorityClass = $.useAciCniPriorityClass; + this.useClusterRole = $.useClusterRole; + this.useHostNetnsVolume = $.useHostNetnsVolume; + this.useOpflexServerVolume = $.useOpflexServerVolume; + this.usePrivilegedContainer = $.usePrivilegedContainer; + this.vmmController = $.vmmController; + this.vmmDomain = $.vmmDomain; + this.vrfName = $.vrfName; + this.vrfTenant = $.vrfTenant; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ClusterRkeConfigNetworkAciNetworkProviderArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ClusterRkeConfigNetworkAciNetworkProviderArgs $; + + public Builder() { + $ = new ClusterRkeConfigNetworkAciNetworkProviderArgs(); + } + + public Builder(ClusterRkeConfigNetworkAciNetworkProviderArgs defaults) { + $ = new ClusterRkeConfigNetworkAciNetworkProviderArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aep Attachable entity profile (string) + * + * @return builder + * + */ + public Builder aep(Output aep) { + $.aep = aep; + return this; + } + + /** + * @param aep Attachable entity profile (string) + * + * @return builder + * + */ + public Builder aep(String aep) { + return aep(Output.of(aep)); + } + + /** + * @param apicHosts List of APIC hosts to connect for APIC API (list) + * + * @return builder + * + */ + public Builder apicHosts(Output> apicHosts) { + $.apicHosts = apicHosts; + return this; + } + + /** + * @param apicHosts List of APIC hosts to connect for APIC API (list) + * + * @return builder + * + */ + public Builder apicHosts(List apicHosts) { + return apicHosts(Output.of(apicHosts)); + } + + /** + * @param apicHosts List of APIC hosts to connect for APIC API (list) + * + * @return builder + * + */ + public Builder apicHosts(String... apicHosts) { + return apicHosts(List.of(apicHosts)); + } + + /** + * @param apicRefreshTickerAdjust APIC refresh ticker adjust amount (string) + * + * @return builder + * + */ + public Builder apicRefreshTickerAdjust(@Nullable Output apicRefreshTickerAdjust) { + $.apicRefreshTickerAdjust = apicRefreshTickerAdjust; + return this; + } + + /** + * @param apicRefreshTickerAdjust APIC refresh ticker adjust amount (string) + * + * @return builder + * + */ + public Builder apicRefreshTickerAdjust(String apicRefreshTickerAdjust) { + return apicRefreshTickerAdjust(Output.of(apicRefreshTickerAdjust)); + } + + /** + * @param apicRefreshTime APIC refresh time in seconds (string) + * + * @return builder + * + */ + public Builder apicRefreshTime(@Nullable Output apicRefreshTime) { + $.apicRefreshTime = apicRefreshTime; + return this; + } + + /** + * @param apicRefreshTime APIC refresh time in seconds (string) + * + * @return builder + * + */ + public Builder apicRefreshTime(String apicRefreshTime) { + return apicRefreshTime(Output.of(apicRefreshTime)); + } + + /** + * @param apicSubscriptionDelay APIC subscription delay amount (string) + * + * @return builder + * + */ + public Builder apicSubscriptionDelay(@Nullable Output apicSubscriptionDelay) { + $.apicSubscriptionDelay = apicSubscriptionDelay; + return this; + } + + /** + * @param apicSubscriptionDelay APIC subscription delay amount (string) + * + * @return builder + * + */ + public Builder apicSubscriptionDelay(String apicSubscriptionDelay) { + return apicSubscriptionDelay(Output.of(apicSubscriptionDelay)); + } + + /** + * @param apicUserCrt APIC user certificate (string) + * + * @return builder + * + */ + public Builder apicUserCrt(Output apicUserCrt) { + $.apicUserCrt = apicUserCrt; + return this; + } + + /** + * @param apicUserCrt APIC user certificate (string) + * + * @return builder + * + */ + public Builder apicUserCrt(String apicUserCrt) { + return apicUserCrt(Output.of(apicUserCrt)); + } + + /** + * @param apicUserKey APIC user key (string) + * + * @return builder + * + */ + public Builder apicUserKey(Output apicUserKey) { + $.apicUserKey = apicUserKey; + return this; + } + + /** + * @param apicUserKey APIC user key (string) + * + * @return builder + * + */ + public Builder apicUserKey(String apicUserKey) { + return apicUserKey(Output.of(apicUserKey)); + } + + /** + * @param apicUserName APIC user name (string) + * + * @return builder + * + */ + public Builder apicUserName(Output apicUserName) { + $.apicUserName = apicUserName; + return this; + } + + /** + * @param apicUserName APIC user name (string) + * + * @return builder + * + */ + public Builder apicUserName(String apicUserName) { + return apicUserName(Output.of(apicUserName)); + } + + /** + * @param capic cAPIC cloud (string) + * + * @return builder + * + */ + public Builder capic(@Nullable Output capic) { + $.capic = capic; + return this; + } + + /** + * @param capic cAPIC cloud (string) + * + * @return builder + * + */ + public Builder capic(String capic) { + return capic(Output.of(capic)); + } + + /** + * @param controllerLogLevel Log level for ACI controller (string) + * + * @return builder + * + */ + public Builder controllerLogLevel(@Nullable Output controllerLogLevel) { + $.controllerLogLevel = controllerLogLevel; + return this; + } + + /** + * @param controllerLogLevel Log level for ACI controller (string) + * + * @return builder + * + */ + public Builder controllerLogLevel(String controllerLogLevel) { + return controllerLogLevel(Output.of(controllerLogLevel)); + } + + /** + * @param disablePeriodicSnatGlobalInfoSync Whether to disable periodic SNAT global info sync (string) + * + * @return builder + * + */ + public Builder disablePeriodicSnatGlobalInfoSync(@Nullable Output disablePeriodicSnatGlobalInfoSync) { + $.disablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + return this; + } + + /** + * @param disablePeriodicSnatGlobalInfoSync Whether to disable periodic SNAT global info sync (string) + * + * @return builder + * + */ + public Builder disablePeriodicSnatGlobalInfoSync(String disablePeriodicSnatGlobalInfoSync) { + return disablePeriodicSnatGlobalInfoSync(Output.of(disablePeriodicSnatGlobalInfoSync)); + } + + /** + * @param disableWaitForNetwork Whether to disable waiting for network (string) + * + * @return builder + * + */ + public Builder disableWaitForNetwork(@Nullable Output disableWaitForNetwork) { + $.disableWaitForNetwork = disableWaitForNetwork; + return this; + } + + /** + * @param disableWaitForNetwork Whether to disable waiting for network (string) + * + * @return builder + * + */ + public Builder disableWaitForNetwork(String disableWaitForNetwork) { + return disableWaitForNetwork(Output.of(disableWaitForNetwork)); + } + + /** + * @param dropLogEnable Whether to enable drop log (string) + * + * @return builder + * + */ + public Builder dropLogEnable(@Nullable Output dropLogEnable) { + $.dropLogEnable = dropLogEnable; + return this; + } + + /** + * @param dropLogEnable Whether to enable drop log (string) + * + * @return builder + * + */ + public Builder dropLogEnable(String dropLogEnable) { + return dropLogEnable(Output.of(dropLogEnable)); + } + + /** + * @param durationWaitForNetwork The duration to wait for network (string) + * + * @return builder + * + */ + public Builder durationWaitForNetwork(@Nullable Output durationWaitForNetwork) { + $.durationWaitForNetwork = durationWaitForNetwork; + return this; + } + + /** + * @param durationWaitForNetwork The duration to wait for network (string) + * + * @return builder + * + */ + public Builder durationWaitForNetwork(String durationWaitForNetwork) { + return durationWaitForNetwork(Output.of(durationWaitForNetwork)); + } + + /** + * @param enableEndpointSlice Whether to enable endpoint slices (string) + * + * @return builder + * + */ + public Builder enableEndpointSlice(@Nullable Output enableEndpointSlice) { + $.enableEndpointSlice = enableEndpointSlice; + return this; + } + + /** + * @param enableEndpointSlice Whether to enable endpoint slices (string) + * + * @return builder + * + */ + public Builder enableEndpointSlice(String enableEndpointSlice) { + return enableEndpointSlice(Output.of(enableEndpointSlice)); + } + + /** + * @param encapType Encap type: vxlan or vlan (string) + * + * @return builder + * + */ + public Builder encapType(Output encapType) { + $.encapType = encapType; + return this; + } + + /** + * @param encapType Encap type: vxlan or vlan (string) + * + * @return builder + * + */ + public Builder encapType(String encapType) { + return encapType(Output.of(encapType)); + } + + /** + * @param epRegistry EP registry (string) + * + * @return builder + * + */ + public Builder epRegistry(@Nullable Output epRegistry) { + $.epRegistry = epRegistry; + return this; + } + + /** + * @param epRegistry EP registry (string) + * + * @return builder + * + */ + public Builder epRegistry(String epRegistry) { + return epRegistry(Output.of(epRegistry)); + } + + /** + * @param externDynamic Subnet to use for dynamic external IPs (string) + * + * @return builder + * + */ + public Builder externDynamic(Output externDynamic) { + $.externDynamic = externDynamic; + return this; + } + + /** + * @param externDynamic Subnet to use for dynamic external IPs (string) + * + * @return builder + * + */ + public Builder externDynamic(String externDynamic) { + return externDynamic(Output.of(externDynamic)); + } + + /** + * @param externStatic Subnet to use for static external IPs (string) + * + * @return builder + * + */ + public Builder externStatic(Output externStatic) { + $.externStatic = externStatic; + return this; + } + + /** + * @param externStatic Subnet to use for static external IPs (string) + * + * @return builder + * + */ + public Builder externStatic(String externStatic) { + return externStatic(Output.of(externStatic)); + } + + /** + * @param gbpPodSubnet GBH pod subnet (string) + * + * @return builder + * + */ + public Builder gbpPodSubnet(@Nullable Output gbpPodSubnet) { + $.gbpPodSubnet = gbpPodSubnet; + return this; + } + + /** + * @param gbpPodSubnet GBH pod subnet (string) + * + * @return builder + * + */ + public Builder gbpPodSubnet(String gbpPodSubnet) { + return gbpPodSubnet(Output.of(gbpPodSubnet)); + } + + /** + * @param hostAgentLogLevel Log level for ACI host agent (string) + * + * @return builder + * + */ + public Builder hostAgentLogLevel(@Nullable Output hostAgentLogLevel) { + $.hostAgentLogLevel = hostAgentLogLevel; + return this; + } + + /** + * @param hostAgentLogLevel Log level for ACI host agent (string) + * + * @return builder + * + */ + public Builder hostAgentLogLevel(String hostAgentLogLevel) { + return hostAgentLogLevel(Output.of(hostAgentLogLevel)); + } + + /** + * @param imagePullPolicy Image pull policy (string) + * + * @return builder + * + */ + public Builder imagePullPolicy(@Nullable Output imagePullPolicy) { + $.imagePullPolicy = imagePullPolicy; + return this; + } + + /** + * @param imagePullPolicy Image pull policy (string) + * + * @return builder + * + */ + public Builder imagePullPolicy(String imagePullPolicy) { + return imagePullPolicy(Output.of(imagePullPolicy)); + } + + /** + * @param imagePullSecret Image pull policy (string) + * + * @return builder + * + */ + public Builder imagePullSecret(@Nullable Output imagePullSecret) { + $.imagePullSecret = imagePullSecret; + return this; + } + + /** + * @param imagePullSecret Image pull policy (string) + * + * @return builder + * + */ + public Builder imagePullSecret(String imagePullSecret) { + return imagePullSecret(Output.of(imagePullSecret)); + } + + /** + * @param infraVlan The VLAN used by ACI infra (string) + * + * @return builder + * + */ + public Builder infraVlan(@Nullable Output infraVlan) { + $.infraVlan = infraVlan; + return this; + } + + /** + * @param infraVlan The VLAN used by ACI infra (string) + * + * @return builder + * + */ + public Builder infraVlan(String infraVlan) { + return infraVlan(Output.of(infraVlan)); + } + + /** + * @param installIstio Whether to install Istio (string) + * + * @return builder + * + */ + public Builder installIstio(@Nullable Output installIstio) { + $.installIstio = installIstio; + return this; + } + + /** + * @param installIstio Whether to install Istio (string) + * + * @return builder + * + */ + public Builder installIstio(String installIstio) { + return installIstio(Output.of(installIstio)); + } + + /** + * @param istioProfile Istio profile name (string) + * + * @return builder + * + */ + public Builder istioProfile(@Nullable Output istioProfile) { + $.istioProfile = istioProfile; + return this; + } + + /** + * @param istioProfile Istio profile name (string) + * + * @return builder + * + */ + public Builder istioProfile(String istioProfile) { + return istioProfile(Output.of(istioProfile)); + } + + /** + * @param kafkaBrokers List of Kafka broker hosts (list) + * + * @return builder + * + */ + public Builder kafkaBrokers(@Nullable Output> kafkaBrokers) { + $.kafkaBrokers = kafkaBrokers; + return this; + } + + /** + * @param kafkaBrokers List of Kafka broker hosts (list) + * + * @return builder + * + */ + public Builder kafkaBrokers(List kafkaBrokers) { + return kafkaBrokers(Output.of(kafkaBrokers)); + } + + /** + * @param kafkaBrokers List of Kafka broker hosts (list) + * + * @return builder + * + */ + public Builder kafkaBrokers(String... kafkaBrokers) { + return kafkaBrokers(List.of(kafkaBrokers)); + } + + /** + * @param kafkaClientCrt Kafka client certificate (string) + * + * @return builder + * + */ + public Builder kafkaClientCrt(@Nullable Output kafkaClientCrt) { + $.kafkaClientCrt = kafkaClientCrt; + return this; + } + + /** + * @param kafkaClientCrt Kafka client certificate (string) + * + * @return builder + * + */ + public Builder kafkaClientCrt(String kafkaClientCrt) { + return kafkaClientCrt(Output.of(kafkaClientCrt)); + } + + /** + * @param kafkaClientKey Kafka client key (string) + * + * @return builder + * + */ + public Builder kafkaClientKey(@Nullable Output kafkaClientKey) { + $.kafkaClientKey = kafkaClientKey; + return this; + } + + /** + * @param kafkaClientKey Kafka client key (string) + * + * @return builder + * + */ + public Builder kafkaClientKey(String kafkaClientKey) { + return kafkaClientKey(Output.of(kafkaClientKey)); + } + + /** + * @param kubeApiVlan The VLAN used by the physdom for nodes (string) + * + * @return builder + * + */ + public Builder kubeApiVlan(Output kubeApiVlan) { + $.kubeApiVlan = kubeApiVlan; + return this; + } + + /** + * @param kubeApiVlan The VLAN used by the physdom for nodes (string) + * + * @return builder + * + */ + public Builder kubeApiVlan(String kubeApiVlan) { + return kubeApiVlan(Output.of(kubeApiVlan)); + } + + /** + * @param l3out L3out (string) + * + * @return builder + * + */ + public Builder l3out(Output l3out) { + $.l3out = l3out; + return this; + } + + /** + * @param l3out L3out (string) + * + * @return builder + * + */ + public Builder l3out(String l3out) { + return l3out(Output.of(l3out)); + } + + /** + * @param l3outExternalNetworks L3out external networks (list) + * + * @return builder + * + */ + public Builder l3outExternalNetworks(Output> l3outExternalNetworks) { + $.l3outExternalNetworks = l3outExternalNetworks; + return this; + } + + /** + * @param l3outExternalNetworks L3out external networks (list) + * + * @return builder + * + */ + public Builder l3outExternalNetworks(List l3outExternalNetworks) { + return l3outExternalNetworks(Output.of(l3outExternalNetworks)); + } + + /** + * @param l3outExternalNetworks L3out external networks (list) + * + * @return builder + * + */ + public Builder l3outExternalNetworks(String... l3outExternalNetworks) { + return l3outExternalNetworks(List.of(l3outExternalNetworks)); + } + + /** + * @param maxNodesSvcGraph Max nodes in service graph (string) + * + * @return builder + * + */ + public Builder maxNodesSvcGraph(@Nullable Output maxNodesSvcGraph) { + $.maxNodesSvcGraph = maxNodesSvcGraph; + return this; + } + + /** + * @param maxNodesSvcGraph Max nodes in service graph (string) + * + * @return builder + * + */ + public Builder maxNodesSvcGraph(String maxNodesSvcGraph) { + return maxNodesSvcGraph(Output.of(maxNodesSvcGraph)); + } + + /** + * @param mcastRangeEnd End of mcast range (string) + * + * @return builder + * + */ + public Builder mcastRangeEnd(Output mcastRangeEnd) { + $.mcastRangeEnd = mcastRangeEnd; + return this; + } + + /** + * @param mcastRangeEnd End of mcast range (string) + * + * @return builder + * + */ + public Builder mcastRangeEnd(String mcastRangeEnd) { + return mcastRangeEnd(Output.of(mcastRangeEnd)); + } + + /** + * @param mcastRangeStart Start of mcast range (string) + * + * @return builder + * + */ + public Builder mcastRangeStart(Output mcastRangeStart) { + $.mcastRangeStart = mcastRangeStart; + return this; + } + + /** + * @param mcastRangeStart Start of mcast range (string) + * + * @return builder + * + */ + public Builder mcastRangeStart(String mcastRangeStart) { + return mcastRangeStart(Output.of(mcastRangeStart)); + } + + /** + * @param mtuHeadRoom MTU head room amount (string) + * + * @return builder + * + */ + public Builder mtuHeadRoom(@Nullable Output mtuHeadRoom) { + $.mtuHeadRoom = mtuHeadRoom; + return this; + } + + /** + * @param mtuHeadRoom MTU head room amount (string) + * + * @return builder + * + */ + public Builder mtuHeadRoom(String mtuHeadRoom) { + return mtuHeadRoom(Output.of(mtuHeadRoom)); + } + + /** + * @param multusDisable Whether to disable Multus (string) + * + * @return builder + * + */ + public Builder multusDisable(@Nullable Output multusDisable) { + $.multusDisable = multusDisable; + return this; + } + + /** + * @param multusDisable Whether to disable Multus (string) + * + * @return builder + * + */ + public Builder multusDisable(String multusDisable) { + return multusDisable(Output.of(multusDisable)); + } + + /** + * @param noPriorityClass Whether to use priority class (string) + * + * @return builder + * + */ + public Builder noPriorityClass(@Nullable Output noPriorityClass) { + $.noPriorityClass = noPriorityClass; + return this; + } + + /** + * @param noPriorityClass Whether to use priority class (string) + * + * @return builder + * + */ + public Builder noPriorityClass(String noPriorityClass) { + return noPriorityClass(Output.of(noPriorityClass)); + } + + /** + * @param nodePodIfEnable Whether to enable node pod interface (string) + * + * @return builder + * + */ + public Builder nodePodIfEnable(@Nullable Output nodePodIfEnable) { + $.nodePodIfEnable = nodePodIfEnable; + return this; + } + + /** + * @param nodePodIfEnable Whether to enable node pod interface (string) + * + * @return builder + * + */ + public Builder nodePodIfEnable(String nodePodIfEnable) { + return nodePodIfEnable(Output.of(nodePodIfEnable)); + } + + /** + * @param nodeSubnet Subnet to use for nodes (string) + * + * @return builder + * + */ + public Builder nodeSubnet(Output nodeSubnet) { + $.nodeSubnet = nodeSubnet; + return this; + } + + /** + * @param nodeSubnet Subnet to use for nodes (string) + * + * @return builder + * + */ + public Builder nodeSubnet(String nodeSubnet) { + return nodeSubnet(Output.of(nodeSubnet)); + } + + /** + * @param nodeSvcSubnet Subnet to use for service graph (string) + * + * @return builder + * + */ + public Builder nodeSvcSubnet(Output nodeSvcSubnet) { + $.nodeSvcSubnet = nodeSvcSubnet; + return this; + } + + /** + * @param nodeSvcSubnet Subnet to use for service graph (string) + * + * @return builder + * + */ + public Builder nodeSvcSubnet(String nodeSvcSubnet) { + return nodeSvcSubnet(Output.of(nodeSvcSubnet)); + } + + /** + * @param opflexClientSsl Whether to use client SSL for Opflex (string) + * + * @return builder + * + */ + public Builder opflexClientSsl(@Nullable Output opflexClientSsl) { + $.opflexClientSsl = opflexClientSsl; + return this; + } + + /** + * @param opflexClientSsl Whether to use client SSL for Opflex (string) + * + * @return builder + * + */ + public Builder opflexClientSsl(String opflexClientSsl) { + return opflexClientSsl(Output.of(opflexClientSsl)); + } + + /** + * @param opflexDeviceDeleteTimeout Opflex device delete timeout (string) + * + * @return builder + * + */ + public Builder opflexDeviceDeleteTimeout(@Nullable Output opflexDeviceDeleteTimeout) { + $.opflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + return this; + } + + /** + * @param opflexDeviceDeleteTimeout Opflex device delete timeout (string) + * + * @return builder + * + */ + public Builder opflexDeviceDeleteTimeout(String opflexDeviceDeleteTimeout) { + return opflexDeviceDeleteTimeout(Output.of(opflexDeviceDeleteTimeout)); + } + + /** + * @param opflexLogLevel Log level for ACI opflex (string) + * + * @return builder + * + */ + public Builder opflexLogLevel(@Nullable Output opflexLogLevel) { + $.opflexLogLevel = opflexLogLevel; + return this; + } + + /** + * @param opflexLogLevel Log level for ACI opflex (string) + * + * @return builder + * + */ + public Builder opflexLogLevel(String opflexLogLevel) { + return opflexLogLevel(Output.of(opflexLogLevel)); + } + + /** + * @param opflexMode Opflex mode (string) + * + * @return builder + * + */ + public Builder opflexMode(@Nullable Output opflexMode) { + $.opflexMode = opflexMode; + return this; + } + + /** + * @param opflexMode Opflex mode (string) + * + * @return builder + * + */ + public Builder opflexMode(String opflexMode) { + return opflexMode(Output.of(opflexMode)); + } + + /** + * @param opflexServerPort Opflex server port (string) + * + * @return builder + * + */ + public Builder opflexServerPort(@Nullable Output opflexServerPort) { + $.opflexServerPort = opflexServerPort; + return this; + } + + /** + * @param opflexServerPort Opflex server port (string) + * + * @return builder + * + */ + public Builder opflexServerPort(String opflexServerPort) { + return opflexServerPort(Output.of(opflexServerPort)); + } + + /** + * @param overlayVrfName Overlay VRF name (string) + * + * @return builder + * + */ + public Builder overlayVrfName(@Nullable Output overlayVrfName) { + $.overlayVrfName = overlayVrfName; + return this; + } + + /** + * @param overlayVrfName Overlay VRF name (string) + * + * @return builder + * + */ + public Builder overlayVrfName(String overlayVrfName) { + return overlayVrfName(Output.of(overlayVrfName)); + } + + /** + * @param ovsMemoryLimit OVS memory limit (string) + * + * @return builder + * + */ + public Builder ovsMemoryLimit(@Nullable Output ovsMemoryLimit) { + $.ovsMemoryLimit = ovsMemoryLimit; + return this; + } + + /** + * @param ovsMemoryLimit OVS memory limit (string) + * + * @return builder + * + */ + public Builder ovsMemoryLimit(String ovsMemoryLimit) { + return ovsMemoryLimit(Output.of(ovsMemoryLimit)); + } + + /** + * @param pbrTrackingNonSnat Policy-based routing tracking non snat (string) + * + * @return builder + * + */ + public Builder pbrTrackingNonSnat(@Nullable Output pbrTrackingNonSnat) { + $.pbrTrackingNonSnat = pbrTrackingNonSnat; + return this; + } + + /** + * @param pbrTrackingNonSnat Policy-based routing tracking non snat (string) + * + * @return builder + * + */ + public Builder pbrTrackingNonSnat(String pbrTrackingNonSnat) { + return pbrTrackingNonSnat(Output.of(pbrTrackingNonSnat)); + } + + /** + * @param podSubnetChunkSize Pod subnet chunk size (string) + * + * @return builder + * + */ + public Builder podSubnetChunkSize(@Nullable Output podSubnetChunkSize) { + $.podSubnetChunkSize = podSubnetChunkSize; + return this; + } + + /** + * @param podSubnetChunkSize Pod subnet chunk size (string) + * + * @return builder + * + */ + public Builder podSubnetChunkSize(String podSubnetChunkSize) { + return podSubnetChunkSize(Output.of(podSubnetChunkSize)); + } + + /** + * @param runGbpContainer Whether to run GBP container (string) + * + * @return builder + * + */ + public Builder runGbpContainer(@Nullable Output runGbpContainer) { + $.runGbpContainer = runGbpContainer; + return this; + } + + /** + * @param runGbpContainer Whether to run GBP container (string) + * + * @return builder + * + */ + public Builder runGbpContainer(String runGbpContainer) { + return runGbpContainer(Output.of(runGbpContainer)); + } + + /** + * @param runOpflexServerContainer Whether to run Opflex server container (string) + * + * @return builder + * + */ + public Builder runOpflexServerContainer(@Nullable Output runOpflexServerContainer) { + $.runOpflexServerContainer = runOpflexServerContainer; + return this; + } + + /** + * @param runOpflexServerContainer Whether to run Opflex server container (string) + * + * @return builder + * + */ + public Builder runOpflexServerContainer(String runOpflexServerContainer) { + return runOpflexServerContainer(Output.of(runOpflexServerContainer)); + } + + /** + * @param serviceMonitorInterval Service monitor interval (string) + * + * @return builder + * + */ + public Builder serviceMonitorInterval(@Nullable Output serviceMonitorInterval) { + $.serviceMonitorInterval = serviceMonitorInterval; + return this; + } + + /** + * @param serviceMonitorInterval Service monitor interval (string) + * + * @return builder + * + */ + public Builder serviceMonitorInterval(String serviceMonitorInterval) { + return serviceMonitorInterval(Output.of(serviceMonitorInterval)); + } + + /** + * @param serviceVlan The VLAN used by LoadBalancer services (string) + * + * @return builder + * + */ + public Builder serviceVlan(Output serviceVlan) { + $.serviceVlan = serviceVlan; + return this; + } + + /** + * @param serviceVlan The VLAN used by LoadBalancer services (string) + * + * @return builder + * + */ + public Builder serviceVlan(String serviceVlan) { + return serviceVlan(Output.of(serviceVlan)); + } + + /** + * @param snatContractScope Snat contract scope (string) + * + * @return builder + * + */ + public Builder snatContractScope(@Nullable Output snatContractScope) { + $.snatContractScope = snatContractScope; + return this; + } + + /** + * @param snatContractScope Snat contract scope (string) + * + * @return builder + * + */ + public Builder snatContractScope(String snatContractScope) { + return snatContractScope(Output.of(snatContractScope)); + } + + /** + * @param snatNamespace Snat namespace (string) + * + * @return builder + * + */ + public Builder snatNamespace(@Nullable Output snatNamespace) { + $.snatNamespace = snatNamespace; + return this; + } + + /** + * @param snatNamespace Snat namespace (string) + * + * @return builder + * + */ + public Builder snatNamespace(String snatNamespace) { + return snatNamespace(Output.of(snatNamespace)); + } + + /** + * @param snatPortRangeEnd End of snat port range (string) + * + * @return builder + * + */ + public Builder snatPortRangeEnd(@Nullable Output snatPortRangeEnd) { + $.snatPortRangeEnd = snatPortRangeEnd; + return this; + } + + /** + * @param snatPortRangeEnd End of snat port range (string) + * + * @return builder + * + */ + public Builder snatPortRangeEnd(String snatPortRangeEnd) { + return snatPortRangeEnd(Output.of(snatPortRangeEnd)); + } + + /** + * @param snatPortRangeStart End of snat port range (string) + * + * @return builder + * + */ + public Builder snatPortRangeStart(@Nullable Output snatPortRangeStart) { + $.snatPortRangeStart = snatPortRangeStart; + return this; + } + + /** + * @param snatPortRangeStart End of snat port range (string) + * + * @return builder + * + */ + public Builder snatPortRangeStart(String snatPortRangeStart) { + return snatPortRangeStart(Output.of(snatPortRangeStart)); + } + + /** + * @param snatPortsPerNode Snat ports per node (string) + * + * @return builder + * + */ + public Builder snatPortsPerNode(@Nullable Output snatPortsPerNode) { + $.snatPortsPerNode = snatPortsPerNode; + return this; + } + + /** + * @param snatPortsPerNode Snat ports per node (string) + * + * @return builder + * + */ + public Builder snatPortsPerNode(String snatPortsPerNode) { + return snatPortsPerNode(Output.of(snatPortsPerNode)); + } + + /** + * @param sriovEnable Whether to enable SR-IOV (string) + * + * @return builder + * + */ + public Builder sriovEnable(@Nullable Output sriovEnable) { + $.sriovEnable = sriovEnable; + return this; + } + + /** + * @param sriovEnable Whether to enable SR-IOV (string) + * + * @return builder + * + */ + public Builder sriovEnable(String sriovEnable) { + return sriovEnable(Output.of(sriovEnable)); + } + + /** + * @param subnetDomainName Subnet domain name (string) + * + * @return builder + * + */ + public Builder subnetDomainName(@Nullable Output subnetDomainName) { + $.subnetDomainName = subnetDomainName; + return this; + } + + /** + * @param subnetDomainName Subnet domain name (string) + * + * @return builder + * + */ + public Builder subnetDomainName(String subnetDomainName) { + return subnetDomainName(Output.of(subnetDomainName)); + } + + /** + * @param systemId ACI system ID (string) + * + * @return builder + * + */ + public Builder systemId(Output systemId) { + $.systemId = systemId; + return this; + } + + /** + * @param systemId ACI system ID (string) + * + * @return builder + * + */ + public Builder systemId(String systemId) { + return systemId(Output.of(systemId)); + } + + /** + * @param tenant ACI tenant (string) + * + * @return builder + * + */ + public Builder tenant(@Nullable Output tenant) { + $.tenant = tenant; + return this; + } + + /** + * @param tenant ACI tenant (string) + * + * @return builder + * + */ + public Builder tenant(String tenant) { + return tenant(Output.of(tenant)); + } + + /** + * @param token Token for cluster registration token object (string) + * + * @return builder + * + */ + public Builder token(Output token) { + $.token = token; + return this; + } + + /** + * @param token Token for cluster registration token object (string) + * + * @return builder + * + */ + public Builder token(String token) { + return token(Output.of(token)); + } + + /** + * @param useAciAnywhereCrd Whether to use ACI anywhere CRD (string) + * + * @return builder + * + */ + public Builder useAciAnywhereCrd(@Nullable Output useAciAnywhereCrd) { + $.useAciAnywhereCrd = useAciAnywhereCrd; + return this; + } + + /** + * @param useAciAnywhereCrd Whether to use ACI anywhere CRD (string) + * + * @return builder + * + */ + public Builder useAciAnywhereCrd(String useAciAnywhereCrd) { + return useAciAnywhereCrd(Output.of(useAciAnywhereCrd)); + } + + /** + * @param useAciCniPriorityClass Whether to use ACI CNI priority class (string) + * + * @return builder + * + */ + public Builder useAciCniPriorityClass(@Nullable Output useAciCniPriorityClass) { + $.useAciCniPriorityClass = useAciCniPriorityClass; + return this; + } + + /** + * @param useAciCniPriorityClass Whether to use ACI CNI priority class (string) + * + * @return builder + * + */ + public Builder useAciCniPriorityClass(String useAciCniPriorityClass) { + return useAciCniPriorityClass(Output.of(useAciCniPriorityClass)); + } + + /** + * @param useClusterRole Whether to use cluster role (string) + * + * @return builder + * + */ + public Builder useClusterRole(@Nullable Output useClusterRole) { + $.useClusterRole = useClusterRole; + return this; + } + + /** + * @param useClusterRole Whether to use cluster role (string) + * + * @return builder + * + */ + public Builder useClusterRole(String useClusterRole) { + return useClusterRole(Output.of(useClusterRole)); + } + + /** + * @param useHostNetnsVolume Whether to use host netns volume (string) + * + * @return builder + * + */ + public Builder useHostNetnsVolume(@Nullable Output useHostNetnsVolume) { + $.useHostNetnsVolume = useHostNetnsVolume; + return this; + } + + /** + * @param useHostNetnsVolume Whether to use host netns volume (string) + * + * @return builder + * + */ + public Builder useHostNetnsVolume(String useHostNetnsVolume) { + return useHostNetnsVolume(Output.of(useHostNetnsVolume)); + } + + /** + * @param useOpflexServerVolume Whether use Opflex server volume (string) + * + * @return builder + * + */ + public Builder useOpflexServerVolume(@Nullable Output useOpflexServerVolume) { + $.useOpflexServerVolume = useOpflexServerVolume; + return this; + } + + /** + * @param useOpflexServerVolume Whether use Opflex server volume (string) + * + * @return builder + * + */ + public Builder useOpflexServerVolume(String useOpflexServerVolume) { + return useOpflexServerVolume(Output.of(useOpflexServerVolume)); + } + + /** + * @param usePrivilegedContainer Whether ACI containers should run as privileged (string) + * + * @return builder + * + */ + public Builder usePrivilegedContainer(@Nullable Output usePrivilegedContainer) { + $.usePrivilegedContainer = usePrivilegedContainer; + return this; + } + + /** + * @param usePrivilegedContainer Whether ACI containers should run as privileged (string) + * + * @return builder + * + */ + public Builder usePrivilegedContainer(String usePrivilegedContainer) { + return usePrivilegedContainer(Output.of(usePrivilegedContainer)); + } + + /** + * @param vmmController VMM controller configuration (string) + * + * @return builder + * + */ + public Builder vmmController(@Nullable Output vmmController) { + $.vmmController = vmmController; + return this; + } + + /** + * @param vmmController VMM controller configuration (string) + * + * @return builder + * + */ + public Builder vmmController(String vmmController) { + return vmmController(Output.of(vmmController)); + } + + /** + * @param vmmDomain VMM domain configuration (string) + * + * @return builder + * + */ + public Builder vmmDomain(@Nullable Output vmmDomain) { + $.vmmDomain = vmmDomain; + return this; + } + + /** + * @param vmmDomain VMM domain configuration (string) + * + * @return builder + * + */ + public Builder vmmDomain(String vmmDomain) { + return vmmDomain(Output.of(vmmDomain)); + } + + /** + * @param vrfName VRF name (string) + * + * @return builder + * + */ + public Builder vrfName(Output vrfName) { + $.vrfName = vrfName; + return this; + } + + /** + * @param vrfName VRF name (string) + * + * @return builder + * + */ + public Builder vrfName(String vrfName) { + return vrfName(Output.of(vrfName)); + } + + /** + * @param vrfTenant VRF tenant (string) + * + * @return builder + * + */ + public Builder vrfTenant(Output vrfTenant) { + $.vrfTenant = vrfTenant; + return this; + } + + /** + * @param vrfTenant VRF tenant (string) + * + * @return builder + * + */ + public Builder vrfTenant(String vrfTenant) { + return vrfTenant(Output.of(vrfTenant)); + } + + public ClusterRkeConfigNetworkAciNetworkProviderArgs build() { + $.aep = Objects.requireNonNull($.aep, "expected parameter 'aep' to be non-null"); + $.apicHosts = Objects.requireNonNull($.apicHosts, "expected parameter 'apicHosts' to be non-null"); + $.apicUserCrt = Objects.requireNonNull($.apicUserCrt, "expected parameter 'apicUserCrt' to be non-null"); + $.apicUserKey = Objects.requireNonNull($.apicUserKey, "expected parameter 'apicUserKey' to be non-null"); + $.apicUserName = Objects.requireNonNull($.apicUserName, "expected parameter 'apicUserName' to be non-null"); + $.encapType = Objects.requireNonNull($.encapType, "expected parameter 'encapType' to be non-null"); + $.externDynamic = Objects.requireNonNull($.externDynamic, "expected parameter 'externDynamic' to be non-null"); + $.externStatic = Objects.requireNonNull($.externStatic, "expected parameter 'externStatic' to be non-null"); + $.kubeApiVlan = Objects.requireNonNull($.kubeApiVlan, "expected parameter 'kubeApiVlan' to be non-null"); + $.l3out = Objects.requireNonNull($.l3out, "expected parameter 'l3out' to be non-null"); + $.l3outExternalNetworks = Objects.requireNonNull($.l3outExternalNetworks, "expected parameter 'l3outExternalNetworks' to be non-null"); + $.mcastRangeEnd = Objects.requireNonNull($.mcastRangeEnd, "expected parameter 'mcastRangeEnd' to be non-null"); + $.mcastRangeStart = Objects.requireNonNull($.mcastRangeStart, "expected parameter 'mcastRangeStart' to be non-null"); + $.nodeSubnet = Objects.requireNonNull($.nodeSubnet, "expected parameter 'nodeSubnet' to be non-null"); + $.nodeSvcSubnet = Objects.requireNonNull($.nodeSvcSubnet, "expected parameter 'nodeSvcSubnet' to be non-null"); + $.serviceVlan = Objects.requireNonNull($.serviceVlan, "expected parameter 'serviceVlan' to be non-null"); + $.systemId = Objects.requireNonNull($.systemId, "expected parameter 'systemId' to be non-null"); + $.token = Objects.requireNonNull($.token, "expected parameter 'token' to be non-null"); + $.vrfName = Objects.requireNonNull($.vrfName, "expected parameter 'vrfName' to be non-null"); + $.vrfTenant = Objects.requireNonNull($.vrfTenant, "expected parameter 'vrfTenant' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterRkeConfigNetworkArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterRkeConfigNetworkArgs.java index 344110912..dd1b1126a 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterRkeConfigNetworkArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterRkeConfigNetworkArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkAciNetworkProviderArgs; import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkCalicoNetworkProviderArgs; import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkCanalNetworkProviderArgs; import com.pulumi.rancher2.inputs.ClusterRkeConfigNetworkFlannelNetworkProviderArgs; @@ -24,6 +25,21 @@ public final class ClusterRkeConfigNetworkArgs extends com.pulumi.resources.Reso public static final ClusterRkeConfigNetworkArgs Empty = new ClusterRkeConfigNetworkArgs(); + /** + * ACI provider config for RKE network (list maxitems:63) + * + */ + @Import(name="aciNetworkProvider") + private @Nullable Output aciNetworkProvider; + + /** + * @return ACI provider config for RKE network (list maxitems:63) + * + */ + public Optional> aciNetworkProvider() { + return Optional.ofNullable(this.aciNetworkProvider); + } + /** * Calico provider config for RKE network (list maxitems:1) * @@ -147,6 +163,7 @@ public Optional> weaveNe private ClusterRkeConfigNetworkArgs() {} private ClusterRkeConfigNetworkArgs(ClusterRkeConfigNetworkArgs $) { + this.aciNetworkProvider = $.aciNetworkProvider; this.calicoNetworkProvider = $.calicoNetworkProvider; this.canalNetworkProvider = $.canalNetworkProvider; this.flannelNetworkProvider = $.flannelNetworkProvider; @@ -175,6 +192,27 @@ public Builder(ClusterRkeConfigNetworkArgs defaults) { $ = new ClusterRkeConfigNetworkArgs(Objects.requireNonNull(defaults)); } + /** + * @param aciNetworkProvider ACI provider config for RKE network (list maxitems:63) + * + * @return builder + * + */ + public Builder aciNetworkProvider(@Nullable Output aciNetworkProvider) { + $.aciNetworkProvider = aciNetworkProvider; + return this; + } + + /** + * @param aciNetworkProvider ACI provider config for RKE network (list maxitems:63) + * + * @return builder + * + */ + public Builder aciNetworkProvider(ClusterRkeConfigNetworkAciNetworkProviderArgs aciNetworkProvider) { + return aciNetworkProvider(Output.of(aciNetworkProvider)); + } + /** * @param calicoNetworkProvider Calico provider config for RKE network (list maxitems:1) * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs.java new file mode 100644 index 000000000..a43823f89 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs.java @@ -0,0 +1,1337 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.rancher2.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs extends com.pulumi.resources.ResourceArgs { + + public static final ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs Empty = new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs(); + + @Import(name="aep", required=true) + private Output aep; + + public Output aep() { + return this.aep; + } + + @Import(name="apicHosts", required=true) + private Output> apicHosts; + + public Output> apicHosts() { + return this.apicHosts; + } + + @Import(name="apicRefreshTickerAdjust") + private @Nullable Output apicRefreshTickerAdjust; + + public Optional> apicRefreshTickerAdjust() { + return Optional.ofNullable(this.apicRefreshTickerAdjust); + } + + @Import(name="apicRefreshTime") + private @Nullable Output apicRefreshTime; + + public Optional> apicRefreshTime() { + return Optional.ofNullable(this.apicRefreshTime); + } + + @Import(name="apicSubscriptionDelay") + private @Nullable Output apicSubscriptionDelay; + + public Optional> apicSubscriptionDelay() { + return Optional.ofNullable(this.apicSubscriptionDelay); + } + + @Import(name="apicUserCrt", required=true) + private Output apicUserCrt; + + public Output apicUserCrt() { + return this.apicUserCrt; + } + + @Import(name="apicUserKey", required=true) + private Output apicUserKey; + + public Output apicUserKey() { + return this.apicUserKey; + } + + @Import(name="apicUserName", required=true) + private Output apicUserName; + + public Output apicUserName() { + return this.apicUserName; + } + + @Import(name="capic") + private @Nullable Output capic; + + public Optional> capic() { + return Optional.ofNullable(this.capic); + } + + @Import(name="controllerLogLevel") + private @Nullable Output controllerLogLevel; + + public Optional> controllerLogLevel() { + return Optional.ofNullable(this.controllerLogLevel); + } + + @Import(name="disablePeriodicSnatGlobalInfoSync") + private @Nullable Output disablePeriodicSnatGlobalInfoSync; + + public Optional> disablePeriodicSnatGlobalInfoSync() { + return Optional.ofNullable(this.disablePeriodicSnatGlobalInfoSync); + } + + @Import(name="disableWaitForNetwork") + private @Nullable Output disableWaitForNetwork; + + public Optional> disableWaitForNetwork() { + return Optional.ofNullable(this.disableWaitForNetwork); + } + + @Import(name="dropLogEnable") + private @Nullable Output dropLogEnable; + + public Optional> dropLogEnable() { + return Optional.ofNullable(this.dropLogEnable); + } + + @Import(name="durationWaitForNetwork") + private @Nullable Output durationWaitForNetwork; + + public Optional> durationWaitForNetwork() { + return Optional.ofNullable(this.durationWaitForNetwork); + } + + @Import(name="enableEndpointSlice") + private @Nullable Output enableEndpointSlice; + + public Optional> enableEndpointSlice() { + return Optional.ofNullable(this.enableEndpointSlice); + } + + @Import(name="encapType", required=true) + private Output encapType; + + public Output encapType() { + return this.encapType; + } + + @Import(name="epRegistry") + private @Nullable Output epRegistry; + + public Optional> epRegistry() { + return Optional.ofNullable(this.epRegistry); + } + + @Import(name="externDynamic", required=true) + private Output externDynamic; + + public Output externDynamic() { + return this.externDynamic; + } + + @Import(name="externStatic", required=true) + private Output externStatic; + + public Output externStatic() { + return this.externStatic; + } + + @Import(name="gbpPodSubnet") + private @Nullable Output gbpPodSubnet; + + public Optional> gbpPodSubnet() { + return Optional.ofNullable(this.gbpPodSubnet); + } + + @Import(name="hostAgentLogLevel") + private @Nullable Output hostAgentLogLevel; + + public Optional> hostAgentLogLevel() { + return Optional.ofNullable(this.hostAgentLogLevel); + } + + @Import(name="imagePullPolicy") + private @Nullable Output imagePullPolicy; + + public Optional> imagePullPolicy() { + return Optional.ofNullable(this.imagePullPolicy); + } + + @Import(name="imagePullSecret") + private @Nullable Output imagePullSecret; + + public Optional> imagePullSecret() { + return Optional.ofNullable(this.imagePullSecret); + } + + @Import(name="infraVlan") + private @Nullable Output infraVlan; + + public Optional> infraVlan() { + return Optional.ofNullable(this.infraVlan); + } + + @Import(name="installIstio") + private @Nullable Output installIstio; + + public Optional> installIstio() { + return Optional.ofNullable(this.installIstio); + } + + @Import(name="istioProfile") + private @Nullable Output istioProfile; + + public Optional> istioProfile() { + return Optional.ofNullable(this.istioProfile); + } + + @Import(name="kafkaBrokers") + private @Nullable Output> kafkaBrokers; + + public Optional>> kafkaBrokers() { + return Optional.ofNullable(this.kafkaBrokers); + } + + @Import(name="kafkaClientCrt") + private @Nullable Output kafkaClientCrt; + + public Optional> kafkaClientCrt() { + return Optional.ofNullable(this.kafkaClientCrt); + } + + @Import(name="kafkaClientKey") + private @Nullable Output kafkaClientKey; + + public Optional> kafkaClientKey() { + return Optional.ofNullable(this.kafkaClientKey); + } + + @Import(name="kubeApiVlan", required=true) + private Output kubeApiVlan; + + public Output kubeApiVlan() { + return this.kubeApiVlan; + } + + @Import(name="l3out", required=true) + private Output l3out; + + public Output l3out() { + return this.l3out; + } + + @Import(name="l3outExternalNetworks", required=true) + private Output> l3outExternalNetworks; + + public Output> l3outExternalNetworks() { + return this.l3outExternalNetworks; + } + + @Import(name="maxNodesSvcGraph") + private @Nullable Output maxNodesSvcGraph; + + public Optional> maxNodesSvcGraph() { + return Optional.ofNullable(this.maxNodesSvcGraph); + } + + @Import(name="mcastRangeEnd", required=true) + private Output mcastRangeEnd; + + public Output mcastRangeEnd() { + return this.mcastRangeEnd; + } + + @Import(name="mcastRangeStart", required=true) + private Output mcastRangeStart; + + public Output mcastRangeStart() { + return this.mcastRangeStart; + } + + @Import(name="mtuHeadRoom") + private @Nullable Output mtuHeadRoom; + + public Optional> mtuHeadRoom() { + return Optional.ofNullable(this.mtuHeadRoom); + } + + @Import(name="multusDisable") + private @Nullable Output multusDisable; + + public Optional> multusDisable() { + return Optional.ofNullable(this.multusDisable); + } + + @Import(name="noPriorityClass") + private @Nullable Output noPriorityClass; + + public Optional> noPriorityClass() { + return Optional.ofNullable(this.noPriorityClass); + } + + @Import(name="nodePodIfEnable") + private @Nullable Output nodePodIfEnable; + + public Optional> nodePodIfEnable() { + return Optional.ofNullable(this.nodePodIfEnable); + } + + @Import(name="nodeSubnet", required=true) + private Output nodeSubnet; + + public Output nodeSubnet() { + return this.nodeSubnet; + } + + @Import(name="nodeSvcSubnet", required=true) + private Output nodeSvcSubnet; + + public Output nodeSvcSubnet() { + return this.nodeSvcSubnet; + } + + @Import(name="opflexClientSsl") + private @Nullable Output opflexClientSsl; + + public Optional> opflexClientSsl() { + return Optional.ofNullable(this.opflexClientSsl); + } + + @Import(name="opflexDeviceDeleteTimeout") + private @Nullable Output opflexDeviceDeleteTimeout; + + public Optional> opflexDeviceDeleteTimeout() { + return Optional.ofNullable(this.opflexDeviceDeleteTimeout); + } + + @Import(name="opflexLogLevel") + private @Nullable Output opflexLogLevel; + + public Optional> opflexLogLevel() { + return Optional.ofNullable(this.opflexLogLevel); + } + + @Import(name="opflexMode") + private @Nullable Output opflexMode; + + public Optional> opflexMode() { + return Optional.ofNullable(this.opflexMode); + } + + @Import(name="opflexServerPort") + private @Nullable Output opflexServerPort; + + public Optional> opflexServerPort() { + return Optional.ofNullable(this.opflexServerPort); + } + + @Import(name="overlayVrfName") + private @Nullable Output overlayVrfName; + + public Optional> overlayVrfName() { + return Optional.ofNullable(this.overlayVrfName); + } + + @Import(name="ovsMemoryLimit") + private @Nullable Output ovsMemoryLimit; + + public Optional> ovsMemoryLimit() { + return Optional.ofNullable(this.ovsMemoryLimit); + } + + @Import(name="pbrTrackingNonSnat") + private @Nullable Output pbrTrackingNonSnat; + + public Optional> pbrTrackingNonSnat() { + return Optional.ofNullable(this.pbrTrackingNonSnat); + } + + @Import(name="podSubnetChunkSize") + private @Nullable Output podSubnetChunkSize; + + public Optional> podSubnetChunkSize() { + return Optional.ofNullable(this.podSubnetChunkSize); + } + + @Import(name="runGbpContainer") + private @Nullable Output runGbpContainer; + + public Optional> runGbpContainer() { + return Optional.ofNullable(this.runGbpContainer); + } + + @Import(name="runOpflexServerContainer") + private @Nullable Output runOpflexServerContainer; + + public Optional> runOpflexServerContainer() { + return Optional.ofNullable(this.runOpflexServerContainer); + } + + @Import(name="serviceMonitorInterval") + private @Nullable Output serviceMonitorInterval; + + public Optional> serviceMonitorInterval() { + return Optional.ofNullable(this.serviceMonitorInterval); + } + + @Import(name="serviceVlan", required=true) + private Output serviceVlan; + + public Output serviceVlan() { + return this.serviceVlan; + } + + @Import(name="snatContractScope") + private @Nullable Output snatContractScope; + + public Optional> snatContractScope() { + return Optional.ofNullable(this.snatContractScope); + } + + @Import(name="snatNamespace") + private @Nullable Output snatNamespace; + + public Optional> snatNamespace() { + return Optional.ofNullable(this.snatNamespace); + } + + @Import(name="snatPortRangeEnd") + private @Nullable Output snatPortRangeEnd; + + public Optional> snatPortRangeEnd() { + return Optional.ofNullable(this.snatPortRangeEnd); + } + + @Import(name="snatPortRangeStart") + private @Nullable Output snatPortRangeStart; + + public Optional> snatPortRangeStart() { + return Optional.ofNullable(this.snatPortRangeStart); + } + + @Import(name="snatPortsPerNode") + private @Nullable Output snatPortsPerNode; + + public Optional> snatPortsPerNode() { + return Optional.ofNullable(this.snatPortsPerNode); + } + + @Import(name="sriovEnable") + private @Nullable Output sriovEnable; + + public Optional> sriovEnable() { + return Optional.ofNullable(this.sriovEnable); + } + + @Import(name="subnetDomainName") + private @Nullable Output subnetDomainName; + + public Optional> subnetDomainName() { + return Optional.ofNullable(this.subnetDomainName); + } + + @Import(name="systemId", required=true) + private Output systemId; + + public Output systemId() { + return this.systemId; + } + + @Import(name="tenant") + private @Nullable Output tenant; + + public Optional> tenant() { + return Optional.ofNullable(this.tenant); + } + + @Import(name="token", required=true) + private Output token; + + public Output token() { + return this.token; + } + + @Import(name="useAciAnywhereCrd") + private @Nullable Output useAciAnywhereCrd; + + public Optional> useAciAnywhereCrd() { + return Optional.ofNullable(this.useAciAnywhereCrd); + } + + @Import(name="useAciCniPriorityClass") + private @Nullable Output useAciCniPriorityClass; + + public Optional> useAciCniPriorityClass() { + return Optional.ofNullable(this.useAciCniPriorityClass); + } + + @Import(name="useClusterRole") + private @Nullable Output useClusterRole; + + public Optional> useClusterRole() { + return Optional.ofNullable(this.useClusterRole); + } + + @Import(name="useHostNetnsVolume") + private @Nullable Output useHostNetnsVolume; + + public Optional> useHostNetnsVolume() { + return Optional.ofNullable(this.useHostNetnsVolume); + } + + @Import(name="useOpflexServerVolume") + private @Nullable Output useOpflexServerVolume; + + public Optional> useOpflexServerVolume() { + return Optional.ofNullable(this.useOpflexServerVolume); + } + + @Import(name="usePrivilegedContainer") + private @Nullable Output usePrivilegedContainer; + + public Optional> usePrivilegedContainer() { + return Optional.ofNullable(this.usePrivilegedContainer); + } + + @Import(name="vmmController") + private @Nullable Output vmmController; + + public Optional> vmmController() { + return Optional.ofNullable(this.vmmController); + } + + @Import(name="vmmDomain") + private @Nullable Output vmmDomain; + + public Optional> vmmDomain() { + return Optional.ofNullable(this.vmmDomain); + } + + @Import(name="vrfName", required=true) + private Output vrfName; + + public Output vrfName() { + return this.vrfName; + } + + @Import(name="vrfTenant", required=true) + private Output vrfTenant; + + public Output vrfTenant() { + return this.vrfTenant; + } + + private ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs() {} + + private ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs $) { + this.aep = $.aep; + this.apicHosts = $.apicHosts; + this.apicRefreshTickerAdjust = $.apicRefreshTickerAdjust; + this.apicRefreshTime = $.apicRefreshTime; + this.apicSubscriptionDelay = $.apicSubscriptionDelay; + this.apicUserCrt = $.apicUserCrt; + this.apicUserKey = $.apicUserKey; + this.apicUserName = $.apicUserName; + this.capic = $.capic; + this.controllerLogLevel = $.controllerLogLevel; + this.disablePeriodicSnatGlobalInfoSync = $.disablePeriodicSnatGlobalInfoSync; + this.disableWaitForNetwork = $.disableWaitForNetwork; + this.dropLogEnable = $.dropLogEnable; + this.durationWaitForNetwork = $.durationWaitForNetwork; + this.enableEndpointSlice = $.enableEndpointSlice; + this.encapType = $.encapType; + this.epRegistry = $.epRegistry; + this.externDynamic = $.externDynamic; + this.externStatic = $.externStatic; + this.gbpPodSubnet = $.gbpPodSubnet; + this.hostAgentLogLevel = $.hostAgentLogLevel; + this.imagePullPolicy = $.imagePullPolicy; + this.imagePullSecret = $.imagePullSecret; + this.infraVlan = $.infraVlan; + this.installIstio = $.installIstio; + this.istioProfile = $.istioProfile; + this.kafkaBrokers = $.kafkaBrokers; + this.kafkaClientCrt = $.kafkaClientCrt; + this.kafkaClientKey = $.kafkaClientKey; + this.kubeApiVlan = $.kubeApiVlan; + this.l3out = $.l3out; + this.l3outExternalNetworks = $.l3outExternalNetworks; + this.maxNodesSvcGraph = $.maxNodesSvcGraph; + this.mcastRangeEnd = $.mcastRangeEnd; + this.mcastRangeStart = $.mcastRangeStart; + this.mtuHeadRoom = $.mtuHeadRoom; + this.multusDisable = $.multusDisable; + this.noPriorityClass = $.noPriorityClass; + this.nodePodIfEnable = $.nodePodIfEnable; + this.nodeSubnet = $.nodeSubnet; + this.nodeSvcSubnet = $.nodeSvcSubnet; + this.opflexClientSsl = $.opflexClientSsl; + this.opflexDeviceDeleteTimeout = $.opflexDeviceDeleteTimeout; + this.opflexLogLevel = $.opflexLogLevel; + this.opflexMode = $.opflexMode; + this.opflexServerPort = $.opflexServerPort; + this.overlayVrfName = $.overlayVrfName; + this.ovsMemoryLimit = $.ovsMemoryLimit; + this.pbrTrackingNonSnat = $.pbrTrackingNonSnat; + this.podSubnetChunkSize = $.podSubnetChunkSize; + this.runGbpContainer = $.runGbpContainer; + this.runOpflexServerContainer = $.runOpflexServerContainer; + this.serviceMonitorInterval = $.serviceMonitorInterval; + this.serviceVlan = $.serviceVlan; + this.snatContractScope = $.snatContractScope; + this.snatNamespace = $.snatNamespace; + this.snatPortRangeEnd = $.snatPortRangeEnd; + this.snatPortRangeStart = $.snatPortRangeStart; + this.snatPortsPerNode = $.snatPortsPerNode; + this.sriovEnable = $.sriovEnable; + this.subnetDomainName = $.subnetDomainName; + this.systemId = $.systemId; + this.tenant = $.tenant; + this.token = $.token; + this.useAciAnywhereCrd = $.useAciAnywhereCrd; + this.useAciCniPriorityClass = $.useAciCniPriorityClass; + this.useClusterRole = $.useClusterRole; + this.useHostNetnsVolume = $.useHostNetnsVolume; + this.useOpflexServerVolume = $.useOpflexServerVolume; + this.usePrivilegedContainer = $.usePrivilegedContainer; + this.vmmController = $.vmmController; + this.vmmDomain = $.vmmDomain; + this.vrfName = $.vrfName; + this.vrfTenant = $.vrfTenant; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs $; + + public Builder() { + $ = new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs(); + } + + public Builder(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs defaults) { + $ = new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs(Objects.requireNonNull(defaults)); + } + + public Builder aep(Output aep) { + $.aep = aep; + return this; + } + + public Builder aep(String aep) { + return aep(Output.of(aep)); + } + + public Builder apicHosts(Output> apicHosts) { + $.apicHosts = apicHosts; + return this; + } + + public Builder apicHosts(List apicHosts) { + return apicHosts(Output.of(apicHosts)); + } + + public Builder apicHosts(String... apicHosts) { + return apicHosts(List.of(apicHosts)); + } + + public Builder apicRefreshTickerAdjust(@Nullable Output apicRefreshTickerAdjust) { + $.apicRefreshTickerAdjust = apicRefreshTickerAdjust; + return this; + } + + public Builder apicRefreshTickerAdjust(String apicRefreshTickerAdjust) { + return apicRefreshTickerAdjust(Output.of(apicRefreshTickerAdjust)); + } + + public Builder apicRefreshTime(@Nullable Output apicRefreshTime) { + $.apicRefreshTime = apicRefreshTime; + return this; + } + + public Builder apicRefreshTime(String apicRefreshTime) { + return apicRefreshTime(Output.of(apicRefreshTime)); + } + + public Builder apicSubscriptionDelay(@Nullable Output apicSubscriptionDelay) { + $.apicSubscriptionDelay = apicSubscriptionDelay; + return this; + } + + public Builder apicSubscriptionDelay(String apicSubscriptionDelay) { + return apicSubscriptionDelay(Output.of(apicSubscriptionDelay)); + } + + public Builder apicUserCrt(Output apicUserCrt) { + $.apicUserCrt = apicUserCrt; + return this; + } + + public Builder apicUserCrt(String apicUserCrt) { + return apicUserCrt(Output.of(apicUserCrt)); + } + + public Builder apicUserKey(Output apicUserKey) { + $.apicUserKey = apicUserKey; + return this; + } + + public Builder apicUserKey(String apicUserKey) { + return apicUserKey(Output.of(apicUserKey)); + } + + public Builder apicUserName(Output apicUserName) { + $.apicUserName = apicUserName; + return this; + } + + public Builder apicUserName(String apicUserName) { + return apicUserName(Output.of(apicUserName)); + } + + public Builder capic(@Nullable Output capic) { + $.capic = capic; + return this; + } + + public Builder capic(String capic) { + return capic(Output.of(capic)); + } + + public Builder controllerLogLevel(@Nullable Output controllerLogLevel) { + $.controllerLogLevel = controllerLogLevel; + return this; + } + + public Builder controllerLogLevel(String controllerLogLevel) { + return controllerLogLevel(Output.of(controllerLogLevel)); + } + + public Builder disablePeriodicSnatGlobalInfoSync(@Nullable Output disablePeriodicSnatGlobalInfoSync) { + $.disablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + return this; + } + + public Builder disablePeriodicSnatGlobalInfoSync(String disablePeriodicSnatGlobalInfoSync) { + return disablePeriodicSnatGlobalInfoSync(Output.of(disablePeriodicSnatGlobalInfoSync)); + } + + public Builder disableWaitForNetwork(@Nullable Output disableWaitForNetwork) { + $.disableWaitForNetwork = disableWaitForNetwork; + return this; + } + + public Builder disableWaitForNetwork(String disableWaitForNetwork) { + return disableWaitForNetwork(Output.of(disableWaitForNetwork)); + } + + public Builder dropLogEnable(@Nullable Output dropLogEnable) { + $.dropLogEnable = dropLogEnable; + return this; + } + + public Builder dropLogEnable(String dropLogEnable) { + return dropLogEnable(Output.of(dropLogEnable)); + } + + public Builder durationWaitForNetwork(@Nullable Output durationWaitForNetwork) { + $.durationWaitForNetwork = durationWaitForNetwork; + return this; + } + + public Builder durationWaitForNetwork(String durationWaitForNetwork) { + return durationWaitForNetwork(Output.of(durationWaitForNetwork)); + } + + public Builder enableEndpointSlice(@Nullable Output enableEndpointSlice) { + $.enableEndpointSlice = enableEndpointSlice; + return this; + } + + public Builder enableEndpointSlice(String enableEndpointSlice) { + return enableEndpointSlice(Output.of(enableEndpointSlice)); + } + + public Builder encapType(Output encapType) { + $.encapType = encapType; + return this; + } + + public Builder encapType(String encapType) { + return encapType(Output.of(encapType)); + } + + public Builder epRegistry(@Nullable Output epRegistry) { + $.epRegistry = epRegistry; + return this; + } + + public Builder epRegistry(String epRegistry) { + return epRegistry(Output.of(epRegistry)); + } + + public Builder externDynamic(Output externDynamic) { + $.externDynamic = externDynamic; + return this; + } + + public Builder externDynamic(String externDynamic) { + return externDynamic(Output.of(externDynamic)); + } + + public Builder externStatic(Output externStatic) { + $.externStatic = externStatic; + return this; + } + + public Builder externStatic(String externStatic) { + return externStatic(Output.of(externStatic)); + } + + public Builder gbpPodSubnet(@Nullable Output gbpPodSubnet) { + $.gbpPodSubnet = gbpPodSubnet; + return this; + } + + public Builder gbpPodSubnet(String gbpPodSubnet) { + return gbpPodSubnet(Output.of(gbpPodSubnet)); + } + + public Builder hostAgentLogLevel(@Nullable Output hostAgentLogLevel) { + $.hostAgentLogLevel = hostAgentLogLevel; + return this; + } + + public Builder hostAgentLogLevel(String hostAgentLogLevel) { + return hostAgentLogLevel(Output.of(hostAgentLogLevel)); + } + + public Builder imagePullPolicy(@Nullable Output imagePullPolicy) { + $.imagePullPolicy = imagePullPolicy; + return this; + } + + public Builder imagePullPolicy(String imagePullPolicy) { + return imagePullPolicy(Output.of(imagePullPolicy)); + } + + public Builder imagePullSecret(@Nullable Output imagePullSecret) { + $.imagePullSecret = imagePullSecret; + return this; + } + + public Builder imagePullSecret(String imagePullSecret) { + return imagePullSecret(Output.of(imagePullSecret)); + } + + public Builder infraVlan(@Nullable Output infraVlan) { + $.infraVlan = infraVlan; + return this; + } + + public Builder infraVlan(String infraVlan) { + return infraVlan(Output.of(infraVlan)); + } + + public Builder installIstio(@Nullable Output installIstio) { + $.installIstio = installIstio; + return this; + } + + public Builder installIstio(String installIstio) { + return installIstio(Output.of(installIstio)); + } + + public Builder istioProfile(@Nullable Output istioProfile) { + $.istioProfile = istioProfile; + return this; + } + + public Builder istioProfile(String istioProfile) { + return istioProfile(Output.of(istioProfile)); + } + + public Builder kafkaBrokers(@Nullable Output> kafkaBrokers) { + $.kafkaBrokers = kafkaBrokers; + return this; + } + + public Builder kafkaBrokers(List kafkaBrokers) { + return kafkaBrokers(Output.of(kafkaBrokers)); + } + + public Builder kafkaBrokers(String... kafkaBrokers) { + return kafkaBrokers(List.of(kafkaBrokers)); + } + + public Builder kafkaClientCrt(@Nullable Output kafkaClientCrt) { + $.kafkaClientCrt = kafkaClientCrt; + return this; + } + + public Builder kafkaClientCrt(String kafkaClientCrt) { + return kafkaClientCrt(Output.of(kafkaClientCrt)); + } + + public Builder kafkaClientKey(@Nullable Output kafkaClientKey) { + $.kafkaClientKey = kafkaClientKey; + return this; + } + + public Builder kafkaClientKey(String kafkaClientKey) { + return kafkaClientKey(Output.of(kafkaClientKey)); + } + + public Builder kubeApiVlan(Output kubeApiVlan) { + $.kubeApiVlan = kubeApiVlan; + return this; + } + + public Builder kubeApiVlan(String kubeApiVlan) { + return kubeApiVlan(Output.of(kubeApiVlan)); + } + + public Builder l3out(Output l3out) { + $.l3out = l3out; + return this; + } + + public Builder l3out(String l3out) { + return l3out(Output.of(l3out)); + } + + public Builder l3outExternalNetworks(Output> l3outExternalNetworks) { + $.l3outExternalNetworks = l3outExternalNetworks; + return this; + } + + public Builder l3outExternalNetworks(List l3outExternalNetworks) { + return l3outExternalNetworks(Output.of(l3outExternalNetworks)); + } + + public Builder l3outExternalNetworks(String... l3outExternalNetworks) { + return l3outExternalNetworks(List.of(l3outExternalNetworks)); + } + + public Builder maxNodesSvcGraph(@Nullable Output maxNodesSvcGraph) { + $.maxNodesSvcGraph = maxNodesSvcGraph; + return this; + } + + public Builder maxNodesSvcGraph(String maxNodesSvcGraph) { + return maxNodesSvcGraph(Output.of(maxNodesSvcGraph)); + } + + public Builder mcastRangeEnd(Output mcastRangeEnd) { + $.mcastRangeEnd = mcastRangeEnd; + return this; + } + + public Builder mcastRangeEnd(String mcastRangeEnd) { + return mcastRangeEnd(Output.of(mcastRangeEnd)); + } + + public Builder mcastRangeStart(Output mcastRangeStart) { + $.mcastRangeStart = mcastRangeStart; + return this; + } + + public Builder mcastRangeStart(String mcastRangeStart) { + return mcastRangeStart(Output.of(mcastRangeStart)); + } + + public Builder mtuHeadRoom(@Nullable Output mtuHeadRoom) { + $.mtuHeadRoom = mtuHeadRoom; + return this; + } + + public Builder mtuHeadRoom(String mtuHeadRoom) { + return mtuHeadRoom(Output.of(mtuHeadRoom)); + } + + public Builder multusDisable(@Nullable Output multusDisable) { + $.multusDisable = multusDisable; + return this; + } + + public Builder multusDisable(String multusDisable) { + return multusDisable(Output.of(multusDisable)); + } + + public Builder noPriorityClass(@Nullable Output noPriorityClass) { + $.noPriorityClass = noPriorityClass; + return this; + } + + public Builder noPriorityClass(String noPriorityClass) { + return noPriorityClass(Output.of(noPriorityClass)); + } + + public Builder nodePodIfEnable(@Nullable Output nodePodIfEnable) { + $.nodePodIfEnable = nodePodIfEnable; + return this; + } + + public Builder nodePodIfEnable(String nodePodIfEnable) { + return nodePodIfEnable(Output.of(nodePodIfEnable)); + } + + public Builder nodeSubnet(Output nodeSubnet) { + $.nodeSubnet = nodeSubnet; + return this; + } + + public Builder nodeSubnet(String nodeSubnet) { + return nodeSubnet(Output.of(nodeSubnet)); + } + + public Builder nodeSvcSubnet(Output nodeSvcSubnet) { + $.nodeSvcSubnet = nodeSvcSubnet; + return this; + } + + public Builder nodeSvcSubnet(String nodeSvcSubnet) { + return nodeSvcSubnet(Output.of(nodeSvcSubnet)); + } + + public Builder opflexClientSsl(@Nullable Output opflexClientSsl) { + $.opflexClientSsl = opflexClientSsl; + return this; + } + + public Builder opflexClientSsl(String opflexClientSsl) { + return opflexClientSsl(Output.of(opflexClientSsl)); + } + + public Builder opflexDeviceDeleteTimeout(@Nullable Output opflexDeviceDeleteTimeout) { + $.opflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + return this; + } + + public Builder opflexDeviceDeleteTimeout(String opflexDeviceDeleteTimeout) { + return opflexDeviceDeleteTimeout(Output.of(opflexDeviceDeleteTimeout)); + } + + public Builder opflexLogLevel(@Nullable Output opflexLogLevel) { + $.opflexLogLevel = opflexLogLevel; + return this; + } + + public Builder opflexLogLevel(String opflexLogLevel) { + return opflexLogLevel(Output.of(opflexLogLevel)); + } + + public Builder opflexMode(@Nullable Output opflexMode) { + $.opflexMode = opflexMode; + return this; + } + + public Builder opflexMode(String opflexMode) { + return opflexMode(Output.of(opflexMode)); + } + + public Builder opflexServerPort(@Nullable Output opflexServerPort) { + $.opflexServerPort = opflexServerPort; + return this; + } + + public Builder opflexServerPort(String opflexServerPort) { + return opflexServerPort(Output.of(opflexServerPort)); + } + + public Builder overlayVrfName(@Nullable Output overlayVrfName) { + $.overlayVrfName = overlayVrfName; + return this; + } + + public Builder overlayVrfName(String overlayVrfName) { + return overlayVrfName(Output.of(overlayVrfName)); + } + + public Builder ovsMemoryLimit(@Nullable Output ovsMemoryLimit) { + $.ovsMemoryLimit = ovsMemoryLimit; + return this; + } + + public Builder ovsMemoryLimit(String ovsMemoryLimit) { + return ovsMemoryLimit(Output.of(ovsMemoryLimit)); + } + + public Builder pbrTrackingNonSnat(@Nullable Output pbrTrackingNonSnat) { + $.pbrTrackingNonSnat = pbrTrackingNonSnat; + return this; + } + + public Builder pbrTrackingNonSnat(String pbrTrackingNonSnat) { + return pbrTrackingNonSnat(Output.of(pbrTrackingNonSnat)); + } + + public Builder podSubnetChunkSize(@Nullable Output podSubnetChunkSize) { + $.podSubnetChunkSize = podSubnetChunkSize; + return this; + } + + public Builder podSubnetChunkSize(String podSubnetChunkSize) { + return podSubnetChunkSize(Output.of(podSubnetChunkSize)); + } + + public Builder runGbpContainer(@Nullable Output runGbpContainer) { + $.runGbpContainer = runGbpContainer; + return this; + } + + public Builder runGbpContainer(String runGbpContainer) { + return runGbpContainer(Output.of(runGbpContainer)); + } + + public Builder runOpflexServerContainer(@Nullable Output runOpflexServerContainer) { + $.runOpflexServerContainer = runOpflexServerContainer; + return this; + } + + public Builder runOpflexServerContainer(String runOpflexServerContainer) { + return runOpflexServerContainer(Output.of(runOpflexServerContainer)); + } + + public Builder serviceMonitorInterval(@Nullable Output serviceMonitorInterval) { + $.serviceMonitorInterval = serviceMonitorInterval; + return this; + } + + public Builder serviceMonitorInterval(String serviceMonitorInterval) { + return serviceMonitorInterval(Output.of(serviceMonitorInterval)); + } + + public Builder serviceVlan(Output serviceVlan) { + $.serviceVlan = serviceVlan; + return this; + } + + public Builder serviceVlan(String serviceVlan) { + return serviceVlan(Output.of(serviceVlan)); + } + + public Builder snatContractScope(@Nullable Output snatContractScope) { + $.snatContractScope = snatContractScope; + return this; + } + + public Builder snatContractScope(String snatContractScope) { + return snatContractScope(Output.of(snatContractScope)); + } + + public Builder snatNamespace(@Nullable Output snatNamespace) { + $.snatNamespace = snatNamespace; + return this; + } + + public Builder snatNamespace(String snatNamespace) { + return snatNamespace(Output.of(snatNamespace)); + } + + public Builder snatPortRangeEnd(@Nullable Output snatPortRangeEnd) { + $.snatPortRangeEnd = snatPortRangeEnd; + return this; + } + + public Builder snatPortRangeEnd(String snatPortRangeEnd) { + return snatPortRangeEnd(Output.of(snatPortRangeEnd)); + } + + public Builder snatPortRangeStart(@Nullable Output snatPortRangeStart) { + $.snatPortRangeStart = snatPortRangeStart; + return this; + } + + public Builder snatPortRangeStart(String snatPortRangeStart) { + return snatPortRangeStart(Output.of(snatPortRangeStart)); + } + + public Builder snatPortsPerNode(@Nullable Output snatPortsPerNode) { + $.snatPortsPerNode = snatPortsPerNode; + return this; + } + + public Builder snatPortsPerNode(String snatPortsPerNode) { + return snatPortsPerNode(Output.of(snatPortsPerNode)); + } + + public Builder sriovEnable(@Nullable Output sriovEnable) { + $.sriovEnable = sriovEnable; + return this; + } + + public Builder sriovEnable(String sriovEnable) { + return sriovEnable(Output.of(sriovEnable)); + } + + public Builder subnetDomainName(@Nullable Output subnetDomainName) { + $.subnetDomainName = subnetDomainName; + return this; + } + + public Builder subnetDomainName(String subnetDomainName) { + return subnetDomainName(Output.of(subnetDomainName)); + } + + public Builder systemId(Output systemId) { + $.systemId = systemId; + return this; + } + + public Builder systemId(String systemId) { + return systemId(Output.of(systemId)); + } + + public Builder tenant(@Nullable Output tenant) { + $.tenant = tenant; + return this; + } + + public Builder tenant(String tenant) { + return tenant(Output.of(tenant)); + } + + public Builder token(Output token) { + $.token = token; + return this; + } + + public Builder token(String token) { + return token(Output.of(token)); + } + + public Builder useAciAnywhereCrd(@Nullable Output useAciAnywhereCrd) { + $.useAciAnywhereCrd = useAciAnywhereCrd; + return this; + } + + public Builder useAciAnywhereCrd(String useAciAnywhereCrd) { + return useAciAnywhereCrd(Output.of(useAciAnywhereCrd)); + } + + public Builder useAciCniPriorityClass(@Nullable Output useAciCniPriorityClass) { + $.useAciCniPriorityClass = useAciCniPriorityClass; + return this; + } + + public Builder useAciCniPriorityClass(String useAciCniPriorityClass) { + return useAciCniPriorityClass(Output.of(useAciCniPriorityClass)); + } + + public Builder useClusterRole(@Nullable Output useClusterRole) { + $.useClusterRole = useClusterRole; + return this; + } + + public Builder useClusterRole(String useClusterRole) { + return useClusterRole(Output.of(useClusterRole)); + } + + public Builder useHostNetnsVolume(@Nullable Output useHostNetnsVolume) { + $.useHostNetnsVolume = useHostNetnsVolume; + return this; + } + + public Builder useHostNetnsVolume(String useHostNetnsVolume) { + return useHostNetnsVolume(Output.of(useHostNetnsVolume)); + } + + public Builder useOpflexServerVolume(@Nullable Output useOpflexServerVolume) { + $.useOpflexServerVolume = useOpflexServerVolume; + return this; + } + + public Builder useOpflexServerVolume(String useOpflexServerVolume) { + return useOpflexServerVolume(Output.of(useOpflexServerVolume)); + } + + public Builder usePrivilegedContainer(@Nullable Output usePrivilegedContainer) { + $.usePrivilegedContainer = usePrivilegedContainer; + return this; + } + + public Builder usePrivilegedContainer(String usePrivilegedContainer) { + return usePrivilegedContainer(Output.of(usePrivilegedContainer)); + } + + public Builder vmmController(@Nullable Output vmmController) { + $.vmmController = vmmController; + return this; + } + + public Builder vmmController(String vmmController) { + return vmmController(Output.of(vmmController)); + } + + public Builder vmmDomain(@Nullable Output vmmDomain) { + $.vmmDomain = vmmDomain; + return this; + } + + public Builder vmmDomain(String vmmDomain) { + return vmmDomain(Output.of(vmmDomain)); + } + + public Builder vrfName(Output vrfName) { + $.vrfName = vrfName; + return this; + } + + public Builder vrfName(String vrfName) { + return vrfName(Output.of(vrfName)); + } + + public Builder vrfTenant(Output vrfTenant) { + $.vrfTenant = vrfTenant; + return this; + } + + public Builder vrfTenant(String vrfTenant) { + return vrfTenant(Output.of(vrfTenant)); + } + + public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs build() { + $.aep = Objects.requireNonNull($.aep, "expected parameter 'aep' to be non-null"); + $.apicHosts = Objects.requireNonNull($.apicHosts, "expected parameter 'apicHosts' to be non-null"); + $.apicUserCrt = Objects.requireNonNull($.apicUserCrt, "expected parameter 'apicUserCrt' to be non-null"); + $.apicUserKey = Objects.requireNonNull($.apicUserKey, "expected parameter 'apicUserKey' to be non-null"); + $.apicUserName = Objects.requireNonNull($.apicUserName, "expected parameter 'apicUserName' to be non-null"); + $.encapType = Objects.requireNonNull($.encapType, "expected parameter 'encapType' to be non-null"); + $.externDynamic = Objects.requireNonNull($.externDynamic, "expected parameter 'externDynamic' to be non-null"); + $.externStatic = Objects.requireNonNull($.externStatic, "expected parameter 'externStatic' to be non-null"); + $.kubeApiVlan = Objects.requireNonNull($.kubeApiVlan, "expected parameter 'kubeApiVlan' to be non-null"); + $.l3out = Objects.requireNonNull($.l3out, "expected parameter 'l3out' to be non-null"); + $.l3outExternalNetworks = Objects.requireNonNull($.l3outExternalNetworks, "expected parameter 'l3outExternalNetworks' to be non-null"); + $.mcastRangeEnd = Objects.requireNonNull($.mcastRangeEnd, "expected parameter 'mcastRangeEnd' to be non-null"); + $.mcastRangeStart = Objects.requireNonNull($.mcastRangeStart, "expected parameter 'mcastRangeStart' to be non-null"); + $.nodeSubnet = Objects.requireNonNull($.nodeSubnet, "expected parameter 'nodeSubnet' to be non-null"); + $.nodeSvcSubnet = Objects.requireNonNull($.nodeSvcSubnet, "expected parameter 'nodeSvcSubnet' to be non-null"); + $.serviceVlan = Objects.requireNonNull($.serviceVlan, "expected parameter 'serviceVlan' to be non-null"); + $.systemId = Objects.requireNonNull($.systemId, "expected parameter 'systemId' to be non-null"); + $.token = Objects.requireNonNull($.token, "expected parameter 'token' to be non-null"); + $.vrfName = Objects.requireNonNull($.vrfName, "expected parameter 'vrfName' to be non-null"); + $.vrfTenant = Objects.requireNonNull($.vrfTenant, "expected parameter 'vrfTenant' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.java index 5b03f3306..b81141b6e 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs; import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs; import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs; import com.pulumi.rancher2.inputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs; @@ -24,6 +25,13 @@ public final class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkA public static final ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs Empty = new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs(); + @Import(name="aciNetworkProvider") + private @Nullable Output aciNetworkProvider; + + public Optional> aciNetworkProvider() { + return Optional.ofNullable(this.aciNetworkProvider); + } + @Import(name="calicoNetworkProvider") private @Nullable Output calicoNetworkProvider; @@ -83,6 +91,7 @@ public Optional aciNetworkProvider) { + $.aciNetworkProvider = aciNetworkProvider; + return this; + } + + public Builder aciNetworkProvider(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs aciNetworkProvider) { + return aciNetworkProvider(Output.of(aciNetworkProvider)); + } + public Builder calicoNetworkProvider(@Nullable Output calicoNetworkProvider) { $.calicoNetworkProvider = calicoNetworkProvider; return this; diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterV2RkeConfigMachinePoolArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterV2RkeConfigMachinePoolArgs.java index e797c3c85..6e5071a34 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterV2RkeConfigMachinePoolArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/ClusterV2RkeConfigMachinePoolArgs.java @@ -128,6 +128,21 @@ public Output machineConfig() { return this.machineConfig; } + /** + * Labels for Machine pool nodes (map) + * + */ + @Import(name="machineLabels") + private @Nullable Output> machineLabels; + + /** + * @return Labels for Machine pool nodes (map) + * + */ + public Optional>> machineLabels() { + return Optional.ofNullable(this.machineLabels); + } + /** * Max unhealthy nodes for automated replacement to be allowed (string) * @@ -303,6 +318,7 @@ private ClusterV2RkeConfigMachinePoolArgs(ClusterV2RkeConfigMachinePoolArgs $) { this.etcdRole = $.etcdRole; this.labels = $.labels; this.machineConfig = $.machineConfig; + this.machineLabels = $.machineLabels; this.maxUnhealthy = $.maxUnhealthy; this.name = $.name; this.nodeDrainTimeout = $.nodeDrainTimeout; @@ -481,6 +497,27 @@ public Builder machineConfig(ClusterV2RkeConfigMachinePoolMachineConfigArgs mach return machineConfig(Output.of(machineConfig)); } + /** + * @param machineLabels Labels for Machine pool nodes (map) + * + * @return builder + * + */ + public Builder machineLabels(@Nullable Output> machineLabels) { + $.machineLabels = machineLabels; + return this; + } + + /** + * @param machineLabels Labels for Machine pool nodes (map) + * + * @return builder + * + */ + public Builder machineLabels(Map machineLabels) { + return machineLabels(Output.of(machineLabels)); + } + /** * @param maxUnhealthy Max unhealthy nodes for automated replacement to be allowed (string) * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2AzureConfigArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2AzureConfigArgs.java index f3cd0dcfb..d857f1890 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2AzureConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/MachineConfigV2AzureConfigArgs.java @@ -242,6 +242,21 @@ public Optional>> openPorts() { return Optional.ofNullable(this.openPorts); } + /** + * Only use a private IP address. Default `false` (bool) + * + */ + @Import(name="privateAddressOnly") + private @Nullable Output privateAddressOnly; + + /** + * @return Only use a private IP address. Default `false` (bool) + * + */ + public Optional> privateAddressOnly() { + return Optional.ofNullable(this.privateAddressOnly); + } + /** * Specify a static private IP address for the machine. (string) * @@ -455,6 +470,7 @@ private MachineConfigV2AzureConfigArgs(MachineConfigV2AzureConfigArgs $) { this.noPublicIp = $.noPublicIp; this.nsg = $.nsg; this.openPorts = $.openPorts; + this.privateAddressOnly = $.privateAddressOnly; this.privateIpAddress = $.privateIpAddress; this.resourceGroup = $.resourceGroup; this.size = $.size; @@ -813,6 +829,27 @@ public Builder openPorts(String... openPorts) { return openPorts(List.of(openPorts)); } + /** + * @param privateAddressOnly Only use a private IP address. Default `false` (bool) + * + * @return builder + * + */ + public Builder privateAddressOnly(@Nullable Output privateAddressOnly) { + $.privateAddressOnly = privateAddressOnly; + return this; + } + + /** + * @param privateAddressOnly Only use a private IP address. Default `false` (bool) + * + * @return builder + * + */ + public Builder privateAddressOnly(Boolean privateAddressOnly) { + return privateAddressOnly(Output.of(privateAddressOnly)); + } + /** * @param privateIpAddress Specify a static private IP address for the machine. (string) * 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 8bb74eb21..6542762b8 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 @@ -18,14 +18,14 @@ public final class NodeTemplateAmazonec2ConfigArgs extends com.pulumi.resources. public static final NodeTemplateAmazonec2ConfigArgs Empty = new NodeTemplateAmazonec2ConfigArgs(); /** - * AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * Outscale Access Key (string) * */ @Import(name="accessKey") private @Nullable Output accessKey; /** - * @return AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * @return Outscale Access Key (string) * */ public Optional> accessKey() { @@ -107,6 +107,36 @@ public Optional> endpoint() { return Optional.ofNullable(this.endpoint); } + /** + * Enables or disables the HTTP metadata endpoint on your instances (string) + * + */ + @Import(name="httpEndpoint") + private @Nullable Output httpEndpoint; + + /** + * @return Enables or disables the HTTP metadata endpoint on your instances (string) + * + */ + public Optional> httpEndpoint() { + return Optional.ofNullable(this.httpEndpoint); + } + + /** + * The state of token usage for your instance metadata requests (string) + * + */ + @Import(name="httpTokens") + private @Nullable Output httpTokens; + + /** + * @return The state of token usage for your instance metadata requests (string) + * + */ + public Optional> httpTokens() { + return Optional.ofNullable(this.httpTokens); + } + /** * AWS IAM Instance Profile (string) * @@ -138,14 +168,14 @@ public Optional> insecureTransport() { } /** - * Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * Outscale VM type. Default `tinav2.c1r2p3` (string) * */ @Import(name="instanceType") private @Nullable Output instanceType; /** - * @return Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * @return Outscale VM type. Default `tinav2.c1r2p3` (string) * */ public Optional> instanceType() { @@ -228,14 +258,14 @@ public Optional> privateAddressOnly() { } /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) * */ @Import(name="region", required=true) private Output region; /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ public Output region() { @@ -288,14 +318,14 @@ public Optional> rootSize() { } /** - * AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * Outscale Secret Key (string) * */ @Import(name="secretKey") private @Nullable Output secretKey; /** - * @return AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * @return Outscale Secret Key (string) * */ public Optional> secretKey() { @@ -362,17 +392,9 @@ public Optional> spotPrice() { return Optional.ofNullable(this.spotPrice); } - /** - * SSH Key for Instance (string) - * - */ @Import(name="sshKeypath") private @Nullable Output sshKeypath; - /** - * @return SSH Key for Instance (string) - * - */ public Optional> sshKeypath() { return Optional.ofNullable(this.sshKeypath); } @@ -521,6 +543,8 @@ private NodeTemplateAmazonec2ConfigArgs(NodeTemplateAmazonec2ConfigArgs $) { this.deviceName = $.deviceName; this.encryptEbsVolume = $.encryptEbsVolume; this.endpoint = $.endpoint; + this.httpEndpoint = $.httpEndpoint; + this.httpTokens = $.httpTokens; this.iamInstanceProfile = $.iamInstanceProfile; this.insecureTransport = $.insecureTransport; this.instanceType = $.instanceType; @@ -569,7 +593,7 @@ public Builder(NodeTemplateAmazonec2ConfigArgs defaults) { } /** - * @param accessKey AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * @param accessKey Outscale Access Key (string) * * @return builder * @@ -580,7 +604,7 @@ public Builder accessKey(@Nullable Output accessKey) { } /** - * @param accessKey AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * @param accessKey Outscale Access Key (string) * * @return builder * @@ -694,6 +718,48 @@ public Builder endpoint(String endpoint) { return endpoint(Output.of(endpoint)); } + /** + * @param httpEndpoint Enables or disables the HTTP metadata endpoint on your instances (string) + * + * @return builder + * + */ + public Builder httpEndpoint(@Nullable Output httpEndpoint) { + $.httpEndpoint = httpEndpoint; + return this; + } + + /** + * @param httpEndpoint Enables or disables the HTTP metadata endpoint on your instances (string) + * + * @return builder + * + */ + public Builder httpEndpoint(String httpEndpoint) { + return httpEndpoint(Output.of(httpEndpoint)); + } + + /** + * @param httpTokens The state of token usage for your instance metadata requests (string) + * + * @return builder + * + */ + public Builder httpTokens(@Nullable Output httpTokens) { + $.httpTokens = httpTokens; + return this; + } + + /** + * @param httpTokens The state of token usage for your instance metadata requests (string) + * + * @return builder + * + */ + public Builder httpTokens(String httpTokens) { + return httpTokens(Output.of(httpTokens)); + } + /** * @param iamInstanceProfile AWS IAM Instance Profile (string) * @@ -737,7 +803,7 @@ public Builder insecureTransport(Boolean insecureTransport) { } /** - * @param instanceType Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * @param instanceType Outscale VM type. Default `tinav2.c1r2p3` (string) * * @return builder * @@ -748,7 +814,7 @@ public Builder instanceType(@Nullable Output instanceType) { } /** - * @param instanceType Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * @param instanceType Outscale VM type. Default `tinav2.c1r2p3` (string) * * @return builder * @@ -873,7 +939,7 @@ public Builder privateAddressOnly(Boolean privateAddressOnly) { } /** - * @param region OpenStack region name (string) + * @param region AWS region. Default `eu-west-2` (string) * * @return builder * @@ -884,7 +950,7 @@ public Builder region(Output region) { } /** - * @param region OpenStack region name (string) + * @param region AWS region. Default `eu-west-2` (string) * * @return builder * @@ -957,7 +1023,7 @@ public Builder rootSize(String rootSize) { } /** - * @param secretKey AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * @param secretKey Outscale Secret Key (string) * * @return builder * @@ -968,7 +1034,7 @@ public Builder secretKey(@Nullable Output secretKey) { } /** - * @param secretKey AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * @param secretKey Outscale Secret Key (string) * * @return builder * @@ -1071,23 +1137,11 @@ public Builder spotPrice(String spotPrice) { return spotPrice(Output.of(spotPrice)); } - /** - * @param sshKeypath SSH Key for Instance (string) - * - * @return builder - * - */ public Builder sshKeypath(@Nullable Output sshKeypath) { $.sshKeypath = sshKeypath; return this; } - /** - * @param sshKeypath SSH Key for Instance (string) - * - * @return builder - * - */ public Builder sshKeypath(String sshKeypath) { return sshKeypath(Output.of(sshKeypath)); } diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateDigitaloceanConfigArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateDigitaloceanConfigArgs.java index b808d0538..5b8abaa44 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateDigitaloceanConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateDigitaloceanConfigArgs.java @@ -107,14 +107,14 @@ public Optional> privateNetworking() { } /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) * */ @Import(name="region") private @Nullable Output region; /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ public Optional> region() { @@ -390,7 +390,7 @@ public Builder privateNetworking(Boolean privateNetworking) { } /** - * @param region OpenStack region name (string) + * @param region AWS region. Default `eu-west-2` (string) * * @return builder * @@ -401,7 +401,7 @@ public Builder region(@Nullable Output region) { } /** - * @param region OpenStack region name (string) + * @param region AWS region. Default `eu-west-2` (string) * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateLinodeConfigArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateLinodeConfigArgs.java index b07bcbe7a..7e4fb1b6b 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateLinodeConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateLinodeConfigArgs.java @@ -77,14 +77,14 @@ public Optional> image() { } /** - * Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * Outscale VM type. Default `tinav2.c1r2p3` (string) * */ @Import(name="instanceType") private @Nullable Output instanceType; /** - * @return Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * @return Outscale VM type. Default `tinav2.c1r2p3` (string) * */ public Optional> instanceType() { @@ -107,14 +107,14 @@ public Optional> label() { } /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) * */ @Import(name="region") private @Nullable Output region; /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ public Optional> region() { @@ -380,7 +380,7 @@ public Builder image(String image) { } /** - * @param instanceType Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * @param instanceType Outscale VM type. Default `tinav2.c1r2p3` (string) * * @return builder * @@ -391,7 +391,7 @@ public Builder instanceType(@Nullable Output instanceType) { } /** - * @param instanceType Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * @param instanceType Outscale VM type. Default `tinav2.c1r2p3` (string) * * @return builder * @@ -422,7 +422,7 @@ public Builder label(String label) { } /** - * @param region OpenStack region name (string) + * @param region AWS region. Default `eu-west-2` (string) * * @return builder * @@ -433,7 +433,7 @@ public Builder region(@Nullable Output region) { } /** - * @param region OpenStack region name (string) + * @param region AWS region. Default `eu-west-2` (string) * * @return builder * 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 efc750d52..157690f36 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 @@ -392,14 +392,14 @@ public Optional> privateKeyFile() { } /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) * */ @Import(name="region", required=true) private Output region; /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ public Output region() { @@ -1173,7 +1173,7 @@ public Builder privateKeyFile(String privateKeyFile) { } /** - * @param region OpenStack region name (string) + * @param region AWS region. Default `eu-west-2` (string) * * @return builder * @@ -1184,7 +1184,7 @@ public Builder region(Output region) { } /** - * @param region OpenStack region name (string) + * @param region AWS region. Default `eu-west-2` (string) * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateOutscaleConfigArgs.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateOutscaleConfigArgs.java new file mode 100644 index 000000000..ee52c2267 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateOutscaleConfigArgs.java @@ -0,0 +1,487 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.rancher2.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class NodeTemplateOutscaleConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final NodeTemplateOutscaleConfigArgs Empty = new NodeTemplateOutscaleConfigArgs(); + + /** + * Outscale Access Key (string) + * + */ + @Import(name="accessKey", required=true) + private Output accessKey; + + /** + * @return Outscale Access Key (string) + * + */ + public Output accessKey() { + return this.accessKey; + } + + /** + * Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + * + */ + @Import(name="extraTagsAlls") + private @Nullable Output> extraTagsAlls; + + /** + * @return Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + * + */ + public Optional>> extraTagsAlls() { + return Optional.ofNullable(this.extraTagsAlls); + } + + /** + * Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + * + */ + @Import(name="extraTagsInstances") + private @Nullable Output> extraTagsInstances; + + /** + * @return Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + * + */ + public Optional>> extraTagsInstances() { + return Optional.ofNullable(this.extraTagsInstances); + } + + /** + * Outscale VM type. Default `tinav2.c1r2p3` (string) + * + */ + @Import(name="instanceType") + private @Nullable Output instanceType; + + /** + * @return Outscale VM type. Default `tinav2.c1r2p3` (string) + * + */ + public Optional> instanceType() { + return Optional.ofNullable(this.instanceType); + } + + /** + * AWS region. Default `eu-west-2` (string) + * + */ + @Import(name="region") + private @Nullable Output region; + + /** + * @return AWS region. Default `eu-west-2` (string) + * + */ + public Optional> region() { + return Optional.ofNullable(this.region); + } + + /** + * Iops for io1 Root Disk. From 1 to 13000. + * + */ + @Import(name="rootDiskIops") + private @Nullable Output rootDiskIops; + + /** + * @return Iops for io1 Root Disk. From 1 to 13000. + * + */ + public Optional> rootDiskIops() { + return Optional.ofNullable(this.rootDiskIops); + } + + /** + * Size of the Root Disk (in GB). From 1 to 14901. + * + */ + @Import(name="rootDiskSize") + private @Nullable Output rootDiskSize; + + /** + * @return Size of the Root Disk (in GB). From 1 to 14901. + * + */ + public Optional> rootDiskSize() { + return Optional.ofNullable(this.rootDiskSize); + } + + /** + * Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + * + */ + @Import(name="rootDiskType") + private @Nullable Output rootDiskType; + + /** + * @return Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + * + */ + public Optional> rootDiskType() { + return Optional.ofNullable(this.rootDiskType); + } + + /** + * Outscale Secret Key (string) + * + */ + @Import(name="secretKey", required=true) + private Output secretKey; + + /** + * @return Outscale Secret Key (string) + * + */ + public Output secretKey() { + return this.secretKey; + } + + /** + * Ids of user defined Security Groups to add to the machine. (list) + * + */ + @Import(name="securityGroupIds") + private @Nullable Output> securityGroupIds; + + /** + * @return Ids of user defined Security Groups to add to the machine. (list) + * + */ + public Optional>> securityGroupIds() { + return Optional.ofNullable(this.securityGroupIds); + } + + /** + * Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + * + */ + @Import(name="sourceOmi") + private @Nullable Output sourceOmi; + + /** + * @return Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + * + */ + public Optional> sourceOmi() { + return Optional.ofNullable(this.sourceOmi); + } + + private NodeTemplateOutscaleConfigArgs() {} + + private NodeTemplateOutscaleConfigArgs(NodeTemplateOutscaleConfigArgs $) { + this.accessKey = $.accessKey; + this.extraTagsAlls = $.extraTagsAlls; + this.extraTagsInstances = $.extraTagsInstances; + this.instanceType = $.instanceType; + this.region = $.region; + this.rootDiskIops = $.rootDiskIops; + this.rootDiskSize = $.rootDiskSize; + this.rootDiskType = $.rootDiskType; + this.secretKey = $.secretKey; + this.securityGroupIds = $.securityGroupIds; + this.sourceOmi = $.sourceOmi; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(NodeTemplateOutscaleConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private NodeTemplateOutscaleConfigArgs $; + + public Builder() { + $ = new NodeTemplateOutscaleConfigArgs(); + } + + public Builder(NodeTemplateOutscaleConfigArgs defaults) { + $ = new NodeTemplateOutscaleConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accessKey Outscale Access Key (string) + * + * @return builder + * + */ + public Builder accessKey(Output accessKey) { + $.accessKey = accessKey; + return this; + } + + /** + * @param accessKey Outscale Access Key (string) + * + * @return builder + * + */ + public Builder accessKey(String accessKey) { + return accessKey(Output.of(accessKey)); + } + + /** + * @param extraTagsAlls Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + * + * @return builder + * + */ + public Builder extraTagsAlls(@Nullable Output> extraTagsAlls) { + $.extraTagsAlls = extraTagsAlls; + return this; + } + + /** + * @param extraTagsAlls Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + * + * @return builder + * + */ + public Builder extraTagsAlls(List extraTagsAlls) { + return extraTagsAlls(Output.of(extraTagsAlls)); + } + + /** + * @param extraTagsAlls Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + * + * @return builder + * + */ + public Builder extraTagsAlls(String... extraTagsAlls) { + return extraTagsAlls(List.of(extraTagsAlls)); + } + + /** + * @param extraTagsInstances Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + * + * @return builder + * + */ + public Builder extraTagsInstances(@Nullable Output> extraTagsInstances) { + $.extraTagsInstances = extraTagsInstances; + return this; + } + + /** + * @param extraTagsInstances Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + * + * @return builder + * + */ + public Builder extraTagsInstances(List extraTagsInstances) { + return extraTagsInstances(Output.of(extraTagsInstances)); + } + + /** + * @param extraTagsInstances Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + * + * @return builder + * + */ + public Builder extraTagsInstances(String... extraTagsInstances) { + return extraTagsInstances(List.of(extraTagsInstances)); + } + + /** + * @param instanceType Outscale VM type. Default `tinav2.c1r2p3` (string) + * + * @return builder + * + */ + public Builder instanceType(@Nullable Output instanceType) { + $.instanceType = instanceType; + return this; + } + + /** + * @param instanceType Outscale VM type. Default `tinav2.c1r2p3` (string) + * + * @return builder + * + */ + public Builder instanceType(String instanceType) { + return instanceType(Output.of(instanceType)); + } + + /** + * @param region AWS region. Default `eu-west-2` (string) + * + * @return builder + * + */ + public Builder region(@Nullable Output region) { + $.region = region; + return this; + } + + /** + * @param region AWS region. Default `eu-west-2` (string) + * + * @return builder + * + */ + public Builder region(String region) { + return region(Output.of(region)); + } + + /** + * @param rootDiskIops Iops for io1 Root Disk. From 1 to 13000. + * + * @return builder + * + */ + public Builder rootDiskIops(@Nullable Output rootDiskIops) { + $.rootDiskIops = rootDiskIops; + return this; + } + + /** + * @param rootDiskIops Iops for io1 Root Disk. From 1 to 13000. + * + * @return builder + * + */ + public Builder rootDiskIops(Integer rootDiskIops) { + return rootDiskIops(Output.of(rootDiskIops)); + } + + /** + * @param rootDiskSize Size of the Root Disk (in GB). From 1 to 14901. + * + * @return builder + * + */ + public Builder rootDiskSize(@Nullable Output rootDiskSize) { + $.rootDiskSize = rootDiskSize; + return this; + } + + /** + * @param rootDiskSize Size of the Root Disk (in GB). From 1 to 14901. + * + * @return builder + * + */ + public Builder rootDiskSize(Integer rootDiskSize) { + return rootDiskSize(Output.of(rootDiskSize)); + } + + /** + * @param rootDiskType Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + * + * @return builder + * + */ + public Builder rootDiskType(@Nullable Output rootDiskType) { + $.rootDiskType = rootDiskType; + return this; + } + + /** + * @param rootDiskType Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + * + * @return builder + * + */ + public Builder rootDiskType(String rootDiskType) { + return rootDiskType(Output.of(rootDiskType)); + } + + /** + * @param secretKey Outscale Secret Key (string) + * + * @return builder + * + */ + public Builder secretKey(Output secretKey) { + $.secretKey = secretKey; + return this; + } + + /** + * @param secretKey Outscale Secret Key (string) + * + * @return builder + * + */ + public Builder secretKey(String secretKey) { + return secretKey(Output.of(secretKey)); + } + + /** + * @param securityGroupIds Ids of user defined Security Groups to add to the machine. (list) + * + * @return builder + * + */ + public Builder securityGroupIds(@Nullable Output> securityGroupIds) { + $.securityGroupIds = securityGroupIds; + return this; + } + + /** + * @param securityGroupIds Ids of user defined Security Groups to add to the machine. (list) + * + * @return builder + * + */ + public Builder securityGroupIds(List securityGroupIds) { + return securityGroupIds(Output.of(securityGroupIds)); + } + + /** + * @param securityGroupIds Ids of user defined Security Groups to add to the machine. (list) + * + * @return builder + * + */ + public Builder securityGroupIds(String... securityGroupIds) { + return securityGroupIds(List.of(securityGroupIds)); + } + + /** + * @param sourceOmi Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + * + * @return builder + * + */ + public Builder sourceOmi(@Nullable Output sourceOmi) { + $.sourceOmi = sourceOmi; + return this; + } + + /** + * @param sourceOmi Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + * + * @return builder + * + */ + public Builder sourceOmi(String sourceOmi) { + return sourceOmi(Output.of(sourceOmi)); + } + + public NodeTemplateOutscaleConfigArgs build() { + $.accessKey = Objects.requireNonNull($.accessKey, "expected parameter 'accessKey' to be non-null"); + $.secretKey = Objects.requireNonNull($.secretKey, "expected parameter 'secretKey' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateState.java b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateState.java index 316b2392b..87eec14fd 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateState.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/inputs/NodeTemplateState.java @@ -14,6 +14,7 @@ import com.pulumi.rancher2.inputs.NodeTemplateNodeTaintArgs; import com.pulumi.rancher2.inputs.NodeTemplateOpennebulaConfigArgs; import com.pulumi.rancher2.inputs.NodeTemplateOpenstackConfigArgs; +import com.pulumi.rancher2.inputs.NodeTemplateOutscaleConfigArgs; import com.pulumi.rancher2.inputs.NodeTemplateVsphereConfigArgs; import java.lang.Boolean; import java.lang.Object; @@ -404,6 +405,21 @@ public Optional> openstackConfig() { return Optional.ofNullable(this.openstackConfig); } + /** + * Outscale config for the Node Template (list maxitems:1) + * + */ + @Import(name="outscaleConfig") + private @Nullable Output outscaleConfig; + + /** + * @return Outscale config for the Node Template (list maxitems:1) + * + */ + public Optional> outscaleConfig() { + return Optional.ofNullable(this.outscaleConfig); + } + /** * Engine storage driver for the node template (bool) * @@ -462,6 +478,7 @@ private NodeTemplateState(NodeTemplateState $) { this.nodeTaints = $.nodeTaints; this.opennebulaConfig = $.opennebulaConfig; this.openstackConfig = $.openstackConfig; + this.outscaleConfig = $.outscaleConfig; this.useInternalIpAddress = $.useInternalIpAddress; this.vsphereConfig = $.vsphereConfig; } @@ -1039,6 +1056,27 @@ public Builder openstackConfig(NodeTemplateOpenstackConfigArgs openstackConfig) return openstackConfig(Output.of(openstackConfig)); } + /** + * @param outscaleConfig Outscale config for the Node Template (list maxitems:1) + * + * @return builder + * + */ + public Builder outscaleConfig(@Nullable Output outscaleConfig) { + $.outscaleConfig = outscaleConfig; + return this; + } + + /** + * @param outscaleConfig Outscale config for the Node Template (list maxitems:1) + * + * @return builder + * + */ + public Builder outscaleConfig(NodeTemplateOutscaleConfigArgs outscaleConfig) { + return outscaleConfig(Output.of(outscaleConfig)); + } + /** * @param useInternalIpAddress Engine storage driver for the node template (bool) * diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterRkeConfigNetwork.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterRkeConfigNetwork.java index 502b69f92..970173457 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterRkeConfigNetwork.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterRkeConfigNetwork.java @@ -4,6 +4,7 @@ package com.pulumi.rancher2.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.rancher2.outputs.ClusterRkeConfigNetworkAciNetworkProvider; import com.pulumi.rancher2.outputs.ClusterRkeConfigNetworkCalicoNetworkProvider; import com.pulumi.rancher2.outputs.ClusterRkeConfigNetworkCanalNetworkProvider; import com.pulumi.rancher2.outputs.ClusterRkeConfigNetworkFlannelNetworkProvider; @@ -20,6 +21,11 @@ @CustomType public final class ClusterRkeConfigNetwork { + /** + * @return ACI provider config for RKE network (list maxitems:63) + * + */ + private @Nullable ClusterRkeConfigNetworkAciNetworkProvider aciNetworkProvider; /** * @return Calico provider config for RKE network (list maxitems:1) * @@ -62,6 +68,13 @@ public final class ClusterRkeConfigNetwork { private @Nullable ClusterRkeConfigNetworkWeaveNetworkProvider weaveNetworkProvider; private ClusterRkeConfigNetwork() {} + /** + * @return ACI provider config for RKE network (list maxitems:63) + * + */ + public Optional aciNetworkProvider() { + return Optional.ofNullable(this.aciNetworkProvider); + } /** * @return Calico provider config for RKE network (list maxitems:1) * @@ -128,6 +141,7 @@ public static Builder builder(ClusterRkeConfigNetwork defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable ClusterRkeConfigNetworkAciNetworkProvider aciNetworkProvider; private @Nullable ClusterRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider; private @Nullable ClusterRkeConfigNetworkCanalNetworkProvider canalNetworkProvider; private @Nullable ClusterRkeConfigNetworkFlannelNetworkProvider flannelNetworkProvider; @@ -139,6 +153,7 @@ public static final class Builder { public Builder() {} public Builder(ClusterRkeConfigNetwork defaults) { Objects.requireNonNull(defaults); + this.aciNetworkProvider = defaults.aciNetworkProvider; this.calicoNetworkProvider = defaults.calicoNetworkProvider; this.canalNetworkProvider = defaults.canalNetworkProvider; this.flannelNetworkProvider = defaults.flannelNetworkProvider; @@ -149,6 +164,11 @@ public Builder(ClusterRkeConfigNetwork defaults) { this.weaveNetworkProvider = defaults.weaveNetworkProvider; } + @CustomType.Setter + public Builder aciNetworkProvider(@Nullable ClusterRkeConfigNetworkAciNetworkProvider aciNetworkProvider) { + this.aciNetworkProvider = aciNetworkProvider; + return this; + } @CustomType.Setter public Builder calicoNetworkProvider(@Nullable ClusterRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider) { this.calicoNetworkProvider = calicoNetworkProvider; @@ -194,6 +214,7 @@ public Builder weaveNetworkProvider(@Nullable ClusterRkeConfigNetworkWeaveNetwor } public ClusterRkeConfigNetwork build() { final var o = new ClusterRkeConfigNetwork(); + o.aciNetworkProvider = aciNetworkProvider; o.calicoNetworkProvider = calicoNetworkProvider; o.canalNetworkProvider = canalNetworkProvider; o.flannelNetworkProvider = flannelNetworkProvider; diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterRkeConfigNetworkAciNetworkProvider.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterRkeConfigNetworkAciNetworkProvider.java new file mode 100644 index 000000000..d0ddccb70 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterRkeConfigNetworkAciNetworkProvider.java @@ -0,0 +1,1526 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.rancher2.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ClusterRkeConfigNetworkAciNetworkProvider { + /** + * @return Attachable entity profile (string) + * + */ + private String aep; + /** + * @return List of APIC hosts to connect for APIC API (list) + * + */ + private List apicHosts; + /** + * @return APIC refresh ticker adjust amount (string) + * + */ + private @Nullable String apicRefreshTickerAdjust; + /** + * @return APIC refresh time in seconds (string) + * + */ + private @Nullable String apicRefreshTime; + /** + * @return APIC subscription delay amount (string) + * + */ + private @Nullable String apicSubscriptionDelay; + /** + * @return APIC user certificate (string) + * + */ + private String apicUserCrt; + /** + * @return APIC user key (string) + * + */ + private String apicUserKey; + /** + * @return APIC user name (string) + * + */ + private String apicUserName; + /** + * @return cAPIC cloud (string) + * + */ + private @Nullable String capic; + /** + * @return Log level for ACI controller (string) + * + */ + private @Nullable String controllerLogLevel; + /** + * @return Whether to disable periodic SNAT global info sync (string) + * + */ + private @Nullable String disablePeriodicSnatGlobalInfoSync; + /** + * @return Whether to disable waiting for network (string) + * + */ + private @Nullable String disableWaitForNetwork; + /** + * @return Whether to enable drop log (string) + * + */ + private @Nullable String dropLogEnable; + /** + * @return The duration to wait for network (string) + * + */ + private @Nullable String durationWaitForNetwork; + /** + * @return Whether to enable endpoint slices (string) + * + */ + private @Nullable String enableEndpointSlice; + /** + * @return Encap type: vxlan or vlan (string) + * + */ + private String encapType; + /** + * @return EP registry (string) + * + */ + private @Nullable String epRegistry; + /** + * @return Subnet to use for dynamic external IPs (string) + * + */ + private String externDynamic; + /** + * @return Subnet to use for static external IPs (string) + * + */ + private String externStatic; + /** + * @return GBH pod subnet (string) + * + */ + private @Nullable String gbpPodSubnet; + /** + * @return Log level for ACI host agent (string) + * + */ + private @Nullable String hostAgentLogLevel; + /** + * @return Image pull policy (string) + * + */ + private @Nullable String imagePullPolicy; + /** + * @return Image pull policy (string) + * + */ + private @Nullable String imagePullSecret; + /** + * @return The VLAN used by ACI infra (string) + * + */ + private @Nullable String infraVlan; + /** + * @return Whether to install Istio (string) + * + */ + private @Nullable String installIstio; + /** + * @return Istio profile name (string) + * + */ + private @Nullable String istioProfile; + /** + * @return List of Kafka broker hosts (list) + * + */ + private @Nullable List kafkaBrokers; + /** + * @return Kafka client certificate (string) + * + */ + private @Nullable String kafkaClientCrt; + /** + * @return Kafka client key (string) + * + */ + private @Nullable String kafkaClientKey; + /** + * @return The VLAN used by the physdom for nodes (string) + * + */ + private String kubeApiVlan; + /** + * @return L3out (string) + * + */ + private String l3out; + /** + * @return L3out external networks (list) + * + */ + private List l3outExternalNetworks; + /** + * @return Max nodes in service graph (string) + * + */ + private @Nullable String maxNodesSvcGraph; + /** + * @return End of mcast range (string) + * + */ + private String mcastRangeEnd; + /** + * @return Start of mcast range (string) + * + */ + private String mcastRangeStart; + /** + * @return MTU head room amount (string) + * + */ + private @Nullable String mtuHeadRoom; + /** + * @return Whether to disable Multus (string) + * + */ + private @Nullable String multusDisable; + /** + * @return Whether to use priority class (string) + * + */ + private @Nullable String noPriorityClass; + /** + * @return Whether to enable node pod interface (string) + * + */ + private @Nullable String nodePodIfEnable; + /** + * @return Subnet to use for nodes (string) + * + */ + private String nodeSubnet; + /** + * @return Subnet to use for service graph (string) + * + */ + private String nodeSvcSubnet; + /** + * @return Whether to use client SSL for Opflex (string) + * + */ + private @Nullable String opflexClientSsl; + /** + * @return Opflex device delete timeout (string) + * + */ + private @Nullable String opflexDeviceDeleteTimeout; + /** + * @return Log level for ACI opflex (string) + * + */ + private @Nullable String opflexLogLevel; + /** + * @return Opflex mode (string) + * + */ + private @Nullable String opflexMode; + /** + * @return Opflex server port (string) + * + */ + private @Nullable String opflexServerPort; + /** + * @return Overlay VRF name (string) + * + */ + private @Nullable String overlayVrfName; + /** + * @return OVS memory limit (string) + * + */ + private @Nullable String ovsMemoryLimit; + /** + * @return Policy-based routing tracking non snat (string) + * + */ + private @Nullable String pbrTrackingNonSnat; + /** + * @return Pod subnet chunk size (string) + * + */ + private @Nullable String podSubnetChunkSize; + /** + * @return Whether to run GBP container (string) + * + */ + private @Nullable String runGbpContainer; + /** + * @return Whether to run Opflex server container (string) + * + */ + private @Nullable String runOpflexServerContainer; + /** + * @return Service monitor interval (string) + * + */ + private @Nullable String serviceMonitorInterval; + /** + * @return The VLAN used by LoadBalancer services (string) + * + */ + private String serviceVlan; + /** + * @return Snat contract scope (string) + * + */ + private @Nullable String snatContractScope; + /** + * @return Snat namespace (string) + * + */ + private @Nullable String snatNamespace; + /** + * @return End of snat port range (string) + * + */ + private @Nullable String snatPortRangeEnd; + /** + * @return End of snat port range (string) + * + */ + private @Nullable String snatPortRangeStart; + /** + * @return Snat ports per node (string) + * + */ + private @Nullable String snatPortsPerNode; + /** + * @return Whether to enable SR-IOV (string) + * + */ + private @Nullable String sriovEnable; + /** + * @return Subnet domain name (string) + * + */ + private @Nullable String subnetDomainName; + /** + * @return ACI system ID (string) + * + */ + private String systemId; + /** + * @return ACI tenant (string) + * + */ + private @Nullable String tenant; + /** + * @return Token for cluster registration token object (string) + * + */ + private String token; + /** + * @return Whether to use ACI anywhere CRD (string) + * + */ + private @Nullable String useAciAnywhereCrd; + /** + * @return Whether to use ACI CNI priority class (string) + * + */ + private @Nullable String useAciCniPriorityClass; + /** + * @return Whether to use cluster role (string) + * + */ + private @Nullable String useClusterRole; + /** + * @return Whether to use host netns volume (string) + * + */ + private @Nullable String useHostNetnsVolume; + /** + * @return Whether use Opflex server volume (string) + * + */ + private @Nullable String useOpflexServerVolume; + /** + * @return Whether ACI containers should run as privileged (string) + * + */ + private @Nullable String usePrivilegedContainer; + /** + * @return VMM controller configuration (string) + * + */ + private @Nullable String vmmController; + /** + * @return VMM domain configuration (string) + * + */ + private @Nullable String vmmDomain; + /** + * @return VRF name (string) + * + */ + private String vrfName; + /** + * @return VRF tenant (string) + * + */ + private String vrfTenant; + + private ClusterRkeConfigNetworkAciNetworkProvider() {} + /** + * @return Attachable entity profile (string) + * + */ + public String aep() { + return this.aep; + } + /** + * @return List of APIC hosts to connect for APIC API (list) + * + */ + public List apicHosts() { + return this.apicHosts; + } + /** + * @return APIC refresh ticker adjust amount (string) + * + */ + public Optional apicRefreshTickerAdjust() { + return Optional.ofNullable(this.apicRefreshTickerAdjust); + } + /** + * @return APIC refresh time in seconds (string) + * + */ + public Optional apicRefreshTime() { + return Optional.ofNullable(this.apicRefreshTime); + } + /** + * @return APIC subscription delay amount (string) + * + */ + public Optional apicSubscriptionDelay() { + return Optional.ofNullable(this.apicSubscriptionDelay); + } + /** + * @return APIC user certificate (string) + * + */ + public String apicUserCrt() { + return this.apicUserCrt; + } + /** + * @return APIC user key (string) + * + */ + public String apicUserKey() { + return this.apicUserKey; + } + /** + * @return APIC user name (string) + * + */ + public String apicUserName() { + return this.apicUserName; + } + /** + * @return cAPIC cloud (string) + * + */ + public Optional capic() { + return Optional.ofNullable(this.capic); + } + /** + * @return Log level for ACI controller (string) + * + */ + public Optional controllerLogLevel() { + return Optional.ofNullable(this.controllerLogLevel); + } + /** + * @return Whether to disable periodic SNAT global info sync (string) + * + */ + public Optional disablePeriodicSnatGlobalInfoSync() { + return Optional.ofNullable(this.disablePeriodicSnatGlobalInfoSync); + } + /** + * @return Whether to disable waiting for network (string) + * + */ + public Optional disableWaitForNetwork() { + return Optional.ofNullable(this.disableWaitForNetwork); + } + /** + * @return Whether to enable drop log (string) + * + */ + public Optional dropLogEnable() { + return Optional.ofNullable(this.dropLogEnable); + } + /** + * @return The duration to wait for network (string) + * + */ + public Optional durationWaitForNetwork() { + return Optional.ofNullable(this.durationWaitForNetwork); + } + /** + * @return Whether to enable endpoint slices (string) + * + */ + public Optional enableEndpointSlice() { + return Optional.ofNullable(this.enableEndpointSlice); + } + /** + * @return Encap type: vxlan or vlan (string) + * + */ + public String encapType() { + return this.encapType; + } + /** + * @return EP registry (string) + * + */ + public Optional epRegistry() { + return Optional.ofNullable(this.epRegistry); + } + /** + * @return Subnet to use for dynamic external IPs (string) + * + */ + public String externDynamic() { + return this.externDynamic; + } + /** + * @return Subnet to use for static external IPs (string) + * + */ + public String externStatic() { + return this.externStatic; + } + /** + * @return GBH pod subnet (string) + * + */ + public Optional gbpPodSubnet() { + return Optional.ofNullable(this.gbpPodSubnet); + } + /** + * @return Log level for ACI host agent (string) + * + */ + public Optional hostAgentLogLevel() { + return Optional.ofNullable(this.hostAgentLogLevel); + } + /** + * @return Image pull policy (string) + * + */ + public Optional imagePullPolicy() { + return Optional.ofNullable(this.imagePullPolicy); + } + /** + * @return Image pull policy (string) + * + */ + public Optional imagePullSecret() { + return Optional.ofNullable(this.imagePullSecret); + } + /** + * @return The VLAN used by ACI infra (string) + * + */ + public Optional infraVlan() { + return Optional.ofNullable(this.infraVlan); + } + /** + * @return Whether to install Istio (string) + * + */ + public Optional installIstio() { + return Optional.ofNullable(this.installIstio); + } + /** + * @return Istio profile name (string) + * + */ + public Optional istioProfile() { + return Optional.ofNullable(this.istioProfile); + } + /** + * @return List of Kafka broker hosts (list) + * + */ + public List kafkaBrokers() { + return this.kafkaBrokers == null ? List.of() : this.kafkaBrokers; + } + /** + * @return Kafka client certificate (string) + * + */ + public Optional kafkaClientCrt() { + return Optional.ofNullable(this.kafkaClientCrt); + } + /** + * @return Kafka client key (string) + * + */ + public Optional kafkaClientKey() { + return Optional.ofNullable(this.kafkaClientKey); + } + /** + * @return The VLAN used by the physdom for nodes (string) + * + */ + public String kubeApiVlan() { + return this.kubeApiVlan; + } + /** + * @return L3out (string) + * + */ + public String l3out() { + return this.l3out; + } + /** + * @return L3out external networks (list) + * + */ + public List l3outExternalNetworks() { + return this.l3outExternalNetworks; + } + /** + * @return Max nodes in service graph (string) + * + */ + public Optional maxNodesSvcGraph() { + return Optional.ofNullable(this.maxNodesSvcGraph); + } + /** + * @return End of mcast range (string) + * + */ + public String mcastRangeEnd() { + return this.mcastRangeEnd; + } + /** + * @return Start of mcast range (string) + * + */ + public String mcastRangeStart() { + return this.mcastRangeStart; + } + /** + * @return MTU head room amount (string) + * + */ + public Optional mtuHeadRoom() { + return Optional.ofNullable(this.mtuHeadRoom); + } + /** + * @return Whether to disable Multus (string) + * + */ + public Optional multusDisable() { + return Optional.ofNullable(this.multusDisable); + } + /** + * @return Whether to use priority class (string) + * + */ + public Optional noPriorityClass() { + return Optional.ofNullable(this.noPriorityClass); + } + /** + * @return Whether to enable node pod interface (string) + * + */ + public Optional nodePodIfEnable() { + return Optional.ofNullable(this.nodePodIfEnable); + } + /** + * @return Subnet to use for nodes (string) + * + */ + public String nodeSubnet() { + return this.nodeSubnet; + } + /** + * @return Subnet to use for service graph (string) + * + */ + public String nodeSvcSubnet() { + return this.nodeSvcSubnet; + } + /** + * @return Whether to use client SSL for Opflex (string) + * + */ + public Optional opflexClientSsl() { + return Optional.ofNullable(this.opflexClientSsl); + } + /** + * @return Opflex device delete timeout (string) + * + */ + public Optional opflexDeviceDeleteTimeout() { + return Optional.ofNullable(this.opflexDeviceDeleteTimeout); + } + /** + * @return Log level for ACI opflex (string) + * + */ + public Optional opflexLogLevel() { + return Optional.ofNullable(this.opflexLogLevel); + } + /** + * @return Opflex mode (string) + * + */ + public Optional opflexMode() { + return Optional.ofNullable(this.opflexMode); + } + /** + * @return Opflex server port (string) + * + */ + public Optional opflexServerPort() { + return Optional.ofNullable(this.opflexServerPort); + } + /** + * @return Overlay VRF name (string) + * + */ + public Optional overlayVrfName() { + return Optional.ofNullable(this.overlayVrfName); + } + /** + * @return OVS memory limit (string) + * + */ + public Optional ovsMemoryLimit() { + return Optional.ofNullable(this.ovsMemoryLimit); + } + /** + * @return Policy-based routing tracking non snat (string) + * + */ + public Optional pbrTrackingNonSnat() { + return Optional.ofNullable(this.pbrTrackingNonSnat); + } + /** + * @return Pod subnet chunk size (string) + * + */ + public Optional podSubnetChunkSize() { + return Optional.ofNullable(this.podSubnetChunkSize); + } + /** + * @return Whether to run GBP container (string) + * + */ + public Optional runGbpContainer() { + return Optional.ofNullable(this.runGbpContainer); + } + /** + * @return Whether to run Opflex server container (string) + * + */ + public Optional runOpflexServerContainer() { + return Optional.ofNullable(this.runOpflexServerContainer); + } + /** + * @return Service monitor interval (string) + * + */ + public Optional serviceMonitorInterval() { + return Optional.ofNullable(this.serviceMonitorInterval); + } + /** + * @return The VLAN used by LoadBalancer services (string) + * + */ + public String serviceVlan() { + return this.serviceVlan; + } + /** + * @return Snat contract scope (string) + * + */ + public Optional snatContractScope() { + return Optional.ofNullable(this.snatContractScope); + } + /** + * @return Snat namespace (string) + * + */ + public Optional snatNamespace() { + return Optional.ofNullable(this.snatNamespace); + } + /** + * @return End of snat port range (string) + * + */ + public Optional snatPortRangeEnd() { + return Optional.ofNullable(this.snatPortRangeEnd); + } + /** + * @return End of snat port range (string) + * + */ + public Optional snatPortRangeStart() { + return Optional.ofNullable(this.snatPortRangeStart); + } + /** + * @return Snat ports per node (string) + * + */ + public Optional snatPortsPerNode() { + return Optional.ofNullable(this.snatPortsPerNode); + } + /** + * @return Whether to enable SR-IOV (string) + * + */ + public Optional sriovEnable() { + return Optional.ofNullable(this.sriovEnable); + } + /** + * @return Subnet domain name (string) + * + */ + public Optional subnetDomainName() { + return Optional.ofNullable(this.subnetDomainName); + } + /** + * @return ACI system ID (string) + * + */ + public String systemId() { + return this.systemId; + } + /** + * @return ACI tenant (string) + * + */ + public Optional tenant() { + return Optional.ofNullable(this.tenant); + } + /** + * @return Token for cluster registration token object (string) + * + */ + public String token() { + return this.token; + } + /** + * @return Whether to use ACI anywhere CRD (string) + * + */ + public Optional useAciAnywhereCrd() { + return Optional.ofNullable(this.useAciAnywhereCrd); + } + /** + * @return Whether to use ACI CNI priority class (string) + * + */ + public Optional useAciCniPriorityClass() { + return Optional.ofNullable(this.useAciCniPriorityClass); + } + /** + * @return Whether to use cluster role (string) + * + */ + public Optional useClusterRole() { + return Optional.ofNullable(this.useClusterRole); + } + /** + * @return Whether to use host netns volume (string) + * + */ + public Optional useHostNetnsVolume() { + return Optional.ofNullable(this.useHostNetnsVolume); + } + /** + * @return Whether use Opflex server volume (string) + * + */ + public Optional useOpflexServerVolume() { + return Optional.ofNullable(this.useOpflexServerVolume); + } + /** + * @return Whether ACI containers should run as privileged (string) + * + */ + public Optional usePrivilegedContainer() { + return Optional.ofNullable(this.usePrivilegedContainer); + } + /** + * @return VMM controller configuration (string) + * + */ + public Optional vmmController() { + return Optional.ofNullable(this.vmmController); + } + /** + * @return VMM domain configuration (string) + * + */ + public Optional vmmDomain() { + return Optional.ofNullable(this.vmmDomain); + } + /** + * @return VRF name (string) + * + */ + public String vrfName() { + return this.vrfName; + } + /** + * @return VRF tenant (string) + * + */ + public String vrfTenant() { + return this.vrfTenant; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ClusterRkeConfigNetworkAciNetworkProvider defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String aep; + private List apicHosts; + private @Nullable String apicRefreshTickerAdjust; + private @Nullable String apicRefreshTime; + private @Nullable String apicSubscriptionDelay; + private String apicUserCrt; + private String apicUserKey; + private String apicUserName; + private @Nullable String capic; + private @Nullable String controllerLogLevel; + private @Nullable String disablePeriodicSnatGlobalInfoSync; + private @Nullable String disableWaitForNetwork; + private @Nullable String dropLogEnable; + private @Nullable String durationWaitForNetwork; + private @Nullable String enableEndpointSlice; + private String encapType; + private @Nullable String epRegistry; + private String externDynamic; + private String externStatic; + private @Nullable String gbpPodSubnet; + private @Nullable String hostAgentLogLevel; + private @Nullable String imagePullPolicy; + private @Nullable String imagePullSecret; + private @Nullable String infraVlan; + private @Nullable String installIstio; + private @Nullable String istioProfile; + private @Nullable List kafkaBrokers; + private @Nullable String kafkaClientCrt; + private @Nullable String kafkaClientKey; + private String kubeApiVlan; + private String l3out; + private List l3outExternalNetworks; + private @Nullable String maxNodesSvcGraph; + private String mcastRangeEnd; + private String mcastRangeStart; + private @Nullable String mtuHeadRoom; + private @Nullable String multusDisable; + private @Nullable String noPriorityClass; + private @Nullable String nodePodIfEnable; + private String nodeSubnet; + private String nodeSvcSubnet; + private @Nullable String opflexClientSsl; + private @Nullable String opflexDeviceDeleteTimeout; + private @Nullable String opflexLogLevel; + private @Nullable String opflexMode; + private @Nullable String opflexServerPort; + private @Nullable String overlayVrfName; + private @Nullable String ovsMemoryLimit; + private @Nullable String pbrTrackingNonSnat; + private @Nullable String podSubnetChunkSize; + private @Nullable String runGbpContainer; + private @Nullable String runOpflexServerContainer; + private @Nullable String serviceMonitorInterval; + private String serviceVlan; + private @Nullable String snatContractScope; + private @Nullable String snatNamespace; + private @Nullable String snatPortRangeEnd; + private @Nullable String snatPortRangeStart; + private @Nullable String snatPortsPerNode; + private @Nullable String sriovEnable; + private @Nullable String subnetDomainName; + private String systemId; + private @Nullable String tenant; + private String token; + private @Nullable String useAciAnywhereCrd; + private @Nullable String useAciCniPriorityClass; + private @Nullable String useClusterRole; + private @Nullable String useHostNetnsVolume; + private @Nullable String useOpflexServerVolume; + private @Nullable String usePrivilegedContainer; + private @Nullable String vmmController; + private @Nullable String vmmDomain; + private String vrfName; + private String vrfTenant; + public Builder() {} + public Builder(ClusterRkeConfigNetworkAciNetworkProvider defaults) { + Objects.requireNonNull(defaults); + this.aep = defaults.aep; + this.apicHosts = defaults.apicHosts; + this.apicRefreshTickerAdjust = defaults.apicRefreshTickerAdjust; + this.apicRefreshTime = defaults.apicRefreshTime; + this.apicSubscriptionDelay = defaults.apicSubscriptionDelay; + this.apicUserCrt = defaults.apicUserCrt; + this.apicUserKey = defaults.apicUserKey; + this.apicUserName = defaults.apicUserName; + this.capic = defaults.capic; + this.controllerLogLevel = defaults.controllerLogLevel; + this.disablePeriodicSnatGlobalInfoSync = defaults.disablePeriodicSnatGlobalInfoSync; + this.disableWaitForNetwork = defaults.disableWaitForNetwork; + this.dropLogEnable = defaults.dropLogEnable; + this.durationWaitForNetwork = defaults.durationWaitForNetwork; + this.enableEndpointSlice = defaults.enableEndpointSlice; + this.encapType = defaults.encapType; + this.epRegistry = defaults.epRegistry; + this.externDynamic = defaults.externDynamic; + this.externStatic = defaults.externStatic; + this.gbpPodSubnet = defaults.gbpPodSubnet; + this.hostAgentLogLevel = defaults.hostAgentLogLevel; + this.imagePullPolicy = defaults.imagePullPolicy; + this.imagePullSecret = defaults.imagePullSecret; + this.infraVlan = defaults.infraVlan; + this.installIstio = defaults.installIstio; + this.istioProfile = defaults.istioProfile; + this.kafkaBrokers = defaults.kafkaBrokers; + this.kafkaClientCrt = defaults.kafkaClientCrt; + this.kafkaClientKey = defaults.kafkaClientKey; + this.kubeApiVlan = defaults.kubeApiVlan; + this.l3out = defaults.l3out; + this.l3outExternalNetworks = defaults.l3outExternalNetworks; + this.maxNodesSvcGraph = defaults.maxNodesSvcGraph; + this.mcastRangeEnd = defaults.mcastRangeEnd; + this.mcastRangeStart = defaults.mcastRangeStart; + this.mtuHeadRoom = defaults.mtuHeadRoom; + this.multusDisable = defaults.multusDisable; + this.noPriorityClass = defaults.noPriorityClass; + this.nodePodIfEnable = defaults.nodePodIfEnable; + this.nodeSubnet = defaults.nodeSubnet; + this.nodeSvcSubnet = defaults.nodeSvcSubnet; + this.opflexClientSsl = defaults.opflexClientSsl; + this.opflexDeviceDeleteTimeout = defaults.opflexDeviceDeleteTimeout; + this.opflexLogLevel = defaults.opflexLogLevel; + this.opflexMode = defaults.opflexMode; + this.opflexServerPort = defaults.opflexServerPort; + this.overlayVrfName = defaults.overlayVrfName; + this.ovsMemoryLimit = defaults.ovsMemoryLimit; + this.pbrTrackingNonSnat = defaults.pbrTrackingNonSnat; + this.podSubnetChunkSize = defaults.podSubnetChunkSize; + this.runGbpContainer = defaults.runGbpContainer; + this.runOpflexServerContainer = defaults.runOpflexServerContainer; + this.serviceMonitorInterval = defaults.serviceMonitorInterval; + this.serviceVlan = defaults.serviceVlan; + this.snatContractScope = defaults.snatContractScope; + this.snatNamespace = defaults.snatNamespace; + this.snatPortRangeEnd = defaults.snatPortRangeEnd; + this.snatPortRangeStart = defaults.snatPortRangeStart; + this.snatPortsPerNode = defaults.snatPortsPerNode; + this.sriovEnable = defaults.sriovEnable; + this.subnetDomainName = defaults.subnetDomainName; + this.systemId = defaults.systemId; + this.tenant = defaults.tenant; + this.token = defaults.token; + this.useAciAnywhereCrd = defaults.useAciAnywhereCrd; + this.useAciCniPriorityClass = defaults.useAciCniPriorityClass; + this.useClusterRole = defaults.useClusterRole; + this.useHostNetnsVolume = defaults.useHostNetnsVolume; + this.useOpflexServerVolume = defaults.useOpflexServerVolume; + this.usePrivilegedContainer = defaults.usePrivilegedContainer; + this.vmmController = defaults.vmmController; + this.vmmDomain = defaults.vmmDomain; + this.vrfName = defaults.vrfName; + this.vrfTenant = defaults.vrfTenant; + } + + @CustomType.Setter + public Builder aep(String aep) { + this.aep = Objects.requireNonNull(aep); + return this; + } + @CustomType.Setter + public Builder apicHosts(List apicHosts) { + this.apicHosts = Objects.requireNonNull(apicHosts); + return this; + } + public Builder apicHosts(String... apicHosts) { + return apicHosts(List.of(apicHosts)); + } + @CustomType.Setter + public Builder apicRefreshTickerAdjust(@Nullable String apicRefreshTickerAdjust) { + this.apicRefreshTickerAdjust = apicRefreshTickerAdjust; + return this; + } + @CustomType.Setter + public Builder apicRefreshTime(@Nullable String apicRefreshTime) { + this.apicRefreshTime = apicRefreshTime; + return this; + } + @CustomType.Setter + public Builder apicSubscriptionDelay(@Nullable String apicSubscriptionDelay) { + this.apicSubscriptionDelay = apicSubscriptionDelay; + return this; + } + @CustomType.Setter + public Builder apicUserCrt(String apicUserCrt) { + this.apicUserCrt = Objects.requireNonNull(apicUserCrt); + return this; + } + @CustomType.Setter + public Builder apicUserKey(String apicUserKey) { + this.apicUserKey = Objects.requireNonNull(apicUserKey); + return this; + } + @CustomType.Setter + public Builder apicUserName(String apicUserName) { + this.apicUserName = Objects.requireNonNull(apicUserName); + return this; + } + @CustomType.Setter + public Builder capic(@Nullable String capic) { + this.capic = capic; + return this; + } + @CustomType.Setter + public Builder controllerLogLevel(@Nullable String controllerLogLevel) { + this.controllerLogLevel = controllerLogLevel; + return this; + } + @CustomType.Setter + public Builder disablePeriodicSnatGlobalInfoSync(@Nullable String disablePeriodicSnatGlobalInfoSync) { + this.disablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + return this; + } + @CustomType.Setter + public Builder disableWaitForNetwork(@Nullable String disableWaitForNetwork) { + this.disableWaitForNetwork = disableWaitForNetwork; + return this; + } + @CustomType.Setter + public Builder dropLogEnable(@Nullable String dropLogEnable) { + this.dropLogEnable = dropLogEnable; + return this; + } + @CustomType.Setter + public Builder durationWaitForNetwork(@Nullable String durationWaitForNetwork) { + this.durationWaitForNetwork = durationWaitForNetwork; + return this; + } + @CustomType.Setter + public Builder enableEndpointSlice(@Nullable String enableEndpointSlice) { + this.enableEndpointSlice = enableEndpointSlice; + return this; + } + @CustomType.Setter + public Builder encapType(String encapType) { + this.encapType = Objects.requireNonNull(encapType); + return this; + } + @CustomType.Setter + public Builder epRegistry(@Nullable String epRegistry) { + this.epRegistry = epRegistry; + return this; + } + @CustomType.Setter + public Builder externDynamic(String externDynamic) { + this.externDynamic = Objects.requireNonNull(externDynamic); + return this; + } + @CustomType.Setter + public Builder externStatic(String externStatic) { + this.externStatic = Objects.requireNonNull(externStatic); + return this; + } + @CustomType.Setter + public Builder gbpPodSubnet(@Nullable String gbpPodSubnet) { + this.gbpPodSubnet = gbpPodSubnet; + return this; + } + @CustomType.Setter + public Builder hostAgentLogLevel(@Nullable String hostAgentLogLevel) { + this.hostAgentLogLevel = hostAgentLogLevel; + return this; + } + @CustomType.Setter + public Builder imagePullPolicy(@Nullable String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + return this; + } + @CustomType.Setter + public Builder imagePullSecret(@Nullable String imagePullSecret) { + this.imagePullSecret = imagePullSecret; + return this; + } + @CustomType.Setter + public Builder infraVlan(@Nullable String infraVlan) { + this.infraVlan = infraVlan; + return this; + } + @CustomType.Setter + public Builder installIstio(@Nullable String installIstio) { + this.installIstio = installIstio; + return this; + } + @CustomType.Setter + public Builder istioProfile(@Nullable String istioProfile) { + this.istioProfile = istioProfile; + return this; + } + @CustomType.Setter + public Builder kafkaBrokers(@Nullable List kafkaBrokers) { + this.kafkaBrokers = kafkaBrokers; + return this; + } + public Builder kafkaBrokers(String... kafkaBrokers) { + return kafkaBrokers(List.of(kafkaBrokers)); + } + @CustomType.Setter + public Builder kafkaClientCrt(@Nullable String kafkaClientCrt) { + this.kafkaClientCrt = kafkaClientCrt; + return this; + } + @CustomType.Setter + public Builder kafkaClientKey(@Nullable String kafkaClientKey) { + this.kafkaClientKey = kafkaClientKey; + return this; + } + @CustomType.Setter + public Builder kubeApiVlan(String kubeApiVlan) { + this.kubeApiVlan = Objects.requireNonNull(kubeApiVlan); + return this; + } + @CustomType.Setter + public Builder l3out(String l3out) { + this.l3out = Objects.requireNonNull(l3out); + return this; + } + @CustomType.Setter + public Builder l3outExternalNetworks(List l3outExternalNetworks) { + this.l3outExternalNetworks = Objects.requireNonNull(l3outExternalNetworks); + return this; + } + public Builder l3outExternalNetworks(String... l3outExternalNetworks) { + return l3outExternalNetworks(List.of(l3outExternalNetworks)); + } + @CustomType.Setter + public Builder maxNodesSvcGraph(@Nullable String maxNodesSvcGraph) { + this.maxNodesSvcGraph = maxNodesSvcGraph; + return this; + } + @CustomType.Setter + public Builder mcastRangeEnd(String mcastRangeEnd) { + this.mcastRangeEnd = Objects.requireNonNull(mcastRangeEnd); + return this; + } + @CustomType.Setter + public Builder mcastRangeStart(String mcastRangeStart) { + this.mcastRangeStart = Objects.requireNonNull(mcastRangeStart); + return this; + } + @CustomType.Setter + public Builder mtuHeadRoom(@Nullable String mtuHeadRoom) { + this.mtuHeadRoom = mtuHeadRoom; + return this; + } + @CustomType.Setter + public Builder multusDisable(@Nullable String multusDisable) { + this.multusDisable = multusDisable; + return this; + } + @CustomType.Setter + public Builder noPriorityClass(@Nullable String noPriorityClass) { + this.noPriorityClass = noPriorityClass; + return this; + } + @CustomType.Setter + public Builder nodePodIfEnable(@Nullable String nodePodIfEnable) { + this.nodePodIfEnable = nodePodIfEnable; + return this; + } + @CustomType.Setter + public Builder nodeSubnet(String nodeSubnet) { + this.nodeSubnet = Objects.requireNonNull(nodeSubnet); + return this; + } + @CustomType.Setter + public Builder nodeSvcSubnet(String nodeSvcSubnet) { + this.nodeSvcSubnet = Objects.requireNonNull(nodeSvcSubnet); + return this; + } + @CustomType.Setter + public Builder opflexClientSsl(@Nullable String opflexClientSsl) { + this.opflexClientSsl = opflexClientSsl; + return this; + } + @CustomType.Setter + public Builder opflexDeviceDeleteTimeout(@Nullable String opflexDeviceDeleteTimeout) { + this.opflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + return this; + } + @CustomType.Setter + public Builder opflexLogLevel(@Nullable String opflexLogLevel) { + this.opflexLogLevel = opflexLogLevel; + return this; + } + @CustomType.Setter + public Builder opflexMode(@Nullable String opflexMode) { + this.opflexMode = opflexMode; + return this; + } + @CustomType.Setter + public Builder opflexServerPort(@Nullable String opflexServerPort) { + this.opflexServerPort = opflexServerPort; + return this; + } + @CustomType.Setter + public Builder overlayVrfName(@Nullable String overlayVrfName) { + this.overlayVrfName = overlayVrfName; + return this; + } + @CustomType.Setter + public Builder ovsMemoryLimit(@Nullable String ovsMemoryLimit) { + this.ovsMemoryLimit = ovsMemoryLimit; + return this; + } + @CustomType.Setter + public Builder pbrTrackingNonSnat(@Nullable String pbrTrackingNonSnat) { + this.pbrTrackingNonSnat = pbrTrackingNonSnat; + return this; + } + @CustomType.Setter + public Builder podSubnetChunkSize(@Nullable String podSubnetChunkSize) { + this.podSubnetChunkSize = podSubnetChunkSize; + return this; + } + @CustomType.Setter + public Builder runGbpContainer(@Nullable String runGbpContainer) { + this.runGbpContainer = runGbpContainer; + return this; + } + @CustomType.Setter + public Builder runOpflexServerContainer(@Nullable String runOpflexServerContainer) { + this.runOpflexServerContainer = runOpflexServerContainer; + return this; + } + @CustomType.Setter + public Builder serviceMonitorInterval(@Nullable String serviceMonitorInterval) { + this.serviceMonitorInterval = serviceMonitorInterval; + return this; + } + @CustomType.Setter + public Builder serviceVlan(String serviceVlan) { + this.serviceVlan = Objects.requireNonNull(serviceVlan); + return this; + } + @CustomType.Setter + public Builder snatContractScope(@Nullable String snatContractScope) { + this.snatContractScope = snatContractScope; + return this; + } + @CustomType.Setter + public Builder snatNamespace(@Nullable String snatNamespace) { + this.snatNamespace = snatNamespace; + return this; + } + @CustomType.Setter + public Builder snatPortRangeEnd(@Nullable String snatPortRangeEnd) { + this.snatPortRangeEnd = snatPortRangeEnd; + return this; + } + @CustomType.Setter + public Builder snatPortRangeStart(@Nullable String snatPortRangeStart) { + this.snatPortRangeStart = snatPortRangeStart; + return this; + } + @CustomType.Setter + public Builder snatPortsPerNode(@Nullable String snatPortsPerNode) { + this.snatPortsPerNode = snatPortsPerNode; + return this; + } + @CustomType.Setter + public Builder sriovEnable(@Nullable String sriovEnable) { + this.sriovEnable = sriovEnable; + return this; + } + @CustomType.Setter + public Builder subnetDomainName(@Nullable String subnetDomainName) { + this.subnetDomainName = subnetDomainName; + return this; + } + @CustomType.Setter + public Builder systemId(String systemId) { + this.systemId = Objects.requireNonNull(systemId); + return this; + } + @CustomType.Setter + public Builder tenant(@Nullable String tenant) { + this.tenant = tenant; + return this; + } + @CustomType.Setter + public Builder token(String token) { + this.token = Objects.requireNonNull(token); + return this; + } + @CustomType.Setter + public Builder useAciAnywhereCrd(@Nullable String useAciAnywhereCrd) { + this.useAciAnywhereCrd = useAciAnywhereCrd; + return this; + } + @CustomType.Setter + public Builder useAciCniPriorityClass(@Nullable String useAciCniPriorityClass) { + this.useAciCniPriorityClass = useAciCniPriorityClass; + return this; + } + @CustomType.Setter + public Builder useClusterRole(@Nullable String useClusterRole) { + this.useClusterRole = useClusterRole; + return this; + } + @CustomType.Setter + public Builder useHostNetnsVolume(@Nullable String useHostNetnsVolume) { + this.useHostNetnsVolume = useHostNetnsVolume; + return this; + } + @CustomType.Setter + public Builder useOpflexServerVolume(@Nullable String useOpflexServerVolume) { + this.useOpflexServerVolume = useOpflexServerVolume; + return this; + } + @CustomType.Setter + public Builder usePrivilegedContainer(@Nullable String usePrivilegedContainer) { + this.usePrivilegedContainer = usePrivilegedContainer; + return this; + } + @CustomType.Setter + public Builder vmmController(@Nullable String vmmController) { + this.vmmController = vmmController; + return this; + } + @CustomType.Setter + public Builder vmmDomain(@Nullable String vmmDomain) { + this.vmmDomain = vmmDomain; + return this; + } + @CustomType.Setter + public Builder vrfName(String vrfName) { + this.vrfName = Objects.requireNonNull(vrfName); + return this; + } + @CustomType.Setter + public Builder vrfTenant(String vrfTenant) { + this.vrfTenant = Objects.requireNonNull(vrfTenant); + return this; + } + public ClusterRkeConfigNetworkAciNetworkProvider build() { + final var o = new ClusterRkeConfigNetworkAciNetworkProvider(); + o.aep = aep; + o.apicHosts = apicHosts; + o.apicRefreshTickerAdjust = apicRefreshTickerAdjust; + o.apicRefreshTime = apicRefreshTime; + o.apicSubscriptionDelay = apicSubscriptionDelay; + o.apicUserCrt = apicUserCrt; + o.apicUserKey = apicUserKey; + o.apicUserName = apicUserName; + o.capic = capic; + o.controllerLogLevel = controllerLogLevel; + o.disablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + o.disableWaitForNetwork = disableWaitForNetwork; + o.dropLogEnable = dropLogEnable; + o.durationWaitForNetwork = durationWaitForNetwork; + o.enableEndpointSlice = enableEndpointSlice; + o.encapType = encapType; + o.epRegistry = epRegistry; + o.externDynamic = externDynamic; + o.externStatic = externStatic; + o.gbpPodSubnet = gbpPodSubnet; + o.hostAgentLogLevel = hostAgentLogLevel; + o.imagePullPolicy = imagePullPolicy; + o.imagePullSecret = imagePullSecret; + o.infraVlan = infraVlan; + o.installIstio = installIstio; + o.istioProfile = istioProfile; + o.kafkaBrokers = kafkaBrokers; + o.kafkaClientCrt = kafkaClientCrt; + o.kafkaClientKey = kafkaClientKey; + o.kubeApiVlan = kubeApiVlan; + o.l3out = l3out; + o.l3outExternalNetworks = l3outExternalNetworks; + o.maxNodesSvcGraph = maxNodesSvcGraph; + o.mcastRangeEnd = mcastRangeEnd; + o.mcastRangeStart = mcastRangeStart; + o.mtuHeadRoom = mtuHeadRoom; + o.multusDisable = multusDisable; + o.noPriorityClass = noPriorityClass; + o.nodePodIfEnable = nodePodIfEnable; + o.nodeSubnet = nodeSubnet; + o.nodeSvcSubnet = nodeSvcSubnet; + o.opflexClientSsl = opflexClientSsl; + o.opflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + o.opflexLogLevel = opflexLogLevel; + o.opflexMode = opflexMode; + o.opflexServerPort = opflexServerPort; + o.overlayVrfName = overlayVrfName; + o.ovsMemoryLimit = ovsMemoryLimit; + o.pbrTrackingNonSnat = pbrTrackingNonSnat; + o.podSubnetChunkSize = podSubnetChunkSize; + o.runGbpContainer = runGbpContainer; + o.runOpflexServerContainer = runOpflexServerContainer; + o.serviceMonitorInterval = serviceMonitorInterval; + o.serviceVlan = serviceVlan; + o.snatContractScope = snatContractScope; + o.snatNamespace = snatNamespace; + o.snatPortRangeEnd = snatPortRangeEnd; + o.snatPortRangeStart = snatPortRangeStart; + o.snatPortsPerNode = snatPortsPerNode; + o.sriovEnable = sriovEnable; + o.subnetDomainName = subnetDomainName; + o.systemId = systemId; + o.tenant = tenant; + o.token = token; + o.useAciAnywhereCrd = useAciAnywhereCrd; + o.useAciCniPriorityClass = useAciCniPriorityClass; + o.useClusterRole = useClusterRole; + o.useHostNetnsVolume = useHostNetnsVolume; + o.useOpflexServerVolume = useOpflexServerVolume; + o.usePrivilegedContainer = usePrivilegedContainer; + o.vmmController = vmmController; + o.vmmDomain = vmmDomain; + o.vrfName = vrfName; + o.vrfTenant = vrfTenant; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.java index c5588bd9f..6a5748ec2 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.java @@ -4,6 +4,7 @@ package com.pulumi.rancher2.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.rancher2.outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider; import com.pulumi.rancher2.outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider; import com.pulumi.rancher2.outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider; import com.pulumi.rancher2.outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider; @@ -20,6 +21,7 @@ @CustomType public final class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { + private @Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider aciNetworkProvider; private @Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider; private @Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider canalNetworkProvider; private @Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider flannelNetworkProvider; @@ -30,6 +32,9 @@ public final class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork private @Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider weaveNetworkProvider; private ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork() {} + public Optional aciNetworkProvider() { + return Optional.ofNullable(this.aciNetworkProvider); + } public Optional calicoNetworkProvider() { return Optional.ofNullable(this.calicoNetworkProvider); } @@ -64,6 +69,7 @@ public static Builder builder(ClusterTemplateTemplateRevisionClusterConfigRkeCon } @CustomType.Builder public static final class Builder { + private @Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider aciNetworkProvider; private @Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider; private @Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider canalNetworkProvider; private @Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider flannelNetworkProvider; @@ -75,6 +81,7 @@ public static final class Builder { public Builder() {} public Builder(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork defaults) { Objects.requireNonNull(defaults); + this.aciNetworkProvider = defaults.aciNetworkProvider; this.calicoNetworkProvider = defaults.calicoNetworkProvider; this.canalNetworkProvider = defaults.canalNetworkProvider; this.flannelNetworkProvider = defaults.flannelNetworkProvider; @@ -85,6 +92,11 @@ public Builder(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork defa this.weaveNetworkProvider = defaults.weaveNetworkProvider; } + @CustomType.Setter + public Builder aciNetworkProvider(@Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider aciNetworkProvider) { + this.aciNetworkProvider = aciNetworkProvider; + return this; + } @CustomType.Setter public Builder calicoNetworkProvider(@Nullable ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider) { this.calicoNetworkProvider = calicoNetworkProvider; @@ -130,6 +142,7 @@ public Builder weaveNetworkProvider(@Nullable ClusterTemplateTemplateRevisionClu } public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork build() { final var o = new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork(); + o.aciNetworkProvider = aciNetworkProvider; o.calicoNetworkProvider = calicoNetworkProvider; o.canalNetworkProvider = canalNetworkProvider; o.flannelNetworkProvider = flannelNetworkProvider; diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.java new file mode 100644 index 000000000..e2be52ded --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.java @@ -0,0 +1,934 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.rancher2.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { + private String aep; + private List apicHosts; + private @Nullable String apicRefreshTickerAdjust; + private @Nullable String apicRefreshTime; + private @Nullable String apicSubscriptionDelay; + private String apicUserCrt; + private String apicUserKey; + private String apicUserName; + private @Nullable String capic; + private @Nullable String controllerLogLevel; + private @Nullable String disablePeriodicSnatGlobalInfoSync; + private @Nullable String disableWaitForNetwork; + private @Nullable String dropLogEnable; + private @Nullable String durationWaitForNetwork; + private @Nullable String enableEndpointSlice; + private String encapType; + private @Nullable String epRegistry; + private String externDynamic; + private String externStatic; + private @Nullable String gbpPodSubnet; + private @Nullable String hostAgentLogLevel; + private @Nullable String imagePullPolicy; + private @Nullable String imagePullSecret; + private @Nullable String infraVlan; + private @Nullable String installIstio; + private @Nullable String istioProfile; + private @Nullable List kafkaBrokers; + private @Nullable String kafkaClientCrt; + private @Nullable String kafkaClientKey; + private String kubeApiVlan; + private String l3out; + private List l3outExternalNetworks; + private @Nullable String maxNodesSvcGraph; + private String mcastRangeEnd; + private String mcastRangeStart; + private @Nullable String mtuHeadRoom; + private @Nullable String multusDisable; + private @Nullable String noPriorityClass; + private @Nullable String nodePodIfEnable; + private String nodeSubnet; + private String nodeSvcSubnet; + private @Nullable String opflexClientSsl; + private @Nullable String opflexDeviceDeleteTimeout; + private @Nullable String opflexLogLevel; + private @Nullable String opflexMode; + private @Nullable String opflexServerPort; + private @Nullable String overlayVrfName; + private @Nullable String ovsMemoryLimit; + private @Nullable String pbrTrackingNonSnat; + private @Nullable String podSubnetChunkSize; + private @Nullable String runGbpContainer; + private @Nullable String runOpflexServerContainer; + private @Nullable String serviceMonitorInterval; + private String serviceVlan; + private @Nullable String snatContractScope; + private @Nullable String snatNamespace; + private @Nullable String snatPortRangeEnd; + private @Nullable String snatPortRangeStart; + private @Nullable String snatPortsPerNode; + private @Nullable String sriovEnable; + private @Nullable String subnetDomainName; + private String systemId; + private @Nullable String tenant; + private String token; + private @Nullable String useAciAnywhereCrd; + private @Nullable String useAciCniPriorityClass; + private @Nullable String useClusterRole; + private @Nullable String useHostNetnsVolume; + private @Nullable String useOpflexServerVolume; + private @Nullable String usePrivilegedContainer; + private @Nullable String vmmController; + private @Nullable String vmmDomain; + private String vrfName; + private String vrfTenant; + + private ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider() {} + public String aep() { + return this.aep; + } + public List apicHosts() { + return this.apicHosts; + } + public Optional apicRefreshTickerAdjust() { + return Optional.ofNullable(this.apicRefreshTickerAdjust); + } + public Optional apicRefreshTime() { + return Optional.ofNullable(this.apicRefreshTime); + } + public Optional apicSubscriptionDelay() { + return Optional.ofNullable(this.apicSubscriptionDelay); + } + public String apicUserCrt() { + return this.apicUserCrt; + } + public String apicUserKey() { + return this.apicUserKey; + } + public String apicUserName() { + return this.apicUserName; + } + public Optional capic() { + return Optional.ofNullable(this.capic); + } + public Optional controllerLogLevel() { + return Optional.ofNullable(this.controllerLogLevel); + } + public Optional disablePeriodicSnatGlobalInfoSync() { + return Optional.ofNullable(this.disablePeriodicSnatGlobalInfoSync); + } + public Optional disableWaitForNetwork() { + return Optional.ofNullable(this.disableWaitForNetwork); + } + public Optional dropLogEnable() { + return Optional.ofNullable(this.dropLogEnable); + } + public Optional durationWaitForNetwork() { + return Optional.ofNullable(this.durationWaitForNetwork); + } + public Optional enableEndpointSlice() { + return Optional.ofNullable(this.enableEndpointSlice); + } + public String encapType() { + return this.encapType; + } + public Optional epRegistry() { + return Optional.ofNullable(this.epRegistry); + } + public String externDynamic() { + return this.externDynamic; + } + public String externStatic() { + return this.externStatic; + } + public Optional gbpPodSubnet() { + return Optional.ofNullable(this.gbpPodSubnet); + } + public Optional hostAgentLogLevel() { + return Optional.ofNullable(this.hostAgentLogLevel); + } + public Optional imagePullPolicy() { + return Optional.ofNullable(this.imagePullPolicy); + } + public Optional imagePullSecret() { + return Optional.ofNullable(this.imagePullSecret); + } + public Optional infraVlan() { + return Optional.ofNullable(this.infraVlan); + } + public Optional installIstio() { + return Optional.ofNullable(this.installIstio); + } + public Optional istioProfile() { + return Optional.ofNullable(this.istioProfile); + } + public List kafkaBrokers() { + return this.kafkaBrokers == null ? List.of() : this.kafkaBrokers; + } + public Optional kafkaClientCrt() { + return Optional.ofNullable(this.kafkaClientCrt); + } + public Optional kafkaClientKey() { + return Optional.ofNullable(this.kafkaClientKey); + } + public String kubeApiVlan() { + return this.kubeApiVlan; + } + public String l3out() { + return this.l3out; + } + public List l3outExternalNetworks() { + return this.l3outExternalNetworks; + } + public Optional maxNodesSvcGraph() { + return Optional.ofNullable(this.maxNodesSvcGraph); + } + public String mcastRangeEnd() { + return this.mcastRangeEnd; + } + public String mcastRangeStart() { + return this.mcastRangeStart; + } + public Optional mtuHeadRoom() { + return Optional.ofNullable(this.mtuHeadRoom); + } + public Optional multusDisable() { + return Optional.ofNullable(this.multusDisable); + } + public Optional noPriorityClass() { + return Optional.ofNullable(this.noPriorityClass); + } + public Optional nodePodIfEnable() { + return Optional.ofNullable(this.nodePodIfEnable); + } + public String nodeSubnet() { + return this.nodeSubnet; + } + public String nodeSvcSubnet() { + return this.nodeSvcSubnet; + } + public Optional opflexClientSsl() { + return Optional.ofNullable(this.opflexClientSsl); + } + public Optional opflexDeviceDeleteTimeout() { + return Optional.ofNullable(this.opflexDeviceDeleteTimeout); + } + public Optional opflexLogLevel() { + return Optional.ofNullable(this.opflexLogLevel); + } + public Optional opflexMode() { + return Optional.ofNullable(this.opflexMode); + } + public Optional opflexServerPort() { + return Optional.ofNullable(this.opflexServerPort); + } + public Optional overlayVrfName() { + return Optional.ofNullable(this.overlayVrfName); + } + public Optional ovsMemoryLimit() { + return Optional.ofNullable(this.ovsMemoryLimit); + } + public Optional pbrTrackingNonSnat() { + return Optional.ofNullable(this.pbrTrackingNonSnat); + } + public Optional podSubnetChunkSize() { + return Optional.ofNullable(this.podSubnetChunkSize); + } + public Optional runGbpContainer() { + return Optional.ofNullable(this.runGbpContainer); + } + public Optional runOpflexServerContainer() { + return Optional.ofNullable(this.runOpflexServerContainer); + } + public Optional serviceMonitorInterval() { + return Optional.ofNullable(this.serviceMonitorInterval); + } + public String serviceVlan() { + return this.serviceVlan; + } + public Optional snatContractScope() { + return Optional.ofNullable(this.snatContractScope); + } + public Optional snatNamespace() { + return Optional.ofNullable(this.snatNamespace); + } + public Optional snatPortRangeEnd() { + return Optional.ofNullable(this.snatPortRangeEnd); + } + public Optional snatPortRangeStart() { + return Optional.ofNullable(this.snatPortRangeStart); + } + public Optional snatPortsPerNode() { + return Optional.ofNullable(this.snatPortsPerNode); + } + public Optional sriovEnable() { + return Optional.ofNullable(this.sriovEnable); + } + public Optional subnetDomainName() { + return Optional.ofNullable(this.subnetDomainName); + } + public String systemId() { + return this.systemId; + } + public Optional tenant() { + return Optional.ofNullable(this.tenant); + } + public String token() { + return this.token; + } + public Optional useAciAnywhereCrd() { + return Optional.ofNullable(this.useAciAnywhereCrd); + } + public Optional useAciCniPriorityClass() { + return Optional.ofNullable(this.useAciCniPriorityClass); + } + public Optional useClusterRole() { + return Optional.ofNullable(this.useClusterRole); + } + public Optional useHostNetnsVolume() { + return Optional.ofNullable(this.useHostNetnsVolume); + } + public Optional useOpflexServerVolume() { + return Optional.ofNullable(this.useOpflexServerVolume); + } + public Optional usePrivilegedContainer() { + return Optional.ofNullable(this.usePrivilegedContainer); + } + public Optional vmmController() { + return Optional.ofNullable(this.vmmController); + } + public Optional vmmDomain() { + return Optional.ofNullable(this.vmmDomain); + } + public String vrfName() { + return this.vrfName; + } + public String vrfTenant() { + return this.vrfTenant; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String aep; + private List apicHosts; + private @Nullable String apicRefreshTickerAdjust; + private @Nullable String apicRefreshTime; + private @Nullable String apicSubscriptionDelay; + private String apicUserCrt; + private String apicUserKey; + private String apicUserName; + private @Nullable String capic; + private @Nullable String controllerLogLevel; + private @Nullable String disablePeriodicSnatGlobalInfoSync; + private @Nullable String disableWaitForNetwork; + private @Nullable String dropLogEnable; + private @Nullable String durationWaitForNetwork; + private @Nullable String enableEndpointSlice; + private String encapType; + private @Nullable String epRegistry; + private String externDynamic; + private String externStatic; + private @Nullable String gbpPodSubnet; + private @Nullable String hostAgentLogLevel; + private @Nullable String imagePullPolicy; + private @Nullable String imagePullSecret; + private @Nullable String infraVlan; + private @Nullable String installIstio; + private @Nullable String istioProfile; + private @Nullable List kafkaBrokers; + private @Nullable String kafkaClientCrt; + private @Nullable String kafkaClientKey; + private String kubeApiVlan; + private String l3out; + private List l3outExternalNetworks; + private @Nullable String maxNodesSvcGraph; + private String mcastRangeEnd; + private String mcastRangeStart; + private @Nullable String mtuHeadRoom; + private @Nullable String multusDisable; + private @Nullable String noPriorityClass; + private @Nullable String nodePodIfEnable; + private String nodeSubnet; + private String nodeSvcSubnet; + private @Nullable String opflexClientSsl; + private @Nullable String opflexDeviceDeleteTimeout; + private @Nullable String opflexLogLevel; + private @Nullable String opflexMode; + private @Nullable String opflexServerPort; + private @Nullable String overlayVrfName; + private @Nullable String ovsMemoryLimit; + private @Nullable String pbrTrackingNonSnat; + private @Nullable String podSubnetChunkSize; + private @Nullable String runGbpContainer; + private @Nullable String runOpflexServerContainer; + private @Nullable String serviceMonitorInterval; + private String serviceVlan; + private @Nullable String snatContractScope; + private @Nullable String snatNamespace; + private @Nullable String snatPortRangeEnd; + private @Nullable String snatPortRangeStart; + private @Nullable String snatPortsPerNode; + private @Nullable String sriovEnable; + private @Nullable String subnetDomainName; + private String systemId; + private @Nullable String tenant; + private String token; + private @Nullable String useAciAnywhereCrd; + private @Nullable String useAciCniPriorityClass; + private @Nullable String useClusterRole; + private @Nullable String useHostNetnsVolume; + private @Nullable String useOpflexServerVolume; + private @Nullable String usePrivilegedContainer; + private @Nullable String vmmController; + private @Nullable String vmmDomain; + private String vrfName; + private String vrfTenant; + public Builder() {} + public Builder(ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider defaults) { + Objects.requireNonNull(defaults); + this.aep = defaults.aep; + this.apicHosts = defaults.apicHosts; + this.apicRefreshTickerAdjust = defaults.apicRefreshTickerAdjust; + this.apicRefreshTime = defaults.apicRefreshTime; + this.apicSubscriptionDelay = defaults.apicSubscriptionDelay; + this.apicUserCrt = defaults.apicUserCrt; + this.apicUserKey = defaults.apicUserKey; + this.apicUserName = defaults.apicUserName; + this.capic = defaults.capic; + this.controllerLogLevel = defaults.controllerLogLevel; + this.disablePeriodicSnatGlobalInfoSync = defaults.disablePeriodicSnatGlobalInfoSync; + this.disableWaitForNetwork = defaults.disableWaitForNetwork; + this.dropLogEnable = defaults.dropLogEnable; + this.durationWaitForNetwork = defaults.durationWaitForNetwork; + this.enableEndpointSlice = defaults.enableEndpointSlice; + this.encapType = defaults.encapType; + this.epRegistry = defaults.epRegistry; + this.externDynamic = defaults.externDynamic; + this.externStatic = defaults.externStatic; + this.gbpPodSubnet = defaults.gbpPodSubnet; + this.hostAgentLogLevel = defaults.hostAgentLogLevel; + this.imagePullPolicy = defaults.imagePullPolicy; + this.imagePullSecret = defaults.imagePullSecret; + this.infraVlan = defaults.infraVlan; + this.installIstio = defaults.installIstio; + this.istioProfile = defaults.istioProfile; + this.kafkaBrokers = defaults.kafkaBrokers; + this.kafkaClientCrt = defaults.kafkaClientCrt; + this.kafkaClientKey = defaults.kafkaClientKey; + this.kubeApiVlan = defaults.kubeApiVlan; + this.l3out = defaults.l3out; + this.l3outExternalNetworks = defaults.l3outExternalNetworks; + this.maxNodesSvcGraph = defaults.maxNodesSvcGraph; + this.mcastRangeEnd = defaults.mcastRangeEnd; + this.mcastRangeStart = defaults.mcastRangeStart; + this.mtuHeadRoom = defaults.mtuHeadRoom; + this.multusDisable = defaults.multusDisable; + this.noPriorityClass = defaults.noPriorityClass; + this.nodePodIfEnable = defaults.nodePodIfEnable; + this.nodeSubnet = defaults.nodeSubnet; + this.nodeSvcSubnet = defaults.nodeSvcSubnet; + this.opflexClientSsl = defaults.opflexClientSsl; + this.opflexDeviceDeleteTimeout = defaults.opflexDeviceDeleteTimeout; + this.opflexLogLevel = defaults.opflexLogLevel; + this.opflexMode = defaults.opflexMode; + this.opflexServerPort = defaults.opflexServerPort; + this.overlayVrfName = defaults.overlayVrfName; + this.ovsMemoryLimit = defaults.ovsMemoryLimit; + this.pbrTrackingNonSnat = defaults.pbrTrackingNonSnat; + this.podSubnetChunkSize = defaults.podSubnetChunkSize; + this.runGbpContainer = defaults.runGbpContainer; + this.runOpflexServerContainer = defaults.runOpflexServerContainer; + this.serviceMonitorInterval = defaults.serviceMonitorInterval; + this.serviceVlan = defaults.serviceVlan; + this.snatContractScope = defaults.snatContractScope; + this.snatNamespace = defaults.snatNamespace; + this.snatPortRangeEnd = defaults.snatPortRangeEnd; + this.snatPortRangeStart = defaults.snatPortRangeStart; + this.snatPortsPerNode = defaults.snatPortsPerNode; + this.sriovEnable = defaults.sriovEnable; + this.subnetDomainName = defaults.subnetDomainName; + this.systemId = defaults.systemId; + this.tenant = defaults.tenant; + this.token = defaults.token; + this.useAciAnywhereCrd = defaults.useAciAnywhereCrd; + this.useAciCniPriorityClass = defaults.useAciCniPriorityClass; + this.useClusterRole = defaults.useClusterRole; + this.useHostNetnsVolume = defaults.useHostNetnsVolume; + this.useOpflexServerVolume = defaults.useOpflexServerVolume; + this.usePrivilegedContainer = defaults.usePrivilegedContainer; + this.vmmController = defaults.vmmController; + this.vmmDomain = defaults.vmmDomain; + this.vrfName = defaults.vrfName; + this.vrfTenant = defaults.vrfTenant; + } + + @CustomType.Setter + public Builder aep(String aep) { + this.aep = Objects.requireNonNull(aep); + return this; + } + @CustomType.Setter + public Builder apicHosts(List apicHosts) { + this.apicHosts = Objects.requireNonNull(apicHosts); + return this; + } + public Builder apicHosts(String... apicHosts) { + return apicHosts(List.of(apicHosts)); + } + @CustomType.Setter + public Builder apicRefreshTickerAdjust(@Nullable String apicRefreshTickerAdjust) { + this.apicRefreshTickerAdjust = apicRefreshTickerAdjust; + return this; + } + @CustomType.Setter + public Builder apicRefreshTime(@Nullable String apicRefreshTime) { + this.apicRefreshTime = apicRefreshTime; + return this; + } + @CustomType.Setter + public Builder apicSubscriptionDelay(@Nullable String apicSubscriptionDelay) { + this.apicSubscriptionDelay = apicSubscriptionDelay; + return this; + } + @CustomType.Setter + public Builder apicUserCrt(String apicUserCrt) { + this.apicUserCrt = Objects.requireNonNull(apicUserCrt); + return this; + } + @CustomType.Setter + public Builder apicUserKey(String apicUserKey) { + this.apicUserKey = Objects.requireNonNull(apicUserKey); + return this; + } + @CustomType.Setter + public Builder apicUserName(String apicUserName) { + this.apicUserName = Objects.requireNonNull(apicUserName); + return this; + } + @CustomType.Setter + public Builder capic(@Nullable String capic) { + this.capic = capic; + return this; + } + @CustomType.Setter + public Builder controllerLogLevel(@Nullable String controllerLogLevel) { + this.controllerLogLevel = controllerLogLevel; + return this; + } + @CustomType.Setter + public Builder disablePeriodicSnatGlobalInfoSync(@Nullable String disablePeriodicSnatGlobalInfoSync) { + this.disablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + return this; + } + @CustomType.Setter + public Builder disableWaitForNetwork(@Nullable String disableWaitForNetwork) { + this.disableWaitForNetwork = disableWaitForNetwork; + return this; + } + @CustomType.Setter + public Builder dropLogEnable(@Nullable String dropLogEnable) { + this.dropLogEnable = dropLogEnable; + return this; + } + @CustomType.Setter + public Builder durationWaitForNetwork(@Nullable String durationWaitForNetwork) { + this.durationWaitForNetwork = durationWaitForNetwork; + return this; + } + @CustomType.Setter + public Builder enableEndpointSlice(@Nullable String enableEndpointSlice) { + this.enableEndpointSlice = enableEndpointSlice; + return this; + } + @CustomType.Setter + public Builder encapType(String encapType) { + this.encapType = Objects.requireNonNull(encapType); + return this; + } + @CustomType.Setter + public Builder epRegistry(@Nullable String epRegistry) { + this.epRegistry = epRegistry; + return this; + } + @CustomType.Setter + public Builder externDynamic(String externDynamic) { + this.externDynamic = Objects.requireNonNull(externDynamic); + return this; + } + @CustomType.Setter + public Builder externStatic(String externStatic) { + this.externStatic = Objects.requireNonNull(externStatic); + return this; + } + @CustomType.Setter + public Builder gbpPodSubnet(@Nullable String gbpPodSubnet) { + this.gbpPodSubnet = gbpPodSubnet; + return this; + } + @CustomType.Setter + public Builder hostAgentLogLevel(@Nullable String hostAgentLogLevel) { + this.hostAgentLogLevel = hostAgentLogLevel; + return this; + } + @CustomType.Setter + public Builder imagePullPolicy(@Nullable String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + return this; + } + @CustomType.Setter + public Builder imagePullSecret(@Nullable String imagePullSecret) { + this.imagePullSecret = imagePullSecret; + return this; + } + @CustomType.Setter + public Builder infraVlan(@Nullable String infraVlan) { + this.infraVlan = infraVlan; + return this; + } + @CustomType.Setter + public Builder installIstio(@Nullable String installIstio) { + this.installIstio = installIstio; + return this; + } + @CustomType.Setter + public Builder istioProfile(@Nullable String istioProfile) { + this.istioProfile = istioProfile; + return this; + } + @CustomType.Setter + public Builder kafkaBrokers(@Nullable List kafkaBrokers) { + this.kafkaBrokers = kafkaBrokers; + return this; + } + public Builder kafkaBrokers(String... kafkaBrokers) { + return kafkaBrokers(List.of(kafkaBrokers)); + } + @CustomType.Setter + public Builder kafkaClientCrt(@Nullable String kafkaClientCrt) { + this.kafkaClientCrt = kafkaClientCrt; + return this; + } + @CustomType.Setter + public Builder kafkaClientKey(@Nullable String kafkaClientKey) { + this.kafkaClientKey = kafkaClientKey; + return this; + } + @CustomType.Setter + public Builder kubeApiVlan(String kubeApiVlan) { + this.kubeApiVlan = Objects.requireNonNull(kubeApiVlan); + return this; + } + @CustomType.Setter + public Builder l3out(String l3out) { + this.l3out = Objects.requireNonNull(l3out); + return this; + } + @CustomType.Setter + public Builder l3outExternalNetworks(List l3outExternalNetworks) { + this.l3outExternalNetworks = Objects.requireNonNull(l3outExternalNetworks); + return this; + } + public Builder l3outExternalNetworks(String... l3outExternalNetworks) { + return l3outExternalNetworks(List.of(l3outExternalNetworks)); + } + @CustomType.Setter + public Builder maxNodesSvcGraph(@Nullable String maxNodesSvcGraph) { + this.maxNodesSvcGraph = maxNodesSvcGraph; + return this; + } + @CustomType.Setter + public Builder mcastRangeEnd(String mcastRangeEnd) { + this.mcastRangeEnd = Objects.requireNonNull(mcastRangeEnd); + return this; + } + @CustomType.Setter + public Builder mcastRangeStart(String mcastRangeStart) { + this.mcastRangeStart = Objects.requireNonNull(mcastRangeStart); + return this; + } + @CustomType.Setter + public Builder mtuHeadRoom(@Nullable String mtuHeadRoom) { + this.mtuHeadRoom = mtuHeadRoom; + return this; + } + @CustomType.Setter + public Builder multusDisable(@Nullable String multusDisable) { + this.multusDisable = multusDisable; + return this; + } + @CustomType.Setter + public Builder noPriorityClass(@Nullable String noPriorityClass) { + this.noPriorityClass = noPriorityClass; + return this; + } + @CustomType.Setter + public Builder nodePodIfEnable(@Nullable String nodePodIfEnable) { + this.nodePodIfEnable = nodePodIfEnable; + return this; + } + @CustomType.Setter + public Builder nodeSubnet(String nodeSubnet) { + this.nodeSubnet = Objects.requireNonNull(nodeSubnet); + return this; + } + @CustomType.Setter + public Builder nodeSvcSubnet(String nodeSvcSubnet) { + this.nodeSvcSubnet = Objects.requireNonNull(nodeSvcSubnet); + return this; + } + @CustomType.Setter + public Builder opflexClientSsl(@Nullable String opflexClientSsl) { + this.opflexClientSsl = opflexClientSsl; + return this; + } + @CustomType.Setter + public Builder opflexDeviceDeleteTimeout(@Nullable String opflexDeviceDeleteTimeout) { + this.opflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + return this; + } + @CustomType.Setter + public Builder opflexLogLevel(@Nullable String opflexLogLevel) { + this.opflexLogLevel = opflexLogLevel; + return this; + } + @CustomType.Setter + public Builder opflexMode(@Nullable String opflexMode) { + this.opflexMode = opflexMode; + return this; + } + @CustomType.Setter + public Builder opflexServerPort(@Nullable String opflexServerPort) { + this.opflexServerPort = opflexServerPort; + return this; + } + @CustomType.Setter + public Builder overlayVrfName(@Nullable String overlayVrfName) { + this.overlayVrfName = overlayVrfName; + return this; + } + @CustomType.Setter + public Builder ovsMemoryLimit(@Nullable String ovsMemoryLimit) { + this.ovsMemoryLimit = ovsMemoryLimit; + return this; + } + @CustomType.Setter + public Builder pbrTrackingNonSnat(@Nullable String pbrTrackingNonSnat) { + this.pbrTrackingNonSnat = pbrTrackingNonSnat; + return this; + } + @CustomType.Setter + public Builder podSubnetChunkSize(@Nullable String podSubnetChunkSize) { + this.podSubnetChunkSize = podSubnetChunkSize; + return this; + } + @CustomType.Setter + public Builder runGbpContainer(@Nullable String runGbpContainer) { + this.runGbpContainer = runGbpContainer; + return this; + } + @CustomType.Setter + public Builder runOpflexServerContainer(@Nullable String runOpflexServerContainer) { + this.runOpflexServerContainer = runOpflexServerContainer; + return this; + } + @CustomType.Setter + public Builder serviceMonitorInterval(@Nullable String serviceMonitorInterval) { + this.serviceMonitorInterval = serviceMonitorInterval; + return this; + } + @CustomType.Setter + public Builder serviceVlan(String serviceVlan) { + this.serviceVlan = Objects.requireNonNull(serviceVlan); + return this; + } + @CustomType.Setter + public Builder snatContractScope(@Nullable String snatContractScope) { + this.snatContractScope = snatContractScope; + return this; + } + @CustomType.Setter + public Builder snatNamespace(@Nullable String snatNamespace) { + this.snatNamespace = snatNamespace; + return this; + } + @CustomType.Setter + public Builder snatPortRangeEnd(@Nullable String snatPortRangeEnd) { + this.snatPortRangeEnd = snatPortRangeEnd; + return this; + } + @CustomType.Setter + public Builder snatPortRangeStart(@Nullable String snatPortRangeStart) { + this.snatPortRangeStart = snatPortRangeStart; + return this; + } + @CustomType.Setter + public Builder snatPortsPerNode(@Nullable String snatPortsPerNode) { + this.snatPortsPerNode = snatPortsPerNode; + return this; + } + @CustomType.Setter + public Builder sriovEnable(@Nullable String sriovEnable) { + this.sriovEnable = sriovEnable; + return this; + } + @CustomType.Setter + public Builder subnetDomainName(@Nullable String subnetDomainName) { + this.subnetDomainName = subnetDomainName; + return this; + } + @CustomType.Setter + public Builder systemId(String systemId) { + this.systemId = Objects.requireNonNull(systemId); + return this; + } + @CustomType.Setter + public Builder tenant(@Nullable String tenant) { + this.tenant = tenant; + return this; + } + @CustomType.Setter + public Builder token(String token) { + this.token = Objects.requireNonNull(token); + return this; + } + @CustomType.Setter + public Builder useAciAnywhereCrd(@Nullable String useAciAnywhereCrd) { + this.useAciAnywhereCrd = useAciAnywhereCrd; + return this; + } + @CustomType.Setter + public Builder useAciCniPriorityClass(@Nullable String useAciCniPriorityClass) { + this.useAciCniPriorityClass = useAciCniPriorityClass; + return this; + } + @CustomType.Setter + public Builder useClusterRole(@Nullable String useClusterRole) { + this.useClusterRole = useClusterRole; + return this; + } + @CustomType.Setter + public Builder useHostNetnsVolume(@Nullable String useHostNetnsVolume) { + this.useHostNetnsVolume = useHostNetnsVolume; + return this; + } + @CustomType.Setter + public Builder useOpflexServerVolume(@Nullable String useOpflexServerVolume) { + this.useOpflexServerVolume = useOpflexServerVolume; + return this; + } + @CustomType.Setter + public Builder usePrivilegedContainer(@Nullable String usePrivilegedContainer) { + this.usePrivilegedContainer = usePrivilegedContainer; + return this; + } + @CustomType.Setter + public Builder vmmController(@Nullable String vmmController) { + this.vmmController = vmmController; + return this; + } + @CustomType.Setter + public Builder vmmDomain(@Nullable String vmmDomain) { + this.vmmDomain = vmmDomain; + return this; + } + @CustomType.Setter + public Builder vrfName(String vrfName) { + this.vrfName = Objects.requireNonNull(vrfName); + return this; + } + @CustomType.Setter + public Builder vrfTenant(String vrfTenant) { + this.vrfTenant = Objects.requireNonNull(vrfTenant); + return this; + } + public ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider build() { + final var o = new ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider(); + o.aep = aep; + o.apicHosts = apicHosts; + o.apicRefreshTickerAdjust = apicRefreshTickerAdjust; + o.apicRefreshTime = apicRefreshTime; + o.apicSubscriptionDelay = apicSubscriptionDelay; + o.apicUserCrt = apicUserCrt; + o.apicUserKey = apicUserKey; + o.apicUserName = apicUserName; + o.capic = capic; + o.controllerLogLevel = controllerLogLevel; + o.disablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + o.disableWaitForNetwork = disableWaitForNetwork; + o.dropLogEnable = dropLogEnable; + o.durationWaitForNetwork = durationWaitForNetwork; + o.enableEndpointSlice = enableEndpointSlice; + o.encapType = encapType; + o.epRegistry = epRegistry; + o.externDynamic = externDynamic; + o.externStatic = externStatic; + o.gbpPodSubnet = gbpPodSubnet; + o.hostAgentLogLevel = hostAgentLogLevel; + o.imagePullPolicy = imagePullPolicy; + o.imagePullSecret = imagePullSecret; + o.infraVlan = infraVlan; + o.installIstio = installIstio; + o.istioProfile = istioProfile; + o.kafkaBrokers = kafkaBrokers; + o.kafkaClientCrt = kafkaClientCrt; + o.kafkaClientKey = kafkaClientKey; + o.kubeApiVlan = kubeApiVlan; + o.l3out = l3out; + o.l3outExternalNetworks = l3outExternalNetworks; + o.maxNodesSvcGraph = maxNodesSvcGraph; + o.mcastRangeEnd = mcastRangeEnd; + o.mcastRangeStart = mcastRangeStart; + o.mtuHeadRoom = mtuHeadRoom; + o.multusDisable = multusDisable; + o.noPriorityClass = noPriorityClass; + o.nodePodIfEnable = nodePodIfEnable; + o.nodeSubnet = nodeSubnet; + o.nodeSvcSubnet = nodeSvcSubnet; + o.opflexClientSsl = opflexClientSsl; + o.opflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + o.opflexLogLevel = opflexLogLevel; + o.opflexMode = opflexMode; + o.opflexServerPort = opflexServerPort; + o.overlayVrfName = overlayVrfName; + o.ovsMemoryLimit = ovsMemoryLimit; + o.pbrTrackingNonSnat = pbrTrackingNonSnat; + o.podSubnetChunkSize = podSubnetChunkSize; + o.runGbpContainer = runGbpContainer; + o.runOpflexServerContainer = runOpflexServerContainer; + o.serviceMonitorInterval = serviceMonitorInterval; + o.serviceVlan = serviceVlan; + o.snatContractScope = snatContractScope; + o.snatNamespace = snatNamespace; + o.snatPortRangeEnd = snatPortRangeEnd; + o.snatPortRangeStart = snatPortRangeStart; + o.snatPortsPerNode = snatPortsPerNode; + o.sriovEnable = sriovEnable; + o.subnetDomainName = subnetDomainName; + o.systemId = systemId; + o.tenant = tenant; + o.token = token; + o.useAciAnywhereCrd = useAciAnywhereCrd; + o.useAciCniPriorityClass = useAciCniPriorityClass; + o.useClusterRole = useClusterRole; + o.useHostNetnsVolume = useHostNetnsVolume; + o.useOpflexServerVolume = useOpflexServerVolume; + o.usePrivilegedContainer = usePrivilegedContainer; + o.vmmController = vmmController; + o.vmmDomain = vmmDomain; + o.vrfName = vrfName; + o.vrfTenant = vrfTenant; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterV2RkeConfigMachinePool.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterV2RkeConfigMachinePool.java index 122d53a0b..671e6bf89 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterV2RkeConfigMachinePool.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/ClusterV2RkeConfigMachinePool.java @@ -54,6 +54,11 @@ public final class ClusterV2RkeConfigMachinePool { * */ private ClusterV2RkeConfigMachinePoolMachineConfig machineConfig; + /** + * @return Labels for Machine pool nodes (map) + * + */ + private @Nullable Map machineLabels; /** * @return Max unhealthy nodes for automated replacement to be allowed (string) * @@ -160,6 +165,13 @@ public Map labels() { public ClusterV2RkeConfigMachinePoolMachineConfig machineConfig() { return this.machineConfig; } + /** + * @return Labels for Machine pool nodes (map) + * + */ + public Map machineLabels() { + return this.machineLabels == null ? Map.of() : this.machineLabels; + } /** * @return Max unhealthy nodes for automated replacement to be allowed (string) * @@ -254,6 +266,7 @@ public static final class Builder { private @Nullable Boolean etcdRole; private @Nullable Map labels; private ClusterV2RkeConfigMachinePoolMachineConfig machineConfig; + private @Nullable Map machineLabels; private @Nullable String maxUnhealthy; private String name; private @Nullable Integer nodeDrainTimeout; @@ -275,6 +288,7 @@ public Builder(ClusterV2RkeConfigMachinePool defaults) { this.etcdRole = defaults.etcdRole; this.labels = defaults.labels; this.machineConfig = defaults.machineConfig; + this.machineLabels = defaults.machineLabels; this.maxUnhealthy = defaults.maxUnhealthy; this.name = defaults.name; this.nodeDrainTimeout = defaults.nodeDrainTimeout; @@ -324,6 +338,11 @@ public Builder machineConfig(ClusterV2RkeConfigMachinePoolMachineConfig machineC return this; } @CustomType.Setter + public Builder machineLabels(@Nullable Map machineLabels) { + this.machineLabels = machineLabels; + return this; + } + @CustomType.Setter public Builder maxUnhealthy(@Nullable String maxUnhealthy) { this.maxUnhealthy = maxUnhealthy; return this; @@ -390,6 +409,7 @@ public ClusterV2RkeConfigMachinePool build() { o.etcdRole = etcdRole; o.labels = labels; o.machineConfig = machineConfig; + o.machineLabels = machineLabels; o.maxUnhealthy = maxUnhealthy; o.name = name; o.nodeDrainTimeout = nodeDrainTimeout; diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterRkeConfigNetwork.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterRkeConfigNetwork.java index abbd432a6..247f5b4a6 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterRkeConfigNetwork.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterRkeConfigNetwork.java @@ -4,6 +4,7 @@ package com.pulumi.rancher2.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.rancher2.outputs.GetClusterRkeConfigNetworkAciNetworkProvider; import com.pulumi.rancher2.outputs.GetClusterRkeConfigNetworkCalicoNetworkProvider; import com.pulumi.rancher2.outputs.GetClusterRkeConfigNetworkCanalNetworkProvider; import com.pulumi.rancher2.outputs.GetClusterRkeConfigNetworkFlannelNetworkProvider; @@ -20,6 +21,7 @@ @CustomType public final class GetClusterRkeConfigNetwork { + private @Nullable GetClusterRkeConfigNetworkAciNetworkProvider aciNetworkProvider; private @Nullable GetClusterRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider; private @Nullable GetClusterRkeConfigNetworkCanalNetworkProvider canalNetworkProvider; private @Nullable GetClusterRkeConfigNetworkFlannelNetworkProvider flannelNetworkProvider; @@ -30,6 +32,9 @@ public final class GetClusterRkeConfigNetwork { private @Nullable GetClusterRkeConfigNetworkWeaveNetworkProvider weaveNetworkProvider; private GetClusterRkeConfigNetwork() {} + public Optional aciNetworkProvider() { + return Optional.ofNullable(this.aciNetworkProvider); + } public Optional calicoNetworkProvider() { return Optional.ofNullable(this.calicoNetworkProvider); } @@ -64,6 +69,7 @@ public static Builder builder(GetClusterRkeConfigNetwork defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable GetClusterRkeConfigNetworkAciNetworkProvider aciNetworkProvider; private @Nullable GetClusterRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider; private @Nullable GetClusterRkeConfigNetworkCanalNetworkProvider canalNetworkProvider; private @Nullable GetClusterRkeConfigNetworkFlannelNetworkProvider flannelNetworkProvider; @@ -75,6 +81,7 @@ public static final class Builder { public Builder() {} public Builder(GetClusterRkeConfigNetwork defaults) { Objects.requireNonNull(defaults); + this.aciNetworkProvider = defaults.aciNetworkProvider; this.calicoNetworkProvider = defaults.calicoNetworkProvider; this.canalNetworkProvider = defaults.canalNetworkProvider; this.flannelNetworkProvider = defaults.flannelNetworkProvider; @@ -85,6 +92,11 @@ public Builder(GetClusterRkeConfigNetwork defaults) { this.weaveNetworkProvider = defaults.weaveNetworkProvider; } + @CustomType.Setter + public Builder aciNetworkProvider(@Nullable GetClusterRkeConfigNetworkAciNetworkProvider aciNetworkProvider) { + this.aciNetworkProvider = aciNetworkProvider; + return this; + } @CustomType.Setter public Builder calicoNetworkProvider(@Nullable GetClusterRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider) { this.calicoNetworkProvider = calicoNetworkProvider; @@ -130,6 +142,7 @@ public Builder weaveNetworkProvider(@Nullable GetClusterRkeConfigNetworkWeaveNet } public GetClusterRkeConfigNetwork build() { final var o = new GetClusterRkeConfigNetwork(); + o.aciNetworkProvider = aciNetworkProvider; o.calicoNetworkProvider = calicoNetworkProvider; o.canalNetworkProvider = canalNetworkProvider; o.flannelNetworkProvider = flannelNetworkProvider; diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterRkeConfigNetworkAciNetworkProvider.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterRkeConfigNetworkAciNetworkProvider.java new file mode 100644 index 000000000..ac2760ba9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterRkeConfigNetworkAciNetworkProvider.java @@ -0,0 +1,934 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.rancher2.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetClusterRkeConfigNetworkAciNetworkProvider { + private String aep; + private List apicHosts; + private @Nullable String apicRefreshTickerAdjust; + private @Nullable String apicRefreshTime; + private @Nullable String apicSubscriptionDelay; + private String apicUserCrt; + private String apicUserKey; + private String apicUserName; + private @Nullable String capic; + private @Nullable String controllerLogLevel; + private @Nullable String disablePeriodicSnatGlobalInfoSync; + private @Nullable String disableWaitForNetwork; + private @Nullable String dropLogEnable; + private @Nullable String durationWaitForNetwork; + private @Nullable String enableEndpointSlice; + private String encapType; + private @Nullable String epRegistry; + private String externDynamic; + private String externStatic; + private @Nullable String gbpPodSubnet; + private @Nullable String hostAgentLogLevel; + private @Nullable String imagePullPolicy; + private @Nullable String imagePullSecret; + private @Nullable String infraVlan; + private @Nullable String installIstio; + private @Nullable String istioProfile; + private @Nullable List kafkaBrokers; + private @Nullable String kafkaClientCrt; + private @Nullable String kafkaClientKey; + private String kubeApiVlan; + private String l3out; + private List l3outExternalNetworks; + private @Nullable String maxNodesSvcGraph; + private String mcastRangeEnd; + private String mcastRangeStart; + private @Nullable String mtuHeadRoom; + private @Nullable String multusDisable; + private @Nullable String noPriorityClass; + private @Nullable String nodePodIfEnable; + private String nodeSubnet; + private String nodeSvcSubnet; + private @Nullable String opflexClientSsl; + private @Nullable String opflexDeviceDeleteTimeout; + private @Nullable String opflexLogLevel; + private @Nullable String opflexMode; + private @Nullable String opflexServerPort; + private @Nullable String overlayVrfName; + private @Nullable String ovsMemoryLimit; + private @Nullable String pbrTrackingNonSnat; + private @Nullable String podSubnetChunkSize; + private @Nullable String runGbpContainer; + private @Nullable String runOpflexServerContainer; + private @Nullable String serviceMonitorInterval; + private String serviceVlan; + private @Nullable String snatContractScope; + private @Nullable String snatNamespace; + private @Nullable String snatPortRangeEnd; + private @Nullable String snatPortRangeStart; + private @Nullable String snatPortsPerNode; + private @Nullable String sriovEnable; + private @Nullable String subnetDomainName; + private String systemId; + private @Nullable String tenant; + private String token; + private @Nullable String useAciAnywhereCrd; + private @Nullable String useAciCniPriorityClass; + private @Nullable String useClusterRole; + private @Nullable String useHostNetnsVolume; + private @Nullable String useOpflexServerVolume; + private @Nullable String usePrivilegedContainer; + private @Nullable String vmmController; + private @Nullable String vmmDomain; + private String vrfName; + private String vrfTenant; + + private GetClusterRkeConfigNetworkAciNetworkProvider() {} + public String aep() { + return this.aep; + } + public List apicHosts() { + return this.apicHosts; + } + public Optional apicRefreshTickerAdjust() { + return Optional.ofNullable(this.apicRefreshTickerAdjust); + } + public Optional apicRefreshTime() { + return Optional.ofNullable(this.apicRefreshTime); + } + public Optional apicSubscriptionDelay() { + return Optional.ofNullable(this.apicSubscriptionDelay); + } + public String apicUserCrt() { + return this.apicUserCrt; + } + public String apicUserKey() { + return this.apicUserKey; + } + public String apicUserName() { + return this.apicUserName; + } + public Optional capic() { + return Optional.ofNullable(this.capic); + } + public Optional controllerLogLevel() { + return Optional.ofNullable(this.controllerLogLevel); + } + public Optional disablePeriodicSnatGlobalInfoSync() { + return Optional.ofNullable(this.disablePeriodicSnatGlobalInfoSync); + } + public Optional disableWaitForNetwork() { + return Optional.ofNullable(this.disableWaitForNetwork); + } + public Optional dropLogEnable() { + return Optional.ofNullable(this.dropLogEnable); + } + public Optional durationWaitForNetwork() { + return Optional.ofNullable(this.durationWaitForNetwork); + } + public Optional enableEndpointSlice() { + return Optional.ofNullable(this.enableEndpointSlice); + } + public String encapType() { + return this.encapType; + } + public Optional epRegistry() { + return Optional.ofNullable(this.epRegistry); + } + public String externDynamic() { + return this.externDynamic; + } + public String externStatic() { + return this.externStatic; + } + public Optional gbpPodSubnet() { + return Optional.ofNullable(this.gbpPodSubnet); + } + public Optional hostAgentLogLevel() { + return Optional.ofNullable(this.hostAgentLogLevel); + } + public Optional imagePullPolicy() { + return Optional.ofNullable(this.imagePullPolicy); + } + public Optional imagePullSecret() { + return Optional.ofNullable(this.imagePullSecret); + } + public Optional infraVlan() { + return Optional.ofNullable(this.infraVlan); + } + public Optional installIstio() { + return Optional.ofNullable(this.installIstio); + } + public Optional istioProfile() { + return Optional.ofNullable(this.istioProfile); + } + public List kafkaBrokers() { + return this.kafkaBrokers == null ? List.of() : this.kafkaBrokers; + } + public Optional kafkaClientCrt() { + return Optional.ofNullable(this.kafkaClientCrt); + } + public Optional kafkaClientKey() { + return Optional.ofNullable(this.kafkaClientKey); + } + public String kubeApiVlan() { + return this.kubeApiVlan; + } + public String l3out() { + return this.l3out; + } + public List l3outExternalNetworks() { + return this.l3outExternalNetworks; + } + public Optional maxNodesSvcGraph() { + return Optional.ofNullable(this.maxNodesSvcGraph); + } + public String mcastRangeEnd() { + return this.mcastRangeEnd; + } + public String mcastRangeStart() { + return this.mcastRangeStart; + } + public Optional mtuHeadRoom() { + return Optional.ofNullable(this.mtuHeadRoom); + } + public Optional multusDisable() { + return Optional.ofNullable(this.multusDisable); + } + public Optional noPriorityClass() { + return Optional.ofNullable(this.noPriorityClass); + } + public Optional nodePodIfEnable() { + return Optional.ofNullable(this.nodePodIfEnable); + } + public String nodeSubnet() { + return this.nodeSubnet; + } + public String nodeSvcSubnet() { + return this.nodeSvcSubnet; + } + public Optional opflexClientSsl() { + return Optional.ofNullable(this.opflexClientSsl); + } + public Optional opflexDeviceDeleteTimeout() { + return Optional.ofNullable(this.opflexDeviceDeleteTimeout); + } + public Optional opflexLogLevel() { + return Optional.ofNullable(this.opflexLogLevel); + } + public Optional opflexMode() { + return Optional.ofNullable(this.opflexMode); + } + public Optional opflexServerPort() { + return Optional.ofNullable(this.opflexServerPort); + } + public Optional overlayVrfName() { + return Optional.ofNullable(this.overlayVrfName); + } + public Optional ovsMemoryLimit() { + return Optional.ofNullable(this.ovsMemoryLimit); + } + public Optional pbrTrackingNonSnat() { + return Optional.ofNullable(this.pbrTrackingNonSnat); + } + public Optional podSubnetChunkSize() { + return Optional.ofNullable(this.podSubnetChunkSize); + } + public Optional runGbpContainer() { + return Optional.ofNullable(this.runGbpContainer); + } + public Optional runOpflexServerContainer() { + return Optional.ofNullable(this.runOpflexServerContainer); + } + public Optional serviceMonitorInterval() { + return Optional.ofNullable(this.serviceMonitorInterval); + } + public String serviceVlan() { + return this.serviceVlan; + } + public Optional snatContractScope() { + return Optional.ofNullable(this.snatContractScope); + } + public Optional snatNamespace() { + return Optional.ofNullable(this.snatNamespace); + } + public Optional snatPortRangeEnd() { + return Optional.ofNullable(this.snatPortRangeEnd); + } + public Optional snatPortRangeStart() { + return Optional.ofNullable(this.snatPortRangeStart); + } + public Optional snatPortsPerNode() { + return Optional.ofNullable(this.snatPortsPerNode); + } + public Optional sriovEnable() { + return Optional.ofNullable(this.sriovEnable); + } + public Optional subnetDomainName() { + return Optional.ofNullable(this.subnetDomainName); + } + public String systemId() { + return this.systemId; + } + public Optional tenant() { + return Optional.ofNullable(this.tenant); + } + public String token() { + return this.token; + } + public Optional useAciAnywhereCrd() { + return Optional.ofNullable(this.useAciAnywhereCrd); + } + public Optional useAciCniPriorityClass() { + return Optional.ofNullable(this.useAciCniPriorityClass); + } + public Optional useClusterRole() { + return Optional.ofNullable(this.useClusterRole); + } + public Optional useHostNetnsVolume() { + return Optional.ofNullable(this.useHostNetnsVolume); + } + public Optional useOpflexServerVolume() { + return Optional.ofNullable(this.useOpflexServerVolume); + } + public Optional usePrivilegedContainer() { + return Optional.ofNullable(this.usePrivilegedContainer); + } + public Optional vmmController() { + return Optional.ofNullable(this.vmmController); + } + public Optional vmmDomain() { + return Optional.ofNullable(this.vmmDomain); + } + public String vrfName() { + return this.vrfName; + } + public String vrfTenant() { + return this.vrfTenant; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetClusterRkeConfigNetworkAciNetworkProvider defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String aep; + private List apicHosts; + private @Nullable String apicRefreshTickerAdjust; + private @Nullable String apicRefreshTime; + private @Nullable String apicSubscriptionDelay; + private String apicUserCrt; + private String apicUserKey; + private String apicUserName; + private @Nullable String capic; + private @Nullable String controllerLogLevel; + private @Nullable String disablePeriodicSnatGlobalInfoSync; + private @Nullable String disableWaitForNetwork; + private @Nullable String dropLogEnable; + private @Nullable String durationWaitForNetwork; + private @Nullable String enableEndpointSlice; + private String encapType; + private @Nullable String epRegistry; + private String externDynamic; + private String externStatic; + private @Nullable String gbpPodSubnet; + private @Nullable String hostAgentLogLevel; + private @Nullable String imagePullPolicy; + private @Nullable String imagePullSecret; + private @Nullable String infraVlan; + private @Nullable String installIstio; + private @Nullable String istioProfile; + private @Nullable List kafkaBrokers; + private @Nullable String kafkaClientCrt; + private @Nullable String kafkaClientKey; + private String kubeApiVlan; + private String l3out; + private List l3outExternalNetworks; + private @Nullable String maxNodesSvcGraph; + private String mcastRangeEnd; + private String mcastRangeStart; + private @Nullable String mtuHeadRoom; + private @Nullable String multusDisable; + private @Nullable String noPriorityClass; + private @Nullable String nodePodIfEnable; + private String nodeSubnet; + private String nodeSvcSubnet; + private @Nullable String opflexClientSsl; + private @Nullable String opflexDeviceDeleteTimeout; + private @Nullable String opflexLogLevel; + private @Nullable String opflexMode; + private @Nullable String opflexServerPort; + private @Nullable String overlayVrfName; + private @Nullable String ovsMemoryLimit; + private @Nullable String pbrTrackingNonSnat; + private @Nullable String podSubnetChunkSize; + private @Nullable String runGbpContainer; + private @Nullable String runOpflexServerContainer; + private @Nullable String serviceMonitorInterval; + private String serviceVlan; + private @Nullable String snatContractScope; + private @Nullable String snatNamespace; + private @Nullable String snatPortRangeEnd; + private @Nullable String snatPortRangeStart; + private @Nullable String snatPortsPerNode; + private @Nullable String sriovEnable; + private @Nullable String subnetDomainName; + private String systemId; + private @Nullable String tenant; + private String token; + private @Nullable String useAciAnywhereCrd; + private @Nullable String useAciCniPriorityClass; + private @Nullable String useClusterRole; + private @Nullable String useHostNetnsVolume; + private @Nullable String useOpflexServerVolume; + private @Nullable String usePrivilegedContainer; + private @Nullable String vmmController; + private @Nullable String vmmDomain; + private String vrfName; + private String vrfTenant; + public Builder() {} + public Builder(GetClusterRkeConfigNetworkAciNetworkProvider defaults) { + Objects.requireNonNull(defaults); + this.aep = defaults.aep; + this.apicHosts = defaults.apicHosts; + this.apicRefreshTickerAdjust = defaults.apicRefreshTickerAdjust; + this.apicRefreshTime = defaults.apicRefreshTime; + this.apicSubscriptionDelay = defaults.apicSubscriptionDelay; + this.apicUserCrt = defaults.apicUserCrt; + this.apicUserKey = defaults.apicUserKey; + this.apicUserName = defaults.apicUserName; + this.capic = defaults.capic; + this.controllerLogLevel = defaults.controllerLogLevel; + this.disablePeriodicSnatGlobalInfoSync = defaults.disablePeriodicSnatGlobalInfoSync; + this.disableWaitForNetwork = defaults.disableWaitForNetwork; + this.dropLogEnable = defaults.dropLogEnable; + this.durationWaitForNetwork = defaults.durationWaitForNetwork; + this.enableEndpointSlice = defaults.enableEndpointSlice; + this.encapType = defaults.encapType; + this.epRegistry = defaults.epRegistry; + this.externDynamic = defaults.externDynamic; + this.externStatic = defaults.externStatic; + this.gbpPodSubnet = defaults.gbpPodSubnet; + this.hostAgentLogLevel = defaults.hostAgentLogLevel; + this.imagePullPolicy = defaults.imagePullPolicy; + this.imagePullSecret = defaults.imagePullSecret; + this.infraVlan = defaults.infraVlan; + this.installIstio = defaults.installIstio; + this.istioProfile = defaults.istioProfile; + this.kafkaBrokers = defaults.kafkaBrokers; + this.kafkaClientCrt = defaults.kafkaClientCrt; + this.kafkaClientKey = defaults.kafkaClientKey; + this.kubeApiVlan = defaults.kubeApiVlan; + this.l3out = defaults.l3out; + this.l3outExternalNetworks = defaults.l3outExternalNetworks; + this.maxNodesSvcGraph = defaults.maxNodesSvcGraph; + this.mcastRangeEnd = defaults.mcastRangeEnd; + this.mcastRangeStart = defaults.mcastRangeStart; + this.mtuHeadRoom = defaults.mtuHeadRoom; + this.multusDisable = defaults.multusDisable; + this.noPriorityClass = defaults.noPriorityClass; + this.nodePodIfEnable = defaults.nodePodIfEnable; + this.nodeSubnet = defaults.nodeSubnet; + this.nodeSvcSubnet = defaults.nodeSvcSubnet; + this.opflexClientSsl = defaults.opflexClientSsl; + this.opflexDeviceDeleteTimeout = defaults.opflexDeviceDeleteTimeout; + this.opflexLogLevel = defaults.opflexLogLevel; + this.opflexMode = defaults.opflexMode; + this.opflexServerPort = defaults.opflexServerPort; + this.overlayVrfName = defaults.overlayVrfName; + this.ovsMemoryLimit = defaults.ovsMemoryLimit; + this.pbrTrackingNonSnat = defaults.pbrTrackingNonSnat; + this.podSubnetChunkSize = defaults.podSubnetChunkSize; + this.runGbpContainer = defaults.runGbpContainer; + this.runOpflexServerContainer = defaults.runOpflexServerContainer; + this.serviceMonitorInterval = defaults.serviceMonitorInterval; + this.serviceVlan = defaults.serviceVlan; + this.snatContractScope = defaults.snatContractScope; + this.snatNamespace = defaults.snatNamespace; + this.snatPortRangeEnd = defaults.snatPortRangeEnd; + this.snatPortRangeStart = defaults.snatPortRangeStart; + this.snatPortsPerNode = defaults.snatPortsPerNode; + this.sriovEnable = defaults.sriovEnable; + this.subnetDomainName = defaults.subnetDomainName; + this.systemId = defaults.systemId; + this.tenant = defaults.tenant; + this.token = defaults.token; + this.useAciAnywhereCrd = defaults.useAciAnywhereCrd; + this.useAciCniPriorityClass = defaults.useAciCniPriorityClass; + this.useClusterRole = defaults.useClusterRole; + this.useHostNetnsVolume = defaults.useHostNetnsVolume; + this.useOpflexServerVolume = defaults.useOpflexServerVolume; + this.usePrivilegedContainer = defaults.usePrivilegedContainer; + this.vmmController = defaults.vmmController; + this.vmmDomain = defaults.vmmDomain; + this.vrfName = defaults.vrfName; + this.vrfTenant = defaults.vrfTenant; + } + + @CustomType.Setter + public Builder aep(String aep) { + this.aep = Objects.requireNonNull(aep); + return this; + } + @CustomType.Setter + public Builder apicHosts(List apicHosts) { + this.apicHosts = Objects.requireNonNull(apicHosts); + return this; + } + public Builder apicHosts(String... apicHosts) { + return apicHosts(List.of(apicHosts)); + } + @CustomType.Setter + public Builder apicRefreshTickerAdjust(@Nullable String apicRefreshTickerAdjust) { + this.apicRefreshTickerAdjust = apicRefreshTickerAdjust; + return this; + } + @CustomType.Setter + public Builder apicRefreshTime(@Nullable String apicRefreshTime) { + this.apicRefreshTime = apicRefreshTime; + return this; + } + @CustomType.Setter + public Builder apicSubscriptionDelay(@Nullable String apicSubscriptionDelay) { + this.apicSubscriptionDelay = apicSubscriptionDelay; + return this; + } + @CustomType.Setter + public Builder apicUserCrt(String apicUserCrt) { + this.apicUserCrt = Objects.requireNonNull(apicUserCrt); + return this; + } + @CustomType.Setter + public Builder apicUserKey(String apicUserKey) { + this.apicUserKey = Objects.requireNonNull(apicUserKey); + return this; + } + @CustomType.Setter + public Builder apicUserName(String apicUserName) { + this.apicUserName = Objects.requireNonNull(apicUserName); + return this; + } + @CustomType.Setter + public Builder capic(@Nullable String capic) { + this.capic = capic; + return this; + } + @CustomType.Setter + public Builder controllerLogLevel(@Nullable String controllerLogLevel) { + this.controllerLogLevel = controllerLogLevel; + return this; + } + @CustomType.Setter + public Builder disablePeriodicSnatGlobalInfoSync(@Nullable String disablePeriodicSnatGlobalInfoSync) { + this.disablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + return this; + } + @CustomType.Setter + public Builder disableWaitForNetwork(@Nullable String disableWaitForNetwork) { + this.disableWaitForNetwork = disableWaitForNetwork; + return this; + } + @CustomType.Setter + public Builder dropLogEnable(@Nullable String dropLogEnable) { + this.dropLogEnable = dropLogEnable; + return this; + } + @CustomType.Setter + public Builder durationWaitForNetwork(@Nullable String durationWaitForNetwork) { + this.durationWaitForNetwork = durationWaitForNetwork; + return this; + } + @CustomType.Setter + public Builder enableEndpointSlice(@Nullable String enableEndpointSlice) { + this.enableEndpointSlice = enableEndpointSlice; + return this; + } + @CustomType.Setter + public Builder encapType(String encapType) { + this.encapType = Objects.requireNonNull(encapType); + return this; + } + @CustomType.Setter + public Builder epRegistry(@Nullable String epRegistry) { + this.epRegistry = epRegistry; + return this; + } + @CustomType.Setter + public Builder externDynamic(String externDynamic) { + this.externDynamic = Objects.requireNonNull(externDynamic); + return this; + } + @CustomType.Setter + public Builder externStatic(String externStatic) { + this.externStatic = Objects.requireNonNull(externStatic); + return this; + } + @CustomType.Setter + public Builder gbpPodSubnet(@Nullable String gbpPodSubnet) { + this.gbpPodSubnet = gbpPodSubnet; + return this; + } + @CustomType.Setter + public Builder hostAgentLogLevel(@Nullable String hostAgentLogLevel) { + this.hostAgentLogLevel = hostAgentLogLevel; + return this; + } + @CustomType.Setter + public Builder imagePullPolicy(@Nullable String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + return this; + } + @CustomType.Setter + public Builder imagePullSecret(@Nullable String imagePullSecret) { + this.imagePullSecret = imagePullSecret; + return this; + } + @CustomType.Setter + public Builder infraVlan(@Nullable String infraVlan) { + this.infraVlan = infraVlan; + return this; + } + @CustomType.Setter + public Builder installIstio(@Nullable String installIstio) { + this.installIstio = installIstio; + return this; + } + @CustomType.Setter + public Builder istioProfile(@Nullable String istioProfile) { + this.istioProfile = istioProfile; + return this; + } + @CustomType.Setter + public Builder kafkaBrokers(@Nullable List kafkaBrokers) { + this.kafkaBrokers = kafkaBrokers; + return this; + } + public Builder kafkaBrokers(String... kafkaBrokers) { + return kafkaBrokers(List.of(kafkaBrokers)); + } + @CustomType.Setter + public Builder kafkaClientCrt(@Nullable String kafkaClientCrt) { + this.kafkaClientCrt = kafkaClientCrt; + return this; + } + @CustomType.Setter + public Builder kafkaClientKey(@Nullable String kafkaClientKey) { + this.kafkaClientKey = kafkaClientKey; + return this; + } + @CustomType.Setter + public Builder kubeApiVlan(String kubeApiVlan) { + this.kubeApiVlan = Objects.requireNonNull(kubeApiVlan); + return this; + } + @CustomType.Setter + public Builder l3out(String l3out) { + this.l3out = Objects.requireNonNull(l3out); + return this; + } + @CustomType.Setter + public Builder l3outExternalNetworks(List l3outExternalNetworks) { + this.l3outExternalNetworks = Objects.requireNonNull(l3outExternalNetworks); + return this; + } + public Builder l3outExternalNetworks(String... l3outExternalNetworks) { + return l3outExternalNetworks(List.of(l3outExternalNetworks)); + } + @CustomType.Setter + public Builder maxNodesSvcGraph(@Nullable String maxNodesSvcGraph) { + this.maxNodesSvcGraph = maxNodesSvcGraph; + return this; + } + @CustomType.Setter + public Builder mcastRangeEnd(String mcastRangeEnd) { + this.mcastRangeEnd = Objects.requireNonNull(mcastRangeEnd); + return this; + } + @CustomType.Setter + public Builder mcastRangeStart(String mcastRangeStart) { + this.mcastRangeStart = Objects.requireNonNull(mcastRangeStart); + return this; + } + @CustomType.Setter + public Builder mtuHeadRoom(@Nullable String mtuHeadRoom) { + this.mtuHeadRoom = mtuHeadRoom; + return this; + } + @CustomType.Setter + public Builder multusDisable(@Nullable String multusDisable) { + this.multusDisable = multusDisable; + return this; + } + @CustomType.Setter + public Builder noPriorityClass(@Nullable String noPriorityClass) { + this.noPriorityClass = noPriorityClass; + return this; + } + @CustomType.Setter + public Builder nodePodIfEnable(@Nullable String nodePodIfEnable) { + this.nodePodIfEnable = nodePodIfEnable; + return this; + } + @CustomType.Setter + public Builder nodeSubnet(String nodeSubnet) { + this.nodeSubnet = Objects.requireNonNull(nodeSubnet); + return this; + } + @CustomType.Setter + public Builder nodeSvcSubnet(String nodeSvcSubnet) { + this.nodeSvcSubnet = Objects.requireNonNull(nodeSvcSubnet); + return this; + } + @CustomType.Setter + public Builder opflexClientSsl(@Nullable String opflexClientSsl) { + this.opflexClientSsl = opflexClientSsl; + return this; + } + @CustomType.Setter + public Builder opflexDeviceDeleteTimeout(@Nullable String opflexDeviceDeleteTimeout) { + this.opflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + return this; + } + @CustomType.Setter + public Builder opflexLogLevel(@Nullable String opflexLogLevel) { + this.opflexLogLevel = opflexLogLevel; + return this; + } + @CustomType.Setter + public Builder opflexMode(@Nullable String opflexMode) { + this.opflexMode = opflexMode; + return this; + } + @CustomType.Setter + public Builder opflexServerPort(@Nullable String opflexServerPort) { + this.opflexServerPort = opflexServerPort; + return this; + } + @CustomType.Setter + public Builder overlayVrfName(@Nullable String overlayVrfName) { + this.overlayVrfName = overlayVrfName; + return this; + } + @CustomType.Setter + public Builder ovsMemoryLimit(@Nullable String ovsMemoryLimit) { + this.ovsMemoryLimit = ovsMemoryLimit; + return this; + } + @CustomType.Setter + public Builder pbrTrackingNonSnat(@Nullable String pbrTrackingNonSnat) { + this.pbrTrackingNonSnat = pbrTrackingNonSnat; + return this; + } + @CustomType.Setter + public Builder podSubnetChunkSize(@Nullable String podSubnetChunkSize) { + this.podSubnetChunkSize = podSubnetChunkSize; + return this; + } + @CustomType.Setter + public Builder runGbpContainer(@Nullable String runGbpContainer) { + this.runGbpContainer = runGbpContainer; + return this; + } + @CustomType.Setter + public Builder runOpflexServerContainer(@Nullable String runOpflexServerContainer) { + this.runOpflexServerContainer = runOpflexServerContainer; + return this; + } + @CustomType.Setter + public Builder serviceMonitorInterval(@Nullable String serviceMonitorInterval) { + this.serviceMonitorInterval = serviceMonitorInterval; + return this; + } + @CustomType.Setter + public Builder serviceVlan(String serviceVlan) { + this.serviceVlan = Objects.requireNonNull(serviceVlan); + return this; + } + @CustomType.Setter + public Builder snatContractScope(@Nullable String snatContractScope) { + this.snatContractScope = snatContractScope; + return this; + } + @CustomType.Setter + public Builder snatNamespace(@Nullable String snatNamespace) { + this.snatNamespace = snatNamespace; + return this; + } + @CustomType.Setter + public Builder snatPortRangeEnd(@Nullable String snatPortRangeEnd) { + this.snatPortRangeEnd = snatPortRangeEnd; + return this; + } + @CustomType.Setter + public Builder snatPortRangeStart(@Nullable String snatPortRangeStart) { + this.snatPortRangeStart = snatPortRangeStart; + return this; + } + @CustomType.Setter + public Builder snatPortsPerNode(@Nullable String snatPortsPerNode) { + this.snatPortsPerNode = snatPortsPerNode; + return this; + } + @CustomType.Setter + public Builder sriovEnable(@Nullable String sriovEnable) { + this.sriovEnable = sriovEnable; + return this; + } + @CustomType.Setter + public Builder subnetDomainName(@Nullable String subnetDomainName) { + this.subnetDomainName = subnetDomainName; + return this; + } + @CustomType.Setter + public Builder systemId(String systemId) { + this.systemId = Objects.requireNonNull(systemId); + return this; + } + @CustomType.Setter + public Builder tenant(@Nullable String tenant) { + this.tenant = tenant; + return this; + } + @CustomType.Setter + public Builder token(String token) { + this.token = Objects.requireNonNull(token); + return this; + } + @CustomType.Setter + public Builder useAciAnywhereCrd(@Nullable String useAciAnywhereCrd) { + this.useAciAnywhereCrd = useAciAnywhereCrd; + return this; + } + @CustomType.Setter + public Builder useAciCniPriorityClass(@Nullable String useAciCniPriorityClass) { + this.useAciCniPriorityClass = useAciCniPriorityClass; + return this; + } + @CustomType.Setter + public Builder useClusterRole(@Nullable String useClusterRole) { + this.useClusterRole = useClusterRole; + return this; + } + @CustomType.Setter + public Builder useHostNetnsVolume(@Nullable String useHostNetnsVolume) { + this.useHostNetnsVolume = useHostNetnsVolume; + return this; + } + @CustomType.Setter + public Builder useOpflexServerVolume(@Nullable String useOpflexServerVolume) { + this.useOpflexServerVolume = useOpflexServerVolume; + return this; + } + @CustomType.Setter + public Builder usePrivilegedContainer(@Nullable String usePrivilegedContainer) { + this.usePrivilegedContainer = usePrivilegedContainer; + return this; + } + @CustomType.Setter + public Builder vmmController(@Nullable String vmmController) { + this.vmmController = vmmController; + return this; + } + @CustomType.Setter + public Builder vmmDomain(@Nullable String vmmDomain) { + this.vmmDomain = vmmDomain; + return this; + } + @CustomType.Setter + public Builder vrfName(String vrfName) { + this.vrfName = Objects.requireNonNull(vrfName); + return this; + } + @CustomType.Setter + public Builder vrfTenant(String vrfTenant) { + this.vrfTenant = Objects.requireNonNull(vrfTenant); + return this; + } + public GetClusterRkeConfigNetworkAciNetworkProvider build() { + final var o = new GetClusterRkeConfigNetworkAciNetworkProvider(); + o.aep = aep; + o.apicHosts = apicHosts; + o.apicRefreshTickerAdjust = apicRefreshTickerAdjust; + o.apicRefreshTime = apicRefreshTime; + o.apicSubscriptionDelay = apicSubscriptionDelay; + o.apicUserCrt = apicUserCrt; + o.apicUserKey = apicUserKey; + o.apicUserName = apicUserName; + o.capic = capic; + o.controllerLogLevel = controllerLogLevel; + o.disablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + o.disableWaitForNetwork = disableWaitForNetwork; + o.dropLogEnable = dropLogEnable; + o.durationWaitForNetwork = durationWaitForNetwork; + o.enableEndpointSlice = enableEndpointSlice; + o.encapType = encapType; + o.epRegistry = epRegistry; + o.externDynamic = externDynamic; + o.externStatic = externStatic; + o.gbpPodSubnet = gbpPodSubnet; + o.hostAgentLogLevel = hostAgentLogLevel; + o.imagePullPolicy = imagePullPolicy; + o.imagePullSecret = imagePullSecret; + o.infraVlan = infraVlan; + o.installIstio = installIstio; + o.istioProfile = istioProfile; + o.kafkaBrokers = kafkaBrokers; + o.kafkaClientCrt = kafkaClientCrt; + o.kafkaClientKey = kafkaClientKey; + o.kubeApiVlan = kubeApiVlan; + o.l3out = l3out; + o.l3outExternalNetworks = l3outExternalNetworks; + o.maxNodesSvcGraph = maxNodesSvcGraph; + o.mcastRangeEnd = mcastRangeEnd; + o.mcastRangeStart = mcastRangeStart; + o.mtuHeadRoom = mtuHeadRoom; + o.multusDisable = multusDisable; + o.noPriorityClass = noPriorityClass; + o.nodePodIfEnable = nodePodIfEnable; + o.nodeSubnet = nodeSubnet; + o.nodeSvcSubnet = nodeSvcSubnet; + o.opflexClientSsl = opflexClientSsl; + o.opflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + o.opflexLogLevel = opflexLogLevel; + o.opflexMode = opflexMode; + o.opflexServerPort = opflexServerPort; + o.overlayVrfName = overlayVrfName; + o.ovsMemoryLimit = ovsMemoryLimit; + o.pbrTrackingNonSnat = pbrTrackingNonSnat; + o.podSubnetChunkSize = podSubnetChunkSize; + o.runGbpContainer = runGbpContainer; + o.runOpflexServerContainer = runOpflexServerContainer; + o.serviceMonitorInterval = serviceMonitorInterval; + o.serviceVlan = serviceVlan; + o.snatContractScope = snatContractScope; + o.snatNamespace = snatNamespace; + o.snatPortRangeEnd = snatPortRangeEnd; + o.snatPortRangeStart = snatPortRangeStart; + o.snatPortsPerNode = snatPortsPerNode; + o.sriovEnable = sriovEnable; + o.subnetDomainName = subnetDomainName; + o.systemId = systemId; + o.tenant = tenant; + o.token = token; + o.useAciAnywhereCrd = useAciAnywhereCrd; + o.useAciCniPriorityClass = useAciCniPriorityClass; + o.useClusterRole = useClusterRole; + o.useHostNetnsVolume = useHostNetnsVolume; + o.useOpflexServerVolume = useOpflexServerVolume; + o.usePrivilegedContainer = usePrivilegedContainer; + o.vmmController = vmmController; + o.vmmDomain = vmmDomain; + o.vrfName = vrfName; + o.vrfTenant = vrfTenant; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.java index 5935af9ac..62162589b 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork.java @@ -4,6 +4,7 @@ package com.pulumi.rancher2.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.rancher2.outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider; import com.pulumi.rancher2.outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider; import com.pulumi.rancher2.outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider; import com.pulumi.rancher2.outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider; @@ -20,6 +21,7 @@ @CustomType public final class GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { + private @Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider aciNetworkProvider; private @Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider; private @Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider canalNetworkProvider; private @Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider flannelNetworkProvider; @@ -30,6 +32,9 @@ public final class GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwo private @Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider weaveNetworkProvider; private GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork() {} + public Optional aciNetworkProvider() { + return Optional.ofNullable(this.aciNetworkProvider); + } public Optional calicoNetworkProvider() { return Optional.ofNullable(this.calicoNetworkProvider); } @@ -64,6 +69,7 @@ public static Builder builder(GetClusterTemplateTemplateRevisionClusterConfigRke } @CustomType.Builder public static final class Builder { + private @Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider aciNetworkProvider; private @Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider; private @Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider canalNetworkProvider; private @Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider flannelNetworkProvider; @@ -75,6 +81,7 @@ public static final class Builder { public Builder() {} public Builder(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork defaults) { Objects.requireNonNull(defaults); + this.aciNetworkProvider = defaults.aciNetworkProvider; this.calicoNetworkProvider = defaults.calicoNetworkProvider; this.canalNetworkProvider = defaults.canalNetworkProvider; this.flannelNetworkProvider = defaults.flannelNetworkProvider; @@ -85,6 +92,11 @@ public Builder(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork d this.weaveNetworkProvider = defaults.weaveNetworkProvider; } + @CustomType.Setter + public Builder aciNetworkProvider(@Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider aciNetworkProvider) { + this.aciNetworkProvider = aciNetworkProvider; + return this; + } @CustomType.Setter public Builder calicoNetworkProvider(@Nullable GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider calicoNetworkProvider) { this.calicoNetworkProvider = calicoNetworkProvider; @@ -130,6 +142,7 @@ public Builder weaveNetworkProvider(@Nullable GetClusterTemplateTemplateRevision } public GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork build() { final var o = new GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork(); + o.aciNetworkProvider = aciNetworkProvider; o.calicoNetworkProvider = calicoNetworkProvider; o.canalNetworkProvider = canalNetworkProvider; o.flannelNetworkProvider = flannelNetworkProvider; diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.java new file mode 100644 index 000000000..51033c6fb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.java @@ -0,0 +1,934 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.rancher2.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { + private String aep; + private List apicHosts; + private @Nullable String apicRefreshTickerAdjust; + private @Nullable String apicRefreshTime; + private @Nullable String apicSubscriptionDelay; + private String apicUserCrt; + private String apicUserKey; + private String apicUserName; + private @Nullable String capic; + private @Nullable String controllerLogLevel; + private @Nullable String disablePeriodicSnatGlobalInfoSync; + private @Nullable String disableWaitForNetwork; + private @Nullable String dropLogEnable; + private @Nullable String durationWaitForNetwork; + private @Nullable String enableEndpointSlice; + private String encapType; + private @Nullable String epRegistry; + private String externDynamic; + private String externStatic; + private @Nullable String gbpPodSubnet; + private @Nullable String hostAgentLogLevel; + private @Nullable String imagePullPolicy; + private @Nullable String imagePullSecret; + private @Nullable String infraVlan; + private @Nullable String installIstio; + private @Nullable String istioProfile; + private @Nullable List kafkaBrokers; + private @Nullable String kafkaClientCrt; + private @Nullable String kafkaClientKey; + private String kubeApiVlan; + private String l3out; + private List l3outExternalNetworks; + private @Nullable String maxNodesSvcGraph; + private String mcastRangeEnd; + private String mcastRangeStart; + private @Nullable String mtuHeadRoom; + private @Nullable String multusDisable; + private @Nullable String noPriorityClass; + private @Nullable String nodePodIfEnable; + private String nodeSubnet; + private String nodeSvcSubnet; + private @Nullable String opflexClientSsl; + private @Nullable String opflexDeviceDeleteTimeout; + private @Nullable String opflexLogLevel; + private @Nullable String opflexMode; + private @Nullable String opflexServerPort; + private @Nullable String overlayVrfName; + private @Nullable String ovsMemoryLimit; + private @Nullable String pbrTrackingNonSnat; + private @Nullable String podSubnetChunkSize; + private @Nullable String runGbpContainer; + private @Nullable String runOpflexServerContainer; + private @Nullable String serviceMonitorInterval; + private String serviceVlan; + private @Nullable String snatContractScope; + private @Nullable String snatNamespace; + private @Nullable String snatPortRangeEnd; + private @Nullable String snatPortRangeStart; + private @Nullable String snatPortsPerNode; + private @Nullable String sriovEnable; + private @Nullable String subnetDomainName; + private String systemId; + private @Nullable String tenant; + private String token; + private @Nullable String useAciAnywhereCrd; + private @Nullable String useAciCniPriorityClass; + private @Nullable String useClusterRole; + private @Nullable String useHostNetnsVolume; + private @Nullable String useOpflexServerVolume; + private @Nullable String usePrivilegedContainer; + private @Nullable String vmmController; + private @Nullable String vmmDomain; + private String vrfName; + private String vrfTenant; + + private GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider() {} + public String aep() { + return this.aep; + } + public List apicHosts() { + return this.apicHosts; + } + public Optional apicRefreshTickerAdjust() { + return Optional.ofNullable(this.apicRefreshTickerAdjust); + } + public Optional apicRefreshTime() { + return Optional.ofNullable(this.apicRefreshTime); + } + public Optional apicSubscriptionDelay() { + return Optional.ofNullable(this.apicSubscriptionDelay); + } + public String apicUserCrt() { + return this.apicUserCrt; + } + public String apicUserKey() { + return this.apicUserKey; + } + public String apicUserName() { + return this.apicUserName; + } + public Optional capic() { + return Optional.ofNullable(this.capic); + } + public Optional controllerLogLevel() { + return Optional.ofNullable(this.controllerLogLevel); + } + public Optional disablePeriodicSnatGlobalInfoSync() { + return Optional.ofNullable(this.disablePeriodicSnatGlobalInfoSync); + } + public Optional disableWaitForNetwork() { + return Optional.ofNullable(this.disableWaitForNetwork); + } + public Optional dropLogEnable() { + return Optional.ofNullable(this.dropLogEnable); + } + public Optional durationWaitForNetwork() { + return Optional.ofNullable(this.durationWaitForNetwork); + } + public Optional enableEndpointSlice() { + return Optional.ofNullable(this.enableEndpointSlice); + } + public String encapType() { + return this.encapType; + } + public Optional epRegistry() { + return Optional.ofNullable(this.epRegistry); + } + public String externDynamic() { + return this.externDynamic; + } + public String externStatic() { + return this.externStatic; + } + public Optional gbpPodSubnet() { + return Optional.ofNullable(this.gbpPodSubnet); + } + public Optional hostAgentLogLevel() { + return Optional.ofNullable(this.hostAgentLogLevel); + } + public Optional imagePullPolicy() { + return Optional.ofNullable(this.imagePullPolicy); + } + public Optional imagePullSecret() { + return Optional.ofNullable(this.imagePullSecret); + } + public Optional infraVlan() { + return Optional.ofNullable(this.infraVlan); + } + public Optional installIstio() { + return Optional.ofNullable(this.installIstio); + } + public Optional istioProfile() { + return Optional.ofNullable(this.istioProfile); + } + public List kafkaBrokers() { + return this.kafkaBrokers == null ? List.of() : this.kafkaBrokers; + } + public Optional kafkaClientCrt() { + return Optional.ofNullable(this.kafkaClientCrt); + } + public Optional kafkaClientKey() { + return Optional.ofNullable(this.kafkaClientKey); + } + public String kubeApiVlan() { + return this.kubeApiVlan; + } + public String l3out() { + return this.l3out; + } + public List l3outExternalNetworks() { + return this.l3outExternalNetworks; + } + public Optional maxNodesSvcGraph() { + return Optional.ofNullable(this.maxNodesSvcGraph); + } + public String mcastRangeEnd() { + return this.mcastRangeEnd; + } + public String mcastRangeStart() { + return this.mcastRangeStart; + } + public Optional mtuHeadRoom() { + return Optional.ofNullable(this.mtuHeadRoom); + } + public Optional multusDisable() { + return Optional.ofNullable(this.multusDisable); + } + public Optional noPriorityClass() { + return Optional.ofNullable(this.noPriorityClass); + } + public Optional nodePodIfEnable() { + return Optional.ofNullable(this.nodePodIfEnable); + } + public String nodeSubnet() { + return this.nodeSubnet; + } + public String nodeSvcSubnet() { + return this.nodeSvcSubnet; + } + public Optional opflexClientSsl() { + return Optional.ofNullable(this.opflexClientSsl); + } + public Optional opflexDeviceDeleteTimeout() { + return Optional.ofNullable(this.opflexDeviceDeleteTimeout); + } + public Optional opflexLogLevel() { + return Optional.ofNullable(this.opflexLogLevel); + } + public Optional opflexMode() { + return Optional.ofNullable(this.opflexMode); + } + public Optional opflexServerPort() { + return Optional.ofNullable(this.opflexServerPort); + } + public Optional overlayVrfName() { + return Optional.ofNullable(this.overlayVrfName); + } + public Optional ovsMemoryLimit() { + return Optional.ofNullable(this.ovsMemoryLimit); + } + public Optional pbrTrackingNonSnat() { + return Optional.ofNullable(this.pbrTrackingNonSnat); + } + public Optional podSubnetChunkSize() { + return Optional.ofNullable(this.podSubnetChunkSize); + } + public Optional runGbpContainer() { + return Optional.ofNullable(this.runGbpContainer); + } + public Optional runOpflexServerContainer() { + return Optional.ofNullable(this.runOpflexServerContainer); + } + public Optional serviceMonitorInterval() { + return Optional.ofNullable(this.serviceMonitorInterval); + } + public String serviceVlan() { + return this.serviceVlan; + } + public Optional snatContractScope() { + return Optional.ofNullable(this.snatContractScope); + } + public Optional snatNamespace() { + return Optional.ofNullable(this.snatNamespace); + } + public Optional snatPortRangeEnd() { + return Optional.ofNullable(this.snatPortRangeEnd); + } + public Optional snatPortRangeStart() { + return Optional.ofNullable(this.snatPortRangeStart); + } + public Optional snatPortsPerNode() { + return Optional.ofNullable(this.snatPortsPerNode); + } + public Optional sriovEnable() { + return Optional.ofNullable(this.sriovEnable); + } + public Optional subnetDomainName() { + return Optional.ofNullable(this.subnetDomainName); + } + public String systemId() { + return this.systemId; + } + public Optional tenant() { + return Optional.ofNullable(this.tenant); + } + public String token() { + return this.token; + } + public Optional useAciAnywhereCrd() { + return Optional.ofNullable(this.useAciAnywhereCrd); + } + public Optional useAciCniPriorityClass() { + return Optional.ofNullable(this.useAciCniPriorityClass); + } + public Optional useClusterRole() { + return Optional.ofNullable(this.useClusterRole); + } + public Optional useHostNetnsVolume() { + return Optional.ofNullable(this.useHostNetnsVolume); + } + public Optional useOpflexServerVolume() { + return Optional.ofNullable(this.useOpflexServerVolume); + } + public Optional usePrivilegedContainer() { + return Optional.ofNullable(this.usePrivilegedContainer); + } + public Optional vmmController() { + return Optional.ofNullable(this.vmmController); + } + public Optional vmmDomain() { + return Optional.ofNullable(this.vmmDomain); + } + public String vrfName() { + return this.vrfName; + } + public String vrfTenant() { + return this.vrfTenant; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String aep; + private List apicHosts; + private @Nullable String apicRefreshTickerAdjust; + private @Nullable String apicRefreshTime; + private @Nullable String apicSubscriptionDelay; + private String apicUserCrt; + private String apicUserKey; + private String apicUserName; + private @Nullable String capic; + private @Nullable String controllerLogLevel; + private @Nullable String disablePeriodicSnatGlobalInfoSync; + private @Nullable String disableWaitForNetwork; + private @Nullable String dropLogEnable; + private @Nullable String durationWaitForNetwork; + private @Nullable String enableEndpointSlice; + private String encapType; + private @Nullable String epRegistry; + private String externDynamic; + private String externStatic; + private @Nullable String gbpPodSubnet; + private @Nullable String hostAgentLogLevel; + private @Nullable String imagePullPolicy; + private @Nullable String imagePullSecret; + private @Nullable String infraVlan; + private @Nullable String installIstio; + private @Nullable String istioProfile; + private @Nullable List kafkaBrokers; + private @Nullable String kafkaClientCrt; + private @Nullable String kafkaClientKey; + private String kubeApiVlan; + private String l3out; + private List l3outExternalNetworks; + private @Nullable String maxNodesSvcGraph; + private String mcastRangeEnd; + private String mcastRangeStart; + private @Nullable String mtuHeadRoom; + private @Nullable String multusDisable; + private @Nullable String noPriorityClass; + private @Nullable String nodePodIfEnable; + private String nodeSubnet; + private String nodeSvcSubnet; + private @Nullable String opflexClientSsl; + private @Nullable String opflexDeviceDeleteTimeout; + private @Nullable String opflexLogLevel; + private @Nullable String opflexMode; + private @Nullable String opflexServerPort; + private @Nullable String overlayVrfName; + private @Nullable String ovsMemoryLimit; + private @Nullable String pbrTrackingNonSnat; + private @Nullable String podSubnetChunkSize; + private @Nullable String runGbpContainer; + private @Nullable String runOpflexServerContainer; + private @Nullable String serviceMonitorInterval; + private String serviceVlan; + private @Nullable String snatContractScope; + private @Nullable String snatNamespace; + private @Nullable String snatPortRangeEnd; + private @Nullable String snatPortRangeStart; + private @Nullable String snatPortsPerNode; + private @Nullable String sriovEnable; + private @Nullable String subnetDomainName; + private String systemId; + private @Nullable String tenant; + private String token; + private @Nullable String useAciAnywhereCrd; + private @Nullable String useAciCniPriorityClass; + private @Nullable String useClusterRole; + private @Nullable String useHostNetnsVolume; + private @Nullable String useOpflexServerVolume; + private @Nullable String usePrivilegedContainer; + private @Nullable String vmmController; + private @Nullable String vmmDomain; + private String vrfName; + private String vrfTenant; + public Builder() {} + public Builder(GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider defaults) { + Objects.requireNonNull(defaults); + this.aep = defaults.aep; + this.apicHosts = defaults.apicHosts; + this.apicRefreshTickerAdjust = defaults.apicRefreshTickerAdjust; + this.apicRefreshTime = defaults.apicRefreshTime; + this.apicSubscriptionDelay = defaults.apicSubscriptionDelay; + this.apicUserCrt = defaults.apicUserCrt; + this.apicUserKey = defaults.apicUserKey; + this.apicUserName = defaults.apicUserName; + this.capic = defaults.capic; + this.controllerLogLevel = defaults.controllerLogLevel; + this.disablePeriodicSnatGlobalInfoSync = defaults.disablePeriodicSnatGlobalInfoSync; + this.disableWaitForNetwork = defaults.disableWaitForNetwork; + this.dropLogEnable = defaults.dropLogEnable; + this.durationWaitForNetwork = defaults.durationWaitForNetwork; + this.enableEndpointSlice = defaults.enableEndpointSlice; + this.encapType = defaults.encapType; + this.epRegistry = defaults.epRegistry; + this.externDynamic = defaults.externDynamic; + this.externStatic = defaults.externStatic; + this.gbpPodSubnet = defaults.gbpPodSubnet; + this.hostAgentLogLevel = defaults.hostAgentLogLevel; + this.imagePullPolicy = defaults.imagePullPolicy; + this.imagePullSecret = defaults.imagePullSecret; + this.infraVlan = defaults.infraVlan; + this.installIstio = defaults.installIstio; + this.istioProfile = defaults.istioProfile; + this.kafkaBrokers = defaults.kafkaBrokers; + this.kafkaClientCrt = defaults.kafkaClientCrt; + this.kafkaClientKey = defaults.kafkaClientKey; + this.kubeApiVlan = defaults.kubeApiVlan; + this.l3out = defaults.l3out; + this.l3outExternalNetworks = defaults.l3outExternalNetworks; + this.maxNodesSvcGraph = defaults.maxNodesSvcGraph; + this.mcastRangeEnd = defaults.mcastRangeEnd; + this.mcastRangeStart = defaults.mcastRangeStart; + this.mtuHeadRoom = defaults.mtuHeadRoom; + this.multusDisable = defaults.multusDisable; + this.noPriorityClass = defaults.noPriorityClass; + this.nodePodIfEnable = defaults.nodePodIfEnable; + this.nodeSubnet = defaults.nodeSubnet; + this.nodeSvcSubnet = defaults.nodeSvcSubnet; + this.opflexClientSsl = defaults.opflexClientSsl; + this.opflexDeviceDeleteTimeout = defaults.opflexDeviceDeleteTimeout; + this.opflexLogLevel = defaults.opflexLogLevel; + this.opflexMode = defaults.opflexMode; + this.opflexServerPort = defaults.opflexServerPort; + this.overlayVrfName = defaults.overlayVrfName; + this.ovsMemoryLimit = defaults.ovsMemoryLimit; + this.pbrTrackingNonSnat = defaults.pbrTrackingNonSnat; + this.podSubnetChunkSize = defaults.podSubnetChunkSize; + this.runGbpContainer = defaults.runGbpContainer; + this.runOpflexServerContainer = defaults.runOpflexServerContainer; + this.serviceMonitorInterval = defaults.serviceMonitorInterval; + this.serviceVlan = defaults.serviceVlan; + this.snatContractScope = defaults.snatContractScope; + this.snatNamespace = defaults.snatNamespace; + this.snatPortRangeEnd = defaults.snatPortRangeEnd; + this.snatPortRangeStart = defaults.snatPortRangeStart; + this.snatPortsPerNode = defaults.snatPortsPerNode; + this.sriovEnable = defaults.sriovEnable; + this.subnetDomainName = defaults.subnetDomainName; + this.systemId = defaults.systemId; + this.tenant = defaults.tenant; + this.token = defaults.token; + this.useAciAnywhereCrd = defaults.useAciAnywhereCrd; + this.useAciCniPriorityClass = defaults.useAciCniPriorityClass; + this.useClusterRole = defaults.useClusterRole; + this.useHostNetnsVolume = defaults.useHostNetnsVolume; + this.useOpflexServerVolume = defaults.useOpflexServerVolume; + this.usePrivilegedContainer = defaults.usePrivilegedContainer; + this.vmmController = defaults.vmmController; + this.vmmDomain = defaults.vmmDomain; + this.vrfName = defaults.vrfName; + this.vrfTenant = defaults.vrfTenant; + } + + @CustomType.Setter + public Builder aep(String aep) { + this.aep = Objects.requireNonNull(aep); + return this; + } + @CustomType.Setter + public Builder apicHosts(List apicHosts) { + this.apicHosts = Objects.requireNonNull(apicHosts); + return this; + } + public Builder apicHosts(String... apicHosts) { + return apicHosts(List.of(apicHosts)); + } + @CustomType.Setter + public Builder apicRefreshTickerAdjust(@Nullable String apicRefreshTickerAdjust) { + this.apicRefreshTickerAdjust = apicRefreshTickerAdjust; + return this; + } + @CustomType.Setter + public Builder apicRefreshTime(@Nullable String apicRefreshTime) { + this.apicRefreshTime = apicRefreshTime; + return this; + } + @CustomType.Setter + public Builder apicSubscriptionDelay(@Nullable String apicSubscriptionDelay) { + this.apicSubscriptionDelay = apicSubscriptionDelay; + return this; + } + @CustomType.Setter + public Builder apicUserCrt(String apicUserCrt) { + this.apicUserCrt = Objects.requireNonNull(apicUserCrt); + return this; + } + @CustomType.Setter + public Builder apicUserKey(String apicUserKey) { + this.apicUserKey = Objects.requireNonNull(apicUserKey); + return this; + } + @CustomType.Setter + public Builder apicUserName(String apicUserName) { + this.apicUserName = Objects.requireNonNull(apicUserName); + return this; + } + @CustomType.Setter + public Builder capic(@Nullable String capic) { + this.capic = capic; + return this; + } + @CustomType.Setter + public Builder controllerLogLevel(@Nullable String controllerLogLevel) { + this.controllerLogLevel = controllerLogLevel; + return this; + } + @CustomType.Setter + public Builder disablePeriodicSnatGlobalInfoSync(@Nullable String disablePeriodicSnatGlobalInfoSync) { + this.disablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + return this; + } + @CustomType.Setter + public Builder disableWaitForNetwork(@Nullable String disableWaitForNetwork) { + this.disableWaitForNetwork = disableWaitForNetwork; + return this; + } + @CustomType.Setter + public Builder dropLogEnable(@Nullable String dropLogEnable) { + this.dropLogEnable = dropLogEnable; + return this; + } + @CustomType.Setter + public Builder durationWaitForNetwork(@Nullable String durationWaitForNetwork) { + this.durationWaitForNetwork = durationWaitForNetwork; + return this; + } + @CustomType.Setter + public Builder enableEndpointSlice(@Nullable String enableEndpointSlice) { + this.enableEndpointSlice = enableEndpointSlice; + return this; + } + @CustomType.Setter + public Builder encapType(String encapType) { + this.encapType = Objects.requireNonNull(encapType); + return this; + } + @CustomType.Setter + public Builder epRegistry(@Nullable String epRegistry) { + this.epRegistry = epRegistry; + return this; + } + @CustomType.Setter + public Builder externDynamic(String externDynamic) { + this.externDynamic = Objects.requireNonNull(externDynamic); + return this; + } + @CustomType.Setter + public Builder externStatic(String externStatic) { + this.externStatic = Objects.requireNonNull(externStatic); + return this; + } + @CustomType.Setter + public Builder gbpPodSubnet(@Nullable String gbpPodSubnet) { + this.gbpPodSubnet = gbpPodSubnet; + return this; + } + @CustomType.Setter + public Builder hostAgentLogLevel(@Nullable String hostAgentLogLevel) { + this.hostAgentLogLevel = hostAgentLogLevel; + return this; + } + @CustomType.Setter + public Builder imagePullPolicy(@Nullable String imagePullPolicy) { + this.imagePullPolicy = imagePullPolicy; + return this; + } + @CustomType.Setter + public Builder imagePullSecret(@Nullable String imagePullSecret) { + this.imagePullSecret = imagePullSecret; + return this; + } + @CustomType.Setter + public Builder infraVlan(@Nullable String infraVlan) { + this.infraVlan = infraVlan; + return this; + } + @CustomType.Setter + public Builder installIstio(@Nullable String installIstio) { + this.installIstio = installIstio; + return this; + } + @CustomType.Setter + public Builder istioProfile(@Nullable String istioProfile) { + this.istioProfile = istioProfile; + return this; + } + @CustomType.Setter + public Builder kafkaBrokers(@Nullable List kafkaBrokers) { + this.kafkaBrokers = kafkaBrokers; + return this; + } + public Builder kafkaBrokers(String... kafkaBrokers) { + return kafkaBrokers(List.of(kafkaBrokers)); + } + @CustomType.Setter + public Builder kafkaClientCrt(@Nullable String kafkaClientCrt) { + this.kafkaClientCrt = kafkaClientCrt; + return this; + } + @CustomType.Setter + public Builder kafkaClientKey(@Nullable String kafkaClientKey) { + this.kafkaClientKey = kafkaClientKey; + return this; + } + @CustomType.Setter + public Builder kubeApiVlan(String kubeApiVlan) { + this.kubeApiVlan = Objects.requireNonNull(kubeApiVlan); + return this; + } + @CustomType.Setter + public Builder l3out(String l3out) { + this.l3out = Objects.requireNonNull(l3out); + return this; + } + @CustomType.Setter + public Builder l3outExternalNetworks(List l3outExternalNetworks) { + this.l3outExternalNetworks = Objects.requireNonNull(l3outExternalNetworks); + return this; + } + public Builder l3outExternalNetworks(String... l3outExternalNetworks) { + return l3outExternalNetworks(List.of(l3outExternalNetworks)); + } + @CustomType.Setter + public Builder maxNodesSvcGraph(@Nullable String maxNodesSvcGraph) { + this.maxNodesSvcGraph = maxNodesSvcGraph; + return this; + } + @CustomType.Setter + public Builder mcastRangeEnd(String mcastRangeEnd) { + this.mcastRangeEnd = Objects.requireNonNull(mcastRangeEnd); + return this; + } + @CustomType.Setter + public Builder mcastRangeStart(String mcastRangeStart) { + this.mcastRangeStart = Objects.requireNonNull(mcastRangeStart); + return this; + } + @CustomType.Setter + public Builder mtuHeadRoom(@Nullable String mtuHeadRoom) { + this.mtuHeadRoom = mtuHeadRoom; + return this; + } + @CustomType.Setter + public Builder multusDisable(@Nullable String multusDisable) { + this.multusDisable = multusDisable; + return this; + } + @CustomType.Setter + public Builder noPriorityClass(@Nullable String noPriorityClass) { + this.noPriorityClass = noPriorityClass; + return this; + } + @CustomType.Setter + public Builder nodePodIfEnable(@Nullable String nodePodIfEnable) { + this.nodePodIfEnable = nodePodIfEnable; + return this; + } + @CustomType.Setter + public Builder nodeSubnet(String nodeSubnet) { + this.nodeSubnet = Objects.requireNonNull(nodeSubnet); + return this; + } + @CustomType.Setter + public Builder nodeSvcSubnet(String nodeSvcSubnet) { + this.nodeSvcSubnet = Objects.requireNonNull(nodeSvcSubnet); + return this; + } + @CustomType.Setter + public Builder opflexClientSsl(@Nullable String opflexClientSsl) { + this.opflexClientSsl = opflexClientSsl; + return this; + } + @CustomType.Setter + public Builder opflexDeviceDeleteTimeout(@Nullable String opflexDeviceDeleteTimeout) { + this.opflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + return this; + } + @CustomType.Setter + public Builder opflexLogLevel(@Nullable String opflexLogLevel) { + this.opflexLogLevel = opflexLogLevel; + return this; + } + @CustomType.Setter + public Builder opflexMode(@Nullable String opflexMode) { + this.opflexMode = opflexMode; + return this; + } + @CustomType.Setter + public Builder opflexServerPort(@Nullable String opflexServerPort) { + this.opflexServerPort = opflexServerPort; + return this; + } + @CustomType.Setter + public Builder overlayVrfName(@Nullable String overlayVrfName) { + this.overlayVrfName = overlayVrfName; + return this; + } + @CustomType.Setter + public Builder ovsMemoryLimit(@Nullable String ovsMemoryLimit) { + this.ovsMemoryLimit = ovsMemoryLimit; + return this; + } + @CustomType.Setter + public Builder pbrTrackingNonSnat(@Nullable String pbrTrackingNonSnat) { + this.pbrTrackingNonSnat = pbrTrackingNonSnat; + return this; + } + @CustomType.Setter + public Builder podSubnetChunkSize(@Nullable String podSubnetChunkSize) { + this.podSubnetChunkSize = podSubnetChunkSize; + return this; + } + @CustomType.Setter + public Builder runGbpContainer(@Nullable String runGbpContainer) { + this.runGbpContainer = runGbpContainer; + return this; + } + @CustomType.Setter + public Builder runOpflexServerContainer(@Nullable String runOpflexServerContainer) { + this.runOpflexServerContainer = runOpflexServerContainer; + return this; + } + @CustomType.Setter + public Builder serviceMonitorInterval(@Nullable String serviceMonitorInterval) { + this.serviceMonitorInterval = serviceMonitorInterval; + return this; + } + @CustomType.Setter + public Builder serviceVlan(String serviceVlan) { + this.serviceVlan = Objects.requireNonNull(serviceVlan); + return this; + } + @CustomType.Setter + public Builder snatContractScope(@Nullable String snatContractScope) { + this.snatContractScope = snatContractScope; + return this; + } + @CustomType.Setter + public Builder snatNamespace(@Nullable String snatNamespace) { + this.snatNamespace = snatNamespace; + return this; + } + @CustomType.Setter + public Builder snatPortRangeEnd(@Nullable String snatPortRangeEnd) { + this.snatPortRangeEnd = snatPortRangeEnd; + return this; + } + @CustomType.Setter + public Builder snatPortRangeStart(@Nullable String snatPortRangeStart) { + this.snatPortRangeStart = snatPortRangeStart; + return this; + } + @CustomType.Setter + public Builder snatPortsPerNode(@Nullable String snatPortsPerNode) { + this.snatPortsPerNode = snatPortsPerNode; + return this; + } + @CustomType.Setter + public Builder sriovEnable(@Nullable String sriovEnable) { + this.sriovEnable = sriovEnable; + return this; + } + @CustomType.Setter + public Builder subnetDomainName(@Nullable String subnetDomainName) { + this.subnetDomainName = subnetDomainName; + return this; + } + @CustomType.Setter + public Builder systemId(String systemId) { + this.systemId = Objects.requireNonNull(systemId); + return this; + } + @CustomType.Setter + public Builder tenant(@Nullable String tenant) { + this.tenant = tenant; + return this; + } + @CustomType.Setter + public Builder token(String token) { + this.token = Objects.requireNonNull(token); + return this; + } + @CustomType.Setter + public Builder useAciAnywhereCrd(@Nullable String useAciAnywhereCrd) { + this.useAciAnywhereCrd = useAciAnywhereCrd; + return this; + } + @CustomType.Setter + public Builder useAciCniPriorityClass(@Nullable String useAciCniPriorityClass) { + this.useAciCniPriorityClass = useAciCniPriorityClass; + return this; + } + @CustomType.Setter + public Builder useClusterRole(@Nullable String useClusterRole) { + this.useClusterRole = useClusterRole; + return this; + } + @CustomType.Setter + public Builder useHostNetnsVolume(@Nullable String useHostNetnsVolume) { + this.useHostNetnsVolume = useHostNetnsVolume; + return this; + } + @CustomType.Setter + public Builder useOpflexServerVolume(@Nullable String useOpflexServerVolume) { + this.useOpflexServerVolume = useOpflexServerVolume; + return this; + } + @CustomType.Setter + public Builder usePrivilegedContainer(@Nullable String usePrivilegedContainer) { + this.usePrivilegedContainer = usePrivilegedContainer; + return this; + } + @CustomType.Setter + public Builder vmmController(@Nullable String vmmController) { + this.vmmController = vmmController; + return this; + } + @CustomType.Setter + public Builder vmmDomain(@Nullable String vmmDomain) { + this.vmmDomain = vmmDomain; + return this; + } + @CustomType.Setter + public Builder vrfName(String vrfName) { + this.vrfName = Objects.requireNonNull(vrfName); + return this; + } + @CustomType.Setter + public Builder vrfTenant(String vrfTenant) { + this.vrfTenant = Objects.requireNonNull(vrfTenant); + return this; + } + public GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider build() { + final var o = new GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider(); + o.aep = aep; + o.apicHosts = apicHosts; + o.apicRefreshTickerAdjust = apicRefreshTickerAdjust; + o.apicRefreshTime = apicRefreshTime; + o.apicSubscriptionDelay = apicSubscriptionDelay; + o.apicUserCrt = apicUserCrt; + o.apicUserKey = apicUserKey; + o.apicUserName = apicUserName; + o.capic = capic; + o.controllerLogLevel = controllerLogLevel; + o.disablePeriodicSnatGlobalInfoSync = disablePeriodicSnatGlobalInfoSync; + o.disableWaitForNetwork = disableWaitForNetwork; + o.dropLogEnable = dropLogEnable; + o.durationWaitForNetwork = durationWaitForNetwork; + o.enableEndpointSlice = enableEndpointSlice; + o.encapType = encapType; + o.epRegistry = epRegistry; + o.externDynamic = externDynamic; + o.externStatic = externStatic; + o.gbpPodSubnet = gbpPodSubnet; + o.hostAgentLogLevel = hostAgentLogLevel; + o.imagePullPolicy = imagePullPolicy; + o.imagePullSecret = imagePullSecret; + o.infraVlan = infraVlan; + o.installIstio = installIstio; + o.istioProfile = istioProfile; + o.kafkaBrokers = kafkaBrokers; + o.kafkaClientCrt = kafkaClientCrt; + o.kafkaClientKey = kafkaClientKey; + o.kubeApiVlan = kubeApiVlan; + o.l3out = l3out; + o.l3outExternalNetworks = l3outExternalNetworks; + o.maxNodesSvcGraph = maxNodesSvcGraph; + o.mcastRangeEnd = mcastRangeEnd; + o.mcastRangeStart = mcastRangeStart; + o.mtuHeadRoom = mtuHeadRoom; + o.multusDisable = multusDisable; + o.noPriorityClass = noPriorityClass; + o.nodePodIfEnable = nodePodIfEnable; + o.nodeSubnet = nodeSubnet; + o.nodeSvcSubnet = nodeSvcSubnet; + o.opflexClientSsl = opflexClientSsl; + o.opflexDeviceDeleteTimeout = opflexDeviceDeleteTimeout; + o.opflexLogLevel = opflexLogLevel; + o.opflexMode = opflexMode; + o.opflexServerPort = opflexServerPort; + o.overlayVrfName = overlayVrfName; + o.ovsMemoryLimit = ovsMemoryLimit; + o.pbrTrackingNonSnat = pbrTrackingNonSnat; + o.podSubnetChunkSize = podSubnetChunkSize; + o.runGbpContainer = runGbpContainer; + o.runOpflexServerContainer = runOpflexServerContainer; + o.serviceMonitorInterval = serviceMonitorInterval; + o.serviceVlan = serviceVlan; + o.snatContractScope = snatContractScope; + o.snatNamespace = snatNamespace; + o.snatPortRangeEnd = snatPortRangeEnd; + o.snatPortRangeStart = snatPortRangeStart; + o.snatPortsPerNode = snatPortsPerNode; + o.sriovEnable = sriovEnable; + o.subnetDomainName = subnetDomainName; + o.systemId = systemId; + o.tenant = tenant; + o.token = token; + o.useAciAnywhereCrd = useAciAnywhereCrd; + o.useAciCniPriorityClass = useAciCniPriorityClass; + o.useClusterRole = useClusterRole; + o.useHostNetnsVolume = useHostNetnsVolume; + o.useOpflexServerVolume = useOpflexServerVolume; + o.usePrivilegedContainer = usePrivilegedContainer; + o.vmmController = vmmController; + o.vmmDomain = vmmDomain; + o.vrfName = vrfName; + o.vrfTenant = vrfTenant; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterV2RkeConfigMachinePool.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterV2RkeConfigMachinePool.java index efe207c2b..9c0df0e1e 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterV2RkeConfigMachinePool.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/GetClusterV2RkeConfigMachinePool.java @@ -30,6 +30,7 @@ public final class GetClusterV2RkeConfigMachinePool { private @Nullable Boolean etcdRole; private Map labels; private GetClusterV2RkeConfigMachinePoolMachineConfig machineConfig; + private Map machineLabels; private @Nullable String maxUnhealthy; /** * @return The name of the Cluster v2 (string) @@ -72,6 +73,9 @@ public Map labels() { public GetClusterV2RkeConfigMachinePoolMachineConfig machineConfig() { return this.machineConfig; } + public Map machineLabels() { + return this.machineLabels; + } public Optional maxUnhealthy() { return Optional.ofNullable(this.maxUnhealthy); } @@ -126,6 +130,7 @@ public static final class Builder { private @Nullable Boolean etcdRole; private Map labels; private GetClusterV2RkeConfigMachinePoolMachineConfig machineConfig; + private Map machineLabels; private @Nullable String maxUnhealthy; private String name; private @Nullable Integer nodeDrainTimeout; @@ -147,6 +152,7 @@ public Builder(GetClusterV2RkeConfigMachinePool defaults) { this.etcdRole = defaults.etcdRole; this.labels = defaults.labels; this.machineConfig = defaults.machineConfig; + this.machineLabels = defaults.machineLabels; this.maxUnhealthy = defaults.maxUnhealthy; this.name = defaults.name; this.nodeDrainTimeout = defaults.nodeDrainTimeout; @@ -196,6 +202,11 @@ public Builder machineConfig(GetClusterV2RkeConfigMachinePoolMachineConfig machi return this; } @CustomType.Setter + public Builder machineLabels(Map machineLabels) { + this.machineLabels = Objects.requireNonNull(machineLabels); + return this; + } + @CustomType.Setter public Builder maxUnhealthy(@Nullable String maxUnhealthy) { this.maxUnhealthy = maxUnhealthy; return this; @@ -262,6 +273,7 @@ public GetClusterV2RkeConfigMachinePool build() { o.etcdRole = etcdRole; o.labels = labels; o.machineConfig = machineConfig; + o.machineLabels = machineLabels; o.maxUnhealthy = maxUnhealthy; o.name = name; o.nodeDrainTimeout = nodeDrainTimeout; diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2AzureConfig.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2AzureConfig.java index f3f3d0167..0e49e379d 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2AzureConfig.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/MachineConfigV2AzureConfig.java @@ -88,6 +88,11 @@ public final class MachineConfigV2AzureConfig { * */ private @Nullable List openPorts; + /** + * @return Only use a private IP address. Default `false` (bool) + * + */ + private @Nullable Boolean privateAddressOnly; /** * @return Specify a static private IP address for the machine. (string) * @@ -260,6 +265,13 @@ public Optional nsg() { public List openPorts() { return this.openPorts == null ? List.of() : this.openPorts; } + /** + * @return Only use a private IP address. Default `false` (bool) + * + */ + public Optional privateAddressOnly() { + return Optional.ofNullable(this.privateAddressOnly); + } /** * @return Specify a static private IP address for the machine. (string) * @@ -376,6 +388,7 @@ public static final class Builder { private @Nullable Boolean noPublicIp; private @Nullable String nsg; private @Nullable List openPorts; + private @Nullable Boolean privateAddressOnly; private @Nullable String privateIpAddress; private @Nullable String resourceGroup; private @Nullable String size; @@ -407,6 +420,7 @@ public Builder(MachineConfigV2AzureConfig defaults) { this.noPublicIp = defaults.noPublicIp; this.nsg = defaults.nsg; this.openPorts = defaults.openPorts; + this.privateAddressOnly = defaults.privateAddressOnly; this.privateIpAddress = defaults.privateIpAddress; this.resourceGroup = defaults.resourceGroup; this.size = defaults.size; @@ -501,6 +515,11 @@ public Builder openPorts(String... openPorts) { return openPorts(List.of(openPorts)); } @CustomType.Setter + public Builder privateAddressOnly(@Nullable Boolean privateAddressOnly) { + this.privateAddressOnly = privateAddressOnly; + return this; + } + @CustomType.Setter public Builder privateIpAddress(@Nullable String privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; @@ -582,6 +601,7 @@ public MachineConfigV2AzureConfig build() { o.noPublicIp = noPublicIp; o.nsg = nsg; o.openPorts = openPorts; + o.privateAddressOnly = privateAddressOnly; o.privateIpAddress = privateIpAddress; o.resourceGroup = resourceGroup; o.size = size; 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 277f1831f..43cbbf4f0 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 @@ -14,7 +14,7 @@ @CustomType public final class NodeTemplateAmazonec2Config { /** - * @return AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * @return Outscale Access Key (string) * */ private @Nullable String accessKey; @@ -43,6 +43,16 @@ public final class NodeTemplateAmazonec2Config { * */ private @Nullable String endpoint; + /** + * @return Enables or disables the HTTP metadata endpoint on your instances (string) + * + */ + private @Nullable String httpEndpoint; + /** + * @return The state of token usage for your instance metadata requests (string) + * + */ + private @Nullable String httpTokens; /** * @return AWS IAM Instance Profile (string) * @@ -54,7 +64,7 @@ public final class NodeTemplateAmazonec2Config { */ private @Nullable Boolean insecureTransport; /** - * @return Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * @return Outscale VM type. Default `tinav2.c1r2p3` (string) * */ private @Nullable String instanceType; @@ -84,7 +94,7 @@ public final class NodeTemplateAmazonec2Config { */ private @Nullable Boolean privateAddressOnly; /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ private String region; @@ -104,7 +114,7 @@ public final class NodeTemplateAmazonec2Config { */ private @Nullable String rootSize; /** - * @return AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * @return Outscale Secret Key (string) * */ private @Nullable String secretKey; @@ -128,10 +138,6 @@ public final class NodeTemplateAmazonec2Config { * */ private @Nullable String spotPrice; - /** - * @return SSH Key for Instance (string) - * - */ private @Nullable String sshKeypath; /** * @return If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) @@ -181,7 +187,7 @@ public final class NodeTemplateAmazonec2Config { private NodeTemplateAmazonec2Config() {} /** - * @return AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * @return Outscale Access Key (string) * */ public Optional accessKey() { @@ -222,6 +228,20 @@ public Optional encryptEbsVolume() { public Optional endpoint() { return Optional.ofNullable(this.endpoint); } + /** + * @return Enables or disables the HTTP metadata endpoint on your instances (string) + * + */ + public Optional httpEndpoint() { + return Optional.ofNullable(this.httpEndpoint); + } + /** + * @return The state of token usage for your instance metadata requests (string) + * + */ + public Optional httpTokens() { + return Optional.ofNullable(this.httpTokens); + } /** * @return AWS IAM Instance Profile (string) * @@ -237,7 +257,7 @@ public Optional insecureTransport() { return Optional.ofNullable(this.insecureTransport); } /** - * @return Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * @return Outscale VM type. Default `tinav2.c1r2p3` (string) * */ public Optional instanceType() { @@ -279,7 +299,7 @@ public Optional privateAddressOnly() { return Optional.ofNullable(this.privateAddressOnly); } /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ public String region() { @@ -307,7 +327,7 @@ public Optional rootSize() { return Optional.ofNullable(this.rootSize); } /** - * @return AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * @return Outscale Secret Key (string) * */ public Optional secretKey() { @@ -341,10 +361,6 @@ public Optional sessionToken() { public Optional spotPrice() { return Optional.ofNullable(this.spotPrice); } - /** - * @return SSH Key for Instance (string) - * - */ public Optional sshKeypath() { return Optional.ofNullable(this.sshKeypath); } @@ -427,6 +443,8 @@ public static final class Builder { private @Nullable String deviceName; private @Nullable Boolean encryptEbsVolume; private @Nullable String endpoint; + private @Nullable String httpEndpoint; + private @Nullable String httpTokens; private @Nullable String iamInstanceProfile; private @Nullable Boolean insecureTransport; private @Nullable String instanceType; @@ -463,6 +481,8 @@ public Builder(NodeTemplateAmazonec2Config defaults) { this.deviceName = defaults.deviceName; this.encryptEbsVolume = defaults.encryptEbsVolume; this.endpoint = defaults.endpoint; + this.httpEndpoint = defaults.httpEndpoint; + this.httpTokens = defaults.httpTokens; this.iamInstanceProfile = defaults.iamInstanceProfile; this.insecureTransport = defaults.insecureTransport; this.instanceType = defaults.instanceType; @@ -523,6 +543,16 @@ public Builder endpoint(@Nullable String endpoint) { return this; } @CustomType.Setter + public Builder httpEndpoint(@Nullable String httpEndpoint) { + this.httpEndpoint = httpEndpoint; + return this; + } + @CustomType.Setter + public Builder httpTokens(@Nullable String httpTokens) { + this.httpTokens = httpTokens; + return this; + } + @CustomType.Setter public Builder iamInstanceProfile(@Nullable String iamInstanceProfile) { this.iamInstanceProfile = iamInstanceProfile; return this; @@ -671,6 +701,8 @@ public NodeTemplateAmazonec2Config build() { o.deviceName = deviceName; o.encryptEbsVolume = encryptEbsVolume; o.endpoint = endpoint; + o.httpEndpoint = httpEndpoint; + o.httpTokens = httpTokens; o.iamInstanceProfile = iamInstanceProfile; o.insecureTransport = insecureTransport; o.instanceType = instanceType; diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateDigitaloceanConfig.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateDigitaloceanConfig.java index 1a75327bc..f1661bb29 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateDigitaloceanConfig.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateDigitaloceanConfig.java @@ -43,7 +43,7 @@ public final class NodeTemplateDigitaloceanConfig { */ private @Nullable Boolean privateNetworking; /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ private @Nullable String region; @@ -127,7 +127,7 @@ public Optional privateNetworking() { return Optional.ofNullable(this.privateNetworking); } /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ public Optional region() { diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateLinodeConfig.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateLinodeConfig.java index 70967676a..fda332f89 100644 --- a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateLinodeConfig.java +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateLinodeConfig.java @@ -33,7 +33,7 @@ public final class NodeTemplateLinodeConfig { */ private @Nullable String image; /** - * @return Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * @return Outscale VM type. Default `tinav2.c1r2p3` (string) * */ private @Nullable String instanceType; @@ -43,7 +43,7 @@ public final class NodeTemplateLinodeConfig { */ private @Nullable String label; /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ private @Nullable String region; @@ -123,7 +123,7 @@ public Optional image() { return Optional.ofNullable(this.image); } /** - * @return Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * @return Outscale VM type. Default `tinav2.c1r2p3` (string) * */ public Optional instanceType() { @@ -137,7 +137,7 @@ public Optional label() { return Optional.ofNullable(this.label); } /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ public Optional region() { 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 017a981e6..ee85fd01e 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 @@ -138,7 +138,7 @@ public final class NodeTemplateOpenstackConfig { */ private @Nullable String privateKeyFile; /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ private String region; @@ -380,7 +380,7 @@ public Optional privateKeyFile() { return Optional.ofNullable(this.privateKeyFile); } /** - * @return OpenStack region name (string) + * @return AWS region. Default `eu-west-2` (string) * */ public String region() { diff --git a/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateOutscaleConfig.java b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateOutscaleConfig.java new file mode 100644 index 000000000..99f15a1b5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/rancher2/outputs/NodeTemplateOutscaleConfig.java @@ -0,0 +1,267 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.rancher2.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class NodeTemplateOutscaleConfig { + /** + * @return Outscale Access Key (string) + * + */ + private String accessKey; + /** + * @return Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + * + */ + private @Nullable List extraTagsAlls; + /** + * @return Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + * + */ + private @Nullable List extraTagsInstances; + /** + * @return Outscale VM type. Default `tinav2.c1r2p3` (string) + * + */ + private @Nullable String instanceType; + /** + * @return AWS region. Default `eu-west-2` (string) + * + */ + private @Nullable String region; + /** + * @return Iops for io1 Root Disk. From 1 to 13000. + * + */ + private @Nullable Integer rootDiskIops; + /** + * @return Size of the Root Disk (in GB). From 1 to 14901. + * + */ + private @Nullable Integer rootDiskSize; + /** + * @return Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + * + */ + private @Nullable String rootDiskType; + /** + * @return Outscale Secret Key (string) + * + */ + private String secretKey; + /** + * @return Ids of user defined Security Groups to add to the machine. (list) + * + */ + private @Nullable List securityGroupIds; + /** + * @return Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + * + */ + private @Nullable String sourceOmi; + + private NodeTemplateOutscaleConfig() {} + /** + * @return Outscale Access Key (string) + * + */ + public String accessKey() { + return this.accessKey; + } + /** + * @return Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + * + */ + public List extraTagsAlls() { + return this.extraTagsAlls == null ? List.of() : this.extraTagsAlls; + } + /** + * @return Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + * + */ + public List extraTagsInstances() { + return this.extraTagsInstances == null ? List.of() : this.extraTagsInstances; + } + /** + * @return Outscale VM type. Default `tinav2.c1r2p3` (string) + * + */ + public Optional instanceType() { + return Optional.ofNullable(this.instanceType); + } + /** + * @return AWS region. Default `eu-west-2` (string) + * + */ + public Optional region() { + return Optional.ofNullable(this.region); + } + /** + * @return Iops for io1 Root Disk. From 1 to 13000. + * + */ + public Optional rootDiskIops() { + return Optional.ofNullable(this.rootDiskIops); + } + /** + * @return Size of the Root Disk (in GB). From 1 to 14901. + * + */ + public Optional rootDiskSize() { + return Optional.ofNullable(this.rootDiskSize); + } + /** + * @return Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + * + */ + public Optional rootDiskType() { + return Optional.ofNullable(this.rootDiskType); + } + /** + * @return Outscale Secret Key (string) + * + */ + public String secretKey() { + return this.secretKey; + } + /** + * @return Ids of user defined Security Groups to add to the machine. (list) + * + */ + public List securityGroupIds() { + return this.securityGroupIds == null ? List.of() : this.securityGroupIds; + } + /** + * @return Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + * + */ + public Optional sourceOmi() { + return Optional.ofNullable(this.sourceOmi); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(NodeTemplateOutscaleConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String accessKey; + private @Nullable List extraTagsAlls; + private @Nullable List extraTagsInstances; + private @Nullable String instanceType; + private @Nullable String region; + private @Nullable Integer rootDiskIops; + private @Nullable Integer rootDiskSize; + private @Nullable String rootDiskType; + private String secretKey; + private @Nullable List securityGroupIds; + private @Nullable String sourceOmi; + public Builder() {} + public Builder(NodeTemplateOutscaleConfig defaults) { + Objects.requireNonNull(defaults); + this.accessKey = defaults.accessKey; + this.extraTagsAlls = defaults.extraTagsAlls; + this.extraTagsInstances = defaults.extraTagsInstances; + this.instanceType = defaults.instanceType; + this.region = defaults.region; + this.rootDiskIops = defaults.rootDiskIops; + this.rootDiskSize = defaults.rootDiskSize; + this.rootDiskType = defaults.rootDiskType; + this.secretKey = defaults.secretKey; + this.securityGroupIds = defaults.securityGroupIds; + this.sourceOmi = defaults.sourceOmi; + } + + @CustomType.Setter + public Builder accessKey(String accessKey) { + this.accessKey = Objects.requireNonNull(accessKey); + return this; + } + @CustomType.Setter + public Builder extraTagsAlls(@Nullable List extraTagsAlls) { + this.extraTagsAlls = extraTagsAlls; + return this; + } + public Builder extraTagsAlls(String... extraTagsAlls) { + return extraTagsAlls(List.of(extraTagsAlls)); + } + @CustomType.Setter + public Builder extraTagsInstances(@Nullable List extraTagsInstances) { + this.extraTagsInstances = extraTagsInstances; + return this; + } + public Builder extraTagsInstances(String... extraTagsInstances) { + return extraTagsInstances(List.of(extraTagsInstances)); + } + @CustomType.Setter + public Builder instanceType(@Nullable String instanceType) { + this.instanceType = instanceType; + return this; + } + @CustomType.Setter + public Builder region(@Nullable String region) { + this.region = region; + return this; + } + @CustomType.Setter + public Builder rootDiskIops(@Nullable Integer rootDiskIops) { + this.rootDiskIops = rootDiskIops; + return this; + } + @CustomType.Setter + public Builder rootDiskSize(@Nullable Integer rootDiskSize) { + this.rootDiskSize = rootDiskSize; + return this; + } + @CustomType.Setter + public Builder rootDiskType(@Nullable String rootDiskType) { + this.rootDiskType = rootDiskType; + return this; + } + @CustomType.Setter + public Builder secretKey(String secretKey) { + this.secretKey = Objects.requireNonNull(secretKey); + return this; + } + @CustomType.Setter + public Builder securityGroupIds(@Nullable List securityGroupIds) { + this.securityGroupIds = securityGroupIds; + return this; + } + public Builder securityGroupIds(String... securityGroupIds) { + return securityGroupIds(List.of(securityGroupIds)); + } + @CustomType.Setter + public Builder sourceOmi(@Nullable String sourceOmi) { + this.sourceOmi = sourceOmi; + return this; + } + public NodeTemplateOutscaleConfig build() { + final var o = new NodeTemplateOutscaleConfig(); + o.accessKey = accessKey; + o.extraTagsAlls = extraTagsAlls; + o.extraTagsInstances = extraTagsInstances; + o.instanceType = instanceType; + o.region = region; + o.rootDiskIops = rootDiskIops; + o.rootDiskSize = rootDiskSize; + o.rootDiskType = rootDiskType; + o.secretKey = secretKey; + o.securityGroupIds = securityGroupIds; + o.sourceOmi = sourceOmi; + return o; + } + } +} diff --git a/sdk/nodejs/README.md b/sdk/nodejs/README.md index 1b33289e2..15635dc77 100644 --- a/sdk/nodejs/README.md +++ b/sdk/nodejs/README.md @@ -1,4 +1,4 @@ > This provider is a derived work of the [Terraform Provider](https://github.com/rancher/terraform-provider-rancher2) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, -> first check the [`pulumi/pulumi-rancher2` repo](https://github.com/pulumi/pulumi-rancher2/issues); however, if that doesn't turn up anything, -> please consult the source [`rancher/terraform-provider-rancher2` repo](https://github.com/rancher/terraform-provider-rancher2/issues). +> first check the [`pulumi-rancher2` repo](https://github.com/pulumi/pulumi-rancher2/issues); however, if that doesn't turn up anything, +> please consult the source [`terraform-provider-rancher2` repo](https://github.com/rancher/terraform-provider-rancher2/issues). diff --git a/sdk/nodejs/activeDirectory.ts b/sdk/nodejs/activeDirectory.ts index a008dca7d..49b5b8305 100644 --- a/sdk/nodejs/activeDirectory.ts +++ b/sdk/nodejs/activeDirectory.ts @@ -255,7 +255,7 @@ export class ActiveDirectory extends pulumi.CustomResource { resourceInputs["accessMode"] = args ? args.accessMode : undefined; resourceInputs["allowedPrincipalIds"] = args ? args.allowedPrincipalIds : undefined; resourceInputs["annotations"] = args ? args.annotations : undefined; - resourceInputs["certificate"] = args ? args.certificate : undefined; + resourceInputs["certificate"] = args?.certificate ? pulumi.secret(args.certificate) : undefined; resourceInputs["connectionTimeout"] = args ? args.connectionTimeout : undefined; resourceInputs["defaultLoginDomain"] = args ? args.defaultLoginDomain : undefined; resourceInputs["enabled"] = args ? args.enabled : undefined; @@ -271,10 +271,10 @@ export class ActiveDirectory extends pulumi.CustomResource { resourceInputs["nestedGroupMembershipEnabled"] = args ? args.nestedGroupMembershipEnabled : undefined; resourceInputs["port"] = args ? args.port : undefined; resourceInputs["servers"] = args ? args.servers : undefined; - resourceInputs["serviceAccountPassword"] = args ? args.serviceAccountPassword : undefined; - resourceInputs["serviceAccountUsername"] = args ? args.serviceAccountUsername : undefined; + resourceInputs["serviceAccountPassword"] = args?.serviceAccountPassword ? pulumi.secret(args.serviceAccountPassword) : undefined; + resourceInputs["serviceAccountUsername"] = args?.serviceAccountUsername ? pulumi.secret(args.serviceAccountUsername) : undefined; resourceInputs["startTls"] = args ? args.startTls : undefined; - resourceInputs["testPassword"] = args ? args.testPassword : undefined; + resourceInputs["testPassword"] = args?.testPassword ? pulumi.secret(args.testPassword) : undefined; resourceInputs["testUsername"] = args ? args.testUsername : undefined; resourceInputs["tls"] = args ? args.tls : undefined; resourceInputs["userDisabledBitMask"] = args ? args.userDisabledBitMask : undefined; @@ -289,6 +289,8 @@ export class ActiveDirectory extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["certificate", "serviceAccountPassword", "serviceAccountUsername", "testPassword"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(ActiveDirectory.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/appV2.ts b/sdk/nodejs/appV2.ts index 68ffa1c41..8265d092a 100644 --- a/sdk/nodejs/appV2.ts +++ b/sdk/nodejs/appV2.ts @@ -11,8 +11,8 @@ import * as utilities from "./utilities"; * * ```typescript * import * as pulumi from "@pulumi/pulumi"; + * import * as fs from "fs"; * import * as rancher2 from "@pulumi/rancher2"; - * import * from "fs"; * * // Create a new Rancher2 App V2 using * const foo = new rancher2.AppV2("foo", { diff --git a/sdk/nodejs/authConfigActiveDirectory.ts b/sdk/nodejs/authConfigActiveDirectory.ts index 3f42917d6..49cd785f8 100644 --- a/sdk/nodejs/authConfigActiveDirectory.ts +++ b/sdk/nodejs/authConfigActiveDirectory.ts @@ -249,7 +249,7 @@ export class AuthConfigActiveDirectory extends pulumi.CustomResource { resourceInputs["accessMode"] = args ? args.accessMode : undefined; resourceInputs["allowedPrincipalIds"] = args ? args.allowedPrincipalIds : undefined; resourceInputs["annotations"] = args ? args.annotations : undefined; - resourceInputs["certificate"] = args ? args.certificate : undefined; + resourceInputs["certificate"] = args?.certificate ? pulumi.secret(args.certificate) : undefined; resourceInputs["connectionTimeout"] = args ? args.connectionTimeout : undefined; resourceInputs["defaultLoginDomain"] = args ? args.defaultLoginDomain : undefined; resourceInputs["enabled"] = args ? args.enabled : undefined; @@ -265,10 +265,10 @@ export class AuthConfigActiveDirectory extends pulumi.CustomResource { resourceInputs["nestedGroupMembershipEnabled"] = args ? args.nestedGroupMembershipEnabled : undefined; resourceInputs["port"] = args ? args.port : undefined; resourceInputs["servers"] = args ? args.servers : undefined; - resourceInputs["serviceAccountPassword"] = args ? args.serviceAccountPassword : undefined; - resourceInputs["serviceAccountUsername"] = args ? args.serviceAccountUsername : undefined; + resourceInputs["serviceAccountPassword"] = args?.serviceAccountPassword ? pulumi.secret(args.serviceAccountPassword) : undefined; + resourceInputs["serviceAccountUsername"] = args?.serviceAccountUsername ? pulumi.secret(args.serviceAccountUsername) : undefined; resourceInputs["startTls"] = args ? args.startTls : undefined; - resourceInputs["testPassword"] = args ? args.testPassword : undefined; + resourceInputs["testPassword"] = args?.testPassword ? pulumi.secret(args.testPassword) : undefined; resourceInputs["testUsername"] = args ? args.testUsername : undefined; resourceInputs["tls"] = args ? args.tls : undefined; resourceInputs["userDisabledBitMask"] = args ? args.userDisabledBitMask : undefined; @@ -285,6 +285,8 @@ export class AuthConfigActiveDirectory extends pulumi.CustomResource { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); const aliasOpts = { aliases: [{ type: "rancher2:index/activeDirectory:ActiveDirectory" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); + const secretOpts = { additionalSecretOutputs: ["certificate", "serviceAccountPassword", "serviceAccountUsername", "testPassword"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(AuthConfigActiveDirectory.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/authConfigAdfs.ts b/sdk/nodejs/authConfigAdfs.ts index d7354b180..9d8236b08 100644 --- a/sdk/nodejs/authConfigAdfs.ts +++ b/sdk/nodejs/authConfigAdfs.ts @@ -177,17 +177,19 @@ export class AuthConfigAdfs extends pulumi.CustomResource { resourceInputs["displayNameField"] = args ? args.displayNameField : undefined; resourceInputs["enabled"] = args ? args.enabled : undefined; resourceInputs["groupsField"] = args ? args.groupsField : undefined; - resourceInputs["idpMetadataContent"] = args ? args.idpMetadataContent : undefined; + resourceInputs["idpMetadataContent"] = args?.idpMetadataContent ? pulumi.secret(args.idpMetadataContent) : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["rancherApiHost"] = args ? args.rancherApiHost : undefined; - resourceInputs["spCert"] = args ? args.spCert : undefined; - resourceInputs["spKey"] = args ? args.spKey : undefined; + resourceInputs["spCert"] = args?.spCert ? pulumi.secret(args.spCert) : undefined; + resourceInputs["spKey"] = args?.spKey ? pulumi.secret(args.spKey) : undefined; resourceInputs["uidField"] = args ? args.uidField : undefined; resourceInputs["userNameField"] = args ? args.userNameField : undefined; resourceInputs["name"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["idpMetadataContent", "spCert", "spKey"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(AuthConfigAdfs.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/authConfigAzureAd.ts b/sdk/nodejs/authConfigAzureAd.ts index 0c8229dcb..1305ca999 100644 --- a/sdk/nodejs/authConfigAzureAd.ts +++ b/sdk/nodejs/authConfigAzureAd.ts @@ -5,10 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Provides a Rancher v2 Auth Config AzureAD resource. This can be used to configure and enable Auth Config AzureAD for Rancher v2 RKE clusters and retrieve their information. - * - * In addition to the built-in local auth, only one external auth config provider can be enabled at a time. - * * ## Example Usage * * ```typescript @@ -170,8 +166,8 @@ export class AuthConfigAzureAd extends pulumi.CustomResource { resourceInputs["accessMode"] = args ? args.accessMode : undefined; resourceInputs["allowedPrincipalIds"] = args ? args.allowedPrincipalIds : undefined; resourceInputs["annotations"] = args ? args.annotations : undefined; - resourceInputs["applicationId"] = args ? args.applicationId : undefined; - resourceInputs["applicationSecret"] = args ? args.applicationSecret : undefined; + resourceInputs["applicationId"] = args?.applicationId ? pulumi.secret(args.applicationId) : undefined; + resourceInputs["applicationSecret"] = args?.applicationSecret ? pulumi.secret(args.applicationSecret) : undefined; resourceInputs["authEndpoint"] = args ? args.authEndpoint : undefined; resourceInputs["enabled"] = args ? args.enabled : undefined; resourceInputs["endpoint"] = args ? args.endpoint : undefined; @@ -184,6 +180,8 @@ export class AuthConfigAzureAd extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["applicationId", "applicationSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(AuthConfigAzureAd.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/authConfigFreeIpa.ts b/sdk/nodejs/authConfigFreeIpa.ts index 4bb39ff6d..afa395834 100644 --- a/sdk/nodejs/authConfigFreeIpa.ts +++ b/sdk/nodejs/authConfigFreeIpa.ts @@ -234,7 +234,7 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { resourceInputs["accessMode"] = args ? args.accessMode : undefined; resourceInputs["allowedPrincipalIds"] = args ? args.allowedPrincipalIds : undefined; resourceInputs["annotations"] = args ? args.annotations : undefined; - resourceInputs["certificate"] = args ? args.certificate : undefined; + resourceInputs["certificate"] = args?.certificate ? pulumi.secret(args.certificate) : undefined; resourceInputs["connectionTimeout"] = args ? args.connectionTimeout : undefined; resourceInputs["enabled"] = args ? args.enabled : undefined; resourceInputs["groupDnAttribute"] = args ? args.groupDnAttribute : undefined; @@ -248,9 +248,9 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { resourceInputs["nestedGroupMembershipEnabled"] = args ? args.nestedGroupMembershipEnabled : undefined; resourceInputs["port"] = args ? args.port : undefined; resourceInputs["servers"] = args ? args.servers : undefined; - resourceInputs["serviceAccountDistinguishedName"] = args ? args.serviceAccountDistinguishedName : undefined; - resourceInputs["serviceAccountPassword"] = args ? args.serviceAccountPassword : undefined; - resourceInputs["testPassword"] = args ? args.testPassword : undefined; + resourceInputs["serviceAccountDistinguishedName"] = args?.serviceAccountDistinguishedName ? pulumi.secret(args.serviceAccountDistinguishedName) : undefined; + resourceInputs["serviceAccountPassword"] = args?.serviceAccountPassword ? pulumi.secret(args.serviceAccountPassword) : undefined; + resourceInputs["testPassword"] = args?.testPassword ? pulumi.secret(args.testPassword) : undefined; resourceInputs["testUsername"] = args ? args.testUsername : undefined; resourceInputs["tls"] = args ? args.tls : undefined; resourceInputs["userDisabledBitMask"] = args ? args.userDisabledBitMask : undefined; @@ -265,6 +265,8 @@ export class AuthConfigFreeIpa extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["certificate", "serviceAccountDistinguishedName", "serviceAccountPassword", "testPassword"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(AuthConfigFreeIpa.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/authConfigGithub.ts b/sdk/nodejs/authConfigGithub.ts index d63b1c572..864e340ec 100644 --- a/sdk/nodejs/authConfigGithub.ts +++ b/sdk/nodejs/authConfigGithub.ts @@ -130,8 +130,8 @@ export class AuthConfigGithub extends pulumi.CustomResource { resourceInputs["accessMode"] = args ? args.accessMode : undefined; resourceInputs["allowedPrincipalIds"] = args ? args.allowedPrincipalIds : undefined; resourceInputs["annotations"] = args ? args.annotations : undefined; - resourceInputs["clientId"] = args ? args.clientId : undefined; - resourceInputs["clientSecret"] = args ? args.clientSecret : undefined; + resourceInputs["clientId"] = args?.clientId ? pulumi.secret(args.clientId) : undefined; + resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined; resourceInputs["enabled"] = args ? args.enabled : undefined; resourceInputs["hostname"] = args ? args.hostname : undefined; resourceInputs["labels"] = args ? args.labels : undefined; @@ -140,6 +140,8 @@ export class AuthConfigGithub extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clientId", "clientSecret"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(AuthConfigGithub.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/authConfigKeycloak.ts b/sdk/nodejs/authConfigKeycloak.ts index 0f1f68c2e..4fd221bbe 100644 --- a/sdk/nodejs/authConfigKeycloak.ts +++ b/sdk/nodejs/authConfigKeycloak.ts @@ -183,17 +183,19 @@ export class AuthConfigKeycloak extends pulumi.CustomResource { resourceInputs["enabled"] = args ? args.enabled : undefined; resourceInputs["entityId"] = args ? args.entityId : undefined; resourceInputs["groupsField"] = args ? args.groupsField : undefined; - resourceInputs["idpMetadataContent"] = args ? args.idpMetadataContent : undefined; + resourceInputs["idpMetadataContent"] = args?.idpMetadataContent ? pulumi.secret(args.idpMetadataContent) : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["rancherApiHost"] = args ? args.rancherApiHost : undefined; - resourceInputs["spCert"] = args ? args.spCert : undefined; - resourceInputs["spKey"] = args ? args.spKey : undefined; + resourceInputs["spCert"] = args?.spCert ? pulumi.secret(args.spCert) : undefined; + resourceInputs["spKey"] = args?.spKey ? pulumi.secret(args.spKey) : undefined; resourceInputs["uidField"] = args ? args.uidField : undefined; resourceInputs["userNameField"] = args ? args.userNameField : undefined; resourceInputs["name"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["idpMetadataContent", "spCert", "spKey"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(AuthConfigKeycloak.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/authConfigOkta.ts b/sdk/nodejs/authConfigOkta.ts index 75ead1a17..53cd8284f 100644 --- a/sdk/nodejs/authConfigOkta.ts +++ b/sdk/nodejs/authConfigOkta.ts @@ -177,17 +177,19 @@ export class AuthConfigOkta extends pulumi.CustomResource { resourceInputs["displayNameField"] = args ? args.displayNameField : undefined; resourceInputs["enabled"] = args ? args.enabled : undefined; resourceInputs["groupsField"] = args ? args.groupsField : undefined; - resourceInputs["idpMetadataContent"] = args ? args.idpMetadataContent : undefined; + resourceInputs["idpMetadataContent"] = args?.idpMetadataContent ? pulumi.secret(args.idpMetadataContent) : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["rancherApiHost"] = args ? args.rancherApiHost : undefined; - resourceInputs["spCert"] = args ? args.spCert : undefined; - resourceInputs["spKey"] = args ? args.spKey : undefined; + resourceInputs["spCert"] = args?.spCert ? pulumi.secret(args.spCert) : undefined; + resourceInputs["spKey"] = args?.spKey ? pulumi.secret(args.spKey) : undefined; resourceInputs["uidField"] = args ? args.uidField : undefined; resourceInputs["userNameField"] = args ? args.userNameField : undefined; resourceInputs["name"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["idpMetadataContent", "spCert", "spKey"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(AuthConfigOkta.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/authConfigOpenLdap.ts b/sdk/nodejs/authConfigOpenLdap.ts index 363fae545..f6ed3102f 100644 --- a/sdk/nodejs/authConfigOpenLdap.ts +++ b/sdk/nodejs/authConfigOpenLdap.ts @@ -234,7 +234,7 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { resourceInputs["accessMode"] = args ? args.accessMode : undefined; resourceInputs["allowedPrincipalIds"] = args ? args.allowedPrincipalIds : undefined; resourceInputs["annotations"] = args ? args.annotations : undefined; - resourceInputs["certificate"] = args ? args.certificate : undefined; + resourceInputs["certificate"] = args?.certificate ? pulumi.secret(args.certificate) : undefined; resourceInputs["connectionTimeout"] = args ? args.connectionTimeout : undefined; resourceInputs["enabled"] = args ? args.enabled : undefined; resourceInputs["groupDnAttribute"] = args ? args.groupDnAttribute : undefined; @@ -248,9 +248,9 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { resourceInputs["nestedGroupMembershipEnabled"] = args ? args.nestedGroupMembershipEnabled : undefined; resourceInputs["port"] = args ? args.port : undefined; resourceInputs["servers"] = args ? args.servers : undefined; - resourceInputs["serviceAccountDistinguishedName"] = args ? args.serviceAccountDistinguishedName : undefined; - resourceInputs["serviceAccountPassword"] = args ? args.serviceAccountPassword : undefined; - resourceInputs["testPassword"] = args ? args.testPassword : undefined; + resourceInputs["serviceAccountDistinguishedName"] = args?.serviceAccountDistinguishedName ? pulumi.secret(args.serviceAccountDistinguishedName) : undefined; + resourceInputs["serviceAccountPassword"] = args?.serviceAccountPassword ? pulumi.secret(args.serviceAccountPassword) : undefined; + resourceInputs["testPassword"] = args?.testPassword ? pulumi.secret(args.testPassword) : undefined; resourceInputs["testUsername"] = args ? args.testUsername : undefined; resourceInputs["tls"] = args ? args.tls : undefined; resourceInputs["userDisabledBitMask"] = args ? args.userDisabledBitMask : undefined; @@ -265,6 +265,8 @@ export class AuthConfigOpenLdap extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["certificate", "serviceAccountDistinguishedName", "serviceAccountPassword", "testPassword"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(AuthConfigOpenLdap.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/authConfigPing.ts b/sdk/nodejs/authConfigPing.ts index 2e9cae30c..9586b9fd6 100644 --- a/sdk/nodejs/authConfigPing.ts +++ b/sdk/nodejs/authConfigPing.ts @@ -177,17 +177,19 @@ export class AuthConfigPing extends pulumi.CustomResource { resourceInputs["displayNameField"] = args ? args.displayNameField : undefined; resourceInputs["enabled"] = args ? args.enabled : undefined; resourceInputs["groupsField"] = args ? args.groupsField : undefined; - resourceInputs["idpMetadataContent"] = args ? args.idpMetadataContent : undefined; + resourceInputs["idpMetadataContent"] = args?.idpMetadataContent ? pulumi.secret(args.idpMetadataContent) : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["rancherApiHost"] = args ? args.rancherApiHost : undefined; - resourceInputs["spCert"] = args ? args.spCert : undefined; - resourceInputs["spKey"] = args ? args.spKey : undefined; + resourceInputs["spCert"] = args?.spCert ? pulumi.secret(args.spCert) : undefined; + resourceInputs["spKey"] = args?.spKey ? pulumi.secret(args.spKey) : undefined; resourceInputs["uidField"] = args ? args.uidField : undefined; resourceInputs["userNameField"] = args ? args.userNameField : undefined; resourceInputs["name"] = undefined /*out*/; resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["idpMetadataContent", "spCert", "spKey"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(AuthConfigPing.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/bootstrap.ts b/sdk/nodejs/bootstrap.ts index e5c4a85ff..e6109a376 100644 --- a/sdk/nodejs/bootstrap.ts +++ b/sdk/nodejs/bootstrap.ts @@ -155,8 +155,8 @@ export class Bootstrap extends pulumi.CustomResource { resourceInputs["user"] = state ? state.user : undefined; } else { const args = argsOrState as BootstrapArgs | undefined; - resourceInputs["initialPassword"] = args ? args.initialPassword : undefined; - resourceInputs["password"] = args ? args.password : undefined; + resourceInputs["initialPassword"] = args?.initialPassword ? pulumi.secret(args.initialPassword) : undefined; + resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined; resourceInputs["telemetry"] = args ? args.telemetry : undefined; resourceInputs["tokenTtl"] = args ? args.tokenTtl : undefined; resourceInputs["tokenUpdate"] = args ? args.tokenUpdate : undefined; @@ -170,6 +170,8 @@ export class Bootstrap extends pulumi.CustomResource { resourceInputs["user"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["currentPassword", "initialPassword", "password", "tempToken", "token"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(Bootstrap.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/catalog.ts b/sdk/nodejs/catalog.ts index 99abef67d..890b5701a 100644 --- a/sdk/nodejs/catalog.ts +++ b/sdk/nodejs/catalog.ts @@ -161,15 +161,17 @@ export class Catalog extends pulumi.CustomResource { resourceInputs["kind"] = args ? args.kind : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["password"] = args ? args.password : undefined; + resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined; resourceInputs["projectId"] = args ? args.projectId : undefined; resourceInputs["refresh"] = args ? args.refresh : undefined; resourceInputs["scope"] = args ? args.scope : undefined; resourceInputs["url"] = args ? args.url : undefined; - resourceInputs["username"] = args ? args.username : undefined; + resourceInputs["username"] = args?.username ? pulumi.secret(args.username) : undefined; resourceInputs["version"] = args ? args.version : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["password", "username"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(Catalog.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/certificate.ts b/sdk/nodejs/certificate.ts index 71f534f0b..2a9fc097b 100644 --- a/sdk/nodejs/certificate.ts +++ b/sdk/nodejs/certificate.ts @@ -107,13 +107,15 @@ export class Certificate extends pulumi.CustomResource { resourceInputs["annotations"] = args ? args.annotations : undefined; resourceInputs["certs"] = args ? args.certs : undefined; resourceInputs["description"] = args ? args.description : undefined; - resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["key"] = args?.key ? pulumi.secret(args.key) : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["namespaceId"] = args ? args.namespaceId : undefined; resourceInputs["projectId"] = args ? args.projectId : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["key"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(Certificate.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/cloudCredential.ts b/sdk/nodejs/cloudCredential.ts index d3d611bd7..02c04c00a 100644 --- a/sdk/nodejs/cloudCredential.ts +++ b/sdk/nodejs/cloudCredential.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/cluster.ts b/sdk/nodejs/cluster.ts index 178905848..0bdbbf1e2 100644 --- a/sdk/nodejs/cluster.ts +++ b/sdk/nodejs/cluster.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** @@ -415,7 +416,7 @@ import * as utilities from "./utilities"; * }, * }); * ``` - * ### Creating AKS cluster from Rancher v2, using `aksConfigV2`. For Rancher v2.6.0 or above (Tech preview) + * ### Creating AKS cluster from Rancher v2, using `aksConfigV2`. For Rancher v2.6.0 or above. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; @@ -741,6 +742,8 @@ export class Cluster extends pulumi.CustomResource { resourceInputs["systemProjectId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["caCert", "kubeConfig"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(Cluster.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/clusterAlertGroup.ts b/sdk/nodejs/clusterAlertGroup.ts index 7c051c050..e87e693d1 100644 --- a/sdk/nodejs/clusterAlertGroup.ts +++ b/sdk/nodejs/clusterAlertGroup.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/clusterAlertRule.ts b/sdk/nodejs/clusterAlertRule.ts index bb9b44200..b79de77b6 100644 --- a/sdk/nodejs/clusterAlertRule.ts +++ b/sdk/nodejs/clusterAlertRule.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/clusterAlterGroup.ts b/sdk/nodejs/clusterAlterGroup.ts index 9350a9863..523d9dd81 100644 --- a/sdk/nodejs/clusterAlterGroup.ts +++ b/sdk/nodejs/clusterAlterGroup.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/clusterAlterRule.ts b/sdk/nodejs/clusterAlterRule.ts index 893460b3b..b7c546fdc 100644 --- a/sdk/nodejs/clusterAlterRule.ts +++ b/sdk/nodejs/clusterAlterRule.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/clusterLogging.ts b/sdk/nodejs/clusterLogging.ts index a4aacbe8a..d1b319870 100644 --- a/sdk/nodejs/clusterLogging.ts +++ b/sdk/nodejs/clusterLogging.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/clusterSync.ts b/sdk/nodejs/clusterSync.ts index 3d57a9ba7..310b792e7 100644 --- a/sdk/nodejs/clusterSync.ts +++ b/sdk/nodejs/clusterSync.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** @@ -187,6 +188,8 @@ export class ClusterSync extends pulumi.CustomResource { resourceInputs["systemProjectId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["kubeConfig"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(ClusterSync.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/clusterTemplate.ts b/sdk/nodejs/clusterTemplate.ts index 82af1d05e..74895663b 100644 --- a/sdk/nodejs/clusterTemplate.ts +++ b/sdk/nodejs/clusterTemplate.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/clusterV2.ts b/sdk/nodejs/clusterV2.ts index fdfa915b5..0cd9a7a3b 100644 --- a/sdk/nodejs/clusterV2.ts +++ b/sdk/nodejs/clusterV2.ts @@ -2,11 +2,12 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. + * Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is available from Rancher v2.6.0 and above. * * ## Example Usage * ### Creating Rancher v2 custom cluster v2 @@ -179,6 +180,8 @@ export class ClusterV2 extends pulumi.CustomResource { resourceInputs["resourceVersion"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["clusterRegistrationToken", "kubeConfig"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(ClusterV2.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/etcdBackup.ts b/sdk/nodejs/etcdBackup.ts index bf73327dd..ccda8a346 100644 --- a/sdk/nodejs/etcdBackup.ts +++ b/sdk/nodejs/etcdBackup.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getCluster.ts b/sdk/nodejs/getCluster.ts index aeb13ac28..dfc9c5eb1 100644 --- a/sdk/nodejs/getCluster.ts +++ b/sdk/nodejs/getCluster.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getClusterAlertGroup.ts b/sdk/nodejs/getClusterAlertGroup.ts index 7bd8ca822..bd8481198 100644 --- a/sdk/nodejs/getClusterAlertGroup.ts +++ b/sdk/nodejs/getClusterAlertGroup.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getClusterAlterRule.ts b/sdk/nodejs/getClusterAlterRule.ts index fff41ead6..048a8ccca 100644 --- a/sdk/nodejs/getClusterAlterRule.ts +++ b/sdk/nodejs/getClusterAlterRule.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getClusterLogging.ts b/sdk/nodejs/getClusterLogging.ts index 77dc644b2..2c36a1665 100644 --- a/sdk/nodejs/getClusterLogging.ts +++ b/sdk/nodejs/getClusterLogging.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getClusterScan.ts b/sdk/nodejs/getClusterScan.ts index a7e68a6c5..ea68ec0b1 100644 --- a/sdk/nodejs/getClusterScan.ts +++ b/sdk/nodejs/getClusterScan.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getClusterTemplate.ts b/sdk/nodejs/getClusterTemplate.ts index 09c524518..12ae96ab4 100644 --- a/sdk/nodejs/getClusterTemplate.ts +++ b/sdk/nodejs/getClusterTemplate.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getClusterV2.ts b/sdk/nodejs/getClusterV2.ts index 540d49a65..092409259 100644 --- a/sdk/nodejs/getClusterV2.ts +++ b/sdk/nodejs/getClusterV2.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getEtcdBackup.ts b/sdk/nodejs/getEtcdBackup.ts index c9fe80a04..3017cb92e 100644 --- a/sdk/nodejs/getEtcdBackup.ts +++ b/sdk/nodejs/getEtcdBackup.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getGlobalDnsProvider.ts b/sdk/nodejs/getGlobalDnsProvider.ts index 2b38883aa..f6672afaf 100644 --- a/sdk/nodejs/getGlobalDnsProvider.ts +++ b/sdk/nodejs/getGlobalDnsProvider.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getGlobalRole.ts b/sdk/nodejs/getGlobalRole.ts index bbc3f0933..0ca13fb4e 100644 --- a/sdk/nodejs/getGlobalRole.ts +++ b/sdk/nodejs/getGlobalRole.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getMultiClusterApp.ts b/sdk/nodejs/getMultiClusterApp.ts index d52d25a8c..c9f5be2bb 100644 --- a/sdk/nodejs/getMultiClusterApp.ts +++ b/sdk/nodejs/getMultiClusterApp.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getNamespace.ts b/sdk/nodejs/getNamespace.ts index e4c51f223..65084f861 100644 --- a/sdk/nodejs/getNamespace.ts +++ b/sdk/nodejs/getNamespace.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getNodePool.ts b/sdk/nodejs/getNodePool.ts index ad4bfec11..9b6eb26be 100644 --- a/sdk/nodejs/getNodePool.ts +++ b/sdk/nodejs/getNodePool.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getNodeTemplate.ts b/sdk/nodejs/getNodeTemplate.ts index c8e4680ce..9b4294682 100644 --- a/sdk/nodejs/getNodeTemplate.ts +++ b/sdk/nodejs/getNodeTemplate.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getNotifier.ts b/sdk/nodejs/getNotifier.ts index 1ab225042..ca2b4dc48 100644 --- a/sdk/nodejs/getNotifier.ts +++ b/sdk/nodejs/getNotifier.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getPodSecurityPolicyTemplate.ts b/sdk/nodejs/getPodSecurityPolicyTemplate.ts index c04d3082a..79ae06358 100644 --- a/sdk/nodejs/getPodSecurityPolicyTemplate.ts +++ b/sdk/nodejs/getPodSecurityPolicyTemplate.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getProject.ts b/sdk/nodejs/getProject.ts index 864f58023..fa123c580 100644 --- a/sdk/nodejs/getProject.ts +++ b/sdk/nodejs/getProject.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { diff --git a/sdk/nodejs/getProjectAlertGroup.ts b/sdk/nodejs/getProjectAlertGroup.ts index df853fc94..392a25787 100644 --- a/sdk/nodejs/getProjectAlertGroup.ts +++ b/sdk/nodejs/getProjectAlertGroup.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getProjectAlertRule.ts b/sdk/nodejs/getProjectAlertRule.ts index 3ad5199cf..0fd6c1959 100644 --- a/sdk/nodejs/getProjectAlertRule.ts +++ b/sdk/nodejs/getProjectAlertRule.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getProjectLogging.ts b/sdk/nodejs/getProjectLogging.ts index 67f3beb29..7fbac4122 100644 --- a/sdk/nodejs/getProjectLogging.ts +++ b/sdk/nodejs/getProjectLogging.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getRegistry.ts b/sdk/nodejs/getRegistry.ts index b8cb90c71..f445cb3c3 100644 --- a/sdk/nodejs/getRegistry.ts +++ b/sdk/nodejs/getRegistry.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getRoleTempalte.ts b/sdk/nodejs/getRoleTempalte.ts index 38fafcb9f..1e34b6fef 100644 --- a/sdk/nodejs/getRoleTempalte.ts +++ b/sdk/nodejs/getRoleTempalte.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/getRoleTemplate.ts b/sdk/nodejs/getRoleTemplate.ts index d73e85b15..ad517b4b4 100644 --- a/sdk/nodejs/getRoleTemplate.ts +++ b/sdk/nodejs/getRoleTemplate.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/globalDnsProvider.ts b/sdk/nodejs/globalDnsProvider.ts index 4f1f7245b..a8ab6d2aa 100644 --- a/sdk/nodejs/globalDnsProvider.ts +++ b/sdk/nodejs/globalDnsProvider.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/globalRole.ts b/sdk/nodejs/globalRole.ts index 02b0a9f85..b21864df4 100644 --- a/sdk/nodejs/globalRole.ts +++ b/sdk/nodejs/globalRole.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index b6686dd88..8aa62449d 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -5,104 +5,496 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; // Export members: -export * from "./activeDirectory"; -export * from "./app"; -export * from "./appV2"; -export * from "./authConfigActiveDirectory"; -export * from "./authConfigAdfs"; -export * from "./authConfigAzureAd"; -export * from "./authConfigFreeIpa"; -export * from "./authConfigGithub"; -export * from "./authConfigKeycloak"; -export * from "./authConfigOkta"; -export * from "./authConfigOpenLdap"; -export * from "./authConfigPing"; -export * from "./bootstrap"; -export * from "./catalog"; -export * from "./catalogV2"; -export * from "./certificate"; -export * from "./cloudCredential"; -export * from "./cluster"; -export * from "./clusterAlertGroup"; -export * from "./clusterAlertRule"; -export * from "./clusterAlterGroup"; -export * from "./clusterAlterRule"; -export * from "./clusterDriver"; -export * from "./clusterLogging"; -export * from "./clusterRoleTemplateBinding"; -export * from "./clusterSync"; -export * from "./clusterTemplate"; -export * from "./clusterV2"; -export * from "./configMapV2"; -export * from "./etcdBackup"; -export * from "./feature"; -export * from "./getApp"; -export * from "./getCatalog"; -export * from "./getCatalogV2"; -export * from "./getCertificate"; -export * from "./getCloudCredential"; -export * from "./getCluster"; -export * from "./getClusterAlertGroup"; -export * from "./getClusterAlterRule"; -export * from "./getClusterDriver"; -export * from "./getClusterLogging"; -export * from "./getClusterRoleTemplateBinding"; -export * from "./getClusterScan"; -export * from "./getClusterTemplate"; -export * from "./getClusterV2"; -export * from "./getConfigMapV2"; -export * from "./getEtcdBackup"; -export * from "./getGlobalDnsProvider"; -export * from "./getGlobalRole"; -export * from "./getGlobalRoleBinding"; -export * from "./getMultiClusterApp"; -export * from "./getNamespace"; -export * from "./getNodeDriver"; -export * from "./getNodePool"; -export * from "./getNodeTemplate"; -export * from "./getNotifier"; -export * from "./getPodSecurityPolicyTemplate"; -export * from "./getPrincipal"; -export * from "./getProject"; -export * from "./getProjectAlertGroup"; -export * from "./getProjectAlertRule"; -export * from "./getProjectLogging"; -export * from "./getProjectRoleTemplateBinding"; -export * from "./getRegistry"; -export * from "./getRoleTempalte"; -export * from "./getRoleTemplate"; -export * from "./getSecret"; -export * from "./getSecretV2"; -export * from "./getSetting"; -export * from "./getStorageClassV2"; -export * from "./getUser"; -export * from "./globalDns"; -export * from "./globalDnsProvider"; -export * from "./globalRole"; -export * from "./globalRoleBinding"; -export * from "./machineConfigV2"; -export * from "./multiClusterApp"; -export * from "./namespace"; -export * from "./nodeDriver"; -export * from "./nodePool"; -export * from "./nodeTemplate"; -export * from "./notifier"; -export * from "./podSecurityPolicyTemplate"; -export * from "./project"; -export * from "./projectAlertGroup"; -export * from "./projectAlertRule"; -export * from "./projectLogging"; -export * from "./projectRoleTemplateBinding"; -export * from "./provider"; -export * from "./registry"; -export * from "./roleTempalte"; -export * from "./roleTemplate"; -export * from "./secret"; -export * from "./secretV2"; -export * from "./setting"; -export * from "./storageClassV2"; -export * from "./token"; -export * from "./user"; +export { ActiveDirectoryArgs, ActiveDirectoryState } from "./activeDirectory"; +export type ActiveDirectory = import("./activeDirectory").ActiveDirectory; +export const ActiveDirectory: typeof import("./activeDirectory").ActiveDirectory = null as any; +utilities.lazyLoad(exports, ["ActiveDirectory"], () => require("./activeDirectory")); + +export { AppArgs, AppState } from "./app"; +export type App = import("./app").App; +export const App: typeof import("./app").App = null as any; +utilities.lazyLoad(exports, ["App"], () => require("./app")); + +export { AppV2Args, AppV2State } from "./appV2"; +export type AppV2 = import("./appV2").AppV2; +export const AppV2: typeof import("./appV2").AppV2 = null as any; +utilities.lazyLoad(exports, ["AppV2"], () => require("./appV2")); + +export { AuthConfigActiveDirectoryArgs, AuthConfigActiveDirectoryState } from "./authConfigActiveDirectory"; +export type AuthConfigActiveDirectory = import("./authConfigActiveDirectory").AuthConfigActiveDirectory; +export const AuthConfigActiveDirectory: typeof import("./authConfigActiveDirectory").AuthConfigActiveDirectory = null as any; +utilities.lazyLoad(exports, ["AuthConfigActiveDirectory"], () => require("./authConfigActiveDirectory")); + +export { AuthConfigAdfsArgs, AuthConfigAdfsState } from "./authConfigAdfs"; +export type AuthConfigAdfs = import("./authConfigAdfs").AuthConfigAdfs; +export const AuthConfigAdfs: typeof import("./authConfigAdfs").AuthConfigAdfs = null as any; +utilities.lazyLoad(exports, ["AuthConfigAdfs"], () => require("./authConfigAdfs")); + +export { AuthConfigAzureAdArgs, AuthConfigAzureAdState } from "./authConfigAzureAd"; +export type AuthConfigAzureAd = import("./authConfigAzureAd").AuthConfigAzureAd; +export const AuthConfigAzureAd: typeof import("./authConfigAzureAd").AuthConfigAzureAd = null as any; +utilities.lazyLoad(exports, ["AuthConfigAzureAd"], () => require("./authConfigAzureAd")); + +export { AuthConfigFreeIpaArgs, AuthConfigFreeIpaState } from "./authConfigFreeIpa"; +export type AuthConfigFreeIpa = import("./authConfigFreeIpa").AuthConfigFreeIpa; +export const AuthConfigFreeIpa: typeof import("./authConfigFreeIpa").AuthConfigFreeIpa = null as any; +utilities.lazyLoad(exports, ["AuthConfigFreeIpa"], () => require("./authConfigFreeIpa")); + +export { AuthConfigGithubArgs, AuthConfigGithubState } from "./authConfigGithub"; +export type AuthConfigGithub = import("./authConfigGithub").AuthConfigGithub; +export const AuthConfigGithub: typeof import("./authConfigGithub").AuthConfigGithub = null as any; +utilities.lazyLoad(exports, ["AuthConfigGithub"], () => require("./authConfigGithub")); + +export { AuthConfigKeycloakArgs, AuthConfigKeycloakState } from "./authConfigKeycloak"; +export type AuthConfigKeycloak = import("./authConfigKeycloak").AuthConfigKeycloak; +export const AuthConfigKeycloak: typeof import("./authConfigKeycloak").AuthConfigKeycloak = null as any; +utilities.lazyLoad(exports, ["AuthConfigKeycloak"], () => require("./authConfigKeycloak")); + +export { AuthConfigOktaArgs, AuthConfigOktaState } from "./authConfigOkta"; +export type AuthConfigOkta = import("./authConfigOkta").AuthConfigOkta; +export const AuthConfigOkta: typeof import("./authConfigOkta").AuthConfigOkta = null as any; +utilities.lazyLoad(exports, ["AuthConfigOkta"], () => require("./authConfigOkta")); + +export { AuthConfigOpenLdapArgs, AuthConfigOpenLdapState } from "./authConfigOpenLdap"; +export type AuthConfigOpenLdap = import("./authConfigOpenLdap").AuthConfigOpenLdap; +export const AuthConfigOpenLdap: typeof import("./authConfigOpenLdap").AuthConfigOpenLdap = null as any; +utilities.lazyLoad(exports, ["AuthConfigOpenLdap"], () => require("./authConfigOpenLdap")); + +export { AuthConfigPingArgs, AuthConfigPingState } from "./authConfigPing"; +export type AuthConfigPing = import("./authConfigPing").AuthConfigPing; +export const AuthConfigPing: typeof import("./authConfigPing").AuthConfigPing = null as any; +utilities.lazyLoad(exports, ["AuthConfigPing"], () => require("./authConfigPing")); + +export { BootstrapArgs, BootstrapState } from "./bootstrap"; +export type Bootstrap = import("./bootstrap").Bootstrap; +export const Bootstrap: typeof import("./bootstrap").Bootstrap = null as any; +utilities.lazyLoad(exports, ["Bootstrap"], () => require("./bootstrap")); + +export { CatalogArgs, CatalogState } from "./catalog"; +export type Catalog = import("./catalog").Catalog; +export const Catalog: typeof import("./catalog").Catalog = null as any; +utilities.lazyLoad(exports, ["Catalog"], () => require("./catalog")); + +export { CatalogV2Args, CatalogV2State } from "./catalogV2"; +export type CatalogV2 = import("./catalogV2").CatalogV2; +export const CatalogV2: typeof import("./catalogV2").CatalogV2 = null as any; +utilities.lazyLoad(exports, ["CatalogV2"], () => require("./catalogV2")); + +export { CertificateArgs, CertificateState } from "./certificate"; +export type Certificate = import("./certificate").Certificate; +export const Certificate: typeof import("./certificate").Certificate = null as any; +utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate")); + +export { CloudCredentialArgs, CloudCredentialState } from "./cloudCredential"; +export type CloudCredential = import("./cloudCredential").CloudCredential; +export const CloudCredential: typeof import("./cloudCredential").CloudCredential = null as any; +utilities.lazyLoad(exports, ["CloudCredential"], () => require("./cloudCredential")); + +export { ClusterArgs, ClusterState } from "./cluster"; +export type Cluster = import("./cluster").Cluster; +export const Cluster: typeof import("./cluster").Cluster = null as any; +utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster")); + +export { ClusterAlertGroupArgs, ClusterAlertGroupState } from "./clusterAlertGroup"; +export type ClusterAlertGroup = import("./clusterAlertGroup").ClusterAlertGroup; +export const ClusterAlertGroup: typeof import("./clusterAlertGroup").ClusterAlertGroup = null as any; +utilities.lazyLoad(exports, ["ClusterAlertGroup"], () => require("./clusterAlertGroup")); + +export { ClusterAlertRuleArgs, ClusterAlertRuleState } from "./clusterAlertRule"; +export type ClusterAlertRule = import("./clusterAlertRule").ClusterAlertRule; +export const ClusterAlertRule: typeof import("./clusterAlertRule").ClusterAlertRule = null as any; +utilities.lazyLoad(exports, ["ClusterAlertRule"], () => require("./clusterAlertRule")); + +export { ClusterAlterGroupArgs, ClusterAlterGroupState } from "./clusterAlterGroup"; +export type ClusterAlterGroup = import("./clusterAlterGroup").ClusterAlterGroup; +export const ClusterAlterGroup: typeof import("./clusterAlterGroup").ClusterAlterGroup = null as any; +utilities.lazyLoad(exports, ["ClusterAlterGroup"], () => require("./clusterAlterGroup")); + +export { ClusterAlterRuleArgs, ClusterAlterRuleState } from "./clusterAlterRule"; +export type ClusterAlterRule = import("./clusterAlterRule").ClusterAlterRule; +export const ClusterAlterRule: typeof import("./clusterAlterRule").ClusterAlterRule = null as any; +utilities.lazyLoad(exports, ["ClusterAlterRule"], () => require("./clusterAlterRule")); + +export { ClusterDriverArgs, ClusterDriverState } from "./clusterDriver"; +export type ClusterDriver = import("./clusterDriver").ClusterDriver; +export const ClusterDriver: typeof import("./clusterDriver").ClusterDriver = null as any; +utilities.lazyLoad(exports, ["ClusterDriver"], () => require("./clusterDriver")); + +export { ClusterLoggingArgs, ClusterLoggingState } from "./clusterLogging"; +export type ClusterLogging = import("./clusterLogging").ClusterLogging; +export const ClusterLogging: typeof import("./clusterLogging").ClusterLogging = null as any; +utilities.lazyLoad(exports, ["ClusterLogging"], () => require("./clusterLogging")); + +export { ClusterRoleTemplateBindingArgs, ClusterRoleTemplateBindingState } from "./clusterRoleTemplateBinding"; +export type ClusterRoleTemplateBinding = import("./clusterRoleTemplateBinding").ClusterRoleTemplateBinding; +export const ClusterRoleTemplateBinding: typeof import("./clusterRoleTemplateBinding").ClusterRoleTemplateBinding = null as any; +utilities.lazyLoad(exports, ["ClusterRoleTemplateBinding"], () => require("./clusterRoleTemplateBinding")); + +export { ClusterSyncArgs, ClusterSyncState } from "./clusterSync"; +export type ClusterSync = import("./clusterSync").ClusterSync; +export const ClusterSync: typeof import("./clusterSync").ClusterSync = null as any; +utilities.lazyLoad(exports, ["ClusterSync"], () => require("./clusterSync")); + +export { ClusterTemplateArgs, ClusterTemplateState } from "./clusterTemplate"; +export type ClusterTemplate = import("./clusterTemplate").ClusterTemplate; +export const ClusterTemplate: typeof import("./clusterTemplate").ClusterTemplate = null as any; +utilities.lazyLoad(exports, ["ClusterTemplate"], () => require("./clusterTemplate")); + +export { ClusterV2Args, ClusterV2State } from "./clusterV2"; +export type ClusterV2 = import("./clusterV2").ClusterV2; +export const ClusterV2: typeof import("./clusterV2").ClusterV2 = null as any; +utilities.lazyLoad(exports, ["ClusterV2"], () => require("./clusterV2")); + +export { ConfigMapV2Args, ConfigMapV2State } from "./configMapV2"; +export type ConfigMapV2 = import("./configMapV2").ConfigMapV2; +export const ConfigMapV2: typeof import("./configMapV2").ConfigMapV2 = null as any; +utilities.lazyLoad(exports, ["ConfigMapV2"], () => require("./configMapV2")); + +export { EtcdBackupArgs, EtcdBackupState } from "./etcdBackup"; +export type EtcdBackup = import("./etcdBackup").EtcdBackup; +export const EtcdBackup: typeof import("./etcdBackup").EtcdBackup = null as any; +utilities.lazyLoad(exports, ["EtcdBackup"], () => require("./etcdBackup")); + +export { FeatureArgs, FeatureState } from "./feature"; +export type Feature = import("./feature").Feature; +export const Feature: typeof import("./feature").Feature = null as any; +utilities.lazyLoad(exports, ["Feature"], () => require("./feature")); + +export { GetAppArgs, GetAppResult, GetAppOutputArgs } from "./getApp"; +export const getApp: typeof import("./getApp").getApp = null as any; +export const getAppOutput: typeof import("./getApp").getAppOutput = null as any; +utilities.lazyLoad(exports, ["getApp","getAppOutput"], () => require("./getApp")); + +export { GetCatalogArgs, GetCatalogResult, GetCatalogOutputArgs } from "./getCatalog"; +export const getCatalog: typeof import("./getCatalog").getCatalog = null as any; +export const getCatalogOutput: typeof import("./getCatalog").getCatalogOutput = null as any; +utilities.lazyLoad(exports, ["getCatalog","getCatalogOutput"], () => require("./getCatalog")); + +export { GetCatalogV2Args, GetCatalogV2Result, GetCatalogV2OutputArgs } from "./getCatalogV2"; +export const getCatalogV2: typeof import("./getCatalogV2").getCatalogV2 = null as any; +export const getCatalogV2Output: typeof import("./getCatalogV2").getCatalogV2Output = null as any; +utilities.lazyLoad(exports, ["getCatalogV2","getCatalogV2Output"], () => require("./getCatalogV2")); + +export { GetCertificateArgs, GetCertificateResult, GetCertificateOutputArgs } from "./getCertificate"; +export const getCertificate: typeof import("./getCertificate").getCertificate = null as any; +export const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput = null as any; +utilities.lazyLoad(exports, ["getCertificate","getCertificateOutput"], () => require("./getCertificate")); + +export { GetCloudCredentialArgs, GetCloudCredentialResult, GetCloudCredentialOutputArgs } from "./getCloudCredential"; +export const getCloudCredential: typeof import("./getCloudCredential").getCloudCredential = null as any; +export const getCloudCredentialOutput: typeof import("./getCloudCredential").getCloudCredentialOutput = null as any; +utilities.lazyLoad(exports, ["getCloudCredential","getCloudCredentialOutput"], () => require("./getCloudCredential")); + +export { GetClusterArgs, GetClusterResult, GetClusterOutputArgs } from "./getCluster"; +export const getCluster: typeof import("./getCluster").getCluster = null as any; +export const getClusterOutput: typeof import("./getCluster").getClusterOutput = null as any; +utilities.lazyLoad(exports, ["getCluster","getClusterOutput"], () => require("./getCluster")); + +export { GetClusterAlertGroupArgs, GetClusterAlertGroupResult, GetClusterAlertGroupOutputArgs } from "./getClusterAlertGroup"; +export const getClusterAlertGroup: typeof import("./getClusterAlertGroup").getClusterAlertGroup = null as any; +export const getClusterAlertGroupOutput: typeof import("./getClusterAlertGroup").getClusterAlertGroupOutput = null as any; +utilities.lazyLoad(exports, ["getClusterAlertGroup","getClusterAlertGroupOutput"], () => require("./getClusterAlertGroup")); + +export { GetClusterAlterRuleArgs, GetClusterAlterRuleResult, GetClusterAlterRuleOutputArgs } from "./getClusterAlterRule"; +export const getClusterAlterRule: typeof import("./getClusterAlterRule").getClusterAlterRule = null as any; +export const getClusterAlterRuleOutput: typeof import("./getClusterAlterRule").getClusterAlterRuleOutput = null as any; +utilities.lazyLoad(exports, ["getClusterAlterRule","getClusterAlterRuleOutput"], () => require("./getClusterAlterRule")); + +export { GetClusterDriverArgs, GetClusterDriverResult, GetClusterDriverOutputArgs } from "./getClusterDriver"; +export const getClusterDriver: typeof import("./getClusterDriver").getClusterDriver = null as any; +export const getClusterDriverOutput: typeof import("./getClusterDriver").getClusterDriverOutput = null as any; +utilities.lazyLoad(exports, ["getClusterDriver","getClusterDriverOutput"], () => require("./getClusterDriver")); + +export { GetClusterLoggingArgs, GetClusterLoggingResult, GetClusterLoggingOutputArgs } from "./getClusterLogging"; +export const getClusterLogging: typeof import("./getClusterLogging").getClusterLogging = null as any; +export const getClusterLoggingOutput: typeof import("./getClusterLogging").getClusterLoggingOutput = null as any; +utilities.lazyLoad(exports, ["getClusterLogging","getClusterLoggingOutput"], () => require("./getClusterLogging")); + +export { GetClusterRoleTemplateBindingArgs, GetClusterRoleTemplateBindingResult, GetClusterRoleTemplateBindingOutputArgs } from "./getClusterRoleTemplateBinding"; +export const getClusterRoleTemplateBinding: typeof import("./getClusterRoleTemplateBinding").getClusterRoleTemplateBinding = null as any; +export const getClusterRoleTemplateBindingOutput: typeof import("./getClusterRoleTemplateBinding").getClusterRoleTemplateBindingOutput = null as any; +utilities.lazyLoad(exports, ["getClusterRoleTemplateBinding","getClusterRoleTemplateBindingOutput"], () => require("./getClusterRoleTemplateBinding")); + +export { GetClusterScanArgs, GetClusterScanResult, GetClusterScanOutputArgs } from "./getClusterScan"; +export const getClusterScan: typeof import("./getClusterScan").getClusterScan = null as any; +export const getClusterScanOutput: typeof import("./getClusterScan").getClusterScanOutput = null as any; +utilities.lazyLoad(exports, ["getClusterScan","getClusterScanOutput"], () => require("./getClusterScan")); + +export { GetClusterTemplateArgs, GetClusterTemplateResult, GetClusterTemplateOutputArgs } from "./getClusterTemplate"; +export const getClusterTemplate: typeof import("./getClusterTemplate").getClusterTemplate = null as any; +export const getClusterTemplateOutput: typeof import("./getClusterTemplate").getClusterTemplateOutput = null as any; +utilities.lazyLoad(exports, ["getClusterTemplate","getClusterTemplateOutput"], () => require("./getClusterTemplate")); + +export { GetClusterV2Args, GetClusterV2Result, GetClusterV2OutputArgs } from "./getClusterV2"; +export const getClusterV2: typeof import("./getClusterV2").getClusterV2 = null as any; +export const getClusterV2Output: typeof import("./getClusterV2").getClusterV2Output = null as any; +utilities.lazyLoad(exports, ["getClusterV2","getClusterV2Output"], () => require("./getClusterV2")); + +export { GetConfigMapV2Args, GetConfigMapV2Result, GetConfigMapV2OutputArgs } from "./getConfigMapV2"; +export const getConfigMapV2: typeof import("./getConfigMapV2").getConfigMapV2 = null as any; +export const getConfigMapV2Output: typeof import("./getConfigMapV2").getConfigMapV2Output = null as any; +utilities.lazyLoad(exports, ["getConfigMapV2","getConfigMapV2Output"], () => require("./getConfigMapV2")); + +export { GetEtcdBackupArgs, GetEtcdBackupResult, GetEtcdBackupOutputArgs } from "./getEtcdBackup"; +export const getEtcdBackup: typeof import("./getEtcdBackup").getEtcdBackup = null as any; +export const getEtcdBackupOutput: typeof import("./getEtcdBackup").getEtcdBackupOutput = null as any; +utilities.lazyLoad(exports, ["getEtcdBackup","getEtcdBackupOutput"], () => require("./getEtcdBackup")); + +export { GetGlobalDnsProviderArgs, GetGlobalDnsProviderResult, GetGlobalDnsProviderOutputArgs } from "./getGlobalDnsProvider"; +export const getGlobalDnsProvider: typeof import("./getGlobalDnsProvider").getGlobalDnsProvider = null as any; +export const getGlobalDnsProviderOutput: typeof import("./getGlobalDnsProvider").getGlobalDnsProviderOutput = null as any; +utilities.lazyLoad(exports, ["getGlobalDnsProvider","getGlobalDnsProviderOutput"], () => require("./getGlobalDnsProvider")); + +export { GetGlobalRoleArgs, GetGlobalRoleResult, GetGlobalRoleOutputArgs } from "./getGlobalRole"; +export const getGlobalRole: typeof import("./getGlobalRole").getGlobalRole = null as any; +export const getGlobalRoleOutput: typeof import("./getGlobalRole").getGlobalRoleOutput = null as any; +utilities.lazyLoad(exports, ["getGlobalRole","getGlobalRoleOutput"], () => require("./getGlobalRole")); + +export { GetGlobalRoleBindingArgs, GetGlobalRoleBindingResult, GetGlobalRoleBindingOutputArgs } from "./getGlobalRoleBinding"; +export const getGlobalRoleBinding: typeof import("./getGlobalRoleBinding").getGlobalRoleBinding = null as any; +export const getGlobalRoleBindingOutput: typeof import("./getGlobalRoleBinding").getGlobalRoleBindingOutput = null as any; +utilities.lazyLoad(exports, ["getGlobalRoleBinding","getGlobalRoleBindingOutput"], () => require("./getGlobalRoleBinding")); + +export { GetMultiClusterAppArgs, GetMultiClusterAppResult, GetMultiClusterAppOutputArgs } from "./getMultiClusterApp"; +export const getMultiClusterApp: typeof import("./getMultiClusterApp").getMultiClusterApp = null as any; +export const getMultiClusterAppOutput: typeof import("./getMultiClusterApp").getMultiClusterAppOutput = null as any; +utilities.lazyLoad(exports, ["getMultiClusterApp","getMultiClusterAppOutput"], () => require("./getMultiClusterApp")); + +export { GetNamespaceArgs, GetNamespaceResult, GetNamespaceOutputArgs } from "./getNamespace"; +export const getNamespace: typeof import("./getNamespace").getNamespace = null as any; +export const getNamespaceOutput: typeof import("./getNamespace").getNamespaceOutput = null as any; +utilities.lazyLoad(exports, ["getNamespace","getNamespaceOutput"], () => require("./getNamespace")); + +export { GetNodeDriverArgs, GetNodeDriverResult, GetNodeDriverOutputArgs } from "./getNodeDriver"; +export const getNodeDriver: typeof import("./getNodeDriver").getNodeDriver = null as any; +export const getNodeDriverOutput: typeof import("./getNodeDriver").getNodeDriverOutput = null as any; +utilities.lazyLoad(exports, ["getNodeDriver","getNodeDriverOutput"], () => require("./getNodeDriver")); + +export { GetNodePoolArgs, GetNodePoolResult, GetNodePoolOutputArgs } from "./getNodePool"; +export const getNodePool: typeof import("./getNodePool").getNodePool = null as any; +export const getNodePoolOutput: typeof import("./getNodePool").getNodePoolOutput = null as any; +utilities.lazyLoad(exports, ["getNodePool","getNodePoolOutput"], () => require("./getNodePool")); + +export { GetNodeTemplateArgs, GetNodeTemplateResult, GetNodeTemplateOutputArgs } from "./getNodeTemplate"; +export const getNodeTemplate: typeof import("./getNodeTemplate").getNodeTemplate = null as any; +export const getNodeTemplateOutput: typeof import("./getNodeTemplate").getNodeTemplateOutput = null as any; +utilities.lazyLoad(exports, ["getNodeTemplate","getNodeTemplateOutput"], () => require("./getNodeTemplate")); + +export { GetNotifierArgs, GetNotifierResult, GetNotifierOutputArgs } from "./getNotifier"; +export const getNotifier: typeof import("./getNotifier").getNotifier = null as any; +export const getNotifierOutput: typeof import("./getNotifier").getNotifierOutput = null as any; +utilities.lazyLoad(exports, ["getNotifier","getNotifierOutput"], () => require("./getNotifier")); + +export { GetPodSecurityPolicyTemplateArgs, GetPodSecurityPolicyTemplateResult, GetPodSecurityPolicyTemplateOutputArgs } from "./getPodSecurityPolicyTemplate"; +export const getPodSecurityPolicyTemplate: typeof import("./getPodSecurityPolicyTemplate").getPodSecurityPolicyTemplate = null as any; +export const getPodSecurityPolicyTemplateOutput: typeof import("./getPodSecurityPolicyTemplate").getPodSecurityPolicyTemplateOutput = null as any; +utilities.lazyLoad(exports, ["getPodSecurityPolicyTemplate","getPodSecurityPolicyTemplateOutput"], () => require("./getPodSecurityPolicyTemplate")); + +export { GetPrincipalArgs, GetPrincipalResult, GetPrincipalOutputArgs } from "./getPrincipal"; +export const getPrincipal: typeof import("./getPrincipal").getPrincipal = null as any; +export const getPrincipalOutput: typeof import("./getPrincipal").getPrincipalOutput = null as any; +utilities.lazyLoad(exports, ["getPrincipal","getPrincipalOutput"], () => require("./getPrincipal")); + +export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject"; +export const getProject: typeof import("./getProject").getProject = null as any; +export const getProjectOutput: typeof import("./getProject").getProjectOutput = null as any; +utilities.lazyLoad(exports, ["getProject","getProjectOutput"], () => require("./getProject")); + +export { GetProjectAlertGroupArgs, GetProjectAlertGroupResult, GetProjectAlertGroupOutputArgs } from "./getProjectAlertGroup"; +export const getProjectAlertGroup: typeof import("./getProjectAlertGroup").getProjectAlertGroup = null as any; +export const getProjectAlertGroupOutput: typeof import("./getProjectAlertGroup").getProjectAlertGroupOutput = null as any; +utilities.lazyLoad(exports, ["getProjectAlertGroup","getProjectAlertGroupOutput"], () => require("./getProjectAlertGroup")); + +export { GetProjectAlertRuleArgs, GetProjectAlertRuleResult, GetProjectAlertRuleOutputArgs } from "./getProjectAlertRule"; +export const getProjectAlertRule: typeof import("./getProjectAlertRule").getProjectAlertRule = null as any; +export const getProjectAlertRuleOutput: typeof import("./getProjectAlertRule").getProjectAlertRuleOutput = null as any; +utilities.lazyLoad(exports, ["getProjectAlertRule","getProjectAlertRuleOutput"], () => require("./getProjectAlertRule")); + +export { GetProjectLoggingArgs, GetProjectLoggingResult, GetProjectLoggingOutputArgs } from "./getProjectLogging"; +export const getProjectLogging: typeof import("./getProjectLogging").getProjectLogging = null as any; +export const getProjectLoggingOutput: typeof import("./getProjectLogging").getProjectLoggingOutput = null as any; +utilities.lazyLoad(exports, ["getProjectLogging","getProjectLoggingOutput"], () => require("./getProjectLogging")); + +export { GetProjectRoleTemplateBindingArgs, GetProjectRoleTemplateBindingResult, GetProjectRoleTemplateBindingOutputArgs } from "./getProjectRoleTemplateBinding"; +export const getProjectRoleTemplateBinding: typeof import("./getProjectRoleTemplateBinding").getProjectRoleTemplateBinding = null as any; +export const getProjectRoleTemplateBindingOutput: typeof import("./getProjectRoleTemplateBinding").getProjectRoleTemplateBindingOutput = null as any; +utilities.lazyLoad(exports, ["getProjectRoleTemplateBinding","getProjectRoleTemplateBindingOutput"], () => require("./getProjectRoleTemplateBinding")); + +export { GetRegistryArgs, GetRegistryResult, GetRegistryOutputArgs } from "./getRegistry"; +export const getRegistry: typeof import("./getRegistry").getRegistry = null as any; +export const getRegistryOutput: typeof import("./getRegistry").getRegistryOutput = null as any; +utilities.lazyLoad(exports, ["getRegistry","getRegistryOutput"], () => require("./getRegistry")); + +export { GetRoleTempalteArgs, GetRoleTempalteResult, GetRoleTempalteOutputArgs } from "./getRoleTempalte"; +export const getRoleTempalte: typeof import("./getRoleTempalte").getRoleTempalte = null as any; +export const getRoleTempalteOutput: typeof import("./getRoleTempalte").getRoleTempalteOutput = null as any; +utilities.lazyLoad(exports, ["getRoleTempalte","getRoleTempalteOutput"], () => require("./getRoleTempalte")); + +export { GetRoleTemplateArgs, GetRoleTemplateResult, GetRoleTemplateOutputArgs } from "./getRoleTemplate"; +export const getRoleTemplate: typeof import("./getRoleTemplate").getRoleTemplate = null as any; +export const getRoleTemplateOutput: typeof import("./getRoleTemplate").getRoleTemplateOutput = null as any; +utilities.lazyLoad(exports, ["getRoleTemplate","getRoleTemplateOutput"], () => require("./getRoleTemplate")); + +export { GetSecretArgs, GetSecretResult, GetSecretOutputArgs } from "./getSecret"; +export const getSecret: typeof import("./getSecret").getSecret = null as any; +export const getSecretOutput: typeof import("./getSecret").getSecretOutput = null as any; +utilities.lazyLoad(exports, ["getSecret","getSecretOutput"], () => require("./getSecret")); + +export { GetSecretV2Args, GetSecretV2Result, GetSecretV2OutputArgs } from "./getSecretV2"; +export const getSecretV2: typeof import("./getSecretV2").getSecretV2 = null as any; +export const getSecretV2Output: typeof import("./getSecretV2").getSecretV2Output = null as any; +utilities.lazyLoad(exports, ["getSecretV2","getSecretV2Output"], () => require("./getSecretV2")); + +export { GetSettingArgs, GetSettingResult, GetSettingOutputArgs } from "./getSetting"; +export const getSetting: typeof import("./getSetting").getSetting = null as any; +export const getSettingOutput: typeof import("./getSetting").getSettingOutput = null as any; +utilities.lazyLoad(exports, ["getSetting","getSettingOutput"], () => require("./getSetting")); + +export { GetStorageClassV2Args, GetStorageClassV2Result, GetStorageClassV2OutputArgs } from "./getStorageClassV2"; +export const getStorageClassV2: typeof import("./getStorageClassV2").getStorageClassV2 = null as any; +export const getStorageClassV2Output: typeof import("./getStorageClassV2").getStorageClassV2Output = null as any; +utilities.lazyLoad(exports, ["getStorageClassV2","getStorageClassV2Output"], () => require("./getStorageClassV2")); + +export { GetUserArgs, GetUserResult, GetUserOutputArgs } from "./getUser"; +export const getUser: typeof import("./getUser").getUser = null as any; +export const getUserOutput: typeof import("./getUser").getUserOutput = null as any; +utilities.lazyLoad(exports, ["getUser","getUserOutput"], () => require("./getUser")); + +export { GlobalDnsArgs, GlobalDnsState } from "./globalDns"; +export type GlobalDns = import("./globalDns").GlobalDns; +export const GlobalDns: typeof import("./globalDns").GlobalDns = null as any; +utilities.lazyLoad(exports, ["GlobalDns"], () => require("./globalDns")); + +export { GlobalDnsProviderArgs, GlobalDnsProviderState } from "./globalDnsProvider"; +export type GlobalDnsProvider = import("./globalDnsProvider").GlobalDnsProvider; +export const GlobalDnsProvider: typeof import("./globalDnsProvider").GlobalDnsProvider = null as any; +utilities.lazyLoad(exports, ["GlobalDnsProvider"], () => require("./globalDnsProvider")); + +export { GlobalRoleArgs, GlobalRoleState } from "./globalRole"; +export type GlobalRole = import("./globalRole").GlobalRole; +export const GlobalRole: typeof import("./globalRole").GlobalRole = null as any; +utilities.lazyLoad(exports, ["GlobalRole"], () => require("./globalRole")); + +export { GlobalRoleBindingArgs, GlobalRoleBindingState } from "./globalRoleBinding"; +export type GlobalRoleBinding = import("./globalRoleBinding").GlobalRoleBinding; +export const GlobalRoleBinding: typeof import("./globalRoleBinding").GlobalRoleBinding = null as any; +utilities.lazyLoad(exports, ["GlobalRoleBinding"], () => require("./globalRoleBinding")); + +export { MachineConfigV2Args, MachineConfigV2State } from "./machineConfigV2"; +export type MachineConfigV2 = import("./machineConfigV2").MachineConfigV2; +export const MachineConfigV2: typeof import("./machineConfigV2").MachineConfigV2 = null as any; +utilities.lazyLoad(exports, ["MachineConfigV2"], () => require("./machineConfigV2")); + +export { MultiClusterAppArgs, MultiClusterAppState } from "./multiClusterApp"; +export type MultiClusterApp = import("./multiClusterApp").MultiClusterApp; +export const MultiClusterApp: typeof import("./multiClusterApp").MultiClusterApp = null as any; +utilities.lazyLoad(exports, ["MultiClusterApp"], () => require("./multiClusterApp")); + +export { NamespaceArgs, NamespaceState } from "./namespace"; +export type Namespace = import("./namespace").Namespace; +export const Namespace: typeof import("./namespace").Namespace = null as any; +utilities.lazyLoad(exports, ["Namespace"], () => require("./namespace")); + +export { NodeDriverArgs, NodeDriverState } from "./nodeDriver"; +export type NodeDriver = import("./nodeDriver").NodeDriver; +export const NodeDriver: typeof import("./nodeDriver").NodeDriver = null as any; +utilities.lazyLoad(exports, ["NodeDriver"], () => require("./nodeDriver")); + +export { NodePoolArgs, NodePoolState } from "./nodePool"; +export type NodePool = import("./nodePool").NodePool; +export const NodePool: typeof import("./nodePool").NodePool = null as any; +utilities.lazyLoad(exports, ["NodePool"], () => require("./nodePool")); + +export { NodeTemplateArgs, NodeTemplateState } from "./nodeTemplate"; +export type NodeTemplate = import("./nodeTemplate").NodeTemplate; +export const NodeTemplate: typeof import("./nodeTemplate").NodeTemplate = null as any; +utilities.lazyLoad(exports, ["NodeTemplate"], () => require("./nodeTemplate")); + +export { NotifierArgs, NotifierState } from "./notifier"; +export type Notifier = import("./notifier").Notifier; +export const Notifier: typeof import("./notifier").Notifier = null as any; +utilities.lazyLoad(exports, ["Notifier"], () => require("./notifier")); + +export { PodSecurityPolicyTemplateArgs, PodSecurityPolicyTemplateState } from "./podSecurityPolicyTemplate"; +export type PodSecurityPolicyTemplate = import("./podSecurityPolicyTemplate").PodSecurityPolicyTemplate; +export const PodSecurityPolicyTemplate: typeof import("./podSecurityPolicyTemplate").PodSecurityPolicyTemplate = null as any; +utilities.lazyLoad(exports, ["PodSecurityPolicyTemplate"], () => require("./podSecurityPolicyTemplate")); + +export { ProjectArgs, ProjectState } from "./project"; +export type Project = import("./project").Project; +export const Project: typeof import("./project").Project = null as any; +utilities.lazyLoad(exports, ["Project"], () => require("./project")); + +export { ProjectAlertGroupArgs, ProjectAlertGroupState } from "./projectAlertGroup"; +export type ProjectAlertGroup = import("./projectAlertGroup").ProjectAlertGroup; +export const ProjectAlertGroup: typeof import("./projectAlertGroup").ProjectAlertGroup = null as any; +utilities.lazyLoad(exports, ["ProjectAlertGroup"], () => require("./projectAlertGroup")); + +export { ProjectAlertRuleArgs, ProjectAlertRuleState } from "./projectAlertRule"; +export type ProjectAlertRule = import("./projectAlertRule").ProjectAlertRule; +export const ProjectAlertRule: typeof import("./projectAlertRule").ProjectAlertRule = null as any; +utilities.lazyLoad(exports, ["ProjectAlertRule"], () => require("./projectAlertRule")); + +export { ProjectLoggingArgs, ProjectLoggingState } from "./projectLogging"; +export type ProjectLogging = import("./projectLogging").ProjectLogging; +export const ProjectLogging: typeof import("./projectLogging").ProjectLogging = null as any; +utilities.lazyLoad(exports, ["ProjectLogging"], () => require("./projectLogging")); + +export { ProjectRoleTemplateBindingArgs, ProjectRoleTemplateBindingState } from "./projectRoleTemplateBinding"; +export type ProjectRoleTemplateBinding = import("./projectRoleTemplateBinding").ProjectRoleTemplateBinding; +export const ProjectRoleTemplateBinding: typeof import("./projectRoleTemplateBinding").ProjectRoleTemplateBinding = null as any; +utilities.lazyLoad(exports, ["ProjectRoleTemplateBinding"], () => require("./projectRoleTemplateBinding")); + +export { ProviderArgs } from "./provider"; +export type Provider = import("./provider").Provider; +export const Provider: typeof import("./provider").Provider = null as any; +utilities.lazyLoad(exports, ["Provider"], () => require("./provider")); + +export { RegistryArgs, RegistryState } from "./registry"; +export type Registry = import("./registry").Registry; +export const Registry: typeof import("./registry").Registry = null as any; +utilities.lazyLoad(exports, ["Registry"], () => require("./registry")); + +export { RoleTempalteArgs, RoleTempalteState } from "./roleTempalte"; +export type RoleTempalte = import("./roleTempalte").RoleTempalte; +export const RoleTempalte: typeof import("./roleTempalte").RoleTempalte = null as any; +utilities.lazyLoad(exports, ["RoleTempalte"], () => require("./roleTempalte")); + +export { RoleTemplateArgs, RoleTemplateState } from "./roleTemplate"; +export type RoleTemplate = import("./roleTemplate").RoleTemplate; +export const RoleTemplate: typeof import("./roleTemplate").RoleTemplate = null as any; +utilities.lazyLoad(exports, ["RoleTemplate"], () => require("./roleTemplate")); + +export { SecretArgs, SecretState } from "./secret"; +export type Secret = import("./secret").Secret; +export const Secret: typeof import("./secret").Secret = null as any; +utilities.lazyLoad(exports, ["Secret"], () => require("./secret")); + +export { SecretV2Args, SecretV2State } from "./secretV2"; +export type SecretV2 = import("./secretV2").SecretV2; +export const SecretV2: typeof import("./secretV2").SecretV2 = null as any; +utilities.lazyLoad(exports, ["SecretV2"], () => require("./secretV2")); + +export { SettingArgs, SettingState } from "./setting"; +export type Setting = import("./setting").Setting; +export const Setting: typeof import("./setting").Setting = null as any; +utilities.lazyLoad(exports, ["Setting"], () => require("./setting")); + +export { StorageClassV2Args, StorageClassV2State } from "./storageClassV2"; +export type StorageClassV2 = import("./storageClassV2").StorageClassV2; +export const StorageClassV2: typeof import("./storageClassV2").StorageClassV2 = null as any; +utilities.lazyLoad(exports, ["StorageClassV2"], () => require("./storageClassV2")); + +export { TokenArgs, TokenState } from "./token"; +export type Token = import("./token").Token; +export const Token: typeof import("./token").Token = null as any; +utilities.lazyLoad(exports, ["Token"], () => require("./token")); + +export { UserArgs, UserState } from "./user"; +export type User = import("./user").User; +export const User: typeof import("./user").User = null as any; +utilities.lazyLoad(exports, ["User"], () => require("./user")); + // Export sub-modules: import * as config from "./config"; @@ -113,65 +505,6 @@ export { types, }; -// Import resources to register: -import { ActiveDirectory } from "./activeDirectory"; -import { App } from "./app"; -import { AppV2 } from "./appV2"; -import { AuthConfigActiveDirectory } from "./authConfigActiveDirectory"; -import { AuthConfigAdfs } from "./authConfigAdfs"; -import { AuthConfigAzureAd } from "./authConfigAzureAd"; -import { AuthConfigFreeIpa } from "./authConfigFreeIpa"; -import { AuthConfigGithub } from "./authConfigGithub"; -import { AuthConfigKeycloak } from "./authConfigKeycloak"; -import { AuthConfigOkta } from "./authConfigOkta"; -import { AuthConfigOpenLdap } from "./authConfigOpenLdap"; -import { AuthConfigPing } from "./authConfigPing"; -import { Bootstrap } from "./bootstrap"; -import { Catalog } from "./catalog"; -import { CatalogV2 } from "./catalogV2"; -import { Certificate } from "./certificate"; -import { CloudCredential } from "./cloudCredential"; -import { Cluster } from "./cluster"; -import { ClusterAlertGroup } from "./clusterAlertGroup"; -import { ClusterAlertRule } from "./clusterAlertRule"; -import { ClusterAlterGroup } from "./clusterAlterGroup"; -import { ClusterAlterRule } from "./clusterAlterRule"; -import { ClusterDriver } from "./clusterDriver"; -import { ClusterLogging } from "./clusterLogging"; -import { ClusterRoleTemplateBinding } from "./clusterRoleTemplateBinding"; -import { ClusterSync } from "./clusterSync"; -import { ClusterTemplate } from "./clusterTemplate"; -import { ClusterV2 } from "./clusterV2"; -import { ConfigMapV2 } from "./configMapV2"; -import { EtcdBackup } from "./etcdBackup"; -import { Feature } from "./feature"; -import { GlobalDns } from "./globalDns"; -import { GlobalDnsProvider } from "./globalDnsProvider"; -import { GlobalRole } from "./globalRole"; -import { GlobalRoleBinding } from "./globalRoleBinding"; -import { MachineConfigV2 } from "./machineConfigV2"; -import { MultiClusterApp } from "./multiClusterApp"; -import { Namespace } from "./namespace"; -import { NodeDriver } from "./nodeDriver"; -import { NodePool } from "./nodePool"; -import { NodeTemplate } from "./nodeTemplate"; -import { Notifier } from "./notifier"; -import { PodSecurityPolicyTemplate } from "./podSecurityPolicyTemplate"; -import { Project } from "./project"; -import { ProjectAlertGroup } from "./projectAlertGroup"; -import { ProjectAlertRule } from "./projectAlertRule"; -import { ProjectLogging } from "./projectLogging"; -import { ProjectRoleTemplateBinding } from "./projectRoleTemplateBinding"; -import { Registry } from "./registry"; -import { RoleTempalte } from "./roleTempalte"; -import { RoleTemplate } from "./roleTemplate"; -import { Secret } from "./secret"; -import { SecretV2 } from "./secretV2"; -import { Setting } from "./setting"; -import { StorageClassV2 } from "./storageClassV2"; -import { Token } from "./token"; -import { User } from "./user"; - const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { @@ -352,9 +685,6 @@ pulumi.runtime.registerResourceModule("rancher2", "index/setting", _module) pulumi.runtime.registerResourceModule("rancher2", "index/storageClassV2", _module) pulumi.runtime.registerResourceModule("rancher2", "index/token", _module) pulumi.runtime.registerResourceModule("rancher2", "index/user", _module) - -import { Provider } from "./provider"; - pulumi.runtime.registerResourcePackage("rancher2", { version: utilities.getVersion(), constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => { diff --git a/sdk/nodejs/machineConfigV2.ts b/sdk/nodejs/machineConfigV2.ts index 7b34a6e8f..4716936b7 100644 --- a/sdk/nodejs/machineConfigV2.ts +++ b/sdk/nodejs/machineConfigV2.ts @@ -2,11 +2,12 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. + * Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is available from Rancher v2.6.0 and above. * * `amazonec2`, `azure`, `digitalocean`, `linode`, `openstack`, and `vsphere` cloud providers are supported for machine config V2 * diff --git a/sdk/nodejs/multiClusterApp.ts b/sdk/nodejs/multiClusterApp.ts index 384751f46..200215b19 100644 --- a/sdk/nodejs/multiClusterApp.ts +++ b/sdk/nodejs/multiClusterApp.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/namespace.ts b/sdk/nodejs/namespace.ts index 7133ca07f..59bf48ea8 100644 --- a/sdk/nodejs/namespace.ts +++ b/sdk/nodejs/namespace.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/nodePool.ts b/sdk/nodejs/nodePool.ts index 9d7248b90..fc7aa77da 100644 --- a/sdk/nodejs/nodePool.ts +++ b/sdk/nodejs/nodePool.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/nodeTemplate.ts b/sdk/nodejs/nodeTemplate.ts index 3a9191941..baa5f8a82 100644 --- a/sdk/nodejs/nodeTemplate.ts +++ b/sdk/nodejs/nodeTemplate.ts @@ -2,13 +2,14 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** * Provides a Rancher v2 Node Template resource. This can be used to create Node Template for Rancher v2 and retrieve their information. * - * amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, hetzner, and vsphere drivers are supported for node templates. + * amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates. * * **Note** If you are upgrading to Rancher v2.3.3, please take a look to final section * @@ -250,6 +251,10 @@ export class NodeTemplate extends pulumi.CustomResource { * Openstack config for the Node Template (list maxitems:1) */ public readonly openstackConfig!: pulumi.Output; + /** + * Outscale config for the Node Template (list maxitems:1) + */ + public readonly outscaleConfig!: pulumi.Output; /** * Engine storage driver for the node template (bool) */ @@ -297,14 +302,15 @@ export class NodeTemplate extends pulumi.CustomResource { resourceInputs["nodeTaints"] = state ? state.nodeTaints : undefined; resourceInputs["opennebulaConfig"] = state ? state.opennebulaConfig : undefined; resourceInputs["openstackConfig"] = state ? state.openstackConfig : undefined; + resourceInputs["outscaleConfig"] = state ? state.outscaleConfig : undefined; resourceInputs["useInternalIpAddress"] = state ? state.useInternalIpAddress : undefined; resourceInputs["vsphereConfig"] = state ? state.vsphereConfig : undefined; } else { const args = argsOrState as NodeTemplateArgs | undefined; resourceInputs["amazonec2Config"] = args ? args.amazonec2Config : undefined; resourceInputs["annotations"] = args ? args.annotations : undefined; - resourceInputs["authCertificateAuthority"] = args ? args.authCertificateAuthority : undefined; - resourceInputs["authKey"] = args ? args.authKey : undefined; + resourceInputs["authCertificateAuthority"] = args?.authCertificateAuthority ? pulumi.secret(args.authCertificateAuthority) : undefined; + resourceInputs["authKey"] = args?.authKey ? pulumi.secret(args.authKey) : undefined; resourceInputs["azureConfig"] = args ? args.azureConfig : undefined; resourceInputs["cloudCredentialId"] = args ? args.cloudCredentialId : undefined; resourceInputs["description"] = args ? args.description : undefined; @@ -325,11 +331,14 @@ export class NodeTemplate extends pulumi.CustomResource { resourceInputs["nodeTaints"] = args ? args.nodeTaints : undefined; resourceInputs["opennebulaConfig"] = args ? args.opennebulaConfig : undefined; resourceInputs["openstackConfig"] = args ? args.openstackConfig : undefined; + resourceInputs["outscaleConfig"] = args ? args.outscaleConfig : undefined; resourceInputs["useInternalIpAddress"] = args ? args.useInternalIpAddress : undefined; resourceInputs["vsphereConfig"] = args ? args.vsphereConfig : undefined; resourceInputs["driver"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["authCertificateAuthority", "authKey"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(NodeTemplate.__pulumiType, name, resourceInputs, opts); } } @@ -438,6 +447,10 @@ export interface NodeTemplateState { * Openstack config for the Node Template (list maxitems:1) */ openstackConfig?: pulumi.Input; + /** + * Outscale config for the Node Template (list maxitems:1) + */ + outscaleConfig?: pulumi.Input; /** * Engine storage driver for the node template (bool) */ @@ -548,6 +561,10 @@ export interface NodeTemplateArgs { * Openstack config for the Node Template (list maxitems:1) */ openstackConfig?: pulumi.Input; + /** + * Outscale config for the Node Template (list maxitems:1) + */ + outscaleConfig?: pulumi.Input; /** * Engine storage driver for the node template (bool) */ diff --git a/sdk/nodejs/notifier.ts b/sdk/nodejs/notifier.ts index 11529edb0..9dc4f6ed1 100644 --- a/sdk/nodejs/notifier.ts +++ b/sdk/nodejs/notifier.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index 6264cb62b..3ceccde0d 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -22,6 +22,7 @@ "typescript": "^4.3.5" }, "pulumi": { - "resource": true + "resource": true, + "name": "rancher2" } } diff --git a/sdk/nodejs/podSecurityPolicyTemplate.ts b/sdk/nodejs/podSecurityPolicyTemplate.ts index de101824b..b8b32eded 100644 --- a/sdk/nodejs/podSecurityPolicyTemplate.ts +++ b/sdk/nodejs/podSecurityPolicyTemplate.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/project.ts b/sdk/nodejs/project.ts index 6b9f53552..ac6575bb1 100644 --- a/sdk/nodejs/project.ts +++ b/sdk/nodejs/project.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/projectAlertGroup.ts b/sdk/nodejs/projectAlertGroup.ts index d637a2ee0..dc1a03e6f 100644 --- a/sdk/nodejs/projectAlertGroup.ts +++ b/sdk/nodejs/projectAlertGroup.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/projectAlertRule.ts b/sdk/nodejs/projectAlertRule.ts index 6f2d5d3fd..ef8cb6af2 100644 --- a/sdk/nodejs/projectAlertRule.ts +++ b/sdk/nodejs/projectAlertRule.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/projectLogging.ts b/sdk/nodejs/projectLogging.ts index 2cc20801d..9ec6b8dca 100644 --- a/sdk/nodejs/projectLogging.ts +++ b/sdk/nodejs/projectLogging.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/provider.ts b/sdk/nodejs/provider.ts index 27e768487..0d5b3cbf8 100644 --- a/sdk/nodejs/provider.ts +++ b/sdk/nodejs/provider.ts @@ -64,17 +64,19 @@ export class Provider extends pulumi.ProviderResource { if ((!args || args.apiUrl === undefined) && !opts.urn) { throw new Error("Missing required property 'apiUrl'"); } - resourceInputs["accessKey"] = args ? args.accessKey : undefined; + resourceInputs["accessKey"] = args?.accessKey ? pulumi.secret(args.accessKey) : undefined; resourceInputs["apiUrl"] = args ? args.apiUrl : undefined; resourceInputs["bootstrap"] = pulumi.output((args ? args.bootstrap : undefined) ?? (utilities.getEnvBoolean("RANCHER_BOOTSTRAP") || false)).apply(JSON.stringify); resourceInputs["caCerts"] = args ? args.caCerts : undefined; resourceInputs["insecure"] = pulumi.output((args ? args.insecure : undefined) ?? (utilities.getEnvBoolean("RANCHER_INSECURE") || false)).apply(JSON.stringify); resourceInputs["retries"] = pulumi.output(args ? args.retries : undefined).apply(JSON.stringify); - resourceInputs["secretKey"] = args ? args.secretKey : undefined; + resourceInputs["secretKey"] = args?.secretKey ? pulumi.secret(args.secretKey) : undefined; resourceInputs["timeout"] = args ? args.timeout : undefined; - resourceInputs["tokenKey"] = args ? args.tokenKey : undefined; + resourceInputs["tokenKey"] = args?.tokenKey ? pulumi.secret(args.tokenKey) : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["accessKey", "secretKey", "tokenKey"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(Provider.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/registry.ts b/sdk/nodejs/registry.ts index 0df0f399a..fdd65c910 100644 --- a/sdk/nodejs/registry.ts +++ b/sdk/nodejs/registry.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/roleTempalte.ts b/sdk/nodejs/roleTempalte.ts index dfa842b2b..efa0001b4 100644 --- a/sdk/nodejs/roleTempalte.ts +++ b/sdk/nodejs/roleTempalte.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/roleTemplate.ts b/sdk/nodejs/roleTemplate.ts index a611d6361..1582e2a7c 100644 --- a/sdk/nodejs/roleTemplate.ts +++ b/sdk/nodejs/roleTemplate.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "./types"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** diff --git a/sdk/nodejs/secret.ts b/sdk/nodejs/secret.ts index ca9e31591..2eb8a99df 100644 --- a/sdk/nodejs/secret.ts +++ b/sdk/nodejs/secret.ts @@ -107,7 +107,7 @@ export class Secret extends pulumi.CustomResource { throw new Error("Missing required property 'projectId'"); } resourceInputs["annotations"] = args ? args.annotations : undefined; - resourceInputs["data"] = args ? args.data : undefined; + resourceInputs["data"] = args?.data ? pulumi.secret(args.data) : undefined; resourceInputs["description"] = args ? args.description : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["name"] = args ? args.name : undefined; @@ -115,6 +115,8 @@ export class Secret extends pulumi.CustomResource { resourceInputs["projectId"] = args ? args.projectId : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["data"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(Secret.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/secretV2.ts b/sdk/nodejs/secretV2.ts index 4257c421e..a4ad6b079 100644 --- a/sdk/nodejs/secretV2.ts +++ b/sdk/nodejs/secretV2.ts @@ -112,7 +112,7 @@ export class SecretV2 extends pulumi.CustomResource { } resourceInputs["annotations"] = args ? args.annotations : undefined; resourceInputs["clusterId"] = args ? args.clusterId : undefined; - resourceInputs["data"] = args ? args.data : undefined; + resourceInputs["data"] = args?.data ? pulumi.secret(args.data) : undefined; resourceInputs["immutable"] = args ? args.immutable : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["name"] = args ? args.name : undefined; @@ -121,6 +121,8 @@ export class SecretV2 extends pulumi.CustomResource { resourceInputs["resourceVersion"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["data"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(SecretV2.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/token.ts b/sdk/nodejs/token.ts index 94dc5a0f0..4b9fb7e25 100644 --- a/sdk/nodejs/token.ts +++ b/sdk/nodejs/token.ts @@ -151,6 +151,8 @@ export class Token extends pulumi.CustomResource { resourceInputs["userId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["secretKey", "token"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(Token.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/types/index.ts b/sdk/nodejs/types/index.ts index a6057c6fc..c7b9909c9 100644 --- a/sdk/nodejs/types/index.ts +++ b/sdk/nodejs/types/index.ts @@ -1,6 +1,8 @@ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** +import * as utilities from "../utilities"; + // Export sub-modules: import * as input from "./input"; import * as output from "./output"; diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 44b98148c..9b0422100 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "../types"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; export interface CloudCredentialAmazonec2CredentialConfig { /** @@ -2801,6 +2802,10 @@ export interface ClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { } export interface ClusterRkeConfigNetwork { + /** + * ACI provider config for RKE network (list maxitems:63) + */ + aciNetworkProvider?: pulumi.Input; /** * Calico provider config for RKE network (list maxitems:1) */ @@ -2835,6 +2840,305 @@ export interface ClusterRkeConfigNetwork { weaveNetworkProvider?: pulumi.Input; } +export interface ClusterRkeConfigNetworkAciNetworkProvider { + /** + * Attachable entity profile (string) + */ + aep: pulumi.Input; + /** + * List of APIC hosts to connect for APIC API (list) + */ + apicHosts: pulumi.Input[]>; + /** + * APIC refresh ticker adjust amount (string) + */ + apicRefreshTickerAdjust?: pulumi.Input; + /** + * APIC refresh time in seconds (string) + */ + apicRefreshTime?: pulumi.Input; + /** + * APIC subscription delay amount (string) + */ + apicSubscriptionDelay?: pulumi.Input; + /** + * APIC user certificate (string) + */ + apicUserCrt: pulumi.Input; + /** + * APIC user key (string) + */ + apicUserKey: pulumi.Input; + /** + * APIC user name (string) + */ + apicUserName: pulumi.Input; + /** + * cAPIC cloud (string) + */ + capic?: pulumi.Input; + /** + * Log level for ACI controller (string) + */ + controllerLogLevel?: pulumi.Input; + /** + * Whether to disable periodic SNAT global info sync (string) + */ + disablePeriodicSnatGlobalInfoSync?: pulumi.Input; + /** + * Whether to disable waiting for network (string) + */ + disableWaitForNetwork?: pulumi.Input; + /** + * Whether to enable drop log (string) + */ + dropLogEnable?: pulumi.Input; + /** + * The duration to wait for network (string) + */ + durationWaitForNetwork?: pulumi.Input; + /** + * Whether to enable endpoint slices (string) + */ + enableEndpointSlice?: pulumi.Input; + /** + * Encap type: vxlan or vlan (string) + */ + encapType: pulumi.Input; + /** + * EP registry (string) + */ + epRegistry?: pulumi.Input; + /** + * Subnet to use for dynamic external IPs (string) + */ + externDynamic: pulumi.Input; + /** + * Subnet to use for static external IPs (string) + */ + externStatic: pulumi.Input; + /** + * GBH pod subnet (string) + */ + gbpPodSubnet?: pulumi.Input; + /** + * Log level for ACI host agent (string) + */ + hostAgentLogLevel?: pulumi.Input; + /** + * Image pull policy (string) + */ + imagePullPolicy?: pulumi.Input; + /** + * Image pull policy (string) + */ + imagePullSecret?: pulumi.Input; + /** + * The VLAN used by ACI infra (string) + */ + infraVlan?: pulumi.Input; + /** + * Whether to install Istio (string) + */ + installIstio?: pulumi.Input; + /** + * Istio profile name (string) + */ + istioProfile?: pulumi.Input; + /** + * List of Kafka broker hosts (list) + */ + kafkaBrokers?: pulumi.Input[]>; + /** + * Kafka client certificate (string) + */ + kafkaClientCrt?: pulumi.Input; + /** + * Kafka client key (string) + */ + kafkaClientKey?: pulumi.Input; + /** + * The VLAN used by the physdom for nodes (string) + */ + kubeApiVlan: pulumi.Input; + /** + * L3out (string) + */ + l3out: pulumi.Input; + /** + * L3out external networks (list) + */ + l3outExternalNetworks: pulumi.Input[]>; + /** + * Max nodes in service graph (string) + */ + maxNodesSvcGraph?: pulumi.Input; + /** + * End of mcast range (string) + */ + mcastRangeEnd: pulumi.Input; + /** + * Start of mcast range (string) + */ + mcastRangeStart: pulumi.Input; + /** + * MTU head room amount (string) + */ + mtuHeadRoom?: pulumi.Input; + /** + * Whether to disable Multus (string) + */ + multusDisable?: pulumi.Input; + /** + * Whether to use priority class (string) + */ + noPriorityClass?: pulumi.Input; + /** + * Whether to enable node pod interface (string) + */ + nodePodIfEnable?: pulumi.Input; + /** + * Subnet to use for nodes (string) + */ + nodeSubnet: pulumi.Input; + /** + * Subnet to use for service graph (string) + */ + nodeSvcSubnet: pulumi.Input; + /** + * Whether to use client SSL for Opflex (string) + */ + opflexClientSsl?: pulumi.Input; + /** + * Opflex device delete timeout (string) + */ + opflexDeviceDeleteTimeout?: pulumi.Input; + /** + * Log level for ACI opflex (string) + */ + opflexLogLevel?: pulumi.Input; + /** + * Opflex mode (string) + */ + opflexMode?: pulumi.Input; + /** + * Opflex server port (string) + */ + opflexServerPort?: pulumi.Input; + /** + * Overlay VRF name (string) + */ + overlayVrfName?: pulumi.Input; + /** + * OVS memory limit (string) + */ + ovsMemoryLimit?: pulumi.Input; + /** + * Policy-based routing tracking non snat (string) + */ + pbrTrackingNonSnat?: pulumi.Input; + /** + * Pod subnet chunk size (string) + */ + podSubnetChunkSize?: pulumi.Input; + /** + * Whether to run GBP container (string) + */ + runGbpContainer?: pulumi.Input; + /** + * Whether to run Opflex server container (string) + */ + runOpflexServerContainer?: pulumi.Input; + /** + * Service monitor interval (string) + */ + serviceMonitorInterval?: pulumi.Input; + /** + * The VLAN used by LoadBalancer services (string) + */ + serviceVlan: pulumi.Input; + /** + * Snat contract scope (string) + */ + snatContractScope?: pulumi.Input; + /** + * Snat namespace (string) + */ + snatNamespace?: pulumi.Input; + /** + * End of snat port range (string) + */ + snatPortRangeEnd?: pulumi.Input; + /** + * End of snat port range (string) + */ + snatPortRangeStart?: pulumi.Input; + /** + * Snat ports per node (string) + */ + snatPortsPerNode?: pulumi.Input; + /** + * Whether to enable SR-IOV (string) + */ + sriovEnable?: pulumi.Input; + /** + * Subnet domain name (string) + */ + subnetDomainName?: pulumi.Input; + /** + * ACI system ID (string) + */ + systemId: pulumi.Input; + /** + * ACI tenant (string) + */ + tenant?: pulumi.Input; + /** + * Token for cluster registration token object (string) + */ + token: pulumi.Input; + /** + * Whether to use ACI anywhere CRD (string) + */ + useAciAnywhereCrd?: pulumi.Input; + /** + * Whether to use ACI CNI priority class (string) + */ + useAciCniPriorityClass?: pulumi.Input; + /** + * Whether to use cluster role (string) + */ + useClusterRole?: pulumi.Input; + /** + * Whether to use host netns volume (string) + */ + useHostNetnsVolume?: pulumi.Input; + /** + * Whether use Opflex server volume (string) + */ + useOpflexServerVolume?: pulumi.Input; + /** + * Whether ACI containers should run as privileged (string) + */ + usePrivilegedContainer?: pulumi.Input; + /** + * VMM controller configuration (string) + */ + vmmController?: pulumi.Input; + /** + * VMM domain configuration (string) + */ + vmmDomain?: pulumi.Input; + /** + * VRF name (string) + */ + vrfName: pulumi.Input; + /** + * VRF tenant (string) + */ + vrfTenant: pulumi.Input; +} + export interface ClusterRkeConfigNetworkCalicoNetworkProvider { /** * RKE options for Calico network provider (string) @@ -3930,6 +4234,7 @@ export interface ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring } export interface ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { + aciNetworkProvider?: pulumi.Input; calicoNetworkProvider?: pulumi.Input; canalNetworkProvider?: pulumi.Input; flannelNetworkProvider?: pulumi.Input; @@ -3940,6 +4245,83 @@ export interface ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { weaveNetworkProvider?: pulumi.Input; } +export interface ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { + aep: pulumi.Input; + apicHosts: pulumi.Input[]>; + apicRefreshTickerAdjust?: pulumi.Input; + apicRefreshTime?: pulumi.Input; + apicSubscriptionDelay?: pulumi.Input; + apicUserCrt: pulumi.Input; + apicUserKey: pulumi.Input; + apicUserName: pulumi.Input; + capic?: pulumi.Input; + controllerLogLevel?: pulumi.Input; + disablePeriodicSnatGlobalInfoSync?: pulumi.Input; + disableWaitForNetwork?: pulumi.Input; + dropLogEnable?: pulumi.Input; + durationWaitForNetwork?: pulumi.Input; + enableEndpointSlice?: pulumi.Input; + encapType: pulumi.Input; + epRegistry?: pulumi.Input; + externDynamic: pulumi.Input; + externStatic: pulumi.Input; + gbpPodSubnet?: pulumi.Input; + hostAgentLogLevel?: pulumi.Input; + imagePullPolicy?: pulumi.Input; + imagePullSecret?: pulumi.Input; + infraVlan?: pulumi.Input; + installIstio?: pulumi.Input; + istioProfile?: pulumi.Input; + kafkaBrokers?: pulumi.Input[]>; + kafkaClientCrt?: pulumi.Input; + kafkaClientKey?: pulumi.Input; + kubeApiVlan: pulumi.Input; + l3out: pulumi.Input; + l3outExternalNetworks: pulumi.Input[]>; + maxNodesSvcGraph?: pulumi.Input; + mcastRangeEnd: pulumi.Input; + mcastRangeStart: pulumi.Input; + mtuHeadRoom?: pulumi.Input; + multusDisable?: pulumi.Input; + noPriorityClass?: pulumi.Input; + nodePodIfEnable?: pulumi.Input; + nodeSubnet: pulumi.Input; + nodeSvcSubnet: pulumi.Input; + opflexClientSsl?: pulumi.Input; + opflexDeviceDeleteTimeout?: pulumi.Input; + opflexLogLevel?: pulumi.Input; + opflexMode?: pulumi.Input; + opflexServerPort?: pulumi.Input; + overlayVrfName?: pulumi.Input; + ovsMemoryLimit?: pulumi.Input; + pbrTrackingNonSnat?: pulumi.Input; + podSubnetChunkSize?: pulumi.Input; + runGbpContainer?: pulumi.Input; + runOpflexServerContainer?: pulumi.Input; + serviceMonitorInterval?: pulumi.Input; + serviceVlan: pulumi.Input; + snatContractScope?: pulumi.Input; + snatNamespace?: pulumi.Input; + snatPortRangeEnd?: pulumi.Input; + snatPortRangeStart?: pulumi.Input; + snatPortsPerNode?: pulumi.Input; + sriovEnable?: pulumi.Input; + subnetDomainName?: pulumi.Input; + systemId: pulumi.Input; + tenant?: pulumi.Input; + token: pulumi.Input; + useAciAnywhereCrd?: pulumi.Input; + useAciCniPriorityClass?: pulumi.Input; + useClusterRole?: pulumi.Input; + useHostNetnsVolume?: pulumi.Input; + useOpflexServerVolume?: pulumi.Input; + usePrivilegedContainer?: pulumi.Input; + vmmController?: pulumi.Input; + vmmDomain?: pulumi.Input; + vrfName: pulumi.Input; + vrfTenant: pulumi.Input; +} + export interface ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { cloudProvider?: pulumi.Input; } @@ -4438,6 +4820,10 @@ export interface ClusterV2RkeConfigMachinePool { * Machine pool node config (list) */ machineConfig: pulumi.Input; + /** + * Labels for Machine pool nodes (map) + */ + machineLabels?: pulumi.Input<{[key: string]: any}>; /** * Max unhealthy nodes for automated replacement to be allowed (string) */ @@ -4767,18 +5153,18 @@ export interface EtcdBackupBackupConfigS3BackupConfig { secretKey?: pulumi.Input; } -export interface GetNotifierDingtalkConfigArgs { - proxyUrl?: pulumi.Input; - secret?: pulumi.Input; - url: pulumi.Input; -} - export interface GetNotifierDingtalkConfig { proxyUrl?: string; secret?: string; url: string; } +export interface GetNotifierDingtalkConfigArgs { + proxyUrl?: pulumi.Input; + secret?: pulumi.Input; + url: pulumi.Input; +} + export interface GetNotifierMsteamsConfig { proxyUrl?: string; url: string; @@ -4803,14 +5189,14 @@ export interface GetPodSecurityPolicyTemplateAllowedCsiDriverArgs { name: pulumi.Input; } -export interface GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs { - driver: pulumi.Input; -} - export interface GetPodSecurityPolicyTemplateAllowedFlexVolume { driver: string; } +export interface GetPodSecurityPolicyTemplateAllowedFlexVolumeArgs { + driver: pulumi.Input; +} + export interface GetPodSecurityPolicyTemplateAllowedHostPath { pathPrefix: string; readOnly?: boolean; @@ -4901,16 +5287,16 @@ export interface GetPodSecurityPolicyTemplateRuntimeClassArgs { defaultRuntimeClassName?: pulumi.Input; } -export interface GetPodSecurityPolicyTemplateSeLinuxArgs { - rule: pulumi.Input; - seLinuxOption?: pulumi.Input; -} - export interface GetPodSecurityPolicyTemplateSeLinux { rule: string; seLinuxOption?: inputs.GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption; } +export interface GetPodSecurityPolicyTemplateSeLinuxArgs { + rule: pulumi.Input; + seLinuxOption?: pulumi.Input; +} + export interface GetPodSecurityPolicyTemplateSeLinuxSeLinuxOption { level?: string; role?: string; @@ -5219,6 +5605,10 @@ export interface MachineConfigV2AzureConfig { * Make the specified port number accessible from the Internet. (list) */ openPorts?: pulumi.Input[]>; + /** + * Only use a private IP address. Default `false` (bool) + */ + privateAddressOnly?: pulumi.Input; /** * Specify a static private IP address for the machine. (string) */ @@ -5916,7 +6306,7 @@ export interface NodePoolNodeTaint { export interface NodeTemplateAmazonec2Config { /** - * AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * Outscale Access Key (string) */ accessKey?: pulumi.Input; /** @@ -5939,6 +6329,14 @@ export interface NodeTemplateAmazonec2Config { * Optional endpoint URL (hostname only or fully qualified URI) (string) */ endpoint?: pulumi.Input; + /** + * Enables or disables the HTTP metadata endpoint on your instances (string) + */ + httpEndpoint?: pulumi.Input; + /** + * The state of token usage for your instance metadata requests (string) + */ + httpTokens?: pulumi.Input; /** * AWS IAM Instance Profile (string) */ @@ -5948,7 +6346,7 @@ export interface NodeTemplateAmazonec2Config { */ insecureTransport?: pulumi.Input; /** - * Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * Outscale VM type. Default `tinav2.c1r2p3` (string) */ instanceType?: pulumi.Input; /** @@ -5972,7 +6370,7 @@ export interface NodeTemplateAmazonec2Config { */ privateAddressOnly?: pulumi.Input; /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) */ region: pulumi.Input; /** @@ -5988,7 +6386,7 @@ export interface NodeTemplateAmazonec2Config { */ rootSize?: pulumi.Input; /** - * AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * Outscale Secret Key (string) */ secretKey?: pulumi.Input; /** @@ -6007,9 +6405,6 @@ export interface NodeTemplateAmazonec2Config { * AWS spot instance bid price (in dollar). Default `0.50` (string) */ spotPrice?: pulumi.Input; - /** - * SSH Key for Instance (string) - */ sshKeypath?: pulumi.Input; /** * If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) @@ -6190,7 +6585,7 @@ export interface NodeTemplateDigitaloceanConfig { */ privateNetworking?: pulumi.Input; /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) */ region?: pulumi.Input; /** @@ -6331,7 +6726,7 @@ export interface NodeTemplateLinodeConfig { */ image?: pulumi.Input; /** - * Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * Outscale VM type. Default `tinav2.c1r2p3` (string) */ instanceType?: pulumi.Input; /** @@ -6339,7 +6734,7 @@ export interface NodeTemplateLinodeConfig { */ label?: pulumi.Input; /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) */ region?: pulumi.Input; /** @@ -6580,7 +6975,7 @@ export interface NodeTemplateOpenstackConfig { */ privateKeyFile?: pulumi.Input; /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) */ region: pulumi.Input; /** @@ -6633,6 +7028,53 @@ export interface NodeTemplateOpenstackConfig { volumeType?: pulumi.Input; } +export interface NodeTemplateOutscaleConfig { + /** + * Outscale Access Key (string) + */ + accessKey: pulumi.Input; + /** + * Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + */ + extraTagsAlls?: pulumi.Input[]>; + /** + * Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + */ + extraTagsInstances?: pulumi.Input[]>; + /** + * Outscale VM type. Default `tinav2.c1r2p3` (string) + */ + instanceType?: pulumi.Input; + /** + * AWS region. Default `eu-west-2` (string) + */ + region?: pulumi.Input; + /** + * Iops for io1 Root Disk. From 1 to 13000. + */ + rootDiskIops?: pulumi.Input; + /** + * Size of the Root Disk (in GB). From 1 to 14901. + */ + rootDiskSize?: pulumi.Input; + /** + * Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + */ + rootDiskType?: pulumi.Input; + /** + * Outscale Secret Key (string) + */ + secretKey: pulumi.Input; + /** + * Ids of user defined Security Groups to add to the machine. (list) + */ + securityGroupIds?: pulumi.Input[]>; + /** + * Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + */ + sourceOmi?: pulumi.Input; +} + export interface NodeTemplateVsphereConfig { /** * vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) @@ -7546,4 +7988,3 @@ export interface RoleTemplateRule { */ verbs?: pulumi.Input[]>; } - diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 4ca1041d6..e1356d46d 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -2,7 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; -import { input as inputs, output as outputs } from "../types"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; export interface CloudCredentialAmazonec2CredentialConfig { /** @@ -2801,6 +2802,10 @@ export interface ClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { } export interface ClusterRkeConfigNetwork { + /** + * ACI provider config for RKE network (list maxitems:63) + */ + aciNetworkProvider?: outputs.ClusterRkeConfigNetworkAciNetworkProvider; /** * Calico provider config for RKE network (list maxitems:1) */ @@ -2835,6 +2840,305 @@ export interface ClusterRkeConfigNetwork { weaveNetworkProvider?: outputs.ClusterRkeConfigNetworkWeaveNetworkProvider; } +export interface ClusterRkeConfigNetworkAciNetworkProvider { + /** + * Attachable entity profile (string) + */ + aep: string; + /** + * List of APIC hosts to connect for APIC API (list) + */ + apicHosts: string[]; + /** + * APIC refresh ticker adjust amount (string) + */ + apicRefreshTickerAdjust?: string; + /** + * APIC refresh time in seconds (string) + */ + apicRefreshTime?: string; + /** + * APIC subscription delay amount (string) + */ + apicSubscriptionDelay?: string; + /** + * APIC user certificate (string) + */ + apicUserCrt: string; + /** + * APIC user key (string) + */ + apicUserKey: string; + /** + * APIC user name (string) + */ + apicUserName: string; + /** + * cAPIC cloud (string) + */ + capic?: string; + /** + * Log level for ACI controller (string) + */ + controllerLogLevel?: string; + /** + * Whether to disable periodic SNAT global info sync (string) + */ + disablePeriodicSnatGlobalInfoSync?: string; + /** + * Whether to disable waiting for network (string) + */ + disableWaitForNetwork?: string; + /** + * Whether to enable drop log (string) + */ + dropLogEnable?: string; + /** + * The duration to wait for network (string) + */ + durationWaitForNetwork?: string; + /** + * Whether to enable endpoint slices (string) + */ + enableEndpointSlice?: string; + /** + * Encap type: vxlan or vlan (string) + */ + encapType: string; + /** + * EP registry (string) + */ + epRegistry?: string; + /** + * Subnet to use for dynamic external IPs (string) + */ + externDynamic: string; + /** + * Subnet to use for static external IPs (string) + */ + externStatic: string; + /** + * GBH pod subnet (string) + */ + gbpPodSubnet?: string; + /** + * Log level for ACI host agent (string) + */ + hostAgentLogLevel?: string; + /** + * Image pull policy (string) + */ + imagePullPolicy?: string; + /** + * Image pull policy (string) + */ + imagePullSecret?: string; + /** + * The VLAN used by ACI infra (string) + */ + infraVlan?: string; + /** + * Whether to install Istio (string) + */ + installIstio?: string; + /** + * Istio profile name (string) + */ + istioProfile?: string; + /** + * List of Kafka broker hosts (list) + */ + kafkaBrokers?: string[]; + /** + * Kafka client certificate (string) + */ + kafkaClientCrt?: string; + /** + * Kafka client key (string) + */ + kafkaClientKey?: string; + /** + * The VLAN used by the physdom for nodes (string) + */ + kubeApiVlan: string; + /** + * L3out (string) + */ + l3out: string; + /** + * L3out external networks (list) + */ + l3outExternalNetworks: string[]; + /** + * Max nodes in service graph (string) + */ + maxNodesSvcGraph?: string; + /** + * End of mcast range (string) + */ + mcastRangeEnd: string; + /** + * Start of mcast range (string) + */ + mcastRangeStart: string; + /** + * MTU head room amount (string) + */ + mtuHeadRoom?: string; + /** + * Whether to disable Multus (string) + */ + multusDisable?: string; + /** + * Whether to use priority class (string) + */ + noPriorityClass?: string; + /** + * Whether to enable node pod interface (string) + */ + nodePodIfEnable?: string; + /** + * Subnet to use for nodes (string) + */ + nodeSubnet: string; + /** + * Subnet to use for service graph (string) + */ + nodeSvcSubnet: string; + /** + * Whether to use client SSL for Opflex (string) + */ + opflexClientSsl?: string; + /** + * Opflex device delete timeout (string) + */ + opflexDeviceDeleteTimeout?: string; + /** + * Log level for ACI opflex (string) + */ + opflexLogLevel?: string; + /** + * Opflex mode (string) + */ + opflexMode?: string; + /** + * Opflex server port (string) + */ + opflexServerPort?: string; + /** + * Overlay VRF name (string) + */ + overlayVrfName?: string; + /** + * OVS memory limit (string) + */ + ovsMemoryLimit?: string; + /** + * Policy-based routing tracking non snat (string) + */ + pbrTrackingNonSnat?: string; + /** + * Pod subnet chunk size (string) + */ + podSubnetChunkSize?: string; + /** + * Whether to run GBP container (string) + */ + runGbpContainer?: string; + /** + * Whether to run Opflex server container (string) + */ + runOpflexServerContainer?: string; + /** + * Service monitor interval (string) + */ + serviceMonitorInterval?: string; + /** + * The VLAN used by LoadBalancer services (string) + */ + serviceVlan: string; + /** + * Snat contract scope (string) + */ + snatContractScope?: string; + /** + * Snat namespace (string) + */ + snatNamespace?: string; + /** + * End of snat port range (string) + */ + snatPortRangeEnd?: string; + /** + * End of snat port range (string) + */ + snatPortRangeStart?: string; + /** + * Snat ports per node (string) + */ + snatPortsPerNode?: string; + /** + * Whether to enable SR-IOV (string) + */ + sriovEnable?: string; + /** + * Subnet domain name (string) + */ + subnetDomainName?: string; + /** + * ACI system ID (string) + */ + systemId: string; + /** + * ACI tenant (string) + */ + tenant?: string; + /** + * Token for cluster registration token object (string) + */ + token: string; + /** + * Whether to use ACI anywhere CRD (string) + */ + useAciAnywhereCrd?: string; + /** + * Whether to use ACI CNI priority class (string) + */ + useAciCniPriorityClass?: string; + /** + * Whether to use cluster role (string) + */ + useClusterRole?: string; + /** + * Whether to use host netns volume (string) + */ + useHostNetnsVolume?: string; + /** + * Whether use Opflex server volume (string) + */ + useOpflexServerVolume?: string; + /** + * Whether ACI containers should run as privileged (string) + */ + usePrivilegedContainer?: string; + /** + * VMM controller configuration (string) + */ + vmmController?: string; + /** + * VMM domain configuration (string) + */ + vmmDomain?: string; + /** + * VRF name (string) + */ + vrfName: string; + /** + * VRF tenant (string) + */ + vrfTenant: string; +} + export interface ClusterRkeConfigNetworkCalicoNetworkProvider { /** * RKE options for Calico network provider (string) @@ -3930,6 +4234,7 @@ export interface ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoring } export interface ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { + aciNetworkProvider?: outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider; calicoNetworkProvider?: outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider; canalNetworkProvider?: outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider; flannelNetworkProvider?: outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider; @@ -3940,6 +4245,83 @@ export interface ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { weaveNetworkProvider?: outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider; } +export interface ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { + aep: string; + apicHosts: string[]; + apicRefreshTickerAdjust?: string; + apicRefreshTime?: string; + apicSubscriptionDelay?: string; + apicUserCrt: string; + apicUserKey: string; + apicUserName: string; + capic?: string; + controllerLogLevel?: string; + disablePeriodicSnatGlobalInfoSync?: string; + disableWaitForNetwork?: string; + dropLogEnable?: string; + durationWaitForNetwork?: string; + enableEndpointSlice?: string; + encapType: string; + epRegistry?: string; + externDynamic: string; + externStatic: string; + gbpPodSubnet?: string; + hostAgentLogLevel?: string; + imagePullPolicy?: string; + imagePullSecret?: string; + infraVlan?: string; + installIstio?: string; + istioProfile?: string; + kafkaBrokers?: string[]; + kafkaClientCrt?: string; + kafkaClientKey?: string; + kubeApiVlan: string; + l3out: string; + l3outExternalNetworks: string[]; + maxNodesSvcGraph?: string; + mcastRangeEnd: string; + mcastRangeStart: string; + mtuHeadRoom?: string; + multusDisable?: string; + noPriorityClass?: string; + nodePodIfEnable?: string; + nodeSubnet: string; + nodeSvcSubnet: string; + opflexClientSsl?: string; + opflexDeviceDeleteTimeout?: string; + opflexLogLevel?: string; + opflexMode?: string; + opflexServerPort?: string; + overlayVrfName?: string; + ovsMemoryLimit?: string; + pbrTrackingNonSnat?: string; + podSubnetChunkSize?: string; + runGbpContainer?: string; + runOpflexServerContainer?: string; + serviceMonitorInterval?: string; + serviceVlan: string; + snatContractScope?: string; + snatNamespace?: string; + snatPortRangeEnd?: string; + snatPortRangeStart?: string; + snatPortsPerNode?: string; + sriovEnable?: string; + subnetDomainName?: string; + systemId: string; + tenant?: string; + token: string; + useAciAnywhereCrd?: string; + useAciCniPriorityClass?: string; + useClusterRole?: string; + useHostNetnsVolume?: string; + useOpflexServerVolume?: string; + usePrivilegedContainer?: string; + vmmController?: string; + vmmDomain?: string; + vrfName: string; + vrfTenant: string; +} + export interface ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { cloudProvider: string; } @@ -4438,6 +4820,10 @@ export interface ClusterV2RkeConfigMachinePool { * Machine pool node config (list) */ machineConfig: outputs.ClusterV2RkeConfigMachinePoolMachineConfig; + /** + * Labels for Machine pool nodes (map) + */ + machineLabels: {[key: string]: any}; /** * Max unhealthy nodes for automated replacement to be allowed (string) */ @@ -5656,6 +6042,7 @@ export interface GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdate { } export interface GetClusterRkeConfigNetwork { + aciNetworkProvider?: outputs.GetClusterRkeConfigNetworkAciNetworkProvider; calicoNetworkProvider?: outputs.GetClusterRkeConfigNetworkCalicoNetworkProvider; canalNetworkProvider?: outputs.GetClusterRkeConfigNetworkCanalNetworkProvider; flannelNetworkProvider?: outputs.GetClusterRkeConfigNetworkFlannelNetworkProvider; @@ -5666,6 +6053,83 @@ export interface GetClusterRkeConfigNetwork { weaveNetworkProvider?: outputs.GetClusterRkeConfigNetworkWeaveNetworkProvider; } +export interface GetClusterRkeConfigNetworkAciNetworkProvider { + aep: string; + apicHosts: string[]; + apicRefreshTickerAdjust?: string; + apicRefreshTime?: string; + apicSubscriptionDelay?: string; + apicUserCrt: string; + apicUserKey: string; + apicUserName: string; + capic?: string; + controllerLogLevel?: string; + disablePeriodicSnatGlobalInfoSync?: string; + disableWaitForNetwork?: string; + dropLogEnable?: string; + durationWaitForNetwork?: string; + enableEndpointSlice?: string; + encapType: string; + epRegistry?: string; + externDynamic: string; + externStatic: string; + gbpPodSubnet?: string; + hostAgentLogLevel?: string; + imagePullPolicy?: string; + imagePullSecret?: string; + infraVlan?: string; + installIstio?: string; + istioProfile?: string; + kafkaBrokers?: string[]; + kafkaClientCrt?: string; + kafkaClientKey?: string; + kubeApiVlan: string; + l3out: string; + l3outExternalNetworks: string[]; + maxNodesSvcGraph?: string; + mcastRangeEnd: string; + mcastRangeStart: string; + mtuHeadRoom?: string; + multusDisable?: string; + noPriorityClass?: string; + nodePodIfEnable?: string; + nodeSubnet: string; + nodeSvcSubnet: string; + opflexClientSsl?: string; + opflexDeviceDeleteTimeout?: string; + opflexLogLevel?: string; + opflexMode?: string; + opflexServerPort?: string; + overlayVrfName?: string; + ovsMemoryLimit?: string; + pbrTrackingNonSnat?: string; + podSubnetChunkSize?: string; + runGbpContainer?: string; + runOpflexServerContainer?: string; + serviceMonitorInterval?: string; + serviceVlan: string; + snatContractScope?: string; + snatNamespace?: string; + snatPortRangeEnd?: string; + snatPortRangeStart?: string; + snatPortsPerNode?: string; + sriovEnable?: string; + subnetDomainName?: string; + systemId: string; + tenant?: string; + token: string; + useAciAnywhereCrd?: string; + useAciCniPriorityClass?: string; + useClusterRole?: string; + useHostNetnsVolume?: string; + useOpflexServerVolume?: string; + usePrivilegedContainer?: string; + vmmController?: string; + vmmDomain?: string; + vrfName: string; + vrfTenant: string; +} + export interface GetClusterRkeConfigNetworkCalicoNetworkProvider { cloudProvider: string; } @@ -6277,6 +6741,7 @@ export interface GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitor } export interface GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork { + aciNetworkProvider?: outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider; calicoNetworkProvider?: outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider; canalNetworkProvider?: outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider; flannelNetworkProvider?: outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider; @@ -6287,6 +6752,83 @@ export interface GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork weaveNetworkProvider?: outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider; } +export interface GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider { + aep: string; + apicHosts: string[]; + apicRefreshTickerAdjust?: string; + apicRefreshTime?: string; + apicSubscriptionDelay?: string; + apicUserCrt: string; + apicUserKey: string; + apicUserName: string; + capic?: string; + controllerLogLevel?: string; + disablePeriodicSnatGlobalInfoSync?: string; + disableWaitForNetwork?: string; + dropLogEnable?: string; + durationWaitForNetwork?: string; + enableEndpointSlice?: string; + encapType: string; + epRegistry?: string; + externDynamic: string; + externStatic: string; + gbpPodSubnet?: string; + hostAgentLogLevel?: string; + imagePullPolicy?: string; + imagePullSecret?: string; + infraVlan?: string; + installIstio?: string; + istioProfile?: string; + kafkaBrokers?: string[]; + kafkaClientCrt?: string; + kafkaClientKey?: string; + kubeApiVlan: string; + l3out: string; + l3outExternalNetworks: string[]; + maxNodesSvcGraph?: string; + mcastRangeEnd: string; + mcastRangeStart: string; + mtuHeadRoom?: string; + multusDisable?: string; + noPriorityClass?: string; + nodePodIfEnable?: string; + nodeSubnet: string; + nodeSvcSubnet: string; + opflexClientSsl?: string; + opflexDeviceDeleteTimeout?: string; + opflexLogLevel?: string; + opflexMode?: string; + opflexServerPort?: string; + overlayVrfName?: string; + ovsMemoryLimit?: string; + pbrTrackingNonSnat?: string; + podSubnetChunkSize?: string; + runGbpContainer?: string; + runOpflexServerContainer?: string; + serviceMonitorInterval?: string; + serviceVlan: string; + snatContractScope?: string; + snatNamespace?: string; + snatPortRangeEnd?: string; + snatPortRangeStart?: string; + snatPortsPerNode?: string; + sriovEnable?: string; + subnetDomainName?: string; + systemId: string; + tenant?: string; + token: string; + useAciAnywhereCrd?: string; + useAciCniPriorityClass?: string; + useClusterRole?: string; + useHostNetnsVolume?: string; + useOpflexServerVolume?: string; + usePrivilegedContainer?: string; + vmmController?: string; + vmmDomain?: string; + vrfName: string; + vrfTenant: string; +} + export interface GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider { cloudProvider: string; } @@ -6603,6 +7145,7 @@ export interface GetClusterV2RkeConfigMachinePool { etcdRole?: boolean; labels: {[key: string]: any}; machineConfig: outputs.GetClusterV2RkeConfigMachinePoolMachineConfig; + machineLabels: {[key: string]: any}; maxUnhealthy?: string; /** * The name of the Cluster v2 (string) @@ -7389,6 +7932,10 @@ export interface MachineConfigV2AzureConfig { * Make the specified port number accessible from the Internet. (list) */ openPorts?: string[]; + /** + * Only use a private IP address. Default `false` (bool) + */ + privateAddressOnly?: boolean; /** * Specify a static private IP address for the machine. (string) */ @@ -8086,7 +8633,7 @@ export interface NodePoolNodeTaint { export interface NodeTemplateAmazonec2Config { /** - * AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * Outscale Access Key (string) */ accessKey?: string; /** @@ -8109,6 +8656,14 @@ export interface NodeTemplateAmazonec2Config { * Optional endpoint URL (hostname only or fully qualified URI) (string) */ endpoint?: string; + /** + * Enables or disables the HTTP metadata endpoint on your instances (string) + */ + httpEndpoint?: string; + /** + * The state of token usage for your instance metadata requests (string) + */ + httpTokens?: string; /** * AWS IAM Instance Profile (string) */ @@ -8118,7 +8673,7 @@ export interface NodeTemplateAmazonec2Config { */ insecureTransport?: boolean; /** - * Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * Outscale VM type. Default `tinav2.c1r2p3` (string) */ instanceType?: string; /** @@ -8142,7 +8697,7 @@ export interface NodeTemplateAmazonec2Config { */ privateAddressOnly?: boolean; /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) */ region: string; /** @@ -8158,7 +8713,7 @@ export interface NodeTemplateAmazonec2Config { */ rootSize?: string; /** - * AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `rancher2.CloudCredential` from Rancher v2.2.x (string) + * Outscale Secret Key (string) */ secretKey?: string; /** @@ -8177,9 +8732,6 @@ export interface NodeTemplateAmazonec2Config { * AWS spot instance bid price (in dollar). Default `0.50` (string) */ spotPrice?: string; - /** - * SSH Key for Instance (string) - */ sshKeypath?: string; /** * If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) @@ -8360,7 +8912,7 @@ export interface NodeTemplateDigitaloceanConfig { */ privateNetworking?: boolean; /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) */ region?: string; /** @@ -8501,7 +9053,7 @@ export interface NodeTemplateLinodeConfig { */ image?: string; /** - * Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + * Outscale VM type. Default `tinav2.c1r2p3` (string) */ instanceType?: string; /** @@ -8509,7 +9061,7 @@ export interface NodeTemplateLinodeConfig { */ label?: string; /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) */ region?: string; /** @@ -8750,7 +9302,7 @@ export interface NodeTemplateOpenstackConfig { */ privateKeyFile?: string; /** - * OpenStack region name (string) + * AWS region. Default `eu-west-2` (string) */ region: string; /** @@ -8803,6 +9355,53 @@ export interface NodeTemplateOpenstackConfig { volumeType?: string; } +export interface NodeTemplateOutscaleConfig { + /** + * Outscale Access Key (string) + */ + accessKey: string; + /** + * Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + */ + extraTagsAlls?: string[]; + /** + * Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + */ + extraTagsInstances?: string[]; + /** + * Outscale VM type. Default `tinav2.c1r2p3` (string) + */ + instanceType?: string; + /** + * AWS region. Default `eu-west-2` (string) + */ + region?: string; + /** + * Iops for io1 Root Disk. From 1 to 13000. + */ + rootDiskIops?: number; + /** + * Size of the Root Disk (in GB). From 1 to 14901. + */ + rootDiskSize?: number; + /** + * Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + */ + rootDiskType?: string; + /** + * Outscale Secret Key (string) + */ + secretKey: string; + /** + * Ids of user defined Security Groups to add to the machine. (list) + */ + securityGroupIds?: string[]; + /** + * Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + */ + sourceOmi?: string; +} + export interface NodeTemplateVsphereConfig { /** * vSphere URL for boot2docker iso image. Default `https://releases.rancher.com/os/latest/rancheros-vmware.iso` (string) @@ -9716,3 +10315,4 @@ export interface RoleTemplateRule { */ verbs?: string[]; } + diff --git a/sdk/nodejs/user.ts b/sdk/nodejs/user.ts index 6e32317a2..6b1a90f3e 100644 --- a/sdk/nodejs/user.ts +++ b/sdk/nodejs/user.ts @@ -122,11 +122,13 @@ export class User extends pulumi.CustomResource { resourceInputs["enabled"] = args ? args.enabled : undefined; resourceInputs["labels"] = args ? args.labels : undefined; resourceInputs["name"] = args ? args.name : undefined; - resourceInputs["password"] = args ? args.password : undefined; + resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined; resourceInputs["username"] = args ? args.username : undefined; resourceInputs["principalIds"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const secretOpts = { additionalSecretOutputs: ["password"] }; + opts = pulumi.mergeOptions(opts, secretOpts); super(User.__pulumiType, name, resourceInputs, opts); } } diff --git a/sdk/nodejs/utilities.ts b/sdk/nodejs/utilities.ts index 4c60e03f5..2580a644d 100644 --- a/sdk/nodejs/utilities.ts +++ b/sdk/nodejs/utilities.ts @@ -52,3 +52,15 @@ export function getVersion(): string { export function resourceOptsDefaults(): any { return { version: getVersion() }; } + +/** @internal */ +export function lazyLoad(exports: any, props: string[], loadModule: any) { + for (let property of props) { + Object.defineProperty(exports, property, { + enumerable: true, + get: function() { + return loadModule()[property]; + }, + }); + } +} diff --git a/sdk/python/pulumi_rancher2/README.md b/sdk/python/pulumi_rancher2/README.md index 889df035b..2ef5f88d6 100644 --- a/sdk/python/pulumi_rancher2/README.md +++ b/sdk/python/pulumi_rancher2/README.md @@ -1,4 +1,4 @@ > This provider is a derived work of the [Terraform Provider](https://github.com/rancher/terraform-provider-rancher2) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, -> first check the [`pulumi/pulumi-rancher2` repo](https://github.com/pulumi/pulumi-rancher2/issues); however, if that doesn't turn up anything, -> please consult the source [`rancher/terraform-provider-rancher2` repo](https://github.com/rancher/terraform-provider-rancher2/issues). \ No newline at end of file +> first check the [`pulumi-rancher2` repo](https://github.com/pulumi/pulumi-rancher2/issues); however, if that doesn't turn up anything, +> please consult the source [`terraform-provider-rancher2` repo](https://github.com/rancher/terraform-provider-rancher2/issues). \ No newline at end of file diff --git a/sdk/python/pulumi_rancher2/_inputs.py b/sdk/python/pulumi_rancher2/_inputs.py index fa3d57427..ad8d61af4 100644 --- a/sdk/python/pulumi_rancher2/_inputs.py +++ b/sdk/python/pulumi_rancher2/_inputs.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -101,6 +102,7 @@ 'ClusterRkeConfigMonitoringUpdateStrategyArgs', 'ClusterRkeConfigMonitoringUpdateStrategyRollingUpdateArgs', 'ClusterRkeConfigNetworkArgs', + 'ClusterRkeConfigNetworkAciNetworkProviderArgs', 'ClusterRkeConfigNetworkCalicoNetworkProviderArgs', 'ClusterRkeConfigNetworkCanalNetworkProviderArgs', 'ClusterRkeConfigNetworkFlannelNetworkProviderArgs', @@ -169,6 +171,7 @@ 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs', 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs', 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs', + 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs', 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs', 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs', 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs', @@ -251,6 +254,7 @@ 'NodeTemplateNodeTaintArgs', 'NodeTemplateOpennebulaConfigArgs', 'NodeTemplateOpenstackConfigArgs', + 'NodeTemplateOutscaleConfigArgs', 'NodeTemplateVsphereConfigArgs', 'NotifierDingtalkConfigArgs', 'NotifierMsteamsConfigArgs', @@ -873,7 +877,7 @@ def __init__(__self__, *, """ :param pulumi.Input[str] agent_dns_prefix: DNS prefix to be used to create the FQDN for the agent pool (string) :param pulumi.Input[str] client_id: Azure client ID to use (string) - :param pulumi.Input[str] client_secret: Azure client secret associated with the \"client id\" (string) + :param pulumi.Input[str] client_secret: Azure client secret associated with the \\"client id\\" (string) :param pulumi.Input[str] kubernetes_version: The Kubernetes version that will be used for your master *and* OKE worker nodes (string) :param pulumi.Input[str] master_dns_prefix: DNS prefix to use the Kubernetes cluster control pane (string) :param pulumi.Input[str] resource_group: The AKS resource group (string) @@ -885,20 +889,20 @@ def __init__(__self__, *, :param pulumi.Input[str] virtual_network_resource_group: The AKS virtual network resource group (string) :param pulumi.Input[str] aad_server_app_secret: The secret of an Azure Active Directory server application (string) :param pulumi.Input[str] aad_tenant_id: The ID of an Azure Active Directory tenant (string) - :param pulumi.Input[str] add_client_app_id: The ID of an Azure Active Directory client application of type \"Native\". This application is for user login via kubectl (string) - :param pulumi.Input[str] add_server_app_id: The ID of an Azure Active Directory server application of type \"Web app/API\". This application represents the managed cluster's apiserver (Server application) (string) + :param pulumi.Input[str] add_client_app_id: The ID of an Azure Active Directory client application of type \\"Native\\". This application is for user login via kubectl (string) + :param pulumi.Input[str] add_server_app_id: The ID of an Azure Active Directory server application of type \\"Web app/API\\". This application represents the managed cluster's apiserver (Server application) (string) :param pulumi.Input[str] admin_username: The administrator username to use for Linux hosts. Default `azureuser` (string) - :param pulumi.Input[int] agent_os_disk_size: GB size to be used to specify the disk for every machine in the agent pool. If you specify 0, it will apply the default according to the \"agent vm size\" specified. Default `0` (int) + :param pulumi.Input[int] agent_os_disk_size: GB size to be used to specify the disk for every machine in the agent pool. If you specify 0, it will apply the default according to the \\"agent vm size\\" specified. Default `0` (int) :param pulumi.Input[str] agent_pool_name: Name for the agent pool, upto 12 alphanumeric characters. Default `agentpool0` (string) :param pulumi.Input[str] agent_storage_profile: Storage profile specifies what kind of storage used on machine in the agent pool. Chooses from [ManagedDisks StorageAccount]. Default `ManagedDisks` (string) :param pulumi.Input[str] agent_vm_size: Size of machine in the agent pool. Default `Standard_D1_v2` (string) :param pulumi.Input[str] auth_base_url: The AKS auth base url (string) :param pulumi.Input[str] base_url: The AKS base url (string) :param pulumi.Input[int] count: The AKS node pool count. Default: `1` (int) - :param pulumi.Input[str] dns_service_ip: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes Service address range specified in \"service cidr\". Default `10.0.0.10` (string) - :param pulumi.Input[str] docker_bridge_cidr: A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes Service address range specified in \"service cidr\". Default `172.17.0.1/16` (string) + :param pulumi.Input[str] dns_service_ip: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes Service address range specified in \\"service cidr\\". Default `10.0.0.10` (string) + :param pulumi.Input[str] docker_bridge_cidr: A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes Service address range specified in \\"service cidr\\". Default `172.17.0.1/16` (string) :param pulumi.Input[bool] enable_http_application_routing: Enable the Kubernetes ingress with automatic public DNS name creation. Default `false` (bool) - :param pulumi.Input[bool] enable_monitoring: Turn on Azure Log Analytics monitoring. Uses the Log Analytics \"Default\" workspace if it exists, else creates one. if using an existing workspace, specifies \"log analytics workspace resource id\". Default `true` (bool) + :param pulumi.Input[bool] enable_monitoring: Turn on Azure Log Analytics monitoring. Uses the Log Analytics \\"Default\\" workspace if it exists, else creates one. if using an existing workspace, specifies \\"log analytics workspace resource id\\". Default `true` (bool) :param pulumi.Input[str] load_balancer_sku: The AKS load balancer sku (string) :param pulumi.Input[str] location: Azure Kubernetes cluster location. Default `eastus` (string) :param pulumi.Input[str] log_analytics_workspace: The name of an existing Azure Log Analytics Workspace to use for storing monitoring data. If not specified, uses '{resource group}-{subscription id}-{location code}' (string) @@ -1009,7 +1013,7 @@ def client_id(self, value: pulumi.Input[str]): @pulumi.getter(name="clientSecret") def client_secret(self) -> pulumi.Input[str]: """ - Azure client secret associated with the \"client id\" (string) + Azure client secret associated with the \\"client id\\" (string) """ return pulumi.get(self, "client_secret") @@ -1153,7 +1157,7 @@ def aad_tenant_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="addClientAppId") def add_client_app_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of an Azure Active Directory client application of type \"Native\". This application is for user login via kubectl (string) + The ID of an Azure Active Directory client application of type \\"Native\\". This application is for user login via kubectl (string) """ return pulumi.get(self, "add_client_app_id") @@ -1165,7 +1169,7 @@ def add_client_app_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="addServerAppId") def add_server_app_id(self) -> Optional[pulumi.Input[str]]: """ - The ID of an Azure Active Directory server application of type \"Web app/API\". This application represents the managed cluster's apiserver (Server application) (string) + The ID of an Azure Active Directory server application of type \\"Web app/API\\". This application represents the managed cluster's apiserver (Server application) (string) """ return pulumi.get(self, "add_server_app_id") @@ -1189,7 +1193,7 @@ def admin_username(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="agentOsDiskSize") def agent_os_disk_size(self) -> Optional[pulumi.Input[int]]: """ - GB size to be used to specify the disk for every machine in the agent pool. If you specify 0, it will apply the default according to the \"agent vm size\" specified. Default `0` (int) + GB size to be used to specify the disk for every machine in the agent pool. If you specify 0, it will apply the default according to the \\"agent vm size\\" specified. Default `0` (int) """ return pulumi.get(self, "agent_os_disk_size") @@ -1273,7 +1277,7 @@ def count(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="dnsServiceIp") def dns_service_ip(self) -> Optional[pulumi.Input[str]]: """ - An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes Service address range specified in \"service cidr\". Default `10.0.0.10` (string) + An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes Service address range specified in \\"service cidr\\". Default `10.0.0.10` (string) """ return pulumi.get(self, "dns_service_ip") @@ -1285,7 +1289,7 @@ def dns_service_ip(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="dockerBridgeCidr") def docker_bridge_cidr(self) -> Optional[pulumi.Input[str]]: """ - A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes Service address range specified in \"service cidr\". Default `172.17.0.1/16` (string) + A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes Service address range specified in \\"service cidr\\". Default `172.17.0.1/16` (string) """ return pulumi.get(self, "docker_bridge_cidr") @@ -1309,7 +1313,7 @@ def enable_http_application_routing(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="enableMonitoring") def enable_monitoring(self) -> Optional[pulumi.Input[bool]]: """ - Turn on Azure Log Analytics monitoring. Uses the Log Analytics \"Default\" workspace if it exists, else creates one. if using an existing workspace, specifies \"log analytics workspace resource id\". Default `true` (bool) + Turn on Azure Log Analytics monitoring. Uses the Log Analytics \\"Default\\" workspace if it exists, else creates one. if using an existing workspace, specifies \\"log analytics workspace resource id\\". Default `true` (bool) """ return pulumi.get(self, "enable_monitoring") @@ -11011,6 +11015,7 @@ def max_unavailable(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class ClusterRkeConfigNetworkArgs: def __init__(__self__, *, + aci_network_provider: Optional[pulumi.Input['ClusterRkeConfigNetworkAciNetworkProviderArgs']] = None, calico_network_provider: Optional[pulumi.Input['ClusterRkeConfigNetworkCalicoNetworkProviderArgs']] = None, canal_network_provider: Optional[pulumi.Input['ClusterRkeConfigNetworkCanalNetworkProviderArgs']] = None, flannel_network_provider: Optional[pulumi.Input['ClusterRkeConfigNetworkFlannelNetworkProviderArgs']] = None, @@ -11020,6 +11025,7 @@ def __init__(__self__, *, tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterRkeConfigNetworkTolerationArgs']]]] = None, weave_network_provider: Optional[pulumi.Input['ClusterRkeConfigNetworkWeaveNetworkProviderArgs']] = None): """ + :param pulumi.Input['ClusterRkeConfigNetworkAciNetworkProviderArgs'] aci_network_provider: ACI provider config for RKE network (list maxitems:63) :param pulumi.Input['ClusterRkeConfigNetworkCalicoNetworkProviderArgs'] calico_network_provider: Calico provider config for RKE network (list maxitems:1) :param pulumi.Input['ClusterRkeConfigNetworkCanalNetworkProviderArgs'] canal_network_provider: Canal provider config for RKE network (list maxitems:1) :param pulumi.Input['ClusterRkeConfigNetworkFlannelNetworkProviderArgs'] flannel_network_provider: Flannel provider config for RKE network (list maxitems:1) @@ -11029,6 +11035,8 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ClusterRkeConfigNetworkTolerationArgs']]] tolerations: Network add-on tolerations (list) :param pulumi.Input['ClusterRkeConfigNetworkWeaveNetworkProviderArgs'] weave_network_provider: Weave provider config for RKE network (list maxitems:1) """ + if aci_network_provider is not None: + pulumi.set(__self__, "aci_network_provider", aci_network_provider) if calico_network_provider is not None: pulumi.set(__self__, "calico_network_provider", calico_network_provider) if canal_network_provider is not None: @@ -11046,6 +11054,18 @@ def __init__(__self__, *, if weave_network_provider is not None: pulumi.set(__self__, "weave_network_provider", weave_network_provider) + @property + @pulumi.getter(name="aciNetworkProvider") + def aci_network_provider(self) -> Optional[pulumi.Input['ClusterRkeConfigNetworkAciNetworkProviderArgs']]: + """ + ACI provider config for RKE network (list maxitems:63) + """ + return pulumi.get(self, "aci_network_provider") + + @aci_network_provider.setter + def aci_network_provider(self, value: Optional[pulumi.Input['ClusterRkeConfigNetworkAciNetworkProviderArgs']]): + pulumi.set(self, "aci_network_provider", value) + @property @pulumi.getter(name="calicoNetworkProvider") def calico_network_provider(self) -> Optional[pulumi.Input['ClusterRkeConfigNetworkCalicoNetworkProviderArgs']]: @@ -11144,1783 +11164,1918 @@ def weave_network_provider(self, value: Optional[pulumi.Input['ClusterRkeConfigN @pulumi.input_type -class ClusterRkeConfigNetworkCalicoNetworkProviderArgs: - def __init__(__self__, *, - cloud_provider: Optional[pulumi.Input[str]] = None): +class ClusterRkeConfigNetworkAciNetworkProviderArgs: + def __init__(__self__, *, + aep: pulumi.Input[str], + apic_hosts: pulumi.Input[Sequence[pulumi.Input[str]]], + apic_user_crt: pulumi.Input[str], + apic_user_key: pulumi.Input[str], + apic_user_name: pulumi.Input[str], + encap_type: pulumi.Input[str], + extern_dynamic: pulumi.Input[str], + extern_static: pulumi.Input[str], + kube_api_vlan: pulumi.Input[str], + l3out: pulumi.Input[str], + l3out_external_networks: pulumi.Input[Sequence[pulumi.Input[str]]], + mcast_range_end: pulumi.Input[str], + mcast_range_start: pulumi.Input[str], + node_subnet: pulumi.Input[str], + node_svc_subnet: pulumi.Input[str], + service_vlan: pulumi.Input[str], + system_id: pulumi.Input[str], + token: pulumi.Input[str], + vrf_name: pulumi.Input[str], + vrf_tenant: pulumi.Input[str], + apic_refresh_ticker_adjust: Optional[pulumi.Input[str]] = None, + apic_refresh_time: Optional[pulumi.Input[str]] = None, + apic_subscription_delay: Optional[pulumi.Input[str]] = None, + capic: Optional[pulumi.Input[str]] = None, + controller_log_level: Optional[pulumi.Input[str]] = None, + disable_periodic_snat_global_info_sync: Optional[pulumi.Input[str]] = None, + disable_wait_for_network: Optional[pulumi.Input[str]] = None, + drop_log_enable: Optional[pulumi.Input[str]] = None, + duration_wait_for_network: Optional[pulumi.Input[str]] = None, + enable_endpoint_slice: Optional[pulumi.Input[str]] = None, + ep_registry: Optional[pulumi.Input[str]] = None, + gbp_pod_subnet: Optional[pulumi.Input[str]] = None, + host_agent_log_level: Optional[pulumi.Input[str]] = None, + image_pull_policy: Optional[pulumi.Input[str]] = None, + image_pull_secret: Optional[pulumi.Input[str]] = None, + infra_vlan: Optional[pulumi.Input[str]] = None, + install_istio: Optional[pulumi.Input[str]] = None, + istio_profile: Optional[pulumi.Input[str]] = None, + kafka_brokers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kafka_client_crt: Optional[pulumi.Input[str]] = None, + kafka_client_key: Optional[pulumi.Input[str]] = None, + max_nodes_svc_graph: Optional[pulumi.Input[str]] = None, + mtu_head_room: Optional[pulumi.Input[str]] = None, + multus_disable: Optional[pulumi.Input[str]] = None, + no_priority_class: Optional[pulumi.Input[str]] = None, + node_pod_if_enable: Optional[pulumi.Input[str]] = None, + opflex_client_ssl: Optional[pulumi.Input[str]] = None, + opflex_device_delete_timeout: Optional[pulumi.Input[str]] = None, + opflex_log_level: Optional[pulumi.Input[str]] = None, + opflex_mode: Optional[pulumi.Input[str]] = None, + opflex_server_port: Optional[pulumi.Input[str]] = None, + overlay_vrf_name: Optional[pulumi.Input[str]] = None, + ovs_memory_limit: Optional[pulumi.Input[str]] = None, + pbr_tracking_non_snat: Optional[pulumi.Input[str]] = None, + pod_subnet_chunk_size: Optional[pulumi.Input[str]] = None, + run_gbp_container: Optional[pulumi.Input[str]] = None, + run_opflex_server_container: Optional[pulumi.Input[str]] = None, + service_monitor_interval: Optional[pulumi.Input[str]] = None, + snat_contract_scope: Optional[pulumi.Input[str]] = None, + snat_namespace: Optional[pulumi.Input[str]] = None, + snat_port_range_end: Optional[pulumi.Input[str]] = None, + snat_port_range_start: Optional[pulumi.Input[str]] = None, + snat_ports_per_node: Optional[pulumi.Input[str]] = None, + sriov_enable: Optional[pulumi.Input[str]] = None, + subnet_domain_name: Optional[pulumi.Input[str]] = None, + tenant: Optional[pulumi.Input[str]] = None, + use_aci_anywhere_crd: Optional[pulumi.Input[str]] = None, + use_aci_cni_priority_class: Optional[pulumi.Input[str]] = None, + use_cluster_role: Optional[pulumi.Input[str]] = None, + use_host_netns_volume: Optional[pulumi.Input[str]] = None, + use_opflex_server_volume: Optional[pulumi.Input[str]] = None, + use_privileged_container: Optional[pulumi.Input[str]] = None, + vmm_controller: Optional[pulumi.Input[str]] = None, + vmm_domain: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] aep: Attachable entity profile (string) + :param pulumi.Input[Sequence[pulumi.Input[str]]] apic_hosts: List of APIC hosts to connect for APIC API (list) + :param pulumi.Input[str] apic_user_crt: APIC user certificate (string) + :param pulumi.Input[str] apic_user_key: APIC user key (string) + :param pulumi.Input[str] apic_user_name: APIC user name (string) + :param pulumi.Input[str] encap_type: Encap type: vxlan or vlan (string) + :param pulumi.Input[str] extern_dynamic: Subnet to use for dynamic external IPs (string) + :param pulumi.Input[str] extern_static: Subnet to use for static external IPs (string) + :param pulumi.Input[str] kube_api_vlan: The VLAN used by the physdom for nodes (string) + :param pulumi.Input[str] l3out: L3out (string) + :param pulumi.Input[Sequence[pulumi.Input[str]]] l3out_external_networks: L3out external networks (list) + :param pulumi.Input[str] mcast_range_end: End of mcast range (string) + :param pulumi.Input[str] mcast_range_start: Start of mcast range (string) + :param pulumi.Input[str] node_subnet: Subnet to use for nodes (string) + :param pulumi.Input[str] node_svc_subnet: Subnet to use for service graph (string) + :param pulumi.Input[str] service_vlan: The VLAN used by LoadBalancer services (string) + :param pulumi.Input[str] system_id: ACI system ID (string) + :param pulumi.Input[str] token: Token for cluster registration token object (string) + :param pulumi.Input[str] vrf_name: VRF name (string) + :param pulumi.Input[str] vrf_tenant: VRF tenant (string) + :param pulumi.Input[str] apic_refresh_ticker_adjust: APIC refresh ticker adjust amount (string) + :param pulumi.Input[str] apic_refresh_time: APIC refresh time in seconds (string) + :param pulumi.Input[str] apic_subscription_delay: APIC subscription delay amount (string) + :param pulumi.Input[str] capic: cAPIC cloud (string) + :param pulumi.Input[str] controller_log_level: Log level for ACI controller (string) + :param pulumi.Input[str] disable_periodic_snat_global_info_sync: Whether to disable periodic SNAT global info sync (string) + :param pulumi.Input[str] disable_wait_for_network: Whether to disable waiting for network (string) + :param pulumi.Input[str] drop_log_enable: Whether to enable drop log (string) + :param pulumi.Input[str] duration_wait_for_network: The duration to wait for network (string) + :param pulumi.Input[str] enable_endpoint_slice: Whether to enable endpoint slices (string) + :param pulumi.Input[str] ep_registry: EP registry (string) + :param pulumi.Input[str] gbp_pod_subnet: GBH pod subnet (string) + :param pulumi.Input[str] host_agent_log_level: Log level for ACI host agent (string) + :param pulumi.Input[str] image_pull_policy: Image pull policy (string) + :param pulumi.Input[str] image_pull_secret: Image pull policy (string) + :param pulumi.Input[str] infra_vlan: The VLAN used by ACI infra (string) + :param pulumi.Input[str] install_istio: Whether to install Istio (string) + :param pulumi.Input[str] istio_profile: Istio profile name (string) + :param pulumi.Input[Sequence[pulumi.Input[str]]] kafka_brokers: List of Kafka broker hosts (list) + :param pulumi.Input[str] kafka_client_crt: Kafka client certificate (string) + :param pulumi.Input[str] kafka_client_key: Kafka client key (string) + :param pulumi.Input[str] max_nodes_svc_graph: Max nodes in service graph (string) + :param pulumi.Input[str] mtu_head_room: MTU head room amount (string) + :param pulumi.Input[str] multus_disable: Whether to disable Multus (string) + :param pulumi.Input[str] no_priority_class: Whether to use priority class (string) + :param pulumi.Input[str] node_pod_if_enable: Whether to enable node pod interface (string) + :param pulumi.Input[str] opflex_client_ssl: Whether to use client SSL for Opflex (string) + :param pulumi.Input[str] opflex_device_delete_timeout: Opflex device delete timeout (string) + :param pulumi.Input[str] opflex_log_level: Log level for ACI opflex (string) + :param pulumi.Input[str] opflex_mode: Opflex mode (string) + :param pulumi.Input[str] opflex_server_port: Opflex server port (string) + :param pulumi.Input[str] overlay_vrf_name: Overlay VRF name (string) + :param pulumi.Input[str] ovs_memory_limit: OVS memory limit (string) + :param pulumi.Input[str] pbr_tracking_non_snat: Policy-based routing tracking non snat (string) + :param pulumi.Input[str] pod_subnet_chunk_size: Pod subnet chunk size (string) + :param pulumi.Input[str] run_gbp_container: Whether to run GBP container (string) + :param pulumi.Input[str] run_opflex_server_container: Whether to run Opflex server container (string) + :param pulumi.Input[str] service_monitor_interval: Service monitor interval (string) + :param pulumi.Input[str] snat_contract_scope: Snat contract scope (string) + :param pulumi.Input[str] snat_namespace: Snat namespace (string) + :param pulumi.Input[str] snat_port_range_end: End of snat port range (string) + :param pulumi.Input[str] snat_port_range_start: End of snat port range (string) + :param pulumi.Input[str] snat_ports_per_node: Snat ports per node (string) + :param pulumi.Input[str] sriov_enable: Whether to enable SR-IOV (string) + :param pulumi.Input[str] subnet_domain_name: Subnet domain name (string) + :param pulumi.Input[str] tenant: ACI tenant (string) + :param pulumi.Input[str] use_aci_anywhere_crd: Whether to use ACI anywhere CRD (string) + :param pulumi.Input[str] use_aci_cni_priority_class: Whether to use ACI CNI priority class (string) + :param pulumi.Input[str] use_cluster_role: Whether to use cluster role (string) + :param pulumi.Input[str] use_host_netns_volume: Whether to use host netns volume (string) + :param pulumi.Input[str] use_opflex_server_volume: Whether use Opflex server volume (string) + :param pulumi.Input[str] use_privileged_container: Whether ACI containers should run as privileged (string) + :param pulumi.Input[str] vmm_controller: VMM controller configuration (string) + :param pulumi.Input[str] vmm_domain: VMM domain configuration (string) + """ + pulumi.set(__self__, "aep", aep) + pulumi.set(__self__, "apic_hosts", apic_hosts) + pulumi.set(__self__, "apic_user_crt", apic_user_crt) + pulumi.set(__self__, "apic_user_key", apic_user_key) + pulumi.set(__self__, "apic_user_name", apic_user_name) + pulumi.set(__self__, "encap_type", encap_type) + pulumi.set(__self__, "extern_dynamic", extern_dynamic) + pulumi.set(__self__, "extern_static", extern_static) + pulumi.set(__self__, "kube_api_vlan", kube_api_vlan) + pulumi.set(__self__, "l3out", l3out) + pulumi.set(__self__, "l3out_external_networks", l3out_external_networks) + pulumi.set(__self__, "mcast_range_end", mcast_range_end) + pulumi.set(__self__, "mcast_range_start", mcast_range_start) + pulumi.set(__self__, "node_subnet", node_subnet) + pulumi.set(__self__, "node_svc_subnet", node_svc_subnet) + pulumi.set(__self__, "service_vlan", service_vlan) + pulumi.set(__self__, "system_id", system_id) + pulumi.set(__self__, "token", token) + pulumi.set(__self__, "vrf_name", vrf_name) + pulumi.set(__self__, "vrf_tenant", vrf_tenant) + if apic_refresh_ticker_adjust is not None: + pulumi.set(__self__, "apic_refresh_ticker_adjust", apic_refresh_ticker_adjust) + if apic_refresh_time is not None: + pulumi.set(__self__, "apic_refresh_time", apic_refresh_time) + if apic_subscription_delay is not None: + pulumi.set(__self__, "apic_subscription_delay", apic_subscription_delay) + if capic is not None: + pulumi.set(__self__, "capic", capic) + if controller_log_level is not None: + pulumi.set(__self__, "controller_log_level", controller_log_level) + if disable_periodic_snat_global_info_sync is not None: + pulumi.set(__self__, "disable_periodic_snat_global_info_sync", disable_periodic_snat_global_info_sync) + if disable_wait_for_network is not None: + pulumi.set(__self__, "disable_wait_for_network", disable_wait_for_network) + if drop_log_enable is not None: + pulumi.set(__self__, "drop_log_enable", drop_log_enable) + if duration_wait_for_network is not None: + pulumi.set(__self__, "duration_wait_for_network", duration_wait_for_network) + if enable_endpoint_slice is not None: + pulumi.set(__self__, "enable_endpoint_slice", enable_endpoint_slice) + if ep_registry is not None: + pulumi.set(__self__, "ep_registry", ep_registry) + if gbp_pod_subnet is not None: + pulumi.set(__self__, "gbp_pod_subnet", gbp_pod_subnet) + if host_agent_log_level is not None: + pulumi.set(__self__, "host_agent_log_level", host_agent_log_level) + if image_pull_policy is not None: + pulumi.set(__self__, "image_pull_policy", image_pull_policy) + if image_pull_secret is not None: + pulumi.set(__self__, "image_pull_secret", image_pull_secret) + if infra_vlan is not None: + pulumi.set(__self__, "infra_vlan", infra_vlan) + if install_istio is not None: + pulumi.set(__self__, "install_istio", install_istio) + if istio_profile is not None: + pulumi.set(__self__, "istio_profile", istio_profile) + if kafka_brokers is not None: + pulumi.set(__self__, "kafka_brokers", kafka_brokers) + if kafka_client_crt is not None: + pulumi.set(__self__, "kafka_client_crt", kafka_client_crt) + if kafka_client_key is not None: + pulumi.set(__self__, "kafka_client_key", kafka_client_key) + if max_nodes_svc_graph is not None: + pulumi.set(__self__, "max_nodes_svc_graph", max_nodes_svc_graph) + if mtu_head_room is not None: + pulumi.set(__self__, "mtu_head_room", mtu_head_room) + if multus_disable is not None: + pulumi.set(__self__, "multus_disable", multus_disable) + if no_priority_class is not None: + pulumi.set(__self__, "no_priority_class", no_priority_class) + if node_pod_if_enable is not None: + pulumi.set(__self__, "node_pod_if_enable", node_pod_if_enable) + if opflex_client_ssl is not None: + pulumi.set(__self__, "opflex_client_ssl", opflex_client_ssl) + if opflex_device_delete_timeout is not None: + pulumi.set(__self__, "opflex_device_delete_timeout", opflex_device_delete_timeout) + if opflex_log_level is not None: + pulumi.set(__self__, "opflex_log_level", opflex_log_level) + if opflex_mode is not None: + pulumi.set(__self__, "opflex_mode", opflex_mode) + if opflex_server_port is not None: + pulumi.set(__self__, "opflex_server_port", opflex_server_port) + if overlay_vrf_name is not None: + pulumi.set(__self__, "overlay_vrf_name", overlay_vrf_name) + if ovs_memory_limit is not None: + pulumi.set(__self__, "ovs_memory_limit", ovs_memory_limit) + if pbr_tracking_non_snat is not None: + pulumi.set(__self__, "pbr_tracking_non_snat", pbr_tracking_non_snat) + if pod_subnet_chunk_size is not None: + pulumi.set(__self__, "pod_subnet_chunk_size", pod_subnet_chunk_size) + if run_gbp_container is not None: + pulumi.set(__self__, "run_gbp_container", run_gbp_container) + if run_opflex_server_container is not None: + pulumi.set(__self__, "run_opflex_server_container", run_opflex_server_container) + if service_monitor_interval is not None: + pulumi.set(__self__, "service_monitor_interval", service_monitor_interval) + if snat_contract_scope is not None: + pulumi.set(__self__, "snat_contract_scope", snat_contract_scope) + if snat_namespace is not None: + pulumi.set(__self__, "snat_namespace", snat_namespace) + if snat_port_range_end is not None: + pulumi.set(__self__, "snat_port_range_end", snat_port_range_end) + if snat_port_range_start is not None: + pulumi.set(__self__, "snat_port_range_start", snat_port_range_start) + if snat_ports_per_node is not None: + pulumi.set(__self__, "snat_ports_per_node", snat_ports_per_node) + if sriov_enable is not None: + pulumi.set(__self__, "sriov_enable", sriov_enable) + if subnet_domain_name is not None: + pulumi.set(__self__, "subnet_domain_name", subnet_domain_name) + if tenant is not None: + pulumi.set(__self__, "tenant", tenant) + if use_aci_anywhere_crd is not None: + pulumi.set(__self__, "use_aci_anywhere_crd", use_aci_anywhere_crd) + if use_aci_cni_priority_class is not None: + pulumi.set(__self__, "use_aci_cni_priority_class", use_aci_cni_priority_class) + if use_cluster_role is not None: + pulumi.set(__self__, "use_cluster_role", use_cluster_role) + if use_host_netns_volume is not None: + pulumi.set(__self__, "use_host_netns_volume", use_host_netns_volume) + if use_opflex_server_volume is not None: + pulumi.set(__self__, "use_opflex_server_volume", use_opflex_server_volume) + if use_privileged_container is not None: + pulumi.set(__self__, "use_privileged_container", use_privileged_container) + if vmm_controller is not None: + pulumi.set(__self__, "vmm_controller", vmm_controller) + if vmm_domain is not None: + pulumi.set(__self__, "vmm_domain", vmm_domain) + + @property + @pulumi.getter + def aep(self) -> pulumi.Input[str]: + """ + Attachable entity profile (string) + """ + return pulumi.get(self, "aep") + + @aep.setter + def aep(self, value: pulumi.Input[str]): + pulumi.set(self, "aep", value) + + @property + @pulumi.getter(name="apicHosts") + def apic_hosts(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - :param pulumi.Input[str] cloud_provider: RKE options for Calico network provider (string) + List of APIC hosts to connect for APIC API (list) """ - if cloud_provider is not None: - pulumi.set(__self__, "cloud_provider", cloud_provider) + return pulumi.get(self, "apic_hosts") + + @apic_hosts.setter + def apic_hosts(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "apic_hosts", value) @property - @pulumi.getter(name="cloudProvider") - def cloud_provider(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="apicUserCrt") + def apic_user_crt(self) -> pulumi.Input[str]: """ - RKE options for Calico network provider (string) + APIC user certificate (string) """ - return pulumi.get(self, "cloud_provider") - - @cloud_provider.setter - def cloud_provider(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cloud_provider", value) + return pulumi.get(self, "apic_user_crt") + @apic_user_crt.setter + def apic_user_crt(self, value: pulumi.Input[str]): + pulumi.set(self, "apic_user_crt", value) -@pulumi.input_type -class ClusterRkeConfigNetworkCanalNetworkProviderArgs: - def __init__(__self__, *, - iface: Optional[pulumi.Input[str]] = None): + @property + @pulumi.getter(name="apicUserKey") + def apic_user_key(self) -> pulumi.Input[str]: """ - :param pulumi.Input[str] iface: Iface config Flannel network provider (string) + APIC user key (string) """ - if iface is not None: - pulumi.set(__self__, "iface", iface) + return pulumi.get(self, "apic_user_key") + + @apic_user_key.setter + def apic_user_key(self, value: pulumi.Input[str]): + pulumi.set(self, "apic_user_key", value) @property - @pulumi.getter - def iface(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="apicUserName") + def apic_user_name(self) -> pulumi.Input[str]: """ - Iface config Flannel network provider (string) + APIC user name (string) """ - return pulumi.get(self, "iface") - - @iface.setter - def iface(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "iface", value) + return pulumi.get(self, "apic_user_name") + @apic_user_name.setter + def apic_user_name(self, value: pulumi.Input[str]): + pulumi.set(self, "apic_user_name", value) -@pulumi.input_type -class ClusterRkeConfigNetworkFlannelNetworkProviderArgs: - def __init__(__self__, *, - iface: Optional[pulumi.Input[str]] = None): + @property + @pulumi.getter(name="encapType") + def encap_type(self) -> pulumi.Input[str]: """ - :param pulumi.Input[str] iface: Iface config Flannel network provider (string) + Encap type: vxlan or vlan (string) """ - if iface is not None: - pulumi.set(__self__, "iface", iface) + return pulumi.get(self, "encap_type") + + @encap_type.setter + def encap_type(self, value: pulumi.Input[str]): + pulumi.set(self, "encap_type", value) @property - @pulumi.getter - def iface(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="externDynamic") + def extern_dynamic(self) -> pulumi.Input[str]: """ - Iface config Flannel network provider (string) + Subnet to use for dynamic external IPs (string) """ - return pulumi.get(self, "iface") - - @iface.setter - def iface(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "iface", value) + return pulumi.get(self, "extern_dynamic") + @extern_dynamic.setter + def extern_dynamic(self, value: pulumi.Input[str]): + pulumi.set(self, "extern_dynamic", value) -@pulumi.input_type -class ClusterRkeConfigNetworkTolerationArgs: - def __init__(__self__, *, - key: pulumi.Input[str], - effect: Optional[pulumi.Input[str]] = None, - operator: Optional[pulumi.Input[str]] = None, - seconds: Optional[pulumi.Input[int]] = None, - value: Optional[pulumi.Input[str]] = None): + @property + @pulumi.getter(name="externStatic") + def extern_static(self) -> pulumi.Input[str]: """ - :param pulumi.Input[str] key: The GKE taint key (string) - :param pulumi.Input[str] effect: The GKE taint effect (string) - :param pulumi.Input[str] operator: The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string) - :param pulumi.Input[int] seconds: The toleration seconds (int) - :param pulumi.Input[str] value: The GKE taint value (string) + Subnet to use for static external IPs (string) """ - pulumi.set(__self__, "key", key) - if effect is not None: - pulumi.set(__self__, "effect", effect) - if operator is not None: - pulumi.set(__self__, "operator", operator) - if seconds is not None: - pulumi.set(__self__, "seconds", seconds) - if value is not None: - pulumi.set(__self__, "value", value) + return pulumi.get(self, "extern_static") + + @extern_static.setter + def extern_static(self, value: pulumi.Input[str]): + pulumi.set(self, "extern_static", value) @property - @pulumi.getter - def key(self) -> pulumi.Input[str]: + @pulumi.getter(name="kubeApiVlan") + def kube_api_vlan(self) -> pulumi.Input[str]: """ - The GKE taint key (string) + The VLAN used by the physdom for nodes (string) """ - return pulumi.get(self, "key") + return pulumi.get(self, "kube_api_vlan") - @key.setter - def key(self, value: pulumi.Input[str]): - pulumi.set(self, "key", value) + @kube_api_vlan.setter + def kube_api_vlan(self, value: pulumi.Input[str]): + pulumi.set(self, "kube_api_vlan", value) @property @pulumi.getter - def effect(self) -> Optional[pulumi.Input[str]]: + def l3out(self) -> pulumi.Input[str]: """ - The GKE taint effect (string) + L3out (string) """ - return pulumi.get(self, "effect") + return pulumi.get(self, "l3out") - @effect.setter - def effect(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "effect", value) + @l3out.setter + def l3out(self, value: pulumi.Input[str]): + pulumi.set(self, "l3out", value) @property - @pulumi.getter - def operator(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="l3outExternalNetworks") + def l3out_external_networks(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string) + L3out external networks (list) """ - return pulumi.get(self, "operator") + return pulumi.get(self, "l3out_external_networks") - @operator.setter - def operator(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "operator", value) + @l3out_external_networks.setter + def l3out_external_networks(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "l3out_external_networks", value) @property - @pulumi.getter - def seconds(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="mcastRangeEnd") + def mcast_range_end(self) -> pulumi.Input[str]: """ - The toleration seconds (int) + End of mcast range (string) """ - return pulumi.get(self, "seconds") + return pulumi.get(self, "mcast_range_end") - @seconds.setter - def seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "seconds", value) + @mcast_range_end.setter + def mcast_range_end(self, value: pulumi.Input[str]): + pulumi.set(self, "mcast_range_end", value) @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="mcastRangeStart") + def mcast_range_start(self) -> pulumi.Input[str]: """ - The GKE taint value (string) + Start of mcast range (string) """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + return pulumi.get(self, "mcast_range_start") + @mcast_range_start.setter + def mcast_range_start(self, value: pulumi.Input[str]): + pulumi.set(self, "mcast_range_start", value) -@pulumi.input_type -class ClusterRkeConfigNetworkWeaveNetworkProviderArgs: - def __init__(__self__, *, - password: pulumi.Input[str]): + @property + @pulumi.getter(name="nodeSubnet") + def node_subnet(self) -> pulumi.Input[str]: """ - :param pulumi.Input[str] password: Registry password (string) + Subnet to use for nodes (string) """ - pulumi.set(__self__, "password", password) + return pulumi.get(self, "node_subnet") + + @node_subnet.setter + def node_subnet(self, value: pulumi.Input[str]): + pulumi.set(self, "node_subnet", value) @property - @pulumi.getter - def password(self) -> pulumi.Input[str]: + @pulumi.getter(name="nodeSvcSubnet") + def node_svc_subnet(self) -> pulumi.Input[str]: """ - Registry password (string) + Subnet to use for service graph (string) """ - return pulumi.get(self, "password") + return pulumi.get(self, "node_svc_subnet") - @password.setter - def password(self, value: pulumi.Input[str]): - pulumi.set(self, "password", value) + @node_svc_subnet.setter + def node_svc_subnet(self, value: pulumi.Input[str]): + pulumi.set(self, "node_svc_subnet", value) + @property + @pulumi.getter(name="serviceVlan") + def service_vlan(self) -> pulumi.Input[str]: + """ + The VLAN used by LoadBalancer services (string) + """ + return pulumi.get(self, "service_vlan") -@pulumi.input_type -class ClusterRkeConfigNodeArgs: - def __init__(__self__, *, - address: pulumi.Input[str], - roles: pulumi.Input[Sequence[pulumi.Input[str]]], - user: pulumi.Input[str], - docker_socket: Optional[pulumi.Input[str]] = None, - hostname_override: Optional[pulumi.Input[str]] = None, - internal_address: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, - node_id: Optional[pulumi.Input[str]] = None, - port: Optional[pulumi.Input[str]] = None, - ssh_agent_auth: Optional[pulumi.Input[bool]] = None, - ssh_key: Optional[pulumi.Input[str]] = None, - ssh_key_path: Optional[pulumi.Input[str]] = None): + @service_vlan.setter + def service_vlan(self, value: pulumi.Input[str]): + pulumi.set(self, "service_vlan", value) + + @property + @pulumi.getter(name="systemId") + def system_id(self) -> pulumi.Input[str]: """ - :param pulumi.Input[str] address: Address ip for node (string) - :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list) - :param pulumi.Input[str] user: Registry user (string) - :param pulumi.Input[str] docker_socket: Docker socket for node (string) - :param pulumi.Input[str] hostname_override: Hostname override for node (string) - :param pulumi.Input[str] internal_address: Internal ip for node (string) - :param pulumi.Input[Mapping[str, Any]] labels: Labels for cluster registration token object (map) - :param pulumi.Input[str] node_id: Id for the node (string) - :param pulumi.Input[str] port: Port for node. Default `22` (string) - :param pulumi.Input[bool] ssh_agent_auth: Use ssh agent auth. Default `false` (bool) - :param pulumi.Input[str] ssh_key: Node SSH private key (string) - :param pulumi.Input[str] ssh_key_path: Node SSH private key path (string) + ACI system ID (string) """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "roles", roles) - pulumi.set(__self__, "user", user) - if docker_socket is not None: - pulumi.set(__self__, "docker_socket", docker_socket) - if hostname_override is not None: - pulumi.set(__self__, "hostname_override", hostname_override) - if internal_address is not None: - pulumi.set(__self__, "internal_address", internal_address) - if labels is not None: - pulumi.set(__self__, "labels", labels) - if node_id is not None: - pulumi.set(__self__, "node_id", node_id) - if port is not None: - pulumi.set(__self__, "port", port) - if ssh_agent_auth is not None: - pulumi.set(__self__, "ssh_agent_auth", ssh_agent_auth) - if ssh_key is not None: - pulumi.set(__self__, "ssh_key", ssh_key) - if ssh_key_path is not None: - pulumi.set(__self__, "ssh_key_path", ssh_key_path) + return pulumi.get(self, "system_id") + + @system_id.setter + def system_id(self, value: pulumi.Input[str]): + pulumi.set(self, "system_id", value) @property @pulumi.getter - def address(self) -> pulumi.Input[str]: + def token(self) -> pulumi.Input[str]: """ - Address ip for node (string) + Token for cluster registration token object (string) """ - return pulumi.get(self, "address") + return pulumi.get(self, "token") - @address.setter - def address(self, value: pulumi.Input[str]): - pulumi.set(self, "address", value) + @token.setter + def token(self, value: pulumi.Input[str]): + pulumi.set(self, "token", value) @property - @pulumi.getter - def roles(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + @pulumi.getter(name="vrfName") + def vrf_name(self) -> pulumi.Input[str]: """ - Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list) + VRF name (string) """ - return pulumi.get(self, "roles") + return pulumi.get(self, "vrf_name") - @roles.setter - def roles(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): - pulumi.set(self, "roles", value) + @vrf_name.setter + def vrf_name(self, value: pulumi.Input[str]): + pulumi.set(self, "vrf_name", value) @property - @pulumi.getter - def user(self) -> pulumi.Input[str]: + @pulumi.getter(name="vrfTenant") + def vrf_tenant(self) -> pulumi.Input[str]: """ - Registry user (string) + VRF tenant (string) """ - return pulumi.get(self, "user") + return pulumi.get(self, "vrf_tenant") - @user.setter - def user(self, value: pulumi.Input[str]): - pulumi.set(self, "user", value) + @vrf_tenant.setter + def vrf_tenant(self, value: pulumi.Input[str]): + pulumi.set(self, "vrf_tenant", value) @property - @pulumi.getter(name="dockerSocket") - def docker_socket(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="apicRefreshTickerAdjust") + def apic_refresh_ticker_adjust(self) -> Optional[pulumi.Input[str]]: """ - Docker socket for node (string) + APIC refresh ticker adjust amount (string) """ - return pulumi.get(self, "docker_socket") + return pulumi.get(self, "apic_refresh_ticker_adjust") - @docker_socket.setter - def docker_socket(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "docker_socket", value) + @apic_refresh_ticker_adjust.setter + def apic_refresh_ticker_adjust(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "apic_refresh_ticker_adjust", value) @property - @pulumi.getter(name="hostnameOverride") - def hostname_override(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="apicRefreshTime") + def apic_refresh_time(self) -> Optional[pulumi.Input[str]]: """ - Hostname override for node (string) + APIC refresh time in seconds (string) """ - return pulumi.get(self, "hostname_override") + return pulumi.get(self, "apic_refresh_time") - @hostname_override.setter - def hostname_override(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "hostname_override", value) + @apic_refresh_time.setter + def apic_refresh_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "apic_refresh_time", value) @property - @pulumi.getter(name="internalAddress") - def internal_address(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="apicSubscriptionDelay") + def apic_subscription_delay(self) -> Optional[pulumi.Input[str]]: """ - Internal ip for node (string) + APIC subscription delay amount (string) """ - return pulumi.get(self, "internal_address") + return pulumi.get(self, "apic_subscription_delay") - @internal_address.setter - def internal_address(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "internal_address", value) + @apic_subscription_delay.setter + def apic_subscription_delay(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "apic_subscription_delay", value) @property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def capic(self) -> Optional[pulumi.Input[str]]: """ - Labels for cluster registration token object (map) + cAPIC cloud (string) """ - return pulumi.get(self, "labels") + return pulumi.get(self, "capic") - @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "labels", value) + @capic.setter + def capic(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "capic", value) @property - @pulumi.getter(name="nodeId") - def node_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="controllerLogLevel") + def controller_log_level(self) -> Optional[pulumi.Input[str]]: """ - Id for the node (string) + Log level for ACI controller (string) """ - return pulumi.get(self, "node_id") + return pulumi.get(self, "controller_log_level") - @node_id.setter - def node_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "node_id", value) + @controller_log_level.setter + def controller_log_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "controller_log_level", value) @property - @pulumi.getter - def port(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="disablePeriodicSnatGlobalInfoSync") + def disable_periodic_snat_global_info_sync(self) -> Optional[pulumi.Input[str]]: """ - Port for node. Default `22` (string) + Whether to disable periodic SNAT global info sync (string) """ - return pulumi.get(self, "port") + return pulumi.get(self, "disable_periodic_snat_global_info_sync") - @port.setter - def port(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "port", value) + @disable_periodic_snat_global_info_sync.setter + def disable_periodic_snat_global_info_sync(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "disable_periodic_snat_global_info_sync", value) @property - @pulumi.getter(name="sshAgentAuth") - def ssh_agent_auth(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="disableWaitForNetwork") + def disable_wait_for_network(self) -> Optional[pulumi.Input[str]]: """ - Use ssh agent auth. Default `false` (bool) + Whether to disable waiting for network (string) """ - return pulumi.get(self, "ssh_agent_auth") + return pulumi.get(self, "disable_wait_for_network") - @ssh_agent_auth.setter - def ssh_agent_auth(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "ssh_agent_auth", value) + @disable_wait_for_network.setter + def disable_wait_for_network(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "disable_wait_for_network", value) @property - @pulumi.getter(name="sshKey") - def ssh_key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="dropLogEnable") + def drop_log_enable(self) -> Optional[pulumi.Input[str]]: """ - Node SSH private key (string) + Whether to enable drop log (string) """ - return pulumi.get(self, "ssh_key") + return pulumi.get(self, "drop_log_enable") - @ssh_key.setter - def ssh_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ssh_key", value) + @drop_log_enable.setter + def drop_log_enable(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "drop_log_enable", value) @property - @pulumi.getter(name="sshKeyPath") - def ssh_key_path(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="durationWaitForNetwork") + def duration_wait_for_network(self) -> Optional[pulumi.Input[str]]: """ - Node SSH private key path (string) + The duration to wait for network (string) """ - return pulumi.get(self, "ssh_key_path") + return pulumi.get(self, "duration_wait_for_network") - @ssh_key_path.setter - def ssh_key_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ssh_key_path", value) + @duration_wait_for_network.setter + def duration_wait_for_network(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "duration_wait_for_network", value) + @property + @pulumi.getter(name="enableEndpointSlice") + def enable_endpoint_slice(self) -> Optional[pulumi.Input[str]]: + """ + Whether to enable endpoint slices (string) + """ + return pulumi.get(self, "enable_endpoint_slice") -@pulumi.input_type -class ClusterRkeConfigPrivateRegistryArgs: - def __init__(__self__, *, - url: pulumi.Input[str], - ecr_credential_plugin: Optional[pulumi.Input['ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs']] = None, - is_default: Optional[pulumi.Input[bool]] = None, - password: Optional[pulumi.Input[str]] = None, - user: Optional[pulumi.Input[str]] = None): + @enable_endpoint_slice.setter + def enable_endpoint_slice(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "enable_endpoint_slice", value) + + @property + @pulumi.getter(name="epRegistry") + def ep_registry(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input[str] url: Registry URL (string) - :param pulumi.Input['ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs'] ecr_credential_plugin: ECR credential plugin config (list maxitems:1) - :param pulumi.Input[bool] is_default: Set as default registry. Default `false` (bool) - :param pulumi.Input[str] password: Registry password (string) - :param pulumi.Input[str] user: Registry user (string) + EP registry (string) """ - pulumi.set(__self__, "url", url) - if ecr_credential_plugin is not None: - pulumi.set(__self__, "ecr_credential_plugin", ecr_credential_plugin) - if is_default is not None: - pulumi.set(__self__, "is_default", is_default) - if password is not None: - pulumi.set(__self__, "password", password) - if user is not None: - pulumi.set(__self__, "user", user) + return pulumi.get(self, "ep_registry") + + @ep_registry.setter + def ep_registry(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ep_registry", value) @property - @pulumi.getter - def url(self) -> pulumi.Input[str]: + @pulumi.getter(name="gbpPodSubnet") + def gbp_pod_subnet(self) -> Optional[pulumi.Input[str]]: """ - Registry URL (string) + GBH pod subnet (string) """ - return pulumi.get(self, "url") + return pulumi.get(self, "gbp_pod_subnet") - @url.setter - def url(self, value: pulumi.Input[str]): - pulumi.set(self, "url", value) + @gbp_pod_subnet.setter + def gbp_pod_subnet(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "gbp_pod_subnet", value) @property - @pulumi.getter(name="ecrCredentialPlugin") - def ecr_credential_plugin(self) -> Optional[pulumi.Input['ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs']]: + @pulumi.getter(name="hostAgentLogLevel") + def host_agent_log_level(self) -> Optional[pulumi.Input[str]]: """ - ECR credential plugin config (list maxitems:1) + Log level for ACI host agent (string) """ - return pulumi.get(self, "ecr_credential_plugin") + return pulumi.get(self, "host_agent_log_level") - @ecr_credential_plugin.setter - def ecr_credential_plugin(self, value: Optional[pulumi.Input['ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs']]): - pulumi.set(self, "ecr_credential_plugin", value) + @host_agent_log_level.setter + def host_agent_log_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_agent_log_level", value) @property - @pulumi.getter(name="isDefault") - def is_default(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="imagePullPolicy") + def image_pull_policy(self) -> Optional[pulumi.Input[str]]: """ - Set as default registry. Default `false` (bool) + Image pull policy (string) """ - return pulumi.get(self, "is_default") + return pulumi.get(self, "image_pull_policy") - @is_default.setter - def is_default(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_default", value) + @image_pull_policy.setter + def image_pull_policy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image_pull_policy", value) @property - @pulumi.getter - def password(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="imagePullSecret") + def image_pull_secret(self) -> Optional[pulumi.Input[str]]: """ - Registry password (string) + Image pull policy (string) """ - return pulumi.get(self, "password") + return pulumi.get(self, "image_pull_secret") - @password.setter - def password(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "password", value) + @image_pull_secret.setter + def image_pull_secret(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image_pull_secret", value) @property - @pulumi.getter - def user(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="infraVlan") + def infra_vlan(self) -> Optional[pulumi.Input[str]]: """ - Registry user (string) + The VLAN used by ACI infra (string) """ - return pulumi.get(self, "user") + return pulumi.get(self, "infra_vlan") - @user.setter - def user(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user", value) + @infra_vlan.setter + def infra_vlan(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "infra_vlan", value) + @property + @pulumi.getter(name="installIstio") + def install_istio(self) -> Optional[pulumi.Input[str]]: + """ + Whether to install Istio (string) + """ + return pulumi.get(self, "install_istio") -@pulumi.input_type -class ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs: - def __init__(__self__, *, - 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): + @install_istio.setter + def install_istio(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "install_istio", value) + + @property + @pulumi.getter(name="istioProfile") + def istio_profile(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input[str] aws_access_key_id: AWS access key ID (string) - :param pulumi.Input[str] aws_secret_access_key: AWS secret access key (string) - :param pulumi.Input[str] aws_session_token: AWS session token (string) + Istio profile name (string) """ - if aws_access_key_id is not None: - pulumi.set(__self__, "aws_access_key_id", aws_access_key_id) - if aws_secret_access_key is not None: - pulumi.set(__self__, "aws_secret_access_key", aws_secret_access_key) - if aws_session_token is not None: - pulumi.set(__self__, "aws_session_token", aws_session_token) + return pulumi.get(self, "istio_profile") + + @istio_profile.setter + def istio_profile(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "istio_profile", value) @property - @pulumi.getter(name="awsAccessKeyId") - def aws_access_key_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="kafkaBrokers") + def kafka_brokers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - AWS access key ID (string) + List of Kafka broker hosts (list) """ - return pulumi.get(self, "aws_access_key_id") + return pulumi.get(self, "kafka_brokers") - @aws_access_key_id.setter - def aws_access_key_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "aws_access_key_id", value) + @kafka_brokers.setter + def kafka_brokers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "kafka_brokers", value) @property - @pulumi.getter(name="awsSecretAccessKey") - def aws_secret_access_key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="kafkaClientCrt") + def kafka_client_crt(self) -> Optional[pulumi.Input[str]]: """ - AWS secret access key (string) + Kafka client certificate (string) """ - return pulumi.get(self, "aws_secret_access_key") + return pulumi.get(self, "kafka_client_crt") - @aws_secret_access_key.setter - def aws_secret_access_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "aws_secret_access_key", value) + @kafka_client_crt.setter + def kafka_client_crt(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kafka_client_crt", value) @property - @pulumi.getter(name="awsSessionToken") - def aws_session_token(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="kafkaClientKey") + def kafka_client_key(self) -> Optional[pulumi.Input[str]]: """ - AWS session token (string) + Kafka client key (string) """ - return pulumi.get(self, "aws_session_token") + return pulumi.get(self, "kafka_client_key") - @aws_session_token.setter - def aws_session_token(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "aws_session_token", value) + @kafka_client_key.setter + def kafka_client_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kafka_client_key", value) + @property + @pulumi.getter(name="maxNodesSvcGraph") + def max_nodes_svc_graph(self) -> Optional[pulumi.Input[str]]: + """ + Max nodes in service graph (string) + """ + return pulumi.get(self, "max_nodes_svc_graph") -@pulumi.input_type -class ClusterRkeConfigServicesArgs: - def __init__(__self__, *, - etcd: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdArgs']] = None, - kube_api: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiArgs']] = None, - kube_controller: Optional[pulumi.Input['ClusterRkeConfigServicesKubeControllerArgs']] = None, - kubelet: Optional[pulumi.Input['ClusterRkeConfigServicesKubeletArgs']] = None, - kubeproxy: Optional[pulumi.Input['ClusterRkeConfigServicesKubeproxyArgs']] = None, - scheduler: Optional[pulumi.Input['ClusterRkeConfigServicesSchedulerArgs']] = None): + @max_nodes_svc_graph.setter + def max_nodes_svc_graph(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max_nodes_svc_graph", value) + + @property + @pulumi.getter(name="mtuHeadRoom") + def mtu_head_room(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input['ClusterRkeConfigServicesEtcdArgs'] etcd: Etcd options for RKE services (list maxitems:1) - :param pulumi.Input['ClusterRkeConfigServicesKubeApiArgs'] kube_api: Kube API options for RKE services (list maxitems:1) - :param pulumi.Input['ClusterRkeConfigServicesKubeControllerArgs'] kube_controller: Kube Controller options for RKE services (list maxitems:1) - :param pulumi.Input['ClusterRkeConfigServicesKubeletArgs'] kubelet: Kubelet options for RKE services (list maxitems:1) - :param pulumi.Input['ClusterRkeConfigServicesKubeproxyArgs'] kubeproxy: Kubeproxy options for RKE services (list maxitems:1) - :param pulumi.Input['ClusterRkeConfigServicesSchedulerArgs'] scheduler: Scheduler options for RKE services (list maxitems:1) + MTU head room amount (string) """ - if etcd is not None: - pulumi.set(__self__, "etcd", etcd) - if kube_api is not None: - pulumi.set(__self__, "kube_api", kube_api) - if kube_controller is not None: - pulumi.set(__self__, "kube_controller", kube_controller) - if kubelet is not None: - pulumi.set(__self__, "kubelet", kubelet) - if kubeproxy is not None: - pulumi.set(__self__, "kubeproxy", kubeproxy) - if scheduler is not None: - pulumi.set(__self__, "scheduler", scheduler) + return pulumi.get(self, "mtu_head_room") + + @mtu_head_room.setter + def mtu_head_room(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mtu_head_room", value) @property - @pulumi.getter - def etcd(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesEtcdArgs']]: + @pulumi.getter(name="multusDisable") + def multus_disable(self) -> Optional[pulumi.Input[str]]: """ - Etcd options for RKE services (list maxitems:1) + Whether to disable Multus (string) """ - return pulumi.get(self, "etcd") + return pulumi.get(self, "multus_disable") - @etcd.setter - def etcd(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdArgs']]): - pulumi.set(self, "etcd", value) + @multus_disable.setter + def multus_disable(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "multus_disable", value) @property - @pulumi.getter(name="kubeApi") - def kube_api(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiArgs']]: + @pulumi.getter(name="noPriorityClass") + def no_priority_class(self) -> Optional[pulumi.Input[str]]: """ - Kube API options for RKE services (list maxitems:1) + Whether to use priority class (string) """ - return pulumi.get(self, "kube_api") + return pulumi.get(self, "no_priority_class") - @kube_api.setter - def kube_api(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiArgs']]): - pulumi.set(self, "kube_api", value) + @no_priority_class.setter + def no_priority_class(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "no_priority_class", value) @property - @pulumi.getter(name="kubeController") - def kube_controller(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeControllerArgs']]: + @pulumi.getter(name="nodePodIfEnable") + def node_pod_if_enable(self) -> Optional[pulumi.Input[str]]: """ - Kube Controller options for RKE services (list maxitems:1) + Whether to enable node pod interface (string) """ - return pulumi.get(self, "kube_controller") + return pulumi.get(self, "node_pod_if_enable") - @kube_controller.setter - def kube_controller(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeControllerArgs']]): - pulumi.set(self, "kube_controller", value) + @node_pod_if_enable.setter + def node_pod_if_enable(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_pod_if_enable", value) @property - @pulumi.getter - def kubelet(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeletArgs']]: + @pulumi.getter(name="opflexClientSsl") + def opflex_client_ssl(self) -> Optional[pulumi.Input[str]]: """ - Kubelet options for RKE services (list maxitems:1) + Whether to use client SSL for Opflex (string) """ - return pulumi.get(self, "kubelet") + return pulumi.get(self, "opflex_client_ssl") - @kubelet.setter - def kubelet(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeletArgs']]): - pulumi.set(self, "kubelet", value) + @opflex_client_ssl.setter + def opflex_client_ssl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "opflex_client_ssl", value) @property - @pulumi.getter - def kubeproxy(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeproxyArgs']]: + @pulumi.getter(name="opflexDeviceDeleteTimeout") + def opflex_device_delete_timeout(self) -> Optional[pulumi.Input[str]]: """ - Kubeproxy options for RKE services (list maxitems:1) + Opflex device delete timeout (string) """ - return pulumi.get(self, "kubeproxy") + return pulumi.get(self, "opflex_device_delete_timeout") - @kubeproxy.setter - def kubeproxy(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeproxyArgs']]): - pulumi.set(self, "kubeproxy", value) + @opflex_device_delete_timeout.setter + def opflex_device_delete_timeout(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "opflex_device_delete_timeout", value) @property - @pulumi.getter - def scheduler(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesSchedulerArgs']]: + @pulumi.getter(name="opflexLogLevel") + def opflex_log_level(self) -> Optional[pulumi.Input[str]]: """ - Scheduler options for RKE services (list maxitems:1) + Log level for ACI opflex (string) """ - return pulumi.get(self, "scheduler") + return pulumi.get(self, "opflex_log_level") - @scheduler.setter - def scheduler(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesSchedulerArgs']]): - pulumi.set(self, "scheduler", value) + @opflex_log_level.setter + def opflex_log_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "opflex_log_level", value) + @property + @pulumi.getter(name="opflexMode") + def opflex_mode(self) -> Optional[pulumi.Input[str]]: + """ + Opflex mode (string) + """ + return pulumi.get(self, "opflex_mode") -@pulumi.input_type -class ClusterRkeConfigServicesEtcdArgs: - def __init__(__self__, *, - backup_config: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigArgs']] = None, - ca_cert: Optional[pulumi.Input[str]] = None, - cert: Optional[pulumi.Input[str]] = None, - creation: Optional[pulumi.Input[str]] = None, - external_urls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, - extra_binds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - extra_envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - gid: Optional[pulumi.Input[int]] = None, - image: Optional[pulumi.Input[str]] = None, - key: Optional[pulumi.Input[str]] = None, - path: Optional[pulumi.Input[str]] = None, - retention: Optional[pulumi.Input[str]] = None, - snapshot: Optional[pulumi.Input[bool]] = None, - uid: Optional[pulumi.Input[int]] = None): + @opflex_mode.setter + def opflex_mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "opflex_mode", value) + + @property + @pulumi.getter(name="opflexServerPort") + def opflex_server_port(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigArgs'] backup_config: Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) - :param pulumi.Input[str] ca_cert: TLS CA certificate for etcd service (string) - :param pulumi.Input[str] cert: TLS certificate for etcd service (string) - :param pulumi.Input[str] creation: Creation option for etcd service (string) - :param pulumi.Input[Sequence[pulumi.Input[str]]] external_urls: External urls for etcd service (list) - :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) - :param pulumi.Input[int] gid: Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) - :param pulumi.Input[str] image: Docker image for scheduler service (string) - :param pulumi.Input[str] key: The GKE taint key (string) - :param pulumi.Input[str] path: (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) - :param pulumi.Input[str] retention: Retention for etcd backup. Default `6` (int) - :param pulumi.Input[bool] snapshot: Snapshot option for etcd service (bool) - :param pulumi.Input[int] uid: Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) + Opflex server port (string) """ - if backup_config is not None: - pulumi.set(__self__, "backup_config", backup_config) - if ca_cert is not None: - pulumi.set(__self__, "ca_cert", ca_cert) - if cert is not None: - pulumi.set(__self__, "cert", cert) - if creation is not None: - pulumi.set(__self__, "creation", creation) - if external_urls is not None: - pulumi.set(__self__, "external_urls", external_urls) - if extra_args is not None: - pulumi.set(__self__, "extra_args", extra_args) - if extra_binds is not None: - pulumi.set(__self__, "extra_binds", extra_binds) - if extra_envs is not None: - pulumi.set(__self__, "extra_envs", extra_envs) - if gid is not None: - pulumi.set(__self__, "gid", gid) - if image is not None: - pulumi.set(__self__, "image", image) - if key is not None: - pulumi.set(__self__, "key", key) - if path is not None: - pulumi.set(__self__, "path", path) - if retention is not None: - pulumi.set(__self__, "retention", retention) - if snapshot is not None: - pulumi.set(__self__, "snapshot", snapshot) - if uid is not None: - pulumi.set(__self__, "uid", uid) + return pulumi.get(self, "opflex_server_port") + + @opflex_server_port.setter + def opflex_server_port(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "opflex_server_port", value) @property - @pulumi.getter(name="backupConfig") - def backup_config(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigArgs']]: + @pulumi.getter(name="overlayVrfName") + def overlay_vrf_name(self) -> Optional[pulumi.Input[str]]: """ - Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) + Overlay VRF name (string) """ - return pulumi.get(self, "backup_config") + return pulumi.get(self, "overlay_vrf_name") - @backup_config.setter - def backup_config(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigArgs']]): - pulumi.set(self, "backup_config", value) + @overlay_vrf_name.setter + def overlay_vrf_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "overlay_vrf_name", value) @property - @pulumi.getter(name="caCert") - def ca_cert(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="ovsMemoryLimit") + def ovs_memory_limit(self) -> Optional[pulumi.Input[str]]: """ - TLS CA certificate for etcd service (string) + OVS memory limit (string) """ - return pulumi.get(self, "ca_cert") + return pulumi.get(self, "ovs_memory_limit") - @ca_cert.setter - def ca_cert(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ca_cert", value) + @ovs_memory_limit.setter + def ovs_memory_limit(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ovs_memory_limit", value) @property - @pulumi.getter - def cert(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="pbrTrackingNonSnat") + def pbr_tracking_non_snat(self) -> Optional[pulumi.Input[str]]: """ - TLS certificate for etcd service (string) + Policy-based routing tracking non snat (string) """ - return pulumi.get(self, "cert") + return pulumi.get(self, "pbr_tracking_non_snat") - @cert.setter - def cert(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cert", value) + @pbr_tracking_non_snat.setter + def pbr_tracking_non_snat(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pbr_tracking_non_snat", value) @property - @pulumi.getter - def creation(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="podSubnetChunkSize") + def pod_subnet_chunk_size(self) -> Optional[pulumi.Input[str]]: """ - Creation option for etcd service (string) + Pod subnet chunk size (string) """ - return pulumi.get(self, "creation") + return pulumi.get(self, "pod_subnet_chunk_size") - @creation.setter - def creation(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "creation", value) + @pod_subnet_chunk_size.setter + def pod_subnet_chunk_size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pod_subnet_chunk_size", value) @property - @pulumi.getter(name="externalUrls") - def external_urls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="runGbpContainer") + def run_gbp_container(self) -> Optional[pulumi.Input[str]]: """ - External urls for etcd service (list) + Whether to run GBP container (string) """ - return pulumi.get(self, "external_urls") + return pulumi.get(self, "run_gbp_container") - @external_urls.setter - def external_urls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "external_urls", value) + @run_gbp_container.setter + def run_gbp_container(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "run_gbp_container", value) @property - @pulumi.getter(name="extraArgs") - def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + @pulumi.getter(name="runOpflexServerContainer") + def run_opflex_server_container(self) -> Optional[pulumi.Input[str]]: """ - Extra arguments for scheduler service (map) + Whether to run Opflex server container (string) """ - return pulumi.get(self, "extra_args") + return pulumi.get(self, "run_opflex_server_container") - @extra_args.setter - def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "extra_args", value) + @run_opflex_server_container.setter + def run_opflex_server_container(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "run_opflex_server_container", value) @property - @pulumi.getter(name="extraBinds") - def extra_binds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="serviceMonitorInterval") + def service_monitor_interval(self) -> Optional[pulumi.Input[str]]: """ - Extra binds for scheduler service (list) + Service monitor interval (string) """ - return pulumi.get(self, "extra_binds") + return pulumi.get(self, "service_monitor_interval") - @extra_binds.setter - def extra_binds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "extra_binds", value) + @service_monitor_interval.setter + def service_monitor_interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_monitor_interval", value) @property - @pulumi.getter(name="extraEnvs") - def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="snatContractScope") + def snat_contract_scope(self) -> Optional[pulumi.Input[str]]: """ - Extra environment for scheduler service (list) + Snat contract scope (string) """ - return pulumi.get(self, "extra_envs") + return pulumi.get(self, "snat_contract_scope") - @extra_envs.setter - def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "extra_envs", value) + @snat_contract_scope.setter + def snat_contract_scope(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snat_contract_scope", value) @property - @pulumi.getter - def gid(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="snatNamespace") + def snat_namespace(self) -> Optional[pulumi.Input[str]]: """ - Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) + Snat namespace (string) """ - return pulumi.get(self, "gid") + return pulumi.get(self, "snat_namespace") - @gid.setter - def gid(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "gid", value) + @snat_namespace.setter + def snat_namespace(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snat_namespace", value) @property - @pulumi.getter - def image(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="snatPortRangeEnd") + def snat_port_range_end(self) -> Optional[pulumi.Input[str]]: """ - Docker image for scheduler service (string) + End of snat port range (string) """ - return pulumi.get(self, "image") + return pulumi.get(self, "snat_port_range_end") - @image.setter - def image(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image", value) + @snat_port_range_end.setter + def snat_port_range_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snat_port_range_end", value) @property - @pulumi.getter - def key(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="snatPortRangeStart") + def snat_port_range_start(self) -> Optional[pulumi.Input[str]]: """ - The GKE taint key (string) + End of snat port range (string) """ - return pulumi.get(self, "key") + return pulumi.get(self, "snat_port_range_start") - @key.setter - def key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key", value) + @snat_port_range_start.setter + def snat_port_range_start(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snat_port_range_start", value) @property - @pulumi.getter - def path(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="snatPortsPerNode") + def snat_ports_per_node(self) -> Optional[pulumi.Input[str]]: """ - (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) + Snat ports per node (string) """ - return pulumi.get(self, "path") + return pulumi.get(self, "snat_ports_per_node") - @path.setter - def path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "path", value) + @snat_ports_per_node.setter + def snat_ports_per_node(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snat_ports_per_node", value) @property - @pulumi.getter - def retention(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="sriovEnable") + def sriov_enable(self) -> Optional[pulumi.Input[str]]: """ - Retention for etcd backup. Default `6` (int) + Whether to enable SR-IOV (string) """ - return pulumi.get(self, "retention") + return pulumi.get(self, "sriov_enable") - @retention.setter - def retention(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "retention", value) + @sriov_enable.setter + def sriov_enable(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sriov_enable", value) @property - @pulumi.getter - def snapshot(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="subnetDomainName") + def subnet_domain_name(self) -> Optional[pulumi.Input[str]]: """ - Snapshot option for etcd service (bool) + Subnet domain name (string) """ - return pulumi.get(self, "snapshot") + return pulumi.get(self, "subnet_domain_name") - @snapshot.setter - def snapshot(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "snapshot", value) + @subnet_domain_name.setter + def subnet_domain_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_domain_name", value) @property @pulumi.getter - def uid(self) -> Optional[pulumi.Input[int]]: + def tenant(self) -> Optional[pulumi.Input[str]]: """ - Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) + ACI tenant (string) """ - return pulumi.get(self, "uid") + return pulumi.get(self, "tenant") - @uid.setter - def uid(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "uid", value) + @tenant.setter + def tenant(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant", value) + @property + @pulumi.getter(name="useAciAnywhereCrd") + def use_aci_anywhere_crd(self) -> Optional[pulumi.Input[str]]: + """ + Whether to use ACI anywhere CRD (string) + """ + return pulumi.get(self, "use_aci_anywhere_crd") -@pulumi.input_type -class ClusterRkeConfigServicesEtcdBackupConfigArgs: - def __init__(__self__, *, - enabled: Optional[pulumi.Input[bool]] = None, - interval_hours: Optional[pulumi.Input[int]] = None, - retention: Optional[pulumi.Input[int]] = None, - s3_backup_config: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs']] = None, - safe_timestamp: Optional[pulumi.Input[bool]] = None, - timeout: Optional[pulumi.Input[int]] = None): + @use_aci_anywhere_crd.setter + def use_aci_anywhere_crd(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_aci_anywhere_crd", value) + + @property + @pulumi.getter(name="useAciCniPriorityClass") + def use_aci_cni_priority_class(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input[bool] enabled: Enable scheduled cluster scan. Default: `false` (bool) - :param pulumi.Input[int] interval_hours: Interval hours for etcd backup. Default `12` (int) - :param pulumi.Input[int] retention: Retention for etcd backup. Default `6` (int) - :param pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs'] s3_backup_config: S3 config options for etcd backup (list maxitems:1) - :param pulumi.Input[bool] safe_timestamp: Safe timestamp for etcd backup. Default: `false` (bool) - :param pulumi.Input[int] timeout: RKE node drain timeout. Default: `60` (int) + Whether to use ACI CNI priority class (string) """ - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - if interval_hours is not None: - pulumi.set(__self__, "interval_hours", interval_hours) - if retention is not None: - pulumi.set(__self__, "retention", retention) - if s3_backup_config is not None: - pulumi.set(__self__, "s3_backup_config", s3_backup_config) - if safe_timestamp is not None: - pulumi.set(__self__, "safe_timestamp", safe_timestamp) - if timeout is not None: - pulumi.set(__self__, "timeout", timeout) + return pulumi.get(self, "use_aci_cni_priority_class") + + @use_aci_cni_priority_class.setter + def use_aci_cni_priority_class(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_aci_cni_priority_class", value) @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="useClusterRole") + def use_cluster_role(self) -> Optional[pulumi.Input[str]]: """ - Enable scheduled cluster scan. Default: `false` (bool) + Whether to use cluster role (string) """ - return pulumi.get(self, "enabled") + return pulumi.get(self, "use_cluster_role") - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + @use_cluster_role.setter + def use_cluster_role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_cluster_role", value) @property - @pulumi.getter(name="intervalHours") - def interval_hours(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="useHostNetnsVolume") + def use_host_netns_volume(self) -> Optional[pulumi.Input[str]]: """ - Interval hours for etcd backup. Default `12` (int) + Whether to use host netns volume (string) """ - return pulumi.get(self, "interval_hours") + return pulumi.get(self, "use_host_netns_volume") - @interval_hours.setter - def interval_hours(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "interval_hours", value) + @use_host_netns_volume.setter + def use_host_netns_volume(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_host_netns_volume", value) @property - @pulumi.getter - def retention(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="useOpflexServerVolume") + def use_opflex_server_volume(self) -> Optional[pulumi.Input[str]]: """ - Retention for etcd backup. Default `6` (int) + Whether use Opflex server volume (string) """ - return pulumi.get(self, "retention") + return pulumi.get(self, "use_opflex_server_volume") - @retention.setter - def retention(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "retention", value) + @use_opflex_server_volume.setter + def use_opflex_server_volume(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_opflex_server_volume", value) @property - @pulumi.getter(name="s3BackupConfig") - def s3_backup_config(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs']]: + @pulumi.getter(name="usePrivilegedContainer") + def use_privileged_container(self) -> Optional[pulumi.Input[str]]: """ - S3 config options for etcd backup (list maxitems:1) + Whether ACI containers should run as privileged (string) """ - return pulumi.get(self, "s3_backup_config") + return pulumi.get(self, "use_privileged_container") - @s3_backup_config.setter - def s3_backup_config(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs']]): - pulumi.set(self, "s3_backup_config", value) + @use_privileged_container.setter + def use_privileged_container(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_privileged_container", value) @property - @pulumi.getter(name="safeTimestamp") - def safe_timestamp(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="vmmController") + def vmm_controller(self) -> Optional[pulumi.Input[str]]: """ - Safe timestamp for etcd backup. Default: `false` (bool) + VMM controller configuration (string) """ - return pulumi.get(self, "safe_timestamp") + return pulumi.get(self, "vmm_controller") - @safe_timestamp.setter - def safe_timestamp(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "safe_timestamp", value) + @vmm_controller.setter + def vmm_controller(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vmm_controller", value) @property - @pulumi.getter - def timeout(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="vmmDomain") + def vmm_domain(self) -> Optional[pulumi.Input[str]]: """ - RKE node drain timeout. Default: `60` (int) + VMM domain configuration (string) """ - return pulumi.get(self, "timeout") + return pulumi.get(self, "vmm_domain") - @timeout.setter - def timeout(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "timeout", value) + @vmm_domain.setter + def vmm_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vmm_domain", value) @pulumi.input_type -class ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs: +class ClusterRkeConfigNetworkCalicoNetworkProviderArgs: def __init__(__self__, *, - bucket_name: pulumi.Input[str], - endpoint: pulumi.Input[str], - access_key: Optional[pulumi.Input[str]] = None, - custom_ca: Optional[pulumi.Input[str]] = None, - folder: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None, - secret_key: Optional[pulumi.Input[str]] = None): + cloud_provider: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] bucket_name: Bucket name for S3 service (string) - :param pulumi.Input[str] endpoint: Endpoint for S3 service (string) - :param pulumi.Input[str] access_key: The AWS Client ID to use (string) - :param pulumi.Input[str] custom_ca: Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) - :param pulumi.Input[str] folder: Folder for S3 service. Available from Rancher v2.2.7 (string) - :param pulumi.Input[str] region: The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) - :param pulumi.Input[str] secret_key: The AWS Client Secret associated with the Client ID (string) + :param pulumi.Input[str] cloud_provider: RKE options for Calico network provider (string) """ - pulumi.set(__self__, "bucket_name", bucket_name) - pulumi.set(__self__, "endpoint", endpoint) - if access_key is not None: - pulumi.set(__self__, "access_key", access_key) - if custom_ca is not None: - pulumi.set(__self__, "custom_ca", custom_ca) - if folder is not None: - pulumi.set(__self__, "folder", folder) - if region is not None: - pulumi.set(__self__, "region", region) - if secret_key is not None: - pulumi.set(__self__, "secret_key", secret_key) + if cloud_provider is not None: + pulumi.set(__self__, "cloud_provider", cloud_provider) @property - @pulumi.getter(name="bucketName") - def bucket_name(self) -> pulumi.Input[str]: + @pulumi.getter(name="cloudProvider") + def cloud_provider(self) -> Optional[pulumi.Input[str]]: """ - Bucket name for S3 service (string) + RKE options for Calico network provider (string) """ - return pulumi.get(self, "bucket_name") + return pulumi.get(self, "cloud_provider") - @bucket_name.setter - def bucket_name(self, value: pulumi.Input[str]): - pulumi.set(self, "bucket_name", value) + @cloud_provider.setter + def cloud_provider(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cloud_provider", value) + + +@pulumi.input_type +class ClusterRkeConfigNetworkCanalNetworkProviderArgs: + def __init__(__self__, *, + iface: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] iface: Iface config Flannel network provider (string) + """ + if iface is not None: + pulumi.set(__self__, "iface", iface) @property @pulumi.getter - def endpoint(self) -> pulumi.Input[str]: + def iface(self) -> Optional[pulumi.Input[str]]: """ - Endpoint for S3 service (string) + Iface config Flannel network provider (string) """ - return pulumi.get(self, "endpoint") + return pulumi.get(self, "iface") - @endpoint.setter - def endpoint(self, value: pulumi.Input[str]): - pulumi.set(self, "endpoint", value) - - @property - @pulumi.getter(name="accessKey") - def access_key(self) -> Optional[pulumi.Input[str]]: - """ - The AWS Client ID to use (string) - """ - return pulumi.get(self, "access_key") - - @access_key.setter - def access_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "access_key", value) - - @property - @pulumi.getter(name="customCa") - def custom_ca(self) -> Optional[pulumi.Input[str]]: - """ - Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) - """ - return pulumi.get(self, "custom_ca") + @iface.setter + def iface(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "iface", value) - @custom_ca.setter - def custom_ca(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "custom_ca", value) - @property - @pulumi.getter - def folder(self) -> Optional[pulumi.Input[str]]: +@pulumi.input_type +class ClusterRkeConfigNetworkFlannelNetworkProviderArgs: + def __init__(__self__, *, + iface: Optional[pulumi.Input[str]] = None): """ - Folder for S3 service. Available from Rancher v2.2.7 (string) + :param pulumi.Input[str] iface: Iface config Flannel network provider (string) """ - return pulumi.get(self, "folder") - - @folder.setter - def folder(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "folder", value) + if iface is not None: + pulumi.set(__self__, "iface", iface) @property @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - """ - The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) - """ - return pulumi.get(self, "region") - - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) - - @property - @pulumi.getter(name="secretKey") - def secret_key(self) -> Optional[pulumi.Input[str]]: + def iface(self) -> Optional[pulumi.Input[str]]: """ - The AWS Client Secret associated with the Client ID (string) + Iface config Flannel network provider (string) """ - return pulumi.get(self, "secret_key") + return pulumi.get(self, "iface") - @secret_key.setter - def secret_key(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "secret_key", value) + @iface.setter + def iface(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "iface", value) @pulumi.input_type -class ClusterRkeConfigServicesKubeApiArgs: +class ClusterRkeConfigNetworkTolerationArgs: def __init__(__self__, *, - admission_configuration: Optional[pulumi.Input[Mapping[str, Any]]] = None, - always_pull_images: Optional[pulumi.Input[bool]] = None, - audit_log: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogArgs']] = None, - event_rate_limit: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiEventRateLimitArgs']] = None, - extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, - 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, - pod_security_policy: Optional[pulumi.Input[bool]] = None, - 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): + key: pulumi.Input[str], + effect: Optional[pulumi.Input[str]] = None, + operator: Optional[pulumi.Input[str]] = None, + seconds: Optional[pulumi.Input[int]] = None, + value: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[Mapping[str, Any]] admission_configuration: Admission configuration (map) - :param pulumi.Input[bool] always_pull_images: Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) - :param pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogArgs'] audit_log: K8s audit log configuration. (list maxitems: 1) - :param pulumi.Input['ClusterRkeConfigServicesKubeApiEventRateLimitArgs'] event_rate_limit: K8s event rate limit configuration. (list maxitems: 1) - :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) - :param pulumi.Input[str] image: Docker image for scheduler service (string) - :param pulumi.Input[bool] pod_security_policy: Pod Security Policy option for kube API service. Default `false` (bool) - :param pulumi.Input['ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs'] secrets_encryption_config: [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) - :param pulumi.Input[str] service_cluster_ip_range: Service Cluster ip Range option for kube controller service (string) - :param pulumi.Input[str] service_node_port_range: Service Node Port Range option for kube API service (string) + :param pulumi.Input[str] key: The GKE taint key (string) + :param pulumi.Input[str] effect: The GKE taint effect (string) + :param pulumi.Input[str] operator: The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string) + :param pulumi.Input[int] seconds: The toleration seconds (int) + :param pulumi.Input[str] value: The GKE taint value (string) """ - if admission_configuration is not None: - pulumi.set(__self__, "admission_configuration", admission_configuration) - if always_pull_images is not None: - pulumi.set(__self__, "always_pull_images", always_pull_images) - if audit_log is not None: - pulumi.set(__self__, "audit_log", audit_log) - if event_rate_limit is not None: - pulumi.set(__self__, "event_rate_limit", event_rate_limit) - if extra_args is not None: - pulumi.set(__self__, "extra_args", extra_args) - if extra_binds is not None: - pulumi.set(__self__, "extra_binds", extra_binds) - if extra_envs is not None: - pulumi.set(__self__, "extra_envs", extra_envs) - if image is not None: - pulumi.set(__self__, "image", image) - if pod_security_policy is not None: - pulumi.set(__self__, "pod_security_policy", pod_security_policy) - if secrets_encryption_config is not None: - pulumi.set(__self__, "secrets_encryption_config", secrets_encryption_config) - if service_cluster_ip_range is not None: - pulumi.set(__self__, "service_cluster_ip_range", service_cluster_ip_range) - if service_node_port_range is not None: - pulumi.set(__self__, "service_node_port_range", service_node_port_range) + pulumi.set(__self__, "key", key) + if effect is not None: + pulumi.set(__self__, "effect", effect) + if operator is not None: + pulumi.set(__self__, "operator", operator) + if seconds is not None: + pulumi.set(__self__, "seconds", seconds) + if value is not None: + pulumi.set(__self__, "value", value) @property - @pulumi.getter(name="admissionConfiguration") - def admission_configuration(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + @pulumi.getter + def key(self) -> pulumi.Input[str]: """ - Admission configuration (map) + The GKE taint key (string) """ - return pulumi.get(self, "admission_configuration") + return pulumi.get(self, "key") - @admission_configuration.setter - def admission_configuration(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "admission_configuration", value) + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) @property - @pulumi.getter(name="alwaysPullImages") - def always_pull_images(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter + def effect(self) -> Optional[pulumi.Input[str]]: """ - Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) + The GKE taint effect (string) """ - return pulumi.get(self, "always_pull_images") + return pulumi.get(self, "effect") - @always_pull_images.setter - def always_pull_images(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "always_pull_images", value) + @effect.setter + def effect(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "effect", value) @property - @pulumi.getter(name="auditLog") - def audit_log(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogArgs']]: + @pulumi.getter + def operator(self) -> Optional[pulumi.Input[str]]: """ - K8s audit log configuration. (list maxitems: 1) + The toleration operator. `Equal`, and `Exists` are supported. Default: `Equal` (string) """ - return pulumi.get(self, "audit_log") + return pulumi.get(self, "operator") - @audit_log.setter - def audit_log(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogArgs']]): - pulumi.set(self, "audit_log", value) + @operator.setter + def operator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "operator", value) @property - @pulumi.getter(name="eventRateLimit") - def event_rate_limit(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiEventRateLimitArgs']]: + @pulumi.getter + def seconds(self) -> Optional[pulumi.Input[int]]: """ - K8s event rate limit configuration. (list maxitems: 1) + The toleration seconds (int) """ - return pulumi.get(self, "event_rate_limit") + return pulumi.get(self, "seconds") - @event_rate_limit.setter - def event_rate_limit(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiEventRateLimitArgs']]): - pulumi.set(self, "event_rate_limit", value) + @seconds.setter + def seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "seconds", value) @property - @pulumi.getter(name="extraArgs") - def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: """ - Extra arguments for scheduler service (map) + The GKE taint value (string) """ - return pulumi.get(self, "extra_args") - - @extra_args.setter - def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "extra_args", value) + return pulumi.get(self, "value") - @property - @pulumi.getter(name="extraBinds") - def extra_binds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Extra binds for scheduler service (list) - """ - return pulumi.get(self, "extra_binds") + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) - @extra_binds.setter - def extra_binds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "extra_binds", value) - @property - @pulumi.getter(name="extraEnvs") - def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: +@pulumi.input_type +class ClusterRkeConfigNetworkWeaveNetworkProviderArgs: + def __init__(__self__, *, + password: pulumi.Input[str]): """ - Extra environment for scheduler service (list) + :param pulumi.Input[str] password: Registry password (string) """ - return pulumi.get(self, "extra_envs") - - @extra_envs.setter - def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "extra_envs", value) + pulumi.set(__self__, "password", password) @property @pulumi.getter - def image(self) -> Optional[pulumi.Input[str]]: + def password(self) -> pulumi.Input[str]: """ - Docker image for scheduler service (string) + Registry password (string) """ - return pulumi.get(self, "image") - - @image.setter - def image(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image", value) + return pulumi.get(self, "password") - @property - @pulumi.getter(name="podSecurityPolicy") - def pod_security_policy(self) -> Optional[pulumi.Input[bool]]: - """ - Pod Security Policy option for kube API service. Default `false` (bool) - """ - return pulumi.get(self, "pod_security_policy") + @password.setter + def password(self, value: pulumi.Input[str]): + pulumi.set(self, "password", value) - @pod_security_policy.setter - def pod_security_policy(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "pod_security_policy", value) - @property - @pulumi.getter(name="secretsEncryptionConfig") - def secrets_encryption_config(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs']]: +@pulumi.input_type +class ClusterRkeConfigNodeArgs: + def __init__(__self__, *, + address: pulumi.Input[str], + roles: pulumi.Input[Sequence[pulumi.Input[str]]], + user: pulumi.Input[str], + docker_socket: Optional[pulumi.Input[str]] = None, + hostname_override: Optional[pulumi.Input[str]] = None, + internal_address: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, + node_id: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[str]] = None, + ssh_agent_auth: Optional[pulumi.Input[bool]] = None, + ssh_key: Optional[pulumi.Input[str]] = None, + ssh_key_path: Optional[pulumi.Input[str]] = None): """ - [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) + :param pulumi.Input[str] address: Address ip for node (string) + :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list) + :param pulumi.Input[str] user: Registry user (string) + :param pulumi.Input[str] docker_socket: Docker socket for node (string) + :param pulumi.Input[str] hostname_override: Hostname override for node (string) + :param pulumi.Input[str] internal_address: Internal ip for node (string) + :param pulumi.Input[Mapping[str, Any]] labels: Labels for cluster registration token object (map) + :param pulumi.Input[str] node_id: Id for the node (string) + :param pulumi.Input[str] port: Port for node. Default `22` (string) + :param pulumi.Input[bool] ssh_agent_auth: Use ssh agent auth. Default `false` (bool) + :param pulumi.Input[str] ssh_key: Node SSH private key (string) + :param pulumi.Input[str] ssh_key_path: Node SSH private key path (string) """ - return pulumi.get(self, "secrets_encryption_config") - - @secrets_encryption_config.setter - def secrets_encryption_config(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs']]): - pulumi.set(self, "secrets_encryption_config", value) + pulumi.set(__self__, "address", address) + pulumi.set(__self__, "roles", roles) + pulumi.set(__self__, "user", user) + if docker_socket is not None: + pulumi.set(__self__, "docker_socket", docker_socket) + if hostname_override is not None: + pulumi.set(__self__, "hostname_override", hostname_override) + if internal_address is not None: + pulumi.set(__self__, "internal_address", internal_address) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if node_id is not None: + pulumi.set(__self__, "node_id", node_id) + if port is not None: + pulumi.set(__self__, "port", port) + if ssh_agent_auth is not None: + pulumi.set(__self__, "ssh_agent_auth", ssh_agent_auth) + if ssh_key is not None: + pulumi.set(__self__, "ssh_key", ssh_key) + if ssh_key_path is not None: + pulumi.set(__self__, "ssh_key_path", ssh_key_path) @property - @pulumi.getter(name="serviceClusterIpRange") - def service_cluster_ip_range(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def address(self) -> pulumi.Input[str]: """ - Service Cluster ip Range option for kube controller service (string) + Address ip for node (string) """ - return pulumi.get(self, "service_cluster_ip_range") + return pulumi.get(self, "address") - @service_cluster_ip_range.setter - def service_cluster_ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "service_cluster_ip_range", value) + @address.setter + def address(self, value: pulumi.Input[str]): + pulumi.set(self, "address", value) @property - @pulumi.getter(name="serviceNodePortRange") - def service_node_port_range(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def roles(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: """ - Service Node Port Range option for kube API service (string) + Roles for the node. `controlplane`, `etcd` and `worker` are supported. (list) """ - return pulumi.get(self, "service_node_port_range") - - @service_node_port_range.setter - def service_node_port_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "service_node_port_range", value) + return pulumi.get(self, "roles") + @roles.setter + def roles(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "roles", value) -@pulumi.input_type -class ClusterRkeConfigServicesKubeApiAuditLogArgs: - def __init__(__self__, *, - configuration: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs']] = None, - enabled: Optional[pulumi.Input[bool]] = None): + @property + @pulumi.getter + def user(self) -> pulumi.Input[str]: """ - :param pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs'] configuration: Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: - :param pulumi.Input[bool] enabled: Enable scheduled cluster scan. Default: `false` (bool) + Registry user (string) """ - if configuration is not None: - pulumi.set(__self__, "configuration", configuration) - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + return pulumi.get(self, "user") + + @user.setter + def user(self, value: pulumi.Input[str]): + pulumi.set(self, "user", value) @property - @pulumi.getter - def configuration(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs']]: + @pulumi.getter(name="dockerSocket") + def docker_socket(self) -> Optional[pulumi.Input[str]]: """ - Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: + Docker socket for node (string) """ - return pulumi.get(self, "configuration") + return pulumi.get(self, "docker_socket") - @configuration.setter - def configuration(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs']]): - pulumi.set(self, "configuration", value) + @docker_socket.setter + def docker_socket(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "docker_socket", value) @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="hostnameOverride") + def hostname_override(self) -> Optional[pulumi.Input[str]]: """ - Enable scheduled cluster scan. Default: `false` (bool) + Hostname override for node (string) """ - return pulumi.get(self, "enabled") - - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + return pulumi.get(self, "hostname_override") + @hostname_override.setter + def hostname_override(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "hostname_override", value) -@pulumi.input_type -class ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs: - def __init__(__self__, *, - format: Optional[pulumi.Input[str]] = None, - max_age: Optional[pulumi.Input[int]] = None, - max_backup: Optional[pulumi.Input[int]] = None, - max_size: Optional[pulumi.Input[int]] = None, - path: Optional[pulumi.Input[str]] = None, - policy: Optional[pulumi.Input[str]] = None): + @property + @pulumi.getter(name="internalAddress") + def internal_address(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input[str] format: Audit log format. Default: 'json' (string) - :param pulumi.Input[int] max_age: Audit log max age. Default: `30` (int) - :param pulumi.Input[int] max_backup: Audit log max backup. Default: `10` (int) - :param pulumi.Input[int] max_size: The EKS node group maximum size. Default `2` (int) - :param pulumi.Input[str] path: (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) - :param pulumi.Input[str] policy: Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: + Internal ip for node (string) """ - if format is not None: - pulumi.set(__self__, "format", format) - if max_age is not None: - pulumi.set(__self__, "max_age", max_age) - if max_backup is not None: - pulumi.set(__self__, "max_backup", max_backup) - if max_size is not None: - pulumi.set(__self__, "max_size", max_size) - if path is not None: - pulumi.set(__self__, "path", path) - if policy is not None: - pulumi.set(__self__, "policy", policy) + return pulumi.get(self, "internal_address") + + @internal_address.setter + def internal_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "internal_address", value) @property @pulumi.getter - def format(self) -> Optional[pulumi.Input[str]]: + def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: """ - Audit log format. Default: 'json' (string) + Labels for cluster registration token object (map) """ - return pulumi.get(self, "format") + return pulumi.get(self, "labels") - @format.setter - def format(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "format", value) + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "labels", value) @property - @pulumi.getter(name="maxAge") - def max_age(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="nodeId") + def node_id(self) -> Optional[pulumi.Input[str]]: """ - Audit log max age. Default: `30` (int) + Id for the node (string) """ - return pulumi.get(self, "max_age") + return pulumi.get(self, "node_id") - @max_age.setter - def max_age(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_age", value) + @node_id.setter + def node_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_id", value) @property - @pulumi.getter(name="maxBackup") - def max_backup(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter + def port(self) -> Optional[pulumi.Input[str]]: """ - Audit log max backup. Default: `10` (int) + Port for node. Default `22` (string) """ - return pulumi.get(self, "max_backup") + return pulumi.get(self, "port") - @max_backup.setter - def max_backup(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_backup", value) + @port.setter + def port(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "port", value) @property - @pulumi.getter(name="maxSize") - def max_size(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="sshAgentAuth") + def ssh_agent_auth(self) -> Optional[pulumi.Input[bool]]: """ - The EKS node group maximum size. Default `2` (int) + Use ssh agent auth. Default `false` (bool) """ - return pulumi.get(self, "max_size") + return pulumi.get(self, "ssh_agent_auth") - @max_size.setter - def max_size(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_size", value) + @ssh_agent_auth.setter + def ssh_agent_auth(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "ssh_agent_auth", value) @property - @pulumi.getter - def path(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="sshKey") + def ssh_key(self) -> Optional[pulumi.Input[str]]: """ - (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) + Node SSH private key (string) """ - return pulumi.get(self, "path") + return pulumi.get(self, "ssh_key") - @path.setter - def path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "path", value) + @ssh_key.setter + def ssh_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ssh_key", value) @property - @pulumi.getter - def policy(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="sshKeyPath") + def ssh_key_path(self) -> Optional[pulumi.Input[str]]: """ - Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: + Node SSH private key path (string) """ - return pulumi.get(self, "policy") + return pulumi.get(self, "ssh_key_path") - @policy.setter - def policy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "policy", value) + @ssh_key_path.setter + def ssh_key_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ssh_key_path", value) @pulumi.input_type -class ClusterRkeConfigServicesKubeApiEventRateLimitArgs: +class ClusterRkeConfigPrivateRegistryArgs: def __init__(__self__, *, - configuration: Optional[pulumi.Input[str]] = None, - enabled: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input[str] configuration: Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: - :param pulumi.Input[bool] enabled: Enable scheduled cluster scan. Default: `false` (bool) + url: pulumi.Input[str], + ecr_credential_plugin: Optional[pulumi.Input['ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs']] = None, + is_default: Optional[pulumi.Input[bool]] = None, + password: Optional[pulumi.Input[str]] = None, + user: Optional[pulumi.Input[str]] = None): """ - if configuration is not None: - pulumi.set(__self__, "configuration", configuration) - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + :param pulumi.Input[str] url: Registry URL (string) + :param pulumi.Input['ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs'] ecr_credential_plugin: ECR credential plugin config (list maxitems:1) + :param pulumi.Input[bool] is_default: Set as default registry. Default `false` (bool) + :param pulumi.Input[str] password: Registry password (string) + :param pulumi.Input[str] user: Registry user (string) + """ + pulumi.set(__self__, "url", url) + if ecr_credential_plugin is not None: + pulumi.set(__self__, "ecr_credential_plugin", ecr_credential_plugin) + if is_default is not None: + pulumi.set(__self__, "is_default", is_default) + if password is not None: + pulumi.set(__self__, "password", password) + if user is not None: + pulumi.set(__self__, "user", user) @property @pulumi.getter - def configuration(self) -> Optional[pulumi.Input[str]]: + def url(self) -> pulumi.Input[str]: """ - Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: + Registry URL (string) """ - return pulumi.get(self, "configuration") + return pulumi.get(self, "url") - @configuration.setter - def configuration(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "configuration", value) + @url.setter + def url(self, value: pulumi.Input[str]): + pulumi.set(self, "url", value) @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="ecrCredentialPlugin") + def ecr_credential_plugin(self) -> Optional[pulumi.Input['ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs']]: """ - Enable scheduled cluster scan. Default: `false` (bool) + ECR credential plugin config (list maxitems:1) """ - return pulumi.get(self, "enabled") - - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + return pulumi.get(self, "ecr_credential_plugin") + @ecr_credential_plugin.setter + def ecr_credential_plugin(self, value: Optional[pulumi.Input['ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs']]): + pulumi.set(self, "ecr_credential_plugin", value) -@pulumi.input_type -class ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs: - def __init__(__self__, *, - custom_config: Optional[pulumi.Input[str]] = None, - enabled: Optional[pulumi.Input[bool]] = None): + @property + @pulumi.getter(name="isDefault") + def is_default(self) -> Optional[pulumi.Input[bool]]: """ - :param pulumi.Input[str] custom_config: Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: - :param pulumi.Input[bool] enabled: Enable scheduled cluster scan. Default: `false` (bool) + Set as default registry. Default `false` (bool) """ - if custom_config is not None: - pulumi.set(__self__, "custom_config", custom_config) - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + return pulumi.get(self, "is_default") + + @is_default.setter + def is_default(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_default", value) @property - @pulumi.getter(name="customConfig") - def custom_config(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: """ - Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: + Registry password (string) """ - return pulumi.get(self, "custom_config") + return pulumi.get(self, "password") - @custom_config.setter - def custom_config(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "custom_config", value) + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) @property @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: + def user(self) -> Optional[pulumi.Input[str]]: """ - Enable scheduled cluster scan. Default: `false` (bool) + Registry user (string) """ - return pulumi.get(self, "enabled") + return pulumi.get(self, "user") - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + @user.setter + def user(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user", value) @pulumi.input_type -class ClusterRkeConfigServicesKubeControllerArgs: +class ClusterRkeConfigPrivateRegistryEcrCredentialPluginArgs: def __init__(__self__, *, - cluster_cidr: Optional[pulumi.Input[str]] = None, - extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, - 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, - service_cluster_ip_range: Optional[pulumi.Input[str]] = None): + 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): """ - :param pulumi.Input[str] cluster_cidr: Cluster CIDR option for kube controller service (string) - :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) - :param pulumi.Input[str] image: Docker image for scheduler service (string) - :param pulumi.Input[str] service_cluster_ip_range: Service Cluster ip Range option for kube controller service (string) + :param pulumi.Input[str] aws_access_key_id: AWS access key ID (string) + :param pulumi.Input[str] aws_secret_access_key: AWS secret access key (string) + :param pulumi.Input[str] aws_session_token: AWS session token (string) """ - if cluster_cidr is not None: - pulumi.set(__self__, "cluster_cidr", cluster_cidr) - if extra_args is not None: - pulumi.set(__self__, "extra_args", extra_args) - if extra_binds is not None: - pulumi.set(__self__, "extra_binds", extra_binds) - if extra_envs is not None: - pulumi.set(__self__, "extra_envs", extra_envs) - if image is not None: - pulumi.set(__self__, "image", image) - if service_cluster_ip_range is not None: - pulumi.set(__self__, "service_cluster_ip_range", service_cluster_ip_range) + if aws_access_key_id is not None: + pulumi.set(__self__, "aws_access_key_id", aws_access_key_id) + if aws_secret_access_key is not None: + pulumi.set(__self__, "aws_secret_access_key", aws_secret_access_key) + if aws_session_token is not None: + pulumi.set(__self__, "aws_session_token", aws_session_token) @property - @pulumi.getter(name="clusterCidr") - def cluster_cidr(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="awsAccessKeyId") + def aws_access_key_id(self) -> Optional[pulumi.Input[str]]: """ - Cluster CIDR option for kube controller service (string) + AWS access key ID (string) """ - return pulumi.get(self, "cluster_cidr") + return pulumi.get(self, "aws_access_key_id") - @cluster_cidr.setter - def cluster_cidr(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_cidr", value) + @aws_access_key_id.setter + def aws_access_key_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aws_access_key_id", value) @property - @pulumi.getter(name="extraArgs") - def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + @pulumi.getter(name="awsSecretAccessKey") + def aws_secret_access_key(self) -> Optional[pulumi.Input[str]]: """ - Extra arguments for scheduler service (map) + AWS secret access key (string) """ - return pulumi.get(self, "extra_args") + return pulumi.get(self, "aws_secret_access_key") - @extra_args.setter - def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "extra_args", value) + @aws_secret_access_key.setter + def aws_secret_access_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aws_secret_access_key", value) @property - @pulumi.getter(name="extraBinds") - def extra_binds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="awsSessionToken") + def aws_session_token(self) -> Optional[pulumi.Input[str]]: """ - Extra binds for scheduler service (list) + AWS session token (string) """ - return pulumi.get(self, "extra_binds") + return pulumi.get(self, "aws_session_token") - @extra_binds.setter - def extra_binds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "extra_binds", value) + @aws_session_token.setter + def aws_session_token(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aws_session_token", value) - @property - @pulumi.getter(name="extraEnvs") - def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + +@pulumi.input_type +class ClusterRkeConfigServicesArgs: + def __init__(__self__, *, + etcd: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdArgs']] = None, + kube_api: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiArgs']] = None, + kube_controller: Optional[pulumi.Input['ClusterRkeConfigServicesKubeControllerArgs']] = None, + kubelet: Optional[pulumi.Input['ClusterRkeConfigServicesKubeletArgs']] = None, + kubeproxy: Optional[pulumi.Input['ClusterRkeConfigServicesKubeproxyArgs']] = None, + scheduler: Optional[pulumi.Input['ClusterRkeConfigServicesSchedulerArgs']] = None): """ - Extra environment for scheduler service (list) + :param pulumi.Input['ClusterRkeConfigServicesEtcdArgs'] etcd: Etcd options for RKE services (list maxitems:1) + :param pulumi.Input['ClusterRkeConfigServicesKubeApiArgs'] kube_api: Kube API options for RKE services (list maxitems:1) + :param pulumi.Input['ClusterRkeConfigServicesKubeControllerArgs'] kube_controller: Kube Controller options for RKE services (list maxitems:1) + :param pulumi.Input['ClusterRkeConfigServicesKubeletArgs'] kubelet: Kubelet options for RKE services (list maxitems:1) + :param pulumi.Input['ClusterRkeConfigServicesKubeproxyArgs'] kubeproxy: Kubeproxy options for RKE services (list maxitems:1) + :param pulumi.Input['ClusterRkeConfigServicesSchedulerArgs'] scheduler: Scheduler options for RKE services (list maxitems:1) """ - return pulumi.get(self, "extra_envs") - - @extra_envs.setter - def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "extra_envs", value) + if etcd is not None: + pulumi.set(__self__, "etcd", etcd) + if kube_api is not None: + pulumi.set(__self__, "kube_api", kube_api) + if kube_controller is not None: + pulumi.set(__self__, "kube_controller", kube_controller) + if kubelet is not None: + pulumi.set(__self__, "kubelet", kubelet) + if kubeproxy is not None: + pulumi.set(__self__, "kubeproxy", kubeproxy) + if scheduler is not None: + pulumi.set(__self__, "scheduler", scheduler) @property @pulumi.getter - def image(self) -> Optional[pulumi.Input[str]]: + def etcd(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesEtcdArgs']]: """ - Docker image for scheduler service (string) + Etcd options for RKE services (list maxitems:1) """ - return pulumi.get(self, "image") + return pulumi.get(self, "etcd") - @image.setter - def image(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image", value) + @etcd.setter + def etcd(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdArgs']]): + pulumi.set(self, "etcd", value) @property - @pulumi.getter(name="serviceClusterIpRange") - def service_cluster_ip_range(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="kubeApi") + def kube_api(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiArgs']]: """ - Service Cluster ip Range option for kube controller service (string) + Kube API options for RKE services (list maxitems:1) """ - return pulumi.get(self, "service_cluster_ip_range") + return pulumi.get(self, "kube_api") - @service_cluster_ip_range.setter - def service_cluster_ip_range(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "service_cluster_ip_range", value) + @kube_api.setter + def kube_api(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiArgs']]): + pulumi.set(self, "kube_api", value) + @property + @pulumi.getter(name="kubeController") + def kube_controller(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeControllerArgs']]: + """ + Kube Controller options for RKE services (list maxitems:1) + """ + return pulumi.get(self, "kube_controller") -@pulumi.input_type -class ClusterRkeConfigServicesKubeletArgs: - def __init__(__self__, *, - cluster_dns_server: Optional[pulumi.Input[str]] = None, - cluster_domain: Optional[pulumi.Input[str]] = None, - extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, - extra_binds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - extra_envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - fail_swap_on: Optional[pulumi.Input[bool]] = None, - generate_serving_certificate: Optional[pulumi.Input[bool]] = None, - image: Optional[pulumi.Input[str]] = None, - infra_container_image: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] cluster_dns_server: Cluster DNS Server option for kubelet service (string) - :param pulumi.Input[str] cluster_domain: Cluster Domain option for kubelet service (string) - :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) - :param pulumi.Input[bool] fail_swap_on: Enable or disable failing when swap on is not supported (bool) - :param pulumi.Input[bool] generate_serving_certificate: [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) - :param pulumi.Input[str] image: Docker image for scheduler service (string) - :param pulumi.Input[str] infra_container_image: Infra container image for kubelet service (string) - """ - if cluster_dns_server is not None: - pulumi.set(__self__, "cluster_dns_server", cluster_dns_server) - if cluster_domain is not None: - pulumi.set(__self__, "cluster_domain", cluster_domain) - if extra_args is not None: - pulumi.set(__self__, "extra_args", extra_args) - if extra_binds is not None: - pulumi.set(__self__, "extra_binds", extra_binds) - if extra_envs is not None: - pulumi.set(__self__, "extra_envs", extra_envs) - if fail_swap_on is not None: - pulumi.set(__self__, "fail_swap_on", fail_swap_on) - if generate_serving_certificate is not None: - pulumi.set(__self__, "generate_serving_certificate", generate_serving_certificate) - if image is not None: - pulumi.set(__self__, "image", image) - if infra_container_image is not None: - pulumi.set(__self__, "infra_container_image", infra_container_image) + @kube_controller.setter + def kube_controller(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeControllerArgs']]): + pulumi.set(self, "kube_controller", value) @property - @pulumi.getter(name="clusterDnsServer") - def cluster_dns_server(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def kubelet(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeletArgs']]: """ - Cluster DNS Server option for kubelet service (string) + Kubelet options for RKE services (list maxitems:1) """ - return pulumi.get(self, "cluster_dns_server") + return pulumi.get(self, "kubelet") - @cluster_dns_server.setter - def cluster_dns_server(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_dns_server", value) + @kubelet.setter + def kubelet(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeletArgs']]): + pulumi.set(self, "kubelet", value) @property - @pulumi.getter(name="clusterDomain") - def cluster_domain(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def kubeproxy(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeproxyArgs']]: """ - Cluster Domain option for kubelet service (string) + Kubeproxy options for RKE services (list maxitems:1) """ - return pulumi.get(self, "cluster_domain") + return pulumi.get(self, "kubeproxy") - @cluster_domain.setter - def cluster_domain(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_domain", value) + @kubeproxy.setter + def kubeproxy(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeproxyArgs']]): + pulumi.set(self, "kubeproxy", value) @property - @pulumi.getter(name="extraArgs") - def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + @pulumi.getter + def scheduler(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesSchedulerArgs']]: """ - Extra arguments for scheduler service (map) + Scheduler options for RKE services (list maxitems:1) """ - return pulumi.get(self, "extra_args") + return pulumi.get(self, "scheduler") - @extra_args.setter - def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "extra_args", value) + @scheduler.setter + def scheduler(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesSchedulerArgs']]): + pulumi.set(self, "scheduler", value) - @property - @pulumi.getter(name="extraBinds") - def extra_binds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + +@pulumi.input_type +class ClusterRkeConfigServicesEtcdArgs: + def __init__(__self__, *, + backup_config: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigArgs']] = None, + ca_cert: Optional[pulumi.Input[str]] = None, + cert: Optional[pulumi.Input[str]] = None, + creation: Optional[pulumi.Input[str]] = None, + external_urls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, + extra_binds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + extra_envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + gid: Optional[pulumi.Input[int]] = None, + image: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + retention: Optional[pulumi.Input[str]] = None, + snapshot: Optional[pulumi.Input[bool]] = None, + uid: Optional[pulumi.Input[int]] = None): """ - Extra binds for scheduler service (list) + :param pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigArgs'] backup_config: Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) + :param pulumi.Input[str] ca_cert: TLS CA certificate for etcd service (string) + :param pulumi.Input[str] cert: TLS certificate for etcd service (string) + :param pulumi.Input[str] creation: Creation option for etcd service (string) + :param pulumi.Input[Sequence[pulumi.Input[str]]] external_urls: External urls for etcd service (list) + :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) + :param pulumi.Input[int] gid: Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) + :param pulumi.Input[str] image: Docker image for scheduler service (string) + :param pulumi.Input[str] key: The GKE taint key (string) + :param pulumi.Input[str] path: (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) + :param pulumi.Input[str] retention: Retention for etcd backup. Default `6` (int) + :param pulumi.Input[bool] snapshot: Snapshot option for etcd service (bool) + :param pulumi.Input[int] uid: Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) """ - return pulumi.get(self, "extra_binds") - - @extra_binds.setter - def extra_binds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "extra_binds", value) + if backup_config is not None: + pulumi.set(__self__, "backup_config", backup_config) + if ca_cert is not None: + pulumi.set(__self__, "ca_cert", ca_cert) + if cert is not None: + pulumi.set(__self__, "cert", cert) + if creation is not None: + pulumi.set(__self__, "creation", creation) + if external_urls is not None: + pulumi.set(__self__, "external_urls", external_urls) + if extra_args is not None: + pulumi.set(__self__, "extra_args", extra_args) + if extra_binds is not None: + pulumi.set(__self__, "extra_binds", extra_binds) + if extra_envs is not None: + pulumi.set(__self__, "extra_envs", extra_envs) + if gid is not None: + pulumi.set(__self__, "gid", gid) + if image is not None: + pulumi.set(__self__, "image", image) + if key is not None: + pulumi.set(__self__, "key", key) + if path is not None: + pulumi.set(__self__, "path", path) + if retention is not None: + pulumi.set(__self__, "retention", retention) + if snapshot is not None: + pulumi.set(__self__, "snapshot", snapshot) + if uid is not None: + pulumi.set(__self__, "uid", uid) @property - @pulumi.getter(name="extraEnvs") - def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="backupConfig") + def backup_config(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigArgs']]: """ - Extra environment for scheduler service (list) + Backup options for etcd service. Just for Rancher v2.2.x (list maxitems:1) """ - return pulumi.get(self, "extra_envs") + return pulumi.get(self, "backup_config") - @extra_envs.setter - def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "extra_envs", value) + @backup_config.setter + def backup_config(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigArgs']]): + pulumi.set(self, "backup_config", value) @property - @pulumi.getter(name="failSwapOn") - def fail_swap_on(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="caCert") + def ca_cert(self) -> Optional[pulumi.Input[str]]: """ - Enable or disable failing when swap on is not supported (bool) + TLS CA certificate for etcd service (string) """ - return pulumi.get(self, "fail_swap_on") + return pulumi.get(self, "ca_cert") - @fail_swap_on.setter - def fail_swap_on(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "fail_swap_on", value) + @ca_cert.setter + def ca_cert(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ca_cert", value) @property - @pulumi.getter(name="generateServingCertificate") - def generate_serving_certificate(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter + def cert(self) -> Optional[pulumi.Input[str]]: """ - [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) + TLS certificate for etcd service (string) """ - return pulumi.get(self, "generate_serving_certificate") + return pulumi.get(self, "cert") - @generate_serving_certificate.setter - def generate_serving_certificate(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "generate_serving_certificate", value) + @cert.setter + def cert(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cert", value) @property @pulumi.getter - def image(self) -> Optional[pulumi.Input[str]]: + def creation(self) -> Optional[pulumi.Input[str]]: """ - Docker image for scheduler service (string) + Creation option for etcd service (string) """ - return pulumi.get(self, "image") + return pulumi.get(self, "creation") - @image.setter - def image(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image", value) + @creation.setter + def creation(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "creation", value) @property - @pulumi.getter(name="infraContainerImage") - def infra_container_image(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="externalUrls") + def external_urls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Infra container image for kubelet service (string) + External urls for etcd service (list) """ - return pulumi.get(self, "infra_container_image") - - @infra_container_image.setter - def infra_container_image(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "infra_container_image", value) - + return pulumi.get(self, "external_urls") -@pulumi.input_type -class ClusterRkeConfigServicesKubeproxyArgs: - def __init__(__self__, *, - extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, - 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): - """ - :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) - :param pulumi.Input[str] image: Docker image for scheduler service (string) - """ - if extra_args is not None: - pulumi.set(__self__, "extra_args", extra_args) - if extra_binds is not None: - pulumi.set(__self__, "extra_binds", extra_binds) - if extra_envs is not None: - pulumi.set(__self__, "extra_envs", extra_envs) - if image is not None: - pulumi.set(__self__, "image", image) + @external_urls.setter + def external_urls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "external_urls", value) @property @pulumi.getter(name="extraArgs") @@ -12958,6 +13113,18 @@ def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "extra_envs", value) + @property + @pulumi.getter + def gid(self) -> Optional[pulumi.Input[int]]: + """ + Etcd service GID. Default: `0`. For Rancher v2.3.x or above (int) + """ + return pulumi.get(self, "gid") + + @gid.setter + def gid(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "gid", value) + @property @pulumi.getter def image(self) -> Optional[pulumi.Input[str]]: @@ -12970,222 +13137,156 @@ def image(self) -> Optional[pulumi.Input[str]]: def image(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "image", value) - -@pulumi.input_type -class ClusterRkeConfigServicesSchedulerArgs: - def __init__(__self__, *, - extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, - 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): - """ - :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) - :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) - :param pulumi.Input[str] image: Docker image for scheduler service (string) - """ - if extra_args is not None: - pulumi.set(__self__, "extra_args", extra_args) - if extra_binds is not None: - pulumi.set(__self__, "extra_binds", extra_binds) - if extra_envs is not None: - pulumi.set(__self__, "extra_envs", extra_envs) - if image is not None: - pulumi.set(__self__, "image", image) - - @property - @pulumi.getter(name="extraArgs") - def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - """ - Extra arguments for scheduler service (map) - """ - return pulumi.get(self, "extra_args") - - @extra_args.setter - def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "extra_args", value) - - @property - @pulumi.getter(name="extraBinds") - def extra_binds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Extra binds for scheduler service (list) - """ - return pulumi.get(self, "extra_binds") - - @extra_binds.setter - def extra_binds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "extra_binds", value) - - @property - @pulumi.getter(name="extraEnvs") - def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - Extra environment for scheduler service (list) - """ - return pulumi.get(self, "extra_envs") - - @extra_envs.setter - def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "extra_envs", value) - @property @pulumi.getter - def image(self) -> Optional[pulumi.Input[str]]: + def key(self) -> Optional[pulumi.Input[str]]: """ - Docker image for scheduler service (string) + The GKE taint key (string) """ - return pulumi.get(self, "image") - - @image.setter - def image(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "image", value) - + return pulumi.get(self, "key") -@pulumi.input_type -class ClusterRkeConfigUpgradeStrategyArgs: - def __init__(__self__, *, - drain: Optional[pulumi.Input[bool]] = None, - drain_input: Optional[pulumi.Input['ClusterRkeConfigUpgradeStrategyDrainInputArgs']] = None, - max_unavailable_controlplane: Optional[pulumi.Input[str]] = None, - max_unavailable_worker: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[bool] drain: RKE drain nodes. Default: `false` (bool) - :param pulumi.Input['ClusterRkeConfigUpgradeStrategyDrainInputArgs'] drain_input: RKE drain node input (list Maxitems: 1) - :param pulumi.Input[str] max_unavailable_controlplane: RKE max unavailable controlplane nodes. Default: `1` (string) - :param pulumi.Input[str] max_unavailable_worker: RKE max unavailable worker nodes. Default: `10%` (string) - """ - if drain is not None: - pulumi.set(__self__, "drain", drain) - if drain_input is not None: - pulumi.set(__self__, "drain_input", drain_input) - if max_unavailable_controlplane is not None: - pulumi.set(__self__, "max_unavailable_controlplane", max_unavailable_controlplane) - if max_unavailable_worker is not None: - pulumi.set(__self__, "max_unavailable_worker", max_unavailable_worker) + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) @property @pulumi.getter - def drain(self) -> Optional[pulumi.Input[bool]]: + def path(self) -> Optional[pulumi.Input[str]]: """ - RKE drain nodes. Default: `false` (bool) + (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) """ - return pulumi.get(self, "drain") + return pulumi.get(self, "path") - @drain.setter - def drain(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "drain", value) + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) @property - @pulumi.getter(name="drainInput") - def drain_input(self) -> Optional[pulumi.Input['ClusterRkeConfigUpgradeStrategyDrainInputArgs']]: + @pulumi.getter + def retention(self) -> Optional[pulumi.Input[str]]: """ - RKE drain node input (list Maxitems: 1) + Retention for etcd backup. Default `6` (int) """ - return pulumi.get(self, "drain_input") + return pulumi.get(self, "retention") - @drain_input.setter - def drain_input(self, value: Optional[pulumi.Input['ClusterRkeConfigUpgradeStrategyDrainInputArgs']]): - pulumi.set(self, "drain_input", value) + @retention.setter + def retention(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "retention", value) @property - @pulumi.getter(name="maxUnavailableControlplane") - def max_unavailable_controlplane(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def snapshot(self) -> Optional[pulumi.Input[bool]]: """ - RKE max unavailable controlplane nodes. Default: `1` (string) + Snapshot option for etcd service (bool) """ - return pulumi.get(self, "max_unavailable_controlplane") + return pulumi.get(self, "snapshot") - @max_unavailable_controlplane.setter - def max_unavailable_controlplane(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "max_unavailable_controlplane", value) + @snapshot.setter + def snapshot(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "snapshot", value) @property - @pulumi.getter(name="maxUnavailableWorker") - def max_unavailable_worker(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def uid(self) -> Optional[pulumi.Input[int]]: """ - RKE max unavailable worker nodes. Default: `10%` (string) + Etcd service UID. Default: `0`. For Rancher v2.3.x or above (int) """ - return pulumi.get(self, "max_unavailable_worker") + return pulumi.get(self, "uid") - @max_unavailable_worker.setter - def max_unavailable_worker(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "max_unavailable_worker", value) + @uid.setter + def uid(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "uid", value) @pulumi.input_type -class ClusterRkeConfigUpgradeStrategyDrainInputArgs: +class ClusterRkeConfigServicesEtcdBackupConfigArgs: def __init__(__self__, *, - delete_local_data: Optional[pulumi.Input[bool]] = None, - force: Optional[pulumi.Input[bool]] = None, - grace_period: Optional[pulumi.Input[int]] = None, - ignore_daemon_sets: Optional[pulumi.Input[bool]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + interval_hours: Optional[pulumi.Input[int]] = None, + retention: Optional[pulumi.Input[int]] = None, + s3_backup_config: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs']] = None, + safe_timestamp: Optional[pulumi.Input[bool]] = None, timeout: Optional[pulumi.Input[int]] = None): """ - :param pulumi.Input[bool] delete_local_data: Delete RKE node local data. Default: `false` (bool) - :param pulumi.Input[bool] force: Force RKE node drain. Default: `false` (bool) - :param pulumi.Input[int] grace_period: RKE node drain grace period. Default: `-1` (int) - :param pulumi.Input[bool] ignore_daemon_sets: Ignore RKE daemon sets. Default: `true` (bool) + :param pulumi.Input[bool] enabled: Enable scheduled cluster scan. Default: `false` (bool) + :param pulumi.Input[int] interval_hours: Interval hours for etcd backup. Default `12` (int) + :param pulumi.Input[int] retention: Retention for etcd backup. Default `6` (int) + :param pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs'] s3_backup_config: S3 config options for etcd backup (list maxitems:1) + :param pulumi.Input[bool] safe_timestamp: Safe timestamp for etcd backup. Default: `false` (bool) :param pulumi.Input[int] timeout: RKE node drain timeout. Default: `60` (int) """ - if delete_local_data is not None: - pulumi.set(__self__, "delete_local_data", delete_local_data) - if force is not None: - pulumi.set(__self__, "force", force) - if grace_period is not None: - pulumi.set(__self__, "grace_period", grace_period) - if ignore_daemon_sets is not None: - pulumi.set(__self__, "ignore_daemon_sets", ignore_daemon_sets) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if interval_hours is not None: + pulumi.set(__self__, "interval_hours", interval_hours) + if retention is not None: + pulumi.set(__self__, "retention", retention) + if s3_backup_config is not None: + pulumi.set(__self__, "s3_backup_config", s3_backup_config) + if safe_timestamp is not None: + pulumi.set(__self__, "safe_timestamp", safe_timestamp) if timeout is not None: pulumi.set(__self__, "timeout", timeout) @property - @pulumi.getter(name="deleteLocalData") - def delete_local_data(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: """ - Delete RKE node local data. Default: `false` (bool) + Enable scheduled cluster scan. Default: `false` (bool) """ - return pulumi.get(self, "delete_local_data") + return pulumi.get(self, "enabled") - @delete_local_data.setter - def delete_local_data(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_local_data", value) + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="intervalHours") + def interval_hours(self) -> Optional[pulumi.Input[int]]: + """ + Interval hours for etcd backup. Default `12` (int) + """ + return pulumi.get(self, "interval_hours") + + @interval_hours.setter + def interval_hours(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "interval_hours", value) @property @pulumi.getter - def force(self) -> Optional[pulumi.Input[bool]]: + def retention(self) -> Optional[pulumi.Input[int]]: """ - Force RKE node drain. Default: `false` (bool) + Retention for etcd backup. Default `6` (int) """ - return pulumi.get(self, "force") + return pulumi.get(self, "retention") - @force.setter - def force(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "force", value) + @retention.setter + def retention(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "retention", value) @property - @pulumi.getter(name="gracePeriod") - def grace_period(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="s3BackupConfig") + def s3_backup_config(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs']]: """ - RKE node drain grace period. Default: `-1` (int) + S3 config options for etcd backup (list maxitems:1) """ - return pulumi.get(self, "grace_period") + return pulumi.get(self, "s3_backup_config") - @grace_period.setter - def grace_period(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "grace_period", value) + @s3_backup_config.setter + def s3_backup_config(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs']]): + pulumi.set(self, "s3_backup_config", value) @property - @pulumi.getter(name="ignoreDaemonSets") - def ignore_daemon_sets(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="safeTimestamp") + def safe_timestamp(self) -> Optional[pulumi.Input[bool]]: """ - Ignore RKE daemon sets. Default: `true` (bool) + Safe timestamp for etcd backup. Default: `false` (bool) """ - return pulumi.get(self, "ignore_daemon_sets") + return pulumi.get(self, "safe_timestamp") - @ignore_daemon_sets.setter - def ignore_daemon_sets(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "ignore_daemon_sets", value) + @safe_timestamp.setter + def safe_timestamp(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "safe_timestamp", value) @property @pulumi.getter @@ -13201,950 +13302,2040 @@ def timeout(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type -class ClusterScheduledClusterScanArgs: +class ClusterRkeConfigServicesEtcdBackupConfigS3BackupConfigArgs: def __init__(__self__, *, - scan_config: pulumi.Input['ClusterScheduledClusterScanScanConfigArgs'], - schedule_config: pulumi.Input['ClusterScheduledClusterScanScheduleConfigArgs'], - enabled: Optional[pulumi.Input[bool]] = None): - """ - :param pulumi.Input['ClusterScheduledClusterScanScanConfigArgs'] scan_config: Cluster scan config (List maxitems:1) - :param pulumi.Input['ClusterScheduledClusterScanScheduleConfigArgs'] schedule_config: Cluster scan schedule config (list maxitems:1) - :param pulumi.Input[bool] enabled: Enable scheduled cluster scan. Default: `false` (bool) + bucket_name: pulumi.Input[str], + endpoint: pulumi.Input[str], + access_key: Optional[pulumi.Input[str]] = None, + custom_ca: Optional[pulumi.Input[str]] = None, + folder: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + secret_key: Optional[pulumi.Input[str]] = None): """ - pulumi.set(__self__, "scan_config", scan_config) - pulumi.set(__self__, "schedule_config", schedule_config) - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + :param pulumi.Input[str] bucket_name: Bucket name for S3 service (string) + :param pulumi.Input[str] endpoint: Endpoint for S3 service (string) + :param pulumi.Input[str] access_key: The AWS Client ID to use (string) + :param pulumi.Input[str] custom_ca: Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) + :param pulumi.Input[str] folder: Folder for S3 service. Available from Rancher v2.2.7 (string) + :param pulumi.Input[str] region: The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) + :param pulumi.Input[str] secret_key: The AWS Client Secret associated with the Client ID (string) + """ + pulumi.set(__self__, "bucket_name", bucket_name) + pulumi.set(__self__, "endpoint", endpoint) + if access_key is not None: + pulumi.set(__self__, "access_key", access_key) + if custom_ca is not None: + pulumi.set(__self__, "custom_ca", custom_ca) + if folder is not None: + pulumi.set(__self__, "folder", folder) + if region is not None: + pulumi.set(__self__, "region", region) + if secret_key is not None: + pulumi.set(__self__, "secret_key", secret_key) @property - @pulumi.getter(name="scanConfig") - def scan_config(self) -> pulumi.Input['ClusterScheduledClusterScanScanConfigArgs']: + @pulumi.getter(name="bucketName") + def bucket_name(self) -> pulumi.Input[str]: """ - Cluster scan config (List maxitems:1) + Bucket name for S3 service (string) """ - return pulumi.get(self, "scan_config") + return pulumi.get(self, "bucket_name") - @scan_config.setter - def scan_config(self, value: pulumi.Input['ClusterScheduledClusterScanScanConfigArgs']): - pulumi.set(self, "scan_config", value) + @bucket_name.setter + def bucket_name(self, value: pulumi.Input[str]): + pulumi.set(self, "bucket_name", value) @property - @pulumi.getter(name="scheduleConfig") - def schedule_config(self) -> pulumi.Input['ClusterScheduledClusterScanScheduleConfigArgs']: + @pulumi.getter + def endpoint(self) -> pulumi.Input[str]: """ - Cluster scan schedule config (list maxitems:1) + Endpoint for S3 service (string) """ - return pulumi.get(self, "schedule_config") + return pulumi.get(self, "endpoint") - @schedule_config.setter - def schedule_config(self, value: pulumi.Input['ClusterScheduledClusterScanScheduleConfigArgs']): - pulumi.set(self, "schedule_config", value) + @endpoint.setter + def endpoint(self, value: pulumi.Input[str]): + pulumi.set(self, "endpoint", value) @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="accessKey") + def access_key(self) -> Optional[pulumi.Input[str]]: """ - Enable scheduled cluster scan. Default: `false` (bool) + The AWS Client ID to use (string) """ - return pulumi.get(self, "enabled") + return pulumi.get(self, "access_key") - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + @access_key.setter + def access_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "access_key", value) + + @property + @pulumi.getter(name="customCa") + def custom_ca(self) -> Optional[pulumi.Input[str]]: + """ + Base64 encoded custom CA for S3 service. Use filebase64() for encoding file. Available from Rancher v2.2.5 (string) + """ + return pulumi.get(self, "custom_ca") + @custom_ca.setter + def custom_ca(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_ca", value) -@pulumi.input_type -class ClusterScheduledClusterScanScanConfigArgs: - def __init__(__self__, *, - cis_scan_config: Optional[pulumi.Input['ClusterScheduledClusterScanScanConfigCisScanConfigArgs']] = None): + @property + @pulumi.getter + def folder(self) -> Optional[pulumi.Input[str]]: """ - :param pulumi.Input['ClusterScheduledClusterScanScanConfigCisScanConfigArgs'] cis_scan_config: Cluster Cis Scan config (List maxitems:1) + Folder for S3 service. Available from Rancher v2.2.7 (string) """ - if cis_scan_config is not None: - pulumi.set(__self__, "cis_scan_config", cis_scan_config) + return pulumi.get(self, "folder") + + @folder.setter + def folder(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "folder", value) @property - @pulumi.getter(name="cisScanConfig") - def cis_scan_config(self) -> Optional[pulumi.Input['ClusterScheduledClusterScanScanConfigCisScanConfigArgs']]: + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: """ - Cluster Cis Scan config (List maxitems:1) + The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string) """ - return pulumi.get(self, "cis_scan_config") + return pulumi.get(self, "region") - @cis_scan_config.setter - def cis_scan_config(self, value: Optional[pulumi.Input['ClusterScheduledClusterScanScanConfigCisScanConfigArgs']]): - pulumi.set(self, "cis_scan_config", value) + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) + + @property + @pulumi.getter(name="secretKey") + def secret_key(self) -> Optional[pulumi.Input[str]]: + """ + The AWS Client Secret associated with the Client ID (string) + """ + return pulumi.get(self, "secret_key") + + @secret_key.setter + def secret_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secret_key", value) @pulumi.input_type -class ClusterScheduledClusterScanScanConfigCisScanConfigArgs: +class ClusterRkeConfigServicesKubeApiArgs: def __init__(__self__, *, - debug_master: Optional[pulumi.Input[bool]] = None, - debug_worker: Optional[pulumi.Input[bool]] = None, - override_benchmark_version: Optional[pulumi.Input[str]] = None, - override_skips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - profile: Optional[pulumi.Input[str]] = None): + admission_configuration: Optional[pulumi.Input[Mapping[str, Any]]] = None, + always_pull_images: Optional[pulumi.Input[bool]] = None, + audit_log: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogArgs']] = None, + event_rate_limit: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiEventRateLimitArgs']] = None, + extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, + 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, + pod_security_policy: Optional[pulumi.Input[bool]] = None, + 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): """ - :param pulumi.Input[bool] debug_master: Debug master. Default: `false` (bool) - :param pulumi.Input[bool] debug_worker: Debug worker. Default: `false` (bool) - :param pulumi.Input[str] override_benchmark_version: Override benchmark version (string) - :param pulumi.Input[Sequence[pulumi.Input[str]]] override_skips: Override skip (string) - :param pulumi.Input[str] profile: Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) + :param pulumi.Input[Mapping[str, Any]] admission_configuration: Admission configuration (map) + :param pulumi.Input[bool] always_pull_images: Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) + :param pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogArgs'] audit_log: K8s audit log configuration. (list maxitems: 1) + :param pulumi.Input['ClusterRkeConfigServicesKubeApiEventRateLimitArgs'] event_rate_limit: K8s event rate limit configuration. (list maxitems: 1) + :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) + :param pulumi.Input[str] image: Docker image for scheduler service (string) + :param pulumi.Input[bool] pod_security_policy: Pod Security Policy option for kube API service. Default `false` (bool) + :param pulumi.Input['ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs'] secrets_encryption_config: [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) + :param pulumi.Input[str] service_cluster_ip_range: Service Cluster ip Range option for kube controller service (string) + :param pulumi.Input[str] service_node_port_range: Service Node Port Range option for kube API service (string) """ - if debug_master is not None: - pulumi.set(__self__, "debug_master", debug_master) - if debug_worker is not None: - pulumi.set(__self__, "debug_worker", debug_worker) - if override_benchmark_version is not None: - pulumi.set(__self__, "override_benchmark_version", override_benchmark_version) - if override_skips is not None: - pulumi.set(__self__, "override_skips", override_skips) - if profile is not None: - pulumi.set(__self__, "profile", profile) + if admission_configuration is not None: + pulumi.set(__self__, "admission_configuration", admission_configuration) + if always_pull_images is not None: + pulumi.set(__self__, "always_pull_images", always_pull_images) + if audit_log is not None: + pulumi.set(__self__, "audit_log", audit_log) + if event_rate_limit is not None: + pulumi.set(__self__, "event_rate_limit", event_rate_limit) + if extra_args is not None: + pulumi.set(__self__, "extra_args", extra_args) + if extra_binds is not None: + pulumi.set(__self__, "extra_binds", extra_binds) + if extra_envs is not None: + pulumi.set(__self__, "extra_envs", extra_envs) + if image is not None: + pulumi.set(__self__, "image", image) + if pod_security_policy is not None: + pulumi.set(__self__, "pod_security_policy", pod_security_policy) + if secrets_encryption_config is not None: + pulumi.set(__self__, "secrets_encryption_config", secrets_encryption_config) + if service_cluster_ip_range is not None: + pulumi.set(__self__, "service_cluster_ip_range", service_cluster_ip_range) + if service_node_port_range is not None: + pulumi.set(__self__, "service_node_port_range", service_node_port_range) @property - @pulumi.getter(name="debugMaster") - def debug_master(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="admissionConfiguration") + def admission_configuration(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: """ - Debug master. Default: `false` (bool) + Admission configuration (map) """ - return pulumi.get(self, "debug_master") + return pulumi.get(self, "admission_configuration") - @debug_master.setter - def debug_master(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "debug_master", value) + @admission_configuration.setter + def admission_configuration(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "admission_configuration", value) @property - @pulumi.getter(name="debugWorker") - def debug_worker(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="alwaysPullImages") + def always_pull_images(self) -> Optional[pulumi.Input[bool]]: """ - Debug worker. Default: `false` (bool) + Enable [AlwaysPullImages](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) Admission controller plugin. [Rancher docs](https://rancher.com/docs/rke/latest/en/config-options/services/#kubernetes-api-server-options) Default: `false` (bool) """ - return pulumi.get(self, "debug_worker") + return pulumi.get(self, "always_pull_images") - @debug_worker.setter - def debug_worker(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "debug_worker", value) + @always_pull_images.setter + def always_pull_images(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "always_pull_images", value) @property - @pulumi.getter(name="overrideBenchmarkVersion") - def override_benchmark_version(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="auditLog") + def audit_log(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogArgs']]: """ - Override benchmark version (string) + K8s audit log configuration. (list maxitems: 1) """ - return pulumi.get(self, "override_benchmark_version") + return pulumi.get(self, "audit_log") - @override_benchmark_version.setter - def override_benchmark_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "override_benchmark_version", value) + @audit_log.setter + def audit_log(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogArgs']]): + pulumi.set(self, "audit_log", value) @property - @pulumi.getter(name="overrideSkips") - def override_skips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="eventRateLimit") + def event_rate_limit(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiEventRateLimitArgs']]: """ - Override skip (string) + K8s event rate limit configuration. (list maxitems: 1) """ - return pulumi.get(self, "override_skips") + return pulumi.get(self, "event_rate_limit") - @override_skips.setter - def override_skips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "override_skips", value) + @event_rate_limit.setter + def event_rate_limit(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiEventRateLimitArgs']]): + pulumi.set(self, "event_rate_limit", value) @property - @pulumi.getter - def profile(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="extraArgs") + def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: """ - Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) + Extra arguments for scheduler service (map) """ - return pulumi.get(self, "profile") - - @profile.setter - def profile(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "profile", value) - + return pulumi.get(self, "extra_args") -@pulumi.input_type -class ClusterScheduledClusterScanScheduleConfigArgs: - def __init__(__self__, *, - cron_schedule: pulumi.Input[str], - retention: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] cron_schedule: Crontab schedule. It should contains 5 fields `" "` (string) - :param pulumi.Input[int] retention: Retention for etcd backup. Default `6` (int) - """ - pulumi.set(__self__, "cron_schedule", cron_schedule) - if retention is not None: - pulumi.set(__self__, "retention", retention) + @extra_args.setter + def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "extra_args", value) @property - @pulumi.getter(name="cronSchedule") - def cron_schedule(self) -> pulumi.Input[str]: + @pulumi.getter(name="extraBinds") + def extra_binds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Crontab schedule. It should contains 5 fields `" "` (string) + Extra binds for scheduler service (list) """ - return pulumi.get(self, "cron_schedule") + return pulumi.get(self, "extra_binds") - @cron_schedule.setter - def cron_schedule(self, value: pulumi.Input[str]): - pulumi.set(self, "cron_schedule", value) + @extra_binds.setter + def extra_binds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_binds", value) @property - @pulumi.getter - def retention(self) -> Optional[pulumi.Input[int]]: + @pulumi.getter(name="extraEnvs") + def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Retention for etcd backup. Default `6` (int) + Extra environment for scheduler service (list) """ - return pulumi.get(self, "retention") - - @retention.setter - def retention(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "retention", value) - + return pulumi.get(self, "extra_envs") -@pulumi.input_type -class ClusterSyncNodeArgs: - def __init__(__self__, *, - annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None, - capacity: Optional[pulumi.Input[Mapping[str, Any]]] = None, - cluster_id: Optional[pulumi.Input[str]] = None, - external_ip_address: Optional[pulumi.Input[str]] = None, - hostname: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None, - ip_address: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, - name: Optional[pulumi.Input[str]] = None, - node_pool_id: Optional[pulumi.Input[str]] = None, - node_template_id: Optional[pulumi.Input[str]] = None, - provider_id: Optional[pulumi.Input[str]] = None, - requested_hostname: Optional[pulumi.Input[str]] = None, - 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): - """ - :param pulumi.Input[Mapping[str, Any]] annotations: Annotations of the node (map). - :param pulumi.Input[Mapping[str, Any]] capacity: The total resources of a node (map). - :param pulumi.Input[str] cluster_id: The Cluster ID of the node (string). - :param pulumi.Input[str] external_ip_address: The external IP address of the node (string). - :param pulumi.Input[str] hostname: The hostname of the node (string). - :param pulumi.Input[str] id: The ID of the node (string) - :param pulumi.Input[str] ip_address: The private IP address of the node (string). - :param pulumi.Input[Mapping[str, Any]] labels: Labels of the node (map). - :param pulumi.Input[str] name: The name of the node (string). - :param pulumi.Input[str] node_pool_id: The Node Pool ID of the node (string). - :param pulumi.Input[str] node_template_id: The Node Template ID of the node (string). - :param pulumi.Input[str] provider_id: The Provider ID of the node (string). - :param pulumi.Input[str] requested_hostname: The requested hostname (string). - :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Roles of the node. `controlplane`, `etcd` and `worker`. (list) - :param pulumi.Input[str] ssh_user: The user to connect to the node (string). - :param pulumi.Input[Mapping[str, Any]] system_info: General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name. - """ - if annotations is not None: - pulumi.set(__self__, "annotations", annotations) - if capacity is not None: - pulumi.set(__self__, "capacity", capacity) - if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) - if external_ip_address is not None: - pulumi.set(__self__, "external_ip_address", external_ip_address) - if hostname is not None: - pulumi.set(__self__, "hostname", hostname) - if id is not None: - pulumi.set(__self__, "id", id) - if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) - if labels is not None: - pulumi.set(__self__, "labels", labels) - if name is not None: - pulumi.set(__self__, "name", name) - if node_pool_id is not None: - pulumi.set(__self__, "node_pool_id", node_pool_id) - if node_template_id is not None: - pulumi.set(__self__, "node_template_id", node_template_id) - if provider_id is not None: - pulumi.set(__self__, "provider_id", provider_id) - if requested_hostname is not None: - pulumi.set(__self__, "requested_hostname", requested_hostname) - if roles is not None: - pulumi.set(__self__, "roles", roles) - if ssh_user is not None: - pulumi.set(__self__, "ssh_user", ssh_user) - if system_info is not None: - pulumi.set(__self__, "system_info", system_info) + @extra_envs.setter + def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_envs", value) @property @pulumi.getter - def annotations(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def image(self) -> Optional[pulumi.Input[str]]: """ - Annotations of the node (map). + Docker image for scheduler service (string) """ - return pulumi.get(self, "annotations") + return pulumi.get(self, "image") - @annotations.setter - def annotations(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "annotations", value) + @image.setter + def image(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image", value) @property - @pulumi.getter - def capacity(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + @pulumi.getter(name="podSecurityPolicy") + def pod_security_policy(self) -> Optional[pulumi.Input[bool]]: """ - The total resources of a node (map). + Pod Security Policy option for kube API service. Default `false` (bool) """ - return pulumi.get(self, "capacity") + return pulumi.get(self, "pod_security_policy") - @capacity.setter - def capacity(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "capacity", value) + @pod_security_policy.setter + def pod_security_policy(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "pod_security_policy", value) @property - @pulumi.getter(name="clusterId") - def cluster_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="secretsEncryptionConfig") + def secrets_encryption_config(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs']]: """ - The Cluster ID of the node (string). + [Encrypt k8s secret data configration](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/). (list maxitem: 1) """ - return pulumi.get(self, "cluster_id") + return pulumi.get(self, "secrets_encryption_config") - @cluster_id.setter - def cluster_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_id", value) + @secrets_encryption_config.setter + def secrets_encryption_config(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs']]): + pulumi.set(self, "secrets_encryption_config", value) @property - @pulumi.getter(name="externalIpAddress") - def external_ip_address(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="serviceClusterIpRange") + def service_cluster_ip_range(self) -> Optional[pulumi.Input[str]]: """ - The external IP address of the node (string). + Service Cluster ip Range option for kube controller service (string) """ - return pulumi.get(self, "external_ip_address") + return pulumi.get(self, "service_cluster_ip_range") - @external_ip_address.setter - def external_ip_address(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "external_ip_address", value) + @service_cluster_ip_range.setter + def service_cluster_ip_range(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_cluster_ip_range", value) @property - @pulumi.getter - def hostname(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="serviceNodePortRange") + def service_node_port_range(self) -> Optional[pulumi.Input[str]]: """ - The hostname of the node (string). + Service Node Port Range option for kube API service (string) """ - return pulumi.get(self, "hostname") - - @hostname.setter - def hostname(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "hostname", value) + return pulumi.get(self, "service_node_port_range") - @property - @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: - """ - The ID of the node (string) - """ - return pulumi.get(self, "id") + @service_node_port_range.setter + def service_node_port_range(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_node_port_range", value) - @id.setter - def id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "id", value) - @property - @pulumi.getter(name="ipAddress") - def ip_address(self) -> Optional[pulumi.Input[str]]: +@pulumi.input_type +class ClusterRkeConfigServicesKubeApiAuditLogArgs: + def __init__(__self__, *, + configuration: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs']] = None, + enabled: Optional[pulumi.Input[bool]] = None): """ - The private IP address of the node (string). + :param pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs'] configuration: Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: + :param pulumi.Input[bool] enabled: Enable scheduled cluster scan. Default: `false` (bool) """ - return pulumi.get(self, "ip_address") - - @ip_address.setter - def ip_address(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_address", value) + if configuration is not None: + pulumi.set(__self__, "configuration", configuration) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) @property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def configuration(self) -> Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs']]: """ - Labels of the node (map). + Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: """ - return pulumi.get(self, "labels") + return pulumi.get(self, "configuration") - @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "labels", value) + @configuration.setter + def configuration(self, value: Optional[pulumi.Input['ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs']]): + pulumi.set(self, "configuration", value) @property @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: + def enabled(self) -> Optional[pulumi.Input[bool]]: """ - The name of the node (string). + Enable scheduled cluster scan. Default: `false` (bool) """ - return pulumi.get(self, "name") + return pulumi.get(self, "enabled") - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) - @property - @pulumi.getter(name="nodePoolId") - def node_pool_id(self) -> Optional[pulumi.Input[str]]: - """ - The Node Pool ID of the node (string). - """ - return pulumi.get(self, "node_pool_id") - @node_pool_id.setter - def node_pool_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "node_pool_id", value) +@pulumi.input_type +class ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs: + def __init__(__self__, *, + format: Optional[pulumi.Input[str]] = None, + max_age: Optional[pulumi.Input[int]] = None, + max_backup: Optional[pulumi.Input[int]] = None, + max_size: Optional[pulumi.Input[int]] = None, + path: Optional[pulumi.Input[str]] = None, + policy: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] format: Audit log format. Default: 'json' (string) + :param pulumi.Input[int] max_age: Audit log max age. Default: `30` (int) + :param pulumi.Input[int] max_backup: Audit log max backup. Default: `10` (int) + :param pulumi.Input[int] max_size: The EKS node group maximum size. Default `2` (int) + :param pulumi.Input[str] path: (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) + :param pulumi.Input[str] policy: Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: + """ + if format is not None: + pulumi.set(__self__, "format", format) + if max_age is not None: + pulumi.set(__self__, "max_age", max_age) + if max_backup is not None: + pulumi.set(__self__, "max_backup", max_backup) + if max_size is not None: + pulumi.set(__self__, "max_size", max_size) + if path is not None: + pulumi.set(__self__, "path", path) + if policy is not None: + pulumi.set(__self__, "policy", policy) @property - @pulumi.getter(name="nodeTemplateId") - def node_template_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def format(self) -> Optional[pulumi.Input[str]]: """ - The Node Template ID of the node (string). + Audit log format. Default: 'json' (string) """ - return pulumi.get(self, "node_template_id") + return pulumi.get(self, "format") - @node_template_id.setter - def node_template_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "node_template_id", value) + @format.setter + def format(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "format", value) @property - @pulumi.getter(name="providerId") - def provider_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="maxAge") + def max_age(self) -> Optional[pulumi.Input[int]]: """ - The Provider ID of the node (string). + Audit log max age. Default: `30` (int) """ - return pulumi.get(self, "provider_id") + return pulumi.get(self, "max_age") - @provider_id.setter - def provider_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "provider_id", value) + @max_age.setter + def max_age(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_age", value) @property - @pulumi.getter(name="requestedHostname") - def requested_hostname(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="maxBackup") + def max_backup(self) -> Optional[pulumi.Input[int]]: """ - The requested hostname (string). + Audit log max backup. Default: `10` (int) """ - return pulumi.get(self, "requested_hostname") + return pulumi.get(self, "max_backup") - @requested_hostname.setter - def requested_hostname(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "requested_hostname", value) + @max_backup.setter + def max_backup(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_backup", value) @property - @pulumi.getter - def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="maxSize") + def max_size(self) -> Optional[pulumi.Input[int]]: """ - Roles of the node. `controlplane`, `etcd` and `worker`. (list) + The EKS node group maximum size. Default `2` (int) """ - return pulumi.get(self, "roles") + return pulumi.get(self, "max_size") - @roles.setter - def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "roles", value) + @max_size.setter + def max_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_size", value) @property - @pulumi.getter(name="sshUser") - def ssh_user(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: """ - The user to connect to the node (string). + (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) """ - return pulumi.get(self, "ssh_user") + return pulumi.get(self, "path") - @ssh_user.setter - def ssh_user(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ssh_user", value) + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) @property - @pulumi.getter(name="systemInfo") - def system_info(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + @pulumi.getter + def policy(self) -> Optional[pulumi.Input[str]]: """ - General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name. + Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: """ - return pulumi.get(self, "system_info") + return pulumi.get(self, "policy") - @system_info.setter - def system_info(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "system_info", value) + @policy.setter + def policy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "policy", value) @pulumi.input_type -class ClusterTemplateMemberArgs: +class ClusterRkeConfigServicesKubeApiEventRateLimitArgs: def __init__(__self__, *, - access_type: Optional[pulumi.Input[str]] = None, - group_principal_id: Optional[pulumi.Input[str]] = None, - user_principal_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] access_type: Member access type. Valid values: `["read-only" | "owner"]` (string) - :param pulumi.Input[str] group_principal_id: Member group principal id (string) - :param pulumi.Input[str] user_principal_id: Member user principal id (string) - """ - if access_type is not None: - pulumi.set(__self__, "access_type", access_type) - if group_principal_id is not None: - pulumi.set(__self__, "group_principal_id", group_principal_id) - if user_principal_id is not None: - pulumi.set(__self__, "user_principal_id", user_principal_id) - - @property - @pulumi.getter(name="accessType") - def access_type(self) -> Optional[pulumi.Input[str]]: + configuration: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None): """ - Member access type. Valid values: `["read-only" | "owner"]` (string) + :param pulumi.Input[str] configuration: Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: + :param pulumi.Input[bool] enabled: Enable scheduled cluster scan. Default: `false` (bool) """ - return pulumi.get(self, "access_type") - - @access_type.setter - def access_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "access_type", value) + if configuration is not None: + pulumi.set(__self__, "configuration", configuration) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) @property - @pulumi.getter(name="groupPrincipalId") - def group_principal_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def configuration(self) -> Optional[pulumi.Input[str]]: """ - Member group principal id (string) + Event rate limit configuration yaml encoded definition. `apiVersion` and `kind: Configuration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/rate-limiting/) (string) Ex: """ - return pulumi.get(self, "group_principal_id") + return pulumi.get(self, "configuration") - @group_principal_id.setter - def group_principal_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "group_principal_id", value) + @configuration.setter + def configuration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "configuration", value) @property - @pulumi.getter(name="userPrincipalId") - def user_principal_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: """ - Member user principal id (string) + Enable scheduled cluster scan. Default: `false` (bool) """ - return pulumi.get(self, "user_principal_id") + return pulumi.get(self, "enabled") - @user_principal_id.setter - def user_principal_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user_principal_id", value) + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionArgs: +class ClusterRkeConfigServicesKubeApiSecretsEncryptionConfigArgs: def __init__(__self__, *, - cluster_config: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigArgs'], - name: pulumi.Input[str], - annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None, - cluster_template_id: Optional[pulumi.Input[str]] = None, - default: Optional[pulumi.Input[bool]] = None, - enabled: Optional[pulumi.Input[bool]] = None, - id: Optional[pulumi.Input[str]] = None, - labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, - questions: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionQuestionArgs']]]] = None): + custom_config: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None): """ - :param pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigArgs'] cluster_config: Cluster configuration (list maxitem: 1) - :param pulumi.Input[str] name: The cluster template revision name (string) - :param pulumi.Input[Mapping[str, Any]] annotations: Annotations for the cluster template revision (map) - :param pulumi.Input[str] cluster_template_id: Cluster template ID (string) - :param pulumi.Input[bool] default: Default variable value (string) - :param pulumi.Input[bool] enabled: Enable cluster template revision. Default `true` (bool) - :param pulumi.Input[str] id: The cluster template revision ID (string) - :param pulumi.Input[Mapping[str, Any]] labels: Labels for the cluster template revision (map) - :param pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionQuestionArgs']]] questions: Cluster template questions (list) + :param pulumi.Input[str] custom_config: Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: + :param pulumi.Input[bool] enabled: Enable scheduled cluster scan. Default: `false` (bool) """ - pulumi.set(__self__, "cluster_config", cluster_config) - pulumi.set(__self__, "name", name) - if annotations is not None: - pulumi.set(__self__, "annotations", annotations) - if cluster_template_id is not None: - pulumi.set(__self__, "cluster_template_id", cluster_template_id) - if default is not None: - pulumi.set(__self__, "default", default) + if custom_config is not None: + pulumi.set(__self__, "custom_config", custom_config) if enabled is not None: pulumi.set(__self__, "enabled", enabled) - if id is not None: - pulumi.set(__self__, "id", id) - if labels is not None: - pulumi.set(__self__, "labels", labels) - if questions is not None: - pulumi.set(__self__, "questions", questions) @property - @pulumi.getter(name="clusterConfig") - def cluster_config(self) -> pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigArgs']: + @pulumi.getter(name="customConfig") + def custom_config(self) -> Optional[pulumi.Input[str]]: """ - Cluster configuration (list maxitem: 1) + Secrets encryption yaml encoded custom configuration. `"apiVersion"` and `"kind":"EncryptionConfiguration"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/secrets-encryption/) (string) Ex: """ - return pulumi.get(self, "cluster_config") + return pulumi.get(self, "custom_config") - @cluster_config.setter - def cluster_config(self, value: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigArgs']): - pulumi.set(self, "cluster_config", value) + @custom_config.setter + def custom_config(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_config", value) @property @pulumi.getter - def name(self) -> pulumi.Input[str]: + def enabled(self) -> Optional[pulumi.Input[bool]]: """ - The cluster template revision name (string) + Enable scheduled cluster scan. Default: `false` (bool) """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + return pulumi.get(self, "enabled") - @property - @pulumi.getter - def annotations(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - """ - Annotations for the cluster template revision (map) - """ - return pulumi.get(self, "annotations") + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) - @annotations.setter - def annotations(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "annotations", value) - @property - @pulumi.getter(name="clusterTemplateId") - def cluster_template_id(self) -> Optional[pulumi.Input[str]]: +@pulumi.input_type +class ClusterRkeConfigServicesKubeControllerArgs: + def __init__(__self__, *, + cluster_cidr: Optional[pulumi.Input[str]] = None, + extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, + 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, + service_cluster_ip_range: Optional[pulumi.Input[str]] = None): """ - Cluster template ID (string) + :param pulumi.Input[str] cluster_cidr: Cluster CIDR option for kube controller service (string) + :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) + :param pulumi.Input[str] image: Docker image for scheduler service (string) + :param pulumi.Input[str] service_cluster_ip_range: Service Cluster ip Range option for kube controller service (string) """ - return pulumi.get(self, "cluster_template_id") + if cluster_cidr is not None: + pulumi.set(__self__, "cluster_cidr", cluster_cidr) + if extra_args is not None: + pulumi.set(__self__, "extra_args", extra_args) + if extra_binds is not None: + pulumi.set(__self__, "extra_binds", extra_binds) + if extra_envs is not None: + pulumi.set(__self__, "extra_envs", extra_envs) + if image is not None: + pulumi.set(__self__, "image", image) + if service_cluster_ip_range is not None: + pulumi.set(__self__, "service_cluster_ip_range", service_cluster_ip_range) - @cluster_template_id.setter - def cluster_template_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_template_id", value) + @property + @pulumi.getter(name="clusterCidr") + def cluster_cidr(self) -> Optional[pulumi.Input[str]]: + """ + Cluster CIDR option for kube controller service (string) + """ + return pulumi.get(self, "cluster_cidr") + + @cluster_cidr.setter + def cluster_cidr(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_cidr", value) @property - @pulumi.getter - def default(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="extraArgs") + def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: """ - Default variable value (string) + Extra arguments for scheduler service (map) """ - return pulumi.get(self, "default") + return pulumi.get(self, "extra_args") - @default.setter - def default(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "default", value) + @extra_args.setter + def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "extra_args", value) @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="extraBinds") + def extra_binds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Enable cluster template revision. Default `true` (bool) + Extra binds for scheduler service (list) """ - return pulumi.get(self, "enabled") + return pulumi.get(self, "extra_binds") - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + @extra_binds.setter + def extra_binds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_binds", value) @property - @pulumi.getter - def id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="extraEnvs") + def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - The cluster template revision ID (string) + Extra environment for scheduler service (list) """ - return pulumi.get(self, "id") + return pulumi.get(self, "extra_envs") - @id.setter - def id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "id", value) + @extra_envs.setter + def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_envs", value) @property @pulumi.getter - def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def image(self) -> Optional[pulumi.Input[str]]: """ - Labels for the cluster template revision (map) + Docker image for scheduler service (string) """ - return pulumi.get(self, "labels") + return pulumi.get(self, "image") - @labels.setter - def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "labels", value) + @image.setter + def image(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image", value) @property - @pulumi.getter - def questions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionQuestionArgs']]]]: + @pulumi.getter(name="serviceClusterIpRange") + def service_cluster_ip_range(self) -> Optional[pulumi.Input[str]]: """ - Cluster template questions (list) + Service Cluster ip Range option for kube controller service (string) """ - return pulumi.get(self, "questions") + return pulumi.get(self, "service_cluster_ip_range") - @questions.setter - def questions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionQuestionArgs']]]]): - pulumi.set(self, "questions", value) + @service_cluster_ip_range.setter + def service_cluster_ip_range(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_cluster_ip_range", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigArgs: +class ClusterRkeConfigServicesKubeletArgs: def __init__(__self__, *, - rke_config: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs'], - cluster_auth_endpoint: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs']] = None, - default_cluster_role_for_project_members: Optional[pulumi.Input[str]] = None, - default_pod_security_policy_template_id: Optional[pulumi.Input[str]] = None, - desired_agent_image: Optional[pulumi.Input[str]] = None, - desired_auth_image: Optional[pulumi.Input[str]] = None, - docker_root_dir: Optional[pulumi.Input[str]] = None, - enable_cluster_alerting: Optional[pulumi.Input[bool]] = None, - enable_cluster_monitoring: Optional[pulumi.Input[bool]] = None, - enable_network_policy: Optional[pulumi.Input[bool]] = None, - scheduled_cluster_scan: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs']] = None, - windows_prefered_cluster: Optional[pulumi.Input[bool]] = None): + cluster_dns_server: Optional[pulumi.Input[str]] = None, + cluster_domain: Optional[pulumi.Input[str]] = None, + extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, + extra_binds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + extra_envs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + fail_swap_on: Optional[pulumi.Input[bool]] = None, + generate_serving_certificate: Optional[pulumi.Input[bool]] = None, + image: Optional[pulumi.Input[str]] = None, + infra_container_image: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs'] rke_config: Rancher Kubernetes Engine Config (list maxitems: 1) - :param pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs'] cluster_auth_endpoint: Local cluster auth endpoint (list maxitems: 1) - :param pulumi.Input[str] default_cluster_role_for_project_members: Default cluster role for project members (string) - :param pulumi.Input[str] default_pod_security_policy_template_id: Default pod security policy template ID (string) - :param pulumi.Input[str] desired_agent_image: Desired agent image (string) - :param pulumi.Input[str] desired_auth_image: Desired auth image (string) - :param pulumi.Input[str] docker_root_dir: Desired auth image (string) - :param pulumi.Input[bool] enable_cluster_alerting: Enable built-in cluster alerting. Default: `false` (bool) - :param pulumi.Input[bool] enable_cluster_monitoring: Enable built-in cluster monitoring. Default: `false` (bool) - :param pulumi.Input[bool] enable_network_policy: Enable project network isolation. Default: `false` (bool) - :param pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs'] scheduled_cluster_scan: Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1) - :param pulumi.Input[bool] windows_prefered_cluster: Windows prefered cluster. Default: `false` (bool) + :param pulumi.Input[str] cluster_dns_server: Cluster DNS Server option for kubelet service (string) + :param pulumi.Input[str] cluster_domain: Cluster Domain option for kubelet service (string) + :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) + :param pulumi.Input[bool] fail_swap_on: Enable or disable failing when swap on is not supported (bool) + :param pulumi.Input[bool] generate_serving_certificate: [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) + :param pulumi.Input[str] image: Docker image for scheduler service (string) + :param pulumi.Input[str] infra_container_image: Infra container image for kubelet service (string) """ - pulumi.set(__self__, "rke_config", rke_config) - if cluster_auth_endpoint is not None: - pulumi.set(__self__, "cluster_auth_endpoint", cluster_auth_endpoint) - if default_cluster_role_for_project_members is not None: - pulumi.set(__self__, "default_cluster_role_for_project_members", default_cluster_role_for_project_members) - if default_pod_security_policy_template_id is not None: - pulumi.set(__self__, "default_pod_security_policy_template_id", default_pod_security_policy_template_id) - if desired_agent_image is not None: - pulumi.set(__self__, "desired_agent_image", desired_agent_image) - if desired_auth_image is not None: - pulumi.set(__self__, "desired_auth_image", desired_auth_image) - if docker_root_dir is not None: - pulumi.set(__self__, "docker_root_dir", docker_root_dir) - if enable_cluster_alerting is not None: - pulumi.set(__self__, "enable_cluster_alerting", enable_cluster_alerting) - if enable_cluster_monitoring is not None: - pulumi.set(__self__, "enable_cluster_monitoring", enable_cluster_monitoring) - if enable_network_policy is not None: - pulumi.set(__self__, "enable_network_policy", enable_network_policy) - if scheduled_cluster_scan is not None: - pulumi.set(__self__, "scheduled_cluster_scan", scheduled_cluster_scan) - if windows_prefered_cluster is not None: - pulumi.set(__self__, "windows_prefered_cluster", windows_prefered_cluster) + if cluster_dns_server is not None: + pulumi.set(__self__, "cluster_dns_server", cluster_dns_server) + if cluster_domain is not None: + pulumi.set(__self__, "cluster_domain", cluster_domain) + if extra_args is not None: + pulumi.set(__self__, "extra_args", extra_args) + if extra_binds is not None: + pulumi.set(__self__, "extra_binds", extra_binds) + if extra_envs is not None: + pulumi.set(__self__, "extra_envs", extra_envs) + if fail_swap_on is not None: + pulumi.set(__self__, "fail_swap_on", fail_swap_on) + if generate_serving_certificate is not None: + pulumi.set(__self__, "generate_serving_certificate", generate_serving_certificate) + if image is not None: + pulumi.set(__self__, "image", image) + if infra_container_image is not None: + pulumi.set(__self__, "infra_container_image", infra_container_image) @property - @pulumi.getter(name="rkeConfig") - def rke_config(self) -> pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs']: + @pulumi.getter(name="clusterDnsServer") + def cluster_dns_server(self) -> Optional[pulumi.Input[str]]: """ - Rancher Kubernetes Engine Config (list maxitems: 1) + Cluster DNS Server option for kubelet service (string) """ - return pulumi.get(self, "rke_config") + return pulumi.get(self, "cluster_dns_server") - @rke_config.setter - def rke_config(self, value: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs']): - pulumi.set(self, "rke_config", value) + @cluster_dns_server.setter + def cluster_dns_server(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_dns_server", value) @property - @pulumi.getter(name="clusterAuthEndpoint") - def cluster_auth_endpoint(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs']]: + @pulumi.getter(name="clusterDomain") + def cluster_domain(self) -> Optional[pulumi.Input[str]]: """ - Local cluster auth endpoint (list maxitems: 1) + Cluster Domain option for kubelet service (string) """ - return pulumi.get(self, "cluster_auth_endpoint") + return pulumi.get(self, "cluster_domain") - @cluster_auth_endpoint.setter - def cluster_auth_endpoint(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs']]): - pulumi.set(self, "cluster_auth_endpoint", value) + @cluster_domain.setter + def cluster_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_domain", value) @property - @pulumi.getter(name="defaultClusterRoleForProjectMembers") - def default_cluster_role_for_project_members(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="extraArgs") + def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: """ - Default cluster role for project members (string) + Extra arguments for scheduler service (map) """ - return pulumi.get(self, "default_cluster_role_for_project_members") + return pulumi.get(self, "extra_args") - @default_cluster_role_for_project_members.setter - def default_cluster_role_for_project_members(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "default_cluster_role_for_project_members", value) + @extra_args.setter + def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "extra_args", value) @property - @pulumi.getter(name="defaultPodSecurityPolicyTemplateId") - def default_pod_security_policy_template_id(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="extraBinds") + def extra_binds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Default pod security policy template ID (string) + Extra binds for scheduler service (list) """ - return pulumi.get(self, "default_pod_security_policy_template_id") + return pulumi.get(self, "extra_binds") - @default_pod_security_policy_template_id.setter - def default_pod_security_policy_template_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "default_pod_security_policy_template_id", value) + @extra_binds.setter + def extra_binds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_binds", value) @property - @pulumi.getter(name="desiredAgentImage") - def desired_agent_image(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="extraEnvs") + def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Desired agent image (string) + Extra environment for scheduler service (list) """ - return pulumi.get(self, "desired_agent_image") + return pulumi.get(self, "extra_envs") - @desired_agent_image.setter - def desired_agent_image(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "desired_agent_image", value) + @extra_envs.setter + def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_envs", value) @property - @pulumi.getter(name="desiredAuthImage") - def desired_auth_image(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="failSwapOn") + def fail_swap_on(self) -> Optional[pulumi.Input[bool]]: """ - Desired auth image (string) + Enable or disable failing when swap on is not supported (bool) """ - return pulumi.get(self, "desired_auth_image") + return pulumi.get(self, "fail_swap_on") - @desired_auth_image.setter - def desired_auth_image(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "desired_auth_image", value) + @fail_swap_on.setter + def fail_swap_on(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "fail_swap_on", value) @property - @pulumi.getter(name="dockerRootDir") - def docker_root_dir(self) -> Optional[pulumi.Input[str]]: + @pulumi.getter(name="generateServingCertificate") + def generate_serving_certificate(self) -> Optional[pulumi.Input[bool]]: """ - Desired auth image (string) + [Generate a certificate signed by the kube-ca](https://rancher.com/docs/rke/latest/en/config-options/services/#kubelet-serving-certificate-requirements). Default `false` (bool) """ - return pulumi.get(self, "docker_root_dir") + return pulumi.get(self, "generate_serving_certificate") - @docker_root_dir.setter - def docker_root_dir(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "docker_root_dir", value) + @generate_serving_certificate.setter + def generate_serving_certificate(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "generate_serving_certificate", value) @property - @pulumi.getter(name="enableClusterAlerting") - def enable_cluster_alerting(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter + def image(self) -> Optional[pulumi.Input[str]]: """ - Enable built-in cluster alerting. Default: `false` (bool) + Docker image for scheduler service (string) """ - return pulumi.get(self, "enable_cluster_alerting") + return pulumi.get(self, "image") - @enable_cluster_alerting.setter - def enable_cluster_alerting(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_cluster_alerting", value) + @image.setter + def image(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image", value) @property - @pulumi.getter(name="enableClusterMonitoring") - def enable_cluster_monitoring(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="infraContainerImage") + def infra_container_image(self) -> Optional[pulumi.Input[str]]: """ - Enable built-in cluster monitoring. Default: `false` (bool) + Infra container image for kubelet service (string) """ - return pulumi.get(self, "enable_cluster_monitoring") + return pulumi.get(self, "infra_container_image") - @enable_cluster_monitoring.setter - def enable_cluster_monitoring(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_cluster_monitoring", value) + @infra_container_image.setter + def infra_container_image(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "infra_container_image", value) + + +@pulumi.input_type +class ClusterRkeConfigServicesKubeproxyArgs: + def __init__(__self__, *, + extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, + 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): + """ + :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) + :param pulumi.Input[str] image: Docker image for scheduler service (string) + """ + if extra_args is not None: + pulumi.set(__self__, "extra_args", extra_args) + if extra_binds is not None: + pulumi.set(__self__, "extra_binds", extra_binds) + if extra_envs is not None: + pulumi.set(__self__, "extra_envs", extra_envs) + if image is not None: + pulumi.set(__self__, "image", image) @property - @pulumi.getter(name="enableNetworkPolicy") - def enable_network_policy(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="extraArgs") + def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: """ - Enable project network isolation. Default: `false` (bool) + Extra arguments for scheduler service (map) """ - return pulumi.get(self, "enable_network_policy") + return pulumi.get(self, "extra_args") - @enable_network_policy.setter - def enable_network_policy(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enable_network_policy", value) + @extra_args.setter + def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "extra_args", value) @property - @pulumi.getter(name="scheduledClusterScan") - def scheduled_cluster_scan(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs']]: + @pulumi.getter(name="extraBinds") + def extra_binds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1) + Extra binds for scheduler service (list) """ - return pulumi.get(self, "scheduled_cluster_scan") + return pulumi.get(self, "extra_binds") - @scheduled_cluster_scan.setter - def scheduled_cluster_scan(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs']]): - pulumi.set(self, "scheduled_cluster_scan", value) + @extra_binds.setter + def extra_binds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_binds", value) @property - @pulumi.getter(name="windowsPreferedCluster") - def windows_prefered_cluster(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="extraEnvs") + def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Windows prefered cluster. Default: `false` (bool) + Extra environment for scheduler service (list) """ - return pulumi.get(self, "windows_prefered_cluster") + return pulumi.get(self, "extra_envs") - @windows_prefered_cluster.setter - def windows_prefered_cluster(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "windows_prefered_cluster", value) + @extra_envs.setter + def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_envs", value) + + @property + @pulumi.getter + def image(self) -> Optional[pulumi.Input[str]]: + """ + Docker image for scheduler service (string) + """ + return pulumi.get(self, "image") + + @image.setter + def image(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs: +class ClusterRkeConfigServicesSchedulerArgs: def __init__(__self__, *, - ca_certs: Optional[pulumi.Input[str]] = None, - enabled: Optional[pulumi.Input[bool]] = None, - fqdn: Optional[pulumi.Input[str]] = None): + extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, + 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): """ - :param pulumi.Input[bool] enabled: Enable cluster template revision. Default `true` (bool) + :param pulumi.Input[Mapping[str, Any]] extra_args: Extra arguments for scheduler service (map) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_binds: Extra binds for scheduler service (list) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_envs: Extra environment for scheduler service (list) + :param pulumi.Input[str] image: Docker image for scheduler service (string) """ - if ca_certs is not None: - pulumi.set(__self__, "ca_certs", ca_certs) - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - if fqdn is not None: - pulumi.set(__self__, "fqdn", fqdn) + if extra_args is not None: + pulumi.set(__self__, "extra_args", extra_args) + if extra_binds is not None: + pulumi.set(__self__, "extra_binds", extra_binds) + if extra_envs is not None: + pulumi.set(__self__, "extra_envs", extra_envs) + if image is not None: + pulumi.set(__self__, "image", image) @property - @pulumi.getter(name="caCerts") - def ca_certs(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ca_certs") + @pulumi.getter(name="extraArgs") + def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + Extra arguments for scheduler service (map) + """ + return pulumi.get(self, "extra_args") - @ca_certs.setter - def ca_certs(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ca_certs", value) + @extra_args.setter + def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "extra_args", value) @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: + @pulumi.getter(name="extraBinds") + def extra_binds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Enable cluster template revision. Default `true` (bool) + Extra binds for scheduler service (list) """ - return pulumi.get(self, "enabled") + return pulumi.get(self, "extra_binds") - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) + @extra_binds.setter + def extra_binds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_binds", value) + + @property + @pulumi.getter(name="extraEnvs") + def extra_envs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Extra environment for scheduler service (list) + """ + return pulumi.get(self, "extra_envs") + + @extra_envs.setter + def extra_envs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_envs", value) @property @pulumi.getter - def fqdn(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "fqdn") + def image(self) -> Optional[pulumi.Input[str]]: + """ + Docker image for scheduler service (string) + """ + return pulumi.get(self, "image") - @fqdn.setter - def fqdn(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "fqdn", value) + @image.setter + def image(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs: +class ClusterRkeConfigUpgradeStrategyArgs: def __init__(__self__, *, - addon_job_timeout: Optional[pulumi.Input[int]] = None, - addons: Optional[pulumi.Input[str]] = None, - addons_includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - authentication: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs']] = None, - authorization: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs']] = None, - bastion_host: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs']] = None, - cloud_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs']] = None, - dns: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs']] = None, - enable_cri_dockerd: Optional[pulumi.Input[bool]] = None, - ignore_docker_version: Optional[pulumi.Input[bool]] = None, - ingress: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs']] = None, - kubernetes_version: Optional[pulumi.Input[str]] = None, - monitoring: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs']] = None, - network: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs']] = None, - nodes: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs']]]] = None, - prefix_path: Optional[pulumi.Input[str]] = None, - private_registries: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs']]]] = None, - services: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs']] = None, - ssh_agent_auth: Optional[pulumi.Input[bool]] = None, - ssh_cert_path: Optional[pulumi.Input[str]] = None, - ssh_key_path: Optional[pulumi.Input[str]] = None, - upgrade_strategy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs']] = None, - win_prefix_path: Optional[pulumi.Input[str]] = None): - if addon_job_timeout is not None: - pulumi.set(__self__, "addon_job_timeout", addon_job_timeout) - if addons is not None: - pulumi.set(__self__, "addons", addons) - if addons_includes is not None: - pulumi.set(__self__, "addons_includes", addons_includes) + drain: Optional[pulumi.Input[bool]] = None, + drain_input: Optional[pulumi.Input['ClusterRkeConfigUpgradeStrategyDrainInputArgs']] = None, + max_unavailable_controlplane: Optional[pulumi.Input[str]] = None, + max_unavailable_worker: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] drain: RKE drain nodes. Default: `false` (bool) + :param pulumi.Input['ClusterRkeConfigUpgradeStrategyDrainInputArgs'] drain_input: RKE drain node input (list Maxitems: 1) + :param pulumi.Input[str] max_unavailable_controlplane: RKE max unavailable controlplane nodes. Default: `1` (string) + :param pulumi.Input[str] max_unavailable_worker: RKE max unavailable worker nodes. Default: `10%` (string) + """ + if drain is not None: + pulumi.set(__self__, "drain", drain) + if drain_input is not None: + pulumi.set(__self__, "drain_input", drain_input) + if max_unavailable_controlplane is not None: + pulumi.set(__self__, "max_unavailable_controlplane", max_unavailable_controlplane) + if max_unavailable_worker is not None: + pulumi.set(__self__, "max_unavailable_worker", max_unavailable_worker) + + @property + @pulumi.getter + def drain(self) -> Optional[pulumi.Input[bool]]: + """ + RKE drain nodes. Default: `false` (bool) + """ + return pulumi.get(self, "drain") + + @drain.setter + def drain(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "drain", value) + + @property + @pulumi.getter(name="drainInput") + def drain_input(self) -> Optional[pulumi.Input['ClusterRkeConfigUpgradeStrategyDrainInputArgs']]: + """ + RKE drain node input (list Maxitems: 1) + """ + return pulumi.get(self, "drain_input") + + @drain_input.setter + def drain_input(self, value: Optional[pulumi.Input['ClusterRkeConfigUpgradeStrategyDrainInputArgs']]): + pulumi.set(self, "drain_input", value) + + @property + @pulumi.getter(name="maxUnavailableControlplane") + def max_unavailable_controlplane(self) -> Optional[pulumi.Input[str]]: + """ + RKE max unavailable controlplane nodes. Default: `1` (string) + """ + return pulumi.get(self, "max_unavailable_controlplane") + + @max_unavailable_controlplane.setter + def max_unavailable_controlplane(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max_unavailable_controlplane", value) + + @property + @pulumi.getter(name="maxUnavailableWorker") + def max_unavailable_worker(self) -> Optional[pulumi.Input[str]]: + """ + RKE max unavailable worker nodes. Default: `10%` (string) + """ + return pulumi.get(self, "max_unavailable_worker") + + @max_unavailable_worker.setter + def max_unavailable_worker(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max_unavailable_worker", value) + + +@pulumi.input_type +class ClusterRkeConfigUpgradeStrategyDrainInputArgs: + def __init__(__self__, *, + delete_local_data: Optional[pulumi.Input[bool]] = None, + force: Optional[pulumi.Input[bool]] = None, + grace_period: Optional[pulumi.Input[int]] = None, + ignore_daemon_sets: Optional[pulumi.Input[bool]] = None, + timeout: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[bool] delete_local_data: Delete RKE node local data. Default: `false` (bool) + :param pulumi.Input[bool] force: Force RKE node drain. Default: `false` (bool) + :param pulumi.Input[int] grace_period: RKE node drain grace period. Default: `-1` (int) + :param pulumi.Input[bool] ignore_daemon_sets: Ignore RKE daemon sets. Default: `true` (bool) + :param pulumi.Input[int] timeout: RKE node drain timeout. Default: `60` (int) + """ + if delete_local_data is not None: + pulumi.set(__self__, "delete_local_data", delete_local_data) + if force is not None: + pulumi.set(__self__, "force", force) + if grace_period is not None: + pulumi.set(__self__, "grace_period", grace_period) + if ignore_daemon_sets is not None: + pulumi.set(__self__, "ignore_daemon_sets", ignore_daemon_sets) + if timeout is not None: + pulumi.set(__self__, "timeout", timeout) + + @property + @pulumi.getter(name="deleteLocalData") + def delete_local_data(self) -> Optional[pulumi.Input[bool]]: + """ + Delete RKE node local data. Default: `false` (bool) + """ + return pulumi.get(self, "delete_local_data") + + @delete_local_data.setter + def delete_local_data(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "delete_local_data", value) + + @property + @pulumi.getter + def force(self) -> Optional[pulumi.Input[bool]]: + """ + Force RKE node drain. Default: `false` (bool) + """ + return pulumi.get(self, "force") + + @force.setter + def force(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "force", value) + + @property + @pulumi.getter(name="gracePeriod") + def grace_period(self) -> Optional[pulumi.Input[int]]: + """ + RKE node drain grace period. Default: `-1` (int) + """ + return pulumi.get(self, "grace_period") + + @grace_period.setter + def grace_period(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "grace_period", value) + + @property + @pulumi.getter(name="ignoreDaemonSets") + def ignore_daemon_sets(self) -> Optional[pulumi.Input[bool]]: + """ + Ignore RKE daemon sets. Default: `true` (bool) + """ + return pulumi.get(self, "ignore_daemon_sets") + + @ignore_daemon_sets.setter + def ignore_daemon_sets(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "ignore_daemon_sets", value) + + @property + @pulumi.getter + def timeout(self) -> Optional[pulumi.Input[int]]: + """ + RKE node drain timeout. Default: `60` (int) + """ + return pulumi.get(self, "timeout") + + @timeout.setter + def timeout(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "timeout", value) + + +@pulumi.input_type +class ClusterScheduledClusterScanArgs: + def __init__(__self__, *, + scan_config: pulumi.Input['ClusterScheduledClusterScanScanConfigArgs'], + schedule_config: pulumi.Input['ClusterScheduledClusterScanScheduleConfigArgs'], + enabled: Optional[pulumi.Input[bool]] = None): + """ + :param pulumi.Input['ClusterScheduledClusterScanScanConfigArgs'] scan_config: Cluster scan config (List maxitems:1) + :param pulumi.Input['ClusterScheduledClusterScanScheduleConfigArgs'] schedule_config: Cluster scan schedule config (list maxitems:1) + :param pulumi.Input[bool] enabled: Enable scheduled cluster scan. Default: `false` (bool) + """ + pulumi.set(__self__, "scan_config", scan_config) + pulumi.set(__self__, "schedule_config", schedule_config) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter(name="scanConfig") + def scan_config(self) -> pulumi.Input['ClusterScheduledClusterScanScanConfigArgs']: + """ + Cluster scan config (List maxitems:1) + """ + return pulumi.get(self, "scan_config") + + @scan_config.setter + def scan_config(self, value: pulumi.Input['ClusterScheduledClusterScanScanConfigArgs']): + pulumi.set(self, "scan_config", value) + + @property + @pulumi.getter(name="scheduleConfig") + def schedule_config(self) -> pulumi.Input['ClusterScheduledClusterScanScheduleConfigArgs']: + """ + Cluster scan schedule config (list maxitems:1) + """ + return pulumi.get(self, "schedule_config") + + @schedule_config.setter + def schedule_config(self, value: pulumi.Input['ClusterScheduledClusterScanScheduleConfigArgs']): + pulumi.set(self, "schedule_config", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Enable scheduled cluster scan. Default: `false` (bool) + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + +@pulumi.input_type +class ClusterScheduledClusterScanScanConfigArgs: + def __init__(__self__, *, + cis_scan_config: Optional[pulumi.Input['ClusterScheduledClusterScanScanConfigCisScanConfigArgs']] = None): + """ + :param pulumi.Input['ClusterScheduledClusterScanScanConfigCisScanConfigArgs'] cis_scan_config: Cluster Cis Scan config (List maxitems:1) + """ + if cis_scan_config is not None: + pulumi.set(__self__, "cis_scan_config", cis_scan_config) + + @property + @pulumi.getter(name="cisScanConfig") + def cis_scan_config(self) -> Optional[pulumi.Input['ClusterScheduledClusterScanScanConfigCisScanConfigArgs']]: + """ + Cluster Cis Scan config (List maxitems:1) + """ + return pulumi.get(self, "cis_scan_config") + + @cis_scan_config.setter + def cis_scan_config(self, value: Optional[pulumi.Input['ClusterScheduledClusterScanScanConfigCisScanConfigArgs']]): + pulumi.set(self, "cis_scan_config", value) + + +@pulumi.input_type +class ClusterScheduledClusterScanScanConfigCisScanConfigArgs: + def __init__(__self__, *, + debug_master: Optional[pulumi.Input[bool]] = None, + debug_worker: Optional[pulumi.Input[bool]] = None, + override_benchmark_version: Optional[pulumi.Input[str]] = None, + override_skips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + profile: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] debug_master: Debug master. Default: `false` (bool) + :param pulumi.Input[bool] debug_worker: Debug worker. Default: `false` (bool) + :param pulumi.Input[str] override_benchmark_version: Override benchmark version (string) + :param pulumi.Input[Sequence[pulumi.Input[str]]] override_skips: Override skip (string) + :param pulumi.Input[str] profile: Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) + """ + if debug_master is not None: + pulumi.set(__self__, "debug_master", debug_master) + if debug_worker is not None: + pulumi.set(__self__, "debug_worker", debug_worker) + if override_benchmark_version is not None: + pulumi.set(__self__, "override_benchmark_version", override_benchmark_version) + if override_skips is not None: + pulumi.set(__self__, "override_skips", override_skips) + if profile is not None: + pulumi.set(__self__, "profile", profile) + + @property + @pulumi.getter(name="debugMaster") + def debug_master(self) -> Optional[pulumi.Input[bool]]: + """ + Debug master. Default: `false` (bool) + """ + return pulumi.get(self, "debug_master") + + @debug_master.setter + def debug_master(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "debug_master", value) + + @property + @pulumi.getter(name="debugWorker") + def debug_worker(self) -> Optional[pulumi.Input[bool]]: + """ + Debug worker. Default: `false` (bool) + """ + return pulumi.get(self, "debug_worker") + + @debug_worker.setter + def debug_worker(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "debug_worker", value) + + @property + @pulumi.getter(name="overrideBenchmarkVersion") + def override_benchmark_version(self) -> Optional[pulumi.Input[str]]: + """ + Override benchmark version (string) + """ + return pulumi.get(self, "override_benchmark_version") + + @override_benchmark_version.setter + def override_benchmark_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "override_benchmark_version", value) + + @property + @pulumi.getter(name="overrideSkips") + def override_skips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Override skip (string) + """ + return pulumi.get(self, "override_skips") + + @override_skips.setter + def override_skips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "override_skips", value) + + @property + @pulumi.getter + def profile(self) -> Optional[pulumi.Input[str]]: + """ + Cis scan profile. Allowed values: `"permissive" (default) || "hardened"` (string) + """ + return pulumi.get(self, "profile") + + @profile.setter + def profile(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "profile", value) + + +@pulumi.input_type +class ClusterScheduledClusterScanScheduleConfigArgs: + def __init__(__self__, *, + cron_schedule: pulumi.Input[str], + retention: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[str] cron_schedule: Crontab schedule. It should contains 5 fields `" "` (string) + :param pulumi.Input[int] retention: Retention for etcd backup. Default `6` (int) + """ + pulumi.set(__self__, "cron_schedule", cron_schedule) + if retention is not None: + pulumi.set(__self__, "retention", retention) + + @property + @pulumi.getter(name="cronSchedule") + def cron_schedule(self) -> pulumi.Input[str]: + """ + Crontab schedule. It should contains 5 fields `" "` (string) + """ + return pulumi.get(self, "cron_schedule") + + @cron_schedule.setter + def cron_schedule(self, value: pulumi.Input[str]): + pulumi.set(self, "cron_schedule", value) + + @property + @pulumi.getter + def retention(self) -> Optional[pulumi.Input[int]]: + """ + Retention for etcd backup. Default `6` (int) + """ + return pulumi.get(self, "retention") + + @retention.setter + def retention(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "retention", value) + + +@pulumi.input_type +class ClusterSyncNodeArgs: + def __init__(__self__, *, + annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None, + capacity: Optional[pulumi.Input[Mapping[str, Any]]] = None, + cluster_id: Optional[pulumi.Input[str]] = None, + external_ip_address: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + node_pool_id: Optional[pulumi.Input[str]] = None, + node_template_id: Optional[pulumi.Input[str]] = None, + provider_id: Optional[pulumi.Input[str]] = None, + requested_hostname: Optional[pulumi.Input[str]] = None, + 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): + """ + :param pulumi.Input[Mapping[str, Any]] annotations: Annotations of the node (map). + :param pulumi.Input[Mapping[str, Any]] capacity: The total resources of a node (map). + :param pulumi.Input[str] cluster_id: The Cluster ID of the node (string). + :param pulumi.Input[str] external_ip_address: The external IP address of the node (string). + :param pulumi.Input[str] hostname: The hostname of the node (string). + :param pulumi.Input[str] id: The ID of the node (string) + :param pulumi.Input[str] ip_address: The private IP address of the node (string). + :param pulumi.Input[Mapping[str, Any]] labels: Labels of the node (map). + :param pulumi.Input[str] name: The name of the node (string). + :param pulumi.Input[str] node_pool_id: The Node Pool ID of the node (string). + :param pulumi.Input[str] node_template_id: The Node Template ID of the node (string). + :param pulumi.Input[str] provider_id: The Provider ID of the node (string). + :param pulumi.Input[str] requested_hostname: The requested hostname (string). + :param pulumi.Input[Sequence[pulumi.Input[str]]] roles: Roles of the node. `controlplane`, `etcd` and `worker`. (list) + :param pulumi.Input[str] ssh_user: The user to connect to the node (string). + :param pulumi.Input[Mapping[str, Any]] system_info: General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name. + """ + if annotations is not None: + pulumi.set(__self__, "annotations", annotations) + if capacity is not None: + pulumi.set(__self__, "capacity", capacity) + if cluster_id is not None: + pulumi.set(__self__, "cluster_id", cluster_id) + if external_ip_address is not None: + pulumi.set(__self__, "external_ip_address", external_ip_address) + if hostname is not None: + pulumi.set(__self__, "hostname", hostname) + if id is not None: + pulumi.set(__self__, "id", id) + if ip_address is not None: + pulumi.set(__self__, "ip_address", ip_address) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if name is not None: + pulumi.set(__self__, "name", name) + if node_pool_id is not None: + pulumi.set(__self__, "node_pool_id", node_pool_id) + if node_template_id is not None: + pulumi.set(__self__, "node_template_id", node_template_id) + if provider_id is not None: + pulumi.set(__self__, "provider_id", provider_id) + if requested_hostname is not None: + pulumi.set(__self__, "requested_hostname", requested_hostname) + if roles is not None: + pulumi.set(__self__, "roles", roles) + if ssh_user is not None: + pulumi.set(__self__, "ssh_user", ssh_user) + if system_info is not None: + pulumi.set(__self__, "system_info", system_info) + + @property + @pulumi.getter + def annotations(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + Annotations of the node (map). + """ + return pulumi.get(self, "annotations") + + @annotations.setter + def annotations(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "annotations", value) + + @property + @pulumi.getter + def capacity(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + The total resources of a node (map). + """ + return pulumi.get(self, "capacity") + + @capacity.setter + def capacity(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "capacity", value) + + @property + @pulumi.getter(name="clusterId") + def cluster_id(self) -> Optional[pulumi.Input[str]]: + """ + The Cluster ID of the node (string). + """ + return pulumi.get(self, "cluster_id") + + @cluster_id.setter + def cluster_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_id", value) + + @property + @pulumi.getter(name="externalIpAddress") + def external_ip_address(self) -> Optional[pulumi.Input[str]]: + """ + The external IP address of the node (string). + """ + return pulumi.get(self, "external_ip_address") + + @external_ip_address.setter + def external_ip_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_ip_address", value) + + @property + @pulumi.getter + def hostname(self) -> Optional[pulumi.Input[str]]: + """ + The hostname of the node (string). + """ + return pulumi.get(self, "hostname") + + @hostname.setter + def hostname(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "hostname", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the node (string) + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="ipAddress") + def ip_address(self) -> Optional[pulumi.Input[str]]: + """ + The private IP address of the node (string). + """ + return pulumi.get(self, "ip_address") + + @ip_address.setter + def ip_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip_address", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + Labels of the node (map). + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the node (string). + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="nodePoolId") + def node_pool_id(self) -> Optional[pulumi.Input[str]]: + """ + The Node Pool ID of the node (string). + """ + return pulumi.get(self, "node_pool_id") + + @node_pool_id.setter + def node_pool_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_pool_id", value) + + @property + @pulumi.getter(name="nodeTemplateId") + def node_template_id(self) -> Optional[pulumi.Input[str]]: + """ + The Node Template ID of the node (string). + """ + return pulumi.get(self, "node_template_id") + + @node_template_id.setter + def node_template_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_template_id", value) + + @property + @pulumi.getter(name="providerId") + def provider_id(self) -> Optional[pulumi.Input[str]]: + """ + The Provider ID of the node (string). + """ + return pulumi.get(self, "provider_id") + + @provider_id.setter + def provider_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "provider_id", value) + + @property + @pulumi.getter(name="requestedHostname") + def requested_hostname(self) -> Optional[pulumi.Input[str]]: + """ + The requested hostname (string). + """ + return pulumi.get(self, "requested_hostname") + + @requested_hostname.setter + def requested_hostname(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requested_hostname", value) + + @property + @pulumi.getter + def roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Roles of the node. `controlplane`, `etcd` and `worker`. (list) + """ + return pulumi.get(self, "roles") + + @roles.setter + def roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "roles", value) + + @property + @pulumi.getter(name="sshUser") + def ssh_user(self) -> Optional[pulumi.Input[str]]: + """ + The user to connect to the node (string). + """ + return pulumi.get(self, "ssh_user") + + @ssh_user.setter + def ssh_user(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ssh_user", value) + + @property + @pulumi.getter(name="systemInfo") + def system_info(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + General information about the node, such as kernel version, kubelet and kube-proxy version, Docker version (if used), and OS name. + """ + return pulumi.get(self, "system_info") + + @system_info.setter + def system_info(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "system_info", value) + + +@pulumi.input_type +class ClusterTemplateMemberArgs: + def __init__(__self__, *, + access_type: Optional[pulumi.Input[str]] = None, + group_principal_id: Optional[pulumi.Input[str]] = None, + user_principal_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] access_type: Member access type. Valid values: `["read-only" | "owner"]` (string) + :param pulumi.Input[str] group_principal_id: Member group principal id (string) + :param pulumi.Input[str] user_principal_id: Member user principal id (string) + """ + if access_type is not None: + pulumi.set(__self__, "access_type", access_type) + if group_principal_id is not None: + pulumi.set(__self__, "group_principal_id", group_principal_id) + if user_principal_id is not None: + pulumi.set(__self__, "user_principal_id", user_principal_id) + + @property + @pulumi.getter(name="accessType") + def access_type(self) -> Optional[pulumi.Input[str]]: + """ + Member access type. Valid values: `["read-only" | "owner"]` (string) + """ + return pulumi.get(self, "access_type") + + @access_type.setter + def access_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "access_type", value) + + @property + @pulumi.getter(name="groupPrincipalId") + def group_principal_id(self) -> Optional[pulumi.Input[str]]: + """ + Member group principal id (string) + """ + return pulumi.get(self, "group_principal_id") + + @group_principal_id.setter + def group_principal_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_principal_id", value) + + @property + @pulumi.getter(name="userPrincipalId") + def user_principal_id(self) -> Optional[pulumi.Input[str]]: + """ + Member user principal id (string) + """ + return pulumi.get(self, "user_principal_id") + + @user_principal_id.setter + def user_principal_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_principal_id", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionArgs: + def __init__(__self__, *, + cluster_config: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigArgs'], + name: pulumi.Input[str], + annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None, + cluster_template_id: Optional[pulumi.Input[str]] = None, + default: Optional[pulumi.Input[bool]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + id: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, + questions: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionQuestionArgs']]]] = None): + """ + :param pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigArgs'] cluster_config: Cluster configuration (list maxitem: 1) + :param pulumi.Input[str] name: The cluster template revision name (string) + :param pulumi.Input[Mapping[str, Any]] annotations: Annotations for the cluster template revision (map) + :param pulumi.Input[str] cluster_template_id: Cluster template ID (string) + :param pulumi.Input[bool] default: Default variable value (string) + :param pulumi.Input[bool] enabled: Enable cluster template revision. Default `true` (bool) + :param pulumi.Input[str] id: The cluster template revision ID (string) + :param pulumi.Input[Mapping[str, Any]] labels: Labels for the cluster template revision (map) + :param pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionQuestionArgs']]] questions: Cluster template questions (list) + """ + pulumi.set(__self__, "cluster_config", cluster_config) + pulumi.set(__self__, "name", name) + if annotations is not None: + pulumi.set(__self__, "annotations", annotations) + if cluster_template_id is not None: + pulumi.set(__self__, "cluster_template_id", cluster_template_id) + if default is not None: + pulumi.set(__self__, "default", default) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if id is not None: + pulumi.set(__self__, "id", id) + if labels is not None: + pulumi.set(__self__, "labels", labels) + if questions is not None: + pulumi.set(__self__, "questions", questions) + + @property + @pulumi.getter(name="clusterConfig") + def cluster_config(self) -> pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigArgs']: + """ + Cluster configuration (list maxitem: 1) + """ + return pulumi.get(self, "cluster_config") + + @cluster_config.setter + def cluster_config(self, value: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigArgs']): + pulumi.set(self, "cluster_config", value) + + @property + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The cluster template revision name (string) + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def annotations(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + Annotations for the cluster template revision (map) + """ + return pulumi.get(self, "annotations") + + @annotations.setter + def annotations(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "annotations", value) + + @property + @pulumi.getter(name="clusterTemplateId") + def cluster_template_id(self) -> Optional[pulumi.Input[str]]: + """ + Cluster template ID (string) + """ + return pulumi.get(self, "cluster_template_id") + + @cluster_template_id.setter + def cluster_template_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cluster_template_id", value) + + @property + @pulumi.getter + def default(self) -> Optional[pulumi.Input[bool]]: + """ + Default variable value (string) + """ + return pulumi.get(self, "default") + + @default.setter + def default(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "default", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Enable cluster template revision. Default `true` (bool) + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The cluster template revision ID (string) + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter + def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + Labels for the cluster template revision (map) + """ + return pulumi.get(self, "labels") + + @labels.setter + def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "labels", value) + + @property + @pulumi.getter + def questions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionQuestionArgs']]]]: + """ + Cluster template questions (list) + """ + return pulumi.get(self, "questions") + + @questions.setter + def questions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionQuestionArgs']]]]): + pulumi.set(self, "questions", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigArgs: + def __init__(__self__, *, + rke_config: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs'], + cluster_auth_endpoint: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs']] = None, + default_cluster_role_for_project_members: Optional[pulumi.Input[str]] = None, + default_pod_security_policy_template_id: Optional[pulumi.Input[str]] = None, + desired_agent_image: Optional[pulumi.Input[str]] = None, + desired_auth_image: Optional[pulumi.Input[str]] = None, + docker_root_dir: Optional[pulumi.Input[str]] = None, + enable_cluster_alerting: Optional[pulumi.Input[bool]] = None, + enable_cluster_monitoring: Optional[pulumi.Input[bool]] = None, + enable_network_policy: Optional[pulumi.Input[bool]] = None, + scheduled_cluster_scan: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs']] = None, + windows_prefered_cluster: Optional[pulumi.Input[bool]] = None): + """ + :param pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs'] rke_config: Rancher Kubernetes Engine Config (list maxitems: 1) + :param pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs'] cluster_auth_endpoint: Local cluster auth endpoint (list maxitems: 1) + :param pulumi.Input[str] default_cluster_role_for_project_members: Default cluster role for project members (string) + :param pulumi.Input[str] default_pod_security_policy_template_id: Default pod security policy template ID (string) + :param pulumi.Input[str] desired_agent_image: Desired agent image (string) + :param pulumi.Input[str] desired_auth_image: Desired auth image (string) + :param pulumi.Input[str] docker_root_dir: Desired auth image (string) + :param pulumi.Input[bool] enable_cluster_alerting: Enable built-in cluster alerting. Default: `false` (bool) + :param pulumi.Input[bool] enable_cluster_monitoring: Enable built-in cluster monitoring. Default: `false` (bool) + :param pulumi.Input[bool] enable_network_policy: Enable project network isolation. Default: `false` (bool) + :param pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs'] scheduled_cluster_scan: Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1) + :param pulumi.Input[bool] windows_prefered_cluster: Windows prefered cluster. Default: `false` (bool) + """ + pulumi.set(__self__, "rke_config", rke_config) + if cluster_auth_endpoint is not None: + pulumi.set(__self__, "cluster_auth_endpoint", cluster_auth_endpoint) + if default_cluster_role_for_project_members is not None: + pulumi.set(__self__, "default_cluster_role_for_project_members", default_cluster_role_for_project_members) + if default_pod_security_policy_template_id is not None: + pulumi.set(__self__, "default_pod_security_policy_template_id", default_pod_security_policy_template_id) + if desired_agent_image is not None: + pulumi.set(__self__, "desired_agent_image", desired_agent_image) + if desired_auth_image is not None: + pulumi.set(__self__, "desired_auth_image", desired_auth_image) + if docker_root_dir is not None: + pulumi.set(__self__, "docker_root_dir", docker_root_dir) + if enable_cluster_alerting is not None: + pulumi.set(__self__, "enable_cluster_alerting", enable_cluster_alerting) + if enable_cluster_monitoring is not None: + pulumi.set(__self__, "enable_cluster_monitoring", enable_cluster_monitoring) + if enable_network_policy is not None: + pulumi.set(__self__, "enable_network_policy", enable_network_policy) + if scheduled_cluster_scan is not None: + pulumi.set(__self__, "scheduled_cluster_scan", scheduled_cluster_scan) + if windows_prefered_cluster is not None: + pulumi.set(__self__, "windows_prefered_cluster", windows_prefered_cluster) + + @property + @pulumi.getter(name="rkeConfig") + def rke_config(self) -> pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs']: + """ + Rancher Kubernetes Engine Config (list maxitems: 1) + """ + return pulumi.get(self, "rke_config") + + @rke_config.setter + def rke_config(self, value: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs']): + pulumi.set(self, "rke_config", value) + + @property + @pulumi.getter(name="clusterAuthEndpoint") + def cluster_auth_endpoint(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs']]: + """ + Local cluster auth endpoint (list maxitems: 1) + """ + return pulumi.get(self, "cluster_auth_endpoint") + + @cluster_auth_endpoint.setter + def cluster_auth_endpoint(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs']]): + pulumi.set(self, "cluster_auth_endpoint", value) + + @property + @pulumi.getter(name="defaultClusterRoleForProjectMembers") + def default_cluster_role_for_project_members(self) -> Optional[pulumi.Input[str]]: + """ + Default cluster role for project members (string) + """ + return pulumi.get(self, "default_cluster_role_for_project_members") + + @default_cluster_role_for_project_members.setter + def default_cluster_role_for_project_members(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_cluster_role_for_project_members", value) + + @property + @pulumi.getter(name="defaultPodSecurityPolicyTemplateId") + def default_pod_security_policy_template_id(self) -> Optional[pulumi.Input[str]]: + """ + Default pod security policy template ID (string) + """ + return pulumi.get(self, "default_pod_security_policy_template_id") + + @default_pod_security_policy_template_id.setter + def default_pod_security_policy_template_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_pod_security_policy_template_id", value) + + @property + @pulumi.getter(name="desiredAgentImage") + def desired_agent_image(self) -> Optional[pulumi.Input[str]]: + """ + Desired agent image (string) + """ + return pulumi.get(self, "desired_agent_image") + + @desired_agent_image.setter + def desired_agent_image(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "desired_agent_image", value) + + @property + @pulumi.getter(name="desiredAuthImage") + def desired_auth_image(self) -> Optional[pulumi.Input[str]]: + """ + Desired auth image (string) + """ + return pulumi.get(self, "desired_auth_image") + + @desired_auth_image.setter + def desired_auth_image(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "desired_auth_image", value) + + @property + @pulumi.getter(name="dockerRootDir") + def docker_root_dir(self) -> Optional[pulumi.Input[str]]: + """ + Desired auth image (string) + """ + return pulumi.get(self, "docker_root_dir") + + @docker_root_dir.setter + def docker_root_dir(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "docker_root_dir", value) + + @property + @pulumi.getter(name="enableClusterAlerting") + def enable_cluster_alerting(self) -> Optional[pulumi.Input[bool]]: + """ + Enable built-in cluster alerting. Default: `false` (bool) + """ + return pulumi.get(self, "enable_cluster_alerting") + + @enable_cluster_alerting.setter + def enable_cluster_alerting(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_cluster_alerting", value) + + @property + @pulumi.getter(name="enableClusterMonitoring") + def enable_cluster_monitoring(self) -> Optional[pulumi.Input[bool]]: + """ + Enable built-in cluster monitoring. Default: `false` (bool) + """ + return pulumi.get(self, "enable_cluster_monitoring") + + @enable_cluster_monitoring.setter + def enable_cluster_monitoring(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_cluster_monitoring", value) + + @property + @pulumi.getter(name="enableNetworkPolicy") + def enable_network_policy(self) -> Optional[pulumi.Input[bool]]: + """ + Enable project network isolation. Default: `false` (bool) + """ + return pulumi.get(self, "enable_network_policy") + + @enable_network_policy.setter + def enable_network_policy(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_network_policy", value) + + @property + @pulumi.getter(name="scheduledClusterScan") + def scheduled_cluster_scan(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs']]: + """ + Cluster scheduled cis scan. For Rancher v2.4.0 or above (List MaxItem:1) + """ + return pulumi.get(self, "scheduled_cluster_scan") + + @scheduled_cluster_scan.setter + def scheduled_cluster_scan(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigScheduledClusterScanArgs']]): + pulumi.set(self, "scheduled_cluster_scan", value) + + @property + @pulumi.getter(name="windowsPreferedCluster") + def windows_prefered_cluster(self) -> Optional[pulumi.Input[bool]]: + """ + Windows prefered cluster. Default: `false` (bool) + """ + return pulumi.get(self, "windows_prefered_cluster") + + @windows_prefered_cluster.setter + def windows_prefered_cluster(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "windows_prefered_cluster", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigClusterAuthEndpointArgs: + def __init__(__self__, *, + ca_certs: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + fqdn: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] enabled: Enable cluster template revision. Default `true` (bool) + """ + if ca_certs is not None: + pulumi.set(__self__, "ca_certs", ca_certs) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if fqdn is not None: + pulumi.set(__self__, "fqdn", fqdn) + + @property + @pulumi.getter(name="caCerts") + def ca_certs(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ca_certs") + + @ca_certs.setter + def ca_certs(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ca_certs", value) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Enable cluster template revision. Default `true` (bool) + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter + def fqdn(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "fqdn") + + @fqdn.setter + def fqdn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "fqdn", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigArgs: + def __init__(__self__, *, + addon_job_timeout: Optional[pulumi.Input[int]] = None, + addons: Optional[pulumi.Input[str]] = None, + addons_includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + authentication: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthenticationArgs']] = None, + authorization: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigAuthorizationArgs']] = None, + bastion_host: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigBastionHostArgs']] = None, + cloud_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderArgs']] = None, + dns: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs']] = None, + enable_cri_dockerd: Optional[pulumi.Input[bool]] = None, + ignore_docker_version: Optional[pulumi.Input[bool]] = None, + ingress: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs']] = None, + kubernetes_version: Optional[pulumi.Input[str]] = None, + monitoring: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs']] = None, + network: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs']] = None, + nodes: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNodeArgs']]]] = None, + prefix_path: Optional[pulumi.Input[str]] = None, + private_registries: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigPrivateRegistryArgs']]]] = None, + services: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigServicesArgs']] = None, + ssh_agent_auth: Optional[pulumi.Input[bool]] = None, + ssh_cert_path: Optional[pulumi.Input[str]] = None, + ssh_key_path: Optional[pulumi.Input[str]] = None, + upgrade_strategy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigUpgradeStrategyArgs']] = None, + win_prefix_path: Optional[pulumi.Input[str]] = None): + if addon_job_timeout is not None: + pulumi.set(__self__, "addon_job_timeout", addon_job_timeout) + if addons is not None: + pulumi.set(__self__, "addons", addons) + if addons_includes is not None: + pulumi.set(__self__, "addons_includes", addons_includes) if authentication is not None: pulumi.set(__self__, "authentication", authentication) if authorization is not None: @@ -14928,1031 +16119,1411 @@ def __init__(__self__, *, pulumi.set(__self__, "vnet_resource_group", vnet_resource_group) @property - @pulumi.getter(name="aadClientId") - def aad_client_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "aad_client_id") + @pulumi.getter(name="aadClientId") + def aad_client_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "aad_client_id") + + @aad_client_id.setter + def aad_client_id(self, value: pulumi.Input[str]): + pulumi.set(self, "aad_client_id", value) + + @property + @pulumi.getter(name="aadClientSecret") + def aad_client_secret(self) -> pulumi.Input[str]: + return pulumi.get(self, "aad_client_secret") + + @aad_client_secret.setter + def aad_client_secret(self, value: pulumi.Input[str]): + pulumi.set(self, "aad_client_secret", value) + + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "subscription_id") + + @subscription_id.setter + def subscription_id(self, value: pulumi.Input[str]): + pulumi.set(self, "subscription_id", value) + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "tenant_id") + + @tenant_id.setter + def tenant_id(self, value: pulumi.Input[str]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="aadClientCertPassword") + def aad_client_cert_password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "aad_client_cert_password") + + @aad_client_cert_password.setter + def aad_client_cert_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aad_client_cert_password", value) + + @property + @pulumi.getter(name="aadClientCertPath") + def aad_client_cert_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "aad_client_cert_path") + + @aad_client_cert_path.setter + def aad_client_cert_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "aad_client_cert_path", value) + + @property + @pulumi.getter + def cloud(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "cloud") + + @cloud.setter + def cloud(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "cloud", value) + + @property + @pulumi.getter(name="cloudProviderBackoff") + def cloud_provider_backoff(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "cloud_provider_backoff") + + @cloud_provider_backoff.setter + def cloud_provider_backoff(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "cloud_provider_backoff", value) + + @property + @pulumi.getter(name="cloudProviderBackoffDuration") + def cloud_provider_backoff_duration(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "cloud_provider_backoff_duration") + + @cloud_provider_backoff_duration.setter + def cloud_provider_backoff_duration(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "cloud_provider_backoff_duration", value) + + @property + @pulumi.getter(name="cloudProviderBackoffExponent") + def cloud_provider_backoff_exponent(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "cloud_provider_backoff_exponent") + + @cloud_provider_backoff_exponent.setter + def cloud_provider_backoff_exponent(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "cloud_provider_backoff_exponent", value) + + @property + @pulumi.getter(name="cloudProviderBackoffJitter") + def cloud_provider_backoff_jitter(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "cloud_provider_backoff_jitter") + + @cloud_provider_backoff_jitter.setter + def cloud_provider_backoff_jitter(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "cloud_provider_backoff_jitter", value) + + @property + @pulumi.getter(name="cloudProviderBackoffRetries") + def cloud_provider_backoff_retries(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "cloud_provider_backoff_retries") + + @cloud_provider_backoff_retries.setter + def cloud_provider_backoff_retries(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "cloud_provider_backoff_retries", value) + + @property + @pulumi.getter(name="cloudProviderRateLimit") + def cloud_provider_rate_limit(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "cloud_provider_rate_limit") + + @cloud_provider_rate_limit.setter + def cloud_provider_rate_limit(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "cloud_provider_rate_limit", value) + + @property + @pulumi.getter(name="cloudProviderRateLimitBucket") + def cloud_provider_rate_limit_bucket(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "cloud_provider_rate_limit_bucket") + + @cloud_provider_rate_limit_bucket.setter + def cloud_provider_rate_limit_bucket(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "cloud_provider_rate_limit_bucket", value) + + @property + @pulumi.getter(name="cloudProviderRateLimitQps") + def cloud_provider_rate_limit_qps(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "cloud_provider_rate_limit_qps") + + @cloud_provider_rate_limit_qps.setter + def cloud_provider_rate_limit_qps(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "cloud_provider_rate_limit_qps", value) + + @property + @pulumi.getter(name="loadBalancerSku") + def load_balancer_sku(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "load_balancer_sku") + + @load_balancer_sku.setter + def load_balancer_sku(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "load_balancer_sku", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="maximumLoadBalancerRuleCount") + def maximum_load_balancer_rule_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "maximum_load_balancer_rule_count") + + @maximum_load_balancer_rule_count.setter + def maximum_load_balancer_rule_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "maximum_load_balancer_rule_count", value) + + @property + @pulumi.getter(name="primaryAvailabilitySetName") + def primary_availability_set_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "primary_availability_set_name") + + @primary_availability_set_name.setter + def primary_availability_set_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "primary_availability_set_name", value) + + @property + @pulumi.getter(name="primaryScaleSetName") + def primary_scale_set_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "primary_scale_set_name") + + @primary_scale_set_name.setter + def primary_scale_set_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "primary_scale_set_name", value) + + @property + @pulumi.getter(name="resourceGroup") + def resource_group(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "resource_group") + + @resource_group.setter + def resource_group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_group", value) + + @property + @pulumi.getter(name="routeTableName") + def route_table_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "route_table_name") + + @route_table_name.setter + def route_table_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "route_table_name", value) + + @property + @pulumi.getter(name="securityGroupName") + def security_group_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "security_group_name") + + @security_group_name.setter + def security_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "security_group_name", value) + + @property + @pulumi.getter(name="subnetName") + def subnet_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "subnet_name") + + @subnet_name.setter + def subnet_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_name", value) + + @property + @pulumi.getter(name="useInstanceMetadata") + def use_instance_metadata(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_instance_metadata") + + @use_instance_metadata.setter + def use_instance_metadata(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_instance_metadata", value) + + @property + @pulumi.getter(name="useManagedIdentityExtension") + def use_managed_identity_extension(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_managed_identity_extension") + + @use_managed_identity_extension.setter + def use_managed_identity_extension(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_managed_identity_extension", value) + + @property + @pulumi.getter(name="vmType") + def vm_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "vm_type") + + @vm_type.setter + def vm_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vm_type", value) + + @property + @pulumi.getter(name="vnetName") + def vnet_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "vnet_name") + + @vnet_name.setter + def vnet_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vnet_name", value) + + @property + @pulumi.getter(name="vnetResourceGroup") + def vnet_resource_group(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "vnet_resource_group") + + @vnet_resource_group.setter + def vnet_resource_group(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vnet_resource_group", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs: + def __init__(__self__, *, + global_: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs'], + block_storage: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs']] = None, + load_balancer: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs']] = None, + metadata: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs']] = None, + route: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs']] = None): + pulumi.set(__self__, "global_", global_) + if block_storage is not None: + pulumi.set(__self__, "block_storage", block_storage) + if load_balancer is not None: + pulumi.set(__self__, "load_balancer", load_balancer) + if metadata is not None: + pulumi.set(__self__, "metadata", metadata) + if route is not None: + pulumi.set(__self__, "route", route) + + @property + @pulumi.getter(name="global") + def global_(self) -> pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs']: + return pulumi.get(self, "global_") - @aad_client_id.setter - def aad_client_id(self, value: pulumi.Input[str]): - pulumi.set(self, "aad_client_id", value) + @global_.setter + def global_(self, value: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs']): + pulumi.set(self, "global_", value) @property - @pulumi.getter(name="aadClientSecret") - def aad_client_secret(self) -> pulumi.Input[str]: - return pulumi.get(self, "aad_client_secret") + @pulumi.getter(name="blockStorage") + def block_storage(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs']]: + return pulumi.get(self, "block_storage") - @aad_client_secret.setter - def aad_client_secret(self, value: pulumi.Input[str]): - pulumi.set(self, "aad_client_secret", value) + @block_storage.setter + def block_storage(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs']]): + pulumi.set(self, "block_storage", value) @property - @pulumi.getter(name="subscriptionId") - def subscription_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "subscription_id") + @pulumi.getter(name="loadBalancer") + def load_balancer(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs']]: + return pulumi.get(self, "load_balancer") - @subscription_id.setter - def subscription_id(self, value: pulumi.Input[str]): - pulumi.set(self, "subscription_id", value) + @load_balancer.setter + def load_balancer(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs']]): + pulumi.set(self, "load_balancer", value) @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "tenant_id") + @pulumi.getter + def metadata(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs']]: + return pulumi.get(self, "metadata") - @tenant_id.setter - def tenant_id(self, value: pulumi.Input[str]): - pulumi.set(self, "tenant_id", value) + @metadata.setter + def metadata(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs']]): + pulumi.set(self, "metadata", value) @property - @pulumi.getter(name="aadClientCertPassword") - def aad_client_cert_password(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "aad_client_cert_password") + @pulumi.getter + def route(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs']]: + return pulumi.get(self, "route") - @aad_client_cert_password.setter - def aad_client_cert_password(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "aad_client_cert_password", value) + @route.setter + def route(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs']]): + pulumi.set(self, "route", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs: + def __init__(__self__, *, + bs_version: Optional[pulumi.Input[str]] = None, + ignore_volume_az: Optional[pulumi.Input[bool]] = None, + trust_device_path: Optional[pulumi.Input[bool]] = None): + if bs_version is not None: + pulumi.set(__self__, "bs_version", bs_version) + if ignore_volume_az is not None: + pulumi.set(__self__, "ignore_volume_az", ignore_volume_az) + if trust_device_path is not None: + pulumi.set(__self__, "trust_device_path", trust_device_path) @property - @pulumi.getter(name="aadClientCertPath") - def aad_client_cert_path(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "aad_client_cert_path") + @pulumi.getter(name="bsVersion") + def bs_version(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "bs_version") - @aad_client_cert_path.setter - def aad_client_cert_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "aad_client_cert_path", value) + @bs_version.setter + def bs_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bs_version", value) + + @property + @pulumi.getter(name="ignoreVolumeAz") + def ignore_volume_az(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "ignore_volume_az") + + @ignore_volume_az.setter + def ignore_volume_az(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "ignore_volume_az", value) + + @property + @pulumi.getter(name="trustDevicePath") + def trust_device_path(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "trust_device_path") + + @trust_device_path.setter + def trust_device_path(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "trust_device_path", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs: + def __init__(__self__, *, + auth_url: pulumi.Input[str], + password: pulumi.Input[str], + username: pulumi.Input[str], + ca_file: Optional[pulumi.Input[str]] = None, + domain_id: Optional[pulumi.Input[str]] = None, + domain_name: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tenant_name: Optional[pulumi.Input[str]] = None, + trust_id: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "auth_url", auth_url) + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) + if ca_file is not None: + pulumi.set(__self__, "ca_file", ca_file) + if domain_id is not None: + pulumi.set(__self__, "domain_id", domain_id) + if domain_name is not None: + pulumi.set(__self__, "domain_name", domain_name) + if region is not None: + pulumi.set(__self__, "region", region) + if tenant_id is not None: + pulumi.set(__self__, "tenant_id", tenant_id) + if tenant_name is not None: + pulumi.set(__self__, "tenant_name", tenant_name) + if trust_id is not None: + pulumi.set(__self__, "trust_id", trust_id) + + @property + @pulumi.getter(name="authUrl") + def auth_url(self) -> pulumi.Input[str]: + return pulumi.get(self, "auth_url") + + @auth_url.setter + def auth_url(self, value: pulumi.Input[str]): + pulumi.set(self, "auth_url", value) @property @pulumi.getter - def cloud(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "cloud") + def password(self) -> pulumi.Input[str]: + return pulumi.get(self, "password") - @cloud.setter - def cloud(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cloud", value) + @password.setter + def password(self, value: pulumi.Input[str]): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="cloudProviderBackoff") - def cloud_provider_backoff(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "cloud_provider_backoff") + @pulumi.getter + def username(self) -> pulumi.Input[str]: + return pulumi.get(self, "username") - @cloud_provider_backoff.setter - def cloud_provider_backoff(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "cloud_provider_backoff", value) + @username.setter + def username(self, value: pulumi.Input[str]): + pulumi.set(self, "username", value) @property - @pulumi.getter(name="cloudProviderBackoffDuration") - def cloud_provider_backoff_duration(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "cloud_provider_backoff_duration") + @pulumi.getter(name="caFile") + def ca_file(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ca_file") - @cloud_provider_backoff_duration.setter - def cloud_provider_backoff_duration(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "cloud_provider_backoff_duration", value) + @ca_file.setter + def ca_file(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ca_file", value) @property - @pulumi.getter(name="cloudProviderBackoffExponent") - def cloud_provider_backoff_exponent(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "cloud_provider_backoff_exponent") + @pulumi.getter(name="domainId") + def domain_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "domain_id") - @cloud_provider_backoff_exponent.setter - def cloud_provider_backoff_exponent(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "cloud_provider_backoff_exponent", value) + @domain_id.setter + def domain_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "domain_id", value) @property - @pulumi.getter(name="cloudProviderBackoffJitter") - def cloud_provider_backoff_jitter(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "cloud_provider_backoff_jitter") + @pulumi.getter(name="domainName") + def domain_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "domain_name") - @cloud_provider_backoff_jitter.setter - def cloud_provider_backoff_jitter(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "cloud_provider_backoff_jitter", value) + @domain_name.setter + def domain_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "domain_name", value) @property - @pulumi.getter(name="cloudProviderBackoffRetries") - def cloud_provider_backoff_retries(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "cloud_provider_backoff_retries") + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") - @cloud_provider_backoff_retries.setter - def cloud_provider_backoff_retries(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "cloud_provider_backoff_retries", value) + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) @property - @pulumi.getter(name="cloudProviderRateLimit") - def cloud_provider_rate_limit(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "cloud_provider_rate_limit") + @pulumi.getter(name="tenantId") + def tenant_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "tenant_id") - @cloud_provider_rate_limit.setter - def cloud_provider_rate_limit(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "cloud_provider_rate_limit", value) + @tenant_id.setter + def tenant_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_id", value) + + @property + @pulumi.getter(name="tenantName") + def tenant_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "tenant_name") + + @tenant_name.setter + def tenant_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant_name", value) @property - @pulumi.getter(name="cloudProviderRateLimitBucket") - def cloud_provider_rate_limit_bucket(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "cloud_provider_rate_limit_bucket") + @pulumi.getter(name="trustId") + def trust_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "trust_id") - @cloud_provider_rate_limit_bucket.setter - def cloud_provider_rate_limit_bucket(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "cloud_provider_rate_limit_bucket", value) + @trust_id.setter + def trust_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "trust_id", value) - @property - @pulumi.getter(name="cloudProviderRateLimitQps") - def cloud_provider_rate_limit_qps(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "cloud_provider_rate_limit_qps") - @cloud_provider_rate_limit_qps.setter - def cloud_provider_rate_limit_qps(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "cloud_provider_rate_limit_qps", value) +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs: + def __init__(__self__, *, + create_monitor: Optional[pulumi.Input[bool]] = None, + floating_network_id: Optional[pulumi.Input[str]] = None, + lb_method: Optional[pulumi.Input[str]] = None, + lb_provider: Optional[pulumi.Input[str]] = None, + lb_version: Optional[pulumi.Input[str]] = None, + manage_security_groups: Optional[pulumi.Input[bool]] = None, + monitor_delay: Optional[pulumi.Input[str]] = None, + monitor_max_retries: Optional[pulumi.Input[int]] = None, + monitor_timeout: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + use_octavia: Optional[pulumi.Input[bool]] = None): + if create_monitor is not None: + pulumi.set(__self__, "create_monitor", create_monitor) + if floating_network_id is not None: + pulumi.set(__self__, "floating_network_id", floating_network_id) + if lb_method is not None: + pulumi.set(__self__, "lb_method", lb_method) + if lb_provider is not None: + pulumi.set(__self__, "lb_provider", lb_provider) + if lb_version is not None: + pulumi.set(__self__, "lb_version", lb_version) + if manage_security_groups is not None: + pulumi.set(__self__, "manage_security_groups", manage_security_groups) + if monitor_delay is not None: + pulumi.set(__self__, "monitor_delay", monitor_delay) + if monitor_max_retries is not None: + pulumi.set(__self__, "monitor_max_retries", monitor_max_retries) + if monitor_timeout is not None: + pulumi.set(__self__, "monitor_timeout", monitor_timeout) + if subnet_id is not None: + pulumi.set(__self__, "subnet_id", subnet_id) + if use_octavia is not None: + pulumi.set(__self__, "use_octavia", use_octavia) @property - @pulumi.getter(name="loadBalancerSku") - def load_balancer_sku(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "load_balancer_sku") + @pulumi.getter(name="createMonitor") + def create_monitor(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "create_monitor") - @load_balancer_sku.setter - def load_balancer_sku(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "load_balancer_sku", value) + @create_monitor.setter + def create_monitor(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "create_monitor", value) @property - @pulumi.getter - def location(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "location") + @pulumi.getter(name="floatingNetworkId") + def floating_network_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "floating_network_id") - @location.setter - def location(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "location", value) + @floating_network_id.setter + def floating_network_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "floating_network_id", value) @property - @pulumi.getter(name="maximumLoadBalancerRuleCount") - def maximum_load_balancer_rule_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "maximum_load_balancer_rule_count") + @pulumi.getter(name="lbMethod") + def lb_method(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "lb_method") - @maximum_load_balancer_rule_count.setter - def maximum_load_balancer_rule_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "maximum_load_balancer_rule_count", value) + @lb_method.setter + def lb_method(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "lb_method", value) @property - @pulumi.getter(name="primaryAvailabilitySetName") - def primary_availability_set_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "primary_availability_set_name") + @pulumi.getter(name="lbProvider") + def lb_provider(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "lb_provider") - @primary_availability_set_name.setter - def primary_availability_set_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "primary_availability_set_name", value) + @lb_provider.setter + def lb_provider(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "lb_provider", value) @property - @pulumi.getter(name="primaryScaleSetName") - def primary_scale_set_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "primary_scale_set_name") + @pulumi.getter(name="lbVersion") + def lb_version(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "lb_version") - @primary_scale_set_name.setter - def primary_scale_set_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "primary_scale_set_name", value) + @lb_version.setter + def lb_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "lb_version", value) @property - @pulumi.getter(name="resourceGroup") - def resource_group(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "resource_group") + @pulumi.getter(name="manageSecurityGroups") + def manage_security_groups(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "manage_security_groups") - @resource_group.setter - def resource_group(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "resource_group", value) + @manage_security_groups.setter + def manage_security_groups(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "manage_security_groups", value) @property - @pulumi.getter(name="routeTableName") - def route_table_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "route_table_name") + @pulumi.getter(name="monitorDelay") + def monitor_delay(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "monitor_delay") - @route_table_name.setter - def route_table_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "route_table_name", value) + @monitor_delay.setter + def monitor_delay(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "monitor_delay", value) @property - @pulumi.getter(name="securityGroupName") - def security_group_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "security_group_name") + @pulumi.getter(name="monitorMaxRetries") + def monitor_max_retries(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "monitor_max_retries") - @security_group_name.setter - def security_group_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "security_group_name", value) + @monitor_max_retries.setter + def monitor_max_retries(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "monitor_max_retries", value) @property - @pulumi.getter(name="subnetName") - def subnet_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "subnet_name") + @pulumi.getter(name="monitorTimeout") + def monitor_timeout(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "monitor_timeout") - @subnet_name.setter - def subnet_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_name", value) + @monitor_timeout.setter + def monitor_timeout(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "monitor_timeout", value) @property - @pulumi.getter(name="useInstanceMetadata") - def use_instance_metadata(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "use_instance_metadata") + @pulumi.getter(name="subnetId") + def subnet_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "subnet_id") - @use_instance_metadata.setter - def use_instance_metadata(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "use_instance_metadata", value) + @subnet_id.setter + def subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_id", value) @property - @pulumi.getter(name="useManagedIdentityExtension") - def use_managed_identity_extension(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "use_managed_identity_extension") + @pulumi.getter(name="useOctavia") + def use_octavia(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "use_octavia") - @use_managed_identity_extension.setter - def use_managed_identity_extension(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "use_managed_identity_extension", value) + @use_octavia.setter + def use_octavia(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "use_octavia", value) - @property - @pulumi.getter(name="vmType") - def vm_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "vm_type") - @vm_type.setter - def vm_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vm_type", value) +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs: + def __init__(__self__, *, + request_timeout: Optional[pulumi.Input[int]] = None, + search_order: Optional[pulumi.Input[str]] = None): + if request_timeout is not None: + pulumi.set(__self__, "request_timeout", request_timeout) + if search_order is not None: + pulumi.set(__self__, "search_order", search_order) @property - @pulumi.getter(name="vnetName") - def vnet_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "vnet_name") + @pulumi.getter(name="requestTimeout") + def request_timeout(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "request_timeout") - @vnet_name.setter - def vnet_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vnet_name", value) + @request_timeout.setter + def request_timeout(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "request_timeout", value) @property - @pulumi.getter(name="vnetResourceGroup") - def vnet_resource_group(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "vnet_resource_group") + @pulumi.getter(name="searchOrder") + def search_order(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "search_order") - @vnet_resource_group.setter - def vnet_resource_group(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vnet_resource_group", value) + @search_order.setter + def search_order(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_order", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs: def __init__(__self__, *, - global_: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs'], - block_storage: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs']] = None, - load_balancer: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs']] = None, - metadata: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs']] = None, - route: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs']] = None): - pulumi.set(__self__, "global_", global_) - if block_storage is not None: - pulumi.set(__self__, "block_storage", block_storage) - if load_balancer is not None: - pulumi.set(__self__, "load_balancer", load_balancer) - if metadata is not None: - pulumi.set(__self__, "metadata", metadata) - if route is not None: - pulumi.set(__self__, "route", route) - - @property - @pulumi.getter(name="global") - def global_(self) -> pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs']: - return pulumi.get(self, "global_") - - @global_.setter - def global_(self, value: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs']): - pulumi.set(self, "global_", value) + router_id: Optional[pulumi.Input[str]] = None): + if router_id is not None: + pulumi.set(__self__, "router_id", router_id) @property - @pulumi.getter(name="blockStorage") - def block_storage(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs']]: - return pulumi.get(self, "block_storage") + @pulumi.getter(name="routerId") + def router_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "router_id") - @block_storage.setter - def block_storage(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs']]): - pulumi.set(self, "block_storage", value) + @router_id.setter + def router_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "router_id", value) - @property - @pulumi.getter(name="loadBalancer") - def load_balancer(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs']]: - return pulumi.get(self, "load_balancer") - @load_balancer.setter - def load_balancer(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs']]): - pulumi.set(self, "load_balancer", value) +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs: + def __init__(__self__, *, + virtual_centers: pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs']]], + workspace: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs'], + disk: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs']] = None, + global_: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs']] = None, + network: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs']] = None): + pulumi.set(__self__, "virtual_centers", virtual_centers) + pulumi.set(__self__, "workspace", workspace) + if disk is not None: + pulumi.set(__self__, "disk", disk) + if global_ is not None: + pulumi.set(__self__, "global_", global_) + if network is not None: + pulumi.set(__self__, "network", network) @property - @pulumi.getter - def metadata(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs']]: - return pulumi.get(self, "metadata") + @pulumi.getter(name="virtualCenters") + def virtual_centers(self) -> pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs']]]: + return pulumi.get(self, "virtual_centers") - @metadata.setter - def metadata(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs']]): - pulumi.set(self, "metadata", value) + @virtual_centers.setter + def virtual_centers(self, value: pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs']]]): + pulumi.set(self, "virtual_centers", value) @property @pulumi.getter - def route(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs']]: - return pulumi.get(self, "route") - - @route.setter - def route(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs']]): - pulumi.set(self, "route", value) - + def workspace(self) -> pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs']: + return pulumi.get(self, "workspace") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderBlockStorageArgs: - def __init__(__self__, *, - bs_version: Optional[pulumi.Input[str]] = None, - ignore_volume_az: Optional[pulumi.Input[bool]] = None, - trust_device_path: Optional[pulumi.Input[bool]] = None): - if bs_version is not None: - pulumi.set(__self__, "bs_version", bs_version) - if ignore_volume_az is not None: - pulumi.set(__self__, "ignore_volume_az", ignore_volume_az) - if trust_device_path is not None: - pulumi.set(__self__, "trust_device_path", trust_device_path) + @workspace.setter + def workspace(self, value: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs']): + pulumi.set(self, "workspace", value) @property - @pulumi.getter(name="bsVersion") - def bs_version(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "bs_version") + @pulumi.getter + def disk(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs']]: + return pulumi.get(self, "disk") - @bs_version.setter - def bs_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "bs_version", value) + @disk.setter + def disk(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs']]): + pulumi.set(self, "disk", value) @property - @pulumi.getter(name="ignoreVolumeAz") - def ignore_volume_az(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "ignore_volume_az") + @pulumi.getter(name="global") + def global_(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs']]: + return pulumi.get(self, "global_") - @ignore_volume_az.setter - def ignore_volume_az(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "ignore_volume_az", value) + @global_.setter + def global_(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs']]): + pulumi.set(self, "global_", value) @property - @pulumi.getter(name="trustDevicePath") - def trust_device_path(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "trust_device_path") + @pulumi.getter + def network(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs']]: + return pulumi.get(self, "network") - @trust_device_path.setter - def trust_device_path(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "trust_device_path", value) + @network.setter + def network(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs']]): + pulumi.set(self, "network", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderGlobalArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs: def __init__(__self__, *, - auth_url: pulumi.Input[str], - password: pulumi.Input[str], - username: pulumi.Input[str], - ca_file: Optional[pulumi.Input[str]] = None, - domain_id: Optional[pulumi.Input[str]] = None, - domain_name: Optional[pulumi.Input[str]] = None, - region: Optional[pulumi.Input[str]] = None, - tenant_id: Optional[pulumi.Input[str]] = None, - tenant_name: Optional[pulumi.Input[str]] = None, - trust_id: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "auth_url", auth_url) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) - if ca_file is not None: - pulumi.set(__self__, "ca_file", ca_file) - if domain_id is not None: - pulumi.set(__self__, "domain_id", domain_id) - if domain_name is not None: - pulumi.set(__self__, "domain_name", domain_name) - if region is not None: - pulumi.set(__self__, "region", region) - if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) - if tenant_name is not None: - pulumi.set(__self__, "tenant_name", tenant_name) - if trust_id is not None: - pulumi.set(__self__, "trust_id", trust_id) + scsi_controller_type: Optional[pulumi.Input[str]] = None): + if scsi_controller_type is not None: + pulumi.set(__self__, "scsi_controller_type", scsi_controller_type) @property - @pulumi.getter(name="authUrl") - def auth_url(self) -> pulumi.Input[str]: - return pulumi.get(self, "auth_url") + @pulumi.getter(name="scsiControllerType") + def scsi_controller_type(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "scsi_controller_type") - @auth_url.setter - def auth_url(self, value: pulumi.Input[str]): - pulumi.set(self, "auth_url", value) + @scsi_controller_type.setter + def scsi_controller_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scsi_controller_type", value) - @property - @pulumi.getter - def password(self) -> pulumi.Input[str]: - return pulumi.get(self, "password") - @password.setter - def password(self, value: pulumi.Input[str]): - pulumi.set(self, "password", value) +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs: + def __init__(__self__, *, + datacenters: Optional[pulumi.Input[str]] = None, + insecure_flag: Optional[pulumi.Input[bool]] = None, + password: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[str]] = None, + soap_roundtrip_count: Optional[pulumi.Input[int]] = None, + user: Optional[pulumi.Input[str]] = None): + if datacenters is not None: + pulumi.set(__self__, "datacenters", datacenters) + if insecure_flag is not None: + pulumi.set(__self__, "insecure_flag", insecure_flag) + if password is not None: + pulumi.set(__self__, "password", password) + if port is not None: + pulumi.set(__self__, "port", port) + if soap_roundtrip_count is not None: + pulumi.set(__self__, "soap_roundtrip_count", soap_roundtrip_count) + if user is not None: + pulumi.set(__self__, "user", user) @property @pulumi.getter - def username(self) -> pulumi.Input[str]: - return pulumi.get(self, "username") + def datacenters(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "datacenters") - @username.setter - def username(self, value: pulumi.Input[str]): - pulumi.set(self, "username", value) + @datacenters.setter + def datacenters(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "datacenters", value) @property - @pulumi.getter(name="caFile") - def ca_file(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ca_file") + @pulumi.getter(name="insecureFlag") + def insecure_flag(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "insecure_flag") - @ca_file.setter - def ca_file(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ca_file", value) + @insecure_flag.setter + def insecure_flag(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "insecure_flag", value) @property - @pulumi.getter(name="domainId") - def domain_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "domain_id") + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "password") - @domain_id.setter - def domain_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "domain_id", value) + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="domainName") - def domain_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "domain_name") + @pulumi.getter + def port(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "port") - @domain_name.setter - def domain_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "domain_name", value) + @port.setter + def port(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "port", value) @property - @pulumi.getter - def region(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "region") + @pulumi.getter(name="soapRoundtripCount") + def soap_roundtrip_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "soap_roundtrip_count") - @region.setter - def region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "region", value) + @soap_roundtrip_count.setter + def soap_roundtrip_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "soap_roundtrip_count", value) @property - @pulumi.getter(name="tenantId") - def tenant_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "tenant_id") + @pulumi.getter + def user(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "user") - @tenant_id.setter - def tenant_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tenant_id", value) + @user.setter + def user(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user", value) - @property - @pulumi.getter(name="tenantName") - def tenant_name(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "tenant_name") - @tenant_name.setter - def tenant_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "tenant_name", value) +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs: + def __init__(__self__, *, + public_network: Optional[pulumi.Input[str]] = None): + if public_network is not None: + pulumi.set(__self__, "public_network", public_network) @property - @pulumi.getter(name="trustId") - def trust_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "trust_id") + @pulumi.getter(name="publicNetwork") + def public_network(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "public_network") - @trust_id.setter - def trust_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "trust_id", value) + @public_network.setter + def public_network(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "public_network", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderLoadBalancerArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs: def __init__(__self__, *, - create_monitor: Optional[pulumi.Input[bool]] = None, - floating_network_id: Optional[pulumi.Input[str]] = None, - lb_method: Optional[pulumi.Input[str]] = None, - lb_provider: Optional[pulumi.Input[str]] = None, - lb_version: Optional[pulumi.Input[str]] = None, - manage_security_groups: Optional[pulumi.Input[bool]] = None, - monitor_delay: Optional[pulumi.Input[str]] = None, - monitor_max_retries: Optional[pulumi.Input[int]] = None, - monitor_timeout: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, - use_octavia: Optional[pulumi.Input[bool]] = None): - if create_monitor is not None: - pulumi.set(__self__, "create_monitor", create_monitor) - if floating_network_id is not None: - pulumi.set(__self__, "floating_network_id", floating_network_id) - if lb_method is not None: - pulumi.set(__self__, "lb_method", lb_method) - if lb_provider is not None: - pulumi.set(__self__, "lb_provider", lb_provider) - if lb_version is not None: - pulumi.set(__self__, "lb_version", lb_version) - if manage_security_groups is not None: - pulumi.set(__self__, "manage_security_groups", manage_security_groups) - if monitor_delay is not None: - pulumi.set(__self__, "monitor_delay", monitor_delay) - if monitor_max_retries is not None: - pulumi.set(__self__, "monitor_max_retries", monitor_max_retries) - if monitor_timeout is not None: - pulumi.set(__self__, "monitor_timeout", monitor_timeout) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) - if use_octavia is not None: - pulumi.set(__self__, "use_octavia", use_octavia) + datacenters: pulumi.Input[str], + name: pulumi.Input[str], + password: pulumi.Input[str], + user: pulumi.Input[str], + port: Optional[pulumi.Input[str]] = None, + soap_roundtrip_count: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[str] name: The cluster template revision name (string) + """ + pulumi.set(__self__, "datacenters", datacenters) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "user", user) + if port is not None: + pulumi.set(__self__, "port", port) + if soap_roundtrip_count is not None: + pulumi.set(__self__, "soap_roundtrip_count", soap_roundtrip_count) @property - @pulumi.getter(name="createMonitor") - def create_monitor(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "create_monitor") + @pulumi.getter + def datacenters(self) -> pulumi.Input[str]: + return pulumi.get(self, "datacenters") - @create_monitor.setter - def create_monitor(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "create_monitor", value) + @datacenters.setter + def datacenters(self, value: pulumi.Input[str]): + pulumi.set(self, "datacenters", value) @property - @pulumi.getter(name="floatingNetworkId") - def floating_network_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "floating_network_id") + @pulumi.getter + def name(self) -> pulumi.Input[str]: + """ + The cluster template revision name (string) + """ + return pulumi.get(self, "name") - @floating_network_id.setter - def floating_network_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "floating_network_id", value) + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) @property - @pulumi.getter(name="lbMethod") - def lb_method(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "lb_method") + @pulumi.getter + def password(self) -> pulumi.Input[str]: + return pulumi.get(self, "password") - @lb_method.setter - def lb_method(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "lb_method", value) + @password.setter + def password(self, value: pulumi.Input[str]): + pulumi.set(self, "password", value) @property - @pulumi.getter(name="lbProvider") - def lb_provider(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "lb_provider") + @pulumi.getter + def user(self) -> pulumi.Input[str]: + return pulumi.get(self, "user") - @lb_provider.setter - def lb_provider(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "lb_provider", value) + @user.setter + def user(self, value: pulumi.Input[str]): + pulumi.set(self, "user", value) @property - @pulumi.getter(name="lbVersion") - def lb_version(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "lb_version") + @pulumi.getter + def port(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "port") - @lb_version.setter - def lb_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "lb_version", value) + @port.setter + def port(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "port", value) @property - @pulumi.getter(name="manageSecurityGroups") - def manage_security_groups(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "manage_security_groups") + @pulumi.getter(name="soapRoundtripCount") + def soap_roundtrip_count(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "soap_roundtrip_count") - @manage_security_groups.setter - def manage_security_groups(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "manage_security_groups", value) + @soap_roundtrip_count.setter + def soap_roundtrip_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "soap_roundtrip_count", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs: + def __init__(__self__, *, + datacenter: pulumi.Input[str], + folder: pulumi.Input[str], + server: pulumi.Input[str], + default_datastore: Optional[pulumi.Input[str]] = None, + resourcepool_path: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "datacenter", datacenter) + pulumi.set(__self__, "folder", folder) + pulumi.set(__self__, "server", server) + if default_datastore is not None: + pulumi.set(__self__, "default_datastore", default_datastore) + if resourcepool_path is not None: + pulumi.set(__self__, "resourcepool_path", resourcepool_path) @property - @pulumi.getter(name="monitorDelay") - def monitor_delay(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "monitor_delay") + @pulumi.getter + def datacenter(self) -> pulumi.Input[str]: + return pulumi.get(self, "datacenter") - @monitor_delay.setter - def monitor_delay(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "monitor_delay", value) + @datacenter.setter + def datacenter(self, value: pulumi.Input[str]): + pulumi.set(self, "datacenter", value) @property - @pulumi.getter(name="monitorMaxRetries") - def monitor_max_retries(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "monitor_max_retries") + @pulumi.getter + def folder(self) -> pulumi.Input[str]: + return pulumi.get(self, "folder") - @monitor_max_retries.setter - def monitor_max_retries(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "monitor_max_retries", value) + @folder.setter + def folder(self, value: pulumi.Input[str]): + pulumi.set(self, "folder", value) @property - @pulumi.getter(name="monitorTimeout") - def monitor_timeout(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "monitor_timeout") + @pulumi.getter + def server(self) -> pulumi.Input[str]: + return pulumi.get(self, "server") - @monitor_timeout.setter - def monitor_timeout(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "monitor_timeout", value) + @server.setter + def server(self, value: pulumi.Input[str]): + pulumi.set(self, "server", value) @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "subnet_id") + @pulumi.getter(name="defaultDatastore") + def default_datastore(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "default_datastore") - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) + @default_datastore.setter + def default_datastore(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_datastore", value) @property - @pulumi.getter(name="useOctavia") - def use_octavia(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "use_octavia") + @pulumi.getter(name="resourcepoolPath") + def resourcepool_path(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "resourcepool_path") - @use_octavia.setter - def use_octavia(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "use_octavia", value) + @resourcepool_path.setter + def resourcepool_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resourcepool_path", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderMetadataArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs: def __init__(__self__, *, - request_timeout: Optional[pulumi.Input[int]] = None, - search_order: Optional[pulumi.Input[str]] = None): - if request_timeout is not None: - pulumi.set(__self__, "request_timeout", request_timeout) - if search_order is not None: - pulumi.set(__self__, "search_order", search_order) - - @property - @pulumi.getter(name="requestTimeout") - def request_timeout(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "request_timeout") - - @request_timeout.setter - def request_timeout(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "request_timeout", value) + linear_autoscaler_params: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs']] = None, + node_selector: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nodelocal: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs']] = None, + options: Optional[pulumi.Input[Mapping[str, Any]]] = None, + provider: Optional[pulumi.Input[str]] = None, + reverse_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + 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): + if linear_autoscaler_params is not None: + pulumi.set(__self__, "linear_autoscaler_params", linear_autoscaler_params) + if node_selector is not None: + pulumi.set(__self__, "node_selector", node_selector) + if nodelocal is not None: + pulumi.set(__self__, "nodelocal", nodelocal) + if options is not None: + pulumi.set(__self__, "options", options) + if provider is not None: + pulumi.set(__self__, "provider", provider) + if reverse_cidrs is not None: + pulumi.set(__self__, "reverse_cidrs", reverse_cidrs) + if tolerations is not None: + pulumi.set(__self__, "tolerations", tolerations) + if update_strategy is not None: + pulumi.set(__self__, "update_strategy", update_strategy) + if upstream_nameservers is not None: + pulumi.set(__self__, "upstream_nameservers", upstream_nameservers) @property - @pulumi.getter(name="searchOrder") - def search_order(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "search_order") - - @search_order.setter - def search_order(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "search_order", value) - + @pulumi.getter(name="linearAutoscalerParams") + def linear_autoscaler_params(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs']]: + return pulumi.get(self, "linear_autoscaler_params") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderOpenstackCloudProviderRouteArgs: - def __init__(__self__, *, - router_id: Optional[pulumi.Input[str]] = None): - if router_id is not None: - pulumi.set(__self__, "router_id", router_id) + @linear_autoscaler_params.setter + def linear_autoscaler_params(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs']]): + pulumi.set(self, "linear_autoscaler_params", value) @property - @pulumi.getter(name="routerId") - def router_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "router_id") - - @router_id.setter - def router_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "router_id", value) - + @pulumi.getter(name="nodeSelector") + def node_selector(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "node_selector") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderArgs: - def __init__(__self__, *, - virtual_centers: pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs']]], - workspace: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs'], - disk: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs']] = None, - global_: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs']] = None, - network: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs']] = None): - pulumi.set(__self__, "virtual_centers", virtual_centers) - pulumi.set(__self__, "workspace", workspace) - if disk is not None: - pulumi.set(__self__, "disk", disk) - if global_ is not None: - pulumi.set(__self__, "global_", global_) - if network is not None: - pulumi.set(__self__, "network", network) + @node_selector.setter + def node_selector(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "node_selector", value) @property - @pulumi.getter(name="virtualCenters") - def virtual_centers(self) -> pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs']]]: - return pulumi.get(self, "virtual_centers") + @pulumi.getter + def nodelocal(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs']]: + return pulumi.get(self, "nodelocal") - @virtual_centers.setter - def virtual_centers(self, value: pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs']]]): - pulumi.set(self, "virtual_centers", value) + @nodelocal.setter + def nodelocal(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs']]): + pulumi.set(self, "nodelocal", value) @property @pulumi.getter - def workspace(self) -> pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs']: - return pulumi.get(self, "workspace") + def options(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "options") - @workspace.setter - def workspace(self, value: pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs']): - pulumi.set(self, "workspace", value) + @options.setter + def options(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "options", value) @property @pulumi.getter - def disk(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs']]: - return pulumi.get(self, "disk") + def provider(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "provider") - @disk.setter - def disk(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs']]): - pulumi.set(self, "disk", value) + @provider.setter + def provider(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "provider", value) @property - @pulumi.getter(name="global") - def global_(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs']]: - return pulumi.get(self, "global_") + @pulumi.getter(name="reverseCidrs") + def reverse_cidrs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "reverse_cidrs") - @global_.setter - def global_(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs']]): - pulumi.set(self, "global_", value) + @reverse_cidrs.setter + def reverse_cidrs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "reverse_cidrs", value) @property @pulumi.getter - def network(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs']]: - return pulumi.get(self, "network") + def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs']]]]: + return pulumi.get(self, "tolerations") - @network.setter - def network(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs']]): - pulumi.set(self, "network", value) + @tolerations.setter + def tolerations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs']]]]): + pulumi.set(self, "tolerations", value) + @property + @pulumi.getter(name="updateStrategy") + def update_strategy(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs']]: + return pulumi.get(self, "update_strategy") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderDiskArgs: - def __init__(__self__, *, - scsi_controller_type: Optional[pulumi.Input[str]] = None): - if scsi_controller_type is not None: - pulumi.set(__self__, "scsi_controller_type", scsi_controller_type) + @update_strategy.setter + def update_strategy(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs']]): + pulumi.set(self, "update_strategy", value) @property - @pulumi.getter(name="scsiControllerType") - def scsi_controller_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "scsi_controller_type") + @pulumi.getter(name="upstreamNameservers") + def upstream_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "upstream_nameservers") - @scsi_controller_type.setter - def scsi_controller_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "scsi_controller_type", value) + @upstream_nameservers.setter + def upstream_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "upstream_nameservers", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderGlobalArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs: def __init__(__self__, *, - datacenters: Optional[pulumi.Input[str]] = None, - insecure_flag: Optional[pulumi.Input[bool]] = None, - password: Optional[pulumi.Input[str]] = None, - port: Optional[pulumi.Input[str]] = None, - soap_roundtrip_count: Optional[pulumi.Input[int]] = None, - user: Optional[pulumi.Input[str]] = None): - if datacenters is not None: - pulumi.set(__self__, "datacenters", datacenters) - if insecure_flag is not None: - pulumi.set(__self__, "insecure_flag", insecure_flag) - if password is not None: - pulumi.set(__self__, "password", password) - if port is not None: - pulumi.set(__self__, "port", port) - if soap_roundtrip_count is not None: - pulumi.set(__self__, "soap_roundtrip_count", soap_roundtrip_count) - if user is not None: - pulumi.set(__self__, "user", user) - - @property - @pulumi.getter - def datacenters(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "datacenters") - - @datacenters.setter - def datacenters(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "datacenters", value) + cores_per_replica: Optional[pulumi.Input[float]] = None, + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + nodes_per_replica: Optional[pulumi.Input[float]] = None, + prevent_single_point_failure: Optional[pulumi.Input[bool]] = None): + if cores_per_replica is not None: + pulumi.set(__self__, "cores_per_replica", cores_per_replica) + if max is not None: + pulumi.set(__self__, "max", max) + if min is not None: + pulumi.set(__self__, "min", min) + if nodes_per_replica is not None: + pulumi.set(__self__, "nodes_per_replica", nodes_per_replica) + if prevent_single_point_failure is not None: + pulumi.set(__self__, "prevent_single_point_failure", prevent_single_point_failure) @property - @pulumi.getter(name="insecureFlag") - def insecure_flag(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "insecure_flag") + @pulumi.getter(name="coresPerReplica") + def cores_per_replica(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "cores_per_replica") - @insecure_flag.setter - def insecure_flag(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "insecure_flag", value) + @cores_per_replica.setter + def cores_per_replica(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "cores_per_replica", value) @property @pulumi.getter - def password(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "password") + def max(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "max") - @password.setter - def password(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "password", value) + @max.setter + def max(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max", value) @property @pulumi.getter - def port(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "port") + def min(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "min") - @port.setter - def port(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "port", value) + @min.setter + def min(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "min", value) @property - @pulumi.getter(name="soapRoundtripCount") - def soap_roundtrip_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "soap_roundtrip_count") + @pulumi.getter(name="nodesPerReplica") + def nodes_per_replica(self) -> Optional[pulumi.Input[float]]: + return pulumi.get(self, "nodes_per_replica") - @soap_roundtrip_count.setter - def soap_roundtrip_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "soap_roundtrip_count", value) + @nodes_per_replica.setter + def nodes_per_replica(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "nodes_per_replica", value) @property - @pulumi.getter - def user(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "user") + @pulumi.getter(name="preventSinglePointFailure") + def prevent_single_point_failure(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "prevent_single_point_failure") - @user.setter - def user(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "user", value) + @prevent_single_point_failure.setter + def prevent_single_point_failure(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "prevent_single_point_failure", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderNetworkArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs: def __init__(__self__, *, - public_network: Optional[pulumi.Input[str]] = None): - if public_network is not None: - pulumi.set(__self__, "public_network", public_network) + ip_address: Optional[pulumi.Input[str]] = None, + node_selector: Optional[pulumi.Input[Mapping[str, Any]]] = None): + if ip_address is not None: + pulumi.set(__self__, "ip_address", ip_address) + if node_selector is not None: + pulumi.set(__self__, "node_selector", node_selector) + + @property + @pulumi.getter(name="ipAddress") + def ip_address(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ip_address") + + @ip_address.setter + def ip_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip_address", value) @property - @pulumi.getter(name="publicNetwork") - def public_network(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "public_network") + @pulumi.getter(name="nodeSelector") + def node_selector(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "node_selector") - @public_network.setter - def public_network(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "public_network", value) + @node_selector.setter + def node_selector(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "node_selector", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderVirtualCenterArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs: def __init__(__self__, *, - datacenters: pulumi.Input[str], - name: pulumi.Input[str], - password: pulumi.Input[str], - user: pulumi.Input[str], - port: Optional[pulumi.Input[str]] = None, - soap_roundtrip_count: Optional[pulumi.Input[int]] = None): - """ - :param pulumi.Input[str] name: The cluster template revision name (string) - """ - pulumi.set(__self__, "datacenters", datacenters) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "user", user) - if port is not None: - pulumi.set(__self__, "port", port) - if soap_roundtrip_count is not None: - pulumi.set(__self__, "soap_roundtrip_count", soap_roundtrip_count) + key: pulumi.Input[str], + effect: Optional[pulumi.Input[str]] = None, + operator: Optional[pulumi.Input[str]] = None, + seconds: Optional[pulumi.Input[int]] = None, + value: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "key", key) + if effect is not None: + pulumi.set(__self__, "effect", effect) + if operator is not None: + pulumi.set(__self__, "operator", operator) + if seconds is not None: + pulumi.set(__self__, "seconds", seconds) + if value is not None: + pulumi.set(__self__, "value", value) @property @pulumi.getter - def datacenters(self) -> pulumi.Input[str]: - return pulumi.get(self, "datacenters") + def key(self) -> pulumi.Input[str]: + return pulumi.get(self, "key") - @datacenters.setter - def datacenters(self, value: pulumi.Input[str]): - pulumi.set(self, "datacenters", value) + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) @property @pulumi.getter - def name(self) -> pulumi.Input[str]: - """ - The cluster template revision name (string) - """ - return pulumi.get(self, "name") + def effect(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "effect") - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + @effect.setter + def effect(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "effect", value) @property @pulumi.getter - def password(self) -> pulumi.Input[str]: - return pulumi.get(self, "password") + def operator(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "operator") - @password.setter - def password(self, value: pulumi.Input[str]): - pulumi.set(self, "password", value) + @operator.setter + def operator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "operator", value) @property @pulumi.getter - def user(self) -> pulumi.Input[str]: - return pulumi.get(self, "user") + def seconds(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "seconds") - @user.setter - def user(self, value: pulumi.Input[str]): - pulumi.set(self, "user", value) + @seconds.setter + def seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "seconds", value) @property @pulumi.getter - def port(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "port") - - @port.setter - def port(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "port", value) - - @property - @pulumi.getter(name="soapRoundtripCount") - def soap_roundtrip_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "soap_roundtrip_count") + def value(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "value") - @soap_roundtrip_count.setter - def soap_roundtrip_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "soap_roundtrip_count", value) + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigCloudProviderVsphereCloudProviderWorkspaceArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs: def __init__(__self__, *, - datacenter: pulumi.Input[str], - folder: pulumi.Input[str], - server: pulumi.Input[str], - default_datastore: Optional[pulumi.Input[str]] = None, - resourcepool_path: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "datacenter", datacenter) - pulumi.set(__self__, "folder", folder) - pulumi.set(__self__, "server", server) - if default_datastore is not None: - pulumi.set(__self__, "default_datastore", default_datastore) - if resourcepool_path is not None: - pulumi.set(__self__, "resourcepool_path", resourcepool_path) + rolling_update: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs']] = None, + strategy: Optional[pulumi.Input[str]] = None): + if rolling_update is not None: + pulumi.set(__self__, "rolling_update", rolling_update) + if strategy is not None: + pulumi.set(__self__, "strategy", strategy) @property - @pulumi.getter - def datacenter(self) -> pulumi.Input[str]: - return pulumi.get(self, "datacenter") + @pulumi.getter(name="rollingUpdate") + def rolling_update(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs']]: + return pulumi.get(self, "rolling_update") - @datacenter.setter - def datacenter(self, value: pulumi.Input[str]): - pulumi.set(self, "datacenter", value) + @rolling_update.setter + def rolling_update(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs']]): + pulumi.set(self, "rolling_update", value) @property @pulumi.getter - def folder(self) -> pulumi.Input[str]: - return pulumi.get(self, "folder") + def strategy(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "strategy") - @folder.setter - def folder(self, value: pulumi.Input[str]): - pulumi.set(self, "folder", value) + @strategy.setter + def strategy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "strategy", value) - @property - @pulumi.getter - def server(self) -> pulumi.Input[str]: - return pulumi.get(self, "server") - @server.setter - def server(self, value: pulumi.Input[str]): - pulumi.set(self, "server", value) +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs: + def __init__(__self__, *, + max_surge: Optional[pulumi.Input[int]] = None, + max_unavailable: Optional[pulumi.Input[int]] = None): + if max_surge is not None: + pulumi.set(__self__, "max_surge", max_surge) + if max_unavailable is not None: + pulumi.set(__self__, "max_unavailable", max_unavailable) @property - @pulumi.getter(name="defaultDatastore") - def default_datastore(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "default_datastore") + @pulumi.getter(name="maxSurge") + def max_surge(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "max_surge") - @default_datastore.setter - def default_datastore(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "default_datastore", value) + @max_surge.setter + def max_surge(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_surge", value) @property - @pulumi.getter(name="resourcepoolPath") - def resourcepool_path(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "resourcepool_path") + @pulumi.getter(name="maxUnavailable") + def max_unavailable(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "max_unavailable") - @resourcepool_path.setter - def resourcepool_path(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "resourcepool_path", value) + @max_unavailable.setter + def max_unavailable(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_unavailable", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs: def __init__(__self__, *, - linear_autoscaler_params: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs']] = None, + default_backend: Optional[pulumi.Input[bool]] = None, + dns_policy: Optional[pulumi.Input[str]] = None, + extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, + http_port: Optional[pulumi.Input[int]] = None, + https_port: Optional[pulumi.Input[int]] = None, + network_mode: Optional[pulumi.Input[str]] = None, node_selector: Optional[pulumi.Input[Mapping[str, Any]]] = None, - nodelocal: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs']] = None, options: Optional[pulumi.Input[Mapping[str, Any]]] = None, provider: Optional[pulumi.Input[str]] = None, - reverse_cidrs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - 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): - if linear_autoscaler_params is not None: - pulumi.set(__self__, "linear_autoscaler_params", linear_autoscaler_params) + tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs']]]] = None, + update_strategy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs']] = None): + if default_backend is not None: + pulumi.set(__self__, "default_backend", default_backend) + if dns_policy is not None: + pulumi.set(__self__, "dns_policy", dns_policy) + if extra_args is not None: + pulumi.set(__self__, "extra_args", extra_args) + if http_port is not None: + pulumi.set(__self__, "http_port", http_port) + if https_port is not None: + pulumi.set(__self__, "https_port", https_port) + if network_mode is not None: + pulumi.set(__self__, "network_mode", network_mode) if node_selector is not None: pulumi.set(__self__, "node_selector", node_selector) - if nodelocal is not None: - pulumi.set(__self__, "nodelocal", nodelocal) if options is not None: pulumi.set(__self__, "options", options) if provider is not None: pulumi.set(__self__, "provider", provider) - if reverse_cidrs is not None: - pulumi.set(__self__, "reverse_cidrs", reverse_cidrs) if tolerations is not None: pulumi.set(__self__, "tolerations", tolerations) if update_strategy is not None: pulumi.set(__self__, "update_strategy", update_strategy) - if upstream_nameservers is not None: - pulumi.set(__self__, "upstream_nameservers", upstream_nameservers) @property - @pulumi.getter(name="linearAutoscalerParams") - def linear_autoscaler_params(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs']]: - return pulumi.get(self, "linear_autoscaler_params") + @pulumi.getter(name="defaultBackend") + def default_backend(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "default_backend") + + @default_backend.setter + def default_backend(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "default_backend", value) + + @property + @pulumi.getter(name="dnsPolicy") + def dns_policy(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "dns_policy") + + @dns_policy.setter + def dns_policy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "dns_policy", value) + + @property + @pulumi.getter(name="extraArgs") + def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "extra_args") + + @extra_args.setter + def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "extra_args", value) + + @property + @pulumi.getter(name="httpPort") + def http_port(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "http_port") - @linear_autoscaler_params.setter - def linear_autoscaler_params(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs']]): - pulumi.set(self, "linear_autoscaler_params", value) + @http_port.setter + def http_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "http_port", value) + + @property + @pulumi.getter(name="httpsPort") + def https_port(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "https_port") + + @https_port.setter + def https_port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "https_port", value) + + @property + @pulumi.getter(name="networkMode") + def network_mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "network_mode") + + @network_mode.setter + def network_mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "network_mode", value) @property @pulumi.getter(name="nodeSelector") @@ -15963,15 +17534,6 @@ def node_selector(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: def node_selector(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): pulumi.set(self, "node_selector", value) - @property - @pulumi.getter - def nodelocal(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs']]: - return pulumi.get(self, "nodelocal") - - @nodelocal.setter - def nodelocal(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs']]): - pulumi.set(self, "nodelocal", value) - @property @pulumi.getter def options(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -15990,139 +17552,214 @@ def provider(self) -> Optional[pulumi.Input[str]]: def provider(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "provider", value) - @property - @pulumi.getter(name="reverseCidrs") - def reverse_cidrs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "reverse_cidrs") - - @reverse_cidrs.setter - def reverse_cidrs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "reverse_cidrs", value) - @property @pulumi.getter - def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs']]]]: + def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs']]]]: return pulumi.get(self, "tolerations") @tolerations.setter - def tolerations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs']]]]): + def tolerations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs']]]]): pulumi.set(self, "tolerations", value) @property @pulumi.getter(name="updateStrategy") - def update_strategy(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs']]: + def update_strategy(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs']]: return pulumi.get(self, "update_strategy") @update_strategy.setter - def update_strategy(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs']]): + def update_strategy(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs']]): pulumi.set(self, "update_strategy", value) + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + effect: Optional[pulumi.Input[str]] = None, + operator: Optional[pulumi.Input[str]] = None, + seconds: Optional[pulumi.Input[int]] = None, + value: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "key", key) + if effect is not None: + pulumi.set(__self__, "effect", effect) + if operator is not None: + pulumi.set(__self__, "operator", operator) + if seconds is not None: + pulumi.set(__self__, "seconds", seconds) + if value is not None: + pulumi.set(__self__, "value", value) + @property - @pulumi.getter(name="upstreamNameservers") - def upstream_nameservers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "upstream_nameservers") + @pulumi.getter + def key(self) -> pulumi.Input[str]: + return pulumi.get(self, "key") - @upstream_nameservers.setter - def upstream_nameservers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "upstream_nameservers", value) + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + @property + @pulumi.getter + def effect(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "effect") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsLinearAutoscalerParamsArgs: - def __init__(__self__, *, - cores_per_replica: Optional[pulumi.Input[float]] = None, - max: Optional[pulumi.Input[int]] = None, - min: Optional[pulumi.Input[int]] = None, - nodes_per_replica: Optional[pulumi.Input[float]] = None, - prevent_single_point_failure: Optional[pulumi.Input[bool]] = None): - if cores_per_replica is not None: - pulumi.set(__self__, "cores_per_replica", cores_per_replica) - if max is not None: - pulumi.set(__self__, "max", max) - if min is not None: - pulumi.set(__self__, "min", min) - if nodes_per_replica is not None: - pulumi.set(__self__, "nodes_per_replica", nodes_per_replica) - if prevent_single_point_failure is not None: - pulumi.set(__self__, "prevent_single_point_failure", prevent_single_point_failure) + @effect.setter + def effect(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "effect", value) @property - @pulumi.getter(name="coresPerReplica") - def cores_per_replica(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "cores_per_replica") + @pulumi.getter + def operator(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "operator") - @cores_per_replica.setter - def cores_per_replica(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "cores_per_replica", value) + @operator.setter + def operator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "operator", value) @property @pulumi.getter - def max(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "max") + def seconds(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "seconds") - @max.setter - def max(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max", value) + @seconds.setter + def seconds(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "seconds", value) @property @pulumi.getter - def min(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "min") + def value(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "value") - @min.setter - def min(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "min", value) + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs: + def __init__(__self__, *, + rolling_update: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs']] = None, + strategy: Optional[pulumi.Input[str]] = None): + if rolling_update is not None: + pulumi.set(__self__, "rolling_update", rolling_update) + if strategy is not None: + pulumi.set(__self__, "strategy", strategy) @property - @pulumi.getter(name="nodesPerReplica") - def nodes_per_replica(self) -> Optional[pulumi.Input[float]]: - return pulumi.get(self, "nodes_per_replica") + @pulumi.getter(name="rollingUpdate") + def rolling_update(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs']]: + return pulumi.get(self, "rolling_update") - @nodes_per_replica.setter - def nodes_per_replica(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "nodes_per_replica", value) + @rolling_update.setter + def rolling_update(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs']]): + pulumi.set(self, "rolling_update", value) @property - @pulumi.getter(name="preventSinglePointFailure") - def prevent_single_point_failure(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "prevent_single_point_failure") + @pulumi.getter + def strategy(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "strategy") - @prevent_single_point_failure.setter - def prevent_single_point_failure(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "prevent_single_point_failure", value) + @strategy.setter + def strategy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "strategy", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsNodelocalArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs: def __init__(__self__, *, - ip_address: Optional[pulumi.Input[str]] = None, - node_selector: Optional[pulumi.Input[Mapping[str, Any]]] = None): - if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + max_unavailable: Optional[pulumi.Input[int]] = None): + if max_unavailable is not None: + pulumi.set(__self__, "max_unavailable", max_unavailable) + + @property + @pulumi.getter(name="maxUnavailable") + def max_unavailable(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "max_unavailable") + + @max_unavailable.setter + def max_unavailable(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "max_unavailable", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs: + def __init__(__self__, *, + node_selector: Optional[pulumi.Input[Mapping[str, Any]]] = None, + options: Optional[pulumi.Input[Mapping[str, Any]]] = None, + provider: Optional[pulumi.Input[str]] = None, + replicas: Optional[pulumi.Input[int]] = None, + tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs']]]] = None, + update_strategy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs']] = None): if node_selector is not None: pulumi.set(__self__, "node_selector", node_selector) + if options is not None: + pulumi.set(__self__, "options", options) + if provider is not None: + pulumi.set(__self__, "provider", provider) + if replicas is not None: + pulumi.set(__self__, "replicas", replicas) + if tolerations is not None: + pulumi.set(__self__, "tolerations", tolerations) + if update_strategy is not None: + pulumi.set(__self__, "update_strategy", update_strategy) + + @property + @pulumi.getter(name="nodeSelector") + def node_selector(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "node_selector") + + @node_selector.setter + def node_selector(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "node_selector", value) + + @property + @pulumi.getter + def options(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def provider(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "provider") + + @provider.setter + def provider(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "provider", value) + + @property + @pulumi.getter + def replicas(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "replicas") + + @replicas.setter + def replicas(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "replicas", value) @property - @pulumi.getter(name="ipAddress") - def ip_address(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "ip_address") + @pulumi.getter + def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs']]]]: + return pulumi.get(self, "tolerations") - @ip_address.setter - def ip_address(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ip_address", value) + @tolerations.setter + def tolerations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs']]]]): + pulumi.set(self, "tolerations", value) @property - @pulumi.getter(name="nodeSelector") - def node_selector(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - return pulumi.get(self, "node_selector") + @pulumi.getter(name="updateStrategy") + def update_strategy(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs']]: + return pulumi.get(self, "update_strategy") - @node_selector.setter - def node_selector(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "node_selector", value) + @update_strategy.setter + def update_strategy(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs']]): + pulumi.set(self, "update_strategy", value) @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsTolerationArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs: def __init__(__self__, *, key: pulumi.Input[str], effect: Optional[pulumi.Input[str]] = None, @@ -16186,9 +17823,9 @@ def value(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs: def __init__(__self__, *, - rolling_update: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs']] = None, + rolling_update: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs']] = None, strategy: Optional[pulumi.Input[str]] = None): if rolling_update is not None: pulumi.set(__self__, "rolling_update", rolling_update) @@ -16197,11 +17834,11 @@ def __init__(__self__, *, @property @pulumi.getter(name="rollingUpdate") - def rolling_update(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs']]: + def rolling_update(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs']]: return pulumi.get(self, "rolling_update") @rolling_update.setter - def rolling_update(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs']]): + def rolling_update(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs']]): pulumi.set(self, "rolling_update", value) @property @@ -16215,7 +17852,7 @@ def strategy(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigDnsUpdateStrategyRollingUpdateArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs: def __init__(__self__, *, max_surge: Optional[pulumi.Input[int]] = None, max_unavailable: Optional[pulumi.Input[int]] = None): @@ -16244,550 +17881,989 @@ def max_unavailable(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressArgs: +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs: def __init__(__self__, *, - default_backend: Optional[pulumi.Input[bool]] = None, - dns_policy: Optional[pulumi.Input[str]] = None, - extra_args: Optional[pulumi.Input[Mapping[str, Any]]] = None, - http_port: Optional[pulumi.Input[int]] = None, - https_port: Optional[pulumi.Input[int]] = None, - network_mode: Optional[pulumi.Input[str]] = None, - node_selector: Optional[pulumi.Input[Mapping[str, Any]]] = None, + aci_network_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs']] = None, + calico_network_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs']] = None, + canal_network_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs']] = None, + flannel_network_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs']] = None, + mtu: Optional[pulumi.Input[int]] = None, options: Optional[pulumi.Input[Mapping[str, Any]]] = None, - provider: Optional[pulumi.Input[str]] = None, - tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs']]]] = None, - update_strategy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs']] = None): - if default_backend is not None: - pulumi.set(__self__, "default_backend", default_backend) - if dns_policy is not None: - pulumi.set(__self__, "dns_policy", dns_policy) - if extra_args is not None: - pulumi.set(__self__, "extra_args", extra_args) - if http_port is not None: - pulumi.set(__self__, "http_port", http_port) - if https_port is not None: - pulumi.set(__self__, "https_port", https_port) - if network_mode is not None: - pulumi.set(__self__, "network_mode", network_mode) - if node_selector is not None: - pulumi.set(__self__, "node_selector", node_selector) + plugin: Optional[pulumi.Input[str]] = None, + tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs']]]] = None, + weave_network_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs']] = None): + if aci_network_provider is not None: + pulumi.set(__self__, "aci_network_provider", aci_network_provider) + if calico_network_provider is not None: + pulumi.set(__self__, "calico_network_provider", calico_network_provider) + if canal_network_provider is not None: + pulumi.set(__self__, "canal_network_provider", canal_network_provider) + if flannel_network_provider is not None: + pulumi.set(__self__, "flannel_network_provider", flannel_network_provider) + if mtu is not None: + pulumi.set(__self__, "mtu", mtu) if options is not None: pulumi.set(__self__, "options", options) - if provider is not None: - pulumi.set(__self__, "provider", provider) + if plugin is not None: + pulumi.set(__self__, "plugin", plugin) if tolerations is not None: pulumi.set(__self__, "tolerations", tolerations) - if update_strategy is not None: - pulumi.set(__self__, "update_strategy", update_strategy) + if weave_network_provider is not None: + pulumi.set(__self__, "weave_network_provider", weave_network_provider) @property - @pulumi.getter(name="defaultBackend") - def default_backend(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "default_backend") + @pulumi.getter(name="aciNetworkProvider") + def aci_network_provider(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs']]: + return pulumi.get(self, "aci_network_provider") - @default_backend.setter - def default_backend(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "default_backend", value) + @aci_network_provider.setter + def aci_network_provider(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs']]): + pulumi.set(self, "aci_network_provider", value) @property - @pulumi.getter(name="dnsPolicy") - def dns_policy(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "dns_policy") + @pulumi.getter(name="calicoNetworkProvider") + def calico_network_provider(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs']]: + return pulumi.get(self, "calico_network_provider") - @dns_policy.setter - def dns_policy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "dns_policy", value) + @calico_network_provider.setter + def calico_network_provider(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs']]): + pulumi.set(self, "calico_network_provider", value) @property - @pulumi.getter(name="extraArgs") - def extra_args(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - return pulumi.get(self, "extra_args") + @pulumi.getter(name="canalNetworkProvider") + def canal_network_provider(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs']]: + return pulumi.get(self, "canal_network_provider") - @extra_args.setter - def extra_args(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "extra_args", value) + @canal_network_provider.setter + def canal_network_provider(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs']]): + pulumi.set(self, "canal_network_provider", value) @property - @pulumi.getter(name="httpPort") - def http_port(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "http_port") + @pulumi.getter(name="flannelNetworkProvider") + def flannel_network_provider(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs']]: + return pulumi.get(self, "flannel_network_provider") - @http_port.setter - def http_port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "http_port", value) + @flannel_network_provider.setter + def flannel_network_provider(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs']]): + pulumi.set(self, "flannel_network_provider", value) @property - @pulumi.getter(name="httpsPort") - def https_port(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "https_port") + @pulumi.getter + def mtu(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "mtu") - @https_port.setter - def https_port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "https_port", value) + @mtu.setter + def mtu(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "mtu", value) @property - @pulumi.getter(name="networkMode") - def network_mode(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "network_mode") + @pulumi.getter + def options(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + return pulumi.get(self, "options") + + @options.setter + def options(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "options", value) + + @property + @pulumi.getter + def plugin(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "plugin") + + @plugin.setter + def plugin(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "plugin", value) + + @property + @pulumi.getter + def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs']]]]: + return pulumi.get(self, "tolerations") + + @tolerations.setter + def tolerations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs']]]]): + pulumi.set(self, "tolerations", value) + + @property + @pulumi.getter(name="weaveNetworkProvider") + def weave_network_provider(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs']]: + return pulumi.get(self, "weave_network_provider") + + @weave_network_provider.setter + def weave_network_provider(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs']]): + pulumi.set(self, "weave_network_provider", value) + + +@pulumi.input_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderArgs: + def __init__(__self__, *, + aep: pulumi.Input[str], + apic_hosts: pulumi.Input[Sequence[pulumi.Input[str]]], + apic_user_crt: pulumi.Input[str], + apic_user_key: pulumi.Input[str], + apic_user_name: pulumi.Input[str], + encap_type: pulumi.Input[str], + extern_dynamic: pulumi.Input[str], + extern_static: pulumi.Input[str], + kube_api_vlan: pulumi.Input[str], + l3out: pulumi.Input[str], + l3out_external_networks: pulumi.Input[Sequence[pulumi.Input[str]]], + mcast_range_end: pulumi.Input[str], + mcast_range_start: pulumi.Input[str], + node_subnet: pulumi.Input[str], + node_svc_subnet: pulumi.Input[str], + service_vlan: pulumi.Input[str], + system_id: pulumi.Input[str], + token: pulumi.Input[str], + vrf_name: pulumi.Input[str], + vrf_tenant: pulumi.Input[str], + apic_refresh_ticker_adjust: Optional[pulumi.Input[str]] = None, + apic_refresh_time: Optional[pulumi.Input[str]] = None, + apic_subscription_delay: Optional[pulumi.Input[str]] = None, + capic: Optional[pulumi.Input[str]] = None, + controller_log_level: Optional[pulumi.Input[str]] = None, + disable_periodic_snat_global_info_sync: Optional[pulumi.Input[str]] = None, + disable_wait_for_network: Optional[pulumi.Input[str]] = None, + drop_log_enable: Optional[pulumi.Input[str]] = None, + duration_wait_for_network: Optional[pulumi.Input[str]] = None, + enable_endpoint_slice: Optional[pulumi.Input[str]] = None, + ep_registry: Optional[pulumi.Input[str]] = None, + gbp_pod_subnet: Optional[pulumi.Input[str]] = None, + host_agent_log_level: Optional[pulumi.Input[str]] = None, + image_pull_policy: Optional[pulumi.Input[str]] = None, + image_pull_secret: Optional[pulumi.Input[str]] = None, + infra_vlan: Optional[pulumi.Input[str]] = None, + install_istio: Optional[pulumi.Input[str]] = None, + istio_profile: Optional[pulumi.Input[str]] = None, + kafka_brokers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kafka_client_crt: Optional[pulumi.Input[str]] = None, + kafka_client_key: Optional[pulumi.Input[str]] = None, + max_nodes_svc_graph: Optional[pulumi.Input[str]] = None, + mtu_head_room: Optional[pulumi.Input[str]] = None, + multus_disable: Optional[pulumi.Input[str]] = None, + no_priority_class: Optional[pulumi.Input[str]] = None, + node_pod_if_enable: Optional[pulumi.Input[str]] = None, + opflex_client_ssl: Optional[pulumi.Input[str]] = None, + opflex_device_delete_timeout: Optional[pulumi.Input[str]] = None, + opflex_log_level: Optional[pulumi.Input[str]] = None, + opflex_mode: Optional[pulumi.Input[str]] = None, + opflex_server_port: Optional[pulumi.Input[str]] = None, + overlay_vrf_name: Optional[pulumi.Input[str]] = None, + ovs_memory_limit: Optional[pulumi.Input[str]] = None, + pbr_tracking_non_snat: Optional[pulumi.Input[str]] = None, + pod_subnet_chunk_size: Optional[pulumi.Input[str]] = None, + run_gbp_container: Optional[pulumi.Input[str]] = None, + run_opflex_server_container: Optional[pulumi.Input[str]] = None, + service_monitor_interval: Optional[pulumi.Input[str]] = None, + snat_contract_scope: Optional[pulumi.Input[str]] = None, + snat_namespace: Optional[pulumi.Input[str]] = None, + snat_port_range_end: Optional[pulumi.Input[str]] = None, + snat_port_range_start: Optional[pulumi.Input[str]] = None, + snat_ports_per_node: Optional[pulumi.Input[str]] = None, + sriov_enable: Optional[pulumi.Input[str]] = None, + subnet_domain_name: Optional[pulumi.Input[str]] = None, + tenant: Optional[pulumi.Input[str]] = None, + use_aci_anywhere_crd: Optional[pulumi.Input[str]] = None, + use_aci_cni_priority_class: Optional[pulumi.Input[str]] = None, + use_cluster_role: Optional[pulumi.Input[str]] = None, + use_host_netns_volume: Optional[pulumi.Input[str]] = None, + use_opflex_server_volume: Optional[pulumi.Input[str]] = None, + use_privileged_container: Optional[pulumi.Input[str]] = None, + vmm_controller: Optional[pulumi.Input[str]] = None, + vmm_domain: Optional[pulumi.Input[str]] = None): + pulumi.set(__self__, "aep", aep) + pulumi.set(__self__, "apic_hosts", apic_hosts) + pulumi.set(__self__, "apic_user_crt", apic_user_crt) + pulumi.set(__self__, "apic_user_key", apic_user_key) + pulumi.set(__self__, "apic_user_name", apic_user_name) + pulumi.set(__self__, "encap_type", encap_type) + pulumi.set(__self__, "extern_dynamic", extern_dynamic) + pulumi.set(__self__, "extern_static", extern_static) + pulumi.set(__self__, "kube_api_vlan", kube_api_vlan) + pulumi.set(__self__, "l3out", l3out) + pulumi.set(__self__, "l3out_external_networks", l3out_external_networks) + pulumi.set(__self__, "mcast_range_end", mcast_range_end) + pulumi.set(__self__, "mcast_range_start", mcast_range_start) + pulumi.set(__self__, "node_subnet", node_subnet) + pulumi.set(__self__, "node_svc_subnet", node_svc_subnet) + pulumi.set(__self__, "service_vlan", service_vlan) + pulumi.set(__self__, "system_id", system_id) + pulumi.set(__self__, "token", token) + pulumi.set(__self__, "vrf_name", vrf_name) + pulumi.set(__self__, "vrf_tenant", vrf_tenant) + if apic_refresh_ticker_adjust is not None: + pulumi.set(__self__, "apic_refresh_ticker_adjust", apic_refresh_ticker_adjust) + if apic_refresh_time is not None: + pulumi.set(__self__, "apic_refresh_time", apic_refresh_time) + if apic_subscription_delay is not None: + pulumi.set(__self__, "apic_subscription_delay", apic_subscription_delay) + if capic is not None: + pulumi.set(__self__, "capic", capic) + if controller_log_level is not None: + pulumi.set(__self__, "controller_log_level", controller_log_level) + if disable_periodic_snat_global_info_sync is not None: + pulumi.set(__self__, "disable_periodic_snat_global_info_sync", disable_periodic_snat_global_info_sync) + if disable_wait_for_network is not None: + pulumi.set(__self__, "disable_wait_for_network", disable_wait_for_network) + if drop_log_enable is not None: + pulumi.set(__self__, "drop_log_enable", drop_log_enable) + if duration_wait_for_network is not None: + pulumi.set(__self__, "duration_wait_for_network", duration_wait_for_network) + if enable_endpoint_slice is not None: + pulumi.set(__self__, "enable_endpoint_slice", enable_endpoint_slice) + if ep_registry is not None: + pulumi.set(__self__, "ep_registry", ep_registry) + if gbp_pod_subnet is not None: + pulumi.set(__self__, "gbp_pod_subnet", gbp_pod_subnet) + if host_agent_log_level is not None: + pulumi.set(__self__, "host_agent_log_level", host_agent_log_level) + if image_pull_policy is not None: + pulumi.set(__self__, "image_pull_policy", image_pull_policy) + if image_pull_secret is not None: + pulumi.set(__self__, "image_pull_secret", image_pull_secret) + if infra_vlan is not None: + pulumi.set(__self__, "infra_vlan", infra_vlan) + if install_istio is not None: + pulumi.set(__self__, "install_istio", install_istio) + if istio_profile is not None: + pulumi.set(__self__, "istio_profile", istio_profile) + if kafka_brokers is not None: + pulumi.set(__self__, "kafka_brokers", kafka_brokers) + if kafka_client_crt is not None: + pulumi.set(__self__, "kafka_client_crt", kafka_client_crt) + if kafka_client_key is not None: + pulumi.set(__self__, "kafka_client_key", kafka_client_key) + if max_nodes_svc_graph is not None: + pulumi.set(__self__, "max_nodes_svc_graph", max_nodes_svc_graph) + if mtu_head_room is not None: + pulumi.set(__self__, "mtu_head_room", mtu_head_room) + if multus_disable is not None: + pulumi.set(__self__, "multus_disable", multus_disable) + if no_priority_class is not None: + pulumi.set(__self__, "no_priority_class", no_priority_class) + if node_pod_if_enable is not None: + pulumi.set(__self__, "node_pod_if_enable", node_pod_if_enable) + if opflex_client_ssl is not None: + pulumi.set(__self__, "opflex_client_ssl", opflex_client_ssl) + if opflex_device_delete_timeout is not None: + pulumi.set(__self__, "opflex_device_delete_timeout", opflex_device_delete_timeout) + if opflex_log_level is not None: + pulumi.set(__self__, "opflex_log_level", opflex_log_level) + if opflex_mode is not None: + pulumi.set(__self__, "opflex_mode", opflex_mode) + if opflex_server_port is not None: + pulumi.set(__self__, "opflex_server_port", opflex_server_port) + if overlay_vrf_name is not None: + pulumi.set(__self__, "overlay_vrf_name", overlay_vrf_name) + if ovs_memory_limit is not None: + pulumi.set(__self__, "ovs_memory_limit", ovs_memory_limit) + if pbr_tracking_non_snat is not None: + pulumi.set(__self__, "pbr_tracking_non_snat", pbr_tracking_non_snat) + if pod_subnet_chunk_size is not None: + pulumi.set(__self__, "pod_subnet_chunk_size", pod_subnet_chunk_size) + if run_gbp_container is not None: + pulumi.set(__self__, "run_gbp_container", run_gbp_container) + if run_opflex_server_container is not None: + pulumi.set(__self__, "run_opflex_server_container", run_opflex_server_container) + if service_monitor_interval is not None: + pulumi.set(__self__, "service_monitor_interval", service_monitor_interval) + if snat_contract_scope is not None: + pulumi.set(__self__, "snat_contract_scope", snat_contract_scope) + if snat_namespace is not None: + pulumi.set(__self__, "snat_namespace", snat_namespace) + if snat_port_range_end is not None: + pulumi.set(__self__, "snat_port_range_end", snat_port_range_end) + if snat_port_range_start is not None: + pulumi.set(__self__, "snat_port_range_start", snat_port_range_start) + if snat_ports_per_node is not None: + pulumi.set(__self__, "snat_ports_per_node", snat_ports_per_node) + if sriov_enable is not None: + pulumi.set(__self__, "sriov_enable", sriov_enable) + if subnet_domain_name is not None: + pulumi.set(__self__, "subnet_domain_name", subnet_domain_name) + if tenant is not None: + pulumi.set(__self__, "tenant", tenant) + if use_aci_anywhere_crd is not None: + pulumi.set(__self__, "use_aci_anywhere_crd", use_aci_anywhere_crd) + if use_aci_cni_priority_class is not None: + pulumi.set(__self__, "use_aci_cni_priority_class", use_aci_cni_priority_class) + if use_cluster_role is not None: + pulumi.set(__self__, "use_cluster_role", use_cluster_role) + if use_host_netns_volume is not None: + pulumi.set(__self__, "use_host_netns_volume", use_host_netns_volume) + if use_opflex_server_volume is not None: + pulumi.set(__self__, "use_opflex_server_volume", use_opflex_server_volume) + if use_privileged_container is not None: + pulumi.set(__self__, "use_privileged_container", use_privileged_container) + if vmm_controller is not None: + pulumi.set(__self__, "vmm_controller", vmm_controller) + if vmm_domain is not None: + pulumi.set(__self__, "vmm_domain", vmm_domain) + + @property + @pulumi.getter + def aep(self) -> pulumi.Input[str]: + return pulumi.get(self, "aep") + + @aep.setter + def aep(self, value: pulumi.Input[str]): + pulumi.set(self, "aep", value) + + @property + @pulumi.getter(name="apicHosts") + def apic_hosts(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "apic_hosts") + + @apic_hosts.setter + def apic_hosts(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "apic_hosts", value) + + @property + @pulumi.getter(name="apicUserCrt") + def apic_user_crt(self) -> pulumi.Input[str]: + return pulumi.get(self, "apic_user_crt") + + @apic_user_crt.setter + def apic_user_crt(self, value: pulumi.Input[str]): + pulumi.set(self, "apic_user_crt", value) + + @property + @pulumi.getter(name="apicUserKey") + def apic_user_key(self) -> pulumi.Input[str]: + return pulumi.get(self, "apic_user_key") + + @apic_user_key.setter + def apic_user_key(self, value: pulumi.Input[str]): + pulumi.set(self, "apic_user_key", value) + + @property + @pulumi.getter(name="apicUserName") + def apic_user_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "apic_user_name") + + @apic_user_name.setter + def apic_user_name(self, value: pulumi.Input[str]): + pulumi.set(self, "apic_user_name", value) + + @property + @pulumi.getter(name="encapType") + def encap_type(self) -> pulumi.Input[str]: + return pulumi.get(self, "encap_type") + + @encap_type.setter + def encap_type(self, value: pulumi.Input[str]): + pulumi.set(self, "encap_type", value) + + @property + @pulumi.getter(name="externDynamic") + def extern_dynamic(self) -> pulumi.Input[str]: + return pulumi.get(self, "extern_dynamic") + + @extern_dynamic.setter + def extern_dynamic(self, value: pulumi.Input[str]): + pulumi.set(self, "extern_dynamic", value) + + @property + @pulumi.getter(name="externStatic") + def extern_static(self) -> pulumi.Input[str]: + return pulumi.get(self, "extern_static") + + @extern_static.setter + def extern_static(self, value: pulumi.Input[str]): + pulumi.set(self, "extern_static", value) + + @property + @pulumi.getter(name="kubeApiVlan") + def kube_api_vlan(self) -> pulumi.Input[str]: + return pulumi.get(self, "kube_api_vlan") + + @kube_api_vlan.setter + def kube_api_vlan(self, value: pulumi.Input[str]): + pulumi.set(self, "kube_api_vlan", value) + + @property + @pulumi.getter + def l3out(self) -> pulumi.Input[str]: + return pulumi.get(self, "l3out") + + @l3out.setter + def l3out(self, value: pulumi.Input[str]): + pulumi.set(self, "l3out", value) + + @property + @pulumi.getter(name="l3outExternalNetworks") + def l3out_external_networks(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + return pulumi.get(self, "l3out_external_networks") + + @l3out_external_networks.setter + def l3out_external_networks(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "l3out_external_networks", value) + + @property + @pulumi.getter(name="mcastRangeEnd") + def mcast_range_end(self) -> pulumi.Input[str]: + return pulumi.get(self, "mcast_range_end") + + @mcast_range_end.setter + def mcast_range_end(self, value: pulumi.Input[str]): + pulumi.set(self, "mcast_range_end", value) + + @property + @pulumi.getter(name="mcastRangeStart") + def mcast_range_start(self) -> pulumi.Input[str]: + return pulumi.get(self, "mcast_range_start") + + @mcast_range_start.setter + def mcast_range_start(self, value: pulumi.Input[str]): + pulumi.set(self, "mcast_range_start", value) + + @property + @pulumi.getter(name="nodeSubnet") + def node_subnet(self) -> pulumi.Input[str]: + return pulumi.get(self, "node_subnet") + + @node_subnet.setter + def node_subnet(self, value: pulumi.Input[str]): + pulumi.set(self, "node_subnet", value) + + @property + @pulumi.getter(name="nodeSvcSubnet") + def node_svc_subnet(self) -> pulumi.Input[str]: + return pulumi.get(self, "node_svc_subnet") + + @node_svc_subnet.setter + def node_svc_subnet(self, value: pulumi.Input[str]): + pulumi.set(self, "node_svc_subnet", value) + + @property + @pulumi.getter(name="serviceVlan") + def service_vlan(self) -> pulumi.Input[str]: + return pulumi.get(self, "service_vlan") + + @service_vlan.setter + def service_vlan(self, value: pulumi.Input[str]): + pulumi.set(self, "service_vlan", value) + + @property + @pulumi.getter(name="systemId") + def system_id(self) -> pulumi.Input[str]: + return pulumi.get(self, "system_id") + + @system_id.setter + def system_id(self, value: pulumi.Input[str]): + pulumi.set(self, "system_id", value) + + @property + @pulumi.getter + def token(self) -> pulumi.Input[str]: + return pulumi.get(self, "token") + + @token.setter + def token(self, value: pulumi.Input[str]): + pulumi.set(self, "token", value) + + @property + @pulumi.getter(name="vrfName") + def vrf_name(self) -> pulumi.Input[str]: + return pulumi.get(self, "vrf_name") + + @vrf_name.setter + def vrf_name(self, value: pulumi.Input[str]): + pulumi.set(self, "vrf_name", value) + + @property + @pulumi.getter(name="vrfTenant") + def vrf_tenant(self) -> pulumi.Input[str]: + return pulumi.get(self, "vrf_tenant") + + @vrf_tenant.setter + def vrf_tenant(self, value: pulumi.Input[str]): + pulumi.set(self, "vrf_tenant", value) + + @property + @pulumi.getter(name="apicRefreshTickerAdjust") + def apic_refresh_ticker_adjust(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "apic_refresh_ticker_adjust") + + @apic_refresh_ticker_adjust.setter + def apic_refresh_ticker_adjust(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "apic_refresh_ticker_adjust", value) + + @property + @pulumi.getter(name="apicRefreshTime") + def apic_refresh_time(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "apic_refresh_time") + + @apic_refresh_time.setter + def apic_refresh_time(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "apic_refresh_time", value) + + @property + @pulumi.getter(name="apicSubscriptionDelay") + def apic_subscription_delay(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "apic_subscription_delay") + + @apic_subscription_delay.setter + def apic_subscription_delay(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "apic_subscription_delay", value) + + @property + @pulumi.getter + def capic(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "capic") + + @capic.setter + def capic(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "capic", value) + + @property + @pulumi.getter(name="controllerLogLevel") + def controller_log_level(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "controller_log_level") + + @controller_log_level.setter + def controller_log_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "controller_log_level", value) + + @property + @pulumi.getter(name="disablePeriodicSnatGlobalInfoSync") + def disable_periodic_snat_global_info_sync(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "disable_periodic_snat_global_info_sync") + + @disable_periodic_snat_global_info_sync.setter + def disable_periodic_snat_global_info_sync(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "disable_periodic_snat_global_info_sync", value) + + @property + @pulumi.getter(name="disableWaitForNetwork") + def disable_wait_for_network(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "disable_wait_for_network") + + @disable_wait_for_network.setter + def disable_wait_for_network(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "disable_wait_for_network", value) - @network_mode.setter - def network_mode(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "network_mode", value) + @property + @pulumi.getter(name="dropLogEnable") + def drop_log_enable(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "drop_log_enable") + + @drop_log_enable.setter + def drop_log_enable(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "drop_log_enable", value) @property - @pulumi.getter(name="nodeSelector") - def node_selector(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - return pulumi.get(self, "node_selector") + @pulumi.getter(name="durationWaitForNetwork") + def duration_wait_for_network(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "duration_wait_for_network") - @node_selector.setter - def node_selector(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "node_selector", value) + @duration_wait_for_network.setter + def duration_wait_for_network(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "duration_wait_for_network", value) @property - @pulumi.getter - def options(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - return pulumi.get(self, "options") + @pulumi.getter(name="enableEndpointSlice") + def enable_endpoint_slice(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "enable_endpoint_slice") - @options.setter - def options(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "options", value) + @enable_endpoint_slice.setter + def enable_endpoint_slice(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "enable_endpoint_slice", value) @property - @pulumi.getter - def provider(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "provider") + @pulumi.getter(name="epRegistry") + def ep_registry(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ep_registry") - @provider.setter - def provider(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "provider", value) + @ep_registry.setter + def ep_registry(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ep_registry", value) @property - @pulumi.getter - def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs']]]]: - return pulumi.get(self, "tolerations") + @pulumi.getter(name="gbpPodSubnet") + def gbp_pod_subnet(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "gbp_pod_subnet") - @tolerations.setter - def tolerations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs']]]]): - pulumi.set(self, "tolerations", value) + @gbp_pod_subnet.setter + def gbp_pod_subnet(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "gbp_pod_subnet", value) @property - @pulumi.getter(name="updateStrategy") - def update_strategy(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs']]: - return pulumi.get(self, "update_strategy") + @pulumi.getter(name="hostAgentLogLevel") + def host_agent_log_level(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "host_agent_log_level") - @update_strategy.setter - def update_strategy(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs']]): - pulumi.set(self, "update_strategy", value) + @host_agent_log_level.setter + def host_agent_log_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "host_agent_log_level", value) + @property + @pulumi.getter(name="imagePullPolicy") + def image_pull_policy(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "image_pull_policy") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressTolerationArgs: - def __init__(__self__, *, - key: pulumi.Input[str], - effect: Optional[pulumi.Input[str]] = None, - operator: Optional[pulumi.Input[str]] = None, - seconds: Optional[pulumi.Input[int]] = None, - value: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "key", key) - if effect is not None: - pulumi.set(__self__, "effect", effect) - if operator is not None: - pulumi.set(__self__, "operator", operator) - if seconds is not None: - pulumi.set(__self__, "seconds", seconds) - if value is not None: - pulumi.set(__self__, "value", value) + @image_pull_policy.setter + def image_pull_policy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image_pull_policy", value) @property - @pulumi.getter - def key(self) -> pulumi.Input[str]: - return pulumi.get(self, "key") + @pulumi.getter(name="imagePullSecret") + def image_pull_secret(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "image_pull_secret") - @key.setter - def key(self, value: pulumi.Input[str]): - pulumi.set(self, "key", value) + @image_pull_secret.setter + def image_pull_secret(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image_pull_secret", value) @property - @pulumi.getter - def effect(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "effect") + @pulumi.getter(name="infraVlan") + def infra_vlan(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "infra_vlan") - @effect.setter - def effect(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "effect", value) + @infra_vlan.setter + def infra_vlan(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "infra_vlan", value) @property - @pulumi.getter - def operator(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "operator") + @pulumi.getter(name="installIstio") + def install_istio(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "install_istio") - @operator.setter - def operator(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "operator", value) + @install_istio.setter + def install_istio(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "install_istio", value) @property - @pulumi.getter - def seconds(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "seconds") + @pulumi.getter(name="istioProfile") + def istio_profile(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "istio_profile") - @seconds.setter - def seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "seconds", value) + @istio_profile.setter + def istio_profile(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "istio_profile", value) @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "value") + @pulumi.getter(name="kafkaBrokers") + def kafka_brokers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "kafka_brokers") - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + @kafka_brokers.setter + def kafka_brokers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "kafka_brokers", value) + @property + @pulumi.getter(name="kafkaClientCrt") + def kafka_client_crt(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kafka_client_crt") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyArgs: - def __init__(__self__, *, - rolling_update: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs']] = None, - strategy: Optional[pulumi.Input[str]] = None): - if rolling_update is not None: - pulumi.set(__self__, "rolling_update", rolling_update) - if strategy is not None: - pulumi.set(__self__, "strategy", strategy) + @kafka_client_crt.setter + def kafka_client_crt(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kafka_client_crt", value) @property - @pulumi.getter(name="rollingUpdate") - def rolling_update(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs']]: - return pulumi.get(self, "rolling_update") + @pulumi.getter(name="kafkaClientKey") + def kafka_client_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "kafka_client_key") - @rolling_update.setter - def rolling_update(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs']]): - pulumi.set(self, "rolling_update", value) + @kafka_client_key.setter + def kafka_client_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "kafka_client_key", value) @property - @pulumi.getter - def strategy(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "strategy") + @pulumi.getter(name="maxNodesSvcGraph") + def max_nodes_svc_graph(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "max_nodes_svc_graph") - @strategy.setter - def strategy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "strategy", value) + @max_nodes_svc_graph.setter + def max_nodes_svc_graph(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "max_nodes_svc_graph", value) + @property + @pulumi.getter(name="mtuHeadRoom") + def mtu_head_room(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "mtu_head_room") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigIngressUpdateStrategyRollingUpdateArgs: - def __init__(__self__, *, - max_unavailable: Optional[pulumi.Input[int]] = None): - if max_unavailable is not None: - pulumi.set(__self__, "max_unavailable", max_unavailable) + @mtu_head_room.setter + def mtu_head_room(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mtu_head_room", value) @property - @pulumi.getter(name="maxUnavailable") - def max_unavailable(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "max_unavailable") + @pulumi.getter(name="multusDisable") + def multus_disable(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "multus_disable") - @max_unavailable.setter - def max_unavailable(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_unavailable", value) + @multus_disable.setter + def multus_disable(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "multus_disable", value) + @property + @pulumi.getter(name="noPriorityClass") + def no_priority_class(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "no_priority_class") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringArgs: - def __init__(__self__, *, - node_selector: Optional[pulumi.Input[Mapping[str, Any]]] = None, - options: Optional[pulumi.Input[Mapping[str, Any]]] = None, - provider: Optional[pulumi.Input[str]] = None, - replicas: Optional[pulumi.Input[int]] = None, - tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs']]]] = None, - update_strategy: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs']] = None): - if node_selector is not None: - pulumi.set(__self__, "node_selector", node_selector) - if options is not None: - pulumi.set(__self__, "options", options) - if provider is not None: - pulumi.set(__self__, "provider", provider) - if replicas is not None: - pulumi.set(__self__, "replicas", replicas) - if tolerations is not None: - pulumi.set(__self__, "tolerations", tolerations) - if update_strategy is not None: - pulumi.set(__self__, "update_strategy", update_strategy) + @no_priority_class.setter + def no_priority_class(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "no_priority_class", value) @property - @pulumi.getter(name="nodeSelector") - def node_selector(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - return pulumi.get(self, "node_selector") + @pulumi.getter(name="nodePodIfEnable") + def node_pod_if_enable(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "node_pod_if_enable") - @node_selector.setter - def node_selector(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "node_selector", value) + @node_pod_if_enable.setter + def node_pod_if_enable(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "node_pod_if_enable", value) @property - @pulumi.getter - def options(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - return pulumi.get(self, "options") + @pulumi.getter(name="opflexClientSsl") + def opflex_client_ssl(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "opflex_client_ssl") - @options.setter - def options(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "options", value) + @opflex_client_ssl.setter + def opflex_client_ssl(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "opflex_client_ssl", value) @property - @pulumi.getter - def provider(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "provider") + @pulumi.getter(name="opflexDeviceDeleteTimeout") + def opflex_device_delete_timeout(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "opflex_device_delete_timeout") - @provider.setter - def provider(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "provider", value) + @opflex_device_delete_timeout.setter + def opflex_device_delete_timeout(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "opflex_device_delete_timeout", value) @property - @pulumi.getter - def replicas(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "replicas") + @pulumi.getter(name="opflexLogLevel") + def opflex_log_level(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "opflex_log_level") - @replicas.setter - def replicas(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "replicas", value) + @opflex_log_level.setter + def opflex_log_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "opflex_log_level", value) @property - @pulumi.getter - def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs']]]]: - return pulumi.get(self, "tolerations") + @pulumi.getter(name="opflexMode") + def opflex_mode(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "opflex_mode") - @tolerations.setter - def tolerations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs']]]]): - pulumi.set(self, "tolerations", value) + @opflex_mode.setter + def opflex_mode(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "opflex_mode", value) @property - @pulumi.getter(name="updateStrategy") - def update_strategy(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs']]: - return pulumi.get(self, "update_strategy") + @pulumi.getter(name="opflexServerPort") + def opflex_server_port(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "opflex_server_port") - @update_strategy.setter - def update_strategy(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs']]): - pulumi.set(self, "update_strategy", value) + @opflex_server_port.setter + def opflex_server_port(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "opflex_server_port", value) + @property + @pulumi.getter(name="overlayVrfName") + def overlay_vrf_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "overlay_vrf_name") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringTolerationArgs: - def __init__(__self__, *, - key: pulumi.Input[str], - effect: Optional[pulumi.Input[str]] = None, - operator: Optional[pulumi.Input[str]] = None, - seconds: Optional[pulumi.Input[int]] = None, - value: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "key", key) - if effect is not None: - pulumi.set(__self__, "effect", effect) - if operator is not None: - pulumi.set(__self__, "operator", operator) - if seconds is not None: - pulumi.set(__self__, "seconds", seconds) - if value is not None: - pulumi.set(__self__, "value", value) + @overlay_vrf_name.setter + def overlay_vrf_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "overlay_vrf_name", value) @property - @pulumi.getter - def key(self) -> pulumi.Input[str]: - return pulumi.get(self, "key") + @pulumi.getter(name="ovsMemoryLimit") + def ovs_memory_limit(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "ovs_memory_limit") - @key.setter - def key(self, value: pulumi.Input[str]): - pulumi.set(self, "key", value) + @ovs_memory_limit.setter + def ovs_memory_limit(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ovs_memory_limit", value) @property - @pulumi.getter - def effect(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "effect") + @pulumi.getter(name="pbrTrackingNonSnat") + def pbr_tracking_non_snat(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "pbr_tracking_non_snat") - @effect.setter - def effect(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "effect", value) + @pbr_tracking_non_snat.setter + def pbr_tracking_non_snat(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pbr_tracking_non_snat", value) @property - @pulumi.getter - def operator(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "operator") + @pulumi.getter(name="podSubnetChunkSize") + def pod_subnet_chunk_size(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "pod_subnet_chunk_size") - @operator.setter - def operator(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "operator", value) + @pod_subnet_chunk_size.setter + def pod_subnet_chunk_size(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "pod_subnet_chunk_size", value) @property - @pulumi.getter - def seconds(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "seconds") + @pulumi.getter(name="runGbpContainer") + def run_gbp_container(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "run_gbp_container") - @seconds.setter - def seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "seconds", value) + @run_gbp_container.setter + def run_gbp_container(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "run_gbp_container", value) @property - @pulumi.getter - def value(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "value") + @pulumi.getter(name="runOpflexServerContainer") + def run_opflex_server_container(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "run_opflex_server_container") - @value.setter - def value(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "value", value) + @run_opflex_server_container.setter + def run_opflex_server_container(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "run_opflex_server_container", value) + @property + @pulumi.getter(name="serviceMonitorInterval") + def service_monitor_interval(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "service_monitor_interval") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyArgs: - def __init__(__self__, *, - rolling_update: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs']] = None, - strategy: Optional[pulumi.Input[str]] = None): - if rolling_update is not None: - pulumi.set(__self__, "rolling_update", rolling_update) - if strategy is not None: - pulumi.set(__self__, "strategy", strategy) + @service_monitor_interval.setter + def service_monitor_interval(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_monitor_interval", value) @property - @pulumi.getter(name="rollingUpdate") - def rolling_update(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs']]: - return pulumi.get(self, "rolling_update") + @pulumi.getter(name="snatContractScope") + def snat_contract_scope(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "snat_contract_scope") - @rolling_update.setter - def rolling_update(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs']]): - pulumi.set(self, "rolling_update", value) + @snat_contract_scope.setter + def snat_contract_scope(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snat_contract_scope", value) @property - @pulumi.getter - def strategy(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "strategy") + @pulumi.getter(name="snatNamespace") + def snat_namespace(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "snat_namespace") - @strategy.setter - def strategy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "strategy", value) + @snat_namespace.setter + def snat_namespace(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snat_namespace", value) + @property + @pulumi.getter(name="snatPortRangeEnd") + def snat_port_range_end(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "snat_port_range_end") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateArgs: - def __init__(__self__, *, - max_surge: Optional[pulumi.Input[int]] = None, - max_unavailable: Optional[pulumi.Input[int]] = None): - if max_surge is not None: - pulumi.set(__self__, "max_surge", max_surge) - if max_unavailable is not None: - pulumi.set(__self__, "max_unavailable", max_unavailable) + @snat_port_range_end.setter + def snat_port_range_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snat_port_range_end", value) @property - @pulumi.getter(name="maxSurge") - def max_surge(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "max_surge") + @pulumi.getter(name="snatPortRangeStart") + def snat_port_range_start(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "snat_port_range_start") - @max_surge.setter - def max_surge(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_surge", value) + @snat_port_range_start.setter + def snat_port_range_start(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snat_port_range_start", value) @property - @pulumi.getter(name="maxUnavailable") - def max_unavailable(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "max_unavailable") + @pulumi.getter(name="snatPortsPerNode") + def snat_ports_per_node(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "snat_ports_per_node") - @max_unavailable.setter - def max_unavailable(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_unavailable", value) + @snat_ports_per_node.setter + def snat_ports_per_node(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "snat_ports_per_node", value) + @property + @pulumi.getter(name="sriovEnable") + def sriov_enable(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "sriov_enable") -@pulumi.input_type -class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkArgs: - def __init__(__self__, *, - calico_network_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs']] = None, - canal_network_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs']] = None, - flannel_network_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs']] = None, - mtu: Optional[pulumi.Input[int]] = None, - options: Optional[pulumi.Input[Mapping[str, Any]]] = None, - plugin: Optional[pulumi.Input[str]] = None, - tolerations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs']]]] = None, - weave_network_provider: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs']] = None): - if calico_network_provider is not None: - pulumi.set(__self__, "calico_network_provider", calico_network_provider) - if canal_network_provider is not None: - pulumi.set(__self__, "canal_network_provider", canal_network_provider) - if flannel_network_provider is not None: - pulumi.set(__self__, "flannel_network_provider", flannel_network_provider) - if mtu is not None: - pulumi.set(__self__, "mtu", mtu) - if options is not None: - pulumi.set(__self__, "options", options) - if plugin is not None: - pulumi.set(__self__, "plugin", plugin) - if tolerations is not None: - pulumi.set(__self__, "tolerations", tolerations) - if weave_network_provider is not None: - pulumi.set(__self__, "weave_network_provider", weave_network_provider) + @sriov_enable.setter + def sriov_enable(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sriov_enable", value) @property - @pulumi.getter(name="calicoNetworkProvider") - def calico_network_provider(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs']]: - return pulumi.get(self, "calico_network_provider") + @pulumi.getter(name="subnetDomainName") + def subnet_domain_name(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "subnet_domain_name") - @calico_network_provider.setter - def calico_network_provider(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderArgs']]): - pulumi.set(self, "calico_network_provider", value) + @subnet_domain_name.setter + def subnet_domain_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_domain_name", value) @property - @pulumi.getter(name="canalNetworkProvider") - def canal_network_provider(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs']]: - return pulumi.get(self, "canal_network_provider") + @pulumi.getter + def tenant(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "tenant") - @canal_network_provider.setter - def canal_network_provider(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderArgs']]): - pulumi.set(self, "canal_network_provider", value) + @tenant.setter + def tenant(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "tenant", value) @property - @pulumi.getter(name="flannelNetworkProvider") - def flannel_network_provider(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs']]: - return pulumi.get(self, "flannel_network_provider") + @pulumi.getter(name="useAciAnywhereCrd") + def use_aci_anywhere_crd(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "use_aci_anywhere_crd") - @flannel_network_provider.setter - def flannel_network_provider(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderArgs']]): - pulumi.set(self, "flannel_network_provider", value) + @use_aci_anywhere_crd.setter + def use_aci_anywhere_crd(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_aci_anywhere_crd", value) @property - @pulumi.getter - def mtu(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "mtu") + @pulumi.getter(name="useAciCniPriorityClass") + def use_aci_cni_priority_class(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "use_aci_cni_priority_class") - @mtu.setter - def mtu(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "mtu", value) + @use_aci_cni_priority_class.setter + def use_aci_cni_priority_class(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_aci_cni_priority_class", value) @property - @pulumi.getter - def options(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - return pulumi.get(self, "options") + @pulumi.getter(name="useClusterRole") + def use_cluster_role(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "use_cluster_role") - @options.setter - def options(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): - pulumi.set(self, "options", value) + @use_cluster_role.setter + def use_cluster_role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_cluster_role", value) @property - @pulumi.getter - def plugin(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "plugin") + @pulumi.getter(name="useHostNetnsVolume") + def use_host_netns_volume(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "use_host_netns_volume") - @plugin.setter - def plugin(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "plugin", value) + @use_host_netns_volume.setter + def use_host_netns_volume(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_host_netns_volume", value) @property - @pulumi.getter - def tolerations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs']]]]: - return pulumi.get(self, "tolerations") + @pulumi.getter(name="useOpflexServerVolume") + def use_opflex_server_volume(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "use_opflex_server_volume") - @tolerations.setter - def tolerations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkTolerationArgs']]]]): - pulumi.set(self, "tolerations", value) + @use_opflex_server_volume.setter + def use_opflex_server_volume(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_opflex_server_volume", value) @property - @pulumi.getter(name="weaveNetworkProvider") - def weave_network_provider(self) -> Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs']]: - return pulumi.get(self, "weave_network_provider") + @pulumi.getter(name="usePrivilegedContainer") + def use_privileged_container(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "use_privileged_container") - @weave_network_provider.setter - def weave_network_provider(self, value: Optional[pulumi.Input['ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderArgs']]): - pulumi.set(self, "weave_network_provider", value) + @use_privileged_container.setter + def use_privileged_container(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "use_privileged_container", value) + + @property + @pulumi.getter(name="vmmController") + def vmm_controller(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "vmm_controller") + + @vmm_controller.setter + def vmm_controller(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vmm_controller", value) + + @property + @pulumi.getter(name="vmmDomain") + def vmm_domain(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "vmm_domain") + + @vmm_domain.setter + def vmm_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vmm_domain", value) @pulumi.input_type @@ -19099,7 +21175,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] disable_snapshots: Disable ETCD snapshots. Default: `false` (bool) :param pulumi.Input['ClusterV2RkeConfigEtcdS3ConfigArgs'] s3_config: Creation option for etcd service (list maxitems:1) :param pulumi.Input[int] snapshot_retention: ETCD snapshot retention (int) - :param pulumi.Input[str] snapshot_schedule_cron: ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) + :param pulumi.Input[str] snapshot_schedule_cron: ETCD snapshot schedule cron (e.g `\\"0 */5 * * *\\"`) (string) """ if disable_snapshots is not None: pulumi.set(__self__, "disable_snapshots", disable_snapshots) @@ -19150,7 +21226,7 @@ def snapshot_retention(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="snapshotScheduleCron") def snapshot_schedule_cron(self) -> Optional[pulumi.Input[str]]: """ - ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) + ETCD snapshot schedule cron (e.g `\\"0 */5 * * *\\"`) (string) """ return pulumi.get(self, "snapshot_schedule_cron") @@ -19417,6 +21493,7 @@ def __init__(__self__, *, drain_before_delete: Optional[pulumi.Input[bool]] = None, etcd_role: Optional[pulumi.Input[bool]] = None, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, + machine_labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, max_unhealthy: Optional[pulumi.Input[str]] = None, node_drain_timeout: Optional[pulumi.Input[int]] = None, node_startup_timeout_seconds: Optional[pulumi.Input[int]] = None, @@ -19436,6 +21513,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] drain_before_delete: Machine Pool Drain Before Delete? (bool) :param pulumi.Input[bool] etcd_role: Machine pool etcd role? (bool) :param pulumi.Input[Mapping[str, Any]] labels: Labels for cluster registration token object (map) + :param pulumi.Input[Mapping[str, Any]] machine_labels: Labels for Machine pool nodes (map) :param pulumi.Input[str] max_unhealthy: Max unhealthy nodes for automated replacement to be allowed (string) :param pulumi.Input[int] node_drain_timeout: Seconds a machine has to drain before deletion (int) :param pulumi.Input[int] node_startup_timeout_seconds: Seconds a new node has to become active before it is replaced (int) @@ -19460,6 +21538,8 @@ def __init__(__self__, *, pulumi.set(__self__, "etcd_role", etcd_role) if labels is not None: pulumi.set(__self__, "labels", labels) + if machine_labels is not None: + pulumi.set(__self__, "machine_labels", machine_labels) if max_unhealthy is not None: pulumi.set(__self__, "max_unhealthy", max_unhealthy) if node_drain_timeout is not None: @@ -19577,6 +21657,18 @@ def labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: def labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): pulumi.set(self, "labels", value) + @property + @pulumi.getter(name="machineLabels") + def machine_labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + Labels for Machine pool nodes (map) + """ + return pulumi.get(self, "machine_labels") + + @machine_labels.setter + def machine_labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "machine_labels", value) + @property @pulumi.getter(name="maxUnhealthy") def max_unhealthy(self) -> Optional[pulumi.Input[str]]: @@ -19783,7 +21875,7 @@ def __init__(__self__, *, """ :param pulumi.Input[str] key: Machine selector label match expressions key (string) :param pulumi.Input[str] value: The taint value (string) - :param pulumi.Input[str] effect: The taint effect. Default: `\"NoExecute\"` (string) + :param pulumi.Input[str] effect: The taint effect. Default: `\\"NoExecute\\"` (string) """ pulumi.set(__self__, "key", key) pulumi.set(__self__, "value", value) @@ -19818,7 +21910,7 @@ def value(self, value: pulumi.Input[str]): @pulumi.getter def effect(self) -> Optional[pulumi.Input[str]]: """ - The taint effect. Default: `\"NoExecute\"` (string) + The taint effect. Default: `\\"NoExecute\\"` (string) """ return pulumi.get(self, "effect") @@ -21611,6 +23703,7 @@ def __init__(__self__, *, no_public_ip: Optional[pulumi.Input[bool]] = None, nsg: Optional[pulumi.Input[str]] = None, open_ports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_address_only: Optional[pulumi.Input[bool]] = None, private_ip_address: Optional[pulumi.Input[str]] = None, resource_group: Optional[pulumi.Input[str]] = None, size: Optional[pulumi.Input[str]] = None, @@ -21640,6 +23733,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] no_public_ip: Do not create a public IP address for the machine. Default `false` (bool) :param pulumi.Input[str] nsg: Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) :param pulumi.Input[Sequence[pulumi.Input[str]]] open_ports: Make the specified port number accessible from the Internet. (list) + :param pulumi.Input[bool] private_address_only: Only use a private IP address. Default `false` (bool) :param pulumi.Input[str] private_ip_address: Specify a static private IP address for the machine. (string) :param pulumi.Input[str] resource_group: Azure Resource Group name (will be created if missing). Default `docker-machine` (string) :param pulumi.Input[str] size: Digital Ocean size. Default `s-1vcpu-1gb` (string) @@ -21684,6 +23778,8 @@ def __init__(__self__, *, pulumi.set(__self__, "nsg", nsg) if open_ports is not None: pulumi.set(__self__, "open_ports", open_ports) + if private_address_only is not None: + pulumi.set(__self__, "private_address_only", private_address_only) if private_ip_address is not None: pulumi.set(__self__, "private_ip_address", private_ip_address) if resource_group is not None: @@ -21891,6 +23987,18 @@ def open_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def open_ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "open_ports", value) + @property + @pulumi.getter(name="privateAddressOnly") + def private_address_only(self) -> Optional[pulumi.Input[bool]]: + """ + Only use a private IP address. Default `false` (bool) + """ + return pulumi.get(self, "private_address_only") + + @private_address_only.setter + def private_address_only(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "private_address_only", value) + @property @pulumi.getter(name="privateIpAddress") def private_ip_address(self) -> Optional[pulumi.Input[str]]: @@ -24549,6 +26657,8 @@ def __init__(__self__, *, device_name: Optional[pulumi.Input[str]] = None, encrypt_ebs_volume: Optional[pulumi.Input[bool]] = None, endpoint: Optional[pulumi.Input[str]] = None, + http_endpoint: Optional[pulumi.Input[str]] = None, + http_tokens: Optional[pulumi.Input[str]] = None, iam_instance_profile: Optional[pulumi.Input[str]] = None, insecure_transport: Optional[pulumi.Input[bool]] = None, instance_type: Optional[pulumi.Input[str]] = None, @@ -24573,19 +26683,21 @@ def __init__(__self__, *, volume_type: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] ami: AWS machine image (string) - :param pulumi.Input[str] region: OpenStack region name (string) + :param pulumi.Input[str] region: AWS region. Default `eu-west-2` (string) :param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: AWS VPC security group. (list) :param pulumi.Input[str] subnet_id: AWS VPC subnet id (string) :param pulumi.Input[str] vpc_id: AWS VPC id. (string) :param pulumi.Input[str] zone: AWS zone for instance (i.e. a,b,c,d,e) (string) - :param pulumi.Input[str] access_key: AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + :param pulumi.Input[str] access_key: Outscale Access Key (string) :param pulumi.Input[str] block_duration_minutes: AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) :param pulumi.Input[str] device_name: AWS root device name. Default `/dev/sda1` (string) :param pulumi.Input[bool] encrypt_ebs_volume: Encrypt EBS volume. Default `false` (bool) :param pulumi.Input[str] endpoint: Optional endpoint URL (hostname only or fully qualified URI) (string) + :param pulumi.Input[str] http_endpoint: Enables or disables the HTTP metadata endpoint on your instances (string) + :param pulumi.Input[str] http_tokens: The state of token usage for your instance metadata requests (string) :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] 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) @@ -24594,11 +26706,10 @@ def __init__(__self__, *, :param pulumi.Input[bool] request_spot_instance: Set this flag to request spot instance. Default `false` (bool) :param pulumi.Input[str] retries: Set retry count for recoverable failures (use -1 to disable). Default `5` (string) :param pulumi.Input[str] root_size: AWS root disk size (in GB). Default `16` (string) - :param pulumi.Input[str] secret_key: AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + :param pulumi.Input[str] secret_key: Outscale Secret Key (string) :param pulumi.Input[bool] security_group_readonly: Skip adding default rules to security groups (bool) :param pulumi.Input[str] session_token: AWS Session Token (string) :param pulumi.Input[str] spot_price: AWS spot instance bid price (in dollar). Default `0.50` (string) - :param pulumi.Input[str] ssh_keypath: SSH Key for Instance (string) :param pulumi.Input[str] ssh_user: If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) :param pulumi.Input[str] tags: vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) :param pulumi.Input[bool] use_ebs_optimized_instance: Create an EBS optimized instance. Default `false` (bool) @@ -24622,6 +26733,10 @@ def __init__(__self__, *, pulumi.set(__self__, "encrypt_ebs_volume", encrypt_ebs_volume) if endpoint is not None: pulumi.set(__self__, "endpoint", endpoint) + if http_endpoint is not None: + pulumi.set(__self__, "http_endpoint", http_endpoint) + if http_tokens is not None: + pulumi.set(__self__, "http_tokens", http_tokens) if iam_instance_profile is not None: pulumi.set(__self__, "iam_instance_profile", iam_instance_profile) if insecure_transport is not None: @@ -24683,7 +26798,7 @@ def ami(self, value: pulumi.Input[str]): @pulumi.getter def region(self) -> pulumi.Input[str]: """ - OpenStack region name (string) + AWS region. Default `eu-west-2` (string) """ return pulumi.get(self, "region") @@ -24743,7 +26858,7 @@ def zone(self, value: pulumi.Input[str]): @pulumi.getter(name="accessKey") def access_key(self) -> Optional[pulumi.Input[str]]: """ - AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Outscale Access Key (string) """ return pulumi.get(self, "access_key") @@ -24799,6 +26914,30 @@ def endpoint(self) -> Optional[pulumi.Input[str]]: def endpoint(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "endpoint", value) + @property + @pulumi.getter(name="httpEndpoint") + def http_endpoint(self) -> Optional[pulumi.Input[str]]: + """ + Enables or disables the HTTP metadata endpoint on your instances (string) + """ + return pulumi.get(self, "http_endpoint") + + @http_endpoint.setter + def http_endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "http_endpoint", value) + + @property + @pulumi.getter(name="httpTokens") + def http_tokens(self) -> Optional[pulumi.Input[str]]: + """ + The state of token usage for your instance metadata requests (string) + """ + return pulumi.get(self, "http_tokens") + + @http_tokens.setter + def http_tokens(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "http_tokens", value) + @property @pulumi.getter(name="iamInstanceProfile") def iam_instance_profile(self) -> Optional[pulumi.Input[str]]: @@ -24827,7 +26966,7 @@ def insecure_transport(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="instanceType") def instance_type(self) -> Optional[pulumi.Input[str]]: """ - Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + Outscale VM type. Default `tinav2.c1r2p3` (string) """ return pulumi.get(self, "instance_type") @@ -24935,7 +27074,7 @@ def root_size(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="secretKey") def secret_key(self) -> Optional[pulumi.Input[str]]: """ - AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Outscale Secret Key (string) """ return pulumi.get(self, "secret_key") @@ -24982,9 +27121,6 @@ def spot_price(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="sshKeypath") def ssh_keypath(self) -> Optional[pulumi.Input[str]]: - """ - SSH Key for Instance (string) - """ return pulumi.get(self, "ssh_keypath") @ssh_keypath.setter @@ -25543,7 +27679,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] ipv6: Enable ipv6 for droplet. Default `false` (bool) :param pulumi.Input[bool] monitoring: Enable monitoring for droplet. Default `false` (bool) :param pulumi.Input[bool] private_networking: Enable private networking for droplet. Default `false` (bool) - :param pulumi.Input[str] region: OpenStack region name (string) + :param pulumi.Input[str] region: AWS region. Default `eu-west-2` (string) :param pulumi.Input[str] size: Digital Ocean size. Default `s-1vcpu-1gb` (string) :param pulumi.Input[str] ssh_key_fingerprint: SSH key fingerprint (string) :param pulumi.Input[str] ssh_key_path: SSH private key path (string) @@ -25657,7 +27793,7 @@ def private_networking(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - OpenStack region name (string) + AWS region. Default `eu-west-2` (string) """ return pulumi.get(self, "region") @@ -26119,9 +28255,9 @@ def __init__(__self__, *, :param pulumi.Input[bool] create_private_ip: Create private IP for the instance. Default `false` (bool) :param pulumi.Input[str] docker_port: Docker Port. Default `2376` (string) :param pulumi.Input[str] image: Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - :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] instance_type: Outscale VM type. Default `tinav2.c1r2p3` (string) :param pulumi.Input[str] label: Linode Instance Label. (string) - :param pulumi.Input[str] region: OpenStack region name (string) + :param pulumi.Input[str] region: AWS region. Default `eu-west-2` (string) :param pulumi.Input[str] root_pass: Root Password (string) :param pulumi.Input[str] ssh_port: If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) :param pulumi.Input[str] ssh_user: If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) @@ -26217,7 +28353,7 @@ def image(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="instanceType") def instance_type(self) -> Optional[pulumi.Input[str]]: """ - Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + Outscale VM type. Default `tinav2.c1r2p3` (string) """ return pulumi.get(self, "instance_type") @@ -26241,7 +28377,7 @@ def label(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def region(self) -> Optional[pulumi.Input[str]]: """ - OpenStack region name (string) + AWS region. Default `eu-west-2` (string) """ return pulumi.get(self, "region") @@ -26779,7 +28915,7 @@ def __init__(__self__, *, """ :param pulumi.Input[str] auth_url: OpenStack authentication URL (string) :param pulumi.Input[str] availability_zone: OpenStack availability zone (string) - :param pulumi.Input[str] region: OpenStack region name (string) + :param pulumi.Input[str] region: AWS region. Default `eu-west-2` (string) :param pulumi.Input[str] active_timeout: OpenStack active timeout Default `200` (string) :param pulumi.Input[str] application_credential_id: OpenStack application credential id. Conflicts with `application_credential_name` (string) :param pulumi.Input[str] application_credential_name: OpenStack application credential name. Conflicts with `application_credential_id` (string) @@ -26918,7 +29054,7 @@ def availability_zone(self, value: pulumi.Input[str]): @pulumi.getter def region(self) -> pulumi.Input[str]: """ - OpenStack region name (string) + AWS region. Default `eu-west-2` (string) """ return pulumi.get(self, "region") @@ -27347,6 +29483,187 @@ def volume_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_type", value) +@pulumi.input_type +class NodeTemplateOutscaleConfigArgs: + def __init__(__self__, *, + access_key: pulumi.Input[str], + secret_key: pulumi.Input[str], + extra_tags_alls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + extra_tags_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + instance_type: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + root_disk_iops: Optional[pulumi.Input[int]] = None, + root_disk_size: Optional[pulumi.Input[int]] = None, + 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): + """ + :param pulumi.Input[str] access_key: Outscale Access Key (string) + :param pulumi.Input[str] secret_key: Outscale Secret Key (string) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_tags_alls: Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + :param pulumi.Input[Sequence[pulumi.Input[str]]] extra_tags_instances: Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + :param pulumi.Input[str] instance_type: Outscale VM type. Default `tinav2.c1r2p3` (string) + :param pulumi.Input[str] region: AWS region. Default `eu-west-2` (string) + :param pulumi.Input[int] root_disk_iops: Iops for io1 Root Disk. From 1 to 13000. + :param pulumi.Input[int] root_disk_size: Size of the Root Disk (in GB). From 1 to 14901. + :param pulumi.Input[str] root_disk_type: Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: Ids of user defined Security Groups to add to the machine. (list) + :param pulumi.Input[str] source_omi: Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + """ + pulumi.set(__self__, "access_key", access_key) + pulumi.set(__self__, "secret_key", secret_key) + if extra_tags_alls is not None: + pulumi.set(__self__, "extra_tags_alls", extra_tags_alls) + if extra_tags_instances is not None: + pulumi.set(__self__, "extra_tags_instances", extra_tags_instances) + if instance_type is not None: + pulumi.set(__self__, "instance_type", instance_type) + if region is not None: + pulumi.set(__self__, "region", region) + if root_disk_iops is not None: + pulumi.set(__self__, "root_disk_iops", root_disk_iops) + if root_disk_size is not None: + pulumi.set(__self__, "root_disk_size", root_disk_size) + if root_disk_type is not None: + pulumi.set(__self__, "root_disk_type", root_disk_type) + if security_group_ids is not None: + pulumi.set(__self__, "security_group_ids", security_group_ids) + if source_omi is not None: + pulumi.set(__self__, "source_omi", source_omi) + + @property + @pulumi.getter(name="accessKey") + def access_key(self) -> pulumi.Input[str]: + """ + Outscale Access Key (string) + """ + return pulumi.get(self, "access_key") + + @access_key.setter + def access_key(self, value: pulumi.Input[str]): + pulumi.set(self, "access_key", value) + + @property + @pulumi.getter(name="secretKey") + def secret_key(self) -> pulumi.Input[str]: + """ + Outscale Secret Key (string) + """ + return pulumi.get(self, "secret_key") + + @secret_key.setter + def secret_key(self, value: pulumi.Input[str]): + pulumi.set(self, "secret_key", value) + + @property + @pulumi.getter(name="extraTagsAlls") + def extra_tags_alls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + """ + return pulumi.get(self, "extra_tags_alls") + + @extra_tags_alls.setter + def extra_tags_alls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_tags_alls", value) + + @property + @pulumi.getter(name="extraTagsInstances") + def extra_tags_instances(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + """ + return pulumi.get(self, "extra_tags_instances") + + @extra_tags_instances.setter + def extra_tags_instances(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "extra_tags_instances", value) + + @property + @pulumi.getter(name="instanceType") + def instance_type(self) -> Optional[pulumi.Input[str]]: + """ + Outscale VM type. Default `tinav2.c1r2p3` (string) + """ + return pulumi.get(self, "instance_type") + + @instance_type.setter + def instance_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "instance_type", value) + + @property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + """ + AWS region. Default `eu-west-2` (string) + """ + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) + + @property + @pulumi.getter(name="rootDiskIops") + def root_disk_iops(self) -> Optional[pulumi.Input[int]]: + """ + Iops for io1 Root Disk. From 1 to 13000. + """ + return pulumi.get(self, "root_disk_iops") + + @root_disk_iops.setter + def root_disk_iops(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "root_disk_iops", value) + + @property + @pulumi.getter(name="rootDiskSize") + def root_disk_size(self) -> Optional[pulumi.Input[int]]: + """ + Size of the Root Disk (in GB). From 1 to 14901. + """ + return pulumi.get(self, "root_disk_size") + + @root_disk_size.setter + def root_disk_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "root_disk_size", value) + + @property + @pulumi.getter(name="rootDiskType") + def root_disk_type(self) -> Optional[pulumi.Input[str]]: + """ + Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + """ + return pulumi.get(self, "root_disk_type") + + @root_disk_type.setter + def root_disk_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "root_disk_type", value) + + @property + @pulumi.getter(name="securityGroupIds") + def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Ids of user defined Security Groups to add to the machine. (list) + """ + return pulumi.get(self, "security_group_ids") + + @security_group_ids.setter + def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "security_group_ids", value) + + @property + @pulumi.getter(name="sourceOmi") + def source_omi(self) -> Optional[pulumi.Input[str]]: + """ + Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + """ + return pulumi.get(self, "source_omi") + + @source_omi.setter + def source_omi(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_omi", value) + + @pulumi.input_type class NodeTemplateVsphereConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_rancher2/_utilities.py b/sdk/python/pulumi_rancher2/_utilities.py index cfdc75725..2d9a3c846 100644 --- a/sdk/python/pulumi_rancher2/_utilities.py +++ b/sdk/python/pulumi_rancher2/_utilities.py @@ -98,6 +98,17 @@ def _get_semver_version(): def get_version(): return _version_str +def get_resource_opts_defaults() -> pulumi.ResourceOptions: + return pulumi.ResourceOptions( + version=get_version(), + plugin_download_url=get_plugin_download_url(), + ) + +def get_invoke_opts_defaults() -> pulumi.InvokeOptions: + return pulumi.InvokeOptions( + version=get_version(), + plugin_download_url=get_plugin_download_url(), + ) def get_resource_args_opts(resource_args_type, resource_options_type, *args, **kwargs): """ @@ -234,3 +245,6 @@ def lifted_func(*args, opts=None, **kwargs): **resolved_args['kwargs'])) return (lambda _: lifted_func) + +def get_plugin_download_url(): + return None diff --git a/sdk/python/pulumi_rancher2/active_directory.py b/sdk/python/pulumi_rancher2/active_directory.py index 8744fea75..6b891d82f 100644 --- a/sdk/python/pulumi_rancher2/active_directory.py +++ b/sdk/python/pulumi_rancher2/active_directory.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -1254,12 +1255,9 @@ def _internal_init(__self__, user_search_filter: Optional[pulumi.Input[str]] = None, __props__=None): pulumi.log.warn("""ActiveDirectory is deprecated: rancher2.ActiveDirectory has been deprecated in favor of rancher2.AuthConfigActiveDirectory""") - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -1268,7 +1266,7 @@ def _internal_init(__self__, __props__.__dict__["access_mode"] = access_mode __props__.__dict__["allowed_principal_ids"] = allowed_principal_ids __props__.__dict__["annotations"] = annotations - __props__.__dict__["certificate"] = certificate + __props__.__dict__["certificate"] = None if certificate is None else pulumi.Output.secret(certificate) __props__.__dict__["connection_timeout"] = connection_timeout __props__.__dict__["default_login_domain"] = default_login_domain __props__.__dict__["enabled"] = enabled @@ -1288,14 +1286,14 @@ def _internal_init(__self__, __props__.__dict__["servers"] = servers if service_account_password is None and not opts.urn: raise TypeError("Missing required property 'service_account_password'") - __props__.__dict__["service_account_password"] = service_account_password + __props__.__dict__["service_account_password"] = None if service_account_password is None else pulumi.Output.secret(service_account_password) if service_account_username is None and not opts.urn: raise TypeError("Missing required property 'service_account_username'") - __props__.__dict__["service_account_username"] = service_account_username + __props__.__dict__["service_account_username"] = None if service_account_username is None else pulumi.Output.secret(service_account_username) __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"] = test_password + __props__.__dict__["test_password"] = None if test_password is None else pulumi.Output.secret(test_password) if test_username is None and not opts.urn: raise TypeError("Missing required property 'test_username'") __props__.__dict__["test_username"] = test_username @@ -1312,6 +1310,8 @@ def _internal_init(__self__, __props__.__dict__["user_search_filter"] = user_search_filter __props__.__dict__["name"] = None __props__.__dict__["type"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["certificate", "serviceAccountPassword", "serviceAccountUsername", "testPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(ActiveDirectory, __self__).__init__( 'rancher2:index/activeDirectory:ActiveDirectory', resource_name, diff --git a/sdk/python/pulumi_rancher2/app.py b/sdk/python/pulumi_rancher2/app.py index f6fc215be..99080e01d 100644 --- a/sdk/python/pulumi_rancher2/app.py +++ b/sdk/python/pulumi_rancher2/app.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -687,12 +688,9 @@ def _internal_init(__self__, values_yaml: Optional[pulumi.Input[str]] = None, wait: Optional[pulumi.Input[bool]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/app_v2.py b/sdk/python/pulumi_rancher2/app_v2.py index f6cfaf67b..337b4fd25 100644 --- a/sdk/python/pulumi_rancher2/app_v2.py +++ b/sdk/python/pulumi_rancher2/app_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -664,12 +665,9 @@ def _internal_init(__self__, values: Optional[pulumi.Input[str]] = None, wait: Optional[pulumi.Input[bool]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/auth_config_active_directory.py b/sdk/python/pulumi_rancher2/auth_config_active_directory.py index e5d39cd9a..b66b54180 100644 --- a/sdk/python/pulumi_rancher2/auth_config_active_directory.py +++ b/sdk/python/pulumi_rancher2/auth_config_active_directory.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -1248,12 +1249,9 @@ def _internal_init(__self__, user_search_base: Optional[pulumi.Input[str]] = None, user_search_filter: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -1262,7 +1260,7 @@ def _internal_init(__self__, __props__.__dict__["access_mode"] = access_mode __props__.__dict__["allowed_principal_ids"] = allowed_principal_ids __props__.__dict__["annotations"] = annotations - __props__.__dict__["certificate"] = certificate + __props__.__dict__["certificate"] = None if certificate is None else pulumi.Output.secret(certificate) __props__.__dict__["connection_timeout"] = connection_timeout __props__.__dict__["default_login_domain"] = default_login_domain __props__.__dict__["enabled"] = enabled @@ -1282,14 +1280,14 @@ def _internal_init(__self__, __props__.__dict__["servers"] = servers if service_account_password is None and not opts.urn: raise TypeError("Missing required property 'service_account_password'") - __props__.__dict__["service_account_password"] = service_account_password + __props__.__dict__["service_account_password"] = None if service_account_password is None else pulumi.Output.secret(service_account_password) if service_account_username is None and not opts.urn: raise TypeError("Missing required property 'service_account_username'") - __props__.__dict__["service_account_username"] = service_account_username + __props__.__dict__["service_account_username"] = None if service_account_username is None else pulumi.Output.secret(service_account_username) __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"] = test_password + __props__.__dict__["test_password"] = None if test_password is None else pulumi.Output.secret(test_password) if test_username is None and not opts.urn: raise TypeError("Missing required property 'test_username'") __props__.__dict__["test_username"] = test_username @@ -1308,6 +1306,8 @@ def _internal_init(__self__, __props__.__dict__["type"] = None alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="rancher2:index/activeDirectory:ActiveDirectory")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["certificate", "serviceAccountPassword", "serviceAccountUsername", "testPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(AuthConfigActiveDirectory, __self__).__init__( 'rancher2:index/authConfigActiveDirectory:AuthConfigActiveDirectory', resource_name, diff --git a/sdk/python/pulumi_rancher2/auth_config_adfs.py b/sdk/python/pulumi_rancher2/auth_config_adfs.py index f8b9e6941..6060ce41d 100644 --- a/sdk/python/pulumi_rancher2/auth_config_adfs.py +++ b/sdk/python/pulumi_rancher2/auth_config_adfs.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -582,12 +583,9 @@ def _internal_init(__self__, uid_field: Optional[pulumi.Input[str]] = None, user_name_field: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -605,17 +603,17 @@ def _internal_init(__self__, __props__.__dict__["groups_field"] = groups_field if idp_metadata_content is None and not opts.urn: raise TypeError("Missing required property 'idp_metadata_content'") - __props__.__dict__["idp_metadata_content"] = idp_metadata_content + __props__.__dict__["idp_metadata_content"] = None if idp_metadata_content is None else pulumi.Output.secret(idp_metadata_content) __props__.__dict__["labels"] = labels if rancher_api_host is None and not opts.urn: raise TypeError("Missing required property 'rancher_api_host'") __props__.__dict__["rancher_api_host"] = rancher_api_host if sp_cert is None and not opts.urn: raise TypeError("Missing required property 'sp_cert'") - __props__.__dict__["sp_cert"] = sp_cert + __props__.__dict__["sp_cert"] = None if sp_cert is None else pulumi.Output.secret(sp_cert) if sp_key is None and not opts.urn: raise TypeError("Missing required property 'sp_key'") - __props__.__dict__["sp_key"] = sp_key + __props__.__dict__["sp_key"] = None if sp_key is None else pulumi.Output.secret(sp_key) if uid_field is None and not opts.urn: raise TypeError("Missing required property 'uid_field'") __props__.__dict__["uid_field"] = uid_field @@ -624,6 +622,8 @@ def _internal_init(__self__, __props__.__dict__["user_name_field"] = user_name_field __props__.__dict__["name"] = None __props__.__dict__["type"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["idpMetadataContent", "spCert", "spKey"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(AuthConfigAdfs, __self__).__init__( 'rancher2:index/authConfigAdfs:AuthConfigAdfs', resource_name, diff --git a/sdk/python/pulumi_rancher2/auth_config_azure_ad.py b/sdk/python/pulumi_rancher2/auth_config_azure_ad.py index 1e8d8152f..e6efd16be 100644 --- a/sdk/python/pulumi_rancher2/auth_config_azure_ad.py +++ b/sdk/python/pulumi_rancher2/auth_config_azure_ad.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -487,10 +488,6 @@ def __init__(__self__, token_endpoint: Optional[pulumi.Input[str]] = None, __props__=None): """ - Provides a Rancher v2 Auth Config AzureAD resource. This can be used to configure and enable Auth Config AzureAD for Rancher v2 RKE clusters and retrieve their information. - - In addition to the built-in local auth, only one external auth config provider can be enabled at a time. - ## Example Usage ```python @@ -531,10 +528,6 @@ def __init__(__self__, args: AuthConfigAzureAdArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Provides a Rancher v2 Auth Config AzureAD resource. This can be used to configure and enable Auth Config AzureAD for Rancher v2 RKE clusters and retrieve their information. - - In addition to the built-in local auth, only one external auth config provider can be enabled at a time. - ## Example Usage ```python @@ -581,12 +574,9 @@ def _internal_init(__self__, tenant_id: Optional[pulumi.Input[str]] = None, token_endpoint: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -597,10 +587,10 @@ def _internal_init(__self__, __props__.__dict__["annotations"] = annotations if application_id is None and not opts.urn: raise TypeError("Missing required property 'application_id'") - __props__.__dict__["application_id"] = application_id + __props__.__dict__["application_id"] = None if application_id is None else pulumi.Output.secret(application_id) if application_secret is None and not opts.urn: raise TypeError("Missing required property 'application_secret'") - __props__.__dict__["application_secret"] = application_secret + __props__.__dict__["application_secret"] = None if application_secret is None else pulumi.Output.secret(application_secret) if auth_endpoint is None and not opts.urn: raise TypeError("Missing required property 'auth_endpoint'") __props__.__dict__["auth_endpoint"] = auth_endpoint @@ -621,6 +611,8 @@ def _internal_init(__self__, __props__.__dict__["token_endpoint"] = token_endpoint __props__.__dict__["name"] = None __props__.__dict__["type"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["applicationId", "applicationSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(AuthConfigAzureAd, __self__).__init__( 'rancher2:index/authConfigAzureAd:AuthConfigAzureAd', resource_name, diff --git a/sdk/python/pulumi_rancher2/auth_config_free_ipa.py b/sdk/python/pulumi_rancher2/auth_config_free_ipa.py index caaa70b48..60058d5fb 100644 --- a/sdk/python/pulumi_rancher2/auth_config_free_ipa.py +++ b/sdk/python/pulumi_rancher2/auth_config_free_ipa.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -1143,12 +1144,9 @@ def _internal_init(__self__, user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_base: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -1157,7 +1155,7 @@ def _internal_init(__self__, __props__.__dict__["access_mode"] = access_mode __props__.__dict__["allowed_principal_ids"] = allowed_principal_ids __props__.__dict__["annotations"] = annotations - __props__.__dict__["certificate"] = certificate + __props__.__dict__["certificate"] = None if certificate is None else pulumi.Output.secret(certificate) __props__.__dict__["connection_timeout"] = connection_timeout __props__.__dict__["enabled"] = enabled __props__.__dict__["group_dn_attribute"] = group_dn_attribute @@ -1175,13 +1173,13 @@ def _internal_init(__self__, __props__.__dict__["servers"] = servers if service_account_distinguished_name is None and not opts.urn: raise TypeError("Missing required property 'service_account_distinguished_name'") - __props__.__dict__["service_account_distinguished_name"] = service_account_distinguished_name + __props__.__dict__["service_account_distinguished_name"] = None if service_account_distinguished_name is None else pulumi.Output.secret(service_account_distinguished_name) if service_account_password is None and not opts.urn: raise TypeError("Missing required property 'service_account_password'") - __props__.__dict__["service_account_password"] = service_account_password + __props__.__dict__["service_account_password"] = None if service_account_password is None else pulumi.Output.secret(service_account_password) if test_password is None and not opts.urn: raise TypeError("Missing required property 'test_password'") - __props__.__dict__["test_password"] = test_password + __props__.__dict__["test_password"] = None if test_password is None else pulumi.Output.secret(test_password) if test_username is None and not opts.urn: raise TypeError("Missing required property 'test_username'") __props__.__dict__["test_username"] = test_username @@ -1198,6 +1196,8 @@ def _internal_init(__self__, __props__.__dict__["user_search_base"] = user_search_base __props__.__dict__["name"] = None __props__.__dict__["type"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["certificate", "serviceAccountDistinguishedName", "serviceAccountPassword", "testPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(AuthConfigFreeIpa, __self__).__init__( 'rancher2:index/authConfigFreeIpa:AuthConfigFreeIpa', resource_name, diff --git a/sdk/python/pulumi_rancher2/auth_config_github.py b/sdk/python/pulumi_rancher2/auth_config_github.py index bb942c044..d8e17691c 100644 --- a/sdk/python/pulumi_rancher2/auth_config_github.py +++ b/sdk/python/pulumi_rancher2/auth_config_github.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -436,12 +437,9 @@ def _internal_init(__self__, labels: Optional[pulumi.Input[Mapping[str, Any]]] = None, tls: Optional[pulumi.Input[bool]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -452,16 +450,18 @@ def _internal_init(__self__, __props__.__dict__["annotations"] = annotations if client_id is None and not opts.urn: raise TypeError("Missing required property 'client_id'") - __props__.__dict__["client_id"] = client_id + __props__.__dict__["client_id"] = None if client_id is None else pulumi.Output.secret(client_id) if client_secret is None and not opts.urn: raise TypeError("Missing required property 'client_secret'") - __props__.__dict__["client_secret"] = client_secret + __props__.__dict__["client_secret"] = None if client_secret is None else pulumi.Output.secret(client_secret) __props__.__dict__["enabled"] = enabled __props__.__dict__["hostname"] = hostname __props__.__dict__["labels"] = labels __props__.__dict__["tls"] = tls __props__.__dict__["name"] = None __props__.__dict__["type"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientId", "clientSecret"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(AuthConfigGithub, __self__).__init__( 'rancher2:index/authConfigGithub:AuthConfigGithub', resource_name, diff --git a/sdk/python/pulumi_rancher2/auth_config_keycloak.py b/sdk/python/pulumi_rancher2/auth_config_keycloak.py index c2a818f34..20dd2827d 100644 --- a/sdk/python/pulumi_rancher2/auth_config_keycloak.py +++ b/sdk/python/pulumi_rancher2/auth_config_keycloak.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -617,12 +618,9 @@ def _internal_init(__self__, uid_field: Optional[pulumi.Input[str]] = None, user_name_field: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -641,17 +639,17 @@ def _internal_init(__self__, __props__.__dict__["groups_field"] = groups_field if idp_metadata_content is None and not opts.urn: raise TypeError("Missing required property 'idp_metadata_content'") - __props__.__dict__["idp_metadata_content"] = idp_metadata_content + __props__.__dict__["idp_metadata_content"] = None if idp_metadata_content is None else pulumi.Output.secret(idp_metadata_content) __props__.__dict__["labels"] = labels if rancher_api_host is None and not opts.urn: raise TypeError("Missing required property 'rancher_api_host'") __props__.__dict__["rancher_api_host"] = rancher_api_host if sp_cert is None and not opts.urn: raise TypeError("Missing required property 'sp_cert'") - __props__.__dict__["sp_cert"] = sp_cert + __props__.__dict__["sp_cert"] = None if sp_cert is None else pulumi.Output.secret(sp_cert) if sp_key is None and not opts.urn: raise TypeError("Missing required property 'sp_key'") - __props__.__dict__["sp_key"] = sp_key + __props__.__dict__["sp_key"] = None if sp_key is None else pulumi.Output.secret(sp_key) if uid_field is None and not opts.urn: raise TypeError("Missing required property 'uid_field'") __props__.__dict__["uid_field"] = uid_field @@ -660,6 +658,8 @@ def _internal_init(__self__, __props__.__dict__["user_name_field"] = user_name_field __props__.__dict__["name"] = None __props__.__dict__["type"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["idpMetadataContent", "spCert", "spKey"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(AuthConfigKeycloak, __self__).__init__( 'rancher2:index/authConfigKeycloak:AuthConfigKeycloak', resource_name, diff --git a/sdk/python/pulumi_rancher2/auth_config_okta.py b/sdk/python/pulumi_rancher2/auth_config_okta.py index 97ef0f554..b0a3dd406 100644 --- a/sdk/python/pulumi_rancher2/auth_config_okta.py +++ b/sdk/python/pulumi_rancher2/auth_config_okta.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -582,12 +583,9 @@ def _internal_init(__self__, uid_field: Optional[pulumi.Input[str]] = None, user_name_field: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -605,17 +603,17 @@ def _internal_init(__self__, __props__.__dict__["groups_field"] = groups_field if idp_metadata_content is None and not opts.urn: raise TypeError("Missing required property 'idp_metadata_content'") - __props__.__dict__["idp_metadata_content"] = idp_metadata_content + __props__.__dict__["idp_metadata_content"] = None if idp_metadata_content is None else pulumi.Output.secret(idp_metadata_content) __props__.__dict__["labels"] = labels if rancher_api_host is None and not opts.urn: raise TypeError("Missing required property 'rancher_api_host'") __props__.__dict__["rancher_api_host"] = rancher_api_host if sp_cert is None and not opts.urn: raise TypeError("Missing required property 'sp_cert'") - __props__.__dict__["sp_cert"] = sp_cert + __props__.__dict__["sp_cert"] = None if sp_cert is None else pulumi.Output.secret(sp_cert) if sp_key is None and not opts.urn: raise TypeError("Missing required property 'sp_key'") - __props__.__dict__["sp_key"] = sp_key + __props__.__dict__["sp_key"] = None if sp_key is None else pulumi.Output.secret(sp_key) if uid_field is None and not opts.urn: raise TypeError("Missing required property 'uid_field'") __props__.__dict__["uid_field"] = uid_field @@ -624,6 +622,8 @@ def _internal_init(__self__, __props__.__dict__["user_name_field"] = user_name_field __props__.__dict__["name"] = None __props__.__dict__["type"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["idpMetadataContent", "spCert", "spKey"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(AuthConfigOkta, __self__).__init__( 'rancher2:index/authConfigOkta:AuthConfigOkta', resource_name, diff --git a/sdk/python/pulumi_rancher2/auth_config_open_ldap.py b/sdk/python/pulumi_rancher2/auth_config_open_ldap.py index 6caf177be..de76678d8 100644 --- a/sdk/python/pulumi_rancher2/auth_config_open_ldap.py +++ b/sdk/python/pulumi_rancher2/auth_config_open_ldap.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -1143,12 +1144,9 @@ def _internal_init(__self__, user_search_attribute: Optional[pulumi.Input[str]] = None, user_search_base: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -1157,7 +1155,7 @@ def _internal_init(__self__, __props__.__dict__["access_mode"] = access_mode __props__.__dict__["allowed_principal_ids"] = allowed_principal_ids __props__.__dict__["annotations"] = annotations - __props__.__dict__["certificate"] = certificate + __props__.__dict__["certificate"] = None if certificate is None else pulumi.Output.secret(certificate) __props__.__dict__["connection_timeout"] = connection_timeout __props__.__dict__["enabled"] = enabled __props__.__dict__["group_dn_attribute"] = group_dn_attribute @@ -1175,13 +1173,13 @@ def _internal_init(__self__, __props__.__dict__["servers"] = servers if service_account_distinguished_name is None and not opts.urn: raise TypeError("Missing required property 'service_account_distinguished_name'") - __props__.__dict__["service_account_distinguished_name"] = service_account_distinguished_name + __props__.__dict__["service_account_distinguished_name"] = None if service_account_distinguished_name is None else pulumi.Output.secret(service_account_distinguished_name) if service_account_password is None and not opts.urn: raise TypeError("Missing required property 'service_account_password'") - __props__.__dict__["service_account_password"] = service_account_password + __props__.__dict__["service_account_password"] = None if service_account_password is None else pulumi.Output.secret(service_account_password) if test_password is None and not opts.urn: raise TypeError("Missing required property 'test_password'") - __props__.__dict__["test_password"] = test_password + __props__.__dict__["test_password"] = None if test_password is None else pulumi.Output.secret(test_password) if test_username is None and not opts.urn: raise TypeError("Missing required property 'test_username'") __props__.__dict__["test_username"] = test_username @@ -1198,6 +1196,8 @@ def _internal_init(__self__, __props__.__dict__["user_search_base"] = user_search_base __props__.__dict__["name"] = None __props__.__dict__["type"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["certificate", "serviceAccountDistinguishedName", "serviceAccountPassword", "testPassword"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(AuthConfigOpenLdap, __self__).__init__( 'rancher2:index/authConfigOpenLdap:AuthConfigOpenLdap', resource_name, diff --git a/sdk/python/pulumi_rancher2/auth_config_ping.py b/sdk/python/pulumi_rancher2/auth_config_ping.py index 1633056c9..f2bb33abc 100644 --- a/sdk/python/pulumi_rancher2/auth_config_ping.py +++ b/sdk/python/pulumi_rancher2/auth_config_ping.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -582,12 +583,9 @@ def _internal_init(__self__, uid_field: Optional[pulumi.Input[str]] = None, user_name_field: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -605,17 +603,17 @@ def _internal_init(__self__, __props__.__dict__["groups_field"] = groups_field if idp_metadata_content is None and not opts.urn: raise TypeError("Missing required property 'idp_metadata_content'") - __props__.__dict__["idp_metadata_content"] = idp_metadata_content + __props__.__dict__["idp_metadata_content"] = None if idp_metadata_content is None else pulumi.Output.secret(idp_metadata_content) __props__.__dict__["labels"] = labels if rancher_api_host is None and not opts.urn: raise TypeError("Missing required property 'rancher_api_host'") __props__.__dict__["rancher_api_host"] = rancher_api_host if sp_cert is None and not opts.urn: raise TypeError("Missing required property 'sp_cert'") - __props__.__dict__["sp_cert"] = sp_cert + __props__.__dict__["sp_cert"] = None if sp_cert is None else pulumi.Output.secret(sp_cert) if sp_key is None and not opts.urn: raise TypeError("Missing required property 'sp_key'") - __props__.__dict__["sp_key"] = sp_key + __props__.__dict__["sp_key"] = None if sp_key is None else pulumi.Output.secret(sp_key) if uid_field is None and not opts.urn: raise TypeError("Missing required property 'uid_field'") __props__.__dict__["uid_field"] = uid_field @@ -624,6 +622,8 @@ def _internal_init(__self__, __props__.__dict__["user_name_field"] = user_name_field __props__.__dict__["name"] = None __props__.__dict__["type"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["idpMetadataContent", "spCert", "spKey"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(AuthConfigPing, __self__).__init__( 'rancher2:index/authConfigPing:AuthConfigPing', resource_name, diff --git a/sdk/python/pulumi_rancher2/bootstrap.py b/sdk/python/pulumi_rancher2/bootstrap.py index 5a55494d6..644d85709 100644 --- a/sdk/python/pulumi_rancher2/bootstrap.py +++ b/sdk/python/pulumi_rancher2/bootstrap.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -368,11 +369,10 @@ def __init__(__self__, ```python import pulumi - import pulumi_pulumi as pulumi import pulumi_rancher2 as rancher2 # Provider bootstrap config with alias - bootstrap = pulumi.providers.Rancher2("bootstrap", + bootstrap = rancher2.Provider("bootstrap", api_url="https://rancher.my-domain.com", bootstrap=True) # Create a new rancher2_bootstrap using bootstrap provider config @@ -423,11 +423,10 @@ def __init__(__self__, ```python import pulumi - import pulumi_pulumi as pulumi import pulumi_rancher2 as rancher2 # Provider bootstrap config with alias - bootstrap = pulumi.providers.Rancher2("bootstrap", + bootstrap = rancher2.Provider("bootstrap", api_url="https://rancher.my-domain.com", bootstrap=True) # Create a new rancher2_bootstrap using bootstrap provider config @@ -459,19 +458,16 @@ def _internal_init(__self__, token_update: Optional[pulumi.Input[bool]] = None, ui_default_landing: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = BootstrapArgs.__new__(BootstrapArgs) - __props__.__dict__["initial_password"] = initial_password - __props__.__dict__["password"] = password + __props__.__dict__["initial_password"] = None if initial_password is None else pulumi.Output.secret(initial_password) + __props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password) __props__.__dict__["telemetry"] = telemetry __props__.__dict__["token_ttl"] = token_ttl __props__.__dict__["token_update"] = token_update @@ -483,6 +479,8 @@ def _internal_init(__self__, __props__.__dict__["token_id"] = None __props__.__dict__["url"] = None __props__.__dict__["user"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["currentPassword", "initialPassword", "password", "tempToken", "token"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(Bootstrap, __self__).__init__( 'rancher2:index/bootstrap:Bootstrap', resource_name, diff --git a/sdk/python/pulumi_rancher2/catalog.py b/sdk/python/pulumi_rancher2/catalog.py index 8e435b9b7..8cbbd2bef 100644 --- a/sdk/python/pulumi_rancher2/catalog.py +++ b/sdk/python/pulumi_rancher2/catalog.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -604,12 +605,9 @@ def _internal_init(__self__, username: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -622,15 +620,17 @@ def _internal_init(__self__, __props__.__dict__["kind"] = kind __props__.__dict__["labels"] = labels __props__.__dict__["name"] = name - __props__.__dict__["password"] = password + __props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password) __props__.__dict__["project_id"] = project_id __props__.__dict__["refresh"] = refresh __props__.__dict__["scope"] = scope if url is None and not opts.urn: raise TypeError("Missing required property 'url'") __props__.__dict__["url"] = url - __props__.__dict__["username"] = username + __props__.__dict__["username"] = None if username is None else pulumi.Output.secret(username) __props__.__dict__["version"] = version + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password", "username"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(Catalog, __self__).__init__( 'rancher2:index/catalog:Catalog', resource_name, diff --git a/sdk/python/pulumi_rancher2/catalog_v2.py b/sdk/python/pulumi_rancher2/catalog_v2.py index 7b6db62f5..4f67c7095 100644 --- a/sdk/python/pulumi_rancher2/catalog_v2.py +++ b/sdk/python/pulumi_rancher2/catalog_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -584,12 +585,9 @@ def _internal_init(__self__, service_account_namespace: Optional[pulumi.Input[str]] = None, url: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/certificate.py b/sdk/python/pulumi_rancher2/certificate.py index cb2679fc0..7b19e488a 100644 --- a/sdk/python/pulumi_rancher2/certificate.py +++ b/sdk/python/pulumi_rancher2/certificate.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -348,12 +349,9 @@ def _internal_init(__self__, namespace_id: Optional[pulumi.Input[str]] = None, project_id: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -366,13 +364,15 @@ def _internal_init(__self__, __props__.__dict__["description"] = description if key is None and not opts.urn: raise TypeError("Missing required property 'key'") - __props__.__dict__["key"] = key + __props__.__dict__["key"] = None if key is None else pulumi.Output.secret(key) __props__.__dict__["labels"] = labels __props__.__dict__["name"] = name __props__.__dict__["namespace_id"] = namespace_id if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["key"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(Certificate, __self__).__init__( 'rancher2:index/certificate:Certificate', resource_name, diff --git a/sdk/python/pulumi_rancher2/cloud_credential.py b/sdk/python/pulumi_rancher2/cloud_credential.py index 62d6dec4a..382988a52 100644 --- a/sdk/python/pulumi_rancher2/cloud_credential.py +++ b/sdk/python/pulumi_rancher2/cloud_credential.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -616,12 +617,9 @@ def _internal_init(__self__, s3_credential_config: Optional[pulumi.Input[pulumi.InputType['CloudCredentialS3CredentialConfigArgs']]] = None, vsphere_credential_config: Optional[pulumi.Input[pulumi.InputType['CloudCredentialVsphereCredentialConfigArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/cluster.py b/sdk/python/pulumi_rancher2/cluster.py index 5c6fdfc44..6039449f8 100644 --- a/sdk/python/pulumi_rancher2/cluster.py +++ b/sdk/python/pulumi_rancher2/cluster.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -1598,7 +1599,7 @@ def __init__(__self__, public_access=True, )) ``` - ### Creating AKS cluster from Rancher v2, using `aks_config_v2`. For Rancher v2.6.0 or above (Tech preview) + ### Creating AKS cluster from Rancher v2, using `aks_config_v2`. For Rancher v2.6.0 or above. ```python import pulumi @@ -2075,7 +2076,7 @@ def __init__(__self__, public_access=True, )) ``` - ### Creating AKS cluster from Rancher v2, using `aks_config_v2`. For Rancher v2.6.0 or above (Tech preview) + ### Creating AKS cluster from Rancher v2, using `aks_config_v2`. For Rancher v2.6.0 or above. ```python import pulumi @@ -2166,12 +2167,9 @@ def _internal_init(__self__, scheduled_cluster_scan: Optional[pulumi.Input[pulumi.InputType['ClusterScheduledClusterScanArgs']]] = None, windows_prefered_cluster: Optional[pulumi.Input[bool]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -2216,6 +2214,8 @@ def _internal_init(__self__, __props__.__dict__["istio_enabled"] = None __props__.__dict__["kube_config"] = None __props__.__dict__["system_project_id"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["caCert", "kubeConfig"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(Cluster, __self__).__init__( 'rancher2:index/cluster:Cluster', resource_name, diff --git a/sdk/python/pulumi_rancher2/cluster_alert_group.py b/sdk/python/pulumi_rancher2/cluster_alert_group.py index e87ecdff6..830c39479 100644 --- a/sdk/python/pulumi_rancher2/cluster_alert_group.py +++ b/sdk/python/pulumi_rancher2/cluster_alert_group.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -423,12 +424,9 @@ def _internal_init(__self__, recipients: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterAlertGroupRecipientArgs']]]]] = None, repeat_interval_seconds: Optional[pulumi.Input[int]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/cluster_alert_rule.py b/sdk/python/pulumi_rancher2/cluster_alert_rule.py index 621b73fdb..6772b0c80 100644 --- a/sdk/python/pulumi_rancher2/cluster_alert_rule.py +++ b/sdk/python/pulumi_rancher2/cluster_alert_rule.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -609,12 +610,9 @@ def _internal_init(__self__, severity: Optional[pulumi.Input[str]] = None, system_service_rule: Optional[pulumi.Input[pulumi.InputType['ClusterAlertRuleSystemServiceRuleArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/cluster_alter_group.py b/sdk/python/pulumi_rancher2/cluster_alter_group.py index f670149fc..3faf7c68d 100644 --- a/sdk/python/pulumi_rancher2/cluster_alter_group.py +++ b/sdk/python/pulumi_rancher2/cluster_alter_group.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -429,12 +430,9 @@ def _internal_init(__self__, repeat_interval_seconds: Optional[pulumi.Input[int]] = None, __props__=None): pulumi.log.warn("""ClusterAlterGroup is deprecated: rancher2.ClusterAlterGroup has been deprecated in favor of rancher2.ClusterAlertGroup""") - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/cluster_alter_rule.py b/sdk/python/pulumi_rancher2/cluster_alter_rule.py index ff7ba88f9..6b9da5d7d 100644 --- a/sdk/python/pulumi_rancher2/cluster_alter_rule.py +++ b/sdk/python/pulumi_rancher2/cluster_alter_rule.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -603,12 +604,9 @@ def _internal_init(__self__, system_service_rule: Optional[pulumi.Input[pulumi.InputType['ClusterAlterRuleSystemServiceRuleArgs']]] = None, __props__=None): pulumi.log.warn("""ClusterAlterRule is deprecated: rancher2.ClusterAlterRule has been deprecated in favor of rancher2.ClusterAlertRule""") - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/cluster_driver.py b/sdk/python/pulumi_rancher2/cluster_driver.py index 22c1c0528..631bb5256 100644 --- a/sdk/python/pulumi_rancher2/cluster_driver.py +++ b/sdk/python/pulumi_rancher2/cluster_driver.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -426,12 +427,9 @@ def _internal_init(__self__, url: Optional[pulumi.Input[str]] = None, whitelist_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/cluster_logging.py b/sdk/python/pulumi_rancher2/cluster_logging.py index 539f92a88..c5cc769c3 100644 --- a/sdk/python/pulumi_rancher2/cluster_logging.py +++ b/sdk/python/pulumi_rancher2/cluster_logging.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -640,12 +641,9 @@ def _internal_init(__self__, splunk_config: Optional[pulumi.Input[pulumi.InputType['ClusterLoggingSplunkConfigArgs']]] = None, syslog_config: Optional[pulumi.Input[pulumi.InputType['ClusterLoggingSyslogConfigArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/cluster_role_template_binding.py b/sdk/python/pulumi_rancher2/cluster_role_template_binding.py index b7dc42d99..3cf89ff52 100644 --- a/sdk/python/pulumi_rancher2/cluster_role_template_binding.py +++ b/sdk/python/pulumi_rancher2/cluster_role_template_binding.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -418,12 +419,9 @@ def _internal_init(__self__, user_id: Optional[pulumi.Input[str]] = None, user_principal_id: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/cluster_sync.py b/sdk/python/pulumi_rancher2/cluster_sync.py index f902f0e06..eb89c0083 100644 --- a/sdk/python/pulumi_rancher2/cluster_sync.py +++ b/sdk/python/pulumi_rancher2/cluster_sync.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -488,12 +489,9 @@ def _internal_init(__self__, wait_catalogs: Optional[pulumi.Input[bool]] = None, wait_monitoring: Optional[pulumi.Input[bool]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -512,6 +510,8 @@ def _internal_init(__self__, __props__.__dict__["kube_config"] = None __props__.__dict__["nodes"] = None __props__.__dict__["system_project_id"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["kubeConfig"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(ClusterSync, __self__).__init__( 'rancher2:index/clusterSync:ClusterSync', resource_name, diff --git a/sdk/python/pulumi_rancher2/cluster_template.py b/sdk/python/pulumi_rancher2/cluster_template.py index d7fa2f452..d730843ef 100644 --- a/sdk/python/pulumi_rancher2/cluster_template.py +++ b/sdk/python/pulumi_rancher2/cluster_template.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -537,12 +538,9 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, template_revisions: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClusterTemplateTemplateRevisionArgs']]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/cluster_v2.py b/sdk/python/pulumi_rancher2/cluster_v2.py index 684fd0d36..1a51d44aa 100644 --- a/sdk/python/pulumi_rancher2/cluster_v2.py +++ b/sdk/python/pulumi_rancher2/cluster_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -36,7 +37,7 @@ def __init__(__self__, *, :param pulumi.Input[str] default_cluster_role_for_project_members: Cluster V2 default cluster role for project members (string) :param pulumi.Input[str] default_pod_security_policy_template_name: Cluster V2 default pod security policy template name (string) :param pulumi.Input[bool] enable_network_policy: Enable k8s network policy at Cluster V2 (bool) - :param pulumi.Input[str] fleet_namespace: The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) + :param pulumi.Input[str] fleet_namespace: The fleet namespace of the Cluster v2. Default: `\\"fleet-default\\"` (string) :param pulumi.Input[Mapping[str, Any]] labels: Labels for cluster registration token object (map) :param pulumi.Input['ClusterV2LocalAuthEndpointArgs'] local_auth_endpoint: Use rancher2_cluster_v2.local_auth_endpoint instead :param pulumi.Input[str] name: Name of cluster registration token (string) @@ -154,7 +155,7 @@ def enable_network_policy(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="fleetNamespace") def fleet_namespace(self) -> Optional[pulumi.Input[str]]: """ - The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) + The fleet namespace of the Cluster v2. Default: `\\"fleet-default\\"` (string) """ return pulumi.get(self, "fleet_namespace") @@ -240,7 +241,7 @@ def __init__(__self__, *, :param pulumi.Input[str] default_cluster_role_for_project_members: Cluster V2 default cluster role for project members (string) :param pulumi.Input[str] default_pod_security_policy_template_name: Cluster V2 default pod security policy template name (string) :param pulumi.Input[bool] enable_network_policy: Enable k8s network policy at Cluster V2 (bool) - :param pulumi.Input[str] fleet_namespace: The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) + :param pulumi.Input[str] fleet_namespace: The fleet namespace of the Cluster v2. Default: `\\"fleet-default\\"` (string) :param pulumi.Input[str] kube_config: (Computed/Sensitive) Kube Config generated for the cluster v2. Note: When the cluster has `local_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string) :param pulumi.Input[str] kubernetes_version: The kubernetes version of the Cluster v2 (list maxitems:1) :param pulumi.Input[Mapping[str, Any]] labels: Labels for cluster registration token object (map) @@ -382,7 +383,7 @@ def enable_network_policy(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="fleetNamespace") def fleet_namespace(self) -> Optional[pulumi.Input[str]]: """ - The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) + The fleet namespace of the Cluster v2. Default: `\\"fleet-default\\"` (string) """ return pulumi.get(self, "fleet_namespace") @@ -494,7 +495,7 @@ def __init__(__self__, rke_config: Optional[pulumi.Input[pulumi.InputType['ClusterV2RkeConfigArgs']]] = None, __props__=None): """ - Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. + Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is available from Rancher v2.6.0 and above. ## Example Usage ### Creating Rancher v2 custom cluster v2 @@ -529,7 +530,7 @@ def __init__(__self__, :param pulumi.Input[str] default_cluster_role_for_project_members: Cluster V2 default cluster role for project members (string) :param pulumi.Input[str] default_pod_security_policy_template_name: Cluster V2 default pod security policy template name (string) :param pulumi.Input[bool] enable_network_policy: Enable k8s network policy at Cluster V2 (bool) - :param pulumi.Input[str] fleet_namespace: The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) + :param pulumi.Input[str] fleet_namespace: The fleet namespace of the Cluster v2. Default: `\\"fleet-default\\"` (string) :param pulumi.Input[str] kubernetes_version: The kubernetes version of the Cluster v2 (list maxitems:1) :param pulumi.Input[Mapping[str, Any]] labels: Labels for cluster registration token object (map) :param pulumi.Input[pulumi.InputType['ClusterV2LocalAuthEndpointArgs']] local_auth_endpoint: Use rancher2_cluster_v2.local_auth_endpoint instead @@ -543,7 +544,7 @@ def __init__(__self__, args: ClusterV2Args, opts: Optional[pulumi.ResourceOptions] = None): """ - Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. + Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is available from Rancher v2.6.0 and above. ## Example Usage ### Creating Rancher v2 custom cluster v2 @@ -598,12 +599,9 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, rke_config: Optional[pulumi.Input[pulumi.InputType['ClusterV2RkeConfigArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -627,6 +625,8 @@ def _internal_init(__self__, __props__.__dict__["cluster_v1_id"] = None __props__.__dict__["kube_config"] = None __props__.__dict__["resource_version"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clusterRegistrationToken", "kubeConfig"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(ClusterV2, __self__).__init__( 'rancher2:index/clusterV2:ClusterV2', resource_name, @@ -668,7 +668,7 @@ def get(resource_name: str, :param pulumi.Input[str] default_cluster_role_for_project_members: Cluster V2 default cluster role for project members (string) :param pulumi.Input[str] default_pod_security_policy_template_name: Cluster V2 default pod security policy template name (string) :param pulumi.Input[bool] enable_network_policy: Enable k8s network policy at Cluster V2 (bool) - :param pulumi.Input[str] fleet_namespace: The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) + :param pulumi.Input[str] fleet_namespace: The fleet namespace of the Cluster v2. Default: `\\"fleet-default\\"` (string) :param pulumi.Input[str] kube_config: (Computed/Sensitive) Kube Config generated for the cluster v2. Note: When the cluster has `local_auth_endpoint` enabled, the kube_config will not be available until the cluster is `connected` (string) :param pulumi.Input[str] kubernetes_version: The kubernetes version of the Cluster v2 (list maxitems:1) :param pulumi.Input[Mapping[str, Any]] labels: Labels for cluster registration token object (map) @@ -767,7 +767,7 @@ def enable_network_policy(self) -> pulumi.Output[bool]: @pulumi.getter(name="fleetNamespace") def fleet_namespace(self) -> pulumi.Output[Optional[str]]: """ - The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) + The fleet namespace of the Cluster v2. Default: `\\"fleet-default\\"` (string) """ return pulumi.get(self, "fleet_namespace") diff --git a/sdk/python/pulumi_rancher2/config/__init__.pyi b/sdk/python/pulumi_rancher2/config/__init__.pyi index b3c2b274e..9105151a6 100644 --- a/sdk/python/pulumi_rancher2/config/__init__.pyi +++ b/sdk/python/pulumi_rancher2/config/__init__.pyi @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime diff --git a/sdk/python/pulumi_rancher2/config/vars.py b/sdk/python/pulumi_rancher2/config/vars.py index 37d25bf8d..83a1dc87e 100644 --- a/sdk/python/pulumi_rancher2/config/vars.py +++ b/sdk/python/pulumi_rancher2/config/vars.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime diff --git a/sdk/python/pulumi_rancher2/config_map_v2.py b/sdk/python/pulumi_rancher2/config_map_v2.py index c00efe42c..847300a43 100644 --- a/sdk/python/pulumi_rancher2/config_map_v2.py +++ b/sdk/python/pulumi_rancher2/config_map_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -338,12 +339,9 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, namespace: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/etcd_backup.py b/sdk/python/pulumi_rancher2/etcd_backup.py index 0334c0440..22f1ffc97 100644 --- a/sdk/python/pulumi_rancher2/etcd_backup.py +++ b/sdk/python/pulumi_rancher2/etcd_backup.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -406,12 +407,9 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, namespace_id: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/feature.py b/sdk/python/pulumi_rancher2/feature.py index 93d5c6e61..10bac4205 100644 --- a/sdk/python/pulumi_rancher2/feature.py +++ b/sdk/python/pulumi_rancher2/feature.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -219,12 +220,9 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[bool]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/get_app.py b/sdk/python/pulumi_rancher2/get_app.py index 874c1cb9e..5367fe456 100644 --- a/sdk/python/pulumi_rancher2/get_app.py +++ b/sdk/python/pulumi_rancher2/get_app.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -220,10 +221,7 @@ def get_app(annotations: Optional[Mapping[str, Any]] = None, __args__['name'] = name __args__['projectId'] = project_id __args__['targetNamespace'] = target_namespace - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getApp:getApp', __args__, opts=opts, typ=GetAppResult).value return AwaitableGetAppResult( diff --git a/sdk/python/pulumi_rancher2/get_catalog.py b/sdk/python/pulumi_rancher2/get_catalog.py index 70e785cc4..2155da105 100644 --- a/sdk/python/pulumi_rancher2/get_catalog.py +++ b/sdk/python/pulumi_rancher2/get_catalog.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -215,10 +216,7 @@ def get_catalog(name: Optional[str] = None, __args__ = dict() __args__['name'] = name __args__['scope'] = scope - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getCatalog:getCatalog', __args__, opts=opts, typ=GetCatalogResult).value return AwaitableGetCatalogResult( diff --git a/sdk/python/pulumi_rancher2/get_catalog_v2.py b/sdk/python/pulumi_rancher2/get_catalog_v2.py index 86bf4a9c1..44705e0d9 100644 --- a/sdk/python/pulumi_rancher2/get_catalog_v2.py +++ b/sdk/python/pulumi_rancher2/get_catalog_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -230,10 +231,7 @@ def get_catalog_v2(cluster_id: Optional[str] = None, __args__ = dict() __args__['clusterId'] = cluster_id __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getCatalogV2:getCatalogV2', __args__, opts=opts, typ=GetCatalogV2Result).value return AwaitableGetCatalogV2Result( diff --git a/sdk/python/pulumi_rancher2/get_certificate.py b/sdk/python/pulumi_rancher2/get_certificate.py index 448cf3456..cd63dee4c 100644 --- a/sdk/python/pulumi_rancher2/get_certificate.py +++ b/sdk/python/pulumi_rancher2/get_certificate.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -157,10 +158,7 @@ def get_certificate(name: Optional[str] = None, __args__['name'] = name __args__['namespaceId'] = namespace_id __args__['projectId'] = project_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getCertificate:getCertificate', __args__, opts=opts, typ=GetCertificateResult).value return AwaitableGetCertificateResult( diff --git a/sdk/python/pulumi_rancher2/get_cloud_credential.py b/sdk/python/pulumi_rancher2/get_cloud_credential.py index f822943af..9e6d066a3 100644 --- a/sdk/python/pulumi_rancher2/get_cloud_credential.py +++ b/sdk/python/pulumi_rancher2/get_cloud_credential.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -95,10 +96,7 @@ def get_cloud_credential(name: Optional[str] = None, """ __args__ = dict() __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getCloudCredential:getCloudCredential', __args__, opts=opts, typ=GetCloudCredentialResult).value return AwaitableGetCloudCredentialResult( diff --git a/sdk/python/pulumi_rancher2/get_cluster.py b/sdk/python/pulumi_rancher2/get_cluster.py index 3213c2002..940834066 100644 --- a/sdk/python/pulumi_rancher2/get_cluster.py +++ b/sdk/python/pulumi_rancher2/get_cluster.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -450,10 +451,7 @@ def get_cluster(name: Optional[str] = None, """ __args__ = dict() __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult).value return AwaitableGetClusterResult( diff --git a/sdk/python/pulumi_rancher2/get_cluster_alert_group.py b/sdk/python/pulumi_rancher2/get_cluster_alert_group.py index 6b4e0f7ec..47375ec62 100644 --- a/sdk/python/pulumi_rancher2/get_cluster_alert_group.py +++ b/sdk/python/pulumi_rancher2/get_cluster_alert_group.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -169,10 +170,7 @@ def get_cluster_alert_group(cluster_id: Optional[str] = None, __args__ = dict() __args__['clusterId'] = cluster_id __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getClusterAlertGroup:getClusterAlertGroup', __args__, opts=opts, typ=GetClusterAlertGroupResult).value return AwaitableGetClusterAlertGroupResult( diff --git a/sdk/python/pulumi_rancher2/get_cluster_alter_rule.py b/sdk/python/pulumi_rancher2/get_cluster_alter_rule.py index ba13072b3..13dadda87 100644 --- a/sdk/python/pulumi_rancher2/get_cluster_alter_rule.py +++ b/sdk/python/pulumi_rancher2/get_cluster_alter_rule.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -232,10 +233,7 @@ def get_cluster_alter_rule(cluster_id: Optional[str] = None, __args__['clusterId'] = cluster_id __args__['labels'] = labels __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getClusterAlterRule:getClusterAlterRule', __args__, opts=opts, typ=GetClusterAlterRuleResult).value return AwaitableGetClusterAlterRuleResult( diff --git a/sdk/python/pulumi_rancher2/get_cluster_driver.py b/sdk/python/pulumi_rancher2/get_cluster_driver.py index f422e736f..242ab466f 100644 --- a/sdk/python/pulumi_rancher2/get_cluster_driver.py +++ b/sdk/python/pulumi_rancher2/get_cluster_driver.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -179,10 +180,7 @@ def get_cluster_driver(name: Optional[str] = None, __args__ = dict() __args__['name'] = name __args__['url'] = url - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getClusterDriver:getClusterDriver', __args__, opts=opts, typ=GetClusterDriverResult).value return AwaitableGetClusterDriverResult( diff --git a/sdk/python/pulumi_rancher2/get_cluster_logging.py b/sdk/python/pulumi_rancher2/get_cluster_logging.py index 755277741..774555d0e 100644 --- a/sdk/python/pulumi_rancher2/get_cluster_logging.py +++ b/sdk/python/pulumi_rancher2/get_cluster_logging.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -234,10 +235,7 @@ def get_cluster_logging(cluster_id: Optional[str] = None, """ __args__ = dict() __args__['clusterId'] = cluster_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getClusterLogging:getClusterLogging', __args__, opts=opts, typ=GetClusterLoggingResult).value return AwaitableGetClusterLoggingResult( diff --git a/sdk/python/pulumi_rancher2/get_cluster_role_template_binding.py b/sdk/python/pulumi_rancher2/get_cluster_role_template_binding.py index 3ae0beeb9..3f0374eac 100644 --- a/sdk/python/pulumi_rancher2/get_cluster_role_template_binding.py +++ b/sdk/python/pulumi_rancher2/get_cluster_role_template_binding.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -168,10 +169,7 @@ def get_cluster_role_template_binding(cluster_id: Optional[str] = None, __args__['clusterId'] = cluster_id __args__['name'] = name __args__['roleTemplateId'] = role_template_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getClusterRoleTemplateBinding:getClusterRoleTemplateBinding', __args__, opts=opts, typ=GetClusterRoleTemplateBindingResult).value return AwaitableGetClusterRoleTemplateBindingResult( diff --git a/sdk/python/pulumi_rancher2/get_cluster_scan.py b/sdk/python/pulumi_rancher2/get_cluster_scan.py index 11fadbbc5..d8acb497f 100644 --- a/sdk/python/pulumi_rancher2/get_cluster_scan.py +++ b/sdk/python/pulumi_rancher2/get_cluster_scan.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -147,10 +148,7 @@ def get_cluster_scan(cluster_id: Optional[str] = None, __args__ = dict() __args__['clusterId'] = cluster_id __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getClusterScan:getClusterScan', __args__, opts=opts, typ=GetClusterScanResult).value return AwaitableGetClusterScanResult( diff --git a/sdk/python/pulumi_rancher2/get_cluster_template.py b/sdk/python/pulumi_rancher2/get_cluster_template.py index 1f8125f69..d7d261ab5 100644 --- a/sdk/python/pulumi_rancher2/get_cluster_template.py +++ b/sdk/python/pulumi_rancher2/get_cluster_template.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -151,10 +152,7 @@ def get_cluster_template(annotations: Optional[Mapping[str, Any]] = None, __args__['description'] = description __args__['labels'] = labels __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getClusterTemplate:getClusterTemplate', __args__, opts=opts, typ=GetClusterTemplateResult).value return AwaitableGetClusterTemplateResult( diff --git a/sdk/python/pulumi_rancher2/get_cluster_v2.py b/sdk/python/pulumi_rancher2/get_cluster_v2.py index 5717074a3..96710f5b0 100644 --- a/sdk/python/pulumi_rancher2/get_cluster_v2.py +++ b/sdk/python/pulumi_rancher2/get_cluster_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -229,16 +230,13 @@ def get_cluster_v2(fleet_namespace: Optional[str] = None, ``` - :param str fleet_namespace: The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) + :param str fleet_namespace: The fleet namespace of the Cluster v2. Default: `\\"fleet-default\\"` (string) :param str name: The name of the Cluster v2 (string) """ __args__ = dict() __args__['fleetNamespace'] = fleet_namespace __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getClusterV2:getClusterV2', __args__, opts=opts, typ=GetClusterV2Result).value return AwaitableGetClusterV2Result( @@ -278,7 +276,7 @@ def get_cluster_v2_output(fleet_namespace: Optional[pulumi.Input[Optional[str]]] ``` - :param str fleet_namespace: The fleet namespace of the Cluster v2. Default: `\"fleet-default\"` (string) + :param str fleet_namespace: The fleet namespace of the Cluster v2. Default: `\\"fleet-default\\"` (string) :param str name: The name of the Cluster v2 (string) """ ... diff --git a/sdk/python/pulumi_rancher2/get_config_map_v2.py b/sdk/python/pulumi_rancher2/get_config_map_v2.py index a039d9a61..194a02b3d 100644 --- a/sdk/python/pulumi_rancher2/get_config_map_v2.py +++ b/sdk/python/pulumi_rancher2/get_config_map_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -146,10 +147,7 @@ def get_config_map_v2(cluster_id: Optional[str] = None, __args__['clusterId'] = cluster_id __args__['name'] = name __args__['namespace'] = namespace - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getConfigMapV2:getConfigMapV2', __args__, opts=opts, typ=GetConfigMapV2Result).value return AwaitableGetConfigMapV2Result( diff --git a/sdk/python/pulumi_rancher2/get_etcd_backup.py b/sdk/python/pulumi_rancher2/get_etcd_backup.py index f02735076..69e8c21a9 100644 --- a/sdk/python/pulumi_rancher2/get_etcd_backup.py +++ b/sdk/python/pulumi_rancher2/get_etcd_backup.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -157,10 +158,7 @@ def get_etcd_backup(cluster_id: Optional[str] = None, __args__ = dict() __args__['clusterId'] = cluster_id __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getEtcdBackup:getEtcdBackup', __args__, opts=opts, typ=GetEtcdBackupResult).value return AwaitableGetEtcdBackupResult( diff --git a/sdk/python/pulumi_rancher2/get_global_dns_provider.py b/sdk/python/pulumi_rancher2/get_global_dns_provider.py index 4a34a1f91..38ac6ccac 100644 --- a/sdk/python/pulumi_rancher2/get_global_dns_provider.py +++ b/sdk/python/pulumi_rancher2/get_global_dns_provider.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -144,10 +145,7 @@ def get_global_dns_provider(name: Optional[str] = None, """ __args__ = dict() __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getGlobalDnsProvider:getGlobalDnsProvider', __args__, opts=opts, typ=GetGlobalDnsProviderResult).value return AwaitableGetGlobalDnsProviderResult( diff --git a/sdk/python/pulumi_rancher2/get_global_role.py b/sdk/python/pulumi_rancher2/get_global_role.py index 8b4d06dff..88738b6ec 100644 --- a/sdk/python/pulumi_rancher2/get_global_role.py +++ b/sdk/python/pulumi_rancher2/get_global_role.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -144,10 +145,7 @@ def get_global_role(name: Optional[str] = None, """ __args__ = dict() __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getGlobalRole:getGlobalRole', __args__, opts=opts, typ=GetGlobalRoleResult).value return AwaitableGetGlobalRoleResult( diff --git a/sdk/python/pulumi_rancher2/get_global_role_binding.py b/sdk/python/pulumi_rancher2/get_global_role_binding.py index d406d00d2..1428caab6 100644 --- a/sdk/python/pulumi_rancher2/get_global_role_binding.py +++ b/sdk/python/pulumi_rancher2/get_global_role_binding.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -132,10 +133,7 @@ def get_global_role_binding(global_role_id: Optional[str] = None, __args__ = dict() __args__['globalRoleId'] = global_role_id __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getGlobalRoleBinding:getGlobalRoleBinding', __args__, opts=opts, typ=GetGlobalRoleBindingResult).value return AwaitableGetGlobalRoleBindingResult( diff --git a/sdk/python/pulumi_rancher2/get_multi_cluster_app.py b/sdk/python/pulumi_rancher2/get_multi_cluster_app.py index b0c56f68e..d5b960431 100644 --- a/sdk/python/pulumi_rancher2/get_multi_cluster_app.py +++ b/sdk/python/pulumi_rancher2/get_multi_cluster_app.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -228,10 +229,7 @@ def get_multi_cluster_app(name: Optional[str] = None, """ __args__ = dict() __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getMultiClusterApp:getMultiClusterApp', __args__, opts=opts, typ=GetMultiClusterAppResult).value return AwaitableGetMultiClusterAppResult( diff --git a/sdk/python/pulumi_rancher2/get_namespace.py b/sdk/python/pulumi_rancher2/get_namespace.py index f040af559..b74d99717 100644 --- a/sdk/python/pulumi_rancher2/get_namespace.py +++ b/sdk/python/pulumi_rancher2/get_namespace.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -145,10 +146,7 @@ def get_namespace(name: Optional[str] = None, __args__ = dict() __args__['name'] = name __args__['projectId'] = project_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getNamespace:getNamespace', __args__, opts=opts, typ=GetNamespaceResult).value return AwaitableGetNamespaceResult( diff --git a/sdk/python/pulumi_rancher2/get_node_driver.py b/sdk/python/pulumi_rancher2/get_node_driver.py index ae2059748..31fe2bd04 100644 --- a/sdk/python/pulumi_rancher2/get_node_driver.py +++ b/sdk/python/pulumi_rancher2/get_node_driver.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -191,10 +192,7 @@ def get_node_driver(name: Optional[str] = None, __args__ = dict() __args__['name'] = name __args__['url'] = url - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getNodeDriver:getNodeDriver', __args__, opts=opts, typ=GetNodeDriverResult).value return AwaitableGetNodeDriverResult( diff --git a/sdk/python/pulumi_rancher2/get_node_pool.py b/sdk/python/pulumi_rancher2/get_node_pool.py index 0a7cad7e6..76fd7db8a 100644 --- a/sdk/python/pulumi_rancher2/get_node_pool.py +++ b/sdk/python/pulumi_rancher2/get_node_pool.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -205,10 +206,7 @@ def get_node_pool(cluster_id: Optional[str] = None, __args__['clusterId'] = cluster_id __args__['name'] = name __args__['nodeTemplateId'] = node_template_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getNodePool:getNodePool', __args__, opts=opts, typ=GetNodePoolResult).value return AwaitableGetNodePoolResult( diff --git a/sdk/python/pulumi_rancher2/get_node_template.py b/sdk/python/pulumi_rancher2/get_node_template.py index 0e867b9a2..0211a48a8 100644 --- a/sdk/python/pulumi_rancher2/get_node_template.py +++ b/sdk/python/pulumi_rancher2/get_node_template.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -243,10 +244,7 @@ def get_node_template(name: Optional[str] = None, __args__ = dict() __args__['name'] = name __args__['useInternalIpAddress'] = use_internal_ip_address - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getNodeTemplate:getNodeTemplate', __args__, opts=opts, typ=GetNodeTemplateResult).value return AwaitableGetNodeTemplateResult( diff --git a/sdk/python/pulumi_rancher2/get_notifier.py b/sdk/python/pulumi_rancher2/get_notifier.py index ed0de5820..4f8f60318 100644 --- a/sdk/python/pulumi_rancher2/get_notifier.py +++ b/sdk/python/pulumi_rancher2/get_notifier.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -212,10 +213,7 @@ def get_notifier(cluster_id: Optional[str] = None, __args__['dingtalkConfig'] = dingtalk_config __args__['msteamsConfig'] = msteams_config __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getNotifier:getNotifier', __args__, opts=opts, typ=GetNotifierResult).value return AwaitableGetNotifierResult( diff --git a/sdk/python/pulumi_rancher2/get_pod_security_policy_template.py b/sdk/python/pulumi_rancher2/get_pod_security_policy_template.py index 459e88486..0fc4a17a6 100644 --- a/sdk/python/pulumi_rancher2/get_pod_security_policy_template.py +++ b/sdk/python/pulumi_rancher2/get_pod_security_policy_template.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -396,10 +397,7 @@ def get_pod_security_policy_template(allow_privilege_escalation: Optional[bool] __args__['seLinux'] = se_linux __args__['supplementalGroup'] = supplemental_group __args__['volumes'] = volumes - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getPodSecurityPolicyTemplate:getPodSecurityPolicyTemplate', __args__, opts=opts, typ=GetPodSecurityPolicyTemplateResult).value return AwaitableGetPodSecurityPolicyTemplateResult( diff --git a/sdk/python/pulumi_rancher2/get_principal.py b/sdk/python/pulumi_rancher2/get_principal.py index 0d3c79edd..b0cb4c1c6 100644 --- a/sdk/python/pulumi_rancher2/get_principal.py +++ b/sdk/python/pulumi_rancher2/get_principal.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -83,10 +84,7 @@ def get_principal(name: Optional[str] = None, __args__ = dict() __args__['name'] = name __args__['type'] = type - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getPrincipal:getPrincipal', __args__, opts=opts, typ=GetPrincipalResult).value return AwaitableGetPrincipalResult( diff --git a/sdk/python/pulumi_rancher2/get_project.py b/sdk/python/pulumi_rancher2/get_project.py index 1e096afac..bf7ada616 100644 --- a/sdk/python/pulumi_rancher2/get_project.py +++ b/sdk/python/pulumi_rancher2/get_project.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -170,10 +171,7 @@ def get_project(cluster_id: Optional[str] = None, __args__ = dict() __args__['clusterId'] = cluster_id __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getProject:getProject', __args__, opts=opts, typ=GetProjectResult).value return AwaitableGetProjectResult( diff --git a/sdk/python/pulumi_rancher2/get_project_alert_group.py b/sdk/python/pulumi_rancher2/get_project_alert_group.py index 3510e9c3f..78e872f3f 100644 --- a/sdk/python/pulumi_rancher2/get_project_alert_group.py +++ b/sdk/python/pulumi_rancher2/get_project_alert_group.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -169,10 +170,7 @@ def get_project_alert_group(name: Optional[str] = None, __args__ = dict() __args__['name'] = name __args__['projectId'] = project_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getProjectAlertGroup:getProjectAlertGroup', __args__, opts=opts, typ=GetProjectAlertGroupResult).value return AwaitableGetProjectAlertGroupResult( diff --git a/sdk/python/pulumi_rancher2/get_project_alert_rule.py b/sdk/python/pulumi_rancher2/get_project_alert_rule.py index 816ec1a22..42edeff9b 100644 --- a/sdk/python/pulumi_rancher2/get_project_alert_rule.py +++ b/sdk/python/pulumi_rancher2/get_project_alert_rule.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -220,10 +221,7 @@ def get_project_alert_rule(labels: Optional[Mapping[str, Any]] = None, __args__['labels'] = labels __args__['name'] = name __args__['projectId'] = project_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getProjectAlertRule:getProjectAlertRule', __args__, opts=opts, typ=GetProjectAlertRuleResult).value return AwaitableGetProjectAlertRuleResult( diff --git a/sdk/python/pulumi_rancher2/get_project_logging.py b/sdk/python/pulumi_rancher2/get_project_logging.py index c32d40f5f..67dd1e37e 100644 --- a/sdk/python/pulumi_rancher2/get_project_logging.py +++ b/sdk/python/pulumi_rancher2/get_project_logging.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -234,10 +235,7 @@ def get_project_logging(project_id: Optional[str] = None, """ __args__ = dict() __args__['projectId'] = project_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getProjectLogging:getProjectLogging', __args__, opts=opts, typ=GetProjectLoggingResult).value return AwaitableGetProjectLoggingResult( diff --git a/sdk/python/pulumi_rancher2/get_project_role_template_binding.py b/sdk/python/pulumi_rancher2/get_project_role_template_binding.py index 92c3aea12..85a8f257f 100644 --- a/sdk/python/pulumi_rancher2/get_project_role_template_binding.py +++ b/sdk/python/pulumi_rancher2/get_project_role_template_binding.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -168,10 +169,7 @@ def get_project_role_template_binding(name: Optional[str] = None, __args__['name'] = name __args__['projectId'] = project_id __args__['roleTemplateId'] = role_template_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getProjectRoleTemplateBinding:getProjectRoleTemplateBinding', __args__, opts=opts, typ=GetProjectRoleTemplateBindingResult).value return AwaitableGetProjectRoleTemplateBindingResult( diff --git a/sdk/python/pulumi_rancher2/get_registry.py b/sdk/python/pulumi_rancher2/get_registry.py index a918391ee..524226a59 100644 --- a/sdk/python/pulumi_rancher2/get_registry.py +++ b/sdk/python/pulumi_rancher2/get_registry.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -158,10 +159,7 @@ def get_registry(name: Optional[str] = None, __args__['name'] = name __args__['namespaceId'] = namespace_id __args__['projectId'] = project_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getRegistry:getRegistry', __args__, opts=opts, typ=GetRegistryResult).value return AwaitableGetRegistryResult( diff --git a/sdk/python/pulumi_rancher2/get_role_tempalte.py b/sdk/python/pulumi_rancher2/get_role_tempalte.py index 7d8b2817c..35f398b00 100644 --- a/sdk/python/pulumi_rancher2/get_role_tempalte.py +++ b/sdk/python/pulumi_rancher2/get_role_tempalte.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -219,10 +220,7 @@ def get_role_tempalte(context: Optional[str] = None, __args__ = dict() __args__['context'] = context __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getRoleTempalte:getRoleTempalte', __args__, opts=opts, typ=GetRoleTempalteResult).value return AwaitableGetRoleTempalteResult( diff --git a/sdk/python/pulumi_rancher2/get_role_template.py b/sdk/python/pulumi_rancher2/get_role_template.py index b229f850a..3937a573e 100644 --- a/sdk/python/pulumi_rancher2/get_role_template.py +++ b/sdk/python/pulumi_rancher2/get_role_template.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -216,10 +217,7 @@ def get_role_template(context: Optional[str] = None, __args__ = dict() __args__['context'] = context __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getRoleTemplate:getRoleTemplate', __args__, opts=opts, typ=GetRoleTemplateResult).value return AwaitableGetRoleTemplateResult( diff --git a/sdk/python/pulumi_rancher2/get_secret.py b/sdk/python/pulumi_rancher2/get_secret.py index 1e77c459e..030c86ce7 100644 --- a/sdk/python/pulumi_rancher2/get_secret.py +++ b/sdk/python/pulumi_rancher2/get_secret.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -157,10 +158,7 @@ def get_secret(name: Optional[str] = None, __args__['name'] = name __args__['namespaceId'] = namespace_id __args__['projectId'] = project_id - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getSecret:getSecret', __args__, opts=opts, typ=GetSecretResult).value return AwaitableGetSecretResult( diff --git a/sdk/python/pulumi_rancher2/get_secret_v2.py b/sdk/python/pulumi_rancher2/get_secret_v2.py index e5638d453..d7ba028b1 100644 --- a/sdk/python/pulumi_rancher2/get_secret_v2.py +++ b/sdk/python/pulumi_rancher2/get_secret_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -158,10 +159,7 @@ def get_secret_v2(cluster_id: Optional[str] = None, __args__['clusterId'] = cluster_id __args__['name'] = name __args__['namespace'] = namespace - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getSecretV2:getSecretV2', __args__, opts=opts, typ=GetSecretV2Result).value return AwaitableGetSecretV2Result( diff --git a/sdk/python/pulumi_rancher2/get_setting.py b/sdk/python/pulumi_rancher2/get_setting.py index dce8d7235..79592676b 100644 --- a/sdk/python/pulumi_rancher2/get_setting.py +++ b/sdk/python/pulumi_rancher2/get_setting.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -83,10 +84,7 @@ def get_setting(name: Optional[str] = None, """ __args__ = dict() __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getSetting:getSetting', __args__, opts=opts, typ=GetSettingResult).value return AwaitableGetSettingResult( diff --git a/sdk/python/pulumi_rancher2/get_storage_class_v2.py b/sdk/python/pulumi_rancher2/get_storage_class_v2.py index 3ee46a71d..4a45a3614 100644 --- a/sdk/python/pulumi_rancher2/get_storage_class_v2.py +++ b/sdk/python/pulumi_rancher2/get_storage_class_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -182,10 +183,7 @@ def get_storage_class_v2(cluster_id: Optional[str] = None, __args__ = dict() __args__['clusterId'] = cluster_id __args__['name'] = name - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getStorageClassV2:getStorageClassV2', __args__, opts=opts, typ=GetStorageClassV2Result).value return AwaitableGetStorageClassV2Result( diff --git a/sdk/python/pulumi_rancher2/get_user.py b/sdk/python/pulumi_rancher2/get_user.py index ba45a2ae3..5e361b4cc 100644 --- a/sdk/python/pulumi_rancher2/get_user.py +++ b/sdk/python/pulumi_rancher2/get_user.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -146,10 +147,7 @@ def get_user(is_external: Optional[bool] = None, __args__['isExternal'] = is_external __args__['name'] = name __args__['username'] = username - if opts is None: - opts = pulumi.InvokeOptions() - if opts.version is None: - opts.version = _utilities.get_version() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('rancher2:index/getUser:getUser', __args__, opts=opts, typ=GetUserResult).value return AwaitableGetUserResult( diff --git a/sdk/python/pulumi_rancher2/global_dns.py b/sdk/python/pulumi_rancher2/global_dns.py index a8ec6dcd1..f5000a73a 100644 --- a/sdk/python/pulumi_rancher2/global_dns.py +++ b/sdk/python/pulumi_rancher2/global_dns.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -447,12 +448,9 @@ def _internal_init(__self__, provider_id: Optional[pulumi.Input[str]] = None, ttl: Optional[pulumi.Input[int]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/global_dns_provider.py b/sdk/python/pulumi_rancher2/global_dns_provider.py index 8dd8e0af9..1d825f7f9 100644 --- a/sdk/python/pulumi_rancher2/global_dns_provider.py +++ b/sdk/python/pulumi_rancher2/global_dns_provider.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -402,12 +403,9 @@ def _internal_init(__self__, root_domain: Optional[pulumi.Input[str]] = None, route53_config: Optional[pulumi.Input[pulumi.InputType['GlobalDnsProviderRoute53ConfigArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/global_role.py b/sdk/python/pulumi_rancher2/global_role.py index a2db0377b..6949028e0 100644 --- a/sdk/python/pulumi_rancher2/global_role.py +++ b/sdk/python/pulumi_rancher2/global_role.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -341,12 +342,9 @@ def _internal_init(__self__, new_user_default: Optional[pulumi.Input[bool]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GlobalRoleRuleArgs']]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/global_role_binding.py b/sdk/python/pulumi_rancher2/global_role_binding.py index fb729005e..300fd29d4 100644 --- a/sdk/python/pulumi_rancher2/global_role_binding.py +++ b/sdk/python/pulumi_rancher2/global_role_binding.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -320,12 +321,9 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, user_id: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/machine_config_v2.py b/sdk/python/pulumi_rancher2/machine_config_v2.py index 9d79ab4dc..e86208a8b 100644 --- a/sdk/python/pulumi_rancher2/machine_config_v2.py +++ b/sdk/python/pulumi_rancher2/machine_config_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -28,7 +29,7 @@ def __init__(__self__, *, vsphere_config: Optional[pulumi.Input['MachineConfigV2VsphereConfigArgs']] = None): """ The set of arguments for constructing a MachineConfigV2 resource. - :param pulumi.Input[str] generate_name: Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\"prod-pool1\" will generate \"nc-prod-pool1-?????\" name computed at `name` attribute (string) + :param pulumi.Input[str] generate_name: Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\"prod-pool1\\" will generate \\"nc-prod-pool1-?????\\" name computed at `name` attribute (string) :param pulumi.Input['MachineConfigV2Amazonec2ConfigArgs'] amazonec2_config: AWS config for the Machine Config V2. Conflicts with `azure_config`, `digitalocean_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) :param pulumi.Input[Mapping[str, Any]] annotations: Annotations for Machine Config V2 object (map) :param pulumi.Input['MachineConfigV2AzureConfigArgs'] azure_config: Azure config for the Machine Config V2. Conflicts with `amazonec2_config`, `digitalocean_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) @@ -66,7 +67,7 @@ def __init__(__self__, *, @pulumi.getter(name="generateName") def generate_name(self) -> pulumi.Input[str]: """ - Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\"prod-pool1\" will generate \"nc-prod-pool1-?????\" name computed at `name` attribute (string) + Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\"prod-pool1\\" will generate \\"nc-prod-pool1-?????\\" name computed at `name` attribute (string) """ return pulumi.get(self, "generate_name") @@ -219,7 +220,7 @@ def __init__(__self__, *, :param pulumi.Input['MachineConfigV2AzureConfigArgs'] azure_config: Azure config for the Machine Config V2. Conflicts with `amazonec2_config`, `digitalocean_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) :param pulumi.Input['MachineConfigV2DigitaloceanConfigArgs'] digitalocean_config: Digitalocean config for the Machine Config V2. Conflicts with `amazonec2_config`, `azure_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) :param pulumi.Input[str] fleet_namespace: Cluster V2 fleet namespace - :param pulumi.Input[str] generate_name: Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\"prod-pool1\" will generate \"nc-prod-pool1-?????\" name computed at `name` attribute (string) + :param pulumi.Input[str] generate_name: Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\"prod-pool1\\" will generate \\"nc-prod-pool1-?????\\" name computed at `name` attribute (string) :param pulumi.Input['MachineConfigV2HarvesterConfigArgs'] harvester_config: Harvester config for the Machine Config V2. Conflicts with `amazonec2_config`, `azure_config`, `digitalocean_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) :param pulumi.Input[str] kind: (Computed) The machine config kind (string) :param pulumi.Input[Mapping[str, Any]] labels: Labels for Machine Config V2 object (map) @@ -322,7 +323,7 @@ def fleet_namespace(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="generateName") def generate_name(self) -> Optional[pulumi.Input[str]]: """ - Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\"prod-pool1\" will generate \"nc-prod-pool1-?????\" name computed at `name` attribute (string) + Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\"prod-pool1\\" will generate \\"nc-prod-pool1-?????\\" name computed at `name` attribute (string) """ return pulumi.get(self, "generate_name") @@ -445,7 +446,7 @@ def __init__(__self__, vsphere_config: Optional[pulumi.Input[pulumi.InputType['MachineConfigV2VsphereConfigArgs']]] = None, __props__=None): """ - Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. + Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is available from Rancher v2.6.0 and above. `amazonec2`, `azure`, `digitalocean`, `linode`, `openstack`, and `vsphere` cloud providers are supported for machine config V2 @@ -486,7 +487,7 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['MachineConfigV2AzureConfigArgs']] azure_config: Azure config for the Machine Config V2. Conflicts with `amazonec2_config`, `digitalocean_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) :param pulumi.Input[pulumi.InputType['MachineConfigV2DigitaloceanConfigArgs']] digitalocean_config: Digitalocean config for the Machine Config V2. Conflicts with `amazonec2_config`, `azure_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) :param pulumi.Input[str] fleet_namespace: Cluster V2 fleet namespace - :param pulumi.Input[str] generate_name: Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\"prod-pool1\" will generate \"nc-prod-pool1-?????\" name computed at `name` attribute (string) + :param pulumi.Input[str] generate_name: Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\"prod-pool1\\" will generate \\"nc-prod-pool1-?????\\" name computed at `name` attribute (string) :param pulumi.Input[pulumi.InputType['MachineConfigV2HarvesterConfigArgs']] harvester_config: Harvester config for the Machine Config V2. Conflicts with `amazonec2_config`, `azure_config`, `digitalocean_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) :param pulumi.Input[Mapping[str, Any]] labels: Labels for Machine Config V2 object (map) :param pulumi.Input[pulumi.InputType['MachineConfigV2LinodeConfigArgs']] linode_config: Linode config for the Machine Config V2. Conflicts with `amazonec2_config`, `azure_config`, `digitalocean_config`, `harvester_config`, `openstack_config` and `vsphere_config` (list maxitems:1) @@ -500,7 +501,7 @@ def __init__(__self__, args: MachineConfigV2Args, opts: Optional[pulumi.ResourceOptions] = None): """ - Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is supported as tech preview from Rancher v2.6.0 and above. + Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is available from Rancher v2.6.0 and above. `amazonec2`, `azure`, `digitalocean`, `linode`, `openstack`, and `vsphere` cloud providers are supported for machine config V2 @@ -561,12 +562,9 @@ def _internal_init(__self__, openstack_config: Optional[pulumi.Input[pulumi.InputType['MachineConfigV2OpenstackConfigArgs']]] = None, vsphere_config: Optional[pulumi.Input[pulumi.InputType['MachineConfigV2VsphereConfigArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -624,7 +622,7 @@ def get(resource_name: str, :param pulumi.Input[pulumi.InputType['MachineConfigV2AzureConfigArgs']] azure_config: Azure config for the Machine Config V2. Conflicts with `amazonec2_config`, `digitalocean_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) :param pulumi.Input[pulumi.InputType['MachineConfigV2DigitaloceanConfigArgs']] digitalocean_config: Digitalocean config for the Machine Config V2. Conflicts with `amazonec2_config`, `azure_config`, `harvester_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) :param pulumi.Input[str] fleet_namespace: Cluster V2 fleet namespace - :param pulumi.Input[str] generate_name: Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\"prod-pool1\" will generate \"nc-prod-pool1-?????\" name computed at `name` attribute (string) + :param pulumi.Input[str] generate_name: Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\"prod-pool1\\" will generate \\"nc-prod-pool1-?????\\" name computed at `name` attribute (string) :param pulumi.Input[pulumi.InputType['MachineConfigV2HarvesterConfigArgs']] harvester_config: Harvester config for the Machine Config V2. Conflicts with `amazonec2_config`, `azure_config`, `digitalocean_config`, `linode_config`, `openstack_config` and `vsphere_config` (list maxitems:1) :param pulumi.Input[str] kind: (Computed) The machine config kind (string) :param pulumi.Input[Mapping[str, Any]] labels: Labels for Machine Config V2 object (map) @@ -698,7 +696,7 @@ def fleet_namespace(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="generateName") def generate_name(self) -> pulumi.Output[str]: """ - Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\"prod-pool1\" will generate \"nc-prod-pool1-?????\" name computed at `name` attribute (string) + Cluster V2 generate name. The pattern to generate machine config name. e.g generate_name=\\"prod-pool1\\" will generate \\"nc-prod-pool1-?????\\" name computed at `name` attribute (string) """ return pulumi.get(self, "generate_name") diff --git a/sdk/python/pulumi_rancher2/multi_cluster_app.py b/sdk/python/pulumi_rancher2/multi_cluster_app.py index ff7d2aec8..50a04b62b 100644 --- a/sdk/python/pulumi_rancher2/multi_cluster_app.py +++ b/sdk/python/pulumi_rancher2/multi_cluster_app.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -689,12 +690,9 @@ def _internal_init(__self__, upgrade_strategy: Optional[pulumi.Input[pulumi.InputType['MultiClusterAppUpgradeStrategyArgs']]] = None, wait: Optional[pulumi.Input[bool]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/namespace.py b/sdk/python/pulumi_rancher2/namespace.py index cc4b92f8c..d1f516697 100644 --- a/sdk/python/pulumi_rancher2/namespace.py +++ b/sdk/python/pulumi_rancher2/namespace.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -484,12 +485,9 @@ def _internal_init(__self__, resource_quota: Optional[pulumi.Input[pulumi.InputType['NamespaceResourceQuotaArgs']]] = None, wait_for_cluster: Optional[pulumi.Input[bool]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/node_driver.py b/sdk/python/pulumi_rancher2/node_driver.py index bf671fdc3..cd7ae3223 100644 --- a/sdk/python/pulumi_rancher2/node_driver.py +++ b/sdk/python/pulumi_rancher2/node_driver.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -497,12 +498,9 @@ def _internal_init(__self__, url: Optional[pulumi.Input[str]] = None, whitelist_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/node_pool.py b/sdk/python/pulumi_rancher2/node_pool.py index 5052cc742..f979a4dfc 100644 --- a/sdk/python/pulumi_rancher2/node_pool.py +++ b/sdk/python/pulumi_rancher2/node_pool.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -533,12 +534,9 @@ def _internal_init(__self__, quantity: Optional[pulumi.Input[int]] = None, worker: Optional[pulumi.Input[bool]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/node_template.py b/sdk/python/pulumi_rancher2/node_template.py index 3ce1d0a74..d2376aab4 100644 --- a/sdk/python/pulumi_rancher2/node_template.py +++ b/sdk/python/pulumi_rancher2/node_template.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -39,6 +40,7 @@ def __init__(__self__, *, node_taints: Optional[pulumi.Input[Sequence[pulumi.Input['NodeTemplateNodeTaintArgs']]]] = None, opennebula_config: Optional[pulumi.Input['NodeTemplateOpennebulaConfigArgs']] = None, openstack_config: Optional[pulumi.Input['NodeTemplateOpenstackConfigArgs']] = None, + outscale_config: Optional[pulumi.Input['NodeTemplateOutscaleConfigArgs']] = None, use_internal_ip_address: Optional[pulumi.Input[bool]] = None, vsphere_config: Optional[pulumi.Input['NodeTemplateVsphereConfigArgs']] = None): """ @@ -67,6 +69,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['NodeTemplateNodeTaintArgs']]] node_taints: Node taints. For Rancher v2.3.3 or above (List) :param pulumi.Input['NodeTemplateOpennebulaConfigArgs'] opennebula_config: Opennebula config for the Node Template (list maxitems:1) :param pulumi.Input['NodeTemplateOpenstackConfigArgs'] openstack_config: Openstack config for the Node Template (list maxitems:1) + :param pulumi.Input['NodeTemplateOutscaleConfigArgs'] outscale_config: Outscale config for the Node Template (list maxitems:1) :param pulumi.Input[bool] use_internal_ip_address: Engine storage driver for the node template (bool) :param pulumi.Input['NodeTemplateVsphereConfigArgs'] vsphere_config: vSphere config for the Node Template (list maxitems:1) """ @@ -118,6 +121,8 @@ def __init__(__self__, *, pulumi.set(__self__, "opennebula_config", opennebula_config) if openstack_config is not None: pulumi.set(__self__, "openstack_config", openstack_config) + if outscale_config is not None: + pulumi.set(__self__, "outscale_config", outscale_config) if use_internal_ip_address is not None: pulumi.set(__self__, "use_internal_ip_address", use_internal_ip_address) if vsphere_config is not None: @@ -411,6 +416,18 @@ def openstack_config(self) -> Optional[pulumi.Input['NodeTemplateOpenstackConfig def openstack_config(self, value: Optional[pulumi.Input['NodeTemplateOpenstackConfigArgs']]): pulumi.set(self, "openstack_config", value) + @property + @pulumi.getter(name="outscaleConfig") + def outscale_config(self) -> Optional[pulumi.Input['NodeTemplateOutscaleConfigArgs']]: + """ + Outscale config for the Node Template (list maxitems:1) + """ + return pulumi.get(self, "outscale_config") + + @outscale_config.setter + def outscale_config(self, value: Optional[pulumi.Input['NodeTemplateOutscaleConfigArgs']]): + pulumi.set(self, "outscale_config", value) + @property @pulumi.getter(name="useInternalIpAddress") def use_internal_ip_address(self) -> Optional[pulumi.Input[bool]]: @@ -464,6 +481,7 @@ def __init__(__self__, *, node_taints: Optional[pulumi.Input[Sequence[pulumi.Input['NodeTemplateNodeTaintArgs']]]] = None, opennebula_config: Optional[pulumi.Input['NodeTemplateOpennebulaConfigArgs']] = None, openstack_config: Optional[pulumi.Input['NodeTemplateOpenstackConfigArgs']] = None, + outscale_config: Optional[pulumi.Input['NodeTemplateOutscaleConfigArgs']] = None, use_internal_ip_address: Optional[pulumi.Input[bool]] = None, vsphere_config: Optional[pulumi.Input['NodeTemplateVsphereConfigArgs']] = None): """ @@ -493,6 +511,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['NodeTemplateNodeTaintArgs']]] node_taints: Node taints. For Rancher v2.3.3 or above (List) :param pulumi.Input['NodeTemplateOpennebulaConfigArgs'] opennebula_config: Opennebula config for the Node Template (list maxitems:1) :param pulumi.Input['NodeTemplateOpenstackConfigArgs'] openstack_config: Openstack config for the Node Template (list maxitems:1) + :param pulumi.Input['NodeTemplateOutscaleConfigArgs'] outscale_config: Outscale config for the Node Template (list maxitems:1) :param pulumi.Input[bool] use_internal_ip_address: Engine storage driver for the node template (bool) :param pulumi.Input['NodeTemplateVsphereConfigArgs'] vsphere_config: vSphere config for the Node Template (list maxitems:1) """ @@ -546,6 +565,8 @@ def __init__(__self__, *, pulumi.set(__self__, "opennebula_config", opennebula_config) if openstack_config is not None: pulumi.set(__self__, "openstack_config", openstack_config) + if outscale_config is not None: + pulumi.set(__self__, "outscale_config", outscale_config) if use_internal_ip_address is not None: pulumi.set(__self__, "use_internal_ip_address", use_internal_ip_address) if vsphere_config is not None: @@ -851,6 +872,18 @@ def openstack_config(self) -> Optional[pulumi.Input['NodeTemplateOpenstackConfig def openstack_config(self, value: Optional[pulumi.Input['NodeTemplateOpenstackConfigArgs']]): pulumi.set(self, "openstack_config", value) + @property + @pulumi.getter(name="outscaleConfig") + def outscale_config(self) -> Optional[pulumi.Input['NodeTemplateOutscaleConfigArgs']]: + """ + Outscale config for the Node Template (list maxitems:1) + """ + return pulumi.get(self, "outscale_config") + + @outscale_config.setter + def outscale_config(self, value: Optional[pulumi.Input['NodeTemplateOutscaleConfigArgs']]): + pulumi.set(self, "outscale_config", value) + @property @pulumi.getter(name="useInternalIpAddress") def use_internal_ip_address(self) -> Optional[pulumi.Input[bool]]: @@ -905,13 +938,14 @@ def __init__(__self__, node_taints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodeTemplateNodeTaintArgs']]]]] = None, opennebula_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateOpennebulaConfigArgs']]] = None, openstack_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateOpenstackConfigArgs']]] = None, + outscale_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateOutscaleConfigArgs']]] = None, use_internal_ip_address: Optional[pulumi.Input[bool]] = None, vsphere_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateVsphereConfigArgs']]] = None, __props__=None): """ Provides a Rancher v2 Node Template resource. This can be used to create Node Template for Rancher v2 and retrieve their information. - amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, hetzner, and vsphere drivers are supported for node templates. + amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates. **Note** If you are upgrading to Rancher v2.3.3, please take a look to final section @@ -1043,6 +1077,7 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodeTemplateNodeTaintArgs']]]] node_taints: Node taints. For Rancher v2.3.3 or above (List) :param pulumi.Input[pulumi.InputType['NodeTemplateOpennebulaConfigArgs']] opennebula_config: Opennebula config for the Node Template (list maxitems:1) :param pulumi.Input[pulumi.InputType['NodeTemplateOpenstackConfigArgs']] openstack_config: Openstack config for the Node Template (list maxitems:1) + :param pulumi.Input[pulumi.InputType['NodeTemplateOutscaleConfigArgs']] outscale_config: Outscale config for the Node Template (list maxitems:1) :param pulumi.Input[bool] use_internal_ip_address: Engine storage driver for the node template (bool) :param pulumi.Input[pulumi.InputType['NodeTemplateVsphereConfigArgs']] vsphere_config: vSphere config for the Node Template (list maxitems:1) """ @@ -1055,7 +1090,7 @@ def __init__(__self__, """ Provides a Rancher v2 Node Template resource. This can be used to create Node Template for Rancher v2 and retrieve their information. - amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, hetzner, and vsphere drivers are supported for node templates. + amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates. **Note** If you are upgrading to Rancher v2.3.3, please take a look to final section @@ -1200,15 +1235,13 @@ def _internal_init(__self__, node_taints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodeTemplateNodeTaintArgs']]]]] = None, opennebula_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateOpennebulaConfigArgs']]] = None, openstack_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateOpenstackConfigArgs']]] = None, + outscale_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateOutscaleConfigArgs']]] = None, use_internal_ip_address: Optional[pulumi.Input[bool]] = None, vsphere_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateVsphereConfigArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -1216,8 +1249,8 @@ def _internal_init(__self__, __props__.__dict__["amazonec2_config"] = amazonec2_config __props__.__dict__["annotations"] = annotations - __props__.__dict__["auth_certificate_authority"] = auth_certificate_authority - __props__.__dict__["auth_key"] = auth_key + __props__.__dict__["auth_certificate_authority"] = None if auth_certificate_authority is None else pulumi.Output.secret(auth_certificate_authority) + __props__.__dict__["auth_key"] = None if auth_key is None else pulumi.Output.secret(auth_key) __props__.__dict__["azure_config"] = azure_config __props__.__dict__["cloud_credential_id"] = cloud_credential_id __props__.__dict__["description"] = description @@ -1238,9 +1271,12 @@ def _internal_init(__self__, __props__.__dict__["node_taints"] = node_taints __props__.__dict__["opennebula_config"] = opennebula_config __props__.__dict__["openstack_config"] = openstack_config + __props__.__dict__["outscale_config"] = outscale_config __props__.__dict__["use_internal_ip_address"] = use_internal_ip_address __props__.__dict__["vsphere_config"] = vsphere_config __props__.__dict__["driver"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["authCertificateAuthority", "authKey"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(NodeTemplate, __self__).__init__( 'rancher2:index/nodeTemplate:NodeTemplate', resource_name, @@ -1276,6 +1312,7 @@ def get(resource_name: str, node_taints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodeTemplateNodeTaintArgs']]]]] = None, opennebula_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateOpennebulaConfigArgs']]] = None, openstack_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateOpenstackConfigArgs']]] = None, + outscale_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateOutscaleConfigArgs']]] = None, use_internal_ip_address: Optional[pulumi.Input[bool]] = None, vsphere_config: Optional[pulumi.Input[pulumi.InputType['NodeTemplateVsphereConfigArgs']]] = None) -> 'NodeTemplate': """ @@ -1310,6 +1347,7 @@ def get(resource_name: str, :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NodeTemplateNodeTaintArgs']]]] node_taints: Node taints. For Rancher v2.3.3 or above (List) :param pulumi.Input[pulumi.InputType['NodeTemplateOpennebulaConfigArgs']] opennebula_config: Opennebula config for the Node Template (list maxitems:1) :param pulumi.Input[pulumi.InputType['NodeTemplateOpenstackConfigArgs']] openstack_config: Openstack config for the Node Template (list maxitems:1) + :param pulumi.Input[pulumi.InputType['NodeTemplateOutscaleConfigArgs']] outscale_config: Outscale config for the Node Template (list maxitems:1) :param pulumi.Input[bool] use_internal_ip_address: Engine storage driver for the node template (bool) :param pulumi.Input[pulumi.InputType['NodeTemplateVsphereConfigArgs']] vsphere_config: vSphere config for the Node Template (list maxitems:1) """ @@ -1342,6 +1380,7 @@ def get(resource_name: str, __props__.__dict__["node_taints"] = node_taints __props__.__dict__["opennebula_config"] = opennebula_config __props__.__dict__["openstack_config"] = openstack_config + __props__.__dict__["outscale_config"] = outscale_config __props__.__dict__["use_internal_ip_address"] = use_internal_ip_address __props__.__dict__["vsphere_config"] = vsphere_config return NodeTemplate(resource_name, opts=opts, __props__=__props__) @@ -1546,6 +1585,14 @@ def openstack_config(self) -> pulumi.Output[Optional['outputs.NodeTemplateOpenst """ return pulumi.get(self, "openstack_config") + @property + @pulumi.getter(name="outscaleConfig") + def outscale_config(self) -> pulumi.Output[Optional['outputs.NodeTemplateOutscaleConfig']]: + """ + Outscale config for the Node Template (list maxitems:1) + """ + return pulumi.get(self, "outscale_config") + @property @pulumi.getter(name="useInternalIpAddress") def use_internal_ip_address(self) -> pulumi.Output[Optional[bool]]: diff --git a/sdk/python/pulumi_rancher2/notifier.py b/sdk/python/pulumi_rancher2/notifier.py index cfcf3f74c..e28cb7f7a 100644 --- a/sdk/python/pulumi_rancher2/notifier.py +++ b/sdk/python/pulumi_rancher2/notifier.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -569,12 +570,9 @@ def _internal_init(__self__, webhook_config: Optional[pulumi.Input[pulumi.InputType['NotifierWebhookConfigArgs']]] = None, wechat_config: Optional[pulumi.Input[pulumi.InputType['NotifierWechatConfigArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/outputs.py b/sdk/python/pulumi_rancher2/outputs.py index 281f12885..b70db2670 100644 --- a/sdk/python/pulumi_rancher2/outputs.py +++ b/sdk/python/pulumi_rancher2/outputs.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -102,6 +103,7 @@ 'ClusterRkeConfigMonitoringUpdateStrategy', 'ClusterRkeConfigMonitoringUpdateStrategyRollingUpdate', 'ClusterRkeConfigNetwork', + 'ClusterRkeConfigNetworkAciNetworkProvider', 'ClusterRkeConfigNetworkCalicoNetworkProvider', 'ClusterRkeConfigNetworkCanalNetworkProvider', 'ClusterRkeConfigNetworkFlannelNetworkProvider', @@ -170,6 +172,7 @@ 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategy', 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdate', 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork', + 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider', 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider', 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider', 'ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider', @@ -252,6 +255,7 @@ 'NodeTemplateNodeTaint', 'NodeTemplateOpennebulaConfig', 'NodeTemplateOpenstackConfig', + 'NodeTemplateOutscaleConfig', 'NodeTemplateVsphereConfig', 'NotifierDingtalkConfig', 'NotifierMsteamsConfig', @@ -371,6 +375,7 @@ 'GetClusterRkeConfigMonitoringUpdateStrategyResult', 'GetClusterRkeConfigMonitoringUpdateStrategyRollingUpdateResult', 'GetClusterRkeConfigNetworkResult', + 'GetClusterRkeConfigNetworkAciNetworkProviderResult', 'GetClusterRkeConfigNetworkCalicoNetworkProviderResult', 'GetClusterRkeConfigNetworkCanalNetworkProviderResult', 'GetClusterRkeConfigNetworkFlannelNetworkProviderResult', @@ -440,6 +445,7 @@ 'GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyResult', 'GetClusterTemplateTemplateRevisionClusterConfigRkeConfigMonitoringUpdateStrategyRollingUpdateResult', 'GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkResult', + 'GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult', 'GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderResult', 'GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderResult', 'GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderResult', @@ -1223,7 +1229,7 @@ def __init__(__self__, *, """ :param str agent_dns_prefix: DNS prefix to be used to create the FQDN for the agent pool (string) :param str client_id: Azure client ID to use (string) - :param str client_secret: Azure client secret associated with the \"client id\" (string) + :param str client_secret: Azure client secret associated with the \\"client id\\" (string) :param str kubernetes_version: The Kubernetes version that will be used for your master *and* OKE worker nodes (string) :param str master_dns_prefix: DNS prefix to use the Kubernetes cluster control pane (string) :param str resource_group: The AKS resource group (string) @@ -1235,20 +1241,20 @@ def __init__(__self__, *, :param str virtual_network_resource_group: The AKS virtual network resource group (string) :param str aad_server_app_secret: The secret of an Azure Active Directory server application (string) :param str aad_tenant_id: The ID of an Azure Active Directory tenant (string) - :param str add_client_app_id: The ID of an Azure Active Directory client application of type \"Native\". This application is for user login via kubectl (string) - :param str add_server_app_id: The ID of an Azure Active Directory server application of type \"Web app/API\". This application represents the managed cluster's apiserver (Server application) (string) + :param str add_client_app_id: The ID of an Azure Active Directory client application of type \\"Native\\". This application is for user login via kubectl (string) + :param str add_server_app_id: The ID of an Azure Active Directory server application of type \\"Web app/API\\". This application represents the managed cluster's apiserver (Server application) (string) :param str admin_username: The administrator username to use for Linux hosts. Default `azureuser` (string) - :param int agent_os_disk_size: GB size to be used to specify the disk for every machine in the agent pool. If you specify 0, it will apply the default according to the \"agent vm size\" specified. Default `0` (int) + :param int agent_os_disk_size: GB size to be used to specify the disk for every machine in the agent pool. If you specify 0, it will apply the default according to the \\"agent vm size\\" specified. Default `0` (int) :param str agent_pool_name: Name for the agent pool, upto 12 alphanumeric characters. Default `agentpool0` (string) :param str agent_storage_profile: Storage profile specifies what kind of storage used on machine in the agent pool. Chooses from [ManagedDisks StorageAccount]. Default `ManagedDisks` (string) :param str agent_vm_size: Size of machine in the agent pool. Default `Standard_D1_v2` (string) :param str auth_base_url: The AKS auth base url (string) :param str base_url: The AKS base url (string) :param int count: The AKS node pool count. Default: `1` (int) - :param str dns_service_ip: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes Service address range specified in \"service cidr\". Default `10.0.0.10` (string) - :param str docker_bridge_cidr: A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes Service address range specified in \"service cidr\". Default `172.17.0.1/16` (string) + :param str dns_service_ip: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes Service address range specified in \\"service cidr\\". Default `10.0.0.10` (string) + :param str docker_bridge_cidr: A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes Service address range specified in \\"service cidr\\". Default `172.17.0.1/16` (string) :param bool enable_http_application_routing: Enable the Kubernetes ingress with automatic public DNS name creation. Default `false` (bool) - :param bool enable_monitoring: Turn on Azure Log Analytics monitoring. Uses the Log Analytics \"Default\" workspace if it exists, else creates one. if using an existing workspace, specifies \"log analytics workspace resource id\". Default `true` (bool) + :param bool enable_monitoring: Turn on Azure Log Analytics monitoring. Uses the Log Analytics \\"Default\\" workspace if it exists, else creates one. if using an existing workspace, specifies \\"log analytics workspace resource id\\". Default `true` (bool) :param str load_balancer_sku: The AKS load balancer sku (string) :param str location: Azure Kubernetes cluster location. Default `eastus` (string) :param str log_analytics_workspace: The name of an existing Azure Log Analytics Workspace to use for storing monitoring data. If not specified, uses '{resource group}-{subscription id}-{location code}' (string) @@ -1348,7 +1354,7 @@ def client_id(self) -> str: @pulumi.getter(name="clientSecret") def client_secret(self) -> str: """ - Azure client secret associated with the \"client id\" (string) + Azure client secret associated with the \\"client id\\" (string) """ return pulumi.get(self, "client_secret") @@ -1444,7 +1450,7 @@ def aad_tenant_id(self) -> Optional[str]: @pulumi.getter(name="addClientAppId") def add_client_app_id(self) -> Optional[str]: """ - The ID of an Azure Active Directory client application of type \"Native\". This application is for user login via kubectl (string) + The ID of an Azure Active Directory client application of type \\"Native\\". This application is for user login via kubectl (string) """ return pulumi.get(self, "add_client_app_id") @@ -1452,7 +1458,7 @@ def add_client_app_id(self) -> Optional[str]: @pulumi.getter(name="addServerAppId") def add_server_app_id(self) -> Optional[str]: """ - The ID of an Azure Active Directory server application of type \"Web app/API\". This application represents the managed cluster's apiserver (Server application) (string) + The ID of an Azure Active Directory server application of type \\"Web app/API\\". This application represents the managed cluster's apiserver (Server application) (string) """ return pulumi.get(self, "add_server_app_id") @@ -1468,7 +1474,7 @@ def admin_username(self) -> Optional[str]: @pulumi.getter(name="agentOsDiskSize") def agent_os_disk_size(self) -> Optional[int]: """ - GB size to be used to specify the disk for every machine in the agent pool. If you specify 0, it will apply the default according to the \"agent vm size\" specified. Default `0` (int) + GB size to be used to specify the disk for every machine in the agent pool. If you specify 0, it will apply the default according to the \\"agent vm size\\" specified. Default `0` (int) """ return pulumi.get(self, "agent_os_disk_size") @@ -1524,7 +1530,7 @@ def count(self) -> Optional[int]: @pulumi.getter(name="dnsServiceIp") def dns_service_ip(self) -> Optional[str]: """ - An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes Service address range specified in \"service cidr\". Default `10.0.0.10` (string) + An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes Service address range specified in \\"service cidr\\". Default `10.0.0.10` (string) """ return pulumi.get(self, "dns_service_ip") @@ -1532,7 +1538,7 @@ def dns_service_ip(self) -> Optional[str]: @pulumi.getter(name="dockerBridgeCidr") def docker_bridge_cidr(self) -> Optional[str]: """ - A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes Service address range specified in \"service cidr\". Default `172.17.0.1/16` (string) + A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes Service address range specified in \\"service cidr\\". Default `172.17.0.1/16` (string) """ return pulumi.get(self, "docker_bridge_cidr") @@ -1548,7 +1554,7 @@ def enable_http_application_routing(self) -> Optional[bool]: @pulumi.getter(name="enableMonitoring") def enable_monitoring(self) -> Optional[bool]: """ - Turn on Azure Log Analytics monitoring. Uses the Log Analytics \"Default\" workspace if it exists, else creates one. if using an existing workspace, specifies \"log analytics workspace resource id\". Default `true` (bool) + Turn on Azure Log Analytics monitoring. Uses the Log Analytics \\"Default\\" workspace if it exists, else creates one. if using an existing workspace, specifies \\"log analytics workspace resource id\\". Default `true` (bool) """ return pulumi.get(self, "enable_monitoring") @@ -10709,7 +10715,9 @@ class ClusterRkeConfigNetwork(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "calicoNetworkProvider": + if key == "aciNetworkProvider": + suggest = "aci_network_provider" + elif key == "calicoNetworkProvider": suggest = "calico_network_provider" elif key == "canalNetworkProvider": suggest = "canal_network_provider" @@ -10730,6 +10738,7 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + aci_network_provider: Optional['outputs.ClusterRkeConfigNetworkAciNetworkProvider'] = None, calico_network_provider: Optional['outputs.ClusterRkeConfigNetworkCalicoNetworkProvider'] = None, canal_network_provider: Optional['outputs.ClusterRkeConfigNetworkCanalNetworkProvider'] = None, flannel_network_provider: Optional['outputs.ClusterRkeConfigNetworkFlannelNetworkProvider'] = None, @@ -10739,6 +10748,7 @@ def __init__(__self__, *, tolerations: Optional[Sequence['outputs.ClusterRkeConfigNetworkToleration']] = None, weave_network_provider: Optional['outputs.ClusterRkeConfigNetworkWeaveNetworkProvider'] = None): """ + :param 'ClusterRkeConfigNetworkAciNetworkProviderArgs' aci_network_provider: ACI provider config for RKE network (list maxitems:63) :param 'ClusterRkeConfigNetworkCalicoNetworkProviderArgs' calico_network_provider: Calico provider config for RKE network (list maxitems:1) :param 'ClusterRkeConfigNetworkCanalNetworkProviderArgs' canal_network_provider: Canal provider config for RKE network (list maxitems:1) :param 'ClusterRkeConfigNetworkFlannelNetworkProviderArgs' flannel_network_provider: Flannel provider config for RKE network (list maxitems:1) @@ -10748,6 +10758,8 @@ def __init__(__self__, *, :param Sequence['ClusterRkeConfigNetworkTolerationArgs'] tolerations: Network add-on tolerations (list) :param 'ClusterRkeConfigNetworkWeaveNetworkProviderArgs' weave_network_provider: Weave provider config for RKE network (list maxitems:1) """ + if aci_network_provider is not None: + pulumi.set(__self__, "aci_network_provider", aci_network_provider) if calico_network_provider is not None: pulumi.set(__self__, "calico_network_provider", calico_network_provider) if canal_network_provider is not None: @@ -10765,6 +10777,14 @@ def __init__(__self__, *, if weave_network_provider is not None: pulumi.set(__self__, "weave_network_provider", weave_network_provider) + @property + @pulumi.getter(name="aciNetworkProvider") + def aci_network_provider(self) -> Optional['outputs.ClusterRkeConfigNetworkAciNetworkProvider']: + """ + ACI provider config for RKE network (list maxitems:63) + """ + return pulumi.get(self, "aci_network_provider") + @property @pulumi.getter(name="calicoNetworkProvider") def calico_network_provider(self) -> Optional['outputs.ClusterRkeConfigNetworkCalicoNetworkProvider']: @@ -10830,6 +10850,1034 @@ def weave_network_provider(self) -> Optional['outputs.ClusterRkeConfigNetworkWea return pulumi.get(self, "weave_network_provider") +@pulumi.output_type +class ClusterRkeConfigNetworkAciNetworkProvider(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "apicHosts": + suggest = "apic_hosts" + elif key == "apicUserCrt": + suggest = "apic_user_crt" + elif key == "apicUserKey": + suggest = "apic_user_key" + elif key == "apicUserName": + suggest = "apic_user_name" + elif key == "encapType": + suggest = "encap_type" + elif key == "externDynamic": + suggest = "extern_dynamic" + elif key == "externStatic": + suggest = "extern_static" + elif key == "kubeApiVlan": + suggest = "kube_api_vlan" + elif key == "l3outExternalNetworks": + suggest = "l3out_external_networks" + elif key == "mcastRangeEnd": + suggest = "mcast_range_end" + elif key == "mcastRangeStart": + suggest = "mcast_range_start" + elif key == "nodeSubnet": + suggest = "node_subnet" + elif key == "nodeSvcSubnet": + suggest = "node_svc_subnet" + elif key == "serviceVlan": + suggest = "service_vlan" + elif key == "systemId": + suggest = "system_id" + elif key == "vrfName": + suggest = "vrf_name" + elif key == "vrfTenant": + suggest = "vrf_tenant" + elif key == "apicRefreshTickerAdjust": + suggest = "apic_refresh_ticker_adjust" + elif key == "apicRefreshTime": + suggest = "apic_refresh_time" + elif key == "apicSubscriptionDelay": + suggest = "apic_subscription_delay" + elif key == "controllerLogLevel": + suggest = "controller_log_level" + elif key == "disablePeriodicSnatGlobalInfoSync": + suggest = "disable_periodic_snat_global_info_sync" + elif key == "disableWaitForNetwork": + suggest = "disable_wait_for_network" + elif key == "dropLogEnable": + suggest = "drop_log_enable" + elif key == "durationWaitForNetwork": + suggest = "duration_wait_for_network" + elif key == "enableEndpointSlice": + suggest = "enable_endpoint_slice" + elif key == "epRegistry": + suggest = "ep_registry" + elif key == "gbpPodSubnet": + suggest = "gbp_pod_subnet" + elif key == "hostAgentLogLevel": + suggest = "host_agent_log_level" + elif key == "imagePullPolicy": + suggest = "image_pull_policy" + elif key == "imagePullSecret": + suggest = "image_pull_secret" + elif key == "infraVlan": + suggest = "infra_vlan" + elif key == "installIstio": + suggest = "install_istio" + elif key == "istioProfile": + suggest = "istio_profile" + elif key == "kafkaBrokers": + suggest = "kafka_brokers" + elif key == "kafkaClientCrt": + suggest = "kafka_client_crt" + elif key == "kafkaClientKey": + suggest = "kafka_client_key" + elif key == "maxNodesSvcGraph": + suggest = "max_nodes_svc_graph" + elif key == "mtuHeadRoom": + suggest = "mtu_head_room" + elif key == "multusDisable": + suggest = "multus_disable" + elif key == "noPriorityClass": + suggest = "no_priority_class" + elif key == "nodePodIfEnable": + suggest = "node_pod_if_enable" + elif key == "opflexClientSsl": + suggest = "opflex_client_ssl" + elif key == "opflexDeviceDeleteTimeout": + suggest = "opflex_device_delete_timeout" + elif key == "opflexLogLevel": + suggest = "opflex_log_level" + elif key == "opflexMode": + suggest = "opflex_mode" + elif key == "opflexServerPort": + suggest = "opflex_server_port" + elif key == "overlayVrfName": + suggest = "overlay_vrf_name" + elif key == "ovsMemoryLimit": + suggest = "ovs_memory_limit" + elif key == "pbrTrackingNonSnat": + suggest = "pbr_tracking_non_snat" + elif key == "podSubnetChunkSize": + suggest = "pod_subnet_chunk_size" + elif key == "runGbpContainer": + suggest = "run_gbp_container" + elif key == "runOpflexServerContainer": + suggest = "run_opflex_server_container" + elif key == "serviceMonitorInterval": + suggest = "service_monitor_interval" + elif key == "snatContractScope": + suggest = "snat_contract_scope" + elif key == "snatNamespace": + suggest = "snat_namespace" + elif key == "snatPortRangeEnd": + suggest = "snat_port_range_end" + elif key == "snatPortRangeStart": + suggest = "snat_port_range_start" + elif key == "snatPortsPerNode": + suggest = "snat_ports_per_node" + elif key == "sriovEnable": + suggest = "sriov_enable" + elif key == "subnetDomainName": + suggest = "subnet_domain_name" + elif key == "useAciAnywhereCrd": + suggest = "use_aci_anywhere_crd" + elif key == "useAciCniPriorityClass": + suggest = "use_aci_cni_priority_class" + elif key == "useClusterRole": + suggest = "use_cluster_role" + elif key == "useHostNetnsVolume": + suggest = "use_host_netns_volume" + elif key == "useOpflexServerVolume": + suggest = "use_opflex_server_volume" + elif key == "usePrivilegedContainer": + suggest = "use_privileged_container" + elif key == "vmmController": + suggest = "vmm_controller" + elif key == "vmmDomain": + suggest = "vmm_domain" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClusterRkeConfigNetworkAciNetworkProvider. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClusterRkeConfigNetworkAciNetworkProvider.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClusterRkeConfigNetworkAciNetworkProvider.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + aep: str, + apic_hosts: Sequence[str], + apic_user_crt: str, + apic_user_key: str, + apic_user_name: str, + encap_type: str, + extern_dynamic: str, + extern_static: str, + kube_api_vlan: str, + l3out: str, + l3out_external_networks: Sequence[str], + mcast_range_end: str, + mcast_range_start: str, + node_subnet: str, + node_svc_subnet: str, + service_vlan: str, + system_id: str, + token: str, + vrf_name: str, + vrf_tenant: str, + apic_refresh_ticker_adjust: Optional[str] = None, + apic_refresh_time: Optional[str] = None, + apic_subscription_delay: Optional[str] = None, + capic: Optional[str] = None, + controller_log_level: Optional[str] = None, + disable_periodic_snat_global_info_sync: Optional[str] = None, + disable_wait_for_network: Optional[str] = None, + drop_log_enable: Optional[str] = None, + duration_wait_for_network: Optional[str] = None, + enable_endpoint_slice: Optional[str] = None, + ep_registry: Optional[str] = None, + gbp_pod_subnet: Optional[str] = None, + host_agent_log_level: Optional[str] = None, + image_pull_policy: Optional[str] = None, + image_pull_secret: Optional[str] = None, + infra_vlan: Optional[str] = None, + install_istio: Optional[str] = None, + istio_profile: Optional[str] = None, + kafka_brokers: Optional[Sequence[str]] = None, + kafka_client_crt: Optional[str] = None, + kafka_client_key: Optional[str] = None, + max_nodes_svc_graph: Optional[str] = None, + mtu_head_room: Optional[str] = None, + multus_disable: Optional[str] = None, + no_priority_class: Optional[str] = None, + node_pod_if_enable: Optional[str] = None, + opflex_client_ssl: Optional[str] = None, + opflex_device_delete_timeout: Optional[str] = None, + opflex_log_level: Optional[str] = None, + opflex_mode: Optional[str] = None, + opflex_server_port: Optional[str] = None, + overlay_vrf_name: Optional[str] = None, + ovs_memory_limit: Optional[str] = None, + pbr_tracking_non_snat: Optional[str] = None, + pod_subnet_chunk_size: Optional[str] = None, + run_gbp_container: Optional[str] = None, + run_opflex_server_container: Optional[str] = None, + service_monitor_interval: Optional[str] = None, + snat_contract_scope: Optional[str] = None, + snat_namespace: Optional[str] = None, + snat_port_range_end: Optional[str] = None, + snat_port_range_start: Optional[str] = None, + snat_ports_per_node: Optional[str] = None, + sriov_enable: Optional[str] = None, + subnet_domain_name: Optional[str] = None, + tenant: Optional[str] = None, + use_aci_anywhere_crd: Optional[str] = None, + use_aci_cni_priority_class: Optional[str] = None, + use_cluster_role: Optional[str] = None, + use_host_netns_volume: Optional[str] = None, + use_opflex_server_volume: Optional[str] = None, + use_privileged_container: Optional[str] = None, + vmm_controller: Optional[str] = None, + vmm_domain: Optional[str] = None): + """ + :param str aep: Attachable entity profile (string) + :param Sequence[str] apic_hosts: List of APIC hosts to connect for APIC API (list) + :param str apic_user_crt: APIC user certificate (string) + :param str apic_user_key: APIC user key (string) + :param str apic_user_name: APIC user name (string) + :param str encap_type: Encap type: vxlan or vlan (string) + :param str extern_dynamic: Subnet to use for dynamic external IPs (string) + :param str extern_static: Subnet to use for static external IPs (string) + :param str kube_api_vlan: The VLAN used by the physdom for nodes (string) + :param str l3out: L3out (string) + :param Sequence[str] l3out_external_networks: L3out external networks (list) + :param str mcast_range_end: End of mcast range (string) + :param str mcast_range_start: Start of mcast range (string) + :param str node_subnet: Subnet to use for nodes (string) + :param str node_svc_subnet: Subnet to use for service graph (string) + :param str service_vlan: The VLAN used by LoadBalancer services (string) + :param str system_id: ACI system ID (string) + :param str token: Token for cluster registration token object (string) + :param str vrf_name: VRF name (string) + :param str vrf_tenant: VRF tenant (string) + :param str apic_refresh_ticker_adjust: APIC refresh ticker adjust amount (string) + :param str apic_refresh_time: APIC refresh time in seconds (string) + :param str apic_subscription_delay: APIC subscription delay amount (string) + :param str capic: cAPIC cloud (string) + :param str controller_log_level: Log level for ACI controller (string) + :param str disable_periodic_snat_global_info_sync: Whether to disable periodic SNAT global info sync (string) + :param str disable_wait_for_network: Whether to disable waiting for network (string) + :param str drop_log_enable: Whether to enable drop log (string) + :param str duration_wait_for_network: The duration to wait for network (string) + :param str enable_endpoint_slice: Whether to enable endpoint slices (string) + :param str ep_registry: EP registry (string) + :param str gbp_pod_subnet: GBH pod subnet (string) + :param str host_agent_log_level: Log level for ACI host agent (string) + :param str image_pull_policy: Image pull policy (string) + :param str image_pull_secret: Image pull policy (string) + :param str infra_vlan: The VLAN used by ACI infra (string) + :param str install_istio: Whether to install Istio (string) + :param str istio_profile: Istio profile name (string) + :param Sequence[str] kafka_brokers: List of Kafka broker hosts (list) + :param str kafka_client_crt: Kafka client certificate (string) + :param str kafka_client_key: Kafka client key (string) + :param str max_nodes_svc_graph: Max nodes in service graph (string) + :param str mtu_head_room: MTU head room amount (string) + :param str multus_disable: Whether to disable Multus (string) + :param str no_priority_class: Whether to use priority class (string) + :param str node_pod_if_enable: Whether to enable node pod interface (string) + :param str opflex_client_ssl: Whether to use client SSL for Opflex (string) + :param str opflex_device_delete_timeout: Opflex device delete timeout (string) + :param str opflex_log_level: Log level for ACI opflex (string) + :param str opflex_mode: Opflex mode (string) + :param str opflex_server_port: Opflex server port (string) + :param str overlay_vrf_name: Overlay VRF name (string) + :param str ovs_memory_limit: OVS memory limit (string) + :param str pbr_tracking_non_snat: Policy-based routing tracking non snat (string) + :param str pod_subnet_chunk_size: Pod subnet chunk size (string) + :param str run_gbp_container: Whether to run GBP container (string) + :param str run_opflex_server_container: Whether to run Opflex server container (string) + :param str service_monitor_interval: Service monitor interval (string) + :param str snat_contract_scope: Snat contract scope (string) + :param str snat_namespace: Snat namespace (string) + :param str snat_port_range_end: End of snat port range (string) + :param str snat_port_range_start: End of snat port range (string) + :param str snat_ports_per_node: Snat ports per node (string) + :param str sriov_enable: Whether to enable SR-IOV (string) + :param str subnet_domain_name: Subnet domain name (string) + :param str tenant: ACI tenant (string) + :param str use_aci_anywhere_crd: Whether to use ACI anywhere CRD (string) + :param str use_aci_cni_priority_class: Whether to use ACI CNI priority class (string) + :param str use_cluster_role: Whether to use cluster role (string) + :param str use_host_netns_volume: Whether to use host netns volume (string) + :param str use_opflex_server_volume: Whether use Opflex server volume (string) + :param str use_privileged_container: Whether ACI containers should run as privileged (string) + :param str vmm_controller: VMM controller configuration (string) + :param str vmm_domain: VMM domain configuration (string) + """ + pulumi.set(__self__, "aep", aep) + pulumi.set(__self__, "apic_hosts", apic_hosts) + pulumi.set(__self__, "apic_user_crt", apic_user_crt) + pulumi.set(__self__, "apic_user_key", apic_user_key) + pulumi.set(__self__, "apic_user_name", apic_user_name) + pulumi.set(__self__, "encap_type", encap_type) + pulumi.set(__self__, "extern_dynamic", extern_dynamic) + pulumi.set(__self__, "extern_static", extern_static) + pulumi.set(__self__, "kube_api_vlan", kube_api_vlan) + pulumi.set(__self__, "l3out", l3out) + pulumi.set(__self__, "l3out_external_networks", l3out_external_networks) + pulumi.set(__self__, "mcast_range_end", mcast_range_end) + pulumi.set(__self__, "mcast_range_start", mcast_range_start) + pulumi.set(__self__, "node_subnet", node_subnet) + pulumi.set(__self__, "node_svc_subnet", node_svc_subnet) + pulumi.set(__self__, "service_vlan", service_vlan) + pulumi.set(__self__, "system_id", system_id) + pulumi.set(__self__, "token", token) + pulumi.set(__self__, "vrf_name", vrf_name) + pulumi.set(__self__, "vrf_tenant", vrf_tenant) + if apic_refresh_ticker_adjust is not None: + pulumi.set(__self__, "apic_refresh_ticker_adjust", apic_refresh_ticker_adjust) + if apic_refresh_time is not None: + pulumi.set(__self__, "apic_refresh_time", apic_refresh_time) + if apic_subscription_delay is not None: + pulumi.set(__self__, "apic_subscription_delay", apic_subscription_delay) + if capic is not None: + pulumi.set(__self__, "capic", capic) + if controller_log_level is not None: + pulumi.set(__self__, "controller_log_level", controller_log_level) + if disable_periodic_snat_global_info_sync is not None: + pulumi.set(__self__, "disable_periodic_snat_global_info_sync", disable_periodic_snat_global_info_sync) + if disable_wait_for_network is not None: + pulumi.set(__self__, "disable_wait_for_network", disable_wait_for_network) + if drop_log_enable is not None: + pulumi.set(__self__, "drop_log_enable", drop_log_enable) + if duration_wait_for_network is not None: + pulumi.set(__self__, "duration_wait_for_network", duration_wait_for_network) + if enable_endpoint_slice is not None: + pulumi.set(__self__, "enable_endpoint_slice", enable_endpoint_slice) + if ep_registry is not None: + pulumi.set(__self__, "ep_registry", ep_registry) + if gbp_pod_subnet is not None: + pulumi.set(__self__, "gbp_pod_subnet", gbp_pod_subnet) + if host_agent_log_level is not None: + pulumi.set(__self__, "host_agent_log_level", host_agent_log_level) + if image_pull_policy is not None: + pulumi.set(__self__, "image_pull_policy", image_pull_policy) + if image_pull_secret is not None: + pulumi.set(__self__, "image_pull_secret", image_pull_secret) + if infra_vlan is not None: + pulumi.set(__self__, "infra_vlan", infra_vlan) + if install_istio is not None: + pulumi.set(__self__, "install_istio", install_istio) + if istio_profile is not None: + pulumi.set(__self__, "istio_profile", istio_profile) + if kafka_brokers is not None: + pulumi.set(__self__, "kafka_brokers", kafka_brokers) + if kafka_client_crt is not None: + pulumi.set(__self__, "kafka_client_crt", kafka_client_crt) + if kafka_client_key is not None: + pulumi.set(__self__, "kafka_client_key", kafka_client_key) + if max_nodes_svc_graph is not None: + pulumi.set(__self__, "max_nodes_svc_graph", max_nodes_svc_graph) + if mtu_head_room is not None: + pulumi.set(__self__, "mtu_head_room", mtu_head_room) + if multus_disable is not None: + pulumi.set(__self__, "multus_disable", multus_disable) + if no_priority_class is not None: + pulumi.set(__self__, "no_priority_class", no_priority_class) + if node_pod_if_enable is not None: + pulumi.set(__self__, "node_pod_if_enable", node_pod_if_enable) + if opflex_client_ssl is not None: + pulumi.set(__self__, "opflex_client_ssl", opflex_client_ssl) + if opflex_device_delete_timeout is not None: + pulumi.set(__self__, "opflex_device_delete_timeout", opflex_device_delete_timeout) + if opflex_log_level is not None: + pulumi.set(__self__, "opflex_log_level", opflex_log_level) + if opflex_mode is not None: + pulumi.set(__self__, "opflex_mode", opflex_mode) + if opflex_server_port is not None: + pulumi.set(__self__, "opflex_server_port", opflex_server_port) + if overlay_vrf_name is not None: + pulumi.set(__self__, "overlay_vrf_name", overlay_vrf_name) + if ovs_memory_limit is not None: + pulumi.set(__self__, "ovs_memory_limit", ovs_memory_limit) + if pbr_tracking_non_snat is not None: + pulumi.set(__self__, "pbr_tracking_non_snat", pbr_tracking_non_snat) + if pod_subnet_chunk_size is not None: + pulumi.set(__self__, "pod_subnet_chunk_size", pod_subnet_chunk_size) + if run_gbp_container is not None: + pulumi.set(__self__, "run_gbp_container", run_gbp_container) + if run_opflex_server_container is not None: + pulumi.set(__self__, "run_opflex_server_container", run_opflex_server_container) + if service_monitor_interval is not None: + pulumi.set(__self__, "service_monitor_interval", service_monitor_interval) + if snat_contract_scope is not None: + pulumi.set(__self__, "snat_contract_scope", snat_contract_scope) + if snat_namespace is not None: + pulumi.set(__self__, "snat_namespace", snat_namespace) + if snat_port_range_end is not None: + pulumi.set(__self__, "snat_port_range_end", snat_port_range_end) + if snat_port_range_start is not None: + pulumi.set(__self__, "snat_port_range_start", snat_port_range_start) + if snat_ports_per_node is not None: + pulumi.set(__self__, "snat_ports_per_node", snat_ports_per_node) + if sriov_enable is not None: + pulumi.set(__self__, "sriov_enable", sriov_enable) + if subnet_domain_name is not None: + pulumi.set(__self__, "subnet_domain_name", subnet_domain_name) + if tenant is not None: + pulumi.set(__self__, "tenant", tenant) + if use_aci_anywhere_crd is not None: + pulumi.set(__self__, "use_aci_anywhere_crd", use_aci_anywhere_crd) + if use_aci_cni_priority_class is not None: + pulumi.set(__self__, "use_aci_cni_priority_class", use_aci_cni_priority_class) + if use_cluster_role is not None: + pulumi.set(__self__, "use_cluster_role", use_cluster_role) + if use_host_netns_volume is not None: + pulumi.set(__self__, "use_host_netns_volume", use_host_netns_volume) + if use_opflex_server_volume is not None: + pulumi.set(__self__, "use_opflex_server_volume", use_opflex_server_volume) + if use_privileged_container is not None: + pulumi.set(__self__, "use_privileged_container", use_privileged_container) + if vmm_controller is not None: + pulumi.set(__self__, "vmm_controller", vmm_controller) + if vmm_domain is not None: + pulumi.set(__self__, "vmm_domain", vmm_domain) + + @property + @pulumi.getter + def aep(self) -> str: + """ + Attachable entity profile (string) + """ + return pulumi.get(self, "aep") + + @property + @pulumi.getter(name="apicHosts") + def apic_hosts(self) -> Sequence[str]: + """ + List of APIC hosts to connect for APIC API (list) + """ + return pulumi.get(self, "apic_hosts") + + @property + @pulumi.getter(name="apicUserCrt") + def apic_user_crt(self) -> str: + """ + APIC user certificate (string) + """ + return pulumi.get(self, "apic_user_crt") + + @property + @pulumi.getter(name="apicUserKey") + def apic_user_key(self) -> str: + """ + APIC user key (string) + """ + return pulumi.get(self, "apic_user_key") + + @property + @pulumi.getter(name="apicUserName") + def apic_user_name(self) -> str: + """ + APIC user name (string) + """ + return pulumi.get(self, "apic_user_name") + + @property + @pulumi.getter(name="encapType") + def encap_type(self) -> str: + """ + Encap type: vxlan or vlan (string) + """ + return pulumi.get(self, "encap_type") + + @property + @pulumi.getter(name="externDynamic") + def extern_dynamic(self) -> str: + """ + Subnet to use for dynamic external IPs (string) + """ + return pulumi.get(self, "extern_dynamic") + + @property + @pulumi.getter(name="externStatic") + def extern_static(self) -> str: + """ + Subnet to use for static external IPs (string) + """ + return pulumi.get(self, "extern_static") + + @property + @pulumi.getter(name="kubeApiVlan") + def kube_api_vlan(self) -> str: + """ + The VLAN used by the physdom for nodes (string) + """ + return pulumi.get(self, "kube_api_vlan") + + @property + @pulumi.getter + def l3out(self) -> str: + """ + L3out (string) + """ + return pulumi.get(self, "l3out") + + @property + @pulumi.getter(name="l3outExternalNetworks") + def l3out_external_networks(self) -> Sequence[str]: + """ + L3out external networks (list) + """ + return pulumi.get(self, "l3out_external_networks") + + @property + @pulumi.getter(name="mcastRangeEnd") + def mcast_range_end(self) -> str: + """ + End of mcast range (string) + """ + return pulumi.get(self, "mcast_range_end") + + @property + @pulumi.getter(name="mcastRangeStart") + def mcast_range_start(self) -> str: + """ + Start of mcast range (string) + """ + return pulumi.get(self, "mcast_range_start") + + @property + @pulumi.getter(name="nodeSubnet") + def node_subnet(self) -> str: + """ + Subnet to use for nodes (string) + """ + return pulumi.get(self, "node_subnet") + + @property + @pulumi.getter(name="nodeSvcSubnet") + def node_svc_subnet(self) -> str: + """ + Subnet to use for service graph (string) + """ + return pulumi.get(self, "node_svc_subnet") + + @property + @pulumi.getter(name="serviceVlan") + def service_vlan(self) -> str: + """ + The VLAN used by LoadBalancer services (string) + """ + return pulumi.get(self, "service_vlan") + + @property + @pulumi.getter(name="systemId") + def system_id(self) -> str: + """ + ACI system ID (string) + """ + return pulumi.get(self, "system_id") + + @property + @pulumi.getter + def token(self) -> str: + """ + Token for cluster registration token object (string) + """ + return pulumi.get(self, "token") + + @property + @pulumi.getter(name="vrfName") + def vrf_name(self) -> str: + """ + VRF name (string) + """ + return pulumi.get(self, "vrf_name") + + @property + @pulumi.getter(name="vrfTenant") + def vrf_tenant(self) -> str: + """ + VRF tenant (string) + """ + return pulumi.get(self, "vrf_tenant") + + @property + @pulumi.getter(name="apicRefreshTickerAdjust") + def apic_refresh_ticker_adjust(self) -> Optional[str]: + """ + APIC refresh ticker adjust amount (string) + """ + return pulumi.get(self, "apic_refresh_ticker_adjust") + + @property + @pulumi.getter(name="apicRefreshTime") + def apic_refresh_time(self) -> Optional[str]: + """ + APIC refresh time in seconds (string) + """ + return pulumi.get(self, "apic_refresh_time") + + @property + @pulumi.getter(name="apicSubscriptionDelay") + def apic_subscription_delay(self) -> Optional[str]: + """ + APIC subscription delay amount (string) + """ + return pulumi.get(self, "apic_subscription_delay") + + @property + @pulumi.getter + def capic(self) -> Optional[str]: + """ + cAPIC cloud (string) + """ + return pulumi.get(self, "capic") + + @property + @pulumi.getter(name="controllerLogLevel") + def controller_log_level(self) -> Optional[str]: + """ + Log level for ACI controller (string) + """ + return pulumi.get(self, "controller_log_level") + + @property + @pulumi.getter(name="disablePeriodicSnatGlobalInfoSync") + def disable_periodic_snat_global_info_sync(self) -> Optional[str]: + """ + Whether to disable periodic SNAT global info sync (string) + """ + return pulumi.get(self, "disable_periodic_snat_global_info_sync") + + @property + @pulumi.getter(name="disableWaitForNetwork") + def disable_wait_for_network(self) -> Optional[str]: + """ + Whether to disable waiting for network (string) + """ + return pulumi.get(self, "disable_wait_for_network") + + @property + @pulumi.getter(name="dropLogEnable") + def drop_log_enable(self) -> Optional[str]: + """ + Whether to enable drop log (string) + """ + return pulumi.get(self, "drop_log_enable") + + @property + @pulumi.getter(name="durationWaitForNetwork") + def duration_wait_for_network(self) -> Optional[str]: + """ + The duration to wait for network (string) + """ + return pulumi.get(self, "duration_wait_for_network") + + @property + @pulumi.getter(name="enableEndpointSlice") + def enable_endpoint_slice(self) -> Optional[str]: + """ + Whether to enable endpoint slices (string) + """ + return pulumi.get(self, "enable_endpoint_slice") + + @property + @pulumi.getter(name="epRegistry") + def ep_registry(self) -> Optional[str]: + """ + EP registry (string) + """ + return pulumi.get(self, "ep_registry") + + @property + @pulumi.getter(name="gbpPodSubnet") + def gbp_pod_subnet(self) -> Optional[str]: + """ + GBH pod subnet (string) + """ + return pulumi.get(self, "gbp_pod_subnet") + + @property + @pulumi.getter(name="hostAgentLogLevel") + def host_agent_log_level(self) -> Optional[str]: + """ + Log level for ACI host agent (string) + """ + return pulumi.get(self, "host_agent_log_level") + + @property + @pulumi.getter(name="imagePullPolicy") + def image_pull_policy(self) -> Optional[str]: + """ + Image pull policy (string) + """ + return pulumi.get(self, "image_pull_policy") + + @property + @pulumi.getter(name="imagePullSecret") + def image_pull_secret(self) -> Optional[str]: + """ + Image pull policy (string) + """ + return pulumi.get(self, "image_pull_secret") + + @property + @pulumi.getter(name="infraVlan") + def infra_vlan(self) -> Optional[str]: + """ + The VLAN used by ACI infra (string) + """ + return pulumi.get(self, "infra_vlan") + + @property + @pulumi.getter(name="installIstio") + def install_istio(self) -> Optional[str]: + """ + Whether to install Istio (string) + """ + return pulumi.get(self, "install_istio") + + @property + @pulumi.getter(name="istioProfile") + def istio_profile(self) -> Optional[str]: + """ + Istio profile name (string) + """ + return pulumi.get(self, "istio_profile") + + @property + @pulumi.getter(name="kafkaBrokers") + def kafka_brokers(self) -> Optional[Sequence[str]]: + """ + List of Kafka broker hosts (list) + """ + return pulumi.get(self, "kafka_brokers") + + @property + @pulumi.getter(name="kafkaClientCrt") + def kafka_client_crt(self) -> Optional[str]: + """ + Kafka client certificate (string) + """ + return pulumi.get(self, "kafka_client_crt") + + @property + @pulumi.getter(name="kafkaClientKey") + def kafka_client_key(self) -> Optional[str]: + """ + Kafka client key (string) + """ + return pulumi.get(self, "kafka_client_key") + + @property + @pulumi.getter(name="maxNodesSvcGraph") + def max_nodes_svc_graph(self) -> Optional[str]: + """ + Max nodes in service graph (string) + """ + return pulumi.get(self, "max_nodes_svc_graph") + + @property + @pulumi.getter(name="mtuHeadRoom") + def mtu_head_room(self) -> Optional[str]: + """ + MTU head room amount (string) + """ + return pulumi.get(self, "mtu_head_room") + + @property + @pulumi.getter(name="multusDisable") + def multus_disable(self) -> Optional[str]: + """ + Whether to disable Multus (string) + """ + return pulumi.get(self, "multus_disable") + + @property + @pulumi.getter(name="noPriorityClass") + def no_priority_class(self) -> Optional[str]: + """ + Whether to use priority class (string) + """ + return pulumi.get(self, "no_priority_class") + + @property + @pulumi.getter(name="nodePodIfEnable") + def node_pod_if_enable(self) -> Optional[str]: + """ + Whether to enable node pod interface (string) + """ + return pulumi.get(self, "node_pod_if_enable") + + @property + @pulumi.getter(name="opflexClientSsl") + def opflex_client_ssl(self) -> Optional[str]: + """ + Whether to use client SSL for Opflex (string) + """ + return pulumi.get(self, "opflex_client_ssl") + + @property + @pulumi.getter(name="opflexDeviceDeleteTimeout") + def opflex_device_delete_timeout(self) -> Optional[str]: + """ + Opflex device delete timeout (string) + """ + return pulumi.get(self, "opflex_device_delete_timeout") + + @property + @pulumi.getter(name="opflexLogLevel") + def opflex_log_level(self) -> Optional[str]: + """ + Log level for ACI opflex (string) + """ + return pulumi.get(self, "opflex_log_level") + + @property + @pulumi.getter(name="opflexMode") + def opflex_mode(self) -> Optional[str]: + """ + Opflex mode (string) + """ + return pulumi.get(self, "opflex_mode") + + @property + @pulumi.getter(name="opflexServerPort") + def opflex_server_port(self) -> Optional[str]: + """ + Opflex server port (string) + """ + return pulumi.get(self, "opflex_server_port") + + @property + @pulumi.getter(name="overlayVrfName") + def overlay_vrf_name(self) -> Optional[str]: + """ + Overlay VRF name (string) + """ + return pulumi.get(self, "overlay_vrf_name") + + @property + @pulumi.getter(name="ovsMemoryLimit") + def ovs_memory_limit(self) -> Optional[str]: + """ + OVS memory limit (string) + """ + return pulumi.get(self, "ovs_memory_limit") + + @property + @pulumi.getter(name="pbrTrackingNonSnat") + def pbr_tracking_non_snat(self) -> Optional[str]: + """ + Policy-based routing tracking non snat (string) + """ + return pulumi.get(self, "pbr_tracking_non_snat") + + @property + @pulumi.getter(name="podSubnetChunkSize") + def pod_subnet_chunk_size(self) -> Optional[str]: + """ + Pod subnet chunk size (string) + """ + return pulumi.get(self, "pod_subnet_chunk_size") + + @property + @pulumi.getter(name="runGbpContainer") + def run_gbp_container(self) -> Optional[str]: + """ + Whether to run GBP container (string) + """ + return pulumi.get(self, "run_gbp_container") + + @property + @pulumi.getter(name="runOpflexServerContainer") + def run_opflex_server_container(self) -> Optional[str]: + """ + Whether to run Opflex server container (string) + """ + return pulumi.get(self, "run_opflex_server_container") + + @property + @pulumi.getter(name="serviceMonitorInterval") + def service_monitor_interval(self) -> Optional[str]: + """ + Service monitor interval (string) + """ + return pulumi.get(self, "service_monitor_interval") + + @property + @pulumi.getter(name="snatContractScope") + def snat_contract_scope(self) -> Optional[str]: + """ + Snat contract scope (string) + """ + return pulumi.get(self, "snat_contract_scope") + + @property + @pulumi.getter(name="snatNamespace") + def snat_namespace(self) -> Optional[str]: + """ + Snat namespace (string) + """ + return pulumi.get(self, "snat_namespace") + + @property + @pulumi.getter(name="snatPortRangeEnd") + def snat_port_range_end(self) -> Optional[str]: + """ + End of snat port range (string) + """ + return pulumi.get(self, "snat_port_range_end") + + @property + @pulumi.getter(name="snatPortRangeStart") + def snat_port_range_start(self) -> Optional[str]: + """ + End of snat port range (string) + """ + return pulumi.get(self, "snat_port_range_start") + + @property + @pulumi.getter(name="snatPortsPerNode") + def snat_ports_per_node(self) -> Optional[str]: + """ + Snat ports per node (string) + """ + return pulumi.get(self, "snat_ports_per_node") + + @property + @pulumi.getter(name="sriovEnable") + def sriov_enable(self) -> Optional[str]: + """ + Whether to enable SR-IOV (string) + """ + return pulumi.get(self, "sriov_enable") + + @property + @pulumi.getter(name="subnetDomainName") + def subnet_domain_name(self) -> Optional[str]: + """ + Subnet domain name (string) + """ + return pulumi.get(self, "subnet_domain_name") + + @property + @pulumi.getter + def tenant(self) -> Optional[str]: + """ + ACI tenant (string) + """ + return pulumi.get(self, "tenant") + + @property + @pulumi.getter(name="useAciAnywhereCrd") + def use_aci_anywhere_crd(self) -> Optional[str]: + """ + Whether to use ACI anywhere CRD (string) + """ + return pulumi.get(self, "use_aci_anywhere_crd") + + @property + @pulumi.getter(name="useAciCniPriorityClass") + def use_aci_cni_priority_class(self) -> Optional[str]: + """ + Whether to use ACI CNI priority class (string) + """ + return pulumi.get(self, "use_aci_cni_priority_class") + + @property + @pulumi.getter(name="useClusterRole") + def use_cluster_role(self) -> Optional[str]: + """ + Whether to use cluster role (string) + """ + return pulumi.get(self, "use_cluster_role") + + @property + @pulumi.getter(name="useHostNetnsVolume") + def use_host_netns_volume(self) -> Optional[str]: + """ + Whether to use host netns volume (string) + """ + return pulumi.get(self, "use_host_netns_volume") + + @property + @pulumi.getter(name="useOpflexServerVolume") + def use_opflex_server_volume(self) -> Optional[str]: + """ + Whether use Opflex server volume (string) + """ + return pulumi.get(self, "use_opflex_server_volume") + + @property + @pulumi.getter(name="usePrivilegedContainer") + def use_privileged_container(self) -> Optional[str]: + """ + Whether ACI containers should run as privileged (string) + """ + return pulumi.get(self, "use_privileged_container") + + @property + @pulumi.getter(name="vmmController") + def vmm_controller(self) -> Optional[str]: + """ + VMM controller configuration (string) + """ + return pulumi.get(self, "vmm_controller") + + @property + @pulumi.getter(name="vmmDomain") + def vmm_domain(self) -> Optional[str]: + """ + VMM domain configuration (string) + """ + return pulumi.get(self, "vmm_domain") + + @pulumi.output_type class ClusterRkeConfigNetworkCalicoNetworkProvider(dict): @staticmethod @@ -12093,7 +13141,7 @@ def __init__(__self__, *, :param int max_backup: Audit log max backup. Default: `10` (int) :param int max_size: The EKS node group maximum size. Default `2` (int) :param str path: (Optional) Audit log path. Default: `/var/log/kube-audit/audit-log.json` (string) - :param str policy: Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: + :param str policy: Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: """ if format is not None: pulumi.set(__self__, "format", format) @@ -12152,7 +13200,7 @@ def path(self) -> Optional[str]: @pulumi.getter def policy(self) -> Optional[str]: """ - Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: + Audit policy yaml encoded definition. `apiVersion` and `kind: Policy\\nrules:"` fields are required in the yaml. [More info](https://rancher.com/docs/rke/latest/en/config-options/audit-log/) (string) Ex: """ return pulumi.get(self, "policy") @@ -16183,7 +17231,9 @@ class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetwork(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "calicoNetworkProvider": + if key == "aciNetworkProvider": + suggest = "aci_network_provider" + elif key == "calicoNetworkProvider": suggest = "calico_network_provider" elif key == "canalNetworkProvider": suggest = "canal_network_provider" @@ -16204,6 +17254,7 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + aci_network_provider: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider'] = None, calico_network_provider: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider'] = None, canal_network_provider: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProvider'] = None, flannel_network_provider: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProvider'] = None, @@ -16212,6 +17263,8 @@ def __init__(__self__, *, plugin: Optional[str] = None, tolerations: Optional[Sequence['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkToleration']] = None, weave_network_provider: Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProvider'] = None): + if aci_network_provider is not None: + pulumi.set(__self__, "aci_network_provider", aci_network_provider) if calico_network_provider is not None: pulumi.set(__self__, "calico_network_provider", calico_network_provider) if canal_network_provider is not None: @@ -16229,6 +17282,11 @@ def __init__(__self__, *, if weave_network_provider is not None: pulumi.set(__self__, "weave_network_provider", weave_network_provider) + @property + @pulumi.getter(name="aciNetworkProvider") + def aci_network_provider(self) -> Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider']: + return pulumi.get(self, "aci_network_provider") + @property @pulumi.getter(name="calicoNetworkProvider") def calico_network_provider(self) -> Optional['outputs.ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider']: @@ -16270,6 +17328,736 @@ def weave_network_provider(self) -> Optional['outputs.ClusterTemplateTemplateRev return pulumi.get(self, "weave_network_provider") +@pulumi.output_type +class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "apicHosts": + suggest = "apic_hosts" + elif key == "apicUserCrt": + suggest = "apic_user_crt" + elif key == "apicUserKey": + suggest = "apic_user_key" + elif key == "apicUserName": + suggest = "apic_user_name" + elif key == "encapType": + suggest = "encap_type" + elif key == "externDynamic": + suggest = "extern_dynamic" + elif key == "externStatic": + suggest = "extern_static" + elif key == "kubeApiVlan": + suggest = "kube_api_vlan" + elif key == "l3outExternalNetworks": + suggest = "l3out_external_networks" + elif key == "mcastRangeEnd": + suggest = "mcast_range_end" + elif key == "mcastRangeStart": + suggest = "mcast_range_start" + elif key == "nodeSubnet": + suggest = "node_subnet" + elif key == "nodeSvcSubnet": + suggest = "node_svc_subnet" + elif key == "serviceVlan": + suggest = "service_vlan" + elif key == "systemId": + suggest = "system_id" + elif key == "vrfName": + suggest = "vrf_name" + elif key == "vrfTenant": + suggest = "vrf_tenant" + elif key == "apicRefreshTickerAdjust": + suggest = "apic_refresh_ticker_adjust" + elif key == "apicRefreshTime": + suggest = "apic_refresh_time" + elif key == "apicSubscriptionDelay": + suggest = "apic_subscription_delay" + elif key == "controllerLogLevel": + suggest = "controller_log_level" + elif key == "disablePeriodicSnatGlobalInfoSync": + suggest = "disable_periodic_snat_global_info_sync" + elif key == "disableWaitForNetwork": + suggest = "disable_wait_for_network" + elif key == "dropLogEnable": + suggest = "drop_log_enable" + elif key == "durationWaitForNetwork": + suggest = "duration_wait_for_network" + elif key == "enableEndpointSlice": + suggest = "enable_endpoint_slice" + elif key == "epRegistry": + suggest = "ep_registry" + elif key == "gbpPodSubnet": + suggest = "gbp_pod_subnet" + elif key == "hostAgentLogLevel": + suggest = "host_agent_log_level" + elif key == "imagePullPolicy": + suggest = "image_pull_policy" + elif key == "imagePullSecret": + suggest = "image_pull_secret" + elif key == "infraVlan": + suggest = "infra_vlan" + elif key == "installIstio": + suggest = "install_istio" + elif key == "istioProfile": + suggest = "istio_profile" + elif key == "kafkaBrokers": + suggest = "kafka_brokers" + elif key == "kafkaClientCrt": + suggest = "kafka_client_crt" + elif key == "kafkaClientKey": + suggest = "kafka_client_key" + elif key == "maxNodesSvcGraph": + suggest = "max_nodes_svc_graph" + elif key == "mtuHeadRoom": + suggest = "mtu_head_room" + elif key == "multusDisable": + suggest = "multus_disable" + elif key == "noPriorityClass": + suggest = "no_priority_class" + elif key == "nodePodIfEnable": + suggest = "node_pod_if_enable" + elif key == "opflexClientSsl": + suggest = "opflex_client_ssl" + elif key == "opflexDeviceDeleteTimeout": + suggest = "opflex_device_delete_timeout" + elif key == "opflexLogLevel": + suggest = "opflex_log_level" + elif key == "opflexMode": + suggest = "opflex_mode" + elif key == "opflexServerPort": + suggest = "opflex_server_port" + elif key == "overlayVrfName": + suggest = "overlay_vrf_name" + elif key == "ovsMemoryLimit": + suggest = "ovs_memory_limit" + elif key == "pbrTrackingNonSnat": + suggest = "pbr_tracking_non_snat" + elif key == "podSubnetChunkSize": + suggest = "pod_subnet_chunk_size" + elif key == "runGbpContainer": + suggest = "run_gbp_container" + elif key == "runOpflexServerContainer": + suggest = "run_opflex_server_container" + elif key == "serviceMonitorInterval": + suggest = "service_monitor_interval" + elif key == "snatContractScope": + suggest = "snat_contract_scope" + elif key == "snatNamespace": + suggest = "snat_namespace" + elif key == "snatPortRangeEnd": + suggest = "snat_port_range_end" + elif key == "snatPortRangeStart": + suggest = "snat_port_range_start" + elif key == "snatPortsPerNode": + suggest = "snat_ports_per_node" + elif key == "sriovEnable": + suggest = "sriov_enable" + elif key == "subnetDomainName": + suggest = "subnet_domain_name" + elif key == "useAciAnywhereCrd": + suggest = "use_aci_anywhere_crd" + elif key == "useAciCniPriorityClass": + suggest = "use_aci_cni_priority_class" + elif key == "useClusterRole": + suggest = "use_cluster_role" + elif key == "useHostNetnsVolume": + suggest = "use_host_netns_volume" + elif key == "useOpflexServerVolume": + suggest = "use_opflex_server_volume" + elif key == "usePrivilegedContainer": + suggest = "use_privileged_container" + elif key == "vmmController": + suggest = "vmm_controller" + elif key == "vmmDomain": + suggest = "vmm_domain" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProvider.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + aep: str, + apic_hosts: Sequence[str], + apic_user_crt: str, + apic_user_key: str, + apic_user_name: str, + encap_type: str, + extern_dynamic: str, + extern_static: str, + kube_api_vlan: str, + l3out: str, + l3out_external_networks: Sequence[str], + mcast_range_end: str, + mcast_range_start: str, + node_subnet: str, + node_svc_subnet: str, + service_vlan: str, + system_id: str, + token: str, + vrf_name: str, + vrf_tenant: str, + apic_refresh_ticker_adjust: Optional[str] = None, + apic_refresh_time: Optional[str] = None, + apic_subscription_delay: Optional[str] = None, + capic: Optional[str] = None, + controller_log_level: Optional[str] = None, + disable_periodic_snat_global_info_sync: Optional[str] = None, + disable_wait_for_network: Optional[str] = None, + drop_log_enable: Optional[str] = None, + duration_wait_for_network: Optional[str] = None, + enable_endpoint_slice: Optional[str] = None, + ep_registry: Optional[str] = None, + gbp_pod_subnet: Optional[str] = None, + host_agent_log_level: Optional[str] = None, + image_pull_policy: Optional[str] = None, + image_pull_secret: Optional[str] = None, + infra_vlan: Optional[str] = None, + install_istio: Optional[str] = None, + istio_profile: Optional[str] = None, + kafka_brokers: Optional[Sequence[str]] = None, + kafka_client_crt: Optional[str] = None, + kafka_client_key: Optional[str] = None, + max_nodes_svc_graph: Optional[str] = None, + mtu_head_room: Optional[str] = None, + multus_disable: Optional[str] = None, + no_priority_class: Optional[str] = None, + node_pod_if_enable: Optional[str] = None, + opflex_client_ssl: Optional[str] = None, + opflex_device_delete_timeout: Optional[str] = None, + opflex_log_level: Optional[str] = None, + opflex_mode: Optional[str] = None, + opflex_server_port: Optional[str] = None, + overlay_vrf_name: Optional[str] = None, + ovs_memory_limit: Optional[str] = None, + pbr_tracking_non_snat: Optional[str] = None, + pod_subnet_chunk_size: Optional[str] = None, + run_gbp_container: Optional[str] = None, + run_opflex_server_container: Optional[str] = None, + service_monitor_interval: Optional[str] = None, + snat_contract_scope: Optional[str] = None, + snat_namespace: Optional[str] = None, + snat_port_range_end: Optional[str] = None, + snat_port_range_start: Optional[str] = None, + snat_ports_per_node: Optional[str] = None, + sriov_enable: Optional[str] = None, + subnet_domain_name: Optional[str] = None, + tenant: Optional[str] = None, + use_aci_anywhere_crd: Optional[str] = None, + use_aci_cni_priority_class: Optional[str] = None, + use_cluster_role: Optional[str] = None, + use_host_netns_volume: Optional[str] = None, + use_opflex_server_volume: Optional[str] = None, + use_privileged_container: Optional[str] = None, + vmm_controller: Optional[str] = None, + vmm_domain: Optional[str] = None): + pulumi.set(__self__, "aep", aep) + pulumi.set(__self__, "apic_hosts", apic_hosts) + pulumi.set(__self__, "apic_user_crt", apic_user_crt) + pulumi.set(__self__, "apic_user_key", apic_user_key) + pulumi.set(__self__, "apic_user_name", apic_user_name) + pulumi.set(__self__, "encap_type", encap_type) + pulumi.set(__self__, "extern_dynamic", extern_dynamic) + pulumi.set(__self__, "extern_static", extern_static) + pulumi.set(__self__, "kube_api_vlan", kube_api_vlan) + pulumi.set(__self__, "l3out", l3out) + pulumi.set(__self__, "l3out_external_networks", l3out_external_networks) + pulumi.set(__self__, "mcast_range_end", mcast_range_end) + pulumi.set(__self__, "mcast_range_start", mcast_range_start) + pulumi.set(__self__, "node_subnet", node_subnet) + pulumi.set(__self__, "node_svc_subnet", node_svc_subnet) + pulumi.set(__self__, "service_vlan", service_vlan) + pulumi.set(__self__, "system_id", system_id) + pulumi.set(__self__, "token", token) + pulumi.set(__self__, "vrf_name", vrf_name) + pulumi.set(__self__, "vrf_tenant", vrf_tenant) + if apic_refresh_ticker_adjust is not None: + pulumi.set(__self__, "apic_refresh_ticker_adjust", apic_refresh_ticker_adjust) + if apic_refresh_time is not None: + pulumi.set(__self__, "apic_refresh_time", apic_refresh_time) + if apic_subscription_delay is not None: + pulumi.set(__self__, "apic_subscription_delay", apic_subscription_delay) + if capic is not None: + pulumi.set(__self__, "capic", capic) + if controller_log_level is not None: + pulumi.set(__self__, "controller_log_level", controller_log_level) + if disable_periodic_snat_global_info_sync is not None: + pulumi.set(__self__, "disable_periodic_snat_global_info_sync", disable_periodic_snat_global_info_sync) + if disable_wait_for_network is not None: + pulumi.set(__self__, "disable_wait_for_network", disable_wait_for_network) + if drop_log_enable is not None: + pulumi.set(__self__, "drop_log_enable", drop_log_enable) + if duration_wait_for_network is not None: + pulumi.set(__self__, "duration_wait_for_network", duration_wait_for_network) + if enable_endpoint_slice is not None: + pulumi.set(__self__, "enable_endpoint_slice", enable_endpoint_slice) + if ep_registry is not None: + pulumi.set(__self__, "ep_registry", ep_registry) + if gbp_pod_subnet is not None: + pulumi.set(__self__, "gbp_pod_subnet", gbp_pod_subnet) + if host_agent_log_level is not None: + pulumi.set(__self__, "host_agent_log_level", host_agent_log_level) + if image_pull_policy is not None: + pulumi.set(__self__, "image_pull_policy", image_pull_policy) + if image_pull_secret is not None: + pulumi.set(__self__, "image_pull_secret", image_pull_secret) + if infra_vlan is not None: + pulumi.set(__self__, "infra_vlan", infra_vlan) + if install_istio is not None: + pulumi.set(__self__, "install_istio", install_istio) + if istio_profile is not None: + pulumi.set(__self__, "istio_profile", istio_profile) + if kafka_brokers is not None: + pulumi.set(__self__, "kafka_brokers", kafka_brokers) + if kafka_client_crt is not None: + pulumi.set(__self__, "kafka_client_crt", kafka_client_crt) + if kafka_client_key is not None: + pulumi.set(__self__, "kafka_client_key", kafka_client_key) + if max_nodes_svc_graph is not None: + pulumi.set(__self__, "max_nodes_svc_graph", max_nodes_svc_graph) + if mtu_head_room is not None: + pulumi.set(__self__, "mtu_head_room", mtu_head_room) + if multus_disable is not None: + pulumi.set(__self__, "multus_disable", multus_disable) + if no_priority_class is not None: + pulumi.set(__self__, "no_priority_class", no_priority_class) + if node_pod_if_enable is not None: + pulumi.set(__self__, "node_pod_if_enable", node_pod_if_enable) + if opflex_client_ssl is not None: + pulumi.set(__self__, "opflex_client_ssl", opflex_client_ssl) + if opflex_device_delete_timeout is not None: + pulumi.set(__self__, "opflex_device_delete_timeout", opflex_device_delete_timeout) + if opflex_log_level is not None: + pulumi.set(__self__, "opflex_log_level", opflex_log_level) + if opflex_mode is not None: + pulumi.set(__self__, "opflex_mode", opflex_mode) + if opflex_server_port is not None: + pulumi.set(__self__, "opflex_server_port", opflex_server_port) + if overlay_vrf_name is not None: + pulumi.set(__self__, "overlay_vrf_name", overlay_vrf_name) + if ovs_memory_limit is not None: + pulumi.set(__self__, "ovs_memory_limit", ovs_memory_limit) + if pbr_tracking_non_snat is not None: + pulumi.set(__self__, "pbr_tracking_non_snat", pbr_tracking_non_snat) + if pod_subnet_chunk_size is not None: + pulumi.set(__self__, "pod_subnet_chunk_size", pod_subnet_chunk_size) + if run_gbp_container is not None: + pulumi.set(__self__, "run_gbp_container", run_gbp_container) + if run_opflex_server_container is not None: + pulumi.set(__self__, "run_opflex_server_container", run_opflex_server_container) + if service_monitor_interval is not None: + pulumi.set(__self__, "service_monitor_interval", service_monitor_interval) + if snat_contract_scope is not None: + pulumi.set(__self__, "snat_contract_scope", snat_contract_scope) + if snat_namespace is not None: + pulumi.set(__self__, "snat_namespace", snat_namespace) + if snat_port_range_end is not None: + pulumi.set(__self__, "snat_port_range_end", snat_port_range_end) + if snat_port_range_start is not None: + pulumi.set(__self__, "snat_port_range_start", snat_port_range_start) + if snat_ports_per_node is not None: + pulumi.set(__self__, "snat_ports_per_node", snat_ports_per_node) + if sriov_enable is not None: + pulumi.set(__self__, "sriov_enable", sriov_enable) + if subnet_domain_name is not None: + pulumi.set(__self__, "subnet_domain_name", subnet_domain_name) + if tenant is not None: + pulumi.set(__self__, "tenant", tenant) + if use_aci_anywhere_crd is not None: + pulumi.set(__self__, "use_aci_anywhere_crd", use_aci_anywhere_crd) + if use_aci_cni_priority_class is not None: + pulumi.set(__self__, "use_aci_cni_priority_class", use_aci_cni_priority_class) + if use_cluster_role is not None: + pulumi.set(__self__, "use_cluster_role", use_cluster_role) + if use_host_netns_volume is not None: + pulumi.set(__self__, "use_host_netns_volume", use_host_netns_volume) + if use_opflex_server_volume is not None: + pulumi.set(__self__, "use_opflex_server_volume", use_opflex_server_volume) + if use_privileged_container is not None: + pulumi.set(__self__, "use_privileged_container", use_privileged_container) + if vmm_controller is not None: + pulumi.set(__self__, "vmm_controller", vmm_controller) + if vmm_domain is not None: + pulumi.set(__self__, "vmm_domain", vmm_domain) + + @property + @pulumi.getter + def aep(self) -> str: + return pulumi.get(self, "aep") + + @property + @pulumi.getter(name="apicHosts") + def apic_hosts(self) -> Sequence[str]: + return pulumi.get(self, "apic_hosts") + + @property + @pulumi.getter(name="apicUserCrt") + def apic_user_crt(self) -> str: + return pulumi.get(self, "apic_user_crt") + + @property + @pulumi.getter(name="apicUserKey") + def apic_user_key(self) -> str: + return pulumi.get(self, "apic_user_key") + + @property + @pulumi.getter(name="apicUserName") + def apic_user_name(self) -> str: + return pulumi.get(self, "apic_user_name") + + @property + @pulumi.getter(name="encapType") + def encap_type(self) -> str: + return pulumi.get(self, "encap_type") + + @property + @pulumi.getter(name="externDynamic") + def extern_dynamic(self) -> str: + return pulumi.get(self, "extern_dynamic") + + @property + @pulumi.getter(name="externStatic") + def extern_static(self) -> str: + return pulumi.get(self, "extern_static") + + @property + @pulumi.getter(name="kubeApiVlan") + def kube_api_vlan(self) -> str: + return pulumi.get(self, "kube_api_vlan") + + @property + @pulumi.getter + def l3out(self) -> str: + return pulumi.get(self, "l3out") + + @property + @pulumi.getter(name="l3outExternalNetworks") + def l3out_external_networks(self) -> Sequence[str]: + return pulumi.get(self, "l3out_external_networks") + + @property + @pulumi.getter(name="mcastRangeEnd") + def mcast_range_end(self) -> str: + return pulumi.get(self, "mcast_range_end") + + @property + @pulumi.getter(name="mcastRangeStart") + def mcast_range_start(self) -> str: + return pulumi.get(self, "mcast_range_start") + + @property + @pulumi.getter(name="nodeSubnet") + def node_subnet(self) -> str: + return pulumi.get(self, "node_subnet") + + @property + @pulumi.getter(name="nodeSvcSubnet") + def node_svc_subnet(self) -> str: + return pulumi.get(self, "node_svc_subnet") + + @property + @pulumi.getter(name="serviceVlan") + def service_vlan(self) -> str: + return pulumi.get(self, "service_vlan") + + @property + @pulumi.getter(name="systemId") + def system_id(self) -> str: + return pulumi.get(self, "system_id") + + @property + @pulumi.getter + def token(self) -> str: + return pulumi.get(self, "token") + + @property + @pulumi.getter(name="vrfName") + def vrf_name(self) -> str: + return pulumi.get(self, "vrf_name") + + @property + @pulumi.getter(name="vrfTenant") + def vrf_tenant(self) -> str: + return pulumi.get(self, "vrf_tenant") + + @property + @pulumi.getter(name="apicRefreshTickerAdjust") + def apic_refresh_ticker_adjust(self) -> Optional[str]: + return pulumi.get(self, "apic_refresh_ticker_adjust") + + @property + @pulumi.getter(name="apicRefreshTime") + def apic_refresh_time(self) -> Optional[str]: + return pulumi.get(self, "apic_refresh_time") + + @property + @pulumi.getter(name="apicSubscriptionDelay") + def apic_subscription_delay(self) -> Optional[str]: + return pulumi.get(self, "apic_subscription_delay") + + @property + @pulumi.getter + def capic(self) -> Optional[str]: + return pulumi.get(self, "capic") + + @property + @pulumi.getter(name="controllerLogLevel") + def controller_log_level(self) -> Optional[str]: + return pulumi.get(self, "controller_log_level") + + @property + @pulumi.getter(name="disablePeriodicSnatGlobalInfoSync") + def disable_periodic_snat_global_info_sync(self) -> Optional[str]: + return pulumi.get(self, "disable_periodic_snat_global_info_sync") + + @property + @pulumi.getter(name="disableWaitForNetwork") + def disable_wait_for_network(self) -> Optional[str]: + return pulumi.get(self, "disable_wait_for_network") + + @property + @pulumi.getter(name="dropLogEnable") + def drop_log_enable(self) -> Optional[str]: + return pulumi.get(self, "drop_log_enable") + + @property + @pulumi.getter(name="durationWaitForNetwork") + def duration_wait_for_network(self) -> Optional[str]: + return pulumi.get(self, "duration_wait_for_network") + + @property + @pulumi.getter(name="enableEndpointSlice") + def enable_endpoint_slice(self) -> Optional[str]: + return pulumi.get(self, "enable_endpoint_slice") + + @property + @pulumi.getter(name="epRegistry") + def ep_registry(self) -> Optional[str]: + return pulumi.get(self, "ep_registry") + + @property + @pulumi.getter(name="gbpPodSubnet") + def gbp_pod_subnet(self) -> Optional[str]: + return pulumi.get(self, "gbp_pod_subnet") + + @property + @pulumi.getter(name="hostAgentLogLevel") + def host_agent_log_level(self) -> Optional[str]: + return pulumi.get(self, "host_agent_log_level") + + @property + @pulumi.getter(name="imagePullPolicy") + def image_pull_policy(self) -> Optional[str]: + return pulumi.get(self, "image_pull_policy") + + @property + @pulumi.getter(name="imagePullSecret") + def image_pull_secret(self) -> Optional[str]: + return pulumi.get(self, "image_pull_secret") + + @property + @pulumi.getter(name="infraVlan") + def infra_vlan(self) -> Optional[str]: + return pulumi.get(self, "infra_vlan") + + @property + @pulumi.getter(name="installIstio") + def install_istio(self) -> Optional[str]: + return pulumi.get(self, "install_istio") + + @property + @pulumi.getter(name="istioProfile") + def istio_profile(self) -> Optional[str]: + return pulumi.get(self, "istio_profile") + + @property + @pulumi.getter(name="kafkaBrokers") + def kafka_brokers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "kafka_brokers") + + @property + @pulumi.getter(name="kafkaClientCrt") + def kafka_client_crt(self) -> Optional[str]: + return pulumi.get(self, "kafka_client_crt") + + @property + @pulumi.getter(name="kafkaClientKey") + def kafka_client_key(self) -> Optional[str]: + return pulumi.get(self, "kafka_client_key") + + @property + @pulumi.getter(name="maxNodesSvcGraph") + def max_nodes_svc_graph(self) -> Optional[str]: + return pulumi.get(self, "max_nodes_svc_graph") + + @property + @pulumi.getter(name="mtuHeadRoom") + def mtu_head_room(self) -> Optional[str]: + return pulumi.get(self, "mtu_head_room") + + @property + @pulumi.getter(name="multusDisable") + def multus_disable(self) -> Optional[str]: + return pulumi.get(self, "multus_disable") + + @property + @pulumi.getter(name="noPriorityClass") + def no_priority_class(self) -> Optional[str]: + return pulumi.get(self, "no_priority_class") + + @property + @pulumi.getter(name="nodePodIfEnable") + def node_pod_if_enable(self) -> Optional[str]: + return pulumi.get(self, "node_pod_if_enable") + + @property + @pulumi.getter(name="opflexClientSsl") + def opflex_client_ssl(self) -> Optional[str]: + return pulumi.get(self, "opflex_client_ssl") + + @property + @pulumi.getter(name="opflexDeviceDeleteTimeout") + def opflex_device_delete_timeout(self) -> Optional[str]: + return pulumi.get(self, "opflex_device_delete_timeout") + + @property + @pulumi.getter(name="opflexLogLevel") + def opflex_log_level(self) -> Optional[str]: + return pulumi.get(self, "opflex_log_level") + + @property + @pulumi.getter(name="opflexMode") + def opflex_mode(self) -> Optional[str]: + return pulumi.get(self, "opflex_mode") + + @property + @pulumi.getter(name="opflexServerPort") + def opflex_server_port(self) -> Optional[str]: + return pulumi.get(self, "opflex_server_port") + + @property + @pulumi.getter(name="overlayVrfName") + def overlay_vrf_name(self) -> Optional[str]: + return pulumi.get(self, "overlay_vrf_name") + + @property + @pulumi.getter(name="ovsMemoryLimit") + def ovs_memory_limit(self) -> Optional[str]: + return pulumi.get(self, "ovs_memory_limit") + + @property + @pulumi.getter(name="pbrTrackingNonSnat") + def pbr_tracking_non_snat(self) -> Optional[str]: + return pulumi.get(self, "pbr_tracking_non_snat") + + @property + @pulumi.getter(name="podSubnetChunkSize") + def pod_subnet_chunk_size(self) -> Optional[str]: + return pulumi.get(self, "pod_subnet_chunk_size") + + @property + @pulumi.getter(name="runGbpContainer") + def run_gbp_container(self) -> Optional[str]: + return pulumi.get(self, "run_gbp_container") + + @property + @pulumi.getter(name="runOpflexServerContainer") + def run_opflex_server_container(self) -> Optional[str]: + return pulumi.get(self, "run_opflex_server_container") + + @property + @pulumi.getter(name="serviceMonitorInterval") + def service_monitor_interval(self) -> Optional[str]: + return pulumi.get(self, "service_monitor_interval") + + @property + @pulumi.getter(name="snatContractScope") + def snat_contract_scope(self) -> Optional[str]: + return pulumi.get(self, "snat_contract_scope") + + @property + @pulumi.getter(name="snatNamespace") + def snat_namespace(self) -> Optional[str]: + return pulumi.get(self, "snat_namespace") + + @property + @pulumi.getter(name="snatPortRangeEnd") + def snat_port_range_end(self) -> Optional[str]: + return pulumi.get(self, "snat_port_range_end") + + @property + @pulumi.getter(name="snatPortRangeStart") + def snat_port_range_start(self) -> Optional[str]: + return pulumi.get(self, "snat_port_range_start") + + @property + @pulumi.getter(name="snatPortsPerNode") + def snat_ports_per_node(self) -> Optional[str]: + return pulumi.get(self, "snat_ports_per_node") + + @property + @pulumi.getter(name="sriovEnable") + def sriov_enable(self) -> Optional[str]: + return pulumi.get(self, "sriov_enable") + + @property + @pulumi.getter(name="subnetDomainName") + def subnet_domain_name(self) -> Optional[str]: + return pulumi.get(self, "subnet_domain_name") + + @property + @pulumi.getter + def tenant(self) -> Optional[str]: + return pulumi.get(self, "tenant") + + @property + @pulumi.getter(name="useAciAnywhereCrd") + def use_aci_anywhere_crd(self) -> Optional[str]: + return pulumi.get(self, "use_aci_anywhere_crd") + + @property + @pulumi.getter(name="useAciCniPriorityClass") + def use_aci_cni_priority_class(self) -> Optional[str]: + return pulumi.get(self, "use_aci_cni_priority_class") + + @property + @pulumi.getter(name="useClusterRole") + def use_cluster_role(self) -> Optional[str]: + return pulumi.get(self, "use_cluster_role") + + @property + @pulumi.getter(name="useHostNetnsVolume") + def use_host_netns_volume(self) -> Optional[str]: + return pulumi.get(self, "use_host_netns_volume") + + @property + @pulumi.getter(name="useOpflexServerVolume") + def use_opflex_server_volume(self) -> Optional[str]: + return pulumi.get(self, "use_opflex_server_volume") + + @property + @pulumi.getter(name="usePrivilegedContainer") + def use_privileged_container(self) -> Optional[str]: + return pulumi.get(self, "use_privileged_container") + + @property + @pulumi.getter(name="vmmController") + def vmm_controller(self) -> Optional[str]: + return pulumi.get(self, "vmm_controller") + + @property + @pulumi.getter(name="vmmDomain") + def vmm_domain(self) -> Optional[str]: + return pulumi.get(self, "vmm_domain") + + @pulumi.output_type class ClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProvider(dict): @staticmethod @@ -18491,7 +20279,7 @@ def __init__(__self__, *, :param bool disable_snapshots: Disable ETCD snapshots. Default: `false` (bool) :param 'ClusterV2RkeConfigEtcdS3ConfigArgs' s3_config: Creation option for etcd service (list maxitems:1) :param int snapshot_retention: ETCD snapshot retention (int) - :param str snapshot_schedule_cron: ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) + :param str snapshot_schedule_cron: ETCD snapshot schedule cron (e.g `\\"0 */5 * * *\\"`) (string) """ if disable_snapshots is not None: pulumi.set(__self__, "disable_snapshots", disable_snapshots) @@ -18530,7 +20318,7 @@ def snapshot_retention(self) -> Optional[int]: @pulumi.getter(name="snapshotScheduleCron") def snapshot_schedule_cron(self) -> Optional[str]: """ - ETCD snapshot schedule cron (e.g `\"0 */5 * * *\"`) (string) + ETCD snapshot schedule cron (e.g `\\"0 */5 * * *\\"`) (string) """ return pulumi.get(self, "snapshot_schedule_cron") @@ -18796,6 +20584,8 @@ def __key_warning(key: str): suggest = "drain_before_delete" elif key == "etcdRole": suggest = "etcd_role" + elif key == "machineLabels": + suggest = "machine_labels" elif key == "maxUnhealthy": suggest = "max_unhealthy" elif key == "nodeDrainTimeout": @@ -18831,6 +20621,7 @@ def __init__(__self__, *, drain_before_delete: Optional[bool] = None, etcd_role: Optional[bool] = None, labels: Optional[Mapping[str, Any]] = None, + machine_labels: Optional[Mapping[str, Any]] = None, max_unhealthy: Optional[str] = None, node_drain_timeout: Optional[int] = None, node_startup_timeout_seconds: Optional[int] = None, @@ -18850,6 +20641,7 @@ def __init__(__self__, *, :param bool drain_before_delete: Machine Pool Drain Before Delete? (bool) :param bool etcd_role: Machine pool etcd role? (bool) :param Mapping[str, Any] labels: Labels for cluster registration token object (map) + :param Mapping[str, Any] machine_labels: Labels for Machine pool nodes (map) :param str max_unhealthy: Max unhealthy nodes for automated replacement to be allowed (string) :param int node_drain_timeout: Seconds a machine has to drain before deletion (int) :param int node_startup_timeout_seconds: Seconds a new node has to become active before it is replaced (int) @@ -18874,6 +20666,8 @@ def __init__(__self__, *, pulumi.set(__self__, "etcd_role", etcd_role) if labels is not None: pulumi.set(__self__, "labels", labels) + if machine_labels is not None: + pulumi.set(__self__, "machine_labels", machine_labels) if max_unhealthy is not None: pulumi.set(__self__, "max_unhealthy", max_unhealthy) if node_drain_timeout is not None: @@ -18959,6 +20753,14 @@ def labels(self) -> Optional[Mapping[str, Any]]: """ return pulumi.get(self, "labels") + @property + @pulumi.getter(name="machineLabels") + def machine_labels(self) -> Optional[Mapping[str, Any]]: + """ + Labels for Machine pool nodes (map) + """ + return pulumi.get(self, "machine_labels") + @property @pulumi.getter(name="maxUnhealthy") def max_unhealthy(self) -> Optional[str]: @@ -19128,7 +20930,7 @@ def __init__(__self__, *, """ :param str key: Machine selector label match expressions key (string) :param str value: The taint value (string) - :param str effect: The taint effect. Default: `\"NoExecute\"` (string) + :param str effect: The taint effect. Default: `\\"NoExecute\\"` (string) """ pulumi.set(__self__, "key", key) pulumi.set(__self__, "value", value) @@ -19155,7 +20957,7 @@ def value(self) -> str: @pulumi.getter def effect(self) -> Optional[str]: """ - The taint effect. Default: `\"NoExecute\"` (string) + The taint effect. Default: `\\"NoExecute\\"` (string) """ return pulumi.get(self, "effect") @@ -20864,6 +22666,8 @@ def __key_warning(key: str): suggest = "no_public_ip" elif key == "openPorts": suggest = "open_ports" + elif key == "privateAddressOnly": + suggest = "private_address_only" elif key == "privateIpAddress": suggest = "private_ip_address" elif key == "resourceGroup": @@ -20912,6 +22716,7 @@ def __init__(__self__, *, no_public_ip: Optional[bool] = None, nsg: Optional[str] = None, open_ports: Optional[Sequence[str]] = None, + private_address_only: Optional[bool] = None, private_ip_address: Optional[str] = None, resource_group: Optional[str] = None, size: Optional[str] = None, @@ -20941,6 +22746,7 @@ def __init__(__self__, *, :param bool no_public_ip: Do not create a public IP address for the machine. Default `false` (bool) :param str nsg: Azure Network Security Group to assign this node to (accepts either a name or resource ID, default is to create a new NSG for each machine). Default `docker-machine-nsg` (string) :param Sequence[str] open_ports: Make the specified port number accessible from the Internet. (list) + :param bool private_address_only: Only use a private IP address. Default `false` (bool) :param str private_ip_address: Specify a static private IP address for the machine. (string) :param str resource_group: Azure Resource Group name (will be created if missing). Default `docker-machine` (string) :param str size: Digital Ocean size. Default `s-1vcpu-1gb` (string) @@ -20985,6 +22791,8 @@ def __init__(__self__, *, pulumi.set(__self__, "nsg", nsg) if open_ports is not None: pulumi.set(__self__, "open_ports", open_ports) + if private_address_only is not None: + pulumi.set(__self__, "private_address_only", private_address_only) if private_ip_address is not None: pulumi.set(__self__, "private_ip_address", private_ip_address) if resource_group is not None: @@ -21132,6 +22940,14 @@ def open_ports(self) -> Optional[Sequence[str]]: """ return pulumi.get(self, "open_ports") + @property + @pulumi.getter(name="privateAddressOnly") + def private_address_only(self) -> Optional[bool]: + """ + Only use a private IP address. Default `false` (bool) + """ + return pulumi.get(self, "private_address_only") + @property @pulumi.getter(name="privateIpAddress") def private_ip_address(self) -> Optional[str]: @@ -23556,6 +25372,10 @@ def __key_warning(key: str): suggest = "device_name" elif key == "encryptEbsVolume": suggest = "encrypt_ebs_volume" + elif key == "httpEndpoint": + suggest = "http_endpoint" + elif key == "httpTokens": + suggest = "http_tokens" elif key == "iamInstanceProfile": suggest = "iam_instance_profile" elif key == "insecureTransport": @@ -23616,6 +25436,8 @@ def __init__(__self__, *, device_name: Optional[str] = None, encrypt_ebs_volume: Optional[bool] = None, endpoint: Optional[str] = None, + http_endpoint: Optional[str] = None, + http_tokens: Optional[str] = None, iam_instance_profile: Optional[str] = None, insecure_transport: Optional[bool] = None, instance_type: Optional[str] = None, @@ -23640,19 +25462,21 @@ def __init__(__self__, *, volume_type: Optional[str] = None): """ :param str ami: AWS machine image (string) - :param str region: OpenStack region name (string) + :param str region: AWS region. Default `eu-west-2` (string) :param Sequence[str] security_groups: AWS VPC security group. (list) :param str subnet_id: AWS VPC subnet id (string) :param str vpc_id: AWS VPC id. (string) :param str zone: AWS zone for instance (i.e. a,b,c,d,e) (string) - :param str access_key: AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + :param str access_key: Outscale Access Key (string) :param str block_duration_minutes: AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360). Default `0` (string) :param str device_name: AWS root device name. Default `/dev/sda1` (string) :param bool encrypt_ebs_volume: Encrypt EBS volume. Default `false` (bool) :param str endpoint: Optional endpoint URL (hostname only or fully qualified URI) (string) + :param str http_endpoint: Enables or disables the HTTP metadata endpoint on your instances (string) + :param str http_tokens: The state of token usage for your instance metadata requests (string) :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 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) @@ -23661,11 +25485,10 @@ def __init__(__self__, *, :param bool request_spot_instance: Set this flag to request spot instance. Default `false` (bool) :param str retries: Set retry count for recoverable failures (use -1 to disable). Default `5` (string) :param str root_size: AWS root disk size (in GB). Default `16` (string) - :param str secret_key: AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + :param str secret_key: Outscale Secret Key (string) :param bool security_group_readonly: Skip adding default rules to security groups (bool) :param str session_token: AWS Session Token (string) :param str spot_price: AWS spot instance bid price (in dollar). Default `0.50` (string) - :param str ssh_keypath: SSH Key for Instance (string) :param str ssh_user: If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) :param str tags: vSphere tags id e.g. `urn:xxx`. From Rancher v2.3.3 (list) :param bool use_ebs_optimized_instance: Create an EBS optimized instance. Default `false` (bool) @@ -23689,6 +25512,10 @@ def __init__(__self__, *, pulumi.set(__self__, "encrypt_ebs_volume", encrypt_ebs_volume) if endpoint is not None: pulumi.set(__self__, "endpoint", endpoint) + if http_endpoint is not None: + pulumi.set(__self__, "http_endpoint", http_endpoint) + if http_tokens is not None: + pulumi.set(__self__, "http_tokens", http_tokens) if iam_instance_profile is not None: pulumi.set(__self__, "iam_instance_profile", iam_instance_profile) if insecure_transport is not None: @@ -23746,7 +25573,7 @@ def ami(self) -> str: @pulumi.getter def region(self) -> str: """ - OpenStack region name (string) + AWS region. Default `eu-west-2` (string) """ return pulumi.get(self, "region") @@ -23786,7 +25613,7 @@ def zone(self) -> str: @pulumi.getter(name="accessKey") def access_key(self) -> Optional[str]: """ - AWS access key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Outscale Access Key (string) """ return pulumi.get(self, "access_key") @@ -23822,6 +25649,22 @@ def endpoint(self) -> Optional[str]: """ return pulumi.get(self, "endpoint") + @property + @pulumi.getter(name="httpEndpoint") + def http_endpoint(self) -> Optional[str]: + """ + Enables or disables the HTTP metadata endpoint on your instances (string) + """ + return pulumi.get(self, "http_endpoint") + + @property + @pulumi.getter(name="httpTokens") + def http_tokens(self) -> Optional[str]: + """ + The state of token usage for your instance metadata requests (string) + """ + return pulumi.get(self, "http_tokens") + @property @pulumi.getter(name="iamInstanceProfile") def iam_instance_profile(self) -> Optional[str]: @@ -23842,7 +25685,7 @@ def insecure_transport(self) -> Optional[bool]: @pulumi.getter(name="instanceType") def instance_type(self) -> Optional[str]: """ - Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + Outscale VM type. Default `tinav2.c1r2p3` (string) """ return pulumi.get(self, "instance_type") @@ -23914,7 +25757,7 @@ def root_size(self) -> Optional[str]: @pulumi.getter(name="secretKey") def secret_key(self) -> Optional[str]: """ - AWS secret key. Required on Rancher v2.0.x and v2.1.x. Use `CloudCredential` from Rancher v2.2.x (string) + Outscale Secret Key (string) """ return pulumi.get(self, "secret_key") @@ -23945,9 +25788,6 @@ def spot_price(self) -> Optional[str]: @property @pulumi.getter(name="sshKeypath") def ssh_keypath(self) -> Optional[str]: - """ - SSH Key for Instance (string) - """ return pulumi.get(self, "ssh_keypath") @property @@ -24446,7 +26286,7 @@ def __init__(__self__, *, :param bool ipv6: Enable ipv6 for droplet. Default `false` (bool) :param bool monitoring: Enable monitoring for droplet. Default `false` (bool) :param bool private_networking: Enable private networking for droplet. Default `false` (bool) - :param str region: OpenStack region name (string) + :param str region: AWS region. Default `eu-west-2` (string) :param str size: Digital Ocean size. Default `s-1vcpu-1gb` (string) :param str ssh_key_fingerprint: SSH key fingerprint (string) :param str ssh_key_path: SSH private key path (string) @@ -24536,7 +26376,7 @@ def private_networking(self) -> Optional[bool]: @pulumi.getter def region(self) -> Optional[str]: """ - OpenStack region name (string) + AWS region. Default `eu-west-2` (string) """ return pulumi.get(self, "region") @@ -24981,9 +26821,9 @@ def __init__(__self__, *, :param bool create_private_ip: Create private IP for the instance. Default `false` (bool) :param str docker_port: Docker Port. Default `2376` (string) :param str image: Specifies the Linode Instance image which determines the OS distribution and base files. Default `linode/ubuntu18.04` (string) - :param str instance_type: Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + :param str instance_type: Outscale VM type. Default `tinav2.c1r2p3` (string) :param str label: Linode Instance Label. (string) - :param str region: OpenStack region name (string) + :param str region: AWS region. Default `eu-west-2` (string) :param str root_pass: Root Password (string) :param str ssh_port: If using a non-B2D image you can specify the ssh port. Default `22`. From Rancher v2.3.3 (string) :param str ssh_user: If using a non-B2D image you can specify the ssh user. Default `docker`. From Rancher v2.3.3 (string) @@ -25063,7 +26903,7 @@ def image(self) -> Optional[str]: @pulumi.getter(name="instanceType") def instance_type(self) -> Optional[str]: """ - Specifies the Linode Instance type which determines CPU, memory, disk size, etc. Default `g6-standard-4` (string) + Outscale VM type. Default `tinav2.c1r2p3` (string) """ return pulumi.get(self, "instance_type") @@ -25079,7 +26919,7 @@ def label(self) -> Optional[str]: @pulumi.getter def region(self) -> Optional[str]: """ - OpenStack region name (string) + AWS region. Default `eu-west-2` (string) """ return pulumi.get(self, "region") @@ -25626,7 +27466,7 @@ def __init__(__self__, *, """ :param str auth_url: OpenStack authentication URL (string) :param str availability_zone: OpenStack availability zone (string) - :param str region: OpenStack region name (string) + :param str region: AWS region. Default `eu-west-2` (string) :param str active_timeout: OpenStack active timeout Default `200` (string) :param str application_credential_id: OpenStack application credential id. Conflicts with `application_credential_name` (string) :param str application_credential_name: OpenStack application credential name. Conflicts with `application_credential_id` (string) @@ -25757,7 +27597,7 @@ def availability_zone(self) -> str: @pulumi.getter def region(self) -> str: """ - OpenStack region name (string) + AWS region. Default `eu-west-2` (string) """ return pulumi.get(self, "region") @@ -26042,6 +27882,178 @@ def volume_type(self) -> Optional[str]: return pulumi.get(self, "volume_type") +@pulumi.output_type +class NodeTemplateOutscaleConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "accessKey": + suggest = "access_key" + elif key == "secretKey": + suggest = "secret_key" + elif key == "extraTagsAlls": + suggest = "extra_tags_alls" + elif key == "extraTagsInstances": + suggest = "extra_tags_instances" + elif key == "instanceType": + suggest = "instance_type" + elif key == "rootDiskIops": + suggest = "root_disk_iops" + elif key == "rootDiskSize": + suggest = "root_disk_size" + elif key == "rootDiskType": + suggest = "root_disk_type" + elif key == "securityGroupIds": + suggest = "security_group_ids" + elif key == "sourceOmi": + suggest = "source_omi" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NodeTemplateOutscaleConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NodeTemplateOutscaleConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NodeTemplateOutscaleConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + access_key: str, + secret_key: str, + extra_tags_alls: Optional[Sequence[str]] = None, + extra_tags_instances: Optional[Sequence[str]] = None, + instance_type: Optional[str] = None, + region: Optional[str] = None, + root_disk_iops: Optional[int] = None, + root_disk_size: Optional[int] = None, + root_disk_type: Optional[str] = None, + security_group_ids: Optional[Sequence[str]] = None, + source_omi: Optional[str] = None): + """ + :param str access_key: Outscale Access Key (string) + :param str secret_key: Outscale Secret Key (string) + :param Sequence[str] extra_tags_alls: Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + :param Sequence[str] extra_tags_instances: Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + :param str instance_type: Outscale VM type. Default `tinav2.c1r2p3` (string) + :param str region: AWS region. Default `eu-west-2` (string) + :param int root_disk_iops: Iops for io1 Root Disk. From 1 to 13000. + :param int root_disk_size: Size of the Root Disk (in GB). From 1 to 14901. + :param str root_disk_type: Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + :param Sequence[str] security_group_ids: Ids of user defined Security Groups to add to the machine. (list) + :param str source_omi: Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + """ + pulumi.set(__self__, "access_key", access_key) + pulumi.set(__self__, "secret_key", secret_key) + if extra_tags_alls is not None: + pulumi.set(__self__, "extra_tags_alls", extra_tags_alls) + if extra_tags_instances is not None: + pulumi.set(__self__, "extra_tags_instances", extra_tags_instances) + if instance_type is not None: + pulumi.set(__self__, "instance_type", instance_type) + if region is not None: + pulumi.set(__self__, "region", region) + if root_disk_iops is not None: + pulumi.set(__self__, "root_disk_iops", root_disk_iops) + if root_disk_size is not None: + pulumi.set(__self__, "root_disk_size", root_disk_size) + if root_disk_type is not None: + pulumi.set(__self__, "root_disk_type", root_disk_type) + if security_group_ids is not None: + pulumi.set(__self__, "security_group_ids", security_group_ids) + if source_omi is not None: + pulumi.set(__self__, "source_omi", source_omi) + + @property + @pulumi.getter(name="accessKey") + def access_key(self) -> str: + """ + Outscale Access Key (string) + """ + return pulumi.get(self, "access_key") + + @property + @pulumi.getter(name="secretKey") + def secret_key(self) -> str: + """ + Outscale Secret Key (string) + """ + return pulumi.get(self, "secret_key") + + @property + @pulumi.getter(name="extraTagsAlls") + def extra_tags_alls(self) -> Optional[Sequence[str]]: + """ + Extra tags for all created resources (e.g. key1=value1,key2=value2) (list) + """ + return pulumi.get(self, "extra_tags_alls") + + @property + @pulumi.getter(name="extraTagsInstances") + def extra_tags_instances(self) -> Optional[Sequence[str]]: + """ + Extra tags only for instances (e.g. key1=value1,key2=value2) (list) + """ + return pulumi.get(self, "extra_tags_instances") + + @property + @pulumi.getter(name="instanceType") + def instance_type(self) -> Optional[str]: + """ + Outscale VM type. Default `tinav2.c1r2p3` (string) + """ + return pulumi.get(self, "instance_type") + + @property + @pulumi.getter + def region(self) -> Optional[str]: + """ + AWS region. Default `eu-west-2` (string) + """ + return pulumi.get(self, "region") + + @property + @pulumi.getter(name="rootDiskIops") + def root_disk_iops(self) -> Optional[int]: + """ + Iops for io1 Root Disk. From 1 to 13000. + """ + return pulumi.get(self, "root_disk_iops") + + @property + @pulumi.getter(name="rootDiskSize") + def root_disk_size(self) -> Optional[int]: + """ + Size of the Root Disk (in GB). From 1 to 14901. + """ + return pulumi.get(self, "root_disk_size") + + @property + @pulumi.getter(name="rootDiskType") + def root_disk_type(self) -> Optional[str]: + """ + Type of the Root Disk. Possible values are :'standard', 'gp2' or 'io1'. + """ + return pulumi.get(self, "root_disk_type") + + @property + @pulumi.getter(name="securityGroupIds") + def security_group_ids(self) -> Optional[Sequence[str]]: + """ + Ids of user defined Security Groups to add to the machine. (list) + """ + return pulumi.get(self, "security_group_ids") + + @property + @pulumi.getter(name="sourceOmi") + def source_omi(self) -> Optional[str]: + """ + Outscale Machine Image to use as bootstrap for the VM. Default `ami-2cf1fa3e` (string) + """ + return pulumi.get(self, "source_omi") + + @pulumi.output_type class NodeTemplateVsphereConfig(dict): @staticmethod @@ -34219,6 +36231,7 @@ class GetClusterRkeConfigNetworkResult(dict): def __init__(__self__, *, options: Mapping[str, Any], plugin: str, + aci_network_provider: Optional['outputs.GetClusterRkeConfigNetworkAciNetworkProviderResult'] = None, calico_network_provider: Optional['outputs.GetClusterRkeConfigNetworkCalicoNetworkProviderResult'] = None, canal_network_provider: Optional['outputs.GetClusterRkeConfigNetworkCanalNetworkProviderResult'] = None, flannel_network_provider: Optional['outputs.GetClusterRkeConfigNetworkFlannelNetworkProviderResult'] = None, @@ -34227,6 +36240,8 @@ def __init__(__self__, *, weave_network_provider: Optional['outputs.GetClusterRkeConfigNetworkWeaveNetworkProviderResult'] = None): pulumi.set(__self__, "options", options) pulumi.set(__self__, "plugin", plugin) + if aci_network_provider is not None: + pulumi.set(__self__, "aci_network_provider", aci_network_provider) if calico_network_provider is not None: pulumi.set(__self__, "calico_network_provider", calico_network_provider) if canal_network_provider is not None: @@ -34250,6 +36265,11 @@ def options(self) -> Mapping[str, Any]: def plugin(self) -> str: return pulumi.get(self, "plugin") + @property + @pulumi.getter(name="aciNetworkProvider") + def aci_network_provider(self) -> Optional['outputs.GetClusterRkeConfigNetworkAciNetworkProviderResult']: + return pulumi.get(self, "aci_network_provider") + @property @pulumi.getter(name="calicoNetworkProvider") def calico_network_provider(self) -> Optional['outputs.GetClusterRkeConfigNetworkCalicoNetworkProviderResult']: @@ -34281,6 +36301,583 @@ def weave_network_provider(self) -> Optional['outputs.GetClusterRkeConfigNetwork return pulumi.get(self, "weave_network_provider") +@pulumi.output_type +class GetClusterRkeConfigNetworkAciNetworkProviderResult(dict): + def __init__(__self__, *, + aep: str, + apic_hosts: Sequence[str], + apic_user_crt: str, + apic_user_key: str, + apic_user_name: str, + encap_type: str, + extern_dynamic: str, + extern_static: str, + kube_api_vlan: str, + l3out: str, + l3out_external_networks: Sequence[str], + mcast_range_end: str, + mcast_range_start: str, + node_subnet: str, + node_svc_subnet: str, + service_vlan: str, + system_id: str, + token: str, + vrf_name: str, + vrf_tenant: str, + apic_refresh_ticker_adjust: Optional[str] = None, + apic_refresh_time: Optional[str] = None, + apic_subscription_delay: Optional[str] = None, + capic: Optional[str] = None, + controller_log_level: Optional[str] = None, + disable_periodic_snat_global_info_sync: Optional[str] = None, + disable_wait_for_network: Optional[str] = None, + drop_log_enable: Optional[str] = None, + duration_wait_for_network: Optional[str] = None, + enable_endpoint_slice: Optional[str] = None, + ep_registry: Optional[str] = None, + gbp_pod_subnet: Optional[str] = None, + host_agent_log_level: Optional[str] = None, + image_pull_policy: Optional[str] = None, + image_pull_secret: Optional[str] = None, + infra_vlan: Optional[str] = None, + install_istio: Optional[str] = None, + istio_profile: Optional[str] = None, + kafka_brokers: Optional[Sequence[str]] = None, + kafka_client_crt: Optional[str] = None, + kafka_client_key: Optional[str] = None, + max_nodes_svc_graph: Optional[str] = None, + mtu_head_room: Optional[str] = None, + multus_disable: Optional[str] = None, + no_priority_class: Optional[str] = None, + node_pod_if_enable: Optional[str] = None, + opflex_client_ssl: Optional[str] = None, + opflex_device_delete_timeout: Optional[str] = None, + opflex_log_level: Optional[str] = None, + opflex_mode: Optional[str] = None, + opflex_server_port: Optional[str] = None, + overlay_vrf_name: Optional[str] = None, + ovs_memory_limit: Optional[str] = None, + pbr_tracking_non_snat: Optional[str] = None, + pod_subnet_chunk_size: Optional[str] = None, + run_gbp_container: Optional[str] = None, + run_opflex_server_container: Optional[str] = None, + service_monitor_interval: Optional[str] = None, + snat_contract_scope: Optional[str] = None, + snat_namespace: Optional[str] = None, + snat_port_range_end: Optional[str] = None, + snat_port_range_start: Optional[str] = None, + snat_ports_per_node: Optional[str] = None, + sriov_enable: Optional[str] = None, + subnet_domain_name: Optional[str] = None, + tenant: Optional[str] = None, + use_aci_anywhere_crd: Optional[str] = None, + use_aci_cni_priority_class: Optional[str] = None, + use_cluster_role: Optional[str] = None, + use_host_netns_volume: Optional[str] = None, + use_opflex_server_volume: Optional[str] = None, + use_privileged_container: Optional[str] = None, + vmm_controller: Optional[str] = None, + vmm_domain: Optional[str] = None): + pulumi.set(__self__, "aep", aep) + pulumi.set(__self__, "apic_hosts", apic_hosts) + pulumi.set(__self__, "apic_user_crt", apic_user_crt) + pulumi.set(__self__, "apic_user_key", apic_user_key) + pulumi.set(__self__, "apic_user_name", apic_user_name) + pulumi.set(__self__, "encap_type", encap_type) + pulumi.set(__self__, "extern_dynamic", extern_dynamic) + pulumi.set(__self__, "extern_static", extern_static) + pulumi.set(__self__, "kube_api_vlan", kube_api_vlan) + pulumi.set(__self__, "l3out", l3out) + pulumi.set(__self__, "l3out_external_networks", l3out_external_networks) + pulumi.set(__self__, "mcast_range_end", mcast_range_end) + pulumi.set(__self__, "mcast_range_start", mcast_range_start) + pulumi.set(__self__, "node_subnet", node_subnet) + pulumi.set(__self__, "node_svc_subnet", node_svc_subnet) + pulumi.set(__self__, "service_vlan", service_vlan) + pulumi.set(__self__, "system_id", system_id) + pulumi.set(__self__, "token", token) + pulumi.set(__self__, "vrf_name", vrf_name) + pulumi.set(__self__, "vrf_tenant", vrf_tenant) + if apic_refresh_ticker_adjust is not None: + pulumi.set(__self__, "apic_refresh_ticker_adjust", apic_refresh_ticker_adjust) + if apic_refresh_time is not None: + pulumi.set(__self__, "apic_refresh_time", apic_refresh_time) + if apic_subscription_delay is not None: + pulumi.set(__self__, "apic_subscription_delay", apic_subscription_delay) + if capic is not None: + pulumi.set(__self__, "capic", capic) + if controller_log_level is not None: + pulumi.set(__self__, "controller_log_level", controller_log_level) + if disable_periodic_snat_global_info_sync is not None: + pulumi.set(__self__, "disable_periodic_snat_global_info_sync", disable_periodic_snat_global_info_sync) + if disable_wait_for_network is not None: + pulumi.set(__self__, "disable_wait_for_network", disable_wait_for_network) + if drop_log_enable is not None: + pulumi.set(__self__, "drop_log_enable", drop_log_enable) + if duration_wait_for_network is not None: + pulumi.set(__self__, "duration_wait_for_network", duration_wait_for_network) + if enable_endpoint_slice is not None: + pulumi.set(__self__, "enable_endpoint_slice", enable_endpoint_slice) + if ep_registry is not None: + pulumi.set(__self__, "ep_registry", ep_registry) + if gbp_pod_subnet is not None: + pulumi.set(__self__, "gbp_pod_subnet", gbp_pod_subnet) + if host_agent_log_level is not None: + pulumi.set(__self__, "host_agent_log_level", host_agent_log_level) + if image_pull_policy is not None: + pulumi.set(__self__, "image_pull_policy", image_pull_policy) + if image_pull_secret is not None: + pulumi.set(__self__, "image_pull_secret", image_pull_secret) + if infra_vlan is not None: + pulumi.set(__self__, "infra_vlan", infra_vlan) + if install_istio is not None: + pulumi.set(__self__, "install_istio", install_istio) + if istio_profile is not None: + pulumi.set(__self__, "istio_profile", istio_profile) + if kafka_brokers is not None: + pulumi.set(__self__, "kafka_brokers", kafka_brokers) + if kafka_client_crt is not None: + pulumi.set(__self__, "kafka_client_crt", kafka_client_crt) + if kafka_client_key is not None: + pulumi.set(__self__, "kafka_client_key", kafka_client_key) + if max_nodes_svc_graph is not None: + pulumi.set(__self__, "max_nodes_svc_graph", max_nodes_svc_graph) + if mtu_head_room is not None: + pulumi.set(__self__, "mtu_head_room", mtu_head_room) + if multus_disable is not None: + pulumi.set(__self__, "multus_disable", multus_disable) + if no_priority_class is not None: + pulumi.set(__self__, "no_priority_class", no_priority_class) + if node_pod_if_enable is not None: + pulumi.set(__self__, "node_pod_if_enable", node_pod_if_enable) + if opflex_client_ssl is not None: + pulumi.set(__self__, "opflex_client_ssl", opflex_client_ssl) + if opflex_device_delete_timeout is not None: + pulumi.set(__self__, "opflex_device_delete_timeout", opflex_device_delete_timeout) + if opflex_log_level is not None: + pulumi.set(__self__, "opflex_log_level", opflex_log_level) + if opflex_mode is not None: + pulumi.set(__self__, "opflex_mode", opflex_mode) + if opflex_server_port is not None: + pulumi.set(__self__, "opflex_server_port", opflex_server_port) + if overlay_vrf_name is not None: + pulumi.set(__self__, "overlay_vrf_name", overlay_vrf_name) + if ovs_memory_limit is not None: + pulumi.set(__self__, "ovs_memory_limit", ovs_memory_limit) + if pbr_tracking_non_snat is not None: + pulumi.set(__self__, "pbr_tracking_non_snat", pbr_tracking_non_snat) + if pod_subnet_chunk_size is not None: + pulumi.set(__self__, "pod_subnet_chunk_size", pod_subnet_chunk_size) + if run_gbp_container is not None: + pulumi.set(__self__, "run_gbp_container", run_gbp_container) + if run_opflex_server_container is not None: + pulumi.set(__self__, "run_opflex_server_container", run_opflex_server_container) + if service_monitor_interval is not None: + pulumi.set(__self__, "service_monitor_interval", service_monitor_interval) + if snat_contract_scope is not None: + pulumi.set(__self__, "snat_contract_scope", snat_contract_scope) + if snat_namespace is not None: + pulumi.set(__self__, "snat_namespace", snat_namespace) + if snat_port_range_end is not None: + pulumi.set(__self__, "snat_port_range_end", snat_port_range_end) + if snat_port_range_start is not None: + pulumi.set(__self__, "snat_port_range_start", snat_port_range_start) + if snat_ports_per_node is not None: + pulumi.set(__self__, "snat_ports_per_node", snat_ports_per_node) + if sriov_enable is not None: + pulumi.set(__self__, "sriov_enable", sriov_enable) + if subnet_domain_name is not None: + pulumi.set(__self__, "subnet_domain_name", subnet_domain_name) + if tenant is not None: + pulumi.set(__self__, "tenant", tenant) + if use_aci_anywhere_crd is not None: + pulumi.set(__self__, "use_aci_anywhere_crd", use_aci_anywhere_crd) + if use_aci_cni_priority_class is not None: + pulumi.set(__self__, "use_aci_cni_priority_class", use_aci_cni_priority_class) + if use_cluster_role is not None: + pulumi.set(__self__, "use_cluster_role", use_cluster_role) + if use_host_netns_volume is not None: + pulumi.set(__self__, "use_host_netns_volume", use_host_netns_volume) + if use_opflex_server_volume is not None: + pulumi.set(__self__, "use_opflex_server_volume", use_opflex_server_volume) + if use_privileged_container is not None: + pulumi.set(__self__, "use_privileged_container", use_privileged_container) + if vmm_controller is not None: + pulumi.set(__self__, "vmm_controller", vmm_controller) + if vmm_domain is not None: + pulumi.set(__self__, "vmm_domain", vmm_domain) + + @property + @pulumi.getter + def aep(self) -> str: + return pulumi.get(self, "aep") + + @property + @pulumi.getter(name="apicHosts") + def apic_hosts(self) -> Sequence[str]: + return pulumi.get(self, "apic_hosts") + + @property + @pulumi.getter(name="apicUserCrt") + def apic_user_crt(self) -> str: + return pulumi.get(self, "apic_user_crt") + + @property + @pulumi.getter(name="apicUserKey") + def apic_user_key(self) -> str: + return pulumi.get(self, "apic_user_key") + + @property + @pulumi.getter(name="apicUserName") + def apic_user_name(self) -> str: + return pulumi.get(self, "apic_user_name") + + @property + @pulumi.getter(name="encapType") + def encap_type(self) -> str: + return pulumi.get(self, "encap_type") + + @property + @pulumi.getter(name="externDynamic") + def extern_dynamic(self) -> str: + return pulumi.get(self, "extern_dynamic") + + @property + @pulumi.getter(name="externStatic") + def extern_static(self) -> str: + return pulumi.get(self, "extern_static") + + @property + @pulumi.getter(name="kubeApiVlan") + def kube_api_vlan(self) -> str: + return pulumi.get(self, "kube_api_vlan") + + @property + @pulumi.getter + def l3out(self) -> str: + return pulumi.get(self, "l3out") + + @property + @pulumi.getter(name="l3outExternalNetworks") + def l3out_external_networks(self) -> Sequence[str]: + return pulumi.get(self, "l3out_external_networks") + + @property + @pulumi.getter(name="mcastRangeEnd") + def mcast_range_end(self) -> str: + return pulumi.get(self, "mcast_range_end") + + @property + @pulumi.getter(name="mcastRangeStart") + def mcast_range_start(self) -> str: + return pulumi.get(self, "mcast_range_start") + + @property + @pulumi.getter(name="nodeSubnet") + def node_subnet(self) -> str: + return pulumi.get(self, "node_subnet") + + @property + @pulumi.getter(name="nodeSvcSubnet") + def node_svc_subnet(self) -> str: + return pulumi.get(self, "node_svc_subnet") + + @property + @pulumi.getter(name="serviceVlan") + def service_vlan(self) -> str: + return pulumi.get(self, "service_vlan") + + @property + @pulumi.getter(name="systemId") + def system_id(self) -> str: + return pulumi.get(self, "system_id") + + @property + @pulumi.getter + def token(self) -> str: + return pulumi.get(self, "token") + + @property + @pulumi.getter(name="vrfName") + def vrf_name(self) -> str: + return pulumi.get(self, "vrf_name") + + @property + @pulumi.getter(name="vrfTenant") + def vrf_tenant(self) -> str: + return pulumi.get(self, "vrf_tenant") + + @property + @pulumi.getter(name="apicRefreshTickerAdjust") + def apic_refresh_ticker_adjust(self) -> Optional[str]: + return pulumi.get(self, "apic_refresh_ticker_adjust") + + @property + @pulumi.getter(name="apicRefreshTime") + def apic_refresh_time(self) -> Optional[str]: + return pulumi.get(self, "apic_refresh_time") + + @property + @pulumi.getter(name="apicSubscriptionDelay") + def apic_subscription_delay(self) -> Optional[str]: + return pulumi.get(self, "apic_subscription_delay") + + @property + @pulumi.getter + def capic(self) -> Optional[str]: + return pulumi.get(self, "capic") + + @property + @pulumi.getter(name="controllerLogLevel") + def controller_log_level(self) -> Optional[str]: + return pulumi.get(self, "controller_log_level") + + @property + @pulumi.getter(name="disablePeriodicSnatGlobalInfoSync") + def disable_periodic_snat_global_info_sync(self) -> Optional[str]: + return pulumi.get(self, "disable_periodic_snat_global_info_sync") + + @property + @pulumi.getter(name="disableWaitForNetwork") + def disable_wait_for_network(self) -> Optional[str]: + return pulumi.get(self, "disable_wait_for_network") + + @property + @pulumi.getter(name="dropLogEnable") + def drop_log_enable(self) -> Optional[str]: + return pulumi.get(self, "drop_log_enable") + + @property + @pulumi.getter(name="durationWaitForNetwork") + def duration_wait_for_network(self) -> Optional[str]: + return pulumi.get(self, "duration_wait_for_network") + + @property + @pulumi.getter(name="enableEndpointSlice") + def enable_endpoint_slice(self) -> Optional[str]: + return pulumi.get(self, "enable_endpoint_slice") + + @property + @pulumi.getter(name="epRegistry") + def ep_registry(self) -> Optional[str]: + return pulumi.get(self, "ep_registry") + + @property + @pulumi.getter(name="gbpPodSubnet") + def gbp_pod_subnet(self) -> Optional[str]: + return pulumi.get(self, "gbp_pod_subnet") + + @property + @pulumi.getter(name="hostAgentLogLevel") + def host_agent_log_level(self) -> Optional[str]: + return pulumi.get(self, "host_agent_log_level") + + @property + @pulumi.getter(name="imagePullPolicy") + def image_pull_policy(self) -> Optional[str]: + return pulumi.get(self, "image_pull_policy") + + @property + @pulumi.getter(name="imagePullSecret") + def image_pull_secret(self) -> Optional[str]: + return pulumi.get(self, "image_pull_secret") + + @property + @pulumi.getter(name="infraVlan") + def infra_vlan(self) -> Optional[str]: + return pulumi.get(self, "infra_vlan") + + @property + @pulumi.getter(name="installIstio") + def install_istio(self) -> Optional[str]: + return pulumi.get(self, "install_istio") + + @property + @pulumi.getter(name="istioProfile") + def istio_profile(self) -> Optional[str]: + return pulumi.get(self, "istio_profile") + + @property + @pulumi.getter(name="kafkaBrokers") + def kafka_brokers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "kafka_brokers") + + @property + @pulumi.getter(name="kafkaClientCrt") + def kafka_client_crt(self) -> Optional[str]: + return pulumi.get(self, "kafka_client_crt") + + @property + @pulumi.getter(name="kafkaClientKey") + def kafka_client_key(self) -> Optional[str]: + return pulumi.get(self, "kafka_client_key") + + @property + @pulumi.getter(name="maxNodesSvcGraph") + def max_nodes_svc_graph(self) -> Optional[str]: + return pulumi.get(self, "max_nodes_svc_graph") + + @property + @pulumi.getter(name="mtuHeadRoom") + def mtu_head_room(self) -> Optional[str]: + return pulumi.get(self, "mtu_head_room") + + @property + @pulumi.getter(name="multusDisable") + def multus_disable(self) -> Optional[str]: + return pulumi.get(self, "multus_disable") + + @property + @pulumi.getter(name="noPriorityClass") + def no_priority_class(self) -> Optional[str]: + return pulumi.get(self, "no_priority_class") + + @property + @pulumi.getter(name="nodePodIfEnable") + def node_pod_if_enable(self) -> Optional[str]: + return pulumi.get(self, "node_pod_if_enable") + + @property + @pulumi.getter(name="opflexClientSsl") + def opflex_client_ssl(self) -> Optional[str]: + return pulumi.get(self, "opflex_client_ssl") + + @property + @pulumi.getter(name="opflexDeviceDeleteTimeout") + def opflex_device_delete_timeout(self) -> Optional[str]: + return pulumi.get(self, "opflex_device_delete_timeout") + + @property + @pulumi.getter(name="opflexLogLevel") + def opflex_log_level(self) -> Optional[str]: + return pulumi.get(self, "opflex_log_level") + + @property + @pulumi.getter(name="opflexMode") + def opflex_mode(self) -> Optional[str]: + return pulumi.get(self, "opflex_mode") + + @property + @pulumi.getter(name="opflexServerPort") + def opflex_server_port(self) -> Optional[str]: + return pulumi.get(self, "opflex_server_port") + + @property + @pulumi.getter(name="overlayVrfName") + def overlay_vrf_name(self) -> Optional[str]: + return pulumi.get(self, "overlay_vrf_name") + + @property + @pulumi.getter(name="ovsMemoryLimit") + def ovs_memory_limit(self) -> Optional[str]: + return pulumi.get(self, "ovs_memory_limit") + + @property + @pulumi.getter(name="pbrTrackingNonSnat") + def pbr_tracking_non_snat(self) -> Optional[str]: + return pulumi.get(self, "pbr_tracking_non_snat") + + @property + @pulumi.getter(name="podSubnetChunkSize") + def pod_subnet_chunk_size(self) -> Optional[str]: + return pulumi.get(self, "pod_subnet_chunk_size") + + @property + @pulumi.getter(name="runGbpContainer") + def run_gbp_container(self) -> Optional[str]: + return pulumi.get(self, "run_gbp_container") + + @property + @pulumi.getter(name="runOpflexServerContainer") + def run_opflex_server_container(self) -> Optional[str]: + return pulumi.get(self, "run_opflex_server_container") + + @property + @pulumi.getter(name="serviceMonitorInterval") + def service_monitor_interval(self) -> Optional[str]: + return pulumi.get(self, "service_monitor_interval") + + @property + @pulumi.getter(name="snatContractScope") + def snat_contract_scope(self) -> Optional[str]: + return pulumi.get(self, "snat_contract_scope") + + @property + @pulumi.getter(name="snatNamespace") + def snat_namespace(self) -> Optional[str]: + return pulumi.get(self, "snat_namespace") + + @property + @pulumi.getter(name="snatPortRangeEnd") + def snat_port_range_end(self) -> Optional[str]: + return pulumi.get(self, "snat_port_range_end") + + @property + @pulumi.getter(name="snatPortRangeStart") + def snat_port_range_start(self) -> Optional[str]: + return pulumi.get(self, "snat_port_range_start") + + @property + @pulumi.getter(name="snatPortsPerNode") + def snat_ports_per_node(self) -> Optional[str]: + return pulumi.get(self, "snat_ports_per_node") + + @property + @pulumi.getter(name="sriovEnable") + def sriov_enable(self) -> Optional[str]: + return pulumi.get(self, "sriov_enable") + + @property + @pulumi.getter(name="subnetDomainName") + def subnet_domain_name(self) -> Optional[str]: + return pulumi.get(self, "subnet_domain_name") + + @property + @pulumi.getter + def tenant(self) -> Optional[str]: + return pulumi.get(self, "tenant") + + @property + @pulumi.getter(name="useAciAnywhereCrd") + def use_aci_anywhere_crd(self) -> Optional[str]: + return pulumi.get(self, "use_aci_anywhere_crd") + + @property + @pulumi.getter(name="useAciCniPriorityClass") + def use_aci_cni_priority_class(self) -> Optional[str]: + return pulumi.get(self, "use_aci_cni_priority_class") + + @property + @pulumi.getter(name="useClusterRole") + def use_cluster_role(self) -> Optional[str]: + return pulumi.get(self, "use_cluster_role") + + @property + @pulumi.getter(name="useHostNetnsVolume") + def use_host_netns_volume(self) -> Optional[str]: + return pulumi.get(self, "use_host_netns_volume") + + @property + @pulumi.getter(name="useOpflexServerVolume") + def use_opflex_server_volume(self) -> Optional[str]: + return pulumi.get(self, "use_opflex_server_volume") + + @property + @pulumi.getter(name="usePrivilegedContainer") + def use_privileged_container(self) -> Optional[str]: + return pulumi.get(self, "use_privileged_container") + + @property + @pulumi.getter(name="vmmController") + def vmm_controller(self) -> Optional[str]: + return pulumi.get(self, "vmm_controller") + + @property + @pulumi.getter(name="vmmDomain") + def vmm_domain(self) -> Optional[str]: + return pulumi.get(self, "vmm_domain") + + @pulumi.output_type class GetClusterRkeConfigNetworkCalicoNetworkProviderResult(dict): def __init__(__self__, *, @@ -37393,6 +39990,7 @@ class GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkResult(dict def __init__(__self__, *, options: Mapping[str, Any], plugin: str, + aci_network_provider: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult'] = None, calico_network_provider: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderResult'] = None, canal_network_provider: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCanalNetworkProviderResult'] = None, flannel_network_provider: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkFlannelNetworkProviderResult'] = None, @@ -37401,6 +39999,8 @@ def __init__(__self__, *, weave_network_provider: Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkWeaveNetworkProviderResult'] = None): pulumi.set(__self__, "options", options) pulumi.set(__self__, "plugin", plugin) + if aci_network_provider is not None: + pulumi.set(__self__, "aci_network_provider", aci_network_provider) if calico_network_provider is not None: pulumi.set(__self__, "calico_network_provider", calico_network_provider) if canal_network_provider is not None: @@ -37424,6 +40024,11 @@ def options(self) -> Mapping[str, Any]: def plugin(self) -> str: return pulumi.get(self, "plugin") + @property + @pulumi.getter(name="aciNetworkProvider") + def aci_network_provider(self) -> Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult']: + return pulumi.get(self, "aci_network_provider") + @property @pulumi.getter(name="calicoNetworkProvider") def calico_network_provider(self) -> Optional['outputs.GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderResult']: @@ -37455,6 +40060,583 @@ def weave_network_provider(self) -> Optional['outputs.GetClusterTemplateTemplate return pulumi.get(self, "weave_network_provider") +@pulumi.output_type +class GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkAciNetworkProviderResult(dict): + def __init__(__self__, *, + aep: str, + apic_hosts: Sequence[str], + apic_user_crt: str, + apic_user_key: str, + apic_user_name: str, + encap_type: str, + extern_dynamic: str, + extern_static: str, + kube_api_vlan: str, + l3out: str, + l3out_external_networks: Sequence[str], + mcast_range_end: str, + mcast_range_start: str, + node_subnet: str, + node_svc_subnet: str, + service_vlan: str, + system_id: str, + token: str, + vrf_name: str, + vrf_tenant: str, + apic_refresh_ticker_adjust: Optional[str] = None, + apic_refresh_time: Optional[str] = None, + apic_subscription_delay: Optional[str] = None, + capic: Optional[str] = None, + controller_log_level: Optional[str] = None, + disable_periodic_snat_global_info_sync: Optional[str] = None, + disable_wait_for_network: Optional[str] = None, + drop_log_enable: Optional[str] = None, + duration_wait_for_network: Optional[str] = None, + enable_endpoint_slice: Optional[str] = None, + ep_registry: Optional[str] = None, + gbp_pod_subnet: Optional[str] = None, + host_agent_log_level: Optional[str] = None, + image_pull_policy: Optional[str] = None, + image_pull_secret: Optional[str] = None, + infra_vlan: Optional[str] = None, + install_istio: Optional[str] = None, + istio_profile: Optional[str] = None, + kafka_brokers: Optional[Sequence[str]] = None, + kafka_client_crt: Optional[str] = None, + kafka_client_key: Optional[str] = None, + max_nodes_svc_graph: Optional[str] = None, + mtu_head_room: Optional[str] = None, + multus_disable: Optional[str] = None, + no_priority_class: Optional[str] = None, + node_pod_if_enable: Optional[str] = None, + opflex_client_ssl: Optional[str] = None, + opflex_device_delete_timeout: Optional[str] = None, + opflex_log_level: Optional[str] = None, + opflex_mode: Optional[str] = None, + opflex_server_port: Optional[str] = None, + overlay_vrf_name: Optional[str] = None, + ovs_memory_limit: Optional[str] = None, + pbr_tracking_non_snat: Optional[str] = None, + pod_subnet_chunk_size: Optional[str] = None, + run_gbp_container: Optional[str] = None, + run_opflex_server_container: Optional[str] = None, + service_monitor_interval: Optional[str] = None, + snat_contract_scope: Optional[str] = None, + snat_namespace: Optional[str] = None, + snat_port_range_end: Optional[str] = None, + snat_port_range_start: Optional[str] = None, + snat_ports_per_node: Optional[str] = None, + sriov_enable: Optional[str] = None, + subnet_domain_name: Optional[str] = None, + tenant: Optional[str] = None, + use_aci_anywhere_crd: Optional[str] = None, + use_aci_cni_priority_class: Optional[str] = None, + use_cluster_role: Optional[str] = None, + use_host_netns_volume: Optional[str] = None, + use_opflex_server_volume: Optional[str] = None, + use_privileged_container: Optional[str] = None, + vmm_controller: Optional[str] = None, + vmm_domain: Optional[str] = None): + pulumi.set(__self__, "aep", aep) + pulumi.set(__self__, "apic_hosts", apic_hosts) + pulumi.set(__self__, "apic_user_crt", apic_user_crt) + pulumi.set(__self__, "apic_user_key", apic_user_key) + pulumi.set(__self__, "apic_user_name", apic_user_name) + pulumi.set(__self__, "encap_type", encap_type) + pulumi.set(__self__, "extern_dynamic", extern_dynamic) + pulumi.set(__self__, "extern_static", extern_static) + pulumi.set(__self__, "kube_api_vlan", kube_api_vlan) + pulumi.set(__self__, "l3out", l3out) + pulumi.set(__self__, "l3out_external_networks", l3out_external_networks) + pulumi.set(__self__, "mcast_range_end", mcast_range_end) + pulumi.set(__self__, "mcast_range_start", mcast_range_start) + pulumi.set(__self__, "node_subnet", node_subnet) + pulumi.set(__self__, "node_svc_subnet", node_svc_subnet) + pulumi.set(__self__, "service_vlan", service_vlan) + pulumi.set(__self__, "system_id", system_id) + pulumi.set(__self__, "token", token) + pulumi.set(__self__, "vrf_name", vrf_name) + pulumi.set(__self__, "vrf_tenant", vrf_tenant) + if apic_refresh_ticker_adjust is not None: + pulumi.set(__self__, "apic_refresh_ticker_adjust", apic_refresh_ticker_adjust) + if apic_refresh_time is not None: + pulumi.set(__self__, "apic_refresh_time", apic_refresh_time) + if apic_subscription_delay is not None: + pulumi.set(__self__, "apic_subscription_delay", apic_subscription_delay) + if capic is not None: + pulumi.set(__self__, "capic", capic) + if controller_log_level is not None: + pulumi.set(__self__, "controller_log_level", controller_log_level) + if disable_periodic_snat_global_info_sync is not None: + pulumi.set(__self__, "disable_periodic_snat_global_info_sync", disable_periodic_snat_global_info_sync) + if disable_wait_for_network is not None: + pulumi.set(__self__, "disable_wait_for_network", disable_wait_for_network) + if drop_log_enable is not None: + pulumi.set(__self__, "drop_log_enable", drop_log_enable) + if duration_wait_for_network is not None: + pulumi.set(__self__, "duration_wait_for_network", duration_wait_for_network) + if enable_endpoint_slice is not None: + pulumi.set(__self__, "enable_endpoint_slice", enable_endpoint_slice) + if ep_registry is not None: + pulumi.set(__self__, "ep_registry", ep_registry) + if gbp_pod_subnet is not None: + pulumi.set(__self__, "gbp_pod_subnet", gbp_pod_subnet) + if host_agent_log_level is not None: + pulumi.set(__self__, "host_agent_log_level", host_agent_log_level) + if image_pull_policy is not None: + pulumi.set(__self__, "image_pull_policy", image_pull_policy) + if image_pull_secret is not None: + pulumi.set(__self__, "image_pull_secret", image_pull_secret) + if infra_vlan is not None: + pulumi.set(__self__, "infra_vlan", infra_vlan) + if install_istio is not None: + pulumi.set(__self__, "install_istio", install_istio) + if istio_profile is not None: + pulumi.set(__self__, "istio_profile", istio_profile) + if kafka_brokers is not None: + pulumi.set(__self__, "kafka_brokers", kafka_brokers) + if kafka_client_crt is not None: + pulumi.set(__self__, "kafka_client_crt", kafka_client_crt) + if kafka_client_key is not None: + pulumi.set(__self__, "kafka_client_key", kafka_client_key) + if max_nodes_svc_graph is not None: + pulumi.set(__self__, "max_nodes_svc_graph", max_nodes_svc_graph) + if mtu_head_room is not None: + pulumi.set(__self__, "mtu_head_room", mtu_head_room) + if multus_disable is not None: + pulumi.set(__self__, "multus_disable", multus_disable) + if no_priority_class is not None: + pulumi.set(__self__, "no_priority_class", no_priority_class) + if node_pod_if_enable is not None: + pulumi.set(__self__, "node_pod_if_enable", node_pod_if_enable) + if opflex_client_ssl is not None: + pulumi.set(__self__, "opflex_client_ssl", opflex_client_ssl) + if opflex_device_delete_timeout is not None: + pulumi.set(__self__, "opflex_device_delete_timeout", opflex_device_delete_timeout) + if opflex_log_level is not None: + pulumi.set(__self__, "opflex_log_level", opflex_log_level) + if opflex_mode is not None: + pulumi.set(__self__, "opflex_mode", opflex_mode) + if opflex_server_port is not None: + pulumi.set(__self__, "opflex_server_port", opflex_server_port) + if overlay_vrf_name is not None: + pulumi.set(__self__, "overlay_vrf_name", overlay_vrf_name) + if ovs_memory_limit is not None: + pulumi.set(__self__, "ovs_memory_limit", ovs_memory_limit) + if pbr_tracking_non_snat is not None: + pulumi.set(__self__, "pbr_tracking_non_snat", pbr_tracking_non_snat) + if pod_subnet_chunk_size is not None: + pulumi.set(__self__, "pod_subnet_chunk_size", pod_subnet_chunk_size) + if run_gbp_container is not None: + pulumi.set(__self__, "run_gbp_container", run_gbp_container) + if run_opflex_server_container is not None: + pulumi.set(__self__, "run_opflex_server_container", run_opflex_server_container) + if service_monitor_interval is not None: + pulumi.set(__self__, "service_monitor_interval", service_monitor_interval) + if snat_contract_scope is not None: + pulumi.set(__self__, "snat_contract_scope", snat_contract_scope) + if snat_namespace is not None: + pulumi.set(__self__, "snat_namespace", snat_namespace) + if snat_port_range_end is not None: + pulumi.set(__self__, "snat_port_range_end", snat_port_range_end) + if snat_port_range_start is not None: + pulumi.set(__self__, "snat_port_range_start", snat_port_range_start) + if snat_ports_per_node is not None: + pulumi.set(__self__, "snat_ports_per_node", snat_ports_per_node) + if sriov_enable is not None: + pulumi.set(__self__, "sriov_enable", sriov_enable) + if subnet_domain_name is not None: + pulumi.set(__self__, "subnet_domain_name", subnet_domain_name) + if tenant is not None: + pulumi.set(__self__, "tenant", tenant) + if use_aci_anywhere_crd is not None: + pulumi.set(__self__, "use_aci_anywhere_crd", use_aci_anywhere_crd) + if use_aci_cni_priority_class is not None: + pulumi.set(__self__, "use_aci_cni_priority_class", use_aci_cni_priority_class) + if use_cluster_role is not None: + pulumi.set(__self__, "use_cluster_role", use_cluster_role) + if use_host_netns_volume is not None: + pulumi.set(__self__, "use_host_netns_volume", use_host_netns_volume) + if use_opflex_server_volume is not None: + pulumi.set(__self__, "use_opflex_server_volume", use_opflex_server_volume) + if use_privileged_container is not None: + pulumi.set(__self__, "use_privileged_container", use_privileged_container) + if vmm_controller is not None: + pulumi.set(__self__, "vmm_controller", vmm_controller) + if vmm_domain is not None: + pulumi.set(__self__, "vmm_domain", vmm_domain) + + @property + @pulumi.getter + def aep(self) -> str: + return pulumi.get(self, "aep") + + @property + @pulumi.getter(name="apicHosts") + def apic_hosts(self) -> Sequence[str]: + return pulumi.get(self, "apic_hosts") + + @property + @pulumi.getter(name="apicUserCrt") + def apic_user_crt(self) -> str: + return pulumi.get(self, "apic_user_crt") + + @property + @pulumi.getter(name="apicUserKey") + def apic_user_key(self) -> str: + return pulumi.get(self, "apic_user_key") + + @property + @pulumi.getter(name="apicUserName") + def apic_user_name(self) -> str: + return pulumi.get(self, "apic_user_name") + + @property + @pulumi.getter(name="encapType") + def encap_type(self) -> str: + return pulumi.get(self, "encap_type") + + @property + @pulumi.getter(name="externDynamic") + def extern_dynamic(self) -> str: + return pulumi.get(self, "extern_dynamic") + + @property + @pulumi.getter(name="externStatic") + def extern_static(self) -> str: + return pulumi.get(self, "extern_static") + + @property + @pulumi.getter(name="kubeApiVlan") + def kube_api_vlan(self) -> str: + return pulumi.get(self, "kube_api_vlan") + + @property + @pulumi.getter + def l3out(self) -> str: + return pulumi.get(self, "l3out") + + @property + @pulumi.getter(name="l3outExternalNetworks") + def l3out_external_networks(self) -> Sequence[str]: + return pulumi.get(self, "l3out_external_networks") + + @property + @pulumi.getter(name="mcastRangeEnd") + def mcast_range_end(self) -> str: + return pulumi.get(self, "mcast_range_end") + + @property + @pulumi.getter(name="mcastRangeStart") + def mcast_range_start(self) -> str: + return pulumi.get(self, "mcast_range_start") + + @property + @pulumi.getter(name="nodeSubnet") + def node_subnet(self) -> str: + return pulumi.get(self, "node_subnet") + + @property + @pulumi.getter(name="nodeSvcSubnet") + def node_svc_subnet(self) -> str: + return pulumi.get(self, "node_svc_subnet") + + @property + @pulumi.getter(name="serviceVlan") + def service_vlan(self) -> str: + return pulumi.get(self, "service_vlan") + + @property + @pulumi.getter(name="systemId") + def system_id(self) -> str: + return pulumi.get(self, "system_id") + + @property + @pulumi.getter + def token(self) -> str: + return pulumi.get(self, "token") + + @property + @pulumi.getter(name="vrfName") + def vrf_name(self) -> str: + return pulumi.get(self, "vrf_name") + + @property + @pulumi.getter(name="vrfTenant") + def vrf_tenant(self) -> str: + return pulumi.get(self, "vrf_tenant") + + @property + @pulumi.getter(name="apicRefreshTickerAdjust") + def apic_refresh_ticker_adjust(self) -> Optional[str]: + return pulumi.get(self, "apic_refresh_ticker_adjust") + + @property + @pulumi.getter(name="apicRefreshTime") + def apic_refresh_time(self) -> Optional[str]: + return pulumi.get(self, "apic_refresh_time") + + @property + @pulumi.getter(name="apicSubscriptionDelay") + def apic_subscription_delay(self) -> Optional[str]: + return pulumi.get(self, "apic_subscription_delay") + + @property + @pulumi.getter + def capic(self) -> Optional[str]: + return pulumi.get(self, "capic") + + @property + @pulumi.getter(name="controllerLogLevel") + def controller_log_level(self) -> Optional[str]: + return pulumi.get(self, "controller_log_level") + + @property + @pulumi.getter(name="disablePeriodicSnatGlobalInfoSync") + def disable_periodic_snat_global_info_sync(self) -> Optional[str]: + return pulumi.get(self, "disable_periodic_snat_global_info_sync") + + @property + @pulumi.getter(name="disableWaitForNetwork") + def disable_wait_for_network(self) -> Optional[str]: + return pulumi.get(self, "disable_wait_for_network") + + @property + @pulumi.getter(name="dropLogEnable") + def drop_log_enable(self) -> Optional[str]: + return pulumi.get(self, "drop_log_enable") + + @property + @pulumi.getter(name="durationWaitForNetwork") + def duration_wait_for_network(self) -> Optional[str]: + return pulumi.get(self, "duration_wait_for_network") + + @property + @pulumi.getter(name="enableEndpointSlice") + def enable_endpoint_slice(self) -> Optional[str]: + return pulumi.get(self, "enable_endpoint_slice") + + @property + @pulumi.getter(name="epRegistry") + def ep_registry(self) -> Optional[str]: + return pulumi.get(self, "ep_registry") + + @property + @pulumi.getter(name="gbpPodSubnet") + def gbp_pod_subnet(self) -> Optional[str]: + return pulumi.get(self, "gbp_pod_subnet") + + @property + @pulumi.getter(name="hostAgentLogLevel") + def host_agent_log_level(self) -> Optional[str]: + return pulumi.get(self, "host_agent_log_level") + + @property + @pulumi.getter(name="imagePullPolicy") + def image_pull_policy(self) -> Optional[str]: + return pulumi.get(self, "image_pull_policy") + + @property + @pulumi.getter(name="imagePullSecret") + def image_pull_secret(self) -> Optional[str]: + return pulumi.get(self, "image_pull_secret") + + @property + @pulumi.getter(name="infraVlan") + def infra_vlan(self) -> Optional[str]: + return pulumi.get(self, "infra_vlan") + + @property + @pulumi.getter(name="installIstio") + def install_istio(self) -> Optional[str]: + return pulumi.get(self, "install_istio") + + @property + @pulumi.getter(name="istioProfile") + def istio_profile(self) -> Optional[str]: + return pulumi.get(self, "istio_profile") + + @property + @pulumi.getter(name="kafkaBrokers") + def kafka_brokers(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "kafka_brokers") + + @property + @pulumi.getter(name="kafkaClientCrt") + def kafka_client_crt(self) -> Optional[str]: + return pulumi.get(self, "kafka_client_crt") + + @property + @pulumi.getter(name="kafkaClientKey") + def kafka_client_key(self) -> Optional[str]: + return pulumi.get(self, "kafka_client_key") + + @property + @pulumi.getter(name="maxNodesSvcGraph") + def max_nodes_svc_graph(self) -> Optional[str]: + return pulumi.get(self, "max_nodes_svc_graph") + + @property + @pulumi.getter(name="mtuHeadRoom") + def mtu_head_room(self) -> Optional[str]: + return pulumi.get(self, "mtu_head_room") + + @property + @pulumi.getter(name="multusDisable") + def multus_disable(self) -> Optional[str]: + return pulumi.get(self, "multus_disable") + + @property + @pulumi.getter(name="noPriorityClass") + def no_priority_class(self) -> Optional[str]: + return pulumi.get(self, "no_priority_class") + + @property + @pulumi.getter(name="nodePodIfEnable") + def node_pod_if_enable(self) -> Optional[str]: + return pulumi.get(self, "node_pod_if_enable") + + @property + @pulumi.getter(name="opflexClientSsl") + def opflex_client_ssl(self) -> Optional[str]: + return pulumi.get(self, "opflex_client_ssl") + + @property + @pulumi.getter(name="opflexDeviceDeleteTimeout") + def opflex_device_delete_timeout(self) -> Optional[str]: + return pulumi.get(self, "opflex_device_delete_timeout") + + @property + @pulumi.getter(name="opflexLogLevel") + def opflex_log_level(self) -> Optional[str]: + return pulumi.get(self, "opflex_log_level") + + @property + @pulumi.getter(name="opflexMode") + def opflex_mode(self) -> Optional[str]: + return pulumi.get(self, "opflex_mode") + + @property + @pulumi.getter(name="opflexServerPort") + def opflex_server_port(self) -> Optional[str]: + return pulumi.get(self, "opflex_server_port") + + @property + @pulumi.getter(name="overlayVrfName") + def overlay_vrf_name(self) -> Optional[str]: + return pulumi.get(self, "overlay_vrf_name") + + @property + @pulumi.getter(name="ovsMemoryLimit") + def ovs_memory_limit(self) -> Optional[str]: + return pulumi.get(self, "ovs_memory_limit") + + @property + @pulumi.getter(name="pbrTrackingNonSnat") + def pbr_tracking_non_snat(self) -> Optional[str]: + return pulumi.get(self, "pbr_tracking_non_snat") + + @property + @pulumi.getter(name="podSubnetChunkSize") + def pod_subnet_chunk_size(self) -> Optional[str]: + return pulumi.get(self, "pod_subnet_chunk_size") + + @property + @pulumi.getter(name="runGbpContainer") + def run_gbp_container(self) -> Optional[str]: + return pulumi.get(self, "run_gbp_container") + + @property + @pulumi.getter(name="runOpflexServerContainer") + def run_opflex_server_container(self) -> Optional[str]: + return pulumi.get(self, "run_opflex_server_container") + + @property + @pulumi.getter(name="serviceMonitorInterval") + def service_monitor_interval(self) -> Optional[str]: + return pulumi.get(self, "service_monitor_interval") + + @property + @pulumi.getter(name="snatContractScope") + def snat_contract_scope(self) -> Optional[str]: + return pulumi.get(self, "snat_contract_scope") + + @property + @pulumi.getter(name="snatNamespace") + def snat_namespace(self) -> Optional[str]: + return pulumi.get(self, "snat_namespace") + + @property + @pulumi.getter(name="snatPortRangeEnd") + def snat_port_range_end(self) -> Optional[str]: + return pulumi.get(self, "snat_port_range_end") + + @property + @pulumi.getter(name="snatPortRangeStart") + def snat_port_range_start(self) -> Optional[str]: + return pulumi.get(self, "snat_port_range_start") + + @property + @pulumi.getter(name="snatPortsPerNode") + def snat_ports_per_node(self) -> Optional[str]: + return pulumi.get(self, "snat_ports_per_node") + + @property + @pulumi.getter(name="sriovEnable") + def sriov_enable(self) -> Optional[str]: + return pulumi.get(self, "sriov_enable") + + @property + @pulumi.getter(name="subnetDomainName") + def subnet_domain_name(self) -> Optional[str]: + return pulumi.get(self, "subnet_domain_name") + + @property + @pulumi.getter + def tenant(self) -> Optional[str]: + return pulumi.get(self, "tenant") + + @property + @pulumi.getter(name="useAciAnywhereCrd") + def use_aci_anywhere_crd(self) -> Optional[str]: + return pulumi.get(self, "use_aci_anywhere_crd") + + @property + @pulumi.getter(name="useAciCniPriorityClass") + def use_aci_cni_priority_class(self) -> Optional[str]: + return pulumi.get(self, "use_aci_cni_priority_class") + + @property + @pulumi.getter(name="useClusterRole") + def use_cluster_role(self) -> Optional[str]: + return pulumi.get(self, "use_cluster_role") + + @property + @pulumi.getter(name="useHostNetnsVolume") + def use_host_netns_volume(self) -> Optional[str]: + return pulumi.get(self, "use_host_netns_volume") + + @property + @pulumi.getter(name="useOpflexServerVolume") + def use_opflex_server_volume(self) -> Optional[str]: + return pulumi.get(self, "use_opflex_server_volume") + + @property + @pulumi.getter(name="usePrivilegedContainer") + def use_privileged_container(self) -> Optional[str]: + return pulumi.get(self, "use_privileged_container") + + @property + @pulumi.getter(name="vmmController") + def vmm_controller(self) -> Optional[str]: + return pulumi.get(self, "vmm_controller") + + @property + @pulumi.getter(name="vmmDomain") + def vmm_domain(self) -> Optional[str]: + return pulumi.get(self, "vmm_domain") + + @pulumi.output_type class GetClusterTemplateTemplateRevisionClusterConfigRkeConfigNetworkCalicoNetworkProviderResult(dict): def __init__(__self__, *, @@ -39017,6 +42199,7 @@ def __init__(__self__, *, cloud_credential_secret_name: str, labels: Mapping[str, Any], machine_config: 'outputs.GetClusterV2RkeConfigMachinePoolMachineConfigResult', + machine_labels: Mapping[str, Any], name: str, control_plane_role: Optional[bool] = None, drain_before_delete: Optional[bool] = None, @@ -39039,6 +42222,7 @@ def __init__(__self__, *, pulumi.set(__self__, "cloud_credential_secret_name", cloud_credential_secret_name) pulumi.set(__self__, "labels", labels) pulumi.set(__self__, "machine_config", machine_config) + pulumi.set(__self__, "machine_labels", machine_labels) pulumi.set(__self__, "name", name) if control_plane_role is not None: pulumi.set(__self__, "control_plane_role", control_plane_role) @@ -39090,6 +42274,11 @@ def labels(self) -> Mapping[str, Any]: def machine_config(self) -> 'outputs.GetClusterV2RkeConfigMachinePoolMachineConfigResult': return pulumi.get(self, "machine_config") + @property + @pulumi.getter(name="machineLabels") + def machine_labels(self) -> Mapping[str, Any]: + return pulumi.get(self, "machine_labels") + @property @pulumi.getter def name(self) -> str: diff --git a/sdk/python/pulumi_rancher2/pod_security_policy_template.py b/sdk/python/pulumi_rancher2/pod_security_policy_template.py index 167600225..4f1ed9bbf 100644 --- a/sdk/python/pulumi_rancher2/pod_security_policy_template.py +++ b/sdk/python/pulumi_rancher2/pod_security_policy_template.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -1273,12 +1274,9 @@ def _internal_init(__self__, supplemental_group: Optional[pulumi.Input[pulumi.InputType['PodSecurityPolicyTemplateSupplementalGroupArgs']]] = None, volumes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/project.py b/sdk/python/pulumi_rancher2/project.py index 76bb78528..5493c6ca1 100644 --- a/sdk/python/pulumi_rancher2/project.py +++ b/sdk/python/pulumi_rancher2/project.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -623,12 +624,9 @@ def _internal_init(__self__, resource_quota: Optional[pulumi.Input[pulumi.InputType['ProjectResourceQuotaArgs']]] = None, wait_for_cluster: Optional[pulumi.Input[bool]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/project_alert_group.py b/sdk/python/pulumi_rancher2/project_alert_group.py index 842301f39..3e408e4e6 100644 --- a/sdk/python/pulumi_rancher2/project_alert_group.py +++ b/sdk/python/pulumi_rancher2/project_alert_group.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -423,12 +424,9 @@ def _internal_init(__self__, recipients: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectAlertGroupRecipientArgs']]]]] = None, repeat_interval_seconds: Optional[pulumi.Input[int]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/project_alert_rule.py b/sdk/python/pulumi_rancher2/project_alert_rule.py index 55c2d10a7..89afc0e96 100644 --- a/sdk/python/pulumi_rancher2/project_alert_rule.py +++ b/sdk/python/pulumi_rancher2/project_alert_rule.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -618,12 +619,9 @@ def _internal_init(__self__, severity: Optional[pulumi.Input[str]] = None, workload_rule: Optional[pulumi.Input[pulumi.InputType['ProjectAlertRuleWorkloadRuleArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/project_logging.py b/sdk/python/pulumi_rancher2/project_logging.py index a427cd364..5d0cec971 100644 --- a/sdk/python/pulumi_rancher2/project_logging.py +++ b/sdk/python/pulumi_rancher2/project_logging.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -640,12 +641,9 @@ def _internal_init(__self__, splunk_config: Optional[pulumi.Input[pulumi.InputType['ProjectLoggingSplunkConfigArgs']]] = None, syslog_config: Optional[pulumi.Input[pulumi.InputType['ProjectLoggingSyslogConfigArgs']]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/project_role_template_binding.py b/sdk/python/pulumi_rancher2/project_role_template_binding.py index 5f066fe86..a130b0fec 100644 --- a/sdk/python/pulumi_rancher2/project_role_template_binding.py +++ b/sdk/python/pulumi_rancher2/project_role_template_binding.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -418,12 +419,9 @@ def _internal_init(__self__, user_id: Optional[pulumi.Input[str]] = None, user_principal_id: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/provider.py b/sdk/python/pulumi_rancher2/provider.py index 44dd0707a..9d650a396 100644 --- a/sdk/python/pulumi_rancher2/provider.py +++ b/sdk/python/pulumi_rancher2/provider.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -238,18 +239,15 @@ def _internal_init(__self__, timeout: Optional[pulumi.Input[str]] = None, token_key: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ProviderArgs.__new__(ProviderArgs) - __props__.__dict__["access_key"] = access_key + __props__.__dict__["access_key"] = None if access_key is None else pulumi.Output.secret(access_key) if api_url is None and not opts.urn: raise TypeError("Missing required property 'api_url'") __props__.__dict__["api_url"] = api_url @@ -264,9 +262,11 @@ def _internal_init(__self__, warnings.warn("""Use timeout instead""", DeprecationWarning) pulumi.log.warn("""retries is deprecated: Use timeout instead""") __props__.__dict__["retries"] = pulumi.Output.from_input(retries).apply(pulumi.runtime.to_json) if retries is not None else None - __props__.__dict__["secret_key"] = secret_key + __props__.__dict__["secret_key"] = None if secret_key is None else pulumi.Output.secret(secret_key) __props__.__dict__["timeout"] = timeout - __props__.__dict__["token_key"] = token_key + __props__.__dict__["token_key"] = None if token_key is None else pulumi.Output.secret(token_key) + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["accessKey", "secretKey", "tokenKey"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(Provider, __self__).__init__( 'rancher2', resource_name, diff --git a/sdk/python/pulumi_rancher2/registry.py b/sdk/python/pulumi_rancher2/registry.py index b5c4ebf6f..5f6122d7e 100644 --- a/sdk/python/pulumi_rancher2/registry.py +++ b/sdk/python/pulumi_rancher2/registry.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -402,12 +403,9 @@ def _internal_init(__self__, project_id: Optional[pulumi.Input[str]] = None, registries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RegistryRegistryArgs']]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/role_tempalte.py b/sdk/python/pulumi_rancher2/role_tempalte.py index 68f57938e..1bcb4173a 100644 --- a/sdk/python/pulumi_rancher2/role_tempalte.py +++ b/sdk/python/pulumi_rancher2/role_tempalte.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -595,12 +596,9 @@ def _internal_init(__self__, rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleTempalteRuleArgs']]]]] = None, __props__=None): pulumi.log.warn("""RoleTempalte is deprecated: rancher2.RoleTempalte has been deprecated in favor of rancher2.RoleTemplate""") - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/role_template.py b/sdk/python/pulumi_rancher2/role_template.py index bf9e03717..7cc9abfe2 100644 --- a/sdk/python/pulumi_rancher2/role_template.py +++ b/sdk/python/pulumi_rancher2/role_template.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -589,12 +590,9 @@ def _internal_init(__self__, role_template_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['RoleTemplateRuleArgs']]]]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/secret.py b/sdk/python/pulumi_rancher2/secret.py index 42a4ed925..e17ceaa13 100644 --- a/sdk/python/pulumi_rancher2/secret.py +++ b/sdk/python/pulumi_rancher2/secret.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -334,12 +335,9 @@ def _internal_init(__self__, namespace_id: Optional[pulumi.Input[str]] = None, project_id: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -348,7 +346,7 @@ def _internal_init(__self__, __props__.__dict__["annotations"] = annotations if data is None and not opts.urn: raise TypeError("Missing required property 'data'") - __props__.__dict__["data"] = data + __props__.__dict__["data"] = None if data is None else pulumi.Output.secret(data) __props__.__dict__["description"] = description __props__.__dict__["labels"] = labels __props__.__dict__["name"] = name @@ -356,6 +354,8 @@ def _internal_init(__self__, if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["data"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(Secret, __self__).__init__( 'rancher2:index/secret:Secret', resource_name, diff --git a/sdk/python/pulumi_rancher2/secret_v2.py b/sdk/python/pulumi_rancher2/secret_v2.py index e2696cafb..8d8666011 100644 --- a/sdk/python/pulumi_rancher2/secret_v2.py +++ b/sdk/python/pulumi_rancher2/secret_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -373,12 +374,9 @@ def _internal_init(__self__, namespace: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -390,13 +388,15 @@ def _internal_init(__self__, __props__.__dict__["cluster_id"] = cluster_id if data is None and not opts.urn: raise TypeError("Missing required property 'data'") - __props__.__dict__["data"] = data + __props__.__dict__["data"] = None if data is None else pulumi.Output.secret(data) __props__.__dict__["immutable"] = immutable __props__.__dict__["labels"] = labels __props__.__dict__["name"] = name __props__.__dict__["namespace"] = namespace __props__.__dict__["type"] = type __props__.__dict__["resource_version"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["data"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(SecretV2, __self__).__init__( 'rancher2:index/secretV2:SecretV2', resource_name, diff --git a/sdk/python/pulumi_rancher2/setting.py b/sdk/python/pulumi_rancher2/setting.py index 77e824957..dd3fc4ef6 100644 --- a/sdk/python/pulumi_rancher2/setting.py +++ b/sdk/python/pulumi_rancher2/setting.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -246,12 +247,9 @@ def _internal_init(__self__, name: Optional[pulumi.Input[str]] = None, value: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/storage_class_v2.py b/sdk/python/pulumi_rancher2/storage_class_v2.py index 32d3ddd16..26e2db007 100644 --- a/sdk/python/pulumi_rancher2/storage_class_v2.py +++ b/sdk/python/pulumi_rancher2/storage_class_v2.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -443,12 +444,9 @@ def _internal_init(__self__, reclaim_policy: Optional[pulumi.Input[str]] = None, volume_binding_mode: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') diff --git a/sdk/python/pulumi_rancher2/token.py b/sdk/python/pulumi_rancher2/token.py index d79ed6e1e..4d777eab5 100644 --- a/sdk/python/pulumi_rancher2/token.py +++ b/sdk/python/pulumi_rancher2/token.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -423,12 +424,9 @@ def _internal_init(__self__, renew: Optional[pulumi.Input[bool]] = None, ttl: Optional[pulumi.Input[int]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -447,6 +445,8 @@ def _internal_init(__self__, __props__.__dict__["secret_key"] = None __props__.__dict__["token"] = None __props__.__dict__["user_id"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["secretKey", "token"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(Token, __self__).__init__( 'rancher2:index/token:Token', resource_name, diff --git a/sdk/python/pulumi_rancher2/user.py b/sdk/python/pulumi_rancher2/user.py index 0b9fc7e52..315dcfc0f 100644 --- a/sdk/python/pulumi_rancher2/user.py +++ b/sdk/python/pulumi_rancher2/user.py @@ -2,6 +2,7 @@ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** +import copy import warnings import pulumi import pulumi.runtime @@ -332,12 +333,9 @@ def _internal_init(__self__, password: Optional[pulumi.Input[str]] = None, username: Optional[pulumi.Input[str]] = None, __props__=None): - if opts is None: - opts = pulumi.ResourceOptions() + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): raise TypeError('Expected resource options to be a ResourceOptions instance') - if opts.version is None: - opts.version = _utilities.get_version() if opts.id is None: if __props__ is not None: raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') @@ -349,11 +347,13 @@ def _internal_init(__self__, __props__.__dict__["name"] = name if password is None and not opts.urn: raise TypeError("Missing required property 'password'") - __props__.__dict__["password"] = password + __props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password) if username is None and not opts.urn: raise TypeError("Missing required property 'username'") __props__.__dict__["username"] = username __props__.__dict__["principal_ids"] = None + secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"]) + opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(User, __self__).__init__( 'rancher2:index/user:User', resource_name,